Wataru Endo headed home in the 92nd-minute winner to give VfB Stuttgart a 2-1 win over Cologne that, paired with Hertha Berlin's defeat at Borussia Dortmund, keeps VfB in the Bundesliga next season.