:root 
{
	--blue: #5ab2ff;
	--darkblue: #002c44;
	--lightblue: #d9efff;
	--red: #ff3300;
	--dark: #000000;
}

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

body 
{
	font-size: 1.15em;
	color: var(--darkblue);
	font-family: 'Inter';
	font-weight: 400;
	line-height: 1.6;
	overflow-x: hidden;
}

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

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

h1, h2, h3, h4
{
	font-weight: 700;
	line-height: 1.4;
	font-size: 2.8em;
}

strong
{
	font-weight: 700;
}

h2, h3, h4
{
	font-size: 2.4em;
	line-height: 1.3;
}

h3
{
	font-size: 1.8em;
}

h4
{
	font-size: 1.4em;
}

h1
{
	text-transform: uppercase;
}

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

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

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

#opener h1
{
	color: #fff;
	background-color: var(--darkblue);
	display: inline;
	padding: 0em 0.2em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	-moz-box-decoration-break: clone;
}

.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;
	background-color: #fff;
	z-index: 1000;
	box-shadow: 0px 0px 40px rgba(0,0,0,0);
	transition: all 0.2s;
}

#header.scrolled
{
	box-shadow: 0px 0px 40px rgba(0,0,0,0.06);
}

#navigation ul
{
	text-align: right;
}

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

#navigation ul li a
{
	color: var(--darkblue);
	text-decoration: none;
	display: inline-block;
	line-height: 1.3;
	padding: 10px 16px;
	transition: all 0.2s;
	background-color: var(--lightblue);
}

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

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

#navigation ul li ul
{
	position: absolute;
	display: block;
	left: 0;
	top: calc(100% - 46px);
	text-align: left;
	padding: 0px 16px 8px 16px;
	background-color: var(--red);
	font-size: 0.85em;
	min-width: 100%;
	display: none;
}

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

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

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

#navigation ul li ul li a:hover
{
	opacity: 1;
}

#navigation ul li ul li.active a
{
	opacity: 1;
	font-weight: 700;
}

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

#opener
{	
	height: 85vh;
	width: 100%;
	background-size: cover;
	background-position: center;
	position: relative;
}

#opener.subpage
{
	height: 75vh;
}

#openerContent
{
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 0;
	padding-bottom: 150px;
	z-index: 100;
}

#openerBox
{
	padding: 50px 60px;
	position: relative;
	max-width: 700px;
	background-color: #fff;
	margin-top: -100px;
	font-size: 1.3em;
	background-color: var(--lightblue);
}

.text
{
	margin: 100px 0px;
}

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

.galleryItem
{
	width: calc(33.3% - 20px);
	margin-left: 20px;
	margin-bottom: 20px;
}

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

.bgCol:before
{
	content: "";
	position: absolute;
	width: 100vw;
	height: 50%;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: -1;
	background-color: var(--lightblue);
}

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

.withBgCol + .colored
{
	margin-top: -130px;
}

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

.leistung
{
	width: calc(50% - 40px);
	margin-left: 40px;
	margin-bottom: 40px;
	padding: 50px 60px;
	border: 1px solid var(--lightblue);
	text-decoration: none;
	color: var(--darkblue);
	transition: all 0.2s;
	position: relative;
	background-color: #fff;
}

.leistungIcon
{
	position: absolute;
	width: 100px;
	height: 100%;
	left: 0;
	top: 0;
	background-color: var(--blue);
	background-size: 50% auto;
	background-position: center;
	background-repeat: no-repeat;
}

.leistung:hover
{
	background-color: #fff;
	transform: scale(1.03);
}

.leistung h4
{
	color: var(--blue);
}

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

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

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

#footerFlex
{
	display: flex;
	margin-left: -40px;
	justify-content: space-between;
}

.footerFlexItem
{
	margin-left: 40px;
}

#footerLogo
{
	width: 260px;
	margin-bottom: -10px;
}

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

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

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

.text.withButton p a, .text .buttonArea p a, .buttonArea p a, #accepted
{
	display: inline-block;
	line-height: 1.3;
	color: #fff!important;
	text-decoration: none;
	border-bottom: none!important;
	text-align: center;
	text-transform: uppercase;
	background-color: var(--red);
	transition: all 0.2s;
	padding: 0.55em 0.9em;
}

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

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

.buttonArea
{
	margin-top: 30px;
}

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

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

#cookieBox
{
	padding: 34px 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.6em;
	cursor: pointer;
	display: block;
	margin-top: 0.2em;
}

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

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

#copy
{
	font-size: 0.85em;
	text-align: center;
	color: #fff;
	background-color: var(--darkblue);
	border-top: 1px solid #fff;
	padding: 16px 0px;
}

.imgFlex
{
	display: flex;
}

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

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

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

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

.textBox:before
{
	content: "";
	position: absolute;
	width: 120%;
	height: 100%;
	right: 0;
	top: 0;
	z-index: -1;
	border: 1px solid var(--lightblue);
}

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

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

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

.divider:before
{
	content: "";
	position: absolute;
	width: 100%;
	height: 2.5px;
	background-color: var(--blue);
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: -1;
}

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

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

.colored + #footer
{
	margin-top: -100px;
}

#form
{
	padding-top: 200px;
	margin-top: -350px;
}

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

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

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

input[type = "text"], input[type = "email"], textarea, button, select
{
	-webkit-appearance: none;
   	-moz-appearance: none;
   	appearance: none;
   	border-radius: 0px;
   	font-size: 1em;
   	width: 100%;
   	border: none;
   	font-family: 'Inter', sans-serif;
   	line-height: 1.6;
   	color: var(--darkblue);
   	font-weight: 300;
   	background-color: transparent;
}

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

input[type = "text"], input[type = "email"], textarea, select
{
	border: 1px solid transparent;
	padding: 0.5em 1.2em;
	background-color: #fff;
}

select
{
	cursor: pointer;
	background-image: url(down.svg);
	background-size: auto 25%;
	background-repeat: no-repeat;
	background-position: right 1.2em center;
}

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

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

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

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

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

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

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

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

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

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

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

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

button
{
	display: inline-block;
	line-height: 1.3;
	color: #fff!important;
	text-decoration: none;
	border-bottom: none!important;
	text-align: center;
	text-transform: uppercase;
	background-color: var(--red);
	transition: all 0.2s;
	padding: 0.55em 0.9em;
	width: auto;
	cursor: pointer;
	margin-left: 40px;
	margin-top: 1.1em;
	font-weight: 400;
}

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

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

.ansprechpartner
{
	display: flex;
	align-items: center;
	max-width: 800px;
	margin: auto;
	flex-direction: row-reverse;
}

.ansprechpartner .ansprechpartnerItem:nth-child(2)
{	
	width: 250px;
	text-align: center;
}

.ansprechpartner .ansprechpartnerItem:nth-child(1)
{	
	width: calc(100% - 250px);
	padding-left: 60px;
	padding-bottom: 75px;
}

.ansprechpartnerImg
{
	width: 100%;
	border-radius: 1000px;
	margin-bottom: 15px;
}

.colored + .colored.withLeistungen
{
	margin-top: -145px;
}

#map
{
	position: relative;
	width: 100%;
	padding-bottom: 40%;
}

#drdsgvo_map_1
{
	position: absolute;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
}


#map canvas
{
	filter: grayscale(0.6);
}

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

@media all and (max-width: 920px){
	#footerFlex
	{
		flex-wrap: wrap;
		width: calc(100% + 40px);
		margin-bottom: -40px;
	}

	.footerFlexItem
	{
		width: calc(50% - 40px);
		margin-bottom: 40px;
	}
}

@media all and (max-width: 700px){
	#opener
	{
		height: 60vh!important;
	}

	#opener.subpage
	{
		height: 40vh!important;
	}

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

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

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

	h4
	{
		font-size: 1.1em!important;
	}

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

	#footerFlex
	{
		margin-bottom: -25px!important;
	}

	.footerFlexItem
	{
		width: calc(100% - 40px)!important;
		text-align: center;
		margin-bottom: 25px!important;
	}

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

	.leistungIcon
	{
		width: 65px!important;
	}

	#footerLogo
	{
		margin-bottom: 0px;
	}

	.gallery
	{
		margin-left: -10px;
		margin-bottom: -10px;
		width: calc(100% + 10px);
	}

	.galleryItem
	{
		width: calc(33.3% - 10px);
		margin-left: 10px;
		margin-bottom: 10px;
	}

	.imgFlex
	{
		display: block;
	}

	.imgFlexItem
	{
		width: 100%!important;
	}

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

	.textBox:before
	{
		width: calc(100% - 2px);
		border-top: none;
	}

	form div
	{
		width: 100%;
	}

	textarea
	{
		height: 10em;
	}

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

	.ansprechpartner
	{
		display: block;
	}

	.ansprechpartnerItem
	{
		width: 100%!important;
	}

	.ansprechpartner .ansprechpartnerItem:nth-child(1)
	{	
		padding-left: 0px!important;
		padding-bottom: 0px!important;
	}

	.ansprechpartnerImg
	{
		width: 180px;
		display: block;
		margin-left: auto;
		margin-right: auto;
		margin-top: 40px;
	}

	#map
	{
		padding-bottom: 65%!important;
	}
}

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

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

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

	#navigation ul li a
	{
		display: block;
		text-align: center;
		padding: 13px 15px;
	}

	#navigation ul li ul
	{
		position: relative;
		display: block;
		width: auto;
		top: 0;
		left: 0;
		text-align: center;
		background-color: #fff;
		padding: 6px 0px;
	}

	#navigation ul li ul li
	{
		margin: 10px 0px;
	}

	#navigation ul li ul li a
	{
		color: var(--blue)!important;
		background-color: #fff!important;
	}

	#header .wrap
	{
		height: 90px;
	}

	#logo
	{
		padding: 13px 0px;
	}

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

	h1
	{
		font-size: 2em;
	}

	h2
	{
		font-size: 1.8em;
	}

	h3
	{
		font-size: 1.6em;
	}

	h4
	{
		font-size: 1.25em;
	}

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

	#openerContent
	{
		padding-bottom: 100px;
	}

	#openerBox
	{
		padding: 30px 40px;
		margin-top: -60px;
	}

	.text
	{
		margin: 60px 0px;
	}

	.colored
	{
		padding: 60px 0px;
	}

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

	.leistung
	{
		padding: 30px 40px;
	}

	.leistungIcon
	{
		width: 80px;
	}

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

	.buttonArea
	{
		margin-top: 30px;
	}

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

	#footer
	{
		padding: 60px 0px;
	}

	#footerLogo
	{
		width: 180px;
	}

	#opener
	{
		height: 75vh;
		min-height: 380px;
	}

	#opener.subpage
	{
		height: 60vh;
		min-height: 320px!important;
	}

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

	.divider
	{
		height: 70px;
		margin-bottom: -20px;
	}

	.divider:before
	{
		height: 2px;
		top: 50%;
	}

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

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

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

	.ansprechpartner .ansprechpartnerItem:nth-child(2)
	{	
		width: 200px;
	}

	.ansprechpartner .ansprechpartnerItem:nth-child(1)
	{	
		width: calc(100% - 200px);
		padding-left: 40px;
		padding-bottom: 65px;
	}

	.ansprechpartnerImg
	{
		margin-bottom: 12px;
	}

	.colored + .colored.withLeistungen
	{
		margin-top: -80px;
	}

	#map
	{
		padding-bottom: 45%;
	}
}

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