But you haven't mentioned China... For last 20 years Germany have been riding a wave of Chinese manufacturing and modernization.
With Chinese slowdown (lockdowns etc.) and automotive industry (15 % of Germany's GDP) facing green evolution (which is a problem as Gemans can't code) it seems like Germany have lost both engines of growth. Energy crisis seems like the last drop....