\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[a4paper, margin=2cm]{geometry}
\usepackage{setspace}
\onehalfspacing
\usepackage{graphicx}
\usepackage{float}
\usepackage{booktabs}
\usepackage{enumitem}
\setlist{nosep}
\usepackage{csquotes}
\usepackage[colorlinks=true, linkcolor=black, urlcolor=blue]{hyperref}
\usepackage{helvet} % Arial-ähnlich
\renewcommand{\familydefault}{\sfdefault}
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt}

% Metadaten anpassen
\newcommand{\studentname}{Vorname Nachname}
\newcommand{\matrikelnummer}{12345678}
\newcommand{\kurs}{DLBDSOOFPP01\_D}
\newcommand{\docdate}{\today}

\newcommand{\documentinfo}[2]{%
  \begin{center}
    {\LARGE #1}\\[0.5em]
    {\large #2}\\[0.5em]
    {\large \studentname\ (\matrikelnummer)}\\[0.25em]
    {\large Kurs: \kurs}\\[0.25em]
    {\large Datum: \docdate}
  \end{center}
  \vspace{1em}
}
