\documentclass[10pt, a4paper, ngerman]{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{lipsum}
\usepackage[a4paper, left=3cm, right=2cm, top=2.5cm, bottom=2.5cm]{geometry}

\date{\today}
\author{Vorname ~Nachname}
\title{Titel}

\begin{document}
    \maketitle
    \section{Section}
        \lipsum[1-2]
        \subsection{Subsection}
            \lipsum[1]
        \subsection*{Subsection}
            \lipsum[1]
\end{document}