Social Democrats beat Merkel’s bloc in German elections