What were German women banned from doing before?

About 36 percent of Germany’s parliamentary representatives are women, which placed the country 24th worldwide in the World Economic Forum’s gender gap ranking last year. This meant that Germany was directly behind Tanzania, Slovenia, Angola and the Netherlands.