:root 
{
	--blau: #0e727c;
	--hellblau: #05949b;
	--dark: #082528;
	--grau: #717f7f;
	--hellgrau: #edf7f7;
}

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

body 
{
	font-size: 1.1em;
	color: var(--dark);
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	line-height: 1.9;
	overflow-x: hidden;
}

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

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

#header
{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: #fff;
	z-index: 1000;
	box-shadow: 0px 0px 5px rgba(0,0,0,0.05);
}

#header .wrap
{
	height: 165px;
	transition: height 0.2s;
}

#header.scrolled .wrap
{
	height: 130px;
}

#headerContact
{
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

#headerContact a
{
	display: inline-block;
	color: var(--blau);
	text-decoration: none;
	font-size: 1.15em;
	font-weight: 400;
	background-size: 1em;
	background-position: left center;
	background-repeat: no-repeat;
	padding-left: 1.6em;
	transition: all 0.2s;
}

#headerContact a:hover
{
	color: var(--hellblau);
}

#mail
{
	margin-left: 40px;
	background-image: url(mail.svg);
}

#phone
{
	background-image: url(phone.svg);
}

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

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

h1, h2, h3
{
	font-family: 'Montserrat', sans-serif;
	letter-spacing: 0.02em;
	font-weight: 700;
	color: var(--dark);
	line-height: 1.38;
	font-size: 3em;
}

h2, h3
{
	font-size: 2em;
	color: var(--blau);
}

h3
{
	font-size: 1.4em;
}

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

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

.box h2, .box h3, #pageOpener h1, #pageOpener h2, #pageOpener h3
{
	color: #fff;
}

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

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

#navOpener
{
	position: absolute;
	width: 50px;
	height: 50px;
	background-color: var(--blau);
	right: 40px;
	top: 50%;
	transform: translateY(-50%);
	border-radius: 100px;
	cursor: pointer;
}

.line
{
	position: absolute;
	width: 45%;
	height: 2px;
	background-color: #fff;
	left: 50%;
	transform: translateX(-50%);
	transition: all 0.2s;
}

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

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

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

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

#navigation
{
	position: absolute;
	right: 40px;
	top: 69%;	
	line-height: 1.7;
	display: none;
	transition: top 0.2s;
}

#header.scrolled #navigation
{
	top: 73%;
}

#navigationInner
{
	padding-top: 10px;
	max-height: calc(100vh - 100px);
	overflow: auto;
}

#navigation ul:before
{
	content: "";
	position: absolute;
	width: 10px;
	height: 10px;
	top: -5px;
	right: 20px;
	background-color: var(--blau);
	transform: rotate(45deg);
}

#navigation ul
{
	padding: 18px 40px;
	position: relative;
	background-color: var(--blau);
	border: 1px solid #fff;
}

#navigation ul li
{
	list-style: none;
	display: block;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

#navigation ul li.active 
{
	font-weight: 600;
	letter-spacing: 0.02em;
}

#navigation ul li:first-child
{
	border-top: none;
	padding-top: 0;
}

#navigation ul li a
{
	color: #fff;
	display: block;
	text-decoration: none;
	padding-bottom: 10px;
	padding-top: 10px;
}

#opener
{
	height: 63vh;
	background-size: cover;
	background-position: center;
	position: relative;
	margin-top: 160px;
}

#pageOpener
{
	margin-top: 160px;
}

#pageOpener .text.withButton p a
{
	border: 1px solid #fff;
}

#openerTitle
{
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 90px;
	z-index: 100;
}

#openerTitle span
{
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #fff;
	background-color: var(--blau);
	display: inline;
	line-height: 1.35;
	font-size: 1.8em;
	padding: 0.4em 0.8em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	-moz-box-decoration-break: clone;
}

.text
{
	margin: 60px 0px;
}

.intro
{
	margin-bottom: -40px;
}

.first + .text
{
	margin-top: -40px;
}

.divider
{
	width: 40px;
	height: 40px;
	background-image: url(icon.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	display: block;
	margin: auto;
}

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

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

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

.imgFlexItem
{
	width: 50%;
	margin-left: 40px;
}

.textBox
{
	padding: 35px 0px 35px 40px;
	background-color: var(--hellgrau);
	margin-left: -100px;
	margin-top: 60px;
	min-height: calc(100% - 60px);
	box-shadow: -6px -6px 10px rgba(0,0,0,0.03);
}

.imgFlex.right .textBox
{
	padding: 35px 40px 35px 0px;
	margin-left: auto;
	margin-right: -100px;
	box-shadow: 6px -6px 10px rgba(0,0,0,0.03);
}

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

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

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

.withImgFlex
{
	padding: 60px 0px;
	background-color: var(--hellgrau);
}

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

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

.dividerImg .wrap
{
	z-index: 100;
}

.dividerImg:after
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 1;
	background-color: var(--blau);
	opacity: 0.6;
}

.buttonArea
{
	margin-top: 30px;
}

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

.text.withButton p a, .text .buttonArea p a, .buttonArea p a
{
	display: inline-block;
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	letter-spacing: 0.02em;
	background-color: var(--blau);
	line-height: 1.35;
	padding: 0.7em 1.5em;
	transition: all 0.2s;
	text-decoration: none;
	color: #fff;
	text-align: center;
	border-bottom: none;
}

.text.withButton p a:hover, .text .buttonArea p a:hover, .buttonArea p a:hover
{
	background-color: var(--hellblau);
	border-bottom: none;
	color: #fff;
}

.buttonArea p a + a
{
	margin-left: 1em;
}

.dividerImg .buttonArea p a
{
	border: 1px solid rgba(255, 255, 255, 0.6);
}

#footer
{
	background-color: var(--dark);
	color: #fff;
	padding: 30px 0px 31px;
}

#copy
{
	position: absolute;
	font-weight: 600;
	letter-spacing: 0.02em;
}

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

.textFlex
{
	display: flex;
	flex-wrap: wrap;
	margin-left: 1px;
}

.textFlexItem
{
	width: 50%;
	padding: 32px 40px;
	border-left: 1px solid var(--hellgrau);
	border-bottom: 1px solid var(--hellgrau);
	border-top: 1px solid var(--hellgrau);
	border-right: 1px solid var(--hellgrau);
	margin-left: -1px;
	margin-top: -1px;
}

.more
{
	display: inline-block;
	margin-top: 0.5em;
	color: var(--blau);
	text-decoration: none;
	font-weight: 700;
	transition: all 0.2s;
}

.more:hover
{
	color: var(--hellblau);
}

.down
{
	width: 40px;
	height: 40px;
	background-image: url(down.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	display: block;
	margin: auto;
}

#cookieNotice
{
	position: fixed;
	width: 100%;
	left: 0;
	bottom: 0;
	z-index: 1000;
	box-shadow: 0px 0px 5px rgba(0,0,0,0.05);
	background-color: #fff;
	padding: 20px 0px;
	font-size: 0.85rem;
}

#cookieSpace
{
	position: absolute;
	height: 40px;
	z-index: -10;
}

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

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

#accepted
{
	font-family: 'Montserrat', sans-serif;
	letter-spacing: 0.02em;
	font-weight: 700;
	color: var(--blau);
	cursor: pointer;
	transition: all 0.2s;
	text-transform: uppercase;
	float: right;
}

#accepted:hover
{
	color: var(--hellblau);
}

#cookieCheckboxes
{
	display: flex;
	flex-wrap: wrap;
	margin-top: 0.6em;
	margin-bottom: 0.6em;
}

#cookieCheckboxes label
{
	position: relative;
	margin-right: 1.8em;
	padding-left: 1.4em;
	cursor: pointer;
}

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

strong
{
	font-weight: 600;
}

#siegel
{
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	max-width: 190px;
}

.box
{
	background-color: var(--blau);
	color: #fff;
	padding: 35px 40px;
}

.text .box p a
{
	color: #fff;
	border-bottom: 1px dashed #fff;
	font-weight: 400;
}

.text .box p a:hover
{
	color: #fff;
	border-bottom: 1px solid #fff;
}

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

#pageOpener
{
	padding: 1px 0px;
	background-color: var(--blau);
	color: #fff;
}

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

#pageOpener .text p a, #pageOpener .text ul li a
{
	color: #fff;
	border-bottom: 1px dashed #fff;
}

#pageOpener .text p a:hover, #pageOpener .text ul li a:hover
{
	border-bottom: 1px solid #fff;
}

#pageOpener + .text.withImgFlex
{
	margin-top: 0;
}

#form
{
	position: relative;
	padding-top: 170px;
	margin-top: -170px;
}

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

form div
{
	width: calc(50% - 40px);
	margin-left: 40px;
	margin-bottom: 20px;
}

#yform-formular-nachricht, #yform-formular-accept
{
	width: calc(100% - 40px);
}

form label
{
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	color: var(--blau);
	display: block;
	margin-bottom: 0.25em;
}

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

input, textarea
{
	color: var(--dark);
}

input[type = "text"], input[type = "email"], textarea
{
	border: 1px solid rgba(0,0,0,0.1);
	padding: 0.5em 1.1em;
}

input, textarea
{
	transition: border-color 0.2s;
}

input:focus, textarea:focus
{
	border-color: var(--hellblau);
}

textarea
{
	height: 10em;
	resize: none;
}

.alert
{
	width: calc(100% - 40px);
}

.alert.alert-danger ul:before
{
	content: "Folgende Fehler sind aufgetreten. Bitte überprüfen Sie Ihre Eingaben.";
	font-family: 'Open Sans', sans-serif;
	color: red;
	display: block;
	font-weight: 600;
}

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

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

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

.checkbox
{
	position: relative;
	padding-left: 1.35em;
}

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

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

button
{
	display: inline-block;
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	letter-spacing: 0.02em;
	background-color: var(--blau);
	line-height: 1.35;
	padding: 0.7em 1.5em;
	transition: all 0.2s;
	text-decoration: none;
	color: #fff;
	text-align: center;
	border-bottom: none;
	margin-left: 40px;
	max-width: calc(100% - 40px);
	cursor: pointer;
	width: auto;
}

button:hover
{
	background-color: var(--hellblau);
	border-bottom: none;
	color: #fff;
}

#siegels
{
	display: flex;
	flex-wrap: wrap;
	margin-left: -20px;
	margin-top: 20px;
	width: calc(100% + 20px);
	align-items: center;
	justify-content: space-between;
}

.siegelItem
{
	width: 150px;
	margin-left: 20px;
	margin-top: -20px;
}

.siegelItem img
{
	width: 100%;
}	

@media all and (max-width: 370px){
	.buttonArea p a + a
	{
		margin-left: 0;
		margin-top: 12px;
	}
}

@media all and (max-width: 460px){
	.imgFlex
	{
		display: block;
		margin-left: 0px;
	}

	.imgFlexItem
	{
		width: 100%;
		margin-left: 0px;
	}

	.textBox
	{
		padding: 0!important;
		background-color: var(--hellgrau);
		margin-left: 0!important;
		margin-top: 30px!important;
		min-height: auto;
		margin-right: 0!important;
		box-shadow: none!important;
	}

	.down
	{
		width: 30px!important;
		height: 30px!important;
	}
}

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

	#footerList
	{
		text-align: center;
	}

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

	.textFlex
	{
		display: block;
	}

	.textFlexItem
	{
		width: calc(100% + 80px)!important;
		margin-left: -40px!important;
		padding: 35px 40px!important;
	}

	#siegel
	{
		max-width: 140px!important;
	}

	.box
	{
		padding: 20px 25px;
	}
}

@media all and (max-width: 630px){
	form div
	{
		width: calc(100% - 40px);
	}

	textarea
	{
		height: 9em;
	}

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

@media all and (max-width: 680px){
	.textFlexItem
	{
		width: 100%;
		padding: 20px 25px;
	}

	body
	{
		font-size: 1.05em;
	}

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

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

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

	#openerTitle span
	{
		font-size: 1.2em!important;
	}

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

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

	#navigation ul li a
	{
		padding-bottom: 6px;
		padding-top: 6px;
	}

	#navigation ul
	{
		padding: 8px 25px;
	}

	.siegelItem
	{
		width: 80px!important;
	}
}

@media all and (max-width: 750px){
	#headerContact span
	{
		display: none;
	}

	#headerContact
	{
		left: 50%!important;
	}

	#headerContact a
	{
		width: 0.9em;
		height: 0.9em;
		padding-left: 0;
		background-position: center;
		background-size: contain;
	}

	#mail
	{
		margin-left: 25px!important;
	}

	#header .wrap, #header.scrolled .wrap
	{
		height: 100px!important;
	}	

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

	#opener
	{
		margin-top: 95px!important;
		height: 42vh!important;
		min-height: 230px;
	}

	#logo
	{
		padding: 18px 0px;
	}

	#navOpener
	{
		width: 45px;
		height: 45px;
	}

	.text
	{
		margin: 40px 0px;
	}

	.textBox
	{
		margin-top: 40px;
		margin-left: -80px;
	}

	.imgFlex.right .textBox
	{
		margin-top: 40px;
		margin-left: auto;
		margin-right: -80px;
	}

	.intro
	{
		margin-bottom: -20px;
	}

	.first + .text
	{
		margin-top: -20px;
	}

	.buttonArea
	{
		margin-top: 20px;
	}

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

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

	#openerTitle
	{
		bottom: 55px;
	}

	.down
	{
		width: 35px;
		height: 35px;
	}

	#siegel
	{
		max-width: 160px;
	}
}

@media all and (max-width: 940px){
	#opener
	{
		margin-top: 135px;
		height: 56vh;
	}

	#pageOpener
	{
		margin-top: 135px;
	}

	#header .wrap
	{
		height: 140px;
	}

	#header.scrolled .wrap
	{
		height: 120px;
	}

	#navigation, #header.scrolled #navigation
	{
		top: 72%;
	}

	#headerContact
	{
		white-space: nowrap;
		left: 53%;
	}

	h1
	{
		font-size: 2.5em;
	}

	h2
	{
		font-size: 1.7em;
	}

	h3
	{
		font-size: 1.3em;
	}

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

	#openerTitle span
	{
		font-size: 1.5em;
		padding: 0.3em 0.6em;
	}

	.dividerImg
	{
		padding: 80px 0px;
	}

	.siegelItem
	{
		width: 120px;
	}
}