:root 
{
	--theme: #1553b7;
	--lighttheme: #4bcef7;
	--orange: #ff781d;
	--red: #ea001c;
	--green: #cfe500;
	--light: #f0f4fa;
	--dark: #121d2d;
}

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

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

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

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

h1
{
	line-height: 1.2;
	font-weight: 300;
	text-transform: uppercase;
	font-size: 3em;
	display: inline;
	background-color: var(--theme);
	padding: 0.1em 0.3em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	-moz-box-decoration-break: clone;
	hyphens: auto;
	-webkit-hyphens: auto;
}

h2
{
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	font-size: 2.5em;
	color: var(--theme);
}

h3
{
	font-weight: 500;
	line-height: 1.3;
	font-size: 1.8em;
	color: var(--theme);
}

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

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

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

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

#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);
	transition: all 0.2s;
}

#header.scrolled
{
	box-shadow: 0px 0px 60px rgba(0,0,0,0.08);
}

#navigation ul
{
	text-align: right;
	text-transform: uppercase;
}

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

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

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

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

#opener
{
	height: 85vh;
	position: relative;
	max-height: 750px;
}

#subpage #opener
{
	height: auto!important;
	max-height: auto!important;
	padding: 160px 0px;
}

#subpage #openerContent
{
	position: relative;
	top: 0;
	transform: translateY(0);
}

.openerImg
{
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}

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

#openerContent
{
	position: absolute;
	width: 100%;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 500;
	text-align: center;
	color: #fff;
}

strong
{
	font-weight: 700;
}

.text
{
	margin: 100px 0px;
}

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

.divider
{
	width: 300px;
	height: 6px;
	background-color: var(--orange);
	position: relative;
}

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

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

.smallImg
{
	max-width: 450px;
	display: block;
	margin: auto;
	margin-bottom: -60px;
}

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

.imgFlex .fancybox
{
	display: block;
	height: 100%;
	background-size: cover;
	background-position: center;
	cursor: zoom-in;;
}

.imgFlex .inline
{
	display: none;
}

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

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

.colored
{
	padding: 100px 0px;
	background-color: var(--light);
}

.textBox
{
	padding-top: 40px;
}

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

.text.withButton p a, .text .buttonArea p a, .buttonArea p a, #accepted
{
	display: inline-block;
	line-height: 1.3;
	font-weight: 500;
	text-align: center;
	color: #fff!important;
	border-bottom: none!important;
	padding: 0.6em 1.2em;
	background-color: var(--orange);
	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(--theme);
}

.buttonArea
{
	margin-top: 30px;
}

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

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

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

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

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

#contactFlex
{
	display: flex;
	justify-content: center;
}

.contactFlexItem
{
	width: 300px;
	text-align: center;
}

#contactFlex .contactFlexItem:nth-child(1)
{
	padding-right: 40px;
}

#contactFlex .contactFlexItem:nth-child(2)
{
	padding-left: 40px;
	border-left: 1px solid var(--theme);
}

.contactFlexIcon
{
	width: 100px;
	height: 100px;
	background-size: 38%;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 1000px;
	background-color: var(--theme);
	display: block;
	margin: auto;
	margin-bottom: 20px;
}

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

#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.6);
	z-index: 500000;
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

#cookieBox
{
	padding: 32px 40px 40px 40px;
	max-height: calc(100vh - 80px);
	background-color: #fff;
	max-width: 420px;
	overflow: auto;
	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.6em;
	cursor: pointer;
	display: block;
	margin-top: 0.2em;
}

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

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

.pageSection
{
	padding-top: 100px;
	margin-top: -200px;
}

#ueberUns, #karriere
{
	padding-top: 1px;
	margin-top: -100px;
}

.twoCols ul
{
	columns: 3;
	column-gap: 40px;
}

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

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

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

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

.person + .person
{
	margin-top: 100px;
}

.persons .person:nth-child(2n)
{
	padding: 100px 0px;
	position: relative;
	flex-direction: row-reverse;
}

.persons .person:nth-child(2n):before
{
	content: "";
	position: absolute;
	width: 100vw;
	height: 100%;
	left: 50%;
	transform: translateX(-50%);
	top: 0;
	background-color: var(--light);
	z-index: -10;
}

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

.person .personItem:nth-child(1)
{
	width: 30%;
}

.person .personItem:nth-child(2)
{
	width: 70%;
}

.personImg
{
	padding-bottom: 100%;
	background-size: cover;
	background-position: center;
}

.fancybox
{
	cursor: zoom-in;
}

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

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

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

	.imgFlex .inline
	{
		display: block;
	}

	.imgFlex .fancybox
	{
		background-image: none!important;
	}

	.divider
	{
		width: 160px!important;
		height: 5px;
	}

	#copy
	{
		display: block;
		text-align: center;
		position: relative;
		margin-bottom: 5px;
	}

	#footerList
	{
		text-align: center;
	}

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

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

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

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

	#opener
	{
		height: 65vh!important;
	}

	#contactFlex
	{
		display: block;
	}

	.contactFlexItem
	{
		width: 100%;
	}

	#contactFlex .contactFlexItem:nth-child(1)
	{
		padding-right: 0px;
		margin-bottom: 40px;
	}

	#contactFlex .contactFlexItem:nth-child(2)
	{
		padding-left: 0px;
		border-left: 0px solid var(--theme);
	}

	.contactFlexIcon
	{
		margin-bottom: 15px;
	}

	.twoCols ul
	{
		columns: 1!important;
	}

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

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

	.personItem
	{
		margin-left: 0!important;
	}

	.person .personItem:nth-child(1)
	{
		width: 100%!important;
		max-width: 220px!important;
	}

	.person .personItem:nth-child(2)
	{
		width: 100%!important;
	}

	.personImg
	{
		margin-bottom: 35px;
	}

	#subpage #opener
	{
		padding: 90px 0px!important;
	}
}

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

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

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

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

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

	#logo
	{
		padding: 18px 0px;
	}

	#opener
	{
		height: 75vh;
		min-height: 320px;
	}

	h1
	{
		font-size: 2.2em;
	}

	h2
	{
		font-size: 1.8em;
	}

	h3
	{
		font-size: 1.6em;
	}

	.text
	{
		margin: 40px 0px;
	}

	.colored
	{
		padding: 40px 0px;
	}

	#footer
	{
		padding: 25px 0px;
	}

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

	.buttonArea
	{
		margin-top: 20px;
	}

	.divider
	{
		width: 220px;
		height: 5px;
	}

	.contactFlexIcon
	{
		width: 80px;
		height: 80px;
		background-size: 40%;
	}

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

	#ueberUns, #karriere
	{
		padding-top: 40px;
		margin-top: -80px;
	}

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

	.smallImg
	{
		margin-bottom: -20px;
		max-width: 380px;
		padding-top: 20px;
	}

	.twoCols ul
	{
		columns: 2;
	}

	.person + .person
	{
		margin-top: 40px;
	}

	.persons .person:nth-child(2n)
	{
		padding: 40px 0px;
	}

	.person .personItem:nth-child(1)
	{
		width: 30%;
	}

	.person .personItem:nth-child(2)
	{
		width: 70%;
	}

	#subpage #opener
	{
		padding: 120px 0px;
		height: auto!important;
		min-height: auto!important;
	}
}

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