Germany is in recession due to a narrow minded aging population.
The problem is having a
single point of failure.
Take the least economically developed countries (LEDCs). Almost all of them have a
single point of failure which is having a
single-product economy, take that product away and their economy falls apart.
Germany (and other EU countries like it) also have a
single point of failure which was building a massive industrial economy that relied on
importing super cheap energy. Something Russia abused too by the way. Any energy price higher than "super cheap" meant deindustrialization, the higher the price the larger the deindustrialization because such products can not compete internationally with competitors like China that both have access to cheaper energy and super duper cheap working force.
This is not narrowmindedness, this is just lack of resources. This not for today either, Europe has been like this for centuries, with countries that were at each others' throats for fighting over resources and later over off continent colonies. The darkest times were 20'th century where their wars poured into the rest of the world and we had European War 1 and European War 2 which are commonly known as WW1 and WW2.