/* ═══════════════════════════════════════════════════════════════
   Startseite — seiteneigene Bausteine
   Setzt css/basis.css voraus; die Seite lädt BEIDE Dateien in dieser
   Reihenfolge. Hier stehen nur die Teile, die es sonst nirgends gibt:
   Hero mit Konstruktionszeichnungs-Motiv, Laufband, Über mich,
   Werdegang mit Mess-Tafel, Bento, Film-Bühne und Interessen.
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════ Hero ═══════════════════════════ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--kopf-hoehe) + 40px) 0 90px;
  overflow: clip;
}

/* Blueprint-Raster: das Konstruktionszeichnungs-Motiv. Reine, statische
   Hintergrundgrafik — kostet keinen Animations-Frame. Nach unten weich
   ausgeblendet, damit das Raster nicht in den Inhalt hineinregiert. */
.hero-raster {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--plan-linie) 1px, transparent 1px),
    linear-gradient(90deg, var(--plan-linie) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.35;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.55) 55%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.55) 55%, transparent 92%);
  pointer-events: none;
}

/* Aurora lebt LOKAL im Hero und scrollt mit weg — keine fixe Ebene.
   Die Drift läuft nur, solange JS die Klasse .laeuft setzt (Sichtfeld). */
.hero-aurora {
  position: absolute;
  inset: -10% -6%;
  pointer-events: none;
  will-change: transform;
}
.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}
.aurora-orb-1 {
  width: 44vw; height: 44vw;
  left: -8%; top: -12%;
  background: radial-gradient(circle, rgba(59, 108, 210, 0.5), transparent 65%);
}
.aurora-orb-2 {
  width: 36vw; height: 36vw;
  right: -4%; top: 16%;
  background: radial-gradient(circle, rgba(59, 108, 210, 0.32), transparent 65%);
}
.aurora-orb-3 {
  width: 30vw; height: 30vw;
  left: 34%; bottom: -18%;
  background: radial-gradient(circle, rgba(59, 108, 210, 0.30), transparent 65%);
}
.hero-aurora.laeuft .aurora-orb-1 { animation: orb-drift-1 16s ease-in-out infinite alternate; }
.hero-aurora.laeuft .aurora-orb-2 { animation: orb-drift-2 20s ease-in-out infinite alternate; }
.hero-aurora.laeuft .aurora-orb-3 { animation: orb-drift-3 18s ease-in-out infinite alternate; }
@keyframes orb-drift-1 { to { transform: translate3d(5vw, 4vh, 0) scale(1.08); } }
@keyframes orb-drift-2 { to { transform: translate3d(-4vw, 6vh, 0) scale(0.94); } }
@keyframes orb-drift-3 { to { transform: translate3d(3vw, -5vh, 0) scale(1.06); } }

.hero-innen {
  position: relative;
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--t-xs);
  font-weight: var(--w-halb);
  letter-spacing: var(--sp-versal);
  text-transform: uppercase;
  color: var(--text-dim);
}
.puls-punkt {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--akzent);
  box-shadow: 0 0 0 0 var(--akzent-schein);
}
html.js:not(.still) .puls-punkt { animation: puls 2.4s ease-out infinite; }
@keyframes puls {
  0%   { box-shadow: 0 0 0 0 var(--akzent-schein); }
  70%  { box-shadow: 0 0 0 11px rgba(91, 157, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(91, 157, 255, 0); }
}

.hero-titel {
  margin: 18px 0 14px;
  font-family: var(--schrift-display);
  /* Voller Name in EINER Zeile (Founder-Feedback): 5vw hält „Markus Mösch"
     in der linken Hero-Spalte, die Media-Regeln unten übernehmen ab dem
     Stapel-Umbruch. Nachgemessen bei 1440/1280/1024/960/768/390/360. */
  font-size: var(--t-hero);
  font-weight: var(--w-fett);
  letter-spacing: var(--sp-display);
  line-height: 1.15;
}
/* Die Zeile beschneidet ihren Inhalt — so tauchen die Zeichen beim
   Reveal wie hinter einer Kante auf. Etwas Luft für Umlaut-Punkte.
   nowrap: der Name darf auf keiner Breite umbrechen. */
.hero-zeile {
  display: block;
  overflow: clip;
  padding-top: 0.08em;
  margin-top: -0.08em;
  white-space: nowrap;
}
.titel-vorname { display: inline-block; }
.hero-zeichen { display: inline-block; will-change: transform; }
.zeilen-kern {
  display: inline-block;
  background: var(--verlauf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.04em;
  will-change: transform;
}

.hero-rollen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 8px;
  row-gap: 4px;
  font-size: var(--t-s);
  font-weight: var(--w-halb);
  color: var(--text-dim);
}
.hero-rolle { display: inline-flex; align-items: center; }
.hero-rolle + .hero-rolle::before {
  content: '·';
  margin-right: 8px;
  color: var(--akzent);
}

.hero-sub {
  margin: 20px 0 30px;
  max-width: 54ch;
  font-size: var(--t-s);
  color: var(--text-dim);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ── Hero-Figur mit Bemaßung und Schriftfeld ── */
.hero-figur { position: relative; }
.hero-foto-rahmen {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--kante-stark);
  box-shadow: var(--schatten-gross);
}
.hero-foto-innen {
  overflow: clip;
  border-radius: calc(var(--radius) - 1px);
}
.hero-foto-innen img {
  width: 100%;
  height: auto;
  will-change: transform;
}

/* Bemaßungs-Ecken: vier Winkel wie Passmarken einer Zeichnung. */
.mass-ecke {
  position: absolute;
  width: 22px; height: 22px;
  border: 0 solid var(--akzent);
  opacity: 0.85;
  pointer-events: none;
}
.mass-ecke-ol { top: -7px; left: -7px; border-top-width: 2px; border-left-width: 2px; }
.mass-ecke-or { top: -7px; right: -7px; border-top-width: 2px; border-right-width: 2px; }
.mass-ecke-ul { bottom: -7px; left: -7px; border-bottom-width: 2px; border-left-width: 2px; }
.mass-ecke-ur { bottom: -7px; right: -7px; border-bottom-width: 2px; border-right-width: 2px; }

.scroll-hinweis {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
}
.scroll-hinweis-spur {
  width: 24px; height: 38px;
  border: 1.5px solid var(--kante-stark);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.scroll-hinweis-punkt {
  width: 4px; height: 8px;
  border-radius: 999px;
  background: var(--akzent);
}
html.js:not(.still) .scroll-hinweis-punkt { animation: cue 1.8s ease-in-out infinite; }
@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  55%      { transform: translateY(12px); opacity: 0.2; }
}
.scroll-hinweis-text {
  font-size: var(--t-mikro);
  letter-spacing: var(--sp-versal);
  text-transform: uppercase;
}

/* ═══════════════════════════ Laufband ═══════════════════════════ */

.laufband {
  position: relative;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
  overflow: clip;
}
.laufband-spur { display: flex; width: max-content; }
.laufband.laeuft .laufband-spur { animation: laufband-lauf 36s linear infinite; }
@keyframes laufband-lauf { to { transform: translateX(-50%); } }
.laufband-satz {
  font-family: var(--schrift-display);
  font-size: var(--t-l);
  font-weight: var(--w-halb);
  letter-spacing: var(--sp-text);
  color: rgba(255, 255, 255, 0.30);
  white-space: nowrap;
}
.laufband-satz i { color: var(--akzent); opacity: 0.55; margin: 0 14px; }

/* ═══════════════════════════ Über mich ═══════════════════════════ */

.ueber-gitter {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}

.ueber-figur { position: sticky; top: calc(var(--kopf-hoehe) + 28px); }
.ueber-foto-rahmen {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--kante-stark);
  box-shadow: var(--schatten-gross);
}
.ueber-foto-innen {
  overflow: clip;
  border-radius: calc(var(--radius) - 1px);
}
.ueber-foto-innen img { width: 100%; height: auto; will-change: transform; }

.ueber-text p { color: var(--text-dim); }
.ueber-text p + p { margin-top: 18px; }
.ueber-text strong { color: var(--text); font-weight: var(--w-halb); }

.fakten {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.fakten li {
  padding: 14px 16px;
  background: var(--flaeche);
  border: 1px solid var(--kante);
  border-radius: var(--radius-klein);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fakt-label {
  font-size: var(--t-mikro);
  letter-spacing: var(--sp-versal);
  text-transform: uppercase;
  color: var(--text-dim);
}
.fakt-wert {
  font-weight: var(--w-halb);
  font-size: var(--t-s);
}

.ziffern-band {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: clamp(26px, 3.4vw, 42px);
  background: var(--flaeche);
  border: 1px solid var(--kante);
  border-radius: var(--radius);
}
.ziffer { text-align: center; }
.ziffer-wert-zeile {
  display: block;
  font-family: var(--schrift-display);
  font-size: var(--t-xl);
  font-weight: var(--w-fett);
  letter-spacing: var(--sp-display);
  line-height: 1.15;
  background: var(--verlauf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.ziffer-label {
  display: block;
  margin-top: 6px;
  font-size: var(--t-xs);
  color: var(--text-dim);
}

/* ═══════════════════════════ Werdegang ═══════════════════════════ */

.lauf-gitter {
  display: grid;
  grid-template-columns: 260px 2px 1fr;
  column-gap: clamp(28px, 4vw, 56px);
}

/* Mess-Tafel: klebt (KEIN Pin) und führt Jahr, Art, Zähler mit. */
.lauf-tafel {
  position: sticky;
  top: calc(var(--kopf-hoehe) + 22vh);
  align-self: start;
  padding-bottom: 24px;
}
.lauf-jahr {
  font-family: var(--schrift-display);
  font-size: var(--t-xl);
  font-weight: var(--w-fett);
  letter-spacing: var(--sp-display);
  line-height: 1;
  background: var(--verlauf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.lauf-tag {
  margin-top: 10px;
  font-size: var(--t-s);
  font-weight: var(--w-halb);
  letter-spacing: var(--sp-versal);
  text-transform: uppercase;
  color: var(--text-dim);
}
.lauf-index {
  margin-top: 4px;
  font-size: var(--t-xs);
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

/* Vermessungslinie: grauer Grund, der Verlauf füllt sich per Scrub. */
.lauf-linie {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}
.lauf-linie span {
  position: absolute;
  inset: 0;
  background: var(--verlauf);
  border-radius: inherit;
  transform: scaleY(0);
  transform-origin: top;
}

.lauf-karten { display: grid; gap: clamp(22px, 3vw, 34px); }

.station { position: relative; }
/* Stationspunkt sitzt auf der Linie: Spaltenabstand + halbe Linienbreite. */
.station-punkt {
  position: absolute;
  top: 34px;
  left: calc(-1 * clamp(28px, 4vw, 56px) - 7px);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--grund-erhoben);
  border: 2px solid var(--kante-stark);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.station.ist-aktiv .station-punkt {
  background: var(--akzent);
  border-color: var(--akzent);
  box-shadow: 0 0 0 5px var(--akzent-flaeche), 0 0 18px var(--akzent-schein);
}

.station-karte {
  position: relative;
  padding: clamp(20px, 2.6vw, 30px);
  background: var(--flaeche);
  border: 1px solid var(--kante);
  border-radius: var(--radius);
  box-shadow: var(--schatten-karte);
  transform-style: preserve-3d;
  will-change: transform;
}
.station-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.station-chip {
  font-size: var(--t-mikro);
  font-weight: var(--w-fett);
  letter-spacing: var(--sp-versal);
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
}
/* EIN Chip-Aussehen für alle vier Stationsarten. Vorher trug jede Art
   ihre eigene Farbe (Hellblau, Türkis, Gelb, Violett) — vier zusätzliche
   Töne, die nichts erklären, was der Text nicht schon sagt („BERUF",
   „STUDIUM" …). Die Marken-Farben bleiben damit dem vorbehalten, was
   wirklich Akzent ist. */
.station-chip {
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--kante);
}
/* Nur die aktuelle Station trägt die Marken-Farbe — dort steht der Leser. */
.station.ist-aktiv .station-chip {
  color: var(--akzent);
  background: var(--akzent-flaeche);
  border-color: var(--akzent-kante);
}
.station-datum {
  font-size: var(--t-xs);
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}
.station-titel {
  font-family: var(--schrift-display);
  font-size: var(--t-l);
  font-weight: var(--w-fett);
  letter-spacing: var(--sp-display);
  line-height: 1.15;
}
.station-ort { margin-top: 4px; font-size: var(--t-s); color: var(--text-dim); }
.station-text { margin-top: 12px; font-size: var(--t-s); color: var(--text-dim); }

.station-arbeit {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--akzent-kante);
  border-radius: var(--radius-klein);
  background: var(--akzent-flaeche);
}
.station-arbeit-label {
  font-size: var(--t-mikro);
  font-weight: var(--w-fett);
  letter-spacing: var(--sp-versal);
  text-transform: uppercase;
  color: var(--akzent);
}
.station-arbeit-text { margin: 8px 0 14px; font-size: var(--t-s); color: var(--text-dim); }

.lauf-download {
  margin-top: clamp(44px, 6vw, 72px);
  text-align: center;
}
.lauf-download-hinweis { margin-top: 12px; font-size: var(--t-xs); color: var(--text-dim); }

/* ═══════════════════════════ Kompetenzen (Bento) ═══════════════════════════ */

.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.bento-karte {
  position: relative;
  padding: clamp(22px, 3vw, 32px);
  background: var(--flaeche);
  border: 1px solid var(--kante);
  border-radius: var(--radius);
  box-shadow: var(--schatten-karte);
  overflow: clip;
  transform-style: preserve-3d;
  will-change: transform;
  --gx: 50%;
  --gy: 50%;
}
.bento-karte-breit { grid-column: 1 / -1; }

/* Glanzlicht folgt dem Zeiger (JS setzt --gx/--gy), nur bei Hover sichtbar. */
.bento-karte::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(560px circle at var(--gx) var(--gy),
              rgba(148, 190, 255, 0.14), transparent 42%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.bento-karte:hover::after { opacity: 1; }
.bento-karte:hover { border-color: var(--kante-stark); }

.bento-titel {
  font-family: var(--schrift-display);
  font-size: var(--t-l);
  font-weight: var(--w-fett);
  letter-spacing: var(--sp-display);
}
.bento-text { margin: 10px 0 16px; font-size: var(--t-s); color: var(--text-dim); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: var(--t-xs);
  font-weight: var(--w-halb);
  color: var(--text-dim);
  padding: 6px 13px;
  border: 1px solid var(--kante);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

/* ═══════════════════════════ Software ═══════════════════════════ */

/* Manifest und Film-Bühne teilen sich dieselbe volle Container-Breite und
   sind links bündig aufeinander ausgerichtet (Founder-Feedback 19.08.2026 —
   vorher: Text auf 21ch begrenzt, Film zentriert und damit eingerückt). */
/* Fließtext einer Sektion — dieselbe Schrift, Größe und Farbe wie überall
   sonst auf der Seite. Vorher stand hier ein Sonderformat in Display-Schrift
   und Titelgröße; das fiel aus dem Bild heraus. Die Wort-Aufhellung beim
   Lesen bleibt und wirkt in dieser Größe ruhiger. */
.sektion-text {
  max-width: 72ch;
  color: var(--text-dim);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.sektion-text div { display: inline; }

.film-buehne {
  /* position: relative — Bezugspunkt für den Vergrößerungs-Knopf. */
  position: relative;
  will-change: transform;
  /* Wächst beim Einscrollen — mit der linken Kante als Anker, damit die
     Bündigkeit mit dem Manifest während der Animation erhalten bleibt. */
  transform-origin: left center;
}
.film-buehne video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #05080f;
  border: 1px solid var(--kante-stark);
  border-radius: var(--radius);
  box-shadow: var(--schatten-gross);
}
.film-zeile {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: var(--t-s);
  color: var(--text-dim);
}

/* ═══════════════════════════ Interessen ═══════════════════════════ */

.interessen-gitter {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.interesse {
  padding: 24px;
  background: var(--flaeche);
  border: 1px solid var(--kante);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease,
              background-color 0.35s ease;
}
.interesse:hover {
  transform: translateY(-5px);
  border-color: var(--kante-stark);
  background: var(--flaeche-stark);
}
.interesse-zeichen { font-size: var(--t-l); display: block; margin-bottom: 12px; }
.interesse h3 {
  font-family: var(--schrift-display);
  font-size: var(--t-s);
  font-weight: var(--w-fett);
  letter-spacing: var(--sp-display);
  margin-bottom: 6px;
}
.interesse p { font-size: var(--t-s); color: var(--text-dim); }

/* ── Ausklappbare Vertiefung in einer Station (natives <details>) ──
   Von der echten Startseite übernommen: „Was die Niederlassung Ulm macht".
   Funktioniert ohne eine Zeile JavaScript und ist von Haus aus mit der
   Tastatur bedienbar. */
.station-knopf { margin-top: 16px; }

.station-mehr {
  margin-top: 16px;
  border-top: 1px solid var(--kante);
  padding-top: 14px;
}
.mehr-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  font-size: var(--t-s);
  font-weight: var(--w-halb);
  color: var(--text-dim);
}
.mehr-kopf::-webkit-details-marker { display: none; }
.mehr-pfeil { flex: none; transition: transform 0.35s var(--ease-out); }
.station-mehr[open] .mehr-pfeil { transform: rotate(180deg); }
.station-mehr[open] .mehr-kopf { color: var(--text); }
.mehr-inhalt { margin-top: 12px; font-size: var(--t-xs); color: var(--text-dim); }
.mehr-inhalt p + .mehr-titel { margin-top: 14px; }
.mehr-titel {
  font-weight: var(--w-halb);
  color: var(--text);
  margin-bottom: 6px;
}
.mehr-liste { display: grid; gap: 7px; margin-bottom: 4px; }
.mehr-liste li { padding-left: 14px; position: relative; }
.mehr-liste li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--akzent);
  opacity: 0.7;
}
.mehr-liste strong { color: var(--text); font-weight: var(--w-halb); }
.mehr-fuss { margin-top: 14px; opacity: 0.75; }
html.js:not(.still) .station-mehr[open] .mehr-inhalt { animation: faq-auf 0.4s var(--ease-out); }

/* ═══════════════════════════ Umbrüche ═══════════════════════════ */

/* 961–1120 px: Die volle Kopfzeile (Marke + Chip + sechs Links + Knopf)
   passt nicht mehr — overflow-x: clip schnitt den Kontakt-Knopf lautlos ab
   (Format-Sweep 1024 px, 19.08.2026). Chip weg, Links enger. */
@media (max-width: 1120px) {
  .kopf-link { padding: 8px 8px; font-size: var(--t-xs); }
}

@media (max-width: 1100px) {
  .hero-titel { font-size: clamp(40px, 4.8vw, 62px); }
}

@media (max-width: 960px) {
  /* Ohne JavaScript bleibt die Leiste stehen — sonst wäre die Seite dort
     nicht navigierbar (Lehre „Animationen brauchen JS-Fallback"). */
  html.js .kopf-links { display: none; }
  html.js .menue-knopf { display: flex; }
  .kopf-links { flex-wrap: wrap; justify-content: flex-end; }
  .hero { min-height: 0; padding-bottom: 70px; }
  .hero-innen { grid-template-columns: 1fr; gap: 40px; }
  /* Gestapelt darf der einzeilige Name die volle Breite nutzen. */
  .hero-titel { font-size: clamp(34px, 9.6vw, 88px); }
  .hero-figur { max-width: 560px; }
  .scroll-hinweis { display: none; }

  .ueber-gitter { grid-template-columns: 1fr; }
  .ueber-figur { position: static; max-width: 420px; }

  /* Werdegang: Tafel weg, Linie an den linken Rand. */
  .lauf-gitter { grid-template-columns: 2px 1fr; column-gap: 28px; }
  .lauf-tafel { display: none; }
  .station-punkt { left: calc(-28px - 7px); }

  .ziffern-band { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .interessen-gitter { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  /* Siehe oben: auf schmalen Geräten darf der Fließtext trennen. */
  p, li { -webkit-hyphens: auto; hyphens: auto; }

  .container { width: min(1160px, 100% - 36px); }
  /* Auf Handys deckt der fixe Schalter sonst zu viel Inhalt ab. */
  .regie { left: 12px; bottom: 12px; opacity: 0.85; }
  .regie-bewegung { padding: 6px 12px; font-size: var(--t-mikro); }
  .kopf-innen { width: min(1240px, 100% - 36px); }
  .hero-innen { width: min(1240px, 100% - 36px); }

  .bento { grid-template-columns: 1fr; }
  .interessen-gitter { grid-template-columns: 1fr; }
  .kontakt-reihe { grid-template-columns: 1fr; }
  .fakten { grid-template-columns: repeat(2, 1fr); }
  .film-zeile { justify-content: center; text-align: center; }
}

@media (max-width: 460px) {
  .hero-titel { font-size: clamp(28px, 10.4vw, 44px); }
  .ziffern-band { grid-template-columns: repeat(2, 1fr); }
  .kopf-cta { padding: 8px 14px; font-size: var(--t-xs); }
}

/* ── Zweite Absicherung gegen erzwungene Dunkelmodi ──
   Samsung Internet 30 malt Links gelb, obwohl der Browser als berechnete
   Farbe die richtige helle meldet (am Gerät nachgemessen 20.08.2026):
   Die Umrechnung passiert erst beim Zeichnen, hinter dem CSS. Die Angabe
   color-scheme allein genügt dort nicht.

   Diese beiden Blöcke setzen dieselben Werte noch einmal ausdrücklich je
   Systemvorgabe. Chromium-Abkömmlinge werten das als „die Seite behandelt
   Farbschemata selbst" und lassen ihren Umrechner eher weg. Für Chrome,
   Firefox und Safari ändert sich dadurch nichts — die Werte sind identisch.

   Hilft es auf dem Gerät nicht, bleibt nur die Browser-Einstellung
   („Dunkles Design für Webseiten" auf „Systemeinstellung" statt „Ein"). */
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; }
  a { color: inherit; }
}
@media (prefers-color-scheme: light) {
  /* Die Seite ist bewusst IMMER dunkel — auch bei heller Systemvorgabe. */
  :root { color-scheme: dark; }
  a { color: inherit; }
}
