The tables have turned in the race to become the next chancellor of Germany.