:root 
{
	--maincolor: #0098c1;
	--secondcolor: #006897;
    --secondcolor_hover: #02547a;
	--grey: #e4e8eb;
	--dark: #54595b;
}

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

body 
{
	font-size: 1.15em;
	color: var(--dark);
	font-family: 'Nova Flat';
	font-weight: 400;
	line-height: 1.7;
	overflow-x: hidden;
}

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

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

h1, h2, h3
{
	font-weight: 500;
	line-height: 1.4;
	text-transform: uppercase;
	font-size: 2.8em;
}

#intro h1
{
	line-height: 1.3;
}

h1
{
	font-weight: 700;
	line-height: 1.5;
}

h2
{
	font-size: 2.4em;
}

h2 strong
{
	color: var(--maincolor);
}

h3
{
	font-size: 1.6em;
}

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

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

.hervorhebung{
	font-weight: 600;
	color: var(--maincolor);
}

.bildtrenner{
	width: 100%;
    height: 250px;
}

#opener h1
{
	display: inline;
	color: var(--maincolor);
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	-moz-box-decoration-break: clone;
}

#opener h3
{
	margin-bottom: 0.5em;
}

#intro h3
{
	margin-bottom: 0.4em;
}

.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;
	z-index: 1000;
	background-color: #fff;
	box-shadow: 0px 0px 60px rgba(0,0,0,0);
	transition: all 0.2s;
	border-bottom: 6px solid var(--maincolor);
}

header.scrolled
{
	box-shadow: 0px 0px 60px rgba(0,0,0,0.08);
}

#navigation ul
{
	text-align: right;
}

#navigation ul li
{
	display: inline-block;
	margin-left: 40px;
	padding: 55px 0px;
	text-transform: uppercase;
	transition: all 0.2s;
}

header.scrolled #navigation ul li
{
	padding: 35px 0px;
}

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

#navigation ul li a:after
{
	content: "";
	position: absolute;
	width: 0%;
	height: 2px;
	background-color: var(--maincolor);
	left: 0;
	top: 110%;
	opacity: 0;
	transition: all 0.2s;
}

#navigation ul li a:hover:after, #navigation ul li.active a:after
{
	opacity: 1;
	width: 100%;
}

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

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

#logo
{
	position: absolute;
	height: 100%;
	padding: 25px 0px;
	transition: all 0.2s;
}

header.scrolled #logo
{
	padding: 15px 0px;
}

#opener
{
	padding: 150px 0px;
	background-size: cover;
	background-position: right center;
	position: relative;
}

#opener .wrap{
	max-width: 800px;
    margin: 0px;
    padding-left: 140px;
}

.text
{
	margin: 100px 0px;
}

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

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

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

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

.buttonArea
{
	margin-top: 30px;
}

.text
{
	margin: 100px 0px;
}

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

strong
{
	font-weight: 700;
}

.divider
{
	width: 300px;
	height: 6px;
	background-color: var(--secondcolor);
	position: relative;
}

.divider:before
{
	content: "";
	position: absolute;
	width: 100vw;
	height: 100%;
	right: 100%;
	top: 0;
	background-color: var(--secondcolor_hover);
}

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

.imgFlex
{
	display: flex;
}

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

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

.imgFlex .imgFlexItemKontakt
{
	width: 50%;
}

.textBox
{
	padding-left: 60px;
}

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

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

.flexItem
{
	width: calc(33% - 40px);
	margin-left: 40px;
	margin-bottom: 40px;
	background-color: rgba(255,255,255,0.5);
	text-align: center;
	padding: 40px;
}

.flexItemContent
{
	line-height: 1.4;
	font-size: 1.2em;
}

.flexIcon
{
	width: 80px;
	height: 80px;
	display: block;
	background-color: var(--maincolor);
	border-radius: 1000px;
	display: block;
	margin: auto;
	margin-bottom: 25px;
	margin-top: -80px;
	background-size: 40%;
	background-position: center;
	background-repeat: no-repeat;
}

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

footer
{
	background-color: #fff;
	color: var(--maincolor);
	padding: 100px 0px;
	font-size: 0.85em;
	border-top: 6px solid var(--secondcolor);
}

#footerLogo
{
	max-width: 260px;
	display: block;
	margin: auto;
	margin-bottom: 50px;
}

#footerFlex
{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#footerFlex .footerFlexItem:nth-child(1)
{
	text-align: left;
}

#footerFlex .footerFlexItem:nth-child(2)
{
	text-align: center;
}

#footerFlex .footerFlexItem:nth-child(3)
{
	text-align: right;
}

.footerFlexItem
{
	width: 33.3%;
}

footer a
{
	color: var(--maincolor);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: all 0.2s;
}

footer a:hover
{
	border-bottom: 1px solid var(--secondcolor_hover);
}

#copy
{
	background-color: var(--secondcolor);
	color: #fff;
	text-align: center;
	padding: 20px 0px;
	font-size: 0.85em;
	text-transform: uppercase;
}

#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(9px);
	backdrop-filter: blur(9px);
}

#cookieBox
{
	padding: 32px 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: 49.5%;
	transform: translateY(-50%);
}

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

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

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

#intro
{
	padding: 60px 0px;
	background-color: var(--maincolor);
}

#intro h1, #intro h3
{
	color: #fff;
}

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

.text ul li:before
{
	content: "";
	position: absolute;
	width: 0.45em;
	height: 0.45em;
	left: 0;
	top: 0.63em;
	border-radius: 100px;
	background-color: var(--maincolor);
}

.accordeonFlex
{
	display: flex;
}

.accordeonFlex .accordeonFlexItem:nth-child(1)
{
	width: 30%;
	text-align: right;
}

.accordeonFlex .accordeonFlexItem:nth-child(2)
{
	width: 70%;
	padding-left: 60px;
}

.accordeonImg
{
	width: 100%;
	max-width: 130px;
	margin-bottom: 20px;
}

.sticky
{
	position: sticky;
	position: -webkit-sticky;
	left: 0;
	top: 150px;
}

.accordeonContent
{
	display: none;
	padding-left: 1.4em;
	margin-top: 0.2em;
}

.accordeonOpener
{
	font-weight: 500;
	cursor: pointer;
	text-transform: uppercase;
	position: relative;
	padding-left: 1.4em;
	transition: all 0.2s;
	line-height: 1.45;
}

.accordeonOpener:hover
{
	color: var(--maincolor);
}

.accordeonOpener:before
{
	content: "";
	position: absolute;
	width: 0.3em;
	height: 0.3em;
	left: 0;
	top: 0.44em;
	border-left: 2px solid var(--maincolor);
	border-bottom: 2px solid var(--maincolor);
	transform: rotate(-45deg);
}

.accordeonOpener.active:before
{
	top: 0.62em;
  	transform: rotate(135deg);
}

.accordeon
{
	padding: 0.7em 0em 0.75em;
	border-bottom: 1px solid var(--grey);
	border-top: 1px solid var(--grey);
}

.accordeon + .accordeon
{
	margin-top: -1px;
}

body .withAccordeons:nth-child(2n)
{
	padding: 100px 0px;
	background-color: var(--grey);
}

body .withAccordeons:nth-child(2n) .accordeon
{
	border-color: #cbcfd1;
}

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

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

form label
{
	font-family: 'Nova Flat';
	color: var(--dark);
	font-weight: 700;
	display: block;
	margin-bottom: 0em;
	text-transform: uppercase;
}

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: 'Nova Flat';
   	line-height: 1.6;
   	color: var(--dark);
   	font-weight: 400;
   	background-color: transparent;
}

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

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

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

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

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: red;
	text-transform: uppercase;
	display: block;
}

.alert.alert-danger
{
	margin-bottom: 40px;
	padding-left: 0;
}

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

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

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

.checkbox label
{
	font-family: 'Nova Flat';
	color: var(--dark);
	font-weight: 400;
	cursor: pointer;
	text-transform: none;
	line-height: 1.6;
	text-transform: none;
}

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

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

.formHeadline h3
{
	color: var(--green);
	font-weight: 700;
	margin-bottom: 0.3em;
}

button, .formNext
{
	display: inline-block;
	line-height: 1.5;
	font-weight: 500;
	text-align: center;
	color: #fff!important;
	border-bottom: none!important;
	text-decoration: none;
	background-color: var(--secondcolor);
	text-transform: uppercase;
	padding: 0.6em 1.3em 0.65em;
	transition: all 0.2s;
	width: auto;
	cursor: pointer;
	margin-left: 40px;
	margin-top: 1.3em;
}

button:hover, .formNext:hover
{
	background-color: var(--secondcolor_hover);
}

.formPart
{
	width: 100%;
	padding: 50px 60px 60px;
	box-shadow: 0px 0px 40px rgba(0,0,0,0.08);
}

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

.formPart + .formPart
{
	margin-top: 40px;
}

.formNext
{
	margin-top: 0;
	margin-left: 0;
}

.formNextContainer
{
	text-align: right;
	width: 100%;
	padding-top: 0.5em;
}

.formPart
{
	display: none;
}

.formPart.first
{
	display: block;
}

#headerHeight
{
	position: absolute;
	height: 140px;
}

#form.has-error .formPart
{
	display: block;
}

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

@media all and (max-width: 750px){
	h1
	{
		font-size: 1.5em!important;
	}

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

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

	.divider
	{
		width: 150px!important;
		height: 4px!important;
	}

	.imgFlex
	{
		display: block;
	}

	.imgFlexItem
	{
		width: 100%!important;
	}

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

	.imgFlex .inline
	{
		display: block;
	}

	.imgFlex .fancybox
	{
		background-image: none!important;
	}

	.flexItem
	{
		width: calc(100% - 40px)!important;
	}

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

	#opener .wrap{
		padding-left: 40px;
	}

	.flexItemContent
	{
		font-size: 1.1em!important;
	}

	.accordeonFlex
	{
		display: block;
	}

	.accordeonImg
	{
		max-width: 90px!important;
	}

	.accordeonFlexItem
	{
		width: 100%!important;
		padding-left: 0!important;
		text-align: left!important;
	}

	.accordeonFlex .accordeonFlexItem:nth-child(2)
	{
		padding-top: 20px;
	}

	form div
	{
		width: 100%;
	}

	textarea
	{
		height: 10em;
	}
}

@media all and (max-width: 850px){
	#footerLogo
	{
		max-width: 180px!important;
	}

	#footerFlex
	{
		display: block;
	}

	.footerFlexItem
	{
		width: 100%;
		text-align: center!important;
		margin-top: 20px;
	}
}

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

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

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

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

	.line
	{
		position: absolute;
		width: 100%;
		height: 2.5px;
		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, #headerHeight
	{
		height: 90px;
	}

	#logo, header.scrolled #logo
	{
		padding: 15px 0px;
	}

	.text
	{
		margin: 60px 0px;
	}

	.colored
	{
		padding: 60px 0px;
	}

	.buttonArea
	{
		margin-top: 30px;
	}

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

	h1
	{
		font-size: 2.2em;
	}

	h2
	{
		font-size: 1.8em;
	}

	h3
	{
		font-size: 1.4em;
	}

	.divider
	{
		width: 250px;
		height: 5px;
	}

	.textBox
	{
		padding-left: 40px;
	}

	.flexItemContent
	{
		font-size: 1.15em;
		hyphens: auto;
		-webkit-hyphens: auto;
	}

	.flexIcon
	{
		width: 60px;
		height: 60px;
		margin-bottom: 20px;
		margin-top: -70px;
	}

	footer
	{
		padding: 60px 0px;
	}

	#footerLogo
	{
		max-width: 200px;
		margin-bottom: 30px;
	}

	#copy
	{
		padding: 15px 0px;
	}

	#opener
	{
		padding: 120px 0px;
	}

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

	#intro
	{
		padding: 30px 0px;
	}

	.accordeonImg
	{
		max-width: 100px;
		margin-bottom: 15px;
	}

	.accordeonFlex .accordeonFlexItem:nth-child(2)
	{
		padding-left: 40px;
	}

	body .withAccordeons:nth-child(2n)
	{
		padding: 60px 0px;
	}

	.formPart
	{
		padding: 30px 40px 40px;
	}

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

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