Ford will close its Explorer and Capri factory in Cologne in 2028, bringing to an its chapter as a German car maker.