\documentclass[a4paper]{article}
\usepackage{german}
\usepackage[utf8]{inputenc}

\usepackage{pgfplots}

\usepgfplotslibrary{fillbetween}

\begin{document}


\begin{tikzpicture}
	\pgfdeclarelayer{pre main}
	\pgfsetlayers{pre main,main}

	\draw[name path=A] (0,0) -- (1,1) -- (2,0);

	\draw[name path=B] (0,0.5) -- (2,0.5);

	\tikzfillbetween[/pgfplots/activate layers,of=A and B,split, every even segment/.style={orange}]{red}
\end{tikzpicture}
\end{document}

