:root 
{
	--theme: #dd0e18;
	--lighttheme: #ff2e38;
	--darktheme: #89000d;
	--light: #f0f0f0;
	--grey: #e0e0e0;
	--dark: #000000;
}

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

body 
{
	font-size: 1em;
	color: var(--dark);
	font-family: 'Inter';
	font-weight: 200;
	line-height: 1.75;
	overflow-x: hidden;
}

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

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

h1, h2, h3
{
	font-weight: 700;
	line-height: 1.35;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-family: 'Lora';
	font-size: 3em;
}

h2
{
	font-size: 2.8em;
}

h2, h3
{
	line-height: 1.35;
}

h3
{
	font-size: 2em;
}

h1
{
	color: #fff;
}

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

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

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

#opener h1
{
	animation-name: fadeIn;
	animation-duration: 3s;
	animation-fill-mode: forwards;
	opacity: 0;
	transform: translateY(20px);
}

@keyframes fadeIn {
	from
	{
		opacity: 0;
	}

	to
	{
		opacity: 1;
		transform: translateY(0);
	}
}

#opener .divider
{
	animation-name: openerDivider;
	animation-duration: 5s;
	animation-fill-mode: forwards;
	opacity: 0;
	left: -200px;
}

@keyframes openerDivider {
	from
	{
		opacity: 0;
		left: -200px;
	}

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

.text p, .text ul, form label, form input, form textarea
{
	font-size: 1.25em;
}

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

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

#header
{
	position: fixed;
	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: 20px;
	padding: 14px 0px;
}

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

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

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

#logo
{
	position: relative;
	height: 100%;
	padding: 22px 0px;
}

#logoLink
{
	position: absolute;
	height: 200%;
	background-color: #fff;
	display: block;
	filter: drop-shadow(0px 0px 40px rgba(0,0,0,0.06));
}

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

#logoLink:after
{
	content: "";
	position: absolute;
	width: 120px;
	height: 100%;
	background-image: url(ecke2.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: left top;
	left: calc(100% - 1px);
	top: 0;
}

#opener
{
	width: 100%;
	height: 100vh;
	position: relative;
}

#opener:after
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 800;
	background: linear-gradient(90deg,rgba(221,14,24,0.75) 0%, rgba(0,0,0,0.4) 60%);
}

#opener:before
{
	content: "";
	position: absolute;
	width: 100%;
	height: 130px;
	left: 0;
	bottom: -1px;
	background-image: url(ecke.svg);
	background-size: contain;
	background-position: right center;
	background-repeat: no-repeat;
	z-index: 900;
}

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

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

.text
{
	margin: 120px 0px;
}

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

strong
{
	font-weight: 500;
}

#opener .divider
{
	margin-top: 20px;
}

.divider
{
	width: 200px;
	height: 6px;
	background-color: var(--theme);
	position: relative;
}

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

.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(--theme);
}

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

.imgBox
{
	padding: 50px 60px 0px 0px;
	box-shadow: 60px -60px 60px rgba(0,0,0,0.07);
	margin-top: -120px;
	background-color: #fff;
	position: relative;
	z-index: 10;
	width: calc(100% - 40px);
	max-width: 800px;
}

#formBox
{
	padding: 50px 60px 60px 60px;
	padding-bottom: 0!important;
	box-shadow: 60px -60px 60px rgba(0,0,0,0.07);
	background-color: #fff;
	position: relative;
	z-index: 10;
}

.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;
	font-weight: 300;
	background-color: var(--theme);
	border-bottom: none!important;
	text-decoration: none;
	padding: 0.65em 1.1em;
	transition: all 0.2s;
}

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

.buttonArea
{
	margin-top: 25px;
}

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

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

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

#footer
{
	padding: 60px 0px;
	background-color: rgba(0,0,0,0.8);
	color: #fff;
}

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

.footerFlexItem
{
	width: 50%;
	padding-left: 60px;
}

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

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

#footerLogo
{
	width: 250px;
	margin-bottom: -8px;
}

#copy
{
	padding: 25px 0px;
	border-top: 1px solid rgba(255,255,255,0.3);
	background-color: rgba(0,0,0,0.8);
	color: #fff;
}

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

#footerList
{
	text-align: right;
}

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

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

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

#cookieBox
{
	padding: 33px 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: 49%;
	transform: translateY(-50%);
}

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

.history h3 + p
{
	margin-top: 0.5em;
}

.history
{
	position: relative;
	padding-top: 40px;
	padding-bottom: 40px;
	margin-top: -60px;
}

.history:before
{
	content: "";
	position: absolute;
	width: 5px;
	height: 100%;
	left: 0;
	top: 0;
	background-color: var(--theme);
}

.historyItem + .historyItem
{
	margin-top: 50px;
}

.historyItem
{
	position: relative;
	padding-left: 50px;
}

.historyItem:before
{
	content: "";
	position: absolute;
	width: 30px;
	height: 30px;
	left: -14px;
	top: 0.2em;
	border-radius: 1000px;
	background-color: var(--theme);
	border: 2px solid #fff;
}

.historyItem h3
{
	background-color: #fff;
	position: relative;
}

.historyItem h3, .historyItem p
{
	padding-left: 10px;
}

.historyItem h3:before
{
	content: "";
	position: absolute;
	width: 100%;
	height: 3px;
	background-color: var(--theme);
	z-index: -10;
	left: -50px;
	top: 50%;
	transform: translateY(-50%);
}

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

.galleryItem
{
	width: calc(25% - 5px);
	margin-left: 5px;
	margin-top: 5px;
	cursor: zoom-in;
}

.galleryImg
{
	padding-bottom: 75%;
	background-size: cover;
	background-position: center;
	width: 100%;
}

.withImg + .colored
{
	position: relative;
	margin-top: -120px;
}

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

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

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

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

form label
{
	font-family: 'Inter';
	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: 0px;
   	font-size: 1.25em;
   	width: 100%;
   	border: none;
   	font-family: 'Inter';
   	line-height: 1.6;
   	color: var(--dark);
   	font-weight: 200;
   	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 rgba(0,0,0,0.15);
	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: 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.9em;
	margin-left: 40px;
}

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

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

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

#formBox
{
	margin-top: -180px;
	background-color: #fff;
	position: relative;
}

.withForm
{
	position: relative;
}

.withForm:before
{
	content: "";
	position: absolute;
	width: 100%;
	height: 120px;
	background-color: var(--light);
	left: 0;
	z-index: -10;
}

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

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

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

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

	.divider
	{
		width: 120px!important;
	}

	.imgBox
	{
		margin-top: -40px!important;
	}

	#footerFlex
	{
		display: block;
	}

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

	#footerLogo
	{
		width: 180px!important;
		margin-bottom: 25px;
	}

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

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

	#footerList
	{
		text-align: center;
	}

	#opener:before
	{
		height: 80px!important;
	}

	#opener
	{
		height: 75vh!important;
	}

	#footer
	{
		padding-bottom: 50px;
	}

	#openerContent
	{
		top: 58%;
	}

	.historyItem
	{
		padding-left: 30px!important;
	}

	.historyItem:before
	{
		width: 20px!important;
		height: 20px!important;
		left: -9px!important;
		top: 0.25em!important;
	}

	.history
	{
		padding-top: 20px;
		padding-bottom: 20px;
	}

	.historyItem + .historyItem
	{
		margin-top: 30px!important;
	}

	.historyItem h3:before
	{
		left: -30px!important;
	}

	.galleryItem
	{
		width: calc(50% - 5px);
	}

	form div
	{
		width: 100%;
	}

	textarea
	{
		height: 10em;
	}
}

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

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

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

	#logoLink
	{
		z-index: 1500;
	}

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

	#logo
	{
		padding: 15px 0px;
	}

	#logoLink:after
	{
		width: 100px;
	}

	.text
	{
		margin: 60px 0px;
	}

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

	.colored
	{
		padding: 60px 0px;
	}

	.imgBox
	{
		padding: 30px 40px 0px 0px;
		margin-top: -60px;
	}

	#formBox
	{
		padding: 30px 40px 40px 40px;
	}

	.footerFlexItem
	{
		padding-left: 40px;
	}

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

	#footerLogo
	{
		width: 200px;
	}

	#copy
	{
		padding: 22px 0px;
	}

	h1
	{
		font-size: 2.4em;
	}

	h2
	{
		font-size: 2.1em;
	}

	h3
	{
		font-size: 1.8em;
	}

	.text p, .text ul, form label, form input, form textarea, input[type = "text"], input[type = "email"], textarea, button
	{
		font-size: 1.1em;
	}

	.divider
	{
		width: 150px;
		height: 5px;
	}

	#opener
	{
		min-height: 350px;
	}

	#opener:before
	{
		height: 100px;
	}

	#opener
	{
		height: 90vh;
	}

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

	.history
	{
		margin-top: -20px;
	}

	.historyItem
	{
		padding-left: 35px;
	}

	.historyItem:before
	{
		width: 24px;
		height: 24px;
		left: -11px;
		top: 0.4em;
	}

	.historyItem h3:before
	{
		left: -40px;
	}

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

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

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

	#formBox
	{
		margin-top: -85px;
	}

	.withForm:before
	{
		height: 70px;
		top: 70px;
	}
}

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