/* ==========================================================================
   funck.gmbh — Dachseite der Funck GmbH
   Kein Framework, kein Build-Schritt. Eine Schrift (Archivo, variabel in
   Gewicht UND Breite): Überschriften breit und schräg wie die Wortmarke im
   Funck-IT-Logo, Fließtext in normaler Breite.
   Farbwelt Ruhrgebiet: Anthrazit (Nacht), Beton (helle Flächen), Glut
   (Abstich am Hochofen) als einziger Akzent, Kühlturm-Grau für Nebentext.
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-standard-normal.woff2) format('woff2-variations');
}
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-standard-italic.woff2) format('woff2-variations');
}

:root {
  --nacht: #12171d;
  --stahl: #1c242d;
  --stahl-hell: #2a3540;
  --beton: #e4e2dd;
  --kalk: #f2f1ee;
  --glut: #f2a93b;
  --glut-tief: #d98a17;
  --kuehlturm: #8c98a3;
  --russ: #1a1f24;
  --text-hell: #edece8;
  --text-hell-2: #aeb7bf;
  --text-dunkel-2: #545e67;

  --rahmen: 1200px;
  --rand: clamp(16px, 4vw, 48px);
  --abschnitt: clamp(72px, 10vw, 136px);

  --breit: 125%;
  --halbbreit: 112%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--nacht);
  color: var(--text-hell);
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.05; font-stretch: var(--breit); letter-spacing: -.01em; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--glut); outline-offset: 3px; border-radius: 4px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--glut); color: var(--russ); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.sprung:focus { top: 16px; }

.rahmen { width: 100%; max-width: calc(var(--rahmen) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }

/* ---------- Wortmarke ---------- */
.wortmarke {
  display: inline-flex; align-items: baseline; gap: .32em;
  text-decoration: none; font-style: italic; font-weight: 850; font-stretch: var(--breit);
  font-size: 1.3rem; letter-spacing: -.02em; line-height: 1;
}
.wortmarke img { display: block; height: 30px; width: auto; }
.wortmarke-fuss img { height: 44px; }
@media (max-width: 760px) { .wortmarke img { height: 26px; } }
.wortmarke span { font-weight: 400; font-style: normal; font-stretch: 100%; letter-spacing: 0; color: var(--glut); font-size: .78em; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 650; font-stretch: var(--halbbreit); font-size: .98rem; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
/* Glutknopf: Verlauf statt Fläche, beim Überfahren zieht ein Lichtstreif
   einmal darüber (Vorbild: „Unsere Software: DealPilot" auf junker-immobilien.io).
   isolation + z-index -1 legt den Streif über den Hintergrund, aber unter die Schrift. */
.knopf-glut, .kopf-nav .kopf-kontakt {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(110deg, #f7c56a, var(--glut) 55%, var(--glut-tief));
  color: var(--russ);
}
.knopf-glut::after, .kopf-nav .kopf-kontakt::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, .6) 50%, transparent 82%);
  transform: translateX(-130%);
  transition: transform .75s cubic-bezier(.3, .7, .3, 1);
}
.knopf-glut:hover::after, .knopf-glut:focus-visible::after,
.kopf-nav .kopf-kontakt:hover::after, .kopf-nav .kopf-kontakt:focus-visible::after { transform: translateX(130%); }
.knopf-linie { border: 1.5px solid rgba(237, 236, 232, .35); color: var(--text-hell); }
.knopf-linie:hover { border-color: var(--text-hell); }

/* ---------- Kopfzeile: schwebende Pille ---------- */
.kopf { position: fixed; inset: 14px 0 auto; z-index: 40; padding-inline: var(--rand); pointer-events: none; }
.kopf-leiste {
  pointer-events: auto;
  max-width: var(--rahmen); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 10px 10px 24px; border-radius: 999px;
  background: rgba(18, 23, 29, .55);
  border: 1px solid rgba(237, 236, 232, .1);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition: background-color .3s;
}
.kopf.ist-gescrollt .kopf-leiste { background: rgba(18, 23, 29, .86); }
/* Startseite: Pille und Logo wachsen mit dem Scrollweg (--p, --logo-da aus js/seite.js) */
.kopf.kopf-morph .kopf-leiste {
  background: rgba(18, 23, 29, calc(var(--p, 0) * .82));
  border-color: rgba(237, 236, 232, calc(var(--p, 0) * .1));
  -webkit-backdrop-filter: blur(calc(var(--p, 0) * 14px)) saturate(calc(100% + var(--p, 0) * 40%));
  backdrop-filter: blur(calc(var(--p, 0) * 14px)) saturate(calc(100% + var(--p, 0) * 40%));
  transition: none;
}
.kopf.kopf-morph .wortmarke img { opacity: var(--logo-da, 0); }
.held-logo { position: relative; z-index: 45; transform-origin: 0 0; will-change: transform; }   /* fliegt über der Kopfzeile (z 40) */.kopf-nav { display: flex; align-items: center; gap: 6px; }
.kopf-nav a {
  text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--text-hell-2);
  padding: 10px 14px; border-radius: 999px; transition: color .2s;
}
.kopf-nav a:hover { color: var(--text-hell); }
/* Unterstreichung wie bei ilter-digital.de: 2-px-Glutlinie wächst aus der Mitte,
   Schrift wird Glut. Der Punkt des sichtbaren Abschnitts bleibt markiert (.ist-aktiv). */
.kopf-nav a:not(.kopf-kontakt) { position: relative; transition: color .25s; }
.kopf-nav a:not(.kopf-kontakt)::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px;
  background: var(--glut); transform: scaleX(0); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.kopf-nav a:not(.kopf-kontakt):hover, .kopf-nav a.ist-aktiv { color: var(--glut); }
.kopf-nav a:not(.kopf-kontakt):hover::after, .kopf-nav a:not(.kopf-kontakt):focus-visible::after,
.kopf-nav a.ist-aktiv::after { transform: scaleX(1); }
.kopf-nav .kopf-kontakt { font-weight: 650; padding-inline: 20px; margin-left: 6px; }
.kopf-nav .kopf-kontakt:hover { color: var(--russ); }
.kopf-menue { display: none; }

@media (max-width: 760px) {
  .kopf-leiste { padding: 8px 8px 8px 20px; }
  /* Menüknopf: zwei Striche, die sich zum X drehen; Glasknopf */
  .kopf-menue {
    position: relative; z-index: 2;
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; border-radius: 50%; padding: 0 13px; cursor: pointer;
    background: rgba(237, 236, 232, .08); border: 1px solid rgba(237, 236, 232, .14);
    transition: background-color .3s, transform .3s;
  }
  .kopf-menue i { display: block; height: 2px; background: var(--text-hell); border-radius: 2px;
                  transition: transform .45s cubic-bezier(.7, 0, .2, 1), width .45s, background-color .3s; }
  .kopf-menue i:last-of-type { width: 60%; margin-left: auto; }
  .kopf-menue[aria-expanded="true"] { background: var(--glut); transform: rotate(180deg); }
  .kopf-menue[aria-expanded="true"] i { background: var(--russ); }
  .kopf-menue[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .kopf-menue[aria-expanded="true"] i:last-of-type { width: 100%; transform: translateY(-4px) rotate(-45deg); }
  .wortmarke { position: relative; z-index: 2; }

  /* Vollbild-Glas, das sich als Kreis vom Menüknopf aus öffnet; Punkte fliegen
     nacheinander ein. Die Pille verliert dabei ihren backdrop-filter, sonst wäre
     sie der Bezugsrahmen für position: fixed und das Glas bliebe in ihr gefangen. */
  .kopf.ist-offen .kopf-leiste { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; border-color: transparent; }
  .kopf-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 4px;
    padding: 110px 28px 48px;
    background: radial-gradient(120% 60% at 100% 0%, rgba(242, 169, 59, .16), transparent 60%), rgba(18, 23, 29, .74);
    -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
    clip-path: circle(0 at calc(100% - 46px) 42px);
    visibility: hidden;
    transition: clip-path .65s cubic-bezier(.7, 0, .2, 1), visibility 0s .65s;
  }
  .kopf.ist-offen .kopf-nav { clip-path: circle(160% at calc(100% - 46px) 42px); visibility: visible; transition: clip-path .65s cubic-bezier(.7, 0, .2, 1); }
  .kopf-nav a {
    padding: 14px 4px; color: var(--text-hell); border-radius: 0;
    font-size: 1.3rem; font-weight: 750; font-style: italic; font-stretch: var(--breit); letter-spacing: -.01em;
    border-bottom: 1px solid rgba(237, 236, 232, .08);     /* je Eintrag eine Zeile, sauber getrennt */
    opacity: 0; transform: translateY(22px);
    transition: opacity .45s ease, transform .55s cubic-bezier(.2, .8, .2, 1), color .25s;
  }
  .kopf.ist-offen .kopf-nav a { opacity: 1; transform: none; }
  .kopf.ist-offen .kopf-nav a:nth-child(1) { transition-delay: .18s; }
  .kopf.ist-offen .kopf-nav a:nth-child(2) { transition-delay: .25s; }
  .kopf.ist-offen .kopf-nav a:nth-child(3) { transition-delay: .32s; }
  .kopf.ist-offen .kopf-nav a:nth-child(4) { transition-delay: .39s; }
  .kopf-nav a:not(.kopf-kontakt)::after { left: 4px; right: auto; width: 46px; height: 3px; bottom: 6px; transform-origin: left; }
  .kopf-nav .kopf-kontakt {
    margin: 22px 0 0; padding: 16px 24px; text-align: center; border-radius: 999px;
    font-size: 1.1rem; font-style: normal; font-stretch: var(--halbbreit); font-weight: 700; letter-spacing: 0;
  }
  /* Rechtsseiten: nur ein Link, der bleibt sichtbar in der Pille */
  .kopf-nav.kopf-nav-fest {
    position: static; flex-direction: row; padding: 0; background: none; border: 0;
    opacity: 1; transform: none; visibility: visible;
  }
  .kopf-nav.kopf-nav-fest a { padding: 10px 14px; font-size: .95rem; color: var(--text-hell-2); }
}

/* ---------- Hero: Partikelnetz mit Gasometer und Zauberlehrling ---------- */
.held {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;   /* genau ein Bildschirm, die Bereichsleiste liegt darunter */
  display: flex; align-items: center;
  background: var(--nacht);
}
.held canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.held-text {
  position: relative;                   /* kein z-index: sonst bliebe das fliegende Logo unter der Kopfzeile gefangen */
  width: 100%; max-width: calc(var(--rahmen) + 2 * var(--rand)); margin-inline: auto;
  padding: 120px var(--rand) 96px;
  pointer-events: none;                 /* die Maus soll das Netz erreichen … */
}
.held-text a { pointer-events: auto; }  /* … die Knöpfe trotzdem */
/* Die Formen des Netzes belegen rechts gut die Hälfte (anordnung 'rechts') —
   der Text bleibt links davon */
.held-text > * { max-width: min(100%, 560px); }
@media (min-width: 900px) { .held-text > * { max-width: 50%; } }
.held h1 {
  font-size: clamp(2.6rem, 4.4vw, 4.3rem);
  font-style: italic; font-weight: 850; line-height: .98; letter-spacing: -.025em;
}
.held-unterzeile { margin-top: 28px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-hell-2); }
.held-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
/* Handy: Knöpfe rechtsbündig, links unten sitzt der Keks und verdeckte sonst den Text (User 06.10.2026) */
@media (max-width: 760px) { .held-knoepfe { justify-content: flex-end; } }
/* Startseite am Handy: Knöpfe rechts untereinander, links daneben sitzen
   Gasometer und Zauberlehrling (js/seite.js platzNebenKnoepfen). Hero nur so
   hoch wie sein Inhalt — kein unnötiges Scrollen (User 06.10.2026) */
@media (max-width: 760px) {
  #netz ~ .held-text .held-knoepfe { flex-direction: column; align-items: flex-end; margin-top: 28px; }
  .held:has(#netz) { min-height: 0; }
  #netz ~ .held-text { padding-bottom: 40px; }
}

/* Schreibmaschine (js/schreibmaschine.js) */
.sm-z { opacity: 0; }
.sm-z.an { opacity: 1; }
.sm-cursor { position: relative; display: inline-block; width: 0; }
.sm-cursor::after {
  content: ''; position: absolute; left: .04em; bottom: -.03em;   /* auf der Schriftlinie, Höhe ≈ Versalhöhe (User 06.10.2026: Strich saß zu hoch) */
  width: .06em; min-width: 3px; height: .78em; background: var(--glut);
  animation: sm-blink 1s steps(1) infinite;
}
.sm-cursor.tippt::after { animation: none; }
.sm-cursor.weg::after { animation: none; opacity: 0; transition: opacity .4s; }
@keyframes sm-blink { 50% { opacity: 0; } }

/* Logo-Auftritt (js/logo-auftritt.js): Funken zeichnen den Umriss, dann steht
   das Logo, und im Haus des k geht einmal das Licht an */
.held-marke { --logo-h: clamp(50px, 6vw, 88px); width: fit-content; margin-bottom: clamp(22px, 3vw, 34px); }
.held-logo { height: var(--logo-h); }

/* „GmbH“ unter dem Logo: erscheint im Matrix-Effekt (js/matrix-text.js) und weicht
   wie der übrige Text der Maus aus */
.held-gmbh {
  margin: calc(var(--logo-h) * .16) 0 0; padding-left: .2em; text-align: center; white-space: nowrap;
  font-size: calc(var(--logo-h) * .3); line-height: 1; font-weight: 760; font-stretch: 100%; letter-spacing: .2em;
  color: var(--text-hell);
}
.held-gmbh .mx-z { position: relative; display: inline-block; }
.held-gmbh .mx-z.wartet, .held-gmbh .mx-z.rauscht { color: transparent; }
.held-gmbh .mx-z.rauscht::after {
  content: attr(data-g); position: absolute; left: -.2em; right: -.2em; top: 0;
  text-align: center; font-weight: 400; letter-spacing: 0;
  color: var(--glut); text-shadow: 0 0 6px var(--glut), 0 0 14px var(--glut);
}
.held-gmbh .mx-z.faellt::after { animation: mx-fall .32s ease-out; }
.held-gmbh .mx-z.fest { animation: mx-fest .6s ease-out; }
@keyframes mx-fall { from { transform: translateY(-.9em); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes mx-fest { 0% { color: #fff; text-shadow: 0 0 10px var(--glut), 0 0 22px var(--glut); } 100% { text-shadow: none; } }
.held-logo svg { display: block; height: 100%; width: auto; overflow: visible; }
.held-logo path.b { opacity: 0; transition: opacity .8s ease; }
.held-logo.steht path.b { opacity: 1; }
.held-logo path.haus { opacity: 0; }
.held-logo.licht path.haus { animation: haus-licht 2.4s ease-out forwards; }
@keyframes haus-licht {
  0%   { opacity: 0; }
  18%  { opacity: 1; filter: drop-shadow(0 0 18px rgba(242, 169, 59, .9)); }
  55%  { opacity: .85; filter: drop-shadow(0 0 10px rgba(242, 169, 59, .6)); }
  100% { opacity: 0; filter: none; }
}
.logo-funken { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; transition: opacity .9s ease; }
.logo-funken.verlischt { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .held-logo path.b { opacity: 1; transition: none; }
  .held-logo.licht path.haus { animation: none; }
}

/* Text weicht der Maus aus (textNetz in js/seite.js) */
.held .wort { white-space: nowrap; }
.held .zz { display: inline-block; }

/* Auftritt nach dem Tippen — nur mit JS verstecken, sonst bliebe der Text weg */
.js [data-auftritt] { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js [data-auftritt].ist-da { opacity: 1; transform: none; }
.js .held-knoepfe[data-auftritt] { transition-delay: .15s; }
@media (prefers-reduced-motion: reduce) {
  .js [data-auftritt] { opacity: 1; transform: none; transition: none; }
}

.held-text { padding-bottom: 96px; }
@media (max-width: 899px) {
  .held { align-items: flex-start; }
  .held-text { padding-top: 128px; padding-bottom: 190px; }   /* unten Platz für die Formen (Tablet; Handy ≤760 siehe .held-knoepfe) */
}

/* ---------- Glas: eine Rezeptur für alle schwebenden Flächen ---------- */
.glas {
  background: linear-gradient(135deg, rgba(237, 236, 232, .09), rgba(237, 236, 232, .03));
  border: 1px solid rgba(237, 236, 232, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 50px rgba(0, 0, 0, .28);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

/* ---------- Bereichsleiste: Glasleiste direkt unter dem Hero ---------- */
.bereiche {
  position: relative; z-index: 2; margin: 28px auto;   /* unter dem Hero, außerhalb des ersten Bildes */
  max-width: var(--rahmen);
  width: calc(100% - 2 * var(--rand));
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: 22px; overflow: hidden;
}
.bereiche a {
  position: relative;
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px 24px 22px; text-decoration: none;
  border-right: 1px solid rgba(237, 236, 232, .1);
  transition: background-color .25s;
}
.bereiche a:last-child { border-right: 0; }
.bereiche a::after {        /* Glutkante, die beim Überfahren von links einläuft */
  content: ''; position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px;
  background: var(--glut); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.bereiche a:hover { background: rgba(237, 236, 232, .06); }
.bereiche a:hover::after, .bereiche a:focus-visible::after { transform: scaleX(1); }
.bereiche b { font-weight: 750; font-stretch: var(--breit); font-size: 1.02rem; }
.bereiche span { font-size: .9rem; color: var(--text-hell-2); }
@media (max-width: 760px) {
  .bereiche { grid-template-columns: 1fr 1fr; margin-top: 16px; border-radius: 18px; }
  .bereiche a { padding: 14px 16px 16px; }
  .bereiche a:nth-child(2) { border-right: 0; }
  .bereiche a:nth-child(-n+2) { border-bottom: 1px solid rgba(237, 236, 232, .1); }
}

/* ---------- Laufband mit gestrichelter Linie darunter (Vorbild caretechthiel.de) ---------- */
.laufband {
  overflow: hidden; padding: 22px 0;
  background: var(--stahl);
  border-top: 1px solid rgba(237, 236, 232, .08);
  /* Ränder weich ausblenden, damit die Wörter nicht hart abgeschnitten wirken */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.laufband-spur { display: flex; width: max-content; animation: laufband 48s linear infinite; }
.laufband:hover .laufband-spur { animation-play-state: paused; }
.laufband ul { display: flex; list-style: none; margin: 0; padding: 0; }
.laufband li {
  display: flex; align-items: center; white-space: nowrap;
  font-size: 1.05rem; font-weight: 600; font-stretch: var(--breit); color: var(--text-hell-2);
}
.laufband li::after {        /* Knotenpunkt wie im Netz als Trenner */
  content: ''; width: 7px; height: 7px; margin: 0 30px; border-radius: 50%;
  background: var(--glut); box-shadow: 0 0 10px rgba(242, 169, 59, .7);
}
@keyframes laufband { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .laufband-spur { animation: none; }
  .laufband ul[aria-hidden] { display: none; }
  .laufband ul { flex-wrap: wrap; justify-content: center; row-gap: 10px; padding-inline: var(--rand); }
  .laufband { -webkit-mask-image: none; mask-image: none; }
}

.strich {
  display: block; height: 3px; margin: 0; border: 0;
  background: repeating-linear-gradient(90deg, var(--glut) 0 16px, transparent 16px 34px);
  background-color: var(--nacht);
  opacity: .7;
}

/* ---------- Einblenden beim Scrollen (data-zeigen, js/seite.js) ---------- */
.js [data-zeigen] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-zeigen].ist-sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-zeigen] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Marken: Band mit hohen Bildkacheln ---------- */
.marken { padding-block: var(--abschnitt); overflow: hidden; }
.marken-kopf {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
  align-items: end; gap: 24px 48px;
}
.marken-kopf h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); font-style: italic; }
.marken-kopf p { max-width: 30em; color: var(--text-hell-2); }
.marken-pfeile { display: flex; gap: 10px; }
.pfeil {
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: transparent; border: 1.5px solid rgba(237, 236, 232, .3); color: var(--text-hell);
  transition: border-color .2s, background-color .2s, opacity .2s;
}
.pfeil:hover { border-color: var(--text-hell); }
.pfeil:disabled { opacity: .3; cursor: default; }
.pfeil svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.marken-band {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: flex; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  /* Erste Kachel fluchtet mit dem Rahmen, das Band läuft rechts aus dem Bild */
  padding-inline: max(var(--rand), calc((100vw - var(--rahmen)) / 2));
  scroll-padding-inline: max(var(--rand), calc((100vw - var(--rahmen)) / 2));
}
.marken-band::-webkit-scrollbar { display: none; }

.marke {
  flex: 0 0 clamp(270px, 30vw, 372px);
  aspect-ratio: 4 / 5;
  scroll-snap-align: start;
  position: relative; border-radius: 28px; overflow: hidden;
  background-color: var(--stahl);
  /* Ohne Foto: Raster wie auf einem Bauplan, darüber ein Glutschimmer */
  background-image:
    radial-gradient(120% 70% at 85% 0%, rgba(242, 169, 59, .16), transparent 60%),
    linear-gradient(rgba(237, 236, 232, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 236, 232, .045) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  isolation: isolate;
}
.marke::before {          /* Foto, wird per JS gesetzt, sobald es geladen ist */
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: var(--bild, none) center / cover no-repeat;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.marke::after {           /* Abdunklung unten, damit der Text immer lesbar bleibt */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18, 23, 29, .35) 0%, rgba(18, 23, 29, 0) 30%, rgba(18, 23, 29, .25) 52%, rgba(18, 23, 29, .92) 100%);
}
.marke > a, .marke > div {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between;
  padding: 26px; text-decoration: none; color: var(--text-hell);
}
.marke:hover::before { transform: scale(1.04); }
.marke > a:focus-visible { outline-offset: -4px; border-radius: 28px; }

.marke-bereich {
  align-self: flex-start;
  font-size: .82rem; font-weight: 600; font-stretch: var(--halbbreit);
  padding: 7px 13px; border-radius: 999px;
  background: rgba(18, 23, 29, .5); border: 1px solid rgba(237, 236, 232, .18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
/* Textfeld als Glasscheibe über dem Bild */
.marke-unten {
  display: flex; flex-direction: column; gap: 10px;
  margin: 0 -10px -10px; padding: 18px 18px 16px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(237, 236, 232, .1), rgba(237, 236, 232, .03));
  border: 1px solid rgba(237, 236, 232, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), background-color .3s;
}
.marke > a:hover .marke-unten { transform: translateY(-6px); }
/* Größe folgt der Kachelbreite (cqi), damit „ausbilden24“ und „Funck Foto“ in jeder
   Kachelgröße einzeilig bleiben und alle Namen auf einer Linie stehen */
.marke { container-type: inline-size; }
.marke-name { white-space: nowrap; font-size: clamp(1.4rem, 9cqi, 2.35rem); font-weight: 850; font-style: italic; font-stretch: var(--breit); line-height: 1; letter-spacing: -.02em; }
/* feste Höhe für drei Zeilen: Name und Adresse stehen so in allen Kacheln auf einer Linie */
.marke-text { font-size: .98rem; line-height: 1.5; height: 4.5em; overflow: hidden; color: rgba(237, 236, 232, .82); max-width: 26em; }
.marke-adresse {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  font-weight: 650; font-stretch: var(--halbbreit); font-size: .95rem; color: var(--glut);
}
.marke-adresse svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.marke > a:hover .marke-adresse svg { transform: translate(3px, -3px); }

/* bytebones: gestrichelt wie ein Entwurf, ohne Link */
.marke-bau { background-color: transparent; border: 1.5px dashed rgba(237, 236, 232, .28); }
.marke-bau::after { background: none; }
.marke-bau .marke-bereich { color: var(--glut); border-color: rgba(242, 169, 59, .45); }
.marke-bau .marke-name { color: var(--text-hell-2); }
/* Platzhalterzeile statt Adresse: hält Name und Text auf derselben Linie wie die Nachbarkacheln */
.marke-adresse-bald { color: var(--kuehlturm); font-weight: 500; }
/* Slogan von bytebones: jung und laut, in Glut */
.marke-slogan { display: inline-block; font-style: normal; font-weight: 750; font-stretch: var(--halbbreit); color: var(--glut); white-space: nowrap; }

/* Gekoppelter Modus (Desktop, js/seite.js setzt .ist-gekoppelt): Der Bereich
   bleibt beim Scrollen stehen, das Band fährt dabei nach links durch
   (Vorbild ilter-digital.de). Die Höhe der Sektion = Bildschirm + Fahrweg,
   gesetzt per JS als --hoehe; der Versatz kommt als --fahrt. */
.marken.ist-gekoppelt { padding-block: 0; height: var(--hoehe, auto); overflow: visible; }
.marken.ist-gekoppelt .marken-buehne {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 96px;                               /* unter der schwebenden Kopfzeile */
}
.marken.ist-gekoppelt .marken-band {
  overflow: visible; scroll-snap-type: none;
  transform: translate3d(var(--fahrt, 0px), 0, 0); will-change: transform;
}
.marken.ist-gekoppelt .marke { flex-basis: min(372px, 30vw, calc((100vh - 330px) * .8)); }
.marken.ist-gekoppelt .marken-pfeile { display: none; }
/* Fortschritt unter dem Band: gestrichelt wie die Trennlinien, füllt sich mit der Fahrt */
.marken-fortschritt { display: none; }
.marken.ist-gekoppelt .marken-fortschritt {
  display: block; height: 3px; margin-top: 40px;
  background: repeating-linear-gradient(90deg, rgba(237, 236, 232, .18) 0 16px, transparent 16px 34px);
  position: relative;
}
.marken.ist-gekoppelt .marken-fortschritt::after {
  content: ''; position: absolute; inset: 0;
  clip-path: inset(0 calc((1 - var(--anteil, 0)) * 100%) 0 0);   /* abschneiden statt skalieren, sonst dehnen sich die Striche */
  background: repeating-linear-gradient(90deg, var(--glut) 0 16px, transparent 16px 34px);
}

@media (max-width: 899px) {
  .marken-kopf { grid-template-columns: 1fr; }
  .marken-pfeile { display: none; }       /* auf dem Handy wischt man */
  .marken-band { margin-top: 40px; gap: 12px; }
  .marke { flex-basis: 78vw; border-radius: 22px; }
  .marke > a, .marke > div { padding: 22px; }
}

/* ---------- Arbeitsweise: dunkel mit Linienmuster, Grundsätze als Glaskarten
   (Vorbild: „Unsere Leistungen“ auf ilter-digital.de) ---------- */
.arbeitsweise { position: relative; overflow: hidden; isolation: isolate;
  /* zweite, kühle Wolke unten links (wie auf der ausbilden24-Paketseite), als Hintergrundverlauf — billiger als Schatten */
  background: radial-gradient(40% 50% at 8% 95%, rgba(61, 90, 115, .35), transparent 70%), var(--nacht); color: var(--text-hell); padding-block: var(--abschnitt); }
.arbeitsweise::before {      /* Quadratraster 64 px wie auf der ausbilden24-Paketseite, an den Rändern ausgeblendet */
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(237, 236, 232, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 236, 232, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(90% 75% at 55% 50%, #000 30%, transparent 85%);
  mask-image: radial-gradient(90% 75% at 55% 50%, #000 30%, transparent 85%);
}
.arbeitsweise::after {       /* Glutschimmer hinter den Karten, damit das Glas etwas zu brechen hat */
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: 620px; height: 620px; right: 4%; top: 18%; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 169, 59, .2), transparent 62%);
  /* keine filter-Unschärfe: auf großen Flächen legt sie das Rendern lahm, der Verlauf ist weich genug */
}
.arbeitsweise-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 80px; align-items: start; }
.arbeitsweise-kopf { position: sticky; top: 120px; }
.arbeitsweise-kopf h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-style: italic; }
.arbeitsweise-kopf p { margin-top: 20px; color: var(--text-hell-2); max-width: 26em; }
.grundsaetze { display: flex; flex-direction: column; gap: 18px; }
/* Fast durchsichtiges Glas wie bei ilter: Das Raster scheint durch, eine Lichtkante
   sitzt oben links und folgt beim Überfahren der Maus (--mx/--my aus js/seite.js),
   innen leuchtet ein schwacher Glutschein mit. */
.grundsatz {
  position: relative; padding: 34px 36px 30px; border-radius: 28px;
  background: rgba(237, 236, 232, .018);
  border: 1px solid rgba(237, 236, 232, .07);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  transform-origin: center;
}
.grundsatz::before, .frage::before, .kontakt-bereich .formular::before, .kontakt-bereich .kontakt-weg::before {         /* Lichtkante: Verlauf, per Maske nur auf dem 1-px-Rand sichtbar */
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 0px) var(--my, 0px), rgba(242, 169, 59, .85), rgba(237, 236, 232, .22) 35%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .55; transition: opacity .35s;
}
.grundsatz::after, .frage::after, .kontakt-bereich .formular::after, .kontakt-bereich .kontakt-weg::after {          /* Glutschein innen, folgt der Maus */
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 0px) var(--my, 0px), rgba(242, 169, 59, .09), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.grundsatz:hover::before, .frage:hover::before, .frage[open]::before, .kontakt-bereich .formular:hover::before, .kontakt-bereich .formular:focus-within::before, .kontakt-bereich .kontakt-weg:hover::before { opacity: 1; }
.grundsatz:hover::after, .frage:hover::after, .kontakt-bereich .formular:hover::after, .kontakt-bereich .kontakt-weg:hover::after { opacity: 1; }

/* Umdrehen wie die Lernkarte in acadivo: zwei halbe Drehungen, bei 90° wird der
   Inhalt getauscht (Vorder- und Rückseite sind verschieden hoch) */
.js .grundsaetze .grundsatz.dreht-weg { transform: perspective(1200px) rotateY(90deg); transition: transform .2s ease-in; }
.js .grundsaetze .grundsatz.dreht-her { transform: perspective(1200px) rotateY(-90deg); transition: none; }
.js .grundsaetze .grundsatz.dreht-zurueck { transition: transform .28s cubic-bezier(.2, .8, .3, 1.15); }
.karte-hinten h3 { color: var(--glut); }
.karte-hinten ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.karte-hinten li { position: relative; padding-left: 22px; color: var(--text-hell-2); }
.karte-hinten li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--glut); box-shadow: 0 0 8px rgba(242, 169, 59, .7); }
.karte-hinten a { color: var(--text-hell); text-decoration-color: var(--glut); text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .grundsatz.dreht-weg, .grundsatz.dreht-her, .grundsatz.dreht-zurueck { transition: none; transform: none; } }
.grundsatz h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); font-weight: 800; transition: color .25s; }
.grundsatz:hover h3 { color: var(--glut); }
.grundsatz p { margin-top: 14px; color: var(--text-hell-2); max-width: 36em; }
.mehr {
  background: transparent; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  padding: 8px 8px 8px 18px; border-radius: 999px; text-decoration: none;
  border: 1px solid rgba(237, 236, 232, .3); color: var(--text-hell);
  font-size: .9rem; font-weight: 650; font-stretch: var(--halbbreit);
  transition: border-color .25s, background-color .25s;
}
.mehr svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.mehr:hover { border-color: var(--glut); background: rgba(242, 169, 59, .1); }
.mehr:hover svg { transform: translateX(3px); }
@media (max-width: 899px) {
  .arbeitsweise-raster { grid-template-columns: 1fr; }
  .arbeitsweise-kopf { position: static; }
}

/* ---------- Ablauf: helle Sektion zwischen den dunklen, vier Schritte mit
   gestrichelter Verbindungslinie (die Schritte SIND eine Reihenfolge) ---------- */
.ablauf { background: var(--beton); color: var(--russ); padding-block: var(--abschnitt); }
.ablauf-kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; }
.ablauf-kopf h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-style: italic; }
.ablauf-kopf p { color: var(--text-dunkel-2); max-width: 30em; }
.schritte { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; }
.schritte::before {          /* Verbindungslinie auf Höhe der Ziffern */
  content: ''; position: absolute; left: 0; right: 0; top: 34px; height: 3px;
  background: repeating-linear-gradient(90deg, var(--glut-tief) 0 16px, transparent 16px 34px); opacity: .55;
}
/* Ablauf-Animation (js/seite.js setzt .laeuft, sobald die Schritte im Bild sind):
   Eine Glutlinie läuft von 01 bis 04, jeder Kreis leuchtet auf, wenn sie ihn erreicht */
.schritte::after {
  content: ''; position: absolute; left: 0; right: 0; top: 34px; height: 3px;
  background: var(--glut); box-shadow: 0 0 10px rgba(242, 169, 59, .6);
  clip-path: inset(0 100% 0 0);
}
.schritte.laeuft::after { animation: ablauf-linie 2.6s cubic-bezier(.45, 0, .25, 1) forwards; }
@keyframes ablauf-linie { to { clip-path: inset(0 0 0 0); } }
.schritte.laeuft .schritt-nr { animation: ablauf-kreis .5s ease-out forwards; }
.schritte.laeuft .schritt:nth-child(1) .schritt-nr { animation-delay: .05s; }
.schritte.laeuft .schritt:nth-child(2) .schritt-nr { animation-delay: .85s; }
.schritte.laeuft .schritt:nth-child(3) .schritt-nr { animation-delay: 1.65s; }
.schritte.laeuft .schritt:nth-child(4) .schritt-nr { animation-delay: 2.45s; }
@keyframes ablauf-kreis {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.14); background: var(--glut); border-color: var(--glut-tief); box-shadow: 0 0 0 8px rgba(242, 169, 59, .25); }
  100% { transform: scale(1); background: var(--glut); border-color: var(--glut-tief); box-shadow: 0 0 0 0 rgba(242, 169, 59, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .schritte::after { clip-path: none; }
  .schritte .schritt-nr { background: var(--glut); border-color: var(--glut-tief); }
  .schritte.laeuft::after, .schritte.laeuft .schritt-nr { animation: none; }
}
@media (max-width: 899px) { .schritte::after { display: none; } }
.schritt { position: relative; z-index: 1; }
.schritt-nr {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--beton); border: 2px solid var(--russ);
  font-weight: 850; font-style: italic; font-stretch: var(--breit); font-size: 1.35rem; letter-spacing: -.02em;
  transition: background-color .3s, color .3s, border-color .3s;
}
.schritt:hover .schritt-nr { background: var(--glut); border-color: var(--glut-tief); }
.schritt h3 { margin-top: 22px; font-size: clamp(1.3rem, 1.9vw, 1.6rem); font-weight: 800; }
.schritt p { margin-top: 10px; color: var(--text-dunkel-2); }
@media (max-width: 899px) {
  .ablauf-kopf { grid-template-columns: 1fr; }
  .schritte { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .schritte::before { display: none; }
}
@media (max-width: 520px) { .schritte { grid-template-columns: 1fr; } }

/* ---------- Region: das eine große Wort ---------- */
.region { position: relative; overflow: hidden; padding-block: var(--abschnitt); background: var(--nacht); }
.region-wort {
  font-size: clamp(3rem, 12.6vw, 13.5rem);
  font-weight: 900; font-style: italic; font-stretch: var(--breit);
  line-height: 1; letter-spacing: -.04em; white-space: nowrap;
  padding: 0 .1em .14em;          /* Platz für die Unterlänge des g, sonst endet die Füllung darüber */
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(237, 236, 232, .22);
  /* Glut läuft von unten in die Kontur — einmal beim Hereinscrollen */
  background: linear-gradient(0deg, var(--glut) 0%, var(--glut) var(--fuellung, 0%), transparent var(--fuellung, 0%));
  -webkit-background-clip: text; background-clip: text;
  user-select: none;
}
/* Glaskarte schiebt sich über den linken Rand des Fotos */
.region-text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: 48px; align-items: center; }
.region-karte { position: relative; z-index: 1; margin-right: -96px; padding: 40px; border-radius: 28px; }
.region-text h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-style: italic; }
.region-text p { margin-top: 20px; color: var(--text-hell-2); max-width: 32em; }
.region-bild { margin: 0; }
.region-wort { transform: translateX(var(--schub, 0)); will-change: transform; }

/* Kurzfilm (Förderturm bei Nacht → Büro) läuft stumm und gedämpft hinter dem
   Abschnitt; Standbild als Rückfall, Verlauf zur Nacht an beiden Rändern */
.region > *:not(.region-film) { position: relative; z-index: 1; }
.region-film {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url(../video/kurzfilm-ruhrgebiet.webp) center / cover no-repeat;
  opacity: .32;
}
.region-film::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--nacht) 0%, rgba(18, 23, 29, .2) 30%, rgba(18, 23, 29, .35) 70%, var(--nacht) 100%);
}
.region-film video, .marke video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .8s ease;
}
.region-film video.laeuft, .marke video.laeuft { opacity: 1; }
.marke video { z-index: -2; transition: opacity .8s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.marke:hover video { transform: scale(1.04); }
.region-bild img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; }
.region-bild figcaption { margin-top: 12px; font-size: .88rem; color: var(--kuehlturm); }
@media (max-width: 899px) {
  .region-text { grid-template-columns: 1fr; margin-top: 32px; }
  .region-karte { margin: 0 12px -56px; padding: 26px 22px; border-radius: 22px; }
  .region-bild img { border-radius: 22px; }
}

/* ---------- Über uns ---------- */
.ueber { background: var(--kalk); color: var(--russ); padding-block: var(--abschnitt); }
.ueber-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 88px; align-items: center; }
.ueber-person h2 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); font-style: italic; }
.ueber-rolle { margin-top: 12px; font-weight: 600; font-stretch: var(--halbbreit); color: var(--glut-tief); }
.ueber-bio { margin-top: 28px; max-width: 34em; font-size: 1.12rem; color: var(--text-dunkel-2); }

/* Werbevideo im Hochformat 3:4 (schwarze Seitenränder des Originals abgeschnitten) — lädt erst beim Klick */
.ueber-video { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: 28px; overflow: hidden; background: var(--russ); }
.ueber-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-start {
  position: absolute; left: 20px; bottom: 20px; z-index: 1;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 20px 8px 8px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(18, 23, 29, .72); color: var(--text-hell);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: inherit; font-weight: 650; font-stretch: var(--halbbreit); text-align: left; line-height: 1.2;
  transition: background-color .2s;
}
.video-start:hover { background: rgba(18, 23, 29, .9); }
.video-start svg { width: 44px; height: 44px; padding: 12px 11px 12px 13px; border-radius: 50%; background: var(--glut); fill: var(--russ); flex: none; }
.video-start small { display: block; font-weight: 400; font-stretch: 100%; font-size: .8rem; color: var(--text-hell-2); }
/* Knopf zeigt je nach Stand Abspielen oder Pause; beim Laufen kleiner und dezenter */
.video-start .symbol-pause { display: none; padding: 12px; }
.video-start.spielt .symbol-start { display: none; }
.video-start.spielt .symbol-pause { display: block; }
.video-start b { font-weight: inherit; }
.video-start.spielt { background: rgba(18, 23, 29, .5); }
.video-start.spielt small { display: none; }

.zeitleiste { list-style: none; margin: 40px 0 0; padding: 0; position: relative; }
.zeitleiste::before { content: ''; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1.5px; background: rgba(26, 31, 36, .25); }
.zeitleiste li { position: relative; padding: 0 0 30px 40px; display: flex; flex-direction: column; gap: 4px; }
.zeitleiste li:last-child { padding-bottom: 0; }
.zeitleiste li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--kalk); border: 2px solid var(--russ);
}
.zeitleiste li:last-child::before { background: var(--glut); border-color: var(--glut-tief); }
.zeitleiste time { font-weight: 800; font-stretch: var(--breit); font-size: 1.15rem; }
.zeitleiste span { color: var(--text-dunkel-2); }
@media (max-width: 899px) {
  .ueber-raster { grid-template-columns: 1fr; }
  .ueber-video { max-width: 440px; border-radius: 22px; }
}

/* ---------- Kontakt ---------- */
/* Zwei Glutwolken treiben langsam hinter der Glaskarte — sonst gäbe es hinter dem Glas nichts zu sehen */
.kontakt { position: relative; overflow: hidden; padding-block: var(--abschnitt); background: var(--nacht); isolation: isolate; }
.glut-wolke { position: absolute; z-index: -1; border-radius: 50%; opacity: .5; pointer-events: none; }
.glut-wolke-1 { width: 520px; height: 520px; left: 8%; top: 10%; background: radial-gradient(circle, rgba(242, 169, 59, .5), rgba(242, 169, 59, .12) 40%, transparent 68%); animation: wolke-1 18s ease-in-out infinite alternate; }
.glut-wolke-2 { width: 620px; height: 620px; right: 4%; bottom: -10%; background: radial-gradient(circle, rgba(61, 90, 115, .8), rgba(61, 90, 115, .2) 40%, transparent 68%); animation: wolke-2 22s ease-in-out infinite alternate; }
@keyframes wolke-1 { to { transform: translate(180px, 60px) scale(1.15); } }
@keyframes wolke-2 { to { transform: translate(-200px, -80px) scale(.9); } }
@media (prefers-reduced-motion: reduce) { .glut-wolke { animation: none; } }
.kontakt-karte { max-width: 820px; padding: clamp(28px, 5vw, 64px); border-radius: 32px; }
.kontakt h2 { max-width: 14em; font-size: clamp(2.1rem, 4.8vw, 4rem); font-style: italic; }
.kontakt p { margin-top: 20px; color: var(--text-hell-2); font-size: 1.12rem; max-width: 32em; }
.kontakt-wege { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.kontakt-karte { max-width: 960px; }

/* Häufige Kombinationen: kleine Glasfelder mit gestrichelter Kante (wie die Trennlinien) */
.kombis { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kombis li {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 18px;
  background: rgba(237, 236, 232, .05); border: 1.5px dashed rgba(242, 169, 59, .38);
}
.kombis b { font-weight: 750; font-stretch: var(--halbbreit); font-size: 1.02rem; }
.kombis span { font-size: .93rem; color: var(--text-hell-2); line-height: 1.5; }
@media (max-width: 640px) { .kombis { grid-template-columns: 1fr; } }

/* Partnerkachel (postbox): durchgezogener Glutrand statt gestrichelt */
.marke-partner { outline: 1.5px solid rgba(242, 169, 59, .55); outline-offset: -1.5px; }
.marke-partner .marke-bereich { color: var(--glut); border-color: rgba(242, 169, 59, .45); }

/* ---------- Fuß (neu 06.10.2026) ----------
   Oben Zuruf + Live-Status „jetzt erreichbar“ und vier Kontaktwege als Glas,
   darunter die Spalten, ganz unten die Wortmarke riesig und angeschnitten
   als Schlussbild, mit Glutschein aus der Tiefe. */
.fuss { position: relative; overflow: hidden; isolation: isolate; background: var(--nacht); padding: 0 0 0; }
.fuss > .strich { margin: 0; }
.fuss::before {
  content: ''; position: absolute; z-index: -1; left: 50%; bottom: -30%; width: 120%; height: 70%; transform: translateX(-50%);
  background: radial-gradient(50% 60% at 50% 100%, rgba(242, 169, 59, .16), transparent 70%);
}
.fuss-kopf { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px 64px; align-items: end; padding: 80px 0 56px; }
.fuss-titel { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.04; font-weight: 800; font-style: italic; font-stretch: var(--breit); letter-spacing: -.02em; color: var(--text-hell); }
.fuss-status { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(237, 236, 232, .1); background: rgba(237, 236, 232, .03); font-size: .9rem; color: var(--text-hell-2); }
.fuss-punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--kuehlturm); flex: none; }
.fuss-status.ist-offen .fuss-punkt { background: #3ecf6e; box-shadow: 0 0 0 0 rgba(62, 207, 110, .6); animation: fuss-puls 2.2s ease-out infinite; }
.fuss-status.ist-offen { color: var(--text-hell); }
@keyframes fuss-puls { 70% { box-shadow: 0 0 0 9px rgba(62, 207, 110, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 207, 110, 0); } }
.fuss-wege { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fuss-weg { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 16px 20px; border-radius: 18px; text-decoration: none;
  background: rgba(237, 236, 232, .025); border: 1px solid rgba(237, 236, 232, .08); transition: border-color .25s, background-color .25s, transform .25s; }
.fuss-weg small { font-size: .8rem; color: var(--text-hell-2); }
.fuss-weg b { font-weight: 700; font-stretch: var(--halbbreit); color: var(--text-hell); font-size: 1rem; overflow-wrap: anywhere; }
.fuss-weg:hover, .fuss-weg:focus-visible { border-color: rgba(242, 169, 59, .5); background: rgba(242, 169, 59, .06); transform: translateY(-2px); }
.fuss-weg-wa:hover, .fuss-weg-wa:focus-visible { border-color: rgba(37, 211, 102, .55); background: rgba(37, 211, 102, .06); }
.fuss-raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px 48px; padding: 64px 0 8px; }
/* Kontakt nur kompakt: jede Seite endet ohnehin mit einem Kontaktaufruf (User 06.10.2026) */
.fuss-direkt { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.fuss-direkt a { display: block; width: fit-content; white-space: nowrap; color: var(--text-hell-2); font-size: .95rem; transition: color .2s; }
.fuss-direkt a:hover { color: var(--glut); }
.fuss-firma .fuss-status { margin-top: 16px; font-size: .82rem; padding: 6px 12px; }
.fuss-raster b { display: block; font-weight: 750; font-stretch: var(--halbbreit); font-size: .95rem; color: var(--glut); margin-bottom: 6px; }   /* Spaltentitel in Glut (User 06.10.2026) */
.fuss-firma address { font-style: normal; color: var(--text-hell-2); font-size: .95rem; line-height: 1.6; }
.fuss-firma p { margin-top: 12px; color: var(--text-hell-2); font-size: .9rem; max-width: 28ch; }
.fuss nav.fuss-spalte { display: flex; flex-direction: column; gap: 10px; }
.fuss-spalte a { position: relative; width: fit-content; text-decoration: none; color: var(--text-hell-2); font-size: .95rem; transition: color .2s, transform .25s; }
.fuss-spalte a::before { content: ''; position: absolute; left: -14px; top: 50%; width: 6px; height: 2px; background: var(--glut); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .25s; }
.fuss-spalte a:hover { color: var(--text-hell); transform: translateX(6px); }
.fuss-spalte a:hover::before { opacity: 1; transform: none; }
.fuss-zeile { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 44px; padding: 20px 0; border-top: 1px solid rgba(237, 236, 232, .08); font-size: .85rem; color: var(--kuehlturm); }
.fuss-zeile nav { display: flex; gap: 20px; }
.fuss-zeile a { color: var(--kuehlturm); text-decoration: none; }
.fuss-zeile a:hover { color: var(--text-hell); }
.fuss-marke { margin-top: 8px; padding: 0 clamp(16px, 3vw, 40px); height: clamp(70px, 17vw, 260px); overflow: hidden; pointer-events: none; }
.fuss-marke img { display: block; width: 100%; height: auto; opacity: .07;
  -webkit-mask: linear-gradient(#000 35%, transparent 100%); mask: linear-gradient(#000 35%, transparent 100%); }
@media (max-width: 899px) {
  .fuss-kopf { grid-template-columns: 1fr; padding: 64px 0 40px; }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
  .fuss-firma { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .fuss-wege { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .fuss-status.ist-offen .fuss-punkt { animation: none; } }

/* ---------- Nach oben: abgerundetes Quadrat wie auf den übrigen Seiten
   (Vorlage _top button.png, 56 px), hier in Glut mit dunklem Pfeil — weißer
   Pfeil auf Bernstein hätte zu wenig Kontrast. Lichtstreif wie die Glutknöpfe. */
.nach-oben {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  width: 56px; height: 56px; border: 0; border-radius: 14px; cursor: pointer;
  display: grid; place-items: center; overflow: hidden; isolation: isolate;
  background: linear-gradient(110deg, #f7c56a, var(--glut) 55%, var(--glut-tief));
  color: var(--russ);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.nach-oben.ist-da { opacity: .92; visibility: visible; transform: none; }
.nach-oben.ist-da:hover { opacity: 1; transform: translateY(-2px); }
.nach-oben svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.nach-oben::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, .6) 50%, transparent 82%);
  transform: translateX(-130%); transition: transform .75s cubic-bezier(.3, .7, .3, 1);
}
.nach-oben:hover::after, .nach-oben:focus-visible::after { transform: translateX(130%); }
@media (max-width: 760px) { .nach-oben { right: 16px; bottom: 16px; width: 50px; height: 50px; border-radius: 12px; } }

/* ==========================================================================
   Kopf: Ausklapper „Bereiche“ (Glas, bei Hover und Tastaturfokus)
   ========================================================================== */
.kopf-gruppe { position: relative; display: flex; align-items: center; }
.kopf-oben { display: inline-flex; align-items: center; gap: 4px; }
.kopf-oben svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.kopf-unter {
  position: absolute; top: calc(100% + 16px); left: -16px; width: 300px; z-index: 5;
  display: grid; gap: 2px; padding: 8px; border-radius: 20px;
  background: rgba(18, 23, 29, .9); border: 1px solid rgba(237, 236, 232, .12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s, transform .22s, visibility .22s;
}
.kopf-unter::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }   /* Brücke, damit der Hover beim Herunterfahren nicht abreißt */
.kopf-gruppe:hover .kopf-unter, .kopf-gruppe:focus-within .kopf-unter { opacity: 1; visibility: visible; transform: none; }
.kopf-gruppe:hover .kopf-oben svg, .kopf-gruppe:focus-within .kopf-oben svg { transform: rotate(180deg); }
.kopf-nav .kopf-unter a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; color: var(--text-hell); }
.kopf-nav .kopf-unter a::after { display: none; }
.kopf-nav .kopf-unter a:hover, .kopf-nav .kopf-unter a.ist-aktiv { background: rgba(237, 236, 232, .06); color: var(--text-hell); }
.kopf-nav .kopf-unter b { font-weight: 700; font-stretch: var(--halbbreit); font-size: .95rem; }
.kopf-nav .kopf-unter a:hover b, .kopf-nav .kopf-unter a.ist-aktiv b { color: var(--glut); }
.kopf-nav .kopf-unter span { font-size: .82rem; color: var(--text-hell-2); }
/* Handymenü: „Bereiche“ klappt per Pfeil auf (js/seite.js setzt .offen), je Bereich eine Zeile */
@media (max-width: 760px) {
  .kopf-gruppe { display: block; }
  .kopf-oben { display: flex; justify-content: space-between; width: 100%; }
  .kopf-oben svg { width: 24px; height: 24px; color: var(--glut); }
  .kopf-gruppe.offen .kopf-oben svg { transform: rotate(180deg); }
  .kopf-unter {
    position: static; width: auto; padding: 4px 0 8px 16px; margin: 0; background: none; border: 0; box-shadow: none;
    border-left: 2px solid rgba(242, 169, 59, .5); border-radius: 0;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    opacity: 1; visibility: visible; transform: none; grid-template-columns: 1fr;
  }
  .kopf-gruppe:not(.offen) .kopf-unter { display: none; }
  .kopf-unter::before { display: none; }
  .kopf-nav .kopf-unter a {
    flex-direction: row; justify-content: space-between; align-items: baseline;
    padding: 10px 4px; font-size: 1rem; font-style: normal; font-stretch: 100%; font-weight: 600; letter-spacing: 0;
    border-bottom: 0; border-radius: 0;
  }
  .kopf-nav .kopf-unter a:hover, .kopf-nav .kopf-unter a.ist-aktiv { background: none; }
  .kopf-nav .kopf-unter b { font-size: 1rem; }
  .kopf-nav .kopf-unter span { display: inline; font-size: .8rem; }
}

/* ==========================================================================
   Unterseiten
   ========================================================================== */
.mit-raster { position: relative; overflow: hidden; isolation: isolate; }
.mit-raster::before {        /* Quadratraster wie in „Arbeitsweise“ */
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(237, 236, 232, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(237, 236, 232, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(90% 80% at 60% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(90% 80% at 60% 40%, #000 30%, transparent 85%);
}
.mit-raster::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none; width: 640px; height: 640px; right: -4%; top: -10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 169, 59, .18), transparent 62%);
}

/* Seitenkopf */
.seite-held { background: var(--nacht); padding: 150px 0 clamp(64px, 8vw, 110px); }
.seite-held-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 72px; align-items: center; }
.brotkrumen { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; font-size: .88rem; color: var(--text-hell-2); }
.brotkrumen li + li::before { content: '/'; margin-right: 8px; color: var(--kuehlturm); }
.brotkrumen a { color: var(--text-hell-2); text-decoration: none; }
.brotkrumen a:hover { color: var(--glut); }
.seite-held h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); font-style: italic; font-weight: 850; line-height: 1; letter-spacing: -.025em; }
.seite-held-text > p { margin-top: 24px; max-width: 34em; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-hell-2); }
.seite-held .held-knoepfe { margin-top: 34px; }
.seite-held-bild { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--stahl); }
.seite-held-bild img { width: 100%; height: 100%; object-fit: cover; }
.seite-held-bild figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 18px; border-radius: 18px;
  background: rgba(18, 23, 29, .55); border: 1px solid rgba(237, 236, 232, .14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font-size: .9rem; color: var(--text-hell-2);
}
.seite-held-bild figcaption b { display: block; color: var(--text-hell); font-weight: 750; font-stretch: var(--halbbreit); }
@media (max-width: 899px) {
  .seite-held-raster { grid-template-columns: 1fr; }
  .seite-held-bild { max-width: 420px; aspect-ratio: 4 / 3; }
}

/* Abschnittsköpfe auf Unterseiten */
.abschnitt { padding-block: var(--abschnitt); }
.abschnitt-hell { background: var(--kalk); color: var(--russ); }
.abschnitt-beton { background: var(--beton); color: var(--russ); }
.abschnitt-dunkel { background: var(--nacht); color: var(--text-hell); }
.abschnitt-kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: 48px; }
.abschnitt-kopf h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-style: italic; }
.abschnitt-kopf p { max-width: 32em; color: var(--text-dunkel-2); }
.abschnitt-dunkel .abschnitt-kopf p { color: var(--text-hell-2); }
@media (max-width: 899px) { .abschnitt-kopf { grid-template-columns: 1fr; } }

/* Leistungskarten (hell) */
.leistungen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.leistung {
  display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 24px; border-radius: 24px;
  background: #fff; border: 1px solid rgba(26, 31, 36, .08); box-shadow: 0 10px 30px rgba(26, 31, 36, .06);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s;
}
.leistung:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(26, 31, 36, .1); border-color: rgba(217, 138, 23, .45); }
.leistung h3 { font-size: 1.3rem; font-weight: 800; }
.leistung p { color: var(--text-dunkel-2); flex: 1; }
.leistung-marke { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-stretch: var(--halbbreit); font-size: .9rem; color: var(--glut-tief); text-decoration: none; }
.leistung-marke svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.leistung-marke.ohne-link { color: var(--text-dunkel-2); }
@media (max-width: 1000px) { .leistungen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .leistungen { grid-template-columns: 1fr; } }

/* Markenkacheln als festes Raster (statt Band) */
.marken-raster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 340px)); gap: 18px; }
.marken-raster .marke { flex: none; width: 100%; }

/* Kombinationen auf hellem Grund */
.kombis-hell li { background: #fff; border: 1.5px dashed rgba(217, 138, 23, .5); }
.kombis-hell b { color: var(--russ); }
.kombis-hell span { color: var(--text-dunkel-2); }
.kombis-hell a { color: var(--glut-tief); }

/* Häufige Fragen: aufklappbare Glaskarten */
.fragen { display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
/* gleiches Glas wie die Grundsatz-Karten: fast durchsichtig, Lichtkante folgt der Maus */
.frage { position: relative; border-radius: 20px; background: rgba(237, 236, 232, .018); border: 1px solid rgba(237, 236, 232, .07); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.frage[open] { border-color: rgba(242, 169, 59, .4); background: rgba(237, 236, 232, .045); }
.frage summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 20px 24px; font-weight: 700; font-stretch: var(--halbbreit); font-size: 1.05rem;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after {
  content: ''; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--glut); border-bottom: 2px solid var(--glut);
  transform: rotate(45deg) translateY(-3px); transition: transform .3s;
}
.frage[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.frage p { padding: 0 24px 22px; color: var(--text-hell-2); max-width: 46em; }
.frage a { color: var(--text-hell); text-decoration-color: var(--glut); text-underline-offset: 3px; }

/* Bürofotos auf „Über uns“ */
.galerie { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.galerie figure { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; }
.galerie figure:first-child { grid-row: span 2; aspect-ratio: auto; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.galerie figure:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .galerie { grid-template-columns: 1fr 1fr; } .galerie figure:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; } }
.text-spalten { columns: 2 22em; column-gap: 56px; color: var(--text-dunkel-2); }
.text-spalten p + p { margin-top: 14px; }

/* Kontaktformular */
.kontakt-raster-seite { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px 56px; align-items: start; }
.formular { padding: clamp(24px, 4vw, 44px); border-radius: 28px; }
.formular-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.feld { display: flex; flex-direction: column; gap: 7px; }
.feld-breit { grid-column: 1 / -1; }
.feld label, .feld .feld-titel { font-size: .9rem; font-weight: 650; font-stretch: var(--halbbreit); color: var(--text-hell); }
.feld label small { font-weight: 400; color: var(--text-hell-2); }
.feld input[type=text], .feld input[type=email], .feld input[type=tel], .feld textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; font: inherit; color: var(--text-hell);
  background: rgba(237, 236, 232, .05); border: 1px solid rgba(237, 236, 232, .16);
  transition: border-color .2s, background-color .2s;
}
.feld textarea { min-height: 150px; resize: vertical; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--glut); background: rgba(237, 236, 232, .08); }
.feld.fehler input, .feld.fehler textarea { border-color: #e2725b; }
.feld-hinweis { font-size: .82rem; color: #f0a08e; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; padding: 9px 15px; border-radius: 999px; cursor: pointer; font-size: .92rem;
  border: 1px solid rgba(237, 236, 232, .2); color: var(--text-hell-2); transition: all .2s;
}
.chip input:checked + span { background: rgba(242, 169, 59, .16); border-color: var(--glut); color: var(--text-hell); }
.chip input:focus-visible + span { outline: 2px solid var(--glut); outline-offset: 2px; }
.haken { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text-hell-2); }
.haken input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--glut); flex: none; }
.haken span { flex: 1; line-height: 1.5; }                         /* ein Textblock, sonst wird jedes Stück ein eigenes Flex-Element */
.feld .haken { font-weight: 400; font-stretch: 100%; font-size: .92rem; color: var(--text-hell-2); }   /* nicht wie ein Feldtitel fett */
.haken a { color: var(--text-hell); text-decoration-color: var(--glut); }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px; }
.formular-fuss small { color: var(--text-hell-2); }
.meldung { padding: 18px 22px; border-radius: 18px; margin-bottom: 22px; }
.meldung-gut { background: rgba(120, 190, 120, .12); border: 1px solid rgba(120, 190, 120, .45); color: var(--text-hell); }
.meldung-schlecht { background: rgba(226, 114, 91, .12); border: 1px solid rgba(226, 114, 91, .5); color: var(--text-hell); }
.kontakt-wege-liste { display: flex; flex-direction: column; gap: 14px; }
.kontakt-weg { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: 20px; text-decoration: none; color: var(--text-hell); }
.kontakt-weg small { color: var(--text-hell-2); font-size: .85rem; }
.kontakt-weg b { font-weight: 750; font-stretch: var(--halbbreit); font-size: 1.08rem; }
a.kontakt-weg:hover b { color: var(--glut); }
@media (max-width: 899px) { .kontakt-raster-seite { grid-template-columns: 1fr; } }

/* Kontaktbereich: dunkel ohne Raster, Formular und Kontaktkarten als durchsichtiges Glas
   mit Lichtkante wie die Grundsatz-Karten (User 06.10.2026: „hintergrund dunkel ohne raster
   bubbel transparent“). Ein Glutschimmer im Hintergrund, damit das Glas etwas zu brechen hat. */
.kontakt-bereich { position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(45% 55% at 85% 20%, rgba(242, 169, 59, .12), transparent 70%),
              radial-gradient(40% 50% at 10% 90%, rgba(61, 90, 115, .3), transparent 70%), var(--nacht); }
.kontakt-bereich .formular, .kontakt-bereich .kontakt-weg {
  position: relative; background: rgba(237, 236, 232, .018); border: 1px solid rgba(237, 236, 232, .07);
  box-shadow: none; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.kontakt-bereich .formular { border-radius: 28px; }
.kontakt-bereich .kontakt-weg { border-radius: 20px; }

/* (ungenutzt, falls das Formular doch wieder auf hellen Grund kommt) weiße Karte, helle Felder */
.abschnitt-hell .formular {
  background: #fff; border: 1px solid rgba(26, 31, 36, .08); box-shadow: 0 18px 50px rgba(26, 31, 36, .08);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.abschnitt-hell .feld label, .abschnitt-hell .feld .feld-titel { color: var(--russ); }
.abschnitt-hell .feld label small, .abschnitt-hell .feld .feld-titel small { color: var(--text-dunkel-2) !important; }
.abschnitt-hell .feld input[type=text], .abschnitt-hell .feld input[type=email], .abschnitt-hell .feld input[type=tel], .abschnitt-hell .feld textarea {
  background: var(--kalk); border-color: rgba(26, 31, 36, .14); color: var(--russ);
}
.abschnitt-hell .feld input:focus, .abschnitt-hell .feld textarea:focus { background: #fff; border-color: var(--glut-tief); box-shadow: 0 0 0 3px rgba(242, 169, 59, .2); }
.abschnitt-hell .feld.fehler input, .abschnitt-hell .feld.fehler textarea { border-color: #c4462e; }
.abschnitt-hell .feld-hinweis { color: #b03a24; }
.abschnitt-hell .chip span { border-color: rgba(26, 31, 36, .2); color: var(--text-dunkel-2); background: #fff; }
.abschnitt-hell .chip input:checked + span { background: rgba(242, 169, 59, .18); border-color: var(--glut-tief); color: var(--russ); }
.abschnitt-hell .haken { color: var(--text-dunkel-2); }
.abschnitt-hell .haken a { color: var(--russ); text-decoration-color: var(--glut-tief); }
.abschnitt-hell .formular-fuss small, .abschnitt-hell .formular-fuss small a { color: var(--text-dunkel-2) !important; }
.abschnitt-hell .meldung-gut { background: #eef7ee; border-color: #9cc99c; color: var(--russ); }
.abschnitt-hell .meldung-schlecht { background: #fbefec; border-color: #e3a090; color: var(--russ); }
.abschnitt-hell .kontakt-weg {
  background: #fff; border: 1px solid rgba(26, 31, 36, .08); color: var(--russ);
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 10px 30px rgba(26, 31, 36, .06);
}
.abschnitt-hell .kontakt-weg small { color: var(--text-dunkel-2); }
.abschnitt-hell a.kontakt-weg:hover b { color: var(--glut-tief); }
.abschnitt-hell .region-bild figcaption { color: var(--text-dunkel-2); }
@media (max-width: 560px) { .formular-raster { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte (impressum.html, datenschutz.html) ---------- */
.recht { background: var(--kalk); color: var(--russ); padding: 150px 0 var(--abschnitt); }
.recht .rahmen { max-width: calc(760px + 2 * var(--rand)); }
.recht h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-style: italic; margin-bottom: 40px; }
.recht h2 { font-size: 1.3rem; margin: 40px 0 12px; font-stretch: var(--halbbreit); }
.recht p, .recht li { color: var(--text-dunkel-2); }
.recht p + p { margin-top: 12px; }
.recht ul { padding-left: 1.2em; }
.recht a { color: var(--russ); text-decoration-color: var(--glut-tief); text-underline-offset: 3px; }

/* WhatsApp (User 06.10.2026): Mobilnummer Funck IT, Knopf mit Glyphe, Grün nur beim Hover */
.knopf-wa { display: inline-flex; align-items: center; gap: 8px; }
.knopf-wa:hover, .knopf-wa:focus-visible { border-color: #25d366; color: #25d366; }
.kontakt-weg-wa b { display: inline-flex; align-items: center; gap: 8px; }
.kontakt-weg-wa b svg { color: #25d366; }
a.kontakt-weg-wa:hover b { color: #25d366; }

/* ---------- Links ohne Unterstreichung (User 06.10.2026: „ich hasse underline links“) ----------
   Fließtext-Links erkennt man an Farbe und Gewicht, nie an einer Linie. */
a, a:hover { text-decoration: none; }
.karte-hinten a, .frage a, .haken a, .recht a, .kombi-text a { font-weight: 650; transition: color .2s; }
.karte-hinten a, .frage a, .haken a { color: var(--glut); }
.karte-hinten a:hover, .frage a:hover, .haken a:hover { color: var(--text-hell); }
.recht a, .abschnitt-hell .haken a { color: var(--glut-tief); }
.recht a:hover, .abschnitt-hell .haken a:hover { color: var(--russ); }

/* ---------- Passt gut zusammen: Markenpaar als Gleichung (06.10.2026) ----------
   Zwei Marken-Chips mit Plus; beim Hover dreht das Plus und die Karte hebt sich. */
.kombis-paare { gap: 16px; }
.kombis-paare .kombi { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 24px; border-radius: 24px;
  background: #fff; border: 1px solid rgba(26, 31, 36, .08); box-shadow: 0 10px 30px rgba(26, 31, 36, .05);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s; }
.kombis-paare .kombi::after { content: '+'; position: absolute; right: -4px; bottom: -52px; font-size: 11rem; line-height: 1; font-weight: 900;
  color: rgba(242, 169, 59, .09); pointer-events: none; transition: transform .6s cubic-bezier(.2, .8, .2, 1), color .35s; }
.js .kombis-paare .kombi.ist-sichtbar:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(26, 31, 36, .1); border-color: rgba(217, 138, 23, .45); }
.kombis-paare .kombi:hover::after { transform: rotate(90deg); color: rgba(242, 169, 59, .18); }
.kombi-paar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; }
.kombi-paar span { padding: 6px 13px; border-radius: 999px; background: var(--nacht); color: var(--text-hell); font-size: .82rem; font-weight: 700; font-stretch: var(--halbbreit); }
.kombi-paar span + i + span { background: transparent; color: var(--russ); box-shadow: inset 0 0 0 1.5px var(--russ); }
.kombi-paar i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--glut); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.kombi-paar i svg { width: 14px; height: 14px; fill: none; stroke: var(--russ); stroke-width: 3; stroke-linecap: round; }
.kombi:hover .kombi-paar i { transform: rotate(90deg); }
.kombis-paare b { color: var(--russ); font-size: 1.15rem; font-weight: 800; font-stretch: var(--halbbreit); }
.kombis-paare .kombi-text { color: var(--text-dunkel-2); font-size: .95rem; line-height: 1.55; }

/* ---------- Leistungen wie bei ilter: Kopf links bleibt stehen, rechts stapeln sich die Karten ----------
   js/seite.js setzt --i je Karte, --stapel (0..1) beim Überdecken und füllt Nummer, Titel und Balken. */
.leistungen-stand { display: none; }
@media (min-width: 900px) {
  #leistungen > .rahmen { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 0 64px; align-items: start; }
  #leistungen .abschnitt-kopf { position: sticky; top: 130px; margin: 0; display: block; }
  #leistungen .abschnitt-kopf p { margin-top: 18px; max-width: 38ch; }
  .leistungen-stand { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 34px; font-weight: 800; font-stretch: var(--breit); color: var(--russ); }
  .leistungen-stand .nr { font-size: 2.6rem; font-style: italic; line-height: 1; min-width: 2ch; }
  .leistungen-stand .von { color: var(--text-dunkel-2); font-size: .95rem; }
  .leistungen-stand .balken { position: relative; flex: 1; max-width: 220px; height: 3px; border-radius: 3px; background: rgba(26, 31, 36, .1); overflow: hidden; }
  .leistungen-stand .balken::after { content: ''; position: absolute; inset: 0; background: var(--glut); transform-origin: left; transform: scaleX(var(--fortschritt, 0)); transition: transform .4s ease; }
  .leistungen-stand .titel { display: block; width: 100%; margin-top: 4px; font-size: 1.05rem; font-stretch: var(--halbbreit); color: var(--glut-tief); }
  #leistungen .leistungen { grid-template-columns: 1fr; gap: 28px; padding-bottom: 8vh; }
  #leistungen .leistung { position: sticky; top: calc(130px + var(--i, 0) * 16px); min-height: 250px; padding: 34px 34px 30px;
    scale: calc(1 - var(--stapel, 0) * .05); filter: brightness(calc(1 - var(--stapel, 0) * .06)); transform-origin: 50% 0; }
  #leistungen .leistung h3 { font-size: 1.55rem; padding-right: 80px; }
  #leistungen .leistung-nr { position: absolute; right: 28px; top: 22px; font-size: 3.4rem; line-height: 1; font-weight: 900; font-style: italic; font-stretch: var(--breit); color: rgba(242, 169, 59, .22); }
}

/* ---------- Leistungen dunkel mit Glas (User 06.10.2026) ----------
   Oben durch den gestrichelten Strich abgesetzt. Zwei Glutwolken im Hintergrund geben
   dem Glas etwas zum Brechen. Die Karten sind getönter als die Grundsätze, weil sie sich
   übereinanderschieben — sonst schiene der Text der unteren Karte durch. Lichtkante und
   Glutschein wie bei den Grundsätzen, js/seite.js setzt --mx/--my. */
.leistungen-glas { position: relative; isolation: isolate; overflow: clip;
  background: radial-gradient(40% 35% at 85% 15%, rgba(242, 169, 59, .13), transparent 70%),
              radial-gradient(45% 40% at 10% 75%, rgba(61, 90, 115, .35), transparent 70%),
              radial-gradient(30% 30% at 60% 95%, rgba(242, 169, 59, .08), transparent 70%), var(--nacht); }
.leistungen-glas .leistung {
  position: relative; color: var(--text-hell);
  background: linear-gradient(160deg, rgba(40, 48, 58, .72), rgba(18, 23, 29, .78));
  border: 1px solid rgba(237, 236, 232, .09); box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
.leistungen-glas .leistung:hover { border-color: rgba(242, 169, 59, .35); box-shadow: 0 28px 70px rgba(0, 0, 0, .45); }
.leistungen-glas .leistung h3 { color: var(--text-hell); }
.leistungen-glas .leistung p { color: var(--text-hell-2); }
.leistungen-glas .leistung-marke { color: var(--glut); }
.leistungen-glas .leistung-marke.ohne-link { color: var(--kuehlturm); }
.leistungen-glas .leistung::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 0px) var(--my, 0px), rgba(242, 169, 59, .85), rgba(237, 236, 232, .22) 35%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .5; transition: opacity .35s;
}
.leistungen-glas .leistung::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 0px) var(--my, 0px), rgba(242, 169, 59, .1), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.leistungen-glas .leistung:hover::before, .leistungen-glas .leistung:hover::after { opacity: 1; }
.leistung-nr { display: none; }
@media (min-width: 900px) { .leistung-nr { display: block; } }
.leistungen-glas .leistung-nr { color: rgba(242, 169, 59, .28); }
.leistungen-glas .abschnitt-kopf h2 { color: var(--text-hell); }
.leistungen-glas .abschnitt-kopf p { color: var(--text-hell-2); }
.leistungen-glas .leistungen-stand { color: var(--text-hell); }
.leistungen-glas .leistungen-stand .von { color: var(--text-hell-2); }
.leistungen-glas .leistungen-stand .balken { background: rgba(237, 236, 232, .12); }
.leistungen-glas .leistungen-stand .titel { color: var(--glut); }

/* ---------- Galerie mit Lupe und Diashow (wie postbox, 06.10.2026) ---------- */
.galerie figure.mit-lupe { position: relative; cursor: zoom-in; outline: none; }
.galerie figure.mit-lupe::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(18, 23, 29, .75)); opacity: 0; transition: opacity .35s; pointer-events: none; }
.galerie figure.mit-lupe:hover::after, .galerie figure.mit-lupe:focus-visible::after { opacity: 1; }
.galerie figure.mit-lupe:focus-visible { box-shadow: 0 0 0 3px var(--glut); }
.lupe-knopf { position: absolute; z-index: 1; left: 50%; top: 50%; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(242, 169, 59, .92); color: var(--russ); box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: transform .4s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.lupe-knopf svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; }
.galerie figure.mit-lupe:hover .lupe-knopf, .galerie figure.mit-lupe:focus-visible .lupe-knopf { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.galerie figure.mit-lupe figcaption { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 14px; color: #fff; font-size: .9rem; font-weight: 600;
  transform: translateY(8px); opacity: 0; transition: transform .35s, opacity .35s; pointer-events: none; }
.galerie figure.mit-lupe:hover figcaption, .galerie figure.mit-lupe:focus-visible figcaption { transform: none; opacity: 1; }
@media (hover: none) { .lupe-knopf { opacity: .9; transform: translate(-50%, -50%) scale(.8); left: auto; top: auto; right: 6px; bottom: 6px; width: 40px; height: 40px; } .lupe-knopf svg { width: 18px; height: 18px; } }

html.lupe-offen { overflow: hidden; }
.lupe-box { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 13, 17, .97); color: var(--text-hell); }
.lupe-box[open] { display: grid; grid-template-rows: 1fr auto; animation: lupe-auf .3s ease; }
.lupe-box::backdrop { background: transparent; }
@keyframes lupe-auf { from { opacity: 0; } }
.lupe-buehne { position: relative; overflow: hidden; display: grid; place-items: center; padding: 70px clamp(16px, 7vw, 110px) 10px; touch-action: pan-y; }
.lupe-buehne img { max-width: 100%; max-height: calc(100dvh - 150px); border-radius: 14px; cursor: zoom-in; opacity: 0; transform: scale(.97);
  transition: opacity .35s, transform .45s cubic-bezier(.2, .8, .2, 1); user-select: none; -webkit-user-drag: none; }
.lupe-buehne img.ist-da { opacity: 1; transform: none; }
.lupe-buehne.ist-gezoomt img { transform: scale(2.4); cursor: zoom-out; transition: opacity .35s, transform .35s ease; }
.lupe-unterschrift { display: flex; justify-content: center; gap: 18px; padding: 14px 16px 22px; margin: 0; font-size: .95rem; color: var(--text-hell-2); text-align: center; }
.lupe-zahl { color: var(--glut); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lupe-zu, .lupe-pfeil { position: absolute; z-index: 2; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(237, 236, 232, .16);
  background: rgba(237, 236, 232, .06); color: var(--text-hell); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.lupe-zu:hover, .lupe-pfeil:hover, .lupe-zu:focus-visible, .lupe-pfeil:focus-visible { background: var(--glut); border-color: var(--glut); color: var(--russ); outline: none; }
.lupe-zu svg, .lupe-pfeil svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lupe-zu { top: 16px; right: 16px; }
.lupe-pfeil { top: 50%; transform: translateY(-50%); }
.lupe-zurueck { left: clamp(10px, 2vw, 28px); }
.lupe-vor { right: clamp(10px, 2vw, 28px); }
@media (max-width: 640px) { .lupe-pfeil { top: auto; bottom: 64px; transform: none; width: 44px; height: 44px; } }

/* ---------- „Wie alles angefangen hat.“ als Lauftext wie im Star-Wars-Vorspann (06.10.2026) ----------
   Sternenhimmel, blauer Vorspann, dann kippt der Text in Glut-Gelb nach hinten weg.
   js/seite.js setzt --lauf (0..1): startet, wenn der Bereich sichtbar ist; der Schieber
   spult vor und zurück. Ohne JS oder mit reduzierter Bewegung steht der Text flach da. */
.geschichte { position: relative; overflow: hidden; isolation: isolate; background: #07090c; color: var(--text-hell); padding-bottom: 40px; }
.geschichte .abschnitt-kopf { position: relative; z-index: 2; }
.geschichte .abschnitt-kopf h2 { color: var(--text-hell); }
.geschichte .abschnitt-kopf p { color: var(--text-hell-2); }
.geschichte-sterne { position: absolute; inset: 0; z-index: -1; opacity: .9;
  background:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 27% 62%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 41% 33%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 55% 81%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 68% 12%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 83% 47%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 91% 76%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 7% 88%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 9%, rgba(255,255,255,.7) 50%, transparent 51%), radial-gradient(1px 1px at 76% 66%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 18% 45%, rgba(255,255,255,.6) 50%, transparent 51%), radial-gradient(1px 1px at 62% 39%, rgba(255,255,255,.6) 50%, transparent 51%);
  background-size: 420px 420px; animation: sterne-funkeln 6s ease-in-out infinite alternate; }
.geschichte-sterne::after { content: ''; position: absolute; inset: 0;
  background: radial-gradient(1px 1px at 22% 30%, rgba(255,255,255,.8) 50%, transparent 51%), radial-gradient(1px 1px at 72% 22%, rgba(255,255,255,.8) 50%, transparent 51%),
              radial-gradient(1px 1px at 48% 70%, rgba(255,255,255,.8) 50%, transparent 51%), radial-gradient(1px 1px at 88% 90%, rgba(255,255,255,.8) 50%, transparent 51%);
  background-size: 260px 260px; animation: sterne-funkeln 4s ease-in-out infinite alternate-reverse; }
@keyframes sterne-funkeln { from { opacity: .55; } to { opacity: 1; } }

.lauftext { position: relative; }
.lauftext-vorspann { opacity: var(--vorspann, 1); transition: opacity .3s; position: relative; z-index: 1; text-align: center; margin: 10px auto 0; padding: 0 16px; max-width: 34ch; font-size: clamp(1rem, 1.8vw, 1.25rem); color: #4bd5ee; letter-spacing: .01em; }
.lauftext-buehne { position: relative; height: clamp(380px, 62vh, 620px); overflow: hidden; perspective: 340px; perspective-origin: 50% 0%;
  -webkit-mask: linear-gradient(transparent 0%, #000 22%, #000 100%); mask: linear-gradient(transparent 0%, #000 22%, #000 100%); }
.lauftext-band { position: absolute; left: 50%; top: 0; width: min(760px, 88vw); transform-origin: 50% 0%;
  transform: translateX(-50%) rotateX(24deg) translateY(calc(100% * 0 + var(--start, 640px) - var(--lauf, 0) * var(--weg, 1800px)));
  color: var(--glut); text-align: justify; hyphens: auto; font-size: clamp(1.15rem, 2.6vw, 1.9rem); line-height: 1.45; font-weight: 700; font-stretch: var(--halbbreit); }
.lauftext-band p { margin: 0 0 1.1em; }
.lauftext-episode { text-align: center; font-size: .8em; letter-spacing: .08em; }
.lauftext-titel { text-align: center; font-size: 1.5em; font-weight: 900; font-style: italic; font-stretch: var(--breit); letter-spacing: -.01em; margin-bottom: 1.2em !important; }

.lauftext-steuerung { display: flex; align-items: center; gap: 14px; max-width: 560px; margin: 18px auto 0; }
.lauftext-steuerung[hidden] { display: none; }
.lauftext-knopf, .lauftext-neu { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(242, 169, 59, .5); background: rgba(242, 169, 59, .08); color: var(--glut); transition: background-color .2s, color .2s; }
.lauftext-knopf:hover, .lauftext-neu:hover, .lauftext-knopf:focus-visible, .lauftext-neu:focus-visible { background: var(--glut); color: var(--russ); outline: none; }
.lauftext-knopf svg, .lauftext-neu svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lauftext-knopf .zeichen-start { fill: currentColor; display: none; }
.lauftext-knopf.ist-pause .zeichen-start { display: block; }
.lauftext-knopf.ist-pause .zeichen-pause { display: none; }
.lauftext-schieber { flex: 1; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 4px; cursor: pointer;
  background: linear-gradient(90deg, var(--glut) calc(var(--lauf, 0) * 100%), rgba(237, 236, 232, .15) 0); }
.lauftext-schieber::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--glut); border: 3px solid #07090c; box-shadow: 0 0 0 1px var(--glut), 0 0 16px rgba(242, 169, 59, .6); }
.lauftext-schieber::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--glut); border: 3px solid #07090c; box-shadow: 0 0 0 1px var(--glut), 0 0 16px rgba(242, 169, 59, .6); }
.lauftext-schieber:focus-visible { outline: 2px solid var(--glut); outline-offset: 6px; }

/* Ohne JS oder bei reduzierter Bewegung: flach und lesbar */
html:not(.js) .lauftext-buehne, .lauftext.ist-flach .lauftext-buehne { height: auto; perspective: none; -webkit-mask: none; mask: none; }
html:not(.js) .lauftext-band, .lauftext.ist-flach .lauftext-band { position: static; transform: none; margin: 30px auto 0; font-size: 1.1rem; }

/* Kopfbild der Bereichsseiten: Video blendet beim Hover über das Standbild (06.10.2026) */
.seite-held-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.seite-held-bild.spielt .seite-held-video { opacity: 1; }
.seite-held-bild figcaption { z-index: 1; }

/* ---------- Lauftext bildschirmfüllend (User 06.10.2026: „auf 100vh … den ganzen schirm füllt“) ----------
   Abschnitt ist genau einen Bildschirm hoch; Kopf oben, Bühne nimmt den Rest, Steuerung unten. */
.geschichte { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: clamp(90px, 12vh, 130px); padding-bottom: 28px; }
.geschichte > .rahmen:first-of-type .abschnitt-kopf { margin-bottom: 0; }
.geschichte .lauftext { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.geschichte .lauftext-buehne { flex: 1; height: auto; min-height: 340px; perspective: 380px; }
.geschichte .lauftext-band { width: min(1040px, 90vw); font-size: clamp(1.3rem, 3.3vw, 2.7rem); }
.geschichte .lauftext-steuerung { margin-top: 10px; }
html:not(.js) .geschichte, .geschichte:has(.lauftext.ist-flach) { min-height: 0; display: block; }

/* ---------- Fuß-Wortmarke: taucht von unten auf, Lichtschein folgt der Maus (06.10.2026) ----------
   Der Lichtschein ist ein Glut-Verlauf, den die Logoform selbst maskiert; js/seite.js setzt
   --mx/--my aus der Mausposition über dem Fuß und .ist-da beim Erreichen. */
.fuss-marke-innen { position: relative; transform: translateY(45%); opacity: 0; transition: transform 1.4s cubic-bezier(.16, 1, .3, 1), opacity 1.2s ease; }
.fuss-marke.ist-da .fuss-marke-innen { transform: none; opacity: 1; }
html:not(.js) .fuss-marke-innen { transform: none; opacity: 1; }
.fuss-marke-licht { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 30%), rgba(242, 169, 59, .75), rgba(242, 169, 59, .18) 40%, transparent 70%);
  -webkit-mask: url(/logo/funck-hell.svg) top / 100% auto no-repeat; mask: url(/logo/funck-hell.svg) top / 100% auto no-repeat;
  opacity: 0; transition: opacity .5s ease; }
.fuss.licht-an .fuss-marke-licht { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .fuss-marke-innen { transform: none; opacity: 1; transition: none; } }

/* Kopfbild: leichter Zoom beim Hover wie die Galeriebilder (User 06.10.2026) */
.seite-held-bild img, .seite-held-video { transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .5s ease; }
.seite-held-bild:hover img, .seite-held-bild:hover .seite-held-video { transform: scale(1.04); }

/* Schluss des Lauftexts: Frage im Band, danach taucht der Knopf zur Kontaktseite auf (06.10.2026) */
.lauftext-schluss { text-align: center !important; margin-top: 1.6em !important; font-size: 1.15em; font-weight: 900; font-style: italic; font-stretch: var(--breit); }
.lauftext-ende { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .8s ease, transform .8s cubic-bezier(.16, 1, .3, 1); }
.lauftext.ist-am-ende .lauftext-ende { opacity: 1; transform: none; pointer-events: auto; }
.lauftext-ende .knopf { font-size: 1.1rem; padding: 18px 34px; box-shadow: 0 0 40px rgba(242, 169, 59, .35); }
.lauftext.ist-flach .lauftext-ende { position: static; opacity: 1; transform: none; pointer-events: auto; margin-top: 24px; }

/* ---------- Scroll-Hinweis im Kopf der Unterseiten (wie ilter /leistungen, 06.10.2026) ----------
   Senkrechtes „Scroll“ links unten, darunter eine Linie, auf der ein Glut-Punkt nach unten
   läuft. Klick springt zum nächsten Abschnitt. Blendet aus, sobald gescrollt wurde. */
.seite-held { position: relative; }
.scroll-hinweis { position: fixed; z-index: 30; left: clamp(14px, 2.2vw, 34px); bottom: clamp(28px, 5vw, 56px);
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; color: var(--text-hell-2);
  transition: opacity .4s ease, color .2s; }
.scroll-hinweis span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: .72rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; }
.scroll-hinweis i { position: relative; width: 1px; height: 64px; background: rgba(237, 236, 232, .22); overflow: hidden; }
.scroll-hinweis i::after { content: ''; position: absolute; left: -2px; top: -10px; width: 5px; height: 14px; border-radius: 3px; background: var(--glut);
  box-shadow: 0 0 10px rgba(242, 169, 59, .8); animation: scroll-tropfen 2.2s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes scroll-tropfen { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(80px); opacity: 0; } }
.scroll-hinweis:hover, .scroll-hinweis:focus-visible { color: var(--glut); outline: none; }
.scroll-hinweis.ist-weg { opacity: 0; pointer-events: none; }
@media (max-width: 760px) { .scroll-hinweis { display: none; } }
@media (prefers-reduced-motion: reduce) { .scroll-hinweis i::after { animation: none; top: 20px; } }

/* ---------- Bereichssymbole (werkzeuge/seiten/_symbole.py, 06.10.2026) ----------
   Linien in Textfarbe, ein Teil in Glut. Beim Hover zeichnen sich die Linien neu. */
.bereich-symbol { width: 34px; height: 34px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.bereich-symbol .akzent { stroke: var(--glut); }
.bereich-symbol circle.akzent:not([r="5"]) { fill: none; }
@keyframes symbol-zeichnen { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
a:hover > .bereich-symbol > *, a:focus-visible > .bereich-symbol > * { stroke-dasharray: 1; animation: symbol-zeichnen .9s cubic-bezier(.6, 0, .2, 1) both; }
a:hover > .bereich-symbol > .akzent, a:focus-visible > .bereich-symbol > .akzent { animation-delay: .35s; }

/* Startseite: Symbol links, Titel und Marken rechts daneben */
.bereiche a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: center; }
.bereiche a .bereich-symbol { grid-row: 1 / 3; width: 42px; height: 42px; color: var(--text-hell); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.bereiche a:hover .bereich-symbol { transform: translateY(-2px); }

/* Menü: kleiner, links neben Titel und Marken */
.kopf-nav .kopf-unter a { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 1px; align-items: center; }
.kopf-nav .kopf-unter a .bereich-symbol { grid-row: 1 / 3; width: 28px; height: 28px; color: var(--text-hell-2); transition: color .2s; }
.kopf-nav .kopf-unter a:hover .bereich-symbol, .kopf-nav .kopf-unter a.ist-aktiv .bereich-symbol { color: var(--text-hell); }
@media (max-width: 760px) {
  .kopf-nav .kopf-unter a { grid-template-columns: auto 1fr auto; }
  .kopf-nav .kopf-unter a .bereich-symbol { grid-row: auto; width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) { a:hover > .bereich-symbol > * { animation: none; } }

/* ---------- Rechtsseiten neu (06.10.2026): dunkler Kopf, helle Seite, Karten bzw. Inhaltsliste ---------- */
.recht { padding: clamp(56px, 7vw, 96px) 0 var(--abschnitt); }
.recht .rahmen { max-width: var(--rahmen); }
.recht-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 56px; }
.recht-karte { padding: 24px 26px; border-radius: 22px; background: #fff; border: 1px solid rgba(26, 31, 36, .08); box-shadow: 0 10px 30px rgba(26, 31, 36, .05); }
.recht-karte h2 { margin: 0 0 10px !important; font-size: .95rem !important; color: var(--glut-tief); }
.recht-karte p { color: var(--russ) !important; line-height: 1.6; }
.recht-text { max-width: 760px; }
.recht-text section { scroll-margin-top: 110px; padding-bottom: 8px; }
.recht-text section + section { border-top: 1px solid rgba(26, 31, 36, .08); margin-top: 28px; padding-top: 4px; }
.recht-raster { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.recht-inhalt { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 2px; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid rgba(26, 31, 36, .08); }
.recht-inhalt b { font-weight: 800; font-stretch: var(--halbbreit); margin-bottom: 8px; color: var(--glut-tief); }
.recht-inhalt a { padding: 6px 10px; margin: 0 -10px; border-radius: 10px; font-size: .9rem; color: var(--text-dunkel-2) !important; font-weight: 500 !important; transition: background-color .2s, color .2s; }
.recht-inhalt a:hover, .recht-inhalt a.ist-aktiv { background: rgba(242, 169, 59, .14); color: var(--russ) !important; }
.recht-stand { margin-top: 28px !important; font-size: .85rem; color: var(--kuehlturm) !important; }
.einwilligung-oeffnen { margin-left: 4px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--glut-tief); background: none; color: var(--glut-tief); font: inherit; font-weight: 650; font-size: .9rem; cursor: pointer; }
.einwilligung-oeffnen:hover { background: var(--glut); border-color: var(--glut); color: var(--russ); }
@media (max-width: 899px) {
  .recht-karten { grid-template-columns: 1fr 1fr; }
  .recht-raster { grid-template-columns: 1fr; gap: 28px; }
  .recht-inhalt { position: static; }
}
@media (max-width: 560px) { .recht-karten { grid-template-columns: 1fr; } }

/* ---------- Cookie-Dialog und Keks (js/einwilligung.js, 06.10.2026) ----------
   Aufbau wie Complianz (Karte unten links, drei Knöpfe, Einstellungen klappen auf),
   im Look der Seite: dunkles Glas, Glut. Nach der Wahl fliegt die Karte in den Keks. */
.einwilligung { position: fixed; z-index: 90; left: 20px; bottom: 20px; width: min(430px, calc(100vw - 40px));
  padding: 22px 22px 16px; border-radius: 24px; color: var(--text-hell);
  background: linear-gradient(160deg, rgba(40, 48, 58, .94), rgba(18, 23, 29, .97)); border: 1px solid rgba(237, 236, 232, .1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transform-origin: 50% 50%; }
.einwilligung[hidden] { display: none; }
.einwilligung-kopf { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.einwilligung-kopf svg { width: 30px; height: 30px; flex: none; }
.einwilligung-kopf h2 { flex: 1; font-size: 1.1rem; font-weight: 800; font-stretch: var(--halbbreit); color: var(--text-hell); }
.einwilligung-zu { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(237, 236, 232, .07); color: var(--text-hell-2); cursor: pointer; }
.einwilligung-zu:hover, .einwilligung-zu:focus-visible { background: var(--glut); color: var(--russ); outline: none; }
.einwilligung-zu svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.einwilligung > p { font-size: .92rem; line-height: 1.55; color: var(--text-hell-2); }
.einwilligung-wahl { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.einwilligung-wahl[hidden] { display: none; }
.einwilligung-schalter { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(237, 236, 232, .04); border: 1px solid rgba(237, 236, 232, .08); cursor: pointer; }
.einwilligung-schalter span { display: flex; flex-direction: column; gap: 2px; }
.einwilligung-schalter b { font-size: .92rem; font-weight: 700; }
.einwilligung-schalter small { font-size: .8rem; color: var(--text-hell-2); }
.einwilligung-schalter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.einwilligung-schalter i { position: relative; flex: none; width: 44px; height: 24px; border-radius: 999px; background: rgba(237, 236, 232, .18); transition: background-color .25s; }
.einwilligung-schalter i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.einwilligung-schalter input:checked + i { background: var(--glut); }
.einwilligung-schalter input:checked + i::after { transform: translateX(20px); }
.einwilligung-schalter input:disabled + i { opacity: .55; }
.einwilligung-schalter input:focus-visible + i { box-shadow: 0 0 0 3px rgba(242, 169, 59, .5); }
.einwilligung-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.einwilligung-knoepfe .knopf { padding: 11px 20px; font-size: .92rem; }
.einwilligung-knoepfe [hidden] { display: none; }
.einwilligung-mehr { margin-left: auto; padding: 8px 4px; border: 0; background: none; color: var(--text-hell-2); font: inherit; font-size: .9rem; font-weight: 650; cursor: pointer; }
.einwilligung-mehr:hover, .einwilligung-mehr:focus-visible { color: var(--glut); outline: none; }
.einwilligung-links { display: flex; gap: 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(237, 236, 232, .08); font-size: .8rem; }
.einwilligung-links a { color: var(--text-hell-2); }
.einwilligung-links a:hover { color: var(--glut); }

.keks { position: fixed; z-index: 31; left: 20px; bottom: 20px;   /* unten links (User 06.10.2026), Nach-oben bleibt rechts */ width: 52px; height: 52px; display: grid; place-items: center; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(237, 236, 232, .14); background: rgba(18, 23, 29, .88); box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .25s; }
.keks[hidden] { display: none; }
/* Handy: tiefer in die Ecke und kleiner, sonst überlappt er den Gasometer im Hero (User 06.10.2026) */
@media (max-width: 760px) { .keks { left: 8px; bottom: 8px; width: 42px; height: 42px; } html .keks svg { width: 24px; height: 24px; } }
.keks svg { width: 28px; height: 28px; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.keks:hover, .keks:focus-visible { transform: translateY(-2px); border-color: var(--glut); outline: none; }
.keks:hover svg { transform: rotate(-25deg); }
.keks.ploppt { animation: keks-plopp .55s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes keks-plopp { 0% { transform: scale(.2); } 100% { transform: scale(1); } }
.keks-teig { fill: #d9a35a; stroke: #f2c27c; stroke-width: .8; }
.keks-stueck { fill: #5a3a1e; }
/* Mit Keks rückt der Nach-oben-Knopf darüber */
/* Nach-oben bleibt unten rechts; der Scroll-Hinweis der Unterseiten rückt über den Keks */
html.mit-keks .scroll-hinweis { bottom: 92px; }
@media (max-width: 560px) {
  .einwilligung { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 18px 16px 12px; }
  .einwilligung-knoepfe .knopf { flex: 1; }
}

/* ---------- Handy-Korrekturen Startseite (User 06.10.2026) ----------
   1) Bereichsleiste: mit den Symbolen rutschten die rechten Kacheln aus dem Bild —
      Spalten dürfen schrumpfen (minmax 0), Symbol kleiner, Text darf umbrechen.
   2) Markenband: nur waagerecht wischen, nichts in der Höhe verschieben —
      keine senkrechte Rolle im Band, kein Hochfahren der Kacheln beim Einblenden. */
.bereiche a { min-width: 0; }
.bereiche b, .bereiche span { min-width: 0; overflow-wrap: anywhere; }
.marken-band { overflow-y: hidden; overscroll-behavior-x: contain; }
@media (max-width: 760px) {
  .bereiche { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bereiche a { column-gap: 10px; padding: 14px 12px 15px; }
  .bereiche a .bereich-symbol { width: 28px; height: 28px; }
  .bereiche b { font-size: .92rem; font-stretch: var(--halbbreit); }
  .bereiche span { font-size: .78rem; }
  .js .marken-band .marke[data-zeigen] { transform: none; }
  .marken-band { touch-action: pan-x pan-y; }
}
.fuss-cookies { padding: 0; border: 0; background: none; font: inherit; color: var(--kuehlturm); cursor: pointer; }
.fuss-cookies:hover, .fuss-cookies:focus-visible { color: var(--text-hell); outline: none; }
.einwilligung .knopf-linie { background: transparent; color: var(--text-hell); border: 1px solid rgba(237, 236, 232, .3); box-shadow: none; }
.einwilligung .knopf-linie:hover, .einwilligung .knopf-linie:focus-visible { background: rgba(237, 236, 232, .08); border-color: var(--text-hell); color: var(--text-hell); }

/* Handy: Kontaktknöpfe am Seitenende alle gleich breit untereinander (User 06.10.2026) */
@media (max-width: 560px) {
  .kontakt-wege { flex-direction: column; align-items: stretch; }
  .kontakt-wege .knopf { width: 100%; }
}
/* Bereichsleiste Handy: lange Wörter mit Trennstrich statt hartem Umbruch */
@media (max-width: 760px) {
  .bereiche b, .bereiche span { overflow-wrap: normal; hyphens: auto; -webkit-hyphens: auto; }
  .bereiche b { font-size: .86rem; }
}
@media (max-width: 560px) { .kontakt-karte h2 { font-size: clamp(1.3rem, 5.9vw, 2rem); hyphens: auto; -webkit-hyphens: auto; } }   /* „Ansprechpartner“ lief rechts raus */

/* Lauftext am Handy schmaler und kleiner (User 06.10.2026: „mobil etwas zu breit und groß“);
   die Perspektive vergrößert die vorderen Zeilen, darum deutlich unter Bildschirmbreite. */
@media (max-width: 640px) {
  .geschichte .lauftext-band { width: 72vw; font-size: 1.05rem; line-height: 1.4; text-align: left; hyphens: auto; }
  .geschichte { padding-bottom: 88px; }   /* Steuerung über Keks und Nach-oben */
  .geschichte .lauftext-buehne { perspective: 640px; }   /* flacher = vordere Zeilen weniger vergrößert */
  .lauftext-vorspann { font-size: .95rem; }
}

/* KI-Kennzeichnung am Bild (Art. 50 KI-VO) — Optik wie auf funck-it.de abgenommen: sehr dezent */
.ki-marke { position: absolute; z-index: 4; right: 16px; top: 16px;   /* oben rechts, Abstand zur Rundung der Karten */ padding: 2px 6px; border-radius: 4px; pointer-events: none;
  font-size: 10px; line-height: 1.3; font-weight: 500; letter-spacing: .02em; color: rgba(224, 224, 224, .62); background: rgba(0, 0, 0, .25); }
/* Kacheln: oben rechts, unten steht der Text. Region: unten rechts am Abschnitt. */
/* Oben rechts (User 06.10.2026, nach Versuch oben links): unten rechts lag er über den
   Textblasen, oben links neben der Bereichsmarke der Kacheln. */
.marke > .ki-marke { right: 16px; top: 16px; }
/* Region: unten rechts am Abschnitt (User 06.10.2026). Doppelte Klasse, weil
   .region > *:not(.region-film) sonst position: relative erzwingt — dann lag
   die Marke oben links im Fluss und ragte um right: 14px aus dem Bild. */
.region > .ki-marke-region { position: absolute; z-index: 4; right: 14px; bottom: 14px; top: auto; }

/* 404-Seite */
.fehler-held { min-height: 100svh; display: flex; align-items: center; }
.fehler-held > .rahmen { width: 100%; min-width: 0; }   /* als Flex-Kind sonst so breit wie der Inhalt */
.seite-held-text .fehler-zahl { margin: 0 0 8px; font-size: clamp(6rem, 18vw, 13rem); line-height: .9; font-weight: 900; font-style: italic; font-stretch: var(--breit); color: transparent; -webkit-text-stroke: 2px var(--glut); }
.fehler-wege { margin: 32px 0 0; width: 100%; max-width: none; }
.fehler-held .kontakt-wege { margin-top: 28px; }

/* ---------- Sprachwahl mit selbst gezeichneten Fahnen (Oktober 2026) ----------
   Zwischen „Über uns“ und „Kontakt“: Knopf mit Fahne + Kürzel, Liste klappt wie „Bereiche“
   beim Darüberfahren/Fokus auf. Im Handymenü stehen die drei Fahnen nebeneinander. */
.fahnen-vorrat { position: absolute; width: 0; height: 0; overflow: hidden; }
.fahne { width: 22px; height: 15px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(237, 236, 232, .18); overflow: hidden; display: block; }
.sprachwahl .sprache-knopf { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.sprachwahl .sprache-kurz { font-size: .85rem; font-weight: 700; letter-spacing: .04em; }
.sprachwahl .sprache-liste { min-width: 200px; right: 0; left: auto; }
.kopf-nav .sprachwahl .sprache-liste a { grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.kopf-nav .sprachwahl .sprache-liste a .fahne { grid-row: auto; width: 26px; height: 18px; }
.kopf-nav .sprachwahl .sprache-liste a b { font-weight: 650; }
.kopf-nav .sprachwahl .sprache-liste a.ist-aktiv b { color: var(--glut); }
@media (max-width: 760px) {
  .sprachwahl .sprache-knopf { display: none; }
  .kopf-gruppe.sprachwahl .kopf-unter.sprache-liste { display: flex !important; flex-direction: row; gap: 10px; padding: 14px 0 6px; border-left: 0; min-width: 0; }
  .kopf-nav .sprachwahl .sprache-liste a { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(237, 236, 232, .14); border-radius: 999px; }
  .kopf-nav .sprachwahl .sprache-liste a b { font-size: .85rem; }
  .kopf-nav .sprachwahl .sprache-liste a.ist-aktiv { border-color: var(--glut); }
}
/* Die Pfeil-Regel .kopf-oben svg (weiße Kontur, Drehen beim Aufklappen) darf die Fahne nicht treffen */
.kopf-oben svg.fahne, .sprachwahl svg.fahne { width: 22px; height: 15px; stroke: none; fill: initial; transform: none !important; }
.kopf-nav .sprachwahl .sprache-liste a svg.fahne { width: 26px; height: 18px; }
