:root 
{
	--theme: #fffa50;
	--darktheme: #eace00;
	--light: #f2f2f2;
	--dark: #03161c;
}

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

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

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

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

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

/*#header .wrap
{
	max-width: 1350px;
}*/

h1, h2, h3
{
	font-weight: 900;
	line-height: 1.15;
	font-size: 5em;
}

h2, h3
{
	line-height: 1.25;
}

h3
{
	line-height: 1.4;
}

h2
{
	font-size: 3em;
}

h3
{
	font-size: 1.8em;
}

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

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

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

#intro p
{
	font-size: 1.4em;
}

#header
{
	position: fixed;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 1000;
	transition: all 0.2s;
}

#header.scrolled
{
	background-color: #fff;
}

#navigation ul
{
	text-align: right;
}

#navigation ul li
{
	display: inline-block;
	margin-left: 35px;
	padding: 40px 0px;
}

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

#navigation ul li a:before
{
	content: "";
	position: absolute;
	width: 0em;
	height: 1.8em;
	left: -0.6em;
	top: 50%;
	transform: translateY(-50%);
	background-color: var(--theme);
	z-index: -1;
	transition: all 0.4s;
	opacity: 0;
}

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

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

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

.grey
{
	padding: 100px 0px;
	position: relative;
	margin: 0px!important;
}

.withForm
{
	padding-bottom: 100px;
	background-color: var(--light);
}

.grey + .grey
{
	padding-top: 0;
	margin-top: -50px!important;
}

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

#header + .grey
{
	padding-top: 180px;
}

.colored
{
	padding: 100px 0px;
	background-color: var(--theme);
	margin: 0px!important;
}

.text
{
	margin: 100px 0px;
}

.text.withButton p a, .text .buttonArea p a, .buttonArea p a, #accepted
{
	color: var(--dark)!important;
	display: inline-block;
	text-decoration: none;
	border-bottom: none!important;
	line-height: 1.4;
	font-weight: 700;
	position: relative;
	padding: 0.63em 1em 0.6em;
	background-color: transparent!important;
}

.text.withButton p a:before, .text .buttonArea p a:before, .buttonArea p a:before, #accepted:before
{
	content: "";
	position: absolute;
	height: 100%;
	width: 3.5em;
	background-color: var(--theme);
	top: 50%;
	transform: translateY(-50%);
	z-index: -1;
	left: 0;
	transition: all 0.2s;
}

.text.withButton p a:hover:before, .text .buttonArea p a:hover:before, .buttonArea p a:hover:before, #accepted:hover:before
{
	width: 100%;
}

strong
{
	font-weight: 700;
}

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

.buttonArea
{
	margin-top: 30px;
}

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

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

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

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

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

.contentFlexItem
{
	width: calc(50% - 40px);
	margin-left: 40px;
	margin-bottom: 40px;
	background-color: var(--light);
}

.contentFlexBox
{
	padding: 30px 40px;
}

.contentFlexImg
{
	padding-bottom: 75%;
	background-size: cover;
	background-position: center;
}

.accordeons
{
	margin-top: -60px;
}

.accordeonOpener
{
	font-weight: 700;
	padding-left: 60px;
	cursor: pointer;
	position: relative;
	color: var(--dark)!important;
	display: inline-block;
	text-decoration: none;
	border-bottom: none!important;
	line-height: 1.4;
	font-weight: 700;
	position: relative;
	text-decoration: none;
}

.accordeonOpener:before
{
	content: "";
	position: absolute;
	width: 40px;
	height: 40px;
	border-radius: 1000px;
	background-color: var(--theme);
	left: 0;
	top: -0.42em;
	background-image: url(add.svg);
	background-size: 33%;
	background-position: center;
	background-repeat: no-repeat;
	transition: all 0.2s;
}

.accordeonOpener:hover:before
{
	transform: scale(1.18);
}

.accordeonOpener.active:hover:before, .accordeonOpener.active:before
{
	transform: scale(1.18) rotate(-45deg);
}

.accordeon + .accordeon
{
	margin-top: 35px;
}

.accordeonContent
{
	padding: 0.6em 1em;
	background-color: var(--light);
	display: none;
	margin-top: 0.4em;
	margin-left: 60px;
	width: calc(100% - 60px);
}

.accordeonOpener.active + .accordeonContent
{
	display: block;
}

#headerSpace
{
	position: absolute;
	height: 135px;
}

.text p a, .text ul a, .text h3 a, form a, #cookieNotice a
{
	color: var(--dark);
	background-color: var(--theme);
	text-decoration: none;
	transition: all 0.2s;
	border-bottom: 0.1em solid transparent;
}

.text p a:hover, .text ul a:hover, .text h3 a:hover, form a:hover, #cookieNotice a:hover
{
	border-bottom: 0.1em solid var(--dark);
}

#footer
{
	padding: 45px 0px;
	background-color: var(--dark);
	color: #fff;
	font-size: 0.85em;
}

#heart
{
	padding: 20px 0px;
	background-color: var(--dark);
	border-top: 1px solid rgba(255,255,255,0.2);
	text-align: center;
	font-size: 0.85em;
	color: #fff;
}

#navigation ul li ul
{
	display: none;
}

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

#footerList 
{
	text-align: right;
}

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

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

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

#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: 999999999;
	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;
	z-index: 10;
}

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

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

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

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

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

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

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

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

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

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

.alert.alert-danger ul:before
{
	content: "Folgende Fehler sind aufgetreten. Bitte überprüfe deine Eingaben.";
	font-weight: 700;
	color: red;
	display: block;
}

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

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

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

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

.checkbox label
{
	font-family: 'Sora';
	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-interesse, .alert
{
	width: 100%;
}

form button
{
	color: var(--dark)!important;
	display: inline-block;
	text-decoration: none;
	border-bottom: none!important;
	line-height: 1.4;
	font-weight: 700;
	position: relative;
	padding: 0.62em 1em 0.6em;
	background-color: transparent!important;
	width: auto;
	cursor: pointer;
	margin-left: 40px;
	margin-top: 1.1em;
}

form button:before
{
	content: "";
	position: absolute;
	height: 100%;
	width: 3.5em;
	background-color: var(--theme);
	top: 50%;
	transform: translateY(-50%);
	z-index: -1;
	left: 0;
	transition: all 0.2s;
}

form button:hover:before
{
	width: 100%;
}

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

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

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

.imgFlexItem
{
	margin-left: 60px;
}

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

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

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

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

.textBox
{
	margin-top: 55px;
}

.references
{
	display: flex;
	flex-wrap: wrap;
	padding-left: 1px;
}

.reference
{
	width: 33.3%;
	border: 1px solid var(--light);
	text-align: center;
	margin-left: -1px;
	margin-bottom: -1px;
	padding: 42px 40px 33px 40px;
	color: var(--dark);
	font-weight: 700;
	text-decoration: none;
	line-height: 1.5;
	position: relative;
}

.reference:after, .slide:after
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 10;
	background-color: var(--theme);
	opacity: 0;
	transition: all 0.2s;
}

.reference:hover:after, .slide:hover:after
{
	opacity: 0.3;
}

.referenceTitle
{
	position: relative;
	z-index: 100;
}

.referenceImg
{
	padding-bottom: 50%;
	background-size: 108% auto;
	background-position: center;
	margin-bottom: 30px;
	transition: all 0.2s;
}

.reference:hover .referenceImg
{
	transform: scale(1.08);
}

.slide
{
	width: 700px;
	border: 1px solid var(--light);
	text-align: center;
	margin-left: -1px;
	padding: 42px 40px 33px 40px;
	color: var(--dark);
	font-weight: 700;
	text-decoration: none;
	line-height: 1.5;
	position: relative;
}

.slide:hover .referenceImg
{
	transform: scale(1.05);
}

.chat-trigger svg
{
	stroke: var(--dark)!important;
}

.chat-trigger
{
	box-shadow: 0px 0px 40px rgba(0,0,0,0.2)!important;
}

#rex-chatbot-container
{
	z-index: 1500!important;
}

.btn-accept, .chat-close, .chat-input-area button, .msg.user, .msg-buttons-container .msg a.msg-btn
{
	color: var(--dark)!important;
}

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

.box
{
	width: calc(50% - 40px);
	margin-left: 40px;
	margin-bottom: 40px;
	padding: 30px 40px;
	padding-bottom: 110px;
	background-color: #fff;
	box-shadow: 0px 0px 60px rgba(0,0,0,0.12);
	color: var(--dark);
	text-decoration: none;
	transition: all 0.2s;
	position: relative;
}

.box:hover
{
	transform: scale(1.02);
	box-shadow: 0px 0px 60px rgba(0,0,0,0.16);
}

.more
{
	position: absolute;
	width: 40px;
	height: 40px;
	background-color: var(--theme);
	right: 40px;
	bottom: 40px;
	border-radius: 1000px;
	background-image: url(right.svg);
	background-size: 40%;
	background-position: center;
	background-repeat: no-repeat;
}

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

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

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

.tick
{
	width: 40px;
	height: 40px;
	background-color: var(--theme);
	border-radius: 1000px;
	background-image: url(check.svg);
	background-size: 47%;
	background-position: center;
	background-repeat: no-repeat;
	margin-top: -4px;
}

form
{
	position: relative;
	z-index: 10;
}

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

@media all and (max-width: 500px){
	.reference
	{
		width: 100%!important;
	}

	h2
	{
		hyphens: auto;
		-webkit-hyphens: auto;
	}
}

@media all and (max-width: 650px){
	.imgFlex
	{
		display: block;
		margin-left: 0!important;
	}

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

	.accordeonContent
	{
		margin-top: 1.2em;
		margin-left: 0px;
		width: 100%
	}

}

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

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

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

	.wrap
	{
		padding: 0px 25px;
	}

	#navOpener
	{
		right: 25px!important;
	}

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

	#intro p
	{
		font-size: 1em!important;
	}

	.contentFlexItem
	{
		width: calc(100% - 40px);
	}

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

	form div
	{
		width: 100%;
	}

	textarea
	{
		height: 10em;
	}

	.slide
	{
		width: 320px!important;
		padding: 32px 25px 25px 25px;
	}

	.slide .referenceImg
	{
		margin-bottom: 20px;
	}

	.box, .benefit
	{
		width: calc(100% - 40px);
	}

	.benefit
	{
		margin-bottom: 20px;
	}

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

@media all and (max-width: 850px){
	#copy
	{
		position: relative;
		display: block;
		margin-bottom: 5px;
	}

	#footerList
	{
		text-align: left;
	}

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

@media all and (max-width: 1220px){
	#header
	{
		z-index: 99999999;
	}

	#navigation
	{
		display: none;
		position: fixed;
		width: 100%;
		left: 0;
		top: 90px;
		max-height: calc(100vh - 90px);
		overflow: auto;
		background-color: var(--light);
		transition: background-color 0.2s;
		border-bottom: 1px solid var(--light);
		z-index: 99999999;
	}

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

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

	#header.scrolled #navigation
	{
		background-color: #fff;
	}

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

	#logo
	{
		padding: 23px 0px;
	}

	.text
	{
		margin: 60px 0px;
	}

	.colored, .grey
	{
		padding: 60px 0px;
	}

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

	.buttonArea
	{
		margin-top: 25px;
	}

	.dividerImg
	{
		padding: 120px 0px;
	}

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

	#footer
	{
		padding: 35px 0px;
	}

	#header + .grey
	{
		padding-top: 118px;
	}

	h1
	{
		font-size: 3.3em;
	}

	h2
	{
		font-size: 2.4em;
	}

	h3
	{
		font-size: 1.6em;
	}

	#intro p
	{
		font-size: 1.2em;
	}

	#headerSpace
	{
		height: 100px;
	}

	#form
	{
		padding-top: 125px;
		margin-top: -220px;
	}

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

	.imgFlexItem
	{
		margin-left: 40px;
	}

	.textBox
	{
		margin-top: 35px;
	}

	.reference
	{
		width: 50%;
	}

	.slide
	{
		width: 500px;
	}

	#heart
	{
		padding: 16px 0px;
	}

	.grey + .grey
	{
		padding-top: 0;
		margin-top: -30px!important;
	}

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

	.withForm
	{
		padding-bottom: 60px;
	}
}

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

@media all and (min-width: 1400px){
	.slide
	{
		width: 800px!important;
	}
}