:root 
{
	--theme: #c6142e;
	--lighttheme: #e31f3c;
	--dark: #3b3b3b;
	--light: #f2f2f2;
}

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

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

::selection 
{
	background-color: var(--theme);
 	color: #fff; 
}

::-moz-selection 
{
  	background-color: var(--theme);
 	color: #fff;
}

h1, h2, h3, h4
{
	font-family: 'Good Times';
	font-weight: 300;
	line-height: 1.4;
	font-size: 2.6em;
	color: var(--theme);
}

h2
{
	font-size: 2.2em;
}

h3
{
	font-size: 1.7em;
}

h4
{
	font-size: 1.2em;
}

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

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

#intro
{
	padding: 80px 0px;
	background-color: var(--theme);
	color: #fff;
	position: relative;
}

#down
{
	position: absolute;
	width: 80px;
	height: 80px;
	background-color: var(--theme);
	left: 50%;
	transform: translateX(-50%) rotate(-45deg);
	top: -40px;
	box-shadow: 0px 0px 40px rgba(0,0,0,0.2);
}

#down:before
{
	content: "";
	position: absolute;
	width: 20px;
	height: 20px;
	border-left: 4px solid #fff;
	border-bottom: 4px solid #fff;
	left: 52%;
	top: 48%;
	transform: translate(-50%, -50%);
}

#intro h1
{
	color: #fff;
}

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

#header
{
	position: sticky;
	position: -webkit-sticky;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 1000;
	background-color: #fff;
	box-shadow: 0px 0px 40px rgba(0,0,0,0.06);
	font-size: 0.85em;
}

#navigation ul
{
	text-align: right;
	font-family: 'Good Times';
}

#navigation ul li
{
	display: inline-block;
	margin-left: 40px;
	padding: 50px 0px;
}

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

#navigation ul li.active a, #navigation ul li a:hover
{
	color: var(--theme);
}

#logo
{
	position: absolute;
	height: 100%;
	padding: 20px 0px;
}

#opener
{
	width: 100%;
	height: 75vh;
	max-height: 700px;
	background-size: cover;
	background-position: center;
}

.text
{
	margin: 80px 0px;
}

.imgFlex
{
	display: flex;
}

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

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

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

.textBox
{
	position: relative;
	padding: 70px 80px;
}

.imgFlex .inline
{
	margin-top: 70px;
}

.textBox:before
{
	content: "";
	position: absolute;
	width: 120%;
	height: 100%;
	top: 0;
	right: 0;
	z-index: -1;
	background-color: var(--light);
}

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

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

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

.text.withButton p a, .text .buttonArea p a, .buttonArea p a, #accepted
{
	display: inline-block;
	text-decoration: none;
	border-bottom: none!important;
	color: #fff!important;
	padding: 0.7em 1.2em;
	background-color: var(--theme);
	text-align: center;
	line-height: 1.4;
	font-family: 'Good Times';
	font-size: 0.85em;
	transition: all 0.2s;
}

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

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

.buttonArea
{
	margin-top: 30px;
}

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

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

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

#footer
{
	font-size: 0.85em;
	background-color: var(--dark);
	color: #fff;
	padding: 45px 0px;
	font-family: 'Good Times';
}

#copy
{
	position: absolute;
}

#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(--theme);
	border-bottom: 1px dashed var(--theme);
	transition: all 0.2s;
	text-decoration: none;
}

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

#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: 30px 40px 40px 40px;
	max-height: calc(100vh - 80px);
	background-color: #fff;
	max-width: 440px;
	overflow: auto;
	border-bottom: 8px solid var(--theme);
	display: block;
	margin: auto;
}

#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;
}

.flexImg
{
	position: relative;
	display: block;
	padding-bottom: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.itemFlex
{
	display: flex;
	flex-wrap: wrap;
	width: calc(100% + 40px);
	margin-left: -40px;
	margin-top: -40px;
}

.flexItem
{
	width: calc(33.3% - 40px);
	margin-left: 40px;
	margin-top: 40px;
	background-color: var(--light);
}

.flexItemContent
{
	padding: 20px 25px;
}

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

.text ul li:before
{
	content: "";
	position: absolute;
	width: 0.4em;
	height: 0.4em;
	left: 0;
	top: 0.68em;
	background-color: var(--theme);
}

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

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

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

form label
{
	font-family: 'Good Times';
	font-size: 0.85em;
	color: var(--theme);
	font-weight: 700;
	display: block;
	margin-bottom: 0.2em;
}

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: 'Gudea', sans-serif;
   	line-height: 1.6;
   	color: var(--dark);
   	font-weight: 300;
   	background-color: transparent;
}

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

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

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

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

.alert.alert-danger ul:before
{
	content: "Folgende Fehler sind aufgetreten. Bitte überprüfe deine Eingaben.";
	font-weight: 700;
	color: var(--theme);
	display: block;
}

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

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

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

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

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

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

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

button
{
	display: inline-block;
	text-decoration: none;
	border-bottom: none!important;
	color: #fff!important;
	padding: 0.7em 1.2em;
	background-color: var(--theme);
	text-align: center;
	line-height: 1.4;
	font-family: 'Good Times';
	font-size: 0.85em;
	transition: all 0.2s;
	width: auto;
	cursor: pointer;
	margin-top: 1.1em;
	margin-left: 40px;
}

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

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

@media all and (max-width: 700px){
	.imgFlex
	{
		display: block;
	}

	.imgFlexItem
	{
		width: 100%!important;
	}

	.imgFlex .inline
	{
		margin-top: 0px!important;
	}

	h1
	{
		font-size: 1.6em!important;
		hyphens: auto;
		-webkit-hyphens: auto;
	}

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

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

	h4
	{
		font-size: 1em;
	}

	#opener
	{
		height: 60vh!important;
	}

	#copy
	{
		display: block;
		position: relative;
		margin-bottom: 5px;
	}

	#footer
	{
		text-align: center;
		padding-bottom: 23px!important;
	}

	#footerList 
	{
		text-align: center;
	}

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

	.textBox:before
	{
		width: 100%;
	}

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

	form div
	{
		width: 100%;
	}

	textarea
	{
		height: 10em;
	}
}

@media all and (max-width: 1000px){
	#navigation
	{
		display: none;
		position: fixed;
		width: 100%;
		left: 0;
		top: 82px;
		background-color: #fff;
		border-bottom: 1px solid var(--light);
		max-height: calc(100vh - 82px);
		overflow: auto;
	}

	#navigation ul
	{
		padding: 0px 40px 6px;
	}

	#navigation ul li
	{
		display: block;
		margin-left: 0;
		padding: 0;
		margin-bottom: 5px;
	}

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

	.line
	{
		position: absolute;
		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);
	}

	#header .wrap
	{
		height: 85px;
	}

	#logo
	{
		padding: 15px 0px;
	}

	.text
	{
		margin: 40px 0px;
	}

	.colored, #intro
	{
		padding: 40px 0px;
	}

	#down
	{
		width: 40px;
		height: 40px;
		top: -20px;
	}

	#down:before
	{
		width: 12px;
		height: 12px;
		border-left: 3px solid #fff;
		border-bottom: 3px solid #fff;
	}

	.textBox
	{
		padding: 30px 40px;
	}

	.imgFlex .inline
	{
		margin-top: 35px;
	}

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

	.buttonArea
	{
		margin-top: 20px;
	}

	#footer
	{
		padding: 25px 0px;
	}

	#opener
	{
		min-height: 200px;
		height: 70vh;
	}

	body
	{
		font-size: 1.1em;
	}

	h1
	{
		font-size: 2.2em;
	}

	h2
	{
		font-size: 1.8em;
	}

	h3
	{
		font-size: 1.4em;
	}

	.flexItem
	{
		width: calc(50% - 40px);
	}

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

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