Despite a slew of negative headlines, the German economy has posted its best figures in years. There are reasons for optimism but structural issues remain.