\documentclass[11pt,a4paper]{article}

\usepackage{fontspec}
\setmainfont{DejaVu Sans}

\usepackage[ngerman]{babel}
\usepackage{parskip}
\usepackage{geometry}
\geometry{margin=2.5cm}
\usepackage{graphicx}
\usepackage{titlesec}
\usepackage{fancyhdr}
\usepackage{hyperref}
\usepackage{emptypage}

% Kapitel auf neuer Seite
\newcommand{\sectionbreak}{\clearpage}
\titleformat{\section}{\normalfont\Large\bfseries}{\thesection}{1em}{}

% Layout-Kopfzeile
\pagestyle{fancy}
\fancyhf{}
\rhead{$title$}
\lhead{$author$}
\rfoot{\thepage}

% Titelseite
\title{
    \includegraphics[width=0.3\textwidth]{media/logo/logo.png} \\[2em]
    {\Huge $title$} \\
    \vspace{1em}
    \Large $subtitle$
}

\author{$for(author)$$author$$sep$ \and $endfor$}
\date{$date$}

\begin{document}

\thispagestyle{empty}
\maketitle
\clearpage

\pagestyle{empty}
\tableofcontents
\clearpage

\pagestyle{fancy}
\setcounter{page}{1}

$body$

\end{document}
