:root 
{
	--dark: #173040;
	--hellblau: #05A8D0;
	--dunkelblau: #115878;
}

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

body 
{
	font-size: 1.2em;
	color: var(--dark);
	font-family: 'Assistant', sans-serif;
	font-weight: 300;
	line-height: 1.8;
	overflow-x: hidden;
}

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

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

h1, h2 ,h3
{
	font-family: 'Michroma', sans-serif;
	font-size: 2.4em;
	line-height: 1.65;
	color: var(--hellblau);
	letter-spacing: 0.02em;
}

h2
{
	font-size: 1.6em;
	line-height: 1.6;
}

h3
{
	font-size: 1.3em;
	color: var(--dunkelblau);
	line-height: 1.68;
}

h1 + h3
{
	margin-top: 1em;
}

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

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

#header
{
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	background-color: #fff;
	z-index: 100000;
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

#navigation ul
{
	text-align: right;
}

#navigation ul li
{
	display: inline-block;
	margin-left: 40px;
	font-family: 'Michroma', sans-serif;
	font-size: 1rem;
	padding: 55px 0px;
	letter-spacing: 0.02em;
}

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

#navigation ul li.active a, #navigation ul li:hover a
{
	color: var(--dunkelblau);
}

#opener
{
	width: 100%;
	height: 62vh;
	position: relative;
	max-height: 740px;
}

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

#openerIcon
{
	position: absolute;
	height: calc(100% + 40px);
	right: 0;
	bottom: -40px;
	z-index: 1000;
}

.text
{
	margin: 60px 0px;
}

strong
{
	font-weight: 700;
}

.divider
{
	width: 80px;
	height: 50px;
	background-image: url(icon.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	display: block;
	margin: auto;
}

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

.buttonArea
{
	margin-top: 30px;
}

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

.text.withButton p a, .buttonArea p a
{
	font-family: 'Michroma', sans-serif;
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	color: #fff!important;
	background-color: var(--hellblau);
	display: inline-block;
	padding: 0.87em 1.9em 0.95em;
	text-decoration: none;
	transition: all 0.2s;
	border-radius: 3px 15px 15px 15px; 
	text-align: center;
	line-height: 1.58;
	border-bottom: none!important;
}

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

#pageEnd
{
	padding: 100px 0px 120px;
	color: #fff;
	position: relative;
}

#pageEnd:after
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-color: var(--hellblau);
	opacity: 0.3;
}

#pageEnd .wrap
{
	position: relative;
	z-index: 20;
}

#pageEnd h2, #pageEnd h3
{
	color: #fff;
}

#pageEnd .text.withButton p a
{
	background-color: var(--dunkelblau);
}

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

#pageEnd .text:first-child
{
	margin-top: 0;
}

#pageEnd .text:last-child
{
	margin-bottom: 0;
}

#footerFlex
{
	display: flex;
	justify-content: center;
	align-items: center;
	margin-left: -40px;
}

.footerFlexItem
{
	margin-left: 40px;
}

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

#footerLogo
{
	width: 200px;
}

#footer
{
	padding: 60px 0px;
}

#footerList li
{
	list-style: none;
}

#footerList li a
{
	color: var(--hellblau);
	text-decoration: none;
	border-bottom: 1px dashed transparent;
	transition: all 0.2s;
}

#footerList li a:hover
{
	color: var(--dunkelblau);
	border-bottom: 1px solid var(--dunkelblau);
}

#copy
{
	font-family: 'Michroma', sans-serif;
	font-size: 1rem;
	letter-spacing: 0.02em;
	color: var(--hellblau);
	display: block;
	margin-bottom: 5px;
}

#social
{
	position: fixed;
	left: 0;
	top: 55%;
	transform: translateY(-50%);
	background-color: var(--hellblau);
	z-index: 100000;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	border-radius: 0px 15px 15px 0px;
}

#social .socialItem:first-child, #social .socialItem:first-child .socialIcon
{
	border-top: none;
	border-radius: 0px 15px 0px 0px;
}

#social .socialItem:last-child, #social .socialItem:last-child .socialIcon
{
	border-radius: 0px 0px 15px 0px;
}

.socialItem
{
	width: 55px;
	height: 55px;
	background-color: var(--hellblau);
	display: block;
	position: relative;
	border-top: 2px solid #fff;
	color: #fff;
	text-decoration: none;
}

.socialIcon
{
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-color: var(--hellblau);
	background-size: 40%;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 100;
	transition: all 0.2s;
}

.socialDescription
{
	position: absolute;
	height: 100%;
	background-color: var(--hellblau);
	color: #fff;
	white-space: nowrap;
	top: 0;
	left: -300px;
	display: flex;
	align-items: center;
	font-family: 'Michroma', sans-serif;
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	padding: 0px 20px 0px 10px;
	transition: all 0.2s;
}

.socialItem:hover .socialDescription
{
	left: 55px;
	background-color: var(--dunkelblau);
}

.socialItem:hover .socialIcon
{
	background-color: var(--dunkelblau);
	background-size: 45%;
	border-radius: 0 0 0 0!important;
}

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

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

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

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

.inline
{
	width: 100%;
	margin-bottom: -9px!important;
	border-radius: 15px;
}

.twentytwenty-container
{
	border-radius: 15px;
}

.twentytwenty-container img
{
	width: 100%;
}

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

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

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

.textBox
{
	margin-top: 60px;
	margin-left: -80px;
	padding: 30px 0px  30px 40px;
	background-color: #fff;
	position: relative;
	z-index: 10;
	border-radius: 15px 0px 0px 0px;
	box-shadow: -5px -5px 5px rgba(0,0,0,0.05);
	min-height: calc(100% - 60px);
}

.imgFlex.right .textBox
{
	margin-left: auto;
	margin-right: -80px;
	padding: 30px 40px  30px 0px;
	border-radius: 0px 15px 0px 0px;
	box-shadow: 5px -5px 5px rgba(0,0,0,0.05);
}

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

.text ul li:before
{
	content: "";
	position: absolute;
	width: 0.45em;
	height: 0.45em;
	left: 0;
	top: 0.71em;
	border-radius: 100px;
	background-color: var(--dark);
}

#cookieNotice
{
	position: fixed;
	width: 100%;
	padding: 20px 0px;
	background-color: #fff;
	left: 0;
	bottom: 0;
	z-index: 100000;
	font-size: 0.85em;
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

#cookieSpace
{
	position: absolute;
	height: 40px;
	z-index: -10;
}

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

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

#cookieCheckboxes
{
	display: flex;
	flex-wrap: wrap;
	margin-top: 0.8em;
	margin-bottom: 0.8em;
}

#cookieCheckboxes label
{
	position: relative;
	margin-right: 1.8em;
	padding-left: 1.25em;
	cursor: pointer;
}

#cookieCheckboxes input
{
	position: absolute;
	left: 0;
	top: 51.8%;
	transform: translateY(-50%);
}

#accepted
{
	font-family: 'Michroma', sans-serif;
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	color: var(--hellblau);
	transition: all 0.2s;
	cursor: pointer;
	float: right;
	line-height: 1.6;
}

#accepted:hover
{
	color: var(--dunkelblau);
}

#form
{
	max-width: 750px;
	position: relative;
	padding-top: 190px;
	margin-top: -190px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

form label
{
	font-family: 'Michroma', sans-serif;
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	color: var(--hellblau);
	line-height: 1.65;
	display: block;
	margin-bottom: 0.5em;
}

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: 'Assistant', sans-serif;
   	line-height: 1.6;
   	color: var(--dark);
   	font-weight: 300;
}

input, textarea
{
	color: var(--dark);
}

input[type = "text"], input[type = "email"], textarea
{
	border: 1px solid rgba(0,0,0,0.15);
	padding: 0.4em 0.8em;
}

input, textarea
{
	margin-bottom: 1em;
	transition: border-color 0.2s;
	border-radius: 3px!important;
}

input:focus, textarea:focus
{
	border-color: var(--hellblau);
}

textarea
{
	height: 12em;
	resize: none;
}

.alert.alert-danger ul:before
{
	content: "Folgende Fehler sind aufgetreten. Bitte überprüfen Sie Ihre Eingaben.";
	font-family: 'Michroma', sans-serif;
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	line-height: 1.7;
	color: red;
	display: block;
	margin-bottom: 0.4em;
}

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

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

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

.checkbox
{
	position: relative;
	padding-left: 1.2em;
}

.checkbox label
{
	font-family: 'Assistant', sans-serif;
	color: var(--dark);
	line-height: 1.6;
	font-weight: 300;
	cursor: pointer;
	text-transform: none;
	font-size: 1em;
}

.checkbox input
{
	position: absolute;
	left: 0px;
	top: 0.82em;
	cursor: pointer;
	border-radius: 0;
}

button
{
	font-family: 'Michroma', sans-serif;
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	color: #fff!important;
	background-color: var(--hellblau);
	display: inline-block;
	padding: 0.87em 1.9em 0.95em;
	text-decoration: none;
	transition: all 0.2s;
	border-radius: 3px 15px 15px 15px; 
	text-align: center;
	line-height: 1.58;
	border-bottom: none!important;
	width: auto;
	cursor: pointer;
	margin-top: 1em;
}

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

@media all and (max-width: 480px){
	#opener
	{
		max-height: 250px!important;
	}
}

@media all and (max-width: 560px){
	html
	{
		overflow-x: hidden;
	}

	#openerIcon
	{
		right: -80px;
	}

	#header
	{
		position: fixed;
	}

	#opener
	{
		margin-top: 85px;
	}

	textarea
	{
		height: 10em;
	}
}

@media all and (max-width: 580px){
	#footerFlex
	{
		display: block;
		margin-left: 0;
	}

	.footerFlexItem
	{
		margin-left: 0;
		width: 100%;
		text-align: center;
	}

	#footerFlex .footerFlexItem:nth-child(2)
	{
		padding-left: 0;
		border-left: none;
	}

	#footerLogo
	{
		width: 160px!important;
		margin-bottom: 20px;
	}

	#footer
	{
		padding-bottom: 30px!important;
	}
}

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

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

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

	#openerIcon
	{
		height: calc(100% + 25px)!important;
		bottom: -10px!important;
	}

	.socialItem
	{
		width: 40px!important;
		height: 40px!important;
	}

	.socialItem:hover .socialDescription
	{
		left: 40px!important;
	}

	#navigation ul li
	{
		font-size: 0.9rem;
	}
}

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

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

	.textBox
	{
		margin-top: 25px!important;
		margin-left: 0!important;
		padding: 0!important;
		margin-right: 0!important;
		box-shadow: none!important;
		border-radius: none!important;
	}

	.textBox h2, .textBox h3
	{
		margin-top: 0;
		margin-left: 0;
		padding: 0;
	}

	#opener
	{
		height: 42vh!important;
		min-height: 220px;
		max-height: 280px;
	}

	#social
	{
		top: 52%;
	}

	.text.withButton p a, .buttonArea p a, button
	{
		border-radius: 3px 12px 12px 12px; 
	}

	.inline
	{
		border-radius: 10px;
	}

	.textBox
	{
		border-radius: 0px 0px 0px 0px;
	}

	.imgFlex.right .textBox
	{
		border-radius: 0px 0px 0px 0px;
	}

	.twentytwenty-container
	{
		border-radius: 10px;
	}

	#social
	{
		border-radius: 0px 10px 10px 0px;
	}

	#social .socialItem:first-child, #social .socialItem:first-child .socialIcon
	{
		border-radius: 0px 10px 0px 0px;
	}

	#social .socialItem:last-child, #social .socialItem:last-child .socialIcon
	{
		border-radius: 0px 0px 10px 0px;
	}
}

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

	#navigation ul
	{
		padding-bottom: 8px;
		padding-top: 7px;
	}

	#navigation ul li
	{
		display: block;
		padding: 0 40px;
		margin-left: 0;
		margin-bottom: 10px;
		text-align: center;
	}

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

	.line
	{
		position: absolute;
		width: 100%;
		height: 2.5px;
		background-color: var(--hellblau);
		left: 50%;
		transform: translateX(-50%);
		transition: all 0.2s;
	}

	#navOpener .line:nth-child(1)
	{
		top: 0;
	}

	#navOpener .line:nth-child(2)
	{
		top: 50%;
		transform: translate(-50%, -50%);
	}

	#navOpener .line:nth-child(3)
	{
		bottom: 0;
	}

	#navOpener.active .line:nth-child(1)
	{
		top: 50%;
		transform: translate(-50%, -50%) rotate(45deg);
	}

	#navOpener.active .line:nth-child(2)
	{
		width: 0;
	}

	#navOpener.active .line:nth-child(3)
	{
		bottom: auto;
		top: 50%;
		transform: translate(-50%, -50%) rotate(-45deg);
	}

	#header .wrap
	{
		height: 85px;
	}

	#logo
	{
		padding: 15px 0px;
	}

	#opener
	{
		height: 55vh;
	}

	#openerIcon
	{
		height: calc(100% + 20px);
		bottom: -20px;
	}

	h1
	{
		font-size: 1.8em;
	}

	h2
	{
		font-size: 1.4em;
	}

	h3
	{
		font-size: 1.15em;
	}

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

	.text
	{
		margin: 40px 0px;
	}

	.buttonArea
	{
		margin-top: 20px;
	}

	.text.withButton
	{
		margin-top: -20px;
	}

	#footer
	{
		padding: 40px 0px;
	}

	#footerLogo
	{
		width: 180px;
	}

	.divider
	{
		width: 60px;
		height: 40px;
	}

	#pageEnd
	{
		padding: 70px 0px 80px;
	}

	#copy
	{
		margin-bottom: 5px;
	}

	#footerList li
	{
		margin-top: -2px;
	}

	.socialItem
	{
		width: 45px;
		height: 45px;
	}

	.socialItem:hover .socialDescription
	{
		left: 45px;
	}

	.socialDescription, .text.withButton p a, .buttonArea p a, #accepted
	{
		font-size: 0.85rem;
	}

	#copy
	{
		font-size: 0.9rem;
	}

	.wrap
	{
		padding: 0px 50px;
	}

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

	.textBox
	{
		margin-top: 40px;
		min-height: calc(100% - 40px);
	}

	#logo
	{
		left: 40px;
	}
}

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

@media all and (min-width: 1051px) and (max-width: 1150px){
	#navigation ul li
	{
		padding: 40px 0px;
		margin-left: 30px;
	}
}