:root 
{
	--blue: #63b7a9;
	--green: #adb572;
	--red: #bf3d73;
	--orange: #d37535;
	--yellow: #e2b759;
	--light: #dff5f0;
	--dark: #514037;
}

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

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

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

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

h1, h2 ,h3
{
	font-family: 'Playpen Sans';
	font-size: 2.25em;
	line-height: 1.3;
	font-weight: 500;
}

h2
{
	font-size: 1.85em;
}

h3
{
	font-size: 1.6em;
}

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

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

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

#header .wrap, #opener .wrap
{
	max-width: 1250px;
}

.openerFlexInner
{
	max-width: calc(1250px / 2);
	padding-right: 40px;
}

#header
{
	position: sticky;
	position: -webkit-sticky;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 1000;
	background-color: var(--light);
}

#navigation ul
{
	text-align: right;
}

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

#header.scrolled #navigation ul li
{
	padding: 40px 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%;
	opacity: 0;
	height: 2px;
	background-color: var(--blue);
	left: 0;
	top: 110%;
	transition: all 0.2s; 
}

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

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

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

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

#opener
{
	position: relative;
}

#opener .inline
{
	width: calc(100% + 40px);
	margin-left: -40px;
}

#opener:before
{
	content: "";
	position: absolute;
	width: 100%;
	height: calc(100% - 50px);
	left: 0;
	top: 0;
	z-index: -10;
	background-color: var(--light);
}

.inline
{
	width: 100%;
	margin-bottom: -10px!important;
	border-radius: 0px 0px 0.4em 0px;
}

#openerFlex
{
	display: flex;
	align-items: center;
	margin-left: -40px;
}

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

.text
{
	margin: 100px 0px;
}

.gallery
{
	display: flex;
	flex-wrap: wrap;
	width: calc(100% + 10px);
	margin-left: -10px;
	margin-bottom: -10px;
	padding: 10px 10px 0px 10px;
	background-color: var(--light);
}

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

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

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

.benefit
{
	width: calc(50% - 40px);
	margin-left: 40px;
	margin-bottom: 80px;
	position: relative;
	padding-left: 60px;
	line-height: 1.55;
	display: flex;
	align-items: center;
	font-weight: 500;
}

.benefit:before
{
	content: "";
	position: absolute;
	width: 100px;
	height: 100px;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	background-image: url(icon.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	z-index: -10;
	opacity: 0.8;
}

.benefit.vorteil:before
{
	background-image: url(tick.svg);
}

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

.imgFlex
{
	display: flex;
}

.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: -10;
	box-shadow: 0px 0px 80px rgba(0,0,0,0.08);
}

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

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

.dividerImg
{
	padding-bottom: 35%;
	background-size: cover;
	background-position: center;
}

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

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

.contactFlexItem
{
	text-align: center;
	color: var(--dark);
	text-decoration: none;
	font-weight: 500;
	width: calc(33.3% - 40px);
	margin-left: 40px;
	margin-bottom: 40px;
}

.contactFlexIcon
{
	height: 80px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	margin-bottom: 20px;
}

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

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

#form #formular
{
	background-image: none;
}

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

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

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

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

#copy
{
	position: absolute;
	font-weight: 700;
}

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

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

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

.text.withButton p a, .text .buttonArea p a, .buttonArea p a, #accepted
{
	display: inline-block;
	line-height: 1.4;
	text-align: center;
	font-weight: 400;
	color: #fff!important;
	border-bottom: none!important;
	background-color: var(--yellow);
	border-radius: 0px 0px 0.4em 0px;
	padding: 0.55em 1em;
	transition: all 0.2s;
}

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

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

.buttonArea
{
	margin-top: 30px;
}

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

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

#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.1em;
}

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

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

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

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

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

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

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

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

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

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

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

.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: 'Epunda Sans';
	color: var(--dark);
	font-weight: 300;
	cursor: pointer;
	text-transform: none;
	line-height: 1.6;
}

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

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

button
{
	display: inline-block;
	line-height: 1.4;
	text-align: center;
	font-weight: 400;
	color: #fff!important;
	border-bottom: none!important;
	background-color: var(--yellow);
	border-radius: 0px 0px 0.4em 0px;
	padding: 0.55em 1em;
	transition: all 0.2s;
	margin-left: 40px;
	margin-top: 1.15em;
	width: auto;
	cursor: pointer;
}

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

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

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

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

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

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

@media all and (max-width: 500px){
	.galleryItem
	{
		width: calc(100% - 10px);
	}
}

@media all and (max-width: 750px){
	.imgFlex
	{
		display: block;
	}

	.imgFlexItem
	{
		width: 100%!important;
	}

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

	.imgFlex .inline
	{
		border-radius: 0!important;
	}

	.textBox:before
	{
		width: 100%;
	}

	.dividerImg
	{
		padding-bottom: 55%;
	}

	#copy
	{
		position: relative;
		display: block;
		text-align: center;
		margin-bottom: 5px;
	}

	#footerList
	{
		text-align: center;
	}

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

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

	.contactFlexItem
	{
		display: block;
		width: 100%!important;
		text-align: center;
		margin-left: 0;
	}

	.benefit
	{
		width: 100%!important;
	}

	#openerFlex
	{
		display: block;
		margin-left: 0;
		width: 100%;
	}

	.openerFlexItem
	{
		width: 100%!important;
		margin-left: 0;
	}

	#openerFlex .openerFlexItem:nth-child(2)
	{
		padding: 30px 40px;
	}

	#opener:before
	{
		height: 100%;
	}

	#opener .inline 
	{
	  	width: calc(100% + 80px);
	  	margin-left: -40px;
	  	border-radius: 0!important;
	}

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

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

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

	form div
	{
		width: 100%;
	}

	textarea
	{
		height: 10em;
	}

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

@media all and (max-width: 1080px){
	#navigation
	{
		display: none;
		position: fixed;
		width: 100%;
		left: 0;
		top: 90px;
		background-color: var(--light);
		max-height: calc(100% - 90px);
		overflow: auto;
	}

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

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

	#navigation ul li a:after
	{
		top: 105%;
	}

	#header .wrap
	{
		height: 100px;
	}

	#logo
	{
		padding: 10px 0px;
	}

	#navOpener
	{
		position: absolute;
		width: 29px;
		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;
	}

	h1
	{
		font-size: 1.7em;
	}

	h2
	{
		font-size: 1.5em;
	}

	h3
	{
		font-size: 1.4em;
	}

	.text
	{
		margin: 60px 0px;
	}

	.colored
	{
		padding: 60px 0px;
	}

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

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

	.buttonArea
	{
		margin-top: 30px;
	}

	.benefits
	{
		margin-bottom: -60px;
		margin-top: -30px;
	}

	.benefit
	{
		padding-left: 55px;
		margin-bottom: 60px;
	}

	.benefit:before
	{
		width: 80px;
		height: 80px;
	}

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

	.contactFlex
	{
		margin-top: -85px;
	}

	.contactFlexIcon
	{
		height: 60px;
		background-size: contain;
		background-position: center;
		background-repeat: no-repeat;
		margin-bottom: 20px;
	}

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

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

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

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

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