So are many countries. That's the way it happens when you get civilized and educated. 

Prior to that infant mortality was high therefore encouraging people to have many kids. This isn't a problem in civilized and educated places and when that happens, birth rates decline. Germany is fa from alone in that regard.