/* ---- fonts.css ---- */
/* Selbst gehostete Schriften (DSGVO: keine Google-Verbindung beim Seitenaufruf) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/Inter-300-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/Inter-300-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/SpaceGrotesk-400-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/SpaceGrotesk-400-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Kyrillisch: Inter deckt es ab; Space Grotesk nicht — dort tritt Manrope an seine Stelle. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/Inter-300-700-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/Inter-300-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../fonts/Manrope-500-700-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../fonts/Manrope-500-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../fonts/Manrope-500-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../fonts/Manrope-500-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- tokens.css ---- */
/* ==========================================================================
   MIRSYON — Design-Tokens
   Einzige Quelle für Farben, Typografie, Abstände, Bewegung.
   Beim Eintreffen der CI-Broschüre NUR hier die Markenfarben tauschen.
   Farbwerte gemessen aus der Chef-Logodatei (08.09.2026).
   ========================================================================== */
:root {
  /* --- Markenfarben --- */
  --navy:        #122F4C;
  --akzent:      #2A6CEE;
  --hellblau:    #7BCDFE;
  --papier:      #F3F8FB;

  /* --- Tiefen (dunkler Grundton) --- */
  --tiefe-000:   #060F1C;   /* Seitengrund */
  --tiefe-100:   #0A1728;
  --tiefe-200:   #0E2038;
  --tiefe-300:   #142B49;
  --tiefe-400:   #1D3A5E;
  --linie-dunkel:      rgba(123, 205, 254, .14);
  --linie-dunkel-hell: rgba(123, 205, 254, .28);
  --glas:        rgba(123, 205, 254, .045);
  --glas-stark:  rgba(123, 205, 254, .085);

  /* --- Helle Insel --- */
  --insel:       #F7FAFD;
  --insel-rein:  #FFFFFF;
  --linie:       #DDE8F0;
  --linie-stark: #C2D5E4;

  /* --- Abgeleitete Blautöne --- */
  --akzent-600:  #1D57CE;
  --akzent-text: #1D57CE;          /* Akzent als Textfarbe auf hellem Grund */
  --akzent-050:  #EAF1FE;
  --hellblau-050:#EAF6FE;
  --tuerkis:     #56E4D2;          /* zweiter Signalton für Diagramme */
  --violett:     #8A7BFE;          /* dritter Signalton für Diagramme */

  /* --- Text --- */
  --text-hell:        #EAF3FA;
  --text-hell-sanft:  rgba(234, 243, 250, .68);
  --text-hell-leise:  rgba(234, 243, 250, .58);
  --text-dunkel:      var(--navy);
  --text-dunkel-sanft:#4B647C;

  /* --- Typografie --- */
  --font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-text:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  --schrift-xs:   clamp(.76rem, .74rem + .1vw, .81rem);
  --schrift-sm:   clamp(.88rem, .85rem + .15vw, .95rem);
  --schrift-md:   clamp(1rem, .97rem + .2vw, 1.09rem);
  --schrift-lg:   clamp(1.12rem, 1.05rem + .4vw, 1.32rem);
  --schrift-h3:   clamp(1.28rem, 1.12rem + .72vw, 1.72rem);
  --schrift-h2:   clamp(1.9rem, 1.35rem + 2.3vw, 3.4rem);
  --schrift-h1:   clamp(2.5rem, 1.35rem + 4.1vw, 4.9rem);
  --schrift-riese:clamp(3.4rem, 1.4rem + 8vw, 9rem);

  /* --- Raster & Abstand --- */
  --breite:        1240px;
  --breite-weit:   1440px;
  --breite-schmal: 780px;
  --rand:          clamp(1.25rem, 5vw, 3.25rem);
  --block:         clamp(5rem, 10vw, 9.5rem);

  /* --- Formen --- */
  --radius-sm:  10px;
  --radius:     16px;
  --radius-lg:  26px;
  --radius-xl:  38px;
  /* Tiefe kommt aus Licht, nicht aus Schlagschatten: groß, weich, weit versetzt. */
  --schatten:      0 40px 90px -36px rgba(0, 0, 0, .55);
  --schatten-hell: 0 30px 70px -34px rgba(18, 47, 76, .35);
  --schatten-gross: 0 60px 120px -40px rgba(0, 0, 0, .6);
  --glas-licht:    rgba(255, 255, 255, .28);
  --verlauf:       linear-gradient(120deg, #2A6CEE 0%, #4E8BFF 48%, #7BCDFE 100%);
  --verlauf-weich: linear-gradient(120deg, #3B7BF5 0%, #6BA0FF 55%, #9ADAFF 100%);
  --glut:          0 0 0 1px var(--linie-dunkel), 0 24px 70px -30px rgba(42, 108, 238, .65);

  /* --- Bewegung --- */
  --tempo:      .34s cubic-bezier(.22, .8, .3, 1);
  --tempo-lang: .9s cubic-bezier(.19, 1, .22, 1);
}

/* Kyrillisch: Space Grotesk kennt keine kyrillischen Zeichen — für die russische
   Fassung tritt Manrope an seine Stelle, damit Überschriften nicht auf eine
   Systemschrift zurückfallen. */
html[lang="ru"] {
  --font-display: 'Manrope', 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;
}

/* ---- base.css ---- */
/* MIRSYON — Grundlage: Reset, Typografie, Layout, Navigation, Fuß */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--tiefe-000);
  color: var(--text-hell);
  font-family: var(--font-text);
  font-size: var(--schrift-md);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
  /* Ziffern stehen immer tabellarisch — sonst wirken Preise und Messwerte unruhig. */
  font-feature-settings: "tnum" 1, "kern" 1;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(42, 108, 238, .38); color: #fff; }
:focus-visible { outline: 2px solid var(--hellblau); outline-offset: 3px; border-radius: 6px; }

/* Lange deutsche Komposita dürfen umbrechen statt die Seite zu sprengen. */
p, li, h1, h2, h3, h4, dd, dt, summary, .schild, .karte, .blei { overflow-wrap: break-word; }
h2, h3 { hyphens: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: .99;
  letter-spacing: -.038em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: var(--schrift-h1); letter-spacing: -.042em; line-height: .98; }
h2 { font-size: var(--schrift-h2); letter-spacing: -.038em; }
h3 { font-size: var(--schrift-h3); letter-spacing: -.02em; }
p  { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: #fff; }

.huelle { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.huelle--weit   { max-width: var(--breite-weit); }
.huelle--schmal { max-width: var(--breite-schmal); }
.block { padding-block: var(--block); position: relative; }
.block--knapp { padding-block: calc(var(--block) * .6); }
.mitte { text-align: center; }
.nur-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nur-sr:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto;
  padding: .7rem 1.2rem; background: var(--hellblau); color: var(--tiefe-000);
  border-radius: 999px; font-weight: 600; z-index: 200;
}

/* --- Helle Insel innerhalb der dunklen Seite --- */
.insel {
  background: var(--insel); color: var(--text-dunkel);
  border-radius: var(--radius-xl); position: relative; overflow: hidden;
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, .9);
}
.insel h1, .insel h2, .insel h3 { color: var(--navy); }
.insel p { color: var(--text-dunkel-sanft); }

/* --- Überschrift-Bausteine --- */
.augenbraue {
  display: inline-flex; align-items: center; gap: .65rem; flex-wrap: wrap;
  font-family: var(--font-display); font-size: var(--schrift-xs);
  font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--hellblau); margin-bottom: 1.3rem;
}
.augenbraue::before {
  content: ""; width: 30px; height: 1px; background: currentColor; flex: none; opacity: .8;
}
.insel .augenbraue { color: var(--akzent-text); }
.blei { font-size: var(--schrift-lg); color: var(--text-hell-sanft); max-width: 62ch; }
.insel .blei { color: var(--text-dunkel-sanft); }
.mitte .blei { margin-inline: auto; }
.mitte .augenbraue::before { display: none; }

/* --- Schaltflächen --- */
.knopf {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: 1rem 1.85rem; border: 1px solid transparent; border-radius: 999px;
  font-family: var(--font-display); font-size: var(--schrift-sm); font-weight: 600;
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform var(--tempo), background var(--tempo), border-color var(--tempo),
              box-shadow var(--tempo), color var(--tempo);
}
.knopf--voll {
  background: linear-gradient(120deg, var(--akzent), #4E8BFF);
  color: #fff; box-shadow: 0 14px 34px -14px rgba(42, 108, 238, .9);
}
.knopf--voll::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: linear-gradient(120deg, #4E8BFF, var(--hellblau));
  transition: opacity var(--tempo);
}
.knopf--voll:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -16px rgba(42, 108, 238, 1); }
.knopf--voll:hover::after { opacity: 1; }
.knopf--linie { border-color: var(--linie-dunkel-hell); color: var(--text-hell); background: var(--glas); }
.knopf--linie:hover { border-color: var(--hellblau); color: #fff; transform: translateY(-2px); background: var(--glas-stark); }
.insel .knopf--linie { border-color: var(--linie-stark); color: var(--navy); background: transparent; }
.insel .knopf--linie:hover { border-color: var(--akzent); color: var(--akzent-text); }
.knopf--hell { background: #fff; color: var(--navy); }
.knopf--hell:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -18px rgba(255, 255, 255, .5); }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.mitte .knopf-reihe { justify-content: center; }

.pfeil-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: var(--schrift-sm);
  color: var(--hellblau); text-decoration: none;
}
.insel .pfeil-link { color: var(--akzent-text); }
.pfeil-link span { transition: transform var(--tempo); }
.pfeil-link:hover span { transform: translateX(5px); }

/* --- Marke --- */
.marke { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--text-hell); }
.marke__zeichen { width: 32px; height: 32px; color: var(--hellblau); flex: none; }
.marke__zeichen .akzent { fill: var(--akzent); }
.marke__zeichen path { transition: transform .5s cubic-bezier(.19, 1, .22, 1); transform-origin: 50% 50%; }
.marke:hover .marke__zeichen path:nth-child(1) { transform: translate(-3px, -3px); }
.marke:hover .marke__zeichen path:nth-child(2) { transform: translate(3px, -3px); }
.marke:hover .marke__zeichen path:nth-child(3) { transform: translate(-3px, 3px); }
.marke:hover .marke__zeichen path:nth-child(4) { transform: translate(3px, 3px); }
.marke__wort {
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
  letter-spacing: .36em; text-indent: .36em;
  /* Kein text-transform: im Türkischen würde daraus „MİRSYON“ — der Markenname
     wird deshalb direkt in Versalien gesetzt. */
}

/* --- Kopfleiste --- */
.kopf {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  transition: background var(--tempo), border-color var(--tempo), backdrop-filter var(--tempo);
  border-bottom: 1px solid transparent;
}
.kopf.ist-gescrollt {
  background: rgba(6, 15, 28, .78);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--linie-dunkel);
}
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav__liste { display: flex; align-items: center; gap: clamp(1.2rem, 1.5vw, 2rem); list-style: none; margin: 0; padding: 0; }
.nav > .knopf { white-space: nowrap; }   /* sieben Menüpunkte: der Knopf bricht sonst um */
.nav__link {
  position: relative; text-decoration: none; font-size: var(--schrift-sm); font-weight: 500;
  color: var(--text-hell-sanft); transition: color var(--tempo); padding-block: .4rem;
}
.nav__link:hover { color: #fff; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--hellblau); transition: width var(--tempo);
}
.nav__link:hover::after { width: 100%; }
.nav__link[aria-current="page"] { color: #fff; }
.nav__link[aria-current="page"]::after { width: 100%; }
/* Menuegruppe: ein Punkt mit Unterpunkten (Referenzen = Projekte + eigene Systeme).
   Desktop: Klappliste unter dem Punkt (Klick oder Tastatur, Hover oeffnet auch).
   Mobil: die Unterpunkte stehen eingerueckt direkt unter dem Gruppennamen. */
.nav__gruppe { position: relative; }
.nav__gruppe-knopf { display: inline-flex; align-items: baseline; gap: .35rem; margin: 0; padding: 0; background: none; border: 0; cursor: pointer; font: inherit; font-size: var(--schrift-sm); font-weight: 500; line-height: inherit; color: var(--text-hell-sanft); }
.nav__gruppe-knopf svg { align-self: center; }
.nav__gruppe-knopf svg { width: 12px; height: 12px; transition: transform var(--tempo); }
.nav__gruppe.ist-offen .nav__gruppe-knopf svg, .nav__gruppe:focus-within .nav__gruppe-knopf svg { transform: rotate(180deg); }
.nav__gruppe-knopf.ist-aktuell { color: #fff; }
.nav__gruppe-knopf.ist-aktuell::after { width: 100%; }
.nav__unter {
  position: absolute; top: calc(100% + .55rem); left: -.9rem; z-index: 60; min-width: 220px;
  list-style: none; margin: 0; padding: .4rem; display: grid; gap: .1rem;
  background: rgba(10, 23, 40, .97); backdrop-filter: blur(14px);
  border: 1px solid var(--linie-dunkel-hell); border-radius: var(--radius-sm);
  box-shadow: var(--schatten); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--tempo), transform var(--tempo), visibility var(--tempo);
}
.nav__gruppe.ist-offen .nav__unter, .nav__gruppe:focus-within .nav__unter { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .nav__gruppe:hover .nav__unter { opacity: 1; visibility: visible; transform: none; } .nav__gruppe:hover .nav__gruppe-knopf { color: #fff; } }
.nav__unter a {
  display: block; padding: .6rem .85rem; border-radius: 8px; text-decoration: none; white-space: nowrap;
  font-size: var(--schrift-sm); color: var(--text-hell-sanft); transition: background var(--tempo), color var(--tempo);
}
.nav__unter a:hover, .nav__unter a:focus-visible { background: var(--glas-stark); color: #fff; outline: none; }
.nav__unter a[aria-current="page"] { color: var(--hellblau); font-weight: 600; }
.nav__unter small { display: block; margin-top: .1rem; font-size: var(--schrift-xs); color: var(--text-hell-leise); font-weight: 400; }
.nav-schalter {
  display: none; width: 46px; height: 46px; border: 1px solid var(--linie-dunkel-hell);
  border-radius: 14px; background: var(--glas); cursor: pointer; padding: 0; place-items: center;
}
.nav-schalter__balken, .nav-schalter__balken::before, .nav-schalter__balken::after {
  content: ""; display: block; width: 18px; height: 1.5px; background: var(--text-hell);
  border-radius: 2px; transition: transform var(--tempo), opacity var(--tempo);
}
.nav-schalter__balken::before { transform: translateY(-6px); }
.nav-schalter__balken::after  { transform: translateY(4.5px); }
.nav-schalter[aria-expanded="true"] .nav-schalter__balken { background: transparent; }
.nav-schalter[aria-expanded="true"] .nav-schalter__balken::before { transform: rotate(45deg); }
.nav-schalter[aria-expanded="true"] .nav-schalter__balken::after  { transform: rotate(-45deg) translateY(-1.5px); }

/* Schmaler Desktop (1101-1260 px): dieselben fuenf Punkte, nur enger gesetzt —
   sonst schiebt sich das Menue in allen fuenf Sprachen ueber die Marke. */
@media (min-width: 1101px) and (max-width: 1260px) {
  .kopf__innen { gap: 1rem; }
  .nav { gap: 1rem; }
  .nav__liste { gap: .9rem; }
  .nav__link, .nav__gruppe-knopf { font-size: .84rem; }
  .nav__gruppe-knopf svg { width: 10px; height: 10px; }
  .nav > .knopf { padding: .72rem 1.05rem; font-size: .84rem; }
  .sprachwahl__knopf { padding: .45rem .6rem; }
}
@media (max-width: 1100px) {
  .nav-schalter { display: grid; }
  .nav {
    position: fixed; inset: 78px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(6, 15, 28, .97); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--linie-dunkel); padding: .5rem var(--rand) 2rem;
    max-height: calc(100vh - 78px); max-height: calc(100dvh - 78px); overflow-y: auto; overscroll-behavior: contain;
    padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px) + 1.5rem);   /* bei kleiner Hoehe ist auch der Knopf erreichbar */
    transform: translateY(-14px); opacity: 0; visibility: hidden;
    transition: opacity var(--tempo), transform var(--tempo), visibility var(--tempo);
  }
  .nav.ist-offen { opacity: 1; visibility: visible; transform: none; }
  /* Geschlossenes Menue faengt keine Tipps ab (Chef 07.11.2026: Tipps im Formular oeffneten
     unsichtbare Menue- und Sprachlinks). Unterlisten erben deshalb visibility statt sie zu setzen. */
  .nav:not(.ist-offen) { pointer-events: none; }
  .nav__liste { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { display: block; padding: 1.05rem 0; border-bottom: 1px solid var(--linie-dunkel); font-size: 1.05rem; }
  .nav .knopf { margin-top: 1.4rem; }
  .nav__gruppe-knopf { display: flex; width: 100%; justify-content: space-between; padding: 1.05rem 0 .55rem; border-bottom: 0; font-size: var(--schrift-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--text-hell-leise); cursor: default; }
  .nav__gruppe-knopf svg { display: none; }
  .nav__gruppe-knopf::after { display: none; }
  .nav__unter { position: static; opacity: 1; visibility: inherit; transform: none; min-width: 0; padding: 0; gap: 0; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; transition: none; }
  .nav__unter a { padding: .85rem 0 .85rem 1rem; border-radius: 0; border-bottom: 1px solid var(--linie-dunkel); white-space: normal; font-size: 1.05rem; color: var(--text-hell-sanft); }
  .nav__unter a:hover { background: transparent; }
  .nav__unter small { display: none; }
  /* Offenes Menue: der Chat-Knopf tritt zurueck, sonst liegt er auf dem Knopf „Projekt besprechen" */
  body:has(.nav.ist-offen) .assi__knopf { opacity: 0; pointer-events: none; }
}

/* --- Fußbereich --- */
.fuss { border-top: 1px solid var(--linie-dunkel); padding-block: clamp(3.5rem, 6vw, 5.5rem) 2.25rem; position: relative; }
.fuss a { color: var(--text-hell-sanft); text-decoration: none; transition: color var(--tempo); }
.fuss a:hover { color: var(--hellblau); }
.fuss__raster { display: grid; gap: clamp(2.25rem, 5vw, 4rem); grid-template-columns: minmax(220px, 1.3fr) repeat(4, minmax(130px, 1fr)); }
.fuss__text { color: var(--text-hell-sanft); font-size: var(--schrift-sm); max-width: 34ch; margin-top: 1.2rem; }
.fuss__titel {
  font-family: var(--font-display); font-size: var(--schrift-xs); letter-spacing: .18em;
  text-transform: uppercase; color: var(--hellblau); margin: 0 0 1.15rem;
}
.fuss__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; font-size: var(--schrift-sm); }
.fuss__schluss {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.75rem; border-top: 1px solid var(--linie-dunkel);
  display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; justify-content: space-between;
  font-size: var(--schrift-xs); color: var(--text-hell-leise);
}
@media (max-width: 940px) { .fuss__raster { grid-template-columns: 1fr 1fr; } .fuss__spalte--marke { grid-column: 1 / -1; } }
@media (max-width: 460px) { .fuss__raster { grid-template-columns: 1fr; } }

/* --- Sprachwahl --- */
.sprachwahl { position: relative; }
.sprachwahl__knopf {
  display: inline-flex; align-items: center; gap: .45rem; cursor: pointer;
  background: transparent; border: 1px solid var(--linie-dunkel); border-radius: 999px;
  padding: .5rem .85rem; color: var(--text-hell-sanft); font: inherit;
  font-family: var(--font-display); font-size: var(--schrift-xs); font-weight: 600; letter-spacing: .08em;
  transition: border-color var(--tempo), color var(--tempo), background var(--tempo);
}
.sprachwahl__knopf:hover { border-color: var(--linie-dunkel-hell); color: #fff; background: var(--glas); }
.sprachwahl__liste {
  position: absolute; top: calc(100% + .55rem); right: 0; z-index: 60; min-width: 168px;
  list-style: none; margin: 0; padding: .4rem; display: grid; gap: .1rem;
  background: rgba(10, 23, 40, .97); backdrop-filter: blur(14px);
  border: 1px solid var(--linie-dunkel-hell); border-radius: var(--radius-sm);
  box-shadow: var(--schatten); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--tempo), transform var(--tempo), visibility var(--tempo);
}
.sprachwahl.ist-offen .sprachwahl__liste { opacity: 1; visibility: visible; transform: none; }
.sprachwahl__liste a {
  display: block; padding: .55rem .8rem; border-radius: 8px; text-decoration: none;
  font-size: var(--schrift-sm); color: var(--text-hell-sanft); transition: background var(--tempo), color var(--tempo);
}
.sprachwahl__liste a:hover { background: var(--glas-stark); color: #fff; }
.sprachwahl__liste a[aria-current="true"] { color: var(--hellblau); font-weight: 600; }
@media (max-width: 1100px) {
  .sprachwahl { margin-top: 1.2rem; }
  .sprachwahl__knopf { width: 100%; justify-content: center; padding: .8rem; }
  .sprachwahl__liste { position: static; opacity: 1; visibility: inherit; transform: none; margin-top: .5rem;
    background: transparent; border: 0; box-shadow: none; padding: 0;
    grid-template-columns: repeat(2, 1fr); }
  .sprachwahl__liste a { border: 1px solid var(--linie-dunkel); text-align: center; }
}

/* Zusatz der Wortmarke seit 07.11.2026 (MIRSYON Technologies): klein darunter, gleiche Breite */
.marke__wort { display: inline-flex; flex-direction: column; line-height: 1; }
.marke__zusatz {
  display: block; margin-top: .32em; font-size: .45em; font-weight: 500;
  letter-spacing: .58em; text-indent: .58em; color: var(--hellblau); opacity: .85;
}
.fuss__motto { margin-top: 1.1rem; font-family: var(--font-display); font-weight: 600; color: var(--text-hell); letter-spacing: .01em; }

/* ---- effekte.css ---- */
/* MIRSYON — Atmosphäre, Bewegung, Textenthüllung */

/* --- Feines technisches Raster über dem Seitengrund --- */
.raster-grund {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(123, 205, 254, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(123, 205, 254, .055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 78%);
}
body > header, body > main, body > footer { position: relative; z-index: 1; }

/* --- Lichtschein --- */
.schein { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(60px); z-index: 0; }
.schein--blau   { background: radial-gradient(circle, rgba(42, 108, 238, .38), transparent 68%); }
.schein--eis    { background: radial-gradient(circle, rgba(123, 205, 254, .30), transparent 68%); }
.schein--tuerkis{ background: radial-gradient(circle, rgba(86, 228, 210, .18), transparent 68%); }

/* --- Einblenden beim Scrollen --- */
.js-an .zeigt { opacity: 0; transform: translateY(26px); transition: opacity var(--tempo-lang), transform var(--tempo-lang); }
.js-an .zeigt.ist-sichtbar { opacity: 1; transform: none; }
.js-an .zeigt--links  { transform: translateX(-26px); }
.js-an .zeigt--rechts { transform: translateX(26px); }
.js-an .zeigt--links.ist-sichtbar, .js-an .zeigt--rechts.ist-sichtbar { transform: none; }
.js-an [data-verzug="1"] { transition-delay: .08s; }
.js-an [data-verzug="2"] { transition-delay: .16s; }
.js-an [data-verzug="3"] { transition-delay: .24s; }
.js-an [data-verzug="4"] { transition-delay: .32s; }
.js-an [data-verzug="5"] { transition-delay: .40s; }

/* --- Zeilenweise Textenthüllung --- */
.enthuellen { display: block; }
.js-an .enthuellen .wort { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(2deg); }
.js-an .enthuellen.ist-sichtbar .wort {
  opacity: 1; transform: none;
  transition: opacity .62s cubic-bezier(.19,1,.22,1), transform .62s cubic-bezier(.19,1,.22,1);
  transition-delay: calc(var(--i) * 36ms);
}

/* --- Glaskarte --- */
/* Glas statt Kasten — die einzige zulässige Karte auf der Bühne. */
.glas {
  background: linear-gradient(158deg, var(--glas-stark), var(--glas));
  border: 1px solid var(--linie-dunkel);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(34px) saturate(170%);
  backdrop-filter: blur(34px) saturate(170%);
  box-shadow: var(--schatten), inset 0 1px 0 var(--glas-licht);
  transition: border-color var(--tempo), transform var(--tempo), box-shadow var(--tempo), background var(--tempo);
}
.glas:hover { border-color: var(--linie-dunkel-hell); transform: translateY(-4px);
  box-shadow: var(--schatten-gross), inset 0 1px 0 var(--glas-licht); }

/* --- Lichtrand, der dem Zeiger folgt --- */
.leuchtrand { position: relative; }
.leuchtrand::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; opacity: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(123, 205, 254, .75), transparent 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity var(--tempo); pointer-events: none;
}
.leuchtrand:hover::before { opacity: 1; }

/* --- Laufschrift --- */
.laufband { overflow: hidden; border-block: 1px solid var(--linie-dunkel); padding-block: 1.15rem; }
.laufband__spur { display: flex; width: max-content; gap: 3.5rem; animation: laufen 44s linear infinite; }
.laufband:hover .laufband__spur { animation-play-state: paused; }
.laufband__glied {
  display: inline-flex; align-items: center; gap: 3.5rem;
  font-family: var(--font-display); font-size: var(--schrift-sm); letter-spacing: .2em;
  text-transform: uppercase; color: var(--text-hell-leise); white-space: nowrap;
}
.laufband__glied span::before { content: "◆"; margin-right: 3.5rem; color: var(--hellblau); opacity: .55; }
@keyframes laufen { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .laufband__spur { animation: none; } }

/* --- Pulsierender Punkt --- */
.puls { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--tuerkis); flex: none; }
.puls::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid var(--tuerkis); opacity: .6; animation: pulsieren 2.4s ease-out infinite;
}
@keyframes pulsieren { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .puls::after { animation: none; } }

/* --- Fortschrittsbalken der Seite --- */
.lesebalken {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 95; transform-origin: 0 50%;
  transform: scaleX(0); background: linear-gradient(90deg, var(--akzent), var(--hellblau), var(--tuerkis));
}

/* Auf schmalen Geräten nur senkrecht einblenden — seitliche Versätze
   erzeugen sonst einen waagerechten Überstand. */
@media (max-width: 940px) {
  .js-an .zeigt--links, .js-an .zeigt--rechts { transform: translateY(24px); }
}

/* Lichtscheine dürfen die Seite nie breiter machen als das Fenster. */
.seitenkopf, .buehne { overflow: hidden; }
.schein { max-width: 100vw; }


/* ===== Licht, Rauschen, Vignette — nach dem Designkern =====================
   Tiefe entsteht aus drei weichen Lichtquellen plus Bodenlicht und feinem
   Rauschen, nicht aus flachen Farbflächen oder harten Schatten. */
.licht { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.licht i { position: absolute; display: block; border-radius: 50%; filter: blur(70px); }
.licht .l1 { width: min(72vw, 980px); aspect-ratio: 1; left: -22vw; top: -34vh;
  background: radial-gradient(closest-side, rgba(42, 108, 238, .60), rgba(42, 108, 238, 0) 72%); }
.licht .l2 { width: min(66vw, 900px); aspect-ratio: 1; right: -20vw; top: 12vh;
  background: radial-gradient(closest-side, rgba(78, 139, 255, .42), rgba(78, 139, 255, 0) 72%); }
.licht .l3 { width: min(60vw, 820px); aspect-ratio: 1; left: 14vw; bottom: -38vh;
  background: radial-gradient(closest-side, rgba(123, 205, 254, .28), rgba(123, 205, 254, 0) 72%); }
.licht .l4 { width: 100%; height: 44%; left: 0; bottom: -22%; border-radius: 0; filter: blur(40px);
  background: radial-gradient(60% 100% at 50% 100%, rgba(42, 108, 238, .30), rgba(42, 108, 238, 0)); }

/* Das Rauschen gehört auf den Grund, nicht über die Schrift — sonst wirkt der
   Text körnig statt der Fläche. */
.rauschen {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .075; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.7 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 320px 320px;
}
.vignette {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(125% 95% at 50% 42%, transparent 58%, rgba(2, 6, 16, .36) 100%);
}
.insel .licht i { opacity: .34; }

/* Ein Wort im Verlauf — nie ein ganzer Satz. */
.verlauf-wort {
  background: var(--verlauf-weich); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; padding-right: .04em;
}

/* Das Licht der Seitenköpfe läuft nach unten weich aus — sonst entsteht eine
   sichtbare Kante zum nächsten Abschnitt. */
.seitenkopf .licht {
  -webkit-mask-image: linear-gradient(to bottom, #000 52%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 52%, transparent 100%);
}
.seitenkopf .licht .l3, .seitenkopf .licht .l4 { display: none; }

/* ---- site.css ---- */
/* MIRSYON — Sektionen und Komponenten */

/* ===== Bühne ===== */
.buehne { position: relative; min-height: min(100svh, 940px); display: flex; align-items: center; padding-block: clamp(6.5rem, 12vh, 8.5rem) clamp(3.5rem, 7vh, 6rem); overflow: hidden; }
.buehne__leinwand { position: absolute; inset: 0; z-index: 0; opacity: .95; }
.buehne__innen { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.buehne__kennung { display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.8rem; padding: .45rem 1rem .45rem .6rem;
  border: 1px solid var(--linie-dunkel); border-radius: 999px; background: var(--glas);
  font-size: var(--schrift-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--text-hell-sanft); font-family: var(--font-display); }
.buehne h1 { margin-bottom: .45em; }
.buehne h1 .glanz {
  background: linear-gradient(96deg, var(--hellblau) 6%, #fff 42%, var(--akzent) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.buehne__blei { font-size: var(--schrift-lg); color: var(--text-hell-sanft); max-width: 46ch; margin-bottom: 2.1rem; }
.buehne__fuss { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; margin: 2.4rem 0 0; padding: 0; font-size: var(--schrift-sm); color: var(--text-hell-leise); }
.buehne__fuss li { list-style: none; display: flex; align-items: center; gap: .6rem; }
.buehne__runter { position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); z-index: 2;
  display: grid; place-items: center; gap: .6rem; font-size: var(--schrift-xs); letter-spacing: .22em;
  text-transform: uppercase; color: var(--text-hell-leise); font-family: var(--font-display); text-decoration: none; }
.buehne__runter i { display: block; width: 1px; height: 46px; background: linear-gradient(var(--hellblau), transparent); animation: rutschen 2.2s ease-in-out infinite; }
@keyframes rutschen { 0%, 100% { transform: scaleY(.4); opacity: .4; transform-origin: top; } 50% { transform: scaleY(1); opacity: 1; transform-origin: top; } }
@media (prefers-reduced-motion: reduce) { .buehne__runter i { animation: none; } }
@media (max-width: 980px) {
  .buehne__innen { grid-template-columns: 1fr; }
  .buehne__bild { order: -1; max-width: 340px; margin-inline: auto; }
  .buehne__runter { display: none; }
}

/* Rotierendes Zeichen-Modul in der Bühne */
.wuerfel { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.wuerfel__ring { position: absolute; inset: 0; border: 1px solid var(--linie-dunkel); border-radius: 50%; }
.wuerfel__ring--2 { inset: 11%; border-style: dashed; opacity: .7; animation: drehen 46s linear infinite; }
.wuerfel__ring--3 { inset: 22%; opacity: .5; animation: drehen 32s linear infinite reverse; }
.wuerfel__ring i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--hellblau); box-shadow: 0 0 14px var(--hellblau); }
.wuerfel__ring--2 i { top: -4px; left: 50%; }
.wuerfel__ring--3 i { bottom: -4px; left: 50%; background: var(--tuerkis); box-shadow: 0 0 14px var(--tuerkis); }
@keyframes drehen { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .wuerfel__ring--2, .wuerfel__ring--3 { animation: none; } }
.wuerfel__zeichen { width: 46%; color: var(--hellblau); filter: drop-shadow(0 0 40px rgba(123, 205, 254, .45)); }
.wuerfel__zeichen .akzent { fill: var(--akzent); }
.wuerfel__zeichen path { animation: atmen 6s ease-in-out infinite; transform-origin: 50% 50%; }
.wuerfel__zeichen path:nth-child(2) { animation-delay: .5s; }
.wuerfel__zeichen path:nth-child(3) { animation-delay: 1s; }
.wuerfel__zeichen path:nth-child(4) { animation-delay: 1.5s; }
@keyframes atmen { 0%, 100% { transform: scale(1); } 50% { transform: scale(.965); } }
@media (prefers-reduced-motion: reduce) { .wuerfel__zeichen path { animation: none; } }

/* ===== Kennzahlen ===== */
.zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--linie-dunkel); border: 1px solid var(--linie-dunkel); border-radius: var(--radius); overflow: hidden; }
.zahlen__feld { background: rgba(6, 15, 28, .86); padding: clamp(1.5rem, 3vw, 2.2rem); }
.zahlen__wert { font-family: var(--font-display); font-size: clamp(2rem, 1.2rem + 2.6vw, 3.2rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: #fff; }
.zahlen__wert small { font-size: .5em; color: var(--hellblau); margin-left: .12em; letter-spacing: 0; }
.zahlen__text { margin: .8rem 0 0; font-size: var(--schrift-sm); color: var(--text-hell-sanft); }
@media (max-width: 860px) { .zahlen { grid-template-columns: 1fr 1fr; } }

/* ===== Manifest ===== */
.manifest { font-family: var(--font-display); font-size: clamp(1.5rem, .9rem + 2.4vw, 3rem); line-height: 1.24; letter-spacing: -.03em; max-width: 22ch; }
.manifest b { font-weight: 600; color: #fff; }
.manifest span { color: var(--text-hell-leise); font-weight: 400; }

/* ===== Leistungen mit Illustration ===== */
.leistung { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--linie-dunkel); }
.leistung:first-of-type { border-top: 0; }
.leistung--gedreht .leistung__bild { order: -1; }
.leistung__nummer { font-family: var(--font-display); font-size: var(--schrift-xs); letter-spacing: .24em; color: var(--hellblau); margin-bottom: 1rem; }
.leistung__liste { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .75rem; }
.leistung__liste li { display: flex; gap: .8rem; font-size: var(--schrift-sm); color: var(--text-hell-sanft); }
.leistung__liste li::before { content: ""; width: 6px; height: 6px; margin-top: .62em; border-radius: 50%; background: var(--hellblau); flex: none; box-shadow: 0 0 10px var(--hellblau); }
.leistung__bild { position: relative; }
.leistung__bild svg { width: 100%; height: auto; overflow: visible; }
@media (max-width: 900px) { .leistung { grid-template-columns: 1fr; } .leistung--gedreht .leistung__bild { order: 0; } }

/* ===== Weg eines Auftrags ===== */
.weg { position: relative; }
.weg__spur { position: absolute; left: clamp(14px, 3vw, 26px); top: 0; bottom: 0; width: 2px; background: var(--linie-dunkel); }
.weg__spur i { position: absolute; top: 0; left: 0; width: 100%; height: 0; background: linear-gradient(var(--hellblau), var(--akzent)); box-shadow: 0 0 16px rgba(123, 205, 254, .8); }
.weg__halt { position: relative; padding-left: clamp(56px, 8vw, 92px); padding-block: clamp(1.6rem, 3.5vw, 2.6rem); }
.weg__punkt { position: absolute; left: clamp(6px, 3vw, 18px); top: calc(clamp(1.6rem, 3.5vw, 2.6rem) + .35em); width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--linie-dunkel-hell); background: var(--tiefe-000); transition: border-color var(--tempo), box-shadow var(--tempo), background var(--tempo); }
.weg__halt.ist-aktiv .weg__punkt { border-color: var(--hellblau); background: var(--hellblau); box-shadow: 0 0 0 6px rgba(123, 205, 254, .14), 0 0 22px rgba(123, 205, 254, .9); }
.weg__zeit { font-family: var(--font-display); font-size: var(--schrift-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--hellblau); }
.weg__halt h3 { margin: .5rem 0 .5rem; }
.weg__halt p { color: var(--text-hell-sanft); font-size: var(--schrift-sm); max-width: 56ch; }

/* ===== Markenvitrine ===== */
.vitrine { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.vitrine__reiter { display: grid; gap: .5rem; }
.reiter {
  display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; align-items: center;
  text-align: left; width: 100%; cursor: pointer; padding: 1.1rem 1.3rem;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius);
  color: var(--text-hell-sanft); font: inherit; transition: background var(--tempo), border-color var(--tempo), color var(--tempo);
}
.reiter:hover { background: var(--glas); border-color: var(--linie-dunkel); color: var(--text-hell); }
.reiter[aria-selected="true"] { background: var(--glas-stark); border-color: var(--linie-dunkel-hell); color: #fff; }
.reiter__punkt { width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: .35; grid-row: span 2; }
.reiter[aria-selected="true"] .reiter__punkt { opacity: 1; background: var(--hellblau); box-shadow: 0 0 14px var(--hellblau); }
.reiter__name { font-family: var(--font-display); font-weight: 600; font-size: var(--schrift-lg); letter-spacing: -.02em; }
.reiter__zusatz { font-size: var(--schrift-xs); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.tafel { padding: clamp(1.5rem, 3.5vw, 2.4rem); }
.tafel[hidden] { display: none; }
.tafel__kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: .8rem 1.2rem; margin-bottom: 1rem; }
.tafel__kopf h3 { margin: 0; font-size: var(--schrift-h3); color: #fff; }
.tafel__marke { font-family: var(--font-display); font-size: var(--schrift-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--hellblau); }
.tafel p { color: var(--text-hell-sanft); }
.tafel__bild { margin-top: 1.6rem; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--linie-dunkel); background: rgba(6, 15, 28, .6); }
.tafel__bild svg { width: 100%; height: auto; }
.schilder { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.schild { font-size: var(--schrift-xs); padding: .35rem .8rem; border-radius: 999px; background: var(--glas); border: 1px solid var(--linie-dunkel); color: var(--text-hell-sanft); }
@media (max-width: 860px) { .vitrine { grid-template-columns: 1fr; } .vitrine__reiter { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .vitrine__reiter { grid-template-columns: 1fr; } }

/* ===== Technikfeld ===== */
.technik { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--linie-dunkel); border: 1px solid var(--linie-dunkel); border-radius: var(--radius); overflow: hidden; }
.technik__feld { background: rgba(6, 15, 28, .86); padding: clamp(1.4rem, 3vw, 2rem); transition: background var(--tempo); }
.technik__feld:hover { background: rgba(20, 43, 73, .7); }
.technik__feld h3 { font-size: var(--schrift-md); margin-bottom: .5rem; color: #fff; }
.technik__feld p { font-size: var(--schrift-sm); color: var(--text-hell-sanft); margin: 0; }
.technik__feld i { display: block; width: 26px; height: 2px; background: var(--hellblau); margin-bottom: 1.1rem; }

/* ===== Ablauf ===== */
.ablauf { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); counter-reset: schritt; }
.schritt { position: relative; padding: clamp(1.5rem, 3vw, 2rem); }
.schritt::before { counter-increment: schritt; content: counter(schritt, decimal-leading-zero); display: block; font-family: var(--font-display); font-size: var(--schrift-sm); font-weight: 600; color: var(--hellblau); letter-spacing: .12em; margin-bottom: 1.4rem; }
.schritt h3 { font-size: var(--schrift-lg); margin-bottom: .5rem; color: #fff; }
.schritt p { font-size: var(--schrift-sm); color: var(--text-hell-sanft); margin: 0; }
@media (max-width: 980px) { .ablauf { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ablauf { grid-template-columns: 1fr; } }

/* ===== Karten (Inhaltsseiten) ===== */
.raster { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.raster--2 { grid-template-columns: repeat(2, 1fr); }
.raster--3 { grid-template-columns: repeat(3, 1fr); }
.raster--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .raster--3, .raster--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .raster--2, .raster--3, .raster--4 { grid-template-columns: 1fr; } }
.karte { padding: clamp(1.5rem, 3vw, 2.1rem); display: flex; flex-direction: column; gap: .85rem; }
.karte h3 { margin: 0; color: #fff; }
.karte p { color: var(--text-hell-sanft); font-size: var(--schrift-sm); margin: 0; }
.karte__symbol { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--glas-stark); color: var(--hellblau); margin-bottom: .4rem; }
.karte__symbol svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.karte__liste { list-style: none; margin: .3rem 0 0; padding: 0; display: grid; gap: .55rem; font-size: var(--schrift-sm); color: var(--text-hell-sanft); }
.karte__liste li { display: flex; gap: .65rem; }
.karte__liste li::before { content: "→"; color: var(--hellblau); flex: none; }

/* ===== Abschluss-Aufruf ===== */
.aufruf { position: relative; border-radius: var(--radius-xl); border: 1px solid var(--linie-dunkel); overflow: hidden; padding: clamp(2.8rem, 7vw, 5.5rem); text-align: center; background: linear-gradient(160deg, rgba(20, 43, 73, .9), rgba(6, 15, 28, .9)); }
.aufruf h2 { color: #fff; }
.aufruf p { color: var(--text-hell-sanft); max-width: 52ch; margin-inline: auto; }
.aufruf__gitter { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(to right, rgba(123, 205, 254, .07) 1px, transparent 1px), linear-gradient(to bottom, rgba(123, 205, 254, .07) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 75%); }
.aufruf > *:not(.aufruf__gitter) { position: relative; }

/* ===== Seitenkopf der Unterseiten ===== */
.seitenkopf { position: relative; padding-block: clamp(9rem, 16vh, 13rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.seitenkopf h1 { max-width: 18ch; }

/* ===== Fließtext ===== */
.prosa { max-width: 72ch; }
.prosa h2 { font-size: var(--schrift-h3); margin-top: 2.8rem; color: #fff; }
.prosa h3 { font-size: var(--schrift-lg); margin-top: 2rem; color: #fff; }
.prosa p, .prosa li { color: var(--text-hell-sanft); }
.prosa ul, .prosa ol { padding-left: 1.25rem; }
.prosa li { margin-bottom: .5rem; }
.prosa a { color: var(--hellblau); }
.prosa dl { display: grid; grid-template-columns: minmax(140px, 210px) 1fr; gap: .6rem 1.5rem; margin: 0 0 1.5rem; }
.prosa dt { font-weight: 600; color: var(--text-hell); }
.prosa dd { margin: 0; color: var(--text-hell-sanft); }
@media (max-width: 560px) { .prosa dl { grid-template-columns: 1fr; gap: .2rem 0; } .prosa dd { margin-bottom: .9rem; } }
.hinweis { border-left: 2px solid var(--hellblau); background: var(--glas); padding: 1.1rem 1.35rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: var(--schrift-sm); color: var(--text-hell-sanft); }

/* ===== Kontakt ===== */
.kontakt-raster { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1.15fr .85fr; align-items: start; }
@media (max-width: 900px) { .kontakt-raster { grid-template-columns: 1fr; } }
.formular { display: grid; gap: 1.15rem; }
.feld { display: grid; gap: .45rem; }
.feld label { font-size: var(--schrift-sm); font-weight: 600; color: var(--text-hell); }
.feld input, .feld textarea, .feld select {
  font: inherit; font-size: var(--schrift-sm); color: var(--text-hell); background: rgba(6, 15, 28, .7);
  border: 1px solid var(--linie-dunkel); border-radius: var(--radius-sm); padding: .85rem 1.05rem;
  transition: border-color var(--tempo), box-shadow var(--tempo), background var(--tempo);
}
.feld input::placeholder, .feld textarea::placeholder { color: var(--text-hell-leise); }
.feld input:focus, .feld textarea:focus, .feld select:focus { outline: none; border-color: var(--hellblau); box-shadow: 0 0 0 3px rgba(123, 205, 254, .16); }
.feld textarea { min-height: 170px; resize: vertical; }
.feld--zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 560px) { .feld--zwei { grid-template-columns: 1fr; } }
.pflicht-hinweis { font-size: var(--schrift-xs); color: var(--text-hell-leise); }
.zustimmung { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--schrift-sm); color: var(--text-hell-sanft); }
.zustimmung input { margin-top: .3rem; accent-color: var(--akzent); }
.zustimmung a { color: var(--hellblau); }
.formular[hidden] { display: none; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Rueckmeldung nach dem Absenden. Ohne JavaScript kommt die Seite von anfrage.php
   mit #gesendet oder #fehler zurueck (:target); mit JavaScript setzt kontakt.js
   die Klasse ist-sichtbar. */
.formular-ergebnis { display: none; margin-bottom: 1.5rem; padding: 1.4rem 1.6rem; border-radius: var(--radius); border: 1px solid var(--linie-dunkel-hell); background: var(--glas-stark); outline: none; }
.formular-ergebnis:target, .formular-ergebnis.ist-sichtbar { display: block; animation: ergebnis-ein .36s cubic-bezier(.22,.9,.3,1) both; }
.formular-ergebnis h3 { position: relative; margin: 0 0 .45rem; padding-left: 1.35em; font-size: var(--schrift-lg); color: var(--text-hell); }
.formular-ergebnis p { margin: 0; font-size: var(--schrift-sm); color: var(--text-hell-sanft); line-height: 1.6; }
.formular-ergebnis .knopf { margin-top: 1.1rem; }
.formular-ergebnis--ok { border-color: rgba(86, 228, 210, .38); box-shadow: 0 0 0 1px rgba(86, 228, 210, .08) inset, 0 24px 60px -36px rgba(86, 228, 210, .35); }
.formular-ergebnis h3::before { content: ""; position: absolute; left: .1em; top: .4em; width: .6em; height: .6em; border-radius: 50%; background: var(--tuerkis); box-shadow: 0 0 0 4px rgba(86, 228, 210, .18); }
.formular-ergebnis--fehler h3::before { background: #FF8A80; box-shadow: 0 0 0 4px rgba(255, 138, 128, .18); }
.formular-ergebnis--fehler { border-color: rgba(255, 138, 128, .38); background: rgba(255, 107, 96, .07); }
.formular-ergebnis--fehler h3 { color: #FFC9C2; }
.formular.sendet { opacity: .6; pointer-events: none; }
@keyframes ergebnis-ein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .formular-ergebnis:target, .formular-ergebnis.ist-sichtbar { animation: none; } }

/* ===== Helle Insel: Farben der Bausteine anpassen ===== */
.insel .schritt h3 { color: var(--navy); }
.insel .schritt p { color: var(--text-dunkel-sanft); }
.insel .schritt::before { color: var(--akzent-text); }
.insel .karte h3 { color: var(--navy); }
.insel .karte p, .insel .karte__liste { color: var(--text-dunkel-sanft); }
.insel .karte { background: #fff; border: 1px solid var(--linie); }
.insel .karte__symbol { background: var(--akzent-050); color: var(--akzent-text); }
.insel .zahlen__wert { color: var(--navy); }
.ablauf--hell .schritt { padding-inline: 0; padding-top: 0; }
.ablauf--hell .schritt + .schritt { border-left: 1px solid var(--linie); padding-left: clamp(1.2rem, 2.5vw, 2rem); }
@media (max-width: 980px) { .ablauf--hell .schritt + .schritt { border-left: 0; padding-left: 0; } }

/* ===== Weg eines Auftrags: mitlaufende Systemansicht ===== */
.weg-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 960px) { .weg-raster { grid-template-columns: 1fr; } .vorgang-halter { display: none; } }
.vorgang-halter { position: sticky; top: clamp(96px, 14vh, 140px); }
.vorgang { border: 1px solid var(--linie-dunkel); border-radius: var(--radius); overflow: hidden; background: linear-gradient(165deg, rgba(20, 43, 73, .55), rgba(6, 15, 28, .85)); backdrop-filter: blur(6px); }
.vorgang__kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--linie-dunkel); }
.vorgang__nummer { font-family: var(--font-display); font-size: var(--schrift-sm); letter-spacing: .1em; color: var(--text-hell); }
.vorgang__stand { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--schrift-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--tuerkis); }
.vorgang__leiste { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 1.1rem 1.3rem .2rem; }
.vorgang__leiste span { height: 3px; border-radius: 2px; background: var(--linie-dunkel); transition: background .5s ease, box-shadow .5s ease; }
.vorgang__leiste span.ist-voll { background: linear-gradient(90deg, var(--akzent), var(--hellblau)); box-shadow: 0 0 12px rgba(123, 205, 254, .6); }
.vorgang__buehne { position: relative; padding: 1.3rem; min-height: 268px; }
.stufe { position: absolute; inset: 1.3rem; opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.stufe.ist-an { opacity: 1; transform: none; }
.stufe h4 { font-family: var(--font-display); font-size: var(--schrift-md); margin: 0 0 .2rem; color: #fff; }
.stufe p { font-size: var(--schrift-xs); color: var(--text-hell-leise); margin: 0 0 1rem; }
.zeile { display: flex; align-items: center; gap: .7rem; padding: .6rem .8rem; border: 1px solid var(--linie-dunkel); border-radius: 10px; margin-bottom: .5rem; background: rgba(6, 15, 28, .55); font-size: var(--schrift-xs); color: var(--text-hell-sanft); }
.zeile b { color: #fff; font-weight: 600; }
.zeile__marke { width: 7px; height: 7px; border-radius: 50%; background: var(--hellblau); flex: none; box-shadow: 0 0 10px var(--hellblau); }
.zeile__wert { margin-left: auto; font-family: var(--font-display); color: var(--hellblau); }
.saeulen { display: flex; align-items: flex-end; gap: 6px; height: 74px; margin: .3rem 0 .8rem; }
.saeulen i { flex: 1; background: linear-gradient(var(--hellblau), rgba(42, 108, 238, .35)); border-radius: 3px 3px 0 0; opacity: .75; }
.beleg { border: 1px solid var(--linie-dunkel); border-radius: 8px; padding: .8rem; background: rgba(6, 15, 28, .55); }
.beleg i { display: block; height: 5px; border-radius: 3px; background: var(--text-hell); opacity: .18; margin-bottom: .45rem; }
.beleg i:first-child { width: 46%; opacity: .4; background: var(--hellblau); }
.beleg i:nth-child(4) { width: 72%; }
.beleg i:last-child { width: 34%; margin-bottom: 0; }
.unterschrift { margin-top: .7rem; }
.unterschrift path { stroke: var(--tuerkis); stroke-width: 2; fill: none; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; }
.stufe.ist-an .unterschrift path { animation: zeichnen 1.4s ease forwards; }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .stufe.ist-an .unterschrift path { animation: none; stroke-dashoffset: 0; } }
.vorgang__log { border-top: 1px solid var(--linie-dunkel); padding: .9rem 1.3rem 1.1rem; display: grid; gap: .45rem; }
.vorgang__log li { list-style: none; display: flex; gap: .6rem; align-items: center; font-size: var(--schrift-xs); color: var(--text-hell-leise); opacity: .28; transition: opacity .4s ease, color .4s ease; }
.vorgang__log li.ist-an { opacity: 1; color: var(--text-hell-sanft); }
.vorgang__log time { font-family: var(--font-display); color: var(--hellblau); opacity: .8; }

/* ===== Baukasten: Bausteine wählen, Anfrage entsteht ===== */
.baukasten { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .7rem; margin: 1.6rem 0 0; }
.baustein { position: relative; cursor: pointer; }
.baustein input { position: absolute; opacity: 0; width: 0; height: 0; }
.baustein__feld {
  display: grid; gap: .35rem; padding: 1rem 1.1rem; height: 100%;
  border: 1px solid var(--linie-dunkel); border-radius: var(--radius-sm);
  background: rgba(6, 15, 28, .55); transition: border-color var(--tempo), background var(--tempo), transform var(--tempo);
}
.baustein:hover .baustein__feld { border-color: var(--linie-dunkel-hell); transform: translateY(-2px); }
.baustein input:focus-visible + .baustein__feld { outline: 2px solid var(--hellblau); outline-offset: 2px; }
.baustein input:checked + .baustein__feld { border-color: var(--hellblau); background: rgba(42, 108, 238, .14); }
.baustein__name { font-family: var(--font-display); font-weight: 600; font-size: var(--schrift-sm); color: var(--text-hell); display: flex; align-items: center; gap: .5rem; }
.baustein__name::before {
  content: ""; width: 16px; height: 16px; border-radius: 5px; flex: none;
  border: 1px solid var(--linie-dunkel-hell); background: transparent; transition: background var(--tempo), border-color var(--tempo);
}
.baustein input:checked + .baustein__feld .baustein__name::before {
  background: var(--hellblau) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 4.8 8.5 9.5 3.8' fill='none' stroke='%23060F1C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
  border-color: var(--hellblau);
}
.baustein__text { font-size: var(--schrift-xs); color: var(--text-hell-leise); padding-left: calc(16px + .5rem); }
.baukasten__stand { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.2rem; font-size: var(--schrift-sm); color: var(--text-hell-sanft); }
.baukasten__zahl { font-family: var(--font-display); color: var(--hellblau); font-weight: 600; }

/* ===== Einwilligung zur Reichweitenmessung ===== */
.einwilligung {
  position: fixed; left: 50%; bottom: clamp(1rem, 3vw, 2rem); z-index: 120;
  width: min(680px, calc(100% - 2rem)); transform: translate(-50%, 24px); opacity: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; justify-content: space-between;
  padding: 1.15rem 1.4rem; border-radius: var(--radius);
  background: rgba(10, 23, 40, .96); backdrop-filter: blur(14px);
  border: 1px solid var(--linie-dunkel-hell); box-shadow: var(--schatten);
  transition: opacity var(--tempo), transform var(--tempo);
}
.einwilligung.ist-da { opacity: 1; transform: translate(-50%, 0); }
.einwilligung__text { flex: 1 1 320px; font-size: var(--schrift-sm); color: var(--text-hell-sanft); }
.einwilligung__text strong { color: #fff; }
.einwilligung__text a { color: var(--hellblau); }
.einwilligung__knoepfe { display: flex; gap: .6rem; flex-wrap: wrap; }
.einwilligung .knopf { padding: .7rem 1.3rem; font-size: var(--schrift-xs); }
@media (max-width: 560px) { .einwilligung { flex-direction: column; align-items: stretch; } .einwilligung__knoepfe { justify-content: stretch; } .einwilligung .knopf { flex: 1; } }

/* ===== Brotkrumen ===== */
.brotkrumen { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: var(--schrift-xs); color: var(--text-hell-leise); margin-bottom: 1.4rem; }
.brotkrumen a { color: var(--text-hell-sanft); text-decoration: none; }
.brotkrumen a:hover { color: var(--hellblau); }

/* ===== Fragen und Antworten ===== */
.fragen { display: grid; gap: .7rem; }
.frage { border: 1px solid var(--linie-dunkel); border-radius: var(--radius-sm); background: var(--glas); overflow: hidden; transition: border-color var(--tempo); }
.frage[open] { border-color: var(--linie-dunkel-hell); }
.frage summary {
  cursor: pointer; list-style: none; padding: 1.05rem 3rem 1.05rem 1.25rem; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: var(--schrift-md); color: var(--text-hell);
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after {
  content: ""; position: absolute; right: 1.25rem; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--hellblau); border-bottom: 2px solid var(--hellblau);
  transform: translateY(-70%) rotate(45deg); transition: transform var(--tempo);
}
.frage[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.frage p { margin: 0; padding: 0 1.25rem 1.15rem; color: var(--text-hell-sanft); font-size: var(--schrift-sm); max-width: 68ch; }

/* Karten, die ganz verlinkt sind */
a.karte h3 { color: #fff; }
a.karte .pfeil-link { margin-top: auto; padding-top: .4rem; }

/* ===== Produktansicht als geneigte Glaskarte ===============================
   Der Designstandard verlangt, Produkte räumlich zu zeigen. Wo kein Telefon
   sinnvoll ist, steht der Bildschirmausschnitt als leicht geneigte Glasfläche
   mit diagonaler Lichtkante und weichem Bodenschatten. */
.tafel__bild {
  position: relative; perspective: 1800px; perspective-origin: 50% 40%;
  border: 0; background: transparent; overflow: visible; margin-top: 1.8rem;
}
.tafel__bild svg {
  display: block; border-radius: 14px; border: 1px solid var(--linie-dunkel-hell);
  transform: rotateX(9deg) rotateY(-6deg) scale(.97);
  transform-origin: 50% 80%;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: transform var(--tempo-lang), box-shadow var(--tempo-lang);
}
/* Der Glanz liegt auf derselben Ebene wie die Fläche und läuft zur Kante aus —
   sonst zeichnet er eine zweite Kontur. */
.tafel__bild::after {
  content: ""; position: absolute; inset: 0; border-radius: 14px; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .02) 24%, transparent 48%);
  transform: rotateX(9deg) rotateY(-6deg) scale(.97); transform-origin: 50% 80%;
  -webkit-mask-image: radial-gradient(120% 120% at 20% 0%, #000 40%, transparent 78%);
  mask-image: radial-gradient(120% 120% at 20% 0%, #000 40%, transparent 78%);
}
.tafel:hover .tafel__bild svg { transform: rotateX(4deg) rotateY(-2deg) scale(.99); }
@media (prefers-reduced-motion: reduce) {
  .tafel__bild svg, .tafel__bild::after { transform: none; }
}

/* Die Oberflächen auf der Markenseite räumlich zeigen — gleiche Handschrift. */
.leistung__bild svg[viewBox^="0 0 660"] {
  border-radius: 14px; border: 1px solid var(--linie-dunkel-hell);
  transform: rotateX(8deg) rotateY(-5deg) scale(.98); transform-origin: 50% 80%;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.leistung__bild { perspective: 1800px; }

/* Showreel in der Bühne (08.11.2026) */
.buehne__bild--film { display: grid; justify-items: center; }
.showreel { position: relative; width: min(100%, 440px); aspect-ratio: 4 / 5; margin: 0; padding: 8px; border-radius: 30px; overflow: hidden;
  background: linear-gradient(150deg, rgba(123,205,254,.16), rgba(123,205,254,.03) 45%, rgba(42,108,238,.12));
  box-shadow: inset 0 0 0 1px rgba(123,205,254,.22), 0 40px 90px -40px rgba(42,108,238,.55), 0 20px 50px -30px rgba(0,0,0,.6); }
.showreel__film { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 23px; background: #060F1C; }
@media (max-width: 980px) {
  .buehne__bild--film { order: 0; max-width: 380px; margin-top: .5rem; }
}

/* ---- glanz.css ---- */
/* ==========================================================================
   MIRSYON — Preisdarstellung, Bewegung und Berührungsrückmeldung
   Ergänzt site.css. Alle Effekte sind selbst geschrieben (kein Fremdcode),
   damit die Sicherheitsrichtlinie streng bleiben kann.
   Grundsatz aus dem Designstandard: Bedienbarkeit vor Schauwert — jede
   Bewegung hier dauert 150–260 ms und verstummt bei „Bewegung reduzieren“.
   ========================================================================== */

/* --------------------------------------------------------------- Preise */
.preisfeld {
  display: grid;
  gap: .2rem;
  padding: 1.1rem 1.3rem;
  border-radius: 14px;
  background: var(--glas);
  border: 1px solid var(--linie-dunkel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
  font-feature-settings: "tnum";
}
.preisfeld__wort {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--hellblau); opacity: .85;
}
.preisfeld__wert {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.6rem, 3.6vw, 2.1rem); font-weight: 600;
  letter-spacing: -.03em; line-height: 1.05; color: var(--text-hell);
}
.preisfeld__fuss { font-size: .78rem; color: var(--text-hell-leise); line-height: 1.5; }

.insel .preisfeld, .block--hell .preisfeld {
  background: var(--insel-rein); border-color: var(--linie);
  box-shadow: 0 10px 28px -18px rgba(18, 47, 76, .3);
}
.insel .preisfeld__wort, .block--hell .preisfeld__wort { color: var(--akzent-text); opacity: 1; }
.insel .preisfeld__wert, .block--hell .preisfeld__wert { color: var(--navy); }
.insel .preisfeld__fuss, .block--hell .preisfeld__fuss { color: var(--text-leise, #5A7085); }

.preistafel { display: grid; gap: .55rem; }
.preiszeile {
  display: grid;
  grid-template-columns: 1fr auto 1.4rem;
  align-items: center; gap: 1.2rem;
  padding: 1.15rem 1.4rem;
  border-radius: 16px;
  background: var(--glas);
  border: 1px solid var(--linie-dunkel);
  text-decoration: none; color: inherit;
  font-feature-settings: "tnum";
  position: relative; overflow: hidden;
  transition: transform .22s cubic-bezier(.22,.8,.3,1),
              border-color .22s ease, background .22s ease;
}
.preiszeile__name { font-weight: 600; color: var(--text-hell); display: grid; gap: .18rem; }
.preiszeile__unter { font-weight: 400; font-size: .82rem; color: var(--text-hell-leise); }
.preiszeile__wert {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem); font-weight: 600;
  letter-spacing: -.02em; white-space: nowrap; color: var(--hellblau);
}
.preiszeile__pfeil { color: var(--hellblau); opacity: .55; transition: transform .22s ease, opacity .22s ease; }
.preiszeile--still { opacity: .78; }

@media (hover: hover) {
  .preiszeile:hover {
    transform: translateY(-2px);
    border-color: var(--linie-dunkel-hell);
    background: var(--glas-stark);
  }
  .preiszeile:hover .preiszeile__pfeil { transform: translateX(3px); opacity: 1; }
}
/* Berührung: sofortige, spürbare Rückmeldung statt verzögertem Hover */
.preiszeile:active { transform: scale(.985); background: var(--glas-stark); }

/* ------------------------------------------------- Lichtstrahl am Rand
   (Magic-UI-„Border Beam“, hier als reine CSS-Maske nachgebaut)          */
.strahlrand { position: relative; isolation: isolate; }
.strahlrand::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  padding: 1px; pointer-events: none; z-index: 1;
  background: conic-gradient(from var(--winkel, 0deg),
              transparent 0 62%, var(--hellblau) 76%, var(--akzent) 86%, transparent 94% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s ease;
  animation: randlauf 6s linear infinite;
}
.strahlrand:hover::after, .strahlrand:focus-within::after { opacity: .9; }
@property --winkel { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes randlauf { to { --winkel: 360deg; } }

/* ------------------------------------------------------- Punkteraster
   (Magic-UI-„Dot Pattern“) — gibt leeren Flächen Textur, kostet nichts. */
.punktgrund { position: relative; }
.punktgrund::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(123, 205, 254, .16) 1px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 35%, transparent 78%);
}
.punktgrund > * { position: relative; z-index: 1; }

/* --------------------------------------------------- Signal auf der Linie
   (Magic-UI-„Animated Beam“) — ein Lichtpunkt wandert eine Verbindung ab. */
.signalbahn { position: relative; overflow: hidden; }
.signalbahn::after {
  content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(123, 205, 254, .5), transparent);
  animation: bahnlauf 2.8s ease-in-out infinite;
}
@keyframes bahnlauf { to { left: 110%; } }

/* ------------------------------------------------- Berührungsrückmeldung
   Mobil wird jede Fläche beim Antippen kurz kleiner — das ist die
   Rückmeldung, die am Telefon sonst fehlt (kein Hover vorhanden).        */
.knopf, .karte, .schild, .reiter, .nav__link, .pfeil-link, .preiszeile {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.knopf { transition: transform .18s cubic-bezier(.22,.8,.3,1), box-shadow .22s ease, background .22s ease; }
.knopf:active { transform: scale(.96); }
.karte { transition: transform .24s cubic-bezier(.22,.8,.3,1), border-color .24s ease, background .24s ease; }
.karte:active { transform: scale(.99); }
.schild:active, .reiter:active { transform: scale(.96); }
.nav__link:active { opacity: .7; }

/* Welle unter dem Finger — nur bei Berührung, nicht bei der Maus */
@media (hover: none) {
  .knopf--voll { position: relative; overflow: hidden; }
  .knopf--voll::after {
    content: ""; position: absolute; left: var(--tx, 50%); top: var(--ty, 50%);
    width: 0; height: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .34);
    transform: translate(-50%, -50%); pointer-events: none;
  }
  .knopf--voll.welle::after { animation: welle .5s ease-out; }
  @keyframes welle {
    from { width: 0; height: 0; opacity: .6; }
    to   { width: 260%; height: 260%; opacity: 0; }
  }
}

/* ------------------------------------------------------- Menü auf Mobil
   Der Schalter ist schon ein Kreuz, wenn das Menü offen ist (base.css).
   Hier kommt die Bewegung dazu: beim Öffnen laufen die Punkte nacheinander
   ein, beim Schließen fährt das Menü sichtbar zusammen, und das Kreuz
   dreht sich auf dem Weg zurück zu den drei Strichen.                     */
.nav-schalter { transition: transform .2s cubic-bezier(.3,.9,.3,1.2), border-color .2s ease; }
.nav-schalter:active { transform: scale(.9); }
.nav-schalter[aria-expanded="true"] { border-color: var(--hellblau); }
.nav-schalter__balken,
.nav-schalter__balken::before,
.nav-schalter__balken::after {
  transition: transform .3s cubic-bezier(.3,.9,.3,1.15), opacity .18s ease, background .18s ease;
}

@media (max-width: 1100px) {
  /* Menüpunkte laufen beim Öffnen gestaffelt ein */
  .nav.ist-offen .nav__liste > li,
  .nav.ist-offen > .knopf,
  .nav.ist-offen .sprachwahl {
    animation: punkt-ein .36s cubic-bezier(.22,.9,.3,1) backwards;
  }
  .nav.ist-offen .nav__liste > li:nth-child(1) { animation-delay: .04s; }
  .nav.ist-offen .nav__liste > li:nth-child(2) { animation-delay: .08s; }
  .nav.ist-offen .nav__liste > li:nth-child(3) { animation-delay: .12s; }
  .nav.ist-offen .nav__liste > li:nth-child(4) { animation-delay: .16s; }
  .nav.ist-offen .nav__liste > li:nth-child(5) { animation-delay: .20s; }
  .nav.ist-offen .sprachwahl { animation-delay: .24s; }
  .nav.ist-offen > .knopf    { animation-delay: .28s; }
  @keyframes punkt-ein {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
  }

  /* Schließen: zusammenfahren statt wegblenden */
  .nav.schliesst {
    opacity: 0; visibility: visible; pointer-events: none;
    transform: translateY(-12px) scale(.985);
    transition: opacity .24s ease, transform .26s cubic-bezier(.4,0,.6,1);
  }
  .nav.schliesst .nav__liste > li { animation: none; }
}

/* ------------------------------------------------------------ Rücksicht */
@media (prefers-reduced-motion: reduce) {
  .strahlrand::after, .signalbahn::after,
  .nav.ist-offen .nav__liste > li, .knopf--voll.welle::after { animation: none !important; }
  .preiszeile, .knopf, .karte, .nav { transition: none !important; }
  .preiszeile:active, .knopf:active, .karte:active, .schild:active, .reiter:active { transform: none; }
}

/* ----------------------------------------------- Nachbesserungen 16.10.
   Das Verlaufswort gab es bisher nur auf der Bühne; es gehört überall hin,
   wo genau EIN Wort betont wird (Designstandard, Abschnitt Typografie).  */
.glanz {
  background: linear-gradient(96deg, var(--hellblau) 6%, #fff 42%, var(--akzent) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.insel .glanz, .block--hell .glanz {
  background: linear-gradient(96deg, var(--akzent-600) 4%, var(--akzent) 48%, var(--hellblau) 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Menüpunkte brechen nicht mehr mitten im Wort um */
.nav__link { white-space: nowrap; }
@media (max-width: 1100px) { .nav__link { white-space: normal; } }

/* Ankersprünge landen unter der Kopfleiste, nicht dahinter */
[id] { scroll-margin-top: 96px; }

/* Preis in einer Karte: deutlich, aber nicht geschrien */
.karte .preisfeld__wert {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: var(--hellblau);
}
.insel .karte .preisfeld__wert, .block--hell .karte .preisfeld__wert { color: var(--akzent-text); }


/* ------------------------------- Einwilligung vor dem Assistenten
   Der Chat-Knopf (z-index 130) lag über dem Einwilligungsbanner (120) und
   fing dessen Klicks ab: Auf schmalen Geräten war „Zustimmen" nicht zu
   treffen. Das Banner gehört nach vorn, der Chat-Knopf weicht aus.       */
.einwilligung { z-index: 200 !important; }
/* Solange das Banner steht, weicht der Chat-Knopf nach oben aus — sonst liegt
   das Banner darüber und „Fragen?" ist nicht zu treffen. */
/* Der Versatz steht als Variable, damit das Chatfenster seine Höhe darum
   kürzen kann — sonst schiebt sich seine Kopfzeile aus dem Bild. */
body.einwilligung-offen { --assi-versatz: 96px; }
@media (max-width: 620px) {
  body.einwilligung-offen { --assi-versatz: 168px; }
}
body.einwilligung-offen .assi { transform: translateY(calc(-1 * var(--assi-versatz, 0px))); }
.assi { transition: transform .3s cubic-bezier(.22,.8,.3,1); }
@media (prefers-reduced-motion: reduce) { .assi { transition: none; } }


/* ------------------------- Einwilligung auf schmalen Geräten
   Das Banner war am Telefon 415 px hoch und deckte die halbe Seite zu.
   Jetzt: kleinere Schrift, engere Zeilen, Knöpfe nebeneinander — und es
   bleibt unterhalb der Kopfleiste, damit das Menü erreichbar bleibt.     */
@media (max-width: 620px) {
  .einwilligung {
    bottom: .75rem; width: calc(100% - 1.5rem);
    max-height: calc(100vh - 7.5rem); overflow-y: auto;
    padding: .9rem 1rem; gap: .7rem 1rem;
    border-radius: 16px;
  }
  .einwilligung__text { font-size: .8rem; line-height: 1.45; flex: 1 1 100%; }
  .einwilligung__knoepfe { width: 100%; justify-content: flex-end; }
  .einwilligung__knoepfe .knopf { padding: .6rem 1.1rem; font-size: .82rem; }
}

/* ------------------------- Sichere Ränder (iOS, viewport-fit=cover)
   Seit 05.11.2026 steht viewport-fit=cover im Kopf (Pflicht für alle Apps).
   Damit reicht die Seite unter Notch und Home-Balken; Inhalt und feste
   Leisten halten mit env(safe-area-inset-*) Abstand. Ohne Notch ist env() 0. */
.huelle {
  padding-left:  max(var(--rand), env(safe-area-inset-left, 0px));
  padding-right: max(var(--rand), env(safe-area-inset-right, 0px));
}
.einwilligung { bottom: calc(clamp(1rem, 3vw, 2rem) + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 620px) {
  .einwilligung { bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); }
}

/* ------------------------- Kontaktseite am Handy (Chef 07.11.2026)
   Zu viel Scrollen bis zum Formular, und der Cookie-Hinweis lag über der
   Themenwahl: Ein Tipp auf "Portal oder App" traf den Datenschutz-Link im
   Hinweis und öffnete eine neue Seite. Jetzt ist der Kopf kurz, das Formular
   beginnt im ersten Bild, und solange der Hinweis offen ist, lässt sich der
   Inhalt über ihn hinaus nach oben schieben. */
@media (max-width: 620px) {
  body:has(#kontaktformular) .seitenkopf { padding-block: calc(5.25rem + env(safe-area-inset-top, 0px)) .5rem; }
  body:has(#kontaktformular) .seitenkopf h1 { font-size: clamp(1.75rem, 8vw, 2.2rem); }
  body:has(#kontaktformular) .seitenkopf .blei { display: none; }
  body:has(#kontaktformular) .seitenkopf + .block { padding-top: 1rem; }
  .kontakt-raster > div > h2 { display: none; }
  body.einwilligung-offen { padding-bottom: 14rem; }
  .einwilligung__text { font-size: .76rem; line-height: 1.4; }
}

/* ---- Startseite: Bento statt Langtext (Chef 07.11.2026) ---- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto); gap: clamp(.9rem, 1.6vw, 1.4rem); grid-auto-flow: row dense; }
.bento__kachel { display: flex; flex-direction: column; gap: .7rem; padding: clamp(1.3rem, 2.2vw, 1.8rem); border-radius: var(--radius-xl); text-decoration: none; color: var(--text-hell); min-width: 0; overflow: hidden; transition: transform var(--tempo), border-color var(--tempo); }
.bento__kachel:hover { transform: translateY(-3px); }
.bento__kachel--gross { grid-column: span 2; grid-row: span 2; }
.bento__kachel--breit { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: clamp(1.2rem, 3vw, 2.6rem); }
.bento__kachel--breit .bento__zahl { margin: 0; white-space: nowrap; }
.bento__marke { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--hellblau); margin: 0; }
.bento__kachel h3 { font-family: var(--font-display); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.3; margin: 0; text-wrap: balance; }
.bento__kachel--gross h3 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); }
.bento__preis, .bento__zahl { margin: auto 0 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2rem); font-variant-numeric: tabular-nums; color: #fff; }
.bento__zahl small { font-size: .6em; margin-right: .35em; }
.bento__bild { flex: 1; min-height: 160px; display: grid; place-items: center; opacity: .95; }
.bento__bild svg { max-height: 260px; width: auto; }
/* Mikroanimationen */
.bento__puls { margin-top: auto; display: flex; gap: .5rem; }
.bento__puls i { width: .7rem; height: .7rem; border-radius: 50%; background: var(--hellblau); opacity: .35; animation: bento-puls 2.4s ease-in-out infinite; }
.bento__puls i:nth-child(2) { animation-delay: .4s; } .bento__puls i:nth-child(3) { animation-delay: .8s; }
@keyframes bento-puls { 0%, 100% { opacity: .25; transform: scale(.85); } 40% { opacity: 1; transform: scale(1.15); } }
.bento__fluss { margin-top: auto; height: 3px; border-radius: 3px; background: rgba(123, 205, 254, .15); overflow: hidden; }
.bento__fluss i { display: block; width: 35%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, transparent, var(--hellblau), transparent); animation: bento-fluss 2.6s linear infinite; }
@keyframes bento-fluss { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__kachel--gross, .bento__kachel--breit { grid-column: span 2; }
  .bento__kachel--gross { grid-row: auto; }
  .bento__kachel--breit { display: flex; align-items: stretch; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento__kachel--gross, .bento__kachel--breit { grid-column: auto; }
  .bento__bild { min-height: 120px; }
}
.laufband--systeme { margin-top: .4rem; }
.laufband--systeme .laufband__spur { animation-duration: 60s; }
.laufband--systeme:focus-within .laufband__spur, .laufband--systeme:active .laufband__spur { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .bento__puls i, .bento__fluss i { animation: none; opacity: .7; } .bento__kachel:hover { transform: none; } }

/* ---- raum.css ---- */
/* ==========================================================================
   MIRSYON — Raum und Bewegung (Magic-UI-Muster, selbst geschrieben)
   Chef 16.10.2026: „etwas mehr 3D-Animation schadet nicht."
   Alle Effekte: eigener Code, keine Fremdbibliothek — die Sicherheits-
   richtlinie bleibt streng, und die Seite lädt nichts nach.
   Jede Bewegung endet bei „Bewegung reduzieren".
   ========================================================================== */

/* ------------------------------------------------- 1 · Karte im Raum
   (Magic UI „3D Card") — die Karte neigt sich zum Zeiger, der Inhalt hebt
   sich dabei leicht ab. Auf Berührungsgeräten passiert nichts: dort gibt es
   keinen Zeiger, und eine zufällige Neigung wäre nur Unruhe.              */
.raumkarte {
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.22,.8,.3,1), box-shadow .4s ease;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .raumfeld { perspective: 1400px; }
  .raumkarte.neigt {
    transform: rotateX(var(--kx, 0deg)) rotateY(var(--ky, 0deg)) translateZ(0);
    transition: transform .09s linear, box-shadow .4s ease;
    box-shadow: 0 34px 70px -34px rgba(0,0,0,.62), 0 0 0 1px var(--linie-dunkel-hell);
  }
  .raumkarte.neigt > * { transform: translateZ(26px); }
  .raumkarte > * { transition: transform .4s cubic-bezier(.22,.8,.3,1); }
}

/* ------------------------------------------------- 2 · Licht am Zeiger
   (Magic UI „Spotlight") — ein weicher Schein folgt dem Zeiger über der
   Karte und macht sichtbar, worauf man gerade zeigt.                      */
.schein-feld { position: relative; overflow: hidden; isolation: isolate; }
.schein-feld::before {
  content: ""; position: absolute; inset: -40%;
  background: radial-gradient(420px circle at var(--zx, 50%) var(--zy, 50%),
              rgba(123,205,254,.16), transparent 62%);
  opacity: 0; transition: opacity .3s ease; pointer-events: none; z-index: 0;
}
.schein-feld:hover::before, .schein-feld:focus-within::before { opacity: 1; }
.schein-feld > * { position: relative; z-index: 1; }

/* ------------------------------------------------- 3 · Kreisende Punkte
   (Magic UI „Orbiting Circles") — zeigt, dass alles um eine Mitte läuft.  */
.umlauf { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.umlauf__mitte { position: relative; z-index: 2; }
.umlauf__bahn {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed rgba(123,205,254,.16);
  animation: kreisen var(--dauer, 26s) linear infinite;
}
.umlauf__bahn--innen { inset: 22%; animation-duration: var(--dauer-innen, 18s); animation-direction: reverse; }
.umlauf__punkt {
  position: absolute; top: -9px; left: calc(50% - 9px);
  width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(140deg, var(--hellblau), var(--akzent));
  box-shadow: 0 0 18px rgba(123,205,254,.5);
  animation: kreisen var(--dauer, 26s) linear infinite reverse;
}
.umlauf__punkt:nth-child(2) { top: calc(50% - 9px); left: auto; right: -9px; }
.umlauf__punkt:nth-child(3) { top: auto; bottom: -9px; left: calc(50% - 9px); }
.umlauf__punkt:nth-child(4) { top: calc(50% - 9px); left: -9px; }
@keyframes kreisen { to { transform: rotate(360deg); } }

/* ------------------------------------------------- 4 · Gitter in der Tiefe
   (Magic UI „Retro Grid") — ein Raster, das nach hinten wegläuft.         */
.tiefengitter { position: relative; overflow: hidden; }
.tiefengitter::after {
  content: ""; position: absolute; left: -50%; right: -50%; bottom: -18%; height: 62%;
  background-image:
    linear-gradient(to right, rgba(123,205,254,.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(123,205,254,.12) 1px, transparent 1px);
  background-size: 62px 62px;
  transform: perspective(360px) rotateX(62deg);
  transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to top, #000 4%, transparent 82%);
  mask-image: linear-gradient(to top, #000 4%, transparent 82%);
  animation: gitterlauf 22s linear infinite;
  pointer-events: none; z-index: 0;
}
@keyframes gitterlauf { to { background-position: 0 62px; } }
.tiefengitter > * { position: relative; z-index: 1; }

/* ------------------------------------------------- 5 · Zahl, die zählt
   (Magic UI „Number Ticker") — vorhandene Zähler bekommen Tiefe.          */
.zahlen__wert { font-feature-settings: "tnum"; }
.zahlen__feld { transition: transform .4s cubic-bezier(.22,.8,.3,1); }
@media (hover: hover) { .zahlen__feld:hover { transform: translateY(-3px); } }

/* ------------------------------------------------- 6 · Telefon als Körper
   Designstandard Punkt 4: kein flaches Rahmenbild, sondern fünf Schichten
   Material, geneigt im Raum, mit echter Ansicht auf dem Bildschirm.       */
.geraet-feld { perspective: 1600px; display: grid; place-items: center; padding: 1rem 0 2.5rem; }
.geraet {
  position: relative; width: min(232px, 58vw); aspect-ratio: 9 / 19.3;
  transform: rotateY(-19deg) rotateX(7deg) rotateZ(1.5deg);
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.22,.8,.3,1);
  animation: geraet-schweben 9s ease-in-out infinite;
}
@media (hover: hover) { .geraet-feld:hover .geraet { transform: rotateY(-9deg) rotateX(3deg); } }
.geraet__koerper {
  position: absolute; inset: 0; border-radius: 13%/6.4%;
  background: linear-gradient(145deg, #2b3a4e 0%, #0d1726 26%, #16243a 52%, #091320 78%, #243246 100%);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.8),
              0 0 0 1px rgba(255,255,255,.07),
              inset 0 0 0 1.5px rgba(255,255,255,.05);
}
.geraet__kante {                                   /* Gehäusedicke */
  position: absolute; inset: 0; border-radius: 13%/6.4%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.05);
  transform: translateZ(-7px);
  background: #060d16;
}
.geraet__schirm {
  position: absolute; inset: 2.4%; border-radius: 11%/5.4%; overflow: hidden;
  background: var(--tiefe-000); transform: translateZ(2px);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.6);
}
.geraet__schirm img, .geraet__schirm svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.geraet__insel {
  position: absolute; top: 2.6%; left: 50%; transform: translateX(-50%) translateZ(4px);
  width: 30%; height: 2.6%; border-radius: 999px; background: #04080f;
}
.geraet__glanz {
  position: absolute; inset: 2.4%; border-radius: 11%/5.4%; pointer-events: none;
  transform: translateZ(3px);
  background: linear-gradient(118deg, rgba(255,255,255,.17) 0 16%, transparent 34% 100%);
  -webkit-mask-image: linear-gradient(118deg, #000 0 30%, transparent 56%);
  mask-image: linear-gradient(118deg, #000 0 30%, transparent 56%);
}
.geraet__taste {
  position: absolute; right: -2px; width: 2.5px; border-radius: 2px;
  background: linear-gradient(180deg, #33415a, #16202f);
  transform: translateZ(-2px);
}
.geraet__taste--an  { top: 22%; height: 9%; }
.geraet__taste--lauter { left: -2px; right: auto; top: 16%; height: 6%; }
.geraet__taste--leiser { left: -2px; right: auto; top: 24%; height: 6%; }
.geraet__boden {
  position: absolute; left: 8%; right: 8%; bottom: -7%; height: 10%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.6), transparent 70%);
  filter: blur(14px); transform: translateZ(-20px);
}
@keyframes geraet-schweben {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -12px; }
}

/* ------------------------------------------------------------ Rücksicht */
@media (prefers-reduced-motion: reduce) {
  .umlauf__bahn, .umlauf__punkt, .tiefengitter::after, .geraet { animation: none !important; }
  .raumkarte, .raumkarte > *, .zahlen__feld, .geraet { transition: none !important; }
  .raumkarte.neigt { transform: none !important; }
}


/* Bildunterschrift unter einer Abbildung — schlicht, ohne Zierlinie */
.bildtext {
  text-align: center; max-width: 34ch; margin: -.4rem auto 0;
  font-size: var(--schrift-xs); color: var(--text-hell-leise); line-height: 1.5;
}
.insel .bildtext, .block--hell .bildtext { color: #93A6B8; }

/* ---- assistent.css ---- */
/* MIRSYON — Assistent (Chatfenster) */
/* display-Angaben dürfen hidden nicht aushebeln */
.assi [hidden] { display: none !important; }
.assi { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 130;
  display: flex; flex-direction: column; align-items: flex-end; gap: .8rem;
  /* Der Container ist so hoch wie das Chatfenster — auch wenn dieses zugeklappt
     ist, denn visibility:hidden lässt den Platz stehen. Ohne diese Zeile fing
     eine unsichtbare Fläche von 390 × 560 px alle Klicks ab und machte am
     Telefon den Menü-Schalter und halbe Seiten unbedienbar. */
  pointer-events: none; }
.assi__knopf, .assi.ist-offen .assi__fenster { pointer-events: auto; }

.assi__knopf {
  display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; border: 0;
  padding: .95rem 1.4rem; border-radius: 999px; font-family: var(--font-display);
  font-size: var(--schrift-sm); font-weight: 600; color: #fff;
  background: linear-gradient(120deg, var(--akzent), #4E8BFF);
  box-shadow: 0 16px 38px -14px rgba(42, 108, 238, .95);
  transition: transform var(--tempo), box-shadow var(--tempo);
}
.assi__knopf:hover { transform: translateY(-2px); box-shadow: 0 22px 46px -16px rgba(42, 108, 238, 1); }
.assi__knopf svg { width: 18px; height: 18px; }
.assi.ist-offen .assi__knopf { transform: scale(.94); opacity: .9; }

.assi__fenster {
  width: min(390px, calc(100vw - 2rem)); height: min(560px, calc(100vh - 8rem));
  display: flex; flex-direction: column; overflow: hidden;
  background: rgba(10, 23, 40, .97); backdrop-filter: blur(18px);
  border: 1px solid var(--linie-dunkel-hell); border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.98);
  transition: opacity var(--tempo), transform var(--tempo), visibility var(--tempo);
}
.assi.ist-offen .assi__fenster { opacity: 1; visibility: visible; transform: none; }

.assi__kopf { display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--linie-dunkel); }
.assi__kopf svg.zeichen { width: 28px; height: 28px; flex: none; color: var(--hellblau); }
.assi__kopf .akzent { fill: var(--akzent); }
.assi__titel { font-family: var(--font-display); font-weight: 600; font-size: var(--schrift-sm); color: #fff; }
.assi__unter { font-size: var(--schrift-xs); color: var(--text-hell-leise); margin-top: .1rem; }
.assi__zu { margin-left: auto; background: transparent; border: 0; cursor: pointer; color: var(--text-hell-sanft);
  font-size: 1.3rem; line-height: 1; padding: .2rem .4rem; border-radius: 8px; }
.assi__zu:hover { color: #fff; background: var(--glas); }

.assi__chat { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.assi__liste { flex: 1; overflow-y: auto; padding: 1.1rem; display: flex; flex-direction: column; gap: .7rem; }
.assi__blase { max-width: 88%; padding: .75rem .95rem; border-radius: 14px; font-size: var(--schrift-sm); line-height: 1.55; }
.assi__blase p { margin: 0 0 .6em; }
.assi__blase p:last-child { margin: 0; }
.assi__blase--assistent { background: var(--glas-stark); border: 1px solid var(--linie-dunkel);
  color: var(--text-hell-sanft); align-self: flex-start; border-bottom-left-radius: 5px; }
.assi__blase--besucher { background: linear-gradient(120deg, var(--akzent), #4E8BFF); color: #fff;
  align-self: flex-end; border-bottom-right-radius: 5px; }
.assi__tippt { display: flex; gap: 4px; align-items: center; }
.assi__tippt span { width: 6px; height: 6px; border-radius: 50%; background: var(--hellblau);
  animation: assiPunkt 1.2s infinite ease-in-out; }
.assi__tippt span:nth-child(2) { animation-delay: .18s; }
.assi__tippt span:nth-child(3) { animation-delay: .36s; }
@keyframes assiPunkt { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .assi__tippt span { animation: none; opacity: .6; } }

.assi__vorschlaege { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1.1rem .6rem; }
.assi__vorschlag { cursor: pointer; border: 1px solid var(--linie-dunkel); background: var(--glas);
  color: var(--text-hell-sanft); border-radius: 999px; padding: .4rem .8rem; font: inherit;
  font-size: var(--schrift-xs); transition: border-color var(--tempo), color var(--tempo); }
.assi__vorschlag:hover { border-color: var(--hellblau); color: #fff; }

.assi__fuss { border-top: 1px solid var(--linie-dunkel); padding: .8rem 1.1rem 1rem; }
.assi__zeile { display: flex; gap: .6rem; align-items: flex-end; }
.assi__eingabe { flex: 1; resize: none; font: inherit; font-size: var(--schrift-sm); color: var(--text-hell);
  background: rgba(6, 15, 28, .7); border: 1px solid var(--linie-dunkel); border-radius: 12px;
  padding: .7rem .9rem; max-height: 120px; }
.assi__eingabe:focus { outline: none; border-color: var(--hellblau); }
.assi__senden { flex: none; width: 42px; height: 42px; border: 0; border-radius: 12px; cursor: pointer;
  background: linear-gradient(120deg, var(--akzent), #4E8BFF); color: #fff; display: grid; place-items: center; }
.assi__senden svg { width: 17px; height: 17px; }
.assi__anfrage-start { margin-top: .6rem; width: 100%; cursor: pointer; border: 1px solid var(--linie-dunkel-hell);
  background: var(--glas); color: var(--text-hell); border-radius: 10px; padding: .6rem; font: inherit;
  font-size: var(--schrift-xs); font-family: var(--font-display); font-weight: 600; }
.assi__anfrage-start:hover { border-color: var(--hellblau); color: #fff; }
.assi__hinweis { font-size: 10px; color: var(--text-hell-leise); margin-top: .6rem; line-height: 1.5; }
.assi__hinweis a { color: var(--hellblau); }

.assi__formular { padding: 1.1rem; overflow-y: auto; display: grid; gap: .7rem; }
.assi__formular label { font-size: var(--schrift-xs); color: var(--text-hell-sanft); display: grid; gap: .25rem; }
.assi__formular input, .assi__formular textarea { font: inherit; font-size: var(--schrift-sm);
  color: var(--text-hell); background: rgba(6, 15, 28, .7); border: 1px solid var(--linie-dunkel);
  border-radius: 10px; padding: .6rem .8rem; }
.assi__formular input:focus, .assi__formular textarea:focus { outline: none; border-color: var(--hellblau); }
.assi__formular textarea { min-height: 74px; resize: vertical; }
.assi__falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.assi__knoepfe { display: flex; gap: .5rem; margin-top: .3rem; }
.assi__knoepfe button { flex: 1; cursor: pointer; border-radius: 10px; padding: .7rem; font: inherit;
  font-size: var(--schrift-xs); font-family: var(--font-display); font-weight: 600; }
.assi__zurueck { border: 1px solid var(--linie-dunkel); background: transparent; color: var(--text-hell-sanft); }
.assi__absenden { border: 0; background: linear-gradient(120deg, var(--akzent), #4E8BFF); color: #fff; }

@media (max-width: 560px) {
  .assi { right: .75rem; bottom: .75rem; left: .75rem; align-items: stretch; }
  .assi__fenster { width: 100%; height: min(74vh, 560px); }
  .assi__knopf { align-self: flex-end; }
}

/* Der Anfrageknopf tritt hervor, sobald der Assistent abgibt —
   dann ist das Ausfüllen des Protokolls der nächste sinnvolle Schritt. */
.assi__anfrage-start--hervor {
  background: linear-gradient(120deg, var(--akzent), #4E8BFF);
  color: #fff; border-color: transparent;
  box-shadow: 0 10px 26px -10px rgba(42, 108, 238, .9);
  animation: anfrage-wink 1.6s ease-in-out 2;
}
@keyframes anfrage-wink {
  0%, 100% { transform: none; }
  50%      { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) { .assi__anfrage-start--hervor { animation: none; } }

/* Chef 13.11.2026: Mit offener Tastatur zeigt der Chat am Handy das Gespräch, nicht Knöpfe und Hinweise.
   Klasse .tippt setzt chat.js nur beim Tippen im Chat-Eingabefeld (nicht im Anfrageformular). Der Hinweis
   ist vor dem ersten Antippen sichtbar und kommt nach dem Tippen zurück. */
@media (max-width: 560px) {
  .assi.tippt .assi__knopf { display: none; }
  .assi.tippt .assi__anfrage-start { display: none; }
  .assi.tippt .assi__fuss > .assi__hinweis:not(.assi__hinweis--formular) { display: none; }
  .assi.tippt .assi__fuss { padding: .5rem .8rem; }
  .assi.tippt .assi__kopf { padding: .55rem .9rem; }
  .assi.tippt .assi__unter { display: none; }
  .assi.tippt .assi__kopf svg.zeichen { width: 22px; height: 22px; }
}

/* Anfrage-Knopf direkt unter Naomis Antwort (Chef 13.11.2026) */
.assi__inline-anfrage { display: block; margin-top: .8rem; width: 100%; padding: .65rem .9rem; border: 0; border-radius: 12px; cursor: pointer;
  background: linear-gradient(120deg, var(--akzent), #4E8BFF); color: #fff; font: inherit; font-weight: 600; font-size: .9rem;
  box-shadow: 0 10px 26px -12px rgba(42, 108, 238, .9); }
.assi__inline-anfrage:active { transform: scale(.98); }

/* ---- assistent-gross.css ---- */
/* ==========================================================================
   MIRSYON — Chatfenster größer und lesbarer
   Chef 16.10.2026: „Da stehen immer diese Standardfragen, dadurch ist der Chat
   zu klein und man kann nicht genau lesen, was da steht."
   Zwei Eingriffe: mehr Platz fürs Gespräch, und die Vorschläge verschwinden,
   sobald die erste Frage gestellt ist — sie sind eine Starthilfe, kein Möbel.
   ========================================================================== */

.assi__fenster {
  /* Vorher 390 × 560 px. Jetzt so groß, wie der Bildschirm es hergibt.
     Die Obergrenze muss den Knopf darunter und die Abstände mitrechnen —
     sonst wandert die Kopfzeile mit dem Schließen-Knopf aus dem Bild. */
  width: min(460px, calc(100vw - 2rem));
  height: min(680px, calc(100vh - 7rem));
  max-height: calc(100dvh - 12rem - var(--assi-versatz, 0px));
}
@media (min-height: 900px) { .assi__fenster { height: min(760px, calc(100vh - 7rem)); } }

/* Lesbarer: größere Schrift, mehr Zeilenabstand, breitere Blasen */
.assi__blase {
  max-width: 92%;
  font-size: .95rem;
  line-height: 1.65;
  padding: .85rem 1.05rem;
}
.assi__blase--assistent { color: var(--text-hell); }
.assi__chat > .assi__liste { padding: 1.1rem 1.1rem 0; gap: .85rem; }

/* Absätze und Aufzählungen in der Antwort bekommen Luft */
.assi__blase p + p { margin-top: .75em; }
.assi__blase .assi__punkte { margin: .55em 0; display: grid; gap: .35em; }
.assi__blase .assi__punkte > span { display: block; padding-left: .2em; }
.assi__blase strong { color: #fff; font-weight: 600; }

/* Preise und Zahlen in der Antwort hervorheben */
.assi__blase .assi__betrag {
  font-family: var(--font-display); font-weight: 600; color: var(--hellblau);
  font-feature-settings: "tnum"; white-space: nowrap;
}

/* --- Vorschläge: Starthilfe, kein Dauergast ---------------------------- */
.assi__vorschlaege {
  transition: opacity .25s ease, max-height .3s ease, margin .3s ease, padding .3s ease;
  overflow: hidden;
}
.assi.hat-gespraech .assi__vorschlaege {
  opacity: 0; max-height: 0; margin: 0; padding: 0; pointer-events: none;
}
.assi__vorschlag {
  font-size: .82rem; padding: .5rem .9rem;
  text-align: left; line-height: 1.35;
}
.assi__vorschlag:active { transform: scale(.97); }

/* Eingabefeld: am Telefon 16 px, sonst zoomt iOS beim Antippen */
.assi__eingabe { font-size: 16px; }
@media (min-width: 760px) { .assi__eingabe { font-size: .92rem; } }

/* Auf dem Telefon nimmt der Chat fast den ganzen Bildschirm ein */
@media (max-width: 520px) {
  .assi__fenster { width: calc(100vw - 1.2rem); height: min(84vh, 700px);
    max-height: calc(100dvh - 6.5rem - var(--assi-versatz, 0px)); }
  .assi__blase { max-width: 94%; font-size: .94rem; }
}

/* Verweise auf eigene Seiten im Chat — der Besucher soll von der Antwort
   direkt zur Leistungsseite kommen. */
.assi__verweis {
  color: var(--hellblau);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .15em;
  word-break: break-word;
  font-weight: 500;
}
.assi__verweis:hover,
.assi__verweis:focus-visible { color: #fff; }

/* Sichere Ränder (viewport-fit=cover): Knopf und Fenster bleiben über dem
   Home-Balken und neben der Notch. */
.assi {
  bottom: calc(clamp(1rem, 3vw, 2rem) + env(safe-area-inset-bottom, 0px));
  right:  calc(clamp(1rem, 3vw, 2rem) + env(safe-area-inset-right, 0px));
}
@media (max-width: 560px) {
  .assi {
    bottom: calc(.75rem + env(safe-area-inset-bottom, 0px));
    right:  calc(.75rem + env(safe-area-inset-right, 0px));
    left:   calc(.75rem + env(safe-area-inset-left, 0px));
  }
}

/* ==========================================================================
   Chef 15.11.2026: Chat-Text lesbar machen, Anfrage-Knopf kompakt halten.
   - Fenster deckend (vorher 97 % mit Unschärfe: große Überschriften der Seite
     schienen durch die Blasen).
   - Schrift 16 px mit ruhigem Zeilenabstand, Naomis Blase heller abgesetzt.
   - Ein einziger, kompakter Knopf „Anfrage stellen“ unten; die Antworten
     verweisen auf ihn.
   ========================================================================== */
.assi__fenster { background: #08121F; -webkit-backdrop-filter: none; backdrop-filter: none; }
.assi__blase { font-size: 1rem; line-height: 1.6; letter-spacing: .005em; }
.assi__blase--assistent { background: #14253C; border-color: rgba(123, 205, 254, .16); color: #F3F8FC; }
.assi__blase--besucher { color: #fff; }
.assi__blase .assi__betrag { color: #9FDBFF; }
.assi__titel { font-size: 1rem; }
.assi__unter { color: #A9BCD0; }
@media (max-width: 520px) { .assi__blase { font-size: 16px; max-width: 94%; } }

.assi__anfrage-start {
  display: block; width: auto; margin: .55rem auto 0;
  padding: .42rem 1.05rem; border-radius: 999px; min-height: 36px;
  font-size: .85rem; line-height: 1.2; letter-spacing: .01em;
}
.assi__anfrage-start--hervor { box-shadow: 0 8px 20px -10px rgba(42, 108, 238, .9); }
.assi__hinweis { font-size: 11px; color: #93A7BC; }

/* ---- schritte.css ---- */
/* ==========================================================================
   MIRSYON — Schritt-fuer-Schritt-Eingabe (assets/js/schritte.js)
   Dauerregel 05.11.2026: eine Frage je Schritt, Fortschritt sichtbar,
   Zurueck jederzeit, Eingaben bleiben erhalten.
   Ohne JavaScript fehlt die Klasse .ist-schrittweise — dann stehen alle
   Etappen untereinander als normales Formular.
   ========================================================================== */

/* --- Etappen (mit und ohne JavaScript) ---------------------------------- */
fieldset.etappe { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 1.15rem; }
.etappe__frage {
  padding: 0; margin: 0; float: left; width: 100%;   /* float: so ist die legend ein normales Grid-Element */
  font-family: var(--font-display); font-weight: 600; color: var(--text-hell);
  font-size: var(--schrift-h3); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance;
}
.etappe__zusatz {
  display: block; margin-top: .45rem; font-family: var(--font-text); font-weight: 400;
  font-size: var(--schrift-sm); letter-spacing: 0; color: var(--text-hell-leise);
}
.etappe .baukasten { margin-top: 0; }
.etappe .baukasten__stand { margin-top: 0; }

/* Ohne JavaScript: Etappen als Abschnitte untereinander */
.formular:not(.ist-schrittweise) .etappe + .etappe { padding-top: 1.6rem; border-top: 1px solid var(--linie-dunkel); }

/* Themenwahl als Kacheln (Radio statt Auswahlliste — ein Tipp genügt) */
.baukasten--wahl { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.baustein--wahl .baustein__feld { padding: 1.05rem 1.15rem; min-height: 56px; align-content: center; }
.baustein--wahl .baustein__name::before { border-radius: 50%; }
.baustein--wahl input:checked + .baustein__feld .baustein__name::before {
  background: var(--hellblau); border-color: var(--hellblau);
  box-shadow: inset 0 0 0 4px var(--tiefe-100);
}

/* --- Schrittweise (JavaScript aktiv) ------------------------------------ */
.ist-schrittweise [hidden] { display: none !important; }

.schritte__kopf { display: grid; gap: .7rem; margin-bottom: .4rem; scroll-margin-top: 110px; }
.schritte__zeile { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.schritte__stand {
  font-family: var(--font-display); font-size: var(--schrift-xs); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--hellblau);
  font-feature-settings: "tnum"; font-variant-numeric: tabular-nums;
}
.schritte__name { font-size: var(--schrift-xs); color: var(--text-hell-leise); text-align: right; }
.schritte__punkte { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.schritte__punkte li {
  flex: 1; height: 4px; border-radius: 999px; background: rgba(123, 205, 254, .14);
  transition: background .25s ease;
}
.schritte__punkte li.ist-erledigt { background: rgba(123, 205, 254, .62); }
.schritte__punkte li.ist-aktuell { background: linear-gradient(90deg, var(--akzent), var(--hellblau)); }

/* Wechsel: kurz und ruhig, nie dekorativ */
.etappe.kommt-vor     { animation: etappeVor .22s cubic-bezier(.22, .8, .3, 1) both; }
.etappe.kommt-zurueck { animation: etappeZurueck .22s cubic-bezier(.22, .8, .3, 1) both; }
@keyframes etappeVor     { from { opacity: 0; transform: translateX(18px); }  to { opacity: 1; transform: none; } }
@keyframes etappeZurueck { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .etappe.kommt-vor, .etappe.kommt-zurueck { animation: none; } }

/* Leiste: Zurueck links, Weiter/Absenden rechts */
.schritte__leiste { display: flex; align-items: center; gap: .75rem; flex-wrap: nowrap; }
.schritte__leiste .schritte__weiter,
.schritte__leiste .schritte__absenden { margin-left: auto; }
.schritte__leiste button { min-height: 48px; }
.schritte__leiste button:focus-visible { outline: 2px solid var(--hellblau); outline-offset: 3px; }

.schritte__tipp { margin: -.3rem 0 0; font-size: var(--schrift-xs); color: var(--text-hell-leise); text-align: right; }
@media (hover: none), (pointer: coarse) { .schritte__tipp { display: none; } }

/* Pflichtmeldung: eigene Signalfarbe, kein Markenblau */
.schritte__fehler {
  margin: 0; padding: .8rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 138, 128, .38); background: rgba(255, 107, 96, .09);
  color: #FFC9C2; font-size: var(--schrift-sm); line-height: 1.5;
}
.ist-schrittweise [aria-invalid="true"] { border-color: #FF8A80 !important; box-shadow: 0 0 0 3px rgba(255, 138, 128, .16) !important; }

/* Übersicht im letzten Schritt */
.schritte__uebersicht {
  padding: .4rem 1.2rem; border-radius: var(--radius-sm);
  background: var(--glas); border: 1px solid var(--linie-dunkel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.schritte__uebersicht dl { margin: 0; }
.schritte__uebersicht dt {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: .8rem; font-size: var(--schrift-xs); font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-hell-leise);
}
.schritte__uebersicht dd {
  margin: .25rem 0 0; padding-bottom: .8rem; border-bottom: 1px solid var(--linie-dunkel);
  font-size: var(--schrift-sm); color: var(--text-hell); line-height: 1.5;
  overflow-wrap: anywhere; white-space: pre-line;
}
.schritte__uebersicht dd:last-child { border-bottom: 0; }
.schritte__uebersicht dd.ist-leer { color: var(--text-hell-leise); }
.schritte__aendern {
  cursor: pointer; border: 0; background: transparent; color: var(--hellblau);
  font: inherit; font-size: var(--schrift-xs); letter-spacing: 0; text-transform: none; font-weight: 600;
  padding: .55rem .2rem; margin: -.55rem -.2rem; border-radius: 6px; min-height: 44px;
}
.schritte__aendern:hover { color: #fff; }
.schritte__aendern:focus-visible { outline: 2px solid var(--hellblau); outline-offset: 2px; }

/* iOS zoomt beim Fokus in Felder unter 16 px — am Telefon also 16 px */
@media (max-width: 760px) {
  .feld input, .feld textarea, .feld select,
  .assi__formular input, .assi__formular textarea { font-size: 16px; }
  .ist-schrittweise .feld textarea { min-height: 150px; }
}
@media (max-width: 560px) {
  .formular.ist-schrittweise .schritte__leiste .schritte__weiter,
  .formular.ist-schrittweise .schritte__leiste .schritte__absenden { flex: 1; justify-content: center; }
}

/* --- Im Chatfenster (Anfrage aus dem Gespräch) --------------------------- */
.assi__formular.ist-schrittweise { align-content: start; gap: .9rem; }
.assi__formular .etappe { gap: .7rem; }
.assi__formular .etappe__frage { font-size: 1.15rem; color: #fff; }
.assi__formular .schritte__kopf { margin-bottom: 0; }
.assi__formular .schritte__leiste { margin-top: .2rem; }
.assi__formular .schritte__leiste button { min-height: 44px; }
.assi__formular .schritte__tipp { display: none; }
.assi__formular .schritte__uebersicht { padding: .2rem .9rem; }
.assi__formular .schritte__uebersicht dt { padding-top: .6rem; }
.assi__formular .schritte__uebersicht dd { padding-bottom: .6rem; font-size: var(--schrift-xs); }
.assi__formular .schritte__fehler { font-size: var(--schrift-xs); padding: .6rem .8rem; }
.assi__formular .assi__hinweis--formular { margin-top: 0; }

/* ---- tempo.css ---- */
/* ==========================================================================
   MIRSYON — Leistungsbremsen lösen
   Chef 16.10.2026: „Die Seite ist sehr langsam und hängt sehr stark."
   Gemessen waren es bis zu 18 gleichzeitige Weichzeichner (backdrop-filter)
   und 15 Dauer-Animationen auf einer Seite. Beides rechnet der Browser bei
   JEDEM Bild neu — auf einem Telefon reicht das für sichtbares Ruckeln.
   Diese Datei wird ZULETZT geladen und nimmt zurück, was teuer ist.
   Der Eindruck bleibt: Glas sieht man am Verlauf und am Rand, nicht am
   Weichzeichner dahinter.
   ========================================================================== */

/* --- 1 · Weichzeichner nur dort, wo wirklich etwas durchscheint ---------
   Kopfleiste, aufgeklapptes Menü, Chatfenster und Einwilligung liegen ÜBER
   dem Inhalt — dort trägt der Weichzeichner. Karten liegen auf dem Grund;
   dort kostet er nur Rechenzeit.                                          */
.glas, .karte, .tafel, .vorgang, .preiszeile, .preisfeld {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
/* Die Flächen werden dafür einen Hauch dichter, damit sie weiter stehen. */
.glas, .karte { background: linear-gradient(158deg, var(--glas-stark), rgba(10, 23, 40, .62)); }

/* --- 2 · Der wandernde Lichtrand läuft nur, wenn er gesehen wird -------
   Vorher lief die Animation auf jeder Karte dauerhaft — inklusive
   conic-gradient und Maskenberechnung, auch außerhalb des Sichtfelds.     */
.strahlrand::after { animation-play-state: paused; }
.strahlrand:hover::after, .strahlrand:focus-within::after { animation-play-state: running; }
@media (hover: none) {
  /* Am Telefon gibt es kein Überfahren — dort ganz aus. */
  .strahlrand::after { display: none; }
}

/* --- 3 · Raumwirkung erst beim Überfahren ------------------------------
   preserve-3d zwingt den Browser, für jede Karte eine eigene Ebene zu
   halten. Bei fünfzehn Karten je Seite ist das spürbar.                   */
.raumkarte { transform-style: flat; will-change: auto; }
.raumkarte.neigt { transform-style: preserve-3d; will-change: transform; }

/* --- 4 · Bewegung ruht außerhalb des Sichtfelds ------------------------ */
.ruht, .ruht::after, .ruht::before { animation-play-state: paused !important; }

/* --- 5 · Auf Telefonen ist Ruhe wichtiger als Zierde ------------------- */
@media (max-width: 760px) {
  .tiefengitter::after, .signalbahn::after, .umlauf__bahn, .umlauf__punkt { animation: none; }
  .geraet { animation: none; }
  .punktgrund::before { opacity: .5; }
  .licht i { filter: blur(50px); }      /* große Blur-Radien sind teuer */
}

/* --- 6 · Schwache Geräte: nur noch das Nötige -------------------------- */
@media (prefers-reduced-motion: reduce), (update: slow) {
  .strahlrand::after, .tiefengitter::after, .signalbahn::after,
  .umlauf__bahn, .umlauf__punkt, .geraet { animation: none !important; }
}

/* --- Layoutverschiebung (CLS) beim Erscheinen des Cookie-Hinweises --------
   Ladezeit-Regel 14.11.2026: Der Versatz verkuerzte auch das ZUGEKLAPPTE,
   unsichtbare Chatfenster. Der Container sprang dadurch um ~100 px (CLS 0,154).
   Die Verkuerzung gilt jetzt nur bei offenem Fenster; der Knopf weicht weiter
   per transform aus (zaehlt nicht als Verschiebung).                       */
.assi:not(.ist-offen) .assi__fenster { max-height: none; }
/* Beim Tippen im Chat weicht er dem Cookie-Hinweis nicht aus: der liegt hinter der Tastatur. */
body.einwilligung-offen .assi.tippt { transform: none; }
body.chat-tippt .einwilligung { visibility: hidden; }
