Germany suffered a second consecutive World Cup group-stage exit despite a 4-2 win over Costa Rica on another night of sensational drama in Qatar.
After collecting just one point from their opening two games in Group E, Germany knew only a victory at Al Bayt Stadium would give them any chance of progressing to the knockout stage.
But despite securing the result they needed, Japan’s somewhat controversial 2-1 win over Spain meant Hansi Flick’s side exited the tournament on goal difference.