\documentclass[a4paper,11pt,BCOR=8mm,titlepage,bibliography=totocnumbered,cleardouble=plain]{scrartcl}
\usepackage{hyphsubst}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[hidelinks]{hyperref}
\usepackage{placeins}
\usepackage{pdfpages}
\usepackage{amsmath}
\usepackage{booktabs}
\usepackage{mathtools}
\usepackage{amsfonts}
\usepackage[strings]{underscore}
\usepackage{amssymb}
\usepackage{siunitx}
\usepackage[left=2.5cm,right=2cm,top=2cm,bottom=2cm,includeheadfoot]{geometry}
\usepackage{url}
\usepackage{float} 
%\usepackage{bpchem} 
\usepackage[margin={0.3cm,0.3cm},font=singlespacing,labelfont=bf,labelsep=endash]{caption} %bildunterschriften
\usepackage{setspace}
\usepackage{wrapfig} %bild von Text umfließen lassen
\usepackage{sidecap} %überschriften neben dem Bild
%\sidecaptionvpos{figure}{t}
%\onehalfspacing			% Zeilenabstand
%\usepackage[ansinew]{inputenc}
%Dein Anhang
\usepackage{textcomp}
\usepackage{ifthen}
\usepackage{eurosym}
%\input{anhangtoc} %für das Anhangverzeichnis wichig!!
\usepackage[perpage,marginal]{footmisc} %fußnoten
\usepackage{graphicx}
\usepackage{subcaption}
\usepackage{fancyhdr}
\usepackage{color}
\usepackage{listings}
\usepackage{graphics}
\usepackage{tabularx}
 \usepackage[normalem]{ulem}
\useunder{\uline}{\ul}{}
%\usepackage{subfig}
%\usepackage{floatflt,epsfig}
\usepackage{pdfpages}
\usepackage{lineno} %liniennummern
\usepackage{chngcntr}
\counterwithin{figure}{section}

\pagestyle{fancy}
\fancyhf{}
%\fancyhead[R]{\sffamily\lite\leftmark}
\fancyhead[L]{{\leftmark}} %mit leftmark gibts im header das chapter mit rightmark die section
\fancyhead[R]{\thepage}
\renewcommand{\headrulewidth}{0.5pt}

\fancyfoot[C]{\thepage}
\renewcommand{\footrulewidth}{0.5pt}
\fancypagestyle{plain} %macht auf den ersten chapter seiten den header

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Hier anpassen !!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\prof}{Professor}
\newcommand{\thema}{Titel}
\newcommand{\datum}{Datum}
\newcommand{\modul}{Modul Name}



\titlehead{\Large
\begin{center}
{\Large\textbf{\modul}\\}
\end{center}}
\title{\vspace{2cm}\huge{\thema}}
\author{Student 1(xxxxxxx)\\ Student 2(xxxxxxx) \\\\ 
\textbf{Betreuender Professor: }\prof}
\date{\vspace{2cm}\textbf{Versuchstermin: }\datum}


\begin{document}
\newcounter{ab}
\setcounter{ab}{1}
\doublespacing
\maketitle\thispagestyle{empty}
\onehalfspacing
\numberwithin{equation}{section}
\pagenumbering{arabic}
\cleardoublepage
\setcounter{page}{1}
\tableofcontents
\newpage

%Inhalt hier

\end{document}