Healthcare in Germany has been praised in a global study – but Germans are still battling bad habits.