:root 
{
	--theme: #43e8d8;
	--darktheme: #00c9b1;
	--dark: #213533;
	--grey: #e6f5f3;
}

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

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

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

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

h1, h2, h3
{
	font-family: 'Patrick Hand';
	font-weight: 300;
	color: var(--dark);
	line-height: 1.2;
	font-size: 3.5em;
}

h2
{
	font-size: 2.8em;
}

h3
{
	font-family: 'Urbanist', serif;
	font-weight: 700;
	font-size: 2em;
}

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

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

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

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

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

#navigation ul li
{
	display: inline-block;
	padding: 50px 0px;
	margin-left: 25px;
	transition: all 0.2s;
	position: relative;
}

#navigation ul li ul
{
	position: absolute;
	text-align: left;
	font-size: 0.85em;
	text-transform: none;
	background-color: var(--grey);
	padding: 12px 20px 12px 20px;
	top: 78%;
	display: none;
	left: -20px;
}

#navigation ul li:hover ul
{
	display: block;
}

#navigation ul li ul li, #header.scrolled #navigation ul li ul li
{
	display: block;
	margin-left: 0;
	padding: 0;
	white-space: nowrap;
}

#navigation ul li.active ul li a
{
	color: var(--dark);
	font-weight: 300;
}

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

#navigation ul li.active ul li.active a
{
	color: var(--theme);
	font-weight: 500;
}

#navigation ul
{
	text-align: right;
}

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

#navigation ul li a:hover
{
	color: var(--theme);
}

#navigation ul li.active a
{
	font-weight: 700;
	color: var(--dark);
}

#logo
{
	position: absolute;
	height: 100%;
	padding: 20px 0px;
	transition: all 0.2s;
}

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

.imgFlex
{
	display: flex;
}

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

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

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

.text
{
	margin: 80px 0px;
}

.textBox
{
	padding: 32px 40px 30px;
	margin-top: 40px;
	position: relative;
}

.textBox:before
{
	content: "";
	position: absolute;
	width: 120%;
	height: 100%;
	right: 0;
	top: 0;
	z-index: -1;
	box-shadow: 0px 0px 60px rgba(0,0,0,0.06);
	background-color: #fff;
}

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

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

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

.colored:before
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-image: url(pattern.svg);
	z-index: 1;
	top: 0;
	left: 0;
	opacity: 0.4;
}

.colored .wrap
{
	z-index: 10;
}

.text.withButton p a, .text .buttonArea p a, .buttonArea p a, #accepted
{
	display: inline-block;
	line-height: 1.25;
	color: #fff!important;
	border-bottom: none!important;
	text-align: center;
	font-weight: 500;
	background-color: var(--theme);
	padding: 0.6em 1.2em 0.65em;
	text-decoration: none;
	transition: all 0.2s;
}

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

.buttonArea
{
	margin-top: 30px;
}

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

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

.divider
{
	width: 100%;
	height: 50px;
	background-image: url(icon.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

#colorLine
{
	position: sticky;
	position: -webkit-sticky;
	width: 100%;
	height: 6px;
	background-color: var(--theme);
	left: 0;
	top: 134px;
	z-index: 900;
}

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

#footerFlex
{
	display: flex;
	align-items: center;
	justify-content: center;
}

#footerFlex .footerFlexItem:nth-child(1)
{
	padding-right: 20px;
	text-align: right;
}

#footerFlex .footerFlexItem:nth-child(2)
{
	padding-left: 20px;
}

.footerFlexItem
{
	width: 50%;
}

#footerList li
{
	display: block;
	list-style: none;
}

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

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

#copy
{
	font-weight: 700;
}

#footerLogo
{
	width: 85px;
	margin-bottom: -10px;
}

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

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

.text p a, .text ul a, form a, #cookieNotice a
{
	color: var(--theme);
	border-bottom: 1px solid var(--theme);
	text-decoration: none;
	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.85);
	z-index: 500000;
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

#cookieBox
{
	padding: 30px 40px 40px 40px;
	max-height: calc(100vh - 80px);
	background-color: #fff;
	max-width: 420px;
	overflow: auto;
	border-bottom: 6px solid var(--theme);
	display: block;
	margin: auto;
}

#acceptWrap
{
	text-align: center;
}

#cookieCheckboxes
{
	margin-top: 1em;
	margin-bottom: 1em;
}

#cookieCheckboxes label
{
	position: relative;
	margin-right: 1.6em;
	padding-left: 1.5em;
	cursor: pointer;
	display: block;
	margin-top: 0.2em;
}

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

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

#openerFlex
{
	display: flex;
	align-items: center;
}

#openerFlex .openerFlexItem:nth-child(1)
{
	width: 60%;
}

#openerFlex .openerFlexItem:nth-child(2)
{
	width: 40%;
}

#bgCol
{
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: var(--grey);
	z-index: -1;
	top: 0;
	left: 0;
	opacity: 0.5;
}

#opener
{
	background-color: #fff;
}

#opener h1
{
	margin-left: -150px;
	background-color: #fff;
	padding-top: 12px;
	padding-bottom: 12px;
	padding-left: 25px;
}

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

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

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

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

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

input[type = "text"], input[type = "email"], textarea
{
	border: 1px solid var(--grey);
	padding: 0.5em 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: 0.9em;
}

.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.4em;
	margin-left: 40px;
}

.checkbox label
{
	font-family: 'Urbanist', serif;
	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%;
}

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

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

.gallery
{
	display: flex;
	flex-wrap: wrap;
	width: calc(100% + 25px);
	margin-left: -25px;
	margin-top: -25px;
}

.galleryItem
{
	width: calc(25% - 25px);
	margin-left: 25px;
	margin-top: 25px;
	cursor: zoom-in;
}

.galleryImg
{
	padding-bottom: 150%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

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

@media all and (max-width: 510px){
	#footerFlex
	{
		display: block;
	}

	.footerFlexItem
	{
		width: 100%!important;
		padding: 0!important;
		text-align: center!important;
	}

	#footerLogo
	{
		width: 75px;
		margin-top: 10px;
		margin-bottom: 20px;
	}
}

@media all and (max-width: 680px){
	.imgFlex
	{
		display: block;
	}

	.imgFlexItem
	{
		width: 100%!important;
	}

	.textBox:before
	{
		width: 100%;
	}

	.textBox
	{
		margin-top: 0;
	}

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

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

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

	form div
	{
		width: 100%;
	}

	textarea
	{
		height: 10em;
	}

	.galleryItem
	{
		width: calc(50% - 25px);
	}
}

@media all and (max-width: 850px){
	#openerFlex
	{
		display: block;
	}

	.openerFlexItem
	{
		width: 100%!important;
	}

	#opener h1
	{
		padding: 25px 0!important;
		margin-left: 0!important;
	}

	#opener img
	{
		margin-left: -40px;
		width: calc(100% + 80px);
	}
}

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

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

	#navigation ul li, #header.scrolled #navigation ul li
	{
		display: block;
		margin-left: 0;
		padding: 0;
	}

	#navigation ul li ul
	{
		position: relative;
		display: block;
		left: 0;
		top: 0;
		padding: 0;
		background-color: #fff;
		text-align: right;
		font-size: 0.8em;
		margin-bottom: 5px;
	}

	#navigation ul li ul li a:after
	{
		content: "-";
		margin-left: 8px;
	}

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

	.line
	{
		position: absolute;
		width: 100%;
		height: 2px;
		background-color: var(--dark);
		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;
	}

	#colorLine
	{
		top: 85px;
		height: 5px;
	}

	#logo, #header.scrolled #logo
	{
		padding: 15px 0px;
	}

	.text
	{
		margin: 40px 0px;
	}

	.colored
	{
		padding: 40px 0px;
	}

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

	.buttonArea 
	{
		margin-top: 20px;
	}

	.divider
	{
		height: 45px;
	}

	#footer
	{
		padding: 25px 0px;
	}

	#openerContent
	{
		bottom: 40px;
	}

	h1
	{
		font-size: 2.6em;
	}

	h2
	{
		font-size: 2.2em;
	}

	h3
	{
		font-size: 1.5em;
	}

	#opener h1
	{
		margin-left: -120px;
		padding-top: 5px;
		padding-bottom: 5px;
		padding-left: 15px;
	}

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

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

@media all and (min-width: 1600px){
	#opener
	{
		padding-bottom: 25%;
	}
}