:root 
{
	--red: #d60326;
	--orange: #f46300;
	--light: #ededed;
	--dark: #131526;
}

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

body 
{
	font-size: 1.2em;
	color: var(--dark);
	font-family: 'Noto Sans Display';
	font-weight: 300;
	line-height: 1.7;
	overflow-x: hidden;
}

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

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

h1, h2, h3
{
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-size: 3.4em;
}

h2
{
	font-size: 2.6em;
	line-height: 1.2;
}

h3
{
	font-size: 1.4em;
	line-height: 1.25;
}

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

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

#opener h1, #subPageOpener h1
{
	display: inline;
	background-color: var(--red);
	color: #fff;
	padding: 0.05em 0.3em;
	line-height: 1.7;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	-moz-box-decoration-break: clone;
}

#subPageOpener
{
	padding-top: 105px;
	margin-bottom: -50px;
}

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

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

#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.08);
	border-top: 8px solid var(--red);
}

#navigation ul
{
	text-align: right;
	padding-right: 100px;
}

#navigation ul li
{
	display: inline-block;
	margin-left: 40px;
	padding: 45px 0px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

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

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

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

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

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

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

#language
{
	position: absolute;
	right: 40px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--red);
	text-decoration: none;
	letter-spacing: 0.05em;
	transition: all 0.2s;
	padding-left: 40px;
	border-left: 1px solid var(--red);
}

#language:hover
{
	color: var(--orange);
}

#opener
{
	width: 100%;
	height: 80vh;
	position: relative;
	background-size: cover;
	background-position: center;
}

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

#opener:after
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 1px;
	z-index: 20;
	background-image: url(down.svg);
	background-size: 102% auto;
	background-repeat: no-repeat;
	background-position: center bottom;

}

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

strong
{
	font-weight: 700;
}

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

.text
{
	margin: 100px 0px;
}

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

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

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

.leistung
{
	width: calc(50% - 20px);
	margin-left: 20px;
	margin-bottom: 20px;
	background-color: var(--red);
	padding: 30px 40px;
	color: #fff;
}

.leistung h3
{
	color: #fff;
}

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

.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;
	font-weight: 500;
	text-decoration: none;
	padding: 0.7em 1.3em;
	background-color: var(--red);
	transition: all 0.2s;
}

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

.buttonArea
{
	margin-top: 30px;
}

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

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

.dividerImg h2, .dividerImg h3
{
	color: #fff;
}

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

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

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

.withImg + .colored
{
	position: relative;
	padding-top: 0;
}

.withImg + .colored:before
{
	content: "";
	position: absolute;
	width: 100%;
	height: 250px;
	background-color: var(--light);
	left: 0;
	bottom: 100%;
	z-index: -10;
}

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

#footerFlex
{
	display: flex;
	align-items: center;
}

.footerFlexItem
{
	width: 50%;
}

#footerFlex .footerFlexItem:nth-child(1)
{
	text-align: right;
	padding-right: 60px;
}

#footerFlex .footerFlexItem:nth-child(2)
{
	padding-left: 60px;
	border-left: 1px solid rgba(255,255,255,0.3);
}

#footerLogo
{
	width: 160px;
	margin-bottom: -10px;
}

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

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

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

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

#copy
{
	padding: 25px 0px 26px;
	background-color: var(--red);
	color: #fff;
	font-size: 0.85em;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

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

#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.55);
	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;
}

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

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

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

.tick
{
	width: 100%;
	margin: 10px 0px 32px;
	height: 50px;
	background-image: url(tick.svg);
	background-size: contain;
	background-position: left center;
	background-repeat: no-repeat;
}

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

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

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

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

/*.imgFlex .imgFlexItem:nth-child(1)
{
	width: 45%;
}

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

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

.textBox
{
	margin-top: 50px;
}

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

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

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

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

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

form label
{
	font-family: 'Noto Sans Display';
	color: var(--red);
	font-weight: 700;
	letter-spacing: 0.05em;
	display: block;
	margin-bottom: 0.1em;
	text-transform: uppercase;
}

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

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

textarea
{
	height: 12em;
	resize: none;
	margin-bottom: 1.05em;
}

.alert.alert-danger ul:before
{
	content: "Folgende Fehler sind aufgetreten. Bitte überprüfen Sie Ihre Eingaben.";
	font-weight: 700;
	color: var(--red);
	display: block;
}

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

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

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

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

.checkbox label
{
	font-family: 'Noto Sans Display';
	color: var(--dark);
	font-weight: 300;
	cursor: pointer;
	text-transform: none;
	letter-spacing: 0;
	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.4;
	text-align: center;
	color: #fff!important;
	border-bottom: none!important;
	font-weight: 500;
	text-decoration: none;
	padding: 0.7em 1.3em;
	background-color: var(--red);
	transition: all 0.2s;
	width: auto;
	cursor: pointer;
	margin-left: 40px;
	margin-top: 1.15em;
}

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

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

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

@media all and (max-width: 750px){
	#opener
	{
		height: 55vh!important;
	}

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

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

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

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

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

	#footerLogo
	{
		width: 120px!important;
	}

	#copy span
	{
		display: block;
		text-align: center;
		position: relative;
		margin-bottom: 5px;
	}

	#footerList
	{
		text-align: center;
	}

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

	#footerFlex
	{
		display: block;
	}

	.footerFlexItem
	{
		width: 100%!important;
		text-align: center!important;
		padding: 0!important;
		border-left: none!important;
	}

	#footerLogo
	{
		margin-bottom: 25px;
	}

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

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

	.textBox
	{
		margin-top: 35px;
	}

	.gallery
	{
		width: calc(100% + 20px)!important;
		margin-left: -20px!important;
		margin-bottom: -20px!important;
	}

	.galleryItem
	{
		width: calc(50% - 20px)!important;
		margin-left: 20px!important;
		margin-bottom: 20px!important;
	}

	form div
	{
		width: 100%;
	}

	textarea
	{
		height: 10em;
	}
}

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

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

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

	#navigation ul li a:after
	{
		top: 105%;
	}

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

	#header
	{
		border-top: 6px solid var(--red);
	}

	#logo
	{
		padding: 13px 0px;
	}

	#language
	{
		padding-left: 0;
		border-left: none;
		right: 95px;
		padding-right: 25px;
		border-right: 1px solid var(--red);
	}

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

	.text
	{
		margin: 60px 0px;
	}

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

	.colored
	{
		padding: 60px 0px;
	}

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

	.withImg + .colored:before
	{
		height: 150px;
	}

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

	#footer
	{
		padding: 60px 0px;
	}

	#footerFlex .footerFlexItem:nth-child(1)
	{
		padding-right: 40px;
	}

	#footerFlex .footerFlexItem:nth-child(2)
	{
		padding-left: 40px;
	}

	#footerLogo
	{
		width: 140px;
	}

	#copy
	{
		padding: 20px 0px 21px;
	}

	.dividerImg
	{
		padding: 90px 0px;
	}

	h1
	{
		font-size: 2.4em;
	}

	h2
	{
		font-size: 2em;
	}

	h3
	{
		font-size: 1.25em;
	}

	#subPageOpener
	{
		padding-top: 65px;
		margin-bottom: -30px;
	}

	.divider
	{
		height: 3px;
	}

	.tick
	{
		margin: 10px 0px 25px;
		height: 40px;
	}

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

	.imgFlexItem
	{
		margin-left: 40px;
	}

	.gallery
	{
		width: calc(100% + 40px);
		margin-left: -40px;
		margin-bottom: -40px;
	}

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

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

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

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