:root 
{
	--red: #e60136;
	--blue: #030046;
	--light: #f7f8ff;
	--mid: #e1e6f0;
	--dark: #2d3748;
}

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

body 
{
	font-size: 1.2em;
	color: var(--dark);
	font-family: 'Titillium Web';
	font-weight: 300;
	line-height: 1.55;
	overflow-x: hidden;
}

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

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

h1, h2, h3
{
	line-height: 1.28;
	font-weight: 500;
}

h1
{
	font-size: 3.6em;
}

h2, h3
{
	line-height: 1.35;
	font-size: 2.4em;
	color: var(--blue);
}

h3
{
	font-size: 1.2em;
}

h1 strong, h2 strong
{
	font-weight: 500;
	color: var(--red);
}

h1 + p, h1 + ul
{
	font-size: 1.3em;
	margin-top: 1em;
}

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

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

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

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

#header
{
	position: sticky;
	position: -webkit-sticky;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 1000;
	background-color: #fff;
}

#header .wrap
{
	height: 90px;
}

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

#opener
{
	display: flex;
	align-items: center;
	min-height: calc(100vh - 90px);
	background-color: var(--blue);
	color: #fff;
	position: relative;
}

#openerContent
{
	position: relative;
	width: 100%;
	padding: 100px 0px;
}

#openerImg
{
	position: absolute;
	width: 60%;
	height: 100%;
	right: 0;
	top: 0;
	z-index: 0;
	background-size: cover;
	background-position: center left;
}

#openerImg:after
{
	content: "";
	position: absolute;
	width: 50%;
	height: 100%;
	left: 0;
	top: 0;
	background: linear-gradient(90deg,rgba(3,0,70,1) 0%, rgba(3,0,70,0) 100%);
}

#openerInner
{
	width: 50%;
	padding-right: 0px;
}

.text.withButton p a, .text .buttonArea p a, .buttonArea p a
{
	display: inline-block;
	line-height: 1.4;
	text-align: center;
	color: #fff!important;
	border-bottom: 0!important;
	background-color: var(--red);
	text-decoration: none;
	padding: 0.85em 1.6em;
	font-weight: 500;
	border-radius: 0.7em;
	transition: all 0.2s;
}

.text
{
	margin: 100px 0px;
}

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

#opener .buttonArea p a:hover
{
	background-color: rgba(255,255,255,0.15);
}

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

.buttonArea
{
	margin-top: 25px;
}

#opener .buttonArea
{
	margin-top: 30px;
}

.small
{
	font-size: 0.85em;
}

strong
{
	font-weight: 700;
}

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

.box
{
	width: calc(33.3% - 40px);
	margin-left: 40px;
	margin-bottom: 40px;
	padding: 30px 40px;
	box-shadow: 0px 0px 40px 5px var(--mid);
}

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

.linkBox
{
	width: calc(50% - 40px);
	margin-left: 40px;
	margin-bottom: 40px;
	padding: 40px 40px;
	box-shadow: 0px 0px 40px 5px var(--mid);
	color: var(--dark);
	text-decoration: none;
	font-size: 1.3em;
	text-align: center;
	transition: all 0.2s;
}

.linkBox:hover
{
	background-color: var(--mid);
	transform: scale(1.06);
}

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

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

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

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

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

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

.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.6em;
	background-color: var(--red);
}

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

.dividerImg:after
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background: linear-gradient(90deg,rgba(3,0,70,1) 0%, rgba(3,0,70,0) 60%);
}

.dividerImg .wrap
{
	position: relative;
	z-index: 100;
}

.dividerImg h2
{
	color: #fff;
}

#footer
{
	padding: 35px 0px;
	background-color: var(--blue);
	color: #fff;
	border-top: 1px solid rgba(255,255,255,0.2);
	font-size: 0.85em;
}

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

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

#footerList
{
	text-align: right;
}

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

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

#step
{
	padding: 18px 0px;
	background-color: var(--blue);
	font-size: 0.85em;
	color: #fff;
}

#header + .text
{
	margin-top: 55px;
}

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

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

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

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

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

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

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

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

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

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

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: var(--red);
}

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

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

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

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

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

form button
{
	display: inline-block;
	line-height: 1.4;
	text-align: center;
	color: #fff!important;
	border-bottom: 0!important;
	background-color: var(--red);
	text-decoration: none;
	padding: 0.85em 1.6em;
	font-weight: 500;
	border-radius: 0.7em;
	transition: all 0.2s;
	width: auto;
	cursor: pointer;
	margin-left: 40px;
	margin-top: 1.4em;
}

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

@media all and (max-width: 750px){
	#openerInner
	{
		width: 100%!important;
	}

	#openerImg
	{
		position: relative;
		width: 100%!important;
		padding-bottom: 50%;
		height: auto;
	}

	#openerImg:after
	{
		opacity: 0;
	}

	#opener
	{
		display: block;
		min-height: auto;
	}

	.box, .linkBox
	{
		width: calc(100% - 40px)!important;
		margin-bottom: 20px;
	}

	.linkBoxes, .boxes
	{
		margin-bottom: -20px;
	}

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

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

	.textBox
	{
		margin-top: 35px;
	}

	.dividerImg:after
	{
		background: linear-gradient(90deg,rgba(3,0,70,1) 0%, rgba(3,0,70,0.15) 80%)!important;
	}

	#copy
	{
		position: relative;
		display: block;
	}

	#footerList
	{
		text-align: left;
	}

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

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

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

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

	h1 + p, h1 + ul, .linkBox
	{
		font-size: 1em!important;
	}

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

	#step
	{
		padding: 14px 0px!important;
	}
}

@media all and (max-width: 1000px){
	#openerInner
	{
		width: 70%;
	}

	#openerImg
	{
		width: 50%;
	}

	#header .wrap
	{
		height: 80px;
	}

	#logo
	{
		padding: 24px 0px;
	}

	.text
	{
		margin: 60px 0px;
	}

	.colored
	{
		padding: 60px 0px;
	}

	#openerContent
	{
		padding: 60px 0px;
	}

	#opener
	{
		min-height: calc(100vh - 60px);
	}

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

	.dividerImg
	{
		padding: 120px 0px;
	}

	#footer
	{
		padding: 25px 0px;
	}

	h1
	{
		font-size: 2.8em;
	}

	h2
	{
		font-size: 1.8em;
	}

	h3
	{
		font-size: 1.15em;
	}

	h1 + p, h1 + ul, .linkBox
	{
		font-size: 1.2em;
	}

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

	.dividerImg:after
	{
		background: linear-gradient(90deg,rgba(3,0,70,1) 0%, rgba(3,0,70,0) 70%);
	}

	.boxes, .linkBoxes
	{
		margin-top: -20px;
	}

	#step
	{
		padding: 16px 0px;
	}

	#header + .text
	{
		margin-top: 25px;
	}

	#form
	{
		padding-top: 110px;
		margin-top: -140px;
	}
}