:root 
{
	--theme: #5da041;
	--lighttheme: #9bb586;
	--darktheme: #3d7326;
	--light: #f1f6ec;
	--dark: #21201e;
}

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

body 
{
	font-size: 1.1em;
	color: var(--dark);
	font-family: 'Commissioner';
	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
{
	line-height: 1.65;
	font-weight: 500;
	background-color: var(--theme);
	color: #fff;
	display: inline;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	-moz-box-decoration-break: clone;
	font-size: 3.5em;
	padding: 0.08em 0.3em 0.15em;
}

h2, h3
{
	line-height: 1.4;
	font-weight: 500;
	color: var(--theme);
	font-size: 2.3em;
}

h3
{
	font-size: 1.8em;
}

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

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

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

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

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

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

#navigation ul
{
	text-align: right;
}

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

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

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

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

#logo
{
	position: absolute;
	height: 100%;
}

#logoLink
{
	position: absolute;
	height: 200%;
	filter: drop-shadow(0px 0px 10px rgba(0,0,0,0.12));
}

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

#opener
{
	height: calc(100vh - 70px);
	position: relative;
	background-color: var(--light);
}

#openerImg
{
	width: 65%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 0;
	background-size: cover;
	background-position: center;
}

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

#openerContent .inner
{
	padding-left: 25%;
}

.text
{
	margin: 120px 0px;
}

strong
{
	font-weight: 700;
}

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

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

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

.text.withButton p a, .text .buttonArea p a, .buttonArea p a, #accepted
{
	display: inline-block;
	line-height: 1.4;
	text-align: center;
	color: #fff!important;
	border-bottom: none!important;
	text-decoration: none;
	padding: 0.6em 1.05em 0.65em;
	background-color: var(--theme);
	border-radius: 0.2em;
	transition: all 0.2s;
	font-weight: 400;
}

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

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

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

.buttonArea
{
	margin-top: 30px;
}

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

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

.dividerImg h2, .dividerImg h3
{
	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.35);
}

.colored + .dividerImg, .dividerImg + .colored
{
	margin-top: -120px;
}

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

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

#footerList
{
	text-align: right;
}

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

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

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

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

#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;
	border-radius: 0.2em;
}

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

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

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

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

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

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

.leistung
{
	width: calc(50% - 40px);
	padding: 30px 40px;
	background-color: var(--theme);
	color: #fff;
	text-decoration: none;
	transition: all 0.2s;
	border-radius: 0.2em;
	margin-left: 40px;
	margin-bottom: 40px;
}

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

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

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

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

.imgFlexItem
{
	width: 50%;
	margin-left: 60px;
}

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

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

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

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

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

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

form label
{
	font-family: 'Commissioner';
	color: var(--theme);
	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: 0.2em;
   	font-size: 1em;
   	width: 100%;
   	border: none;
   	font-family: 'Commissioner';
   	color: var(--dark);
   	font-weight: 300;
   	background-color: transparent;
   	line-height: 1.7;
}

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

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

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

textarea
{
	height: 10em;
	resize: none;
	margin-bottom: 0.8em;
}

.alert.alert-danger ul:before
{
	content: "Folgende Fehler sind aufgetreten. Bitte überprüfe deine 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: 'Commissioner';
	color: var(--dark);
	font-weight: 300;
	cursor: pointer;
	text-transform: none;
	line-height: 1.7;
}

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

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

button
{
	display: inline-block;
	line-height: 1.4;
	text-align: center;
	color: #fff!important;
	border-bottom: none!important;
	text-decoration: none;
	padding: 0.6em 1.05em 0.65em;
	background-color: var(--theme);
	border-radius: 0.2em;
	transition: all 0.2s;
	font-weight: 400;
	width: auto;
	cursor: pointer;
	margin-left: 40px;
	margin-top: 1.1em;
}

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

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

@media all and (max-width: 750px){
	#openerImg
	{
		width: 88%!important;
	}

	#openerContent .inner
	{
		padding-left: 0%!important;
	}

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

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

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

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

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

	#footerList
	{
		text-align: left;
	}

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

	.leistungen
	{
		margin-bottom: -20px;
	}

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

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

	#openerContent
	{
		top: 51.5%;
	}

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

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

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

	.checkbox input
	{
		top: 0.66em!important;
	}

	form div
	{
		width: 100%;
	}
}

@media all and (max-width: 1120px){
	#navigation
	{
		display: none;
	}

	#logo, #logoLink
	{
		z-index: 1200;
	}

	#navigation
	{
		display: none;
		position: fixed;
		width: 100%;
		left: 0;
		top: 40px;
		background-color: var(--theme);
		z-index: 1000;
		max-height: calc(100vh - 40px);
		overflow: auto;
	}

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

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

	#header .wrap
	{
		height: 45px;
	}

	#opener
	{
		height: calc(100vh - 45px);
		min-height: 350px;
	}

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

	.line
	{
		position: absolute;
		width: 100%;
		height: 2px;
		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: 100%;
		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;
	}

	.text
	{
		margin: 60px 0px;
	}

	.colored
	{
		padding: 60px 0px;
	}

	.dividerImg
	{
		padding: 90px 0px;
	}

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

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

	.colored + .dividerImg, .dividerImg + .colored
	{
		margin-top: -60px;
	}

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

	#footer
	{
		padding: 25px 0px;
	}

	h1
	{
		font-size: 2.5em;
	}

	h2
	{
		font-size: 1.8em;
	}

	h3
	{
		font-size: 1.5em;
	}

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

	#openerImg
	{
		width: 70%;
	}

	#openerContent .inner
	{
		padding-left: 25%;
	}

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

	.imgFlexItem
	{
		margin-left: 40px;
	}

	.checkbox input
	{
		top: 0.82em;
	}

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

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