/**
 * karriere.css — Karriereseite Kids Club by ZACP.
 * Exakt nach dem Kids Club Design System:
 * - Keine schwarzen Schriftfarben (#000, #222, #333, #555): 100% Brand-Farben (var(--navy), var(--ink-soft), var(--magenta))
 * - Hero-Bild statisch mit Overlay Kids Club & flüssigem Parallaxe-Effekt (kein Slider, keine Dots)
 * - Mosaik-Galerie veredelt mit feinen Rundungen und Schatten
 * - Lightbox-Modal minimalistisch, mit modernem Blur-Hintergrund, klaren Steuerelementen
 * - Accordions: Offene Stellen épuré, Team-Events ZACP/Kids Club
 */

/* ==========================================================================
   1. HERO BANNER & PARALLAXE (Format Clip Kids Club)
   ========================================================================== */

/* ==========================================================================
   1. HERO BANNER & PARALLAXE (Format Clip / Slider Kids Club)
   ========================================================================== */

@keyframes kc-hero-rise {
	from { transform: translateY(110%); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

@keyframes kc-hero-line {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

@keyframes kc-hero-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes kc-hero-scroll {
	0% { transform: translateY(-100%); }
	100% { transform: translateY(200%); }
}

@keyframes kc-hero-kenburns {
	from { transform: scale(1); }
	to { transform: scale(1.12); }
}

.karriere-hero-wrap {
	position: relative;
	width: 100%;
	min-height: 600px;
	height: 100vh;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--navy, #102E79);
}

.karriere-hero-parallax-container {
	position: absolute;
	inset: -12% 0;
	overflow: hidden;
	pointer-events: auto;
	will-change: transform;
}

.karriere-hero-swiper {
	width: 100%;
	height: 100%;
	position: relative;
}

.karriere-hero-swiper .swiper-slide {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.karriere-hero-bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	transform-origin: center;
}

/* Ken-Burns nur auf dem sichtbaren Slide: ruhige Bewegung statt Standbild. */
.karriere-hero-swiper .swiper-slide-active .karriere-hero-bg-img {
	animation: kc-hero-kenburns 14s ease-in-out infinite alternate;
}

/*
 * Teamvideo über den Hero-Fotos, in drei Fassungen.
 *
 * Sichtbar wird eine Fassung erst, wenn das JavaScript ihre Quelle gesetzt hat (Klasse
 * is-ready): ohne das zeigte der Kasten vorher das Poster, und der Wechsel Poster zu
 * erstem Videobild sprang sichtbar.
 *
 * Die Grenzen 768 und 1024 px sind die, die kidsclub.css ohnehin verwendet, keine hier
 * erfundenen Werte. Jede Fassung hat ihren eigenen Zuschnitt, weil ein einziger in den
 * beiden anderen Gerätegruppen falsch säße.
 */
.karriere-hero-video {
	display: none;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
	z-index: 1;
	opacity: 0;
	transition: opacity 0.6s ease;
}

.karriere-hero-video.is-ready {
	opacity: 1;
}

@media (min-width: 1024px) {
	.karriere-hero-video--desktop { display: block; }
}

@media (min-width: 768px) and (max-width: 1023px) {
	.karriere-hero-video--tablet { display: block; }
}

@media (max-width: 767px) {
	.karriere-hero-video--mobile { display: block; }
}

@media (prefers-reduced-motion: reduce) {
	.karriere-hero-video { display: none !important; }
}

.karriere-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(16, 46, 121, 0.22) 0%,
		rgba(16, 46, 121, 0.68) 100%
	);
	pointer-events: none;
	z-index: 2;
}

.karriere-hero-content {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 28px;
	text-align: center;
	pointer-events: none;
	will-change: transform, opacity;
}

.karriere-hero-title {
	color: #ffffff !important;
	font-family: var(--font-display, 'Jost', sans-serif);
	font-size: clamp(3.2rem, 10vw, 9.5rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin: 0;
	line-height: 1;
	text-shadow: 0 18px 40px rgba(16, 46, 121, 0.45);
	display: flex;
	justify-content: center;
	overflow: hidden;
	padding: 0 0.06em;
}

.karriere-hero-letter {
	display: inline-block;
	animation: kc-hero-rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.karriere-hero-letter.is-space {
	width: 0.32em;
}

/*
 * Markerstrich unter dem Titel, zieht sich nach dem letzten Buchstaben von links auf.
 * Die Form liegt als SVG im Template; hier nur Farbe, Breite und das Aufziehen. Die Höhe
 * ergibt sich aus dem Seitenverhältnis des viewBox (120 zu 12), deshalb keine feste Höhe:
 * eine zweite Zahl hier würde die Zeichnung beim nächsten Nachschärfen verzerren.
 */
.karriere-hero-rule {
	display: block;
	width: 120px;
	color: var(--magenta, #EA4589);
	transform-origin: left;
	animation: kc-hero-line 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.9s both;
}

.karriere-hero-rule svg {
	display: block;
	width: 100%;
	height: auto;
}

/* Scroll-Hinweis am unteren Rand */
.karriere-hero-scroll {
	position: absolute;
	left: 50%;
	bottom: 32px;
	transform: translateX(-50%);
	z-index: 4;
	pointer-events: none;
	animation: kc-hero-fade 1s ease 1.6s both;
}

.karriere-hero-scroll-track {
	display: block;
	position: relative;
	width: 2px;
	height: 44px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.6);
	overflow: hidden;
}

.karriere-hero-scroll-dot {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 50%;
	background: #ffffff;
	animation: kc-hero-scroll 1.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
	.karriere-hero-letter,
	.karriere-hero-rule,
	.karriere-hero-scroll,
	.karriere-hero-scroll-dot,
	.karriere-hero-swiper .swiper-slide-active .karriere-hero-bg-img {
		animation: none !important;
		opacity: 1;
		transform: none;
	}
}

/*
 * Keine Navigationspunkte im Hero (Designvorgabe): sollte Swiper doch einmal ein
 * Pagination-Element erzeugen, bleibt es unsichtbar und ohne Klickfläche.
 */
.karriere-hero-swiper .swiper-pagination {
	display: none !important;
}

/*
 * Die Sektion liegt über dem Hero, damit der Parallaxe-Versatz sie nicht überdeckt.
 * Kein Schlagschatten: die Designvorlage zeigt eine schlichte weiße Fläche.
 */
.section-karriere-starten {
	position: relative;
	z-index: 5;
}

/* ==========================================================================
   2. ALLGEMEINE SEKTIONS-STILE
   ========================================================================== */

.page-karriere {
	background: var(--bg, #fcfaf8);
	overflow-x: hidden;
	font-family: var(--font-body, 'Jost', sans-serif);
	color: var(--navy, #102E79);
}

/*
 * Linksbündiger Kopf der Stellen-Sektion (nur dort verwendet).
 *
 * Der Handoff nennt 860 px, dort bricht der Titel aber dreizeilig um, und der Kunde will
 * zwei Zeilen. Die Schriftgröße bleibt wie vorgegeben; nur die Breite weicht ab.
 *
 * max-width begrenzt nur nach oben: unterhalb von 1150 px ist der Kopf ohnehin so breit
 * wie der Container, deshalb braucht es dafür keine Media Query. Auf großen Schirmen
 * greift zuerst der Container (1200 px minus Seitenabstand), gemessene 1120 px.
 *
 * ⚠️ Die zweite Zeile misst 1083 px in 1120 px nutzbarer Breite, es bleiben also nur
 * rund 37 px Luft. Wer hier an Schriftgröße, Laufweite oder Seitenabstand dreht, schiebt
 * den Titel zurück auf drei Zeilen.
 */
.page-karriere .karriere-section-head {
	text-align: left;
	max-width: 1150px;
	margin-bottom: 0;
}

/*
 * text-transform: none ist hier KEIN Schönheitswunsch, sondern die eigentliche Korrektur.
 *
 * kidsclub.css setzt auf h1,h2,h3,.display,.section-title ein text-transform:uppercase.
 * Eine frühere Fassung dieser Regel hat ihr eigenes uppercase nur WEGGELASSEN, in der
 * Annahme, das schalte die Großschreibung ab. Eine Deklaration zu entfernen hebt aber
 * nichts auf: die Basisregel greift weiter. Der Events-Titel erschien deshalb als
 * „IMPRESSIONEN AUS DEN TEAM-EVENTS“ statt wie im Handoff in gemischter Schreibung.
 *
 * Das war zugleich der Grund für den dreizeiligen Umbruch: in Großbuchstaben misst die
 * erste Zeile 428 px und der Browser bricht am Bindestrich von TEAM-EVENTS um. In
 * gemischter Schreibung ergibt derselbe Titel 463 px und 446 px, passt also in die
 * vorhandene 524 px breite Spalte, ohne dass am Raster etwas geändert werden muss.
 *
 * Der Stellen-Titel bleibt groß geschrieben, weil sein TEXT groß geschrieben ist, nicht
 * weil CSS ihn umformt.
 */
.page-karriere .section-title {
	color: var(--navy, #102E79);
	font-family: var(--font-display, 'Jost', sans-serif);
	font-size: clamp(1.9rem, 3.5vw, 3.125rem);
	font-weight: 800;
	letter-spacing: 0.057em;
	text-transform: none;
	text-wrap: balance;
	margin: 0;
	line-height: 1.05;
}

.page-karriere .section-lead {
	color: var(--navy, #102E79);
	font-family: var(--font-body, 'Jost', sans-serif);
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	font-weight: 400;
	line-height: 1.5;
	max-width: 680px;
	margin: 0 auto clamp(2rem, 4vw, 3rem) auto;
	text-align: center;
}

.page-karriere .eyebrow {
	display: block;
	font-family: var(--font-display, 'Jost', sans-serif);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-soft, #4A568C);
	margin-bottom: var(--gap-eyebrow, 14px);
}

/* ==========================================================================
   3. SEKTION: STARTEN SIE BEI UNS DURCH & MOSAIK-GALERIE
   ========================================================================== */

.section-karriere-starten {
	padding: var(--section-pad, clamp(60px, 8vw, 100px)) 0;
	background: #ffffff;
}

.karriere-starten-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: clamp(38px, 5vw, 72px);
	align-items: start;
}

.karriere-starten-title {
	font-family: var(--font-display, 'Jost', sans-serif);
	font-size: clamp(1.9rem, 3.5vw, 3.125rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.057em;
	color: var(--navy, #102E79);
	text-transform: uppercase;
	text-wrap: balance;
	margin: 0 0 var(--gap-head, clamp(38px, 5vw, 58px)) 0;
}

.karriere-starten-checklist {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 14px;
}

.karriere-checklist-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

/* Puderrosa Kreis hinter dem navyfarbenen Haken, wie in der Designvorlage. */
.checklist-icon {
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: var(--pill, 999px);
	background: var(--bg-band, #FBB9C4);
	color: var(--navy, #102E79);
	margin-top: 2px;
	display: grid;
	place-items: center;
}

.checklist-icon svg {
	width: 15px;
	height: 15px;
}

.checklist-text {
	font-family: var(--font-body, 'Jost', sans-serif);
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--navy, #102E79);
}

.checklist-text em {
	font-style: italic;
	font-weight: 500;
	color: var(--magenta-deep, #D52E72);
}

/* Ausklang: bündig mit dem Listentext, damit die linke Kante durchläuft. */
.karriere-starten-outro {
	margin: 26px 0 0 44px;
}

.starten-outro-heading {
	font-family: var(--font-display, 'Jost', sans-serif);
	font-size: clamp(1.3rem, 2vw, 1.75rem);
	font-weight: 800;
	letter-spacing: 0.057em;
	color: var(--navy, #102E79);
	margin: 0;
}

.starten-outro-lead {
	font-family: var(--font-body, 'Jost', sans-serif);
	font-size: clamp(1.1rem, 1.6vw, 1.35rem);
	line-height: 1.43;
	color: var(--fig-blau, #012F7D);
	max-width: 34em;
	text-wrap: pretty;
	margin: 18px 0 0;
}

@media (max-width: 640px) {
	.karriere-starten-outro {
		margin-left: 0;
	}
}

/* Mosaik-Galerie: bleibt beim Scrollen neben der Liste stehen. */
.karriere-starten-gallery-col {
	position: sticky;
	top: 110px;
}

.karriere-mosaic-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: minmax(110px, 14vw);
	gap: 12px;
	align-items: stretch;
}

.mosaic-item {
	position: relative;
	border: none;
	padding: 0;
	background: #f0f3f8;
	cursor: zoom-in;
	overflow: hidden;
	border-radius: 14px;
	display: block;
	box-shadow: 0 4px 16px rgba(16, 46, 121, 0.08);
	transition: box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mosaic-item:hover {
	box-shadow: var(--shadow, 0 18px 40px -18px rgba(38, 37, 127, 0.26));
}

@media (max-width: 900px) {
	.karriere-starten-gallery-col {
		position: static;
	}
}

/* Platzierung Spalte / Zeile exakt nach dem Design-Handoff (Abschnitt 02). */
.mosaic-item--0 {
	grid-column: 1 / span 2;
	grid-row: 1 / span 2;
}

.mosaic-item--1 {
	grid-column: 3;
	grid-row: 1;
}

.mosaic-item--2 {
	grid-column: 3;
	grid-row: 2;
}

.mosaic-item--3 {
	grid-column: 1;
	grid-row: 3;
}

.mosaic-item--4 {
	grid-column: 2 / span 2;
	grid-row: 3 / span 2;
}

.mosaic-item--5 {
	grid-column: 1;
	grid-row: 4;
}

.mosaic-item--6 {
	grid-column: 1 / span 3;
	grid-row: 5;
}

.mosaic-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mosaic-zoom-hint {
	position: absolute;
	bottom: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(16, 46, 121, 0.88);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: scale(0.85);
	backdrop-filter: blur(4px);
	transition: all 0.25s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mosaic-item:hover .mosaic-zoom-hint {
	opacity: 1;
	transform: scale(1);
}

/* ==========================================================================
   LIGHTBOX MODAL (Plein écran immersif)
   ========================================================================== */

/*
 * Mobile d'abord : marges de 8 px (plus l'encoche iOS), la photo prend toute la
 * place restante entre la barre, les puces et la légende. 100dvh suit la barre
 * d'adresse de Safari iOS ; 100vh reste en repli pour les navigateurs anciens.
 */
.karriere-lightbox-backdrop {
	position: fixed;
	inset: 0;
	z-index: 99999;
	height: 100vh;
	height: 100dvh;
	background: rgba(16, 46, 121, 0.94);
	background: color-mix(in srgb, var(--navy, #102E79) 94%, transparent);
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto auto;
	gap: 8px;
	padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
	color: var(--bg, #ffffff);
	box-sizing: border-box;
}

.karriere-lightbox-bar {
	display: flex;
	justify-content: flex-end;
}

/*
 * La scène est un conteneur de requête : 100cqw / 100cqh donnent à la photo la
 * taille exacte de la zone libre, sans chaîne de hauteurs en pourcentage.
 */
.lightbox-stage {
	min-width: 0;
	min-height: 0;
	display: grid;
	place-items: center;
	container-type: size;
}

/* La figure épouse la photo : les flèches positionnées dessus restent SUR l'image. */
.lightbox-figure {
	position: relative;
	margin: 0;
	max-width: 100%;
	max-height: 100%;
}

.lightbox-img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(100dvh - 190px);
	max-width: 100cqw;
	max-height: 100cqh;
	object-fit: contain;
	border-radius: 12px;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}

.lightbox-caption {
	margin: 0;
	text-align: center;
	font-family: var(--font-body, 'Jost', sans-serif);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--bg, #ffffff);
}

.lightbox-counter {
	color: var(--bg-band, #FBB9C4);
	margin-left: 10px;
	white-space: nowrap;
}

.lightbox-btn-close {
	width: 44px;
	height: 44px;
	border-radius: var(--pill, 999px);
	border: 2px solid rgba(255, 255, 255, 0.5);
	background: transparent;
	color: var(--bg, #ffffff);
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.lightbox-btn-close:hover {
	background: rgba(255, 255, 255, 0.14);
	border-color: var(--bg, #ffffff);
}

.lightbox-btn-close svg,
.lightbox-btn-close .kc-icon-custom {
	width: 18px;
	height: 18px;
	display: block;
}

/* Hochgeladenes Symbol (Maske) braucht eine Füllfarbe, das Inline-SVG nicht. */
.lightbox-btn-close .kc-icon-custom {
	background-color: currentColor;
}

/*
 * Flèches en surimpression : fond navy dense + liseré blanc, lisibles sur une
 * photo claire comme sombre (blanc sur navy : contraste > 10:1).
 */
.lightbox-btn-nav {
	position: absolute;
	top: 50%;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	border-radius: var(--pill, 999px);
	border: 2px solid rgba(255, 255, 255, 0.85);
	background: rgba(16, 46, 121, 0.78);
	background: color-mix(in srgb, var(--navy, #102E79) 78%, transparent);
	color: var(--bg, #ffffff);
	display: grid;
	place-items: center;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
	transition: background 0.2s ease, color 0.2s ease;
}

.lightbox-btn-prev {
	left: 8px;
}

.lightbox-btn-next {
	right: 8px;
}

.lightbox-btn-nav svg,
.lightbox-btn-nav .kc-icon-custom {
	width: 22px;
	height: 11px;
	display: block;
}

.lightbox-btn-nav .kc-icon-custom {
	background-color: currentColor;
}

/* Der Pfeil existiert nur nach rechts: für „zurück“ wird er gespiegelt. */
.lightbox-btn-prev svg,
.lightbox-btn-prev .kc-icon-custom {
	transform: scaleX(-1);
}

.lightbox-btn-nav:hover {
	background: var(--bg-band, #FBB9C4);
	color: var(--navy, #102E79);
}

.lightbox-btn-nav:focus-visible,
.lightbox-btn-close:focus-visible,
.lightbox-dot:focus-visible {
	outline: 3px solid var(--bg-band, #FBB9C4);
	outline-offset: 2px;
}

/* Puces : zone tactile de 44 px, pastille visible de 10 px. */
.lightbox-dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.lightbox-dot {
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	display: grid;
	place-items: center;
	cursor: pointer;
}

.lightbox-dot::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-dot[aria-current="true"]::before {
	background: var(--bg-band, #FBB9C4);
	transform: scale(1.4);
}

@media (min-width: 768px) {
	.karriere-lightbox-backdrop {
		gap: 12px;
		padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
	}

	.lightbox-caption {
		font-size: 1.1rem;
	}

	.lightbox-btn-nav {
		width: 52px;
		height: 52px;
		margin-top: -26px;
	}

	.lightbox-btn-prev {
		left: 16px;
	}

	.lightbox-btn-next {
		right: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lightbox-btn-nav,
	.lightbox-btn-close,
	.lightbox-dot::before {
		transition: none;
	}
}

/* ==========================================================================
   4. ACCORDIONS: EVENTS & OFFENE STELLEN
   ========================================================================== */

.section-karriere-events {
	padding: var(--section-pad, clamp(60px, 8vw, 100px)) 0 clamp(80px, 10vw, 140px);
	position: relative;
}

.section-karriere-jobs {
	/* Unten bündig: die navyfarbene Karte läuft ohne Fuge in den Initiativblock über. */
	padding: var(--section-pad, clamp(60px, 8vw, 100px)) 0 0;
	position: relative;
}

/* Zweispaltig: links Einleitung, rechts die Akkordeonkarte. */
.karriere-events-inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: clamp(38px, 5vw, 72px);
	align-items: start;
}

.karriere-jobs-inner {
	max-width: none;
	margin: 0;
}

.karriere-events-head .section-title {
	text-align: left;
	line-height: 1;
}

.page-karriere .karriere-events-head .section-lead {
	margin: var(--gap-title, clamp(14px, 2vw, 20px)) 0 0;
	max-width: 26em;
	text-align: left;
	font-size: clamp(1.1rem, 1.6vw, 1.5rem);
	line-height: 1.43;
	color: var(--fig-blau, #012F7D);
	text-wrap: pretty;
}

/* Weiße Karte, die das gesamte Team-Events-Akkordeon trägt. */
.karriere-events-card {
	background: #ffffff;
	border-radius: var(--r-lg, 28px);
	box-shadow: var(--shadow, 0 18px 40px -18px rgba(38, 37, 127, 0.26));
	padding: clamp(10px, 2vw, 22px) clamp(18px, 3vw, 32px);
}

.page-karriere .faq-accordion {
	max-width: none;
	margin: 0;
	display: block;
}

.page-karriere .accordion-item {
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--line, rgba(38, 37, 127, 0.14));
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}

.page-karriere .accordion-item:last-child {
	border-bottom: none;
}

.page-karriere .accordion-trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 4px;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	color: var(--navy, #102E79) !important;
	font-family: var(--font-display, 'Jost', sans-serif);
	font-weight: 600;
	font-size: 1.15rem;
	line-height: 1.35;
	transition: color 0.2s ease;
}

.page-karriere .accordion-trigger:hover {
	color: var(--magenta-deep, #D52E72) !important;
}

.page-karriere .karriere-accordion-title {
	flex: 1;
	color: inherit !important;
}

/* Plus/Minus: die echten Theme-Icons, per Maske eingefärbt und weich gedreht. */
.page-karriere .accordion-icon {
	position: relative;
	flex: none;
	margin-left: auto;
	width: 34px;
	height: 28px;
	color: var(--navy, #102E79);
	transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Geschlossen −90°, offen 0° (Designvorgabe), der Wechsel läuft über 0.5 s. */
.page-karriere .accordion-icon {
	transform: rotate(-90deg);
}

.page-karriere .accordion-icon.is-open {
	transform: rotate(0deg);
}

.page-karriere .accordion-icon .icon-plus,
.page-karriere .accordion-icon .icon-minus {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	transform: none;
	transition: opacity 0.3s ease;
}

.page-karriere .accordion-icon .icon-minus,
.page-karriere .accordion-icon.is-open .icon-plus {
	opacity: 0;
	transform: none;
}

.page-karriere .accordion-icon.is-open .icon-minus {
	opacity: 1;
	transform: none;
}

.page-karriere .accordion-icon svg {
	width: 100%;
	height: 100%;
	stroke: currentColor;
}

/*
 * Ausklapp-Animation ohne feste Höhe: das äußere Raster fährt von 0fr auf 1fr,
 * das innere Element blendet ein und schiebt sich um 10 px nach unten.
 */
.page-karriere .accordion-panel-outer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.page-karriere .accordion-panel-outer.is-open {
	grid-template-rows: 1fr;
}

.page-karriere .accordion-panel-inner {
	min-height: 0;
	overflow: hidden;
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.page-karriere .accordion-panel-outer.is-open .accordion-panel-inner {
	opacity: 1;
	transform: translateY(0);
}

.page-karriere .accordion-panel {
	background: transparent;
	padding: 0 4px 24px;
	color: var(--ink-soft, #4A568C);
	font-family: var(--font-body, 'Jost', sans-serif);
	font-size: 1.02rem;
	line-height: 1.55;
	border-top: none;
}

.page-karriere .accordion-panel p {
	margin: 0 0 0.75rem;
	max-width: 48em;
	text-wrap: pretty;
}

.page-karriere .accordion-panel p:last-child {
	margin-bottom: 0;
}

.page-karriere .accordion-panel ul {
	list-style: disc;
	padding-left: 1.2rem;
	margin: 0 0 0.75rem;
	display: grid;
	gap: 6px;
}

/* Vier Fotos je Event, unter dem Text (Handoff, Abschnitt 03). */
.karriere-event-fotos {
	margin-top: 16px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

/* Die Fotos sind Knöpfe: ein Klick öffnet die Lightbox dieses Events. */
.karriere-event-foto-btn {
	position: relative;
	display: block;
	padding: 0;
	border: 0;
	background: none;
	border-radius: 12px;
	overflow: hidden;
	cursor: zoom-in;
	transition: box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.karriere-event-foto-btn:hover,
.karriere-event-foto-btn:focus-visible {
	box-shadow: var(--shadow, 0 18px 40px -18px rgba(38, 37, 127, 0.26));
}

.karriere-event-foto {
	width: 100%;
	height: 90px;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}

/*
 * Zähler auf dem vierten Feld, wenn das Event mehr als vier Fotos hat. Die Zahl ist
 * aria-hidden: der Knopf sagt im aria-label bereits, wie viele Fotos sich öffnen, und
 * ein vorgelesenes „plus fünf“ ohne Bezug wäre nur verwirrend.
 */
.karriere-event-foto-mehr {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: rgba(16, 46, 121, 0.62);
	color: #ffffff;
	font-family: var(--font-display, 'Jost', sans-serif);
	font-weight: 800;
	font-size: 1.1rem;
	letter-spacing: 0.04em;
}

@media (max-width: 640px) {
	.page-karriere .accordion-trigger {
		font-size: 1.05rem;
	}
}

/*
 * Mobile : deux vignettes par ligne à leur format naturel — ni rognées
 * (plus de hauteur fixe + cover), ni bordées de vide (pas de contain).
 */
@media (max-width: 640px) {
	.karriere-event-fotos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
		gap: 8px;
	}

	.karriere-event-foto {
		height: auto;
	}
}

/* ==========================================================================
   OFFENE STELLEN (Simple, épuré, sans fond ni boîte)
   ========================================================================== */

/* Volle Navy-Karte, die alle Stellenangebote trägt (Designvorlage). */
.karriere-jobs-card {
	margin-top: var(--gap-head, clamp(38px, 5vw, 58px));
	background: var(--navy, #102E79);
	border-radius: var(--r-lg, 28px) var(--r-lg, 28px) 0 0;
	padding: clamp(16px, 3vw, 36px) clamp(20px, 4vw, 48px) clamp(24px, 4vw, 48px);
	box-shadow: var(--shadow-lg, 0 42px 84px -34px rgba(38, 37, 127, 0.40));
}

.karriere-simple-accordion {
	max-width: none;
	margin: 0;
	display: flex;
	flex-direction: column;
}

.karriere-simple-item {
	background: transparent !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
	transition: border-color 0.2s ease;
	padding: 0;
	margin: 0;
}

.karriere-simple-item:first-child {
	border-top: none;
}

.karriere-simple-item:last-child {
	border-bottom: none;
}

.karriere-simple-heading {
	margin: 0;
}

.karriere-simple-trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 22px 4px;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	color: #ffffff;
	transition: color 0.2s ease;
}

.karriere-simple-trigger:hover {
	color: var(--bg-band, #FBB9C4);
}

.karriere-simple-title-wrap {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
}

.karriere-simple-title-text {
	font-family: var(--font-display, 'Jost', sans-serif);
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.3;
	color: inherit;
}

/* Gleiche Mechanik wie im Team-Events-Akkordeon, nur weiß auf Navy. */
.karriere-simple-icon {
	position: relative;
	flex: none;
	width: 34px;
	height: 28px;
	color: #ffffff;
	transform: rotate(-90deg);
	transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.2s ease;
}

.karriere-simple-icon.is-open {
	transform: rotate(0deg);
}

.karriere-simple-trigger:hover .karriere-simple-icon {
	color: var(--bg-band, #FBB9C4);
}

.karriere-simple-icon .icon-plus-simple,
.karriere-simple-icon .icon-minus-simple {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	transition: opacity 0.3s ease;
}

.karriere-simple-icon .icon-minus-simple,
.karriere-simple-icon.is-open .icon-plus-simple {
	opacity: 0;
}

.karriere-simple-icon.is-open .icon-minus-simple {
	opacity: 1;
}

.karriere-simple-icon svg,
.karriere-simple-icon .kc-icon-custom {
	width: 100%;
	height: 100%;
}

.karriere-simple-icon .kc-icon-custom {
	background-color: currentColor;
}

.karriere-simple-panel-outer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.karriere-simple-panel-outer.is-open {
	grid-template-rows: 1fr;
}

.karriere-simple-panel-inner {
	min-height: 0;
	overflow: hidden;
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.karriere-simple-panel-outer.is-open .karriere-simple-panel-inner {
	opacity: 1;
	transform: translateY(0);
}

.karriere-simple-panel {
	padding: 4px 4px 30px;
	color: #ffffff;
	font-family: var(--font-body, 'Jost', sans-serif);
}

/* Pille auf dunklem Grund: weiß gefüllt, navyfarbene Schrift (Kontrast). */
.karriere-job-badge {
	display: inline-block;
	padding: 0.3rem 0.85rem;
	background: #ffffff;
	color: var(--navy, #102E79);
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.karriere-job-desc p {
	margin: 0 0 0.6rem;
	max-width: 60em;
	font-size: 1.05rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.88);
	text-wrap: pretty;
}

.karriere-job-desc p:last-child {
	margin-bottom: 0;
}

.karriere-job-columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 26px;
	margin-top: 26px;
}

.karriere-job-block {
	margin-top: 0;
}

.karriere-job-block h4 {
	font-family: var(--font-display, 'Jost', sans-serif);
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bg-band, #FBB9C4);
	margin: 0 0 12px;
}

.karriere-job-block p,
.karriere-job-block ul {
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.98rem;
	line-height: 1.5;
}

/*
 * Der globale Reset (ul{list-style:none}) nimmt WYSIWYG-Listen ihre Punkte.
 * Statt des Standardpunkts der Vorgabe-Punkt: 6 px, rund, magenta.
 */
.karriere-job-block ul {
	padding-left: 0;
	display: grid;
	gap: 8px;
	list-style: none;
}

.karriere-job-block li {
	display: flex;
	gap: 10px;
}

.karriere-job-block li::before {
	content: "";
	flex: none;
	width: 6px;
	height: 6px;
	margin-top: 9px;
	border-radius: var(--pill, 999px);
	background: var(--magenta, #EA4589);
}

.karriere-job-action {
	margin-top: 26px;
}

.btn-karriere-apply {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.8rem 1.6rem;
	background: var(--magenta, #EA4589);
	color: #ffffff !important;
	font-family: var(--font-display, 'Jost', sans-serif);
	font-weight: 700;
	font-size: 0.95rem;
	border: none;
	cursor: pointer;
	border-radius: 24px;
	text-decoration: none;
	box-shadow: 0 18px 40px -16px rgba(234, 69, 137, 0.42);
	transition: background 0.2s ease;
}

.btn-karriere-apply:hover {
	background: var(--magenta-deep, #D52E72);
}

.btn-karriere-apply svg,
.btn-karriere-apply .kc-icon-custom {
	width: 22px;
	height: 11px;
	flex: none;
}

.btn-karriere-apply .kc-icon-custom {
	background-color: currentColor;
}

/* ==========================================================================
   4b. INITIATIVBEWERBUNG (Eigener Block mit weißem Hintergrund)
   ========================================================================== */

/*
 * Der navyfarbene Grund läuft aus der Stellen-Karte weiter, die weiße Box schließt ihn
 * unten mit derselben Rundung ab. Deshalb oben keine Polsterung und kein weißer Grund.
 */
.section-karriere-initiativ {
	background: var(--navy, #102E79);
	padding: 0 0 var(--section-pad, clamp(60px, 8vw, 100px));
	position: relative;
	z-index: 2;
}

.karriere-initiativ-inner {
	max-width: none;
	margin: 0;
}

.karriere-initiativ-box {
	margin-top: 0;
	padding: clamp(44px, 6vw, 72px) clamp(20px, 4vw, 48px);
	background: #ffffff;
	border-radius: 0 0 var(--r-lg, 28px) var(--r-lg, 28px);
	color: var(--navy, #102E79);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px 48px;
	flex-wrap: wrap;
	box-shadow: none;
}

.initiativ-heading {
	font-family: var(--font-display, 'Jost', sans-serif);
	font-size: clamp(1.6rem, 2.8vw, 2.4rem);
	font-weight: 800;
	letter-spacing: 0.057em;
	line-height: 1.1;
	margin: 0;
	color: var(--navy, #102E79);
}

.initiativ-subheading {
	font-family: var(--font-body, 'Jost', sans-serif);
	font-size: clamp(1.1rem, 1.6vw, 1.5rem);
	line-height: 1.43;
	margin: 10px 0 0;
	color: var(--fig-blau, #012F7D);
}

/* Navyfarbener Rahmen um den Knopf, damit der weiße Umriss Kontrast bekommt. */
.karriere-initiativ-action-frame {
	display: inline-block;
	padding: 18px;
	background: var(--navy, #102E79);
	border-radius: 30px;
}

.btn-outline-white {
	display: inline-block;
	padding: 0.85rem 1.85rem;
	border: 2px solid #ffffff;
	color: #ffffff !important;
	font-family: var(--font-display, 'Jost', sans-serif);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	border-radius: 24px;
	text-decoration: none;
	transition: all 0.2s;
}

.btn-outline-white:hover {
	background: #ffffff;
	color: var(--navy, #102E79) !important;
}

/* ==========================================================================
   5. BEWERBUNGS-MODAL (Auswahl, 2-Schritt-Formular, Bestätigung)
   Werte exakt nach dem Design-Handoff, Abschnitt 06.
   ========================================================================== */

body.modal-open {
	overflow: hidden;
}

.apply-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	place-items: center;
	background: rgba(16, 46, 121, 0.55);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	padding: 20px;
	box-sizing: border-box;
}

@keyframes kc-apply-drop {
	from { opacity: 0; transform: translateY(-48px) scale(0.97); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Schritte 560 px, Auswahlbildschirm 860 px (Modifikator .is-wide). */
.apply-modal-panel {
	position: relative;
	width: min(560px, 100%);
	box-sizing: border-box;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: #ffffff;
	border-radius: var(--r-lg, 28px);
	padding: clamp(24px, 4vw, 44px);
	box-shadow: var(--shadow-lg, 0 42px 84px -34px rgba(38, 37, 127, 0.40));
	animation: kc-apply-drop 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.apply-modal-panel.is-wide {
	width: min(860px, 100%);
}

.apply-modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: var(--pill, 999px);
	background: var(--band, #EFF2F0);
	color: var(--navy, #102E79);
	cursor: pointer;
	transition: background 0.2s ease;
	z-index: 2;
}

.apply-modal-close:hover {
	background: var(--bg-band, #FBB9C4);
}

/* Alpine-Übergänge für das Öffnen/Schließen des Overlays. */
.modal-enter {
	transition: opacity 0.3s ease;
}

.modal-enter-start {
	opacity: 0;
}

.modal-enter-end {
	opacity: 1;
}

.modal-leave {
	transition: opacity 0.2s ease;
}

.modal-leave-start {
	opacity: 1;
}

.modal-leave-end {
	opacity: 0;
}

/* ---------- Auswahlbildschirm ---------- */

.apply-choice-head {
	text-align: center;
	padding: 8px 40px 0;
}

.apply-overline {
	display: block;
	font-family: var(--font-display, 'Jost', sans-serif);
	font-weight: 600;
	font-size: 0.85rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-soft, #4A568C);
}

.apply-choice-title {
	margin: 10px 0 0;
	font-family: var(--font-display, 'Jost', sans-serif);
	font-size: clamp(1.7rem, 3vw, 2.5rem);
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--navy, #102E79);
	text-wrap: balance;
}

.apply-choice-position {
	margin: 16px 0 0;
	font-size: 1.02rem;
	color: var(--ink-soft, #4A568C);
}

.apply-choice-position strong {
	color: var(--navy, #102E79);
	font-weight: 700;
}

.apply-choice-grid {
	margin-top: 28px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	gap: 18px;
}

.apply-choice-card {
	position: relative;
	display: grid;
	gap: 14px;
	align-content: start;
	padding: 26px 22px;
	border-radius: var(--r, 18px);
}

.apply-choice-card--email {
	background: var(--band, #EFF2F0);
}

.apply-choice-card--form {
	background: #ffffff;
	border: 1.5px solid var(--line, rgba(38, 37, 127, 0.14));
}

/* Navy, nicht magenta: der einzige magentafarbene Knopf der Modale ist der CTA. */
.apply-choice-badge {
	position: absolute;
	top: -14px;
	right: 18px;
	padding: 6px 14px;
	border-radius: var(--pill, 999px);
	background: var(--navy, #102E79);
	color: #ffffff;
	font-family: var(--font-display, 'Jost', sans-serif);
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.apply-choice-icon {
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	color: var(--navy, #102E79);
}

.apply-choice-icon svg,
.apply-choice-icon .kc-icon-custom {
	width: 26px;
	height: 26px;
}

.apply-choice-icon .kc-icon-custom {
	background-color: currentColor;
}

.apply-card-title {
	font-family: var(--font-display, 'Jost', sans-serif);
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--navy, #102E79);
}

.apply-card-desc {
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--ink-soft, #4A568C);
}

.apply-card-cta {
	margin-top: auto;
	justify-self: start;
}

.apply-card-note {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--ink-soft, #4A568C);
}

.apply-mail-field {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 8px 8px 14px;
	border-radius: 14px;
	background: #ffffff;
}

.apply-mail-value {
	font-family: var(--font-display, 'Jost', sans-serif);
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--navy, #102E79);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.apply-copy-btn {
	flex: none;
	padding: 8px 14px;
	border: 0;
	border-radius: var(--pill, 999px);
	background: var(--band, #EFF2F0);
	color: var(--navy, #102E79);
	font-family: var(--font-display, 'Jost', sans-serif);
	font-weight: 700;
	font-size: 0.85rem;
	cursor: pointer;
	transition: background 0.2s ease;
}

.apply-copy-btn:hover {
	background: var(--bg-band, #FBB9C4);
}

.apply-hint-toggle {
	justify-self: start;
	padding: 0;
	border: 0;
	background: none;
	color: var(--navy, #102E79);
	font-family: var(--font-display, 'Jost', sans-serif);
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	text-align: left;
}

.apply-hint-text {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--ink-soft, #4A568C);
}

/* ---------- Knöpfe ---------- */

.btn-apply-magenta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 0.8rem 1.6rem;
	border: 0;
	border-radius: 24px;
	background: var(--magenta, #EA4589);
	color: #ffffff;
	font-family: var(--font-display, 'Jost', sans-serif);
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s ease;
}

.btn-apply-magenta:hover:not(:disabled) {
	background: var(--magenta-deep, #D52E72);
	color: #ffffff;
}

.btn-apply-magenta:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.apply-card-cta.btn-apply-magenta {
	padding: 0.75rem 1.5rem;
}

.btn-apply-outline-navy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 0.8rem 1.4rem;
	border: 2px solid var(--navy, #102E79);
	border-radius: 24px;
	background: #ffffff;
	color: var(--navy, #102E79);
	font-family: var(--font-display, 'Jost', sans-serif);
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.btn-apply-outline-navy:hover:not(:disabled) {
	background: var(--navy, #102E79);
	color: #ffffff;
}

.btn-apply-outline-navy:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

/* Der E-Mail-Knopf der Auswahlkarte ist etwas schmaler als der Zurück-Knopf. */
.apply-choice-card .btn-apply-outline-navy {
	justify-self: start;
	padding: 0.7rem 1.5rem;
}

.btn-apply-magenta svg,
.btn-apply-magenta .kc-icon-custom,
.btn-apply-outline-navy svg,
.btn-apply-outline-navy .kc-icon-custom {
	width: 22px;
	height: 11px;
	flex: none;
}

.btn-apply-magenta .kc-icon-custom,
.btn-apply-outline-navy .kc-icon-custom {
	background-color: currentColor;
}

/* ---------- Stepper ---------- */

.apply-stepper {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	padding-right: 48px;
}

.apply-step-bubble {
	width: 30px;
	height: 30px;
	flex: none;
	border-radius: var(--pill, 999px);
	display: grid;
	place-items: center;
	font-family: var(--font-display, 'Jost', sans-serif);
	font-weight: 700;
	font-size: 0.9rem;
	background: var(--band, #EFF2F0);
	color: var(--ink-soft, #4A568C);
	transition: background 0.3s ease, color 0.3s ease;
}

.apply-step-bubble.is-active {
	background: var(--navy, #102E79);
	color: #ffffff;
}

.apply-step-label {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--ink-soft, #4A568C);
	transition: color 0.3s ease;
}

.apply-step-label.is-active {
	color: var(--navy, #102E79);
}

.apply-step-line {
	flex: 1;
	height: 2px;
	border-radius: 2px;
	background: var(--line, rgba(38, 37, 127, 0.14));
	transition: background 0.3s ease;
}

.apply-step-line.is-filled {
	background: var(--navy, #102E79);
}

.apply-step-title {
	margin: 0 0 14px;
	font-family: var(--font-display, 'Jost', sans-serif);
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.1;
	color: var(--navy, #102E79);
}

/* ---------- Felder ---------- */

.apply-fields {
	display: grid;
	gap: 11px;
}

.apply-field {
	display: grid;
	gap: 4px;
	font-family: var(--font-display, 'Jost', sans-serif);
	font-weight: 600;
	font-size: 0.85rem;
	color: var(--navy, #102E79);
}

.apply-field-label {
	font-weight: 600;
	font-size: 0.85rem;
}

.apply-field-optional {
	font-weight: 400;
	color: var(--ink-soft, #4A568C);
}

.apply-input {
	width: 100%;
	box-sizing: border-box;
	padding: 9px 12px;
	border: 1.5px solid var(--line, rgba(38, 37, 127, 0.14));
	border-radius: 10px;
	background: #ffffff;
	font-family: var(--font-body, 'Jost', sans-serif);
	font-weight: 400;
	font-size: 0.92rem;
	color: var(--navy, #102E79);
	outline: none;
	transition: border-color 0.2s ease;
}

.apply-input:focus {
	border-color: var(--navy, #102E79);
}

.apply-input::placeholder {
	color: #8A93B8;
}

.apply-textarea {
	resize: vertical;
}

.apply-select {
	cursor: pointer;
}

.apply-field-error {
	font-weight: 500;
	font-size: 0.88rem;
	color: var(--magenta-deep, #D52E72);
}

/* ---------- Datei-Upload ---------- */

/*
 * Hier stand eine Regel .apply-file-input, die das Feld auf 1x1 Pixel und opacity 0
 * setzte: aus der Zeit, als ein eigenes Label die Ablagefläche zeichnete und das echte
 * Feld dahinter versteckt war. Contact Form 7 rendert aber das Feld SELBST, und es trug
 * dieselbe Klasse, also war das Dateifeld unsichtbar. Die Ablagefläche wird jetzt
 * direkt auf input[type="file"] gezeichnet (siehe Abschnitt 8).
 */

.apply-dropzone {
	display: grid;
	place-items: center;
	gap: 6px;
	padding: 16px 14px;
	border: 2px dashed rgba(38, 37, 127, 0.3);
	border-radius: 12px;
	background: var(--band, #EFF2F0);
	color: var(--ink-soft, #4A568C);
	font-weight: 500;
	font-size: 0.95rem;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.apply-dropzone:hover {
	border-color: var(--navy, #102E79);
	color: var(--navy, #102E79);
}

.apply-dropzone-strong {
	font-weight: 700;
	color: var(--navy, #102E79);
}

.apply-file-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 14px;
	border: 1.5px solid var(--line, rgba(38, 37, 127, 0.14));
	border-radius: 12px;
	background: var(--band, #EFF2F0);
}

.apply-file-check {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: var(--pill, 999px);
	background: #ffffff;
	display: grid;
	place-items: center;
	color: var(--magenta-deep, #D52E72);
}

.apply-file-check svg {
	width: 16px;
	height: 16px;
}

.apply-file-meta {
	flex: 1;
	min-width: 0;
}

.apply-file-name {
	display: block;
	font-weight: 700;
	color: var(--navy, #102E79);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.apply-file-size {
	display: block;
	font-weight: 400;
	font-size: 0.85rem;
	color: var(--ink-soft, #4A568C);
}

.apply-file-remove {
	flex: none;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: var(--pill, 999px);
	background: #ffffff;
	color: var(--navy, #102E79);
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
}

/* ---------- DSGVO & Aktionen ---------- */

.apply-checkbox {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-weight: 400;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--ink-soft, #4A568C);
	cursor: pointer;
}

.apply-checkbox input[type="checkbox"] {
	margin-top: 4px;
	width: 18px;
	height: 18px;
	flex: none;
	accent-color: var(--magenta, #EA4589);
	cursor: pointer;
}

.apply-checkbox a {
	color: var(--magenta-deep, #D52E72);
	font-weight: 600;
}

.apply-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 6px;
}

.apply-actions--right {
	justify-content: flex-end;
}

.apply-actions--split {
	justify-content: space-between;
}

/* ---------- Bestätigung ---------- */

.apply-done {
	display: grid;
	justify-items: center;
	text-align: center;
	gap: 16px;
	padding: 20px 0;
}

.apply-done-icon {
	width: 72px;
	height: 72px;
	border-radius: var(--pill, 999px);
	background: var(--bg-band, #FBB9C4);
	display: grid;
	place-items: center;
	color: var(--navy, #102E79);
}

.apply-done-icon svg {
	width: 34px;
	height: 34px;
}

.apply-done-title {
	margin: 0;
	font-family: var(--font-display, 'Jost', sans-serif);
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.1;
	color: var(--navy, #102E79);
}

.apply-done-text {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.5;
	color: var(--ink-soft, #4A568C);
	max-width: 30em;
}

.apply-done .btn-apply-outline-navy {
	margin-top: 8px;
	padding: 0.85rem 1.85rem;
	letter-spacing: 0.04em;
}

/* ==========================================================================
   5. DEDICATED GALERIE SECTION (CARROUSEL & LIGHTBOX - OPTION A)
   ========================================================================== */

.section-karriere-galerie {
	padding: clamp(4rem, 6vw, 6rem) 0;
	background: #f8fafc;
	position: relative;
	overflow: hidden;
}

.karriere-galerie-title {
	font-family: var(--font-display, 'Jost', sans-serif);
	font-size: clamp(2rem, 3.5vw, 2.8rem);
	font-weight: 800;
	letter-spacing: 0.04em;
	color: var(--navy, #102E79);
	text-transform: uppercase;
	margin: 0 0 1rem 0;
}

.karriere-slider-wrap {
	position: relative;
	margin-top: clamp(2rem, 3vw, 3rem);
	padding: 0 0 3.5rem 0;
}

.karriere-galerie-swiper {
	overflow: visible;
	padding: 8px 0;
}

.karriere-slide-card {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	border: none;
	padding: 0;
	background: #eef2f7;
	border-radius: 18px;
	overflow: hidden;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(16, 46, 121, 0.08);
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
	display: block;
}

.karriere-slide-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 32px rgba(16, 46, 121, 0.16);
}

.karriere-slide-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.karriere-slide-card:hover .karriere-slide-img {
	transform: scale(1.06);
}

.karriere-slide-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(16, 46, 121, 0) 45%, rgba(16, 46, 121, 0.85) 100%);
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	padding: 18px 20px;
	opacity: 0.95;
	transition: opacity 0.3s;
}

.karriere-slide-caption {
	font-family: var(--font-body, 'Jost', sans-serif);
	font-size: 0.95rem;
	font-weight: 600;
	color: #ffffff;
	line-height: 1.35;
	text-align: left;
	max-width: 80%;
}

.karriere-slide-zoom-icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	flex-shrink: 0;
	transition: background 0.25s, transform 0.25s;
}

.karriere-slide-card:hover .karriere-slide-zoom-icon {
	background: var(--magenta, #EA4589);
	transform: scale(1.1);
}

.karriere-slider__prev,
.karriere-slider__next {
	position: absolute;
	top: calc(50% - 28px);
	z-index: 10;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid rgba(16, 46, 121, 0.12);
	color: var(--navy, #102E79);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(16, 46, 121, 0.12);
	transition: all 0.25s;
}

.karriere-slider__prev {
	left: -24px;
}

.karriere-slider__next {
	right: -24px;
}

.karriere-slider__prev:hover,
.karriere-slider__next:hover {
	background: var(--navy, #102E79);
	color: #ffffff;
	border-color: var(--navy, #102E79);
	transform: scale(1.08);
}

.karriere-slider__pagination {
	display: flex;
	justify-content: center;
	margin-top: 1.75rem;
	gap: 8px;
}

.karriere-slider__pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: rgba(16, 46, 121, 0.2);
	opacity: 1;
	border-radius: 5px;
	transition: all 0.3s;
}

.karriere-slider__pagination .swiper-pagination-bullet-active {
	width: 26px;
	background: var(--magenta, #EA4589);
}

@media (max-width: 768px) {
	.karriere-slider__prev,
	.karriere-slider__next {
		display: none;
	}
}


/* ==========================================================================
   7. KARTE (Abschnitt 05 des Handoffs: Kartenausschnitt, Nadel, Adressblase)
   ========================================================================== */

.section-karriere-map {
	position: relative;
	background: #ffffff;
}

/*
 * Der Kartenrahmen nimmt an der Einblend-Animation der Sektion NICHT teil:
 * .kc-js section.reveal > * legt sonst translateY(26px) darauf, und die Designvorlage
 * sieht für die Karte keine Einblendung vor.
 */
.kc-js section.section-karriere-map.reveal > .karriere-map-frame-wrap {
	opacity: 1;
	transform: none;
	transition: none;
}

/* Randlos über die volle Breite, Höhe wie im Handoff. */
.karriere-map-frame-wrap {
	position: relative;
	width: 100%;
	height: clamp(320px, 42vw, 480px);
	overflow: hidden;
	background: var(--band, #EFF2F0);
}

/*
 * Der Standort ist ein Bild, keine Einbettung. Der entsättigte Look des Handoffs kommt
 * hier als Filter auf das EIGENE Bild, was gefahrlos ist: er galt dort den Kacheln einer
 * Karte, und das Darstellungsproblem entstand nur, weil er auf einem fremden Rahmen lag.
 */
.karriere-map-bild {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.55) brightness(1.04);
}

.karriere-map-marker {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -100%);
	display: grid;
	justify-items: center;
	gap: 8px;
	pointer-events: none;
}

.karriere-map-bubble {
	position: relative;
	font-style: normal;
	background: #ffffff;
	border-radius: var(--r, 18px);
	padding: 12px 18px;
	box-shadow: var(--shadow, 0 18px 40px -18px rgba(38, 37, 127, 0.26));
	text-align: center;
}

.karriere-map-praxis {
	display: block;
	font-family: var(--font-display, 'Jost', sans-serif);
	font-weight: 700;
	font-size: 1rem;
	color: var(--navy, #102E79);
}

.karriere-map-adresse {
	display: block;
	font-size: 0.85rem;
	line-height: 1.4;
	color: var(--ink-soft, #4A568C);
}

.karriere-map-bubble-tip {
	position: absolute;
	left: 50%;
	bottom: -7px;
	width: 14px;
	height: 14px;
	background: #ffffff;
	border-radius: 3px;
	transform: translateX(-50%) rotate(45deg);
}

.karriere-map-pin {
	width: 22px;
	height: 22px;
	box-sizing: border-box;
	border-radius: var(--pill, 999px);
	background: var(--magenta, #EA4589);
	border: 4px solid #ffffff;
	box-shadow: 0 2px 12px rgba(38, 37, 127, 0.3);
}

/* ==========================================================================
   8. CONTACT FORM 7 IM THEME-LOOK
   Die Felder tragen bereits die Theme-Klassen (class:apply-input im Formular),
   hier bleiben nur die Elemente, die CF7 selbst erzeugt.
   ========================================================================== */

.apply-cf7 .wpcf7-form > p,
.apply-cf7 .wpcf7-form > div.apply-step {
	margin: 0;
}

.apply-cf7 .apply-step {
	display: grid;
	gap: 11px;
}

/* Schrittwechsel: nur der aktive Schritt ist sichtbar, beide bleiben im selben
   <form>, damit CF7 alle Felder auf einmal validiert und absendet. */
.apply-cf7[data-current-step="1"] .apply-step[data-step="2"],
.apply-cf7[data-current-step="2"] .apply-step[data-step="1"] {
	display: none;
}

/*
 * Der CF7-eigene Absendeknopf wird vollständig ausgeblendet; ausgelöst wird das Formular
 * vom Knopf des Themes über requestSubmit(). display:none statt nur optisch verstecken,
 * aus zwei Gründen: er bliebe sonst ein unsichtbarer Halt für die Tabulatortaste, und CF7
 * schaltet ihn selbst auf disabled, solange die Datenschutz-Zustimmung fehlt, was ihn als
 * blassen, grauen zweiten Knopf sichtbar machte. Der Ladekringel von CF7 steht als
 * Nachbar im selben Kasten und verschwindet mit; dafür zeigt der Theme-Knopf „Wird
 * gesendet…“.
 */
.apply-submit-row--hidden {
	display: none;
}

/* Honeypot: für Menschen unsichtbar, für Bots ein ganz normales Feld. */
.apply-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.apply-cf7 .wpcf7-form-control-wrap {
	display: block;
}

/* Fehlermeldung unter dem Feld, in der Fehlerfarbe des Themes. */
.apply-cf7 .wpcf7-not-valid-tip {
	display: block;
	margin-top: 4px;
	font-weight: 500;
	font-size: 0.88rem;
	color: var(--magenta-deep, #D52E72);
}

.apply-cf7 .wpcf7-not-valid {
	border-color: var(--magenta-deep, #D52E72);
}

.apply-cf7 .wpcf7-response-output {
	margin: 12px 0 0;
	padding: 10px 14px;
	border: 1.5px solid var(--line, rgba(38, 37, 127, 0.14));
	border-radius: 12px;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--ink-soft, #4A568C);
}

.apply-cf7 .wpcf7-form.invalid .wpcf7-response-output,
.apply-cf7 .wpcf7-form.unaccepted .wpcf7-response-output,
.apply-cf7 .wpcf7-form.failed .wpcf7-response-output,
.apply-cf7 .wpcf7-form.aborted .wpcf7-response-output {
	border-color: var(--magenta-deep, #D52E72);
	color: var(--magenta-deep, #D52E72);
}

/* Die Erfolgsmeldung von CF7 bleibt aus: den Dank übernimmt der eigene
   Bestätigungsbildschirm der Modale. */
.apply-cf7 .wpcf7-form.sent .wpcf7-response-output {
	display: none;
}

.apply-cf7 .wpcf7-spinner {
	margin: 0 auto;
}

/* Datei-Feld: CF7 rendert ein echtes <input type="file">, das im Handoff wie eine
   gestrichelte Ablagefläche aussieht. */
.apply-cf7 input[type="file"] {
	width: 100%;
	box-sizing: border-box;
	padding: 16px 14px;
	border: 2px dashed rgba(38, 37, 127, 0.3);
	border-radius: 12px;
	background: var(--band, #EFF2F0);
	color: var(--ink-soft, #4A568C);
	font-family: var(--font-body, 'Jost', sans-serif);
	font-weight: 500;
	font-size: 0.95rem;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.apply-cf7 input[type="file"]:hover,
.apply-cf7 input[type="file"]:focus {
	border-color: var(--navy, #102E79);
	color: var(--navy, #102E79);
	outline: none;
}

.apply-cf7 input[type="file"]::file-selector-button {
	margin-right: 14px;
	padding: 8px 14px;
	border: 0;
	border-radius: var(--pill, 999px);
	background: #ffffff;
	color: var(--navy, #102E79);
	font-family: var(--font-display, 'Jost', sans-serif);
	font-weight: 700;
	font-size: 0.85rem;
	cursor: pointer;
}

/* Zustimmungsfeld: CF7 umschließt die Checkbox mit eigenen Spans. */
.apply-cf7 .apply-checkbox {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 0;
	font-weight: 400;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--ink-soft, #4A568C);
}

.apply-cf7 .apply-checkbox .wpcf7-list-item {
	margin: 0;
}

.apply-cf7 .apply-checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-top: 4px;
	flex: none;
	accent-color: var(--magenta, #EA4589);
	cursor: pointer;
}

.apply-cf7 .apply-checkbox a {
	color: var(--magenta-deep, #D52E72);
	font-weight: 600;
}
