State ceremonies underscored the Bundeswehr’s social integration with critics staging anti-militarist demonstrations.