The presumptive chancellor, Friedrich Merz, has made it clear that he is unhappy with Trump and Musk's attempted election interference, and that he considers the alliance with America to be dead. Which is a hell of a turnaround in a country that used to be a core US ally. But I guess that's what happens when America starts betraying its friends, and if it means a Europe which is no longer a US vassal, but instead stands for its own interests, that doesn't sound like a terrible thing at all.
As for AfD, they've already been classified as an extremist organisation by the Federal Office for the Protection of the Constitution, and there's a real possibility of the party being banned. That of course doesn't solve the problem of its voters, who will no doubt simply switch their allegiance to whatever neo-Nazi vehicle Putin/Trump/Musk fund for them next. So hopefully Germany's new government will put some work into defending German values and stopping the AfD's radicalisation pathway (rather than the present tactic of trying to imitate them).