/* JG KI-Integration – Landingpage
   Farben nach dem Löwen-Logo: Cyan #93e3fb → Violett #b7b5fa → Rosa #daa3f6 auf dunklem Grund.
   Alle Schriften liegen lokal (keine Anfragen an Google Fonts). */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-normal-300_700.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geistmono-normal-400.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrumentserif-italic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Hell ist Standard. Dunkel gilt, wenn das Gerät dunkel eingestellt ist, oder nach Wahl mit dem Schalter oben
     rechts (data-modus="hell|dunkel" auf <html>, gesetzt von assets/js/modus.js vor dem ersten Zeichnen).
     Farben mit Deckkraft laufen über die *-rgb-Kanäle, damit dieselbe Regel in beiden Schemata passt. */
  --grund: #ffffff;
  --grund-2: #f6f5fc;
  --grund-3: #eeecfa;
  --text: #16132b;
  --text-2: #4b4768;
  --text-3: #67637f;
  --linie: rgba(84, 66, 190, 0.13);
  --linie-2: rgba(84, 66, 190, 0.24);
  /* Akzente und Schrift im Verlauf: auf Weiß kräftiger als das Pastell des Logos */
  --cyan: #1388c2;
  --violett: #6450dc;
  --rosa: #a24ccc;
  --cyan-rgb: 19 136 194;
  --violett-rgb: 100 80 220;
  --rosa-rgb: 162 76 204;
  --grund-rgb: 255 255 255;
  --tief-rgb: 255 255 255;
  --tief-2-rgb: 255 255 255;
  --tinte-rgb: 50 40 130;
  --schatten-rgb: 40 30 100;
  --schatten-stark: 0.3;
  --glut-stark: 0.4;
  --karte-schatten: 0 1px 2px rgba(22, 19, 43, 0.04), 0 18px 40px -24px rgba(70, 50, 170, 0.28);
  --glut: 0 10px 26px -12px rgba(100, 80, 220, 0.5);
  --glut-hover: 0 14px 34px -12px rgba(100, 80, 220, 0.62);
  --glut-schein: 0.4;
  --menue: #ffffff;
  --koernung: 0;
  --licht: 0;
  --modus-an: 0;
  --modus-sonne: #0a0716;
  --modus-mond: var(--text-3);
  --haken-bild: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%231388c2' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  --plus-bild: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M6 1v10M1 6h10' stroke='%236450dc' stroke-width='1.6' stroke-linecap='round'/></svg>");
  color-scheme: light;

  /* in beiden Schemata gleich */
  --p-cyan: #93e3fb;
  --p-violett: #b7b5fa;
  --p-rosa: #daa3f6;
  --indigo: #5a46c8;
  --glas: rgb(var(--tief-2-rgb) / 0.55);
  --verlauf: linear-gradient(100deg, var(--cyan) 0%, var(--violett) 50%, var(--rosa) 100%);
  --verlauf-pastell: linear-gradient(100deg, var(--p-cyan) 0%, var(--p-violett) 50%, var(--p-rosa) 100%);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", monospace;

  --breite: 1240px;
  --rand: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --sanft: cubic-bezier(0.22, 1, 0.36, 1);
}
/* Die beiden dunklen Blöcke müssen gleich bleiben. */
@media (prefers-color-scheme: dark) {
  :root:not([data-modus="hell"]) {
    --grund: #06050c;
    --grund-2: #0b0918;
    --grund-3: #110e22;
    --text: #f2f0fb;
    --text-2: #bdb9d6;
    --text-3: #8a86a8;
    --linie: rgba(183, 181, 250, 0.12);
    --linie-2: rgba(183, 181, 250, 0.22);
    --cyan: #93e3fb;
    --violett: #b7b5fa;
    --rosa: #daa3f6;
    --cyan-rgb: 147 227 251;
    --violett-rgb: 183 181 250;
    --rosa-rgb: 218 163 246;
    --grund-rgb: 6 5 12;
    --tief-rgb: 12 10 26;
    --tief-2-rgb: 23 20 46;
    --tinte-rgb: 255 255 255;
    --schatten-rgb: 0 0 0;
    --schatten-stark: 1;
    --glut-stark: 1;
    --karte-schatten: none;
    --glut: 0 10px 40px -8px rgba(147, 227, 251, 0.55), 0 0 60px -10px rgba(218, 163, 246, 0.6);
    --glut-hover: 0 14px 50px -6px rgba(147, 227, 251, 0.75), 0 0 90px -6px rgba(218, 163, 246, 0.8);
    --glut-schein: 0.72;
    --menue: #08071a;
    --koernung: 0.07;
    --licht: 1;
    --modus-an: 1;
    --modus-sonne: var(--text-3);
    --modus-mond: #0a0716;
    --haken-bild: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%2393e3fb' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    --plus-bild: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M6 1v10M1 6h10' stroke='%23b7b5fa' stroke-width='1.6' stroke-linecap='round'/></svg>");
    color-scheme: dark;
  }
}
:root[data-modus="dunkel"] {
  --grund: #06050c;
  --grund-2: #0b0918;
  --grund-3: #110e22;
  --text: #f2f0fb;
  --text-2: #bdb9d6;
  --text-3: #8a86a8;
  --linie: rgba(183, 181, 250, 0.12);
  --linie-2: rgba(183, 181, 250, 0.22);
  --cyan: #93e3fb;
  --violett: #b7b5fa;
  --rosa: #daa3f6;
  --cyan-rgb: 147 227 251;
  --violett-rgb: 183 181 250;
  --rosa-rgb: 218 163 246;
  --grund-rgb: 6 5 12;
  --tief-rgb: 12 10 26;
  --tief-2-rgb: 23 20 46;
  --tinte-rgb: 255 255 255;
  --schatten-rgb: 0 0 0;
  --schatten-stark: 1;
  --glut-stark: 1;
  --karte-schatten: none;
  --glut: 0 10px 40px -8px rgba(147, 227, 251, 0.55), 0 0 60px -10px rgba(218, 163, 246, 0.6);
  --glut-hover: 0 14px 50px -6px rgba(147, 227, 251, 0.75), 0 0 90px -6px rgba(218, 163, 246, 0.8);
  --glut-schein: 0.72;
  --menue: #08071a;
  --koernung: 0.07;
  --licht: 1;
  --modus-an: 1;
  --modus-sonne: var(--text-3);
  --modus-mond: #0a0716;
  --haken-bild: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%2393e3fb' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  --plus-bild: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M6 1v10M1 6h10' stroke='%23b7b5fa' stroke-width='1.6' stroke-linecap='round'/></svg>");
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
em { font-style: normal; }
::selection { background: rgb(var(--violett-rgb) / 0.3); color: var(--text); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.sprung {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: var(--grund); padding: 10px 16px; border-radius: 10px;
}
.sprung:focus { top: 12px; }

.nur-vorleser {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Atmosphäre: Licht am Mauszeiger, Körnung ---------- */
.licht {
  position: fixed; left: 0; top: 0; z-index: 1; pointer-events: none;
  width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%;
  background: radial-gradient(circle, rgb(var(--cyan-rgb) / 0.10), rgb(var(--rosa-rgb) / 0.06) 40%, transparent 68%);
  transform: translate3d(-999px, -999px, 0);
  mix-blend-mode: screen; opacity: var(--licht);
  transition: opacity 0.6s;
}
.koernung {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: var(--koernung);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.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 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Bausteine ---------- */
.verlauf {
  background: var(--verlauf);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: schimmer 8s ease-in-out infinite alternate;
}
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
@keyframes schimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.huelle { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; position: relative; z-index: 2; }
section { position: relative; }
.abschnitt { padding: clamp(88px, 12vw, 160px) 0; }

.marke-zeile {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-3);
}
.marke-zeile::before {
  content: ""; width: 28px; height: 1px; background: var(--verlauf);
  box-shadow: 0 0 10px rgb(var(--cyan-rgb) / 0.8);
}
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(36px, 5.4vw, 72px); margin-top: 18px; }
h2 .serif { font-size: 1.08em; }
.abschnitt-kopf { max-width: 820px; margin-bottom: clamp(40px, 6vw, 72px); }
.abschnitt-kopf p:not(.marke-zeile) { color: var(--text-2); font-size: clamp(17px, 1.5vw, 19px); max-width: 640px; margin: 22px 0 0; }
.abschnitt-kopf--mitte { margin-inline: auto; text-align: center; }
.abschnitt-kopf--mitte p { margin-inline: auto; }

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid var(--linie-2); background: rgb(var(--tief-2-rgb) / 0.6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13.5px; color: var(--text-2);
}
.puls { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.puls::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--cyan);
  animation: puls 2.2s var(--sanft) infinite;
}
@keyframes puls { from { transform: scale(0.6); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }

/* Knöpfe */
.knopf {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform 0.35s var(--sanft), box-shadow 0.35s var(--sanft), background 0.3s;
  will-change: transform;
}
.knopf--klein { --h: 42px; padding: 0 18px; font-size: 14.5px; }
.knopf--glut {
  color: #0a0716;
  background: linear-gradient(100deg, var(--p-cyan), var(--p-violett) 55%, var(--p-rosa));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset, var(--glut);
}
.knopf--glut::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  background: linear-gradient(100deg, var(--p-cyan), var(--p-violett), var(--p-rosa));
  filter: blur(14px); opacity: var(--glut-schein);
  animation: glimmen 3.6s ease-in-out infinite;
}
.knopf--glut:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4) inset, var(--glut-hover); }
.knopf--glas {
  color: var(--text); background: rgb(var(--tinte-rgb) / 0.04);
  border: 1px solid var(--linie-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.knopf--glas:hover { background: rgb(var(--tinte-rgb) / 0.08); border-color: rgb(var(--violett-rgb) / 0.45); }
.knopf__pfeil { transition: transform 0.35s var(--sanft); }
.knopf:hover .knopf__pfeil { transform: translateX(4px); }
.knopf[disabled] { cursor: default; filter: grayscale(0.7) brightness(0.6); }
@keyframes glimmen { 0%, 100% { opacity: calc(var(--glut-schein) * 0.76); } 50% { opacity: calc(var(--glut-schein) * 1.25); } }

.textlink {
  display: inline-flex; align-items: center; gap: 8px; color: var(--violett); font-weight: 500; font-size: 15px;
}
.textlink span { transition: transform 0.35s var(--sanft); }
.textlink:hover span { transform: translateX(4px); }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: transform 0.5s var(--sanft), background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.kopf.ist-gerollt {
  background: rgb(var(--tief-rgb) / 0.62);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--linie);
}
.kopf.ist-versteckt { transform: translateY(calc(-100% - 60px)); }
.kopf__innen {
  width: min(100% - 2 * var(--rand), 1320px); margin-inline: auto; height: 76px;
  display: flex; align-items: center; gap: 28px;
}
.marke { display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: -0.02em; font-size: 16.5px; }
.marke img { width: 38px; height: 38px; filter: drop-shadow(0 0 10px rgb(var(--violett-rgb) / calc(0.7 * var(--glut-stark)))); }
.marke em { color: var(--text-3); font-weight: 400; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--text-2);
  transition: color 0.25s, background 0.25s;
}
.nav a:hover { color: var(--text); background: rgb(var(--tinte-rgb) / 0.05); }
.burger { display: none; }

/* Schalter hell/dunkel: der Knauf folgt dem Farbschema (--modus-an), aria-checked setzt seite.js.
   --modus-b/--modus-k: Breite und Knauf, 6px = Rahmen und Abstand links und rechts */
.modus {
  --modus-b: 64px; --modus-k: 28px;
  position: relative; flex: none; width: var(--modus-b); height: calc(var(--modus-k) + 6px); padding: 0 8px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--linie-2); background: rgb(var(--tinte-rgb) / 0.04);
  transition: border-color 0.3s, background 0.3s;
}
.modus:hover { border-color: rgb(var(--violett-rgb) / 0.5); }
.modus svg {
  position: relative; z-index: 1; width: 16px; height: 16px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: color 0.3s;
}
.modus__sonne { color: var(--modus-sonne); }
.modus__mond { color: var(--modus-mond); }
.modus__knauf {
  position: absolute; top: 2px; left: 2px; width: var(--modus-k); height: var(--modus-k); border-radius: 50%;
  background: var(--verlauf-pastell); box-shadow: 0 4px 14px -4px rgb(var(--violett-rgb) / 0.6);
  transform: translateX(calc(var(--modus-an) * (var(--modus-b) - var(--modus-k) - 6px)));
  transition: transform 0.45s var(--sanft);
}

/* SVG-Verläufe in den Seiten tragen das Pastell als Attribut – CSS geht vor */
.loewe__linien stop:nth-child(1), #atse-verlauf stop:nth-child(1) { stop-color: var(--cyan); }
.loewe__linien stop:nth-child(2) { stop-color: var(--violett); }
.loewe__linien stop:nth-child(3), #atse-verlauf stop:nth-child(2) { stop-color: var(--rosa); }
#atse-kern stop:nth-child(1) { stop-color: var(--violett); }
#atse-kern stop:nth-child(2) { stop-color: var(--cyan); }
.atse__bild text { fill: var(--text); }

/* ---------- Bühne (Hero) ---------- */
.buehne {
  min-height: 100svh; display: flex; align-items: center;
  padding: 104px 0 80px; overflow: hidden; isolation: isolate;
}
.buehne__aurora { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.buehne__aurora-ersatz {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(60% 50% at 70% 40%, rgb(var(--violett-rgb) / 0.20), transparent 70%),
    radial-gradient(40% 40% at 85% 70%, rgb(var(--rosa-rgb) / 0.16), transparent 70%),
    radial-gradient(45% 45% at 55% 25%, rgb(var(--cyan-rgb) / 0.14), transparent 70%);
}
.buehne__raster {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgb(var(--violett-rgb) / 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--violett-rgb) / 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 10%, transparent 75%);
}
.buehne::after {
  content: ""; position: absolute; inset: auto 0 0; height: 200px; z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--grund));
}
.buehne__innen {
  width: min(100% - 2 * var(--rand), 1320px); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 24px;
}
.buehne__titel {
  font-size: clamp(42px, 5.3vw, 78px); letter-spacing: -0.045em; line-height: 1;
  margin: 24px 0 0; font-weight: 500;
}
.buehne__titel .serif { font-size: 1.1em; letter-spacing: -0.02em; padding-right: 0.06em; }
.buehne__lead { color: var(--text-2); font-size: clamp(17px, 1.35vw, 19px); max-width: 580px; margin: 24px 0 0; }
.buehne__aktionen { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.vertrauen {
  list-style: none; padding: 0; margin: 34px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--text-3);
}
.vertrauen li { display: flex; align-items: center; gap: 9px; }
.vertrauen li::before {
  content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%;
  background: center / 10px no-repeat var(--haken-bild), rgb(var(--cyan-rgb) / 0.12);
  box-shadow: 0 0 0 1px rgb(var(--cyan-rgb) / 0.3) inset;
}

/* Social-Media-Symbole: fest links unten auf allen Seiten, Gegenstück zum Chat-Knopf rechts unten.
   z-index unter dem Kopf (50), damit das geöffnete Handy-Menü sie verdeckt. */
.sozial {
  position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45;
  list-style: none; margin: 0; padding: 6px; display: flex; gap: 4px; border-radius: 999px;
  border: 1px solid var(--linie-2); background: rgb(var(--tief-rgb) / 0.78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px -12px rgb(var(--schatten-rgb) / calc(0.8 * var(--schatten-stark)));
  animation: hochkommen 0.8s var(--sanft) 1.5s both;
}
.sozial a {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2);
  transition: color 0.25s, background 0.25s, box-shadow 0.3s;
}
.sozial a:hover { color: var(--text); background: rgb(var(--violett-rgb) / 0.10); box-shadow: 0 0 22px -6px rgb(var(--cyan-rgb) / 0.7); }
.sozial svg { width: 20px; height: 20px; }

.buehne__bild { position: relative; aspect-ratio: 1; perspective: 1200px; }
.loewe {
  position: absolute; inset: 4%;
  transform-style: preserve-3d;
  transition: transform 0.9s var(--sanft);
}
.loewe__halo {
  position: absolute; inset: 10%; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgb(var(--cyan-rgb) / 0.35), rgb(var(--violett-rgb) / 0.22) 40%, rgb(var(--rosa-rgb) / 0.12) 60%, transparent 72%);
  filter: blur(40px);
  animation: atmen 6s ease-in-out infinite;
}
.loewe__png {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; filter: drop-shadow(0 0 18px rgb(var(--violett-rgb) / calc(0.55 * var(--glut-stark)))) drop-shadow(0 0 50px rgb(var(--rosa-rgb) / calc(0.35 * var(--glut-stark))));
}
.loewe__linien {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  color: var(--violett);
}
.loewe__linien #loewe-pfade { filter: url(#loewe-glut); }
.loewe__linien .z {
  stroke: url(#loewe-verlauf);
  stroke-dasharray: 1 2; stroke-dashoffset: 1; opacity: 0;
}
.loewe__linien .z { animation: zeichnen 1.9s var(--sanft) forwards; animation-delay: calc(var(--i, 0) * 90ms + 300ms); }
.loewe__png { animation: zuenden 1.6s steps(1, end) 3.2s forwards, atmen-hell 6s ease-in-out 5s infinite; }
.loewe__linien { animation: verblassen 1.2s ease 3.9s forwards; }
/* Ohne SVG-Linien: nur das Neon-PNG zündet */
@keyframes zeichnen { 0% { stroke-dashoffset: 1; opacity: 0; } 3% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes verblassen { to { opacity: 0; } }
@keyframes zuenden {
  0% { opacity: 0.0; } 8% { opacity: 0.85; } 12% { opacity: 0.1; } 20% { opacity: 0.95; }
  26% { opacity: 0.35; } 34% { opacity: 1; } 100% { opacity: 1; }
}
@keyframes atmen { 0%, 100% { transform: scale(0.94); opacity: 0.8; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes atmen-hell {
  0%, 100% { filter: drop-shadow(0 0 16px rgb(var(--violett-rgb) / calc(0.5 * var(--glut-stark)))) drop-shadow(0 0 44px rgb(var(--rosa-rgb) / calc(0.3 * var(--glut-stark)))); }
  50% { filter: drop-shadow(0 0 24px rgb(var(--cyan-rgb) / calc(0.75 * var(--glut-stark)))) drop-shadow(0 0 80px rgb(var(--rosa-rgb) / calc(0.5 * var(--glut-stark)))); }
}

.schwebe {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgb(var(--tief-2-rgb) / 0.66); border: 1px solid var(--linie-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgb(var(--schatten-rgb) / calc(0.8 * var(--schatten-stark))), 0 0 30px -12px rgb(var(--violett-rgb) / 0.4);
  font-size: 13.5px; line-height: 1.35; white-space: nowrap;
  opacity: 0; translate: 0 16px;
}
.schwebe { animation: auftauchen 1s var(--sanft) forwards, schweben 7s ease-in-out infinite; }
.schwebe small { display: block; color: var(--text-3); font-size: 12px; }
.schwebe__symbol {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: rgb(var(--cyan-rgb) / 0.12); color: var(--cyan);
  box-shadow: 0 0 0 1px rgb(var(--cyan-rgb) / 0.25) inset;
}
.schwebe__symbol svg { width: 18px; height: 18px; }
.schwebe--2 .schwebe__symbol { background: rgb(var(--violett-rgb) / 0.12); color: var(--violett); box-shadow: 0 0 0 1px rgb(var(--violett-rgb) / 0.3) inset; }
.schwebe--3 .schwebe__symbol { background: rgb(var(--rosa-rgb) / 0.12); color: var(--rosa); box-shadow: 0 0 0 1px rgb(var(--rosa-rgb) / 0.3) inset; }
.schwebe--1 { left: -4%; top: 16%; animation-delay: 3.2s, 4.2s !important; }
.schwebe--2 { right: -2%; top: 44%; animation-delay: 3.5s, 4.5s !important; }
.schwebe--3 { left: 8%; bottom: 8%; animation-delay: 3.8s, 4.8s !important; }
@keyframes auftauchen { to { opacity: 1; translate: 0 0; } }
@keyframes schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
/* Kärtchen sind Links auf die Leistungsseiten und wechseln ihren Inhalt (seite.js) */
a.schwebe { color: var(--text); transition: border-color 0.3s, box-shadow 0.5s; }
a.schwebe::after { content: "→"; color: var(--cyan); margin-left: 2px; opacity: 0; translate: -4px 0; transition: opacity 0.3s, translate 0.3s var(--sanft); }
a.schwebe:hover { border-color: rgb(var(--cyan-rgb) / 0.5); box-shadow: 0 20px 50px -20px rgb(var(--schatten-rgb) / calc(0.8 * var(--schatten-stark))), 0 0 36px -8px rgb(var(--cyan-rgb) / 0.75); }
a.schwebe:hover::after { opacity: 1; translate: 0 0; }
.schwebe__inhalt { display: flex; align-items: center; gap: 12px; transition: opacity 0.45s var(--sanft), filter 0.45s var(--sanft), transform 0.45s var(--sanft); }
.schwebe.wechselt .schwebe__inhalt { opacity: 0; filter: blur(6px); transform: translateY(6px); }
.schwebe.neu { border-color: rgb(var(--cyan-rgb) / 0.45); box-shadow: 0 20px 50px -20px rgb(var(--schatten-rgb) / calc(0.8 * var(--schatten-stark))), 0 0 40px -6px rgb(var(--cyan-rgb) / 0.65); }

.weiter {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0; z-index: 3;
  width: 26px; height: 42px; border-radius: 14px; border: 1px solid var(--linie-2);
}
.weiter span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  animation: rollen 2s var(--sanft) infinite;
}
@keyframes rollen { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(16px); opacity: 0; } }

/* Auftritt beim Laden */
.auftritt { opacity: 0; transform: translateY(24px); filter: blur(10px); }
.auftritt { animation: einblenden 1.1s var(--sanft) forwards; animation-delay: calc(var(--n, 0) * 110ms + 150ms); }
@keyframes einblenden { to { opacity: 1; transform: none; filter: none; } }

/* Einblenden beim Scrollen */
.zeige { opacity: 0; transform: translateY(36px); filter: blur(8px); transition: opacity 1s var(--sanft), transform 1s var(--sanft), filter 1s var(--sanft); transition-delay: calc(var(--n, 0) * 90ms); }
.zeige.ist-sichtbar { opacity: 1; transform: none; filter: none; }

/* ---------- Laufband ---------- */
.band { padding: 40px 0 10px; }
.band__titel { text-align: center; color: var(--text-3); font-size: 14px; margin: 0 0 22px; }
.band__spur {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.band__liste {
  display: flex; gap: 14px; padding: 0 7px; margin: 0; list-style: none; flex: none;
  animation: laufen 48s linear infinite;
}
.band__spur:hover .band__liste { animation-play-state: paused; }
.band__liste li {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--linie);
  background: rgb(var(--tinte-rgb) / 0.02); color: var(--text-2); font-size: 15px; white-space: nowrap;
}
@keyframes laufen { to { transform: translateX(-100%); } }

/* ---------- Zeit (Wort-für-Wort) ---------- */
.zeit__text {
  font-size: clamp(28px, 4.1vw, 56px); line-height: 1.18; letter-spacing: -0.03em; font-weight: 450;
  margin: 26px 0 0; max-width: 1100px;
}
.zeit__text .w { opacity: 0.16; transition: opacity 0.35s linear; }
.zeit__text .w.an { opacity: 1; }
.zeit__text .hervor .w {
  background: var(--verlauf); background-size: 100% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.zeit__text .hervor .w.an { filter: drop-shadow(0 0 18px rgb(var(--violett-rgb) / calc(0.55 * var(--glut-stark)))); }
.kennzahlen {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(56px, 8vw, 96px);
  border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; background: var(--linie);
}
.kennzahl { background: var(--grund); padding: 34px 32px 30px; }
.kennzahl__wert {
  display: block; font-size: clamp(44px, 5vw, 68px); font-weight: 500; letter-spacing: -0.04em; line-height: 1;
  background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgb(var(--violett-rgb) / calc(0.35 * var(--glut-stark))));
}
.kennzahl__wert small { font-size: 0.42em; letter-spacing: -0.01em; margin-left: 4px; }
.kennzahl p { margin: 14px 0 0; color: var(--text-2); font-size: 15.5px; max-width: 300px; }

/* Zeit-Text links, Vertrauenskarte mit Foto rechts (nur wenn es ein Porträt gibt) */
.zeit { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.zeit:has(> .person) { grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr); }
.zeit:has(> .person) .zeit__text { font-size: clamp(26px, 2.7vw, 42px); }
.person { padding: 14px; border-color: transparent; width: 100%; max-width: 460px; justify-self: end; }
.person__rahmen {
  position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 1; pointer-events: none; overflow: hidden;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.person__rahmen::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; translate: -50% -50%;
  background: conic-gradient(transparent 0deg, var(--cyan) 60deg, var(--violett) 120deg, var(--rosa) 180deg, transparent 240deg);
  animation: drehen 8s linear infinite;
}
.person__bild { position: relative; margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; }
.person__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.person__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgb(var(--grund-rgb) / 0.5)); pointer-events: none; }
.person__text { display: grid; gap: 14px; padding: 22px 12px 10px; }
.person__marke { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.person__zitat { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.2; color: var(--text); }
.person__name { margin: 0; color: var(--text-3); font-size: 14px; }
.person__name b { display: block; color: var(--text); font-size: 17px; font-weight: 500; }
.person__punkte { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--text-2); }
.person__punkte li { display: flex; gap: 10px; }
.person__punkte li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* ---------- Karten mit Lichtrand ---------- */
.karte {
  --mx: 50%; --my: 50%;
  position: relative; border-radius: var(--radius);
  background: linear-gradient(180deg, rgb(var(--tief-2-rgb) / 0.72), rgb(var(--tief-rgb) / 0.72));
  border: 1px solid var(--linie); box-shadow: var(--karte-schatten);
  overflow: hidden; isolation: isolate;
  transition: transform 0.5s var(--sanft), border-color 0.4s;
}
.karte::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: 2; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgb(var(--cyan-rgb) / 0.9), rgb(var(--rosa-rgb) / 0.6) 30%, transparent 60%);
  -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 0.4s;
}
.karte::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx) var(--my), rgb(var(--violett-rgb) / 0.10), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.karte:hover::before, .karte:hover::after { opacity: 1; }

/* ---------- Demo ---------- */
.demo__reiter {
  display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px;
  border: 1px solid var(--linie); background: rgb(var(--tinte-rgb) / 0.03); margin-bottom: 22px;
  max-width: 100%; overflow-x: auto;
}
.demo__reiter button {
  border: 0; background: none; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  color: var(--text-2); font-size: 14.5px; white-space: nowrap; transition: background 0.3s, color 0.3s;
}
.demo__reiter button[aria-selected="true"] {
  color: var(--text); background: rgb(var(--violett-rgb) / 0.14);
  box-shadow: 0 0 0 1px rgb(var(--violett-rgb) / 0.35) inset, 0 0 24px -6px rgb(var(--violett-rgb) / 0.6);
}
.demo__feld {
  display: grid; grid-template-columns: 1fr 64px 1.1fr 64px 1fr; align-items: stretch;
  padding: clamp(18px, 3vw, 34px);
}
.demo__spalte { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.demo__titel {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3);
}
.demo__titel i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); transition: background 0.3s, box-shadow 0.3s; }
.demo__spalte.ist-aktiv .demo__titel i { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.demo__kasten {
  flex: 1; border-radius: 16px; padding: 18px; min-height: 250px;
  background: rgb(var(--grund-rgb) / 0.6); border: 1px solid var(--linie);
  font-size: 14.5px; line-height: 1.5;
}
.demo__leitung { position: relative; align-self: center; height: 2px; margin: 0 6px; background: var(--linie-2); border-radius: 2px; overflow: visible; }
.demo__leitung::after {
  content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px 2px var(--cyan); opacity: 0;
}
.demo__leitung.fliesst::after { animation: fliessen 0.9s var(--sanft) forwards; }
.demo__leitung.fliesst { background: linear-gradient(90deg, var(--cyan), var(--violett)); box-shadow: 0 0 12px rgb(var(--cyan-rgb) / 0.6); transition: background 0.4s; }
@keyframes fliessen { 0% { left: 0; opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }

.blase {
  max-width: 92%; padding: 11px 14px; border-radius: 14px 14px 14px 4px;
  background: rgb(var(--cyan-rgb) / 0.08); border: 1px solid rgb(var(--cyan-rgb) / 0.22);
  animation: blase-rein 0.6s var(--sanft) both;
}
.blase__kopf { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--text-3); margin-bottom: 4px; }
.tippen { display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 14px; background: rgb(var(--cyan-rgb) / 0.08); }
.tippen span { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: tippen 1s infinite; }
.tippen span:nth-child(2) { animation-delay: 0.15s; }
.tippen span:nth-child(3) { animation-delay: 0.3s; }
@keyframes tippen { 0%, 60%, 100% { opacity: 0.25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes blase-rein { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }

.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.schritte li {
  display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: 12px;
  border: 1px solid var(--linie); background: rgb(var(--tinte-rgb) / 0.02);
  color: var(--text-3); transition: color 0.4s, border-color 0.4s, background 0.4s;
}
.schritte li b { display: block; font-weight: 500; color: inherit; }
.schritte li small { display: block; font-size: 13px; color: var(--text-3); }
.schritte li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  border: 1.5px solid var(--linie-2);
}
.schritte li.laeuft { color: var(--text); border-color: rgb(var(--violett-rgb) / 0.35); }
.schritte li.laeuft::before { border-color: var(--violett) transparent var(--violett) var(--violett); animation: drehen 0.8s linear infinite; }
.schritte li.fertig { color: var(--text); border-color: rgb(var(--cyan-rgb) / 0.3); background: rgb(var(--cyan-rgb) / 0.05); }
.schritte li.fertig::before {
  border-color: var(--cyan); background: center / 10px no-repeat var(--haken-bild);
  box-shadow: 0 0 10px rgb(var(--cyan-rgb) / 0.5);
}
@keyframes drehen { to { transform: rotate(360deg); } }

.entwurf { animation: blase-rein 0.6s var(--sanft) both; }
.entwurf__kopf { font-size: 12px; color: var(--text-3); margin-bottom: 8px; display: flex; justify-content: space-between; gap: 8px; }
.entwurf__text { padding: 12px 14px; border-radius: 14px 14px 4px 14px; background: rgb(var(--violett-rgb) / 0.10); border: 1px solid rgb(var(--violett-rgb) / 0.28); }
.entwurf.ist-gesendet .entwurf__text { background: rgb(var(--cyan-rgb) / 0.10); border-color: rgb(var(--cyan-rgb) / 0.4); box-shadow: 0 0 30px -8px rgb(var(--cyan-rgb) / 0.6); }
.demo__aktion { display: flex; flex-direction: column; gap: 10px; }
.demo__aktion .knopf { width: 100%; }
.demo__status { min-height: 24px; margin: 0; font-size: 13.5px; color: var(--text-3); }
.demo__status.gut { color: var(--cyan); }
.knopf.lockt { animation: locken 1.6s ease-in-out infinite; }
@keyframes locken { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
.demo__fuss { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--text-3); }
.demo__nochmal { border: 0; background: none; color: var(--violett); cursor: pointer; padding: 0; font-size: 13.5px; }

/* ---------- Leistungen (Bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.leistung { padding: 30px; display: flex; flex-direction: column; min-height: 280px; }
.leistung--gross { grid-column: span 2; grid-row: span 2; }
.leistung--breit { grid-column: span 2; }
.leistung--ganz { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; gap: 32px; }
.leistung__symbol {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: linear-gradient(140deg, rgb(var(--cyan-rgb) / 0.16), rgb(var(--rosa-rgb) / 0.12));
  box-shadow: 0 0 0 1px rgb(var(--violett-rgb) / 0.3) inset, 0 0 26px -6px rgb(var(--violett-rgb) / 0.6);
  color: var(--cyan);
  transition: box-shadow 0.4s, transform 0.5s var(--sanft);
}
.leistung__symbol svg { width: 24px; height: 24px; }
.leistung:hover .leistung__symbol { transform: translateY(-2px) rotate(-4deg); box-shadow: 0 0 0 1px rgb(var(--cyan-rgb) / 0.55) inset, 0 0 36px -2px rgb(var(--cyan-rgb) / 0.7); }
.leistung h3 { font-size: clamp(22px, 2vw, 27px); margin: 26px 0 10px; }
.leistung--gross h3 { font-size: clamp(28px, 3vw, 40px); }
.leistung p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.leistung .textlink { margin-top: auto; padding-top: 22px; }
.leistung__liste { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 15px; color: var(--text-2); }
.leistung__liste li { display: flex; gap: 10px; }
.leistung__liste li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.plakette {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding: 5px 12px; border-radius: 999px; font-size: 12.5px; color: var(--cyan);
  background: rgb(var(--cyan-rgb) / 0.08); border: 1px solid rgb(var(--cyan-rgb) / 0.25);
}
.leistung__kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.leistung__kopf .plakette { margin: 0; }
.leistung--ganz .leistung__text { flex: 1; }
.leistung--ganz h3 { margin-top: 0; }
.leistung__preis { text-align: right; flex: none; }
.leistung__preis b { display: block; font-size: 40px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.leistung__preis span { color: var(--text-3); font-size: 14px; }

/* Mini-Visualisierungen in den Karten */
.postfach { margin-top: 28px; display: grid; gap: 8px; }
.postfach div {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 13.5px;
  background: rgb(var(--grund-rgb) / 0.55); border: 1px solid var(--linie); color: var(--text-2);
  animation: postfach 9s var(--sanft) infinite; animation-delay: calc(var(--i) * 0.6s);
}
.postfach div span { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--cyan); white-space: nowrap; }
@keyframes postfach {
  0%, 8% { opacity: 0.35; transform: translateX(-6px); }
  14%, 80% { opacity: 1; transform: none; border-color: rgb(var(--cyan-rgb) / 0.25); }
  92%, 100% { opacity: 0.35; transform: none; }
}
.welle { display: flex; align-items: center; gap: 4px; height: 44px; margin-top: 24px; }
.welle i { width: 4px; border-radius: 3px; background: var(--verlauf); height: 30%; animation: welle 1.2s ease-in-out infinite; animation-delay: calc(var(--i) * -0.11s); box-shadow: 0 0 10px rgb(var(--violett-rgb) / 0.6); }
@keyframes welle { 0%, 100% { height: 18%; } 50% { height: 100%; } }
.code {
  margin-top: 22px; padding: 16px; border-radius: 14px; background: rgb(var(--grund-rgb) / 0.6); border: 1px solid var(--linie);
  font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--text-3); overflow: hidden; white-space: pre;
}
.code .k { color: var(--rosa); } .code .f { color: var(--cyan); } .code .s { color: var(--violett); }
.code .cursor { display: inline-block; width: 7px; height: 15px; vertical-align: -2px; background: var(--cyan); animation: blinken 1s steps(1) infinite; }
@keyframes blinken { 50% { opacity: 0; } }

/* Dashboard-Karte: ganze Breite, Text links, Mini-Dashboard rechts */
.leistung--zentrale { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.leistung--zentrale .leistung__text { display: flex; flex-direction: column; height: 100%; }
.leistung--zentrale h3 { font-size: clamp(28px, 3vw, 40px); }
.zentrale { padding: 18px; border-radius: 18px; background: rgb(var(--grund-rgb) / 0.55); border: 1px solid var(--linie); }
.zentrale__kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zentrale__kacheln div {
  padding: 14px 16px; border-radius: 14px; background: rgb(var(--violett-rgb) / 0.05); border: 1px solid var(--linie);
  animation: kachel 8s var(--sanft) infinite; animation-delay: calc(var(--i) * 0.7s);
}
.zentrale__kacheln small { display: block; font-size: 12.5px; color: var(--text-3); }
.zentrale__kacheln b {
  display: block; margin-top: 4px; font-size: 26px; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
  background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes kachel {
  0%, 6% { border-color: var(--linie); box-shadow: none; }
  12%, 30% { border-color: rgb(var(--cyan-rgb) / 0.45); box-shadow: 0 0 24px -6px rgb(var(--cyan-rgb) / 0.55); }
  40%, 100% { border-color: var(--linie); box-shadow: none; }
}
/* .leistung davor, sonst gewinnt „.leistung p“ (Rand, Schrift, Farbe) */
.leistung .zentrale__frage, .leistung .zentrale__antwort { margin: 12px 0 0; padding: 10px 14px; border-radius: 14px; font-size: 14px; max-width: 88%; }
.leistung .zentrale__frage { margin-left: auto; width: fit-content; background: linear-gradient(120deg, rgb(var(--cyan-rgb) / 0.22), rgb(var(--rosa-rgb) / 0.2)); color: var(--text); border-bottom-right-radius: 4px; }
.leistung .zentrale__antwort { background: rgb(var(--tinte-rgb) / 0.04); border: 1px solid var(--linie); color: var(--text-2); border-bottom-left-radius: 4px; }

/* ---------- Rechner ---------- */
.rechner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.rechner__eingaben { padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 32px; align-content: start; }
.regler label { display: flex; justify-content: space-between; gap: 16px; font-size: 15.5px; color: var(--text-2); margin-bottom: 14px; }
.regler output { font-family: var(--mono); color: var(--text); font-size: 15px; white-space: nowrap; }
.regler small { display: block; color: var(--text-3); font-size: 13px; margin-top: 10px; }
input[type="range"] {
  --anteil: 50%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; margin: 0; cursor: pointer;
  background: linear-gradient(90deg, var(--cyan), var(--violett) calc(var(--anteil) * 0.6), var(--rosa) var(--anteil), rgb(var(--violett-rgb) / 0.14) var(--anteil));
  outline-offset: 8px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 4px rgb(var(--violett-rgb) / 0.35), 0 0 22px 4px rgb(var(--cyan-rgb) / 0.7);
  transition: transform 0.2s;
}
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 4px rgb(var(--violett-rgb) / 0.35), 0 0 22px 4px rgb(var(--cyan-rgb) / 0.7);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.rechner__ergebnis { padding: clamp(24px, 3.4vw, 40px); display: flex; flex-direction: column; }
.rechner__ergebnis::after {
  content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -120px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgb(var(--violett-rgb) / 0.22), transparent 65%); filter: blur(10px);
}
.ergebnis__zeile { padding: 22px 0; border-bottom: 1px solid var(--linie); }
.ergebnis__zeile:first-of-type { padding-top: 0; }
.ergebnis__zeile span { display: block; color: var(--text-3); font-size: 14px; }
.ergebnis__zeile b {
  display: block; margin-top: 6px; font-size: clamp(42px, 5vw, 64px); font-weight: 500; letter-spacing: -0.045em; line-height: 1;
  background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 20px rgb(var(--violett-rgb) / calc(0.4 * var(--glut-stark)))); font-variant-numeric: tabular-nums;
}
.ergebnis__hinweis { color: var(--text-3); font-size: 13.5px; margin: 22px 0 24px; }
.rechner__ergebnis .knopf { margin-top: auto; align-self: flex-start; }

/* Abo-Rechner */
.abos { gap: 0; }
.abos__kopf { display: flex; justify-content: space-between; margin: 0 0 6px; font-size: 13px; color: var(--text-3); font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }
.abo-zeile { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--linie); }
.abo-zeile label { font-size: 15.5px; color: var(--text-2); }
.abo-zeile input {
  width: 92px; flex: none; padding: 9px 12px; border-radius: 10px; text-align: right;
  font: 15px var(--mono); color: var(--text); background: rgb(var(--grund-rgb) / 0.55); border: 1px solid var(--linie-2);
  -moz-appearance: textfield; appearance: textfield; transition: border-color 0.25s, box-shadow 0.25s;
}
.abo-zeile input::-webkit-outer-spin-button, .abo-zeile input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.abo-zeile input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgb(var(--cyan-rgb) / 0.18), 0 0 22px -4px rgb(var(--cyan-rgb) / 0.6); }
.abos small { display: block; color: var(--text-3); font-size: 13px; margin-top: 14px; }

/* ---------- Ablauf ---------- */
.ablauf { position: relative; display: grid; gap: 0; max-width: 940px; margin-inline: auto; }
.ablauf__strahl { position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--linie); border-radius: 2px; }
.ablauf__strahl i {
  position: absolute; inset: 0 0 auto; height: var(--fortschritt, 0%); border-radius: 2px;
  background: linear-gradient(var(--cyan), var(--violett), var(--rosa));
  box-shadow: 0 0 14px rgb(var(--cyan-rgb) / 0.8);
}
.ablauf__strahl i::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 16px 4px var(--violett);
}
.schritt { display: grid; grid-template-columns: 56px 1fr; gap: 28px; padding: 26px 0 46px; }
.schritt__nr {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--grund-2); border: 1px solid var(--linie-2);
  font-family: var(--mono); font-size: 14px; color: var(--text-3);
  transition: color 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.schritt.ist-erreicht .schritt__nr { color: var(--text); border-color: var(--violett); box-shadow: 0 0 0 4px rgb(var(--violett-rgb) / 0.1), 0 0 30px -4px rgb(var(--violett-rgb) / 0.8); }
.schritt h3 { font-size: clamp(24px, 2.6vw, 34px); padding-top: 8px; }
.schritt p { color: var(--text-2); margin: 12px 0 0; max-width: 640px; }
.schritt .marken { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.schritt .marken span { font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--linie-2); color: var(--text-2); }

.grundsaetze { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(64px, 9vw, 110px); }
.grundsatz { padding: 30px; }
.grundsatz b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 30px; line-height: 1.1; letter-spacing: -0.01em; }
.grundsatz p { color: var(--text-2); margin: 14px 0 0; font-size: 15.5px; }

/* ---------- Konditionen ---------- */
.preise { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; align-items: stretch; }
.preis { padding: clamp(26px, 3.4vw, 42px); display: flex; flex-direction: column; }
.preis h3 { font-size: 26px; }
.preis > p { color: var(--text-2); margin: 12px 0 0; }
.preis__betrag { display: flex; align-items: baseline; gap: 10px; margin: 28px 0 6px; }
.preis__betrag b { font-size: clamp(54px, 6vw, 76px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.preis__betrag span { color: var(--text-3); }
.preis__liste { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 0; }
.preis__liste li { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid var(--linie); font-size: 15.5px; color: var(--text-2); }
.preis__liste li b { color: var(--text); font-weight: 500; white-space: nowrap; }
.preis__fuss { color: var(--text-3); font-size: 13.5px; margin: 20px 0 26px; }
.preis .knopf { margin-top: auto; align-self: flex-start; }
.preis--hervor { border-color: transparent; }
.preis--hervor .preis__rahmen {
  position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 1; pointer-events: none; overflow: hidden;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.preis--hervor .preis__rahmen::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; translate: -50% -50%;
  background: conic-gradient(transparent 0deg, var(--cyan) 60deg, var(--violett) 120deg, var(--rosa) 180deg, transparent 240deg);
  animation: drehen 6s linear infinite;
}
.preis--hervor::after { opacity: 1; background: radial-gradient(500px circle at 80% 0%, rgb(var(--violett-rgb) / 0.16), transparent 60%); }

/* ---------- ATSE ---------- */
.atse { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.atse__bild { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.atse__bild svg { width: 100%; height: 100%; overflow: visible; }
.ring { fill: none; stroke-width: 1; transform-origin: 200px 200px; }
.ring--1 { stroke: rgb(var(--cyan-rgb) / 0.5); stroke-dasharray: 2 6; animation: drehen 60s linear infinite; }
.ring--2 { stroke: rgb(var(--violett-rgb) / 0.45); stroke-dasharray: 60 14; animation: drehen 40s linear infinite reverse; }
.ring--3 { stroke: rgb(var(--rosa-rgb) / 0.6); stroke-dasharray: 1 10; stroke-width: 3; stroke-linecap: round; animation: drehen 25s linear infinite; }
.ring--4 { stroke: url(#atse-verlauf); stroke-width: 1.5; stroke-dasharray: 120 400; animation: drehen 8s linear infinite; filter: drop-shadow(0 0 6px rgb(var(--cyan-rgb) / calc(0.9 * var(--glut-stark)))); }
.atse__kern { animation: atmen 5s ease-in-out infinite; transform-origin: 200px 200px; }
.atse p { color: var(--text-2); }
.atse__hinweis { font-size: 13.5px; color: var(--text-3) !important; }

/* ---------- Über uns + Video ---------- */
.ueber { display: grid; grid-template-columns: 1fr 1.15fr; gap: 16px; }
.ueber__person { padding: clamp(26px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.ueber__person blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.18; }
.ueber__person cite { font-style: normal; color: var(--text-3); font-size: 14.5px; }
.ueber__person cite b { display: block; color: var(--text); font-weight: 500; font-size: 16px; }
.ueber__liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; color: var(--text-2); font-size: 15.5px; }
.ueber__liste li { display: flex; gap: 12px; }
.ueber__liste li::before { content: "→"; color: var(--violett); }
.video { position: relative; aspect-ratio: 16 / 10; display: flex; }
.video__vorhang {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px;
  background:
    radial-gradient(50% 60% at 50% 45%, rgb(var(--violett-rgb) / 0.20), transparent 70%),
    linear-gradient(180deg, rgb(var(--tief-2-rgb) / 0.6), rgb(var(--grund-rgb) / 0.9));
}
.video__vorhang img { position: absolute; width: 58%; opacity: 0.18; left: 50%; top: 50%; translate: -50% -50%; filter: blur(1px); pointer-events: none; }
.video__start {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 20px auto 16px;
  border: 0; background: none; cursor: pointer; color: var(--text);
}
.video__kreis {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: var(--verlauf-pastell); color: #0a0716;
  box-shadow: 0 0 0 10px rgb(var(--violett-rgb) / 0.12), 0 0 60px rgb(var(--violett-rgb) / 0.7);
  transition: transform 0.4s var(--sanft);
}
.video__start:hover .video__kreis { transform: scale(1.06); }
.video__kreis svg { width: 30px; height: 30px; margin-left: 4px; }
.video__beschriftung {
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--linie-2); background: rgb(var(--tinte-rgb) / 0.05);
  font-size: 15px; font-weight: 500;
}
.video__titel { position: relative; font-size: 18px; font-weight: 500; margin: 0; }
.video__hinweis { position: relative; font-size: 12.5px; color: var(--text-3); max-width: 440px; margin: 0 auto; }
.video__hinweis a, .schluss__fussnote a { text-decoration: underline; text-underline-offset: 3px; }
.schluss .schluss__fussnote { position: relative; font-size: 13px; color: var(--text-3); margin: 18px auto 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Karte neben „Über uns“: Weg zu den Videos */
.kanaele { padding: clamp(26px, 3.4vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.kanaele__loewe { position: absolute; width: 46%; right: -6%; bottom: -10%; opacity: 0.12; filter: blur(1px); pointer-events: none; z-index: -1; }
.kanaele h3 { margin: 0; font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; line-height: 1.2; }
.kanaele p { margin: 0; color: var(--text-2); }
.kanaele__wege { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.kanaele__wege svg, .filme__kanaele svg { width: 18px; height: 18px; }

/* ---------- Demo-Videos (Startseite unter der Live-Demo, Leistungsseiten) ---------- */
.filme { scroll-margin-top: 96px; }
/* Live-Demo: erst die Videos, darunter die Klick-Demo zum Selbstausprobieren */
.demo__teil { margin-top: clamp(64px, 8vw, 104px); }
.filme__kopf, .demo__kopf, .abos__titel { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 20px; }
.filme__kopf h3, .demo__kopf h3, .abos__titel h3 { margin: 0; font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; line-height: 1.2; }
.filme__kopf p, .demo__kopf p, .abos__titel p { margin: 0; color: var(--text-2); }
.filme__raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.filme__raster--eins { grid-template-columns: minmax(0, 880px); }
.film { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.video--film { aspect-ratio: 16 / 9; }
.video__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--sanft); }
.video__schleier { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(20deg, rgb(6 5 12 / 0.7), transparent 42%); }
/* ganze Fläche klickbar, Knopf links unten – die Vorschaubilder haben ihre Überschrift selbst in der Mitte links */
.video--film .video__start { position: absolute; inset: 0; margin: 0; padding: clamp(12px, 2vw, 18px); display: flex; flex-direction: row; align-items: flex-end; justify-content: flex-start; z-index: 1; }
.video__knopf { display: flex; align-items: center; gap: 10px; }
.video--film .video__kreis { width: 52px; height: 52px; box-shadow: 0 0 0 7px rgb(var(--violett-rgb) / 0.14), 0 0 40px rgb(var(--violett-rgb) / 0.6); }
.video--film .video__kreis svg { width: 21px; height: 21px; margin-left: 3px; }
.video--film .video__beschriftung { background: rgb(var(--grund-rgb) / 0.6); backdrop-filter: blur(6px); }
.video--film:hover .video__kreis { transform: scale(1.06); }
@media (max-width: 680px) {
  .video--film .video__kreis { width: 42px; height: 42px; box-shadow: 0 0 0 5px rgb(var(--violett-rgb) / 0.14), 0 0 28px rgb(var(--violett-rgb) / 0.6); }
  .video--film .video__kreis svg { width: 17px; height: 17px; }
  .video--film .video__beschriftung { padding: 6px 13px; font-size: 13.5px; }
}
.video--film:hover .video__bild { transform: scale(1.03); }
.film figcaption { display: grid; gap: 4px; padding: 0 4px; }
.film figcaption b { font-size: 17px; font-weight: 500; }
.film figcaption > span { color: var(--text-2); font-size: 15px; }
.film .textlink { justify-self: start; margin-top: 6px; }
.filme__hinweis { max-width: 820px; margin: 18px 0 0; text-align: left; }
.filme__kanaele { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 760px) { .filme__raster { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .video__bild { transition: none; } .video--film:hover .video__bild { transform: none; } }

/* ---------- FAQ ---------- */
.fragen { max-width: 900px; margin-inline: auto; display: grid; gap: 12px; }
.frage { border-radius: 18px; }
.frage summary {
  list-style: none; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; letter-spacing: -0.02em;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--linie-2);
  background: center / 12px no-repeat var(--plus-bild);
  transition: transform 0.4s var(--sanft), box-shadow 0.4s;
}
.frage[open] summary::after { transform: rotate(45deg); box-shadow: 0 0 18px rgb(var(--violett-rgb) / 0.6); }
.frage p { margin: 0; padding: 0 26px 24px; color: var(--text-2); max-width: 760px; }

/* ---------- Schluss ---------- */
.schluss { text-align: center; overflow: hidden; }
.schluss__glut {
  position: absolute; left: 50%; top: 50%; width: min(1100px, 140vw); aspect-ratio: 1; translate: -50% -50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgb(var(--violett-rgb) / 0.22), rgb(var(--cyan-rgb) / 0.10) 30%, transparent 60%);
  animation: atmen 8s ease-in-out infinite;
}
.schluss__loewe { width: 120px; margin: 0 auto 30px; filter: drop-shadow(0 0 22px rgb(var(--violett-rgb) / calc(0.8 * var(--glut-stark)))); }
.schluss h2 { font-size: clamp(44px, 7.5vw, 112px); letter-spacing: -0.05em; }
.schluss p { color: var(--text-2); font-size: clamp(17px, 1.6vw, 20px); max-width: 640px; margin: 26px auto 0; }
.schluss__aktionen { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 42px; }
.schluss__wege { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 30px; margin-top: 34px; color: var(--text-3); font-size: 15px; }
.schluss__wege a { color: var(--text-2); border-bottom: 1px solid var(--linie-2); transition: color 0.3s, border-color 0.3s; }
.schluss__wege a:hover { color: var(--text); border-color: var(--violett); }

/* ---------- Fuß ---------- */
/* unten Platz für die festen Knöpfe (Social links, Chat rechts), sonst verdecken sie die letzte Zeile */
.fuss { border-top: 1px solid var(--linie); padding: 56px 0 104px; position: relative; z-index: 2; }
.fuss__oben { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.fuss__titel { margin: 0 0 14px; line-height: 1.4; font-size: 13px; font-family: var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); font-weight: 400; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.fuss ul a { color: var(--text-2); transition: color 0.25s; }
.fuss ul a:hover { color: var(--text); }
.fuss address { font-style: normal; color: var(--text-2); font-size: 15px; line-height: 1.7; margin-top: 18px; }
.fuss__unten { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--linie); color: var(--text-3); font-size: 13.5px; }

/* ---------- Anpassungen ---------- */
/* =====================================================================
   Unterseiten
   ===================================================================== */

/* ---------- Menü „Leistungen“ ---------- */
.nav__gruppe { position: relative; }
.nav__knopf {
  border: 0; background: none; cursor: pointer; padding: 8px 14px; border-radius: 999px;
  font-size: 14.5px; color: var(--text-2); transition: color 0.25s, background 0.25s;
}
.nav__knopf span { display: inline-block; font-size: 10px; margin-left: 2px; transition: transform 0.3s var(--sanft); }
.nav__knopf:hover, .nav__knopf[aria-expanded="true"] { color: var(--text); background: rgb(var(--tinte-rgb) / 0.05); }
.nav__knopf[aria-expanded="true"] span { transform: rotate(180deg); }
.megamenue {
  position: absolute; left: 50%; top: calc(100% + 14px); translate: -50% 0; width: 640px; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 10px; border-radius: 20px;
  background: rgb(var(--tief-rgb) / 0.92); border: 1px solid var(--linie-2);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 30px 80px -20px rgb(var(--schatten-rgb) / calc(0.9 * var(--schatten-stark))), 0 0 60px -20px rgb(var(--violett-rgb) / 0.45);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s, transform 0.35s var(--sanft), visibility 0.25s;
}
.nav__gruppe.ist-offen .megamenue { opacity: 1; visibility: visible; transform: none; }
.megamenue__eintrag { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; transition: background 0.25s; }
.megamenue__eintrag:hover, .megamenue__eintrag:focus-visible { background: rgb(var(--violett-rgb) / 0.08); }
.megamenue__eintrag .leistung__symbol { width: 40px; height: 40px; border-radius: 12px; }
.megamenue__eintrag .leistung__symbol svg { width: 20px; height: 20px; }
.megamenue__eintrag b { display: block; font-weight: 500; font-size: 15px; color: var(--text); }
.megamenue__eintrag small { display: block; font-size: 13px; color: var(--text-3); line-height: 1.35; }
.megamenue__eintrag--hervor { grid-column: 1 / -1; background: rgb(var(--violett-rgb) / 0.05); box-shadow: 0 0 0 1px var(--linie) inset; }

/* ---------- Seitenkopf ---------- */
.seitenkopf { position: relative; padding: 150px 0 70px; overflow: hidden; isolation: isolate; }
.seitenkopf__glut {
  position: absolute; inset: -20% -10% 0 30%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 50% at 60% 40%, rgb(var(--violett-rgb) / 0.20), transparent 70%),
    radial-gradient(30% 40% at 80% 60%, rgb(var(--rosa-rgb) / 0.16), transparent 70%),
    radial-gradient(35% 40% at 45% 30%, rgb(var(--cyan-rgb) / 0.14), transparent 70%);
  animation: wabern 14s ease-in-out infinite alternate;
}
@keyframes wabern { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }
.seitenkopf .buehne__raster {
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 40%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 70% 40%, #000 10%, transparent 75%);
}
.seitenkopf__innen { display: grid; gap: 40px; align-items: center; }
.seitenkopf__innen--zwei { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.seitenkopf__titel { font-size: clamp(38px, 5vw, 72px); letter-spacing: -0.045em; line-height: 1.02; margin: 22px 0 0; max-width: 900px; }
.seitenkopf__titel .serif { font-size: 1.08em; letter-spacing: -0.02em; }
.seitenkopf__lead { color: var(--text-2); font-size: clamp(17px, 1.4vw, 19px); max-width: 720px; margin: 24px 0 0; }
.seitenkopf__lead + .seitenkopf__lead { margin-top: 14px; }
.pfadleiste { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--text-3); margin-bottom: 22px; }
.pfadleiste a { color: var(--text-2); transition: color 0.25s; }
.pfadleiste a:hover { color: var(--text); }
.pfadleiste [aria-current] { color: var(--violett); }

.symbolbuehne { position: relative; aspect-ratio: 1; width: min(100%, 420px); justify-self: center; display: grid; place-items: center; }
.symbolbuehne__ring { position: absolute; border-radius: 50%; border: 1px solid rgb(var(--violett-rgb) / 0.25); }
.symbolbuehne__ring--1 { inset: 0; border-style: dashed; border-color: rgb(var(--cyan-rgb) / 0.3); animation: drehen 50s linear infinite; }
.symbolbuehne__ring--2 {
  inset: 14%; border: 2px solid transparent;
  background: conic-gradient(transparent 0 60%, rgb(var(--cyan-rgb) / 0.9) 75%, rgb(var(--rosa-rgb) / 0.9) 85%, transparent 95%) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: drehen 7s linear infinite;
  filter: drop-shadow(0 0 8px rgb(var(--cyan-rgb) / calc(0.8 * var(--glut-stark))));
}
.symbolbuehne__ring--3 { inset: 28%; background: radial-gradient(circle, rgb(var(--violett-rgb) / 0.25), transparent 70%); border-color: rgb(var(--violett-rgb) / 0.35); animation: atmen 5s ease-in-out infinite; }
.symbolbuehne__kern {
  position: relative; width: 34%; aspect-ratio: 1; display: grid; place-items: center; color: var(--cyan);
  filter: drop-shadow(0 0 14px rgb(var(--cyan-rgb) / calc(0.9 * var(--glut-stark)))) drop-shadow(0 0 40px rgb(var(--violett-rgb) / calc(0.7 * var(--glut-stark))));
}
.symbolbuehne__kern svg { width: 100%; height: 100%; stroke-width: 1.2; }
.symbolbuehne__plakette {
  position: absolute; bottom: 6%; left: 50%; translate: -50% 0; white-space: nowrap; margin: 0;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

/* ---------- Bausteine der Unterseiten ---------- */
.abschnitt--eng { padding: clamp(48px, 7vw, 96px) 0; }
.verweis {
  display: flex; align-items: center; gap: 18px; padding: 20px 24px; margin-bottom: clamp(48px, 6vw, 80px);
  font-size: clamp(16px, 1.4vw, 18px); color: var(--text);
}
.verweis__symbol {
  width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; color: var(--cyan);
  background: rgb(var(--cyan-rgb) / 0.1); box-shadow: 0 0 0 1px rgb(var(--cyan-rgb) / 0.25) inset;
}
.verweis__symbol svg { width: 22px; height: 22px; }
.verweis__pfeil { margin-left: auto; color: var(--violett); font-size: 20px; transition: transform 0.35s var(--sanft); }
.verweis:hover .verweis__pfeil { transform: translateX(6px); }
.pruefliste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.pruefliste li { display: flex; gap: 16px; align-items: flex-start; padding: 22px; font-size: 16px; line-height: 1.5; }
.pruefliste__haken {
  flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px;
  background: center / 13px no-repeat var(--haken-bild), rgb(var(--cyan-rgb) / 0.1);
  box-shadow: 0 0 0 1px rgb(var(--cyan-rgb) / 0.35) inset, 0 0 16px -2px rgb(var(--cyan-rgb) / 0.6);
}
.bloecke { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.block { padding: clamp(24px, 3vw, 36px); }
.block h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 0 0 16px; }
.block p { color: var(--text-2); margin: 0; }
.block p + p { margin-top: 14px; }
.block p a { color: var(--violett); }
.preisband {
  display: inline-flex; align-items: center; gap: 12px; margin: 28px 0 0; padding: 12px 20px; border-radius: 999px;
  border: 1px solid var(--linie-2); background: rgb(var(--violett-rgb) / 0.06); color: var(--text); font-size: 15.5px;
}
.preise--eins { grid-template-columns: minmax(0, 760px); margin-top: 24px; }
.dazu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dazu__karte { display: flex; flex-direction: column; padding: 26px; min-height: 230px; }
.dazu__karte b { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; margin-top: 22px; }
.dazu__karte small { color: var(--text-2); font-size: 15px; margin-top: 6px; }
.dazu__karte .textlink { margin-top: auto; padding-top: 18px; }
.schluss--klein h2 { font-size: clamp(34px, 5vw, 64px); max-width: 900px; margin-inline: auto; }

/* ---------- Rechtstexte ---------- */
.abschnitt--recht { padding: 20px 0 clamp(80px, 10vw, 140px); }
.recht { display: grid; gap: 48px; }
.recht--mit-verzeichnis { grid-template-columns: 260px minmax(0, 1fr); align-items: start; }
.recht__verzeichnis { position: sticky; top: 100px; max-height: calc(100vh - 130px); overflow: auto; padding-right: 8px; }
.recht__verzeichnis ol { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 2px; font-size: 14px; }
.recht__verzeichnis a {
  display: block; padding: 7px 12px; border-radius: 10px; color: var(--text-3); border-left: 2px solid transparent;
  transition: color 0.25s, background 0.25s, border-color 0.25s;
}
.recht__verzeichnis a:hover { color: var(--text); background: rgb(var(--tinte-rgb) / 0.04); }
.recht__verzeichnis a.ist-aktiv { color: var(--text); border-left-color: var(--cyan); background: rgb(var(--cyan-rgb) / 0.06); }
.recht__text { max-width: 820px; color: var(--text-2); font-size: 16.5px; line-height: 1.75; }
.recht__text h2 { color: var(--text); font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.025em; line-height: 1.2; margin: 56px 0 16px; scroll-margin-top: 110px; }
.recht__text h2:first-child { margin-top: 0; }
.recht__text h3 { color: var(--text); font-size: 19px; letter-spacing: -0.015em; margin: 32px 0 10px; scroll-margin-top: 110px; }
.recht__text p { margin: 0 0 14px; }
.recht__text ul, .recht__text ol { margin: 0 0 16px; padding-left: 22px; }
.recht__text li { margin-bottom: 6px; }
.recht__text a { color: var(--violett); text-decoration: underline; text-decoration-color: rgb(var(--violett-rgb) / 0.4); text-underline-offset: 3px; word-break: break-word; }
.recht__text strong { color: var(--text); font-weight: 600; }

/* ---------- Kontakt ---------- */
.kontaktwege { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; }
.kontaktweg { padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 16px; }
.kontaktweg h2 { font-size: 24px; margin: 8px 0 0; }
.kontaktweg p { color: var(--text-2); margin: 0; }
.kontaktweg p a { color: var(--violett); text-decoration: underline; text-underline-offset: 3px; }
.kontaktweg .knopf { margin-top: auto; align-self: flex-start; }
.kontaktweg__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.kontaktweg__liste li { display: grid; gap: 2px; color: var(--text); }
.kontaktweg__liste span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.kontaktweg__liste a { color: var(--text); border-bottom: 1px solid var(--linie-2); justify-self: start; }

/* ---------- Kontaktformular ---------- */
.kontakt-raster { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr); gap: 16px; align-items: start; }
.kontakt-seite { display: grid; gap: 16px; }
.formular-karte { scroll-margin-top: 100px; }
.formular { display: grid; gap: 18px; margin-top: 4px; }
/* display:grid schlüge sonst das hidden-Attribut (nach dem Senden: Formular weg, Dank da) */
.formular[hidden], .formular__danke[hidden] { display: none; }
.formular__raster { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feld { display: grid; gap: 7px; position: relative; }
.feld--breit { grid-column: 1 / -1; }
.feld > span { font-size: 13.5px; color: var(--text-2); }
.feld input, .feld select, .feld textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; font: inherit; font-size: 15.5px; color: var(--text);
  background: rgb(var(--grund-rgb) / 0.6); border: 1px solid var(--linie-2); transition: border-color 0.25s, box-shadow 0.25s;
}
.feld textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.feld select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.feld select option { background: var(--grund-2); color: var(--text); }
.feld input:focus, .feld select:focus, .feld textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgb(var(--cyan-rgb) / 0.16), 0 0 24px -6px rgb(var(--cyan-rgb) / 0.55);
}
.feld--fehler input, .feld--fehler select, .feld--fehler textarea { border-color: var(--rosa); box-shadow: 0 0 0 3px rgb(var(--rosa-rgb) / 0.18); }
.feld__zaehler { justify-self: end; font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
/* Falle für Automaten: aus dem Bild, aber nicht display:none (das erkennen manche Automaten) */
.feld--falle { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.formular__hinweis { margin: 0; font-size: 13px; color: var(--text-3); }
.formular__hinweis a { color: var(--violett); text-decoration: underline; text-underline-offset: 3px; }
.formular__fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.formular .knopf { margin-top: 0; }
.formular .knopf:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.formular__status { margin: 0; font-size: 14px; color: var(--text-2); }
.formular__status--fehler { color: var(--rosa); }
.formular__danke { display: grid; justify-items: start; gap: 10px; padding: 18px 0 6px; outline: none; }
.formular__danke h3 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); }
.formular__danke p { margin: 0; color: var(--text-2); }
.formular__danke a { color: var(--violett); text-decoration: underline; text-underline-offset: 3px; }
.formular__haken {
  width: 52px; height: 52px; border-radius: 50%; position: relative;
  background: radial-gradient(circle, rgb(var(--cyan-rgb) / 0.25), transparent 70%); box-shadow: 0 0 0 1px rgb(var(--cyan-rgb) / 0.5) inset, 0 0 30px -4px rgb(var(--cyan-rgb) / 0.8);
}
.formular__haken::after {
  content: ""; position: absolute; left: 19px; top: 13px; width: 11px; height: 20px; border: solid var(--cyan);
  border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}

/* ---------- Porträt, Fehlerseite ---------- */
.portrait {
  margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 320px; position: relative;
  box-shadow: 0 0 0 1px var(--linie-2), 0 30px 60px -30px rgb(var(--schatten-rgb) / calc(0.8 * var(--schatten-stark))), 0 0 50px -20px rgb(var(--violett-rgb) / 0.6);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(var(--grund-rgb) / 0.55)); pointer-events: none; }
.fehlerseite { min-height: 100svh; display: grid; place-items: center; padding-top: 120px; }
.fehlerseite h1 { font-size: clamp(40px, 6vw, 84px); letter-spacing: -0.045em; line-height: 1.02; margin: 18px 0 0; }

/* =====================================================================
   KI-Chat
   ===================================================================== */
.chat { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80; }
.chat[hidden] { display: none; }
.chat__start {
  display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--linie-2); background: rgb(var(--tief-rgb) / 0.78); color: var(--text); font-size: 14.5px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px -12px rgb(var(--schatten-rgb) / calc(0.8 * var(--schatten-stark))), 0 0 40px -10px rgb(var(--violett-rgb) / 0.6);
  transition: transform 0.4s var(--sanft), box-shadow 0.4s, opacity 0.3s;
  animation: hochkommen 0.8s var(--sanft) 1.5s both;
}
@keyframes hochkommen { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.chat__start:hover { transform: translateY(-3px); box-shadow: 0 22px 60px -12px rgb(var(--schatten-rgb) / calc(0.8 * var(--schatten-stark))), 0 0 60px -6px rgb(var(--violett-rgb) / 0.8); }
.chat__start b { font-weight: 500; }
.chat.ist-offen .chat__start { opacity: 0; pointer-events: none; transform: scale(0.9); }
/* Chat-Symbol: kleine Fassung der Symbolbühne – drehende Ringe, Sprechblase mit KI-Funken */
.chat__symbol {
  position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%;
  color: var(--cyan); background: radial-gradient(circle, rgb(var(--violett-rgb) / 0.16), transparent 70%);
}
.chat__ring { position: absolute; border-radius: 50%; }
.chat__ring--1 { inset: 0; border: 1px dashed rgb(var(--cyan-rgb) / 0.45); animation: drehen 24s linear infinite; }
.chat__ring--2 {
  inset: 3px; border: 2px solid transparent;
  background: conic-gradient(transparent 0 55%, rgb(var(--cyan-rgb) / 0.95) 72%, rgb(var(--rosa-rgb) / 0.95) 84%, transparent 94%) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: drehen 4s linear infinite;
  filter: drop-shadow(0 0 4px rgb(var(--cyan-rgb) / calc(0.8 * var(--glut-stark))));
}
.chat__ring--3 { inset: 9px; border: 1px solid rgb(var(--violett-rgb) / 0.35); background: radial-gradient(circle, rgb(var(--violett-rgb) / 0.28), transparent 72%); animation: atmen 5s ease-in-out infinite; }
.chat__symbol svg { position: relative; width: 20px; height: 20px; filter: drop-shadow(0 0 6px rgb(var(--cyan-rgb) / calc(0.9 * var(--glut-stark)))) drop-shadow(0 0 14px rgb(var(--violett-rgb) / calc(0.6 * var(--glut-stark)))); }
.chat__funke { transform-box: fill-box; transform-origin: center; animation: funkeln 2.6s ease-in-out infinite; }
@keyframes funkeln { 0%, 100% { transform: scale(0.8); opacity: 0.75; } 50% { transform: scale(1.15); opacity: 1; } }
/* während der Assistent antwortet, dreht der Leuchtbogen schneller */
.chat.denkt .chat__ring--2 { animation-duration: 1.1s; }
.chat__symbol--klein { width: 34px; height: 34px; }
.chat__symbol--klein .chat__ring--2 { inset: 2px; }
.chat__symbol--klein .chat__ring--3 { inset: 7px; }
.chat__symbol--klein svg { width: 16px; height: 16px; }
.chat__fenster {
  position: absolute; right: 0; bottom: 0; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100svh - 110px));
  display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
  background: rgb(var(--tief-rgb) / 0.94); border: 1px solid var(--linie-2);
  backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3);
  box-shadow: 0 40px 100px -20px rgb(var(--schatten-rgb) / calc(0.95 * var(--schatten-stark))), 0 0 80px -30px rgb(var(--violett-rgb) / 0.7);
  transform-origin: bottom right; animation: fenster-auf 0.45s var(--sanft);
}
.chat__fenster[hidden] { display: none; }
@keyframes fenster-auf { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
.chat__kopf { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px 18px; border-bottom: 1px solid var(--linie); }
.chat__kopf h2 { margin: 0; font-size: 16px; letter-spacing: -0.01em; line-height: 1.2; }
.chat__kopf p { margin: 0; font-size: 12.5px; color: var(--text-3); }
.chat__zu {
  margin-left: auto; width: 36px; height: 36px; border-radius: 10px; border: 0; background: rgb(var(--tinte-rgb) / 0.05);
  cursor: pointer; display: grid; place-items: center; color: var(--text-2);
}
.chat__zu:hover { background: rgb(var(--tinte-rgb) / 0.1); color: var(--text); }
.chat__zu svg { width: 18px; height: 18px; }
.chat__verlauf {
  flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgb(var(--violett-rgb) / 0.3) transparent;
}
.chat__hinweis { margin: auto 0; padding: 18px; border-radius: 16px; border: 1px solid var(--linie-2); background: rgb(var(--violett-rgb) / 0.06); font-size: 14px; color: var(--text-2); }
.chat__hinweis p { margin: 0 0 14px; }
.chat__hinweis a { color: var(--violett); text-decoration: underline; text-underline-offset: 3px; }
.chat__nachricht {
  max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.55;
  white-space: pre-wrap; word-break: break-word; animation: blase-rein 0.4s var(--sanft) both;
}
.chat__nachricht--nutzer {
  align-self: flex-end; border-bottom-right-radius: 4px;
  background: linear-gradient(120deg, rgb(var(--cyan-rgb) / 0.18), rgb(var(--violett-rgb) / 0.18)); border: 1px solid rgb(var(--cyan-rgb) / 0.28);
}
.chat__nachricht--assistent { align-self: flex-start; background: rgb(var(--tinte-rgb) / 0.04); border: 1px solid var(--linie); border-bottom-left-radius: 4px; color: var(--text); }
.chat__nachricht--fehler { align-self: stretch; max-width: none; background: rgb(var(--rosa-rgb) / 0.08); border: 1px solid rgb(var(--rosa-rgb) / 0.3); color: var(--text-2); font-size: 13.5px; }
.chat__nachricht a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.chat__nachricht.schreibt::after {
  content: ""; display: inline-block; width: 7px; height: 14px; margin-left: 3px; vertical-align: -2px;
  background: var(--cyan); animation: blinken 1s steps(1) infinite;
}
.chat__schluss {
  padding: 16px; border-radius: 16px; font-size: 14px; color: var(--text-2);
  border: 1px solid rgb(var(--cyan-rgb) / 0.3); background: linear-gradient(140deg, rgb(var(--cyan-rgb) / 0.08), rgb(var(--rosa-rgb) / 0.08));
  animation: blase-rein 0.4s var(--sanft) both;
}
.chat__schluss p { margin: 0 0 14px; }
.chat__schluss b { color: var(--text); font-weight: 500; }
.chat__schluss-wege { display: flex; flex-wrap: wrap; gap: 8px; }
.chat__vorschlaege { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; }
.chat__vorschlaege[hidden] { display: none; }
.chat__vorschlaege button {
  border: 1px solid var(--linie-2); background: rgb(var(--tinte-rgb) / 0.03); color: var(--text-2); border-radius: 999px;
  padding: 7px 12px; font-size: 13px; cursor: pointer; transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.chat__vorschlaege button:hover { color: var(--text); border-color: rgb(var(--cyan-rgb) / 0.5); background: rgb(var(--cyan-rgb) / 0.06); }
.chat__eingabe {
  display: flex; gap: 8px; align-items: flex-end; margin: 0 12px; padding: 8px; border-radius: 16px;
  border: 1px solid var(--linie-2); background: rgb(var(--tinte-rgb) / 0.03); transition: border-color 0.25s, box-shadow 0.25s;
}
.chat__eingabe[hidden] { display: none; }
.chat__eingabe:focus-within { border-color: rgb(var(--cyan-rgb) / 0.5); box-shadow: 0 0 24px -8px rgb(var(--cyan-rgb) / 0.6); }
.chat__eingabe textarea {
  flex: 1; resize: none; border: 0; background: none; color: var(--text); font: inherit; font-size: 15px; line-height: 1.45;
  padding: 6px; max-height: 120px; outline: none;
}
.chat__eingabe textarea::placeholder { color: var(--text-3); }
.chat__eingabe button {
  width: 38px; height: 38px; flex: none; border: 0; border-radius: 12px; cursor: pointer; display: grid; place-items: center;
  color: #0a0716; background: var(--verlauf-pastell); box-shadow: 0 0 18px -4px rgb(var(--violett-rgb) / 0.8);
}
.chat__eingabe button[disabled] { opacity: 0.4; cursor: default; }
.chat__eingabe button svg { width: 18px; height: 18px; }
.chat__fuss { margin: 0; padding: 10px 18px 14px; font-size: 11.5px; color: var(--text-3); text-align: center; }

@media (max-width: 1080px) {
  .seitenkopf__innen--zwei { grid-template-columns: 1fr; }
  .symbolbuehne { width: min(70%, 320px); order: -1; }
  .recht--mit-verzeichnis { grid-template-columns: 1fr; }
  .recht__verzeichnis { position: static; max-height: none; padding: 18px; border: 1px solid var(--linie); border-radius: 18px; }
  .kontaktwege { grid-template-columns: 1fr; }
  .kontakt-raster { grid-template-columns: 1fr; }
  .dazu { grid-template-columns: 1fr; }
  .megamenue {
    position: static; width: auto; translate: none; display: none; grid-template-columns: 1fr; padding: 4px 0 8px;
    background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .nav__gruppe.ist-offen .megamenue { display: grid; }
  .kopf.ist-offen .nav { overflow-y: auto; overscroll-behavior: contain; }
  .kopf.ist-offen .nav__knopf {
    width: 100%; text-align: left; font-size: 20px; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--linie); color: var(--text-2);
  }
  .kopf.ist-offen .nav .megamenue__eintrag { font-size: 16px; padding: 10px 4px; border-bottom: 0; }
  .kopf.ist-offen .nav__knopf span { font-size: 14px; margin-left: 6px; }
}
@media (max-width: 680px) {
  .seitenkopf { padding: 110px 0 40px; }
  .chat__start-text { display: none; }
  .chat__start { padding: 6px; }
  .chat__symbol:not(.chat__symbol--klein) { width: 48px; height: 48px; }
  .chat__symbol:not(.chat__symbol--klein) svg { width: 22px; height: 22px; }
  .chat__fenster { position: fixed; inset: auto 8px 8px 8px; width: auto; height: min(80svh, 640px); }
  .sozial { padding: 5px; }
  .sozial a { width: 44px; height: 44px; }
  .verweis { align-items: flex-start; }
  .modus { --modus-b: 56px; --modus-k: 26px; }
  .modus svg { width: 14px; height: 14px; }
}
/* schmale Handys: „Erstgespräch“ statt „Erstgespräch buchen“, damit Schalter und Menü in die Kopfzeile passen */
@media (max-width: 420px) {
  .nur-breit { display: none; }
}
@media (max-width: 350px) {
  .kopf__innen { gap: 8px; }
  .modus { --modus-b: 50px; --modus-k: 22px; padding: 0 6px; }
  .modus svg { width: 12px; height: 12px; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .kopf .modus { margin-left: auto; }
  .burger {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
    background: rgb(var(--tinte-rgb) / 0.04); border: 1px solid var(--linie-2);
  }
  .burger span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform 0.35s var(--sanft); }
  .kopf.ist-offen .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .kopf.ist-offen .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  /* ohne backdrop-filter, sonst wäre der Kopf der Bezugsrahmen für das fixierte Menü */
  .kopf.ist-offen { background: var(--menue); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .kopf.ist-offen .nav {
    display: flex; flex-direction: column; position: fixed; left: 0; right: 0; top: 76px; bottom: 0;
    padding: 12px var(--rand) 28px; background: var(--menue); border-bottom: 1px solid var(--linie);
  }
  .kopf.ist-offen .nav a { font-size: 20px; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--linie); }

  .buehne__innen { grid-template-columns: 1fr; }
  .buehne__bild { max-width: 560px; width: 100%; justify-self: center; margin-top: 10px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .leistung--gross { grid-row: auto; }
  .rechner, .preise, .ueber, .atse { grid-template-columns: 1fr; }
  /* Vertrauenskarte zuerst und kompakt: Foto rund links, Name daneben, Zitat darunter */
  .zeit:has(> .person) { grid-template-columns: 1fr; }
  .person { order: -1; justify-self: stretch; max-width: 640px; display: grid; grid-template-columns: 112px 1fr; gap: 6px 20px; padding: 16px 18px; }
  .person__bild { grid-row: 1 / span 2; align-self: center; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 2px rgb(var(--cyan-rgb) / 0.35), 0 0 26px -6px rgb(var(--cyan-rgb) / 0.6); }
  .person__bild::after { display: none; }
  .person__bild img { object-position: 50% 28%; }
  .person__text { display: contents; }
  .person__marke { grid-column: 2; grid-row: 1; align-self: end; }
  .person__name { grid-column: 2; grid-row: 2; align-self: start; }
  .person__zitat { grid-column: 1 / -1; grid-row: 3; margin-top: 12px; }
  .person__punkte { grid-column: 1 / -1; grid-row: 4; margin-top: 6px; }
  .person .textlink { grid-column: 1 / -1; grid-row: 5; margin-top: 8px; justify-self: start; }
  .grundsaetze { grid-template-columns: 1fr; }
  .fuss__oben { grid-template-columns: 1fr 1fr; }
  .demo__feld { grid-template-columns: 1fr; gap: 0; }
  .demo__leitung { justify-self: center; width: 2px; height: 34px; margin: 6px 0; }
  .demo__leitung::after { left: -3px; top: 0; }
  .demo__leitung.fliesst { background: linear-gradient(var(--cyan), var(--violett)); }
  .demo__leitung.fliesst::after { animation-name: fliessen-runter; }
  .demo__kasten { min-height: 0; }
}
@keyframes fliessen-runter { 0% { top: 0; opacity: 1; } 100% { top: calc(100% - 8px); opacity: 0; } }

@media (max-width: 680px) {
  body { font-size: 16px; }
  .kopf__innen { height: 66px; gap: 12px; }
  .kopf.ist-offen .nav { top: 66px; }
  .marke span { display: none; }
  .buehne { padding-top: 82px; }
  .buehne__bild { order: -1; max-width: 250px; margin: 0 auto -14px; }
  .buehne .chip { display: none; }
  .schwebe { display: none; }
  .buehne__aktionen .knopf { width: 100%; }
  .demo__reiter { display: flex; }
  .demo__reiter button { flex: 1; padding: 9px 6px; font-size: 13px; line-height: 1.25; white-space: normal; }
  .kennzahlen { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .leistung--gross, .leistung--breit { grid-column: auto; }
  .leistung--ganz { flex-direction: column; align-items: flex-start; }
  .leistung--zentrale { grid-template-columns: 1fr; }
  .person { grid-template-columns: 72px 1fr; gap: 4px 14px; padding: 14px; }
  .person__zitat { font-size: 20px; }
  .person__marke { font-size: 11px; letter-spacing: 0.06em; gap: 8px; }
  .person__punkte li + li { display: none; }
  .formular__raster { grid-template-columns: 1fr; }
  .formular .knopf { width: 100%; }
  .feld input, .feld select, .feld textarea { font-size: 16px; }   /* iOS zoomt sonst beim Antippen */
  .zentrale__kacheln b { font-size: 21px; }
  .abo-zeile label { font-size: 14.5px; }
  .leistung__preis { text-align: left; }
  .leistung { min-height: 0; padding: 24px; }
  .ablauf__strahl { left: 21px; }
  .schritt { grid-template-columns: 44px 1fr; gap: 18px; }
  .schritt__nr { width: 44px; height: 44px; }
  .fuss__oben { grid-template-columns: 1fr; }
  .schluss__aktionen .knopf { width: 100%; }
}

@media (hover: none) {
  .licht { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .auftritt, .zeige { opacity: 1; transform: none; filter: none; }
  .loewe__png { opacity: 1; }
  .loewe__linien { display: none; }
  .schwebe { opacity: 1; translate: 0 0; }
  .zeit__text .w { opacity: 1; }
  .band__liste { animation: none; }
}
