The writer is Fritz Stern Chair at the Brookings Institution

It is a measure of the respect Chancellor Angela Merkel of Germany enjoys in this White House that she is the first European head of government to visit US president Joe Biden this week. Merkel, the western world’s longest-serving leader, is stepping down after the German elections in September, following 16 years in office.

Donald Trump, Biden’s predecessor, nursed an epic grudge against Merkel and Germany. Richard Grenell, his ambassador to Berlin, publicly courted her conservative foes. Merkel outlasted them both. Her trip to Washington is at once valedictory and a victory lap.

The Biden administration has been at pains to heal the rift. US troop levels in Germany have been increased. Secretary of state Antony Blinken has said: “The US has no better friend than Germany.” Over-ruling bipartisan opposition in Congress, the White House has even waived sanctions on the contentious Nord Stream 2 gas pipeline.

Nord Stream 2 bypasses the key gas route through Ukraine to connect Russia and Germany directly. Critics worry that it may undermine Ukraine’s security and open other central and eastern European countries to Kremlin bullying. Blinken pointedly told Der Spiegel magazine that “waivers can be rescinded”. The next congressionally mandated report on sanctions against the pipeline is due in mid-August.

Republican senator Ted Cruz — a Trump loyalist and 2024 presidential hopeful — has expressed his disgust at the waiver by putting a blanket hold on Senate confirmation hearings for all pending political nominees. This includes key Europe policy and ambassador positions. They need to be filled for the transatlantic agenda sketched out at Biden’s June summit meetings in Europe to be turned into action.

Diplomatic negotiations will presumably produce a last-minute deal: a German promise to compensate Ukraine for lost gas transit fees, for example, or to fund its energy transition. If so, it will be past time.

True, the US also buys fossil fuels from Russia. But Nord Stream 2 is economically unnecessary and has been politically toxic for Germany’s relations with its eastern neighbours, never mind the US Congress. It distracts from the larger strategic issues that the US and Europe must urgently tackle together.

In a military conflict, what Europe adds to US might is respectable, but not essential: forward bases, specialised capabilities and the legitimacy provided by democratic allies. But in the long, hybrid struggle that looms with a China seeking to reshape the global order and a Russia ever alert for opportunities to assert itself, Europe’s commercial, technological and regulatory strengths are indispensable to the US. And Germany is Europe’s economic and political centre of gravity, a fact not lost on the Biden administration — or on Russia and China.

The heads of Germany’s domestic and external intelligence services have warned of Russian and Chinese meddling “at levels not seen since the cold war”. President Vladimir Putin of Russia published a manifesto in a German weekly in which he argued that Germany should decouple from the western alliance. A fulsome column in the Chinese Communist party’s Global Times praised Germany for its “attempt to get rid of US interference”. Ransomware cyber attacks, often originating in Russia, are at an all-time high.

Whether all this is understood in Germany is less clear. Russia and China experts in German security ministries are certainly alarmed. So are a growing number of legislators. Merkel’s continued support for Nord Stream 2 is increasingly seen as a liability. Her attempt to restart EU-Russia summits was rebuffed, and the European Parliament refuses to ratify an EU-China investment agreement she negotiated.

Of Merkel’s three would-be successors, only the Greens’ Annalena Baerbock appears to have fully grasped what the downturn in Europe’s geopolitical climate requires of Germany. Yet her lack of experience has reduced her chances of winning.

The two others — the Christian Democrat Armin Laschet and the Social Democrat Olaf Scholz — have suggested that the pipeline could be turned off if Putin bullies Ukraine. But both are far more focused on fighting straw men of their own invention, such as the notion that the US is trying to force Europe to “decouple” from China. In reality, it is China that is decoupling from the west.

Trump’s raging hostility forced Germany to examine the unhealthy aspects of its dependency on America. Biden, in contrast, treats Germany as a peer nation. It almost seems as though that is too much for Germans to handle.