/* Moontech Labs · premium-v2 «Der Mond» (07.10.2026)
   Design-Plan 02_Design/premium-v2/design-plan.md (baut auf premium-v1) · Partitur partitur.md
   Aufbau: Tokens · Basis · Knöpfe · Kopf und CTA · Bühne · Szene (Hero, Wort, Zeilen, Ring, Lünette, Schlusskarte) ·
           Ausweich-Kapitel · Leiter (Vitrinen) · KI · Partner · Beweis · Fragen · Finale · Ausweichfassung · Breiten */

@font-face { font-family: "Jost"; src: url("../fonts/jost-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --ink: #141A2E;
  --night: #0C1020;
  --kalk: #F2F1EE;
  --moon: #E8ECF3;
  --lamp: #E6A25C;
  --lamp-ink: #8A5216;
  --muted: #565C70;
  --muted-on-dark: #B9C0D2;
  --line: rgba(20, 26, 46, .14);
  --line-on-dark: rgba(232, 236, 243, .18);
  --font: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --out: cubic-bezier(.25, 1, .5, 1);
  --inout: cubic-bezier(.76, 0, .24, 1);
  --gutter: clamp(16px, 4.2vw, 64px);
  --wrap: 1320px;
  --head-h: 76px;
  --frame: clamp(8px, 1vw, 16px);
  --radius: clamp(16px, 1.6vw, 26px);
  --inset: clamp(20px, 3.4vw, 60px);
  --len: 840svh;    /* Szene: 350 Abstieg + 290 Stadt + 1,0 Halt + Bühne (scene.js liest die Höhe; kein Stand am Ende seit 12.10.) */
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; background: var(--kalk); scroll-padding-top: calc(var(--head-h) + var(--frame) + 12px); scroll-padding-bottom: 24px; }   /* Fokus nie unter dem festen Kopf (Prüfung 08.10.) */
body {
  margin: 0; background: var(--kalk); color: var(--ink);
  font-family: var(--font); font-size: clamp(16px, .45vw + 11px, 18px); line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }
svg use { pointer-events: none; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.h2 { font-size: clamp(34px, 3.4vw, 60px); line-height: 1.02; letter-spacing: -.035em; }
.h2__sub { display: block; color: #5C6276; }
.link { display: inline-flex; align-items: center; gap: .5em; text-decoration: none; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link svg { width: 1.1em; height: 1.1em; transition: transform .5s var(--out); }
.link:hover svg { transform: translateX(4px); }
.mail { unicode-bidi: plaintext; }

/* Glas: Kante statt Schatten */
.glass { background: rgba(246, 247, 250, .76); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .6); }
.glass--dark { background: rgba(16, 21, 40, .55); border-color: rgba(232, 236, 243, .16); color: var(--moon); }

/* ---------- Knöpfe ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-weight: 500; font-size: 16px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .3s, color .3s, border-color .3s; }
.btn svg { width: 18px; height: 18px; transition: transform .5s var(--out); }
.btn:hover svg { transform: translateX(4px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--moon); }
.btn--glass { background: rgba(232, 236, 243, .1); color: #fff; border-color: rgba(232, 236, 243, .3); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn--glass:hover { background: rgba(232, 236, 243, .2); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--line { background: transparent; color: var(--ink); border-color: currentColor; }
.btn--line:hover { background: rgba(20, 26, 46, .06); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Kopf: im Rahmen der Bühne, über hellen Abschnitten dunkel ---------- */
.head {
  position: fixed; top: var(--frame); left: var(--frame); right: var(--frame); z-index: 60; height: var(--head-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 0 var(--inset);
  color: #F4F6FA; transition: color .45s var(--out); pointer-events: none;
}
.head > * { pointer-events: auto; }
.head.is-ink { color: var(--ink); }
.head__logo { justify-self: start; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.head__mark { width: 28px; height: 28px; display: grid; place-items: center; }
.head__mark svg { width: 28px; height: 28px; }
.head__name { font-size: 17px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
/* Logo im Kopf 40 % grösser (Entscheid 08.10.): Sichel 28 → 39 px, Schriftzug 17 → 24 px */
.head__logo { gap: 14px; }
.head__logo .head__mark, .head__logo .head__mark svg { width: 39px; height: 39px; }
.head__logo .head__name { font-size: 24px; }
@media (max-width: 440px) {   /* Handy hoch: alte Grösse, sonst schiebt das Logo den Gesprächsknopf aus dem Bild */
  .head__logo { gap: 10px; }
  .head__logo .head__mark, .head__logo .head__mark svg { width: 28px; height: 28px; }
  .head__logo .head__name { font-size: 17px; }
}
.head__nav ul { display: flex; gap: 2px; padding: 4px; list-style: none; border-radius: 999px; background: rgba(12, 16, 32, .34); border: 1px solid rgba(232, 236, 243, .16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background-color .45s, border-color .45s; }
.head__nav a { display: block; padding: 7px 17px; border-radius: 999px; font-size: 15px; font-weight: 500; line-height: 1.45; text-decoration: none; transition: background-color .2s, color .2s; }
.head__nav a:hover { background: var(--moon); color: var(--ink); }
/* Über hellen Abschnitten: schwebende Leiste aus Kalk-Glas, damit nichts unter dem Kopf durchscheint */
.head::before { content: ""; position: absolute; inset: 10px calc(var(--inset) * -.45); z-index: -1; border-radius: 999px; background: rgba(242, 241, 238, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(20, 26, 46, .07), 0 10px 30px -18px rgba(12, 16, 32, .3); opacity: 0; transition: opacity .45s var(--out); pointer-events: none; }
.head.is-ink::before { opacity: 1; }
.head.is-glass::before { opacity: 1; background: rgba(12, 16, 32, .72); box-shadow: 0 0 0 1px rgba(232, 236, 243, .08); }
.scene-off .head::before, .no-js .head::before { opacity: 1; background: rgba(12, 16, 32, .72); box-shadow: 0 0 0 1px rgba(232, 236, 243, .08); }   /* ohne Szene scrollt alles unter dem Kopf durch */
.scene-off .head.is-ink::before, .no-js .head.is-ink::before { background: rgba(242, 241, 238, .88); box-shadow: 0 0 0 1px rgba(20, 26, 46, .07), 0 10px 30px -18px rgba(12, 16, 32, .3); }
.head.is-ink .head__nav ul { background: transparent; border-color: transparent; }
.head.is-ink .head__nav a:hover { background: var(--ink); color: #fff; }
.head__pause { justify-self: end; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 1px solid currentColor; background: transparent; color: inherit; opacity: .8; }
.head__pause:hover { opacity: 1; }
.head__pause svg { width: 16px; height: 16px; }
.head__pause[hidden], .scene-off .head__pause, .no-js .head__pause { display: none; }
/* Sprachumschalter (Entscheid 08.10., Board 6 B): die andere Sprache als Kreis wie der Pause-Knopf, links vom Gesprächsknopf, auf allen Grössen sichtbar */
.lang { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; color: inherit; opacity: .8; font-size: 13px; font-weight: 500; letter-spacing: .06em; line-height: 1; text-decoration: none; transition: opacity .2s; }
.lang:hover { opacity: 1; }   /* ohne Szene bewegt sich nichts: kein Pause-Knopf nötig */
.i-play { display: none; }
.is-paused .i-pause { display: none; }
.is-paused .i-play { display: block; }

/* ---------- Der eine CTA: oben rechts im Kopf, auf Höhe der Navigation (Entscheid 07.10.) ---------- */
.head__end { justify-self: end; display: flex; align-items: center; gap: 10px; }
.cta { display: flex; align-items: center; gap: 4px; text-decoration: none; color: var(--ink); }
.cta__text { display: flex; align-items: baseline; gap: 9px; height: 46px; padding: 0 20px; border-radius: 999px; background: #fff; font-weight: 500; font-size: 15px; line-height: 46px; white-space: nowrap; transition: background-color .45s, color .45s; }
.cta__sub { font-size: 13px; color: var(--muted); transition: color .45s; }
.cta__short { display: none; }   /* englische Fassung: kurzes Wort, wenn «Discovery call» zu breit wird */
.cta__round { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; box-shadow: 0 0 0 1px rgba(232, 236, 243, .2); transition: background-color .45s, color .45s, box-shadow .45s; }
.cta__round svg { width: 18px; height: 18px; transition: transform .6s var(--out); }
.cta:hover .cta__round svg { transform: translate(2px, -2px); }
.cta:focus-visible { outline-offset: 4px; border-radius: 999px; }
/* Fokusring gegen den Grund, nicht in Schriftfarbe: helle Knöpfe stehen auf Nacht, Tinte-Knöpfe auf Kalk (Prüfung 08.10.) */
.btn--light:focus-visible, .btn--glass:focus-visible, .cta:focus-visible { outline-color: #fff; }
.btn--ink:focus-visible, .head.is-ink .cta:focus-visible { outline-color: var(--ink); }
.head.is-ink .cta__text { background: var(--ink); color: #fff; }   /* über hellen Abschnitten: Pille in Tinte, Kreis hell */
.head.is-ink .cta__sub { color: rgba(255, 255, 255, .7); }
.head.is-ink .cta__round { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(20, 26, 46, .16); }

/* ---------- Bühne: gerahmte Karte auf Kalk, klebt beim Scrollen ---------- */
.scene { position: relative; }
html:not(.scene-off):not(.no-js) .scene[data-scene] { height: calc(var(--len) + var(--ee, 0px)); }   /* --ee: Scrollverzögerung bei «Erster Eindruck» (scene.js) */
.stage {
  position: relative; margin: var(--frame); height: calc(100svh - 2 * var(--frame)); min-height: 34rem;
  border-radius: var(--radius); overflow: hidden; clip-path: inset(0 round var(--radius)); background: var(--night); color: #fff; isolation: isolate;
}
html:not(.scene-off):not(.no-js) .scene .stage { position: sticky; top: var(--frame); }
.stage::before { content: ""; position: absolute; inset: 0 0 auto; height: 150px; z-index: 3; pointer-events: none; background: linear-gradient(rgba(12, 16, 32, .55), rgba(12, 16, 32, 0)); }   /* Kopf bleibt über der hellen Oberfläche lesbar */
.scene-anchor { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; }

/* ---------- Szene: Mond ---------- */
.moon { position: absolute; inset: 0; z-index: 1; }
.moon canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.1s var(--out) .3s; }
.moon.is-ready canvas { opacity: 1; }
.moon.is-cut canvas { transition: none; }   /* Übergabe mitten im Scrollen: sofort, nie zwei Monde */
.moon-still { position: absolute; left: 50%; top: 52%; width: min(64vh, 40vw); height: auto; max-width: none; }
.moon-still[hidden] { display: none; }
/* Ladeauftritt aus dem Objekt: der Mond geht im Hero auf (Standbild), dann übernimmt die WebGL-Kugel an derselben Stelle */
.moon-still { animation: moonrise 1.6s var(--out) .1s both; }
@keyframes moonrise { from { transform: translateY(9%); opacity: 0; } }

/* Hero: Aussage unten links, Aufbau beim Laden einmal Wort für Wort aus der Maske */
/* Hero (Entscheide 08.10.): erst 30 % grösser, dann Text 10 % und alles nochmals 20 % kleiner; Handy und kleine Formate behalten die alten Masse (Block «Handy, Hochformat …») */
.hero__copy { position: absolute; z-index: 4; left: var(--inset); bottom: var(--inset); max-width: min(42rem, 47%); }
.hero h1 { font-size: clamp(41px, 4.4vw, 81px); line-height: 1; letter-spacing: -.04em; max-width: 11.5ch; color: #fff; }
.hero .lead { margin-top: 21px; color: var(--muted-on-dark); font-size: clamp(16px, 1.08vw, 18px); line-height: 1.6; max-width: 40ch; }
.hero .actions { margin-top: 31px; gap: 13px; }
.hero .actions .btn { height: 52px; padding: 0 25px; font-size: 17px; gap: 10px; }
.hero .actions .btn svg { width: 18px; height: 18px; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em 0 .14em; margin: -.06em 0 -.14em; }
.hero h1 .w > span { display: inline-block; animation: word .85s var(--out) .15s both; }
.hero h1 .w:nth-child(2) > span { animation-delay: .21s; }
.hero h1 .w:nth-child(3) > span { animation-delay: .27s; }
.hero h1 .w:nth-child(4) > span { animation-delay: .33s; }
.hero h1 .w:nth-child(5) > span { animation-delay: .39s; }
.hero h1 .w:nth-child(6) > span { animation-delay: .45s; }
.hero h1 .w:nth-child(7) > span { animation-delay: .51s; }
@keyframes word { from { transform: translateY(112%); } }
.fade { animation: fade .7s var(--out) both; }
.fade.d1 { animation-delay: .5s; } .fade.d2 { animation-delay: .62s; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }

/* «Erster Eindruck.» über die Bühnenbreite; die Mondscheibe ist aus der Schrift ausgespart (scene.js setzt --gx, --gy, --gr) */
.word {
  position: absolute; inset: 0; z-index: 2; margin: 0; display: grid; place-items: center; padding-bottom: 16vh;
  font-size: clamp(60px, 9.8vw, 190px); line-height: .9; letter-spacing: -.05em; white-space: nowrap; color: var(--moon);
  pointer-events: none; opacity: 0; visibility: hidden;
  -webkit-mask-image: radial-gradient(circle at var(--gx, 50%) var(--gy, 300%), transparent calc(var(--gr, 0px) - 1px), #000 calc(var(--gr, 0px) + 1px));
  mask-image: radial-gradient(circle at var(--gx, 50%) var(--gy, 300%), transparent calc(var(--gr, 0px) - 1px), #000 calc(var(--gr, 0px) + 1px));
}

/* Zeilen der Szene: oben links unter dem Kopf, eine zur Zeit, Verlauf kommt und geht mit dem Text */
.beat { position: absolute; z-index: 4; left: var(--inset); top: var(--head-top, 84px); margin: 0; max-width: min(52rem, 58%); color: #fff; text-shadow: 0 1px 2px rgba(12, 16, 32, .6), 0 0 18px rgba(12, 16, 32, .55); opacity: 0; pointer-events: none; }
.beat__a { display: block; font-size: clamp(34px, 3.4vw, 60px); line-height: 1.04; letter-spacing: -.03em; font-weight: 500; text-wrap: balance; }
.beat__b { display: block; max-width: 34rem; margin-top: 12px; font-size: clamp(18px, 1.3vw, 22px); line-height: 1.5; text-wrap: pretty; text-shadow: 0 1px 2px rgba(12, 16, 32, .75), 0 0 12px rgba(12, 16, 32, .7); }
.beat--center { left: 0; right: 0; margin-inline: auto; max-width: min(52rem, 80%); text-align: center; }
.beat--center .beat__b { margin-inline: auto; }
.beat--ring { max-width: min(30rem, 36%); }
html:not(.hoch) .scene { --beat-top: calc(var(--head-top, 84px) + clamp(16px, 4.5vh, 48px)); }   /* Zeilen oben links etwas weiter vom Logo (Entscheid 09.10.) */
html:not(.hoch) .scene .beat:not(.k-beat):not(.beat--center):not(.beat--ring) { top: var(--beat-top); }   /* die mittige über dem Wort bleibt */
/* Kapitel 2 am Desktop (Entscheid 12.10.): Zeilen vertikal in der Bühnenmitte; die letzte rutscht nach oben, wenn die Schlusskarte kommt (--s aus scene.js, 0 → 1) */
html:not(.hoch) .scene .beat--ring { top: calc(50% - var(--s, 0) * (50% - var(--beat-top))); translate: 0 calc(-50% * (1 - var(--s, 0))); left: calc(var(--inset) + (1 - var(--s, 0)) * max(0px, 64% - 340px - min(30rem, 36%) - var(--inset))); }   /* und nach rechts bis 64 px vor den Stapel (linke Kante gemessen bei 64 % − 277 px, 1280–1920 px Breite) */
.beat--ring .beat__a { font-size: clamp(30px, 2.9vw, 52px); }
.beat__a2 { display: block; color: var(--muted-on-dark); }
.end-scrim { position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: min(62%, 32rem); background: linear-gradient(rgba(12, 16, 32, .8), rgba(12, 16, 32, .42) 55%, rgba(12, 16, 32, 0)); pointer-events: none; opacity: 0; visibility: hidden; }
html:not(.hoch) .end-scrim::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: max(100lvh, 34rem); background: linear-gradient(90deg, rgba(12, 16, 32, .52), rgba(12, 16, 32, .44) 28%, rgba(12, 16, 32, .3) 44%, rgba(12, 16, 32, 0) 60%); opacity: var(--ring, 0); }   /* Kapitel 2: Verlauf links hinter den mittigen Zeilen, das ganze Kapitel über (kein Blitzen); --ring aus scene.js; volle Bühnenhöhe, sonst Kante bei hohen Fenstern (12.10.) */

/* Scroll-Hinweis: Glas-Pille mit Pfeil am Start und am Ende der Szene; der Pfeil nickt dreimal, dann steht er */
.cue { position: absolute; z-index: 4; left: 0; right: 0; bottom: var(--inset); width: max-content; margin: 0 auto; color: #fff; opacity: 0; visibility: hidden; pointer-events: none; }
.cue__pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px; border-radius: 999px; background: rgba(12, 16, 32, .55); border: 1px solid rgba(232, 236, 243, .18); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 17px; line-height: 1.2; letter-spacing: .04em; }
.cue__pill svg { width: 18px; height: 18px; }
.cue.is-on svg { animation: cue-nudge 1.6s var(--out) 3; }
@keyframes cue-nudge { 50% { transform: translateY(3px); } }

/* Ring um den Landeplatz «Ihre Firma»: Atlas-Schrift direkt auf der Oberfläche */
.mark { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.mark__halo { fill: none; stroke: rgba(12, 16, 32, .5); stroke-width: 4.5; }   /* dunkle Kante statt Schattenfilter: hält auf hellem Grund */
.mark__ring { fill: none; stroke: #fff; stroke-width: 1.75; }
.mark__dot { fill: var(--lamp); }
.mark__lead { stroke: #fff; stroke-width: 1; }
.mark__label { font-family: var(--font); font-weight: 500; font-size: 17px; letter-spacing: .06em; fill: #fff; paint-order: stroke; stroke: rgba(12, 16, 32, .62); stroke-width: 3.5px; stroke-linejoin: round; }

/* Kapitel 2 «Die Stadt geht an»: Lichter auf einer Leinwand über dem Mond, Namen als SVG (scene.js); Lampenlicht an den aktiven Quartieren */
.citylights { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; visibility: hidden; }
.citylayer { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; overflow: visible; visibility: hidden; }
.cl-name { font-family: var(--font); font-weight: 500; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; fill: #fff; paint-order: stroke; stroke: rgba(12, 16, 32, .7); stroke-width: 3px; stroke-linejoin: round; }
.cl-sub { font-family: var(--font); font-size: 14px; fill: var(--muted-on-dark); paint-order: stroke; stroke: rgba(12, 16, 32, .7); stroke-width: 3px; stroke-linejoin: round; }
.cl.is-on .cl-name { fill: #F2C08A; }

/* Schlusskarte unten links, wie die Aussage im Hero */
.endcard { position: absolute; z-index: 5; left: var(--inset); bottom: var(--inset); max-width: min(31rem, 40%); padding: clamp(20px, 1.7vw, 28px) clamp(22px, 1.9vw, 30px); border-radius: 24px; background: rgba(242, 241, 238, .9); color: var(--ink); border: 1px solid rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); opacity: 0; visibility: hidden; }
.endcard h2 { font-size: clamp(28px, 2.5vw, 44px); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.endcard p { margin-top: 10px; color: var(--muted); font-size: clamp(16px, 1.05vw, 18px); }
.endcard .actions { margin-top: 20px; gap: 8px; }
.endcard .btn { height: 46px; padding: 0 18px; font-size: 15px; }

/* Ausweich-Kapitel: nur ohne Szene sichtbar */
.static-chapter { display: none; }

/* ---------- Leiter: vier Vitrinen als Treppe ---------- */
.sec--leiter { position: relative; z-index: 2; background: var(--kalk); padding: clamp(96px, 14vh, 160px) 0 clamp(64px, 9vh, 110px); }
html:not(.scene-off):not(.no-js) .sec--leiter { margin-top: -100svh; }   /* gleitet über die stehende Bühne */
.ladder__head { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.ladder__lead { color: var(--muted); max-width: 34ch; }
.ladder__steps { --step: clamp(32px, 4.2vw, 74px); list-style: none; margin-top: clamp(44px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(20px, 2.2vw, 40px); align-items: start; }
.ladder__steps > li:nth-child(2) { margin-top: var(--step); }
.ladder__steps > li:nth-child(3) { margin-top: calc(2 * var(--step)); }
.ladder__steps > li:nth-child(4) { margin-top: calc(3 * var(--step)); }
.ladder__meta { display: flex; align-items: center; gap: 14px; margin-top: 24px; font-size: 15px; line-height: 1; letter-spacing: .04em; color: #5C6276; font-variant-numeric: tabular-nums; }
.ladder__meta::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .45; transform: scaleX(var(--lk, 1)); transform-origin: 0 50%; }
.ladder__steps h3 { margin-top: 10px; font-size: clamp(22px, 1.75vw, 30px); line-height: 1.15; letter-spacing: -.02em; }
.ladder__price { margin-top: 4px; font-weight: 500; color: var(--ink); }
.ladder__steps > li > p:not(.ladder__meta):not(.ladder__price) { margin-top: 8px; color: var(--muted); max-width: 30ch; }
.ladder__steps .actions { margin-top: 18px; }
.ladder__steps .btn { height: 46px; padding: 0 20px; font-size: 15px; }

/* Vitrine: dunkle, gerahmte Fläche wie die Bühne, Licht von oben; Masse in cqi */
.exhibit { --rad: calc(var(--radius) * .85); position: relative; container-type: inline-size; aspect-ratio: 1 / 1.12; border-radius: var(--rad); overflow: hidden; clip-path: inset(0 round var(--rad)); background: radial-gradient(120% 85% at 30% 6%, #232B4A 0%, #141A2E 50%, var(--night) 100%); box-shadow: 0 34px 56px -32px rgba(12, 16, 32, .55); isolation: isolate; }
.exhibit::before { content: ""; position: absolute; inset: 0; background: radial-gradient(58% 46% at 50% 36%, rgba(232, 236, 243, .14), rgba(232, 236, 243, 0) 72%); pointer-events: none; }
.exhibit::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(232, 236, 243, .08), inset 0 -9cqi 9cqi -7cqi rgba(0, 0, 0, .55); pointer-events: none; }
/* Deko-Schrift der Vitrinen und Nummern als CSS-Inhalt: sichtbar wie Text, aber nicht im Suchindex und nicht in KI-Auszügen (Entscheid 13.10.) */
[data-t]::before { content: attr(data-t); }
.ex-toc li[data-a]::after { content: attr(data-a); }
.ex__obj { position: absolute; z-index: 1; left: 14cqi; top: 17cqi; width: 72cqi; height: 101.8cqi; transform-origin: 50% 100%; transform: perspective(170cqi) translateY(calc((1 - var(--lk, 1)) * 34cqi + var(--par, 0) * 3cqi)) rotateX(calc((1 - var(--lk, 1)) * 28deg)); }
.ex__obj--wide { left: 8cqi; width: 84cqi; top: 24cqi; height: 90cqi; }
/* Unter der Maus neigt sich die Vitrine leicht, das Stück hebt sich; Klick führt wie der Knopf darunter zum Gespräch (Entscheid 07.10.) */
.exhibit { cursor: pointer; transform: perspective(1100px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(var(--lift, 0px)); transition: transform .7s var(--out), box-shadow .7s var(--out); }
.exhibit .ex__obj { translate: 0 var(--olift, 0px); transition: translate .7s var(--out); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .exhibit:hover { --lift: -8px; box-shadow: 0 46px 64px -30px rgba(12, 16, 32, .62); }
  .exhibit:hover .ex__obj { --olift: -2.4cqi; }
  .mf__ex.exhibit:hover { --lift: 0px; box-shadow: 0 34px 56px -32px rgba(12, 16, 32, .55); }
}
.ex-sheet { position: absolute; inset: 0; padding: 7cqi 6cqi; border-radius: .6cqi; background: #F7F7F5; color: var(--ink); font-size: max(11px, 3.4cqi); line-height: 1.35; box-shadow: 0 2cqi 4.5cqi rgba(0, 0, 0, .5), 0 .3cqi .8cqi rgba(0, 0, 0, .35); }
.ex__run { display: flex; justify-content: space-between; gap: 2cqi; padding-bottom: 2.2cqi; border-bottom: 1px solid rgba(20, 26, 46, .18); font-size: max(11px, 3cqi); line-height: 1.2; letter-spacing: .06em; color: #5C6276; white-space: nowrap; }
.ex__run span:first-child { font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.ex-lines i { display: block; height: 1.6cqi; width: var(--w, 90%); margin: 2.4cqi 0; background: var(--ink); opacity: .72; border-radius: 1px; }
/* 01 Gesprächsnotiz */
.ex-note__q { margin-top: 7cqi; font-size: 11cqi; line-height: 1.02; letter-spacing: -.03em; font-weight: 500; }
.ex-note__rec { position: absolute; left: 6cqi; right: 6cqi; bottom: 8cqi; display: grid; gap: 1.2cqi; padding-top: 3cqi; border-top: 1px solid rgba(20, 26, 46, .18); }
.ex-note__rec b { font-weight: 500; font-size: max(11px, 3cqi); letter-spacing: .12em; text-transform: uppercase; color: var(--lamp-ink); }
.ex-note__rec span { justify-self: start; font-size: max(11px, 4.6cqi); line-height: 1.25; background: linear-gradient(transparent 52%, rgba(230, 162, 92, .5) 52%, rgba(230, 162, 92, .5) 92%, transparent 92%); }   /* mit Leuchtstift markiert */
/* 02 Konzept: Deckblatt, zwei Blätter dahinter */
.ex-back { background: #EBEBE7; }
.ex-back--1 { transform: translate(4cqi, -2.6cqi) rotate(3deg); }
.ex-back--2 { transform: translate(7.5cqi, -4.6cqi) rotate(5.6deg); background: #E0E0DB; }
.ex-cover__t { margin-top: 9cqi; font-size: 12cqi; line-height: 1; letter-spacing: -.035em; font-weight: 500; }
.ex-toc { list-style: none; margin-top: 8cqi; border-top: 1px solid rgba(20, 26, 46, .18); }
.ex-toc li { display: grid; grid-template-columns: 5cqi minmax(0, 1fr); align-items: center; gap: 2cqi; padding: 1.9cqi 0; border-bottom: 1px dotted rgba(20, 26, 46, .35); font-size: max(11px, 3.3cqi); line-height: 1.2; color: #4A5064; font-variant-numeric: tabular-nums; }
.ex-toc .is-rec { color: var(--ink); font-weight: 500; }
.ex-toc .is-rec span { color: var(--lamp-ink); }
/* 03 Webseite: ein Browserfenster mit kleinem Hero */
.ex-browser { position: absolute; inset: 0; border-radius: 2.2cqi; overflow: hidden; background: #F7F7F5; box-shadow: 0 2.4cqi 5cqi rgba(0, 0, 0, .55), 0 .3cqi .8cqi rgba(0, 0, 0, .35); }
.ex-browser__bar { display: flex; align-items: center; gap: 1.4cqi; height: 8cqi; padding: 0 3cqi; background: #E4E4DF; font-size: max(11px, 2.8cqi); color: #4A5064; }
.ex-browser__bar i { width: 1.9cqi; height: 1.9cqi; border-radius: 50%; background: rgba(20, 26, 46, .28); }
.ex-browser__bar span { margin-left: 3cqi; padding: .6cqi 3cqi; border-radius: 99px; background: #F7F7F5; }
.ex-browser__hero { position: relative; height: 44cqi; margin: 2.4cqi; border-radius: 1.6cqi; overflow: hidden; background: radial-gradient(90% 90% at 20% 0%, #232B4A, var(--night)); }
.ex-browser__moon { position: absolute; right: -8cqi; bottom: -14cqi; width: 38cqi; height: 38cqi; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #E9E8E4, #B9B8B3 46%, #6E6E6B 70%, #2A2C33 86%); box-shadow: inset -5cqi -2cqi 7cqi rgba(12, 16, 32, .85); }
.ex-browser__h { position: absolute; left: 5cqi; bottom: 18cqi; width: 42cqi; height: 3.6cqi; border-radius: 2px; background: #fff; }
.ex-browser__h--2 { bottom: 12cqi; width: 30cqi; }
.ex-browser__btn { position: absolute; left: 5cqi; bottom: 4.5cqi; width: 16cqi; height: 4.6cqi; border-radius: 99px; background: var(--lamp); }
.ex-browser__rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqi; margin: 0 2.4cqi; }
.ex-browser__rows i { height: 22cqi; border-radius: 1.2cqi; background: #E4E4DF; }
/* 04 Quartalsbericht */
.ex-report__chart { display: flex; align-items: flex-end; gap: 2.4cqi; height: 34cqi; margin-top: 7cqi; padding-bottom: 1px; border-bottom: 1px solid rgba(20, 26, 46, .3); }
.ex-report__chart i { flex: 1; height: calc(var(--h) * var(--lk, 1)); background: var(--ink); opacity: .78; border-radius: 1px 1px 0 0; }
.ex-report__chart i:last-child { background: var(--lamp); opacity: 1; }
.ex-report__kv { list-style: none; margin-top: 6cqi; }
.ex-report__kv li { display: flex; justify-content: space-between; padding: 2cqi 0; border-bottom: 1px dotted rgba(20, 26, 46, .35); font-size: max(11px, 3.4cqi); color: #4A5064; }
.ex-report__kv b { font-weight: 500; color: var(--ink); }
@container (max-width: 230px) { .ex__run, .ex-toc, .ex-report__kv, .ex-browser__bar span, .ex-note__rec span { visibility: hidden; } }

/* ---------- KI-Szene «Die Rückseite»: gepinnte Bühne, der Mond dreht sich zur Rückseite (scene.js) ---------- */
html:not(.scene-off):not(.no-js) .scene--k { height: 250svh; }
.k-stage { background: radial-gradient(120% 90% at 70% 45%, #1A2140 0%, #10152A 48%, var(--night) 100%); }
.k-moon { position: absolute; inset: 0; z-index: 1; }
.k-moon canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.k-moon__img { display: none; }
.k-beat { max-width: min(36rem, 40%); }
.k-head { position: absolute; z-index: 4; left: var(--inset); top: var(--head-top, 84px); max-width: min(34rem, 34%); margin: 0; color: #fff; opacity: 0; }
.k-title { font-size: clamp(34px, 3.4vw, 60px); line-height: 1.04; letter-spacing: -.03em; font-weight: 500; text-wrap: balance; }
.k-head p { margin-top: 14px; color: var(--muted-on-dark); font-size: clamp(17px, 1.2vw, 20px); line-height: 1.55; max-width: 36ch; text-wrap: pretty; }
.k-marks { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.k-lead { stroke: rgba(232, 236, 243, .7); stroke-width: 1.2; }
.k-ring { fill: rgba(12, 16, 32, .35); stroke: #fff; stroke-width: 2; }
.k-dot { fill: var(--lamp); }
.k-stations { list-style: none; margin: 0; padding: 0; }
.k-card { position: absolute; left: 0; top: 0; z-index: 4; width: min(300px, 24vw); padding: 16px 20px 18px; border-radius: 16px; background: rgba(12, 16, 32, .84); box-shadow: 0 0 0 1px rgba(232, 236, 243, .16), 0 18px 40px -18px rgba(0, 0, 0, .7); color: #fff; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.k-card h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(19px, 1.35vw, 22px); line-height: 1.2; letter-spacing: -.01em; }
.k-card__n { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 13px; color: var(--ink); background: var(--moon); }
.k-card__price { margin-top: 4px; color: #F2C08A; font-weight: 500; }
.k-card p:not(.k-card__price) { margin-top: 8px; color: var(--muted-on-dark); font-size: 15px; line-height: 1.45; }
.k-card .link { margin-top: 12px; font-size: 15px; color: #fff; }

/* ---------- Mehrere Firmen: Partnerschaft auf Einladung, Vitrine mit drei Briefbögen ---------- */
.sec--mf { position: relative; z-index: 2; background: var(--kalk); padding: clamp(64px, 9vh, 110px) 0 clamp(24px, 5vh, 60px); }
.mf { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.mf__lead { margin-top: 22px; font-size: clamp(18px, 1.3vw, 20px); line-height: 1.5; color: var(--muted); max-width: 40ch; }
.mf__list { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.mf__list li { display: grid; grid-template-columns: 28px 1fr; align-items: baseline; font-size: clamp(16px, 1.15vw, 18px); color: var(--ink); }
.mf__list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lamp); translate: 0 -2px; }
.mf__note { margin-top: 26px; font-size: 16px; color: var(--muted); }
.mf__en { margin-top: 10px; display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--muted); }
.mf__tag { font-weight: 500; font-size: 12px; letter-spacing: .14em; padding: 4px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.mf__ex { aspect-ratio: 1.1 / 1; cursor: default; }
.lh { position: absolute; width: 54cqi; height: 52cqi; padding: 4cqi 4.4cqi; border-radius: .6cqi; background: #F7F7F5; color: var(--ink); font-size: max(11px, 2.6cqi); box-shadow: 0 2cqi 4.5cqi rgba(0, 0, 0, .5), 0 .3cqi .8cqi rgba(0, 0, 0, .35); }
.lh--1 { left: 9cqi; top: 7cqi; rotate: -3deg; }
.lh--2 { left: 20cqi; top: 20cqi; rotate: -.5deg; }
.lh--3 { left: 31cqi; top: 33cqi; rotate: 2.5deg; }
.lh__top { display: flex; align-items: center; gap: 2.2cqi; padding-bottom: 2.4cqi; border-bottom: 1px solid rgba(20, 26, 46, .18); }
.lh__logo { flex: none; width: 5cqi; height: 5cqi; border-radius: 1cqi; background: var(--ink); }
.lh__logo--a { border-radius: 50%; }
.lh__logo--b { background: #5C6276; }
.lh__logo--c { background: var(--lamp-ink); border-radius: 30%; }
.lh__n { font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: max(11px, 2.5cqi); white-space: nowrap; }
.lh .ex-lines i { height: 1.2cqi; margin: 2.2cqi 0; }
@container (max-width: 440px) { .lh { width: 64cqi; } .lh--2 { left: 18cqi; } .lh--3 { left: 28cqi; } .lh__n { letter-spacing: .05em; } }   /* schmale Vitrine: Namen bleiben ganz */
.lh__tag { position: absolute; left: 4.4cqi; right: 4.4cqi; bottom: 4.4cqi; padding-top: 2.4cqi; border-top: 1px solid rgba(20, 26, 46, .18); color: var(--ink); font-weight: 500; font-size: max(11px, 2.7cqi); line-height: 1.3; }
.lh__tag span { background: linear-gradient(transparent 52%, rgba(230, 162, 92, .5) 52%, rgba(230, 162, 92, .5) 92%, transparent 92%); }   /* mit Leuchtstift markiert, wie die Gesprächsnotiz der Leiter */

/* ---------- Beweis ---------- */
.sec--beweis { position: relative; z-index: 2; background: var(--kalk); padding: clamp(70px, 10vh, 120px) 0 clamp(70px, 10vh, 120px); }
.bw { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.bw__text > p { margin-top: 22px; color: var(--muted); max-width: 44ch; }
.bw__fact { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: baseline; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.bw__fact p { color: var(--muted); max-width: 36ch; }
.bw__num { font-size: clamp(44px, 4.6vw, 80px) !important; color: var(--ink) !important; line-height: .9; letter-spacing: -.045em; font-weight: 500; white-space: nowrap; }
.bw__num--s { font-size: clamp(28px, 2.4vw, 40px) !important; letter-spacing: -.03em; }
.bw__src { display: block; margin-top: 8px; font-size: 13px; color: #555B6E; }
.bw__refs { list-style: none; position: relative; height: clamp(420px, 62vh, 620px); perspective: 1800px; }
.ref { position: absolute; width: 70%; transform-style: preserve-3d; transition: transform 1.1s var(--out); }
.ref:nth-child(1) { left: 0; top: 0; transform: translateZ(-120px) rotateY(16deg); }
.ref:nth-child(2) { left: 13%; top: 25%; transform: translateZ(-40px) rotateY(16deg); }
.ref:nth-child(3) { left: 26%; top: 50%; transform: translateZ(40px) rotateY(16deg); }
.ref:hover, .ref:focus-within { transform: translateZ(90px) rotateY(4deg); z-index: 5; }
.ref a { position: relative; display: block; text-decoration: none; }
.ref__win { display: block; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 6px rgba(255, 255, 255, .85), 0 30px 70px rgba(20, 26, 46, .22); background: #fff; }
.ref__win img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.ref__cap { position: absolute; right: 14px; top: 14px; display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); background: rgba(250, 249, 246, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ref__cap strong { color: var(--ink); font-weight: 500; }
.ref__cap svg { width: 16px; height: 16px; }

/* ---------- Fragen ---------- */
/* Fragen «Mondphase» (Entscheid 08.10., Board 5, Fassung 3): grössere, leichtere Fragen, links der Weg zum Gespräch,
   das Zeichen ist ein Mond, der beim Öffnen voll wird. Abstände enger, damit die Seite unter 16 Bildschirmen bleibt. */
.sec--faq { position: relative; z-index: 2; background: var(--kalk); padding: clamp(40px, 5vh, 70px) 0 clamp(56px, 7vh, 90px); }
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq .h2 { font-size: clamp(40px, 4vw, 72px); }
.faq__more { margin-top: 28px; color: var(--muted); font-size: clamp(17px, 1.1vw, 19px); line-height: 1.55; max-width: 26ch; }
.faq__aside .btn { margin-top: 22px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 21px 0; font-size: clamp(20px, 1.55vw, 27px); font-weight: 400; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 24px; height: 24px; border: 1.5px solid currentColor; border-radius: 50%; box-shadow: inset -6px 0 0 0 currentColor; transition: box-shadow .7s var(--out); }   /* Sichel → voll */
@media (hover: hover) { .faq summary:hover::after { box-shadow: inset -12px 0 0 0 currentColor; } }
.faq details[open] summary::after { box-shadow: inset -24px 0 0 0 currentColor; }
.faq details p { padding: 0 0 24px; color: var(--muted); font-size: clamp(17px, 1.1vw, 19px); line-height: 1.65; max-width: 52ch; }

/* ---------- Finale: der ganze Mond hinter «Moontech», Formular auf Glas, Fuss in der Bühne ---------- */
html:not(.scene-off):not(.no-js) .scene--f { height: 140svh; }
.f-stage { background: radial-gradient(ellipse 90% 60% at 50% 105%, #1B2347 0%, var(--night) 65%); color: var(--moon); }
.f-stage::before { display: none; }
.f-word { position: absolute; left: 50%; bottom: -3svh; z-index: 1; transform: translateX(-50%); white-space: nowrap; font-size: 25vw; line-height: .8; letter-spacing: -.06em; font-weight: 500; color: rgba(232, 236, 243, .09); will-change: transform; }
.f-moon { --s: min(62svh, 42vw); position: absolute; left: 50%; top: 44%; z-index: 2; width: var(--s); aspect-ratio: 1; margin-left: calc(var(--s) / -2); margin-top: calc(var(--s) / -2); will-change: transform; }
.f-moon::before { content: ""; position: absolute; inset: -16%; border-radius: 50%; background: radial-gradient(closest-side, rgba(200, 212, 240, .1), transparent 70%); pointer-events: none; }
.f-moon canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 1; }
.f-moon__img { position: absolute; inset: 0; width: 100%; height: 100%; display: none; border-radius: 50%; }
.f-moon.is-static .f-moon__img { display: block; }
.f-grid { position: absolute; left: var(--inset); right: var(--inset); bottom: calc(max(26px, 3.6svh) + 10px); z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 6vw; align-items: end; }
.f-title { max-width: 13ch; color: #fff; }
.f-text p { margin-top: 18px; color: var(--muted-on-dark); max-width: 40ch; }
.f-text .f-contact { color: var(--moon); }
.form { border-radius: 26px; padding: clamp(18px, 1.7vw, 26px); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.f-grid .form.glass--dark { background: rgba(16, 21, 40, .86); }   /* Formular im Finale dichter: Labels und Ränder tragen auch vor dem hellen Mond (Prüfung 08.10.) */
.form__title { grid-column: 1 / -1; font-size: 20px; font-weight: 500; letter-spacing: -.015em; color: #fff; }
.field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 4px; }
.field--half { grid-column: span 1; }
.field label { font-size: 13px; color: #DDE2EC; }   /* hell genug auch über dem Mond (Prüfung 08.10.) */
.field .opt { color: #B9C0D2; font-size: 12px; margin-left: 4px; }
.field input, .field select, .field textarea { width: 100%; min-height: 42px; padding: 8px 13px; border-radius: 11px; border: 1px solid rgba(232, 236, 243, .55); background: rgba(255, 255, 255, .06); color: #fff; font-size: 16px; transition: border-color .3s, background .3s; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 62px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid #fff; outline-offset: 1px; border-color: #fff; background: rgba(255, 255, 255, .1); }
.field ::placeholder { color: rgba(232, 236, 243, .5); }
.field[hidden] { display: none; }   /* Auswahl «Anliegen» zugeklappt (A2); die Feldregel setzt sonst display und schlägt [hidden] */
.form__topic { grid-column: 1 / -1; margin: -4px 0 0; font-size: 15px; line-height: 1.45; color: #DDE2EC; }   /* Anliegen als Zeile, die Auswahl erst auf «ändern» (A2, 12.10.) */
.form__topic strong { font-weight: 500; color: #fff; }
.form__topic-change { margin-left: 6px; padding: 0; border: 0; background: none; font: inherit; color: #DDE2EC; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.form__topic-change:hover { color: #fff; }
.form__topic-change:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 3px; }
.form__submit { grid-column: 1 / -1; justify-self: start; margin-top: 4px; height: 48px; }
.form__status { grid-column: 1 / -1; font-size: 15px; }
.form__status:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }   /* leer unsichtbar, aber im Barrierebaum: sonst wird die erste Meldung nicht angesagt */
.form__status:focus { outline: none; }
#main:focus, [tabindex="-1"]:focus { outline: none; }   /* Sprungziele bekommen den Fokus, aber keinen Ring */
.form__status.is-ok { color: #BFE3C8; }
.form__status.is-err { color: #FFC7B8; }
/* Newsletter-Haken (Entscheid 08.10.): leer, freiwillig, getrennt von der Anfrage */
.form__check { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; color: #DDE2EC; cursor: pointer; }
.form__check[hidden] { display: none; }
.form__check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--moon); cursor: pointer; }
.form__check input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.form__check small { display: block; margin-top: 2px; font-size: 13px; color: #B9C0D2; }
@media (max-height: 760px) {   /* niedrige Laptops: Formular kompakter, sonst reicht es im Finale unter den Kopf (Prüfung 08.10.) */
  .form { padding: 14px 18px; gap: 6px 12px; }
  .form__title { font-size: 18px; }
  .field { gap: 2px; }
  .field input, .field select { min-height: 36px; padding: 6px 12px; }
  .field textarea { min-height: 46px; padding: 6px 12px; }
  .form__check small { display: inline; margin: 0; }
  .form__submit { height: 42px; }
}
.form__note { grid-column: 1 / -1; font-size: 12px; line-height: 1.45; color: var(--muted-on-dark); }
.form__note a { color: #fff; }
.field--hp { display: none !important; }
/* ---------- Fuss: SEO-Text links, alle Angebote verlinkt, unten Rechtliches und «Built by» (Entscheid 08.10.) ---------- */
.site-foot { position: relative; z-index: 2; background: var(--kalk); color: var(--ink); padding: clamp(48px, 6vh, 80px) 0 24px; }
.site-foot__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.site-foot__brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; color: var(--ink); text-decoration: none; }
.site-foot__text { margin-top: 18px; color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 54ch; }
.site-foot__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(20px, 3vw, 48px); padding-top: 4px; }
.site-foot__h { font-size: 15px; font-weight: 500; color: var(--ink); }
.site-foot__nav ul { list-style: none; margin-top: 12px; display: grid; gap: 9px; }
.site-foot a { text-decoration: none; }
.site-foot__nav a { color: var(--muted); font-size: 15px; transition: color .2s; }
.site-foot__nav a:hover, .site-foot__base ul a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.site-foot__base { margin-top: clamp(32px, 4vh, 48px); padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 26px; font-size: 13px; color: var(--muted); }
.site-foot__base ul { display: flex; gap: 20px; list-style: none; }
.site-foot__base ul a { color: var(--muted); }
/* Hinweis «Built by Moontech Labs» mit dem Mond von heute (Entscheid 07.10., englisch auf Wunsch 08.10.); die Phase setzt mond-heute.js.
   Beim Zeigen erscheint die Phase als kleines Etikett darüber, ohne dass sich die Zeile verschiebt */
.foot__credit { position: relative; display: inline-flex; align-items: center; gap: 9px; padding-left: 20px; border-left: 1px solid rgba(232, 236, 243, .16); color: var(--muted-on-dark); text-decoration: none; transition: color .3s; --lit: #F4F6FA; --dark: rgba(232, 236, 243, .13); --rim: rgba(232, 236, 243, .5); }
.site-foot .foot__credit { color: var(--muted); border-left-color: var(--line); --lit: #fff; --dark: rgba(20, 26, 46, .14); --rim: rgba(20, 26, 46, .45); }   /* heller Grund: Mond mit dunklem Rand */
.site-foot .foot__credit:hover, .site-foot .foot__credit:focus-visible { color: var(--ink); }
.site-foot .foot__credit:hover .moon-mini, .site-foot .foot__credit:focus-visible .moon-mini { filter: none; }
.site-foot .foot__phase { background: var(--ink); color: #fff; }
/* Sprung aus dem Fuss: die angesprungene Stufe hebt sich kurz */
.ladder__steps > li.is-hit .exhibit { --lift: -8px; box-shadow: 0 46px 64px -30px rgba(12, 16, 32, .62); }
.ladder__steps > li.is-hit h3 { text-decoration: underline; text-decoration-color: var(--lamp); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.foot__credit:hover, .foot__credit:focus-visible { color: var(--moon); }
.moon-mini { width: 21px; height: 21px; flex: none; overflow: visible; transition: filter .4s; }
.moon-mini__disc { fill: var(--dark); stroke: var(--rim); stroke-width: .8; }
.moon-mini__lit { fill: var(--lit); }
.foot__credit:hover .moon-mini, .foot__credit:focus-visible .moon-mini { filter: drop-shadow(0 0 6px rgba(232, 236, 243, .65)); }
.foot__phase { position: absolute; right: 0; bottom: calc(100% + 9px); padding: 5px 10px 4px; border-radius: 4px; background: var(--moon); color: var(--ink); font-size: 12px; line-height: 1.3; white-space: nowrap; opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .3s, transform .35s var(--out); }
.foot__credit:hover .foot__phase, .foot__credit:focus-visible .foot__phase { opacity: 1; transform: none; }

/* =====================================================================
   Ausweichfassung: Handy, Hochformat, reduzierte Bewegung, ohne Skript oder WebGL
   Gleiche Inhalte, keine klebende Szene. js-class.js setzt scene-off vor dem ersten Bild.
   ===================================================================== */
.no-js .word, .scene-off .word, .no-js .beat, .scene-off .beat, .no-js .end-scrim, .scene-off .end-scrim, .no-js .cue, .scene-off .cue,
.no-js .mark, .scene-off .mark, .no-js .citylights, .scene-off .citylights, .no-js .citylayer, .scene-off .citylayer, .no-js .endcard, .scene-off .endcard,
.no-js .k-marks, .scene-off .k-marks { display: none; }
/* KI-Szene ohne Bühne: Überschrift, Stationen als Liste, die Rückseite als Bild */
.no-js .scene--k .stage, .scene-off .scene--k .stage { height: auto; min-height: 0; padding: clamp(84px, 11vh, 130px) var(--inset) clamp(48px, 7vh, 90px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); grid-template-areas: "head moon" "list moon"; gap: clamp(24px, 3vw, 44px) clamp(28px, 4vw, 64px); align-items: start; }
.no-js .k-moon, .scene-off .k-moon { grid-area: moon; position: relative; inset: auto; align-self: center; }
.no-js .k-moon canvas, .scene-off .k-moon canvas { display: none; }
.no-js .k-moon__img, .scene-off .k-moon__img { display: block; width: 100%; height: auto; }
.no-js .k-head, .scene-off .k-head { grid-area: head; position: static; max-width: 40rem; opacity: 1 !important; transform: none !important; }
.no-js .k-stations, .scene-off .k-stations { grid-area: list; display: grid; gap: 12px; }
.no-js .k-card, .scene-off .k-card { position: static; width: auto; opacity: 1 !important; pointer-events: auto !important; transform: none !important; }
.no-js .static-chapter, .scene-off .static-chapter { display: block; padding: clamp(64px, 10vh, 120px) 0 clamp(30px, 5vh, 60px); }
.static-chapter__lead { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.3; letter-spacing: -.015em; max-width: 26ch; margin-bottom: 30px; }
.static-chapter__text { margin-top: 18px; color: var(--muted); max-width: 52ch; }
.static-chapter__h { margin-top: clamp(48px, 7vh, 80px); }
.crafts { list-style: none; margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 60px); max-width: 980px; border-top: 1px solid var(--line); }
.crafts li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.crafts strong { display: block; font-weight: 500; color: var(--ink); }
.static-chapter .actions { margin-top: 34px; }
.no-js .moon-still, .scene-off .moon-still { display: block; }
.no-js .f-word, .scene-off .f-word { opacity: .9; }
.no-js .f-grid, .scene-off .f-grid { opacity: 1 !important; transform: none !important; visibility: visible !important; pointer-events: auto !important; }
.no-js .f-moon, .scene-off .f-moon { transform: none !important; }
.no-js .f-moon__img, .scene-off .f-moon__img { display: block; }

/* Reduzierte Bewegung oder ?static auf breitem Bildschirm: Hero bleibt die Bühne, das Finale steht still */
@media (min-width: 761px) {
  .scene-off .scene--f .stage, .no-js .scene--f .stage { min-height: 46rem; }
}

/* ---------- Breiten ---------- */
@media (max-width: 1100px) {
  .bw, .faq { grid-template-columns: 1fr; }
  .bw__refs { height: clamp(380px, 70vw, 560px); }
  .ladder__head { grid-template-columns: 1fr; gap: 16px; }
  .ladder__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .ladder__steps > li:nth-child(n) { margin-top: 0; }
  .mf { grid-template-columns: 1fr; }
  .mf__ex { max-width: 560px; }
}
/* Kopf bis 1100 px: fünf Menüpunkte (Kontakt seit 08.10.) brauchen Platz → ohne «30 Min», Punkte enger */
@media (max-width: 1100px) {
  .cta__sub { display: none; }
  .head__nav a { padding: 7px 13px; }
}
/* Kopf bis 960 px: CTA in Kurzform, sonst ragen CTA-Kreis und Pause-Knopf aus der Leiste (Prüfung 08.10.) */
@media (max-width: 960px) {
  .cta__sub, .cta__long { display: none; }
  .cta__short { display: inline; }
}
@media (max-width: 360px) {
  .cta__round { display: none; }
}
/* Kleine Formate (Handy, Hochformat, Touch-Tablet, niedrige Querformate, kleine Fenster): Kopf ohne Navigation, Formular einspaltig.
   Die Regeln mit .scene-off gelten nur für die ruhige Fassung (Bühne als Bildblock mit Aussage darunter); welche Formate ruhig bleiben,
   entscheiden js-class.js und scene.js (seit 08.10. bekommt das Hochformat die Szene: Block «Hochformat mit Szene»). */
@media (max-width: 760px), (orientation: portrait) and (max-width: 1100px), (max-height: 560px), (pointer: coarse) and (max-width: 1100px), (max-width: 1100px) and (max-height: 700px) {
  :root { --head-h: 64px; }
  .head__nav { display: none; }
  .head { grid-template-columns: 1fr auto; }
  .scene-off .scene[data-scene] .stage, .no-js .scene[data-scene] .stage { height: auto; min-height: 0; display: grid; grid-template-areas: "media" "copy"; padding: calc(var(--head-h) + 4px) 0 0; }
  .scene-off .moon, .no-js .moon { grid-area: media; position: relative; inset: auto; height: min(58svh, 112vw); overflow: hidden; }
  .scene-off .moon canvas, .no-js .moon canvas { display: none; }
  .no-js .moon-still { left: 4%; top: 18%; width: 120%; max-width: none; }
  .scene-off .hero__copy, .no-js .hero__copy { grid-area: copy; position: relative; left: auto; bottom: auto; max-width: none; padding: 26px 20px 34px; }
  .hero h1 { font-size: clamp(38px, 10vw, 60px); }
  .hero__copy { max-width: min(40rem, 47%); }
  .hero .lead { margin-top: 22px; font-size: clamp(17px, 1.15vw, 20px); }
  .hero .actions { margin-top: 30px; gap: 12px; }
  .hero .actions .btn { height: 50px; padding: 0 24px; font-size: 16px; gap: 10px; }
  .hero .actions .btn svg { width: 18px; height: 18px; }
  .f-grid { grid-template-columns: 1fr; }
  .scene-off .scene--f, .no-js .scene--f { height: auto; }
  .scene-off .f-stage, .no-js .f-stage { height: auto; min-height: 0; padding: 70px 20px 50px; }
  .scene-off .f-word, .no-js .f-word { display: none; }
  .scene-off .f-moon, .no-js .f-moon { --s: min(72vw, 420px); position: relative; left: auto; top: auto; margin: 0 auto 36px; }
  .scene-off .f-grid, .no-js .f-grid { position: static; }
  .form { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
  .cta__sub, .cta__long { display: none; }
  .cta__short { display: inline; }
  .cta__round { display: none; }   /* Platz für den Sprachumschalter: Logo, Kreis und Gesprächsknopf passen so in 390 px (Board 6) */
  .cta__text { height: 40px; line-height: 40px; padding: 0 16px; }
  .cta__round { width: 40px; height: 40px; }
  .head__end { gap: 8px; }
  .bw__fact { grid-template-columns: 1fr; gap: 8px; }
  .ref { width: 76%; }
  .ref:nth-child(2) { left: 11%; }
  .ref:nth-child(3) { left: 22%; }
  .crafts { grid-template-columns: 1fr; }
  .no-js .scene--k .stage, .scene-off .scene--k .stage { grid-template-columns: 1fr; grid-template-areas: "head" "moon" "list"; }
  .no-js .k-moon, .scene-off .k-moon { width: min(78vw, 420px); justify-self: center; }
  .site-foot__grid { grid-template-columns: 1fr; }
  .site-foot__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-foot__base { flex-direction: column; align-items: flex-start; }
  .foot__credit { border-left: 0; padding-left: 0; }
}
/* ---------- Hochformat mit Szene (Board 7, Entscheid 08.10.): Handy und Tablet hoch, dieselbe Reise neu komponiert ----------
   scene.js setzt html.hoch und rechnet Mond, Stadt und KI-Mond mit eigenen Zweigen (W < H). Text immer oben, die Bilder darunter.
   Scrollweg × 0,75 (Wischen ist schneller als das Mausrad). Angebote der KI-Szene und Formular folgen im Fluss als Blatt über der Bühne. */
html.hoch { --len: 680svh; }   /* 480 Weg + 100 Halt + Bühne (kein Stand am Ende seit 12.10.) */
html.hoch .scene--k { height: 210svh; }
html.hoch .scene--f { height: 130svh; }
.hoch .head__pause { display: none; }   /* nichts bewegt sich von selbst, nur beim Wischen */
.hoch .hero__copy { top: calc(var(--head-h) + 26px); bottom: auto; right: var(--inset); max-width: none; }
.hoch .hero .lead { margin-top: 16px; font-size: 16px; max-width: 34ch; }
.hoch .hero .actions { margin-top: 22px; }
.hoch .cue--start { display: none; }
.hoch .word { white-space: normal; text-align: center; font-size: 22vw; line-height: .86; padding: 0 0 34svh; }
.hoch .beat { max-width: none; right: var(--inset); }
.hoch .beat .beat__a { font-size: clamp(28px, 7.4vw, 44px); line-height: 1.08; }
.hoch .beat .beat__b { font-size: clamp(16px, 2.2vw, 20px); max-width: 32ch; }
.hoch .cl-sub { display: none; }
.hoch .cl-name { font-size: 12px; letter-spacing: .14em; }
.hoch .endcard { left: 12px; right: 12px; bottom: 12px; max-width: none; }
.hoch .k-head, .hoch .k-beat { max-width: none; right: var(--inset); }
.hoch .k-title { font-size: clamp(36px, 10vw, 56px); }
.hoch .k-lead { display: none; }
html.hoch .scene .stage { height: calc(100lvh - 2 * var(--frame)); }   /* füllt auch bei eingeklappten Leisten; Inhalte rechnen mit der sichtbaren Höhe (Pixel 8, 08.10.) */
.hoch .endcard { bottom: calc(12px + 100lvh - 100svh); }
.hoch .endcard--knapp { padding: 16px; border-radius: 20px; }   /* wenig Höhe: stadt.js setzt die Klasse, damit Satz, Seite und Hinweis frei bleiben (Board 10 C, Entscheid 09.10.) */
.hoch .endcard--knapp h2 { font-size: 24px; }
.hoch .endcard--knapp p { margin-top: 6px; font-size: 14px; line-height: 1.4; }
.hoch .endcard--knapp .actions { margin-top: 12px; }
.hoch .endcard--knapp .btn { height: 40px; padding: 0 11px; font-size: 14px; }
.hoch .cue--end { bottom: calc(var(--inset) + 100lvh - 100svh); }
.hoch .f-moon { --s: 66vw; top: calc((100svh - 2 * var(--frame)) * .36); }   /* Vollmond zwei Drittel breit, darunter «Moontech»: das Blatt steigt erst unter dem Wort ein */
.hoch .f-word { font-size: 24vw; top: calc((100svh - 2 * var(--frame)) * .63); bottom: auto; }
.k-flow, .f-flow { display: none; }
.hoch .k-flow, .hoch .f-flow { display: block; position: relative; z-index: 2; margin: -12svh var(--frame) 0; padding: 30px var(--inset) 34px; border-radius: var(--radius); background: var(--night); color: #fff; box-shadow: 0 -24px 60px -30px rgba(0, 0, 0, .8); }
.hoch .f-flow { margin-top: -20svh; padding-top: 36px; }
.hoch .k-flow > p { margin: 0 auto 22px; color: var(--muted-on-dark); font-size: 17px; line-height: 1.55; }
.hoch .k-flow > *, .hoch .f-flow > .f-grid { max-width: 40rem; margin-inline: auto; }   /* Tablet hoch: lesbare Zeilen */
.hoch .k-flow .k-stations { display: grid; gap: 12px; }
.hoch .k-flow .k-card { position: static; width: auto; opacity: 1; pointer-events: auto; transform: none; }
.hoch .f-flow .f-grid { position: static; gap: 28px; opacity: 1; transform: none; pointer-events: auto; }

@media (max-width: 640px) {
  .ladder__steps { grid-template-columns: 1fr; }
  .ref__cap { right: 10px; top: 10px; gap: 6px; padding: 6px 10px; font-size: 0; }   /* Handy: nur Name und Pfeil, die Beschreibung war zu gross (08.10.) */
  .ref__cap strong { font-size: 13px; }
  .ref__cap svg { width: 14px; height: 14px; }
  .exhibit { max-width: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1 .w > span, .fade { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
