Pregnancy is a protected class.
Edit: not sure about Germany
Edit: not sure about Germany
But in the US, colleges have offices for accommodations. The faculty isn't required to do anything unless the university, acting through that office, tells them to.
Source: my career spent working with this kind of institution and this kind of office.