/* ===================================================================
   Aquaroc - Recruiting-Landingpage "Werk Sued Ellzee"
   Scoped Stylesheet - wird ausschliesslich auf Seite uid 38 geladen.
   Alle Regeln liegen unter .lp-page, damit nichts nach aussen wirkt.
   Corporate Design: Hellblau #0092C3, Grau #666666, Text #262626,
   Hintergrund Off-White #FAF9F6. Keine weiteren Farben, keine
   Verlaeufe, keine Schlagschatten. Motiv: Schalung & Wasserlinie.
   =================================================================== */

/* ---------- Schriften (selbst gehostet, latin) ---------- */
@font-face {
	font-family: 'Big Shoulders Display';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../Fonts/Landingpage/big-shoulders-display-700.woff2') format('woff2');
}
@font-face {
	font-family: 'Work Sans';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../Fonts/Landingpage/work-sans-400.woff2') format('woff2');
}
@font-face {
	font-family: 'Work Sans';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../Fonts/Landingpage/work-sans-600.woff2') format('woff2');
}
@font-face {
	font-family: 'IBM Plex Mono';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../Fonts/Landingpage/ibm-plex-mono-400.woff2') format('woff2');
}
@font-face {
	font-family: 'IBM Plex Mono';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../Fonts/Landingpage/ibm-plex-mono-500.woff2') format('woff2');
}

/* ---------- Design-Tokens ---------- */
.lp-page {
	--blau:  #0092C3;
	--grau:  #666666;
	--text:  #262626;
	--bg:    #FAF9F6;
	--weiss: #FFFFFF;
	/* Haarlinien = transparente Toene der Palette, keine neue Farbe */
	--linie:       rgba(38, 38, 38, 0.14);
	--linie-blau:  rgba(0, 146, 195, 0.30);

	--font-display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
	--font-body:    'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-mono:    'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

	--wrap: 1080px;
	--text-wrap: 720px;
}

/* ---------- Reset / Basis (auf diese Seite begrenzt) ---------- */
.lp-page,
.lp-page * { box-sizing: border-box; }

.lp-page {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	overflow-x: hidden;
}

.lp-page img { max-width: 100%; height: auto; display: block; }
.lp-page a { color: var(--blau); }

.lp-page p { margin: 0 0 1.1em; }
.lp-page p:last-child { margin-bottom: 0; }

.lp-page :focus-visible {
	outline: 3px solid var(--blau);
	outline-offset: 2px;
}

/* ---------- Layout-Hilfen ---------- */
.lp-wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 22px;
}
.lp-section { padding: 56px 0; }
.lp-section--tight { padding: 40px 0; }
.lp-narrow { max-width: var(--text-wrap); margin-left: auto; margin-right: auto; }

/* ---------- Wellenlinie (Wasserlinie-Motiv) ---------- */
.lp-wave {
	height: 26px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0 10 Q 25 1.5 50 10 T 100 10' fill='none' stroke='%230092C3' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: repeat-x;
	background-position: left center;
	background-size: 92px 18px;
}
.lp-wave--lg { height: 40px; background-size: 130px 26px; }

/* ---------- Typografie ---------- */
.lp-page h1,
.lp-page h2,
.lp-page h3 {
	font-family: var(--font-display);
	font-weight: 700;
	text-transform: uppercase;
	line-height: 0.98;
	letter-spacing: 0.005em;
	margin: 0;
	color: var(--text);
}
.lp-page h1 { font-size: clamp(2.7rem, 10.5vw, 5.1rem); }
.lp-page h2 { font-size: clamp(2rem, 7vw, 3.15rem); }
.lp-page h3 { font-size: 1.45rem; line-height: 1.05; }

/* Mono-Marker / Eyebrow */
.lp-eyebrow {
	font-family: var(--font-mono);
	font-weight: 500;
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--blau);
	margin: 0 0 14px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 10px;
}
.lp-eyebrow::before {
	content: "";
	width: 26px;
	height: 0;
	border-top: 2px solid var(--blau);
	flex: none;
}
.lp-eyebrow--center { justify-content: center; }

.lp-lead {
	font-size: clamp(1.15rem, 4.4vw, 1.4rem);
	line-height: 1.5;
}

/* ---------- Kopfbereich / Logo im Schutzraum ---------- */
.lp-header {
	padding: 26px 22px;
	text-align: center;
	background: var(--bg);
}
.lp-header__logo {
	display: inline-block;
	width: 158px;
	max-width: 56vw;
}
.lp-header__logo svg { width: 100%; height: auto; display: block; }
.lp-svg-blau { fill: var(--blau); }
.lp-svg-grau { fill: var(--grau); }

/* ---------- Hero ---------- */
.lp-hero { background: var(--bg); }
/* Hero-Bild voll mitwachsend ueber die gesamte Seitenbreite, ungeschnitten */
.lp-hero__media { width: 100%; }
.lp-hero__img { width: 100%; height: auto; display: block; }
.lp-hero__body {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 34px 22px 8px;
	text-align: center;
}
.lp-hero h1 { margin: 6px auto 0; max-width: 12ch; }
/* .lp-page-Praefix: schlaegt den generischen ".lp-page p"-Selektor,
   sonst greift dort margin:0 und die Subzeile wird nicht zentriert. */
.lp-page .lp-hero__sub {
	font-family: var(--font-mono);
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--grau);
	margin: 18px auto 0;
	max-width: 34ch;
}
.lp-hero__cta { margin-top: 26px; }

/* ---------- Buttons ---------- */
.lp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 1.02rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	padding: 17px 30px;
	border: 2px solid var(--blau);
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.lp-page a.lp-btn { text-decoration: none; }
.lp-page .lp-btn--primary { background: var(--blau); color: var(--weiss); }
.lp-page .lp-btn--primary:hover,
.lp-page .lp-btn--primary:focus-visible { background: var(--text); border-color: var(--text); color: var(--weiss); }
.lp-page .lp-btn--ghost { background: transparent; color: var(--blau); }
.lp-page .lp-btn--ghost:hover,
.lp-page .lp-btn--ghost:focus-visible { background: var(--blau); color: var(--weiss); }
.lp-btn--block { display: flex; width: 100%; }
.lp-btn__icon { width: 21px; height: 21px; flex: none; }

/* ---------- Standard-Textsektion ---------- */
.lp-prose p { margin-bottom: 1.15em; }

/* ---------- Aufzaehlungen (Schalungs-Marker) ---------- */
.lp-list { list-style: none; margin: 0; padding: 0; }
.lp-list li {
	position: relative;
	padding: 18px 0 18px 34px;
	border-top: 1px solid var(--linie);
}
.lp-list li:last-child { border-bottom: 1px solid var(--linie); }
.lp-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 26px;
	width: 13px;
	height: 13px;
	background: var(--blau);
}

/* ---------- Angebots-Raster (Kacheln) ---------- */
.lp-tiles {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	margin-top: 26px;
}
.lp-tile {
	background: var(--weiss);
	border: 1px solid var(--linie);
	border-top: 3px solid var(--blau);
	padding: 26px 24px;
}
.lp-tile__icon { width: 40px; height: 40px; margin-bottom: 14px; color: var(--blau); }
.lp-tile__icon svg { width: 100%; height: 100%; display: block; }
.lp-tile p { font-size: 1rem; line-height: 1.5; color: var(--text); margin: 0; }

/* ---------- Intro ---------- */
.lp-intro { text-align: center; }

/* ---------- Bewerbungs-Sektion ---------- */
.lp-apply { background: var(--bg); }
.lp-apply__intro { text-align: center; }
.lp-apply__intro .lp-lead { margin-top: 14px; }

/* Drei gleichwertige Wege */
.lp-ways {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	margin: 30px 0 8px;
}
.lp-way {
	background: var(--weiss);
	border: 1px solid var(--linie);
	padding: 24px 22px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.lp-way__icon { width: 38px; height: 38px; margin-bottom: 12px; color: var(--blau); }
.lp-way__icon svg { width: 100%; height: 100%; display: block; }
.lp-way__title {
	font-family: var(--font-display);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 1.3rem;
	margin: 0 0 4px;
}
.lp-way__text { font-size: 0.92rem; color: var(--grau); margin: 0 0 18px; }
.lp-way .lp-btn { margin-top: auto; }

/* ---------- Formular (EXT:form) ---------- */
.lp-form-wrap {
	background: var(--weiss);
	border: 1px solid var(--linie);
	border-top: 3px solid var(--blau);
	padding: 30px 22px;
	max-width: 680px;
	margin: 26px auto 0;
	/* position+overflow fangen das absolut positionierte EXT:form-
	   Honeypot-Feld (margin-left:-999em) ein - sonst horizontaler Ueberlauf */
	position: relative;
	overflow: hidden;
}
.lp-form-wrap > h3 { margin-bottom: 6px; }
.lp-form-note {
	font-size: 0.95rem;
	color: var(--grau);
	margin-bottom: 22px;
}

/* EXT:form rendert generische Strukturen - hier generisch gestylt */
.lp-form-wrap fieldset {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}
.lp-form-wrap legend { display: none; }
.lp-form-wrap .form-group,
.lp-form-wrap .form-element { margin-bottom: 18px; }

.lp-form-wrap label {
	display: block;
	font-weight: 600;
	font-size: 0.95rem;
	margin-bottom: 7px;
}
.lp-form-wrap input[type="text"],
.lp-form-wrap input[type="email"],
.lp-form-wrap input[type="tel"],
.lp-form-wrap input[type="number"],
.lp-form-wrap input[type="date"],
.lp-form-wrap textarea {
	width: 100%;
	font-family: var(--font-body);
	font-size: 1.02rem;
	color: var(--text);
	background: var(--bg);
	border: 1px solid var(--grau);
	padding: 13px 14px;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}
.lp-form-wrap textarea { min-height: 110px; resize: vertical; }
.lp-form-wrap input:focus,
.lp-form-wrap textarea:focus {
	outline: none;
	border-color: var(--blau);
	box-shadow: inset 0 0 0 1px var(--blau);
}

/* Pflichtfeld-Markierung (EXT:form fuegt <span class="required">* ein) */
.lp-form-wrap .required { color: var(--blau); margin-left: 2px; }

/* Checkbox-Reihe (DSGVO-Einwilligung) - Checkbox + Text liegen im <label> */
.lp-form-wrap .form-check-label,
.lp-form-wrap .form-check label {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-weight: 400;
	font-size: 0.92rem;
	line-height: 1.5;
	margin: 0;
	cursor: pointer;
}
/* aquaroc_sitepackage, EXT:form 14: Checkbox steht vor dem <label> in div.form-check-wrapping-label
   (bis TYPO3 12 lag sie im <label>). Gleiche Anordnung wie zuvor. */
.lp-form-wrap .form-check-wrapping-label {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}
.lp-form-wrap input[type="checkbox"] {
	width: 22px;
	height: 22px;
	flex: none;
	margin: 1px 0 0;
	accent-color: var(--blau);
}

/* Hilfetexte / Feldbeschreibungen */
.lp-form-wrap .help-block,
.lp-form-wrap .help-text,
.lp-form-wrap .form-text {
	font-size: 0.84rem;
	color: var(--grau);
	margin-top: 5px;
}

/* Validierungsfehler */
.lp-form-wrap .has-error input,
.lp-form-wrap .has-error textarea { border-color: var(--text); }
.lp-form-wrap .error,
.lp-form-wrap .help-block.error,
.lp-form-wrap ul[class*="error"] {
	color: var(--text);
	font-size: 0.86rem;
	font-style: italic;
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
}

/* Absende-Button */
.lp-form-wrap button,
.lp-form-wrap input[type="submit"] {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 1.05rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--weiss);
	background: var(--blau);
	border: 2px solid var(--blau);
	padding: 17px 28px;
	margin-top: 8px;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
.lp-form-wrap button:hover,
.lp-form-wrap input[type="submit"]:hover {
	background: var(--text);
	border-color: var(--text);
}

/* Bestaetigungszustand nach erfolgreichem Absenden:
   Im Formular-Zustand ist #bewerbung-ellzee- das <form> selbst, nach dem
   Absenden ein <div> mit der Bestaetigungsmeldung. Per Elementtyp (div)
   wird nur der Bestaetigungszustand angesprochen. */
.lp-form-wrap:has(div#bewerbung-ellzee-) .lp-form-note { display: none; }
.lp-form-wrap div#bewerbung-ellzee- {
	text-align: center;
	font-size: 1.1rem;
	line-height: 1.65;
	color: var(--text);
	padding: 14px 4px;
}

/* ---------- Ansprechpartner ---------- */
.lp-contact { text-align: center; }
.lp-contact__card {
	display: inline-block;
	border-top: 3px solid var(--blau);
	background: var(--weiss);
	border-left: 1px solid var(--linie);
	border-right: 1px solid var(--linie);
	border-bottom: 1px solid var(--linie);
	padding: 28px 34px;
	margin-top: 8px;
}
.lp-contact__name {
	font-family: var(--font-display);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 1.7rem;
	line-height: 1;
	margin: 0 0 12px;
}
.lp-contact__row {
	font-family: var(--font-mono);
	font-size: 0.95rem;
	margin: 5px 0;
}
.lp-contact__row a { text-decoration: none; }
.lp-contact__row a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.lp-footer {
	background: var(--text);
	color: var(--bg);
	padding: 34px 22px;
	text-align: center;
}
.lp-footer__logo { width: 132px; margin: 0 auto 18px; }
.lp-footer__logo svg { width: 100%; height: auto; display: block; }
.lp-footer__logo .lp-svg-blau { fill: var(--blau); }
.lp-footer__logo .lp-svg-grau { fill: var(--bg); }
.lp-footer__addr {
	font-size: 0.92rem;
	line-height: 1.7;
	color: var(--bg);
	margin: 0 0 14px;
}
.lp-footer__links {
	font-family: var(--font-mono);
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.lp-footer__links a { color: var(--bg); text-decoration: none; }
.lp-footer__links a:hover { text-decoration: underline; }
.lp-footer__links span { color: var(--grau); margin: 0 8px; }

/* ---------- Tablet / Desktop ---------- */
@media (min-width: 600px) {
	.lp-tiles { grid-template-columns: 1fr 1fr; }
	.lp-ways  { grid-template-columns: 1fr 1fr 1fr; }
}

@media (min-width: 880px) {
	.lp-section { padding: 84px 0; }
	.lp-section--tight { padding: 56px 0; }
	.lp-header { padding: 34px 22px; }
	.lp-header__logo { width: 188px; }
	.lp-tiles { grid-template-columns: 1fr 1fr 1fr; gap: 18px; }

	.lp-hero__body { padding-top: 52px; }

	.lp-form-wrap { padding: 44px 52px; }
	.lp-form-grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0 22px;
	}

	.lp-list li { padding-left: 40px; font-size: 1.06rem; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
	.lp-page * { transition: none !important; }
}
