:root 
{
	--theme: #bd0925;
	--darktheme: #7f0a21;
	--light: #ebebeb;
	--grey: #302e2e;
	--dark: #0f0e0e;
}

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

body 
{
	font-size: 1.1em;
	color: var(--dark);
	font-family: 'Plus Jakarta Sans';
	font-weight: 300;
	line-height: 1.75;
	overflow-x: hidden;
}

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

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

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

h1, h2, h3
{
	font-family: 'Euro Caps';
	font-weight: 300;
	line-height: 1.05;
	font-size: 4.2em;
}

h2
{
	font-size: 3.4em;
}

h3
{
	font-size: 2.1em;
}

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

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

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

#intro h1, #openerContent h1
{
	color: #fff;
}

#header
{
	position: fixed;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 1000;
	background: linear-gradient(180deg,rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
	transition: all 0.4s;
}

#header.hidden
{
	top: -150px;
}

#navigation ul
{
	text-align: right;
}

#navigation ul li
{
	list-style: none;
	display: inline-block;
	position: relative;
	padding: 50px 0px;
	margin-left: 40px;
}

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

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

#navigation ul li a:before
{
	content: "";
	position: absolute;
	width: 0%;
	height: 1.5px;
	background-color: #fff;
	left: 0;
	top: 120%;
	transition: all 0.2s;
	opacity: 0;
}

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

#logo
{
	position: absolute;
	height: 100%;
	left: 17px;
}

#navigation ul li ul
{
	position: absolute;
	display: none;
	background-color: var(--theme);
	text-align: left;
	font-size: 0.85em;
	border-radius: 0.35em;
	padding: 12px 20px 15px;
	left: -20px;
	top: 75%;
}

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

#navigation ul li ul li
{
	display: block;
	padding: 0;
	margin-left: 0;
	white-space: nowrap;
	margin-top: 3px;
}

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

#navigation ul li ul li a
{
	opacity: 0.7;
	font-weight: 300!important;
}

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

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

.text
{
	margin: 100px 0px;
}

#intro
{
	padding: 250px 0px 150px 0px;
	position: relative;
}

#introPage .wrap, #header .wrap
{
	max-width: 1280px;
}

#pattern, .pattern, #whitePattern
{
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: -10;
	background-image: url(pattern.svg);
	background-size: 480px;
	top: 0;
	background-attachment: fixed;
}

#whitePattern
{
	opacity: 0.06;
	background-image: url(pattern_white.svg);
	z-index: -100;
}

.pattern
{
	position: absolute;
	top: 0;
	background-attachment: fixed;
}

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

#opener
{
	width: 100%;
	/*height: 90vh;*/
	padding-bottom: 38%;
	position: relative;
	background-size: cover;
	background-position: center;
	z-index: -1;
	color: #fff;
}

.openerSlide
{
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: -1;
	background-size: cover;
	background-position: center;
}

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

#openerContent
{
	width: 100%;
	height: 90vh;
	z-index: 50;
	position: absolute;
	top: 0;
}

#openerContent h1, #intro h1
{
	animation-name: showHeadline;
	animation-duration: 2.5s;
	animation-fill-mode: forwards;
	position: relative;
	opacity: 0;
	animation-delay: 0.4;
}

@keyframes showHeadline
{
	from
	{
		opacity: 0;
		bottom: -40px;
	}

	to
	{
		opacity: 1;
		bottom: 0;
	}
}

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

.colored
{
	padding: 100px 0px;
	position: relative;
}

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

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

.leistung
{
	width: calc(33.3% - 40px);
	margin-left: 40px;
	margin-bottom: 60px;
	color: var(--dark);
	text-decoration: none;
	transition: all 0.2s;
	text-align: center;
}

.leistung:hover
{
	transform: scale(1.05);
}

.leistungImg
{
	height: 90px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	margin-bottom: 20px;
}

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

#introFlex
{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
}

.introLogo
{
	width: 100%;
}

.introFlexLink
{
	padding: 40px;
	transition: all 0.2s;
	position: relative;
	display: block;
	/*background-color: rgba(0,0,0,0.3);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);*/
	background-color: rgba(0,0,0,0.5);
	-webkit-backdrop-filter: blur(1px);
	backdrop-filter: blur(1px);
	border-radius: 0.35em;
	text-align: center;
	color: #fff;
	text-decoration: none;
}

.introFlexLink:hover
{
	transform: scale(1.05);
}

.introFlexItem
{
	width: 50%;
	padding: 40px;
}

.more
{
	font-family: 'Euro Caps';
	font-size: 1.2em;
	margin-top: 20px;
	background-image: url(right.svg);
	background-size: 1em;
	background-repeat: no-repeat;
	background-position: left center;
	display: inline-block;
	padding-left: 2em;
	margin-left: -2em;
}

#fixedX
{
	position: fixed;
	width: 20%;
	height: 80%;
	right: 0;
	top: 0;
	z-index: -1;
	background-image: url(x.svg);
	background-size: contain;
	background-position: center top;
	background-repeat: no-repeat;
}

#fixedX.maus
{
	background-image: url(maus.svg);
}

#fixedX.strahl
{
	background-image: url(strahl.svg);
}

#footer
{
	padding: 40px 0px 50px;
	background-color: var(--theme);
	color: #fff;
	text-align: center;
}

#copy
{
	font-family: 'Euro Caps';
	font-size: 1.2em;
}

#footerList
{
	font-size: 0.85em;
}

#footerList li
{
	display: inline-block;
}

#footerList li:before
{
	content: "|";
	margin: 0px 15px;
}

#footerList li:first-child:before
{
	display: none;
}

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

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

.imgFlex
{
	display: flex;
}

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

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

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

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

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

.textBox:before
{
	content: "";
	position: absolute;
	width: 120%;
	height: 100%;
	top: 0;
	right: 0;
	z-index: -10;
	background-color: var(--light);
	border-radius: 0.35em;
}

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

.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;
	padding: 0.6em 1.2em 0.72em;
	background-color: var(--theme);
	transition: all 0.2s;
	text-decoration: none;
	border-radius: 0.35em;
}

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

strong
{
	font-weight: 700;
}

.buttonArea
{
	margin-top: 30px;
}

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

.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
{
	border-bottom: 1px solid var(--theme);
}

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

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

#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.4em;
}

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

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

#opener + .colored, #intro + .colored, .colored + #fixedX + #footer
{
	margin-top: -100px;
}

#opener + .colored
{
	margin-top: 0!important;
}

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

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

.divider
{
	width: 50%;
	height: 5px;
	background-color: var(--theme);
	position: relative;
}

.divider:before
{
	content: "";
	position: absolute;
	width: 100vw;
	height: 100%;
	right: 100%;
	top: 0;
	background-color: var(--theme);
}

#form
{
	padding-top: 50px;
	margin-top: -210px;
}

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

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

form label
{
	font-family: 'Plus Jakarta Sans';
	color: var(--dark);
	font-weight: 700;
	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.35em;
   	font-size: 1em;
   	width: 100%;
   	border: none;
   	font-family: 'Plus Jakarta Sans';
   	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(--light);
	padding: 0.68em 1.2em 0.7em 1.2em;
	background-color: #fff;
}

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

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-weight: 700;
	color: var(--theme);
	display: block;
}

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

.alert.alert-danger ul li
{
	color: var(--theme);
}

.alert.alert-danger ul li:before
{
	background-color: var(--theme);
}

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

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

.checkbox input
{
	position: absolute;
	left: 0px;
	top: 0.58em;
	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;
	padding: 0.6em 1.2em 0.72em;
	background-color: var(--theme);
	transition: all 0.2s;
	text-decoration: none;
	border-radius: 0.35em;
	width: auto;
	cursor: pointer;
	margin-left: 40px;
	margin-top: 1.15em;
}

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

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

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

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

	.imgFlexItem
	{
		width: 100%!important;
		padding-top: 0!important;
	}

	.imgFlex .inline
	{
		border-radius: 0.35em 0.35em 0 0;
	}

	.textBox:before
	{
		width: 100%;
	}

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

	.leistungImg
	{
		height: 65px!important;
	}

	/*#opener, #openerContent
	{
		height: 65vh!important;
	}*/

	h1
	{
		font-size: 2.4em!important;
		hyphens: auto;
		-webkit-hyphens: auto;
	}

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

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

	form div
	{
		width: 50%;
	}

	textarea
	{
		height: 10em;
	}

	#opener
	{
		padding-bottom: 45%;
	}
}

@media all and (max-width: 850px){
	.introFlexItem
	{
		width: 100%;
		padding: 0;
		text-align: center;
	}

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

	#introFlex
	{
		padding: 40px 0px;
	}

	.introLogo
	{
		max-width: 400px;
	}

	#fixedX
	{
		right: 0px;
	}

	#fixedX 
	{
		display: none;
	}
}

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

	#navigation ul
	{
		padding: 83px 40px 15px;
	}

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

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

	#navigation ul li ul li
	{
		margin-bottom: 6px;
	}

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

	#logo, #navOpener
	{
		z-index: 1500;
	}

	#logo
	{
		left: 25px;
	}

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

	#header.hidden
	{
		top: 0;
	}

	.text
	{
		margin: 60px 0px;
	}

	#opener + .colored, #intro + .colored, .colored + #fixedX + #footer
	{
		margin-top: -60px;
	}

	.colored
	{
		padding: 60px 0px;
	}

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

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

	.textBox
	{
		padding: 30px 40px;
	}

	.imgFlex .imgFlexItem:nth-child(1)
	{
		padding-top: 40px;
	}

	.buttonArea
	{
		margin-top: 25px;
	}

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

	#openerContentInner
	{
		bottom: 60px;
	}

	h1
	{
		font-size: 3.2em;
	}

	h2
	{
		font-size: 2.6em;
	}

	h3
	{
		font-size: 2em;
	}

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

	.leistung
	{
		margin-bottom: 40px;
	}

	.leistungImg
	{
		height: 70px;
		margin-bottom: 15px;
	}

	/*#opener, #openerContent
	{
		height: 75vh;
		min-height: 420px;
	}*/

	.divider
	{
		height: 4px;
	}

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

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