What were German women banned from doing before?

The German Federal Statistics Office reported last year that the gender pay gap can be attributed to various factors, such as the different industries in which men and women tend to work, as well as “poor opportunities for women to access certain professions or career levels, which may be the result of discriminatory structures”.