The party is on course to win seats in the general election but its chances of significant political success depend now on whether its members can agree on a candidate to stand against Angela Merkel and on the party's future direction.