Germans are so highly taxed and hyper-regulated that there is a saying among married couples, “Car or Kid (Kind)” meaning you can afford one but not the other. Hence ethnic Germans are not reproducing themselves at replacement rate.
One of the wealthiest countries on earth. They can afford to have kids. They just choose not to because kids are a hassle and interfere with one’s hobbies.