Luca Waldschmidt's late winner condemned Wolfsburg to Bundesliga's relegation play-off as Hamburg survived on the final day.
Brighton will sign Ingolstadt midfielder Pascal Gross when the transfer window opens on June 10.
Arjen Robben scored deep into stoppage time as Bundesliga champions Bayern Munich twice battled back to clinch a spectacular 5-4 victory over RB Leipzig.
Juan Bernat's early goal was enough to give champions Bayern Munich a 1-0 victory over Darmstadt and send the visitors down.
Bayern Munich secured their fifth consecutive Bundesliga title with a 6-0 rout of Wolfsburg on Saturday.
Borussia Dortmund ended a difficult week with a 3-1 win over Eintracht Frankfurt while Bayern Munich were held by Bayer Leverkusen.