:root 
{
	--theme: #016936;
	--darktheme: #044d28;
	--dark: #0d1c32;
	--grey: #e8eaed;
}

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

body 
{
	font-size: 1.1em;
	color: var(--dark);
	font-family: 'Inter', sans-serif;
	font-weight: 300;
	line-height: 1.7;
	overflow-x: hidden;
}

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

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

h1, h2, h3, h4
{
	font-family: 'Inter', sans-serif;
	font-weight: 300;
	line-height: 1.3;
	font-size: 3.5em;
}

h2
{
	font-size: 2.6em;
}

h3
{
	font-size: 1.8em;
}

h4
{
	font-size: 1.5em;
}

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

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

h1 strong, h2 strong, h3 strong, h4 strong
{
	font-weight: 500;
}

.absHeadline
{
	font-size: 5.8em;
	position: absolute;
	left: 50%;
	top: 45%;
	transform: translate(-50%, -50%);
	letter-spacing: 0.1em;
	opacity: 0.1;
	white-space: nowrap;
}

.headlineArea
{
	position: relative;
}

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

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

.text.overflown
{
	overflow: hidden;
}

#header
{
	position: sticky;
	position: -webkit-sticky;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 1000;
	background-color: var(--dark);
	border-bottom: 1px solid transparent;
	transition: all 0.2s;
}

#header.scrolled
{
	border-bottom: 1px solid rgba(255,255,255,0.3);
}

#navigation ul
{
	text-align: right;
	font-family: 'Cinzel';
}

#navigation ul li
{
	display: inline-block;
	margin-left: 40px;
	padding: 55px 0px 52px;
}

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

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

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

#logo
{
	position: absolute;
	height: 100%;
	padding: 10px 30px 10px 0px;
	background-color: #fff;
}

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

#opener:after
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 10;
	background-color: var(--dark);
	opacity: 0.35;
}

#openerContent
{
	position: relative;
	z-index: 20;
	color: #fff;
	text-shadow: 0px 0px 20px rgba(0,0,0,0.8);
}

#logoLink
{
	position: absolute;
	height: 115%;
	width: 177px;
	filter: drop-shadow(0px 0px 40px rgba(0,0,0,0.2));
}

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

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

.text
{
	margin: 100px 0px;
}

.colored
{
	padding: 100px 0px;
	background-color: var(--dark);
	color: #fff;
	margin: 0;
}

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

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

.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: 130%;
	height: 100%;
	right: 0;
	top: 0;
	z-index: -1;
	background-color: #fff;
}

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

.imgTitle
{
	font-size: 0.85em;
	margin-top: 1em;
}

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

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

.leistungImg
{
	width: 100%;
	padding-bottom: 60%;
	background-size: cover;
	background-position: center;
	margin-bottom: 25px;
}

.colored + .colored
{
	padding-top: 0;
}

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

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

.text.colored ul li:before
{
	background-color: #fff;
}

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

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

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

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

#form
{
	padding-top: 220px;
	margin-top: -270px;
}

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(--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: 'Inter', sans-serif;
   	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 var(--grey);
	padding: 0.5em 1.2em;
	background-color: #fff;
}

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

textarea
{
	height: 14em;
	resize: none;
	margin-bottom: 0.9em;
}

.alert.alert-danger ul:before
{
	content: "Folgende Fehler sind aufgetreten. Bitte überprüfen Sie Ihre Eingaben.";
	font-weight: 500;
	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.5em;
	margin-left: 40px;
}

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

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

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

button
{
	display: inline-block;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	color: #fff!important;
	background-color: var(--dark);
	border: none!important;
	transition: all 0.2s;
	padding: 0.75em 1.4em;
	cursor: pointer;
	width: auto;
	margin-left: 40px;
	margin-top: 1.1em;
}

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

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

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

#footerList
{
	text-align: right;
}

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

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

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

#bgPattern
{
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: -1;
	background-image: url(pattern.svg);
	background-size: cover;
	background-position: center;
	opacity: 0.2;
}

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

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

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

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

.buttonArea
{
	margin-top: 30px;
}

.pageSection
{
	padding-top: 135px;
	margin-top: -135px;
}

#start
{
	padding-top: 0;
	margin-top: 0;
}

#header + .text
{
	margin-top: 130px;
}

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

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

	.imgFlexItem
	{
		width: 100%!important;
	}

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

	.textBox:before
	{
		width: 100%;
	}

	form div
	{
		width: 100%;
	}

	textarea
	{
		height: 10em;
	}

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

	#footerList
	{
		text-align: left;
	}

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

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

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

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

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

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

	.absHeadline
	{
		font-size: 2.8em!important;
	}

	.imgTitle
	{
		margin-bottom: 1em;
	}

	.colored
	{
		padding: 45px 0px!important;
	}

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

	#opener
	{
		padding: 135px 0px 80px 0px!important;
	}
}

@media all and (max-width: 1000px){
	#navigation
	{
		display: none;
		position: fixed;
		width: 100%;
		left: 0;
		top: 50px;
		background-color: var(--dark);
		max-height: calc(100vh - 50px);
		overflow: auto;
		border-bottom: 1px solid rgba(255,255,255,0.3);
	}

	#logo
	{
		padding-right: 20px;
	}

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

	.line
	{
		position: absolute;
		width: 100%;
		height: 2px;
		background-color: #fff;
		right: 0px;
	}

	#navOpener .line:nth-child(1)
	{
		top: 0;
	}

	#navOpener .line:nth-child(2)
	{
		top: 50%;
		left: 50%;
		right: auto;
		transform: translate(-50%, -50%);
	}

	#navOpener .line:nth-child(3)
	{
		bottom: 0;
		width: 50%;
	}

	#navOpener.active .line:nth-child(1)
	{
		top: 50%;
		left: 50%;
		right: auto;
		transform: translate(-50%, -50%) rotate(45deg);
	}

	#navOpener.active .line:nth-child(2)
	{
		top: 50%;
		left: 50%;
		right: auto;
		transform: translate(-50%, -50%) rotate(-45deg);
	}

	#navOpener.active .line:nth-child(3)
	{
		width: 0;
	}

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

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

	#logoLink
	{
		z-index: 2000;
	}

	#header .wrap
	{
		height: 50px;
	}

	#logoLink
	{
		width: 106px;
		height: 200%;
	}

	#logoLink:after
	{
		width: 120px;
	}

	#opener
	{
		padding: 150px 0px;
	}

	.text
	{
		margin: 40px 0px;
	}

	.colored
	{
		padding: 60px 0px;
		margin: 0;
	}

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

	.buttonArea
	{
		margin-top: 20px;
	}

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

	h1
	{
		font-size: 2.8em;
	}

	h2
	{
		font-size: 2em;
	}

	h3
	{
		font-size: 1.5em;
	}

	h4
	{
		font-size: 1.3em;
		hyphens: auto;
		-webkit-hyphens: auto;
	}

	.absHeadline
	{
		font-size: 4.5em;
	}

	#footer
	{
		padding: 30px 0px;
	}

	.pageSection
	{
		padding-top: 50px;
		margin-top: -50px;
	}

	#header + .text
	{
		margin-top: 100px;
	}
}

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