Actually they built a bunch of LNG terminals very very quickly and now get most of their gas from that
https://www.bbc.com/news/world-europe-63709352
You can see rapid progression to zero of Russian imports for natural gas in Germany if you scroll down to the info graphic in this article
https://www.cleanenergywire.org/factsheets/germanys-dependen...
Germany is also famously anti nuclear