Going by this chart:
* https://www.cleanenergywire.org/factsheets/germanys-energy-c...
* Also: https://www.iea.org/countries/germany
* Also also: https://www.iea.org/countries/germany/emissions#what-are-the...
Nuclear was previously providing 22 GW (2022) to 20 GW (2010) of capacity, down to 12.1 GW (2011), then 8 (2019): currently (2023) lignite can output 18.6 GW of capacity, and hard coal is providing 18.9 GW.
For output (per first link), at its peak nuclear provided ~150 TWh, while coal (lignite+hard) provided 120 TWh in 2023.
So AFAICT, coal capacity could have been cut in half (perhaps even not running that often) if existing nuclear was kept around. (New nuclear did not have to be constructed, just keep around the current stuff longer until (a) fossils are retired, and (b) more renwwables are built out).