How Germany became a powerhouse