:root 
{
	--theme: #52785d;
	--darktheme: #2e4c35;
	--light: #d9edde;
	--dark: #222422;
}

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

body 
{
	font-size: 1.1em;
	color: var(--dark);
	font-family: 'Public Sans';
	font-weight: 400;
	line-height: 1.6;
	overflow-x: hidden;
}

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

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

h1, h2, h3
{
	font-family: 'Platypi';
	line-height: 1.4;
	font-weight: 300;
}

h1
{
	text-transform: uppercase;
	font-size: 3.2em;
	font-weight: 700;
}

h2, h3
{
	font-size: 2em;
	line-height: 1.35;
}

h3
{
	font-size: 1.75em;
}

.text.big p, .text.big ul, .dividerImg p, form
{
	font-size: 1.25em;
}

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

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

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

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

#header .wrap, .wrap.bigWrap
{
	max-width: 1300px;
}

#header
{
	position: fixed;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 1000;
	transition: all 0.2s;
}

#header.scrolled
{
	background-color: var(--theme);
}

#navigation ul
{
	text-align: right;
	font-family: 'Platypi';
	font-weight: 300;
	text-transform: uppercase;
}

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

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

#navigation ul li a
{
	color: #fff;
	text-decoration: none;
	opacity: 0.7;
	transition: all 0.2s;
}

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

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

#navigation ul li ul
{
	position: absolute;
	display: none;
	text-align: left;
	text-transform: none;
	font-size: 0.85em;
	padding: 17px 25px 15px;
	background-color: var(--darktheme);
	left: -25px;
	top: 80%;
	transition: all 0.2s;
}

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

#navigation ul li ul:before
{
	content: "";
	position: absolute;
	width: 12px;
	height: 12px;
	background-color: var(--darktheme);
	left: 25px;
	top: -6px;
	transform: rotate(-45deg);
}

#header.scrolled #navigation ul li ul
{
	top: 100%;
}

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

#navigation ul li ul li a, #navigation ul li:hover ul li a, #navigation ul li.active ul li a
{
	font-weight: 300;
	opacity: 0.7;
}

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

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

#logo
{
	display: block;
	height: 100%;
	padding: 30px 0px;
	transition: all 0.2s;
}

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

#logoLink
{
	position: absolute;
	background-color: #fff;
	height: 100%;
	filter: drop-shadow(0px 0px 40px rgba(0,0,0,0.1));
}

#logoLink:before
{
	content: "";
	position: absolute;
	width: 100vw;
	height: 100%;
	right: 100%;
	top: 0;
	background-color: #fff;
}

#logoLink:after
{
	content: "";
	position: absolute;
	width: 140px;
	height: 100%;
	top: 0;
	left: 100%;
	background-image: url(ecke.svg);
	background-size: contain;
	background-position: left top;
	background-repeat: no-repeat;
}

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

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

#opener:after, #intro:after
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-image: url(pattern.svg);
	background-size: contain;
	background-position: center bottom -2px;
	z-index: 20;
	background-repeat: no-repeat;
}

#intro
{
	padding: 220px 0px 110px;
	background-color: var(--theme);
	color: #fff;
	position: relative;
}

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

.text
{
	margin: 100px 0px;
}

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

.linkFlexItem
{
	width: calc(25% - 5px);
	margin-left: 5px;
	margin-bottom: 5px;
	color: #fff;
	text-decoration: none;
	position: relative;
}

.big .linkFlexItem
{
	width: calc(50% - 5px);
}

.linkFlexImg
{
	padding-bottom: 75%;
	background-size: cover;
}

.big .linkFlexImg
{
	padding-bottom: 60%;
}

.linkFlexImg:after
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 10;
	background-color: rgba(0,0,0,0.3);
	transition: all 0.2s;
}

.linkFlexItem:hover .linkFlexImg:after
{
	background-color: var(--theme);
	opacity: 0.8;
}

.linkFlexTitle
{
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 0;
	padding: 20px 25px;
	z-index: 20;
	transition: all 0.2s;
	line-height: 1.3;
}

.big .linkFlexTitle
{
	padding: 35px 40px;
}

.linkFlexTitle span
{
	font-family: 'Platypi';
	font-size: 1.2em;
}

.linkFlexTitle span + p
{
	margin-top: 0.5em;
	line-height: 1.7;
}

.linkFlexItem:hover .linkFlexTitle
{
	bottom: 10px;
}

.dividerImg
{
	padding: 150px 0px;
	background-size: cover;
	background-position: center;
	position: relative;
	color: #fff;
}

.dividerImg:after
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 10;
	background-color: rgba(0,0,0,0.4);
}

.dividerImg .wrap
{
	z-index: 50;
}

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

.text.withButton p a, .text .buttonArea p a, .buttonArea p a, #accepted
{
	display: inline-block;
	line-height: 1.3;
	text-transform: uppercase;
	color: #fff!important;
	border-bottom: none!important;
	text-align: center;
	font-family: 'Platypi';
	text-decoration: none;
	background-color: var(--theme);
	transition: all 0.2s;
	font-weight: 500;
	padding: 0.6em 1.2em 0.7em;
}

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

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

.buttonArea
{
	margin-top: 30px;
}

.text p a, .text ul a, form a, #cookieNotice a
{
	color: var(--darktheme);
	text-decoration: none;
	border-bottom: 1px solid var(--darktheme);
	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);
}

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

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

.footerFlexItem
{
	width: 50%;
}

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

#footerFlex .footerFlexItem:nth-child(2)
{
	padding-left: 60px;
	border-left: 1px solid rgba(255,255,255,0.3);
}

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

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

#footerLogo
{
	width: 240px;
	margin-top: 5px;
}

#footerList li
{
	display: block;
	list-style: none;
	margin: 7px 0px;
}

#copy
{
	font-weight: 500;
	text-align: center;
	font-size: 0.85em;
	color: #fff;
	background-color: var(--darktheme);
	font-family: 'Platypi';
	text-transform: uppercase;
	padding: 18px 0px 20px;
}

strong
{
	font-weight: 700;
}

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

#cookieBox
{
	padding: 33px 40px 40px 40px;
	max-height: calc(100vh - 80px);
	max-width: 400px;
	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;
}

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

.imgFlex
{
	display: flex;
	margin-left: -60px;
}

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

.imgFlexItem
{
	margin-left: 60px;
}

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

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

.textBox
{
	margin-top: 60px;
}

.divider
{
	width: 100%;
	height: 65px;
	background-image: url(icon.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.3;
	margin: -10px 0px;
}

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

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

.text ul li + li
{
	margin-top: 0.5em;
}

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

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

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

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

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

.benefit
{
	width: calc(50% - 60px);
	margin-left: 60px;
	margin-bottom: 30px;
	position: relative;
	padding-left: 2.8em;
}

.benefit:before
{
	content: "";
	position: absolute;
	width: 1.8em;
	height: 1.8em;
	left: 0;
	top: -0.06em;
	background-color: var(--theme);
	border-radius: 1000px;
	background-image: url(tick.svg);
	background-size: 45%;
	background-position: center;
	background-repeat: no-repeat;
}

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

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

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

form label
{
	font-family: 'Platypi';
	color: var(--dark);
	font-weight: 500;
	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;
   	font-size: 1em;
   	width: 100%;
   	border: none;
   	font-family: 'Gudea', sans-serif;
   	line-height: 1.6;
   	color: var(--dark);
   	font-weight: 400;
   	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 var(--light);
	padding: 0.5em 1.2em;
	background-color: #fff;
}

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

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-family: 'Platypi';
	font-weight: 500;
	color: red;
	display: block;
}

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

.alert.alert-danger ul li
{
	color: red;
	margin-top: 0!important;
}

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

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

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

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

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

button
{
	display: inline-block;
	line-height: 1.3;
	text-transform: uppercase;
	color: #fff!important;
	border-bottom: none!important;
	text-align: center;
	font-family: 'Platypi';
	text-decoration: none;
	background-color: var(--theme);
	transition: all 0.2s;
	font-weight: 500;
	padding: 0.6em 1.2em 0.7em;
	width: auto;
	cursor: pointer;
	margin-left: 40px;
	margin-top: 1.14em;
}

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

.negativeSpace
{
	margin-top: -60px;
}

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

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

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

	h2
	{
		font-size: 1.35em!important;
		hyphens: auto;
		-webkit-hyphens: auto;
	}

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

	.linkFlexTitle span
	{
		font-size: 1em!important;
	}

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

	.linkFlexItem
	{
		width: calc(100% - 5px)!important;
	}

	.dividerImg
	{
		padding: 100px 0px!important;
	}

	#footerFlex
	{
		display: block;
	}

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

	#footerList li
	{
		margin: 5px 0px 0px;
	}

	#footerLogo
	{
		width: 180px!important;
		margin-bottom: 15px!important;
	}

	.imgFlex
	{
		display: block;
		margin-left: 0!important;
	}

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

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

	.divider
	{
		height: 40px!important;
	}

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

	form div
	{
		width: 100%;
	}

	textarea
	{
		height: 10em;
	}

	.checkbox input
	{
		top: 0.56em;
	}
}

@media all and (max-width: 950px){
	.linkFlexItem, .galleryItem
	{
		width: calc(50% - 5px);
	}
}

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

	#navigation ul
	{
		padding: 76px 40px 10px;
	}

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

	#navigation ul li ul
	{
		display: block;
		position: relative;
		text-align: right;
		padding: 0;
		margin: 6px 0px 8px;
		left: auto;
		top: auto!important;
		background-color: transparent;
	}

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

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

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

	#logoLink
	{
		z-index: 1200;
	}

	.line
	{
		position: absolute;
		width: 100%;
		height: 2.5px;
		background-color: #fff;
		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: 80px;
	}

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

	#logoLink:after
	{
		width: 90px;
	}

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

	h1
	{
		font-size: 2.4em;
	}

	h2
	{
		font-size: 1.7em;
	}

	h3
	{
		font-size: 1.5em;
	}

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

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

	.text
	{
		margin: 60px 0px;
	}

	#footer
	{
		padding: 60px 0px;
	}

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

	.dividerImg
	{
		padding: 120px 0px;
	}

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

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

	#footerLogo
	{
		width: 200px;
	}

	#copy
	{
		padding: 13px 0px 17px;
	}

	#intro
	{
		padding: 130px 0px 65px;
	}

	.imgFlex
	{
		margin-left: -40px;
	}

	.imgFlexItem
	{
		margin-left: 40px;
	}

	.textBox
	{
		margin-top: 40px;
	}

	.divider
	{
		height: 50px;
	}

	.colored
	{
		padding: 60px 0px;
	}

	.linkFlexImg
	{
		padding-bottom: 75%!important;
	}

	.big .linkFlexTitle
	{
		padding: 20px 25px;
	}

	.benefits
	{
		width: calc(100% + 40px);
		margin-left: -40px;
		margin-top: -30px;
		margin-bottom: -25px;
	}

	.benefit
	{
		width: calc(50% - 40px);
		margin-left: 40px;
		padding-left: 2.6em;
		margin-bottom: 25px;
	}

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

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

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