As much as I support renewables, this is a very naive statement. Germany has been especially good at investing in renewables. They're not enough, especially not in the short or even medium term.
The decline hasn't much to do with nuclear, but instead with the conservative government shafting the previous infrastructure projects and subsidies for wind and pv. It was so clearly visible in the stats that it got named after the politian responsible ("Altmaier-Knick").
https://www.spektrum.de/news/erneuerbare-energien-der-energi...
ref: Nega-Watts