A Kai Havertz penalty and a Jamal Musiala strike gave Germany a 2-0 win over Denmark on Saturday as the host nation reached the Euro 2024 quarter-finals after a dramatic game that was delayed by almost half an hour in the first half due to a violent storm.
Havertz stroked home from the spot early in the second half in Dortmund following a handball by Joachim Andersen, the unlucky Danish defender who had a goal disallowed at the other end only moments earlier.
Musiala, of Bayern Munich, then ran away to stroke in the second goal midway through the second half as Germany's class told in the last-16 tie.
At one point it looked as if the game could be abandoned as English referee Michael Oliver stopped play in the 35th minute and took the teams off the pitch while a violent storm passed overhead.
Torrential rain, hailstones, high winds, thunder and lightning caused a delay of 25 minutes before the action could resume.
It made for a memorable night, and one that ended with the host nation coming through a stern test of their credentials to keep alive their dream of winning the trophy in Berlin on July 14.
The path is set to get much tougher from here, however, and Julian Nagelsmann's team will now go to Stuttgart for a quarter-final next Friday against either much-fancied Spain or surprise package Georgia.
"In the end, it was a game full of adversity. We fought well against the adversity," Germany coach Nagelsmann told broadcaster Magenta.
"We're playing with euphoria, we're playing with fun and that's when football is the most beautiful," added defender Nico Schlotterbeck.
Denmark, who famously beat Germany in the 1992 European Championship final, go home without winning a game -- they had qualified from their group with three draws.
Their coach, Kasper Hjulmand, complained about the two key VAR decisions which went against his side.
"It's not how we are supposed to be using VAR. It's one centimetre," he said of the offside against Andersen.
"And one minute later there was a penalty, I'm so tired of the ridiculous handball rules."
Nagelsmann made three changes to the Germany side following their last outing, a 1-1 draw with Switzerland.
Schlotterbeck replaced the suspended Jonathan Tah in defence, David Raum came in at left-back, and Leroy Sane was preferred to Florian Wirtz on the right wing.
Schlotterbeck, of Borussia Dortmund, thought he had given Germany the lead inside four minutes when he headed in a corner and ran off in celebration, but the goal was disallowed due to a foul by Joshua Kimmich.
- Denmark's Andersen out of luck -
It threatened to become a frustrating night for the home team as they were thwarted on several occasions by Danish goalkeeper Kasper Schmeichel.
He tipped over a Kimmich drive and turned a Havertz volley around the post as the Danes weathered the early storm.
Another one was coming, and when the action eventually restarted with the pitch sodden, Germany quickly cranked up the pressure again.
A Raum cross was met by the head of Havertz, but Schmeichel –- whose father played in that 1992 final -- was again on hand to make a good save.
The Danes posed a threat on the break as they attacked towards their own supporters, but Rasmus Hojlund hit the side-netting after catching Schlotterbeck in possession, and then saw Manuel Neuer save at his feet.
The game was interrupted again for half-time, before Denmark –- and Andersen in particular -- were left to rue two VAR interventions at the beginning of the second half.
First, on 48 minutes, Andersen scored when he fired in as the ball broke to him in the box, but the VAR team told the referee to disallow the goal because of an offside against Thomas Delaney.
As soon as play resumed, Germany attacked and a Raum cross deflected off the outstretched hand of Andersen in the area.
The Crystal Palace player's offence was penalised following another check, and Havertz scored his second penalty of the competition.
Havertz and Sane missed great chances to make it 2-0 before Musiala latched onto a ball over the top and ran through for his third goal of the Euros to become the joint-top scorer alongside Georgia's Georges Mikautadze.
Substitute Wirtz had a late goal that would have made it 3-0 disallowed for offside, but Germany have momentum and will take some stopping.