:root 
{
	--red: #bb0637;
	--blue: #097ac1;
	--yellow: #ffde59;
	--dark: #000001;
	--grey: #a5a5a5;
	--lightgrey: #dedee0;
}

* 
{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body 
{
	font-size: 1.2em;
	color: var(--dark);
	font-family: 'Lexend';
	font-weight: 300;
	line-height: 1.7;
	overflow-x: hidden;
}

::selection 
{
	background-color: var(--yellow);
 	color: var(--dark); 
}

::-moz-selection 
{
  	background-color: var(--yellow);
 	color: var(--dark); 
}

h1, h2, h3
{
	font-family: 'Roboto Slab';
	font-size: 3.8em;
	line-height: 1.25;
	font-weight: 500;
}

h1
{
	text-shadow: 0px 0px 40px rgba(0,0,0,0.3);
}

h2
{
	font-size: 2.8em;
	color: var(--red);
}

h3
{
	font-size: 2em;
	color: var(--red);
}

p + p, ul + p, p + ul
{
	margin-top: 1em;
}

h2 + p, h2 + ul, h3 + p, h3 + ul
{
	margin-top: 0.5em;
}

.wrap
{
	max-width: 1050px;
	display: block;
	margin: auto;
	padding: 0px 40px;
	position: relative;
}

#sideCol
{
	position: fixed;
	width: 250px;
	height: 100%;
	box-shadow: 0px 0px 60px rgba(0,0,0,0.08);
	background-color: #fff;
	top: 0;
	right: 0;
	padding: 40px;
	z-index: 1000;
}

#content
{
	width: calc(100% - 250px);
}

#navigation
{
	position: absolute;
	width: 100%;
	top: 54%;
	transform: translateY(-50%);
	text-align: center;
	left: 0;
}

#navigation ul li
{
	display: block;
	list-style: none;
	margin-top: 15px;
	text-transform: uppercase;
}

#navigation ul li a
{
	color: var(--dark);
	text-decoration: none;
	transition: all 0.2s;
}

#navigation ul li a:hover
{
	color: var(--red);
}

#navigation ul li.active a
{
	color: var(--red);
	font-weight: 700;
}

#opener
{
	height: 92vh;
	width: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	max-height: 880px;
	position: relative;
	overflow: hidden;
}

#opener:after
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 10;
	background: linear-gradient(180deg, rgba(0,0,0,0.15) 20%, rgba(0,0,0,0.55) 95%);
}

#openerContent
{
	position: absolute;
	width: 100%;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	color: #fff;
	z-index: 100;
}

#drawing
{
	position: absolute;
	width: 105%;
	left: 50%;
	transform: translateX(-50%);
	bottom: -2px;
	z-index: 100;
}

.text
{
	margin: 80px 0px;
}

.dividerLine
{
	width: 120px;
	height: 5px;
	background-color: var(--red);
	margin: -40px 0px;
	border-radius: 0.4em;
}

.dividerImg
{
	padding: 120px 0px;
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #fff;
}

.dividerImg h2, .dividerImg h3
{
	color: #fff;
}

.dividerImg .wrap
{
	position: relative;
	z-index: 30;
}

.dividerImg:after
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 20;
	background-color: rgba(0,0,0,0.4);
}

.text.withButton p a, .text .buttonArea p a, .buttonArea p a, #accepted, .youtubeAccept
{
	display: inline-block;
	color: #fff!important;
	text-align: center;
	line-height: 1.4;
	text-decoration: none;
	transition: all 0.2s;
	background-color: var(--red);
	padding: 0.7em 1.5em;
	text-transform: uppercase;
	border-radius: 0.45em;
}

.text.withButton p a:hover, .text .buttonArea p a:hover, .buttonArea p a:hover, #accepted:hover, .youtubeAccept:hover
{
	background-color: var(--blue);
}

.buttonArea
{
	margin-top: 30px;
}

.withButton
{
	margin-top: -50px;
}

.inline
{
	width: 100%;
	margin-bottom: -10px!important;
	border-radius: 0.45em;
}

.imgFlex
{
	display: flex;
}

.imgFlex.right
{
	flex-direction: row-reverse;
}

.imgFlex .imgFlexItem:nth-child(1)
{
	width: 40%;
}

.imgFlex .imgFlexItem:nth-child(2)
{
	width: 60%;
}

.textBox
{
	padding: 50px 60px;
	position: relative;
	margin-top: 60px;
}

.textBox .buttonArea
{
	margin-bottom: 10px;
}

.textBox:before
{
	content: "";
	position: absolute;
	width: 120%;
	height: 100%;
	right: 0;
	top: 0;
	z-index: -1;
	background-color: rgba(0,0,0,0.04);
	border-radius: 0.45em;
}

.right .textBox:before
{
	left: 0;
	right: auto;
}

.text ul li
{
	position: relative;
	list-style: none;
	padding-left: 1.2em;
}

.text ul li:before
{
	content: "";
	position: absolute;
	width: 0.45em;
	height: 0.45em;
	left: 0;
	top: 0.63em;
	background-color: var(--red);
	border-radius: 0.15em;
}

#drawingBlue
{
	width: 100%;
	position: absolute;
	bottom: 99%;
	left: 0;
	z-index: 100;
}

#footer
{
	background-color: var(--red);
	padding: 40px 0px 45px 0px;
	color: #fff;
	font-size: 0.85em;
	position: relative;
	text-transform: uppercase;
}

#copy
{
	position: absolute;
	font-weight: 500;
}

#footerList
{
	text-align: right;
}

#footerList li
{
	display: inline-block;
	margin-left: 40px;
}

#footerList li a
{
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: all 0.2s;
}

#footerList li a:hover
{
	border-bottom: 1px solid #fff;
}

.text p a, .text ul a, form a, #cookieNotice a
{
	color: var(--red);
	text-decoration: none;
	border-bottom: 1px dashed var(--red);
	transition: all 0.2s;
}

.text p a:hover, .text ul a:hover, form a:hover, #cookieNotice av
{
	color: var(--blue);
	border-bottom: 1px solid var(--blue);
}

#cookieNotice
{
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	font-size: 0.85em;
	background-color: rgba(0,0,0,0.85);
	z-index: 500000;
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

#cookieBox
{
	padding: 29px 40px 40px 40px;
	max-height: calc(100vh - 80px);
	background-color: #fff;
	max-width: 420px;
	overflow: auto;
	display: block;
	margin: auto;
	border-radius: 0.45em;
}

#acceptWrap
{
	text-align: center;
}

#cookieCheckboxes
{
	margin-top: 1em;
	margin-bottom: 1em;
}

#cookieCheckboxes label
{
	position: relative;
	margin-right: 1.6em;
	padding-left: 1.5em;
	cursor: pointer;
	display: block;
	margin-top: 0.2em;
}

#cookieCheckboxes input
{
	position: absolute;
	left: 0;
	top: 49.5%;
	transform: translateY(-50%);
}

#accepted
{
	margin-top: 0.6em;
	cursor: pointer;
}

#left
{
	position: fixed;
	height: 105%;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	z-index: 900;
}

#right
{
	position: absolute;
	height: 100%;
	top: 50%;
	transform: translateY(-50%);
	right: 99%;
	z-index: 900;
}

#drawingTop
{
	position: absolute;
	width: 105%;
	left: 0;
	top: 0;
	z-index: 100;
}

.dividerIcon
{
	width: 100%;
	height: 40px;
	background-image: url(icon.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

strong
{
	font-weight: 500;
}

.text-center
{
	text-align: center;
}

.contactFlex
{
	display: flex;
	margin-left: -40px;
	margin-bottom: -40px;
}

.contactFlexItem
{
	width: calc(50% - 40px);
	margin-left: 40px;
	margin-bottom: 40px;
	font-family: 'Roboto Slab';
	font-weight: 500;
	color: var(--dark);
	text-decoration: none;
	transition: all 0.2s;
	background-color: rgba(0,0,0,0.04);
	border-radius: 0.45em;
	padding: 40px 40px 35px;
}

.contactFlexItem:hover
{
	color: var(--red);
}

.contactFlexImg
{
	width: 120px;
	height: 120px;
	display: block;
	background-color: var(--red);
	border-radius: 1000px;
	margin: auto;
	margin-bottom: 25px;
	transition: all 0.2s;
	background-size: 35%;
	background-position: center;
	background-repeat: no-repeat;
}

.contactFlexItem:hover .contactFlexImg
{
	transform: scale(1.1);
}

.colored
{
	padding: 80px 0px;
	background-color: var(--red);
	color: #fff;
	position: relative;
}

.colored:before
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	bottom: 99%;
	background-image: url(drawing_red.svg);
	background-position: bottom center;
	background-repeat: no-repeat;
	z-index: -1;
}

.colored:after
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 99%;
	background-image: url(drawing_red_bottom.svg);
	background-position: top center;
	background-repeat: no-repeat;
	z-index: -1;
}

.colored h2, .colored h3
{
	color: #fff;
}

.text.colored p a, .text.colored ul a
{
	color: #fff!important;
	border-color: #fff!important;
}

.text.colored ul li:before
{
	background-color: #fff;
}

#openerArea
{
	padding: 150px 0px 160px;
	background-color: var(--red);
	position: relative;
	color: #fff;
}

#form
{
	padding-top: 50px;
	margin-top: -50px;
}

form
{
	display: flex;
	flex-wrap: wrap;
	margin-left: -40px;
}

form div
{
	width: 50%;
	padding-left: 40px;
}

form label
{
	font-family: 'Roboto Slab';
	color: var(--dark);
	font-weight: 500;
	display: block;
	margin-bottom: 0.05em;
}

input[type = "text"], input[type = "email"], textarea, button
{
	-webkit-appearance: none;
   	-moz-appearance: none;
   	appearance: none;
   	border-radius: 0px;
   	font-size: 1em;
   	width: 100%;
   	border: none;
   	font-family: 'Lexend', sans-serif;
   	line-height: 1.6;
   	color: var(--dark);
   	font-weight: 300;
   	background-color: transparent;
   	border-radius: 0.45em;
}

input, textarea
{
	color: var(--dark);
	margin-bottom: 1em;
	transition: border-color 0.2s;
}

input[type = "text"], input[type = "email"], textarea
{
	border: 1px solid rgba(0,0,0,0.1);
	padding: 0.5em 1.2em;
	background-color: #fff;
}

input:focus, textarea:focus
{
	border-color: var(--yellow);
	outline: 1px solid var(--yellow);
}

textarea
{
	height: 12em;
	resize: none;
	margin-bottom: 0.9em;
}

.alert.alert-danger ul:before
{
	content: "Folgende Fehler sind aufgetreten. Bitte überprüfen Sie Ihre Eingaben.";
	font-weight: 500;
	font-family: 'Roboto Slab';
	color: var(--red);
	display: block;
}

.alert.alert-danger
{
	margin-bottom: 1.5em;
}

.alert.alert-danger ul li
{
	color: var(--red);
}

.alert.alert-danger ul li:before
{
	background-color: var(--red);
}

.checkbox
{
	position: relative;
	padding-left: 1.4em;
	margin-left: 40px;
}

.checkbox label
{
	font-family: 'Lexend', sans-serif;
	color: var(--dark);
	font-weight: 300;
	cursor: pointer;
	text-transform: none;
	line-height: 1.6;
}

.checkbox input
{
	position: absolute;
	left: 0px;
	top: 0.64em;
	cursor: pointer;
}

#yform-formular-nachricht, #yform-formular-accept, .alert
{
	width: 100%;
}

button
{
	display: inline-block;
	color: #fff!important;
	text-align: center;
	line-height: 1.4;
	text-decoration: none;
	transition: all 0.2s;
	background-color: var(--red);
	padding: 0.7em 1.5em;
	text-transform: uppercase;
	border-radius: 0.45em;
	width: auto;
	cursor: pointer;
	margin-top: 1.1em;
	margin-left: 40px;
}

button:hover
{
	background-color: var(--blue);
}

.youtube
{
	width: 100%;
	position: relative;
	color: var(--dark);
}

.youtube a
{
	color: var(--red);
	text-decoration: none;
	border-bottom: 1px dashed var(--red);
	transition: all 0.2s;
}

.youtube a:hover
{
	color: var(--blue);
	border-bottom: 1px solid var(--blue);
}

.youtube iframe
{
	border: none;
}

.youtubeVideo
{
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	border-radius: 0.45em;
}

.youtubeOverlay
{
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #fff;
	border: 1px solid var(--dark);
	z-index: 10;
	padding: 25px 20px 20px;
	flex-wrap: wrap;
	/*font-size: 0.7em;*/
	border-radius: 0.45em;
}

.full .youtubeOverlay
{
	border: none;
	font-size: 1em;
}

.youtubeAccept
{
	cursor: pointer;
}

.youtubeContent
{
	text-align: center;
}

.youtubeNote
{
	display: block;
	line-height: 1.5;
	margin-top: 0.8em;
	white-space: nowrap;
}

@media all and (max-width: 450px){
	#cookieBox
	{
		padding: 15px 25px 25px 25px;
	}
}

@media all and (max-width: 700px){
	#opener
	{
		height: 50vh!important;
	}

	h1
	{
		font-size: 1.85em!important;
	}

	h2
	{
		font-size: 1.65em!important;
	}

	h3
	{
		font-size: 1.5em!important;	
	}

	.dividerLine
	{
		width: 90px!important;
	}

	.dividerIcon
	{
		height: 30px!important;
	}

	.contactFlexImg
	{
		width: 80px!important;
		height: 80px!important;
	}

	.contactFlex
	{
		display: block;
		margin-bottom: 0;
	}

	.contactFlexItem
	{
		display: block;
		width: calc(100% - 40px)!important;
	}

	.dividerImg
	{
		padding: 40px 0px!important;
	}

	.imgFlex
	{
		display: block;
	}

	.imgFlexItem
	{
		width: 100%!important;
	}

	.textBox:before
	{
		width: 100%;
		border-top-left-radius: 0;
		border-top-right-radius: 0;
	}

	.imgFlex .inline
	{
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
	}

	.textBox
	{
		margin-top: 0!important;
	}

	#openerArea
	{
		padding: 40px 0px 50px!important;
		background-color: var(--red);
		position: relative;
		color: #fff;
	}

	form div
	{
		width: 100%;
	}

	textarea
	{
		height: 9em;
	}
}

@media all and (max-width: 800px){
	#copy
	{
		position: relative;
		display: block;
		margin-bottom: 4px;
		text-align: center;
	}

	#footerList
	{
		text-align: center;
	}

	#footerList li
	{
		display: block;
		margin-left: 0;
		margin-top: 1px;
	}
}

@media all and (max-width: 1000px){
	#sideCol
	{
		width: 100%;
		height: 100px;
		position: sticky;
		position: -webkit-sticky;
	}

	#navigation
	{
		display: none;
		position: fixed;
		left: 0;
		top: 95px;
		transform: translateY(0);
		width: 100%;
		background-color: #fff;
		border-bottom: 1px solid var(--lightgrey);
		max-height: calc(100vh - 95px);
		overflow: auto;
	}

	#navigation ul
	{
		text-align: right;
		padding: 0px 40px 8px;
	}

	#navigation ul li
	{
		margin-bottom: 5px;
		margin-top: 0;
	}

	#navOpener
	{
		position: absolute;
		width: 29px;
		height: 21px;
		cursor: pointer;
		top: 50%;
		transform: translateY(-50%);
		right: 40px;
	}

	.line
	{
		position: absolute;
		display: block;
		width: 100%;
		height: 3px;
		background-color: var(--dark);
		left: 50%;
		transform: translateX(-50%);
		transition: all 0.2s;
	}

	#navOpener .line:nth-child(1)
	{
		top: 0;
	}

	#navOpener .line:nth-child(2)
	{
		top: 50%;
		transform: translate(-50%, -50%);
	}

	#navOpener .line:nth-child(3)
	{
		bottom: 0;
	}

	#navOpener.active .line:nth-child(1)
	{
		top: 50%;
		transform: translate(-50%, -50%) rotate(45deg);
	}

	#navOpener.active .line:nth-child(2)
	{
		width: 0;
	}

	#navOpener.active .line:nth-child(3)
	{
		bottom: auto;
		top: 50%;
		transform: translate(-50%, -50%) rotate(-45deg);
	}

	#logo
	{
		width: auto;
		height: 100%;
		position: absolute;
		top: 0;
		padding: 5px 0px;
	}

	#content
	{
		width: 100%;
	}

	#drawingTop, #left
	{
		display: none;
	}

	#opener
	{
		height: 65vh;
		min-height: 280px;
	}

	h1
	{
		font-size: 2.8em;
	}

	h2
	{
		font-size: 2em;
	}

	h3
	{
		font-size: 1.8em;	
	}

	.text
	{
		margin: 40px 0px;
	}

	.colored
	{
		padding: 40px 0px;
	}

	.dividerLine
	{
		width: 100px;
		margin: -10px 0px;
		height: 4px;
	}

	.dividerIcon
	{
		height: 35px;
	}

	.withButton
	{
		margin-top: -20px;
	}

	.buttonArea
	{
		margin-top: 20px;
	}

	.dividerImg
	{
		padding: 80px 0px;
	}

	.textBox
	{
		padding: 30px 40px;
		margin-top: 40px;
	}

	#footer
	{
		padding: 24px 0px 25px;
	}

	.contactFlexImg
	{
		width: 90px;
		height: 90px;
		margin-bottom: 20px;
	}

	#openerArea
	{
		padding: 70px 0px 80px;
		background-color: var(--red);
		position: relative;
		color: #fff;
	}

	#form
	{
		padding-top: 135px;
		margin-top: -135px;
	}

	.youtubeOverlay
	{
		font-size: 0.85em;
	}
}

@media all and (min-width: 1001px){
	#navigation
	{
		display: block!important;
	}
}