Former European champion Hamburg SV edged past host VfL Wolfsburg 3-1 in their relegation derby Saturday to continue their desperate comeback to stay in the Bundesliga with two matches remaining.
A 43rd minute penalty by Bobby Wood put the visitor in front and Lewis Holtby doubled their lead with a glancing header on the stroke of halftime.
Josip Brekalo slipped his 78th minute free kick past Hamburg goalkeeper Julian Pollersbeck to give Wolfsburg some hope.
But Hamburg, the only team to have played in the Bundesliga every season since the top division's creation in 1963, scored in stoppage time with Luca Waldschmidt to seal their third win in the last four matches.
The northern club are still 17th but have clawed their way back to within two points of the relegation playoff spot and 16th-placed Mainz 05 who have 30 points and are in action against RB Leipzig Sunday.
Wolfsburg are also on 30 points, in 15th on goal difference.
Schalke 04 failed to seal their Champions League spot for next season after drawing 1-1 against Borussia Moenchengladbach.
They also had Nabil Bentaleb sent off for striking Gladbach's Lars Stindl, who had to be taken off injured after twisting his foot a little later.
Schalke are second on 57 points, with Borussia Dortmund, who travel to Werder Bremen Sunday, in third on 54.
Bayer Leverkusen's own Champions League hope were dented with a 1-0 loss at VfB Stuttgart as they dropped to fifth on 51, allowing Hoffenheim to leapfrog them into fourth on 52 after their 3-1 victory over Hanover 96 Friday.
The top four teams qualify for Europe's elite club competition.
A second-string Bayern Munich that included four reserve players in the starting lineup, eased past Eintracht Frankfurt 4-1 as coach Jupp Heynckes rested his players ahead of Tuesday's Champions League semi-final second leg at Real Madrid.
Bundesliga debutant Niklas Dorsch scored the opener and Sandro Wagner, Rafinha and Niklas Suele were also on target as next season's Bayern coach Niko Kovac watched quietly from the Eintracht bench.
Bottom club Cologne were relegated despite coming back from two goals down to lose 3-2 at Freiburg.
(Dorsch 43, Wagner 76, Rafinha 87, Suele 90) Eintracht 1
(Ibisevic 84-P, Selke 87) Augsburg 2
(Gregoritsch 32, Cordova 61)
(Petersen 14, 52, Hoeler 90+3) Cologne 2
(Bittencourt 82, 87)
(Caligiuri 45+3-P) Gladbach 1
(Brekalo 78) Hamburg 3
(Wood 43-P, Holtby 45+1, Waldschmidt 94)
Leverkusen 0 Stuttgart 1
Mainz v Leipzig and Bremen v Dortmund