Banning AfD is the best short term solution, it needs to be followed by a stronger social focus of the government.
One reason for conservative and right-wing sentiment is fear of the future in the populace. Fear causes people to try to isolate themselves from “others” and wanting to horde and protect their stuff instead of supporting others.
If the government is able to alleviate those fears, they will not see a need for fear anymore. But that is a long process, which constantly gets sabotaged by commercial outrage media, foreign intervention, social media, conservative/right-wing politicians, etc.
Tim Sweeny when he notices that enshittification in games doesn’t seem to work very well anymore: industry is going through a “generational change”.