I found this answer to remove the numbering from sections, but I also don't need numbering on sub- and subsubsections.
I tried to add a second def but then the number on Section is showed again.
I am fairly new to Latex and I don't really know what is going on in this code block.
Original:
\makeatletter
\def\@seccntformat#1{%
\expandafter\ifx\csname c@#1\endcsname\c@section\else
\csname the#1\endcsname\quad
\fi}
\makeatother
Mine:
\makeatletter
\def\@seccntformat#1{%
\expandafter\ifx\csname c@#1\endcsname\c@section\else
\csname the#1\endcsname\quad
\fi}
\def\@seccntformat#1{%
\expandafter\ifx\csname c@#1\endcsname\c@subsection\else
\csname the#1\endcsname\quad
\fi}
\makeatother


\setcounter{tocdepth}{2}if you want a table of contents with the sections and subsections, but not the deeper levels. – Fran May 13 '15 at 20:21