\documentclass[12pt, a4paper]{article}

\usepackage[left=0.4cm, right=0.00cm, top=1.5cm, bottom=0.5cm]{geometry}
\usepackage{fontspec}
\usepackage{xcolor}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{tikz}
\usepackage{xifthen}
\usepackage{array,booktabs}

\definecolor{eseColor}{RGB}{1, 133, 84}

\pagenumbering{gobble}

\setmainfont{Exo2-Regular.ttf}

% \linespread{1.3}

\def\chopline#1\\{
  \def\name{#1}
}

\newif\ifmore \moretrue
\newif\ifnewpage \newpagetrue

\begin{document}
\newread\quelle
\openin\quelle=orte.csv

\loop
  \read\quelle to \zeile
  \ifeof\quelle
    \global\morefalse
  \else
    \expandafter\chopline\zeile\\
    \read\quelle to \zeilee
      \ifeof\quelle
      \global\morefalse
      \fi

\begin{tikzpicture}
  \ifthenelse{\NOT \isundefined{\zeile}{}}{
    \filldraw[fill=eseColor, draw=black, rounded corners=8pt] (0,0) rectangle (18, 13);
    \filldraw[fill=white, draw=black, rounded corners=8pt] (0.5 ,0.5) rectangle (17.5,12.5);
    \node at (9, 6.5){\fontsize{60}{60}\selectfont\zeile};
    \node at (15, 11){\includegraphics[width=0.2\textwidth]{../LogoCropped.pdf}};
    }{}
    
    \draw[dashed] (0, 13.5) -- (19, 13.5);
    
  \ifthenelse{\NOT \isundefined{\zeilee}{}}{
    \filldraw[fill=eseColor, draw=black, rounded corners=8pt] (0, 14) rectangle (18, 27);
    \filldraw[fill=white, draw=black, rounded corners=8pt] (0.5, 14.5) rectangle (17.5, 26.5);
    \node at (9, 20.5){\fontsize{60}{60}\selectfont \zeilee};
    \node at (15, 25){\includegraphics[width=0.2\textwidth]{../LogoCropped.pdf}};
    }{}
  
  
\end{tikzpicture}
\fi%
\ifmore\repeat%
%
\closein\quelle%
%
\end{document}
