\documentclass[c,xcolor={usenames,dvipsnames,svgnames}]{beamer}

\setbeamertemplate{navigation symbols}{}

%----------------------------------------------------------------------------
%Alle Einstellungen die mit Schrift zu tun haben:
%----------------------------------------------------------------------------

%Für die Schrifteinstellungen notwendige Pakete laden.
\usepackage{amsmath}  %Paket für mathematische Ausdrücke
\usepackage{amssymb}  %Pakte für zusätzliche mathematische Symbole
\usepackage{arev}

%----------------------------------------------------------------------------
%Alle Einstellungen die mit Grafiken zu tun haben:
%----------------------------------------------------------------------------

%Für das Erstellen der Grafiken notwendige Pakete laden.
\usepackage{ifthen}      %Paket für Verzweigungen
\usepackage{tkz-euclide} %Paket für euklidsches Konstruieren (inkludiert tikz)
\usetkzobj{all}
\usetikzlibrary{arrows,arrows.meta,backgrounds,bending,calc,decorations.markings,intersections}

%Allgemeine Einstellungen für das Bild.
\tikzset{every picture/.append style={line join=round,line cap=round}}

%Anordnung der Layer festlegen.
\pgfdeclarelayer{foreground}
\pgfsetlayers{background,main,foreground}

%Verschiedenene Linienformate jeweils um 0.2mm dicker definieren.
\tikzset{hline/.style={line width=0.2mm}}
\tikzset{dline/.style={densely dotted,line width=0.4mm}}
\tikzset{pline/.style={dash pattern=on 8mm off 1mm on 1mm off 1mm,line width=0.55mm}}
\tikzset{uline/.style={dash pattern=on 4mm off 1mm,line width=0.7mm}}
\tikzset{aline/.style={line width=0.55mm}}
\tikzset{bline/.style={line width=0.55mm}}
\tikzset{tline/.style={line width=0.55mm,color=blue}}
\tikzset{vline/.style={line width=0.9mm}}
\tikzset{kline/.style={line width=0.55mm,-{Triangle[angle=15:3.5mm]}}}

%Format der Punkte, Beschriftungen und Kreise festlegen.
\tikzset{point style/.style={shape=circle,minimum size=3pt,draw=black,fill=white,inner sep=0pt}}
\tikzset{label style/.style={}}
\tikzset{compass style/.append style={color=black}}

%Eigene Schraffuren definieren.
\pgfdeclarepatternformonly{tup}{\pgfqpoint{-1mm}{-1mm}}{\pgfqpoint{11mm}{6.774mm}}{\pgfqpoint{10mm}{5.774mm}}
{
  \pgfsetlinewidth{0.35mm}
  \pgfpathmoveto{\pgfqpoint{0mm}{0mm}}
  \pgfpathlineto{\pgfqpoint{10mm}{5.774mm}}
  \pgfusepath{stroke}
}

\pgfdeclarepatternformonly{fup}{\pgfqpoint{-1mm}{-1mm}}{\pgfqpoint{8.071mm}{8.071mm}}{\pgfqpoint{7.071mm}{7.071mm}}
{
  \pgfsetlinewidth{0.35mm}
  \pgfpathmoveto{\pgfqpoint{0mm}{0mm}}
  \pgfpathlineto{\pgfqpoint{7.071mm}{7.071mm}}
  \pgfusepath{stroke}
}

\pgfdeclarepatternformonly{sup}{\pgfqpoint{-1mm}{-1mm}}{\pgfqpoint{6.774mm}{11mm}}{\pgfqpoint{5.774mm}{10mm}}
{
  \pgfsetlinewidth{0.35mm}
  \pgfpathmoveto{\pgfqpoint{0mm}{0mm}}
  \pgfpathlineto{\pgfqpoint{5.774mm}{10mm}}
  \pgfusepath{stroke}
}

\pgfdeclarepatternformonly{tdown}{\pgfqpoint{-1mm}{-1mm}}{\pgfqpoint{11mm}{6.774mm}}{\pgfqpoint{10mm}{5.774mm}}
{
  \pgfsetlinewidth{0.35mm}
  \pgfpathmoveto{\pgfqpoint{0mm}{5.774mm}}
  \pgfpathlineto{\pgfqpoint{10mm}{0mm}}
  \pgfusepath{stroke}
}

\pgfdeclarepatternformonly{fdown}{\pgfqpoint{-1mm}{-1mm}}{\pgfqpoint{8.071mm}{8.071mm}}{\pgfqpoint{7.071mm}{7.071mm}}
{
  \pgfsetlinewidth{0.35mm}
  \pgfpathmoveto{\pgfqpoint{0mm}{7.071mm}}
  \pgfpathlineto{\pgfqpoint{7.071mm}{0mm}}
  \pgfusepath{stroke}
}

\pgfdeclarepatternformonly{sdown}{\pgfqpoint{-1mm}{-1mm}}{\pgfqpoint{6.774mm}{11mm}}{\pgfqpoint{5.774mm}{10mm}}
{
  \pgfsetlinewidth{0.35mm}
  \pgfpathmoveto{\pgfqpoint{0mm}{10mm}}
  \pgfpathlineto{\pgfqpoint{5.774mm}{0mm}}
  \pgfusepath{stroke}
}

%%Schraffur
%\makeatletter
%\pgfdeclarepatternformonly[\hatchwidth,\hatchheight,\hatchthickness]{flexible hatch}
%{\pgfqpoint{-1mm}{-1pt}}
%{\pgfqpoint{\hatchwidth}{\hatchheight}}
%{\pgfqpoint{\hatchwidth+1pt}{\hatchheight+1pt}}
%{\pgfsetcolor{\tikz@pattern@color}
% \pgfsetlinewidth{\hatchthickness}
% \pgfpathmoveto{\pgfqpoint{0pt}{0pt}}
% \pgfpathlineto{\pgfqpoint{\hatchwidth+1pt}{\hatchheight+1pt}}
% \pgfusepath{stroke}
%}
%\makeatother
%\tikzset{
% hatch width/.store in=\hatchwidth,
% hatch height/.store in=\hatchheight,
% hatch thickness/.store in=\hatchthickness}

\makeatletter
%Textbausteine für die Beschriftung der Dokumente definieren.
\newcommand{\tkzTextHead}[2][]{\def\tmp{0.5} \ifthenelse{\equal{#1}{}}{}{\def\tmp{#1}} \node[anchor=north,inner sep=0pt,text height=7.4mm,text depth=2.6mm] at ($(current bounding box.north west)!\tmp!(current bounding box.north east)+(0,-0.12)$) {#2};}
\newcommand{\tkzTextData}[2][]{\def\tmp{0.0} \ifthenelse{\equal{#1}{}}{}{\def\tmp{#1}} \node[anchor=north west,inner sep=0pt,text depth=17.5mm,text width=202mm] at ($(current bounding box.north west)!\tmp!(current bounding box.north east)+(0.4,-1.5)$) {#2};}
\newcommand{\tkzTextName}[2][]{\def\tmp{1.0} \ifthenelse{\equal{#1}{}}{}{\def\tmp{#1}} \node[anchor=south east,inner sep=0pt] at ($(current bounding box.south west)!\tmp!(current bounding box.south east)+(-0.3,0.3)$) {\textcopyright{} by #2};}
\newcommand{\tkzTextStep}[2][]{\def\tmp{0.0} \ifthenelse{\equal{#1}{}}{}{\def\tmp{#1}} \node[anchor=south west,draw=black,fill=white,inner sep=3mm,line width=0.25mm,rectangle,rounded corners=2mm,text depth=11mm,text width=196mm] at ($(current bounding box.south west)!\tmp!(current bounding box.south east)+(0.4,1.1)$) {#2};}
\makeatother

%----------------------------------------------------------------------------
%Alle Einstellungen die mit dem Seitenlayout zu tun haben:
%----------------------------------------------------------------------------

%Seitengröße festlegen.
\geometry{papersize={21cm,29.7cm},left=0mm,top=0mm,right=0mm,bottom=0mm}

%Schraffur
\makeatletter
\pgfdeclarepatternformonly[\hatchdistance,\hatchthickness]{flexible hatch}
{\pgfqpoint{0pt}{0pt}}
{\pgfqpoint{\hatchdistance}{\hatchdistance}}
{\pgfpoint{\hatchdistance-1pt}{\hatchdistance-1pt}}
{\pgfsetcolor{\tikz@pattern@color}
 \pgfsetlinewidth{\hatchthickness}
 \pgfpathmoveto{\pgfqpoint{0pt}{0pt}}
 \pgfpathlineto{\pgfqpoint{\hatchdistance}{\hatchdistance}}
 \pgfusepath{stroke}
}
\makeatother
\tikzset{
 hatch distance/.store in=\hatchdistance,
 hatch thickness/.store in=\hatchthickness}

%Hervorheben einzelner Schritte:
\tikzset{highlight/.style={
  point style/.append style={draw=red,fill=white},
  every node/.append style={color=red},
	line style/.append style={color=red},
	compass style/.append style={color=red}}}

%Zeichnen auf dem Hintergrundlayer ermöglichen.
\tikzset{
  invisible/.style={opacity=0},
  visible on/.style={alt=#1{}{invisible}},
  alt/.code args={<#1>#2#3}{%
    \alt<#1>{\pgfkeysalso{#2}}{\pgfkeysalso{#3}}
  },
}