/* aus Muster v3 (index.html), Designerin 05.11.2026 – Seiten-Stile; Cinematic-Teil v4.2 (10.11.2026) */
  /* ---------- Cinematic (Kern, Layout-Basis aus v3; Bildsequenz-Regeln entfernt 09.11.) ---------- */
  .cine { position: relative; height: 900vh; background: #030409; }
  .cine-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
  .cine-layer { position: absolute; z-index: 3; will-change: opacity, transform; opacity: 0; visibility: hidden; }
  /* Cinemascope-Balken nur im Titel, öffnen sich beim Losfliegen */
  .cine-stage .balken { position: absolute; left: 0; right: 0; z-index: 2; height: clamp(52px, 8vh, 84px); background: #000; opacity: clamp(0, 1 - var(--p, 0) * 14, 1); pointer-events: none; }
  .cine-stage .balken.o { top: 0; } .cine-stage .balken.u { bottom: 0; }
  .cine-layer.titel { inset: 0; display: grid; grid-template-rows: 1fr auto; justify-items: center; }
  .titel .menue-block { align-self: start; margin-top: 53svh; display: grid; justify-items: center; gap: clamp(14px, 2.4vh, 26px); }
  .titel .untertitel { margin: 0; }
  .titel .fussleiste { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 var(--gutter); height: clamp(52px, 8vh, 84px); }
  .titel .fussleiste .mono-label { font-size: 11px; color: var(--text-2); }
  .cine-layer.claim { inset: auto 0 11vh 0; text-align: center; padding-inline: var(--gutter); }
  .cine-layer.ort { left: max(var(--gutter), 6vw); top: 50%; translate: 0 -50%; width: min(30vw, 440px); }
  .ort .nr { font: 500 12px/1 var(--font-mono); color: #C9D2F0; letter-spacing: .12em; text-shadow: 0 0 10px rgba(3,4,9,.95), 0 0 2px rgba(3,4,9,.9); }   /* v3: Kicker heller */
  .ort .h1 { margin: 14px 0 12px; font-size: clamp(28px, .9rem + 1.7vw, 44px); }
  .ort .linie { height: 2px; width: 56px; border-radius: 2px; background: var(--ton); box-shadow: 0 0 18px var(--ton); margin-bottom: 18px; }
  .ort p { color: #C3CCEB; margin: 0 0 22px; text-shadow: 0 0 12px rgba(3,4,9,.9); }
  .hud { position: absolute; z-index: 3; right: max(var(--gutter), 3vw); top: 50%; translate: 0 -50%; display: grid; gap: 14px; justify-items: end; opacity: clamp(0, (var(--p, 0) - .06) * 12, 1); }
  .hud .rail { width: 2px; height: 180px; background: var(--line-strong); position: relative; border-radius: 2px; overflow: hidden; }
  /* v4.2b: Fuellstand per transform statt height (kein Layout je Scroll-Bild) */
  .hud .rail::after { content: ""; position: absolute; inset: 0; transform-origin: 50% 0; transform: scaleY(var(--p, 0)); background: linear-gradient(var(--glas), var(--blau)); }
  .hud .tick { font: 500 11px/1 var(--font-mono); color: var(--text-2); letter-spacing: .1em; text-shadow: 0 0 8px #030409, 0 0 3px #030409; }   /* v3: text-3 -> text-2 + Halo (liegt auf dem Nebel) */
  .soundbtn { position: absolute; z-index: 3; left: var(--gutter); bottom: 20px; opacity: clamp(0, (var(--p, 0) - .06) * 12, 1); color: var(--text-2); background: rgba(3,4,9,.55); border-color: var(--line); }
  .weiter { position: absolute; z-index: 3; left: 50%; bottom: 22px; translate: -50% 0; opacity: clamp(0, (var(--p, 0) - .93) * 20, 1); }
  @media (max-width: 820px) {
    .cine-layer.ort { left: var(--gutter); right: var(--gutter); top: auto; bottom: 8vh; translate: none; width: auto; }
    .ort .h1 { font-size: 31px; }
    .hud { display: none; } .soundbtn { bottom: auto; top: calc(var(--head-h) + 22px); height: 34px; padding: 0 14px; }   /* v3: Abstand zum Kopf 8 -> 22 px */
    .titel .menue-block { margin-top: 47svh; } .titel .tasten { display: none; } .titel .fussleiste { justify-content: center; }
    .weiter { display: none; }
  }
  /* reduced motion: statische Fassung */
  .cine.is-static { height: auto; }
  .cine.is-static .cine-stage { position: relative; height: auto; overflow: visible; padding: calc(var(--head-h) + 32px) 0 40px; }
  .cine.is-static .hud, .cine.is-static .soundbtn, .cine.is-static .balken, .cine.is-static .weiter, .cine.is-static .fussleiste { display: none; }
  .cine.is-static .cine-layer { position: relative; inset: auto; translate: none; opacity: 1; visibility: visible; max-width: var(--content); margin: 0 auto 64px; padding-inline: var(--gutter); text-align: left; display: block; }
  .cine.is-static .titel .menue-block { margin-top: 0; justify-items: start; }

  /* ---------- v4.2 Cinematic: Echtzeit-Kosmos statt Bildsequenz (Muster tools/v42/cine_v42.css, Stand 10.11. 07:35; Repo: Pfad raum_still) ---------- */
  /* v4.2: HUD ausgeduennt (zwei statt vier Eckmarken, nur noch die Koordinaten des Firmensitzes, HUD rechts ohne „FLUG %“),
           mobil laufen die Kinobalken weich in den Nebel aus (keine harte Ober-/Unterkante) */
  .cine { background: transparent; height: 900vh; }
  @media (max-width: 820px) { .cine { height: 780vh; } }
  .cine-stage { background: transparent; }
  .cine .kosmos { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: -1; display: block; pointer-events: none; background: #04050A; }
  html.kosmos-aus .cine .kosmos { background: #04050A url("../img/raum_still.1c8d9d79208a.webp") center / cover no-repeat; }
  .logo-still { display: none; }
  .cine-stage .balken { background: linear-gradient(#000, rgba(0,0,0,.92)); }
  .cine-stage .balken.u { background: linear-gradient(rgba(0,0,0,.92), #000); }
  /* Intro: Titel-UI erst nach der Entstehung */
  html.intro-laeuft .kopf, html.intro-laeuft .cine-knoepfe, html.intro-laeuft .hud { opacity: 0; pointer-events: none; }
  html.intro-fertig .kopf { transition: opacity .9s var(--ease-out); }
  .intro-skip { position: absolute; z-index: 5; right: var(--gutter); bottom: calc(clamp(52px, 8vh, 84px) + 14px); display: none; align-items: center; gap: 10px;
    background: none; border: 0; color: var(--text-2); font: 500 11px/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; padding: 10px 0; }
  .intro-skip kbd { font: inherit; border: 1px solid var(--haar-stark); border-radius: 4px; padding: 3px 6px; }
  html.intro-laeuft .intro-skip { display: inline-flex; animation: kopf-ein 1s var(--ease-out) .8s both; }
  /* Stage-HUD: Eckmarken + Koordinaten (nur Titel/Prolog) */
  .stage-hud { position: absolute; inset: calc(clamp(52px, 8vh, 84px) + 14px) var(--gutter); z-index: 2; pointer-events: none; opacity: clamp(0, 1 - var(--p, 0) * 6, 1); }
  .stage-hud .e { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(185,205,255,.55); }
  .stage-hud .e1 { left: 0; top: 0; border-width: 1px 0 0 1px; }
  .stage-hud .e4 { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
  .stage-hud span { position: absolute; font: 500 11.5px/1 var(--font-mono); letter-spacing: .2em; color: #B9C3E6; }
  .stage-hud .hud-ru { right: 30px; bottom: 5px; }
  html.intro-laeuft .stage-hud { opacity: 0; }
  @media (max-width: 820px) {
    .stage-hud { display: none; }
    /* Kinobalken mobil: Kern bleibt schwarz (Kopf/Fussleiste), dann 76 px weicher Auslauf in den Nebel */
    .cine-stage .balken { height: calc(clamp(52px, 8vh, 84px) + 76px); }
    .cine-stage .balken.o { background: linear-gradient(180deg, #000 0, #000 calc(100% - 82px), rgba(0,0,0,.72) calc(100% - 58px), rgba(0,0,0,.36) calc(100% - 30px), rgba(0,0,0,.12) calc(100% - 12px), rgba(0,0,0,0) 100%); }
    .cine-stage .balken.u { background: linear-gradient(0deg, #000 0, #000 calc(100% - 82px), rgba(0,0,0,.72) calc(100% - 58px), rgba(0,0,0,.36) calc(100% - 30px), rgba(0,0,0,.12) calc(100% - 12px), rgba(0,0,0,0) 100%); }
  }
  /* Titel */
  .titel .menue-block { margin-top: 54svh; }
  .titel .untertitel { color: #DCE4FF; }
  /* v4.2: der Nebel ist am Desktop heller – Titeltexte bekommen einen dunklen Lesbarkeits-Hof (Kontrast gemessen >= 6 : 1) */
  .titel .untertitel, .titel .spielmenue a, .fahrtbtn.titel-fahrt, .stage-hud span { text-shadow: 0 0 3px rgba(3,4,9,.75), 0 1px 16px rgba(3,4,9,.9); }
  /* v4.2b: der Nebel hinter dem Titel ist noch etwas kraeftiger – die ruhenden Menuezeilen sind dafuer heller (text-2 #A9B3D6 → #C6CFEE) */
  .titel .spielmenue a:not(.aktiv):not(:hover):not(:focus-visible) { color: #C6CFEE; }
  /* v4.1: „Kamerafahrt abspielen“ im Titel ist sekundaer – Textlink in Mono, kein Knopf (konkurriert nicht mit „Labor betreten“) */
  .fahrtbtn.titel-fahrt, .fahrtbtn.titel-fahrt:hover { margin-top: 2px; height: auto; padding: 8px 4px; border: 0; background: none; box-shadow: none; color: var(--text-3); font: 500 11.5px/1 var(--font-mono); letter-spacing: .16em; }
  .fahrtbtn.titel-fahrt:hover, .fahrtbtn.titel-fahrt:focus-visible { color: var(--text-1); }
  .fahrtbtn.titel-fahrt .play { border-left-width: 6px; border-top-width: 4px; border-bottom-width: 4px; filter: none; }
  .fahrtbtn { gap: 10px; color: var(--text-2); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--haar-stark); background: rgba(4,5,10,.45); }
  .fahrtbtn:hover { color: #fff; border-color: rgba(185,205,255,.6); box-shadow: 0 0 22px -4px rgba(91,124,240,.7); }
  .fahrtbtn .play { width: 0; height: 0; border-left: 8px solid var(--glas); border-top: 5px solid transparent; border-bottom: 5px solid transparent; filter: drop-shadow(0 0 4px #8FB0FF); }
  .fahrtbtn[aria-pressed="true"] .play { width: 8px; height: 9px; border: 0; border-left: 3px solid var(--glas); border-right: 3px solid var(--glas); }
  html.variante-1 .fahrtbtn { display: none; }
  .cine-knoepfe { position: absolute; z-index: 3; left: var(--gutter); bottom: 20px; display: flex; gap: 10px; opacity: clamp(0, (var(--p, 0) - .06) * 12, 1); transition: opacity .6s; }
  html.fahrt-laeuft .cine-knoepfe { opacity: 1; }
  /* v4.2b: am Handy ragte „Kamerafahrt abspielen“ rechts aus dem Bild (schon in v4.1) – Knopfleiste auf die Bildbreite begrenzen */
  @media (max-width: 480px) { .cine-knoepfe { right: var(--gutter); gap: 8px; } .cine-knoepfe .btn { padding-inline: 12px; min-width: 0; } .cine-knoepfe .fahrtbtn { font-size: 11.5px; letter-spacing: .06em; gap: 8px; } }
  .cine-knoepfe .soundbtn { position: static; opacity: 1; }
  /* Claim */
  .cine-layer.claim .h-hero { font-size: clamp(2.5rem, 1.4rem + 4.4vw, 5.6rem); }
  .cine-layer.claim .label { color: #C9D2F0; }
  .blick { font: 300 clamp(1.4rem, 1rem + 1.6vw, 2.3rem)/1.2 var(--font-display); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: #DCE4FF; text-shadow: 0 0 18px rgba(91,124,240,.6); }
  /* Ort-Texte */
  .ort .nr { font-size: 11.5px; letter-spacing: .24em; }
  .ort .nr::before { content: "◇ "; color: var(--ton); }
  .ort .h1 { font-size: clamp(30px, .9rem + 2vw, 50px); }
  .ort .linie { width: 72px; height: 1px; box-shadow: 0 0 14px 1px var(--ton); }
  /* Karussell (DOM, im Takt des Kosmos) */
  .orbit { position: absolute; inset: 0; z-index: 2; pointer-events: none; visibility: hidden; }
  .ort-sym { position: absolute; left: 0; top: 0; transform-origin: 50% 50%; will-change: transform, opacity; max-width: none; }
  .ort-sym.vorn { filter: drop-shadow(0 0 18px color-mix(in srgb, var(--ton) 26%, transparent)); }   /* v4.2: Schein leiser – Glas, kein Neon */
  .orbit-ring { position: absolute; left: calc(var(--orbit-cx) - var(--orbit-rx)); top: calc(var(--orbit-cy) - var(--orbit-ry)); width: calc(2 * var(--orbit-rx)); height: calc(2 * var(--orbit-ry));
    border-radius: 50%; border: 1px solid rgba(185,205,255,.14); transform: scale(var(--orbit-ein, 1)); }   /* v4.2b: Einflug per scale statt Breite/Hoehe je Bild */
  .orbit-ring::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; padding: 1px;
    background: conic-gradient(from calc(var(--k, 0) * -90deg + 150deg), transparent 0deg, rgba(220,232,255,.9) 14deg, transparent 40deg, transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
  .orbit-ring.zwei { transform: scale(calc(1.32 * var(--orbit-ein, 1))); border-style: dashed; border-color: rgba(185,205,255,.07); }
  .orbit-ring.zwei::after { display: none; }
  /* HUD rechts */
  .hud .rail { height: 200px; width: 1px; background: repeating-linear-gradient(180deg, var(--haar-stark) 0 1px, transparent 1px 10px); overflow: visible; }
  .hud .rail::after { width: 1px; box-shadow: 0 0 8px #8FB0FF; }
  .hud .rail i { position: absolute; left: -3px; width: 7px; height: 7px; rotate: 45deg; border: 1px solid var(--glas); top: -3px; translate: 0 calc(var(--p, 0) * 200px); box-shadow: 0 0 8px #8FB0FF; }   /* v4.2b: translate statt top (Schiene ist 200 px hoch) – kein Layout je Scroll-Bild */
  .hud .tick { font-size: 11.5px; letter-spacing: .18em; }
  /* v4.2b: Abschnitts-Label rechts liegt im Anflug auf dem hellen Sog (gemessen 2,8 : 1) – dunkle Glasplakette dahinter, Schrift heller */
  .hud .tick { color: #D5DCF5; background: rgba(3,4,9,.62); padding: 5px 7px 4px; margin-right: -7px; border-radius: 4px; }
  /* reduzierte Bewegung / kein WebGL: statisches Endbild */
  /* v4.1: Endbild passt auf einen Bildschirm (Logo kleiner, zweiter Claim weg, Claim kompakt) */
  .cine.is-static .logo-still { display: block; width: min(80vw, 560px); margin: 0 auto 4px; mix-blend-mode: screen; }
  .cine.is-static .orbit, .cine.is-static .stage-hud, .cine.is-static .cine-knoepfe, .cine.is-static .intro-skip, .cine.is-static .ort, .cine.is-static .titel-fahrt, .cine.is-static .cine-layer.claim-zwei { display: none; }
  .cine.is-static .cine-stage { padding-top: calc(var(--head-h) + 12px); }
  .cine.is-static .titel .menue-block { justify-items: center; margin-inline: auto; gap: 10px; }
  .cine.is-static .titel .spielmenue a { height: 38px; }
  .cine.is-static .cine-layer.titel { margin-bottom: 18px; }
  .cine.is-static .cine-layer.claim { text-align: center; margin-bottom: 28px; }
  .cine.is-static .cine-layer.claim .h-hero { font-size: clamp(1.7rem, 1rem + 2.2vw, 2.6rem); }
  .cine.is-static .cine-layer.claim .label { margin-bottom: 8px !important; }
  /* Lesbarkeits-Schatten fuer die Ort-Texte: eigenes Element statt .cine-stage::after (so erbt nur es --p) */
  .cine-stage::after { display: none; }
  .ort-schatten { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(3,4,9,.78), rgba(3,4,9,0) 42%); opacity: clamp(0, (var(--p, 0) - 0.5) * 20, 1); }
  @media (max-width: 820px) { .ort-schatten { background: linear-gradient(0deg, rgba(3,4,9,.88), rgba(3,4,9,0) 48%); } }

  /* ---------- Kapitel II ---------- */
  .ueber-raster { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 104px); align-items: center; }
  .fakten { list-style: none; margin: 28px 0 28px; padding: 0; border-top: 1px solid var(--line); }
  .fakten li { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .fakten li > span:first-child { font: 500 12px/1.9 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
  @media (max-width: 860px) { .ueber-raster { grid-template-columns: 1fr; } .portrait { max-width: 300px; } .fakten li { grid-template-columns: 1fr; gap: 2px; } }

  /* ---------- Kapitel III: Rollen = Charakterwahl ---------- */
  .netz-kopf { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 36px; }
  .rollen { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .rolle-karte { position: relative; display: grid; align-content: start; gap: 10px; min-height: 240px; padding: 26px 22px 22px; border-radius: var(--r-3); border: 1px solid var(--line);
    background: radial-gradient(90% 60% at 50% 0%, rgba(53,89,217,.12), transparent 70%), var(--ink-1); color: inherit; text-decoration: none;
    transition: border-color var(--t-mid), transform var(--t-mid) var(--ease-out), background var(--t-mid); }
  .rolle-karte:hover { border-color: rgba(185,205,255,.42); transform: translateY(-3px); }
  .rolle-karte b { font: 600 18px/1.2 var(--font-display); margin-top: 18px; }
  .rolle-karte small { color: var(--text-3); font-size: 13.5px; }
  .rolle-karte .waehlen { margin-top: auto; padding-top: 22px; font: 600 13px/1 var(--font-display); letter-spacing: .06em; color: var(--text-2); }
  .rolle-karte .waehlen span { color: var(--glas); }
  .rolle-karte:hover .waehlen { color: var(--text-1); }
  .bandzeile { display: none; }
  @media (max-width: 1180px) and (min-width: 621px) {   /* v3: Tablet 3 + 2 statt 5 schmaler Spalten */
    .rollen { grid-template-columns: repeat(6, minmax(0, 1fr)); } .rolle-karte { grid-column: span 2; min-height: 200px; }
    .rolle-karte:nth-child(4) { grid-column: 2 / span 2; } .rolle-karte:nth-child(5) { grid-column: 4 / span 2; }
  }
  @media (max-width: 980px) { .netz-kopf { grid-template-columns: 1fr; gap: 18px; } }
  @media (max-width: 620px) {
    /* mobil: horizontales Band, kein verwaistes Einzelstück; nächste Karte schaut an */
    .rollen { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scrollbar-width: none; }
    .rollen::-webkit-scrollbar { display: none; }
    .rolle-karte { flex: 0 0 min(62vw, 240px); scroll-snap-align: start; min-height: 196px; }
    .bandzeile { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
  }
  .kontakt-raster { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 104px); align-items: start; }
  .kontakt-raster .direkt { margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
  .kontakt-raster .direkt li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .kontakt-raster .direkt li a { overflow-wrap: anywhere; }
  .kontakt-raster .direkt li > span:first-child { font: 500 12px/1.9 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
  .kontaktform { display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); }
  @media (max-width: 860px) { .kontakt-raster { grid-template-columns: 1fr; } }
  .abschnitt-dunkel { background: var(--ink-1); }

  /* ---------- Referenzen (16.11.2026, Repo: nicht aus dem Muster; Stellwerte nach Durchsicht der Designerin): ruhige Logo-Reihe als Abschluss von Kapitel I. Einträge: kern/referenzen.py ---------- */
  /* Breit: Beschriftung links, eine Haarlinie führt zu den Kacheln rechts */
  /* 17.11.2026 (Mia/Marius am Screenshot): Luft über und unter der Reihe halbiert – oben der eigene Abstand, unten zieht ein negativer Rand die halbe Kapitel-Polsterung (--section-y) ab */
  .referenzen { margin-top: clamp(28px, 2.5vw + 12px, 48px); margin-bottom: calc(var(--section-y) * -.5); display: flex; align-items: center; gap: 20px clamp(20px, 2.4vw, 36px); }
  .referenzen h3 { flex: 1 0 auto; margin: 0; display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px); white-space: nowrap; }
  .referenzen h3::after { content: ""; flex: 1; min-width: 48px; height: 1px; background: linear-gradient(90deg, var(--line-strong), var(--line)); }
  .ref-reihe { --ref-h: 66px; flex: 0 1 auto; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
  .ref { flex: 0 1 auto; width: 232px; min-width: 0; height: 116px; border-radius: var(--r-2); border: 1px solid var(--haar); background: var(--glass-fill), rgba(13,16,32,.8); box-shadow: var(--edge-top);
    transition: border-color var(--t-mid) var(--ease-out); }
  .ref, .ref a { display: grid; place-items: center; }
  .ref a { width: 100%; height: 100%; border-radius: inherit; }
  .ref a:focus-visible { outline: 2px solid #8FB0FF; outline-offset: 3px; box-shadow: none; }
  /* Logos sind einfarbig im Ton der Seite (#C9D4F5 auf transparent): leicht gedämpft über die Deckkraft (--deckkraft je Logo, seit 17.11. um .87 statt .6 – die Unterzeilen waren zu blass), bei Hover/Fokus voll. --skala gleicht die optische Höhe an. Kachelfläche seit 17.11. deckender (.8 statt .42), damit die Sterne nicht durch die Logos scheinen */
  .ref img { display: block; height: calc(var(--ref-h) * var(--skala, 1)); width: auto; max-width: 78%; object-fit: contain; opacity: var(--deckkraft, .87); transition: opacity var(--t-mid) var(--ease-out); }
  .ref:hover img, .ref a:focus-visible img { opacity: 1; }
  .ref:has(a):hover, .ref:has(a:focus-visible) { border-color: var(--haar-stark); }
  @media (max-width: 860px) { .ref-reihe { --ref-h: 60px; } .ref { width: 208px; height: 104px; } }
  /* Gestapelt (Beschriftung mit Linie oben, Kacheln darunter): am Handy immer – und mit drei oder mehr Kacheln schon unter 1100 px, neben der Beschriftung würden sie zu schmal */
  @media (max-width: 1099px) {
    .referenzen:has(.ref:nth-child(3)) { flex-direction: column; align-items: stretch; }
    .referenzen:has(.ref:nth-child(3)) h3 { flex: none; }
    .referenzen:has(.ref:nth-child(3)) .ref-reihe { flex-wrap: wrap; }
  }
  @media (max-width: 699px) { .referenzen { flex-direction: column; align-items: stretch; } .referenzen h3 { flex: none; } }
  @media (max-width: 620px) {
    .ref-reihe { --ref-h: 64px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } /* 17.11.: 64 statt 58 px – „ORGANICS“ war am Handy zu klein */
    .ref { width: auto; height: 104px; }
  }
  /* Laufband (erst ab LAUFBAND_AB aktiven Einträgen). Grundzustand = Stillstand: feste, umbrechende Reihe ohne die stumme Kopie – so bleibt es bei prefers-reduced-motion */
  .referenzen.als-band { flex-direction: column; align-items: stretch; }
  .referenzen.als-band h3 { flex: none; }
  .ref-band .ref-reihe { flex-wrap: wrap; }
  .ref-band .ref-reihe[aria-hidden="true"] { display: none; }
  /* Nur wer Bewegung zulässt, bekommt das Band: zwei gleiche Listen wandern um genau eine Listenbreite (transform, feste Höhe – kein Layout-Springen), Logos ohne Kachelrahmen, Pause bei Hover und Tastaturfokus */
  @media (prefers-reduced-motion: no-preference) {
    .ref-band { display: flex; gap: 72px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 min(120px, 12%), #000 calc(100% - min(120px, 12%)), transparent); mask-image: linear-gradient(90deg, transparent, #000 min(120px, 12%), #000 calc(100% - min(120px, 12%)), transparent); }
    .ref-band .ref-reihe, .ref-band .ref-reihe[aria-hidden="true"] { display: flex; flex: 0 0 auto; flex-wrap: nowrap; gap: 72px; min-width: 100%; justify-content: space-around; animation: ref-lauf var(--ref-dauer, 60s) linear infinite; }
    .ref-band .ref, .ref-band .ref:has(a):hover, .ref-band .ref:has(a:focus-visible) { flex: 0 0 auto; width: auto; height: 104px; border-color: transparent; background: none; box-shadow: none; }
    .ref-band .ref img { max-width: none; }
    .ref-band:hover .ref-reihe, .ref-band:focus-within .ref-reihe { animation-play-state: paused; }
  }
  @keyframes ref-lauf { to { transform: translateX(calc(-100% - 72px)); } }

  .sigil { width: 46px; height: 46px; fill: none; stroke: var(--glas); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round;
    filter: drop-shadow(0 0 4px rgba(91,124,240,.9)) drop-shadow(0 0 14px rgba(53,89,217,.55)); }