:root 
{
	--theme: #d13d36;
	--darktheme: #a1251f;
	--light: #f2f2f2;
	--grey: #9b9b9b;
	--dark: #000000;
}

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

body 
{
	font-size: 1.15em;
	color: var(--dark);
	font-family: 'Roboto';
	font-weight: 400;
	line-height: 1.65;
	overflow-x: hidden;
}

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

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

h1, h2, h3
{
	line-height: 1.2;
	font-size: 4.2em;
	font-weight: 500;
}

h1
{
	color: #fff;
	display: inline;
	line-height: 1.6;
	background-color: var(--theme);
	padding: 0.12em 0.3em 0.095em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

h2
{
	font-size: 3.2em;
}

h3
{
	font-size: 1.8em;
}

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

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

#header
{
	position: fixed;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 1000;
	background-color: #fff;
	box-shadow: 0px 0px 80px rgba(0,0,0,0.12);
}

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

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

#navigation ul 
{
	text-align: right;
}

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

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

#navigation ul li a
{
	color: var(--dark);
	text-decoration: none;
	transition: all 0.2s;
	position: relative;
}

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

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

#navigation ul li a:after
{
	content: "";
	position: absolute;
	width: 0%;
	opacity: 0;
	height: 4px;
	background-color: var(--grey);
	left: 0;
	top: 110%;
	transition: all 0.2s;
}

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

#logo
{
	position: absolute;
	height: 100%;
	padding: 15px 0px;
	transition: all 0.2s;
}

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

#opener
{
	height: 72vh;
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	margin-top: 140px;
}

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

#openerContent
{
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 110px;
	z-index: 500;
}

strong
{
	font-weight: 700;
}

.text
{
	margin: 100px 0px;
}

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

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

.grey + .withImg
{
	position: relative;
	margin-top: -100px;
}

.grey + .withImg:before
{
	content: "";
	position: absolute;
	width: 100%;
	height: 50%;
	background-color: var(--light);
	top: 0;
	left: 0;
	z-index: -1;
}

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

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

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

.colorBox
{
	padding: 50px 60px;
	background-color: var(--theme);
	color: #fff;
}

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

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

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

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

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

#footerList
{
	text-align: right;
}

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

#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: 34px 40px 40px 40px;
	max-height: calc(100vh - 80px);
	max-width: 420px;
	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: 48.5%;
	transform: translateY(-50%);
}

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

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

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

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

#cookieBox
{
	padding: 32px 40px 40px 40px;
	max-height: calc(100vh - 80px);
	max-width: 420px;
	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.8em;
	cursor: pointer;
	display: block;
	margin-top: 0.3em;
}

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

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

.pageSection
{
	position: relative;
	top: -100px;
}

#unsereLeistungen
{
	top: -195px;
}

#intro
{
	padding-top: 150px;
}

.textBox
{
	padding: 50px 60px;
	background-color: #fff;
	box-shadow: 0px 0px 100px rgba(0,0,0,0.1);
}

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

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

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

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

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

	.twoTextItem
	{
		width: 100%;
		margin-left: 0;
	}

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

	#footerList
	{
		text-align: left;
	}

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

	#opener
	{
		height: 50vh!important;
	}

	#intro
	{
		padding-top: 95px!important;
	}
}

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

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

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

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


	#header .wrap
	{
		height: 90px;
	}

	#opener
	{
		margin-top: 90px;
	}

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

	#opener
	{
		height: 62vh;
		min-height: 300px;
	}

	#openerContent
	{
		bottom: 60px;
	}

	.text
	{
		margin: 60px 0px;
	}

	.grey
	{
		padding: 60px 0px;
	}

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

	.grey + .withImg
	{
		margin-top: -60px;
	}

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

	.colorBox
	{
		padding: 30px 40px;
	}

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

	h1
	{
		font-size: 3.4em;
	}

	h2
	{
		font-size: 2.5em;
	}

	h3
	{
		font-size: 1.5em;
	}

	.pageSection
	{
		top: -80px;
	}

	#unsereLeistungen
	{
		top: -140px;
	}

	#intro
	{
		padding-top: 100px;
	}

	.textBox
	{
		padding: 30px 40px;
	}
}

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