:root 
{
	--theme: #19394f;
	--darktheme: #07202d;
	--grey: #72858e;
	--light: #e6ecf0;
	--dark: #19394f;
}

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

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

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

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

h1, h2, h3
{
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 3.3em;
	font-family: 'Roboto Condensed';
}

h2
{
	font-size: 2.8em;
	line-height: 1.2;
}

h3
{
	font-size: 2em;
	line-height: 1.2;
}

.text.big p, .text.big ul, .text.big + .text.withButton, .benefit
{
	font-size: 1.25em;
}

h1
{
	display: inline;
	background-color: var(--theme);
	color: #fff;
	line-height: 1.5;
	padding: 0.06em 0.2em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	-moz-box-decoration-break: clone;
}

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

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

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

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

#header
{
	position: sticky;
	position: -webkit-sticky;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 1000;
	background-color: var(--light);
}

#navigation ul
{
	text-align: right;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

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

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

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

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

#navigation ul li ul
{
	display: none;
	position: absolute;
	min-width: calc(100% + 40px);
	left: -20px;
	top: calc(100% - 6px);
	padding: 0px 20px 12px 20px;
	background-color: var(--light);
	font-size: 0.85em;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	border-bottom: 4px solid var(--theme);
}

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

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

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

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

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

#logo
{
	position: absolute;
	height: 200%;
	background-color: #fff;
	padding: 20px;
	box-shadow: 0px 0px 40px rgba(0,0,0,0.1);
}

#opener
{
	background-color: var(--light);
	padding-bottom: 40px;
}

#opener + #intro
{
	margin-top: -168px;
}

#openerImg, .dividerImg
{
	width: 100%;
	padding-bottom: 38%;
	background-size: cover;
	background-position: center;
}

.text
{
	margin: 100px 0px;
}

strong
{
	font-weight: 700;
}

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

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

.flexItem
{
	width: calc(50% - 40px);
	margin-left: 40px;
	margin-bottom: 40px;
	background-color: #fff;
	box-shadow: 0px 0px 40px rgba(0,0,0,0.08);
}

.flexImg
{
	padding-bottom: 75%;
	background-size: cover;
	background-position: center;
}

.flexItemContent
{
	padding: 30px 40px;
}

.colored
{
	padding: 100px 0px;
	background-color: var(--light);
}

.colored + .colored
{
	padding-top: 0;
	margin-top: -100px;
}

.text.withButton p a, .text .buttonArea p a, .buttonArea p a, #accepted
{
	display: inline-block;
	font-family: 'Roboto Condensed';
	line-height: 1.4;
	text-align: center;
	color: #fff!important;
	text-decoration: none;
	border-bottom: none!important;
	background-color: var(--theme);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.6em 1.2em;
	transition: all 0.2s;
}

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

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

.buttonArea
{
	margin-top: 30px;
}

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

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

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

.benefit:before
{
	content: "";
	position: absolute;
	width: 50px;
	height: 50px;
	background-color: var(--light);
	border-radius: 100px;
	top: -5px;
	background-image: url(tick.svg);
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
	left: 0;
}

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

.imgBox
{
	padding: 50px 60px;
	background-color: #fff;
	max-width: 800px;
	width: calc(100% - 80px);
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	z-index: 500;
	margin-top: -100px;
	background-color: var(--light);
}

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

#footer
{
	padding: 45px 0px 44px;
	background-color: var(--dark);
	color: #fff;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

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

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

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

#footerList 
{
	text-align: right;
}

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

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

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

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

#cookieBox
{
	padding: 31px 40px 40px 40px;
	max-height: calc(100vh - 80px);
	max-width: 420px;
	overflow: auto;
	display: block;
	margin: auto;
	position: relative;
	background-color: #fff;
}

#cookieBoxInner
{
	position: relative;
	z-index: 100;
}

#acceptWrap
{
	text-align: center;
}

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

#cookieCheckboxes label
{
	position: relative;
	margin-right: 1.6em;
	padding-left: 1.8em;
	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;
}

#intro + .text
{
	margin-top: 85px;
}

#header + #intro
{
	padding: 170px 0px 90px;
	background-color: var(--light);
}

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

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

#form
{
	padding-top: 210px;
	margin-top: -260px;
}

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

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

form label
{
	font-family: 'Roboto Condensed';
	color: var(--dark);
	font-weight: 700;
	display: block;
	margin-bottom: 0.05em;
	text-transform: uppercase;
	letter-spacing: 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: 'Roboto';
   	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 var(--light);
	padding: 0.5em 1.2em;
	background-color: var(--light);
}

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

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.";
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	color: red;
	display: block;
}

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

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

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

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

.checkbox label
{
	font-family: 'Roboto';
	color: var(--dark);
	font-weight: 300;
	cursor: pointer;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1.6;
}

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

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

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

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

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

	#openerImg, .dividerImg
	{
		padding-bottom: 65%!important;
	}
}

@media all and (min-width: 451px) and (max-width: 680px){
	#openerImg, .dividerImg
	{
		padding-bottom: 55%!important;
	}
}

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

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

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

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

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

	#opener + #intro
	{
		margin-top: -85px!important;
	}

	#intro + .text
	{
		margin-top: 45px!important;
	}
}

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

	.flexImg
	{
		padding-bottom: 60%;
	}

	.flexItemContent
	{
		padding: 30px 40px!important;
	}

	form div
	{
		width: 100%;
	}

	textarea
	{
		height: 10em;
	}
}

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

	#footerList
	{
		text-align: center;
	}

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

@media all and (max-width: 1150px){
	#navigation
	{
		display: none;
		position: fixed;
		width: 100%;
		left: 0;
		top: 60px;
		max-height: calc(100% - 60px);
		overflow: auto;
		background-color: var(--light);
	}

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

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

	#navigation ul li ul
	{
		position: relative;
		display: block;
		left: 0;
		padding: 0;
		min-width: 100%;
		border-bottom: none;
		text-align: right;
		margin-top: 4px;
		margin-bottom: 10px;
	}

	#navigation ul li ul li
	{
		margin-bottom: 3px;
	}

	#navigation ul li ul li a:after
	{
		content: "-";
		margin-left: 10px;
	}

	#logo
	{
		z-index: 1500;
	}

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

	.line
	{
		position: absolute;
		width: 100%;
		height: 2px;
		background-color: var(--dark);
		transition: all 0.2s;
	}

	#navOpener .line:nth-child(1)
	{
		top: 0;
		left: 50%;
		transform: translateX(-50%);
	}

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

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

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

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

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

	#header .wrap
	{
		height: 60px;
	}

	#logo
	{
		padding: 15px;
		height: 150%;
	}

	.text
	{
		margin: 60px 0px;
	}

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

	.buttonArea
	{
		margin-top: 30px;
	}

	.colored 
	{
		padding: 60px 0px;
	}

	.colored + .colored
	{
		margin-top: -60px;
	}

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

	.flexArea
	{
		margin-top: -80px;
	}

	h1
	{
		font-size: 2.4em;
	}

	h2
	{
		font-size: 2em;
	}

	h3
	{
		font-size: 1.7em;
	}

	h2, h3
	{
		line-height: 1.3;
	}

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

	#opener + #intro
	{
		margin-top: -100px;
	}

	.benefit
	{
		padding-left: 60px;
	}

	.benefit:before
	{
		width: 40px;
		height: 40px;
		top: -2px;
	}

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

	#footer
	{
		padding: 30px 0px 29px;
	}

	#openerImg, .dividerImg
	{
		padding-bottom: 40%;
	}

	#intro + .text
	{
		margin-top: 50px;
	}

	.flexItemContent
	{
		padding: 20px 25px;
	}

	#header + #intro
	{
		padding: 115px 0px 55px;
	}

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

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

@media all and (min-width: 1450px){
	#openerImg, .dividerImg
	{
		padding-bottom: 42%;
	}
}