/*
  karriere.css - geteiltes Stylesheet fuer alle Stellenseiten unter /karriere/.
  Tokens und Basiskomponenten sind 1:1 aus der Live-Startseite (vorsorgebund.de)
  uebernommen, siehe docs/recruiting/audit-design-dave.md. Nur Ergaenzungen fuer
  das mehrstufige Bewerbungsformular sind neu (Abschnitt "FORMULAR-ENGINE" unten).
  Keine neuen Farben, Radien, Schatten oder Schriften.
*/

:root{
  /* Heller Grundton wie ein Merkblatt. Navy ist die Tinte, Gold die Marke.
     Regel fuer Gold: auf Hell nur als Flaeche, Balken oder Unterstreichung,
     niemals als Schrift (2:1 Kontrast). Auf den dunklen Bloecken darf Gold
     Schrift sein, dort hat es 9:1. */
  --navy-900:#071726;
  --navy-800:#0e2438;
  --navy-700:#17334c;

  --ink:#0e2438;
  --body:#42566a;      /* 7,3:1 auf Weiss */
  --muted:#61738a;     /* 4,8:1 auf Weiss */
  --line:#e1e8ef;
  --line-strong:#c9d5e0;

  --paper:#ffffff;
  --paper-2:#f5f8fb;
  --paper-3:#eef3f8;

  --gold:#f2ab13;
  --gold-deep:#d1900a;
  --gold-ink:#7a5405;  /* Gold als Schrift auf Hell, 6,4:1 */

  --on-navy:#ffffff;
  --on-navy-soft:#a9bccf;

  --r:14px;
  --r-lg:20px;

  --ease-out:cubic-bezier(.22,1,.36,1);
  --ease-expo:cubic-bezier(.16,1,.3,1);

  --z-sticky:100;
  --shell:min(1180px, 100% - 3rem);

  --lift:0 1px 2px rgba(14,36,56,.05), 0 10px 26px rgba(14,36,56,.08);
  --lift-lg:0 2px 4px rgba(14,36,56,.05), 0 22px 50px rgba(14,36,56,.13);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Archivo',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.shell{width:var(--shell);margin-inline:auto}

h1,h2,h3{letter-spacing:-.03em;line-height:1.05;font-weight:800;text-wrap:balance;overflow-wrap:break-word;word-break:break-word}
h1{font-size:clamp(2.15rem,4.1vw,3.5rem)}
h2{font-size:clamp(1.9rem,3.6vw,2.9rem)}
h3{font-size:1.2rem;letter-spacing:-.015em;line-height:1.25}
p{text-wrap:pretty}
.lede{font-size:clamp(1.05rem,1.3vw,1.2rem);line-height:1.65;color:var(--body);max-width:62ch}
.lede-dark{color:var(--on-navy-soft)}

/* Gold auf Hell: Unterstreichung statt Schriftfarbe */
.underline-gold{
  background-image:linear-gradient(var(--gold),var(--gold));
  background-repeat:no-repeat;
  background-size:100% .16em;
  background-position:0 92%;
  padding-bottom:.04em;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.6em;
  font-family:inherit;font-size:1rem;font-weight:600;letter-spacing:-.01em;
  padding:.9rem 1.55rem;border-radius:999px;border:1px solid transparent;cursor:pointer;
  transition:transform 140ms var(--ease-out), background-color 180ms ease, border-color 180ms ease;
}
.btn:active{transform:scale(.975)}
.btn:focus-visible{outline:2px solid var(--gold-deep);outline-offset:3px}
.btn-navy{background:var(--navy-800);color:#fff}
.btn-outline{background:transparent;color:var(--ink);border-color:var(--line-strong)}
.btn-gold{background:var(--gold);color:var(--navy-900)}        /* nur auf Dunkel, 9,1:1 */
.btn-line-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.32)}
@media (hover:hover) and (pointer:fine){
  .btn-navy:hover{background:var(--navy-700)}
  .btn-outline:hover{border-color:var(--ink)}
  .btn-gold:hover{background:var(--gold-deep)}
  .btn-line-light:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.6)}
  .btn:hover .chev{transform:translateX(3px)}
}
.chev{transition:transform 180ms var(--ease-out)}
.btn[disabled],.btn[aria-disabled="true"]{opacity:.6;pointer-events:none}

/* ---------- Nav (hell) ---------- */
.nav{
  position:sticky;top:0;z-index:var(--z-sticky);
  background:rgba(255,255,255,.88);
  backdrop-filter:saturate(180%) blur(12px);
  -webkit-backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--line);
}
.nav-in{display:flex;align-items:center;justify-content:space-between;gap:2rem;height:72px;width:var(--shell);margin-inline:auto}
.brand{display:flex;align-items:center;gap:.65rem;color:var(--ink);font-weight:800;font-size:1.2rem;letter-spacing:-.02em}
.brand img{width:30px;height:30px;object-fit:contain}
.brand small{display:block;font-size:.62rem;font-weight:600;letter-spacing:.11em;text-transform:uppercase;color:var(--muted);margin-top:-2px}
.nav-links{display:flex;gap:1.9rem}
.nav-links a{font-size:.95rem;font-weight:500;color:var(--body);transition:color 160ms ease}
@media (hover:hover) and (pointer:fine){ .nav-links a:hover{color:var(--ink)} }
.nav-links a:focus-visible{outline:2px solid var(--gold-deep);outline-offset:4px;border-radius:2px}
.burger{display:none;background:none;border:1px solid var(--line-strong);border-radius:10px;padding:.55rem .65rem;cursor:pointer}
.burger span{display:block;width:18px;height:2px;background:var(--ink);border-radius:2px}
.burger span + span{margin-top:4px}

/* ---------- Hero (hell) ---------- */
.hero{
  position:relative;overflow:hidden;
  background:linear-gradient(180deg,#fff 0%,var(--paper-2) 100%);
  padding-block:clamp(3.5rem,6vw,5.5rem) clamp(4rem,7vw,6rem);
}
.hero::before{ /* Aktenraster, sehr leise */
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(var(--line) 1px,transparent 1px),
                   linear-gradient(90deg,var(--line) 1px,transparent 1px);
  background-size:76px 76px;
  -webkit-mask-image:radial-gradient(ellipse 66% 58% at 74% 44%, #000, transparent 76%);
  mask-image:radial-gradient(ellipse 66% 58% at 74% 44%, #000, transparent 76%);
}
.hero-in{position:relative;width:var(--shell);margin-inline:auto;display:grid;grid-template-columns:1.02fr .98fr;gap:clamp(2rem,5vw,4.5rem);align-items:center}
.hero .lede{margin-top:1.5rem}
.hero-actions{display:flex;gap:.8rem;margin-top:2.1rem;flex-wrap:wrap}
.hero-trust{
  display:flex;align-items:center;gap:1.4rem;flex-wrap:wrap;
  margin-top:2.4rem;padding-top:1.4rem;border-top:1px solid var(--line-strong);
  font-size:.9rem;color:var(--muted);
}
.hero-trust b{color:var(--ink);font-weight:700}
.hero-trust .sep{width:1px;height:24px;background:var(--line-strong)}

/* Aktenkarte auf Hell: Rand und echter Schatten statt Kontrast */
.akte{
  position:relative;
  width:min(320px,100%);margin-inline:auto;
  background:#fff;border:1px solid var(--line-strong);border-radius:var(--r);
  box-shadow:var(--lift-lg);
  overflow:hidden;
  animation:akte-in .9s var(--ease-expo) backwards;
}
.akte-hd{display:flex;align-items:center;gap:.6rem;background:var(--navy-800);color:#fff;padding:.75rem 1rem}
.akte-hd img{width:24px;height:24px;object-fit:contain;filter:brightness(0) invert(1)}
.akte-hd b{font-size:.92rem;font-weight:700;letter-spacing:-.01em}
.akte-body{padding:.4rem 1rem 1rem}
.akte-row{display:flex;justify-content:space-between;gap:1rem;padding:.55rem 0;font-size:.82rem;color:var(--muted);border-bottom:1px dotted var(--line-strong)}
.akte-row:last-child{border-bottom:0}
.akte-row b{color:var(--ink);font-weight:600}
.akte-row.open b{color:var(--gold-ink)}

@keyframes akte-in{from{opacity:0;transform:translateY(24px) scale(.96)}}

/* ---------- Sections ---------- */
section{padding-block:clamp(4rem,7vw,6.5rem)}
.tinted{background:var(--paper-2)}
.head-lg{max-width:56ch}
.head-lg p{margin-top:1.1rem}

/* Unterschied: helle Liste gegen dunklen Luecken-Block (Betonung 1) */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.5rem,3vw,2.5rem);margin-top:clamp(2.5rem,4vw,3.5rem);align-items:start}
.keeps h3,.gaps h3{margin-bottom:.35rem}
.keeps .sub,.gaps .sub{font-size:.9rem;margin-bottom:1.4rem}
.keeps .sub{color:var(--muted)}
.keeps ul,.gaps ul{list-style:none}
.keeps li{display:flex;gap:.85rem;padding:.85rem 0;border-bottom:1px solid var(--line);color:var(--body);font-size:1rem}
.keeps li:last-child{border-bottom:0}
.keeps .mk{color:var(--navy-700);font-weight:800;flex:none}

.gaps{
  background:var(--navy-800);color:#fff;border-radius:var(--r-lg);
  padding:clamp(1.6rem,2.5vw,2.2rem);
  box-shadow:var(--lift-lg);
}
.gaps .sub{color:var(--on-navy-soft)}
.gaps li{display:flex;gap:.85rem;padding:.85rem 0;border-bottom:1px solid rgba(255,255,255,.1);font-size:1rem;color:#eaf1f7}
.gaps li:last-child{border-bottom:0}
.gaps .mk{color:var(--gold);font-weight:800;flex:none}   /* Gold als Schrift, nur hier auf Dunkel */
.split-note{margin-top:2.2rem;font-size:clamp(1.1rem,1.7vw,1.35rem);font-weight:700;letter-spacing:-.02em;max-width:40ch}

/* Aufgabe: Regeln statt Karten */
.creed{display:grid;grid-template-columns:repeat(3,1fr);margin-top:clamp(2.5rem,4vw,3.5rem);border-top:3px solid var(--gold)}
.creed > div{padding:1.6rem 1.6rem 0 0;border-right:1px solid var(--line-strong)}
.creed > div:last-child{border-right:0;padding-right:0}
.creed h3{margin-bottom:.5rem}
.creed p{color:var(--body);font-size:.98rem}

/* Themenfelder / Aufgabenfelder: Formular-Raster */
.fields{display:grid;grid-template-columns:1fr 1fr;margin-top:clamp(2.5rem,4vw,3.5rem);border:1px solid var(--line-strong);border-radius:var(--r);overflow:hidden;background:#fff}
.field-c{padding:clamp(1.4rem,2.2vw,1.9rem);border-bottom:1px solid var(--line);border-right:1px solid var(--line);transition:background-color 180ms ease}
.field-c:nth-child(2n){border-right:0}
.field-c:nth-last-child(-n+2){border-bottom:0}
@media (hover:hover) and (pointer:fine){ .field-c:hover{background:var(--paper-2)} }
.field-c h3{margin-bottom:.45rem}
.field-c p{color:var(--body);font-size:.95rem}

/* Phasen: echte Abfolge */
.phases{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1.2rem,2.5vw,2rem);margin-top:clamp(2.5rem,4vw,3.5rem)}
.ph{padding-top:1.3rem;border-top:3px solid var(--gold)}
.ph .n{font-size:.8rem;font-weight:700;color:var(--gold-ink);letter-spacing:.04em}
.ph h3{margin:.45rem 0 1rem}
.ph ul{list-style:none}
.ph li{color:var(--body);font-size:.95rem;padding:.4rem 0}
.ph li::before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--navy-700);margin-right:.6rem;vertical-align:middle}

/* Vollflaechen-Kontrast (Betonung 2), ohne Foto (keine Stockfotos auf Karriere-Seite) */
.table-sec{background:var(--navy-900);color:#fff;overflow:hidden}
.ninety{display:flex;align-items:baseline;gap:1rem;margin-top:2rem;padding-top:1.6rem;border-top:1px solid rgba(255,255,255,.14)}
.ninety b{font-size:clamp(3rem,5.5vw,4.2rem);font-weight:800;line-height:.9;letter-spacing:-.04em;color:var(--gold);flex:none}
.ninety span{font-size:.98rem;color:var(--on-navy-soft);max-width:34ch}

/* Liste auf Navy (aus .gaps abgeleitet, ohne Kartenrahmen, fuer Vollflaechen-Sektionen) */
.tab-list{list-style:none;margin-top:clamp(1.6rem,3vw,2.4rem);max-width:60ch}
.tab-list li{display:flex;gap:.85rem;padding:.7rem 0;border-bottom:1px solid rgba(255,255,255,.1);font-size:1rem;color:#eaf1f7}
.tab-list li:last-child{border-bottom:0}
.tab-list .mk{color:var(--gold);font-weight:800;flex:none}
.tab-foot{margin-top:1.2rem;font-size:.85rem;color:var(--on-navy-soft)}

/* Kasten fuer Zusatzinfos auf Hell (z. B. "Was nicht dazugehoert") */
.aside-box{margin-top:clamp(1.8rem,3vw,2.4rem);padding:clamp(1.2rem,2vw,1.6rem);border:1px solid var(--line-strong);border-radius:var(--r);background:var(--paper-2);max-width:60ch}
.aside-box h3{font-size:1rem;margin-bottom:.7rem}
.aside-box ul{list-style:none}
.aside-box li{display:flex;gap:.7rem;padding:.4rem 0;color:var(--body);font-size:.94rem}
.aside-box li::before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--navy-700);margin-right:0;margin-top:.55em;flex:none}

/* Ablauf */
.steps{display:grid;grid-template-columns:repeat(var(--steps-n,4),1fr);gap:clamp(1.2rem,2.5vw,2rem);margin-top:clamp(2.5rem,4vw,3.5rem);counter-reset:s}
.st{counter-increment:s;padding-top:1.2rem;border-top:1px solid var(--line-strong)}
.st::before{content:counter(s,decimal-leading-zero);display:block;font-size:.82rem;font-weight:700;color:var(--gold-ink);margin-bottom:.7rem}
.st h3{font-size:1.05rem;margin-bottom:.4rem}
.st p{color:var(--body);font-size:.94rem}

/* FAQ */
.faq{max-width:800px;margin-top:clamp(2.5rem,4vw,3.5rem);border-top:1px solid var(--line-strong)}
.fq{border-bottom:1px solid var(--line)}
.fq summary{
  list-style:none;cursor:pointer;padding:1.35rem 0;
  display:flex;justify-content:space-between;align-items:center;gap:1.5rem;
  font-size:1.1rem;font-weight:700;letter-spacing:-.015em;
  transition:color 160ms ease;
}
.fq summary::-webkit-details-marker{display:none}
.fq summary:focus-visible{outline:2px solid var(--gold-deep);outline-offset:3px;border-radius:4px}
@media (hover:hover) and (pointer:fine){ .fq summary:hover{color:var(--gold-ink)} }
.fq .ind{flex:none;width:20px;height:20px;position:relative}
.fq .ind::before,.fq .ind::after{content:"";position:absolute;background:var(--gold-deep);border-radius:2px;transition:transform 220ms var(--ease-out)}
.fq .ind::before{inset:9px 0;height:2px}
.fq .ind::after{inset:0 9px;width:2px}
.fq[open] .ind::after{transform:rotate(90deg)}
.fq .ans{padding-bottom:1.4rem;color:var(--body);font-size:1rem;max-width:66ch}

/* CTA / Formular-Rahmen */
.cta{background:var(--navy-800);color:#fff}

form{background:#fff;color:var(--ink);border-radius:var(--r-lg);padding:clamp(1.5rem,2.5vw,2rem);box-shadow:0 30px 70px rgba(0,0,0,.28)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
.fld{display:flex;flex-direction:column;gap:.35rem;margin-bottom:.9rem}
.fld label{font-size:.82rem;font-weight:600}
.fld input,.fld select,.fld textarea{
  font-family:inherit;font-size:1rem;padding:.75rem .9rem;
  border:1px solid var(--line-strong);border-radius:10px;color:var(--ink);background:#fff;
  transition:border-color 150ms ease, box-shadow 150ms ease;
}
.fld textarea{resize:vertical;min-height:7rem;line-height:1.5}
.fld input::placeholder,.fld textarea::placeholder{color:var(--muted)}
.fld input:focus,.fld select:focus,.fld textarea:focus{outline:none;border-color:var(--navy-700);box-shadow:0 0 0 3px rgba(23,51,76,.12)}
.legend{font-size:.82rem;font-weight:600;margin-bottom:.55rem;display:block}
.chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.1rem}
.chip{display:inline-flex;align-items:center;gap:.45rem;max-width:100%;border:1px solid var(--line-strong);border-radius:999px;padding:.45rem .85rem;font-size:.85rem;color:var(--body);cursor:pointer;transition:border-color 150ms ease,background-color 150ms ease}
.chip input{accent-color:var(--navy-700)}
.chip:has(input:checked){border-color:var(--navy-700);background:var(--paper-2);color:var(--ink)}
.chip:focus-within{outline:2px solid var(--gold-deep);outline-offset:2px}
.fine{font-size:.78rem;color:var(--muted);margin-top:.8rem;line-height:1.5}
.fine a{color:var(--gold-ink);text-decoration:underline;text-underline-offset:2px}

/* Honeypot: fuer Menschen unsichtbar, aber nicht display:none
   (manche Bots ueberspringen display:none-Felder gezielt) */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.form-status{margin-top:.9rem;padding:.75rem .9rem;border-radius:10px;font-size:.9rem;line-height:1.5}
.form-status[data-state="error"]{background:#fdf0ea;border:1px solid #f0cdb9;color:#8a3d18}   /* 6,1:1 */
.form-status[data-state="ok"]{background:#eaf6ef;border:1px solid #bcdfc9;color:#1c6435}      /* 6,4:1 */
.fld input[aria-invalid="true"],.fld select[aria-invalid="true"],.fld textarea[aria-invalid="true"]{border-color:#c0562a}
.btn[aria-busy="true"]{opacity:.75;pointer-events:none}

/* Footer. body > footer, sonst faerbt die Regel die <footer> in den Zitaten ein. */
body > footer{background:var(--navy-900);color:var(--on-navy-soft);padding-block:clamp(3rem,5vw,4rem) 2rem}
body > footer .brand{color:#fff}
body > footer .brand small{color:#7d94aa}
.foot{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:2.5rem}
.foot-note{margin-top:1rem;font-size:.9rem;max-width:32ch;line-height:1.6}
.foot h4{font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;color:#7d94aa;margin-bottom:1rem;font-weight:700}
.foot a{display:block;font-size:.93rem;color:#b9c8d8;margin-bottom:.6rem;transition:color 150ms ease}
@media (hover:hover) and (pointer:fine){ .foot a:hover{color:#fff} }
.foot a:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:2px}
.foot-end{margin-top:2.6rem;padding-top:1.4rem;border-top:1px solid rgba(255,255,255,.09);font-size:.82rem;color:#7d94aa}

/* =========================================================================
   FORMULAR-ENGINE: Ergaenzungen fuer das mehrstufige Bewerbungsformular.
   Nur neue Kombinationen bestehender Tokens, keine neuen Farben/Radien/Schatten.
   ========================================================================= */

.fc-head{margin-bottom:clamp(1.6rem,3vw,2.2rem)}
.fc-save-hint{margin-top:.6rem}

.fc-progress{margin-bottom:clamp(1.6rem,3vw,2.2rem)}
.fc-progress-label{font-size:.8rem;font-weight:700;color:var(--gold-ink);letter-spacing:.04em;margin-bottom:.6rem;display:block}
.fc-progress-track{height:5px;border-radius:3px;background:var(--line-strong);overflow:hidden}
.fc-progress-fill{height:100%;border-radius:3px;background:var(--gold);width:100%;transform:scaleX(.125);transform-origin:left center;transition:transform 220ms var(--ease-out)}
@media (prefers-reduced-motion:reduce){ .fc-progress-fill{transition:none} }

.fc-step{outline:none}
.fc-step[hidden]{display:none}
/* Formularschritte sind <section>, sollen aber nicht das globale Section-Padding erben (Review Dave, Befund 4) */
#fc-form section.fc-step{padding-block:0}
/* .btn setzt display:inline-flex und wuerde das hidden-Attribut aushebeln (Review Dave, Befund 5) */
.btn[hidden],[hidden]{display:none !important}
/* Helle Schrift auf Navy in Formular-Ergebnis und Ehrlichkeitssektion, nur bestehende Tokens */
.on-navy{color:var(--on-navy)}
.on-navy-soft{color:var(--on-navy-soft)}
.link-gold{color:var(--gold-ink);text-decoration:underline}
.likert-item > .legend{font-size:1rem;font-weight:700;color:var(--ink);margin-bottom:.9rem}
.fc-step h3{margin-bottom:.5rem}
.fc-step > .lede{margin-bottom:1.6rem}
.fc-intro{font-size:.95rem;color:var(--body);margin-bottom:1.4rem;max-width:62ch}

/* Fieldsets ohne Browser-Rahmen: Gruppierung nur ueber Abstand und duenne Linie (Startseitenmuster) */
#fc-form fieldset{border:0;margin:0;padding:0;min-width:0}
#fc-form legend{padding:0}
.likert-item{padding-block:1.1rem;border-top:1px solid var(--line)}
.likert-item:first-of-type{border-top:0;padding-top:0}
.fc-q{margin-bottom:1.6rem;border:0}
.fc-q .legend{font-size:1rem;font-weight:700;color:var(--ink);margin-bottom:.2rem}
.fc-q .fc-hint{font-size:.82rem;color:var(--muted);margin-bottom:.7rem}

/* Radio-/Checkbox-Kacheln fuer Arbeitsstil und Situationsfragen */
.opt-list{display:flex;flex-direction:column;gap:.6rem}
.opt-card{
  display:flex;align-items:flex-start;gap:.75rem;
  border:1px solid var(--line-strong);border-radius:var(--r);
  padding:.85rem 1rem;cursor:pointer;font-size:.95rem;color:var(--body);
  transition:border-color 150ms ease,background-color 150ms ease;
}
.opt-card input{margin-top:.2rem;accent-color:var(--navy-700);flex:none}
.opt-card:has(input:checked){border-color:var(--navy-700);background:var(--paper-2);color:var(--ink)}
.opt-card:focus-within{outline:2px solid var(--gold-deep);outline-offset:2px}
@media (hover:hover) and (pointer:fine){ .opt-card:hover{border-color:var(--ink)} }

.likert-item{margin-bottom:1.8rem;padding-bottom:1.6rem;border-bottom:1px solid var(--line)}
.likert-item:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.likert-scale{display:grid;grid-template-columns:1fr;gap:.5rem}
@media (min-width:780px){ .likert-scale{grid-template-columns:repeat(5,1fr)} }
.likert-opt{
  display:flex;align-items:center;justify-content:center;text-align:center;gap:.5rem;
  border:1px solid var(--line-strong);border-radius:var(--r);
  padding:.75rem .6rem;cursor:pointer;font-size:.85rem;color:var(--body);min-height:3.2rem;
  transition:border-color 150ms ease,background-color 150ms ease;
}
.likert-opt input{position:absolute;opacity:0;width:1px;height:1px}
.likert-opt:has(input:checked){border-color:var(--navy-700);background:var(--paper-2);color:var(--ink);font-weight:600}
.likert-opt:focus-within{outline:2px solid var(--gold-deep);outline-offset:2px}
@media (hover:hover) and (pointer:fine){ .likert-opt:hover{border-color:var(--ink)} }

.field-err{margin-top:.45rem;font-size:.82rem;color:#8a3d18}
.char-count{margin-top:.4rem;font-size:.78rem;color:var(--muted);text-align:right}

.fc-nav{display:flex;gap:.75rem;margin-top:1.8rem;flex-wrap:wrap}
.fc-nav .btn{flex:1 1 auto}
@media (max-width:600px){ .fc-nav{flex-direction:column} }

.fc-result{display:flex;flex-direction:column;gap:1.2rem}
.fc-result-id{font-size:clamp(2.2rem,5vw,3.2rem);font-weight:800;letter-spacing:-.03em;color:var(--ink)}
.fc-result-id small{display:block;font-size:.85rem;font-weight:600;color:var(--muted);letter-spacing:0;margin-top:.3rem}
.fc-result ol{padding-left:1.2rem;color:var(--body);font-size:.97rem}
.fc-result ol li{padding:.3rem 0}
.fc-result-actions{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:.4rem}
.fc-copy-hint{font-size:.8rem;color:var(--muted)}

/* ---------- Ergaenzungen 16.09. (Julian-Feedback: mobil, eins nach dem anderen, Ergebnisansicht) ---------- */

/* Sticky Nav verdeckt sonst den Schrittkopf beim Hinspringen */
#fc-app h3,#fc-app .fc-pager{scroll-margin-top:88px}

/* Schritt 2: optische Gruppen statt einer Wand */
.fc-group{margin-top:1.4rem;padding-top:1.2rem;border-top:1px solid var(--line)}
.fc-group:first-of-type{margin-top:0}
.fc-group-title{font-size:.8rem;font-weight:700;color:var(--gold-ink);letter-spacing:.04em;margin-bottom:.8rem;line-height:1.3}
.fc-group .fc-q:last-child{margin-bottom:0}
.fc-group .fc-q:last-child .chips{margin-bottom:.3rem}

/* Schritt 5: kurzer Satz sichtbar, voller Hinweis aufklappbar (Wortlaut unveraendert) */
.fc-intro-short{margin-bottom:.4rem}
.fc-more{margin-bottom:1.4rem;max-width:62ch;font-size:.9rem;color:var(--body)}
.fc-more summary{
  display:inline-flex;align-items:center;min-height:44px;cursor:pointer;list-style:none;
  font-weight:600;color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line-strong);
}
.fc-more summary::-webkit-details-marker{display:none}
.fc-more summary:focus-visible{outline:2px solid var(--gold-deep);outline-offset:2px;border-radius:4px}
.fc-more p{margin-top:.2rem;line-height:1.55}

/* Pager: Zaehler, dezenter Balken, eine Aussage pro Bildschirm */
.fc-pager{margin-bottom:1.1rem}
.fc-pager-count{font-size:.8rem;font-weight:700;color:var(--gold-ink);letter-spacing:.04em;margin-bottom:.45rem}
.fc-pager-track{height:3px;border-radius:2px;background:var(--line);overflow:hidden}
.fc-pager-fill{height:100%;width:100%;border-radius:2px;background:var(--gold);transform:scaleX(0);transform-origin:left center;transition:transform 220ms var(--ease-out)}
.fc-pager-item{outline:none}
.fc-pager-list .likert-item,.fc-pager-list .fc-q{margin:0;padding:0;border:0}
.fc-pager-list .legend{font-size:clamp(1.1rem,1.6vw,1.25rem);font-weight:700;color:var(--ink);line-height:1.4;margin-bottom:1rem;letter-spacing:-.01em}
.fc-pager-list .likert-opt{min-height:48px;font-size:.95rem;padding:.8rem .8rem}
.fc-pager-list .opt-card{min-height:48px;align-items:center;font-size:.97rem;line-height:1.45;padding:.85rem 1rem}
.fc-pager-list .opt-card input{margin-top:0}
.fc-pager-list .likert-opt:has(input:checked),.fc-pager-list .opt-card:has(input:checked){box-shadow:inset 0 0 0 1px var(--navy-700);background:var(--paper-3);color:var(--ink)}
.fc-pager-nav{display:flex;align-items:center;justify-content:space-between;gap:.5rem 1rem;flex-wrap:wrap;margin-top:.6rem;min-height:44px}
.fc-textbtn{
  background:none;border:0;font-family:inherit;font-size:.9rem;font-weight:600;color:var(--body);
  min-height:44px;padding:.5rem 0;cursor:pointer;text-align:left;
  text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line-strong);
}
.fc-textbtn:focus-visible{outline:2px solid var(--gold-deep);outline-offset:2px;border-radius:4px}
@media (hover:hover) and (pointer:fine){ .fc-textbtn:hover{color:var(--ink);text-decoration-color:var(--ink)} }
.fc-textbtn-next{margin-left:auto;text-align:right}
/* Weiter wartet auf die letzte Aussage: sichtbar gedaempft, bleibt aber klickbar (Pruefung springt zur ersten offenen) */
.btn[data-waiting="true"]{opacity:.55}
@media (prefers-reduced-motion:reduce){ .fc-pager-fill{transition:none} }

/* Kontrast auf Navy: Fortschrittstext und Einleitung im Formularbereich, alle Texte der Ergebnisansicht (WCAG AA) */
.cta .fc-progress-label,.table-sec .fc-progress-label{color:var(--gold)}   /* Gold als Schrift nur auf Dunkel, 9:1 */
.cta .lede-dark{color:#eaf1f7}
#fc-result .lede-dark,#fc-result .on-navy-soft,#fc-result .fc-copy-hint,.fc-result-id small,.fc-result ol{color:#eaf1f7}
/* Die Bewerbungsnummer war dunkel auf Navy (.fc-result-id ueberschrieb .on-navy), jetzt weiss */
#fc-result .fc-result-id{color:#fff}
#fc-result-next,#fc-result-missing{display:flex;flex-direction:column;gap:1.2rem}
#fc-result p{text-wrap:wrap}
.fc-callout{background:var(--navy-700);border:1px solid rgba(229,184,0,.45);border-radius:var(--r);padding:1rem 1.15rem;color:#fff}
.fc-callout-title{font-size:1.05rem;font-weight:700;line-height:1.45;color:#fff}
.fc-callout p + p{margin-top:.35rem;color:#eaf1f7;line-height:1.55}
.fc-result-sub{font-size:1.2rem;font-weight:800;letter-spacing:-.015em;line-height:1.25;color:#fff;margin-bottom:.5rem}
.fc-result-list li b{color:#fff}
.fc-result-alt{font-weight:700;color:#fff;margin-top:.2rem}
.fc-result .tab-list{margin-top:.4rem}

.fld .fc-hint{font-size:.82rem;color:var(--muted);line-height:1.5}

@media (max-width:600px){
  #fc-form{padding:1.3rem 1.1rem}
  #fc-form .two{gap:0}
  .chip{min-height:44px;font-size:.92rem;padding:.5rem .95rem}
  /* Zurueck kompakt links, Weiter/Absenden gross rechts: beide mit dem Daumen erreichbar, ohne Doppelhoehe */
  .fc-nav{flex-direction:row;flex-wrap:nowrap}
  .fc-nav #fc-back{flex:0 0 auto;padding-inline:1.1rem}
  .fc-nav #fc-next,.fc-nav #fc-submit{flex:1 1 auto;min-width:0;padding-inline:1rem}
  .fc-result-actions{flex-direction:column;align-items:stretch}
  .fc-result-actions .btn{width:100%}
  .fc-result-id{overflow-wrap:anywhere}
}

.noscript-box{background:#fdf0ea;border:1px solid #f0cdb9;color:#8a3d18;border-radius:var(--r);padding:1rem 1.2rem;font-size:.95rem;max-width:62ch}

/* ---------- Responsive ---------- */
@media (max-width:960px){
  .nav-links{display:none}
  .burger{display:block}
  .hero-in{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .creed{grid-template-columns:1fr}
  .creed > div{border-right:0;border-bottom:1px solid var(--line-strong);padding:1.4rem 0}
  .creed > div:last-child{border-bottom:0}
  .fields{grid-template-columns:1fr}
  .field-c{border-right:0}
  .field-c:nth-last-child(2){border-bottom:1px solid var(--line)}
  .phases{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr 1fr}
  .foot{grid-template-columns:1fr 1fr}
}
@media (max-width:780px){
  .nav-in > .btn{display:none}   /* sonst bricht der Button zweizeilig in die Wortmarke */
}
@media (max-width:600px){
  :root{--shell:min(1180px, 100% - 2rem)}
  .steps,.two{grid-template-columns:1fr}
  .foot{grid-template-columns:1fr}
  .ninety{flex-direction:column;gap:.5rem}
  .brand small{display:none}
  .brand{font-size:1.1rem}
  .hero-trust{flex-direction:column;align-items:flex-start;gap:.5rem}
  .hero-trust .sep{display:none}
  .hero-actions{flex-direction:column;align-items:stretch}
  .hero-actions .btn{width:100%}
}

/* ---------- Bewegung ist Zugabe, nie Voraussetzung ----------
   Inhalt ist immer sichtbar. Faellt JS oder die Animation aus, steht alles da. */
@supports (animation-timeline: view()){
  @media (prefers-reduced-motion: no-preference){
    .rise{
      animation:rise linear both;
      animation-timeline:view();
      animation-range:entry 5% cover 22%;
    }
    @keyframes rise{from{opacity:.3;transform:translateY(20px)}to{opacity:1;transform:none}}
  }
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none !important;transition-duration:.01ms !important}
}
