Although Germany has enjoyed a budget surplus along with steady economic growth for several years already, the country’s government is bracing itself for a downturn in the face of increasing uncertainty over the Brexit deal, trade frictions and the need for growing spending on the military.