ESSEN, Germany -- For most of this century, Germany racked up one economic success after another, dominating global markets for high-end products such as luxury cars and industrial machinery, selling so much to the rest of the world that half the economy ran on exports.
Jobs were plentiful, the government's financial coffers grew as other European countries drowned in debt, and books were written about what other countries could learn from Germany.
No longer. Now, Germany is the world's worst-performing major developed economy, with both the International Monetary Fund and European Union expecting it to shrink this year.
It comes after Russia's invasion of Ukraine and the loss of Moscow's cheap natural gas -- an unprecedented shock to Germany's energy-intensive industries, long the manufacturing powerhouse of Europe.
The sudden underperformance by Europe's largest economy has set off a wave of criticism, handwringing and debate about the way forward.
Germany risks "deindustrialization" as high energy costs and government inaction on other chronic problems threaten to send new factories and high-paying jobs elsewhere, said Christian Kullmann, chief executive of major German chemical company Evonik Industries AG.
From his 21st-floor office in the west German town of Essen, Kullmann points out the symbols of earlier success across the historic Ruhr Valley industrial region: smokestacks from metal plants, giant heaps of waste from now-shuttered coal mines, a massive BP oil refinery and Evonik's sprawling chemical production facility.
These days, the former mining region, where coal dust once blackened hanging laundry, is a symbol of the energy transition, dotted with wind turbines and green space.
The loss of cheap Russian natural gas needed to power factories "painfully damaged the business model of the German economy," Kullmann told The Associated Press. "We're in a situation where we're being strongly affected -- damaged -- by external factors."
After Russia cut off most of its gas to the European Union, spurring an energy crisis in the 27-nation bloc that had sourced 40% of the fuel from Moscow, the German government asked Evonik to keep its 1960s coal-fired power plant running a few months longer.
The company is shifting away from the plant -- whose 40-story smokestack fuels production of plastics and other goods -- to two gas-fired generators that can later run on hydrogen amid plans to become carbon neutral by 2030.
One hotly debated solution: a government-funded cap on industrial electricity prices to get the economy through the renewable energy transition.
The proposal from Vice Chancellor Robert Habeck of the Greens Party has faced resistance from Chancellor Olaf Scholz, a Social Democrat, and pro-business coalition partner the Free Democrats. Environmentalists say it would only prolong reliance on fossil fuels.
Kullmann is for it: "It was mistaken political decisions that primarily developed and influenced these high energy costs. And it can't now be that German industry, German workers should be stuck with the bill."
The price of natural gas is roughly double what it was in 2021, hurting companies that need it to keep glass or metal red-hot and molten 24 hours a day to make glass, paper and metal coatings used in buildings and cars.
A second blow came as key trade partner China experiences a slowdown after several decades of strong economic growth.
These outside shocks have exposed cracks in Germany's foundation that were ignored during years of success, including lagging use of digital technology in government and business and a lengthy process to get badly needed renewable energy projects approved.
Other dawning realizations: The money that the government readily had on hand came in part because of delays in investing in roads, the rail network and high-speed internet in rural areas. A 2011 decision to shut down Germany's remaining nuclear power plants has been questioned amid worries about electricity prices and shortages. Companies face a severe shortage of skilled labor, with job openings hitting a record of just under 2 million.
And relying on Russia to reliably supply gas through the Nord Stream pipelines under the Baltic Sea -- built under former Chancellor Angela Merkel and since shut off and damaged amid the war -- was belatedly conceded by the government to have been a mistake.
Now, clean energy projects are slowed by extensive bureaucracy and not-in-my-backyard resistance. Spacing limits from homes keep annual construction of wind turbines in single digits in the southern Bavarian region.
A $10.68 billion electrical line bringing wind power from the breezier north to industry in the south has faced costly delays from political resistance to unsightly above-ground towers. Burying the line means completion in 2028 instead of 2022.
The clean energy subsidies that the Biden administration is offering to companies investing in the U.S. have evoked envy and alarm that Germany is being left behind.
"We're seeing a worldwide competition by national governments for the most attractive future technologies -- attractive meaning the most profitable, the ones that strengthen growth," Kullmann said.
He cited Evonik's decision to build a $220 million production facility for lipids -- key ingredients in covid-19 vaccines -- in Lafayette, Ind. Rapid approvals and up to $150 million in U.S. subsidies made a difference after German officials evinced little interest, he said.
"I'd like to see a little more of that pragmatism ... in Brussels and Berlin," Kullmann said.
In the meantime, energy-intensive companies are looking to cope with the price shock.
Drewsen Spezialpapiere, which makes passport and stamp paper as well as paper straws that don't de-fizz soft drinks, bought three wind turbines near its mill in northern Germany to cover about a quarter of its external electricity demand as it moves away from natural gas.
Specialty glass company Schott AG, which makes products ranging from stovetops to vaccine bottles to the 128-foot mirror for the Extremely Large Telescope astronomical observatory in Chile, has experimented with substituting emissions-free hydrogen for gas at the plant where it produces glass.
It worked -- but only on a small scale, with hydrogen supplied by truck. Mass quantities of hydrogen produced with renewable electricity and delivered by pipeline would be needed and don't exist yet.