All the cost were hidden off the balance sheet 40 years ago. They can't build them cost effectively (or on schedule) now that there's more scrutiny on where the money comes from.
And the cost of fossil fuels is future (not to mention current and recent past, I believe Germany has had over 15k heatwave related deaths this summer) human lives, you wanna calculate those into your little napkin math there?
Unfortunately they have to shut down their nuclear reactors when it gets too warm in the summer, which is only going to get worse. Since nuclear isn't capable of generating baseload, we should instead invest into solar & batteries.