/* zusage.at · Version 2 „Job-Pass“. Tokens und Komponenten für alle Seiten, Begründungen in docs/DESIGN.md. Farben NUR hier. */
/* Schrift: Lexend (SIL Open Font License, public/fonts/LEXEND-OFL.txt), selbst gehostet, nur lateinische Zeichen inkl. ä ö ü ß € */
@font-face { font-family: "Lexend"; src: url("/fonts/lexend.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #e9e9e4; --surface: #fff; --soft: #f2f2ee; --line: #e4e4de; --field: #83867e;
  --ink: #121412; --ink-2: #43463f; --muted: #5e6159;
  --lime: #ccec42; --lime-soft: #eef8c8; --lime-ink: #3b4a00;
  --night: #121412; --night-2: #24271f; --night-line: #34382e; --night-muted: #a3a89a;
  /* Aliase (Panel, Landingpages, Rechtsseiten) */
  --accent: var(--night); --accent-hover: #2b2e27; --accent-soft: var(--lime-soft); --accent-ink: var(--ink);
  --font: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --t-xs: 13px; --t-s: 15px; --t-m: 17px; --t-l: 22px; --t-xl: clamp(32px, 3.6vw + 16px, 60px);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
  --r-s: 12px; --r-m: 18px; --r-l: 28px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(18, 20, 18, .06); --sh-2: 0 24px 60px -30px rgba(18, 20, 18, .28), 0 2px 8px rgba(18, 20, 18, .04);
  --sh-3: 0 30px 70px -24px rgba(18, 20, 18, .45);
  --fast: 160ms; --dur: 240ms; --slow: 400ms; --ease: cubic-bezier(.2, .7, .2, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
  --wrap: 1240px; --read: 680px;
  /* Marketing-Website (Version 3, docs/DESIGN.md): hellerer Grund, Monoschrift für Ausweis- und Beleg-Details, große Titel */
  --paper: #f4f4f0; --paper-line: #dcdcd4; --ring: #cfd0c7;
  --metal: #c9cbc3; --metal-2: #8f9289;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  --t-hero: clamp(46px, 6.6vw + 12px, 116px); --t-2xl: clamp(34px, 3.8vw + 14px, 68px);
  --sec: clamp(88px, 11vw, 168px);
  /* Dienstausweis im Hero: mattes Plastik, Ausweisfoto-Grund, Silhouette */
  --pvc: #151715; --pvc-edge: #2c3029; --id-photo: #d3d7da; --id-photo-2: #b5bbc0; --id-sil: #8a9198;
  /* Interview-Coach (docs/INTERVIEW-COACH.md): Meeting-Bühne, Büste des Interviewers */
  --stage: #141612; --stage-2: #1e211b; --stage-line: #2e3229; --tr-warn: #3a2b1c; --tr-warn-line: #5a4126; --bust: #090a08; --bust-hair: #030403; --bust-eye: #e9e9e4;
  /* Interviewer-Szene (public/interviewer.js): helles Büro bei Tag, Person als weiche, freundliche Silhouette mit heller Lichtkante */
  --iv-wand: #d6d9d0; --iv-rahmen: #9da397; --iv-himmel: #eef3f4; --iv-stadt: #cad6da; --iv-stadt-nah: #b9c7cc; --iv-bank: #b4b8ac; --iv-pflanze: #6b8a5e;
  --iv-tisch: #9a8268; --iv-tisch-glanz: #b39b80; --iv-papier: #f6f4ee; --iv-papier-linie: #cfccc2;
  --iv-koerper: #4d5560; --iv-haar: #3c434d; --iv-kante: #ffffff; --iv-schimmer: #5b636f; --iv-haut: #5d6570; --iv-stoff: #626b77; --iv-revers: #444b55;
  --iv-falte: #3f464f; --iv-tief: #353b43; --iv-glanz: #ffffff; --iv-metall: #d4d8dc;
  /* Weitere Darstellungen: Lichtkante beim Sprechen, Avatar-Kachel, Stimme als Welle */
  --iv-rand: #fffbe8; --iv-av-bg: #1e211b; --iv-av-kreis: #3a4034; --iv-av-text: #eef0e9; --iv-av-ring: var(--lime); --iv-welle: var(--lime);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: var(--font); font-size: var(--t-m); line-height: 1.5; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; overflow-wrap: break-word; } /* Grundregel: nichts ragt aus seiner Box; ein zu langes Wort bricht um, statt hinauszuschieben */
main { flex: 1 0 auto; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); overflow-wrap: break-word; hyphens: auto; } /* lange Wörter (Datenschutzerklärung) trennen statt abschneiden */
p, li, dd { overflow-wrap: anywhere; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; display: block; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
::placeholder { color: var(--muted); opacity: 1; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.read { max-width: var(--read); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--night); color: #fff; padding: 10px 16px; border-radius: var(--r-s); }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.small, .pfine { font-size: var(--t-s); color: var(--muted); }
.link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.link:hover { text-decoration-thickness: 2px; text-decoration-color: var(--lime-ink); }
.kicker { font-size: var(--t-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Knöpfe ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); border: 1px solid transparent; font-size: var(--t-s); font-weight: 700; text-decoration: none; cursor: pointer; transition: transform var(--fast) var(--ease), background var(--fast) var(--ease), border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease); max-width: 100%; text-align: center; line-height: 1.25; }
/* Kein nowrap mehr (Feedback 26.10.2026): passt ein Knopf nicht in seine Spalte (schmale Karte, Handy), bricht sein Text um, statt hinauszuragen.
   In Reihen mit flex-wrap rutscht erst der ganze Knopf in die nächste Zeile, er bleibt also einzeilig, solange Platz ist (scripts/overflow-check.mjs) */
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.primary, .btn.green, .btn.dark { background: var(--night); color: #fff; }
.btn.primary:hover:not(:disabled), .btn.green:hover, .btn.dark:hover { background: var(--accent-hover); box-shadow: 0 10px 24px -12px rgba(18, 20, 18, .6); }
.btn.primary svg, .btn.green svg { color: var(--lime); }
.btn.lime { background: var(--lime); color: var(--ink); }
.btn.lime:hover { box-shadow: 0 10px 24px -12px rgba(120, 150, 0, .7); }
.btn.secondary, .btn.light { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn.secondary:hover, .btn.light:hover { border-color: var(--ink); }
.btn.quiet { background: transparent; color: var(--ink-2); padding: 0 14px; font-weight: 600; }
.btn.quiet:hover { color: var(--ink); background: var(--soft); }
.btn.big { min-height: 60px; padding: 0 30px; font-size: var(--t-m); }
.btn.small { min-height: 44px; padding: 0 16px; font-size: var(--t-xs); }
.btn.wide { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); border: 0; background: transparent; color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { background: var(--soft); color: var(--ink); }

/* ---------- Eingaben ---------- */
.field { display: grid; gap: 6px; font-size: var(--t-s); color: var(--ink-2); font-weight: 500; }
.input, .field input, .field select, .field textarea, .form input, .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--r-s); border: 1px solid var(--field); background: var(--surface); font-size: var(--t-m); color: var(--ink); font-weight: 400; transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
textarea.input, .field textarea, .form textarea { min-height: 120px; line-height: 1.5; resize: vertical; }
.input:focus, .field :is(input, select, textarea):focus, .form :is(input, select, textarea):focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--lime-soft); }
select.input, .field select, .form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121412' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 44px; }
.check { display: flex; gap: var(--s3); align-items: flex-start; font-size: var(--t-s); color: var(--ink-2); cursor: pointer; }
.check input, .okrow input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--night); flex: none; }
.okrow { display: flex; gap: var(--s3); align-items: flex-start; font-size: var(--t-s); color: var(--ink-2); }
.okrow + .okrow { margin-top: var(--s3); } /* zwei Häkchen: Nutzungsbedingungen und KI-Einwilligung */
.err { font-size: var(--t-s); color: var(--ink); min-height: 1.5em; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
input[type=range] { width: 100%; height: 44px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--night) var(--p, 0%), #d9dad3 var(--p, 0%)); }
input[type=range]::-moz-range-track { height: 10px; border-radius: 10px; background: #d9dad3; }
input[type=range]::-moz-range-progress { height: 10px; border-radius: 10px; background: var(--night); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -11px; border-radius: 50%; background: var(--lime); border: 3px solid var(--night); box-shadow: var(--sh-1); transition: transform var(--fast) var(--spring); }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--lime); border: 3px solid var(--night); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type=range]:focus-visible { outline: none; }
input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px var(--lime-soft), 0 0 0 7px var(--ink); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: var(--t-s); font-weight: 600; cursor: pointer; transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease), transform var(--fast) var(--spring); }
.chip:hover { border-color: var(--ink); }
.chip:active { transform: scale(.95); }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.chip[aria-pressed="true"]::before, .chip[aria-checked="true"]::before { content: ""; width: 12px; height: 7px; border: solid var(--lime); border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -2px); }
.wz-jobs .chip::before { content: none; } /* gewählte Jobs: X zum Entfernen statt Häkchen */
.wz-jobs .chip svg { width: 14px; height: 14px; }
.chk { position: relative; display: inline-flex; }
.chk input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chk span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); font-size: var(--t-s); font-weight: 600; cursor: pointer; }
.chk input:checked + span { background: var(--night); border-color: var(--night); color: #fff; }
.chk input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Segment */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--soft); }
.seg button { min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink-2); font-size: var(--t-s); font-weight: 600; cursor: pointer; transition: background var(--fast) var(--ease), color var(--fast) var(--ease); }
.seg button[aria-checked="true"], .seg button[aria-selected="true"] { background: var(--night); color: #fff; }
@media (max-width: 600px) { .seg.seg[role=tablist] { justify-self: stretch; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } .seg[role=tablist] button { padding: 0 6px; font-size: var(--t-xs); } } /* Reiter am Handy in einer Zeile statt umgebrochen */

/* Pillen, Karten, Hinweise */
.pill { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 2px 12px; border-radius: var(--r-pill); background: var(--soft); color: var(--ink-2); font-size: var(--t-xs); font-weight: 600; white-space: nowrap; }
.pill.accent, .pill.lime { background: var(--lime); color: var(--ink); }
.pill.ad { background: var(--night); color: #fff; letter-spacing: .04em; text-transform: uppercase; }
.pill.warn::before { content: "!"; font-weight: 800; }
.card { background: var(--surface); border-radius: var(--r-l); padding: var(--s5); box-shadow: var(--sh-1); }
.card h2, .card h3 { font-size: var(--t-l); margin-bottom: var(--s2); }
.card + .card { margin-top: var(--s4); }
.notice { display: block; padding: var(--s4) var(--s5); border-radius: var(--r-m); background: var(--lime-soft); color: var(--ink); font-size: var(--t-s); }
.notice svg { display: inline-block; vertical-align: -5px; margin-right: var(--s2); }
.notice.plain { background: var(--soft); }
.skeleton { border-radius: var(--r-l); background: linear-gradient(90deg, var(--soft), #fafaf7, var(--soft)); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }

/* ---------- Kopfzeile (Website: _teile/nav.html, Panel: _teile/navapp.html) ---------- */
.nav { position: relative; z-index: 40; }
.nav.site { position: sticky; top: 0; background: var(--bg); transition: box-shadow var(--dur) var(--ease); }
.mk .nav.site { background: var(--paper); }
.nav.site.scrolled { box-shadow: 0 1px 0 var(--paper-line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.03em; text-decoration: none; color: var(--ink); min-height: 44px; }
.logo img { width: 32px; height: 32px; }
.nav-tag { margin-right: auto; margin-left: -4px; padding: 3px 10px; border-radius: var(--r-pill); background: var(--night); color: var(--lime); font-size: var(--t-xs); font-weight: 700; letter-spacing: .02em; }
.nav-links { display: flex; gap: 2px; margin-inline: auto; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); color: var(--ink-2); font-size: var(--t-s); font-weight: 600; text-decoration: none; transition: background var(--fast) var(--ease), color var(--fast) var(--ease); }
.nav-links a:hover { color: var(--ink); background: var(--surface); }
.nav-r { display: flex; align-items: center; gap: var(--s1); }
.nav-r .btn { min-height: 44px; padding: 0 16px; font-size: var(--t-s); font-weight: 600; }
.nav.pnav .nav-r .btn[data-auth] { background: var(--surface); border-color: var(--line); }
.nav-r .nav-cta { font-weight: 700; padding: 0 18px 0 20px; }
.nav-r .nav-cta svg { color: var(--lime); }
.nav-more { position: relative; display: none; }
.nav-more summary { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); cursor: pointer; list-style: none; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary:hover, .nav-more[open] summary { background: var(--surface); }
.nav-sheet { position: absolute; right: 0; top: calc(100% + 8px); display: grid; min-width: 240px; padding: var(--s2); border-radius: var(--r-m); background: var(--surface); box-shadow: var(--sh-3); }
.nav-sheet a, .nav-sheet button { display: flex; align-items: center; min-height: 48px; padding: 0 var(--s4); border-radius: var(--r-s); border: 0; background: none; color: var(--ink); font-size: var(--t-m); font-weight: 600; text-decoration: none; text-align: left; cursor: pointer; }
.nav-sheet a:hover, .nav-sheet button:hover { background: var(--soft); }
@media (max-width: 980px) { .nav-links { display: none; } .nav-more { display: block; } }
.nav.site .nav-in { min-height: 76px; }
.nav.site .nav-r { gap: var(--s2); }
.nav-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; white-space: nowrap; color: var(--ink-2); font-size: var(--t-s); font-weight: 500; text-decoration: none; transition: color var(--fast) var(--ease); }
.nav-link:hover { color: var(--ink); }
.nav.site .nav-cta { min-height: 46px; padding: 0 22px; font-size: var(--t-s); font-weight: 600; }
.nav-auth svg { display: none; width: 22px; height: 22px; }
@media (max-width: 600px) { .nav.site .nav-link:not([data-auth]) { display: none; } .nav.site .nav-link { padding: 0 6px; font-size: var(--t-xs); } .nav.site .nav-cta { padding: 0 14px; } }
/* Handy: Anmelden nur als Personen-Symbol (Name bleibt für Screenreader), damit Logo und Knopf Platz haben */
@media (max-width: 600px) {
  .nav.site .nav-in { gap: var(--s2); }
  .nav.site .nav-r { gap: 4px; }
  .nav.site .nav-auth { justify-content: center; width: 44px; padding: 0; border-radius: var(--r-pill); color: var(--ink); }
  .nav.site .nav-auth svg { display: block; }
  .nav.site .nav-auth img:not([hidden]) ~ svg { display: none; }
  .nav.site .nav-auth span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 380px) { .nav.site .logo, .nav.pnav .logo { gap: 8px; font-size: 16px; } .nav.pnav .logo { flex: none; }
  .nav.pnav .nav-r { gap: 0; } .nav.pnav .nav-r .btn { padding: 0 10px; } .nav.pnav .nav-tag { padding: 3px 8px; } } /* 360 px ohne Konto: drei Knöpfe ragten 6 px hinaus */
@media (max-width: 359px) { .nav.site .logo { gap: 0; font-size: 0; } }

@media (max-width: 760px) { .nav.site .nav-x { display: none; } }
.nav-logo { width: 22px; height: 22px; border-radius: 6px; }
.nav.site.in [data-site-avatar], .nav.site.in .nav-auth svg { display: none !important; }
/* Handy: Job-Swiper und Interview-Coach als schmale zweite Zeile (oben ist kein Platz); angemeldet das Personen-Symbol statt eines zweiten Logos */
.nav-mob { display: none; }
@media (max-width: 760px) {
  .nav.site .nav-mob { display: flex; justify-content: center; gap: var(--s5); padding: 0 var(--s4) 6px; }
  .nav-mob a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink-2); font-size: var(--t-xs); font-weight: 600; text-decoration: none; }
  .nav-mob a:hover { color: var(--ink); }
}
@media (max-width: 600px) { .nav.site.in .nav-auth .nav-logo { display: none; } .nav.site.in .nav-r .nav-auth svg { display: block !important; } }

/* Über uns */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s4); max-width: 760px; }
.team-p { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: var(--s4); padding: var(--s5); border-radius: var(--r-l); background: var(--surface); box-shadow: var(--sh-1); }
.team-i { grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--night); color: var(--lime); font-weight: 800; letter-spacing: .02em; }
.team-p h2 { font-size: var(--t-m); }
.team-p p { color: var(--muted); font-size: var(--t-s); }
.ueber-h { font-size: var(--t-l); margin: var(--s6) 0 var(--s3); }
.ueber-h:first-child { margin-top: 0; }
.ueber-l { display: grid; gap: var(--s3); padding-left: 1.1em; }
.ueber-l li::marker { color: var(--muted); }
.ueber-cta { margin-top: var(--s6); }

/* ---------- Fußzeile: Website dunkel mit großem Schriftzug, Panel schlicht ---------- */
.foot { margin-top: var(--s8); padding: var(--s6) 0 calc(var(--s7) + 64px); color: var(--muted); font-size: var(--t-s); } /* + 64px: schwebende Knöpfe (Feedback, Vorschau, Frag Zusi) verdecken die letzte Zeile nicht */
.foot-in { display: grid; gap: var(--s4); border-top: 1px solid #d6d6cf; padding-top: var(--s5); }
.foot ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--s1); margin-left: -10px; }
.foot li a, .foot li button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ink-2); text-decoration: none; background: none; border: 0; cursor: pointer; font-size: var(--t-s); }
.foot li a:hover, .foot li button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot.site { margin-top: 0; padding: var(--s8) 0 0; background: var(--night); color: var(--night-muted); overflow: hidden; }
.foot.site .logo { color: #fff; }
.foot-top { display: grid; grid-template-columns: minmax(240px, 1fr) 2.2fr; gap: var(--s7); }
.foot-brand p { margin: var(--s4) 0 var(--s5); max-width: 32ch; color: var(--night-muted); }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); }
.foot-cols h2 { font-size: var(--t-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: var(--s3); }
.foot.site ul { display: grid; gap: 0; margin: 0; }
.foot.site li a, .foot.site li button { min-height: 36px; padding: 0; color: var(--night-muted); }
.foot.site li a:hover, .foot.site li button:hover { color: #fff; }
.foot-fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); margin-top: var(--s7); padding: var(--s4) 0; border-top: 1px solid var(--night-line); font-size: var(--t-xs); }
.foot-mark { margin: var(--s4) 0 -.2em -.04em; font-size: clamp(96px, 24.5vw, 380px); font-weight: 800; letter-spacing: -.075em; line-height: .9; color: var(--lime); white-space: nowrap; user-select: none; }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr; gap: var(--s6); } .foot-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Unterseiten ---------- */
.pagehead { padding: var(--s7) 0 var(--s5); }
.pagehead .kicker { margin-bottom: var(--s3); }
.pagehead h1 { font-size: var(--t-xl); font-weight: 800; letter-spacing: -.035em; max-width: 18ch; }
.pagehead p:not(.kicker) { color: var(--ink-2); margin-top: var(--s3); max-width: var(--read); }
.pagehead.center { text-align: center; padding-top: var(--s8); }
.pagehead.center h1, .pagehead.center p { margin-inline: auto; }
.block { padding-bottom: var(--s6); }
.legaldoc { max-width: 760px; background: var(--surface); border-radius: var(--r-l); padding: var(--s2) var(--s6) var(--s5); box-shadow: var(--sh-1); }
.legaldoc > section { padding: var(--s5) 0; border-top: 1px solid var(--line); }
.legaldoc > section:first-child { border-top: 0; }
.legaldoc h2 { font-size: var(--t-l); margin-bottom: var(--s3); }
.legaldoc h3 { font-size: var(--t-m); margin: var(--s3) 0 var(--s1); }
.legaldoc p, .legaldoc ul { color: var(--ink-2); margin-top: var(--s2); }
.legaldoc ul { padding-left: 20px; }
.legaldoc a { color: var(--ink); }
.legaldoc .tbl { display: block; overflow-x: auto; }
@media (max-width: 640px) { /* Handy: jede Zeile als Block, nichts zum seitlich Wischen */
  .legaldoc .tbl, .legaldoc .tbl tbody, .legaldoc .tbl tr, .legaldoc .tbl td { display: block; width: auto; }
  .legaldoc .tbl thead { display: none; }
  .legaldoc .tbl tr { padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
  .legaldoc .tbl td { padding: 2px 0; border: 0; }
  .legaldoc .tbl td:first-child { font-weight: 700; color: var(--ink); }
  .tbl-cookies td:nth-child(2) { font-size: var(--t-xs); color: var(--muted); }
  .tbl-cookies td:nth-child(4)::before { content: "Dauer: "; color: var(--muted); }
}
.tbl { width: 100%; border-collapse: collapse; margin-top: var(--s3); font-size: var(--t-s); }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.tbl th { color: var(--muted); font-weight: 600; }
.persons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--s4); margin-top: var(--s3); }
.person { background: var(--soft); border-radius: var(--r-m); padding: var(--s5); min-width: 0; }
.person h3 { margin: 0 0 var(--s1); }
/* Angaben als Paare, das Label immer über dem Wert: nichts gequetscht, E-Mail und Telefon brechen nie mitten im Wort (Prüfdurchgang 26.10.2026) */
.person dl, .angaben { display: grid; gap: var(--s3); margin-top: var(--s4); font-size: var(--t-s); color: var(--ink-2); }
.person dl > div, .angaben > div { display: grid; gap: 2px; min-width: 0; }
.person dt, .angaben dt { font-size: var(--t-xs); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.person dd, .angaben dd { color: var(--ink); min-width: 0; }
.angaben dd { color: var(--ink-2); }
.legaldoc a[href^="mailto:"], .legaldoc a[href^="tel:"] { white-space: nowrap; }
@media (max-width: 359px) { .legaldoc a[href^="mailto:"] { white-space: normal; overflow-wrap: anywhere; } } /* nur ganz schmale Geräte: lieber umbrechen als hinausragen */

/* ---------- Rechtliches: eine ruhige Lesespalte wie auf den anderen Unterseiten, am PC daneben das Inhaltsverzeichnis (site.js) ---------- */
.recht .pagehead h1 { max-width: 20ch; }
.recht .block > .wrap { display: grid; grid-template-columns: minmax(0, 760px); gap: var(--s7); align-items: start; }
.recht .block > .wrap.mit-inhalt { grid-template-columns: minmax(0, 760px) minmax(180px, 260px); justify-content: space-between; }
.recht .legaldoc { line-height: 1.6; }
.recht .legaldoc > section { scroll-margin-top: 96px; }
.recht .legaldoc h2 { line-height: 1.25; }
.recht .legaldoc p b { color: var(--ink); }
.recht-inhalt { position: sticky; top: 96px; display: grid; gap: 2px; padding: var(--s2) 0; font-size: var(--t-s); }
.recht-inhalt p { margin-bottom: var(--s2); font-size: var(--t-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.recht-inhalt a { display: block; padding: 6px 0 6px var(--s3); border-left: 2px solid var(--line); color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.recht-inhalt a:hover, .recht-inhalt a[aria-current] { border-left-color: var(--ink); color: var(--ink); }
@media (max-width: 1100px) { .recht .block > .wrap.mit-inhalt { grid-template-columns: minmax(0, 760px); } .recht-inhalt { display: none; } }
.qa { background: var(--surface); border-radius: var(--r-l); padding: var(--s2) var(--s5); box-shadow: var(--sh-1); }
.qa details + details { border-top: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 64px; cursor: pointer; font-weight: 700; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--soft); font-weight: 600; }
.qa details[open] summary::after { content: "–"; background: var(--lime); }
.qa details p { color: var(--ink-2); padding-bottom: var(--s5); }
.split2 { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s7); align-items: start; }
.split2 h2 { font-size: var(--t-l); }
.form { display: grid; gap: var(--s4); }
.form label:not(.okrow) { display: grid; gap: 6px; font-size: var(--t-s); color: var(--ink-2); font-weight: 500; }
.namerow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: var(--s3); } /* Vorname und Nachname, schmal untereinander */
.namerow[hidden] { display: none; }
.okmsg, .badmsg { font-size: var(--t-s); font-weight: 600; }
.list-plain { list-style: none; padding: 0; display: grid; gap: var(--s3); }
.list-dots { padding-left: 20px; color: var(--ink-2); display: grid; gap: var(--s2); }

/* ---------- Startseite: Schale mit Bühne und Job-Pass ---------- */
.js .nojs { display: none !important; }
html:not(.js) [data-chat], html:not(.js) .pass { display: none !important; }
.nojs-form { display: grid; gap: var(--s3); max-width: 560px; padding: var(--s6) 0; }
.shell { position: relative; background: var(--surface); border-radius: 36px; box-shadow: var(--sh-2); padding: clamp(16px, 2.4vw, 32px); }
.start-h { font-size: var(--t-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stage { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(20px, 3vw, 40px); min-height: min(calc(100svh - 120px), 820px); }
.stage-main { display: flex; flex-direction: column; min-width: 0; padding: var(--s3) var(--s3) 0; }
.trust { margin-top: auto; list-style: none; padding: var(--s5) 0 var(--s2); display: flex; flex-wrap: wrap; gap: var(--s2); }
.trust li { display: inline-flex; align-items: center; gap: var(--s2); min-height: 36px; padding: 0 14px 0 8px; border-radius: var(--r-pill); background: var(--soft); font-size: var(--t-xs); font-weight: 600; color: var(--ink-2); }
.trust svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--lime); color: var(--ink); stroke-width: 2.4; }
.trust a { color: inherit; text-underline-offset: 3px; }
.gastbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); margin: 0 0 var(--s4); padding: var(--s3) var(--s3) var(--s3) var(--s5); border-radius: var(--r-m); background: var(--surface); box-shadow: var(--sh-1); font-size: var(--t-s); color: var(--ink-2); }
.gastbar b { color: var(--ink); }
@media (max-width: 600px) { .gastbar { padding: var(--s3) var(--s4); } .gastbar .btns { width: 100%; } .gastbar .btn { flex: 1; } }

/* Wizard */
.wz { position: relative; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.wz-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 48px; }
.wz-top .btn.quiet { margin-left: -14px; }
.wz-right { display: flex; align-items: center; gap: var(--s2); }
.wz-count { font-size: var(--t-xs); font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.wz-line { height: 6px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.wz-line i { display: block; height: 100%; background: var(--night); border-radius: 6px; transition: width var(--slow) var(--ease); }
.wz-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: var(--s6) 0 var(--s5); }
.wz-step { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
.wz-step.in { animation: rise var(--dur) var(--ease) both; }
.wz-ack { display: inline-flex; align-items: center; gap: var(--s2); justify-self: start; min-height: 32px; padding: 0 14px; border-radius: var(--r-pill); background: var(--lime-soft); font-size: var(--t-xs); font-weight: 700; color: var(--ink); animation: pop var(--slow) var(--spring) both; }
.wz-ack:empty { display: none; }
.wz-head { display: grid; gap: var(--s2); }
.wz-head .kicker { color: var(--ink-2); }
.wz-q { font-size: var(--t-xl); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; outline: none; }
.wz-help { color: var(--ink-2); font-size: var(--t-m); }
.wz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.wz-actions .btn.primary { min-width: 168px; }
.wz-actions > .btn.quiet:first-child { margin-left: -14px; }
.wz-sub { display: grid; gap: var(--s3); }
.wz-sub > .lbl { font-size: var(--t-s); font-weight: 700; }
.wz-fach-l { display: block; margin-bottom: 6px; font-size: var(--t-s); font-weight: 700; } /* sichtbare Beschriftung statt langem Platzhalter (der wurde abgeschnitten) */
.wz-fach-l .bd-frei { font-weight: 500; color: var(--muted); font-size: var(--t-xs); }
.wz-sub > .seg { justify-self: start; }
.wz-reset { font-size: var(--t-xs); }

/* Composer */
.composer { display: flex; align-items: center; gap: var(--s2); padding: 8px 8px 8px 22px; border-radius: var(--r-pill); background: var(--surface); border: 2px solid var(--ink); box-shadow: var(--sh-2); transition: box-shadow var(--fast) var(--ease); }
.composer:focus-within { box-shadow: 0 0 0 6px var(--lime-soft), var(--sh-2); }
.composer input { flex: 1; min-width: 0; min-height: 52px; border: 0; outline: none; background: transparent; font-size: 19px; font-weight: 500; color: var(--ink); }
.composer .btn { min-height: 52px; min-width: 52px; padding: 0 18px; }

/* Bento-Kacheln (eine Wahl, geht sofort weiter) */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s4); min-height: 112px; padding: var(--s4); border-radius: var(--r-m); border: 1px solid var(--line); background: var(--soft); text-align: left; font-size: var(--t-s); font-weight: 700; cursor: pointer; transition: transform var(--fast) var(--spring), background var(--fast) var(--ease), border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.tile svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--surface); transition: background var(--fast) var(--ease); }
.tile small { display: block; font-weight: 500; color: var(--muted); font-size: var(--t-xs); }
.tile:hover { transform: translateY(-3px); background: var(--surface); border-color: var(--ink); box-shadow: var(--sh-2); }
.tile:hover svg { background: var(--lime); }
.tile[aria-checked="true"], .tile[aria-pressed="true"] { background: var(--night); color: #fff; border-color: var(--night); }
.tile[aria-checked="true"] small, .tile[aria-pressed="true"] small { color: var(--night-muted); }
.tile[aria-checked="true"] svg, .tile[aria-pressed="true"] svg { background: var(--lime); color: var(--ink); }
.tile[aria-checked="true"]::after, .tile[aria-pressed="true"]::after { content: ""; position: absolute; top: 16px; right: 16px; width: 24px; height: 24px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121412' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; animation: pop var(--dur) var(--spring) both; }
.bento.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Wischkarten (Neigungen) */
.deck { position: relative; display: grid; gap: var(--s4); justify-items: center; }
.deck-stack { position: relative; width: min(360px, 100%); height: 300px; }
.swipe { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: var(--s5); border-radius: var(--r-l); background: var(--night); color: #fff; box-shadow: var(--sh-3); touch-action: pan-y; user-select: none; cursor: grab; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.swipe:active { cursor: grabbing; }
.swipe.under { transform: scale(.94) translateY(18px); background: var(--night-2); box-shadow: var(--sh-1); }
.swipe.under2 { transform: scale(.88) translateY(34px); background: var(--night-line); box-shadow: none; }
/* Karten zum Beruf werden noch geholt (wizard.js fokusHolen): ruhige Platzhalter-Karte, gleich groß wie der Stapel */
.deck-warte { position: relative; width: min(360px, 100%); height: 300px; }
.deck-warte svg { animation: fk-puls 1.2s ease-in-out infinite alternate; }
@keyframes fk-puls { to { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .deck-warte svg { animation: none; } }
.swipe svg { width: 64px; height: 64px; padding: 14px; border-radius: 20px; background: var(--lime); color: var(--ink); }
.swipe h3 { color: #fff; font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.swipe p { color: var(--night-muted); font-size: var(--t-s); }
.swipe .stamp { position: absolute; top: 24px; right: 24px; padding: 6px 14px; border: 3px solid currentColor; border-radius: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transform: rotate(8deg); opacity: 0; transition: opacity var(--fast); }
.swipe .stamp.ja { color: var(--lime); }
.swipe .stamp.nein { color: #fff; left: 24px; right: auto; transform: rotate(-8deg); }
.deck-btns { display: flex; gap: var(--s4); align-items: center; }
.deck-btns .round { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--ink); background: var(--surface); cursor: pointer; transition: transform var(--fast) var(--spring); }
.deck-btns .round.ja { background: var(--lime); }
.deck-btns .round:hover { transform: scale(1.08); }
.deck-btns .round svg { width: 28px; height: 28px; stroke-width: 2.4; }
.deck-count { font-size: var(--t-xs); font-weight: 700; color: var(--muted); }

/* Ort mit Vorschlägen */
.combo { position: relative; }
.combo-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px); list-style: none; padding: 6px; border-radius: var(--r-m); background: var(--surface); box-shadow: var(--sh-3); max-height: 300px; overflow-y: auto; }
.combo-list li { display: flex; justify-content: space-between; gap: var(--s3); min-height: 48px; align-items: center; padding: 0 14px; border-radius: var(--r-s); cursor: pointer; font-weight: 600; }
.combo-list li small { color: var(--muted); font-size: var(--t-xs); font-weight: 500; }
.combo-list li[aria-selected="true"], .combo-list li:hover { background: var(--lime-soft); }
.combo-list li > span { min-width: 0; overflow-wrap: break-word; hyphens: auto; padding: 8px 0; line-height: 1.3; }
.combo-list li small { flex: none; max-width: 45%; text-align: right; }
/* Platzhalter, solange etwas im Hintergrund rechnet (Gehalt) */
.skel { display: inline-block; height: .9em; max-width: 100%; border-radius: 6px; vertical-align: middle; background: linear-gradient(90deg, var(--soft) 0 30%, var(--line) 50%, var(--soft) 70% 100%); background-size: 300% 100%; animation: skel 1.4s ease-in-out infinite; }
@keyframes skel { from { background-position: 100% 0; } to { background-position: 0 0; } }
.wz-vorab { display: grid; gap: var(--s2); margin-top: var(--s3); padding: var(--s3) var(--s4); border-radius: var(--r-m); background: var(--soft); }

/* Radius-Ringe */
.radius { display: grid; grid-template-columns: 220px 1fr; gap: var(--s5); align-items: center; }
.rings { width: 220px; height: 220px; }
.rings svg { width: 100%; height: 100%; overflow: visible; }
.rings circle { transition: fill var(--dur) var(--ease), stroke var(--dur) var(--ease); }
.rings .r { fill: transparent; stroke: #c9cac2; stroke-width: 1.5; stroke-dasharray: 4 5; }
.rings .r.in { fill: rgba(204, 236, 66, .3); stroke: #a9ad9f; stroke-dasharray: none; }
.rings .r.on { fill: var(--lime-soft); stroke: var(--ink); stroke-dasharray: none; stroke-width: 2.5; }
.rings .pin { fill: var(--night); stroke: var(--lime); stroke-width: 3; }
.rings text { font-size: 12px; font-weight: 700; fill: var(--ink); stroke: none; }
.rings .lbl { fill: var(--muted); font-size: 11px; }
.radius-opts { display: grid; gap: var(--s2); }
.ropt { display: flex; align-items: center; gap: var(--s3); min-height: 60px; padding: 8px 16px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--surface); text-align: left; cursor: pointer; transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease); }
.ropt b { font-size: var(--t-m); min-width: 58px; font-variant-numeric: tabular-nums; }
.ropt span { font-size: var(--t-xs); color: var(--muted); }
.ropt:hover { border-color: var(--ink); }
.ropt[aria-checked="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.ropt[aria-checked="true"] span { color: var(--night-muted); }
.ropt.locked { opacity: .6; cursor: default; background: var(--soft); }

/* Wochenbalken */
.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s2); align-items: end; height: 120px; padding: var(--s3) var(--s3) 0; border-radius: var(--r-m); background: var(--soft); }
.week div { display: grid; gap: 6px; justify-items: center; align-content: end; }
.week i { display: block; width: 44px; max-width: 100%; border-radius: 10px 10px 4px 4px; background: var(--night); height: calc(var(--h, 0) * 72px); transition: height var(--slow) var(--spring), background var(--dur); }
.week.egal i { background: repeating-linear-gradient(-45deg, var(--night) 0 5px, transparent 5px 10px); }
.week span { font-size: var(--t-xs); font-weight: 700; color: var(--muted); padding-bottom: 8px; }

/* Bildungsweg */
.path { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); padding-top: var(--s2); }
.path::before { content: ""; position: absolute; left: 10%; right: 10%; top: 33px; height: 6px; border-radius: 6px; background: var(--soft); }
.path::after { content: ""; position: absolute; left: 10%; top: 33px; height: 6px; border-radius: 6px; background: var(--lime); width: calc(var(--fill, 0) * 80%); transition: width var(--slow) var(--ease); }
.stop { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: var(--s2); padding: 0 4px; background: none; border: 0; cursor: pointer; text-align: center; font-size: var(--t-xs); font-weight: 700; color: var(--ink-2); min-height: 44px; }
.stop i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); transition: transform var(--fast) var(--spring), background var(--fast), border-color var(--fast); }
.stop i svg { width: 22px; height: 22px; }
.stop:hover i { border-color: var(--ink); transform: scale(1.06); }
.stop.done i { background: var(--lime); border-color: var(--lime); }
.stop[aria-checked="true"] i { background: var(--night); border-color: var(--night); color: var(--lime); transform: scale(1.12); }
.stop[aria-checked="true"] { color: var(--ink); }

/* Regler mit Live-Wert */
.slide { display: grid; gap: var(--s2); padding: var(--s4) var(--s5); border-radius: var(--r-m); background: var(--soft); }
.slide-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.slide-head label, .slide-head span { font-size: var(--t-s); font-weight: 700; }
.slide-val { font-size: 28px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.slide-val.leer { color: var(--muted); font-size: var(--t-m); font-weight: 600; }
.slide-scale { display: flex; justify-content: space-between; font-size: var(--t-xs); color: var(--muted); font-weight: 600; }
/* „Was kann ich verlangen?“ im Gehalt-Regler: KI-Schätzung, deutlich als geschätzt markiert */
.gs { display: grid; gap: var(--s3); margin-top: var(--s2); }
.gs > .btn, .gs-karte > .btn { justify-self: start; }
.gs-karte { display: grid; gap: var(--s2); padding: var(--s4); border-radius: var(--r-s); background: var(--surface); border: 1px solid var(--line); animation: rise var(--slow) var(--ease) both; }
.gs-pill { justify-self: start; background: var(--night); color: #fff; letter-spacing: .04em; text-transform: uppercase; }
.gs-zahl { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.gs-karte p { margin: 0; }
.gs-text { font-size: var(--t-s); color: var(--ink-2); }
.gs-warn { padding: var(--s3); border-radius: var(--r-s); background: var(--soft); font-size: var(--t-xs); color: var(--ink-2); border-left: 4px solid var(--night); }
.bars { display: flex; gap: 6px; align-items: end; height: 40px; }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: #d9dad3; transition: background var(--fast); }
.bars i.on { background: var(--night); }

/* Job-Pass */
.pass { position: sticky; top: 16px; align-self: start; display: grid; gap: var(--s4); padding: var(--s5); border-radius: var(--r-l); background: var(--night); color: #fff; box-shadow: var(--sh-3); overflow: hidden; transition: box-shadow var(--slow) var(--ease); }
.pass::before { content: ""; position: absolute; right: -70px; top: -70px; width: 210px; height: 210px; border-radius: 50%; border: 30px solid var(--night-2); pointer-events: none; }
.pass-head { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s4); }
.pass-head .stamps { grid-column: 1 / -1; }
.pass-top { display: flex; align-items: center; gap: var(--s3); }
.pass-top b { display: block; font-size: var(--t-l); font-weight: 800; letter-spacing: -.03em; color: #fff; }
.pass-top small { display: block; font-size: var(--t-xs); color: var(--night-muted); font-weight: 600; }
.pass-top img { width: 36px; height: 36px; border-radius: 10px; }
.stamps { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 56px)); gap: var(--s2); } /* höchstens 56px: aufgeklappt am Tablet sonst riesige Kreise */
.stamp-i { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--night-line); color: var(--night-muted); }
.stamp-i svg { width: 22px; height: 22px; }
.stamp-i.on { border: 0; background: var(--lime); color: var(--ink); }
.stamp-i.on.neu { animation: pop var(--slow) var(--spring) both; }
.stamp-i.skipped { border-style: solid; color: var(--night-line); }
.stamp-i.now { border-color: var(--lime); color: #fff; }
.pass-rows { position: relative; display: grid; gap: 2px; }
.prow { display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: var(--s3); min-height: 48px; padding: 6px 10px; margin: 0 -10px; border-radius: var(--r-s); background: none; border: 0; color: #fff; text-align: left; cursor: pointer; }
.prow:hover { background: var(--night-2); }
.prow span { font-size: 11px; font-weight: 700; color: var(--night-muted); text-transform: uppercase; letter-spacing: .07em; hyphens: none; overflow-wrap: normal; } /* Beschriftung nie mitten im Wort trennen */
.prow > b, .prow > div { min-width: 0; }
.prow b { font-size: var(--t-s); font-weight: 700; overflow-wrap: break-word; hyphens: auto; } /* nie mitten im Wort trennen („Informationstec-ker“) */
.prow small { display: block; margin-top: 2px; font-size: var(--t-xs); font-weight: 600; color: var(--night-muted); overflow-wrap: break-word; hyphens: auto; }
.prow b.leer { color: #6f7467; font-weight: 600; }
.prow .pass-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.prow .pass-chip { display: inline-block; max-width: 100%; padding: 2px 9px; border-radius: 10px; background: var(--night-2); border: 1px solid var(--night-line); color: #fff; font-size: var(--t-xs); font-weight: 600; text-transform: none; letter-spacing: 0; line-height: 1.5; hyphens: none; overflow-wrap: break-word; }
.prow .pass-chip.mehr { background: none; color: var(--night-muted); }
.prow.flash .pass-chip { color: var(--lime); }
.prow svg { width: 16px; height: 16px; color: var(--night-muted); }
.prow.flash b { animation: pop var(--slow) var(--spring) both; color: var(--lime); }
.prow:focus-visible { outline-color: var(--lime); }
.pass-meter { position: relative; display: grid; gap: var(--s2); }
.pass-meter div { height: 8px; border-radius: 8px; background: var(--night-2); overflow: hidden; }
.pass-meter i { display: block; height: 100%; border-radius: 8px; background: var(--lime); transition: width var(--slow) var(--ease); }
.pass-meter span { font-size: var(--t-xs); font-weight: 700; color: var(--night-muted); }
.pass.done { box-shadow: 0 0 0 4px var(--lime), var(--sh-3); }
.pass-cta .btn { width: 100%; }
.pass-toggle { display: none; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 3; }
.confetti i { position: absolute; top: 30%; left: 50%; width: 8px; height: 14px; border-radius: 2px; background: var(--lime); animation: fly 1000ms var(--ease) forwards; }
.confetti i:nth-child(3n) { background: #fff; }
@keyframes fly { to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }

/* Zusammenfassung auf der Bühne */
.ready { display: grid; gap: var(--s4); }
.ready ul { list-style: none; padding: 0; display: grid; gap: var(--s2); }
.ready li { display: flex; gap: var(--s3); align-items: center; font-size: var(--t-s); color: var(--ink-2); font-weight: 600; }
.ready li svg { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--lime); color: var(--ink); stroke-width: 2.4; }

/* ---------- Radar (Suche läuft) ---------- */
.run { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding: var(--s5) var(--s3); }
.radar-box { position: sticky; top: var(--s4); display: grid; gap: var(--s3); justify-items: center; }
.radar { position: relative; width: 320px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--night); overflow: hidden; box-shadow: var(--sh-3); }
.radar::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 39px, var(--night-line) 39px 40px); }
.radar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(204, 236, 66, .45), rgba(204, 236, 66, 0) 70deg); animation: sweep 6s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar .center { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--lime); z-index: 2; }
/* Punkte nach echter Richtung und Entfernung vom Wohnort (Mitte), der äußere Ring ist der Umkreis; die Zahl steht unter dem Radar, nie darunter verdeckt */
.blip { position: absolute; z-index: 2; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(204, 236, 66, .18); animation: blipRein 900ms var(--ease) both; }
.blip.fern { background: var(--night-muted); box-shadow: none; }
@keyframes blipRein { from { opacity: 0; transform: scale(.4); } }
.radar .umkreis { position: absolute; inset: 8%; border-radius: 50%; border: 1.5px dashed rgba(204, 236, 66, .5); z-index: 1; }
.rcount { text-align: center; }
.rcount b { display: block; font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.rcount b.warten { color: var(--muted); }
.rcount span { font-size: var(--t-xs); color: var(--muted); font-weight: 700; }
.rcount .zahlen { display: block; margin-top: 4px; font-size: var(--t-xs); color: var(--ink-2); font-weight: 600; }
.run-side { display: grid; gap: var(--s4); min-width: 0; }
.run-side h2 { font-size: clamp(28px, 2.4vw + 14px, 44px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; outline: none; }
.run-steps { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.run-steps li { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: var(--r-pill); background: var(--soft); font-size: var(--t-xs); font-weight: 700; color: var(--muted); }
.run-steps li.ok { background: var(--lime); color: var(--ink); }
.run-steps li.now { background: var(--night); color: #fff; }
.run-steps li.now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: blink 1s ease-in-out infinite alternate; }
@keyframes blink { to { opacity: .2; } }
.run-preview { display: grid; gap: var(--s2); }
.run-preview > span { font-size: var(--t-xs); font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.run-preview ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.run-preview li { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: 12px 16px; border-radius: var(--r-s); background: var(--soft); font-size: var(--t-s); font-weight: 600; }
.run-preview li > span { flex: 1; min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.run-preview li small { color: var(--muted); font-weight: 500; white-space: nowrap; }
.run-preview li .note { flex: none; min-width: 34px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--night); color: var(--lime); font-size: var(--t-xs); font-weight: 800; text-align: center; }
.run-vorab .aussen { color: var(--ink-2); font-weight: 700; }
.run-log { list-style: none; padding: 0; display: grid; gap: 4px; font-size: var(--t-xs); color: var(--muted); }
.run-vorab { display: grid; gap: var(--s2); }
.run-vorab > span { font-size: var(--t-xs); font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.run-vorab ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s2); }
.run-vorab li { animation: pop var(--slow) var(--spring) both; min-width: 0; }
.run-vorab a { display: grid; gap: 4px; height: 100%; padding: 12px 16px; border-radius: var(--r-s); background: var(--soft); color: var(--ink); text-decoration: none; transition: background var(--fast), transform var(--fast); }
.run-vorab a:hover { background: var(--night); color: #fff; transform: translateY(-2px); }
.run-vorab b { font-size: var(--t-s); font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.run-vorab small { font-size: var(--t-xs); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.run-vorab a:hover small { color: var(--night-muted); }
.run-tipp { display: flex; gap: var(--s2); align-items: baseline; font-size: var(--t-s); color: var(--ink-2); }
.run-tipp b { flex: none; padding: 2px 10px; border-radius: var(--r-pill); background: var(--night); color: var(--lime); font-size: var(--t-xs); }
.run-tipp span.rein { animation: tippRein var(--slow) ease both; }
@keyframes tippRein { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 600px) { .run-vorab li:nth-child(n+4) { display: none; } }

/* ---------- Match-Report (Treffer) ---------- */
.res { display: grid; gap: var(--s5); }
.res-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s3); }
.res-head h2, .res-head h1 { font-size: var(--t-xl); font-weight: 800; letter-spacing: -.045em; line-height: 1; outline: none; }
.res-head p { color: var(--ink-2); max-width: 64ch; margin-top: var(--s2); font-size: var(--t-s); }
.kpis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1.5fr) minmax(0, 1.3fr); gap: var(--s3); }
.kpis ~ section { margin-top: var(--s6); } /* Top 3 und Alle Treffer nicht direkt an den Kacheln */
.kpi { display: grid; align-content: space-between; gap: var(--s3); min-height: 168px; padding: var(--s5); border-radius: var(--r-l); background: var(--soft); animation: rise var(--slow) var(--ease) both; min-width: 0; container-type: inline-size; overflow-wrap: break-word; hyphens: auto; }
.kpi:nth-child(2) { animation-delay: 60ms; } .kpi:nth-child(3) { animation-delay: 120ms; } .kpi:nth-child(4) { animation-delay: 180ms; }
.kpi > span { font-size: var(--t-xs); font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.kpi .big { font-size: 56px; font-weight: 800; letter-spacing: -.05em; line-height: .95; font-variant-numeric: tabular-nums; }
.kpi small { font-size: var(--t-xs); color: var(--muted); font-weight: 600; }
.kpi.dark { background: var(--night); color: #fff; }
.kpi.dark > span, .kpi.dark small { color: var(--night-muted); }
.kpi.lime { background: var(--lime); }
.kpi.lime > span, .kpi.lime small { color: var(--lime-ink); }
.kpi-top { display: flex; gap: var(--s3); align-items: center; min-width: 0; }
.kpi-top b { font-size: var(--t-s); line-height: 1.3; min-width: 0; overflow-wrap: break-word; hyphens: auto; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } /* lange Jobtitel: umbrechen, höchstens drei Zeilen, ganzer Titel im title */
@container (max-width: 250px) { /* schmale Kachel: Note über dem Jobtitel statt daneben */
  .kpi-top { flex-direction: column; align-items: flex-start; gap: var(--s2); }
  .kpi-top .ring.big { width: 64px; height: 64px; }
  .kpi-top .ring.big b { font-size: 22px; }
}
.range { position: relative; height: 12px; border-radius: 12px; background: rgba(18, 20, 18, .14); margin: var(--s2) 0; }
.range i { position: absolute; top: 0; bottom: 0; border-radius: 12px; background: var(--night); }
.range b { position: absolute; top: 50%; width: 20px; height: 20px; margin: -10px; border-radius: 50%; background: var(--lime); border: 3px solid var(--night); }
.range-l { display: flex; justify-content: space-between; gap: var(--s2); font-size: var(--t-s); font-weight: 800; font-variant-numeric: tabular-nums; }
.hist { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 6px; align-items: start; }
.hist div { display: grid; grid-template-rows: 56px auto; gap: 4px; justify-items: center; min-width: 0; } /* Säulen stehen auf einer Linie, auch wenn eine Beschriftung zwei Zeilen braucht */
.hist i { align-self: end; width: 100%; border-radius: 6px 6px 2px 2px; background: var(--lime); height: calc(var(--h) * 56px); min-height: 4px; transform-origin: bottom; animation: grow var(--slow) var(--spring) both; }
.hist .aussen i { background: var(--night-muted); } /* außerhalb des Umkreises: gedämpft */
.hist span { font-size: 11px; font-weight: 700; line-height: 1.15; color: var(--night-muted); text-align: center; white-space: nowrap; }
.hist .aussen span { white-space: normal; hyphens: manual; overflow-wrap: normal; max-width: 100%; }
.hist div { grid-template-columns: minmax(0, 1fr); } /* iPad quer (1180 px): „etwas außer­halb“ drückte die Säule 4 px breiter als ihre Spalte */
@media (min-width: 1040px) and (max-width: 1240px) { .hist .aussen span { font-size: 10px; letter-spacing: -.01em; } }
@keyframes grow { from { transform: scaleY(0); } }
.top3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.sec-h { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); }
.sec-h h3 { font-size: var(--t-l); letter-spacing: -.03em; }
.fokus-zeile { margin-top: var(--s1); overflow-wrap: anywhere; } /* „Sortiert nach deinem Fokus: …“ (lange Schwerpunkte umbrechen) */
.res-tools { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; justify-content: space-between; }
#flt { padding-top: var(--s3); }
.filters { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.sortsel, .stsel { min-height: 44px; border-radius: var(--r-pill); border: 1px solid var(--line); background-color: var(--surface); padding: 0 40px 0 16px; font-size: var(--t-s); font-weight: 600; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121412' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; cursor: pointer; }
.jobs { display: grid; gap: var(--s3); }
.more { text-align: center; color: var(--muted); font-size: var(--t-s); padding: var(--s4); font-weight: 600; }
.map { height: 420px; border-radius: var(--r-l); overflow: hidden; background: var(--soft); }
.mapoff { height: 100%; display: grid; place-content: center; justify-items: center; gap: var(--s3); padding: var(--s5); text-align: center; font-size: var(--t-s); color: var(--ink-2); max-width: 440px; margin: 0 auto; }
.leaflet-container { font: inherit; }

/* Match-Ring */
.ring { position: relative; display: grid; place-items: center; width: 64px; height: 64px; flex: none; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .t { stroke: #e6e7e0; stroke-width: 6; fill: none; }
.ring .v { stroke: var(--night); stroke-width: 6; fill: none; stroke-linecap: round; animation: ringIn 700ms var(--ease) both; }
.ring b { position: relative; font-size: 20px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ring.big { width: 92px; height: 92px; }
.ring.big b { font-size: 30px; }
.ring.hot { background: var(--lime); border-radius: 50%; }
.ring.hot .t { stroke: rgba(18, 20, 18, .14); }
.kpi.dark .ring .t, .hero-job .ring .t { stroke: var(--night-2); }
.kpi.dark .ring .v, .hero-job .ring .v { stroke: var(--lime); }
.kpi.dark .ring b, .hero-job .ring b { color: #fff; }
@keyframes ringIn { from { stroke-dashoffset: 100; } }

/* Stellen-Karte */
.job { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: var(--s4); padding: var(--s5); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 24px; transition: box-shadow var(--fast) var(--ease), border-color var(--fast); }
.job:hover { border-color: var(--ink); box-shadow: var(--sh-2); }
.job-note { display: grid; justify-items: center; gap: 6px; align-content: start; }
.job-note span { font-size: 11px; line-height: 1.2; color: var(--muted); font-weight: 700; text-align: center; }
.job-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); min-width: 0; overflow-wrap: anywhere; }
.job h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.02em; }
.job h3 a { text-decoration: none; display: inline-block; padding: 10px 0; margin: -10px 0; }
.job h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.job-m { font-size: var(--t-s); color: var(--ink-2); }
.job-why { font-size: var(--t-s); color: var(--ink); padding-left: var(--s3); border-left: 3px solid var(--lime); }
.facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.facts .pill { white-space: normal; max-width: 100%; height: auto; padding-block: 4px; line-height: 1.35; } /* lange Gehaltsangaben dürfen umbrechen, sonst wird die Seite am Handy breiter */
.job-acts { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; margin-top: var(--s1); }
.job-acts .src { font-size: var(--t-xs); color: var(--muted); margin-left: auto; font-weight: 600; }
.job.locked { background: repeating-linear-gradient(-45deg, var(--soft) 0 10px, #f8f8f5 10px 20px); }
.lockline { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; font-size: var(--t-s); color: var(--ink-2); font-weight: 600; }
.lockline svg { width: 18px; height: 18px; }
/* Top-3 als große Karten */
.hero-job { position: relative; display: grid; align-content: space-between; gap: var(--s4); min-height: 250px; padding: var(--s5); border-radius: var(--r-l); background: var(--night); color: #fff; overflow: hidden; animation: rise var(--slow) var(--ease) both; transition: transform var(--fast) var(--spring); min-width: 0; }
.hero-job:hover { transform: translateY(-4px); }
.hero-job:nth-child(2) { animation-delay: 80ms; } .hero-job:nth-child(3) { animation-delay: 160ms; }
.hero-job .rank { position: absolute; top: 14px; right: 22px; font-size: 72px; font-weight: 800; letter-spacing: -.06em; color: var(--night-2); line-height: 1; }
.hero-job h3 { position: relative; color: #fff; font-size: var(--t-l); letter-spacing: -.03em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } /* sehr lange Titel: drei Zeilen, ganzer Titel im title */
.hero-job > div { min-width: 0; }
.hero-job h3.lang { font-size: var(--t-m); line-height: 1.25; letter-spacing: -.02em; } /* Titel mit sehr langem Wortteil (IT-Systemtechniker): kleiner statt mitten im Wort trennen */
.hero-job p { color: var(--night-muted); font-size: var(--t-s); }
.hero-job .pill { background: var(--night-2); color: #fff; white-space: normal; }
.hero-job.locked .pill { background: var(--night-line); }
.hero-job.locked { background: var(--night-2); }
.hero-job.locked .rank { color: var(--night-line); }
.hero-job .lnk { color: var(--lime); font-weight: 700; font-size: var(--t-s); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.hero-job .lnk svg { width: 16px; height: 16px; }

/* Nach den Treffern */
.offers { display: grid; gap: var(--s3); grid-template-columns: 1.4fr 1fr; }
.offer { display: grid; gap: var(--s3); align-content: start; padding: var(--s5); border-radius: var(--r-l); background: var(--soft); }
.offer.lime { background: var(--lime); }
.offer h3 { font-size: var(--t-l); letter-spacing: -.03em; }
.offer p { font-size: var(--t-s); color: var(--ink-2); }
.offer.lime p { color: var(--ink); }
.offer .btn { justify-self: start; }

/* ---------- Blatt (Dialog von rechts, Handy: ganze Fläche): Stelle im Detail, Bewerbung ---------- */
.sheet { margin: 0 0 0 auto; width: min(660px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; border: 0; padding: 0; background: var(--surface); box-shadow: var(--sh-3); color: var(--ink); border-radius: 28px 0 0 28px; }
.sheet::backdrop { background: rgba(18, 20, 18, .45); }
.sheet[open] { animation: sheetIn var(--dur) var(--ease) both; }
@keyframes sheetIn { from { transform: translateX(32px); opacity: 0; } }
.sbody { display: grid; gap: var(--s5); padding: var(--s4) var(--s5) var(--s7); }
.stop-bar { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 2; background: var(--surface); margin: 0 calc(var(--s5) * -1); padding: var(--s2) var(--s3) var(--s2) var(--s5); }
.shead { display: grid; grid-template-columns: auto 1fr; gap: var(--s4); align-items: center; padding: var(--s5); border-radius: var(--r-l); background: var(--night); color: #fff; }
.shead .ring .t { stroke: var(--night-2); }
.shead .ring .v { stroke: var(--lime); }
.shead .ring b { color: #fff; }
.shead h2 { color: #fff; font-size: var(--t-l); line-height: 1.25; outline: none; }
.shead p { font-size: var(--t-s); color: var(--night-muted); margin-top: 4px; }
.mailbox { display: grid; gap: var(--s3); }
.mail-an { display: flex; gap: var(--s3); align-items: baseline; padding: var(--s3) var(--s4); border-radius: var(--r-s); background: var(--soft); font-size: var(--t-s); }
.mail-an span { font-size: var(--t-xs); font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.mail-an b.leer { color: var(--muted); font-weight: 600; }
.mailbox textarea { min-height: 320px; }
.wish { display: flex; gap: var(--s2); }
.wish input { flex: 1; min-width: 0; }

/* ---------- Chat ---------- */
.chat { position: fixed; z-index: 70; right: 16px; bottom: calc(16px + var(--vv-unten, 0px)); width: min(390px, calc(100vw - 32px)); max-height: min(620px, calc(var(--vv-h, 100svh) - 32px)); /* Tastatur am iPhone: Eingabe bleibt sichtbar (site.js) */ display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-l); box-shadow: var(--sh-3); overflow: hidden; }
.chat.in { animation: rise var(--dur) var(--ease) both; }
.chat header { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s3) var(--s3) var(--s3) var(--s5); background: var(--night); color: #fff; }
.chat header b { display: block; color: #fff; }
.chat header small { font-size: var(--t-xs); color: var(--night-muted); }
.chat header .icon-btn { color: #fff; }
.chat header .icon-btn:hover { background: var(--night-2); }
/* Hinweis vor der ersten Nachricht (KI, keine persönlichen Daten), danach der eigentliche Chat */
.chat-consent { display: grid; gap: var(--s3); padding: var(--s4) var(--s5) var(--s5); overflow-y: auto; }
.chat-consent[hidden], #chatTools[hidden] { display: none; }
.cc-punkte { display: grid; gap: var(--s2); margin: 0; padding: 0; list-style: none; font-size: var(--t-s); line-height: 1.45; color: var(--ink-2); }
.cc-punkte li { position: relative; padding-left: 22px; }
.cc-punkte li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border: solid var(--ink); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.cc-fein { font-size: var(--t-xs); color: var(--muted); }
.cc-fein a { color: inherit; text-decoration: underline; }
.chat-consent .btn { width: 100%; }
#chatTools:not([hidden]) { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.msgs { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: var(--s2); padding: var(--s4) var(--s5); min-height: 160px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 18px; font-size: var(--t-s); line-height: 1.5; white-space: pre-wrap; animation: rise var(--fast) var(--ease) both; }
.msg.bot { align-self: flex-start; background: var(--soft); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--night); color: #fff; border-bottom-right-radius: 6px; }
.msg.typing { color: var(--muted); }
.msg-links { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; max-width: 100%; } /* Knöpfe unter Zusis Antwort (lib/zusi.mjs) */
.msg-links .btn { min-height: 40px; padding: 0 14px; }
.sugg { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 var(--s5) var(--s3); }
.sugg .chip { min-height: 40px; font-size: var(--t-xs); }
.chat-form { display: flex; gap: var(--s2); padding: var(--s3); border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; min-height: 46px; border: 1px solid var(--field); border-radius: var(--r-pill); padding: 0 18px; background: var(--surface); }
.chat-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--lime-soft); }
.chat-form .icon-btn { background: var(--lime); color: var(--ink); width: 46px; height: 46px; }

/* ---------- Cookie-Einstellungen (nur auf Wunsch) ---------- */
.cookiebar { position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 560px; padding: var(--s5); border-radius: var(--r-l); background: var(--surface); box-shadow: var(--sh-3); display: grid; gap: var(--s4); font-size: var(--t-s); color: var(--ink-2); }
.cookiebar b { color: var(--ink); }
.cookiebar p { margin-top: var(--s2); }
.cb-rows { display: grid; gap: var(--s3); }
.cb-btns { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: flex-end; }

/* ---------- Feedback (public/site.js): Knopf unten links, Fenster, Hinweis bei Fehlern, Daumen ---------- */
.fb-fab { position: fixed; left: 16px; bottom: 16px; z-index: 44; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 12px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-size: var(--t-xs); font-weight: 700; box-shadow: var(--sh-1); cursor: pointer; transition: transform var(--fast) var(--ease), border-color var(--fast) var(--ease); }
.fb-fab:hover { transform: translateY(-2px); border-color: var(--ink); }
.fb-fab { translate: 0 calc(var(--fb-hoch, 0px) * -1); transition: transform var(--fast) var(--ease), border-color var(--fast) var(--ease), opacity var(--fast) var(--ease); }
.fb-fab[data-weg] { opacity: 0; pointer-events: none; } /* rückt hoch, wenn etwas Bedienbares darunter liegt; ohne Platz kurz weg (site.js) */
.fb-fab svg, .fb-hinweis svg, .fb-daumen svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fb-box { position: fixed; z-index: 75; left: 16px; bottom: 16px; width: min(400px, calc(100vw - 32px)); max-height: calc(100svh - 32px); overflow: auto; padding: var(--s4) var(--s5) var(--s5); border-radius: var(--r-l); background: var(--surface); box-shadow: var(--sh-3); display: grid; gap: var(--s3); font-size: var(--t-s); color: var(--ink-2); animation: rise var(--dur) var(--ease) both; }
.fb-box[hidden], .fb-hinweis[hidden] { display: none; }
.fb-head { display: flex; align-items: center; justify-content: space-between; margin-right: -10px; }
.fb-head b { font-size: var(--t-m); color: var(--ink); }
.fb-arten { display: flex; flex-wrap: wrap; gap: 6px; }
.fb-arten .chip { min-height: 40px; padding: 0 14px; font-size: var(--t-xs); }
.fb-feld textarea, .fb-feld input { width: 100%; padding: 10px 14px; border-radius: var(--r-s); border: 1px solid var(--field); background: var(--surface); font: inherit; font-size: var(--t-s); color: var(--ink); }
.fb-feld textarea { min-height: 76px; resize: vertical; line-height: 1.45; }
.fb-feld textarea:focus, .fb-feld input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--lime-soft); }
.fb-fein { font-size: var(--t-xs); color: var(--muted); }
.fb-fein a { color: inherit; text-decoration: underline; }
.fb-msg:empty { display: none; }
.fb-falle { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fb-hinweis { position: fixed; z-index: 74; left: 16px; right: 16px; bottom: 68px; margin: 0 auto; max-width: 520px; display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s3) var(--s3) var(--s5); border-radius: var(--r-l); background: var(--night); color: #fff; font-size: var(--t-s); box-shadow: var(--sh-3); animation: rise var(--dur) var(--ease) both; }
.fb-hinweis span { flex: 1; }
.fb-hinweis .icon-btn { color: var(--night-muted); }
.fb-hinweis .icon-btn:hover { background: var(--night-2); color: #fff; }
.fb-daumen { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); font-size: var(--t-s); color: var(--ink-2); }
.fb-daumen .icon-btn { border: 1px solid var(--line); }
.fb-runter svg { transform: scaleY(-1); }
.beta-hinweis { display: flex; align-items: flex-start; gap: var(--s3); padding: var(--s3) var(--s4); border-radius: var(--r-m); background: var(--lime-soft); color: var(--lime-ink); font-size: var(--t-s); }
.beta-hinweis svg { width: 20px; height: 20px; flex: none; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.beta-hinweis b { color: var(--ink); }
.beta-hinweis .link { color: var(--ink); font-weight: 700; }
.pill.beta { background: var(--lime-soft); color: var(--lime-ink); }
a.sub .pill.beta { min-height: 20px; padding: 0 7px; font-size: 11px; margin-left: 2px; }
.beta-hinweis { margin-top: var(--s4); }
@media (max-width: 1100px) { .fb-fab { padding: 0 11px; } .fb-fab span { display: none; } } /* Tablet: nur das Symbol, verdeckt weniger */
@media (max-width: 640px) { .fb-fab { left: 12px; bottom: 12px; padding: 0 11px; } .fb-fab span { display: none; } .fb-hinweis { bottom: 64px; flex-wrap: wrap; } }
@media print { .fb-fab, .fb-box, .fb-hinweis { display: none !important; } }

/* ---------- Landingpages (lib/landing/template.mjs) ---------- */
.hero { padding: var(--s7) 0 var(--s5); }
.hero h1 { font-size: var(--t-xl); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; max-width: 20ch; }
.hero .sub { color: var(--ink-2); margin-top: var(--s3); max-width: var(--read); }

/* ---------- Breiten ---------- */
@media (max-width: 1040px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top3 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(300px, 82%); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding-top: var(--s1); padding-bottom: var(--s2); scrollbar-width: thin; } /* nur waagrecht wischen, keine zweite Scrollleiste durch das Anheben beim Hover */
  .hero-job { min-height: 230px; scroll-snap-align: start; }
}
/* Tablet und Handy (bis iPad quer, 1180 px): Job-Pass als einklappbare Leiste über dem Assistenten statt schmaler Spalte daneben */
@media (max-width: 1180px) {
  .stage { display: flex; flex-direction: column; min-height: min(calc(100svh - 110px), 900px); gap: 0; }
  .stage.inline { min-height: 0; }
  .js .pass:empty { min-height: 68px; } /* Platz für die Pass-Leiste, bevor das Skript sie füllt */
  .stage-main { padding: 0; flex: 1 0 auto; }
  /* Pass als kompakte Leiste oben, aufklappbar */
  .pass { order: -1; position: sticky; top: 8px; z-index: 30; align-self: stretch; padding: var(--s3) var(--s4); gap: var(--s3); border-radius: var(--r-m); margin-bottom: var(--s3); }
  .pass.open { position: relative; } /* aufgeklappt fast bildschirmhoch: nicht kleben, sonst verdeckt er Häkchen und Fehlermeldung */
  .pass::before { display: none; }
  .pass-top b { font-size: var(--t-m); }
  .pass-top small, .pass-top img { display: none; }
  .pass:not(.open) .stamps { grid-template-columns: repeat(6, 28px); gap: 5px; }
  .pass:not(.open) .stamp-i svg { width: 15px; height: 15px; }
  .pass:not(.open) .pass-rows, .pass:not(.open) .pass-meter { display: none; }
  .pass:not(.open) .pass-head { grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s3); }
  .pass:not(.open) .pass-head .stamps { grid-column: auto; justify-self: center; }
  .pass-toggle { display: inline-grid; grid-area: 1 / -2; color: #fff; background: var(--night-2); }
  .pass-toggle:hover { background: var(--night-line); color: #fff; }
  .pass.open .pass-rows { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); column-gap: var(--s5); }
}
@media (max-width: 860px) {
  .shell { border-radius: 28px; }
  .radar-box { position: static; }
  .run { grid-template-columns: 1fr; justify-items: center; }
  .radar { width: min(280px, 80vw); }
  .offers { grid-template-columns: 1fr; }
  .split2 { grid-template-columns: 1fr; gap: var(--s5); }
  .legaldoc { padding: var(--s2) var(--s5) var(--s4); }
}
@media (max-width: 600px) {
  .legaldoc { padding: var(--s1) var(--s4) var(--s4); border-radius: var(--r-m); }
  .person { padding: var(--s4); }
  .wz-body { justify-content: flex-start; padding-top: var(--s4); }
  .wz-actions .btn.primary { flex: 1; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; min-height: 60px; padding: 8px 12px; font-size: 14px; line-height: 1.25; }
  .tile svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; }
  .tile small { display: none; }
  .tile[aria-checked="true"]::after, .tile[aria-pressed="true"]::after { top: 6px; right: 6px; width: 18px; height: 18px; background-size: 11px; }
  .wz-step { gap: var(--s4); }
  .wz-help { font-size: var(--t-s); }
  .start-h { font-size: 11px; }
  .pass-top b { font-size: 15px; white-space: nowrap; }
  .pass { padding-inline: var(--s3); }
  .pass:not(.open) .pass-head { gap: var(--s2); }
  .pass:not(.open) .stamps { grid-template-columns: repeat(6, minmax(0, 26px)); gap: 4px; }
  .week { height: 96px; }
  .week i { height: calc(var(--h, 0) * 52px); }
  .radius { grid-template-columns: 1fr; justify-items: center; }
  .rings { width: 170px; height: 170px; }
  .radius-opts { width: 100%; }
  .stop { font-size: 11px; }
  .stop i { width: 44px; height: 44px; }
  .path::before, .path::after { top: 29px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
  .kpi { min-height: 140px; padding: var(--s4); }
  .kpi .big { font-size: 42px; }
  /* Handy: Top-Match und Entfernung über die ganze Breite (Titel und Säulen brauchen Platz), Top-Match zuerst */
  .kpi-match { grid-column: 1 / -1; order: -1; min-height: 0; }
  .kpi-km { grid-column: 1 / -1; min-height: 0; }
  .hist span { font-size: 11px; }
  .range-l { font-size: var(--t-xs); }
  .range-l span { white-space: nowrap; }
  .job { grid-template-columns: minmax(0, 1fr); gap: var(--s3); padding: var(--s4); }
  .job-note { grid-template-columns: auto 1fr; justify-items: start; align-items: center; gap: var(--s3); }
  .job-note span { text-align: left; font-size: var(--t-xs); }
  .job-acts .src { margin-left: 0; width: 100%; }
  .nav.pnav .nav-r .btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav.pnav .nav-r .btn { padding: 0 12px; }
  .nav.pnav .nav-in { gap: var(--s2); min-width: 0; }
  .nav.site .nav-cta { padding: 0 14px; font-size: var(--t-xs); }
  .nav.site .nav-cta svg { display: none; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s4); } /* zwei Spalten statt einer endlosen Liste */
  .foot.site li a, .foot.site li button { min-height: 44px; hyphens: auto; } /* Daumen-gerecht */
  .chat { right: 8px; left: 8px; bottom: calc(8px + var(--vv-unten, 0px)); width: auto; max-height: calc(var(--vv-h, 100svh) - 16px); }
  .composer { padding-left: 18px; }
  .composer input { font-size: 17px; }
  .map { height: 320px; }
  .deck-stack, .deck-warte { height: 260px; }
}
@media (max-width: 370px) { /* kleine Handys: Kennzahlen untereinander, sonst wird jedes Wort getrennt */
  .kpis { grid-template-columns: minmax(0, 1fr); }
  .kpi { min-height: 0; }
}
@media (max-width: 359px) { .pass:not(.open) .pass-top { display: none; } } /* sehr schmale Handys: nur Stempel und Knopf in der Leiste */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .radar::after { display: none; }
}

/* Adzuna source attribution */
.src-adzuna { display: inline-flex; align-items: center; justify-content: center; min-width: 116px; min-height: 23px; padding: 0 var(--s2); border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--soft); color: var(--ink); font-size: var(--t-xs); font-weight: 600; text-decoration: none; }
.job-main > .src-adzuna { justify-self: start; }
.src-adzuna:hover { border-color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* Top 3 im Panel: zwei Wege je Karte (Bewerbung schreiben, Details) */
.hero-job .lnk-zwei { display: flex; flex-wrap: wrap; gap: 0 var(--s4); align-items: center; }
.hero-job .lnk.leise { color: var(--night-muted); }

/* Bestätigung (ZS_JA in site.js): eigenes Fenster statt confirm(), am Handy ein Blatt von unten */
.zs-ja { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: var(--s4); background: rgba(18, 20, 18, .55); opacity: 0; transition: opacity var(--dur) var(--ease); }
.zs-ja.auf { opacity: 1; }
.zs-ja-panel { width: min(440px, 100%); padding: var(--s6); border-radius: var(--r-l); background: var(--surface); color: var(--ink); box-shadow: var(--sh-3); transform: translateY(12px) scale(.98); transition: transform var(--dur) var(--ease); }
.zs-ja.auf .zs-ja-panel { transform: none; }
.zs-ja-panel h2 { margin: 0; font-size: var(--t-l); line-height: 1.25; letter-spacing: -.01em; overflow-wrap: anywhere; }
.zs-ja-panel p { margin: var(--s2) 0 0; color: var(--ink-2); }
.zs-ja-btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--s2); margin-top: var(--s5); }
@media (max-width: 560px) {
  .zs-ja { place-items: end stretch; padding: 0; }
  .zs-ja-panel { width: 100%; padding: var(--s5) var(--s4) calc(var(--s4) + env(safe-area-inset-bottom)); border-radius: var(--r-l) var(--r-l) 0 0; transform: translateY(100%); }
  .zs-ja-btns { flex-direction: column-reverse; }
  .zs-ja-btns .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .zs-ja, .zs-ja-panel { transition: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.job.ohne-note { grid-template-columns: minmax(0, 1fr); } /* Stelle ohne Passt-Wert (Firmenseite): keine leere Ring-Spalte */
/* Swipe-Schritt fertig (Paul 28.10.2026: „Weiter hebt sich gar nicht hervor“): die gemochten Punkte als helle Zusammenfassung,
   damit der schwarze Weiter-Knopf das Einzige Dunkle ist; Weiter größer und mit Abstand */
.deck .chips .chip[aria-pressed="true"] { background: var(--soft); border-color: var(--line); color: var(--ink); }
.deck .chips .chip[aria-pressed="true"]::before { border-color: var(--ink); }
.deck:has(> .notice) ~ .wz-actions { margin-top: var(--s5); }
.deck:has(> .notice) ~ .wz-actions .btn.primary { min-height: 56px; padding-inline: 32px; font-size: var(--t-m); box-shadow: 0 0 0 4px var(--lime); }
