/* //////////////////////////////////// ALLGEMEIN //////////////////////////////////// */
html {
	box-sizing: border-box;
	background-color: #ffffff;
	scroll-behavior: smooth;
}
*, *:before, *:after {
	box-sizing: inherit;
}
body{
	font-family: "parabolica", sans-serif;
	color: #1D2F1B;
	margin: 0px;
	line-height: 1.5;
	font-size: 21px;
	font-weight: 200;
	scroll-behavior: smooth;
}
h1 {
	 font-family: komu-new-c, sans-serif; 
	font-size: 50px;
	color: #B8DA79;
	margin: 0 auto;	
	line-height: 1;
	font-weight: 500;
}
h2 {
	 font-family: komu-new-c, sans-serif; 
	font-size: 45px;
	color: #B8DA79;
	margin: 0 auto 30px;	
	line-height: 1.2;
	font-weight: 500;
}
h3, h4, h5, h6 {
	font-family: "parabolica", sans-serif;
	font-size: 21px;
	color: #1D2F1B;
	margin: 0 auto 10px;	
	line-height: 1.2;
	font-weight: 800;
}
div p{
	margin: 0px 0px 15px 0px;
}
div p:last-child, p:last-child{
	margin: 0 auto;
}
img, svg, video{
	max-width: 100%;
	height:auto;
}
a{
	color: #FF6120;
	text-decoration: none;
}
a:active, a:hover {
	color: #651E01;
}
ul{
	padding-left: 20px;
	margin: 0 auto 15px;
}
.textcenter{
	text-align: center;
}

/* //////////////////////////////////// CONTENT //////////////////////////////////// */
.w1280{
	max-width: 1280px;
	margin: 0 auto;
	position:relative;
	padding: 0px 40px;
}
.w1024{ max-width:1024px; margin:0 auto; position:relative; }
.w960{ max-width:960px; margin:0 auto; position:relative; }
.w800{ max-width:800px; margin:0 auto; position:relative; }
.w700{ max-width:700px; margin:0 auto; position:relative; }
.margin_oben{ margin-top: 100px; }
.margin_unten{ margin-bottom: 100px; }

.fullwidth{
	width:100%;
	background-repeat:no-repeat;
	background-size:cover;
	background-position: center;
	position: relative;
}

/* //////////////////////////////////// HEADER //////////////////////////////////// */
.site-header { margin-bottom: 50px; }

.header-inner{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding-top: 20px;
	padding-bottom: 20px;
}
.header-left{
	display: flex;
	align-items: center;
	gap: 40px;
	min-width: 0;
}
.header-menu{
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 40px;
}
.header-menu li{ margin: 0; padding: 0; }
.header-menu a{
	font-family: "parabolica", sans-serif;
	font-size: 17px;
	font-weight: 200;
	text-transform: uppercase;
	color: inherit;
	text-decoration: none;
	display: inline-block;
}
.header-menu a:hover,
.header-menu a:focus{ text-decoration: underline; }

.header-langs{
	display: flex;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
	font-family: "parabolica", sans-serif;
	font-size: 15px;
	text-transform: uppercase;
}
.header-langs .lang{ color: inherit; text-decoration: none; }
.header-langs .lang:hover,
.header-langs .lang:focus{ text-decoration: underline; }
.header-langs .lang.is-active{
	font-weight: 600;
	text-decoration: underline;
}

.header-right{
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.header-logo{ display: inline-flex; align-items: center; justify-content: flex-end; }
.header-logo img{ width: 90px; height: auto; display: block; }

/* //////////////////////////////////// BLOCK 01 – HERO INLINE MARK //////////////////////////////////// */
.block-hero-inline{ margin-bottom: 30px; }
.hero-h1{ margin: 0; color: #1D2F1B; }
.hero-h1--inline{
	display: inline-flex;
	align-items: center;
	gap: 30px;
	flex-wrap: wrap;
}

/* //////////////////////////////////// MEDIA HERO – 1400:400 (Video & Bilder) //////////////////////////////////// */
.block-media-hero{
	aspect-ratio: 1400 / 400;
	width: 100%;
	overflow: hidden;
	margin-bottom: 90px;
}
.block-media-hero--spaced{ margin-bottom: 110px; }
.block-media-hero__media{
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
	background: #000;
}

/* //////////////////////////////////// BLOCK – 2 SPALTEN //////////////////////////////////// */
.block-two-cols{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	margin-bottom: 90px;
	align-items: start;
}
.block-image{ aspect-ratio: 1 / 1; overflow: hidden; }
.block-image img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
.block-content{ text-align: left; }
.block-text{ margin-top: 10px; }

/* //////////////////////////////////// BLOCK – JOBS //////////////////////////////////// */
.block-jobs{ margin-bottom: 50px; }
.block-jobs-text{ margin-bottom: 30px; }
.block-jobs-text li{
	background-image: url("../images/Aufzaehlung.svg");
	background-repeat: no-repeat;
	background-size: 8px;
	background-position: left 13px;
	padding-left: 20px;
	list-style-type: none;
	width: 45%;
	float: left;
	margin-right: 5%;
}
.block-jobs-text ul{
	display: inline-block;
}

/* //////////////////////////////////// APPLY BUTTON //////////////////////////////////// */
.apply-btn{
	 font-family: komu-new-c, sans-serif; 
	font-size: 28px;
	cursor: pointer;
	border: 0;
	background: #B8DA79;
	color: #1D2F1B;
}
.apply-btn--floating{
	position: absolute;
	right: 0;
	top: -210px;
	width: 200px;
	height: 200px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 20px;
	line-height: 1.3;
	box-shadow: 0 0 0 20px rgba(184,218,121,0.35);
	transition: box-shadow 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
	z-index: 5;
}
.apply-btn--floating:hover{ box-shadow: 0 0 0 35px rgba(184,218,121,0.35); }

.apply-between-mobile{ display: none; }
.apply-btn--bar{
	width: 100%;
	border-radius: 0;
	padding: 18px 20px;
	display: block;
	text-align: center;
	box-shadow: none;
}

/* //////////////////////////////////// OVERLAY //////////////////////////////////// */
.apply-overlay{
	position: fixed;
	inset: 0;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.apply-overlay.is-open{
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.apply-overlay__backdrop{
	position: absolute;
	inset: 0;
	background: rgba(27,57,66,0.7);
}

/* Desktop: zentriert */
.apply-overlay__panel{
	position: relative;
	background: #fff;
	max-width: 1100px;
	width: calc(100% - 40px);
	margin: 0 auto;
	top: 50%;
	transform: translateY(-50%);
	padding: 50px;

	/* wichtig: falls doch mal höher als Viewport */
	max-height: calc(100vh - 40px);
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.apply-overlay__close{
	position: absolute;
	top: 18px;
	right: 18px;
	border: 0;
	background: transparent;
	padding: 8px;
	cursor: pointer;
	z-index: 2;
}

.apply-overlay__close img{
	display: block;
	width: 28px;
	height: 28px;
}

body.no-scroll{ overflow: hidden; }

/* //////////////////////////////////// OVERLAY CONTENT //////////////////////////////////// */
.overlay-title{ margin: 0 0 15px 0; }
.overlay-text{ margin-bottom: 30px; }
.overlay-form-spacer{ height: 0; }

/* //////////////////////////////////// OVERLAY FORM //////////////////////////////////// */
.bewerbung-form label{
	display: block;
	font-family: "parabolica", sans-serif;
	font-size: 15px;
	margin-bottom: 6px;
}

.bewerbung-form input[type="text"],
.bewerbung-form input[type="email"],
.bewerbung-form select,
.bewerbung-form textarea{
	width: 100%;
	background: #e8ebeb;
	border: 0;
	padding: 8px 15px;
	font-family: "parabolica", sans-serif;
	font-size: 18px;
	outline: none;
}

.bewerbung-form textarea{ resize: vertical; }

.form-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 40px; /* nur zwischen den Spalten */
	row-gap: 12px;
	margin-bottom: 10px;
}

.form-grid-uploads{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 20px;
	margin-top: 10px;
}

.form-field{ margin-bottom: 18px; }
.form-grid-2 .form-field{ margin-bottom: 12px; } /* weniger Abstand nach Vor-/Nachname */

.upload-hint{
	font-family: "parabolica", sans-serif;
	font-size: 15px;
	margin: 10px 0 10px;
}

.form-consent{
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 12px;
	align-items: start;
	margin-top: 10px;
	font-family: "parabolica", sans-serif;
	font-size: 15px;
}

.form-consent input{ margin-top: 4px; }
.form-consent a{ color: inherit; text-decoration: underline; }

.form-messages{
	margin-top: 14px;
	font-family: "parabolica", sans-serif;
	font-size: 15px;
}

.form-messages .ok{
	color: #1f7a2e;
	font-size:20px;
	font-weight:bold;
	margin-bottom: 15px;
}

.form-messages .err{
	font-size:20px;
	font-weight:bold;
	margin-bottom: 15px;
	color: #b00020;
}

/* Jede Meldung eigene Zeile */
.form-messages .ok > div,
.form-messages .err > div{
	margin-bottom: 6px;
}
.form-messages .ok > div:last-child,
.form-messages .err > div:last-child{
	margin-bottom: 0;
}

.form-submit{
	margin-top: 18px;
	background: #B8DA79;
	border: 0;
	border-radius: 999px;
	padding: 8px 15px;
	font-family: "parabolica", sans-serif;
	font-size: 15px;
	cursor: pointer;
}

.form-submit:disabled{
	opacity: 0.5;
	cursor: not-allowed;
}

/* Honeypot unsichtbar */
.hp-wrap{
	position: absolute;
	left: -9999px;
	top: -9999px;
	height: 0;
	overflow: hidden;
}

/* //////////////////////////////////// FORM ERROR STATE (LABEL ROT + FIELD OUTLINE) //////////////////////////////////// */
.bewerbung-form .form-field.has-error > label,
.bewerbung-form .form-consent.has-error > label,
.bewerbung-form label[data-error="1"]{
	color: #b00020 !important;
}

.bewerbung-form .form-field.has-error input[type="text"],
.bewerbung-form .form-field.has-error input[type="email"],
.bewerbung-form .form-field.has-error select,
.bewerbung-form .form-field.has-error textarea{
	outline: 2px solid #b00020 !important;
	outline-offset: 0;
}

.bewerbung-form .form-field.has-error input[type="file"]{
	outline: 2px solid #b00020 !important;
	outline-offset: 2px;
}

/* //////////////////////////////////// Responsive //////////////////////////////////// */
@media screen and (max-width: 800px){

	/* Overlay: nicht mehr vertikal zentrieren, sondern oben/unten mit Abstand
	   und der Inhalt scrollt im Panel */
	.apply-overlay__panel{
		top: auto;
		transform: none;
		margin: 20px auto;
		width: calc(100% - 30px);
		padding: 20px 18px;

		max-height: calc(100vh - 40px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.apply-overlay__close{
		top: 10px;
		right: 10px;
	}

	.apply-overlay__close img{
		width: 24px;
		height: 24px;
	}

	/* Titel/Text im Overlay kleiner */
	.apply-overlay__panel .overlay-title{
		font-size: 26px;     /* vorher h2 ~33px */
		line-height: 1.15;
		margin-bottom: 10px;
	}
	.apply-overlay__panel .overlay-text{
		font-size: 18px;     /* Basistext kleiner */
		line-height: 1.5;
		margin-bottom: 20px;
	}

	/* Formular Typo kleiner */
	.bewerbung-form input[type="text"],
	.bewerbung-form input[type="email"],
	.bewerbung-form select,
	.bewerbung-form textarea{
		font-size: 16px;
	}

	.form-grid-2{ grid-template-columns: 1fr; column-gap: 0; row-gap: 12px; }
	.form-grid-uploads{ grid-template-columns: 1fr; gap: 12px; }

	.block-two-cols{ grid-template-columns: 1fr; }
	.block-image{ aspect-ratio: 1400 / 400; margin-bottom: 30px; }
	.block-jobs-lists{ grid-template-columns: 1fr; gap: 0; }

	.apply-between-mobile{ display: block; }
	.apply-btn--floating{ display: none; }
}

.tiled-gallery{
	padding-top: 50px;
}


/* //////////////////////////////////// FOOTER //////////////////////////////////// */
.site-footer{
	margin-top: 90px;
}
.footer-inner{
	background-color: #1D2F1B;
	text-align: center;
	color: #fff;
	padding: 50px 0;
}

.footer-logo img{
	display: block;
	width: 90px;
	height: auto;
	margin: 0 auto 20px;
}

.footer-address{
	margin: 0;
}

.footer-phone,
.footer-email{
	font-family: "parabolica", sans-serif;
}

.footer-phone .footer-label{
	margin-right: 6px;
}

.footer-phone a,
.footer-email a,
.footer-legal a{
	color: inherit;
	text-decoration: none;
}

.footer-phone a:hover,
.footer-email a:hover,
.footer-legal a:hover{
	text-decoration: underline;
}

.footer-funding{
	margin-top: 20px;
	font-family: "parabolica", sans-serif;
	font-weight: 200;
	font-size: 15px;
}

.footer-legal{
	font-family: "parabolica", sans-serif;
	font-size: 15px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.footer-sep{
	display: inline-block;
}


/* //////////////////////////////////// CLEARFIX //////////////////////////////////// */
.clearfix:before,
.clearfix:after { content:""; display:table; }
.clearfix:after { clear:both; }
.clearfix { zoom:1; }
