Germany’s Scholz seals deal to end Merkel period