And a nuclear accident would not involve closing the whole country, it would involve an exclusion zone of 10-20 km (Fukushima exclusion zone is 20km, but it include zones where the residue radioactivity is <50 mSievert, way less than some natural radioactive places), a whole lot of economic damage (but negligible compared to climate change), and between 0 and (at worst) a few thousand deaths.
German plants are old. There's issues with a few of them. Decommissioning them seems inevitable. The question is whether building new nuclear plants, at probably about 15+ years for the first plant to start operations, is really a better option than investing in renewables?
I am not saying that Germany should invest in nuclear instead of renewable, but in nuclear along with renewable. And yes 15 years is a long time, but still a lot less long than 30 years (and Germany lost 10 years by being stubborn about nuclear).
And other countries that want to do a energy transition should not make the same mistakes as Germany. And political parties in France that want to close nuclear plants are environmentally severely misguided.
In terms of existential threats to human life as we know it, it is.
The choices aren't "renewables and nuclear" or "renewables and ponies and magical unicorns." The choice is what proportion of energy do we want from nuclear vs renewables vs fossil fuels.
The best option is reducing energy requirements. After that, though, a large proportion of every unit of nuclear energy you ban goes straight to fossil fuels. Which is death.