The decisions Germany’s next leader takes on the revival of the defence sector - and particularly its funding - will be key for Ukraine, Nato and the UK-EU reset