:root 
{
	--theme: #aa0732;
	--lighttheme: #ed114b;
	--darktheme: #84022a;
	--dark: #101210;
	--grey: #e2ddd7;
	--light: #edd4bc;
}

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

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

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

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

h1, h2, h3
{
	font-weight: 500;
	line-height: 1.2;
	font-size: 3.8em;
	text-transform: uppercase;
	color: var(--theme);
}

h2
{
	font-size: 2.8em;
}

h3
{
	font-size: 1.8em;
}

.text.big p, .text.big ul
{
	font-size: 1.3em;
}

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

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

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

#header .wrap, #opener .wrap, .wrap.bigWrap
{
	max-width: 1300px;
}

#header
{
	position: sticky;
	position: -webkit-sticky;
	width: 100%;
	left: 0;
	top: 0;
	background-color: #fff;
	z-index: 1000;
	box-shadow: 0px 0px 60px rgba(0,0,0,0.04);
}

#navigation
{
	text-align: right;
}

#navigation ul
{
	text-transform: uppercase;
}

#navigation ul li
{
	display: inline-block;
	padding: 45px 0px;
	margin-left: 10px;
	position: relative;
}

#navigation ul li ul
{
	position: absolute;
	text-align: left;
	font-size: 0.85em;
	text-transform: none;
	background-color: var(--lighttheme);
	padding: 15px 20px 6px;
	width: 300px;
	top: 90px;
	left: 0;
	display: none;
}

#navigation ul li:hover ul
{
	display: block;
}

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

#navigation ul li ul li a
{
	padding: 0;
	background-color: transparent!important;
	color: #fff;
}

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

#navigation ul li.active ul li a
{
	font-weight: 300;
}

#navigation ul li.active ul li.active a
{
	font-weight: 500;
}

#navigation ul li a
{
	color: var(--dark);
	text-decoration: none;
	transition: all 0.2s;
	display: block;
	padding: 0.5em 20px;
	line-height: 1.4;
}

#navigation ul li.active a
{
	font-weight: 500;
	color: #fff;
	background-color: var(--theme);
}

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

#navigation ul li:hover a
{
	color: #fff;
	background-color: var(--lighttheme);
}

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

#opener
{
	width: 100%;
	padding-bottom: 38%;
	background-size: cover;
	background-position: center;
	position: relative;
}

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

#opener h1
{
	color: #fff;
	text-shadow: 0px 0px 20px rgba(0,0,0,0.6);
}

.text
{
	margin: 80px 0px;
}

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

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

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

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

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

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

.text.withButton p a, .text .buttonArea p a, .buttonArea p a, #accepted
{
	display: inline-block;
	line-height: 1.4;
	padding: 0.5em 1em;
	color: #fff!important;
	border: none!important;
	text-decoration: none;
	text-align: center;
	transition: all 0.2s;
	background-color: var(--theme);
	text-transform: uppercase;
	font-weight: 500;
}

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

.buttonArea
{
	margin-top: 30px;
}

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

.imgFlex
{
	display: flex;
}

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

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

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

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

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

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

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

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

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

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

.dividerImg
{
	height: 55vh;
	max-height: 600px;
	background-size: cover;
	background-position: center;
}

.colored
{
	padding: 80px 0px;
	position: relative;
	margin: 0!important;
}

.colored:before
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	right: 0;
	top: 0;
	background-color: var(--light);
	z-index: -10;
	opacity: 0.2;
}

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

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

#footerList
{
	text-align: right;
}

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

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

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

#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: 5px 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: 50%;
	transform: translateY(-50%);
}

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

.icon
{
	width: 100px;
	height: 100px;
	display: block;
	border-radius: 200px;
	background-size: 45%;
	background-position: center;
	background-repeat: no-repeat;
	background-color: var(--theme);
	display: block;
	margin: auto;
	margin-bottom: 40px;
}

.text.withButton p a, .buttonArea p a
{
	margin-left: 1em;
	margin-bottom: 1em;
}

.text.withButton p, .text .buttonArea p
{
	margin-left: -1em;
	margin-bottom: -1em;
}

#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: 'Jost', sans-serif;
	color: var(--theme);
	text-transform: uppercase;
	font-weight: 500;
	display: block;
	margin-bottom: 0.1em;
}

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

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

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

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

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

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

.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: 'Jost', 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.63em;
	cursor: pointer;
}

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

button
{
	display: inline-block;
	line-height: 1.4;
	padding: 0.5em 1em;
	color: #fff!important;
	border: none!important;
	text-decoration: none;
	text-align: center;
	transition: all 0.2s;
	background-color: var(--theme);
	text-transform: uppercase;
	font-weight: 500;
	cursor: pointer;
	margin-top: 1.2em;
	margin-left: 40px;
	width: auto;
}

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

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

.flexItem
{
	width: calc(50% - 40px);
	padding: 18px 25px;
	margin-left: 40px;
	margin-bottom: 40px;
	position: relative;
}

.flexItem:before
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-color: var(--light);
	z-index: -1;
	opacity: 0.2;
}

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

@media all and (max-width: 650px){
	#opener
	{
		padding-bottom: 60%!important;
	}

	.divider
	{
		height: 35px!important;
	}

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

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

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

	.text.big p, .text.big ul
	{
		font-size: 1em!important;
	}

	.imgFlex
	{
		display: block;
	}

	.imgFlexItem
	{
		width: 100%!important;
	}

	.textBox:before
	{
		width: 100%;
	}

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

	.dividerImg
	{
		height: 35vh!important;
		min-height: 180px!important;
	}

	#footer
	{
		text-align: center;
	}

	#copy
	{
		position: relative;
		display: block;
	}

	#footerList
	{
		text-align: center;
		margin-bottom: -2px;
		margin-top: 5px;
	}

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

	.icon
	{
		width: 60px!important;
		height: 60px!important;
		margin-bottom: 20px!important;
	}

	form div
	{
		width: 100%;
	}

	textarea
	{
		height: 10em;
	}
}

@media all and (max-width: 900px){
	.flexItem
	{
		width: calc(100% - 40px);
	}
}

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

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

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

	#navigation ul li ul
	{
		position: relative;
		width: 100%;
		display: block;
		top: 0;
		left: 0;
		text-align: center;
		background-color: #fff;
		padding: 0;
		padding-bottom: 3px;
		padding-top: 2px;
	}

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

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

	#navigation ul li:hover ul
	{
		background-color: var(--lighttheme);
	}

	#navigation ul li:hover ul li a, #navigation ul li.active ul li a
	{
		color: #fff;
	}

	#navigation ul li.active ul
	{
		background-color: var(--theme)!important;
	}

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

	.line
	{
		position: absolute;
		width: 100%;
		height: 3px;
		background-color: var(--theme);
		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: 90px;
	}

	#logo
	{
		padding: 15px 0px;
	}

	#opener
	{
		padding-bottom: 45%;
	}

	.text
	{
		margin: 40px 0px;
	}

	.colored
	{
		padding: 40px 0px;
	}

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

	.divider
	{
		height: 40px;
	}

	h1
	{
		font-size: 2.8em;
	}

	h2
	{
		font-size: 2em;
	}

	h3
	{
		font-size: 1.5em;
	}

	.text.big p, .text.big ul
	{
		font-size: 1.15em;
	}

	.dividerImg
	{
		height: 45vh;
		min-height: 220px;
	}

	.buttonArea
	{
		margin-top: 20px;
	}

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

	.textBox
	{
		padding: 30px 40px;
	}

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

	.icon
	{
		width: 80px;
		height: 80px;
		margin-bottom: 25px;
	}

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

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