I think the answer is a bit more complex. AfD is an interesting phenomenon in the modern politics that unifies populism with political diversity (!), attracting people whose views are not represented by the mainstream parties. The same thing is seen in “Konfederacja” in Poland, and possibly other similar parties in Europe. Most importantly, the political program of these parties is an amalgam of various rather vague proposals and criticisms, thus allowing the rejects to find “their” favourite piece there while they don’t care for the other parts (openly pro-Russian or neo-Nazi ones). In case of Germany, I don’t think there’s any other party than AfD in Germany that would openly say Energiewende is counterproductive and economic disaster - so the popularity of AfD is also a direct consequence of their denial of reality, which they call “political consensus”. Naturally, if both parties gain significant political momentum, they definitely will crystalise their programs and that’s when their former supporters may get shocked, but for now they’re welcoming everyone disappointed in the mainstream.