:root 
{
	--theme: #d80335;
	--lighttheme: #ff1a56;
	--darktheme: #990a2f;
	--darkgrey: #8e8e8e;
	--light: #f2f2f2;
	--dark: #2d2b2b;
}

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

body 
{
	font-size: 1.15em;
	color: var(--dark);
	font-family: 'Chivo';
	font-weight: 300;
	line-height: 1.6;
	overflow-x: hidden;
}

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

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

h1, h2, h3
{
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-weight: 900;
	line-height: 1.2;
	font-style: italic;
	font-size: 4.4em;
}

h2
{
	font-size: 2.7em;
	color: var(--theme);
}

h3
{
	font-size: 1.8em;
	letter-spacing: 0;
	text-transform: none;
	color: var(--darkgrey);
	font-weight: 700;
}

.text.big p, .text.big ul, .text.big + .text.withButton p
{
	font-size: 1.2em;
}

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

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

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

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

#header
{
	position: fixed;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 1000;
	background-color: var(--theme);
}

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

#navigation ul
{
	text-align: right;
}

#navigation ul li
{
	display: inline-block;
	margin-left: 40px;
	padding: 14px 0px;
	text-transform: uppercase;
	font-style: italic;
	letter-spacing: 0.02em;
}

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

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

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

#logoLink
{
	position: absolute;
	height: 220%;
	display: block;
	padding: 8px 0px;
	filter: drop-shadow(0px 0px 20px rgba(0,0,0,0.1));
}

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

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

#logo
{
	position: relative;
	height: 100%;
	display: block;
	z-index: 10;
}

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

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

#openerContent
{
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 150px;
	z-index: 200;
	color: #fff;
	text-shadow: 0px 0px 50px rgba(0,0,0,0.5);
}

.text
{
	margin: 100px 0px;
}

strong
{
	font-weight: 700;
}

#openerContent h1
{
	animation-name: showHeadline;
	animation-duration: 3s;
	animation-fill-mode: forwards;
	opacity: 0;
	position: relative;
}

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

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

.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;
	border-bottom: none!important;
	font-style: italic;
	letter-spacing: 0.02em;
	background-color: var(--theme);
	transition: all 0.2s;
	padding: 0.65em 1.2em;
	text-decoration: none;
	font-weight: 500;
	border-radius: 0.3em;
}

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

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

#down:after
{
	content: "";
	position: absolute;
	width: 15px;
	height: 15px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	left: 50%;
	transform: translateX(-50%) rotate(-45deg);
	bottom: 1px;
}

.inline
{
	width: 100%;
	margin-bottom: -10px!important;
	position: relative;
	z-index: 10;
	border-radius: 0.3em;
}

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

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

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

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

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

.benefitInner
{
	width: calc(100% - 60px);
	padding-left: 20px;
	padding-top: 18px;
}

.tick
{
	width: 60px;
	height: 60px;
	background-image: url(icon.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.imgFlex
{
	display: flex;
}

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

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

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

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

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

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

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

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

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

.text p a, .text ul a, form a, #cookieNotice a
{
	color: var(--theme);
	text-decoration: none;
	border-bottom: 1px solid 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
{
	padding: 39px 0px 40px 0px;
	background-color: rgba(0,0,0,0.75);
	font-size: 0.85em;
	color: #fff;
}

#footerList
{
	text-align: right;
	position: relative;
}

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

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

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

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

#socialMedia
{
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 800;
	border-bottom: 1px solid #fff;
}

.socialItem
{
	display: block;
	color: #fff;
	text-decoration: none;
	position: relative;
	border-top: 1px solid #fff;
}

.socialIcon
{
	display: block;
	width: 45px;
	height: 45px;
	background-size: 38%;
	background-position: center;
	background-repeat: no-repeat;
	background-color: var(--theme);
	transition: all 0.2s;
	position: relative;
	z-index: 100;
	border-left: 1px solid #fff;
}

#phone
{
	background-size: 33%;
}

.socialItem:hover .socialIcon
{
	background-color: var(--darktheme);
}

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

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

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

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

.socialDescription
{
	position: absolute;
	display: flex;
	align-items: center;
	white-space: nowrap;
	right: -200px;
	background-color: var(--theme);
	color: #fff;
	padding: 0em 1.2em;
	top: 0;
	height: 100%;
	font-size: 0.85em;
	transition: all 0.2s;
	z-index: 0;
	opacity: 0;
}

.socialItem:hover .socialDescription
{
	background-color: var(--darktheme);
	right: 45px;
	opacity: 1;
}

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

#cookieBox
{
	padding: 31px 40px 40px 40px;
	max-height: calc(100vh - 80px);
	max-width: 400px;
	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;
}

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

.grey + .grey
{
	padding-top: 0;
	margin-top: -100px;
}

#formBox
{
	padding: 50px 60px 60px 60px;
	background-color: #fff;
	margin-top: -145px;
}

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

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

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

form label
{
	font-family: 'Chivo';
	color: var(--dark);
	font-weight: 700;
	display: block;
	margin-bottom: 0.1em;
}

input[type = "text"], input[type = "email"], textarea, button, select
{
	-webkit-appearance: none;
   	-moz-appearance: none;
   	appearance: none;
   	border-radius: 0px;
   	font-size: 1em;
   	width: 100%;
   	border: none;
   	font-family: 'Chivo';
   	line-height: 1.6;
   	color: var(--dark);
   	font-weight: 300;
   	background-color: transparent;
}

input, textarea, select
{
	color: var(--dark);
	margin-bottom: 1.1em;
	transition: border-color 0.2s;
}

select
{
	cursor: pointer;
	background-image: url(down.svg);
	background-size: 0.55em;
	background-repeat: no-repeat;
	background-position: center right 1.2em;
}

input[type = "text"], input[type = "email"], textarea, select
{
	border: 1px solid rgba(0,0,0,0.12);
	padding: 0.5em 1.2em;
	background-color: #fff;
}

input:focus, textarea:focus, select: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: 500;
	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.4em;
	margin-left: 40px;
}

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

.checkbox input
{
	position: absolute;
	left: 0px;
	top: 0.57em;
	cursor: pointer;
}

#yform-formular-nachricht, #yform-formular-accept, #yform-formular-anrede, .alert
{
	width: 100%;
}

button
{
	display: inline-block;
	line-height: 1.3;
	text-align: center;
	color: #fff!important;
	border-bottom: none!important;
	font-style: italic;
	letter-spacing: 0.02em;
	background-color: var(--theme);
	transition: all 0.2s;
	padding: 0.65em 1.2em;
	text-decoration: none;
	font-weight: 500;
	width: auto;
	margin-left: 40px;
	margin-top: 1.15em;
	cursor: pointer;
	border-radius: 0.3em;
}

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

.divider
{
	width: 100%;
	height: 4px;
	background-color: var(--light);
}

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

@media all and (max-width: 500px){
	.wrap
	{
		padding: 0px 20px;
	}

	#navOpener
	{
		right: 20px!important;
	}

	#navigation ul
	{
		padding-right: 20px!important;
	}

	#logoLink
	{
		height: 135%!important;
		padding: 5px 0px;
	}

	#logoLink:after
	{
		width: 80px!important;
		left: calc(100% - 30px);
	}
}

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

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

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

	.text.big p, .text.big ul, .text.big + .text.withButton p
	{
		font-size: 1em!important;
	}

	#opener
	{
		height: 65vh;
	}

	.benefit
	{
		width: calc(100% - 40px);
		margin-bottom: 25px;
	}

	.benefits
	{
		margin-bottom: -25px;
	}

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

	#footerList
	{
		text-align: left;
	}

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

	.imgFlex
	{
		display: block;
	}

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

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

	.textBox:before
	{
		width: 100%;
		border-radius: 0 0 0.3em 0.3em;
	}
}

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

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

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

	#logoLink
	{
		z-index: 1200;
	}

	#header .wrap
	{
		height: 50px;
	}

	#navOpener
	{
		position: absolute;
		width: 26px;
		height: 18px;
		cursor: pointer;
		top: 50%;
		transform: translateY(-50%);
		right: 40px;
		z-index: 1200;
	}

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

	#logoLink
	{
		height: 175%;
		padding: 5px 0px;
	}

	#logoLink:before
	{
		right: 30px;
	}

	#logoLink:after
	{
		width: 110px;
		left: calc(100% - 30px);
	}

	h1
	{
		font-size: 3.6em;
	}

	h2
	{
		font-size: 2.2em;
	}

	h3
	{
		font-size: 1.6em;
	}

	.text.big p, .text.big ul, .text.big + .text.withButton p
	{
		font-size: 1.15em;
	}

	#openerContent
	{
		bottom: 90px;
	}

	#down
	{
		height: 20px;
		bottom: 45px;
	}

	#down:after
	{
		width: 12px;
		height: 12px;
	}

	#opener
	{
		min-height: 350px;
	}

	.text
	{
		margin: 60px 0px;
	}

	.grey
	{
		padding: 60px 0px;
	}

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

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

	.withImg + .grey:before
	{
		height: 90px;
	}

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

	.benefitInner
	{
		width: calc(100% - 50px);
		padding-left: 20px;
		padding-top: 13px;
	}

	.tick
	{
		width: 50px;
		height: 50px;
	}

	#footer
	{
		padding: 25px 0px;
	}

	.socialIcon
	{
		width: 40px;
		height: 40px;
	}

	.socialItem:hover .socialDescription
	{
		right: 40px;
	}

	.textBox
	{
		padding: 30px 40px;
	}

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

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

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

	#formBox
	{
		padding: 30px 40px 40px 40px;
		margin-top: -80px;
	}

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

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