Nazis promoted the ideas of the superiority of the Aryan race, and they based their beliefs on a warped interpretation of Nordic mythology, which they piggybacked from Germanic paganism. Some leading Nazis in particular Heinrich Himmler and Joseph Goebbels embraced pagan mysticism; And while not all Nazis were open supporters of Hiter's orrrtodox Nazi occult practices, elements can be seen in official SS ceremonies such as their much-celebrated winter solstice celebrations known as "Yule-feiern." So it is germanic paganism that formed a significant foundation for Nazism.
It is essential to understand that these beliefs were rooted in pseudoscientific and racist ideologies and had no basis or corroborating evidence to support them.