/* ==========================================================================
   mindstroem 2026 – Gestaltungssystem
   Idee: "Licht im Fluss". Tiefes Schwarz, darin Licht in Lila und Blau.
   Leuchten markiert nur, was wichtig ist: Hauptaktion, aktiver Zustand, Fokus.
   ========================================================================== */

/* ---------- Schriften (lokal, keine Verbindung zu Google) ---------- */
@font-face {
  font-family: 'Mona Sans'; font-style: normal; font-display: swap;
  font-weight: 200 900; font-stretch: 75% 125%;
  src: url(../schriften/mona-sans-latin-standard-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Mona Sans'; font-style: normal; font-display: swap;
  font-weight: 200 900; font-stretch: 75% 125%;
  src: url(../schriften/mona-sans-latin-ext-standard-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Martian Mono'; font-style: normal; font-display: swap;
  font-weight: 100 800; font-stretch: 75% 112.5%;
  src: url(../schriften/martian-mono-latin-standard-normal.woff2) format('woff2-variations');
}


/* ---------- Grundwerte ---------- */
:root {
  --grund: #05040b;
  --grund-2: #0a0914;
  --flaeche: #0f0d1c;
  --flaeche-2: #161329;
  --linie: rgba(196, 184, 255, 0.10);
  --linie-stark: rgba(196, 184, 255, 0.22);
  --text: #f4f2ff;
  --text-2: #bdb7d8;
  --text-3: #a29cbd;

  --lila: #8a4dff;
  --lila-hell: #b896ff;
  --lila-tief: #5b21d6;
  --blau: #3d7bff;
  --cyan: #8eeaff;
  --verlauf: linear-gradient(100deg, #9a5bff 0%, #b38bff 28%, #6f8dff 62%, #8eeaff 100%);
  --glut: 0 0 24px rgba(138, 77, 255, 0.55), 0 0 64px rgba(61, 123, 255, 0.25);

  --szene-a: #8a4dff;
  --szene-b: #3d7bff;
  --szene-c: #a5f0ff;

  --schrift: 'Mona Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Martian Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --rand: clamp(20px, 4.2vw, 64px);
  --max: 1400px;
  --abstand: clamp(76px, 15vw, 220px);
  --radius: 20px;
  --radius-gross: 28px;
  --kopf-hoehe: 82px;
  --weich: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-hoehe) + 24px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--schrift);
  font-size: clamp(16px, 0.35vw + 15px, 18.5px);
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: rgba(138, 77, 255, 0.55); color: #fff; }

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

.unsichtbar {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.springen {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--text); color: var(--grund); font-weight: 600;
  transition: top .2s;
}
.springen:focus { top: 16px; }

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

/* ---------- Szene (three.js) ---------- */
#szene {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh;
  z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity 1.2s var(--weich);
}
/* Hinter Text werden nur die Punkte selbst weich (Lesekästen im Shader, szene.js), nicht die ganze Ebene */
.szene-bereit #szene { opacity: 1; }
.szene-schleier {
  /* sanfte Lichtwolke hinter den Punkten, gibt Tiefe */
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 72% 42%, rgba(91, 33, 214, 0.16), transparent 70%),
    radial-gradient(50vw 40vh at 20% 90%, rgba(61, 123, 255, 0.07), transparent 70%);
}
.szene-ersatz { display: none; }
.ohne-szene #szene { display: none; }
.ohne-szene .szene-ersatz {
  display: block; position: fixed; z-index: 0; pointer-events: none;
  right: 6vw; top: 22vh; width: min(44vw, 560px); opacity: .9;
  filter: drop-shadow(0 0 18px rgba(138, 77, 255, .8)) drop-shadow(0 0 60px rgba(61, 123, 255, .4));
}
.ohne-szene .szene-ersatz img { width: 100%; opacity: .16; }
@media (max-width: 819px) {
  .ohne-szene .szene-ersatz { right: -10vw; top: 12vh; width: 80vw; opacity: .5; }
}

/* main ohne z-index: sonst bildet es eine eigene Ebene und die Lichthand kann ihr Schwarz nicht mit dem Hintergrund verrechnen */
main, .fuss { position: relative; }
.kopf { position: relative; z-index: 1; }

/* ---------- Typografie ---------- */
.titel-xl, .titel-l, .titel-m, .titel-s {
  font-family: var(--schrift);
  font-weight: 560;
  font-stretch: 108%;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}
.titel-xl { font-size: clamp(44px, 7.4vw, 124px); }
.titel-l { font-size: clamp(36px, 5.2vw, 84px); line-height: 1.0; }
.titel-m { font-size: clamp(28px, 3.4vw, 52px); line-height: 1.04; letter-spacing: -0.03em; }
.titel-s { font-size: clamp(22px, 2vw, 30px); line-height: 1.1; letter-spacing: -0.02em; }


.kennung, .mini {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 22px;
}
.kennung { color: var(--lila-hell); display: inline-flex; align-items: center; gap: 12px; }
.kennung::before { /* Lichtlinie läuft aus dem Nichts auf die Kennung zu */
  content: ''; width: 44px; height: 1px;
  background: linear-gradient(90deg, rgba(154, 91, 255, 0), #b38bff 55%, #8eeaff);
  box-shadow: 0 0 10px rgba(138, 77, 255, .9);
}
.einleitung {
  font-size: clamp(18px, 1.25vw + 12px, 23px);
  line-height: 1.5;
  color: var(--text-2);
  max-width: 34em;
  margin-top: 30px;
}
.leise { color: var(--text-3); }
.klein { font-size: 13.5px; color: var(--text-3); }
.nr { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--text-3); }

.satz-gross {
  font-size: clamp(24px, 2.6vw, 42px);
  line-height: 1.28;
  font-weight: 450;
  font-stretch: 104%;
  letter-spacing: -0.018em;
  max-width: 24em;
}
.satz-mittel { font-size: clamp(19px, 1.5vw, 24px); line-height: 1.55; color: var(--text-2); max-width: 36em; }

/* Wort-Animation: Wörter liegen in eigenen Spans */
[data-woerter] .wort { display: inline-block; will-change: transform; }
[data-woerter] .wort-huelle { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- Knöpfe und Links ---------- */
/* Hauptknopf: Neon-Ring, ein heller Lichtpunkt läuft langsam um (Vorbild Pinterest-Pinnwand).
   Sparsam gebaut (Leistungsmessung 02.12.2026): Der Ring ist ein großes Quadrat mit Farbverlauf
   (::before), das sich nur dreht. Drehen per transform erledigt die Grafikkarte allein, ohne die
   Seite neu zu zeichnen. Der Knopf schneidet das Quadrat auf seine Pillenform zu, die dunkle
   Innenfläche (::after) deckt es bis auf die 2 px breite Kante ab. Der Lichthof außen ist ein
   ruhender Schatten. NICHT wieder als @property-Winkel im conic-gradient animieren. */
.knopf {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 26px 0 28px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: #6a3dff;
  color: #fff;
  font-weight: 560; font-size: 16px; font-stretch: 104%; letter-spacing: -0.005em;
  box-shadow: 0 0 14px rgba(138, 77, 255, .55), 0 0 36px rgba(61, 123, 255, .26);
  transition: transform .4s var(--weich), box-shadow .4s var(--weich);
  white-space: nowrap;
}
.knopf::before { /* drehender Lichtring */
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  left: 50%; top: 50%; width: calc(100% + 120px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: conic-gradient(#7b3dff 0deg, #b896ff 50deg, #ffffff 82deg, #8eeaff 112deg, #3d7bff 190deg, #6a3dff 280deg, #7b3dff 360deg);
  animation: kante-drehen 7s linear infinite;
}
.knopf::after { /* dunkle Innenfläche */
  content: ''; position: absolute; inset: 2px; z-index: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 150% at 50% 125%, rgba(138, 77, 255, .5), transparent 62%), #0b0918;
  box-shadow: inset 0 0 18px rgba(138, 77, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.knopf > * { position: relative; z-index: 1; }
.knopf .pfeil { width: 18px; height: 18px; transition: transform .4s var(--weich); }
.knopf:hover, .knopf:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(150, 100, 255, .8), 0 0 52px rgba(61, 123, 255, .42);
}
.knopf:hover .pfeil { transform: translateX(3px); }
.knopf:active { transform: translateY(0) scale(.98); }
.knopf:disabled, .knopf[aria-busy="true"] { cursor: progress; opacity: .7; }
.knopf:disabled::before, .knopf[aria-busy="true"]::before { animation-duration: 1.2s; }
.knopf-klein { min-height: 44px; padding: 0 18px; font-size: 14.5px; box-shadow: 0 0 10px rgba(138, 77, 255, .45), 0 0 24px rgba(61, 123, 255, .2); }
@keyframes kante-drehen { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .knopf::before { animation: none; transform: translate(-50%, -50%) rotate(-70deg); } }

.textlink {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 520; color: var(--text);
  padding-block: 6px;
  background: linear-gradient(var(--lila-hell), var(--lila-hell)) left bottom / 0 1px no-repeat;
  transition: background-size .5s var(--weich), color .3s;
}
.textlink .pfeil { width: 18px; height: 18px; transition: transform .4s var(--weich); }
.textlink:hover { background-size: 100% 1px; color: #fff; }
.textlink:hover .pfeil { transform: translateX(4px); }
.zurueck { color: var(--text-2); margin-bottom: 36px; font-size: 15px; }
.zurueck:hover .pfeil { transform: translateX(-4px); }

.pfeil { width: 20px; height: 20px; flex: none; }

/* ---------- Kopf ---------- */
.kopf {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  padding: 14px var(--rand);
  transition: transform .5s var(--weich);
}
.kopf-innen {
  display: flex; align-items: center; gap: 28px;
  max-width: var(--max); margin: 0 auto;
  height: 62px; padding: 0 8px 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}
.kopf.ist-gerollt .kopf-innen {
  background: rgba(9, 8, 19, 0.88);
  border-color: var(--linie);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  backdrop-filter: blur(24px) saturate(1.2);
}
/* Dunkler Verlauf hinter der schwebenden Leiste: Gescrolltes läuft nicht sichtbar über oder durch sie */
.kopf::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: -28px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, #05040b 0%, rgba(5, 4, 11, .92) 55%, rgba(5, 4, 11, 0));
  opacity: 0; transition: opacity .4s;
}
.kopf.ist-gerollt::before { opacity: 1; }
.kopf.ist-versteckt { transform: translateY(-110%); }
.marke { display: inline-flex; align-items: center; gap: 13px; color: var(--text); margin-right: auto; }
.marke-zeichen { width: 48px; color: var(--text); }
.marke-zeichen svg { width: 100%; height: auto; filter: drop-shadow(0 0 10px rgba(138, 77, 255, .75)); }
.marke-wort { width: 132px; color: var(--text); }
.marke-wort svg { width: 100%; height: auto; }
.haupt-nav ul { display: flex; gap: 4px; }
.haupt-nav a {
  position: relative; display: block; padding: 8px 14px; border-radius: 999px;
  font-size: clamp(16px, 0.35vw + 14px, 19px); font-weight: 500; color: var(--text-2);
  transition: color .3s, background .3s;
}
.haupt-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.haupt-nav a[aria-current="page"] { color: var(--text); }
.haupt-nav a[aria-current="page"]::after {
  content: ''; position: absolute; left: 50%; bottom: 1px; width: 16px; height: 2px; margin-left: -8px;
  border-radius: 2px; background: var(--verlauf); box-shadow: 0 0 10px 1px rgba(138, 77, 255, .9);
}
.menue-knopf { display: none; }

.menue {
  position: fixed; inset: 0; z-index: 39;
  padding: calc(var(--kopf-hoehe) + 40px) var(--rand) 40px;
  background: rgba(5, 4, 11, .94);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: space-between;
}
.menue[hidden] { display: none; }
.menue nav a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--linie);
  font-size: clamp(34px, 9vw, 52px); font-weight: 560; font-stretch: 108%; letter-spacing: -.03em;
}
.menue nav a[aria-current="page"] { color: var(--lila-hell); }
.menue-kontakt { display: grid; gap: 10px; color: var(--text-2); }

@media (max-width: 959px) {
  .haupt-nav, .kopf-knopf { display: none; }
  .menue-knopf {
    display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--linie-stark); background: rgba(10, 9, 20, .6); cursor: pointer;
  }
  .menue-striche, .menue-striche::before {
    display: block; width: 18px; height: 1.5px; background: var(--text); border-radius: 2px;
    transition: transform .35s var(--weich);
  }
  .menue-striche { position: relative; transform: translateY(-3px); }
  .menue-striche::before { content: ''; position: absolute; top: 6px; }
  .menue-knopf[aria-expanded="true"] .menue-striche { transform: rotate(45deg); }
  .menue-knopf[aria-expanded="true"] .menue-striche::before { transform: translateY(-6px) rotate(-90deg); }
  .kopf-innen { padding: 0 6px 0 16px; }
}

/* ---------- Abschnitte ---------- */
section { position: relative; }
.abschnitt-kopf { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.abschnitt-kopf p { color: var(--text-2); max-width: 30em; margin: 0; }
@media (max-width: 819px) { .abschnitt-kopf { grid-template-columns: 1fr; } }

/* ---------- Held (erste Ansicht) ---------- */
.held { padding-top: calc(var(--kopf-hoehe) + clamp(72px, 12vh, 140px)); padding-bottom: clamp(72px, 10vw, 140px); }
.held-inhalt { position: relative; }
/* Gestapelt (Handy, Hochformat): Partikelform steht oben, der Text rückt darunter mit Luft dazwischen */
@media (max-width: 819px), (max-aspect-ratio: 4/5) {
  .held[data-lage="rechts"]:not(.held-kompakt) { align-items: flex-start; padding-top: calc(var(--kopf-hoehe) + clamp(72px, 12vh, 140px) + 120px); }
}
.held-start {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-bottom: 40px;
}
.held-start .held-inhalt { max-width: var(--max); }
.held-start .titel-xl { max-width: 9.6em; }
.held-start .einleitung { max-width: min(31em, 44vw); }
@media (max-width: 819px), (max-aspect-ratio: 4/5) {
  /* Hochformat: oben Platz für die leuchtende Bildmarke lassen */
  .held-start { justify-content: flex-start; padding-top: max(38vh, calc(var(--kopf-hoehe) + 230px)); }
  .held-start .einleitung { max-width: 31em; }
}
.knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 44px; }

/* Lichthand: rahmenlos, Schwarz wird durch die Überblendung durchsichtig */
.held-bild { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.held-bild img { position: absolute; max-width: none; mix-blend-mode: screen; } /* Schwarz wird durchsichtig */
.held-start, .held-mit-kugel, .held-mit-hand { position: relative; }
.held-start > .rahmen, .held-mit-kugel > .rahmen, .held-mit-hand > .rahmen { position: relative; z-index: 1; }
/* Hand von rechts: Im Querformat soll die Fingerspitze immer rechts neben dem Text bleiben (Thomas, 03.12.2026,
   auch bei fast quadratischem Fenster). --textende misst seite.js (rechter Rand der Schrift im Fenster).
   --handrest = Anteil des Bildes rechts vom linkesten hellen Punkt der Hand (gemessen: Licht .55, Ikosaeder .675, Rahmen .52).
   Breite = so groß wie bisher, höchstens so, dass die Hand 72 px vor dem Text beginnt. */
.held-bild-licht img {
  --hand-rechts: 14vw; --handrest: .56;
  width: min(max(100vw, 160vh), max(60vw, calc((100vw + var(--hand-rechts) - var(--textende, 0px) - 72px) / var(--handrest))));
  right: calc(-1 * var(--hand-rechts)); top: 50%; transform: translateY(-46%);
  -webkit-mask-image: linear-gradient(to right, transparent 22%, #000 40%);
          mask-image: linear-gradient(to right, transparent 22%, #000 40%);
}
.held-bild-kugel img {
  height: min(118%, 900px); width: auto; right: max(2vw, calc((100vw - var(--max)) / 2 - 40px)); bottom: -6%;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 34%);
          mask-image: linear-gradient(to top, transparent 0%, #000 34%);
}
@media (min-width: 820px) {
  .held-bild-kugel img {
    -webkit-mask-image: linear-gradient(to top, transparent 0%, transparent 14%, #000 52%);
            mask-image: linear-gradient(to top, transparent 0%, transparent 14%, #000 52%);
  }
}
.held-mit-kugel { overflow: hidden; }
/* Unterseiten mit Lichthand von rechts (Leistungen, Projekte): Text schmal links, Hand etwas weiter rechts */
.held.held-mit-hand .titel-xl { max-width: min(8.4em, 52vw); }
.held.held-mit-hand .einleitung { max-width: min(31em, 44vw); }
.held-bild-drei img { --handrest: .675; }
.held-bild-rahmen img { --handrest: .52; }
@media (min-width: 820px) and (min-aspect-ratio: 801/1000) { .held-mit-hand .held-bild-licht img { --hand-rechts: 25vw; } } /* Leistungen: Seedream-Hand reicht weit nach links */
.held-mit-kugel .titel-xl, .held-mit-kugel .einleitung { max-width: min(10em, 62vw); }
.held-mit-kugel .einleitung { max-width: min(30em, 52vw); }
@media (max-width: 819px), (max-aspect-ratio: 4/5) {
  .held-bild-licht img { width: 170vw; right: -48vw; top: calc(var(--kopf-hoehe) - 12vw); transform: none; }
  .held-bild-rahmen img { width: 150vw; right: -22vw; top: calc(var(--kopf-hoehe) - 6vw); } /* Hand sitzt im Bild weiter rechts: ganz ins Bild holen */
  .held-start { padding-top: max(36vh, calc(var(--kopf-hoehe) + 66vw)); }
  .held.held-mit-hand { align-items: flex-start; padding-top: calc(var(--kopf-hoehe) + 58vw); }
  .held.held-mit-hand .titel-xl, .held.held-mit-hand .einleitung { max-width: none; }
}
@media (max-width: 819px) {
  .held-bild-kugel img { height: 98vw; right: -14vw; bottom: auto; top: calc(var(--kopf-hoehe) - 30vw); }
  .held-mit-kugel { padding-top: calc(var(--kopf-hoehe) + 72vw); }
  .held-mit-kugel .titel-xl, .held-mit-kugel .einleitung { max-width: none; }
}

.ueberblick { margin-top: clamp(56px, 9vh, 110px); }
.ueberblick .mini { margin-bottom: 14px; }
.ueberblick ul { display: flex; flex-wrap: wrap; gap: 10px; }
.ueberblick a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--linie); background: rgba(12, 10, 24, .45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 14.5px; color: var(--text-2);
  transition: color .3s, border-color .3s, box-shadow .3s;
}
.ueberblick a:hover { color: var(--text); border-color: rgba(184, 150, 255, .5); box-shadow: 0 0 22px rgba(138, 77, 255, .25); }
.ueberblick .nr { font-size: 10.5px; }

/* Lichtstrahl als Hinweis nach unten */
.strahl { /* hängt unter dem Startbild und führt zum nächsten Abschnitt */
  position: absolute; left: 50%; top: 100%; width: 1px; height: clamp(70px, 12vh, 130px);
  background: linear-gradient(to bottom, transparent, rgba(184, 150, 255, .6));
  overflow: hidden;
}
.strahl::after { /* läuft per transform (Grafikkarte), nicht per top (würde jedes Bild neu zeichnen) */
  content: ''; position: absolute; left: -1px; width: 3px; height: 40%; top: 0;
  background: linear-gradient(to bottom, transparent, #d9c8ff, transparent);
  box-shadow: 0 0 12px 2px rgba(138, 77, 255, .9);
  transform: translateY(-100%);
  animation: strahl-lauf 2.8s var(--weich) infinite;
}
@keyframes strahl-lauf { to { transform: translateY(275%); } }
.logos-band { position: relative; }
.logos-band .strahl { top: calc(100% + clamp(48px, 6vh, 72px)); } /* mit Luft unter den Logos, sonst hängt er an einem Logo */
@media (max-width: 819px) { .strahl { display: none; } }

.held-unter { min-height: 78vh; min-height: 78svh; display: flex; align-items: center; }
.held-unter .held-inhalt { max-width: var(--max); }
.held-unter .titel-xl { max-width: 10em; }
.held-kompakt { min-height: 0; padding-bottom: clamp(48px, 6vw, 80px); }
.mittig { text-align: center; display: flex; flex-direction: column; align-items: center; }
.mittig .einleitung { margin-inline: auto; }
.mittig .knoepfe { justify-content: center; }

/* ---------- Start: Wandel ---------- */
.wandel { padding-block: var(--abstand); }
.wandel-inhalt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 96px); }
.wandel-inhalt > * { grid-column: 2; }
.wandel .titel-l { max-width: 11em; }
.wandel .satz-gross { margin-top: 40px; color: var(--text); }
[data-scrub] .wort { opacity: .2; transition: opacity .2s linear; }
.zeigen-alles [data-scrub] .wort, .keine-bewegung [data-scrub] .wort { opacity: 1; }
.paar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 72px; }
.paar-teil { position: relative; padding-top: 28px; border-top: 1px solid var(--linie); }
.paar-punkt {
  position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%;
  background: #e7dcff; box-shadow: 0 0 0 4px rgba(138, 77, 255, .2), 0 0 18px 4px rgba(138, 77, 255, .9);
}
.paar-teil h3 { font-size: 21px; font-stretch: 106%; letter-spacing: -.015em; margin-bottom: 12px; }
.paar-teil p { color: var(--text-2); font-size: 16px; margin: 0; }
.paar-teil:last-child h3 { background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 1023px) {
  .wandel-inhalt { grid-template-columns: 1fr; }
  .wandel-inhalt > * { grid-column: 1; }
  .paar { grid-template-columns: 1fr; gap: 36px; }
}

p, li, blockquote { text-wrap: pretty; }

/* ---------- Start: Leistungen als Lichtzeilen ---------- */
.leistungen-kurz { padding-block: var(--abstand) calc(var(--abstand) * .6); }
.zeilen { border-top: 1px solid var(--linie); counter-reset: z; }
.zeile {
  position: relative;
  display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1.3fr) 40px; gap: 24px; align-items: center;
  padding: 34px 8px 34px 28px;
  border-bottom: 1px solid var(--linie);
  transition: background .5s var(--weich);
}
.zeile::before { /* vertikale Lichtkante */
  content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 3px;
  background: linear-gradient(to bottom, #b896ff, #8a4dff 50%, #3d7bff);
  box-shadow: 0 0 14px 2px rgba(138, 77, 255, .85), 0 0 46px 8px rgba(91, 33, 214, .45);
  transform: scaleY(0); transform-origin: center; opacity: 0;
  transition: transform .55s var(--weich), opacity .4s;
}
.zeile:hover, .zeile:focus-visible { background: linear-gradient(90deg, rgba(138, 77, 255, .10), transparent 70%); }
.zeile:hover::before, .zeile:focus-visible::before { transform: scaleY(1); opacity: 1; }
.zeile-titel { font-size: clamp(24px, 2.4vw, 38px); font-weight: 540; font-stretch: 108%; letter-spacing: -.03em; line-height: 1.05; }
.zeile-text { color: var(--text-2); font-size: 16px; }
.zeile .pfeil { width: 26px; height: 26px; color: var(--text-3); transition: transform .45s var(--weich), color .3s; }
.zeile:hover .pfeil { transform: translateX(6px); color: var(--lila-hell); }
.leistungen-kurz .textlink, .auswahl .textlink { margin-top: 40px; }
@media (max-width: 819px) {
  .zeile { grid-template-columns: minmax(0, 1fr) 28px; padding: 24px 4px 24px 18px; row-gap: 8px; column-gap: 16px; }
  .zeile .nr { grid-column: 1; grid-row: 1; }
  .zeile-titel { grid-column: 1; grid-row: 2; }
  .zeile-text { grid-column: 1 / -1; grid-row: 3; font-size: 15px; }
  .zeile .pfeil { grid-column: 2; grid-row: 2; }
}

/* ---------- Projektkarten ---------- */
.hud { position: relative; }
.hud::after { /* Eckmarken wie im Sucher */
  --c: rgba(220, 208, 255, .75);
  content: ''; position: absolute; inset: 12px; pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) left top / 14px 1px,
    linear-gradient(var(--c), var(--c)) left top / 1px 14px,
    linear-gradient(var(--c), var(--c)) right top / 14px 1px,
    linear-gradient(var(--c), var(--c)) right top / 1px 14px,
    linear-gradient(var(--c), var(--c)) left bottom / 14px 1px,
    linear-gradient(var(--c), var(--c)) left bottom / 1px 14px,
    linear-gradient(var(--c), var(--c)) right bottom / 14px 1px,
    linear-gradient(var(--c), var(--c)) right bottom / 1px 14px;
  background-repeat: no-repeat;
  opacity: 0; transform: scale(1.04);
  transition: opacity .5s var(--weich), transform .6s var(--weich);
}
a:hover .hud::after, a:focus-visible .hud::after, .hud.hud-an::after { opacity: 1; transform: scale(1); }

.karte a { display: block; }
.karte-bild {
  margin: 0; overflow: hidden; border-radius: var(--radius);
  background: var(--flaeche); aspect-ratio: 16 / 10;
  box-shadow: 0 0 0 1px var(--linie);
  transition: box-shadow .5s var(--weich);
}
.karte-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--weich), filter .6s; filter: saturate(.92); }
.karte a:hover .karte-bild { box-shadow: 0 0 0 1px rgba(184, 150, 255, .55), 0 18px 60px -20px rgba(138, 77, 255, .55); }
.karte a:hover .karte-bild img { transform: scale(1.035); filter: saturate(1.05); }
.hud-label {
  position: absolute; left: 22px; bottom: 20px; z-index: 1;
  display: flex; gap: 10px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
}
.hud-label span { padding: 6px 9px; border-radius: 6px; background: rgba(5, 4, 11, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--text-2); }
.karte-text { padding: 20px 4px 0; }
.karte-text h3 { font-size: clamp(20px, 1.6vw, 25px); font-stretch: 106%; letter-spacing: -.02em; line-height: 1.15; }
.karte-kunde { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--lila-hell); margin: 10px 0 0; }
.karte-kurz { color: var(--text-2); font-size: 15.5px; margin: 10px 0 0; max-width: 36em; }

.auswahl { padding-block: calc(var(--abstand) * .7) var(--abstand); }
.auswahl-raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px); }
.auswahl-raster .karte-gross { grid-column: 1 / 8; }
.auswahl-raster .karte-hoch { grid-column: 8 / 13; margin-top: 18%; }
.auswahl-raster .karte-hoch .karte-bild { aspect-ratio: 4 / 4.2; }
.auswahl-raster .karte-breit { grid-column: 2 / 7; }
.auswahl-raster .karte-normal { grid-column: 7 / 13; margin-top: 10%; }
@media (max-width: 819px) {
  .auswahl-raster { grid-template-columns: 1fr; }
  .auswahl-raster > .karte { grid-column: 1 !important; margin-top: 0 !important; }
  .auswahl-raster .karte-hoch .karte-bild { aspect-ratio: 16 / 10; }
}

/* ---------- Projekte: Text neben 16:9-Kasten mit Punkteraster ---------- */
.buehnen {
  width: min(100% - 2 * var(--rand), var(--max)); margin: clamp(24px, 4vw, 56px) auto 0;
  display: grid; gap: clamp(80px, 11vw, 160px);
}
.projekt-buehnen { margin-top: clamp(8px, 2vw, 24px); }
.buehne[hidden] { display: none; }
.buehne-link {
  --luecke: clamp(32px, 5vw, 80px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--luecke); align-items: center;
  color: inherit; border-radius: 20px;
}
.text-rechts .buehne-link { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.text-rechts .buehne-text { order: 2; }
.buehne-text { position: relative; }
.buehne-text::after { /* Leuchtlinie vom Text zum Bild */
  content: ''; position: absolute; top: 50%; left: 100%; width: var(--luecke); height: 1px;
  background: linear-gradient(90deg, rgba(184, 150, 255, 0), rgba(200, 176, 255, .95));
  box-shadow: 0 0 10px rgba(138, 77, 255, .9);
}
.text-rechts .buehne-text::after { left: auto; right: 100%; background: linear-gradient(270deg, rgba(184, 150, 255, 0), rgba(200, 176, 255, .95)); }
.buehne-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.buehne-meta .nr { color: var(--lila-hell); }
.buehne-titel { margin: 16px 0 0; font-size: clamp(28px, 3vw, 50px); font-weight: 560; font-stretch: 108%; letter-spacing: -.03em; line-height: 1.04; text-wrap: balance; }
.buehne-kurz { margin: 18px 0 26px; max-width: 26em; color: var(--text-2); font-size: clamp(16px, 1.1vw, 18.5px); line-height: 1.55; }
.buehne .textlink { align-self: flex-start; margin-top: 0; }

.raster-kasten {
  position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; isolation: isolate;
  background: #07060f;
  box-shadow: 0 0 0 1px rgba(196, 184, 255, .12), 0 40px 120px -48px rgba(91, 33, 214, .6);
  transition: box-shadow .5s var(--weich);
}
.raster-kasten img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.raster-kasten canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.raster-kasten::after { /* Eckmarken wie im Sucher */
  --c: rgba(230, 220, 255, .8);
  content: ''; position: absolute; inset: 12px; z-index: 2; pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) left top / 14px 1px, linear-gradient(var(--c), var(--c)) left top / 1px 14px,
    linear-gradient(var(--c), var(--c)) right top / 14px 1px, linear-gradient(var(--c), var(--c)) right top / 1px 14px,
    linear-gradient(var(--c), var(--c)) left bottom / 14px 1px, linear-gradient(var(--c), var(--c)) left bottom / 1px 14px,
    linear-gradient(var(--c), var(--c)) right bottom / 14px 1px, linear-gradient(var(--c), var(--c)) right bottom / 1px 14px;
  background-repeat: no-repeat;
}
.raster-mass { /* auf eigenem dunklen Schild, damit sie auf hellen Bildern lesbar bleibt */
  position: absolute; z-index: 2; left: 30px; bottom: 26px; padding: 6px 11px; border-radius: 999px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #d9c8ff;
  background: rgba(5, 4, 11, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(196, 184, 255, .22);
}
.buehne-link:hover .raster-kasten, .buehne-link:focus-visible .raster-kasten {
  box-shadow: 0 0 0 1px rgba(184, 150, 255, .5), 0 40px 120px -36px rgba(138, 77, 255, .75);
}
@media (max-width: 819px) {
  .buehne-link, .text-rechts .buehne-link { grid-template-columns: 1fr; gap: 26px; }
  .buehne-text, .text-rechts .buehne-text { order: 2; }
  .buehne-text::after { display: none; }
  .buehnen { gap: 72px; }
}

/* ---------- Zitat ---------- */
.stimme { padding-block: var(--abstand); text-align: center; }
.stimme-inhalt { margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.zitat-gross { margin: 0; }
.zitat-gross p { max-width: 18em; }
.zitat-gross p {
  font-weight: 450; font-stretch: 104%;
  font-size: clamp(30px, 3.9vw, 60px); line-height: 1.12; letter-spacing: -.03em; margin: 0;
}
.stimme figcaption { margin-top: 32px; color: var(--text-2); display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
.stimme figcaption strong { color: var(--text); font-weight: 560; }
.stimme .textlink { margin-top: 18px; color: var(--text-2); }

/* Zitat mit Foto: rahmenlos, das Bild läuft weich ins Dunkel aus */
.stimme-mit-bild { text-align: left; }
.stimme-mit-bild .stimme-inhalt {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: center;
}
.stimme-bild { position: relative; aspect-ratio: 4 / 5; isolation: isolate; }
.stimme-bild::before { /* lila Schein hinter dem Foto */
  content: ''; position: absolute; inset: 8% -6% 4% 6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(138, 77, 255, .5), rgba(61, 123, 255, .18) 60%, transparent);
  filter: blur(30px);
}
.stimme-bild img {
  width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%;
  filter: saturate(.92) contrast(1.04);
  -webkit-mask-image: radial-gradient(closest-side at 47% 46%, #000 58%, transparent 100%);
          mask-image: radial-gradient(closest-side at 47% 46%, #000 58%, transparent 100%);
}
.stimme-text { position: relative; }
.stimme-vorlauf {
  position: relative; margin: 0 0 22px; max-width: 30em; padding-left: 56px;
  color: var(--text-2); font-size: clamp(16px, 1.2vw, 19px); line-height: 1.5;
}
.stimme-vorlauf::before { /* Leuchtlinie, die zum Foto zeigt */
  content: ''; position: absolute; left: 0; top: .78em; width: 40px; height: 1px;
  background: linear-gradient(90deg, rgba(184, 150, 255, 0), rgba(200, 176, 255, .95));
  box-shadow: 0 0 10px rgba(138, 77, 255, .9);
}
.stimme-mit-bild .zitat-gross p { max-width: 13em; }
.stimme-mit-bild .zitat-gross p { font-size: clamp(34px, 4vw, 64px); }
.stimme-mit-bild figcaption { justify-content: flex-start; flex-direction: column; gap: 2px; }
.stimme-mit-bild figcaption span { color: var(--text-3); font-size: 15px; }
@media (max-width: 819px) {
  .stimme-mit-bild .stimme-inhalt { grid-template-columns: 1fr; gap: 8px; }
  .stimme-bild { width: min(78vw, 380px); aspect-ratio: 1 / 1; margin-left: -4vw; }
  .stimme-vorlauf { padding-left: 0; }
  .stimme-vorlauf::before { display: none; }
}

/* ---------- Anfrage mit Eingabezeile ---------- */
.anfrage { padding-block: var(--abstand) calc(var(--abstand) * .8); text-align: center; }
.anfrage-inhalt { max-width: 980px; display: flex; flex-direction: column; align-items: center; }
.lichtkante { /* Lichtkante mit Kegel nach unten */
  position: relative; width: min(560px, 80%); height: 2px; margin: 52px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #c9b4ff 20%, #ffffff 50%, #9ec0ff 80%, transparent);
  box-shadow: 0 0 18px 2px rgba(138, 77, 255, .9), 0 0 60px 8px rgba(91, 33, 214, .5);
}
.lichtkante::after {
  content: ''; position: absolute; left: -12%; right: -12%; top: 2px; height: 240px;
  background: radial-gradient(ellipse 50% 100% at 50% 0, rgba(157, 112, 255, .34), rgba(61, 123, 255, .08) 55%, transparent 80%);
  pointer-events: none;
}
.eingabe {
  position: relative; z-index: 1;
  width: 100%; margin-top: 36px;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 28px;
  border-radius: 26px;
  background: rgba(14, 12, 28, .62);
  border: 1px solid rgba(196, 184, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 80px -30px rgba(91, 33, 214, .6);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  text-align: left;
  transition: border-color .3s, box-shadow .3s;
}
.eingabe:focus-within { border-color: rgba(184, 150, 255, .55); box-shadow: 0 0 0 4px rgba(138, 77, 255, .14), 0 30px 80px -30px rgba(91, 33, 214, .8); }
.eingabe-feld { flex: 1; display: flex; align-items: baseline; gap: .4em; min-width: 0; font-size: clamp(18px, 1.6vw, 24px); cursor: text; }
.eingabe-vorlauf { color: var(--text); font-weight: 500; white-space: nowrap; }
.eingabe-bereich { position: relative; flex: 1; min-width: 0; }
.eingabe input {
  width: 100%; border: 0; background: none; outline: none; padding: 14px 0;
  color: var(--text); caret-color: var(--cyan);
}
.eingabe-geist { position: absolute; left: 0; top: 50%; transform: translateY(-50%); white-space: nowrap; pointer-events: none; display: flex; align-items: center; max-width: 100%; overflow: hidden; }
.geist-text { color: var(--text-3); overflow: hidden; text-overflow: ellipsis; }
.cursor {
  flex: none; width: 2px; height: 1.15em; margin-left: 3px; border-radius: 2px;
  background: #fff; box-shadow: 0 0 10px 2px rgba(184, 150, 255, .95), 0 0 26px 8px rgba(138, 77, 255, .6);
  animation: blinken 1.05s steps(1) infinite;
}
.eingabe.hat-text .eingabe-geist, .eingabe:focus-within .eingabe-geist { opacity: 0; }
@keyframes blinken { 50% { opacity: 0; } }
.anfrage .hinweis { margin-top: 18px; color: var(--text-3); font-size: 14px; }
@media (max-width: 679px) {
  .eingabe { flex-direction: column; align-items: stretch; padding: 14px 14px 14px 20px; border-radius: 22px; }
  .eingabe-feld { flex-direction: column; align-items: stretch; gap: 6px; }
  .eingabe-vorlauf { padding-top: 6px; }
  .eingabe-bereich { margin-bottom: 4px; padding: 0 14px; border-radius: 12px; background: rgba(5, 4, 11, .6); box-shadow: inset 0 0 0 1px rgba(196, 184, 255, .26); }
  .eingabe-geist { left: 14px; max-width: calc(100% - 28px); }
  .eingabe .knopf { width: 100%; }
}

/* ---------- Fuß ---------- */
.fuss { padding-top: calc(var(--abstand) * .7); border-top: 1px solid var(--linie); background: linear-gradient(to bottom, rgba(5, 4, 11, 0), rgba(5, 4, 11, .85) 40%); overflow: hidden; }
.fuss-aufruf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: clamp(56px, 7vw, 96px); margin-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--linie); }
.fuss-satz { font-size: clamp(36px, 5vw, 76px); font-weight: 560; font-stretch: 108%; letter-spacing: -.035em; line-height: 1; margin: 0; }
.fuss-spalten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.fuss-spalte p, .fuss-spalte li { font-size: 15.5px; }
.fuss-spalte a { color: var(--text-2); transition: color .3s; }
.fuss-spalte a:hover { color: var(--text); }
.fuss-spalte li + li { margin-top: 6px; }
.fuss-text { color: var(--text-3); align-self: start; margin: 0; }
.fuss-unten { margin-top: clamp(56px, 7vw, 96px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 28px 0 36px; font-size: 13.5px; color: var(--text-3); }
.fuss-unten p { margin: 0; }
.fuss-unten ul { display: flex; gap: 22px; }
.fuss-unten a:hover { color: var(--text); }
@media (max-width: 819px) {
  .fuss-spalten { grid-template-columns: 1fr 1fr; }
  .fuss-text { grid-column: 1 / -1; }
  .fuss-spalte a, .fuss-unten a { display: inline-block; padding-block: 10px; }
  .fuss-spalte li + li { margin-top: 0; }
  .fuss-unten { font-size: 14.5px; }
}

/* ---------- Leistungen ---------- */
.unternav {
  position: sticky; top: calc(var(--kopf-hoehe) + 4px); z-index: 20;
  width: min(100% - 2 * var(--rand), var(--max)); margin: 0 auto;
  transition: opacity .4s var(--weich), transform .4s var(--weich);
}
.unternav::before { /* angeheftet: dunkles Band über die ganze Breite, nichts scheint zwischen Kopf und Reitern durch */
  content: ''; position: absolute; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; pointer-events: none;
  top: calc(-1 * (var(--kopf-hoehe) + 4px)); bottom: -40px;
  /* deckend bis knapp unter die Reiter, erst darunter weich auslaufen: kein halb lesbarer Text hinter der Leiste */
  background: linear-gradient(to bottom, #05040b 0%, #05040b calc(100% - 34px), rgba(5, 4, 11, 0));
  opacity: 0; transition: opacity .35s;
}
.unternav.ist-angeheftet::before { opacity: 1; }
.unternav.ist-vorbei { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.feld { scroll-margin-top: calc(var(--kopf-hoehe) + 96px); }
.unternav ul {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 6px; border-radius: 999px; width: max-content; max-width: 100%;
  background: rgba(10, 9, 20, .7); border: 1px solid var(--linie);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.unternav ul::-webkit-scrollbar { display: none; }
.unternav ul.mehr-rechts { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent); }
.unternav ul.mehr-links { -webkit-mask-image: linear-gradient(to right, transparent, #000 44px); mask-image: linear-gradient(to right, transparent, #000 44px); }
.unternav ul.mehr-links.mehr-rechts { -webkit-mask-image: linear-gradient(to right, transparent, #000 44px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(to right, transparent, #000 44px, #000 calc(100% - 44px), transparent); }
.unternav a { display: flex; gap: 8px; align-items: center; white-space: nowrap; min-height: 44px; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--text-2); transition: color .3s, background .3s, box-shadow .3s; }
.unternav a:hover { color: var(--text); }
.unternav a.ist-aktiv { color: var(--text); background: rgba(138, 77, 255, .18); box-shadow: inset 0 0 0 1px rgba(184, 150, 255, .4), 0 0 18px rgba(138, 77, 255, .35); }
.unternav .nr { font-size: 10px; }

.feld { padding-block: clamp(56px, 8vw, 120px); border-bottom: 1px solid var(--linie); }
.feld-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(40px, 7vw, 120px); align-items: start; }
.feld-kopf { position: relative; }
.feld-nr {
  display: block; font-family: var(--mono); font-size: 13px; color: var(--lila-hell); margin-bottom: 22px;
  letter-spacing: .1em;
}
.feld-kurz { margin-top: 24px; font-size: clamp(18px, 1.3vw, 21px); color: var(--text-2); max-width: 26em; }
.punkte { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.punkte li { position: relative; padding: 13px 0 13px 22px; border-top: 1px solid var(--linie); font-size: 15.5px; }
.punkte li::before { content: ''; position: absolute; left: 2px; top: 1.4em; width: 6px; height: 6px; border-radius: 50%; background: var(--lila-hell); box-shadow: 0 0 10px 2px rgba(138, 77, 255, .8); }

/* Beispielprojekte als Leuchtknöpfe (Thomas, 03.12.2026: schlanker, nicht wie die Projektseite, Lichteffekt wie Pinterest-Pinnwand).
   Gleiche Technik wie beim Hauptknopf: Lichtring als gedrehtes Quadrat hinter einer dunklen Innenfläche.
   In Ruhe steht der Ring still (kostet nichts), bei Berührung läuft er um und wird heller. */
.feld-beispiele { margin-top: 34px; }
.feld-beispiele .mini { margin-bottom: 14px; }
.beispiele { display: grid; gap: 10px; }
.beispiel {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; gap: 16px;
  min-height: 64px; padding: 7px 8px 7px 7px; border-radius: 999px;
  color: var(--text);
  box-shadow: 0 0 14px rgba(138, 77, 255, .16);
  transition: transform .4s var(--weich), box-shadow .4s var(--weich);
}
.beispiel::before {
  content: ''; position: absolute; z-index: -2; pointer-events: none;
  left: 50%; top: 50%; width: calc(100% + 60px); aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(var(--start, 0deg));
  background: conic-gradient(#3a2a6e 0deg, #b896ff 40deg, #ffffff 62deg, #8eeaff 84deg, #3d7bff 120deg, #2a2150 190deg, #2a2150 360deg);
  opacity: .5; transition: opacity .4s;
  animation: beispiel-drehen 6s linear infinite paused;
}
.beispiele li:nth-child(2) .beispiel { --start: 120deg; }
.beispiele li:nth-child(3) .beispiel { --start: 240deg; }
.beispiel::after {
  content: ''; position: absolute; inset: 1.5px; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(90% 140% at 0% 50%, rgba(138, 77, 255, .22), transparent 60%), #0b0918;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: background .4s;
}
.beispiel-bild { flex: none; width: 50px; height: 50px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(200, 176, 255, .35); }
.beispiel-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--weich); }
.beispiel-titel { flex: 1; min-width: 0; font-weight: 520; font-size: 16px; line-height: 1.3; }
.beispiel-pfeil {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(20, 14, 44, .72);
  box-shadow: inset 0 0 0 1px rgba(200, 176, 255, .55), 0 0 14px rgba(138, 77, 255, .4);
  transition: background-color .3s, box-shadow .3s;
}
.beispiel-pfeil .pfeil { width: 17px; height: 17px; transition: transform .4s var(--weich); }
.beispiel:hover, .beispiel:focus-visible { transform: translateY(-1px); box-shadow: 0 0 20px rgba(150, 100, 255, .55), 0 0 44px rgba(61, 123, 255, .25); }
.beispiel:hover::before, .beispiel:focus-visible::before { opacity: 1; animation-play-state: running; }
.beispiel:hover .beispiel-bild img { transform: scale(1.12); }
.beispiel:hover .beispiel-pfeil { background-color: var(--lila); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 0 22px rgba(138, 77, 255, .9); }
.beispiel:hover .beispiel-pfeil .pfeil { transform: translateX(2px); }
@keyframes beispiel-drehen {
  from { transform: translate(-50%, -50%) rotate(var(--start, 0deg)); }
  to { transform: translate(-50%, -50%) rotate(calc(var(--start, 0deg) + 360deg)); }
}
@media (prefers-reduced-motion: reduce) { .beispiel::before { animation: none; } }
.feld-hinweis { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; margin-top: 34px; padding: 20px 26px; border-radius: var(--radius); background: linear-gradient(120deg, rgba(138, 77, 255, .1), rgba(61, 123, 255, .04)); color: var(--text-2); }
.feld-hinweis p { margin: 0; }
@media (max-width: 959px) {
  .feld-raster { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .punkte { grid-template-columns: 1fr; }
  .beispiel-titel { font-size: 15px; }
}

.a-z { padding-block: var(--abstand); }
.a-z-liste { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 30px; }
.a-z-liste li, .marken-liste li { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; color: var(--text-2); }
.a-z-liste li::before, .marken-liste li::before, .kunden-liste li::before {
  content: ''; flex: none; width: 5px; height: 5px; border-radius: 50%; background: #cdb8ff;
  box-shadow: 0 0 8px 1px rgba(138, 77, 255, .85);
}

/* ---------- Projektübersicht ---------- */
.projekte { padding-bottom: var(--abstand); }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(40px, 5vw, 64px); }
.filter button {
  display: inline-flex; gap: 8px; align-items: center; cursor: pointer;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--linie); background: rgba(12, 10, 24, .5);
  color: var(--text-2); font-size: 14.5px;
  transition: color .3s, border-color .3s, background .3s, box-shadow .3s;
}
.filter button span { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); }
.filter button:hover { color: var(--text); border-color: var(--linie-stark); }
.filter button[aria-pressed="true"] { color: var(--text); background: rgba(138, 77, 255, .18); border-color: rgba(184, 150, 255, .5); box-shadow: 0 0 22px rgba(138, 77, 255, .3); }
.filter button[aria-pressed="true"] span { color: var(--lila-hell); }
.projekt-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(20px, 3vw, 44px); }
.projekt-raster .karte:nth-child(4n+2), .projekt-raster .karte:nth-child(4n+3) { }
.projekt-raster .karte[hidden] { display: none; }
@media (min-width: 1200px) {
  .projekt-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 679px) { .projekt-raster { grid-template-columns: 1fr; } }

/* ---------- Projektseite ---------- */
.held-projekt { min-height: 0; padding-bottom: clamp(40px, 5vw, 72px); }
.held-projekt .titel-l { max-width: 10.5em; } /* lange Titel brechen um, statt an die Partikelform zu stoßen */
.untertitel { font-weight: 450; font-stretch: 104%; letter-spacing: -.02em; font-size: clamp(22px, 2vw, 30px); line-height: 1.25; margin: 20px 0 0; color: var(--text-2); }
.meta { display: flex; flex-wrap: wrap; gap: 14px 48px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--linie); max-width: 640px; } /* Linie nur unter der Textspalte, nicht durch die Partikelform */
.meta dt { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 6px; }
.meta dd { margin: 0; font-size: 16px; }
.projekt-medium { margin-top: 8px; }
.medium-bild, .video { margin: 0; border-radius: var(--radius-gross); overflow: hidden; box-shadow: 0 0 0 1px var(--linie), 0 40px 120px -40px rgba(91, 33, 214, .55); background: var(--flaeche); }
.medium-bild img { width: 100%; }
.video { position: relative; aspect-ratio: 16 / 9; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.6) saturate(.9); transition: filter .6s, transform 1.2s var(--weich); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-start {
  position: absolute; inset: 0; z-index: 2; width: 100%; border: 0; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 20px; color: var(--text); text-align: left;
}
.video-knopf {
  position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10, 9, 20, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1.5px rgba(196, 184, 255, .5), 0 0 30px rgba(138, 77, 255, .55);
  transition: transform .5s var(--weich), box-shadow .5s;
}
.video-knopf svg { width: 30px; height: 30px; margin-left: 4px; }
.video-start { padding: 20px; }
.video-text {
  font-weight: 560; font-size: 18px; display: grid; gap: 4px;
  padding: 14px 20px; border-radius: 16px; background: rgba(5, 4, 11, .78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(196, 184, 255, .16);
}
.video-text small { font-weight: 400; font-size: 13px; color: #cfc8e6; max-width: 22em; }
.video-start:hover .video-knopf, .video-start:focus-visible .video-knopf { transform: scale(1.07); box-shadow: inset 0 0 0 1.5px rgba(220, 208, 255, .9), 0 0 50px rgba(138, 77, 255, .85); }
.video:hover img { filter: brightness(.7) saturate(1); transform: scale(1.01); }
.video.laeuft::after, .video.laeuft .video-start, .video.laeuft img { display: none; }
@media (max-width: 599px) {
  .video-start { gap: 12px; padding: 12px; }
  .video-knopf { flex: none; width: 56px; height: 56px; }
  .video-knopf svg { width: 24px; height: 24px; }
  .video-text { font-size: 16px; padding: 10px 14px; }
  .video-text small { font-size: 12px; line-height: 1.35; }
}

.projekt-text { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px clamp(40px, 7vw, 120px); padding-block: clamp(72px, 9vw, 140px); }
.fliesstext { max-width: 40em; }
.fliesstext h2 { font-size: clamp(26px, 2.4vw, 36px); font-stretch: 106%; letter-spacing: -.025em; line-height: 1.12; margin: 0 0 28px; }
.fliesstext h3 { font-size: 21px; margin: 40px 0 14px; }
.fliesstext p { color: var(--text-2); font-size: 17.5px; line-height: 1.7; }
.fliesstext a { color: var(--lila-hell); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.fliesstext ul { margin: 0 0 1.2em; }
.fliesstext li { position: relative; padding-left: 20px; color: var(--text-2); margin-bottom: 6px; }
.fliesstext li::before { content: ''; position: absolute; left: 0; top: .75em; width: 6px; height: 1px; background: var(--lila-hell); }
.fakten { align-self: start; position: sticky; top: calc(var(--kopf-hoehe) + 40px); padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(26, 21, 50, .7), rgba(14, 12, 28, .45)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.fakten li { font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--text-2); padding: 12px 0; border-top: 1px solid var(--linie); }
.fakten li:first-child { border-top: 0; padding-top: 0; }
.galerie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); padding-bottom: clamp(72px, 9vw, 140px); }
.galerie figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--linie); background: var(--flaeche); }
.galerie figure:first-child:nth-last-child(odd), .galerie figure:nth-child(3n+1):last-child { grid-column: 1 / -1; }
.galerie { align-items: start; } /* jedes Bild in seinem Seitenverhältnis, nichts abgeschnitten */
.galerie img { width: 100%; height: auto; display: block; }
.galerie figure.hoch:first-child:nth-last-child(odd), .galerie figure.hoch:nth-child(3n+1):last-child { grid-column: auto; }
.galerie figure.hoch:only-child:first-child { grid-column: 1 / -1; justify-self: center; width: min(100%, 560px); }
.weiter { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 48px clamp(40px, 6vw, 100px); border-top: 1px solid var(--linie); }
.weiter-link { display: grid; gap: 10px; padding: 6px 0; }
.weiter-link .mini { margin: 0; }
.weiter-titel { display: block; font-size: clamp(20px, 2vw, 30px); font-weight: 540; font-stretch: 106%; letter-spacing: -.02em; transition: color .3s; }
.weiter-link:hover .weiter-titel { color: var(--lila-hell); }
.weiter-titel .zusammen { white-space: nowrap; }
.weiter-titel .pfeil { display: inline-block; vertical-align: -0.1em; width: .8em; height: .8em; margin: 0 .45em 0 0; }
.weiter-nach .weiter-titel .pfeil { margin: 0 0 0 .45em; }
.weiter-nach { text-align: right; justify-items: end; }
@media (max-width: 899px) {
  .projekt-text { grid-template-columns: 1fr; }
  .fakten { position: static; }
  .galerie { grid-template-columns: 1fr; }
  .weiter { grid-template-columns: 1fr; }
  .weiter-nach { text-align: left; justify-items: start; }
}

/* ---------- Arbeitsweise ---------- */
.direkt { padding-block: var(--abstand); }
.direkt-inhalt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 7vw, 120px); }
.direkt-inhalt > * { grid-column: 2; }
.direkt .satz-mittel { margin-top: 28px; }
@media (max-width: 959px) { .direkt-inhalt { grid-template-columns: 1fr; } .direkt-inhalt > * { grid-column: 1; } }

/* ---------- Menschen: Fotos von Jennifer und Thomas (Start und Arbeitsweise) ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 32px); align-items: start; }
.person { margin: 0; min-width: 0; }
.person:nth-child(2) { margin-top: clamp(28px, 5vw, 72px); } /* leicht versetzt, wirkt weniger steif */
.person-bild { position: relative; aspect-ratio: 4 / 5; isolation: isolate; }
.person-bild::before { /* lila Schein hinter Kopf und Schultern */
  content: ''; position: absolute; inset: 2% 4% 26% 4%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(138, 77, 255, .4), rgba(61, 123, 255, .13) 62%, transparent);
  filter: blur(26px);
}
.person-bild img { display: block; width: 100%; height: 100%; object-fit: contain; }
.person figcaption { position: relative; margin-top: -7%; display: flex; flex-direction: column; gap: 5px; }
.person figcaption strong { color: var(--text); font-weight: 560; font-size: clamp(17px, 1.25vw, 20px); }
.person-rolle { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--lila-hell); }
.person-kraft { margin-top: 6px; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.person-kraft em { font-style: normal; color: var(--text-3); }

.menschen { padding-block: var(--abstand); }
.menschen-inhalt {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 110px); align-items: center;
}
.menschen-text .satz-mittel { margin-top: 26px; max-width: 30em; }
.menschen-text .textlink { margin-top: 30px; }

.direkt-inhalt.direkt-mit-team { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; }
.direkt-inhalt.direkt-mit-team > .team { grid-column: 1; grid-row: 1; }
.direkt-inhalt.direkt-mit-team > .direkt-text { grid-column: 2; grid-row: 1; }
.direkt-zusatz {
  margin: 26px 0 0; font-weight: 500;
  font-size: clamp(18px, 1.4vw, 22px); color: var(--text);
}
@media (max-width: 959px) {
  .direkt-inhalt.direkt-mit-team { grid-template-columns: 1fr; }
  .direkt-inhalt.direkt-mit-team > .team { grid-column: 1; grid-row: 2; max-width: 620px; }
  .direkt-inhalt.direkt-mit-team > .direkt-text { grid-column: 1; grid-row: 1; }
}
@media (max-width: 819px) {
  .menschen-inhalt { grid-template-columns: 1fr; }
  .person-kraft { font-size: 14px; }
  .person-rolle { font-size: 11.5px; }
}

.ablauf { padding-block: calc(var(--abstand) * .6) var(--abstand); }
.zeitstrahl { position: relative; margin-top: clamp(56px, 7vw, 96px); max-width: 860px; margin-left: auto; margin-right: auto; }
.zeitstrahl-linie { position: absolute; left: 31px; top: 32px; bottom: 32px; width: 1px; background: var(--linie-stark); }
.zeitstrahl-licht {
  position: absolute; left: -1px; top: 0; width: 3px; height: 100%; border-radius: 3px;
  background: linear-gradient(to bottom, #b896ff, #8a4dff, #3d7bff);
  box-shadow: 0 0 12px 2px rgba(138, 77, 255, .85);
  transform-origin: top; transform: scaleY(var(--fortschritt, 0));
}
.zeigen-alles .zeitstrahl-licht, .keine-bewegung .zeitstrahl-licht { transform: scaleY(1); }
.schritt { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 36px; padding-bottom: clamp(48px, 6vw, 80px); }
.schritt:last-child { padding-bottom: 0; }
.knoten {
  grid-row: span 2; position: relative; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #1b1535, #0b0918);
  box-shadow: inset 0 0 0 1px rgba(184, 150, 255, .45), 0 0 0 8px rgba(5, 4, 11, 1), 0 0 26px 2px rgba(138, 77, 255, .45);
}
.knoten span { font-family: var(--mono); font-size: 13px; color: #e6dcff; }
.schritt h3 { font-size: clamp(22px, 2vw, 30px); font-stretch: 106%; letter-spacing: -.02em; padding-top: 12px; }
.schritt p { color: var(--text-2); margin: 10px 0 0; max-width: 34em; }

.prinzipien { padding-block: calc(var(--abstand) * .5) var(--abstand); }
.prinzipien-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 6vw, 80px); }
.prinzipien-liste li {
  position: relative; padding: 36px 30px 32px; border-radius: var(--radius-gross);
  background: linear-gradient(180deg, rgba(26, 21, 50, .72), rgba(12, 10, 24, .4));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  overflow: hidden;
}
.prinzipien-liste li::before { /* obere Lichtkante */
  content: ''; position: absolute; top: 0; left: 18%; right: 18%; height: 1px;
  background: linear-gradient(90deg, transparent, #c9b4ff, transparent);
  box-shadow: 0 0 16px 2px rgba(138, 77, 255, .8);
}
.prinzipien-liste h3 { font-size: 23px; font-stretch: 106%; letter-spacing: -.02em; margin-bottom: 14px; }
.prinzipien-liste p { color: var(--text-2); margin: 0; font-size: 16px; }
@media (max-width: 959px) { .prinzipien-liste { grid-template-columns: 1fr; } }

.werkzeuge { padding-block: calc(var(--abstand) * .5); }
.werkzeuge-inhalt { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px clamp(40px, 7vw, 120px); align-items: start; }
.werkzeuge-inhalt p { color: var(--text-2); margin-top: 20px; }
.marken-liste { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.marken-liste li { font-family: var(--mono); font-size: 13px; letter-spacing: .02em; }
@media (max-width: 899px) { .werkzeuge-inhalt { grid-template-columns: 1fr; } }

.stimmen { padding-block: var(--abstand) calc(var(--abstand) * .6); }
.stimmen-raster { columns: 2 380px; column-gap: 28px; margin-top: clamp(48px, 6vw, 80px); }
.stimmen-raster li { break-inside: avoid; margin-bottom: 28px; }
.stimmen-raster li { margin-bottom: clamp(40px, 4vw, 56px); }
.stimmen-raster figure { position: relative; margin: 0; padding: 6px 0 6px 30px; }
.stimmen-raster figure::before { /* rahmenlos: nur eine leuchtende Linie links */
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, rgba(200, 176, 255, .95), rgba(110, 141, 255, .45) 55%, rgba(110, 141, 255, 0));
  box-shadow: 0 0 10px rgba(138, 77, 255, .7);
}
.stimmen-raster blockquote { margin: 0; }
.stimmen-raster blockquote p { font-weight: 450; font-stretch: 104%; letter-spacing: -.015em; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.4; margin: 0; }
.stimmen-raster figcaption { margin-top: 22px; display: flex; align-items: center; gap: 16px; font-size: 15px; }
.stimmen-raster .wer { display: grid; gap: 2px; }
.stimmen-raster .wer span { color: var(--text-3); font-size: 14px; }
.stimme-foto {
  flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(1.05);
  box-shadow: 0 0 0 1px rgba(196, 184, 255, .3), 0 0 22px rgba(138, 77, 255, .45);
}

.kunden { padding-block: calc(var(--abstand) * .4) var(--abstand); }
.kunden .leise { margin-top: 16px; }
.kunden-liste { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 6px 1.1em; font-size: clamp(20px, 2.2vw, 34px); font-weight: 500; font-stretch: 104%; letter-spacing: -.02em; line-height: 1.5; color: var(--text-2); }
.kunden-liste li { display: inline-flex; align-items: flex-start; gap: .45em; }
.kunden-liste li::before { width: 6px; height: 6px; flex: none; margin-top: calc(.75em - 3px); } /* Punkt an der ersten Zeile, auch bei Umbruch */

/* ---------- Kontakt ---------- */
.kontakt { padding-bottom: var(--abstand); }
.kontakt-raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px clamp(40px, 7vw, 120px); align-items: start; }
.kontakt-direkt .mini { margin-top: 40px; }
.kontakt-direkt .mini:first-child { margin-top: 0; }
.gross-link { display: block; width: fit-content; font-size: clamp(22px, 2.2vw, 32px); font-weight: 540; font-stretch: 106%; letter-spacing: -.02em; padding: 4px 0; background: linear-gradient(var(--lila-hell), var(--lila-hell)) left bottom / 0 1px no-repeat; transition: background-size .5s var(--weich); overflow-wrap: anywhere; }
.gross-link:hover { background-size: 100% 1px; }
.kontakt-direkt p { color: var(--text-2); }
.glas { border-radius: var(--radius-gross); background: rgba(14, 12, 28, .62); border: 1px solid rgba(196, 184, 255, .14); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 40px 120px -40px rgba(91, 33, 214, .5); }
.formular { padding: clamp(28px, 3.5vw, 48px); display: grid; gap: 20px; }
.formular .titel-s { margin-bottom: 6px; }
.feld-gruppe { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.formular label { display: grid; gap: 8px; }
.formular label > span { font-size: 14px; color: var(--text-2); }
.formular input, .formular textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--linie-stark); background: rgba(5, 4, 11, .55);
  color: var(--text); outline: none; resize: vertical;
  transition: border-color .3s, box-shadow .3s;
}
.formular input:focus, .formular textarea:focus { border-color: rgba(184, 150, 255, .7); box-shadow: 0 0 0 4px rgba(138, 77, 255, .16); }
.formular .ist-fehler { border-color: #ff6b8b; box-shadow: 0 0 0 4px rgba(255, 107, 139, .12); }
.formular .honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Fehlermeldung nach dem Versand ohne JavaScript (Anker #formular-fehler) bzw. per ?fehler=… */
.formular-fehler { display: none; margin: 0 0 18px; }
.formular-fehler:target, .formular-fehler.sichtbar { display: block; }
.formular-fehler a { color: inherit; text-decoration: underline; }
.formular-ohne-js { margin: 0 0 18px; }
.formular-ohne-js a { color: inherit; text-decoration: underline; }
.formular-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.formular-status { margin: 0; font-size: 15px; color: var(--text-2); }
.formular-status.ok { color: #9ff3c7; }
.formular-status.fehler { color: #ff98ad; }
.formular .klein a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 959px) { .kontakt-raster { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .feld-gruppe { grid-template-columns: 1fr; } }

/* ---------- Textseiten ---------- */
.text-abschnitt { padding-bottom: var(--abstand); }
.rechtstext { max-width: 44em; }
.rechtstext h2 { font-size: 22px; margin: 48px 0 14px; letter-spacing: -.015em; }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext p { font-size: 16.5px; }

/* ---------- Kundenbereich ---------- */
.kunden-held { padding-top: calc(var(--kopf-hoehe) + 96px); padding-bottom: var(--abstand); min-height: 80vh; }
.kunden-karte { max-width: 560px; margin: 0 auto; padding: clamp(28px, 4vw, 52px); }
.kunden-karte .titel-m { margin-bottom: 14px; }
.kunden-karte p { color: var(--text-2); }
.kunden-karte .klein { margin-top: 22px; }
.kunden-karte .klein a, .formular .klein a, .rechtstext a { color: var(--lila-hell); text-decoration: underline; text-decoration-color: rgba(196, 170, 255, .5); text-underline-offset: 3px; }
.kunden-karte .klein a:hover, .formular .klein a:hover { color: #fff; }
.kunden-karte form { display: grid; gap: 16px; margin-top: 28px; }
.kunden-karte label { display: grid; gap: 8px; font-size: 14px; color: var(--text-2); }
.kunden-karte input { width: 100%; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--linie-stark); background: rgba(5, 4, 11, .6); color: var(--text); outline: none; font-size: 17px; }
.kunden-karte input:focus { border-color: rgba(184, 150, 255, .7); box-shadow: 0 0 0 4px rgba(138, 77, 255, .16); }
.meldung { padding: 12px 16px; border-radius: 12px; font-size: 15px; }
.meldung-fehler { background: rgba(255, 107, 139, .1); border: 1px solid rgba(255, 107, 139, .35); color: #ffc0cd; }
.meldung-info { background: rgba(138, 77, 255, .1); border: 1px solid rgba(184, 150, 255, .3); color: var(--text-2); }
.freigabe-kopf { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.freigabe-kopf .einleitung { margin-top: 18px; }
.dateien { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.datei { border-radius: var(--radius); border: 1px solid var(--linie); background: rgba(12, 10, 24, .55); overflow: hidden; display: flex; flex-direction: column; }
.datei-vorschau { aspect-ratio: 16 / 10; background: var(--flaeche); display: grid; place-items: center; overflow: hidden; }
.datei-vorschau img, .datei-vorschau video { width: 100%; height: 100%; object-fit: cover; }
.datei-vorschau .datei-symbol { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--lila-hell); padding: 10px 14px; border: 1px solid rgba(184, 150, 255, .35); border-radius: 10px; }
.datei-text { padding: 18px 20px 20px; display: grid; gap: 6px; flex: 1; }
.datei-text h3 { font-size: 17px; font-weight: 560; overflow-wrap: anywhere; }
.datei-text p { margin: 0; font-size: 14px; color: var(--text-2); }
.datei-meta { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.datei-aktionen { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; }
.datei-aktionen a { font-size: 14.5px; color: var(--lila-hell); }
.datei-aktionen a:hover { color: #fff; }
/* 3D-Ansicht im Kundenbereich */
.glb-ansicht {
  position: relative; height: min(70vh, 720px); min-height: 320px; margin: 24px 0 14px;
  border-radius: 22px; overflow: hidden; background: radial-gradient(120% 90% at 50% 40%, rgba(138, 77, 255, .12), rgba(5, 4, 11, .55) 70%);
  box-shadow: 0 0 0 1px rgba(196, 184, 255, .12) inset; touch-action: none;
}
.glb-ansicht canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.glb-ansicht canvas:active { cursor: grabbing; }
.glb-hinweis { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 24px; text-align: center; color: var(--text-2); }
.datei-gross { grid-column: 1 / -1; }
.datei-gross .datei-vorschau { aspect-ratio: 16 / 9; }
.datei-gross .datei-vorschau video { object-fit: contain; background: #000; }
.abmelden { font-size: 14px; color: var(--text-3); }
.abmelden:hover { color: var(--text); }

/* ---------- Auftritt (wird per JS ausgelöst) ---------- */
.js [data-zeigen] { opacity: 0; transform: translateY(26px); }
.js [data-woerter] .wort { transform: translateY(105%); }
.zeigen-alles [data-zeigen], .keine-bewegung [data-zeigen] { opacity: 1 !important; transform: none !important; }
.zeigen-alles [data-woerter] .wort, .keine-bewegung [data-woerter] .wort { transform: none !important; }

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-zeigen] { opacity: 1; transform: none; }
  .js [data-woerter] .wort { transform: none; }
  [data-scrub] .wort { opacity: 1; }
  .cursor { animation: none; }
}

/* ---------- Druck ---------- */
@media print {
  #szene, .szene-schleier, .szene-ersatz, .kopf, .menue, .fuss-wort { display: none !important; }
  body { background: #fff; color: #000; }
  .js [data-zeigen] { opacity: 1; transform: none; }
}

/* ---------- Lesefläche: Text liegt nie auf einem scharfen Bild ----------
   Hinter dem Text im Kopfbereich wird alles stark weichgezeichnet und leicht abgedunkelt.
   Die Fläche hat keinen Rand, sie läuft nach rechts und oben/unten weich aus. */
.held-inhalt { position: relative; isolation: isolate; }
.held-start .held-inhalt::before, .held-mit-kugel .held-inhalt::before, .held-mit-hand .held-inhalt::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  top: -14vh; bottom: -14vh; left: calc(-1 * var(--rand));
  width: calc(var(--lesebreite, 70%) + var(--rand) + 180px); /* --lesebreite misst seite.js am Text */
  background: rgba(5, 4, 11, .42);
  -webkit-backdrop-filter: blur(28px) saturate(1.1); backdrop-filter: blur(28px) saturate(1.1);
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 180px), transparent), linear-gradient(to bottom, transparent, #000 24%, #000 76%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, #000 calc(100% - 180px), transparent), linear-gradient(to bottom, transparent, #000 24%, #000 76%, transparent);
  mask-composite: intersect;
}
/* Bei den Händen nur so breit wie der Text, damit die Hand selbst scharf bleibt */
.held-start .held-inhalt::before, .held-mit-kugel .held-inhalt::before, .held-mit-hand .held-inhalt::before { width: calc(var(--lesebreite, 44vw) + var(--rand) + 120px); }
@media (max-width: 819px), (max-aspect-ratio: 4/5) {
  .held-start .held-inhalt::before, .held-mit-kugel .held-inhalt::before, .held-mit-hand .held-inhalt::before {
    left: calc(-1 * var(--rand)); right: calc(-1 * var(--rand)); width: auto; top: -48px; bottom: -48px;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 64px, #000 calc(100% - 64px), transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 64px, #000 calc(100% - 64px), transparent);
  }
}

/* ---------- Bedienelemente: auf den ersten Blick als klickbar erkennbar ----------
   Vorbild Pinterest-Pinnwand: Neon-Ring mit Lichtpunkt (Hauptknopf), Glas-Pille mit Pfeil im
   Leuchtkreis (Zweitknopf), deutliche Ränder bei Filtern und Feldern, Pfeil-Knopf auf Bildern. */
:root {
  --pfeil-weiss: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Hauptknopf: siehe Abschnitt „Knöpfe und Links“ oben */

/* Zweitknopf: Glas-Pille, Pfeil sitzt in einem leuchtenden Kreis */
.textlink {
  gap: 14px; padding: 7px 7px 7px 22px; border-radius: 999px;
  border: 1px solid rgba(196, 184, 255, .3);
  background: rgba(14, 12, 28, .6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
  font-weight: 540; color: var(--text);
  transition: border-color .3s, box-shadow .4s var(--weich), background .3s, color .3s;
}
.textlink .pfeil {
  box-sizing: content-box; width: 16px; height: 16px; padding: 10px; border-radius: 50%;
  background: rgba(138, 77, 255, .28);
  box-shadow: inset 0 0 0 1px rgba(200, 176, 255, .6), 0 0 16px rgba(138, 77, 255, .55);
  transition: transform .4s var(--weich), background .3s, box-shadow .3s;
}
.textlink:hover, .textlink:focus-visible, .buehne-link:hover .textlink, .buehne-link:focus-visible .textlink {
  color: #fff; border-color: rgba(200, 176, 255, .7); background: rgba(40, 24, 86, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 28px rgba(138, 77, 255, .35);
}
.textlink:hover .pfeil, .textlink:focus-visible .pfeil, .buehne-link:hover .textlink .pfeil {
  background: var(--lila); transform: translateX(3px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 0 22px rgba(138, 77, 255, .9);
}
/* Knöpfe mit Symbol vorne (Telefon, Mail) */
.textlink.vorne { padding: 7px 22px 7px 7px; }
.textlink.vorne:hover .pfeil, .textlink.vorne:focus-visible .pfeil { transform: none; }
.kontakt-direkt .kontakt-knopf { display: flex; width: fit-content; max-width: 100%; margin-top: 12px; font-size: clamp(16px, 1.4vw, 19px); }
.kontakt-direkt .kontakt-knopf span { overflow-wrap: anywhere; }
.hilfe-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.hilfe-knoepfe .textlink { font-size: 15px; }
/* „Alle Projekte“ zurück: Pfeil steht vorne */
.zurueck.textlink { padding: 7px 22px 7px 7px; color: var(--text); }
.zurueck.textlink:hover .pfeil { transform: translateX(-3px); }

/* Filter und Reiter: klar umrandete Pillen, aktive leuchten */
.filter button, .unternav a {
  border: 1px solid rgba(196, 184, 255, .26); background: rgba(14, 12, 28, .6); color: var(--text);
}
.filter button:hover, .unternav a:hover { border-color: rgba(200, 176, 255, .6); box-shadow: 0 0 18px rgba(138, 77, 255, .25); }
.filter button[aria-pressed="true"], .unternav a.ist-aktiv {
  background: rgba(138, 77, 255, .28); border-color: rgba(214, 196, 255, .85);
  box-shadow: inset 0 0 14px rgba(138, 77, 255, .35), 0 0 22px rgba(138, 77, 255, .45);
}
.filter button span { color: var(--text-2); }

/* Hauptmenü: Maus-Hover deutlich */
.haupt-nav a:hover { background: rgba(138, 77, 255, .16); box-shadow: inset 0 0 0 1px rgba(196, 184, 255, .28); }

/* Formularfelder: sichtbarer Rand, Leuchten beim Hineinklicken */
.formular input, .formular textarea { border-color: rgba(196, 184, 255, .3); background: rgba(5, 4, 11, .7); }
.formular input:hover, .formular textarea:hover { border-color: rgba(196, 184, 255, .5); }
.formular input:focus, .formular textarea:focus { border-color: rgba(214, 196, 255, .9); box-shadow: 0 0 0 4px rgba(138, 77, 255, .2), 0 0 24px rgba(138, 77, 255, .35); }
.eingabe { border-color: rgba(196, 184, 255, .34); }
.eingabe:focus-within { border-color: rgba(214, 196, 255, .85); box-shadow: 0 0 0 4px rgba(138, 77, 255, .18), 0 0 36px rgba(138, 77, 255, .4), 0 30px 80px -30px rgba(91, 33, 214, .8); }

/* Klickbare Bilder: runder Pfeil-Knopf in der Ecke */
.raster-kasten::before, .karte-bild::before {
  content: ''; position: absolute; z-index: 3; right: 16px; bottom: 16px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--pfeil-weiss) center / 18px no-repeat, rgba(20, 14, 44, .72);
  box-shadow: inset 0 0 0 1px rgba(200, 176, 255, .65), 0 0 18px rgba(138, 77, 255, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .4s var(--weich), background-color .3s, box-shadow .3s;
  pointer-events: none;
}
.buehne-link:hover .raster-kasten::before, .karte a:hover .karte-bild::before {
  background-color: var(--lila); transform: translateX(2px) scale(1.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 0 26px rgba(138, 77, 255, .95);
}


/* ---------- Leuchtlinien: verbinden die Abschnitte ---------- */
/* Leitlinie links (nur Desktop): feine Spur, ein Lichtpunkt wandert mit dem Lesen nach unten */
.leitlinie {
  position: fixed; z-index: 2; pointer-events: none;
  left: max(calc(var(--rand) * .42), calc((100vw - var(--max)) / 2 - 40px));
  top: 20vh; bottom: 20vh; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(196, 184, 255, .16) 14%, rgba(196, 184, 255, .16) 86%, transparent);
}
.leitlinie::before { /* bereits gelesene Strecke leuchtet */
  content: ''; position: absolute; left: 0; top: 0; width: 1px; height: calc(var(--fortschritt, 0) * 100%);
  background: linear-gradient(180deg, rgba(184, 150, 255, 0), rgba(200, 176, 255, .85));
  box-shadow: 0 0 8px rgba(138, 77, 255, .8);
}
.leitlinie span {
  position: absolute; left: -3px; top: calc(var(--fortschritt, 0) * 100%); width: 7px; height: 7px; margin-top: -3.5px;
  border-radius: 50%; background: #efe8ff;
  box-shadow: 0 0 6px 2px rgba(184, 150, 255, .95), 0 0 22px 6px rgba(61, 123, 255, .45);
}
@media (max-width: 1099px) { .leitlinie { display: none; } }

/* Lichtlinie unter den Abschnittsüberschriften, zieht sich beim Hineinscrollen auf */
h2.titel-l::after {
  content: ''; display: block; width: 88px; height: 2px; margin-top: .32em; border-radius: 2px;
  background: linear-gradient(90deg, #9a5bff, #6f8dff 60%, rgba(142, 234, 255, 0));
  box-shadow: 0 0 12px rgba(138, 77, 255, .85);
  transform-origin: left center; transition: transform 1.3s var(--weich) .2s;
}
h2.titel-l.linie-wartet::after { transform: scaleX(0); }
.anfrage h2.titel-l::after, .mittig h2.titel-l::after {
  margin-inline: auto; transform-origin: center;
  background: linear-gradient(90deg, rgba(154, 91, 255, 0), #9a5bff 30%, #6f8dff 70%, rgba(142, 234, 255, 0));
  width: 140px;
}

/* ---------- Kundenlogos: nach Bekanntheit, einfarbig weiß ---------- */
.logos-band { padding-block: clamp(28px, 4vw, 56px) 0; }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px clamp(28px, 4vw, 56px); }
.logos .mini { margin: 0; flex: none; }
.logo-reihe { display: flex; flex-wrap: wrap; align-items: center; gap: 20px clamp(30px, 4.2vw, 64px); }
.logo-reihe li { display: flex; align-items: center; height: clamp(26px, 2.3vw, 34px); opacity: .8; transition: opacity .4s var(--weich); }
.logo-reihe li:hover { opacity: 1; }
.logo-reihe img { height: calc(74% * var(--skala, 1)); width: auto; } /* Bildlogos sind randlos beschnitten: auf Höhe der Großbuchstaben der Schriftzüge bringen */
/* Platzhalter, bis das echte Logo vorliegt: Name als ruhiger, kräftiger Schriftzug */
.logo-wort { font-weight: 700; font-stretch: 112%; font-size: clamp(19px, 1.7vw, 25px); letter-spacing: -.01em; line-height: 1; color: #fff; white-space: nowrap; }
.logos-gross { margin-top: 40px; display: block; }
.logos-gross .mini { margin-bottom: 22px; }
.logos-gross .logo-reihe { gap: 26px clamp(40px, 5vw, 80px); }
.logos-gross .logo-reihe li { height: clamp(32px, 3.2vw, 48px); }
.logos-gross .logo-wort { font-size: clamp(24px, 2.4vw, 36px); }
.kunden-liste-titel { margin-top: 48px; }
.kunden-liste-titel + .kunden-liste { margin-top: 14px; }
@media (max-width: 819px) {
  /* Handy: festes Raster mit drei Spalten (3 + 2), Spalten bündig, nie ein Logo allein in der Zeile */
  .logos { display: block; }
  .logos .mini { margin-bottom: 16px; }
  .logo-reihe, .logos-gross .logo-reihe { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 18px 14px; }
  .logo-reihe li, .logos-gross .logo-reihe li { height: min(28px, 6.8vw); }
  .logo-wort, .logos-gross .logo-wort { font-size: min(20px, 5.1vw); }
  .logo-reihe .logo-breit { grid-column: span 2; } /* sehr breite Logos (Securepoint) über zwei Spalten */
}

/* ---------- Reservierte Flächen für die Partikelform (data-platz, Lage „platz“) ----------
   Leer, nur Platz: Die Form füllt die Fläche und scrollt mit. So stehen Punkte auch in Layouts
   ohne freien Rand sauber neben dem Text (Thomas, 02.12.2026: „ein bisschen schade“ ohne Partikel). */
.partikel-platz { pointer-events: none; }
.fuss-aufruf .partikel-platz { flex: 1 1 160px; align-self: stretch; min-height: 120px; }
.kontakt-direkt { display: flex; flex-direction: column; align-items: flex-start; align-self: stretch; }
.kontakt-direkt .partikel-platz { flex: 1 1 auto; align-self: stretch; min-height: 260px; margin-top: 32px; }
@media (max-width: 959px) { .kontakt-direkt .partikel-platz { display: none; } }
@media (max-width: 819px) { .fuss-aufruf .partikel-platz { min-height: 84px; } }
/* Leistungen „Von A bis Z“: Liste schmaler, rechts daneben steht der Ring */
@media (min-width: 960px) { .a-z-liste { max-width: min(60%, 760px); } }

/* Sehr lange Wörter (Architekturvisualisierung) auf schmalen Handys: trennen statt die Seite zu verbreitern.
   In Überschriften mit Wortzerlegung ist jedes Wort ein eigener Block, getrennt wird dort nur, wenn das Wort allein breiter als die Zeile ist. */
[data-woerter] .wort-huelle, [data-woerter] .wort { max-width: 100%; }
[data-woerter] .wort { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
h1, h2, h3, .buehne-titel { overflow-wrap: break-word; }
@media (max-width: 479px) { h1, h2, h3, .buehne-titel { -webkit-hyphens: auto; hyphens: auto; } }

/* Kleine Beschriftungen auf dem Handy nicht unter 12 px */
@media (max-width: 819px) {
  .meta dt, .karte-kunde { font-size: 12px; }
}

/* Danke-Seite: Titel bricht um, damit die Partikelform Luft hat */
.titel-schmal { max-width: 10.5em; }
