Friedrich Merz was set to become Germany's next chancellor after his party won Sunday's election, though he faces complex coalition negotiations.