Seems like you read some misinformation there. Share of coal in the German electricity mix:
2021 30.2%
2022 33.3% (the year that nuclear was shut off)
2023 26.0%
2024 21.2%
2025 22.4%
Complete phase out is scheduled for the 2030s.
2021 30.2%
2022 33.3% (the year that nuclear was shut off)
2023 26.0%
2024 21.2%
2025 22.4%
Complete phase out is scheduled for the 2030s.