Nuclear is expensive to build [0]. It is expensive operate, even with the massive subsidies of insurance and waste deposit costs by the taxpayer.
On top of that Germany has no exploitable Uranium deposits any more (after delivering Uranium to the USSR for decades, mine was closed 1990), so Germany would need to import nuclear fuel, e.G. from Russia (as the US does [1]). I don't think depending on Russia for energy security is a good idea.
[Edit] Hard coal and ignite usage is down https://www.cleanenergywire.org/sites/default/files/styles/g...
[0] https://www.theguardian.com/news/2017/dec/21/hinkley-point-c...
[1] https://kyivindependent.com/german-customs-detains-ship-load...