Bayern Munich extended their lead at the top of the Bundesliga to 13 points after coming from a goal behind to beat Stuttgart 2-1.
Goals from Claudio Pizarro and Thiago Alcantara secured a 16th win of the season for the league leaders but they only clicked into gear in the final 15 minutes of the game on Wednesday.
Pizarro headed Bayern's equaliser in the 76th minute and a sensational acrobatic effort from Thiago sealed all three points in the last minute of stoppage time.
Stuttgart took the lead in the 29th minute through Vedad Ibisevic, the striker reacting quickest to fire past Manuel Neuer.
The hosts should have doubled their lead on a number of occasions, and they were made to rue those chances as Bayern snatched victory late on.
Bayern's win extends their lead at the top of the table, and ensures their 43-game unbeaten run in the league continues.
Bayern named an unchanged side for the first time in Pep Guardiola's reign, with rumoured Juventus target Mario Mandzukic named as a substitute.
Stuttgart brought Rani Khedira and Timo Werner into their starting line-up and the latter should have opened the scoring in the eighth minute.
After Mohammed Abdellaoue lost possession inside the penalty area, the loose ball fell for the 17-year-old but he blazed over the crossbar without testing Neuer.
Bayern survived a penalty shout against Rafinha four minutes later, Werner's header struck the right-back's arm inside the area, however referee Manuel Grafe was not convinced and waved home appeals away.
Guardiola's side were far from their normal fluent self and were punished in the 29th minute as Ibisevic netted his 10th league goal of the season.
Werner's deflected shot from the edge of the area dropped to the Bosnian striker via the boot of Abdellaoue, who looked offside, and he calmly fired past Neuer from 10 yards to give the hosts a deserved lead.
Thiago and Xherdan Shaqiri both went close to levelling for Bayern in the closing minutes of the first half but were unable to beat Ulreich.
Ibisevic had a chance to double his tally, and Stuttgart's lead, early in the second half but he fired wide of goal after a mistake from Rafinha.
With 54 minutes played, the hosts had another chance to score, and they would have made it 2-0 had it not been for a goalline clearance from Jerome Boateng.
Former Barcelona man Thiago and Thomas Muller were denied by Ulreich but substitute Pizarro had no problems beating the goalkeeper with a well-placed header in the 76th minute.
Fellow substitute Mandzukic had a chance to win the game in the closing minutes but Thiago spared Bayern's blushes with an acrobatic volley in the last seconds of the match.
|Coach: T. Schneider|
for G. Sakai 65'
for T. Werner 86'
for M. Abdellaoue 90+2'
|MLS Review: Fire stun Dallas as goals dry up|
|New Atletico signings excite Raul Garcia|
|Cahill expects Arsenal title challenge|
|Jovetic happy with Inter debut|
|Yanev calls for calm after ugly scenes in friendly|
|Luis Enrique: Barca defence must improve|
|Coppa Italia Review: Cittadella romp to victory, Brescia rely on penalties|
|Arsenal have learned how to play against big teams - Ramsey|
|Shawcross to visit specialist over back woe|
|Fiorentina 2 Barcelona 1: Bernardeschi double sends Barca to another defeat|
|Mancini hints at Melo interest|
|Rodgers hails ´incredible´ Benteke strike|
|Galatasary 1 Inter 0: Sneijder sinks former club|
|Wenger defends Arsenal approach|
|Wembley loss has no bearing on new season - Terry|
|Porto cruise to friendly win over Stoke|
|Mourinho denies Wenger ´snub´ suggestions|
|Arsenal abandoned their philosophy to win Community Shield - Mourinho|
|Mourinho throws Community Shield medal into Wembley crowd|
|Swindon Town 1 Liverpool 2: Benteke nets stunner on debut|
|Scottish Premiership Review: Hearts win thriller on top-flight return|
|Ujah at the double as Bremen beat West Ham|
|Mourinho: We were the better team|
|Wenger hails defensive solidity|
|Rooney returns as Villarreal spoil Ferguson´s party|
|Rodriguez stunner earns Southampton draw as Caulker makes debut|
|Arsenal 1 Chelsea 0: Case of 14th time lucky for Wenger against Mourinho|
|Taechaubol announces Milan agreement|
|Jojic fires Cologne to latest victory|
|China 0 South Korea 2: Kim and Lee seal victory|
|Origi getting up to speed|
|Costa a doubt for start of season - Mourinho|
|North Korea 2 Japan 1: Halilhodzic´s men spurn lead|
|Allam brands FA ´amateurs´ as name-change row rumbles on|
|Fournier ´worried´ by Lyon pre-season|
|Swansea still working on Michu exit - Monk|
|Neuer furious at Bayern Supercup defeat|
|Wenger: Ozil signing not a mistake|
|UEFA Champions League Preview: Shakhtar ready for Fenerbahce decider|
|Lampard targets MLS play-offs for City|
|MLS Review: Goals galore as DC United win 10-goal thriller|
|Ronaldinho returns and helps Fluminense to win|
|Keane: United won´t overtake Chelsea|
|Casillas has the ´enthusiasm of a 20-year-old´ - Lopetegui|
|Blanc hopeful over Ibrahimovic knee injury|
|Guardiola laments late goal in Supercup defeat|
|Tuchel plans to keep Bender|
|Hecking happy with Wolfsburg discipline after Supercup win|
|Arsenal players too interested in selfies and six-packs - Keane|
|Confusion over Ibrahimovic´s PSG future|
|Sporting Lisbon 2 Roma 0: Slimani, Mane inspire Portuguese hosts|
|Rodgers feeling ready for new campaign|
|Khedira to miss Supercoppa|
|Paris Saint-Germain 2 Lyon 0: Aurier and Cavani seal more silverware|
|Wolfsburg 1 Bayern Munich 1 (5-4 on penalties): Super-sub Bendtner nicks it for Pokal champions|
|Lampard´s long-awaited New York City debut ends in defeat|
|Casillas the spot-kick hero for Porto|
|Monk bullish ahead of season opener at champions|
|Marseille 2-0 Juventus: Night to forget for Serie A champions|
|Swansea end pre-season with yet another draw|
|HJK 0 Liverpool 2: Origi and Coutinho on target|
|Juventus rocked by Khedira injury scare|
|Lens and Pantilimon star as Sunderland beat Hannover|
|Pardew hopeful of concluding Wickham deal|
|Martinez allays Lukaku fears|
|Stuttgart 4 Manchester City 2: Cause for concern for Pellegrini|
|Wasteful Bournemouth held by Hoffenheim|
|Jerome seals Norwich win|
|Souare´s first goal ensures Palace draw|
|Sinclair hits hat-trick in Villa draw|
|Leicester end pre-season with thrilling Birmingham win|
|Wood and Mowatt condemn Everton to friendly defeat|
|Coloccini not involved as Newcastle lose to Gladbach|
|Borussia Dortmund 2 Real Betis 0: Ramos scores on return from injury|
|Stoke lose to Cologne on Afellay debut|
|Norwich capture goalkeeper Kean|
|Jovetic hits out at Pellegrini following City exit|
|Jones backing new boys to spark United revival|
|Scottish Premiership Review: Celtic up and running, Dundee hammer Kilmarnock|
|Can keen to learn from Milner|
|Immobile on the mend following friendly scare|
|Sagan Tosu 1 Atletico Madrid 1 (1-4 on penalties): Simeone´s men need spot-kicks|
|Cahill: Big-spending rivals will make title race tougher|
|Roberto happy to play full-back for Barca|
|Gestede eager to make his mark at Villa|
|I want to play more and score more - Remy|
|Lambert influence important, says Pulis|
|Benteke a ´bargain´ buy - Rodgers|
|Zola: Qatar would be ideal for Balotelli, Cassano|
|Suarez: I´m not among world´s best|
|PSG ready despite ´chaotic´ pre-season - Blanc|
|Arsenal thumping still hurts - Fournier|
|Aubameyang targets Champions League success|
|Rooney set for Everton return|
|Cech can match Van der Sar - Wenger|
|Mourinho ponders Wenger´s losing record against him|
|CBF confirm Fred failed a doping test|