German far-right beats Merkel's party into 3rd place