Top campaign issues were the German economy, still Europe’s largest but struggling, and irregular migration.