:root 
{
	--darkblue: #2a4278;
	--lightblue: #00a7c3;
	--lightgrey: #c2c2c2;
	--light: #f2f5fc;
	--grey: #707070;
}

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

body 
{
	font-size: 1.08em;
	color: var(--grey);
	font-family: 'Lato', sans-serif;
	font-weight: 300;
	overflow-x: hidden;
	line-height: 1.8;
}

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

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

h1, h2, h3
{
	color: var(--darkblue);
	font-weight: 700;
	line-height: 1.45;
	font-size: 2.6em;
}

h1
{
	text-transform: uppercase;
	line-height: 1.4;
}

h2, h3
{
	font-weight: 500;
}

h2
{
	font-size: 1.9em;
}

h3
{
	font-size: 1.35em;
	font-weight: 700;
}

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

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

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

h1 + h2
{
	margin-top: 0.4em;
}

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

h2 + h3
{
	margin-top: 1em;
}

#sideBar
{
	position: fixed;
	width: 280px;
	left: 0;
	top: 0;
	height: 100vh;
	z-index: 1000;
	background-color: #fff;
	overflow: auto;
	box-shadow: 0px 0px 60px rgba(0,0,0,0.06);
}

#content, #footer, #logoutBar
{
	padding-left: 280px!important;
}

#full #content, #full #footer
{
	padding-left: 0!important;
}

#logo
{
	width: 100%;
	max-width: 200px;
	display: block;
	margin: auto;
	padding: 30px 40px;
}

#logoContainer
{
	position: sticky;
	position: -webkit-sticky;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 1000;
	background-color: #fff;
	border-bottom: 1px solid var(--light);
}

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

#navigation ul li
{
	text-transform: uppercase;
	display: block;
	position: relative;
}

#navigation ul li a
{
	color: var(--darkblue);
	transition: all 0.2s;
	text-decoration: none;
	display: block;
	border-bottom: 1px solid var(--light);
	padding: 15px 40px;
}

#navigation ul li.active a, #navigation ul li.active:hover a
{
	color: #fff;
	background-color: var(--darkblue);
	font-weight: 700;
}

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

#opener
{
	width: 100%;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 100px 0px;
}

#opener:before
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 10%, rgba(0,0,0,0.4) 80%);
	z-index: 10;
}

#openerContent
{
	width: 100%;
	text-align: right;
	position: relative;
	z-index: 200;
}

.small span
{
	background-color: var(--darkblue);
	color: #fff;
	text-transform: uppercase;
	font-size: 1.3em;
	line-height: 1.3;
	padding: 0.4em 18px;
}

.big span
{
	background-color: var(--lightblue);
	font-weight: 600;
	color: #fff;
	font-size: 2.4em;
	display: inline;
	line-height: 1.3;
	padding: 0.25em 18px;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	-moz-box-decoration-break: clone;
}

.big
{
	margin-top: 13px;
}

.text
{
	margin: 60px 0px;
}

.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;
	left: 0;
	top: 0.72em;
	background-color: var(--darkblue);
}

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

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

form + p
{
	margin-top: 22px;
}

strong
{
	font-weight: 700;
}

.dividerLine
{
	width: 120px;
	height: 5px;
	background-color: var(--lightblue);
}

#contactFlex
{
	margin-left: -20px;
	display: flex;
}

.contactFlexItem
{
	display: block;
	width: 100%;
	margin-left: 20px;
	color: #fff;
	background-color: var(--darkblue);
	font-weight: 400;
	text-decoration: none;
	padding: 1.5em 2em;
	font-size: 1em;
	line-height: 1.55;
	display: flex;
	align-items: center;
	transition: all 0.2s;
	position: relative;
	background-size: auto 2em;
	background-repeat: no-repeat;
	background-position: center right 2em;
	padding-right: 5.5em;
}

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

.form
{
	background-image: url(form.svg);
	background-size: auto 2.2em;
}

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

.contactFlexItem:hover
{
	background-color: var(--lightblue);
	transform: translateY(-5px);
}

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

.buttonArea
{
	margin-top: 30px;
}

.grey
{
	background-color: var(--light);
	padding: 60px 0px;
}

.grey + .grey
{
	margin-top: -90px;
	padding-top: 0;
}

.grey + .withButton
{
	padding-bottom: 60px;
	background-color: var(--light);
	margin-top: -90px;
}

.grey + .withButton + .withButton, .grey + .withButton + .withButton + .withButton
{
	padding-bottom: 60px;
	background-color: var(--light);
	margin-top: -100px;
}

.grey + #footer, .grey + .withButton + #footer
{
	margin-top: -60px;
}

#footer
{
	background-color: var(--darkblue);
	color: #fff;
	font-size: 0.85em;
	padding: 40px 0px;
	text-align: center;
}

#loginBody #footer
{
	padding-left: 0!important;
}

#copy
{
	font-weight: 700;
	display: block;
	margin-bottom: 0px;
	line-height: 1.6;
}

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

#footerList li:first-child
{
	margin-left: 0;
}

#footerList li:before
{
	content: "|";
	margin-right: 15px;
	color: #fff;
	opacity: 0.7;
	position: relative;
	font-size: 0.9em;
	top: -1px;
}

#footerList li:first-child:before
{
	display: none;
}

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

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

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

.withImgLink + .withImgLink, .withService + .withService
{
	margin-top: -20px;
}

.serviceBox
{
	position: relative;
	padding: 30px 40px 33px;
	padding-left: 160px;
	background-color: var(--light);
}

.serviceIcon
{
	position: absolute;
	width: 120px;
	height: 100%;
	background-color: var(--darkblue);
	background-size: 60%;
	background-position: center;
	background-repeat: no-repeat;
	left: 0;
	top: 0;
}

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

#cookieBox
{
	padding: 35px 40px;
	max-height: calc(100vh - 80px);
	background-color: #fff;
	max-width: 450px;
	overflow: auto;
	border-bottom: 5px solid var(--lightblue);
}

#acceptWrap
{
	text-align: center;
	font-size: 1.2em;
	border-top: 1px solid var(--lightgrey);
	padding-top: 32px;
	margin-top: 35px;
}

#accepted, #accepted_auswahl
{
	font-weight: 600;
	color: var(--lightblue);
	cursor: pointer;
	transition: all 0.2s;
	display: inline-block;
}

#accepted
{
	margin-top: 1px;
}

#accepted:hover, #accepted_auswahl:hover
{
	color: var(--darkblue);
}

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

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

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

#cookieNotice strong
{
	font-weight: 700;
}

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

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

.text.withButton p a, .text .buttonArea p a, .buttonArea p a
{
	display: inline-block;
	text-align: center;
	font-weight: 400;
	line-height: 1.45;
	color: #fff!important;
	text-decoration: none;
	border-bottom: none!important;
	padding: 0.7em 1.2em 0.73em;
	background-color: var(--darkblue);
	transition: all 0.2s;
}

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

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

.imgFlexItem
{
	margin-left: 40px;
}

.imgFlexItem:nth-child(1)
{
	width: 300px;
}

.imgFlexItem:nth-child(2)
{
	width: calc(100% - 300px);
}

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

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

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

form label
{
	color: var(--darkblue);
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	display: block;
	margin-bottom: 0.2em;
}

input[type = "text"], input[type = "password"], 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: 'Lato', sans-serif;
   	line-height: 1.6;
   	color: var(--grey);
   	font-weight: 300;
   	background-color: transparent;
}

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

input[type = "text"], input[type = "password"], input[type = "email"], textarea
{
	border: 1px solid var(--lightgrey);
	padding: 0.6em 1.2em;
	transition: all 0.2s;
}

input, textarea
{
	margin-bottom: 1.2em;
}

input:focus, textarea:focus
{
	border-color: var(--darkblue);
	outline: 1px solid var(--darkblue);
	background-color: #fff;
}

textarea
{
	height: 10em;
	resize: none;
	margin-bottom: 1em;
}

.alert.alert-danger ul:before
{
	content: "Folgende Fehler sind aufgetreten. Bitte Ã¼berprÃ¼fen Sie Ihre Eingabe.";
	font-weight: 400;
	color: red;
	display: block;
}

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

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

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

.checkbox
{
	position: relative;
	padding-left: 1.4em;
	margin-left: 40px;
	width: calc(100% - 40px);
}

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

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

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

button
{
	width: auto;
	cursor: pointer;
	margin-top: 1.2em;
	display: inline-block;
	text-align: center;
	font-weight: 400;
	line-height: 1.45;
	color: #fff!important;
	text-decoration: none;
	border-bottom: none!important;
	padding: 0.7em 1.2em 0.73em;
	background-color: var(--darkblue);
	transition: all 0.2s;
	margin-left: 40px;
}

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

.youtube
{
	width: 100%;
	border: none;
	position: relative;
}

.youtube iframe
{
	border: none;
}

.youtubeVideo
{
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}

.youtubeOverlay
{
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--light);
	border: 1px solid var(--darkblue);
	z-index: 10;
	padding: 25px 20px 20px;
	flex-wrap: wrap;
}

.youtubeContent
{
	text-align: center;
}

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

.youtubeAccept
{
	display: inline-block;
	text-align: center;
	font-weight: 400;
	line-height: 1.45;
	color: #fff!important;
	text-decoration: none;
	border-bottom: none!important;
	padding: 0.7em 1.2em 0.73em;
	background-color: var(--darkblue);
	transition: all 0.2s;
	cursor: pointer;
}

.youtubeAccept:hover
{
	background-color: var(--lightblue);
}

#loginImg
{
	width: 100%;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	background-size: cover;
	background-position: center;
	position: relative;
}

#loginImg:before
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 10%, rgba(0,0,0,0.4) 80%);
	z-index: 10;
}

#loginContent
{
	width: 100%;
	position: relative;
	z-index: 20;
	padding: 128px 0px 40px 0px;
}

#loginBox
{
	max-width: 450px;
	display: block;
	margin: auto;
	padding: 40px;
	background-color: #fff;
	border-bottom: 5px solid var(--lightblue);
}

#loginBox form
{
	margin-left: 0;
}

#loginLogo
{
	max-width: 120px;
	display: block;
	margin: auto;
	margin-bottom: 30px;
}

#loginBox .buttonArea
{
	margin-top: 0;
}

#loginTitle
{
	padding: 20px 25px;
	color: #fff;
	font-size: 1.35em;
	text-transform: uppercase;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	text-align: center;
}

#loginTitle:before
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-color: var(--darkblue);
	opacity: 0.8;
	z-index: -1;
}

#loginTitle strong
{
	font-weight: 700;
}

#loginForm
{
	margin-top: 18px;
}

#loginForm button
{
	margin-left: 0;
	margin-top: 0;
}

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

#loginBox .text
{
	margin: 0!important;
}

#loginBox .wrap
{
	padding: 0;
}

.error
{
	padding: 15px 25px 16px 25px;
	background-color: #ec3e3d;
	color: #fff;
	font-size: 0.85em;
	margin: 20px 0px;
}

#content
{
	margin-bottom: -60px;
}

#logoutBar
{
	text-align: right;
	font-size: 0.85em;
	padding: 8px 0px;
	background-color: var(--darkblue);
	position: sticky;
	position: -webkit-sticky;
	left: 0;
	top: 0;
	z-index: 1000;
}

#logoutBar a
{
	color: #fff;
	text-decoration: none;
	transition: all 0.2s;
	border-bottom: 1px solid transparent;
	opacity: 0.7;
	position: relative;
}

#logoutBar a:before
{
	content: "";
	position: absolute;
	width: 1em;
	height: 1em;
	background-image: url(logout.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	top: 52%;
	transform: translateY(-50%);
	right: calc(100% + 5px);
}

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

@media all and (max-width: 450px){
	#footerList li
	{
		display: block;
		margin-left: 0;
		margin-top: 1px;
	}

	#footerList li:before
	{
		display: none;
	}

	#copy
	{
		margin-bottom: 8px;
	}

	#footer
	{
		padding-bottom: 26px!important;
	}

	#cookieBox
	{
		padding: 25px 20px;
	}

	#loginBox
	{
		padding: 25px;
	}

	#loginLogo
	{
		max-width: 100px;
		margin-bottom: 20px;
	}

	#loginForm
	{
		margin-top: 20px;
	}
}

@media all and (max-width: 500px){
	.imgFlexItem:nth-child(1)
	{
		width: 100%!important;
		margin-left: 0;
	}

	.imgFlexItem:nth-child(2)
	{
		width: 100%!important;
		margin-left: 0;
		margin-top: 25px;
	}

	.imgFlex
	{
		display: block;
		margin-left: 0;
		width: 100%;
	}
}

@media all and (max-width: 550px){
	textarea
	{
		height: 8em;
	}

	form div
	{
		width: 100%;
	}

	#loginTitle
	{
		font-size: 1em!important;
		line-height: 1.3;
	}

	#loginContent
	{
		padding: 110px 0px 40px 0px!important;
	}
}

@media all and (max-width: 650px){
	.small span
	{
		font-size: 1em!important;
	}

	.big span
	{
		font-size: 1.45em!important;
		padding-bottom: 0.27em;
	}

	.big
	{
		margin-top: 7px!important;
	}

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

	h1 + h2
	{
		margin-top: 0.6em;
	}

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

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

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

	#opener
	{
		padding: 60px 0px!important;
	}

	#header:after
	{
		width: 120px!important;
	}

	.serviceIcon
	{
		width: 100%!important;
		height: 80px;
		background-size: auto 70%;
	}

	.serviceBox
	{
		padding-left: 40px!important;
		padding-top: 112px!important;
	}

	.dividerLine
	{
		width: 80px!important;
	}

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

@media all and (max-width: 800px){
	.imgFlexItem:nth-child(1)
	{
		width: 200px;
	}

	.imgFlexItem:nth-child(2)
	{
		width: calc(100% - 200px);
	}

	.imgFlex
	{
		align-items: flex-start;
	}
}

@media all and (max-width: 850px){
	#contactFlex
	{
		display: block;
		margin-left: 0;
		margin-top: -15px;
	}

	.contactFlexItem
	{
		width: 100%;
		margin-left: 0;
		margin-top: 15px;
		background-size: auto 1.8em;
	}

	#header:after
	{
		width: 200px;
	}

	#header:before, #header:after
	{
		height: 5px;
	}

	.form
	{
		background-size: auto 2em;
	}
}

@media all and (max-width: 1220px){
	#content, #footer, #logoutBar
	{
		padding-left: 0!important;
	}

	#sideBar
	{
		width: 100%;
		top: 0;
		height: 90px;
		position: sticky;
		position: -webkit-sticky;
	}

	#logoContainer
	{
		position: absolute;
		height: 100%;
		background-color: transparent;
	}

	#logo
	{
		position: absolute;
		height: 100%;
		width: auto;
		left: 40px;
	}

	#navigation
	{
		display: none;
		position: fixed;
		width: 100%;
		top: 90px;
		left: 0;
		background-color: #fff;
		z-index: 10000;
		max-height: calc(100vh - 90px);
		overflow: auto;
		border-bottom: 1px solid var(--light);
	}

	#navigation ul
	{
		text-align: right;
	}

	#navigation ul li:last-child a
	{
		border-bottom: none;
	}

	#navigation ul li a
	{
		padding: 10px 40px;
	}

	#navOpener
	{
		position: absolute;
		width: 28px;
		height: 20px;
		cursor: pointer;
		right: 40px;
		top: 50%;
		transform: translateY(-50%);
		z-index: 1000;
	}

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

	.text
	{
		margin: 40px 0px;
	}

	.buttonArea
	{
		margin-top: 20px;
	}

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

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

	.grey + .grey
	{
		margin-top: -60px;
		padding-top: 0;
	}

	.grey + .withButton
	{
		padding-bottom: 40px;
		margin-top: -60px;
	}

	.grey + .withButton + .withButton, .grey + .withButton + .withButton + .withButton
	{
		padding-bottom: 40px;
		margin-top: -60px;
	}

	.grey + #footer, .grey + .withButton + #footer
	{
		margin-top: -40px;
	}

	.grey
	{
		padding: 40px 0px;
	}

	.dividerLine
	{
		width: 100px;
		height: 4px;
	}

	.small span
	{
		font-size: 1.1em;
	}

	.big span
	{
		font-size: 2em;
	}

	.big
	{
		margin-top: 10px;
	}

	h1
	{
		font-size: 2.1em;
	}

	h2
	{
		font-size: 1.6em;
	}

	h3, #loginTitle
	{
		font-size: 1.25em;
	}

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

	.serviceBox
	{
		padding-left: 130px;
	}

	.serviceIcon
	{
		width: 90px;
	}

	.withImgLink + .withImgLink, .withService + .withService
	{
		margin-top: -15px;
	}

	#form
	{
		padding-top: 145px;
		margin-top: -160px;
	}

	#opener
	{
		padding: 80px 0px;
	}

	#loginContent
	{
		padding: 122px 0px 40px 0px;
	}

	#content
	{
		margin-bottom: -40px;
	}

	#logoutBar
	{
		position: fixed;
		top: 0;
		width: 100%;
		padding: 6px 0px;
	}

	#logoutBar + #sideBar
	{
		top: 38px;
	}

	#logoutBar + #sideBar #navigation
	{
		max-height: calc(100vh - 128px);
	}

	#logoutBar + #sideBar + #content #opener
	{
		margin-top: 38px;
	}
}

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