Liverpool midfielder Szoboszlai captained his nation in Wednesday’s contest in Stuttgart, which was decided by goals in either half from Jamal Musiala and Ilkay Gundogan.
Midway through the first half, Musiala’s opener had the 23-year-old within two goals of quickly equalizing twice. Szoboszlai broke into the penalty area, but Jonathan Tah stopped his shot. First, he was denied by a reaching Manuel Neuer, who clawed his free-kick away from the top corner.
But Gundogan’s goal in the 67th minute would confirm Germany’s win and Hungary’s second loss of the competition. Hungary will play Scotland on Sunday to wrap off the group round.
The Liverpool left-back played his part in his country’s goal, which put them into an early lead in Wednesday night’s Group A match in Cologne, as a counter-attack accelerated by his driving run from deep ended with Scott McTominay’s deflected shot finding the net.
Former Red Xherdan Shaqiri then produced a moment of brilliance to equalise in stunning fashion for the Swiss, though Robertson so nearly created a second-half winner for Scotland as his free-kick delivery was headed onto the post by Grant Hanley.
The game would finish all square, however – a result that means Scotland go into their final pool fixture against Hungary on Sunday in third place and one point above Dominik Szoboszlai’s team.