:root 
{
	--theme: #0091fe;
	--lighttheme: #00d2f4;
	--light: #f2fcff;
	--dark: #0d171e;
}

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

body 
{
	font-size: 1.3em;
	color: var(--dark);
	font-family: 'Familjen';
	font-weight: 300;
	line-height: 1.65;
	overflow-x: hidden;
}

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

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

h1, h2, h3
{
	line-height: 1.2;
	font-weight: 700;
	font-size: 3.4em;
}

h2, h3
{
	color: var(--theme);
	line-height: 1.2;
}

h2
{
	font-size: 2.4em;
}

h3
{
	font-size: 1.4em;
	font-weight: 500;
}

h4
{
	font-weight: 500;
	display: inline-block;
	line-height: 1.3;
	color: #fff;
	background-color: var(--lighttheme);
	padding: 0.1em 0.45em 0.21em 0.45em;
	border-radius: 0.3em;
	margin-bottom: 0.8em;
}

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

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

#opener h1
{
	text-shadow: 0px 0px 0.5em rgba(0,0,0,0.9);
}

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

#header .wrap
{
	max-width: 1350px;
}

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

#navigation
{
	/*font-size: 0.85em;*/
}

#navigation ul
{
	text-align: right;
}

#navigation ul li
{
	display: inline-block;
	padding: 35px 0px;
	position: relative;
}

#navigation ul li:before
{
	content: "|";
	margin: 0px 40px;
	color: var(--lighttheme);
}

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

#navigation ul li ul
{
	position: absolute;
	display: none;
	font-size: 0.85em;
}

#navigation ul li a
{
	color: var(--lighttheme);
	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;
}

#kontakt
{
	display: inline-block;
	line-height: 1.3;
	text-align: center;
	color: #fff!important;
	border-bottom: none!important;
	font-weight: 300!important;
	background-color: var(--lighttheme);
	padding: 0.5em 1.3em 0.65em;
	border-radius: 100px;
	transition: all 0.2s;
}

#kontakt:hover
{
	background-color: var(--theme);
}

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

#opener
{
	height: 78vh;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 0px 0px 1000px 0px;
	border-bottom: 16px solid #fff;
	border-right: 16px solid #fff;
	position: relative;
}

#opener:before
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 10;
	background-color: var(--theme);
	opacity: 0.4;
	border-radius: 0px 0px 1000px 0px;
}

#opener:after
{
	content: "";
	position: absolute;
	width: calc(100% + 8px);
	height: calc(100% + 8px);
	left: 0px;
	top: 0px;
	border-bottom: 8px solid var(--theme);
	border-right: 8px solid var(--theme);
	z-index: 50;
	border-radius: 0px 0px 1000px 0px;
}

#openerContent
{
	position: absolute;
	width: 100%;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 500;
	color: #fff;
}

.text
{
	margin: 100px 0px;
}

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

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

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

.benefit
{
	width: calc(50% - 40px);
	margin-left: 40px;
	margin-bottom: 40px;
	display: flex;
	align-items: center;
	line-height: 1.5;
}

.benefitInner
{
	width: calc(100% - 50px);
	padding-left: 25px;
}

.tick
{
	width: 50px;
	height: 50px;
	background-color: var(--lighttheme);
	background-image: url(tick.svg);
	background-size: 45%;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 1000px;
}

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

.colored + .withImg
{
	position: relative;
	margin-top: -100px;
}

.colored + .withImg:before
{
	content: "";
	position: absolute;
	width: 100%;
	height: 50%;
	background-color: var(--light);
	left: 0;
	top: 0;
	z-index: -1;
}

.text.withButton p a, .text .buttonArea p a, .buttonArea p a, #accepted
{
	display: inline-block;
	line-height: 1.3;
	text-align: center;
	color: #fff!important;
	border-bottom: none!important;
	font-weight: 300!important;
	background-color: var(--lighttheme);
	padding: 0.5em 1.3em 0.65em;
	border-radius: 100px;
	transition: all 0.2s;
	text-decoration: none;
}

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

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

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

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

.buttonArea
{
	margin-top: 30px;
}

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

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

.leistung
{
	padding: 30px 40px;
	background-color: #fff;
	border-radius: 40px;
	box-shadow: 0px 0px 60px rgba(0,0,0,0.07);
}

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

.sticky
{
	position: sticky;
	position: -webkit-sticky;
	width: 100%;
	left: 0;
	top: 210px;
}

.more
{
	position: relative;
	color: var(--theme);
	text-decoration: none;
	transition: all 0.2s;
	padding-left: 2.2em;
	margin-top: 1em;
	display: inline-block;
}

.more:before
{
	content: "";
	position: absolute;
	width: 1.5em;
	height: 1.5em;
	left: 0;
	top: 55%;
	transform: translateY(-50%);
	border-radius: 100px;
	background-color: var(--theme);
	background-image: url(right.svg);
	background-size: 45%;
	background-position: center;
	background-repeat: no-repeat;
	transition: all 0.2s;
}

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

.more:hover:before
{
	background-color: var(--lighttheme);
}

.contentBox
{
	padding: 50px 60px;
	border-radius: 40px;
	box-shadow: 0px 0px 60px rgba(0,0,0,0.07);
	background-color: #fff;
}

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

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

#footer .text .wrap
{
	padding: 0!important;
}

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

.colored
{
	position: relative;
}

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

.withBox + #footer:before, .withBox + .colored:before
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100px;
	background-color: var(--dark);
	left: 0;
	bottom: 100%;
	z-index: -1;
}

.withBox + .colored:before
{
	background-color: var(--light);
}

.contentBox
{
	position: relative;
	z-index: 100;
}

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

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

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

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

#footerFlex
{
	display: flex;
	align-items: center;
}

.footerFlexItem
{
	width: 50%;
}

#footerFlex .footerFlexItem:nth-child(1)
{
	text-align: right;
	padding-right: 40px;
}

#footerFlex .footerFlexItem:nth-child(2)
{
	padding-left: 40px;
	border-left: 1px solid #fff;
}

#copy
{
	padding: 25px 0px 28px;
	background-color: var(--lighttheme);
	font-size: 0.85em;
	color: #fff;
}

#copy span
{
	position: absolute;
	font-weight: 500;
}

#footerList
{
	text-align: right;
}

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

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

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

#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.5em;
	cursor: pointer;
	display: block;
	margin-top: 0.2em;
}

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

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

strong
{
	font-weight: 700;
}

p + h3
{
	margin-top: 50px;
	padding-top: 50px;
	border-top: 3px solid var(--lighttheme);
}

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

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

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

form label
{
	font-family: 'Familjen';
	color: var(--dark);
	font-weight: 700;
	display: block;
	margin-bottom: 0.2em;
}

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: 'Familjen';
   	line-height: 1.6;
   	color: var(--dark);
   	font-weight: 300;
   	background-color: transparent;
   	border-radius: 40px;
}

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

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

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

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

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.";
	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.4em;
	margin-left: 40px;
}

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

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

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

button
{
	display: inline-block;
	line-height: 1.3;
	text-align: center;
	color: #fff!important;
	border-bottom: none!important;
	font-weight: 300!important;
	background-color: var(--lighttheme);
	padding: 0.5em 1.3em 0.65em;
	border-radius: 100px;
	transition: all 0.2s;
	text-decoration: none;
	width: auto;
	cursor: pointer;
	margin-left: 40px;
	margin-top: 1em;
}

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

.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.67em;
	background-color: var(--lighttheme);
	border-radius: 100px;
}

.colored .wrap
{
	z-index: 200;
}

.socialLink
{
	display: block;
	width: 40px;
	height: 40px;
	background-color: transparent;
	border-radius: 100px;
	border: 2px solid #fff!important;
	transition: all 0.2s;
	background-size: 45%;
	background-position: center;
	background-repeat: no-repeat;
	margin-left: 20px;
}

.socialLink:hover
{
	background-color: var(--lighttheme);
	border: 2px solid var(--lighttheme)!important;
}

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

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

#socialMedia
{
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
	margin-top: 50px;
}

#contact
{
	font-size: 0.85em;
	text-align: right;
	background-color: var(--theme);
	padding: 3px 0px 6px;
	color: #fff;
}

.contactLink 
{
	color: #fff;
	text-decoration: none;
	transition: all 0.2s;
	margin-left: 1em;
	background-size: 0.9em;
	background-position: left 0.3em;
	background-repeat: no-repeat;
	padding-left: 1.5em;
}

.contactLink:hover
{
	opacity: 0.7;
}

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

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

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

@media all and (max-width: 600px){
	#footerFlex
	{
		display: block;
	}

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

	#footerLogo
	{
		margin-bottom: 20px;
	}
}

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

	h1 br
	{
		display: none;
	}

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

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

	#opener
	{
		height: 50vh!important;
		border-radius: 0px 0px 200px 0px;
	}

	#opener:before
	{
		border-radius: 0px 0px 182px 0px;
	}

	#opener:after
	{
		border-radius: 0px 0px 193px 0px;
	}

	.inline, .contentBox, #cookieBox, .leistung, input, textarea
	{
		border-radius: 25px!important;
	}

	#footerLogo
	{
		width: 170px!important;
	}

	.benefit
	{
		width: calc(100% - 40px);
		margin-bottom: 25px;
	}

	.benefits
	{
		margin-bottom: -25px;
	}

	#copy
	{
		text-align: center;
	}

	#copy span
	{
		position: relative;
		display: block;
		margin-bottom: 3px;
	}

	#footerList
	{
		text-align: center;
	}

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

	.twoCols
	{
		display: block;
	}

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

	.sticky
	{
		margin-bottom: 40px;
	}

	#socialMedia
	{
		margin-top: 35px!important;
	}

	#contact span
	{
		display: none;
	}

	#contact
	{
		font-size: 0.8em;
		white-space: nowrap;
	}
}

@media all and (max-width: 1150px){
	#header #contact .wrap
	{
		height: auto;
	}

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

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

	#navigation ul li ul
	{
		display: block;
		position: relative;
		padding: 0;
		font-size: 0.85em;
		padding: 2px 0px 2px;
	}

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

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

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

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

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

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

	#kontakt
	{
		margin-top: 10px;
	}

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

	#navigation ul li:before
	{
		display: none;
	}

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

	.line
	{
		position: absolute;
		width: 100%;
		height: 2.5px;
		background-color: var(--theme);
		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: 85px;
	}

	#logo
	{
		padding: 15px 0px;
	}

	#opener
	{
		height: 65vh;
		min-height: 350px;
	}

	h1
	{
		font-size: 2.6em;
	}

	h2
	{
		font-size: 1.8em;
	}

	h3
	{
		font-size: 1.25em;
	}

	h2, h3
	{
		line-height: 1.3;
	}

	h4
	{
		font-size: 0.85em;
	}	

	.text
	{
		margin: 50px 0px;
	}

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

	.buttonArea
	{
		margin-top: 25px;
	}

	#opener:after
	{
		width: calc(100% + 6px);
		height: calc(100% + 6px);
		border-bottom: 6px solid var(--theme);
		border-right: 6px solid var(--theme);
	}

	.colored
	{
		padding: 50px 0px;
	}

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

	.colored + .withImg
	{
		margin-top: -50px;
	}

	.benefitInner
	{
		width: calc(100% - 40px);
		padding-left: 20px;
	}

	.tick
	{
		width: 40px;
		height: 40px;
	}

	#footer
	{
		padding: 50px 0px;
	}

	.withBox + #footer, .withBox + .colored
	{
		margin-top: -50px;
	}

	.withBox + #footer:before, .withBox + .colored:before
	{
		height: 50px;
	}

	.contentBox
	{
		padding: 30px 40px;
	}

	#copy
	{
		padding: 20px 0px 22px;
	}

	#footerLogo
	{
		width: 200px;
	}

	p + h3
	{
		margin-top: 30px;
		padding-top: 30px;
	}

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

	#form
	{
		padding-top: 120px;
		margin-top: -195px;
	}

	#socialMedia
	{
		margin-top: 40px;
	}
}

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

	#navigation ul li ul
	{
		position: absolute;
		background-color: #fff;
		display: none;
		text-align: left;
		padding: 15px 25px;
		border-radius: 25px;
		left: 65px;
		top: 85%;
		box-shadow: 0px 0px 40px rgba(0,0,0,0.08);
	}

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

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

	#navigation ul li ul li:before
	{
		display: none;
	}

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

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

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

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