/* ============================================================
   Eurostrand Job-Landingpages (es-hk / es-service / es-entertainment .jobtastic.de)
   Employer Brand: Bebas-Headlines, runde Farbflächen, schwarze Kritzel, Sticker.
   Mobil zuerst. Farbpaar je Seite über die Klasse am <html>-Element.
   QUELLE: eurostrand/site-src/styles.css  (nach Änderungen: python3 build_site.py)
   ============================================================ */

@font-face { font-family: "Bebas"; src: url("assets/fonts/bebas.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("assets/fonts/open-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("assets/fonts/open-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("assets/fonts/open-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --lila: #7332f5; --tuerkis: #ccffd4; --gelb: #ffc21f; --rot: #ff825c; --beige: #ccbfab;
  --ink: #15101f; --ink-2: #453f52; --mute: #6c6678;
  --line: #e6e3ea; --line-strong: #cfcbd6; --paper: #fff; --sand: #f6f3ee;

  --display: "Bebas", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(20px, 5vw, 48px);
  --max: 1180px;
  --top-h: 68px;
  --out: cubic-bezier(0.16, 1, 0.3, 1);
}
/* Lila + Türkis */
.t-hk {
  --bg: #7332f5; --on-bg: #fff; --hl: #fff; --hl-sh: #4416b3; --bg-deep: #5a1fd6;
  --acc: #ccffd4; --on-acc: #3a12a6;
  --brand: #7332f5; --on-brand: #fff; --brand-deep: #5a1fd6; --soft: #f3eeff; --logo: #7332f5;
}
/* Rot + Türkis */
.t-service {
  --bg: #ff825c; --on-bg: #22130c; --hl: #fff; --hl-sh: #b3421c; --bg-deep: #f0683f;
  --acc: #ccffd4; --on-acc: #22130c;
  --brand: #ff825c; --on-brand: #22130c; --brand-deep: #f0683f; --soft: #fff1ec; --logo: #f0683f;
}
/* Gelb + Lila */
.t-entertainment {
  --bg: #ffc21f; --on-bg: #1d1503; --hl: #7332f5; --hl-sh: #ffe7a1; --bg-deep: #f0b000;
  --acc: #7332f5; --on-acc: #fff;
  --brand: #7332f5; --on-brand: #fff; --brand-deep: #5a1fd6; --soft: #fff7dd; --logo: #7332f5;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  caret-color: var(--brand); overflow-x: clip;
}
::selection { background: var(--ink); color: #fff; }
img, svg, picture, video { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top 0.2s var(--out); }
.skip:focus { top: 12px; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

h1, h2, .display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.012em; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 1.6rem + 4.2vw, 4.25rem); line-height: 0.94; }
h2 em { font-style: normal; color: var(--brand); }
.t-service h2 em { color: var(--brand-deep); }
h3 { font-family: var(--body); font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
p { text-wrap: pretty; }

/* ---------- Buttons (Sticker-Look: schwarzer Rand, harter Schatten) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 24px 11px;
  background: var(--brand); color: var(--on-brand);
  border: 2.5px solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--display); font-size: 1.375rem; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.2s var(--out), box-shadow 0.2s var(--out), background-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn .ic { margin-top: -3px; transition: transform 0.3s var(--out); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:hover .ic { transform: translateX(4px); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-sm { min-height: 44px; padding: 10px 18px 8px; font-size: 1.1875rem; box-shadow: 3px 3px 0 var(--ink); }
.btn-lg { min-height: 60px; padding: 17px 30px 14px; font-size: 1.625rem; box-shadow: 5px 5px 0 var(--ink); }
@media (max-width: 480px) { .btn-lg { min-height: 56px; padding: 15px 16px 12px; font-size: min(1.4375rem, 5.7vw); gap: 8px; } }
.btn-white { background: #fff; color: var(--ink); }
.btn-acc { background: var(--acc); color: var(--on-acc); }
.btn-line { background: #fff; color: var(--ink); box-shadow: none; }
.btn-line:hover { box-shadow: 3px 3px 0 var(--ink); }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }

/* ---------- Kopfzeile ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.95); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--top-h); }
.logo { display: block; flex: none; color: var(--logo); border-radius: 6px; }
.logo svg { width: auto; height: 30px; }
@media (min-width: 900px) { :root { --top-h: 78px; } .logo svg { height: 36px; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); color: var(--on-bg); }
.hero-shapes { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-shapes .s-acc { fill: var(--acc); stroke: var(--acc); }
.hero-in { position: relative; display: grid; padding-block: 34px 0; }
/* schmale Bildschirme: die Fläche oben rechts läge hinter Text, deshalb dort ausgeblendet (Hero, Benefits, Bewerbung) */
@media (max-width: 979px) { .hero-shapes polygon:first-child { display: none; } }
.kick { display: inline-flex; align-items: center; align-self: start; justify-self: start; background: var(--ink); color: #fff; border-radius: 999px; padding: 9px 18px 6px; font-family: var(--display); font-size: 1.375rem; line-height: 1; letter-spacing: 0.03em; text-transform: uppercase; transform: rotate(-2deg); }
/* Der Jobtitel füllt die Breite: --n = Zeichenzahl des längsten Worts (kommt aus dem HTML) */
h1 { margin-top: 18px; font-size: min(9.5rem, calc((100vw - 2 * var(--gutter)) / (var(--n, 11) * 0.41))); line-height: 0.86; color: var(--hl); text-shadow: 0.035em 0.04em 0 var(--hl-sh); }
.gender { display: block; margin-top: 8px; font-family: var(--body); font-weight: 700; font-size: 1.0625rem; text-transform: none; letter-spacing: 0; text-shadow: none; color: var(--on-bg); }
.hero-sub { margin-top: 14px; max-width: 30ch; font-size: 1.1875rem; font-weight: 600; line-height: 1.4; }

.signs { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 26px; }
.sign { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 6px 14px; background: var(--acc); color: var(--on-acc); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 5px 5px 0 var(--ink); transform: rotate(-2.5deg); font-family: var(--display); text-transform: uppercase; line-height: 0.92; }
.sign:nth-child(2) { transform: rotate(1.5deg); }
.sign svg { width: 34px; height: 34px; flex: none; margin-top: -4px; }
.sign b { display: block; font-weight: 400; font-size: 2.5rem; letter-spacing: 0.012em; }
.sign small { display: block; font-size: 1rem; letter-spacing: 0.06em; }

.facts { display: grid; gap: 10px; margin-top: 28px; font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.facts li { display: flex; align-items: center; gap: 12px; }
.facts .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--acc); color: var(--on-acc); stroke-width: 3.4; }

.hero-cta { margin-top: 30px; }
.hero-cta .btn { width: 100%; }
.hero-note { margin-top: 14px; font-size: 0.9375rem; font-weight: 600; text-align: center; }

/* Person schaut aus einer Sticker-Karte heraus (Seitenkanten des Fotos liegen am Kartenrand) */
.hero-person { position: relative; justify-self: center; width: min(74vw, 340px); margin: 26px 8px 34px 0; transform: rotate(2deg); }
.hero-person::before { content: ""; position: absolute; inset: 30% 0 0 0; background: var(--acc); border: 3px solid var(--ink); border-radius: 36px; box-shadow: 8px 8px 0 var(--ink); }
.hero-person img { position: relative; width: calc(100% - 6px); margin: 0 3px 3px; border-radius: 0 0 33px 33px; }
.hero-person .sp { position: absolute; z-index: 1; right: -9%; top: 8%; width: 24%; color: var(--ink); }

@media (min-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); column-gap: 32px; align-items: end; padding-block: 56px 0; min-height: min(760px, calc(100svh - var(--top-h))); }
  .hero-text { padding-bottom: 64px; align-self: center; min-width: 0; }
  .kick { font-size: 1.625rem; padding: 11px 22px 8px; }
  h1 { font-size: min(10.75rem, calc((min(100vw, var(--max)) - 2 * var(--gutter)) * 0.55 / (var(--n, 11) * 0.41))); }
  .gender { font-size: 1.1875rem; }
  .hero-sub { font-size: 1.3125rem; }
  .sign b { font-size: 3.25rem; } .sign small { font-size: 1.1875rem; } .sign svg { width: 44px; height: 44px; }
  .facts { display: flex; flex-wrap: wrap; gap: 12px 30px; font-size: 1.125rem; max-width: 620px; }
  .hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 36px; }
  .hero-cta .btn { width: auto; }
  .hero-note { margin: 0; text-align: left; max-width: 24ch; line-height: 1.35; }
  .hero-person { width: 100%; max-width: 430px; justify-self: end; align-self: end; margin: 0 14px 56px 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .kick, h1, .gender, .hero-sub, .signs, .facts, .hero-cta { animation: rise 0.8s var(--out) both; }
  h1 { animation-delay: 0.06s; } .gender, .hero-sub { animation-delay: 0.12s; } .signs { animation-delay: 0.2s; }
  .facts { animation-delay: 0.28s; } .hero-cta { animation-delay: 0.36s; }
  .hero-person img { animation: pop-in 0.9s 0.15s var(--out) both; transform-origin: 60% 100%; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(40px) scale(0.96); } to { opacity: 1; transform: none; } }

/* ---------- Leiste ---------- */
.strip { background: var(--ink); color: #fff; }
.strip-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; padding-block: 20px; font-weight: 700; font-size: 0.9375rem; line-height: 1.25; }
.strip-list li { display: flex; align-items: flex-start; gap: 10px; }
.strip-list li::before { content: ""; flex: none; width: 12px; height: 12px; margin-top: 0.22em; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--acc); }
@media (min-width: 900px) { .strip-list { grid-template-columns: repeat(4, auto); justify-content: space-between; font-size: 1rem; padding-block: 22px; } }

/* ---------- Sektionen ---------- */
.sec { padding-block: clamp(64px, 10vw, 120px); }
.sec-soft { background: var(--soft); }
.sec-sand { background: var(--sand); }
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4.5vw, 52px); }
.sec-head p { margin-top: 14px; font-size: 1.125rem; color: var(--ink-2); max-width: 58ch; }
.eyebrow { display: inline-block; margin-bottom: 12px; padding: 6px 12px 4px; background: var(--acc); color: var(--on-acc); border-radius: 8px; font-family: var(--display); font-size: 1.125rem; line-height: 1; letter-spacing: 0.05em; text-transform: uppercase; transform: rotate(-1.5deg); }
.prose p { max-width: 62ch; color: var(--ink-2); }
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--ink); }
.lead { font-size: clamp(1.1875rem, 1.05rem + 0.7vw, 1.375rem); line-height: 1.5; font-weight: 600; color: var(--ink) !important; }

/* Intro + Zahlen */
.intro-grid { display: grid; gap: 36px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { padding: 20px 18px 16px; background: var(--soft); border-radius: 22px; }
.stat:nth-child(2), .stat:nth-child(3) { background: var(--acc); color: var(--on-acc); }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.75rem, 2rem + 3.4vw, 4rem); line-height: 0.9; }
.stat span { display: block; margin-top: 6px; font-size: 0.9375rem; font-weight: 600; line-height: 1.3; }
@media (min-width: 900px) { .intro-grid { grid-template-columns: 6fr 5fr; gap: 72px; align-items: center; } }

/* Reel */
.reel { position: relative; isolation: isolate; overflow: hidden; background: var(--acc); color: var(--on-acc); }
.reel-grid { display: grid; gap: 34px; align-items: center; }
.claim { font-size: clamp(3.5rem, 2rem + 9vw, 7rem); line-height: 0.88; }
.claim span { display: block; }
.claim .you { font-size: 1.5em; }
.reel p { margin-top: 18px; max-width: 34ch; font-size: 1.125rem; font-weight: 600; }
.phone { position: relative; justify-self: center; width: min(74vw, 320px); aspect-ratio: 9 / 16; border: 4px solid var(--ink); border-radius: 30px; overflow: hidden; background: var(--ink); box-shadow: 9px 9px 0 var(--ink); transform: rotate(2.5deg); }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.phone-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(21, 16, 31, 0.18); border: 0; padding: 0; transition: background-color 0.25s; }
.phone-play span { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); transition: transform 0.25s var(--out); }
.phone-play svg { width: 34px; height: 34px; margin-left: 5px; fill: var(--ink); }
.phone-play:hover span { transform: scale(1.06); }
.phone.is-playing .phone-play { display: none; }
@media (min-width: 820px) { .reel-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } .phone { width: 320px; } }

/* Aufgaben */
.tasks { display: grid; gap: 14px; counter-reset: t; }
.task { position: relative; display: grid; gap: 4px; padding: 22px 22px 20px 78px; background: #fff; border: 2px solid var(--ink); border-radius: 22px; }
.task::before { counter-increment: t; content: counter(t); position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 44px; height: 44px; padding-top: 3px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-family: var(--display); font-size: 1.75rem; line-height: 1; }
.task p { color: var(--ink-2); font-size: 1rem; }
@media (min-width: 760px) { .tasks { grid-template-columns: 1fr 1fr; gap: 18px; } }

/* Wochenanteile (Entertainment) */
.mix { display: grid; gap: 12px; margin-top: 30px; }
.mix-row { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 14px; }
.mix-row b { font-family: var(--display); font-weight: 400; font-size: 2.25rem; line-height: 1; }
.mix-bar { position: relative; padding: 12px 16px 10px; border-radius: 14px; background: var(--soft); font-weight: 700; font-size: 1rem; line-height: 1.25; overflow: hidden; isolation: isolate; }
.mix-bar::before { content: ""; position: absolute; inset: 0 auto 0 0; z-index: -1; width: var(--w); background: var(--bg); border-radius: 14px; }

/* Schichten (Service) */
.shifts { display: grid; gap: 14px; margin-top: 30px; }
.shift { padding: 22px 22px 20px; border-radius: 22px; background: var(--acc); color: var(--on-acc); }
.shift:nth-child(2) { background: var(--bg); color: var(--on-bg); }
.shift:nth-child(3) { background: var(--ink); color: #fff; }
.shift b { display: block; font-family: var(--display); font-weight: 400; font-size: 2.125rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.012em; }
.shift span { display: block; margin-top: 8px; font-weight: 700; }
.shift p { margin-top: 6px; font-size: 0.9688rem; opacity: 0.92; }
@media (min-width: 820px) { .shifts { grid-template-columns: repeat(3, 1fr); } }

/* Profil */
.checks { display: grid; gap: 22px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks .ic { width: 30px; height: 30px; padding: 6px; margin-top: 1px; background: var(--brand); color: var(--on-brand); stroke-width: 3.2; border-radius: 50%; }
.checks p { margin-top: 3px; color: var(--ink-2); font-size: 1rem; max-width: 46ch; }
@media (min-width: 760px) { .checks { grid-template-columns: 1fr 1fr; gap: 30px 52px; } }
.kante { position: relative; margin-top: clamp(36px, 5vw, 56px); padding: 26px 24px 24px; background: var(--ink); color: #fff; border-radius: 24px; }
.kante h3 { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.012em; color: var(--acc); }
.t-entertainment .kante h3 { color: var(--gelb); }
.kante p { margin-top: 10px; max-width: 62ch; color: rgba(255, 255, 255, 0.88); }
@media (min-width: 760px) { .kante { padding: 34px 38px 32px; } }

/* Benefits */
.offer { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); color: var(--on-bg); }
.offer h2 { color: var(--hl); text-shadow: 0.035em 0.04em 0 var(--hl-sh); }
.offer .sec-head p { color: var(--on-bg); font-weight: 600; }
.offer-grid { display: grid; gap: 14px; }
.perk { padding: 22px 22px 20px; background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 22px; box-shadow: 5px 5px 0 var(--ink); }
.perk .ic { width: 40px; height: 40px; padding: 8px; margin-bottom: 14px; border-radius: 12px; background: var(--acc); color: var(--on-acc); stroke-width: 2.2; }
.perk p { margin-top: 6px; font-size: 0.9688rem; color: var(--ink-2); }
.offer-cta { margin-top: 40px; }
.offer-cta .btn { width: 100%; }
@media (min-width: 640px) { .offer-grid { grid-template-columns: 1fr 1fr; gap: 18px; } .offer-cta .btn { width: auto; } }
@media (min-width: 1040px) { .offer-grid { grid-template-columns: repeat(4, 1fr); } }

/* Standorte */
.places { display: grid; gap: 22px; }
.place { display: grid; background: #fff; border: 2px solid var(--ink); border-radius: 26px; overflow: hidden; }
.place-img { aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.place-img img { width: 100%; height: 100%; object-fit: cover; }
.place-b { padding: 22px 22px 24px; }
.place-b h3 { font-family: var(--display); font-weight: 400; font-size: 2.5rem; line-height: 0.95; text-transform: uppercase; letter-spacing: 0.012em; }
.place-b .where { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 700; font-size: 0.9688rem; }
.place-b .where .ic { width: 20px; height: 20px; color: var(--brand-deep); }
.place-b p { margin-top: 12px; color: var(--ink-2); font-size: 1rem; }
@media (min-width: 860px) {
  .places.two { grid-template-columns: 1fr 1fr; }
  .places.one .place { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .places.one .place-img { aspect-ratio: auto; min-height: 340px; }
  .places.one .place-b { padding: 40px 40px 42px; align-self: center; }
}

/* Ablauf */
.steps3 { display: grid; gap: 14px; }
.s3 { padding: 24px 22px 22px; background: #fff; border-radius: 22px; }
.s3 b { display: grid; place-items: center; width: 52px; height: 52px; padding-top: 4px; margin-bottom: 14px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; }
.s3 p { margin-top: 6px; color: var(--ink-2); font-size: 1rem; }
@media (min-width: 820px) { .steps3 { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: #fff; border: 2px solid var(--ink); border-radius: 18px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 1.0625rem; line-height: 1.3; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: -6px; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); transition: transform 0.3s var(--out); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq details p { padding: 0 20px 20px; color: var(--ink-2); max-width: 64ch; }

/* Auszeichnungen */
.awards { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.awards li { padding: 9px 14px 8px; border: 2px solid var(--ink); border-radius: 999px; font-size: 0.875rem; font-weight: 700; line-height: 1.2; }

/* Einblenden beim Scrollen */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; translate: 0 20px; transition: opacity 0.7s var(--out), translate 0.8s var(--out); }
  .js .reveal.is-in { opacity: 1; translate: 0 0; }
  .js .reveal:nth-child(2) { transition-delay: 0.05s; } .js .reveal:nth-child(3) { transition-delay: 0.1s; }
  .js .reveal:nth-child(4) { transition-delay: 0.15s; } .js .reveal:nth-child(5) { transition-delay: 0.2s; }
}

/* ============================================================
   FUNNEL
   ============================================================ */
.apply { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); color: var(--on-bg); padding-block: clamp(56px, 9vw, 112px); }
.apply-wrap { display: grid; gap: 28px; }
.apply-head h2 { font-size: clamp(3.25rem, 2rem + 6.4vw, 5.75rem); line-height: 0.88; color: var(--hl); text-shadow: 0.035em 0.04em 0 var(--hl-sh); }
.apply-head p { margin-top: 16px; font-size: 1.125rem; font-weight: 600; max-width: 32ch; }
@media (min-width: 980px) {
  .apply-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 60px; align-items: start; }
  .apply-head { position: sticky; top: calc(var(--top-h) + 40px); padding-top: 20px; }
}

.funnel { position: relative; background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 26px; padding: 18px 18px 22px; box-shadow: 8px 8px 0 var(--ink); scroll-margin-top: calc(var(--top-h) + 14px); }
@media (max-width: 480px) { .apply .wrap { padding-inline: 12px; } .apply-head { padding-inline: 8px; } .funnel { box-shadow: 5px 5px 0 var(--ink); } }
@media (min-width: 700px) { .funnel { padding: 26px 34px 34px; border-radius: 30px; } }

.funnel-top { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.f-back { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin-left: -6px; background: transparent; border: 0; border-radius: 50%; color: var(--ink); transition: background-color 0.2s, transform 0.25s var(--out); }
.f-back:hover { background: var(--soft); transform: translateX(-2px); }
.f-back[hidden] { display: none; }
.f-progress { flex: 1; height: 8px; background: #ebe8ef; border-radius: 99px; overflow: hidden; }
.f-progress span { display: block; height: 100%; width: 11%; background: var(--brand); border-radius: 99px; transition: width 0.7s var(--out); }
.f-count { flex: none; font-size: 0.8125rem; font-weight: 700; color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.funnel.is-end .f-count, .funnel.is-end .f-back { display: none; }

.funnel-body { position: relative; margin: 18px -6px -6px; padding: 6px; overflow: hidden; }
.funnel-body.is-sizing { transition: height 0.45s var(--out); }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step[hidden] { display: none; }
.q { float: left; width: 100%; padding: 0; margin: 0 0 22px; font-family: var(--body); font-weight: 700; font-size: clamp(1.375rem, 1.1rem + 1.5vw, 1.8125rem); line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
.q ~ * { clear: both; }
.q-sub { display: block; margin-top: 8px; font-weight: 600; font-size: 0.9375rem; line-height: 1.4; letter-spacing: 0; color: var(--mute); text-wrap: pretty; }

@media (prefers-reduced-motion: no-preference) {
  .step.is-leaving { animation: step-out 0.17s ease-in both; }
  .step.is-entering { animation: step-in 0.5s var(--out) both; }
  .step.is-entering .opt { animation: step-in 0.55s var(--out) both; }
  .step.is-entering .opt:nth-child(2) { animation-delay: 0.05s; } .step.is-entering .opt:nth-child(3) { animation-delay: 0.1s; }
  .step.is-entering .opt:nth-child(4) { animation-delay: 0.15s; } .step.is-entering .opt:nth-child(5) { animation-delay: 0.2s; }
  .step.is-entering .opt:nth-child(6) { animation-delay: 0.25s; }
  .funnel-body[data-dir="back"] .step.is-leaving { animation-name: step-out-back; }
  .funnel-body[data-dir="back"] .step.is-entering, .funnel-body[data-dir="back"] .step.is-entering .opt { animation-name: step-in-back; }
}
@keyframes step-out { to { opacity: 0; transform: translateX(-22px); } }
@keyframes step-out-back { to { opacity: 0; transform: translateX(22px); } }
@keyframes step-in { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
@keyframes step-in-back { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }

.opts { display: grid; gap: 10px; }
.opt { position: relative; display: flex; align-items: center; gap: 14px; min-height: 62px; padding: 12px 16px; background: #fff; border: 2px solid var(--line-strong); border-radius: 16px; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.3s var(--out), box-shadow 0.3s var(--out); }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt-box { flex: none; display: grid; place-items: center; width: 26px; height: 26px; background: #fff; border: 2px solid #8b8596; border-radius: 8px; color: transparent; transition: border-color 0.2s, color 0.2s; }
.opt input[type="radio"] ~ .opt-box { border-radius: 50%; }
.opt-box .ic { width: 16px; height: 16px; stroke-width: 3.4; }
.opt-b { min-width: 0; }
.opt-t { display: block; font-weight: 700; font-size: 1.0625rem; line-height: 1.25; }
.opt-s { display: block; margin-top: 3px; font-size: 0.875rem; line-height: 1.35; color: var(--mute); transition: color 0.2s; }
.opt-none { margin-top: 8px; }
@media (hover: hover) { .opt:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: 3px 3px 0 var(--ink); } }
.opt:active { transform: scale(0.99); }
.opt:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.opt:has(input:checked) { background: var(--brand); border-color: var(--ink); color: var(--on-brand); box-shadow: 3px 3px 0 var(--ink); }
.opt:has(input:checked) .opt-box { border-color: var(--ink); background: #fff; color: var(--ink); }
.opt:has(input:checked) .opt-s { color: inherit; opacity: 0.9; }
.opts.is-bad .opt { border-color: #c2261a; }

.sub + .sub, .extra { margin-top: 22px; }
.sub .lbl, .extra .lbl { font-size: 1rem; margin-bottom: 9px; }

.field { display: block; width: 100%; padding: 15px 16px; background: #fff; color: var(--ink); border: 2px solid var(--line-strong); border-radius: 14px; font-size: 1.0625rem; line-height: 1.45; -webkit-appearance: none; appearance: none; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; }
.field::placeholder { color: #777182; opacity: 1; }
.field:hover { border-color: #9d98a8; }
.field:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(21, 16, 31, 0.12); }
.field.is-bad { border-color: #c2261a; background: #fff6f5; }

.err { margin-top: 12px; color: #b3170c; font-size: 0.9375rem; font-weight: 700; line-height: 1.4; }
.err[hidden] { display: none; }

.step-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 24px; padding: 0 6px 6px 0; }
.step-nav .btn[hidden] { display: none; }
.step-nav:not(:has(.btn:not([hidden]))) { margin-top: 0; }
@media (max-width: 560px) { .step-nav .btn { width: 100%; } }

.form-grid { display: grid; gap: 16px; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.fg { min-width: 0; }
.fg-full { grid-column: 1 / -1; }
.lbl { display: block; margin-bottom: 7px; font-size: 0.875rem; font-weight: 700; line-height: 1.3; }
.lbl em { font-style: normal; font-weight: 600; color: var(--mute); margin-left: 6px; }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg label { position: relative; display: grid; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 519px) { .seg-stack { grid-template-columns: 1fr; } }
.seg span { display: grid; place-items: center; padding: 13px 8px; text-align: center; border: 2px solid var(--line-strong); border-radius: 12px; font-weight: 700; font-size: 0.9688rem; line-height: 1.2; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.seg label:hover span { border-color: var(--ink); }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.seg.is-bad span { border-color: #c2261a; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Unterlagen hochladen */
.drop { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 20px 16px; border: 2px dashed #a9a4b3; border-radius: 16px; color: var(--ink-2); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.drop .ic { width: 26px; height: 26px; color: var(--brand-deep); margin-bottom: 4px; }
.drop-t { font-size: 1rem; }
.drop-t strong { color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
.drop-h { font-size: 0.8125rem; color: var(--mute); }
.drop:hover, .drop.is-over { border-color: var(--ink); background: var(--soft); }
.drop:has(+ input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (hover: none) { .drop-or { display: none; } }
.files { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.files:not(:empty) { margin-top: 10px; }
.files li { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; background: var(--soft); border-radius: 12px; font-size: 0.9375rem; }
.files .ic { width: 18px; height: 18px; color: var(--mute); }
.files .fn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.files .fs { flex: none; color: var(--mute); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.files button { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); transition: background-color 0.2s; }
.files button:hover { background: #fff; }
.files button .ic { color: inherit; width: 16px; height: 16px; stroke-width: 2.4; }
@media (prefers-reduced-motion: no-preference) { .files li { animation: rise 0.4s var(--out) both; } }

.consent-line { display: flex; gap: 12px; align-items: flex-start; font-size: 0.875rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent-line a { color: var(--ink); font-weight: 700; }
.consent-line input { flex: none; -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin: 0; cursor: pointer; border: 2px solid #8b8596; border-radius: 7px; background: #fff center / 16px no-repeat; transition: background-color 0.2s, border-color 0.2s; }
.consent-line input:checked { background-color: var(--ink); border-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 9.5 17 19 7.5'/%3E%3C/svg%3E"); }
.consent-line.is-bad input { border-color: #c2261a; box-shadow: 0 0 0 4px rgba(194, 38, 26, 0.16); }

.secure { display: flex; align-items: center; gap: 7px; font-size: 0.8125rem; color: var(--mute); line-height: 1.3; }
.secure .ic { width: 15px; height: 15px; }
.f-submit .spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(0, 0, 0, 0.25); border-top-color: currentColor; border-radius: 50%; }
.f-submit.is-loading { pointer-events: none; opacity: 0.85; }
.f-submit.is-loading .ic { display: none; }
.f-submit.is-loading .spinner { display: block; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.end { outline: none; }
.end .q { float: none; margin-bottom: 14px; }
.end p { color: var(--ink-2); max-width: 50ch; }
.end p + p { margin-top: 0.8em; }
.done-mark { width: 68px; height: 68px; margin-bottom: 20px; }
.done-mark svg { width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.done-mark circle { fill: var(--brand); stroke: var(--ink); stroke-width: 3; transform-origin: center; }
.done-mark path { stroke: var(--on-brand); stroke-width: 5; stroke-dasharray: 44; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .done.is-entering .done-mark circle { animation: pop 0.6s var(--out) both; }
  .done.is-entering .done-mark path { animation: draw 0.5s 0.3s var(--out) both; }
}
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes draw { from { stroke-dashoffset: 44; } to { stroke-dashoffset: 0; } }

/* ---------- Fuß ---------- */
.foot { border-top: 1px solid var(--line); padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); text-align: center; }
.foot-org { font-size: 0.875rem; color: var(--mute); margin-bottom: 18px; }
.powered { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 0.9375rem; color: var(--ink-2); }
.powered a { display: block; border-radius: 6px; transition: opacity 0.2s, transform 0.3s var(--out); }
.powered a:hover { opacity: 0.75; transform: translateY(-1px); }
.powered img { width: auto; height: 24px; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 14px; font-size: 0.875rem; color: var(--ink-2); }
.foot-nav a, .foot-nav button { color: inherit; padding: 6px 0; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.25em; transition: color 0.2s, text-decoration-color 0.2s; }
.foot-nav a:hover, .foot-nav button:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* ---------- Mobile Sticky-CTA ---------- */
.sticky-cta { position: fixed; inset: auto 0 0 0; z-index: 40; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.95); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 0.45s var(--out); }
.sticky-cta[hidden] { display: none; }
.sticky-cta.is-on { transform: none; }
.sticky-cta .btn { width: 100%; }
@media (max-width: 899px) { .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); } }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- Cookie-Hinweis ---------- */
.cookie { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); padding: 18px 18px 16px; background: var(--ink); color: #fff; border-radius: 20px; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.6), 0 2px 10px rgba(0, 0, 0, 0.25); }
.cookie[hidden] { display: none; }
.cookie-t { font-weight: 700; font-size: 1.0625rem; }
.cookie-d { margin-top: 6px; font-size: 0.875rem; line-height: 1.5; color: rgba(255, 255, 255, 0.82); }
.cookie-d a { color: #fff; }
.cookie-a { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 14px; }
.cookie .btn { box-shadow: none; border-color: #fff; }
.cookie .btn:hover { transform: none; box-shadow: none; }
.cookie .btn-main { background: #fff; color: var(--ink); }
.cookie .btn-line { background: transparent; color: #fff; }
.cookie .linklike { font-size: 0.875rem; padding: 10px 6px; }
@media (max-width: 420px) { .cookie-a .btn { flex: 1 1 auto; } }
@media (min-width: 700px) { .cookie { left: auto; right: 24px; bottom: 24px; max-width: 440px; padding: 22px 22px 18px; } }
@media (prefers-reduced-motion: no-preference) { .cookie { animation: rise 0.6s 0.5s var(--out) both; } }

.cookie-modal { border: 0; padding: 0; border-radius: 24px; width: min(520px, calc(100vw - 24px)); color: var(--ink); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6); }
.cookie-modal::backdrop { background: rgba(21, 16, 31, 0.6); }
.cookie-panel { position: relative; padding: 26px 22px 22px; }
.cookie-panel h2 { font-family: var(--body); font-weight: 700; font-size: 1.375rem; line-height: 1.2; text-transform: none; letter-spacing: -0.01em; padding-right: 44px; }
.cookie-sub { margin-top: 10px; font-size: 0.9375rem; color: var(--ink-2); }
.cookie-x { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); }
.cat { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.cat-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; cursor: pointer; }
.cat p { margin-top: 4px; font-size: 0.875rem; color: var(--ink-2); max-width: 46ch; }
.switch { flex: none; -webkit-appearance: none; appearance: none; position: relative; width: 46px; height: 28px; margin: 0; border-radius: 99px; background: #bdb8c6; cursor: pointer; transition: background-color 0.25s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: transform 0.3s var(--out); }
.switch:checked { background: var(--ink); }
.switch:checked::after { transform: translateX(18px); }
.switch:disabled { opacity: 0.55; cursor: not-allowed; }
.cookie-panel .cookie-a { margin-top: 22px; }
.cookie-panel .btn { box-shadow: none; }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; background: var(--bg); color: var(--on-bg); padding: 32px var(--gutter); }
.nf-in { max-width: 560px; }
.nf h1 { margin: 0; font-size: clamp(3.5rem, 13vw, 6.5rem); }
.nf p { margin: 18px 0 30px; font-size: 1.125rem; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
}
