And Denmark just wasn't up to the task of repeating its upset from 20 years ago, when it stunned Germany, 2-0, to win the European Championship. The nations had not met in a competitive game since that upset.
Germany next faces Euro 2004 champion Greece on Friday in Gdansk, Poland.
If Germany and defending champion Spain keep winning, they will meet in the final on July 1.
Ronaldo, the high-scoring Real Madrid forward, finally found his form, scoring twice in a sparkling performance to give Portugal a 2-1 win over the Netherlands in Kharkiv, Ukraine, and a spot in the quarterfinals.
Ronaldo failed to shine in Portugal's 1-0 loss to Germany and 3-2 win over Denmark, but he was devastating against the Dutch. He produced an equalizer with his first goal of the tournament in the 28th minute and scored the winner in the 74th.
In Group C's final matches on Monday, Croatia meets Spain and Italy plays Ireland.
Group D concludes on Tuesday as England plays Ukraine and Sweden meets France.
MLS: Todd Dunivant scored the lone goal to help the Los Angeles Galaxy end a seven-game winless streak with a 1-0 victory over the Portland Timbers in Carson, Calif.