Excess power is excess power.
Here's a better visualization: https://ourworldindata.org/grapher/energy-consumption-by-sou...
Germany has essentially replaced nuclear 1:1 with renewables (mostly wind).
Unfortunately, even though they've been building renewables in a seriously impressive way, they could have also had nuclear at the same time.
The root issue was completely ceasing construction of a fixed-lifetime generating resource in 1983+ that accounted for ~25% of a country's energy mix, with the majority built in the 1970s.
But I'm going to take some convincing to decide that +375 TWh of stable, baseload electrical power wouldn't have helped the German (and European) economy.