/* Font Inter */

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-display: swap;	
	src: url('/fonts/inter-v12-latin-regular.eot'); /* IE9 Compat Modes */
	src: local(''),
		url('/fonts/inter-v12-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		url('/fonts/inter-v12-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
		url('/fonts/inter-v12-latin-regular.woff') format('woff'), /* Modern Browsers */
		url('/fonts/inter-v12-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
		url('/fonts/inter-v12-latin-regular.svg#Inter') format('svg'); /* Legacy iOS */
}

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 600;
	font-display: swap;	
	src: url('/fonts/inter-v12-latin-600.eot'); /* IE9 Compat Modes */
	src: local(''),
		url('/fonts/inter-v12-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		url('/fonts/inter-v12-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
		url('/fonts/inter-v12-latin-600.woff') format('woff'), /* Modern Browsers */
		url('/fonts/inter-v12-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
		url('/fonts/inter-v12-latin-600.svg#Inter') format('svg'); /* Legacy iOS */
}

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 700;
	font-display: swap;	
	src: url('/fonts/inter-v12-latin-700.eot'); /* IE9 Compat Modes */
	src: local(''),
		url('/fonts/inter-v12-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		url('/fonts/inter-v12-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
		url('/fonts/inter-v12-latin-700.woff') format('woff'), /* Modern Browsers */
		url('/fonts/inter-v12-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
		url('/fonts/inter-v12-latin-700.svg#Inter') format('svg'); /* Legacy iOS */
}

/* Reset */

html, body, span, div, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr,
acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, main, table, caption, tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;	
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {display: block;}

html {height: 100%; }

* {
	padding: 0;
	margin: 0;	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	*behaviour: url(/includes/boxsizing.htc);	
}

/* Main Colors */

:root {
	--main-color: #3d7ab8;
	--hover-color: rgba(61,122,184,.7);	
	--link-color: rgba(61,122,184,.7);
	--background-color: rgba(61,122,184,.6);
}

/* Highlighting */

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

/* Basic Styles */

body {
	font-family: 'Inter', Helvetica, Arial, 'sans-serif';	
	font-weight: 400;
	color: #222;
	font-size: 1rem;
	line-height: 150%;
	height: 100%;	
	background: #f6f6f6;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;		
	-webkit-font-smoothing: antialiased;		
	animation-name: FadeIn;
	animation-timing-function: ease-in-out;
	animation-duration: 200ms;
}

ol, ul {margin: 0 0 1em 1.2em;}
table {border-collapse: collapse; border-spacing: 0;}
strong, b {font-weight: 600;}
i, em {font-style: italic;}
p {margin: 0 0 1rem 0; line-height: 150%;}
img {max-width: 100%; height: auto; border: 0;}
a, a:link, a:visited {color: var(--main-color); text-decoration: none;}
a:hover, a:active {color: var(--link-color); text-decoration: none}
a:focus {border: 0; outline: 0; -moz-outline:0; background: none;}

h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	line-height: 1.4rem;
	padding: 0;
	margin: 0;
}

h1 {
	font-size: 1.4rem;
	color: var(--main-color);	
	line-height: 150%;
	margin: 0 0 1.4rem 0;
}

h2 {
	font-size: 1.2rem;
	line-height: 150%;
	margin: 1.2rem 0;
}

h3, h4 {
	font-size: 1rem;
	line-height: 150%;	
	margin: 0 0 1rem 0;		
}

h4 {
	color: #666;
}

hr {
	border: 0;
	border-top: 1px solid #999;
	background: #999;
	height: 1px;
	clear: both;
	margin: 30px 0;
}

.small, .datum, .grey {color: #999; font-size: 0.9rem;}
.date {color: #999;}
.bu {color: #999; font-size: 0.8rem; margin: 0.5rem 0; padding: 0 0 1rem 0; line-height: 120%;}

/*---------------------------- Cookie Consent ---------------------------*/

#button {display: none !important}
.uc-embedding-accept, .uc-btn-primary {background: var(--main-color) !important;}
.description-text {display: none !important}
.uc-save-settings-button {color: #fff !important; border: 1px solid #fff !important;}
#usercentrics-button input[type='checkbox'].uc-form-check-input:checked+label::before,
.uc-embed input[type='checkbox'].uc-form-check-input:checked+label::before {
	background-color: var(--main-color) !important;
	border-color: var(--main-color) !important ;
}
#uc-btn-select-tab-settings, #uc-btn-select-tab-history {color: var(--main-color)!important;}

/*---------------------------- Container ---------------------------*/

#container {
	margin: 0 auto;
	padding: 0;
	width: 100%;
	background: #fff;
	position: relative;
	top: 0;
}

/*---------------------------- Header ---------------------------*/

#header {
	width: 100%;
	height: auto;
	padding: 0;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--main-color);	
}

#header .kontakt {  
	display: none;
}

#header .title {  
	display: block;
	width: 100%;
	margin: 0;
	padding: 0 100px 0 0;
	font-size: 1.5rem;		
	font-weight: 600;
	line-height: 150%;	
	height: 200px;	
	background: linear-gradient(to bottom, rgba(61,122,184,.8) 0%, rgba(61,122,184,.2) 100%), url(/images/layout/AdobeStock_593478476.jpg) center/cover no-repeat;
}

#header .title a, #header .title a:link, #header .title a:visited {  
	display: block;
	width: 100%;
	color: #fff;
	padding: 1rem;
	margin: 0;
	text-shadow: 1px 1px 1px rgba(100,100,100,0.2);	
}

#header .title a:hover {  
	opacity: .8;
	text-decoration: none;
}

/*----------------------------Layout ---------------------------*/

#wrapper {
	width: 100%; 
	padding: 1rem;
	margin: 0 auto;
	overflow: auto;
	clear: both;
}

#main {		
	margin: 0;
	padding: 1rem 0;
	width: 100%;
}

/*---------------------------- Responsive Container ---------------------------*/

.responsiveContainer {
	position: relative;
	padding-bottom: 66%;
	height: 0;
	overflow: hidden;
	z-index: 0;		
}

.responsiveContainer iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
} 

video {
	width: 100% !important;
	height: auto !important;
}

/*---------------------------- Team ---------------------------*/

#team summary {
	text-transform: uppercase;
	margin: 1rem 0;
	font-weight: 600;
	cursor: pointer;
	font-size: 0.87rem;
	letter-spacing: 1px;
}

#team deteails {
	padding: 10px 0;
}

/*---------------------------- Aside ---------------------------*/

#aside {		
	margin: 0;			
	padding: 0 0 1.5rem 0;
	width: 100%;
}		

#aside h2 {
	width: 100%;
	font-size: 1rem;	
	font-weight: normal;
	margin: 1.5rem 0 1rem 0;
	padding: 3px 0;
	border-bottom: 1px solid #999;
}

/*---------------------------- Termin ---------------------------*/

#termin {
	position: fixed;
	right: 0;
	bottom: 0%;
	z-index: 100;
	width: 100%;
	border-top: 1px solid #fff;
}

#termin a {
	display: block;
	text-transform: uppercase;
	background: var(--main-color);
	color: #fff;
	font-size: 1rem;
	letter-spacing: 1px;
	padding: 10px 20px;
	transition: .3s all;
	text-align: center;
}

#termin a:hover {
	background: #346293;
}

/*---------------------------- Partner ---------------------------*/

#partner-wrapper {  
	width: 100%;
	margin: 0 auto;
	padding: 30px 5%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

#partner-wrapper .partner-item {
	padding: 10px;
	text-align: center;
}

#partner-wrapper .partner-item img {
	filter: grayscale(1);
	max-height: 50px;
	width: auto;
	opacity: .8;
	transition: all .3s ease;
}

#partner-wrapper .partner-item img:hover {
	opacity: 1;
	filter: grayscale(0);	
}

/*---------------------------- Footer ---------------------------*/

#footer {
	margin: 0 auto;
	padding: 3rem 1rem;
	width: 100%;
	background: var(--main-color);
}	

#footer a:link, #footer a:visited {
	color: #fff;
}

#footer a:hover, #footer a:active {
	color: #fff;
	opacity: .7;
}

#footer ul {
	list-style: none;
	margin: 0;
}

#footer ul li {
	margin: 0;
	color: #fff;
	letter-spacing: 1px;	
	line-height: 2rem;
}

#footer .footer-navi {
	margin-top: 1rem;
}

/*---------------------------- Formular ---------------------------*/

.an-form1  {
	width: 100%;	
	border: 1px solid var(--main-color);;
	background: #f6f6f6;
	padding: 3px;
	font-size: 1em;
	font-family: 'Inter', Helvetica, Arial, 'sans-serif';		
	transition-property: background;
	transition-duration: 300ms;
	transition-timing-function: linear;
}

.an-form2  {
	width: 200px;	
	border: 1px solid var(--main-color);;
	background: #f6f6f6;
	padding: 3px;
	font-size: 1em;
	font-family: 'Inter', Helvetica, Arial, 'sans-serif';	
	transition-property: background;
	transition-duration: 300ms;
	transition-timing-function: linear;	
}

.an-form3  {
	width: 100%;	
	height: 100px;
	border: 1px solid var(--main-color);;
	background: #f6f6f6;
	padding: 3px;
	font-size: 1em;
	font-family: 'Inter', Helvetica, Arial, 'sans-serif';	
	transition-property: background;
	transition-duration: 300ms;
	transition-timing-function: linear;	
}

.an-form1:focus, .an-form2:focus, .an-form3:focus  {
	background: #fff;
	outline: 0; -moz-outline:0; 
}

.an-button {
	color: #fff;
	background: var(--main-color);		
	padding: 0.5em 1em;
	text-align: center;
	display: inline-block;
	transition-property: background;
	transition-duration: 300ms;
	transition-timing-function: linear;	
	font-family: 'Inter', Helvetica, Arial, 'sans-serif';	
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 0.87em;
	border: 0;	
	cursor: pointer;
}

.an-button:hover {
	opacity: .7;
	text-decoration: none;
}

/* Mobile nodisplay */

.no-mobile {
	display: none;
}	

/* Scroll to top */

.cd-top {
	display: inline-block;
	height: 50px;
	width: 50px;
	position: fixed;
	bottom: 10px;
	right: 10px;
	z-index: 100;
	border-radius: 50%;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
	/* image replacement properties */
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	background: #fff url(/images/layout/cdtop.svg) no-repeat center 50% !important;
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity .3s 0s, visibility 0s .3s;
	-moz-transition: opacity .3s 0s, visibility 0s .3s;
	transition: opacity .3s 0s, visibility 0s .3s;
}

.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
	-webkit-transition: opacity .3s 0s, visibility 0s 0s;
	-moz-transition: opacity .3s 0s, visibility 0s 0s;
	transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
	/* the button becomes visible */
	visibility: visible;
	opacity: .8;
}
.cd-top.cd-fade-out {
	/* if the user keeps scrolling down, the button is out of focus and becomes less visible */
	opacity: .8;
}
.no-touch .cd-top:hover, .cd-top:hover {
	background: #fff url(/images/layout/cdtop.svg) no-repeat center 50%;
	transition: all .2s ease-in-out;
	opacity: 1;
}			

/* Larger Screens */

@media only screen and (min-width: 768px) {

	#termin {
		bottom: 45%;
		width: auto;
		border: 0;
	}

	#termin a {
		padding: 5px 10px;
		font-size: 0.9rem;
	}

	#container {
		min-height: 100%;	
		max-width: 2400px;
	}

	#header {  	
		margin-bottom: -45px;		
		z-index: 2;
		border: 0;
	}

	#header .kontakt {  
		display: flex;
		width: 100%;
		justify-content: center;
		text-align: center;
		padding: 15px;
		font-size: 1rem;
		background: #fff;
		font-weight: 500;
		z-index: 2;
	}

	#header .kontakt a {  
		color: var(--main-color);
	}

	#header .kontakt a:hover {  
		color: var(--hover-color);
	}

	#header .kontakt .ti {  
		margin-right: 7px;
	}

	#header .kontakt ul {  
		margin: 0;
		width: 100%;
		max-width: 1136px;
		list-style: none;
		display: flex;
		justify-content: space-between;
	}

	#header .kontakt li {  
		color: var(--main-color);
	}

	#header .kontakt li:hover {  
		color: var(--hover-color);
	}

	@keyframes scaleheader {
		from {transform: scale(1.05)}	
		100% {transform: scale(1)}
	}

	#header .title {  
		display: flex;
		height: 100%;
		justify-content: center;
		align-items: center;
		text-align: center;
		padding: 0 0 40px 0;
		margin: 0;
		font-size: 3rem;
		height: 540px;
		max-height: 60vh;
		background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,.4) 25%, rgba(61,122,184,.15) 50%, rgba(61,122,184,.5) 90%), url(/images/layout/AdobeStock_602954597.jpg) center/cover no-repeat;	
	}

	#header .title div {  
		max-width: 800px;
	}

	#wrapper {
		max-width: 1200px;		
		padding: 4rem 2rem;		
		display: flex;
		justify-content: space-between;
	}

	h1 {
		font-size: 1.8rem;
		margin: 0 0 30px 0;
	}

	h2 {
		font-size: 1.2rem;
		margin: 20px 0;
	}

	h3 {
		font-size: 1rem;
		margin: 20px 0;
	}

	#main {
		min-height: 500px;
		padding: 0 5rem 2rem 0;
		width: 65%;
	}

	#main p, #main li {
		hyphens: auto;
		text-align: justify;
		line-height: 150%;
	}

	#aside {
		padding: 0 0 2rem 0;
		width: 35%;
	}

	#aside p {
		hyphens: auto;
		line-height: 150%;
	}

	#footer {
		padding: 30px 0;
	}

	#footer .footer-wrapper {
		width: 100%;
		margin: 0 auto;
		padding: 30px;
		max-width: 1200px;
		display: flex;
		justify-content: space-between;
		overflow: auto;
	}

	#footer .footer-navi {
		margin: 0;
		order: 1;
		flex: 1 1 30%;
	}

	#footer .footer-imprint {
		order: 2;
		display: flex;
		align-items: flex-end;
		flex: 1 1 30%;
	}

	#footer .footer-address {
		order: 3;
		display: flex;
		align-items: flex-end;	
		flex: 1 1 40%;
	}

	.no-mobile {
		display: inline-block;
	}

	/* Fade in - on the end */

	@-webkit-keyframes FadeIn {0% {opacity:0;} 100% {opacity:1;}}
	@-moz-keyframes FadeIn {0% {opacity:0;} 100% {opacity:1;}}
	@keyframes FadeIn {0% {opacity:0;} 100% {opacity:1;}}
}

/*----------------------------iPad ---------------------------*/

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {

	#header .title {  
		height: 425px;
	}

	#main p, #main li, #aside p {
		font-size: 1rem;
		margin: 0 0 1rem 0;
		text-align: left;
	}

}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {

	#header .kontakt {  
		font-size: .75rem;
	}

	#header .title {  
		height: 400px;
		font-size: 2.4rem;
	}

	#header .title div {  
		padding: 0 60px;
	}

	#navi {	
		font-size: 0.87rem;
	}

	#wrapper {
		padding: 60px 30px;		
		display: block;
	}

	#main {
		padding: 0 0 30px 0;
		width: 100%;
	}

	#aside {
		padding: 0;
		width: 100%;
		max-width: 700px;
	}

	#footer {  	
		font-size: .8rem;
	}

}

/*----------------------------Print ---------------------------*/

@media print { 
	* {background: transparent !important; color: #000 !important; font-size: 12pt;}
	@page {size: A4; padding: 1cm;}
	#header, #background-navi, #nav-container, #aside, #footer, .cd-top {display: none;}	
	#main {width: 100%; margin: 0 auto; padding: 0;}	
}
