:root
{
	--dark: #5b5b5b;
	--lighttheme: #a12d3d;
	--darktheme: #590a15;
}

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

html, body 
{
    width: 100%;
    height: 100%;
}

body
{
	font-size: 95%;
	font-weight: 300;
	font-family: 'Open Sans', sans-serif;
	overflow-x: hidden; 
	line-height: 1.8em;
	color: var(--dark);
	background-color: #ffecd2;
}

h1, h2
{
	font-family: 'Laila', serif;
	color: var(--lighttheme);
}

h1
{
	font-size: 3.2em;
	font-weight: 500;
	line-height: 1.1em;
	width: calc(100% - 360px);
}

h2
{
	font-weight: 500;
	line-height: 1.1em;
}

h2 + ul
{
	margin-top: 0.5em;
}

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

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

.text a, #cookieNotice a
{
	color: var(--lighttheme);
}

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

#opener
{
	width: 100%;
	height: 300px;
	background-size: cover;
	background-position: center;
	position: relative;
}

#text
{
	width: calc(100% + 80px);
	margin-left: -40px;
	height: 100px;
	/*background-color: var(--lighttheme);*/
	position: absolute;
	z-index: 100;
	top: calc(300px + 40px);
	background-color: var(--darktheme);
	transition: height 0.2s;
}

#text.fixed
{
	position: fixed;
	top: 0px;
	height: 80px;
}

#text img
{
	height: 100%;
	padding: 15px 0px;
	margin-left: 80px;
	transition: height 0.2s;
}

#navCol
{
	width: 280px;
	height: calc(100% - 130px);
	position: fixed;
	top: 130px;
	right: 80px;
	background-color: rgba(255, 239, 215, 0.9);
	z-index: 1000;
	border: 1px dotted var(--darktheme);
	border-bottom: none;
}

#navigation
{
	width: 100%;
	height: 100%;
	overflow-y: auto;
	padding: 130px 20px 20px;
	line-height: 1.55;
}

#logo
{
	position: absolute;
	height: 220px;
	left: 50%;
	transform: translateX(-50%);
	top: -110px;
	padding: 10px;
	/*filter: drop-shadow(0px 0px 8px rgba(0,0,0,0.5));*/
}

#navigation li
{
	list-style: none;
	text-decoration: none;
}

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

#navigation ul li a
{
	display: block;
	padding: 6px 0px;
	color: var(--darktheme);
	text-decoration: none;
	text-transform: uppercase;
	border-bottom: 1px dotted var(--darktheme);
}

#navigation ul li ul li a
{
	font-size: 0.8em;
	text-transform: inherit;
	font-weight: 300;
	text-align: right;
}

#navigation ul li ul
{
	display: none;
}

#navigation ul li.active ul
{
	display: block;
}

#navigation ul
{
	margin-bottom: 20px;
}

#navigation ul li ul li.active a
{
	font-weight: 600!important;
}

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

#navigation ul li ul
{
	margin-bottom: 0px;
}

#inner
{
	padding: 170px 40px 0px;
}

.text
{
	margin: 70px 0px;
	width: calc(100% - 300px);
	max-width: 850px;
}

p + h2, ul + h2
{
	margin-top: 50px;
}

strong
{
	font-weight: 600;
}

#footer
{
	font-size: 0.8em;
	color: #fff;
	background-color: var(--lighttheme);
	padding: 40px 80px;
}

#footer
{
	line-height: 1.5em;
}

#footer .text
{
	margin: 0px;
}

#footer a
{
	text-decoration: none;
	color: #fff!important;
}

.textCol
{
	width: 60%;
	float: left;
	padding-right: 15px;
}

.imgCol
{
	width: 40%;
	float: right;
	padding-left: 15px;
}

.imgCol img
{
	width: 100%;
}

.clear
{
	clear: both;
}

form
{
	max-width: 500px;
}

form label, form input, textarea, button
{
	width: 100%;
	display: block;
	font-family: 'Open Sans', sans-serif;
	color: var(--dark);
	font-size: 1em;
}

input, textarea, form img
{
	margin-bottom: 18px;
}

form label
{
	margin-bottom: 5px;
	color: var(--lighttheme);
	text-transform: uppercase;
	font-weight: 600;
}

textarea
{
	resize: none;
	height: 140px;
}

form input, textarea, button
{
	-webkit-appearance: none;
   	-moz-appearance: none;
   	appearance: none;
   	box-shadow: none;
   	border-radius: 0px;
   	border: none;
   	padding: 8px;
}

form input, textarea
{
	font-weight: 400;
	border-bottom: 1px dotted var(--dark);
	background-color: rgb(248, 248, 248);
}

form input:focus, textarea:focus
{
	border-bottom: 1px dotted var(--lighttheme);
	color: var(--lighttheme);
}

button
{
	margin-top: 25px;
	border: none;
	background-color: var(--lighttheme);
	color: #fff;
	text-transform: uppercase;
	text-align: center;
	padding: 12px;
	cursor: pointer;
}

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

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

.alert.alert-danger
{
	color: red;
	margin-top: 0px;
	margin-bottom: 40px;
}

.alert.alert-danger li
{
	list-style-position: inside;
	margin-left: -1em;
}

.alert.alert-danger ul:before
{
	content: "Folgende Fehler sind aufgetreten:";
	text-transform: uppercase;
	margin-left: -1em;
	font-weight: 600;
}

.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;
	background-color: var(--dark);
	left: 0;
	top: 0.68em;
	border-radius: 100px;
}

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

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

#accepted
{
	font-weight: 600;
	color: var(--lighttheme);
	cursor: pointer;
	float: right;
}

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

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

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

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

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

@media all and (max-width: 580px){
	.textCol
	{
		width: 100%;
		padding-right: 0px;
	}

	.imgCol
	{
		width: 100%;
		margin-top: 30px;
		padding-left: 0px;
	}
}

@media all and (max-width: 850px){
	body
	{
		font-size: 90%;
	}

	h1
	{
		font-size: 2.4em;
	}

	h2
	{
		margin-bottom: 0.7em;
		font-size: 1.3em;
	}

	#wrapper
	{
		padding: 100px 30px 0px 30px;
	}

	#navCol
	{
		height: 100%;
		top: 0px;
		right: -260px;
		overflow: auto;
		width: 260px;
		transition: right 0.2s;
		border: none;
		border-left: 1px dotted var(--darktheme);
	}

	#navCol.shown
	{
		right: 0px;
	}

	#navigation
	{
		padding-top: 0px;
		height: auto;
	}

	#logo
	{
		position: relative;
		top: 0px;
		padding: 20px 0px;
		height: 160px;
	}

	.text, h1
	{
		width: 100%;
	}

	#inner
	{
		padding: 60px 00px 0px;
	}

	#cookieNotice
	{
		padding: 20px 30px 20px;
	}

	#text img
	{
		margin-left: 30px;
		max-width: 100%;
		padding: 15px 0px;
	}

	.text
	{
		margin: 50px 0px;
	}

	p + h2, ul + h2
	{
		margin-top: 30px;
	}

	#footer
	{
		padding: 30px;
	}

	#opener
	{
		height: 220px;
	}

	#text
	{
		width: calc(100% + 60px);
		margin-left: -30px;
		height: 65px;
		top: 0px;
		position: fixed;
	}

	#text.fixed
	{
		height: 65px;
	}

	#navOpener
	{
		position: fixed;
		right: 30px;
		width: 26px;
		height: 30px;
		z-index: 100000000000000;
		top: 18px;
		cursor: pointer;
		padding: 0px;
		display: block;
	}

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

	#navOpener.active .line
	{
		background-color: var(--darktheme);
	}

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

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

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

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

	#navigation ul
	{
		margin-bottom: 0px;
	}

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

	form
	{
		width: 100%;
		max-width: 100%;
	}
}

@media all and (min-width: 851px) and (max-width: 1050px){
	body
	{
		font-size: 90%;
	}

	#wrapper
	{
		padding: 30px 30px 0px 30px;
	}

	#opener
	{
		height: 250px;
	}

	#text
	{
		width: calc(100% + 60px);
		margin-left: -30px;
		height: 90px;
		top: calc(250px + 30px);
	}

	#text.fixed
	{
		position: fixed;
		top: 0px;
		height: 70px;
	}

	#text img
	{
		padding: 12px 0px;
		margin-left: 30px;
	}

	h1
	{
		font-size: 2.5em;
		width: calc(100% - 300px);
	}

	h2
	{
		margin-bottom: 0.7em;
	}

	.text
	{
		margin: 60px 0px;
		width: calc(100% - 270px);
	}

	#footer
	{
		padding: 35px 70px;
	}

	#navCol
	{
		width: 260px;
		height: calc(100% - 110px);
		top: 110px;
		right: 60px;
	}

	#logo
	{
		height: 190px;
		top: -95px;
	}

	#navigation
	{
		padding: 115px 20px 20px;
	}

	#inner
	{
		padding-left: 0px;
	}
}

@media all and (min-width: 1450px) and (max-width: 1650px){
	body
	{
		font-size: 110%;
	}

	h1
	{
		width: calc(100% - 450px);
	}

	#wrapper
	{
		padding: 80px 80px 0px 80px;
	}

	#text
	{
		width: calc(100% + 160px);
		margin-left: -80px;
		height: 120px;
		top: calc(480px + 40px);
	}

	#text img
	{
		padding: 20px 0px;
		margin-left: 120px;
	}

	.text
	{
		margin: 80px 0px;
		width: calc(100% - 450px);
		max-width: 980px;
	}

	#text.fixed
	{
		height: 100px;
	}

	#footer
	{
		padding: 60px 120px;
	}

	#opener
	{
		height: 480px;
	}

	#navCol
	{
		width: 340px;
		height: calc(100% - 200px);
		position: fixed;
		top: 200px;
		right: 160px;
		background-color: rgba(255, 255, 255, 0.9);
		border: 1px dotted var(--darktheme);
	}

	#navigation ul li a
	{
		padding: 12px 0px;
	}

	#logo
	{
		position: absolute;
		height: 280px;
		top: -140px;
	}

	#navigation
	{
		padding: 170px 30px 30px;
	}

	#navigation ul
	{
		margin-bottom: 30px;
	}

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

	form
	{
		max-width: 650px;
	}
}

@media all and (min-width: 1651px){
	body
	{
		font-size: 115%;
	}

	h1
	{
		width: calc(100% - 550px);
	}

	#wrapper
	{
		padding: 120px 120px 0px 120px;
	}

	#text
	{
		width: calc(100% + 240px);
		margin-left: -120px;
		height: 150px;
		top: calc(550px + 40px);
	}

	#text img
	{
		padding: 20px 0px;
		margin-left: 160px;
	}

	.text
	{
		margin: 100px 0px;
		width: calc(100% - 550px);
		max-width: 1200px;
	}

	#text.fixed
	{
		height: 130px;
	}

	#footer
	{
		padding: 80px 160px;
	}

	#opener
	{
		height: 550px;
	}

	#navCol
	{
		width: 380px;
		height: calc(100% - 250px);
		position: fixed;
		top: 250px;
		right: 240px;
		background-color: rgba(255, 255, 255, 0.9);
		border: 1px dotted var(--darktheme);
	}

	#navigation ul li a
	{
		padding: 12px 0px;
	}

	#navigation ul
	{
		margin-bottom: 30px;
	}

	#logo
	{
		position: absolute;
		height: 320px;
		top: -160px;
	}

	#navigation
	{
		padding: 180px 40px 40px;
	}

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

	form
	{
		max-width: 700px;
	}
}

