Why can’t Germany freely elect any party it wants, even AfD, in a democracy?

Updates
2 mo
Is AfD similar to reform Nigel Farage? Or restore Britain People are tired of immigrationAnd wokeness?
Why can’t Germany freely elect any party it wants, even AfD, in a democracy?
Post Opinion