I think one of the reasons that Germany are doing so well is that the economy of Germany is the largest manufacturing economy in Europe. Germany is also the most open economy amongst the G7 states, with a foreign trade quota at around 98%

Germany's rebirth as a global economic power after World War II, just shows us how fast they can recover after a crisis, so it was expected that they would bounce back first, after Covid and also the influence of the War between Russia and the Ukraine.
Read the first posts that bumped the topic. Germany is in a technical recession. Germany! Supposed to the economic-industrial leader in Western Europe, actually the WHOLE of Europe, turned into a big joke by their current leaders.
It's also probably because of their involvement with the war against Russia. If they wanted to fight a proxy war for the United States, then they shouldn't have shut off their nuclear power plants and be independent from Russia for their energy needs. The root of German inflation might be high energy costs.