MUNICH, April 28 (Bundesliga) - Bayern Munich need a miracle to play in the Champions League next season after losing their second successive Bundesliga game, this time at home to 10-man Hamburg.
Ottmar Hitzfeld's side were never at their best, despite taking a 1-0 lead into the break thanks to Claudio Pizarro's 35th-minute goal.
Hamburg levelled with a wonder-strike from Rafael van der Vaart in the 71st minute before super sub Paolo Guerrero crushed his former side with the winner in the 77th minute.
There was a red card for Thimothee Atouba in the last minute, but Bayern could not salvage a draw.
The win practically saves the northerners from the drop and leaves Bayern almost certainly out of the Champions League next term.
Hamburg started well. With Bayern target Van der Vaart pulling the strings, the visitors led an early assault on Oliver Kahn's goal, forcing six corners inside the first 15 minutes.
Soon, they had the first chance of the game too with Ivica Olic threading David Jarolim through.
The Czech midfielder rounded Kahn, but Martin Demichelis raced back to block the shot.
A Van der Vaart free-kick then skimmed the outside of Kahn's post before Demichelis made another goal-line clearance from Juan Pablo Sorin's low driven effort.
Bayern struggled to make it out of their own half, and the first time they did, they scored.
Ali Karimi, Roy Makaay and Hasan Salihamidzic all had shots blocked with the final rebound falling to Pizarro who netted from close range.
Hamburg rallied and Sorin's far-post diving header forced Kahn into another save before Atouba's effort from distance was tipped over.
Bayern had the chance to double their lead just after an hour when Makaay headed the ball down for Mark van Bommel, but goalkeeper Frank Rost saved well.
Bayern were punished for not taking that chance when a touch of magic from Van der Vaart brought the visitors level.
The Dutchman lifted the ball in the air with one touch and then volleyed it past Kahn from 20 yards.
There was more to come as former Bayern striker Guerrero put Hamburg ahead with just over 10 minutes remaining.
Rost provided the long ball forward which the Peruvian chased before finding the corner, refusing to celebrate a goal against his former team.
A second yellow card for Atouba followed but Huub Stevens and his men took the points home.