German economy falters amid political unrest at home and abroad