:root 
{
	--theme: #a5958e;
	--darktheme: #adaba5;
	--green: #c5cdc9;
	--yellow: #fdf0ad;
	--light: #f3f2eb;
	--dark: #35302e;
}

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

body 
{
	font-size: 1.2em;
	color: var(--dark);
	font-family: 'Roboto Slab';
	font-weight: 300;
	line-height: 1.75;
	overflow-x: hidden;
}

::selection 
{
	background-color: var(--yellow);
 	color: var(--dark);
}

::-moz-selection 
{
  	background-color: var(--yellow);
 	color: var(--dark);
}

h1
{
	font-family: 'Signature';
	font-weight: 300;
	line-height: 1;
	font-size: 5.2em;
}

h2, h3
{
	font-family: 'Roboto Slab';
	line-height: 1.3;
	font-weight: 500;
	font-size: 2.5em;
	color: var(--theme);
}

h3
{
	font-size: 1.85em;
}

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

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

p + h3
{
	margin-top: 1em;
}

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

#header
{
	position: sticky;
	position: -webkit-sticky;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 1000;
	background-color: #fff;
	box-shadow: 0px 0px 40px rgba(0,0,0,0.05);
}

#navigation ul
{
	text-align: right;
}

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

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

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

#opener
{
	padding: 160px 0px;
	background-size: cover;
	background-position: center;
	color: #fff;
	text-align: center;
	position: relative;
}

#openerContent
{
	position: relative;
	z-index: 10;
}

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

#down
{
	position: absolute;
	width: 2px;
	height: 80px;
	background-color: #fff;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	z-index: 10;
}

#down:before
{
	content: "";
	position: absolute;
	width: 100%;
	height: 50%;
	top: 100%;
	background-color: var(--theme);
	left: 0;
}

#down:after
{
	content: "";
	position: absolute;
	height: 12px;
	width: 12px;
	border-left: 2px solid var(--theme);
	border-bottom: 2px solid var(--theme);
	left: 50%;
	transform: translateX(-50%) rotate(-45deg);
	top: calc(150% - 14px);
}

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

.text
{
	margin: 80px 0px;
}

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

.imgFlex
{
	display: flex;
}

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

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

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

.textBox
{
	padding: 50px 60px;
	margin-top: 60px;
	position: relative;
}

.textBox:before
{
	content: "";
	position: absolute;
	width: 120%;
	height: 100%;
	right: 0;
	top: 0;
	z-index: -1;
	border: 1px solid var(--theme);
}

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

.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;
	color: #fff!important;
	text-decoration: none;
	border-bottom: none!important;
	background-color: var(--theme);
	padding: 0.75em 1.6em 0.8em 1.6em;
	font-weight: 500;
	transition: all 0.2s;
}

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

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

.buttonArea
{
	margin-top: 30px;
}

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

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

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

.textFlexItem
{
	width: calc(33.3% - 40px);
	margin-left: 40px;
	margin-bottom: 40px;
	padding: 30px 40px;
	background-color: #fff;
}

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

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

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

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

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

#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;
	border-bottom: 1px solid transparent;
	transition: all 0.2s;
}

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

#bfb
{
	max-width: 180px;
}

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

#cookieBox
{
	padding: 29px 40px 40px 40px;
	max-height: calc(100vh - 80px);
	background-color: #fff;
	max-width: 440px;
	overflow: auto;
	border-bottom: 8px solid var(--theme);
	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: 50.5%;
	transform: translateY(-50%);
}

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

#home
{
	padding-top: 0!important;
	margin-top: 0!important;
}

.pageSection
{
	padding-top: 120px;
	margin-top: -200px;
}

#leistungen, #preise
{
	padding-top: 40px;
	margin-top: -120px;
}

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

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

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

form label
{
	font-family: 'Roboto Slab';
	color: var(--theme);
	display: block;
	margin-bottom: 0.15em;
	font-weight: 500;
}

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: 'Roboto Slab';
   	line-height: 1.6;
   	color: var(--dark);
   	font-weight: 300;
   	background-color: transparent;
}

input, textarea
{
	color: var(--dark);
	margin-bottom: 1em;
	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: 0.9em;
}

.alert.alert-danger ul:before
{
	content: "Folgende Fehler sind aufgetreten. Bitte überprüfe deine Eingaben.";
	font-family: 'Roboto Slab';
	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.3em;
	margin-left: 40px;
}

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

.checkbox input
{
	position: absolute;
	left: 0px;
	top: 0.66em;
	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;
	text-decoration: none;
	border-bottom: none!important;
	background-color: var(--theme);
	padding: 0.75em 1.6em 0.8em 1.6em;
	font-weight: 500;
	transition: all 0.2s;
	width: auto;
	cursor: pointer;
	margin-left: 40px;
	margin-top: 1.2em;
}

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

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

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

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

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

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

	.imgFlex
	{
		display: block;
	}

	.imgFlexItem
	{
		width: 100%!important;
	}

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

	.textBox:before
	{
		width: calc(100% - 2px);
	}

	#bfb
	{
		max-width: 120px!important;
	}

	#footer
	{
		text-align: center;
	}

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

	#footerList 
	{
		text-align: center;
	}

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

	form div
	{
		width: 100%;
	}

	textarea
	{
		height: 9em;
	}
}

@media all and (max-width: 950px){
	.textFlexItem
	{
		width: calc(100% - 40px);
	}
}

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

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

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

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

	.line
	{
		position: absolute;
		width: 100%;
		height: 3px;
		left: 50%;
		transform: translateX(-50%);
		transition: all 0.2s;
		background-color: var(--theme);
	}

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

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

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

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

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

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

	#header .wrap
	{
		height: 90px;
	}

	#logo
	{
		padding: 10px 0px;
	}

	#opener
	{
		padding: 140px 0px;
	}

	h1
	{
		font-size: 4em;
	}

	h2
	{
		font-size: 2em;
	}

	h3
	{
		font-size: 1.6em;
	}

	.text
	{
		margin: 40px 0px;
	}

	.colored
	{
		padding: 40px 0px;
	}

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

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

	#down
	{
		height: 40px;
	}

	#footer
	{
		padding: 25px 0px;
	}

	#bfb
	{
		max-width: 140px;
	}

	.pageSection
	{
		padding-top: 90px;
		margin-top: -130px;
	}

	#leistungen, #preise
	{
		padding-top: 45px;
		margin-top: -85px;
	}

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

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