:root 
{
	--theme: #9db7bc;
	--darktheme: #63979e;
	--light: #F2F9FA;
	--grey: #e4eeef;
	--dark: #101819;
}

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

body 
{
	font-size: 1.1em;
	color: var(--dark);
	font-family: 'Playfair Display';
	font-weight: 300;
	line-height: 1.65;
	overflow-x: hidden;
}

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

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

h1, h2, h3
{
	font-weight: 500;
	font-family: 'Playfair Display';
	font-size: 3.8em;
	line-height: 1.25;
	text-transform: uppercase;
}

#startScreen h2, #startScreen h3
{
	margin-top: 24px;
}

#intro h1
{
	line-height: 1.25;
}

h2, h3
{
	font-size: 2.8em;
	text-transform: none;
	line-height: 1.3;
}

h3
{
	font-size: 1.8em;
	line-height: 1.4;
}

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

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

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

.mid
{
	font-size: 0.6em;
	position: relative;
	top: 0.09em;
	font-weight: 300;
}

.small
{
	font-size: 0.5em;
	font-weight: 300;
}

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

#intro .wrap
{
	padding-right: 390px;
}

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

#header .wrap
{
	max-width: 100%;
}

#navigation ul
{
	text-align: right;
}

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

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

#navigation ul li a:before
{
	content: "";
	position: absolute;
	width: 0;
	height: calc(100% + 10px);
	top: calc(50% + 1px);
	transform: translateY(-50%);
	left: -9px;
	z-index: -1;
	background-color: var(--theme);
	border-radius: 0.5em 0.5em 0.5em 0em;
	opacity: 0;
	transition: all 0.2s;
}

#navigation ul li.active a:before, #navigation ul li a:hover:before
{
	width: calc(100% + 18px);
	opacity: 1;
}

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

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

#startScreen, #intro
{
	padding: 40px;
}

#intro
{
	padding: 5px 40px 0px;
}

#startContent, #introContent
{
	border-radius: 120px 120px 120px 0px;
	position: relative;
	text-align: center;
	min-height: calc(100vh - 80px);
	display: flex;
	align-items: center;
}

#introContent
{
	min-height: auto;
	padding: 150px 0px;
	text-align: left;
}

#startContentInner
{
	width: 100%;
	padding: 100px 0px;
}

#startContent:before, #introContent:before
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	border-radius: inherit;
	background: linear-gradient(210deg,rgba(157, 183, 188, 1) 0%, rgba(242, 249, 250, 1) 50%);
	opacity: 0.7;
}

#startLogo
{
	max-width: 400px;
	display: block;
	margin: auto;
	margin-bottom: 80px;
}

.text
{
	margin: 100px 0px;
}

.text p, .text ul, form
{
	max-width: 780px;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

.text.withButton p a, .text .buttonArea p a, .buttonArea p a, #accepted
{
	display: inline-block;
	line-height: 1.2;
	text-align: center;
	color: var(--dark)!important;
	border-bottom: none!important;
	text-decoration: none;
	padding: 0.8em 1.4em 0.9em;
	background-color: var(--theme);
	transition: all 0.2s;
	border-radius: 0.7em 0.7em 0.7em 0em;
}

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

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

.buttonArea
{
	margin-top: 30px;
}

#startScreen .buttonArea
{
	margin-top: 40px;
}

strong
{
	font-weight: 700;
}

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

#introImgContainer
{
	display: flex;
	justify-content: flex-end;
}

#introImg .inline
{
	max-width: 350px;
}

#introImg
{
	margin-top: -260px;
}

.divider
{
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg,rgba(157, 183, 188, 1) 0%, rgba(242, 249, 250, 1) 80%);
}

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

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

#footer
{
	padding: 40px 0px;
	background-color: var(--theme);
	color: var(--dark);
	font-size: 0.85em;
	text-align: center;
}

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

#footer a:hover
{
	border-bottom: 1px solid var(--dark);
}

#copy
{
	text-transform: uppercase;
	display: block;
	font-weight: 700;
	margin-bottom: 8px;
}

#footerList li
{
	display: inline-block;
}

#footerList li:before, #languageList li:before
{
	content: "|";
	margin: 0px 25px 0px 22px;
}

#footerList li:first-child:before, #languageList li:first-child:before
{
	display: none;
}

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

#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(15px);
	backdrop-filter: blur(15px);
}

#cookieBox
{
	padding: 32px 40px 40px 40px;
	max-height: calc(100vh - 80px);
	max-width: 420px;
	overflow: auto;
	display: block;
	margin: auto;
	position: relative;
	background-color: #fff;
	border-radius: 40px 40px 40px 0px;
}

#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: 53%;
	transform: translateY(-50%);
}

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

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

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

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

form label
{
	font-family: 'Playfair Display';
	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: 0.7em 0.7em 0.7em 0em;
   	font-size: 1em;
   	width: 100%;
   	border: none;
   	font-family: 'Playfair Display';
   	line-height: 1.6;
   	color: var(--dark);
   	font-weight: 300;
   	background-color: transparent;
}

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

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

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

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

.alert.alert-danger ul:before
{
	content: "Folgende Fehler sind aufgetreten. Bitte überprüfen Sie Ihre 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.6em;
	margin-left: 40px;
}

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

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

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

button
{
	display: inline-block;
	line-height: 1.2;
	text-align: center;
	color: var(--dark)!important;
	border-bottom: none;
	text-decoration: none;
	padding: 0.8em 1.4em 0.9em;
	background-color: var(--theme);
	transition: all 0.2s;
	border-radius: 0.7em 0.7em 0.7em 0em;
	width: auto;
	cursor: pointer;
	margin-left: 40px;
	margin-top: 1.3em;
}

button:hover
{
	background-color: var(--darktheme);
	color: #fff!important;
}

#languageList, #language
{
	text-align: center;
}

#languageList li
{
	display: inline-block;
}

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

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

#language
{
	padding-bottom: 51px;
}

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

@media all and (max-width: 750px){
	#startContent, #introContent
	{
		border-radius: 60px 60px 60px 0px!important;
	}

	.inline
	{
		border-radius: 25px 25px 25px 0px!important;
	}

	#introContent, #startContent
	{
		padding: 60px 0px!important;
	}

	#introImg .inline
	{
		max-width: 200px!important;
	}

	#introImg
	{
		margin-top: -35px!important;
	}

	#intro .wrap
	{
		padding-right: 40px!important;
	}

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

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

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

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

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

	#footerList li:before
	{
		display: none;
	}

	#footerList li
	{
		display: block;
		margin-top: 3px;
	}

	#startLogo
	{
		max-width: 200px!important;
		margin-bottom: 40px!important;
	}

	#startScreen h2, #startScreen h3
	{
		margin-top: 15px!important;
	}

	form div
	{
		width: 100%;
	}

	textarea
	{
		height: 10em;
	}
}

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

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

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

	#navOpener
	{
		position: absolute;
		width: 26px;
		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: 15px 0px;
	}

	#startContent, #introContent
	{
		border-radius: 80px 80px 80px 0px;
	}

	#introContent
	{
		min-height: auto;
		padding: 80px 0px;
		text-align: left;
	}

	#startContent
	{
		padding: 80px 0px;
	}

	#intro
	{
		padding: 0px 40px 0px;
	}

	h1
	{
		font-size: 2.8em;
		hyphens: auto;
	}

	h2
	{
		font-size: 2.2em;
	}

	h3
	{
		font-size: 1.6em;
	}

	.text
	{
		margin: 50px 0px;
	}

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

	#introImg .inline
	{
		max-width: 220px;
		margin-right: 20px;
	}

	#introImg
	{
		margin-top: -160px;
	}

	#intro .wrap
	{
		padding-right: 300px;
	}

	#footer
	{
		padding: 30px 0px;
	}

	#copy
	{
		margin-bottom: 6px;
	}

	.inline
	{
		border-radius: 35px 35px 35px 0px;
	}

	#startLogo
	{
		max-width: 300px;
		margin-bottom: 60px;
	}

	#startScreen h2, #startScreen h3
	{
		margin-top: 18px;
	}

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

	#language
	{
		padding-bottom: 48px;
	}
}

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