The war in Iran has dashed hopes for economic growth. Germany’s pension and healthcare systems are also feeling the strain.