Russia’s full-scale invasion of Ukraine last year upended energy markets throughout Europe. No country was hit harder than Germany. At the time, more than half of Germany’s gas came from Russia. In the short term, the country had to double down on fossil fuels: keeping coal-fired power plants open longer and building new liquefied natural gas terminals. But in the long term, the war pushed a government falling behind on renewable energy goals to enact some ambitious new policies.