:root 
{
	--theme: #ffaa4c;
	--darktheme: #d7853a;
	--grey: #5e5e5e;
	--lightgrey: #d6d6d6;
}

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

body 
{
	font-size: 1.1em;
	color: var(--grey);
	font-family: 'Roboto', sans-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: 'Bubblegum Sans', cursive;
	font-weight: 400;
	font-size: 3.2em;
	line-height: 1.3;
}

h1
{
	text-transform: uppercase;
}

h2
{
	font-size: 2.5em;
}

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

#contact h3
{
	color: #fff;
}

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

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

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

/*#header.scrolled
{
	background-color: var(--lightgrey);
}*/

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

#logo
{
	width: 220px;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	padding: 20px 0px;
	transition: width 0.2s;
}

/*#header.scrolled #logo
{
	width: 146px;
}*/

#navigation
{
	display: flex;
}

#leftNav, #rightNav
{
	width: 50%;
}

#leftNav
{
	padding-right: 110px;
	text-align: right;
}

#rightNav
{
	padding-left: 110px;
}

#leftNav ul li
{
	margin-right: 40px;
}

#rightNav ul li
{
	margin-left: 40px;
}

#navigation ul li
{
	display: inline-block;
	padding: 85px 0px;
	font-size: 1.15em;
	text-transform: uppercase;
	transition: all 0.2s;
}

/*#header.scrolled #navigation ul li
{
	padding: 36px 0px 33px;
}*/

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

/*#header.scrolled #navigation ul li.active a, #header.scrolled #navigation ul li:hover a
{
	color: var(--darktheme);
}*/
 
#navigation ul li a
{
	color: #fff;
	transition: all 0.2s;
	text-decoration: none;
}

/*#header.scrolled #navigation ul li a
{
	color: var(--grey);
}*/

#opener
{
	width: 100%;
	height: 70vh;
	max-height: 800px;
	background-size: cover;
	background-position: center;
	position: relative;
}

#opener:after, #contact:after
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 10;
	background-color: rgba(0,0,0,0.4);
}

#title
{
	background-color: var(--theme);
	padding: 45px 0 38px;
	text-align: center;
}

.text
{
	margin: 60px 0px;
}

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

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

.textBox
{
	margin-top: 40px;
}

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

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

.buttonArea
{
	margin-top: 30px;
}

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

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

.text.withButton p a, .text .buttonArea p a
{
	display: inline-block;
	text-align: center;
	line-height: 1.3;
	font-family: 'Bubblegum Sans', cursive;
	color: var(--dark);
	background-color: var(--theme);
	font-size: 1.2em;
	text-decoration: none;
	padding: 0.6em 1.2em 0.5em;
	transition: all 0.2s;
	border-bottom: 0!important;
}

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

.dividerImg
{
	width: 100%;
	height: 58vh;
	background-size: cover;
	background-position: center;
}

#contact
{
	position: relative;
	padding: 80px 0px;
	background-size: cover;
	background-position: center;
}

#contact .wrap
{
	z-index: 20;
}

#contactLogo
{
	max-width: 200px;
	display: block;
	margin: auto;
	margin-bottom: 30px;
}

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

#footer
{
	background-color: var(--theme);
	color: var(--grey);
	padding: 40px 0px 38px;
	font-size: 0.9em;
}

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

#footerList
{
	text-align: right;
}

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

#footerList li:before
{
	content: "|";
	margin-right: 20px;
}

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

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

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

#cookieNotice
{
	font-size: 0.9em;
	position: fixed;
	width: 100%;
	left: 0;
	bottom: 0;
	z-index: 1000;
	background-color: var(--lightgrey);
	color: var(--grey);
	padding: 22px 0px 18px;
}

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

#cookieNotice a
{
	color: var(--grey);
	border-bottom: 1px dashed var(--grey);
	transition: all 0.2s;
	text-decoration: none;
}

#cookieNotice a:hover
{
	border-bottom: 1px solid var(--darktheme);
	color: var(--darktheme);
}

#accepted
{
	font-weight: 400;
	font-family: 'Bubblegum Sans', cursive;
	font-size: 1.2em;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.2s;
	float: right;
}

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

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

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

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

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

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

table
{
	border-collapse: collapse;
  	width: 100%;
  	max-width: 580px;
  	margin: auto;
  	border-top: 1px dashed var(--grey);
}

td
{
	padding-top: 0.6em;
	padding-bottom: 0.6em; 
	vertical-align: top;
}

tr td:nth-child(1)
{
	padding-right: 40px;
}

tr td:nth-child(2)
{
	text-align: right;
	min-width: 90px;
	font-weight: 600;
	color: var(--gold);
}

tr
{
	border-bottom: 1px dashed var(--grey);
}

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

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

#form
{
	max-width: 650px;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	padding-top: 180px;
	margin-top: -180px;
}

form label
{
	font-family: 'Bubblegum Sans', cursive;
	color: var(--dark);
	font-size: 1.2em;
	line-height: 1.4;
	display: block;
	margin-bottom: 0.2em;
}

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

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

input[type = "text"], input[type = "email"], textarea
{
	border: 1px solid var(--lightgrey);
	padding: 0.6em 0.8em;
}

input, textarea
{
	margin-bottom: 1.2em;
	transition: border-color 0.2s;
}

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

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

.alert.alert-danger ul:before
{
	content: "Folgende Fehler sind aufgetreten. Bitte überprüfen Sie Ihre Eingaben.";
	font-family: 'Bubblegum Sans', cursive;
	line-height: 1.45;
	font-size: 1.2em;
	font-weight: 500;
	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!important;
}

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

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

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

button
{
	display: inline-block;
	text-align: center;
	line-height: 1.3;
	font-family: 'Bubblegum Sans', cursive;
	color: var(--dark);
	background-color: var(--theme);
	font-size: 1.2em;
	text-decoration: none;
	padding: 0.6em 1.2em 0.5em;
	transition: all 0.2s;
	border-bottom: 0!important;
	cursor: pointer;
	width: auto;
	margin-top: 1em;
}

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

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

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

	.textBox
	{
		margin-top: 30px;
	}

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

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

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

	#opener
	{
		height: 53vh!important;
		min-height: 260px;
	}

	#title
	{
		padding: 34px 0 28px!important;
	}
}

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

	#footerList
	{
		text-align: center;
	}

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

	#footerList li:before
	{
		display: none;
	}

	.divider
	{
		width: 50px;
		height: 25px;
	}

	textarea
	{
		height: 10em;
	}
}

@media all and (max-width: 950px){
	#navigation
	{
		display: none;
		position: fixed;
		width: 100%;
		left: 0;
		background-color: var(--lightgrey);
		padding: 0px 40px 0px;
	}

	#leftNav
	{
		padding-top: 76px;
	}

	#rightNav
	{
		padding-bottom: 10px;
	}

	#leftNav, #rightNav
	{
		width: 100%;
		display: block;
		padding-left: 0;
		padding-right: 0;
		text-align: right;
	}

	#navigation ul li
	{
		display: block;
		padding: 0;
		font-size: 1em;
		margin-bottom: 5px;
	}

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

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

	#leftNav ul li, #rightNav ul li
	{
		margin-left: 0;
		margin-right: 0;
	}

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

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

	#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
	{
		position: fixed;
		width: 100%;
		left: 0;
		top: 0;
	}

	#header.scrolled
	{
		background-color: var(--lightgrey);
	}

	#header.scrolled .line
	{
		background-color: var(--grey);
	}

	#header .wrap
	{
		height: 85px;
	}

	#logo
	{
		position: absolute;
		width: auto;
		height: 150%;
		left: 40px;
		transform: translateX(0);
		padding: 15px 0px;
		z-index: 1000;
	}

	#header.scrolled #logo
	{
		height: 100%;
		padding: 10px 0px;
	}

	.text
	{
		margin: 40px 0px;
	}

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

	.buttonArea
	{
		margin-top: 20px;
	}

	#opener
	{
		height: 60vh;
		min-height: 260px;
	}

	#title
	{
		padding: 35px 0 28px;
	}

	h1
	{
		font-size: 2.6em;
	}

	h2
	{
		font-size: 2em;
	}

	h3
	{
		font-size: 1.6em;
	}

	#contactLogo
	{
		max-width: 160px;
		margin-bottom: 20px;
	}

	#contact
	{
		padding: 60px 0px;
	}

	#footer
	{
		padding: 30px 0px 28px;
	}

	.dividerImg
	{
		height: 45vh;
		min-height: 220px;
	}

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

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

	#header.scrolled
	{
		position: fixed;
		width: 100%;
		left: 0;
		top: 0;
		background-color: var(--lightgrey);
	}

	#header.scrolled #navigation ul li
	{
		padding: 30px 0px;
	}

	#header.scrolled #navigation ul li a
	{
		color: var(--grey);
	}

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