In the constitution of 1949 Germany ensured that chancellors could not endow themselves with additional powers, eliminating the chance of a repeat of Hitler's 1933 episode.
What were these steps?
I'm actually not sure about the premise of the question. The main safeguard isn't Constitutional in the first place, but simply the memory of people who experienced the dictatorships. As far as Constitutional guarantees go, the Grundgesetz is actually fairly weak compared with the US Constitution.
The main safeguard is a separation of powers, mostly modeled after the US Constitution (there is a President, there is a Bundestag similar to the House of Representatives, a Bundesrat similar to the Senate, and a judiciary similar to the US judiciary). There were some changes made compared with the US Constitution. Whether they strengthen or weaken the checks and balances is largely a matter of opinion.
As others have pointed out, a number of human rights have also been written into the Grundgesetz. I would argue that this is not a true safeguard, because the Grundgesetz is much easier amended than the US Constitution, and at least two of the original human rights were already abolished in the 1990s. Germany sees on average one change to the Constitution every year (60 so far since the GG was introduced), while the US only had 27 in the 225 or so years since the Constitution was passed.
Even without amendments, one core human right is much narrower in Germany than in the US Constitution. Germany does not have freedom of speech, but only freedom of the press.
Edit to clarify freedom of speech vs freedom of the press, as requested by @Bregalad
First of all, this depends on the definition of freedom of speech that you subscribe to. Many of the restrictions that are considered "normal" in Germany would be called entirely unacceptable in the USA (and, for that matter, in many other countries, too). People from the United States generally take the attitude "I may have utter contempt for what you are saying, but I will stand and fight to the death for your right to say it!" - and that includes even things such as Nazi political positions.
One problem with using arguments of the type "XXXX is a free country" is that there is no such thing. No country is a "free" country, just as much as no country is a completey "unfree" country - it is all a matter of degree. What is more, most people tend to judge based on their own experience, so if you ask an American and a German about freedom of speech, they, in a way, don't even speak the same language. I have the benefit of having lived in both countries for several decades each, which allows me to compare and see the drawbacks of both sides.
That degree-of issue includes freedom of speech, too. Even in the USA, there are restrictions on freedom of speech (libel comes to mind, as well as yelling "fire" in a crowded theater, or, controversially, obscene material). Of course Germany has some freedom of speech, just significantly less than the USA does.
Now on the details why Germany has significantly less freedom of speech:
The Grundgesetz in Article 5 specifies:
(1) Jeder hat das Recht, seine Meinung in Wort, Schrift und Bild frei zu äußern und zu verbreiten und sich aus allgemein zugänglichen Quellen ungehindert zu unterrichten. Die Pressefreiheit und die Freiheit der Berichterstattung durch Rundfunk und Film werden gewährleistet. Eine Zensur findet nicht statt.
Translation: "Everybody has the right to express and distribute his opinion in word, writing and images freely and to educate themselves from freely available sources without interference. Freedom of the press and freedom of reporting by radio and film are ensured. A censorship does not take place."
(2) Diese Rechte finden ihre Schranken in den Vorschriften der allgemeinen Gesetze, den gesetzlichen Bestimmungen zum Schutze der Jugend und in dem Recht der persönlichen Ehre.
Translation "These rights find boundaries in the rules of ordinary laws, legal regulations to protect youth, and in the right to personal honor".
(3) Kunst und Wissenschaft, Forschung und Lehre sind frei. Die Freiheit der Lehre entbindet nicht von der Treue zur Verfassung.
" Art and sciences, research and education are free. The freedom of education does not release from allegiance to the constitution."
For comparison, here is the US First Amendment: "Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the Government for a redress of grievances."
Differences between true freedom of speech as in the First Amendment of the US Constitution and the German version:
This has severe practical impacts as it is. There are books that are banned in Germany. The obvious ones are Mein Kampf and Das Kapital, but also a lot of adult material (even books that are considered high literature in other countries). Sometimes, there is a way around that: I have seen a few ostensibly illegal books put into the appendix of a (pseudo-)scientific essay about the book. That put the whole work under the protection of Article 5 as a scientific work.
Germans think nothing about prohibiting political parties that hold unpopular positions. Americans would be outraged if anybody demanded that the Nazi party or the Ku Klux Klan were outlawed - they rather deal with them in open discourse.
Certain topics are completely illegal to talk about in Germany. The best-known example is of course Holocaust Denial. As abhorrent as Holocaust Denial is, it is also a very blatant case of not having freedom of speech. Freedom of Speech is specifically the freedom to say unpopular things and let the democratic marketplace decide about ideas. Or, as Rosa Luxemburg said "Freiheit ist immer auch Freiheit des Andersdenkenden".
BTW, in the USA, too, insulting speech is illegal; it is called libel. One big difference between German and US law is that in the USA libel is only illegal if it is untruthful, not when it is merely an opinion. For instance, "Hillary Clinton and Carly Fiorina are sluts" would be legal in the USA (because it's an opinion) but "Hillary Clinton and Carly Fiorina are prostitutes" is an illegal statement of a false fact.
Now to be clear: freedom of speech as they practice it in the USA does have drawbacks, and one could make a case that some of the restrictions in Germany could be an improvement. I would disagree, but it would still be a valid argument.
But in the context of the question: the German version is unsuitable as a safeguard against dictatorship, because only some speech is protected, and also because ordinary laws can restrict it further.
I can offer some points of the constitution that I remebember beeing implemented esp. as a safeguard:
"Human dignity shall be inviolable" (1.1 here) - is the first article, and is meant as a safeguard against legal torture, inhuman punishment and the like
No use of the army in the interior
"The privacy of correspondence, posts and telecommunications shall be inviolable." (10.1 here) The last three have been softened up in the last ten years.
The right to armed resistance against anyone trying to abolish said constitution
Additionally, some of the individual states have articles in their respective constitutions that call for the state to appropriate key industries (coal, steel) - this, because everyone including conservatives thought back then that de-monopolization would be an important part of preventing a new rise of something like tha Nazi-party.
While not a safeguard against a new dictatorship, it is often stated that article 16 was written in response to Nazi-fascism - the right to political asylum, as a lot of people had cause to flee from germany. This practically abolished in the early 90ties.
Also, it is hard but possible to illegalize a political party, in such a case it must be proven that said party is aggresivly fighting against the constitution.
Note on the other hand, that in Germany it is unconstitutional to deliver a German citizen to the law enforcement of another country. This protects Nazi War-criminals from prosecution to this day.
There are several safeguards against the Chancellor - or any other part of the government - acquiring too great powers.
mart already mentioned Article 1, ang Gangnus mentioned the direct applicability, namely, Article 3. The core meaning of the first articles is:
In the following articles, many rights are spelled out which make it very difficult to install a dictatorship (personal freedom, no discrimination because of race, gender, beliefs etc., freedom of speech, right of assembly, privacy of personal communication, freedom of movement, no forced labor, protection of one's home and property, citizenship can't be revoked).
These basic rights are protected by the Ewigkeitsklausel ("Eternity clause"), which means they cannot be altered or suspended. A good overview on that can be found on Wikipedia: Eternity clause (Germany)
Other parts of the constitution spell out the power-sharing between the central government (Bund) and the federal states (Länder). The states can block many federal laws.
So, the Grundgesetz (the constitution) seems pretty solid and safe in this regard.
However, the Grundgesetz ("Basic law") was originally only meant as a temporary solution. Thus, it includes this:
Article 146: "This Basic Law, which since the achievement of the unity and freedom of Germany applies to the entire German people, shall cease to apply on the day on which a constitution freely adopted by the German people takes effect."
This article would allow to adpot a new constitution without any of the safeguards if the German people could be brain-washed enough to "freely" adopt it.
The German Grundgesetz can be read in English here.
The only true defence or safeguard against any sort of authoritarianism is the vigilance of the citizenry: the refusal of the citizenry to either advocate, or submit to, arbitrary measures.
Great Britain has no constitution, and the U.S.S.R. had a wonderful constitution - the non-existence of one and the existence of the other had absolutely no effect on the actual wielding of power, and the use or abuse of power by the state..
A people always gets the government it deserves - sooner rather than later.
A written constitution is simply the citizenry's (written) consensus on the process of governance; it possesses no inherent value beyond an unwritten consensus on the process of governance, except so far as a written record helps to avoid misunderstanding and clarify intent.
As such, a constitution either written or unwritten has no inherent enforceability beyond the willingness of the citizenry to risk life, limb, and freedom to enforce it.
I think the main piece of news was the direct applicability of the constitution. Especially human rights.
But really, we can't say how constitution or some laws could not endure, but even merely influence the possibility of dictatorship in Germany in 1945-1989. Because only in 1989 did Germany become a sovereign state. Before that it was under strict control.