/* stil.css · oben die Bühne mit Film, Begriffen und Schlussbild, unten die Seite mit ihren 15 Bausteinen. */

@font-face { font-family: "Space Grotesk"; src: url("schriften/SpaceGrotesk-Variable.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("schriften/Switzer-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --himmel: #6d9fd6;
  --horizont: #cfe0f0;
  --grund: #f3f1ec;      /* Kalkweiß */
  --text: #1f252b;       /* Anthrazit */
  --hell: #f6f3ee;       /* Schrift auf dem Abendhimmel */
  --leise: #56616b;
  --akzent: var(--text);
  --akzent-hell: var(--hell);
  --rand: clamp(1.25rem, 4.5vw, 4.5rem);
  --weich: cubic-bezier(.22, .61, .36, 1);
  --schrift: "Space Grotesk", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--grund); color: var(--text); font: 400 1.0625rem/1.6 Switzer, system-ui, sans-serif; overflow-x: clip; -webkit-font-smoothing: antialiased; }
h2 { font: 500 clamp(1.9rem, 4vw, 3rem)/1.08 var(--schrift); letter-spacing: -0.03em; margin: 0 0 1rem; }
p { margin: 0; max-width: 62ch; }
a { color: inherit; }
::selection { background: color-mix(in srgb, var(--akzent) 22%, transparent); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.lesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Kopfzeile mit Schriftzug und Gewerk-Auswahl */
.kopf { position: fixed; z-index: 5; inset: var(--banner, 1.9rem) 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem var(--rand); color: var(--text); transition: color 0.9s var(--weich); }
.marke { font: 600 1.15rem/1 var(--schrift); letter-spacing: -0.02em; text-decoration: none; }
.wahl { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0.35rem 0.3rem 0.9rem; font-size: 0.875rem; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--grund) 34%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); transition: border-color 0.3s var(--weich), background-color 0.3s var(--weich); }
.wahl[hidden] { display: none; }
.wahl span { opacity: 0.72; white-space: nowrap; }
.wahl select { appearance: none; -webkit-appearance: none; font: 500 0.875rem/1.2 Switzer, system-ui, sans-serif; color: inherit; cursor: pointer; border: 0; border-radius: 999px; padding: 0.45rem 2rem 0.45rem 0.8rem; max-width: 46vw; text-overflow: ellipsis;
  background: color-mix(in srgb, currentColor 9%, transparent) url("bilder/pfeil.svg") no-repeat right 0.75rem center / 0.65rem;
  transition: background-color 0.25s var(--weich); }
.wahl select option { color: #1f252b; }
.wahl:hover { border-color: color-mix(in srgb, currentColor 34%, transparent); }
.wahl select:hover { background-color: color-mix(in srgb, currentColor 15%, transparent); }
.abend .kopf { color: var(--hell); }
.abend .wahl { background: color-mix(in srgb, #0d1630 38%, transparent); }

/* Ohne Skript: ruhiges Startbild, die Begriffe als Liste, darunter Schlusssatz und Knöpfe */
.film { background: linear-gradient(var(--himmel), var(--horizont)); }
.buehne { padding: 6.5rem var(--rand) 4rem; }
#szene, .linie, .hinweis { display: none; }
.begriffe { list-style: none; margin: 0; padding: 0; }
.begriffe li { display: flex; align-items: baseline; gap: 1.25rem; padding: 0.55rem 0; }
.nr { font-size: 0.8rem; color: var(--leise); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; white-space: nowrap; }
.wort { font: 500 clamp(1.6rem, 3.4vw, 2.6rem)/1.05 var(--schrift); letter-spacing: -0.035em; }
.schluss { margin-top: 2.5rem; }
.satz { font: 500 clamp(1.5rem, 2.9vw, 2.6rem)/1.12 var(--schrift); letter-spacing: -0.03em; max-width: 17ch; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* Knöpfe: klare Zustände für Ruhe, Überfahren, Gedrückt und Fokus. Nichts wackelt. */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: 0 1.5rem; font: 500 1rem/1 Switzer, system-ui, sans-serif; text-decoration: none; border-radius: 999px; color: var(--grund); background: var(--text); border: 1px solid var(--text);
  transition: background-color 0.25s var(--weich), color 0.25s var(--weich), border-color 0.25s var(--weich), transform 0.15s var(--weich), box-shadow 0.25s var(--weich); }
.knopf:hover { background: #2c343c; border-color: #2c343c; box-shadow: 0 6px 22px -10px rgba(15, 20, 30, 0.55); }
.knopf:active { transform: scale(0.975); }
.knopf--leise { color: inherit; background: transparent; border-color: color-mix(in srgb, currentColor 32%, transparent); }
.knopf--leise:hover { background: color-mix(in srgb, currentColor 9%, transparent); border-color: color-mix(in srgb, currentColor 60%, transparent); box-shadow: none; }
.weiter { display: inline-flex; margin-top: 2.2rem; opacity: 0.7; transition: opacity 0.25s var(--weich), transform 0.4s var(--weich); }
.weiter:hover { opacity: 1; transform: translateY(3px); }
@media (pointer: coarse) { .knopf { min-height: 3.1rem; } .wahl select { padding-block: 0.6rem; } }

/* Mit Skript: der Abschnitt wird zur Bühne, natives Scrollen treibt den Film */
.mit-film .film { height: var(--film, 990vh); }
.mit-film .buehne { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; background: var(--horizont) url("bilder/poster-start-quer.webp") center / cover; }
.mit-film .poster { display: none; }
.mit-film #szene { display: block; position: absolute; inset: 0 0 auto; width: 100%; height: 100vh; height: 100lvh; opacity: 0; transition: opacity 0.9s var(--weich); }
.bereit #szene { opacity: 1; }

/* Begriffe: groß, ruhig, links im Himmel. Die Buchstaben kommen weich von unten, erst unscharf, dann scharf, gestaffelt. */
.mit-film .begriffe { position: absolute; left: var(--rand); top: 17vh; width: min(44vw, 46rem); color: var(--text); transition: color 0.9s var(--weich), text-shadow 0.9s var(--weich);
  text-shadow: 0 0 0.2em rgba(255, 245, 236, calc(var(--hof, 0) * 0.6)), 0 0 0.6em rgba(255, 245, 236, calc(var(--hof, 0) * 0.65)), 0 0 1.4em rgba(255, 245, 236, calc(var(--hof, 0) * 0.6)); }
.mit-film .begriffe li { position: absolute; inset: 0 auto auto 0; display: block; padding: 0; visibility: hidden; transition: visibility 0s 0.45s; }
.mit-film .begriffe li.an { visibility: visible; transition: none; }
.mit-film .nr { display: block; margin-bottom: 1rem; color: inherit; opacity: 0; transition: opacity 0.35s var(--weich); }
.mit-film li.an .nr { opacity: 0.66; transition: opacity 0.7s var(--weich) 0.1s; }
.mit-film .wort { display: block; font-size: clamp(2.8rem, 6.6vw, 8rem); line-height: 0.96; letter-spacing: -0.045em; }
.teil { display: inline-block; white-space: nowrap; }
.teil i { display: inline-block; font-style: normal; opacity: 0; transform: translateY(0.3em); filter: blur(10px); transition: opacity 0.3s var(--weich), transform 0.3s var(--weich), filter 0.3s var(--weich); will-change: transform, opacity, filter; }
li.an .teil i { opacity: 1; transform: none; filter: none; transition: opacity 0.75s var(--weich) calc(var(--i) * 28ms + 80ms), transform 0.9s var(--weich) calc(var(--i) * 28ms + 80ms), filter 0.75s var(--weich) calc(var(--i) * 28ms + 80ms); }
.ihr { display: block; margin-top: 1.1rem; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; opacity: 0; transition: opacity 0.35s var(--weich); }
li.an .ihr { opacity: 1; transition: opacity 0.7s var(--weich) 0.5s; }
li.mein .wort, li.mein .ihr { color: color-mix(in srgb, var(--akzent) calc(var(--kraft, 1) * 100%), var(--text)); transition: color 0.6s var(--weich); }

.mit-film .linie { display: block; position: absolute; left: var(--rand); top: calc(17vh - 1.4rem); width: 7rem; height: 1px; color: var(--text); background: color-mix(in srgb, currentColor 20%, transparent); transition: color 0.9s var(--weich), opacity 0.5s var(--weich); }
.linie i { display: block; height: 100%; background: currentColor; transform-origin: 0 50%; transform: scaleX(0); }
.mit-film .hinweis { display: block; position: absolute; left: var(--rand); bottom: 2rem; max-width: none; font-size: 0.85rem; color: var(--leise); transition: opacity 0.6s var(--weich); }
.unterwegs .hinweis { opacity: 0; }

/* Abend: helle Schrift, ein weicher Schatten hält den Kontrast auch in der Dämmerung */
.abend .begriffe, .abend .linie { color: var(--hell); }
.abend .begriffe, .abend .satz { text-shadow: 0 0 0.2em rgba(8, 12, 28, 0.6), 0 0 0.6em rgba(8, 12, 28, 0.65), 0 0 1.4em rgba(8, 12, 28, 0.6); }
.abend li.mein .wort, .abend li.mein .ihr { color: color-mix(in srgb, var(--akzent-hell) calc(var(--kraft, 1) * 100%), var(--hell)); }

/* Schlussbild nach dem letzten Band */
.mit-film .schluss { position: absolute; left: var(--rand); top: 17vh; margin: 0; width: min(44vw, 40rem); color: var(--hell); opacity: 0; visibility: hidden; transform: translateY(0.8rem); transition: opacity 0.5s var(--weich), transform 0.5s var(--weich), visibility 0s 0.5s; }
.am-ende .schluss { opacity: 1; visibility: visible; transform: none; transition: opacity 0.9s var(--weich) 0.15s, transform 1s var(--weich) 0.15s; }
.am-ende .linie { opacity: 0; }
.mit-film .satz { font-size: clamp(1.9rem, 3.7vw, 4rem); line-height: 1.04; letter-spacing: -0.04em; max-width: 16ch; }
.mit-film .schluss .knopf { color: #1f252b; background: var(--hell); border-color: var(--hell); }
.mit-film .schluss .knopf:hover { background: #fff; border-color: #fff; box-shadow: 0 8px 28px -10px rgba(0, 0, 0, 0.6); }
.mit-film .schluss .knopf--leise { color: inherit; background: color-mix(in srgb, #0d1630 30%, transparent); border-color: color-mix(in srgb, currentColor 36%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mit-film .schluss .knopf--leise:hover { background: color-mix(in srgb, #0d1630 10%, transparent); border-color: color-mix(in srgb, currentColor 70%, transparent); box-shadow: none; }

/* Hochformat: Haus im unteren Drittel, Begriffe oben */
@media (orientation: portrait) {
  .mit-film .buehne { background-image: url("bilder/poster-start-hoch.webp"); }
  .mit-film .begriffe, .mit-film .schluss { top: 15svh; width: calc(100% - 2 * var(--rand)); }
  .mit-film .linie { top: calc(15svh - 1.2rem); }
  .mit-film .wort { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .mit-film .satz { font-size: clamp(1.7rem, 7.4vw, 2.3rem); max-width: 15ch; }
  .wahl span { display: none; }
  .wahl { padding-left: 0.35rem; }
}

/* Standbild-Modus für das Skript: nur die Szene */
.standbild .kopf, .standbild .banner, .standbild .handyknopf, .standbild .begriffe, .standbild .linie, .standbild .hinweis, .standbild .schluss { display: none; }
.standbild #szene { transition: none; }



/* ───────── Die Seite unter dem Film ───────── */

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
img { display: block; max-width: 100%; height: auto; }
h3 { font: 500 1.2rem/1.2 var(--schrift); letter-spacing: -0.02em; margin: 0 0 0.45rem; }
.sprung { position: fixed; z-index: 9; left: 1rem; top: -4rem; padding: 0.6rem 1rem; background: var(--text); color: var(--grund); border-radius: 0.5rem; transition: top 0.2s var(--weich); }
.sprung:focus { top: 0.6rem; }

/* Banner: sagt ehrlich, was diese Seite ist */
.banner { position: fixed; z-index: 6; inset: 0 0 auto; margin: 0; max-width: none; padding: 0.42rem var(--rand); font-size: 0.74rem; line-height: 1.35; text-align: center; color: #f3f1ec; background: #1f252b; }

/* Kopfzeile: über dem Film durchscheinend, über der Seite auf festem Grund */
.kopf::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: color-mix(in srgb, var(--grund) 82%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--haar); transition: opacity 0.4s var(--weich), background-color 0.4s var(--weich), border-color 0.4s var(--weich); }
.auf-seite .kopf::before { opacity: 1; }
/* ohne Film läuft das Schlussbild unter der Kopfzeile durch: fester Grund von Anfang an */
.ohne-film .kopf::before { opacity: 1; }
@media (scripting: none) { .kopf::before { opacity: 1; } }
.in-nacht .kopf::before { opacity: 1; }
.in-nacht .kopf::before, .abend:not(.auf-seite) .kopf::before { background: color-mix(in srgb, #050914 74%, transparent); border-bottom-color: rgba(246, 243, 238, 0.1); }
.in-nacht .kopf { color: var(--hell); }
.in-nacht .wahl { background: color-mix(in srgb, #0d1630 38%, transparent); }
.auf-seite .kopf, .auf-seite.abend .kopf { color: var(--text); }
.auf-seite.abend .wahl { background: color-mix(in srgb, var(--grund) 34%, transparent); }
.haupt { display: flex; gap: clamp(0.9rem, 2vw, 1.9rem); margin-left: auto; font-size: 0.9rem; }
.haupt a { position: relative; padding: 0.4rem 0; text-decoration: none; opacity: 0.82; transition: opacity 0.25s var(--weich); }
.haupt a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.15rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.35s var(--weich); }
.haupt a:hover { opacity: 1; }
.haupt a:hover::after { transform: scaleX(1); }
.menueknopf { display: none; }
.knopf--klein { min-height: 2.3rem; padding: 0 1.05rem; font-size: 0.9rem; }
.abend:not(.auf-seite) .knopf--klein, .in-nacht .knopf--klein { color: #1f252b; background: var(--hell); border-color: var(--hell); }
.knopf--hell { color: #1f252b; background: var(--hell); border-color: var(--hell); }
.knopf--hell:hover { background: #fff; border-color: #fff; }
.poster img { width: 100%; border-radius: 1rem; margin-bottom: 2rem; }

:root { --haar: rgba(31, 37, 43, 0.12); --karte: #faf9f6; --getoent: #ebe8e1; --nacht: #0b1228; --abendlicht: #c9803f; }
.abschnitt { position: relative; z-index: 1; padding: clamp(4.5rem, 10vw, 9rem) 0; background: var(--grund); }
.getoent { background: var(--getoent); }
.innen { width: min(100% - 2 * var(--rand), 76rem); margin-inline: auto; }
.schmal { width: min(100% - 2 * var(--rand), 48rem); }
.zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.kopfzeile { margin-bottom: clamp(2.2rem, 5vw, 4rem); }
.abschnitt h2 { font-size: clamp(2rem, 4.6vw, 3.7rem); line-height: 1.02; letter-spacing: -0.04em; max-width: 18ch; margin-bottom: 1.2rem; text-wrap: balance; }
.abschnitt p + p { margin-top: 1rem; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-bottom: 1.1rem; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--leise); }
.vorspann { font-size: 1.15rem; color: var(--leise); max-width: 46ch; }
.mitte { max-width: none; text-align: center; margin-top: clamp(2rem, 5vw, 3.5rem); }
/* Paket-Etikett: klein und ehrlich am Rand */
.etikett { padding: 0.2rem 0.6rem; font-size: 0.7rem; letter-spacing: 0.04em; text-transform: none; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 999px; }
.bildmarke, .marke-beispiel { font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.18rem 0.5rem; border-radius: 999px; }
.bildmarke { position: absolute; right: 0.7rem; bottom: 0.7rem; color: #f3f1ec; background: rgba(15, 20, 30, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.marke-beispiel { color: var(--leise); border: 1px solid var(--haar); vertical-align: 0.1em; margin-left: 0.4rem; }

/* Einblendungen: kurzer Weg, einmal, in Reihen gestaffelt */
.js [data-ein] { opacity: 0; transform: translateY(0.9rem); transition: opacity 0.65s var(--weich), transform 0.65s var(--weich); }
.js [data-ein].da, .js [data-ein]:focus-within { opacity: 1; transform: none; }
.js li[data-ein]:nth-child(2) { transition-delay: 70ms; } .js li[data-ein]:nth-child(3) { transition-delay: 140ms; }
.js li[data-ein]:nth-child(4) { transition-delay: 210ms; } .js li[data-ein]:nth-child(5) { transition-delay: 280ms; } .js li[data-ein]:nth-child(6) { transition-delay: 350ms; }

/* 3 · Nur für Ihr Gewerk: schließt dunkel an die blaue Stunde an, danach läuft der Himmel lang in den Seitengrund aus */
.nacht { color: var(--hell); background: linear-gradient(#050914, var(--nacht) 22rem); padding-top: clamp(5rem, 12vw, 10rem); }
.nacht .kicker, .nacht .vorspann { color: color-mix(in srgb, var(--hell) 72%, transparent); }
.uebergang { position: relative; z-index: 1; height: clamp(10rem, 36vh, 22rem); background: linear-gradient(var(--nacht), #2b3f6a 30%, #8f8fa6 58%, #dcd5cc 82%, var(--grund)); }
.kacheln { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.8rem, 1.6vw, 1.4rem); }
.kachel { position: relative; display: block; overflow: hidden; border-radius: 1.1rem; text-decoration: none; color: #f6f3ee; background: #0f1830; aspect-ratio: 10 / 7; box-shadow: 0 0 0 1px rgba(246, 243, 238, 0.1); transition: box-shadow 0.35s var(--weich), transform 0.2s var(--weich); }
.kachel img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--weich); }
.kachel__text { position: absolute; inset: auto 0 0; padding: 3.2rem 1.2rem 1.1rem; font-size: 0.92rem; line-height: 1.4; background: linear-gradient(transparent, rgba(5, 9, 20, 0.86) 62%); }
.kachel__text strong { display: block; font: 500 1.35rem/1.15 var(--schrift); letter-spacing: -0.025em; margin-bottom: 0.25rem; }
.kachel:active { transform: scale(0.985); }
.kachel[aria-current] { box-shadow: 0 0 0 1.5px var(--a); }

/* 4 · Auf einen Blick */
.zusagen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--haar); }
.zusagen li { padding: 1.8rem 1.6rem 0.4rem 0; display: grid; gap: 0.5rem; align-content: start; }
.zusagen li + li { padding-left: 1.6rem; border-left: 1px solid var(--haar); }
.zusagen svg { width: 1.9rem; height: 1.9rem; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 0.6rem; color: var(--abendlicht); }
.zusagen strong { font: 500 1.15rem/1.2 var(--schrift); letter-spacing: -0.02em; }
.zusagen span { color: var(--leise); font-size: 0.98rem; }

/* 5 · Leistungen: Standbild aus der Szene, beim Überfahren ein Hauch Zoom und der Lichtsaum in Akzentfarbe */
.karten, .galerie, .stellen, .stimmen, .schritte { list-style: none; margin: 0; padding: 0; }
.karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 2.6vw, 2.4rem) clamp(1rem, 2vw, 1.6rem); }
.karte__bild, .galerie li, .schieber { position: relative; display: block; overflow: hidden; border-radius: 1rem; background: var(--getoent); box-shadow: 0 0 0 1px var(--haar); transition: box-shadow 0.35s var(--weich); }
.karte__bild { aspect-ratio: 16 / 10; margin-bottom: 1.1rem; }
.karte__bild img, .galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--weich); }
.karte p { color: var(--leise); font-size: 0.98rem; }
.galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.8rem, 1.6vw, 1.4rem); margin-top: clamp(0.8rem, 1.6vw, 1.4rem); }
.galerie li { aspect-ratio: 4 / 3; }
@media (hover: hover) {
  .karte:hover .karte__bild, .galerie li:hover { box-shadow: 0 0 0 1.5px var(--akzent-saum, var(--abendlicht)); }
  .karte:hover img, .galerie li:hover img, .kachel:hover img { transform: scale(1.03); }
  .kachel:hover { box-shadow: 0 0 0 1.5px var(--a); }
}

/* 6 · Notdienst */
.notdienst { position: relative; z-index: 1; padding: 1.6rem 0; color: var(--hell); background: var(--text); }
.notdienst[hidden] { display: none; }
.notdienst .innen { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.6rem 2rem; }
.notdienst p { max-width: none; }
.notdienst strong { font: 500 1.1rem var(--schrift); margin-right: 1rem; }
.nummer { font: 500 clamp(1.5rem, 3vw, 2.1rem) var(--schrift); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.notdienst .marke-beispiel { color: inherit; border-color: rgba(246, 243, 238, 0.35); }
.klein { font-size: 0.9rem; opacity: 0.75; }

/* 7 · Ablauf: die Linie zeichnet sich beim Scrollen von Schritt zu Schritt */
.schritte { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; padding-top: 2.6rem; }
.schritte::before, .schritte::after { content: ""; position: absolute; left: 0; right: 0; top: 0.95rem; height: 1px; background: var(--haar); }
.schritte::after { background: var(--text); transform-origin: 0 50%; transform: scaleX(var(--zug, 0)); transition: transform 0.25s linear; }
.schritt__nr { position: absolute; top: 0; display: grid; place-items: center; width: 1.95rem; height: 1.95rem; margin-top: 0; font: 500 0.85rem var(--schrift); font-variant-numeric: tabular-nums; color: var(--leise); background: var(--grund); border: 1px solid var(--haar); border-radius: 50%; z-index: 1; transition: color 0.4s var(--weich), background-color 0.4s var(--weich), border-color 0.4s var(--weich); }
.schritte li.erreicht .schritt__nr { color: var(--grund); background: var(--text); border-color: var(--text); }
.schritte p { color: var(--leise); font-size: 0.98rem; }

/* 8 · Projekte: Vorher-Nachher-Schieber für Maus, Finger und Tastatur */
.schieber { aspect-ratio: 16 / 10; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.schieber img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.schieber__vorher { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.schieber__marke { position: absolute; top: 0.8rem; padding: 0.25rem 0.7rem; font-size: 0.78rem; color: #f3f1ec; background: rgba(15, 20, 30, 0.55); border-radius: 999px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.schieber__marke--l { left: 0.8rem; } .schieber__marke--r { right: 0.8rem; }
.schieber__griff { position: absolute; top: 0; bottom: 0; left: var(--x); width: 1px; background: rgba(255, 255, 255, 0.9); box-shadow: 0 0 0 0.5px rgba(15, 20, 30, 0.25); pointer-events: none; }
.schieber__griff svg { position: absolute; top: 50%; left: 50%; width: 2.9rem; height: 2.9rem; padding: 0.75rem; transform: translate(-50%, -50%); fill: none; stroke: #1f252b; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; background: #fff; border-radius: 50%; box-shadow: 0 6px 22px -6px rgba(15, 20, 30, 0.5); transition: transform 0.2s var(--weich); }
.schieber.zieht .schieber__griff svg { transform: translate(-50%, -50%) scale(0.93); }
.schieber__regler { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.schieber:has(.schieber__regler:focus-visible) { outline: 2px solid var(--text); outline-offset: 3px; }

/* 9, 12, 14 · Platzhalter, die sagen, was hier später steht */
.platz { display: grid; place-items: center; min-height: 18rem; color: var(--leise); font-size: 0.95rem; border: 1px dashed color-mix(in srgb, var(--text) 26%, transparent); border-radius: 1rem; background: repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--text) 3.5%, transparent) 14px 15px); }
.platz--foto { aspect-ratio: 4 / 3; min-height: 0; }      /* ohne Mindesthöhe, sonst drückt das Seitenverhältnis die Breite über den Bildschirm */
.platz--karte { min-height: 11rem; margin-top: 1.8rem; }
.stimmen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.8rem, 1.6vw, 1.4rem); }
.stimmen li { display: grid; gap: 0.7rem; padding: 1.6rem; border-radius: 1rem; background: var(--karte); box-shadow: 0 0 0 1px var(--haar); }
.stimmen i { display: block; height: 0.7rem; border-radius: 999px; background: color-mix(in srgb, var(--text) 9%, transparent); }
.stimmen i:nth-child(2) { width: 82%; } .stimmen i:nth-child(3) { width: 46%; }

/* 10 · Jobs und 14 · Kontakt: Formulare */
.stellen { margin-top: 2rem; border-top: 1px solid var(--haar); }
.stellen li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.2rem 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--haar); }
.stellen strong { font-weight: 500; }
.stellen span, .wege dt { color: var(--leise); font-size: 0.9rem; }
.formular { display: grid; gap: 1.1rem; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 1.2rem; background: var(--karte); box-shadow: 0 0 0 1px var(--haar), 0 24px 60px -40px rgba(15, 20, 30, 0.35); }
.formular label { display: grid; gap: 0.4rem; font-size: 0.92rem; font-weight: 500; }
.formular small { font-weight: 400; color: var(--leise); }
.formular input:not([type=file]), .formular select, .formular textarea { width: 100%; font: 400 1rem/1.4 Switzer, system-ui, sans-serif; color: var(--text); padding: 0.8rem 0.9rem; background: #fff; border: 1px solid color-mix(in srgb, var(--text) 22%, transparent); border-radius: 0.65rem; transition: border-color 0.2s var(--weich), box-shadow 0.2s var(--weich); }
.formular input:hover, .formular select:hover, .formular textarea:hover { border-color: color-mix(in srgb, var(--text) 45%, transparent); }
.formular input:focus-visible, .formular select:focus-visible, .formular textarea:focus-visible { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--text) 14%, transparent); }
.formular select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; background: #fff url("bilder/pfeil.svg") no-repeat right 0.9rem center / 0.7rem; }
.formular input[type=file] { font-size: 0.9rem; color: var(--leise); }
.formular input[type=file]::file-selector-button { font: 500 0.9rem Switzer, system-ui, sans-serif; color: var(--text); margin-right: 0.8rem; padding: 0.55rem 0.95rem; background: transparent; border: 1px solid color-mix(in srgb, var(--text) 30%, transparent); border-radius: 999px; cursor: pointer; transition: background-color 0.25s var(--weich), border-color 0.25s var(--weich); }
.formular input[type=file]::file-selector-button:hover { background: color-mix(in srgb, var(--text) 7%, transparent); border-color: color-mix(in srgb, var(--text) 55%, transparent); }
.formular .knoepfe { margin-top: 0.4rem; }
.formular button { cursor: pointer; font-family: inherit; }
.beispielhinweis { margin: 0; padding: 0.7rem 0.9rem; font-size: 0.88rem; color: var(--leise); border: 1px solid var(--haar); border-radius: 0.65rem; transition: background-color 0.5s var(--weich), color 0.5s var(--weich), border-color 0.5s var(--weich); }
.gemeldet .beispielhinweis { color: var(--text); background: color-mix(in srgb, var(--abendlicht) 16%, transparent); border-color: color-mix(in srgb, var(--abendlicht) 55%, transparent); }
.wege { margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 2rem; }
.wege dd { margin: 0.15rem 0 0; font-variant-numeric: tabular-nums; }

/* 13 · Häufige Fragen */
.fragen { border-top: 1px solid var(--haar); }
.fragen details { border-bottom: 1px solid var(--haar); }
.fragen summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.25rem 0; font: 500 1.15rem/1.3 var(--schrift); letter-spacing: -0.015em; cursor: pointer; list-style: none; transition: color 0.25s var(--weich); }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ""; flex: none; width: 0.7rem; height: 0.7rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-0.2rem) rotate(45deg); transition: transform 0.35s var(--weich); }
.fragen details[open] summary::after { transform: translateY(0.1rem) rotate(225deg); }
.fragen summary:hover { color: color-mix(in srgb, var(--text) 68%, transparent); }
.fragen details p { padding: 0 0 1.4rem; color: var(--leise); max-width: 58ch; }

/* 15 · Fuß */
.fuss { position: relative; z-index: 1; padding: 3.5rem 0 6.5rem; color: color-mix(in srgb, var(--hell) 78%, transparent); background: var(--text); font-size: 0.9rem; }
.fuss .marke { color: var(--hell); margin-bottom: 1rem; }
.fuss__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; margin-top: 1.4rem; }
.fuss a { text-underline-offset: 0.2em; transition: color 0.25s var(--weich); }
.fuss a:hover { color: var(--hell); }

/* Fester Knopf auf dem Handy und der Hinweis-Dialog */
.handyknopf { display: none; }
.dialog { width: min(100% - 2rem, 30rem); padding: clamp(1.6rem, 4vw, 2.4rem); color: var(--text); background: var(--grund); border: 0; border-radius: 1.3rem; box-shadow: 0 40px 100px -30px rgba(5, 9, 20, 0.7); }
.dialog::backdrop { background: rgba(8, 12, 28, 0.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dialog h2 { font-size: 1.7rem; }
.dialog[open] { animation: auf 0.35s var(--weich); }
@keyframes auf { from { opacity: 0; transform: translateY(0.8rem) scale(0.985); } }

/* Schmale Bildschirme: jeder Abschnitt kurz, Karten zum Wischen */
@media (max-width: 60rem) {
  /* Sprungmenü: zwei Striche, die zum Kreuz werden. Die Abschnitte klappen unter der Kopfzeile auf, auf dem Grund, den sie gerade hat. */
  .marke { margin-right: auto; }
  .js .menueknopf { order: 9; display: inline-grid; place-content: center; gap: 0.36rem; flex: none; width: 2.6rem; height: 2.6rem; padding: 0; color: inherit; cursor: pointer; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); border-radius: 50%; background: color-mix(in srgb, currentColor 6%, transparent); -webkit-tap-highlight-color: transparent; transition: border-color 0.3s var(--weich), background-color 0.3s var(--weich), transform 0.15s var(--weich); }
  .menueknopf:hover { border-color: color-mix(in srgb, currentColor 34%, transparent); }
  .menueknopf:active { transform: scale(0.94); }
  .menueknopf i { display: block; width: 1.05rem; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform 0.4s var(--weich); }
  .menue-offen .menueknopf i:first-child { transform: translateY(calc(0.18rem + 0.75px)) rotate(45deg); }
  .menue-offen .menueknopf i:last-child { transform: translateY(calc(-0.18rem - 0.75px)) rotate(-45deg); }
  .menue-offen .kopf::before { opacity: 1; }
  .haupt { position: absolute; inset: 100% 0 auto; display: grid; margin: 0; padding: 0 var(--rand) 0.9rem; font: 500 1.3rem/1 var(--schrift); letter-spacing: -0.02em; background: color-mix(in srgb, var(--grund) 94%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--haar); box-shadow: 0 24px 40px -28px rgba(5, 9, 20, 0.45); opacity: 0; visibility: hidden; transform: translateY(-0.5rem); transition: opacity 0.3s var(--weich), transform 0.3s var(--weich), visibility 0s 0.3s; }
  .in-nacht .haupt, .abend:not(.auf-seite) .haupt { background: color-mix(in srgb, #050914 90%, transparent); border-bottom-color: rgba(246, 243, 238, 0.1); }
  .menue-offen .haupt { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .haupt a { padding: 1.1rem 0; opacity: 1; border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent); }
  .haupt a:first-child { border-top: 0; }
  .haupt a::after { content: none; }
  .zwei { grid-template-columns: minmax(0, 1fr); }
  .zusagen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zusagen li:nth-child(3) { border-left: 0; padding-left: 0; }
  .zusagen li:nth-child(n + 3) { border-top: 1px solid var(--haar); }
  .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .kopf .knopf--klein { display: none; }
  .kopf { gap: 0.6rem; }
  .wahl select { max-width: 38vw; }
  .karten, .stimmen, .galerie { display: flex; gap: 0.9rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--rand)); padding: 0.2rem var(--rand) 0.8rem; scrollbar-width: none; }
  .karten::-webkit-scrollbar, .stimmen::-webkit-scrollbar, .galerie::-webkit-scrollbar { display: none; }
  .karten > li, .stimmen > li, .galerie > li { flex: 0 0 82%; scroll-snap-align: center; }
  .kacheln { grid-template-columns: 1fr; }
  .kachel { aspect-ratio: 16 / 10; }
  .schritte { grid-template-columns: 1fr; gap: 1.6rem; padding: 0 0 0 3.2rem; }
  .schritte::before, .schritte::after { left: 0.95rem; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .schritte::after { transform-origin: 50% 0; transform: scaleY(var(--zug, 0)); }
  .schritte li { position: relative; }
  .schritt__nr { left: -3.2rem; }
  .wege { grid-template-columns: 1fr; }
  .schieber { aspect-ratio: 4 / 3; }
  .handyknopf { display: inline-flex; position: fixed; z-index: 5; left: var(--rand); right: var(--rand); bottom: calc(0.9rem + env(safe-area-inset-bottom)); box-shadow: 0 14px 40px -12px rgba(5, 9, 20, 0.6); opacity: 0; pointer-events: none; transform: translateY(0.6rem); transition: opacity 0.4s var(--weich), transform 0.4s var(--weich), background-color 0.25s var(--weich); }
  .auf-seite .handyknopf { opacity: 1; pointer-events: auto; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-ein] { opacity: 1; transform: none; }
}
@media print { .js [data-ein] { opacity: 1; transform: none; } .banner, .kopf, .handyknopf { position: static; } }
