Others were the ones who dealt with Nazis not Germany.
Let's not whitewash the forced compliance of Germany with what was imposed on them by the nations which had to fight them to stop them as some kind of achievement of Germany.
Germany kept most of the Nazis around - not the "upper management" but certainly the "middle management" and below - doing the jobs in the State appartus that they did before.
Probably explains both the rise of the AfD and how still now after Israel has been for over a year fully and unashamedly acting in a way painfully similar to Nazism - just with different ubermenschen and untermenschen (or as Israeli politicians say it, "chosen people" and "human animals") - almost the entirety of the German political class continues to unwaveringly support them, overtly because of the dominant ethnicity of that nation, a purely Racist rationale.
Change from the inside changes mindsets, change imposed from the outside mainly changes the visible expressions of the mindsets rather than the mindsets themselves.