With the 25th league win, 3:1 against Hertha Berlin, Bayern Munich secured the top spot and yet another, 24th in total, Bundesliga trophy.
Scoring in the first 14 minutes of the game, Kroos and Götze gave Bayern an early two-goal lead.
Ramos' penalty in 66th minute brought Hertha a glimmer of hope, but the Bavarian giant scored again, with Ribery putting his name on the goalscorers' list in the 79th minute.
Mario Mandžukić came off the bench in the second half for Müller, and still leads the Bundesliga as the best goalscorer. He has scored 17 times this campaign, with Hertha's Ramos and Dortmund's Lewandowski one goal behind.
Pep Guardiola's team won the league trophy earlier in the season than any other team in the Bundesliga history.