:root 
{
	--grey: #757070;
	--orange: #1259A0;
	--red: #FCAE00;
	--blue: #FCAE00;
	--green: #FCAE00;
}

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

body 
{
	font-size: 1.15em;
	color: var(--grey);
	font-family: 'Mulish';
	font-weight: 300;
	line-height: 1.75;
	overflow-x: hidden;
}

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

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

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

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

h1, h2, h3
{
	font-weight: 300;
	line-height: 1.3;
	font-size: 3em;
}

h2, h3
{
	line-height: 1.25;
	color: var(--orange);
	font-size: 2.6em;
}

h3
{
	font-size: 2.2em;
}

.text.big p, .text.big ul
{
	font-size: 1.35em;
}

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

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

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

#contact
{
	font-size: 0.85em;
	color: #fff;
	padding: 3px 0px;
	background-color: var(--orange);
	text-align: right;
}

#contact a
{
	color: #fff;
	text-decoration: none;
	transition: all 0.2s;
	background-size: 1em;
	background-position: left center;
	padding-left: 1.5em;
	background-repeat: no-repeat;
}

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

#mail
{
	background-image: url(mail.svg);
	margin-left: 20px;
}

#contact a:hover
{
	opacity: 0.7;
}

#navigation ul
{
	text-align: right;
}

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

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

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

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

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

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

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

#opener
{
	padding: 160px 0px;
	background-size: cover;
	background-position: center;
	color: #fff;
	position: relative;
	border-bottom: 6px solid var(--orange);
}

#openerContent
{
	position: relative;
	z-index: 20;
}

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

strong
{
	font-weight: 700;
}

.text
{
	margin: 80px 0px;
}

.dividerImg
{
	height: 55vh;
	max-height: 450px;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}

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

.smallImg
{
	max-width: 200px;
}

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

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

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

.textBox
{
	margin-top: 40px;
}

.text.withButton p a, .text .buttonArea p a, .buttonArea p a, #accepted
{
	display: inline-block;
	line-height: 1.3;
	text-align: center;
	font-weight: 500;
	color: #fff!important;
	text-decoration: none;
	border-bottom: none!important;
	padding: 0.75em 1.5em 0.8em 1.5em;
	background-color: var(--blue);
	transition: all 0.2s;
	border-radius: 0em;
}

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

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

.buttonArea
{
	margin-top: 30px;
}

.divider
{
	width: 300px;
	height: 6px;
	border-radius: 0em;
	background-color: var(--blue);
	position: relative;
}

.divider:before
{
	content: "";
	position: absolute;
	width: 100vw;
	height: 100%;
	right: 90%;
	top: 0;
	background-color: var(--blue);
}

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

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

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

.galleryItem
{
	width: calc(33.3% - 20px);
	margin-left: 20px;
	margin-bottom: 20px;
	cursor: zoom-in;
}

.galleryImg
{
	width: 100%;
	padding-bottom: 75%;
	background-size: cover;
	background-position: center;
}

.colored
{
	padding: 80px 0px;
	background-color: var(--orange);
	color: #fff;
}

.colored h2, .colored h3
{
	color: #fff;
}

.text.colored ul li:before
{
	background-color: #fff;
}

.colored + .colored
{
	padding-top: 0;
	margin-top: -120px;
}

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

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

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

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

#footerList
{
	text-align: right;
}

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

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

#cookieNotice
{
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	font-size: 0.85em;
	background-color: rgba(0,0,0,0.9);
	z-index: 500000;
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

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

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

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

.pageSection
{
	margin-top: -130px;
	padding-top: 130px;
}

#leistungen, #kontakt, #ueberUns
{
	padding-top: 120px;
	margin-top: -200px;
}

#karriere
{
	padding-top: 50px;
	margin-top: -140px;
}

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

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

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

form label
{
	font-family: 'Mulish';
	color: var(--orange);
	font-weight: 500;
	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: 'Mulish';
   	line-height: 1.6;
   	color: var(--grey);
   	font-weight: 300;
   	background-color: transparent;
}

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

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

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

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: var(--red);
	display: block;
}

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

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

.alert.alert-danger ul li:before
{
	background-color: var(--red);
}

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

.checkbox label
{
	font-family: 'Mulish';
	color: var(--grey);
	font-weight: 300;
	cursor: pointer;
	text-transform: none;
	line-height: 1.7;
}

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

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

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

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

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

@media all and (max-width: 750px){
	.dividerImg
	{
		height: 40vh!important;
		min-height: 180px!important;
	}

	.galleryItem
	{
		width: calc(100% - 20px);
	}

	.imgFlex
	{
		display: block;
		margin-left: 0;
	}

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

	.textBox
	{
		margin-top: 30px;
	}

	.divider
	{
		width: 150px!important;
	}

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

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

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

	.text.big p, .text.big ul
	{
		font-size: 1em!important;
	}

	#copy
	{
		display: block;
		position: relative;
	}

	#footerList
	{
		text-align: left;
	}

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

	#contact .wrap
	{
		display: flex;
		flex-direction: row-reverse;
	}

	#contact a
	{
		white-space: nowrap;
		margin-left: 20px;
	}

	form div
	{
		width: 100%;
	}

	textarea
	{
		height: 10em;
	}

	.dividerImg
	{
		background-attachment: inherit;
	}
}

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

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

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

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

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

	#header #contact .wrap
	{
		height: auto;
	}

	#contact
	{
		padding: 3px 0px;
		font-size: 0.8em;
	}

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

	.text
	{
		margin: 40px 0px;
	}

	.colored
	{
		padding: 40px 0px;
	}

	.colored + .colored
	{
		margin-top: -60px;
	}

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

	#footer
	{
		padding: 25px 0px;
	}

	.divider
	{
		width: 200px;
	}

	#opener
	{
		padding: 80px 0px;
	}

	h1
	{
		font-size: 2.4em;
	}

	h2
	{
		font-size: 2em;
	}

	h3
	{
		font-size: 1.7em;
	}

	.text.big p, .text.big ul
	{
		font-size: 1.2em;
	}

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

	.buttonArea
	{
		margin-top: 20px;
	}

	.pageSection
	{
		margin-top: -120px;
		padding-top: 120px;
	}

	#leistungen, #kontakt, #ueberUns
	{
		padding-top: 120px;
		margin-top: -160px;
	}

	#karriere
	{
		padding-top: 80px;
		margin-top: -140px;
	}

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

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