Nico Rosberg won the German Grand Prix on Sunday to stretch his lead in the Formula One drivers' championship over Mercedes teammate Lewis Hamilton, who finished third after starting 20th.