/* =========================================================
   Kanzleigemeinschaft Wittum · Vetter — Karriere / Bewerber-Funnel
   Zwei eigenständige Kanzleien, ein Standort. Mobile-first.

   Farbstrategie: neutrale, leicht kühle Bühne (Richtung Navy-Ink),
   damit keine der beiden Marken dominiert. Identität kommt aus den
   zwei Akzenten der Kanzleien: Wittum Salbei · Vetter Maroon.
   Typo: Vollkorn (Serif, ruhige Gravitas) + Hanken Grotesk (UI).
   LS Gestaltung
   ========================================================= */

:root{
  /* neutral shell — cool-tinted toward the ink hue, not warm-by-default */
  --ink:oklch(27% .022 255);            /* Tiefes Blaugrau, nah an Wittum-Navy */
  --ink-2:oklch(33% .022 255);
  --bg:oklch(97.8% .003 250);           /* Bühne */
  --surface:#fff;                        /* Karten, Panels */
  --bg-2:oklch(95.4% .005 250);         /* Wechsel-Sektionen */
  --line:oklch(27% .022 255 / .16);
  --line-soft:oklch(27% .022 255 / .09);
  --muted:oklch(44% .018 255);          /* Fließtext-Sekundär, AA auf --bg */
  --faint:oklch(54% .015 255);          /* nur große/fette Nebentexte */
  --on-dark:oklch(94% .006 250);
  --on-dark-muted:oklch(94% .006 250 / .76);

  /* Kanzlei-Akzente */
  --wittum:#8D9478;                      /* Salbei aus dem Wittum-CI */
  --wittum-deep:oklch(43% .05 125);      /* AA-tauglich auf hell */
  --vetter:#AD291D;                      /* Maroon aus dem Vetter-Logo */
  --vetter-deep:oklch(42% .13 29);

  --radius:14px;
  --radius-lg:20px;

  --serif:"Vollkorn",Georgia,"Times New Roman",serif;
  --sans:"Hanken Grotesk",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;

  --wrap:1140px;
  --gutter:clamp(18px,5vw,64px);
  --shadow:0 1px 2px oklch(20% .02 255 / .05),0 12px 32px -16px oklch(20% .02 255 / .22);
  --shadow-lg:0 32px 80px -28px oklch(20% .02 255 / .5);
  --ease:cubic-bezier(.19,1,.22,1); /* ease-out-expo-ish */

  /* z-scale: sticky < overlay-backdrop < overlay */
  --z-sticky:40;
  --z-header:50;
  --z-overlay:100;

  --safe-b:env(safe-area-inset-bottom,0px);
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;overflow-x:clip}
body{
  margin:0;font-family:var(--sans);color:var(--ink);background:var(--bg);
  font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  overflow-x:clip;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer}
::selection{background:var(--wittum);color:#fff}

:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:4px}
.btn:focus-visible,.choice:focus-visible,.chip:focus-visible{outline-offset:2px}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* ---------- Typografie (Headlines serifenlos) ---------- */
h1,h2,h3,h4{margin:0;font-family:var(--sans);font-weight:700;line-height:1.1;letter-spacing:-.02em;text-wrap:balance}
.display{font-size:clamp(2.35rem,7.4vw,4.4rem);line-height:1.05;font-weight:700;letter-spacing:-.025em}
.display em,.h2 em{font-style:normal;font-weight:700}
.h2{font-size:clamp(1.75rem,5.2vw,2.7rem)}
.h3{font-size:clamp(1.3rem,4.2vw,1.7rem)}
p{text-wrap:pretty}
.lead{font-size:clamp(1.05rem,2.9vw,1.25rem);line-height:1.55;color:var(--muted);max-width:58ch}
.lead.on-dark{color:var(--on-dark-muted)}

/* Zwei-Punkte-Motiv: das benannte Markenzeichen des Zusammenschlusses.
   Sparsam einsetzen (Hero, Funnel, Footer) — nie als Sektions-Grammatik. */
.duo{display:inline-flex;align-items:center;gap:6px;vertical-align:middle}
.duo i{width:9px;height:9px;border-radius:50%;display:block}
.duo i:first-child{background:var(--wittum)}
.duo i:last-child{background:var(--vetter)}
.kicker{display:inline-flex;align-items:center;gap:.65em;font-weight:600;font-size:.95rem;color:var(--muted)}

/* ---------- Layout ---------- */
.wrap{max-width:var(--wrap);margin:0 auto;padding-inline:var(--gutter)}
section{position:relative}
.section-pad{padding-block:clamp(60px,12vw,124px)}
.sec-head{max-width:680px;margin-bottom:clamp(1.8rem,6vw,3.2rem)}
.sec-head p{margin:1rem 0 0}

/* ---------- Buttons ---------- */
.btn{
  --bg-b:var(--ink);--fg-b:#fff;
  display:inline-flex;align-items:center;justify-content:center;gap:.55em;
  background:var(--bg-b);color:var(--fg-b);font-weight:600;font-size:1rem;letter-spacing:.01em;
  padding:1rem 1.6rem;min-height:52px;border:1px solid var(--bg-b);border-radius:999px;
  transition:transform .4s var(--ease),box-shadow .4s var(--ease),background .25s,color .25s;
}
.btn svg{width:1.05em;height:1.05em;transition:transform .4s var(--ease)}
.btn:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.btn:hover svg{transform:translateX(4px)}
.btn:active{transform:translateY(0)}
.btn--ghost{--bg-b:transparent;--fg-b:var(--ink);border-color:var(--line)}
.btn--ghost:hover{background:var(--ink);color:#fff;border-color:var(--ink)}
.btn--lg{padding:1.1rem 2rem;min-height:58px;font-size:1.05rem}
.btn--block{width:100%}

/* ---------- Logo-Lockup (beide echten Logos) ---------- */
.lockup{display:flex;align-items:center;gap:clamp(.9rem,3vw,1.5rem);flex-wrap:wrap;min-width:0}
.lockup img{display:block;width:auto;max-width:100%}
.lockup__div{width:1px;align-self:stretch;min-height:40px;background:var(--line);flex:none}

/* ================= HEADER ================= */
.site-header{position:fixed;top:0;left:0;right:0;z-index:var(--z-header);transition:transform .5s var(--ease),background .35s,border-color .35s}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem var(--gutter)}
.site-header.is-scrolled{background:oklch(97.8% .003 250 / .92);backdrop-filter:saturate(1.2) blur(14px);-webkit-backdrop-filter:saturate(1.2) blur(14px);border-bottom:1px solid var(--line-soft)}
.site-header.is-hidden{transform:translateY(-104%)}
.brand{display:flex;align-items:center;gap:.7rem;min-width:0}
.brand__logos{display:flex;align-items:center;gap:.75rem}
.brand__logos img{display:block;width:auto;height:22px}
.brand__logos .lockup__div{min-height:24px}
.brand__cg{display:none;flex-direction:column;line-height:1.15}
.brand__cg b{font-size:.95rem;font-weight:700;letter-spacing:.01em}
.brand__cg span{font-size:.72rem;color:var(--muted)}
.header-nav{display:none;align-items:center;gap:1.8rem}
.header-nav a{font-size:.95rem;font-weight:500;color:var(--ink);opacity:.8;transition:opacity .2s}
.header-nav a:hover{opacity:1}
.header-cta{display:none}
@media (min-width:720px){.header-nav{display:flex}}
@media (min-width:960px){
  .header-cta{display:inline-flex}
  .brand__logos img{height:26px}
}
@media (max-width:400px){
  .brand__logos{display:none}
  .brand__cg{display:flex}
}

/* ================= HERO ================= */
.hero{padding-top:clamp(100px,20vw,164px);padding-bottom:clamp(44px,9vw,84px);overflow:hidden}
.hero__accent{position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--wittum) 0 50%,var(--vetter) 50% 100%)}
.hero__inner{max-width:900px}
.hero__kicker{margin-bottom:1.4rem}
.hero h1{max-width:15ch}
.hero h1 em{color:var(--wittum-deep)}
.hero__sub{margin-top:1.5rem}
.hero__lockup{
  margin-top:2.2rem;padding:1.15rem 1.35rem;background:var(--surface);
  border:1px solid var(--line-soft);border-radius:var(--radius);box-shadow:var(--shadow);
  display:inline-flex;flex-direction:column;gap:.9rem;max-width:100%;
}
.hero__lockup .cg-label{font-size:.85rem;font-weight:600;color:var(--muted)}
.hero__lockup .lockup{row-gap:.6rem}
.hero__lockup .lockup img{height:clamp(26px,5.2vw,44px)}
.hero__lockup .lockup img.vetter{height:clamp(23px,4.7vw,39px)}
.hero__actions{margin-top:2.1rem;display:flex;flex-wrap:wrap;gap:.8rem}
.hero__actions .btn{flex:1 1 auto}
.hero__facts{
  margin-top:2.6rem;padding-top:1.4rem;border-top:1px solid var(--line);
  font-size:.95rem;color:var(--muted);display:flex;flex-wrap:wrap;column-gap:.6em;row-gap:.3rem;
}
.hero__facts b{color:var(--ink);font-weight:600}
.hero__facts .sep{color:var(--faint)}
@media (min-width:640px){
  .hero__actions .btn{flex:0 0 auto}
  .hero__lockup{flex-direction:row;align-items:center;gap:1.4rem}
}

/* ================= REVEAL (progressive enhancement) =================
   Inhalt ist ohne JS voll sichtbar; erst html.js blendet aus. */
.js .reveal{opacity:0;transform:translateY(20px);transition:opacity .9s var(--ease),transform .9s var(--ease)}
.js .reveal.in{opacity:1;transform:none}
.js [data-delay="1"]{transition-delay:.08s}
.js [data-delay="2"]{transition-delay:.16s}
.js [data-delay="3"]{transition-delay:.24s}
@media (prefers-reduced-motion:reduce){.js .reveal{opacity:1;transform:none;transition:none}}

/* ================= DIE KANZLEIEN ================= */
.firms{background:var(--bg-2)}
.firms__grid{display:grid;grid-template-columns:1fr;gap:1.2rem;margin-top:clamp(1.8rem,5vw,2.6rem)}
@media (min-width:840px){.firms__grid{grid-template-columns:1fr 1fr}}
.firm{
  position:relative;background:var(--surface);border:1px solid var(--line-soft);border-radius:var(--radius-lg);
  overflow:hidden;padding:clamp(1.4rem,4vw,2rem);display:flex;flex-direction:column;
  transition:box-shadow .5s var(--ease),transform .5s var(--ease),border-color .35s;
}
.firm::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:var(--acc)}
.firm:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.firm.wittum{--acc:var(--wittum);--acc-deep:var(--wittum-deep)}
.firm.vetter{--acc:var(--vetter);--acc-deep:var(--vetter-deep)}
.firm__logo{height:44px;display:flex;align-items:center;margin-bottom:1.4rem}
.firm__logo img{height:100%;width:auto}
.firm__head{display:flex;gap:1.2rem;align-items:flex-start}
.firm__photo{width:104px;height:130px;flex:none;border-radius:12px;overflow:hidden;background:var(--bg-2);border:1px solid var(--line-soft)}
.firm__photo img{width:100%;height:100%;object-fit:cover;object-position:center top}
.firm__photo--ph{display:flex;align-items:center;justify-content:center;color:var(--faint)}
.firm__photo--ph svg{width:36px;height:52px;opacity:.4}
.firm__who h3{font-size:1.45rem}
.firm__role{font-size:.92rem;font-weight:600;color:var(--acc-deep);margin-top:.4rem;line-height:1.4}
.firm__area{font-size:.85rem;color:var(--muted);margin-top:.55rem}
.firm__bio{margin:1.25rem 0 0;font-size:.97rem;color:var(--muted);line-height:1.62;max-width:52ch}
.firm__foot{margin-top:1.3rem;padding-top:1.1rem;border-top:1px solid var(--line-soft);font-size:.9rem;color:var(--muted)}
.firm__foot b{color:var(--ink)}
.firms__note{margin-top:clamp(1.6rem,4vw,2.2rem);font-size:.97rem;color:var(--muted);max-width:62ch}
.firms__note b{color:var(--ink)}

/* ================= STELLEN ================= */
.pos-list{display:flex;flex-direction:column;gap:1.1rem}
.pos-card{
  position:relative;background:var(--surface);border:1px solid var(--line-soft);border-radius:var(--radius-lg);
  padding:clamp(1.35rem,4vw,2.1rem);overflow:hidden;
  transition:border-color .35s,box-shadow .5s var(--ease),transform .5s var(--ease);
}
.pos-card:hover{border-color:var(--acc,var(--line));box-shadow:var(--shadow);transform:translateY(-2px)}
.pos-card.wittum{--acc:var(--wittum);--acc-deep:var(--wittum-deep)}
.pos-card.vetter{--acc:var(--vetter);--acc-deep:var(--vetter-deep)}
.pos-card.beide{--acc:var(--ink-2);--acc-deep:var(--ink)}
.pos-card__tags{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:1rem}
.tag{
  font-size:.78rem;font-weight:600;letter-spacing:.02em;padding:.34rem .7rem;border-radius:999px;
  background:color-mix(in oklab,var(--acc,var(--ink)) 14%,transparent);color:var(--acc-deep,var(--ink));white-space:nowrap;
}
.tag--ghost{background:transparent;border:1px solid var(--line);color:var(--muted)}
.pos-card h3{font-size:clamp(1.35rem,4.6vw,1.8rem)}
.pos-card h3 .mwd{color:var(--faint);font-weight:400;font-family:var(--sans);font-size:.58em;letter-spacing:0}
.pos-card__who{font-size:.92rem;color:var(--muted);margin-top:.55rem}
.pos-card__who b{color:var(--acc-deep);font-weight:600}
.pos-card__desc{margin:1rem 0 0;color:var(--muted);max-width:60ch;font-size:.98rem}
.pos-card__facts{display:flex;flex-wrap:wrap;gap:.3rem 1.5rem;margin:1.05rem 0 0;padding:0}
.pos-card__facts li{list-style:none;font-size:.9rem;color:var(--muted);display:flex;align-items:center;gap:.55rem}
.pos-card__facts li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--acc,var(--ink));flex:none}
.pos-card__cta{margin-top:1.4rem;display:flex;flex-wrap:wrap;gap:.7rem;align-items:center}
.pos-card__apply{
  display:inline-flex;align-items:center;justify-content:center;gap:.55rem;background:var(--ink);color:#fff;
  font-weight:600;font-size:.98rem;padding:.85rem 1.5rem;min-height:50px;border-radius:999px;border:1px solid var(--ink);
  transition:transform .4s var(--ease),box-shadow .4s var(--ease);flex:1 1 auto;
}
.pos-card__apply svg{width:1.05em;height:1.05em;transition:transform .4s var(--ease)}
.pos-card__apply:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.pos-card__apply:hover svg{transform:translateX(3px)}
.pos-card__detail{background:none;border:none;color:var(--muted);font-size:.9rem;font-weight:600;text-decoration:underline;text-underline-offset:3px;padding:.6rem .4rem;flex:0 0 auto}
.pos-card__detail:hover{color:var(--ink)}
@media (min-width:560px){.pos-card__apply{flex:0 0 auto}}
/* Details-Akkordeon */
.pos-more{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s var(--ease)}
.pos-more>div{overflow:hidden}
.pos-card.open .pos-more{grid-template-rows:1fr}
.pos-more__inner{padding-top:1.4rem;margin-top:1.3rem;border-top:1px solid var(--line-soft);display:grid;grid-template-columns:1fr;gap:1.4rem}
@media (min-width:640px){.pos-more__inner{grid-template-columns:1fr 1fr;gap:1.6rem 2.2rem}}
.pos-more h5{font-size:.95rem;font-weight:700;color:var(--ink);margin:0 0 .7rem}
.pos-more ul{margin:0;padding:0}
.pos-more li{list-style:none;font-size:.93rem;color:var(--muted);padding-left:1.3rem;position:relative;margin-bottom:.55rem;line-height:1.52}
.pos-more li::before{content:"";position:absolute;left:0;top:.6em;width:6px;height:6px;border:1.5px solid var(--acc,var(--ink));border-radius:50%}

/* ================= DAS ERWARTET DICH (ruhige Liste statt Icon-Grid) ================= */
.perks{display:grid;grid-template-columns:1fr;column-gap:clamp(2rem,6vw,4.5rem);margin-top:clamp(1.6rem,5vw,2.6rem)}
@media (min-width:720px){.perks{grid-template-columns:1fr 1fr}}
.perk{padding-block:1.35rem;border-top:1px solid var(--line)}
.perk h4{font-size:1.22rem;margin-bottom:.4rem}
.perk p{margin:0;font-size:.95rem;color:var(--muted);max-width:48ch}

/* ================= ABLAUF (echte Sequenz → Nummern erlaubt) ================= */
.process{background:var(--ink);color:var(--on-dark)}
.process .sec-head h2{color:#fff}
.steps{display:grid;grid-template-columns:1fr;gap:1.4rem;margin-top:clamp(1.8rem,5vw,3rem);counter-reset:step}
@media (min-width:560px){.steps{grid-template-columns:1fr 1fr}}
@media (min-width:900px){.steps{grid-template-columns:repeat(4,1fr)}}
.step{position:relative;padding-top:2.5rem}
.step::before{counter-increment:step;content:counter(step);position:absolute;top:0;left:0;font-family:var(--serif);font-style:italic;font-size:1.55rem;color:var(--wittum)}
.step:nth-child(even)::before{color:oklch(72% .1 29)}
.step h4{font-size:1.08rem;font-weight:600;margin-bottom:.4rem;color:#fff;font-family:var(--sans)}
.step p{margin:0;font-size:.92rem;color:var(--on-dark-muted);line-height:1.58}

/* ================= FAQ ================= */
.faq-list{max-width:800px;margin-top:clamp(1.6rem,5vw,2.4rem);border-top:1px solid var(--line)}
.faq-item{border-bottom:1px solid var(--line)}
.faq-q{
  width:100%;text-align:left;background:none;border:none;padding:1.3rem 2.6rem 1.3rem 0;position:relative;
  font-weight:600;font-size:clamp(1.02rem,3.4vw,1.2rem);color:var(--ink);line-height:1.4;letter-spacing:-.01em;
}
.faq-q::after{
  content:"";position:absolute;right:.2rem;top:50%;width:13px;height:13px;
  background:linear-gradient(var(--ink),var(--ink)) center/13px 1.5px no-repeat,
             linear-gradient(var(--ink),var(--ink)) center/1.5px 13px no-repeat;
  transform:translateY(-50%);transition:transform .45s var(--ease);opacity:.65;
}
.faq-item.open .faq-q::after{transform:translateY(-50%) rotate(45deg)}
.faq-a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s var(--ease)}
.faq-a>div{overflow:hidden}
.faq-item.open .faq-a{grid-template-rows:1fr}
.faq-a p{margin:0 0 1.35rem;color:var(--muted);max-width:64ch}
.faq-a a{color:var(--ink);text-decoration:underline;text-underline-offset:2px}

/* ================= FINAL CTA ================= */
.final{background:var(--bg-2);text-align:center;overflow:hidden}
.final__accent{position:absolute;top:0;left:0;width:100%;height:4px;background:linear-gradient(90deg,var(--wittum) 0 50%,var(--vetter) 50% 100%)}
.final__inner{max-width:660px;margin:0 auto}
.final p{margin:1.2rem auto 0}
.final .lead{margin-inline:auto}
.final__actions{margin-top:2rem;display:flex;gap:.8rem;justify-content:center;flex-wrap:wrap}
.final__lockup{margin-top:2.8rem;display:flex;justify-content:center}
.final__lockup img{height:32px}
.final__lockup img.vetter{height:28px}

/* ================= FOOTER ================= */
.site-footer{background:oklch(22% .02 255);color:var(--on-dark-muted);padding-block:clamp(2.6rem,7vw,4rem);padding-bottom:calc(clamp(2.6rem,7vw,4rem) + 84px + var(--safe-b))}
@media (min-width:720px){.site-footer{padding-bottom:clamp(2.6rem,7vw,4rem)}}
.footer-top{display:grid;grid-template-columns:1fr;gap:2.2rem;padding-bottom:2.2rem;border-bottom:1px solid oklch(94% .006 250 / .14)}
@media (min-width:720px){.footer-top{grid-template-columns:1.5fr 1fr 1fr}}
.footer-logos{display:flex;flex-direction:column;gap:1.1rem;align-items:flex-start}
.logo-plate{display:inline-flex;align-items:center;gap:1rem;background:#fff;border-radius:12px;padding:.85rem 1.1rem}
.logo-plate img{height:26px;width:auto}
.logo-plate img.vetter{height:23px}
.logo-plate .lockup__div{min-height:28px;background:var(--line)}
.footer-logos p{margin:0;font-size:.92rem;max-width:36ch;line-height:1.6}
.footer-col h5{color:#fff;font-size:.95rem;font-weight:700;margin:0 0 1rem}
.footer-col a,.footer-col p{display:block;font-size:.92rem;margin:0 0 .55rem;transition:color .2s}
.footer-col a:hover{color:#fff}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.8rem;padding-top:1.6rem;font-size:.82rem}
.footer-bottom .duo i{width:7px;height:7px}
.footer-bottom nav a{margin-left:1.2rem}
.footer-bottom nav a:first-child{margin-left:0}
.footer-bottom a:hover{color:#fff}

/* ================= STICKY MOBILE CTA ================= */
.mobile-cta{
  position:fixed;left:0;right:0;bottom:0;z-index:var(--z-sticky);
  padding:.7rem var(--gutter);padding-bottom:calc(.7rem + var(--safe-b));
  background:oklch(97.8% .003 250 / .94);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-top:1px solid var(--line-soft);
  transform:translateY(120%);transition:transform .5s var(--ease);
}
.mobile-cta.show{transform:none}
.mobile-cta .btn{width:100%}
@media (min-width:720px){.mobile-cta{display:none}}

/* =========================================================
   FUNNEL (Overlay) — app-artig
   ========================================================= */
.funnel{position:fixed;inset:0;z-index:var(--z-overlay);display:none;background:oklch(20% .02 255 / .55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.funnel.is-open{display:block}
body.funnel-lock{overflow:hidden}
.funnel__panel{
  position:absolute;top:0;right:0;height:100%;height:100dvh;width:min(560px,100%);
  background:var(--bg);box-shadow:var(--shadow-lg);display:flex;flex-direction:column;
  transform:translateX(100%);transition:transform .5s var(--ease);
}
.funnel.is-open .funnel__panel{transform:none}

.funnel__head{padding:1.1rem clamp(1.2rem,5vw,2rem) 0;flex:none;padding-top:calc(1.1rem + env(safe-area-inset-top,0px))}
.funnel__bar{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.funnel__brand{display:flex;align-items:center;gap:.65rem}
.funnel__brand b{font-size:.95rem;font-weight:700;letter-spacing:.01em}
.funnel__close{width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:transparent;display:flex;align-items:center;justify-content:center;color:var(--ink);transition:background .25s,transform .25s}
.funnel__close:hover{background:var(--bg-2);transform:rotate(90deg)}
.funnel__close svg{width:16px;height:16px}
.funnel__progress{margin-top:1.15rem}
.funnel__progress-track{height:4px;background:var(--line-soft);border-radius:2px;overflow:hidden}
.funnel__progress-fill{height:100%;width:0;background:linear-gradient(90deg,var(--wittum),var(--vetter));border-radius:2px;transition:width .5s var(--ease)}
.funnel__progress-label{display:flex;justify-content:space-between;margin-top:.55rem;font-size:.8rem;color:var(--muted)}

.funnel__body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:clamp(1.4rem,5vw,2.2rem);scrollbar-width:thin}
.funnel__foot{
  flex:none;padding:.9rem clamp(1.2rem,5vw,2rem);padding-bottom:calc(.9rem + var(--safe-b));
  border-top:1px solid var(--line-soft);display:flex;align-items:center;justify-content:space-between;gap:1rem;background:var(--surface);
}
.funnel__back{background:none;border:none;color:var(--muted);font-weight:600;font-size:.92rem;display:inline-flex;align-items:center;gap:.4rem;padding:.7rem .2rem;transition:color .2s,gap .3s}
.funnel__back:hover{color:var(--ink);gap:.6rem}
.funnel__back[hidden]{visibility:hidden}
.funnel__next{min-width:150px;flex:1 1 auto;max-width:62%}

.fstep{display:none;animation:fadeUp .45s var(--ease) both}
.fstep.active{display:block}
@keyframes fadeUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.fstep__eyebrow{font-size:.85rem;font-weight:600;color:var(--muted)}
.fstep__q{font-weight:700;font-size:clamp(1.35rem,5.6vw,1.8rem);line-height:1.15;letter-spacing:-.02em;margin:.6rem 0 .4rem;text-wrap:balance}
.fstep__hint{font-size:.95rem;color:var(--muted);margin:0 0 1.5rem}

.choices{display:flex;flex-direction:column;gap:.7rem}
.choice{
  display:flex;align-items:center;gap:.9rem;width:100%;text-align:left;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--radius);padding:1.05rem 1.15rem;min-height:64px;
  transition:border-color .3s,transform .35s var(--ease),box-shadow .35s var(--ease);
}
.choice:hover{border-color:var(--faint);transform:translateY(-2px);box-shadow:var(--shadow)}
.choice.selected{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.choice__tick{width:24px;height:24px;border-radius:50%;border:1.5px solid var(--line);flex:none;display:flex;align-items:center;justify-content:center;transition:border-color .3s,background .3s}
.choice__tick svg{width:13px;height:13px;color:#fff;opacity:0;transform:scale(.4);transition:.3s var(--ease)}
.choice.selected .choice__tick{background:var(--ink);border-color:var(--ink)}
.choice.selected .choice__tick svg{opacity:1;transform:none}
.choice__txt{min-width:0}
.choice__txt b{display:block;font-weight:600;font-size:1rem}
.choice__txt span{display:block;font-size:.87rem;color:var(--muted);margin-top:.2rem}

.chips{display:flex;flex-wrap:wrap;gap:.55rem}
.chip{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:.7rem 1.1rem;min-height:46px;font-size:.93rem;font-weight:500;color:var(--ink);transition:.25s var(--ease)}
.chip:hover{border-color:var(--faint)}
.chip.selected{background:var(--ink);color:#fff;border-color:var(--ink)}

.field{margin-bottom:1.1rem}
.field:last-child{margin-bottom:0}
.field label{display:block;font-size:.88rem;font-weight:600;margin-bottom:.45rem;color:var(--ink)}
.field .opt{color:var(--muted);font-weight:400}
.field input,.field textarea,.field select{
  width:100%;font-family:inherit;font-size:16px;color:var(--ink);background:var(--surface);
  border:1px solid var(--line);border-radius:12px;padding:.95rem 1rem;min-height:52px;
  transition:border-color .25s,box-shadow .25s;
}
.field textarea{min-height:118px;resize:vertical}
.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px oklch(27% .022 255 / .14)}
.field input::placeholder,.field textarea::placeholder{color:var(--faint)}
.field.err input,.field.err textarea{border-color:var(--vetter);box-shadow:0 0 0 3px oklch(50% .16 29 / .15)}
.field__msg{font-size:.83rem;color:var(--vetter-deep);margin-top:.4rem;display:none}
.field.err .field__msg{display:block}
.grid-2{display:grid;grid-template-columns:1fr;gap:1.1rem}
@media (min-width:420px){.grid-2{grid-template-columns:1fr 1fr}}

.filedrop{border:1.5px dashed var(--line);border-radius:var(--radius);padding:1.2rem;text-align:center;transition:border-color .3s,background .3s;cursor:pointer;display:block}
.filedrop:hover{border-color:var(--faint);background:var(--surface)}
.filedrop.has-file{border-style:solid;border-color:var(--wittum-deep);background:color-mix(in oklab,var(--wittum) 8%,transparent)}
.filedrop input{display:none}
.filedrop__ic{width:28px;height:28px;margin:0 auto .6rem;color:var(--wittum-deep)}
.filedrop__ic svg{width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:1.4}
.filedrop b{font-size:.93rem;font-weight:600}
.filedrop span{display:block;font-size:.83rem;color:var(--muted);margin-top:.3rem}

.consent{display:flex;gap:.75rem;align-items:flex-start;font-size:.89rem;color:var(--muted);line-height:1.5}
.consent input{width:22px;height:22px;flex:none;margin-top:.1rem;accent-color:var(--ink)}
.consent a{color:var(--ink);text-decoration:underline;text-underline-offset:2px}

.summary{background:var(--surface);border:1px solid var(--line-soft);border-radius:var(--radius);padding:1.15rem 1.25rem;margin-bottom:1.35rem}
.summary h4{font-size:.92rem;font-weight:700;color:var(--ink);margin:0 0 .9rem}
.summary dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:.5rem 1rem}
.summary dt{font-size:.86rem;color:var(--muted)}
.summary dd{margin:0;font-size:.91rem;color:var(--ink);font-weight:500;text-align:right;overflow-wrap:anywhere}

.fsuccess{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh}
.fsuccess__badge{width:76px;height:76px;border-radius:50%;background:linear-gradient(135deg,var(--wittum),var(--vetter));color:#fff;display:flex;align-items:center;justify-content:center;margin-bottom:1.5rem;animation:pop .6s var(--ease) both}
.fsuccess__badge svg{width:34px;height:34px;stroke-width:2.6}
@keyframes pop{0%{transform:scale(.4);opacity:0}100%{transform:scale(1);opacity:1}}
.fsuccess h3{font-size:1.7rem;margin-bottom:.7rem}
.fsuccess p{color:var(--muted);max-width:38ch;margin:0 auto 1.5rem}
.fsuccess__next{background:var(--surface);border:1px solid var(--line-soft);border-radius:var(--radius);padding:1.05rem 1.2rem;text-align:left;width:100%;font-size:.9rem;color:var(--muted)}
.fsuccess__next b{color:var(--ink);display:block;margin-bottom:.35rem;font-weight:700;font-size:.92rem}
.fsuccess__next a{color:var(--ink);text-decoration:underline}

.fstep__error{background:oklch(50% .16 29 / .09);border:1px solid oklch(50% .16 29 / .3);color:var(--vetter-deep);border-radius:12px;padding:.9rem 1rem;font-size:.9rem;margin-bottom:1.2rem;display:none}
.fstep__error.show{display:block}
.fstep__error a{color:var(--vetter-deep);text-decoration:underline}
.spin{width:1.05em;height:1.05em;border:2px solid oklch(100% 0 0 / .4);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite;display:inline-block}
@keyframes spin{to{transform:rotate(360deg)}}

/* ================= RECHTSSEITEN ================= */
.legal{padding-top:clamp(96px,16vh,150px);padding-bottom:clamp(60px,10vw,100px)}
.legal .wrap{max-width:800px}
.legal h1{font-size:clamp(2rem,7vw,3.1rem);margin-bottom:1.4rem}
.legal h2{font-size:1.35rem;margin:2.4rem 0 .7rem}
.legal h3{font-size:1.05rem;margin:1.5rem 0 .5rem;font-family:var(--sans);font-weight:600}
.legal p,.legal li{color:var(--muted);margin:.55rem 0;font-size:.97rem;line-height:1.7;max-width:72ch}
.legal ul{padding-left:1.2rem}
.legal a{color:var(--ink);text-decoration:underline;text-underline-offset:2px}
.legal strong{color:var(--ink)}
.legal .back{margin-top:2.6rem;display:inline-flex}
