"Why, how, did he think the Nazi part was a good idea?"
In some of his comments, Heidegger seems to me to have thought of Hitler along the lines of Hegel's observing Napoleon ride past:
"I saw the Emperor – this world-soul – riding out of the city on reconnaissance. It is indeed a wonderful sensation to see such an individual, who, concentrated here at a single point, astride a horse, reaches out over the world and masters it.” - Hegel
In another passage from the link referenced by Path above, Heidegger writes:
"The world of our Volk and Reich is about to be transformed and everyone who has eyes with which to watch, ears with which to listen, and a heart to spur him into action will find himself captivated by genuine, deep excitement—once again, we are met with a great reality and with the pressure of having to build this reality into the spirit of the Reich and the secret mission of the German being […]"
In the Der Spiegel interview of 1966, we can find a sort of parallel I think between what he saw as his role as rector - bringing together the disparate sciences of the university (perhaps relatable to Husserl) and the Nazi's consolidation of power over the 22 parties apparently in conflict in Germany at that time.
From the interview:
"SPIEGEL: But we seem to perceive a new tone in your rectoral discourse, when, four months after Hitler's designation as Chancellor, you there talk about the "greatness and glory of this new era (Aufbruch)."
Heidegger: Yes, I was also convinced of it.
SPIEGEL: Could you explain that a little further?
Heidegger: Gladly. At that time I saw no other alternative. Amid the general confusion of opinion and political tendencies of 22 parties, it was necessary to find a national and, above all, social attitude, somewhat in the sense of Friederich Naumann's endeavor. I could cite, here, simply by way of example, a passage from Eduard Spranger that goes far beyond my rectoral address."
http://www.ditext.com/heidegger/interview.html
He also reportedly wrote to Karl Jaspers:
"What I report here can excuse nothing. Rather, it can explain how, when over the course of years what is virulently evil became manifest, my shame grew-the shame of directly or indirectly having been involved in it."