/* Hörakustik Sommerfeld · Karriere-Landingpage
   Marke: Nachtblau #183038 und Orange #D06000 (aus dem Logo gemessen), Creme aus den Textmotiven.
   Schrift: Outfit (wie hoerakustik-sommerfeld.de), Fraunces kursiv als Echo der Logo-Kursive „Sommerfeld“. */

@font-face { font-family: Outfit; src: url(schriften/outfit-300-900.woff2) format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: Fraunces; src: url(schriften/fraunces-400-600i.woff2) format('woff2'); font-weight: 400 600; font-style: italic; font-display: swap; }

:root {
  --nacht: #183038; --nacht-2: #10232a; --nacht-3: #0b1a20;
  --orange: #d06000; --orange-hell: #ff8a2a; --orange-text: #a64b00;
  --creme: #f6eee4; --papier: #fbf7f1; --sand: #ecdfcf;
  --text: #183038; --leise: #4b5d63; --linie: rgba(24, 48, 56, .14);
  --rand: clamp(16px, 4.5vw, 64px);
  --max: 1320px;
  --r: 22px;
  --schatten: 0 1px 2px rgba(16, 35, 42, .06), 0 18px 50px -18px rgba(16, 35, 42, .28);
  --kurve: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: Outfit, system-ui, sans-serif; font-size: 17px; line-height: 1.55; color: var(--text); background: var(--creme); overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
em { font-family: Fraunces, Georgia, serif; font-style: italic; font-weight: 500; letter-spacing: -.01em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sprung { position: absolute; left: -9999px; }
.sprung:focus { left: 12px; top: 12px; z-index: 100; background: var(--nacht); color: #fff; padding: 10px 14px; border-radius: 10px; }

.demo-hinweis { margin: 0; background: var(--nacht-3); color: #f6eee4; font-size: 13px; text-align: center; padding: 7px 16px; letter-spacing: .01em; }

/* ---------- Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 22px; border-radius: 999px; border: 0; font-weight: 700; font-size: 16.5px; text-decoration: none; transition: transform .25s var(--kurve), background .25s, box-shadow .25s; white-space: nowrap; }
.knopf svg { width: 20px; height: 20px; flex: none; }
.knopf:active { transform: scale(.97); }
.knopf-dunkel { background: var(--nacht); color: #fff; }
.knopf-dunkel:hover { background: #0e2027; box-shadow: 0 10px 30px -10px rgba(16, 35, 42, .6); }
.knopf-orange { background: var(--orange-hell); color: var(--nacht-3); }
.knopf-orange:hover { background: #ffa057; }
.knopf-wa { background: #1f9e57; color: #fff; }
.knopf-wa:hover { background: #18894a; }
.knopf-hell { background: #fff; color: var(--nacht); box-shadow: inset 0 0 0 2px var(--linie); }
.knopf-hell:hover { box-shadow: inset 0 0 0 2px var(--nacht); }
.knopf-rand { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); }
.knopf-rand:hover { box-shadow: inset 0 0 0 2px #fff; }
.knopf-klein { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px var(--rand); background: rgba(246, 238, 228, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, padding .3s; }
.kopf.gescrollt { border-bottom-color: var(--linie); padding-top: 6px; padding-bottom: 6px; }
.kopf-logo img { height: 54px; width: auto; transition: height .3s; }
.kopf.gescrollt .kopf-logo img { height: 44px; }
.kopf-nav { display: none; gap: 28px; font-weight: 500; font-size: 15.5px; }
.kopf-nav a { text-decoration: none; position: relative; }
.kopf-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--kurve); }
.kopf-nav a:hover::after { transform: scaleX(1); }

/* ---------- Held ---------- */
.held { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 22px var(--rand) 40px; max-width: var(--max); margin: 0 auto; isolation: isolate; }
.wellen { position: absolute; inset: 0 calc(50% - 50vw); width: 100vw; height: 100%; z-index: -1; pointer-events: none; }
.ueberzeile { display: flex; flex-wrap: wrap; gap: 0 .4em; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-text); }
.riesig { font-weight: 900; line-height: .86; letter-spacing: -.035em; font-size: clamp(64px, 19vw, 200px); margin-top: 14px; }
.riesig .zeile { display: block; }
.balken { display: inline-block; position: relative; padding: 0 .12em .06em .06em; margin-left: -.06em; z-index: 0; }
.balken::before { content: ''; position: absolute; inset: .08em -.02em -.02em; background: var(--orange); z-index: -1; transform-origin: left; animation: balken 1s .35s var(--kurve) both; }
@keyframes balken { from { transform: scaleX(0); } }
.riesig .zeile:first-child { animation: hoch .9s var(--kurve) both; }
.riesig .zeile:last-child { animation: hoch .9s .12s var(--kurve) both; }
@keyframes hoch { from { opacity: 0; transform: translateY(.25em); } }

.wechsel { margin-top: 18px; height: 1.35em; overflow: hidden; font-family: Fraunces, Georgia, serif; font-style: italic; font-size: clamp(22px, 5.6vw, 34px); line-height: 1.35; color: var(--nacht); }
.wechsel-innen { display: block; transition: transform .7s var(--kurve); }
.wechsel-wort { display: block; white-space: nowrap; }

.fakten { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.fakten li { padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linie); font-weight: 600; font-size: 15px; }
.held-einleitung { margin-top: 20px; max-width: 34em; color: var(--leise); font-size: 17.5px; }

.held-seite { display: grid; gap: 18px; align-content: start; }
.held-foto { margin: 0; }
.held-seite .check { order: -1; }
.foto { display: block; position: relative; overflow: hidden; border-radius: var(--r); background: var(--blur) center / cover, var(--sand); }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.held-foto .foto { box-shadow: var(--schatten); }
figcaption { font-size: 13.5px; color: var(--leise); margin-top: 8px; }

/* ---------- Kurz-Check ---------- */
.check { position: relative; background: var(--nacht); color: #fff; border-radius: 26px; padding: 22px 20px 20px; box-shadow: 0 30px 70px -30px rgba(11, 26, 32, .7); outline: none; scroll-margin-top: 90px; overflow: hidden; }
.check::after { content: ''; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; border: 26px solid rgba(255, 138, 42, .14); pointer-events: none; }
.check.blitz { animation: blitz .9s var(--kurve); }
@keyframes blitz { 30% { box-shadow: 0 0 0 6px var(--orange-hell), 0 30px 70px -30px rgba(11, 26, 32, .7); } }
.check-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 32px; }
.check-marke { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ffd2ad; }
.puls { width: 9px; height: 9px; border-radius: 50%; background: var(--orange-hell); box-shadow: 0 0 0 0 rgba(255, 138, 42, .6); animation: puls 2s infinite; }
@keyframes puls { 70% { box-shadow: 0 0 0 10px rgba(255, 138, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 138, 42, 0); } }
.check-zurueck { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: #cfdadd; font-size: 14px; padding: 6px 4px; }
.check-zurueck svg { width: 16px; height: 16px; }
.check-zurueck:hover { color: #fff; }
.check-fortschritt { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); margin: 14px 0 12px; overflow: hidden; }
.check-fortschritt span { display: block; height: 100%; width: 0; background: var(--orange-hell); border-radius: inherit; transition: width .6s var(--kurve); }
.check-schritt { font-size: 13.5px; color: #b8c7cb; }
.frage { border: 0; margin: 6px 0 0; padding: 0; min-width: 0; animation: rein .5s var(--kurve); }
@keyframes rein { from { opacity: 0; transform: translateX(18px); } }
.frage-text { font-size: clamp(22px, 5.5vw, 27px); font-weight: 750; line-height: 1.2; letter-spacing: -.01em; padding: 0; margin-bottom: 16px; }
.antworten { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.antwort { min-height: 64px; padding: 12px 14px; text-align: left; border-radius: 16px; border: 0; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16); font-weight: 650; font-size: 16px; line-height: 1.25; color: #fff; transition: background .2s, box-shadow .2s, transform .2s var(--kurve); }
.antwort:hover { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1.5px var(--orange-hell); }
.antwort:active, .antwort.gewaehlt { transform: scale(.97); background: var(--orange-hell); color: var(--nacht-3); box-shadow: none; }
.ergebnis { animation: rein .5s var(--kurve); }
.ergebnis-titel { font-size: clamp(30px, 8vw, 40px); font-weight: 850; letter-spacing: -.02em; line-height: 1.05; margin-top: 4px; }
.punkt { color: var(--orange-hell); }
.ergebnis-text { color: #d8e2e4; margin-top: 10px; font-size: 16px; }
.ergebnis-demo { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 138, 42, .14); color: #ffd2ad; font-size: 14px; }
.wege { display: grid; gap: 10px; margin-top: 18px; }
.wege .knopf { width: 100%; }
.ergebnis .knopf-hell { box-shadow: none; }
.ergebnis > .knopf { margin-top: 18px; width: 100%; }
.ergebnis-klein { margin-top: 14px; font-size: 14px; color: #b8c7cb; text-align: center; }
.ergebnis-klein a { color: #fff; font-weight: 600; }
.rueckruf { margin-top: 16px; display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); animation: rein .4s var(--kurve); }
.rueckruf-titel { font-weight: 750; font-size: 18px; margin-bottom: 6px; }
.feld { display: grid; gap: 5px; font-size: 14px; color: #cfdadd; }
.feld input { height: 54px; border-radius: 14px; border: 0; padding: 0 16px; font: inherit; font-size: 17px; color: var(--nacht); background: #fff; }
.feld input[aria-invalid="true"] { box-shadow: 0 0 0 3px #ff9e9e; }
.einwilligung { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 14px; color: #cfdadd; margin-top: 8px; }
.einwilligung input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--orange-hell); }
.einwilligung a { color: #fff; }
.fehler { min-height: 0; font-size: 13.5px; color: #ffb4b4; }
.fehler:empty { display: none; }
.rueckruf .knopf { margin-top: 10px; background: var(--orange-hell); color: var(--nacht-3); }
.rueckruf .knopf:disabled, .check-zurueck:disabled { cursor: wait; opacity: .68; }

/* ---------- Laufband ---------- */
.band { background: var(--nacht); color: var(--creme); overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg); margin: 8px -10px; }
.band-lauf { display: flex; width: max-content; animation: lauf 38s linear infinite; }
.band-lauf span { display: flex; align-items: center; font-weight: 800; font-size: clamp(22px, 4vw, 38px); letter-spacing: -.01em; white-space: nowrap; }
.band-lauf i { font-style: normal; color: var(--orange-hell); margin: 0 .7em; font-size: .7em; }
@keyframes lauf { to { transform: translateX(-50%); } }

/* ---------- Abschnitte allgemein ---------- */
.abschnitt { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 10vw, 130px) var(--rand); }
.marke { font-size: 13.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 14px; }
.marke-hell { color: #ffb37a; }
h2 { font-size: clamp(36px, 7.5vw, 76px); line-height: 1; letter-spacing: -.03em; font-weight: 850; text-wrap: balance; }
h2 em { color: var(--orange); }
.hinweis { font-size: 13.5px; color: var(--leise); margin-top: 12px; }
.hinweis-hell { color: #a9bcc1; }
.nr { font-weight: 800; color: var(--orange); font-variant-numeric: tabular-nums; }

/* ---------- Wochenplan ---------- */
.woche-abschnitt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.woche-text > p:not(.marke):not(.hinweis):not(.woche-satz) { margin-top: 16px; color: var(--leise); max-width: 30em; }
.regler { margin-top: 30px; }
.regler-label { display: flex; align-items: baseline; gap: 12px; }
.stunden-zahl { font-size: clamp(76px, 16vw, 132px); font-weight: 900; line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--nacht); }
.regler-label span { font-weight: 700; font-size: 20px; color: var(--leise); }
.regler input { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 10px 0 0; cursor: pointer; --f: 24%; }
.regler input::-webkit-slider-runnable-track { height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--orange) var(--f), var(--sand) var(--f)); }
.regler input::-moz-range-track { height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--orange) var(--f), var(--sand) var(--f)); }
.regler input::-webkit-slider-thumb { -webkit-appearance: none; width: 36px; height: 36px; margin-top: -13px; border-radius: 50%; background: var(--nacht); border: 5px solid #fff; box-shadow: 0 4px 14px rgba(16, 35, 42, .35); }
.regler input::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--nacht); border: 5px solid #fff; box-shadow: 0 4px 14px rgba(16, 35, 42, .35); }
.regler-skala { display: flex; justify-content: space-between; font-size: 13px; color: var(--leise); font-weight: 600; }
.woche-satz { margin-top: 18px; font-size: 19px; }
.modell { color: var(--orange-text); }

.woche { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.tag { display: grid; grid-template-rows: auto 1fr 1fr; gap: 8px; }
.tag-name { text-align: center; font-weight: 800; font-size: 15px; letter-spacing: .04em; }
.block { position: relative; min-height: clamp(96px, 22vw, 150px); border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linie); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; padding: 8px 2px; }
.block i { position: absolute; inset: 0; background: var(--nacht); transform-origin: bottom; transform: scaleY(var(--a, 0)); transition: transform .55s var(--kurve); }
.block span { position: relative; font-size: 12px; font-weight: 700; color: var(--leise); writing-mode: vertical-rl; transform: rotate(180deg); transition: color .3s; }
.block.voll span, .block.teil span { color: #fff; }
.block-zu { background: repeating-linear-gradient(135deg, rgba(208, 96, 0, .09) 0 8px, transparent 8px 16px), var(--papier); box-shadow: inset 0 0 0 1.5px rgba(208, 96, 0, .22); }
.block-zu span { color: var(--orange-text); writing-mode: horizontal-tb; transform: none; font-size: 13px; }
.block-sa { grid-row: span 2; background: var(--orange); box-shadow: none; align-items: center; }
.block-sa span { color: var(--nacht-3); font-size: 15px; font-weight: 850; writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Aufgaben (Schiene) ---------- */
.aufgaben-abschnitt { background: var(--papier); }
.aufgaben-buehne { padding: clamp(64px, 9vw, 110px) 0; }
.aufgaben-kopf { padding: 0 var(--rand); max-width: var(--max); margin: 0 auto 34px; display: grid; gap: 0; }
.wisch-hinweis { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; font-size: 14px; color: var(--leise); }
.wisch-hinweis svg { width: 18px; height: 18px; animation: wisch 1.6s ease-in-out infinite; }
@keyframes wisch { 50% { transform: translateX(6px); } }
.aufgaben-schiene { list-style: none; margin: 0; padding: 0 var(--rand) 10px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.aufgaben-schiene::-webkit-scrollbar { display: none; }
.aufgabe { flex: none; scroll-snap-align: center; display: grid; grid-template-rows: auto 1fr; width: min(80vw, 340px); background: #fff; border-radius: var(--r); box-shadow: var(--schatten); overflow: hidden; }
.aufgabe .foto { border-radius: 0; height: clamp(220px, 58vw, 300px); aspect-ratio: auto !important; }
.aufgabe .foto img { object-fit: contain; }
.aufgabe .foto { background: var(--blur) center / cover; }
.aufgabe-text { padding: 18px 20px 22px; }
.aufgabe-text h3 { font-size: 24px; font-weight: 800; letter-spacing: -.015em; margin: 4px 0 6px; }
.aufgabe-text p { color: var(--leise); font-size: 16px; }
.typo-flaeche { height: clamp(220px, 58vw, 300px); background: var(--nacht); color: var(--creme); display: flex; align-items: flex-end; padding: 18px 20px; overflow: hidden; position: relative; }
.typo-flaeche::before { content: ''; position: absolute; width: 360px; height: 360px; right: -140px; top: -140px; border-radius: 50%; box-shadow: 0 0 0 26px rgba(255, 138, 42, .55), 0 0 0 62px rgba(255, 138, 42, .28), 0 0 0 98px rgba(255, 138, 42, .12); }
.aufgabe-typo:last-child .typo-flaeche { background: var(--orange); color: var(--nacht-3); }
.aufgabe-typo:last-child .typo-flaeche::before { box-shadow: 0 0 0 26px rgba(24, 48, 56, .35), 0 0 0 62px rgba(24, 48, 56, .18), 0 0 0 98px rgba(24, 48, 56, .08); }
.typo-flaeche span { position: relative; font-family: Fraunces, Georgia, serif; font-style: italic; font-size: 46px; line-height: 1; }

/* ---------- Reel + Werte ---------- */
.werte-abschnitt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.telefon { margin: 0 auto; width: min(240px, 62vw); text-align: center; }
.telefon-rahmen { position: relative; aspect-ratio: 9 / 16; border-radius: 40px; padding: 10px; background: #0a1418; box-shadow: 0 40px 80px -30px rgba(11, 26, 32, .6), inset 0 0 0 2px #2a3a40; transform: rotate(-3deg); transition: transform .6s var(--kurve); }
.telefon:hover .telefon-rahmen { transform: rotate(0); }
.reel { width: 100%; height: 100%; object-fit: cover; border-radius: 31px; background: var(--nacht); }
.reel-knopf { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.reel-knopf span { display: block; margin-left: 28px; width: 0; height: 0; border-left: 22px solid var(--nacht); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.telefon.spielt .reel-knopf { opacity: 0; pointer-events: none; }
.telefon figcaption { margin-top: 18px; }
.werte-liste { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1.5px solid var(--nacht); }
.werte-liste li { display: grid; grid-template-columns: 44px 1fr; gap: 2px 12px; padding: 16px 0; border-bottom: 1px solid var(--linie); transition: padding .3s var(--kurve), background .3s; }
.werte-liste li:hover { padding-left: 10px; background: linear-gradient(90deg, rgba(208, 96, 0, .07), transparent 70%); }
.werte-liste .nr { grid-row: span 2; font-size: 15px; padding-top: 5px; }
.werte-liste b { font-size: 22px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.werte-liste .d { color: var(--leise); font-size: 15.5px; }

/* ---------- Detail ---------- */
.detail-abschnitt h2 .leise { color: var(--leise); font-weight: 600; font-size: .5em; letter-spacing: -.01em; white-space: nowrap; }
.detail-spalten { display: grid; gap: 16px; margin-top: 36px; }
.detail-karte { background: #fff; border-radius: var(--r); padding: 26px 24px; box-shadow: var(--schatten); }
.detail-karte h3 { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.detail-dunkel { background: var(--nacht); color: #fff; }
.haken-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.haken-liste li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; font-size: 16.5px; }
.haken-liste svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: rgba(208, 96, 0, .12); color: var(--orange); }
.detail-dunkel .haken-liste svg { background: rgba(255, 138, 42, .2); color: var(--orange-hell); }
.haken-liste li { opacity: 1; }

/* ---------- Team ---------- */
.team-abschnitt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.team-foto { margin: 0; }
.team-foto .foto { box-shadow: var(--schatten); }
.team-text > p:not(.marke):not(.vor-ort-titel) { margin-top: 16px; color: var(--leise); }
.zitat { margin: 28px 0 0; padding: 22px 0 0; border-top: 1.5px solid var(--nacht); }
.zitat p { font-family: Fraunces, Georgia, serif; font-style: italic; font-size: clamp(22px, 3.4vw, 30px); line-height: 1.25; color: var(--nacht); }
.zitat footer { margin-top: 10px; font-size: 14px; color: var(--leise); }
.vor-ort-titel { margin-top: 26px; font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-text); }
.vor-ort { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vor-ort li { padding: 7px 13px; border-radius: 999px; background: var(--sand); font-size: 14.5px; font-weight: 600; }

/* ---------- Arbeitsweg ---------- */
.weg-abschnitt { background: var(--nacht-2); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; padding: clamp(64px, 10vw, 120px) var(--rand); }
.weg-text > p:not(.marke):not(.hinweis):not(.fahrt) { margin-top: 16px; color: #c4d2d5; max-width: 30em; }
.orte { display: flex; gap: 8px; margin: 24px calc(-1 * var(--rand)) 0; padding: 0 var(--rand) 4px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.orte::-webkit-scrollbar { display: none; }
.ort { flex: none; scroll-snap-align: start; }
.ort { border: 0; border-radius: 999px; padding: 9px 14px; min-height: 42px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: #e7eef0; font-size: 15px; font-weight: 600; transition: background .2s, color .2s; }
.ort:hover { background: rgba(255, 255, 255, .16); }
.ort[aria-pressed="true"] { background: var(--orange-hell); color: var(--nacht-3); box-shadow: none; }
.fahrt { margin-top: 24px; display: grid; gap: 2px; min-height: 84px; }
.fahrt-ort { font-size: 15px; color: #a9bcc1; font-weight: 600; }
.fahrt-wert { font-size: clamp(30px, 6vw, 46px); font-weight: 850; letter-spacing: -.02em; line-height: 1.05; }
.karte { position: relative; overflow: hidden; background: #13262d; margin: 4px calc(-1 * var(--rand)) 0; height: min(118vw, 560px); touch-action: pan-y; }
.karte-ebene { position: absolute; inset: 0; width: 100%; height: 100%; }
.kg path { vector-effect: non-scaling-stroke; }
.kg-wald { fill: #2a4a3c; fill-opacity: .6; }
.kg-ort { fill: #f6eee4; fill-opacity: .09; }
.kg-see { fill: #6fa3b8; fill-opacity: .45; }
.kg-fluss { fill: none; stroke: #6fa3b8; stroke-opacity: .6; stroke-width: 1.6; stroke-linecap: round; }
.kg-strasse { fill: none; stroke: #f6eee4; stroke-opacity: .5; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ring { fill: none; stroke: rgba(255, 138, 42, .45); stroke-width: 1.3; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.route { fill: none; stroke: var(--orange-hell); stroke-width: 4.5; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 5px rgba(255, 138, 42, .8)); }
.ort-punkt { fill: #f6eee4; fill-opacity: .6; transition: fill .3s; }
.ort-punkt.aktiv { fill: var(--orange-hell); fill-opacity: 1; stroke: #fff; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.studio-punkt { fill: var(--orange-hell); stroke: #fff; stroke-width: 3; vector-effect: non-scaling-stroke; }
.karte-label { position: absolute; left: 0; top: 0; background: #fff; color: var(--nacht); font-weight: 800; font-size: 14px; line-height: 1; padding: 7px 11px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); pointer-events: none; will-change: transform; }
.karte-label-ort { background: var(--orange-hell); color: var(--nacht-3); }
.ring-label { position: absolute; left: 0; top: 0; font-size: 12px; font-weight: 700; color: #ffb37a; opacity: .8; pointer-events: none; white-space: nowrap; will-change: transform; }
.karte-quelle { position: absolute; right: 10px; bottom: 8px; font-size: 11px; color: rgba(246, 238, 228, .6); }

/* ---------- Ablauf ---------- */
.ablauf { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: a; }
.ablauf li { position: relative; padding: 26px 24px; border-radius: var(--r); background: #fff; box-shadow: var(--schatten); }
.ablauf-nr { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: var(--nacht-3); font-weight: 900; font-size: 22px; margin-bottom: 14px; }
.ablauf h3 { font-size: 22px; font-weight: 800; }
.ablauf p { color: var(--leise); margin-top: 6px; }

/* ---------- Fragen ---------- */
.fragen-abschnitt { max-width: 980px; }
.fragen { margin-top: 30px; border-top: 1.5px solid var(--nacht); }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 0; font-size: 19px; font-weight: 700; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sand) no-repeat center / 14px 14px linear-gradient(var(--nacht), var(--nacht)), var(--sand); background-image: linear-gradient(var(--nacht), var(--nacht)), linear-gradient(var(--nacht), var(--nacht)); background-size: 14px 2.5px, 2.5px 14px; background-position: center; transition: transform .3s var(--kurve), background-color .3s; }
.fragen details[open] summary::after { transform: rotate(45deg); background-color: var(--orange); }
.fragen details p { padding: 0 0 22px; color: var(--leise); max-width: 46em; }

/* ---------- Schluss ---------- */
.schluss { background: var(--nacht); color: #fff; padding: clamp(80px, 12vw, 150px) var(--rand); text-align: left; position: relative; overflow: hidden; }
.schluss::after { content: ''; position: absolute; right: -15vw; bottom: -25vw; width: 60vw; height: 60vw; border-radius: 50%; box-shadow: 0 0 0 4vw rgba(255, 138, 42, .18), 0 0 0 9vw rgba(255, 138, 42, .09); pointer-events: none; }
.schluss > * { position: relative; z-index: 1; max-width: var(--max); margin-left: auto; margin-right: auto; }
.riesig-hell { font-size: clamp(56px, 14vw, 170px); }
.riesig-hell .balken { color: var(--nacht-3); }
.schluss-text { margin-top: 24px; font-size: 19px; color: #c4d2d5; }
.schluss-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Fuß ---------- */
.fuss { background: var(--papier); padding: 54px var(--rand) 110px; font-size: 15.5px; }
.fuss-spalten { max-width: var(--max); margin: 0 auto; display: grid; gap: 30px; }
.fuss-logo { height: 70px; width: auto; margin-bottom: 14px; }
.fuss p { color: var(--leise); }
.fuss-kontakt { display: grid; gap: 10px; align-content: start; }
.fuss-kontakt a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; }
.fuss-kontakt svg { width: 18px; height: 18px; color: var(--orange); flex: none; }
.fuss-titel { font-weight: 800; color: var(--text) !important; margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fuss-zeiten p:not(.fuss-titel) { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; border-bottom: 1px solid var(--linie); }
.fuss-zeiten b { color: var(--text); font-weight: 600; text-align: right; }
.offen-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--sand); color: var(--leise); }
.offen-status.offen { background: #dff3e6; color: #17683b; }
.offen-status.offen::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #1f9e57; }
.offen-status:empty { display: none; }
.fuss-unten { max-width: var(--max); margin: 36px auto 0; padding-top: 18px; border-top: 1px solid var(--linie); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--leise); }

/* ---------- Mobile Leiste ---------- */
.leiste { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(251, 247, 241, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 14px 40px -12px rgba(11, 26, 32, .45); transform: translateY(140%); transition: transform .45s var(--kurve); }
.leiste.sichtbar { transform: none; }
.leiste .knopf { flex: 1; min-height: 50px; }
.leiste-icon { flex: none; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linie); color: var(--nacht); }
.leiste-icon[data-wa] { color: #1f9e57; }
.leiste-icon svg { width: 22px; height: 22px; }

/* ---------- Einwilligung in Marketing-Messung ---------- */
.datenschutz-einstellungen { padding: 0; border: 0; background: none; font: inherit; text-decoration: underline; }
.meta-hinweis { position: fixed; z-index: 65; inset: auto var(--rand) calc(12px + env(safe-area-inset-bottom)) auto; display: grid; gap: 14px; width: min(440px, calc(100vw - 2 * var(--rand))); max-height: calc(100vh - 24px); overflow: auto; padding: 18px; border: 1px solid var(--linie); border-radius: 20px; color: var(--text); background: var(--papier); box-shadow: var(--schatten); }
.meta-hinweis h2 { font-size: 19px; line-height: 1.25; letter-spacing: 0; }
.meta-hinweis p { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--leise); }
.meta-auswahl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.meta-auswahl button { padding: 8px 10px; min-height: 44px; border: 1px solid var(--nacht); border-radius: 999px; background: var(--papier); font-size: 15px; font-weight: 650; }
.meta-auswahl button:hover { background: var(--sand); }
@media (max-width: 767px) {
  .leiste.sichtbar ~ .meta-hinweis { bottom: calc(88px + env(safe-area-inset-bottom)); max-height: calc(100vh - 100px); }
}

/* ---------- Ablaufprotokoll der Vorführseite (?tracking) ---------- */
.spur { position: fixed; right: 12px; top: 80px; z-index: 60; width: min(320px, calc(100vw - 24px)); max-height: 50vh; overflow: auto; background: rgba(11, 26, 32, .94); color: #e7eef0; border-radius: 16px; padding: 12px 14px; font: 12.5px/1.45 ui-monospace, Menlo, monospace; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.spur-titel { font-weight: 700; color: #ffb37a; margin-bottom: 6px; }
.spur ol { margin: 0; padding-left: 18px; }
.spur li { margin: 4px 0; }

/* ---------- Einblenden ---------- */
.einblenden { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--kurve), transform .8s var(--kurve); }
.einblenden.da { opacity: 1; transform: none; }

/* ---------- Linkseite ---------- */
.links-seite { background: var(--nacht-3); color: #fff; min-height: 100svh; }
.links-bild { position: fixed; inset: 0 0 auto 0; height: 46svh; z-index: 0; }
.links-bild .foto { height: 100%; border-radius: 0; aspect-ratio: auto !important; }
.links-bild::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 26, 32, .1) 0%, rgba(11, 26, 32, .35) 45%, var(--nacht-3) 100%); }
.links-inhalt { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; padding: 30svh 18px 40px; }
.links-logo { display: inline-block; background: var(--creme); border-radius: 22px; padding: 14px 18px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); }
.links-logo img { height: 74px; width: auto; }
.links-leitsatz { margin-top: 22px; font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.links-leitsatz em { color: #ffb37a; }
.links-status { margin-top: 10px; color: #b8c7cb; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.links-seite .offen-status { background: rgba(255, 255, 255, .1); color: #d8e2e4; }
.links-seite .offen-status.offen { background: rgba(31, 158, 87, .22); color: #a5f0c6; }
.links-liste { display: grid; gap: 10px; margin-top: 24px; }
.link { display: grid; grid-template-columns: 46px 1fr 22px; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; min-height: 72px; border-radius: 20px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); text-decoration: none; transition: transform .25s var(--kurve), background .25s; animation: hoch .7s var(--kurve) both; }
.link:nth-child(2) { animation-delay: .06s; } .link:nth-child(3) { animation-delay: .12s; } .link:nth-child(4) { animation-delay: .18s; } .link:nth-child(5) { animation-delay: .24s; } .link:nth-child(6) { animation-delay: .3s; }
.link:hover { background: rgba(255, 255, 255, .13); transform: translateX(4px); }
.link-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 138, 42, .16); color: #ffb37a; }
.link-icon svg, .link-pfeil svg { width: 22px; height: 22px; }
.link-text { display: grid; line-height: 1.25; }
.link-text b { font-size: 17.5px; }
.link-text small { color: #a9bcc1; font-size: 14px; }
.link-pfeil { color: #a9bcc1; }
.link-top { background: var(--orange-hell); color: var(--nacht-3); box-shadow: 0 18px 40px -16px rgba(255, 138, 42, .7); }
.link-top:hover { background: #ffa057; }
.link-top .link-icon { background: rgba(11, 26, 32, .14); color: var(--nacht-3); }
.link-top small, .link-top .link-pfeil { color: rgba(11, 26, 32, .72); }
.links-sozial { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }
.links-sozial a { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.links-sozial svg { width: 22px; height: 22px; }
.links-fuss { text-align: center; margin-top: 22px; font-size: 13.5px; color: #8fa3a8; }

/* ---------- 404 ---------- */
.fehlerseite { min-height: 80svh; display: grid; align-content: center; gap: 20px; padding: 40px var(--rand); max-width: var(--max); margin: 0 auto; }
.fehlerseite .knopf { justify-self: start; }

/* =========================================================
   Breitere Bildschirme (Basisregeln stehen oben, Überschreibungen nur hier)
   ========================================================= */
@media (min-width: 640px) {
  .wege { grid-template-columns: 1fr 1fr; }
  .detail-spalten { grid-template-columns: 1fr 1fr; }
  .ablauf { grid-template-columns: repeat(3, 1fr); }
  .aufgaben-schiene { --h: 320px; }
  .aufgabe { width: calc(var(--h) * var(--seite, 1)); }
  .aufgabe .foto, .typo-flaeche { height: var(--h); width: 100%; }
  .aufgabe-typo { width: var(--h); }
  .fuss-spalten { grid-template-columns: 1.1fr 1fr 1.1fr; }
}

@media (min-width: 900px) {
  .kopf-nav { display: flex; }
  .woche-abschnitt { grid-template-columns: 1fr 1.15fr; gap: 64px; }
  .werte-abschnitt { grid-template-columns: 340px 1fr; gap: 80px; align-items: start; }
  .telefon { position: sticky; top: 110px; width: 300px; }
  .team-abschnitt { grid-template-columns: 1.05fr 1fr; gap: 64px; }
  .weg-abschnitt { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
  .weg-abschnitt > * { min-width: 0; }
  .orte { flex-wrap: wrap; overflow: visible; margin: 24px 0 0; padding: 0; }
  .karte { margin: 0; height: auto; aspect-ratio: 1 / 1; border-radius: var(--r); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
  .leiste { display: none; }
  .fuss { padding-bottom: 54px; }
  .links-bild { inset: 0 auto 0 0; width: 62vw; height: 100vh; }
  .links-bild::after { background: linear-gradient(90deg, rgba(11, 26, 32, .05) 0%, rgba(11, 26, 32, .3) 55%, var(--nacht-3) 100%); }
  .links-inhalt { margin: 0 6vw 0 auto; padding: 10vh 0 60px; width: 470px; }
}

@media (min-width: 1024px) {
  .held { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; padding-top: 44px; padding-bottom: 64px; align-items: start; }
  .held-text { padding-top: 30px; }
  .held-seite .check { order: 0; }
  .held .riesig { font-size: min(8.4vw, 156px); }
  .check { padding: 26px 26px 24px; }
  /* Schiene wird beim Scrollen waagerecht gefahren (app.js setzt --x und die Abschnittshöhe) */
  .aufgaben-abschnitt.gefahren { height: var(--hoehe, 300vh); }
  .aufgaben-abschnitt.gefahren .aufgaben-buehne { position: sticky; top: 64px; height: calc(100vh - 64px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 0; }
  .aufgaben-abschnitt.gefahren .aufgaben-schiene { overflow: visible; transform: translate3d(var(--x, 0px), 0, 0); will-change: transform; scroll-snap-type: none; }
  .aufgaben-abschnitt.gefahren .wisch-hinweis { display: none; }
  .aufgaben-schiene { --h: min(46vh, 420px); }
}

@media (min-width: 1600px) {
  :root { --max: 1480px; }
  body { font-size: 18px; }
}

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