To me, I think they have spent years and years coordinating (not just in Germany) with other right-wing parties, tried and tested propaganda mechanics, nailed the language, the target audience, sold the product properly and their target audience responded. The majority of voters who take to this are individuals who often feel disenfranchised by minorities (including immigrants), have limited (if any) tertiary education so they are not critical thinkers, have been led to believe that their current status is because of other forms of government and people not of our liking, and not their lack of education, skillsets etc and so on. This has been used very well in other regions including Africa (Tanzania, Zimbabwe, Kenya, Uganda, Senegal), South America (see Colombia incoming, Argentina, Chile, Ecuador, Bolivia), Asia (India, Japan, South Korea, Philippines, Thailand) and so on.
Civic education left the building a long time ago and is no longer encouraged.