/*
 * evolveadapt — die Firmen-Website.
 *
 * Bildidee: Das Dach ist Tinte und Papier; die drei Marken bringen ihre Farben mit —
 * Indigo für VE-AD, Limette für Marsy Design, Gold für Marsy League. Im ersten Bild ordnen
 * sich Tausende Teilchen zum Namen, lösen sich, ordnen sich neu und weichen dem Zeiger aus:
 * evolve, adapt — wörtlich.
 *
 * Maße nach marsy-ci (Container 1260, --rand, --block, --luft, --rund), Vorlieben aus dem
 * Design-Paket (zentriert, nichts überlappt — zum Rand hin auflösen, Zahlen zeigen).
 */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('fonts/BricolageGrotesque.woff2') format('woff2');
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Tinte und Papier */
  --ink:        #0E0E11;
  --ink-2:      #141418;
  --ink-3:      #1B1B21;
  --paper:      #F4F1EA;
  --paper-soft: #C9C5BB;
  --paper-mute: #8F8B81;
  --line:       rgba(244, 241, 234, .10);
  --line-strong:rgba(244, 241, 234, .22);
  --auf-papier: #14171C;
  --auf-papier-soft: #4A5058;
  --auf-papier-line: rgba(20, 23, 28, .14);

  /* Die drei Marken — nur dort, wo sie vorkommen */
  --vead:      #7C7CF5;
  --vead-ink:  #0B0D14;
  --md:        #D8F24B;
  --md-ink:    #0B0B10;
  --ml-gold:   #FFAA44;
  --ml-light:  #FFD27A;
  --ml-ground: #100B1E;

  /* Maße — marsy-ci, wörtlich */
  --breite: 1260px;
  --rand: clamp(18px, 5vw, 68px);
  --block: clamp(48px, 7vw, 86px);
  --luft: clamp(16px, 2.2vw, 28px);
  --rund: 14px;
  --rund-knopf: 999px;
  --kopf: 78px;

  --display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* data-modus am html-Element wechselt den Grund der ganzen Seite auf den der Marke — Marsy Design: Fast-Schwarz, Marsy League: Gold auf Violett (Markenblätter 09.09., Marçal 13.09.); gesetzt auf den Markenseiten */
:root[data-modus="design"] { --ink: #0B0B10; --ink-2: #15151D; }
/* Marsy Design ist „Lime auf Schwarz" — der Grund bleibt fast schwarz, die Marke zeigt sich wie auf marsydesign.de als Lime- und Mint-Schein dahinter (Marçal 13.09.: „nur Marsy League hat eine besondere Hintergrundfarbe") */
:root[data-modus="design"] body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(circle at 18% 12%, rgba(216, 242, 75, .16), transparent 42%), radial-gradient(circle at 84% 72%, rgba(61, 220, 151, .10), transparent 40%); }
:root[data-modus="league"] { --ink: #100B1E; --ink-2: #1A1030; --line: rgba(245, 238, 216, .10); --line-strong: rgba(245, 238, 216, .22); }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  position: relative;
  background: var(--ink); transition: background .6s var(--ease);
  color: var(--paper);
  font: 400 17px/1.6 var(--text);
  font-feature-settings: 'ss01', 'cv11', 'tnum';
  -webkit-font-smoothing: antialiased;
}
/* Korn: ein Hauch Papier auf der Tinte — Struktur, kein Schleier. */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='k'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='160' height='160' filter='url(%23k)'/></svg>");
  mix-blend-mode: soft-light;
}
::selection { background: var(--paper); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.abschnitt { padding: var(--block) 0; border-top: 1px solid var(--line); }
[id] { scroll-margin-top: calc(var(--kopf) + 8px); } /* Sprungziele landen unter der Leiste, nicht dahinter */

/* Sprunglink */
.sprung { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 10px 16px; background: var(--paper); color: var(--ink); border-radius: 8px; font-weight: 600; text-decoration: none; }
.sprung:focus { top: 16px; }

/* ---------- Typografie ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.8vw, 60px); }
h3 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.015em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-stretch: 82%;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--paper-mute);
  margin-bottom: 20px; /* Hausregel 12.09.: mindestens 16 px bis zur Überschrift */
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.eyebrow--md { color: var(--md); }
.eyebrow--ml { color: var(--ml-gold); }
.lead { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; color: var(--paper-soft); max-width: 58ch; }
h2 + .lead, h1 + .lead { margin-top: 16px; } /* Luft zwischen Überschrift und Vorspann */
p { max-width: 62ch; }
.stand { font-size: 15px; color: var(--paper-mute); max-width: 34ch; line-height: 1.45; }

/* Spezifikation: Begriff links, Erklärung rechts, Haarlinien dazwischen */
.spec { display: grid; margin-top: calc(var(--luft) * 1.2); border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 8px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.spec dd { color: var(--paper-soft); font-size: 16px; line-height: 1.5; }
.spec--klein > div { grid-template-columns: 120px minmax(0, 1fr); padding: 12px 0; }
.spec--klein dt { font-size: 15px; }
.spec--klein dd { font-size: 15px; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: var(--rund-knopf); font-family: var(--display); font-weight: 600; font-size: 16px; white-space: nowrap;
  text-decoration: none; border: 1px solid transparent; transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.knopf--voll { background: var(--paper); color: var(--ink); }
.knopf--rand { border-color: var(--line-strong); color: var(--paper); }
.knopf--vead { background: var(--vead); color: var(--vead-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.knopf--md { background: var(--md); color: var(--md-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.knopf--ml { background: linear-gradient(135deg, #E07A10, var(--ml-gold)); color: #160F1C; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.knopf .pfeil { transition: transform .2s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .knopf:hover { transform: translateY(-1px); }
  .knopf:hover .pfeil { transform: translateX(3px); }
  .knopf--rand:hover { border-color: var(--paper); }
}
.taten { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: calc(var(--luft) * 1.2); }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50; height: var(--kopf);
  background: var(--ink);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), background .6s var(--ease);
}
.kopf.ist-gescrollt { border-bottom-color: var(--line); }
.kopf .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.marke { display: flex; flex: 0 0 auto; flex-direction: column; text-decoration: none; line-height: 1; }
.marke img { display: block; height: 30px; width: auto; } /* die Wortmarke aus dem Markenblatt (09.09.2026), Datei, nicht Text — nie unter 24 px */
.marke small { font-family: var(--display); font-weight: 500; font-stretch: 85%; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--paper-mute); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a, .nav summary { position: relative; padding: 10px 11px; border-radius: var(--rund-knopf); text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 14.5px; color: var(--paper-soft); white-space: nowrap; transition: color .2s var(--ease), background .2s var(--ease); }
/* Wo man ist: der Punkt unter dem Eintrag — Abschnitt auf der Seite oder die Seite selbst */
.nav a.aktuell, .nav summary.aktuell, .nav a[aria-current="page"] { color: var(--paper); }
.nav a.aktuell::after, .nav summary.aktuell::after, .nav a[aria-current="page"]::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--vead); }
.nav a[data-seite]:not([aria-current]) { color: var(--vead); }
@media (hover: hover) and (pointer: fine) { .nav a:hover, .nav summary:hover { color: var(--paper); background: rgba(244, 241, 234, .06); } }
/* Nur Seiten bekommen einen Platz in der Leiste; die Abschnitte der Startseite hängen als Menü unter „Was VE-AD ist" (Marçal 13.09.) */
.menue { position: relative; }
.menue summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; user-select: none; }
.menue summary::-webkit-details-marker { display: none; }
.pfeil-ab { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease); }
.menue[open] .pfeil-ab { transform: translateY(1px) rotate(225deg); }
.menue[open] summary { color: var(--paper); background: rgba(244, 241, 234, .06); }
.menue-liste { position: absolute; top: calc(100% + 10px); left: 0; z-index: 60; min-width: 250px; display: grid; gap: 2px; padding: 8px; border-radius: var(--rund); border: 1px solid var(--line-strong); background: var(--ink); box-shadow: 0 18px 48px rgba(0, 0, 0, .5); }
.menue-liste a { padding: 10px 12px; font-size: 15px; }
.menue-start { margin-bottom: 9px; color: var(--paper); } /* der Weg zurück, oben im Menü (Marçal 13.09.); die Kapsel bleibt symmetrisch, die Linie liegt dazwischen */
.menue-start + a::before { content: ''; position: absolute; left: 12px; right: 12px; top: -5px; height: 1px; background: var(--line); }
.menue-liste a.aktuell::after { left: auto; right: 12px; top: 50%; bottom: auto; margin: -2.5px 0 0; }
.nav .knopf { min-height: 42px; margin-left: 8px; padding: 0 16px; font-size: 15px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); place-items: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--paper); box-shadow: 0 -6px 0 var(--paper), 0 6px 0 var(--paper); }

/* ---------- Erstes Bild ---------- */
.held { position: relative; min-height: calc(100svh - var(--kopf)); display: grid; place-items: center; padding: calc(var(--block) * .8) 0 var(--block); }
/* Das Feld liegt fest hinter der ganzen Seite und kommt beim Scrollen mit; zum Rand hin löst es sich auf. */
#holo-atoms {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 78% 82% at 50% 48%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 78% 82% at 50% 48%, #000 40%, transparent 100%);
}
#holo-atoms.steht { position: absolute; height: auto; max-width: 100%; } /* reduzierte Bewegung: steht still im ersten Bild, ohne die Scrollbarbreite zu überragen */
#holo-atoms.holo-folge { z-index: 2; width: 100%; -webkit-mask-image: none; mask-image: none; }
main, .fuss-zeile { position: relative; z-index: 1; } /* der Kopf ist sticky und liegt mit z-index 50 ohnehin darüber */
/* Ein durchgehendes Feld zwischen Abschnittsgrund und Inhalt: keine Textmasken. */
#holo-atoms.holo-folge ~ main { z-index: auto; }
#holo-atoms.holo-folge ~ main > section > .wrap { position: relative; z-index: 3; }
#holo-atoms.holo-folge ~ .fuss-zeile { z-index: 3; }
body.zeigt-hand { cursor: pointer; }
/* Der Name steht oben als Teilchen (Canvas); der Text beginnt darunter — nichts überlappt. */
.held .wrap { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 20px; padding-top: clamp(180px, 31vh, 300px); }
.held h1 { font-size: clamp(28px, 3.2vw, 44px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.06; max-width: 34ch; }
.held h1 span { color: var(--paper-soft); font-weight: 500; }
.held .lead { text-align: center; margin: 0 auto; max-width: 54ch; }

/* Der gedrückte Knopf leuchtet: Ring in seiner Farbe, Schein darunter, fett — die anderen treten zurück (Marçal 13.09.) */
.held .taten { justify-content: center; margin-top: 0; }
/* In einem Modus treten die anderen zurück, verschwinden aber nicht. */
:root[data-modus="firma"] .held .taten .knopf:not(.knopf--vead),
:root[data-modus="design"] .held .taten .knopf:not(.knopf--md),
:root[data-modus="league"] .held .taten .knopf:not(.knopf--ml) { background: transparent; color: var(--paper); border-color: var(--line-strong); box-shadow: none; }
.held .hinweis { font-size: 14px; color: var(--paper-mute); }
.rollen { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); width: 22px; height: 36px; border: 1.5px solid var(--line-strong); border-radius: 12px; }
.rollen::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--paper-soft); animation: rollen 1.8s ease-in-out infinite; }
@keyframes rollen { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* ---------- Zweispalter ---------- */
.zweispalt { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: calc(var(--luft) * 2) calc(var(--luft) * 2.4); align-items: start; }
/* Die Tafel wandert mit dem Text, statt in der Mitte zu schweben. */
@media (min-width: 981px) { .holo, .radar, .grenzen { position: sticky; top: calc(var(--kopf) + 32px); } } /* Tafel, Radar und „Was wir nicht behaupten" kommen beim Scrollen mit (Marçal 13.09.: „das soll auch mitgehen") */
.zweispalt--umgekehrt > .text { order: 2; }
.kopfzeile { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--luft) calc(var(--luft) * 2); align-items: end; margin-bottom: calc(var(--luft) * 1.8); }
.kopfzeile .lead { max-width: none; }

/* ---------- VE-AD: das Schema ---------- */
.holo {
  display: grid; gap: 18px; padding: 22px; border-radius: var(--rund);
  background: linear-gradient(180deg, #0F1120 0%, #0B0D16 100%); border: 1px solid rgba(124, 124, 245, .28);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(124, 124, 245, .18);
  color: #E9ECF1; font-size: 14px;
}
.holo > * { position: relative; }
.holo-kopf { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; color: #B9BBFF; }
.holo-meta { margin-left: auto; color: #8C90B0; font-weight: 500; letter-spacing: .04em; text-transform: none; }
.holo-punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--vead); box-shadow: 0 0 0 4px rgba(124, 124, 245, .18); animation: puls 2.4s ease-in-out infinite; }
@keyframes puls { 0%, 100% { box-shadow: 0 0 0 3px rgba(124, 124, 245, .18); } 50% { box-shadow: 0 0 0 7px rgba(124, 124, 245, .06); } }
.holo-anruf { display: grid; gap: 6px; padding: 14px 16px; border-radius: 10px; background: rgba(124, 124, 245, .1); border: 1px solid rgba(124, 124, 245, .25); }
.holo-label { font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #B9BBFF; }
.holo-anruf strong { font-weight: 500; font-size: 15px; line-height: 1.45; color: #F1F2FF; }
.holo-heute { list-style: none; display: grid; border-top: 1px solid rgba(255, 255, 255, .08); }
.holo-heute li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 9px 2px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.holo-heute time { font-family: var(--display); font-weight: 700; font-size: 13px; color: #F1F2FF; font-variant-numeric: tabular-nums; }
.holo-heute span { font-size: 13px; color: #C9CBE6; }
.holo-heute em { font-style: normal; font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #8C90B0; }
.holo-kette { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.holo-kette li { position: relative; display: grid; gap: 3px; padding: 10px 10px 10px 12px; border-radius: 8px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); min-width: 0; }
.holo-kette li::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--vead); opacity: 0; transition: opacity .5s var(--ease); }
.holo-kette li b { font-family: var(--display); font-weight: 700; font-size: 13px; }
.holo-kette li span { font-size: 11.5px; color: #9AA0BC; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Die Kette läuft, solange die Tafel im Bild ist: ein Glied nach dem anderen, dann von vorn — wie der Radar dreht */
.holo.da .holo-kette li::before { animation: kettenlauf 9s var(--ease) infinite; }
.holo.da .holo-kette li:nth-child(2)::before { animation-delay: .9s; }
.holo.da .holo-kette li:nth-child(3)::before { animation-delay: 1.8s; }
.holo.da .holo-kette li:nth-child(4)::before { animation-delay: 2.7s; }
.holo.da .holo-kette li:nth-child(5)::before { animation-delay: 3.6s; }
@keyframes kettenlauf { 0%, 4% { opacity: 0; } 10%, 62% { opacity: 1; } 72%, 100% { opacity: 0; } }
.holo.da .holo-heute li { animation: heutelauf 9s var(--ease) infinite; }
.holo.da .holo-heute li:nth-child(2) { animation-delay: 3s; }
.holo.da .holo-heute li:nth-child(3) { animation-delay: 6s; }
@keyframes heutelauf { 0%, 8% { background: transparent; } 14%, 30% { background: rgba(124, 124, 245, .10); } 40%, 100% { background: transparent; } }
.holo-heute li { border-radius: 6px; padding-left: 8px; padding-right: 8px; margin: 0 -8px; }
.holo-tiles { display: flex; flex-wrap: wrap; gap: 6px; }
.holo-tiles span { padding: 6px 10px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .025); font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .04em; color: #C9CBE6; }
.holo figcaption { font-size: 12px; color: #7C819E; }

/* Vier Zahlen — Ziffern groß, Erklärung klein */
.zahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--luft); margin-top: calc(var(--block) * .8); padding-top: calc(var(--luft) * 1.2); border-top: 1px solid var(--line); }
.zahlen dt { font-family: var(--display); font-weight: 600; font-size: clamp(44px, 5.4vw, 76px); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.zahlen dd { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--paper-soft); max-width: 26ch; }
/* Daneben oder darin */
.vergleich { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--luft); margin-top: calc(var(--luft) * 1.6); }
.vergleich-seite { padding: clamp(20px, 2.4vw, 30px); border-radius: var(--rund); border: 1px solid var(--line); }
.vergleich-seite .eyebrow { margin-bottom: 14px; }
.vergleich-seite p:last-child { font-size: 16px; line-height: 1.55; color: var(--paper-soft); max-width: none; }
.vergleich-seite--vead { border-color: rgba(124, 124, 245, .45); background: rgba(124, 124, 245, .06); }
.vergleich-seite--vead .eyebrow { color: var(--vead); }
.vergleich-seite--vead p:last-child { color: var(--paper); }
/* Bausteine: was auf derselben Basis läuft */
.bausteine { margin-top: calc(var(--luft) * 1.4); }
.bausteine .eyebrow { margin-bottom: 12px; }
.bausteine ul { list-style: none; border-top: 1px solid var(--auf-papier-line); }
.bausteine li { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 6px 18px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--auf-papier-line); }
.bausteine b { font-family: var(--display); font-weight: 600; font-size: 15px; }
.bausteine span { font-size: 14px; line-height: 1.5; color: var(--auf-papier-soft); }
.bausteine em { font-style: normal; font-family: var(--display); font-weight: 600; font-stretch: 85%; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--auf-papier-soft); white-space: nowrap; }
/* Was wir nicht behaupten */
.grenzen { align-self: start; padding: clamp(20px, 2.4vw, 30px); border-radius: var(--rund); border: 1px solid rgba(255, 170, 68, .35); background: rgba(255, 170, 68, .05); }
.grenzen .eyebrow { color: var(--ml-gold); margin-bottom: 20px; }
.grenzen h3 { margin-bottom: 16px; }
.grenzen ul { list-style: none; display: grid; gap: 14px; }
.grenzen li { font-size: 15px; line-height: 1.55; color: var(--paper-soft); }
.grenzen b { color: var(--paper); font-weight: 600; }

/* ---------- Papier ---------- */
.papier { background: var(--paper); color: var(--auf-papier); border-top-color: transparent; }
.papier .eyebrow { color: var(--auf-papier-soft); }
.papier .lead, .papier .stand { color: var(--auf-papier-soft); }
.papier .spec, .papier .spec > div { border-color: var(--auf-papier-line); }
.papier .spec dd { color: var(--auf-papier-soft); }
.papier ::selection { background: var(--ink); color: var(--paper); }
.papier :focus-visible { outline-color: var(--ink); }
.papier .knopf--voll { background: var(--ink); color: var(--paper); }
.papier .knopf--rand { border-color: var(--auf-papier-line); color: var(--auf-papier); }
.fall { margin-top: calc(var(--luft) * 1.4); padding: clamp(18px, 2.4vw, 28px); border-radius: var(--rund); background: rgba(20, 23, 28, .04); border: 1px solid var(--auf-papier-line); }
.fall .eyebrow { margin-bottom: 18px; }
.fall h3 { margin-bottom: 10px; }
.fall p { font-size: 16px; line-height: 1.55; color: var(--auf-papier-soft); }

/* Radar */
.radar { display: grid; gap: 14px; justify-items: center; }
.radar-scheibe { position: relative; width: min(100%, 520px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(20, 23, 28, .06) 0%, rgba(20, 23, 28, .02) 60%, transparent 70%); overflow: hidden; }
.radar-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(20, 23, 28, .22); }
.radar-ring:nth-child(2) { inset: 16.6%; }
.radar-ring:nth-child(3) { inset: 33.3%; }
.radar-achse { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(20, 23, 28, .16); }
.radar-achse--quer { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 1px; }
.radar-strahl { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(20, 23, 28, .3) 0deg, rgba(20, 23, 28, .08) 45deg, transparent 75deg); animation: drehen 6s linear infinite; }
@keyframes drehen { to { transform: rotate(360deg); } }
.radar-blip { position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--auf-papier); animation: blip 6s ease-out infinite; animation-delay: var(--d); }
.radar-blip b { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: -0.01em; color: var(--auf-papier); font-variant-numeric: tabular-nums; white-space: nowrap; }
.radar-blip--leise { background: rgba(20, 23, 28, .35); animation: none; }
.radar-blip--leise b { color: var(--auf-papier-soft); font-weight: 500; }
@keyframes blip { 0% { box-shadow: 0 0 0 0 rgba(20, 23, 28, .35); } 40% { box-shadow: 0 0 0 14px rgba(20, 23, 28, 0); } 100% { box-shadow: 0 0 0 0 rgba(20, 23, 28, 0); } }
.radar figcaption { font-size: 13px; color: var(--auf-papier-soft); text-align: center; max-width: 42ch; }

/* ---------- Marken: Rahmen mit echten Bildern ---------- */
.markenliste { display: grid; gap: calc(var(--block) * .9); }
/* Auf der Startseite nur noch zwei Karten — die Marken haben eigene Seiten (Marçal 13.09.: „zu überrepräsentiert") */
.markenkurz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--luft); }
.markenkarte { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--rund); text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.markenkarte .zeichen { width: 44px; height: 44px; border-radius: 10px; flex: none; }
.markenkarte b { display: block; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.markenkarte small { display: block; margin-top: 3px; font-size: 14px; line-height: 1.45; color: var(--paper-soft); }
.markenkarte .pfeil { margin-left: auto; color: var(--md); }
.markenkarte--ml .pfeil { color: var(--ml-gold); }
@media (hover: hover) and (pointer: fine) { .markenkarte:hover { border-color: var(--paper-mute); transform: translateY(-2px); } }
.markenreihe { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: calc(var(--luft) * 1.6) calc(var(--luft) * 2.2); align-items: center; }
.markenreihe--umgekehrt .rahmen { order: 2; }
.rahmen { display: block; border-radius: var(--rund); overflow: hidden; border: 1px solid var(--line-strong); background: var(--ink-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); text-decoration: none; transition: transform .35s var(--ease), border-color .35s var(--ease); }
@media (hover: hover) and (pointer: fine) { .rahmen:hover { transform: translateY(-4px); border-color: var(--paper-mute); } }
.rahmen-leiste { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--ink-3); border-bottom: 1px solid var(--line); }
.rahmen-leiste i { width: 9px; height: 9px; border-radius: 50%; background: rgba(244, 241, 234, .18); }
.rahmen-leiste span { margin-left: 10px; font-family: var(--display); font-weight: 500; font-size: 12px; letter-spacing: .04em; color: var(--paper-mute); }
.rahmen--ml .rahmen-leiste { background: #170F2C; }
.rahmen img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.markentext { display: grid; gap: 14px; justify-items: start; }
.markentext .zeichen { width: 44px; height: 44px; border-radius: 10px; }
.markentext .eyebrow { margin-bottom: 4px; }
.markentext .spec { margin-top: 6px; width: 100%; }
.markentext .knopf { margin-top: 8px; }

/* ---------- Team: die Besetzung ---------- */
.roster { list-style: none; border-top: 1px solid var(--line); }
.roster li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1.4fr); gap: 8px 24px; align-items: baseline; padding: clamp(16px, 2vw, 26px) 0; border-bottom: 1px solid var(--line); }
.roster-name { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -0.03em; line-height: 1; }
.roster-rolle { font-family: var(--display); font-weight: 600; font-stretch: 85%; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-mute); }
.nw { white-space: nowrap; }
.roster-was { color: var(--paper-soft); font-size: 16px; }

/* ---------- Kontakt ---------- */
.kontakt .wrap { display: grid; gap: calc(var(--luft) * 1.8); }
.kontakt-kopf { max-width: 60ch; }
.kontakt h2 { font-size: clamp(44px, 6.5vw, 92px); letter-spacing: -0.04em; margin-bottom: 18px; }
.kontakt dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 32px; padding-top: calc(var(--luft) * 1.2); border-top: 1px solid var(--line); }

/* Die Anfrage */
.anfrage { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: calc(var(--luft) * 1.2) calc(var(--luft) * 2); padding: clamp(20px, 2.6vw, 32px); border: 1px solid var(--line-strong); border-radius: var(--rund); background: rgba(14, 14, 17, .72); backdrop-filter: blur(6px); }
.anfrage fieldset { border: 0; grid-column: 1 / -1; }
.anfrage legend, .anfrage .felder span, .entwurf-label { display: block; font-family: var(--display); font-weight: 600; font-stretch: 85%; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-mute); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--rund-knopf); border: 1px solid var(--line-strong); font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--paper-soft); transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.chips input:checked + span { background: var(--vead); border-color: var(--vead); color: var(--vead-ink); }
.chips input:focus-visible + span { outline: 2px solid var(--paper); outline-offset: 3px; }
.felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; align-content: start; }
.felder label.breit { grid-column: 1 / -1; }
.felder input, .felder textarea { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(244, 241, 234, .04); color: var(--paper); font: 400 16px/1.4 var(--text); transition: border-color .2s var(--ease); }
.felder textarea { resize: vertical; }
.felder input:focus-visible, .felder textarea:focus-visible { outline: 0; border-color: var(--paper); }
.entwurf { display: grid; align-content: start; }
.entwurf pre { margin: 0; padding: 14px 16px; min-height: 200px; border-radius: 10px; border: 1px dashed var(--line-strong); font: 400 15px/1.55 var(--text); color: var(--paper-soft); white-space: pre-wrap; word-break: break-word; }
.anfrage .taten { grid-column: 1 / -1; margin-top: 0; }
.anfrage .stand.laut { color: var(--paper); }

/* So läuft es */
.schritte { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(var(--luft) * 1.4); padding-top: 34px; counter-reset: none; }
.schritte::before { content: ''; position: absolute; left: 0; right: 0; top: 17px; height: 1px; background: var(--line); }
/* Die Linie zeichnet sich über transform, nicht über width — kein Layout je Bild. */
.schritte::after { content: ''; position: absolute; left: 0; top: 17px; height: 1px; width: 100%; background: var(--vead); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.schritte.da::after { transform: scaleX(1); }
.schritte li { position: relative; display: grid; gap: 10px; }
.schritt-nr { position: absolute; top: -34px; left: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--ink); font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--paper-soft); transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.schritte.da li:nth-child(1) .schritt-nr { transition-delay: .1s; }
.schritte.da li:nth-child(2) .schritt-nr { transition-delay: .5s; }
.schritte.da li:nth-child(3) .schritt-nr { transition-delay: .9s; }
.schritte.da li:nth-child(4) .schritt-nr { transition-delay: 1.3s; }
.schritte.da .schritt-nr { background: var(--vead); border-color: var(--vead); color: var(--vead-ink); }
.schritte h3 { font-size: 22px; margin-top: 6px; }
.schritte p { font-size: 15px; line-height: 1.55; color: var(--paper-soft); }
.kontakt dt { font-family: var(--display); font-weight: 600; font-stretch: 85%; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--paper-mute); margin-bottom: 4px; }
.kontakt dd { font-size: 18px; }
.platzhalter { color: var(--ml-light); font-style: italic; }

/* ---------- Fuß ---------- */
.fuss-zeile { border-top: 1px solid var(--line); padding: calc(var(--luft) * 1.4) 0; font-size: 14px; color: var(--paper-mute); }
.fuss-zeile .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.fuss-zeile nav { display: flex; gap: 20px; }
.fuss-zeile a { color: var(--paper-soft); text-decoration: none; text-underline-offset: 3px; }
.fuss-zeile a:hover { text-decoration: underline; }
.leiste { display: none; }

/* ---------- Einblenden beim Scrollen — in beide Richtungen ---------- */
.blende { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.blende.da { opacity: 1; transform: none; }

/* ---------- Rechtsseiten ---------- */
.recht { max-width: 46rem; margin: 0 auto; padding: var(--block) var(--rand); line-height: 1.65; }
.recht h1 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 8px; }
.recht h2 { font-size: 22px; margin-top: 36px; margin-bottom: 8px; }
.recht p { max-width: none; margin-bottom: 12px; color: var(--paper-soft); }
.recht .hinweis { padding: 14px 18px; border: 1px solid rgba(255, 170, 68, .4); border-radius: 8px; background: rgba(255, 170, 68, .08); margin: 20px 0; color: var(--paper); }

/* ---------- Handy ---------- */
@media (max-width: 980px) {
  .zweispalt, .kopfzeile, .markenreihe, .markenkurz, .kontakt .wrap { grid-template-columns: minmax(0, 1fr); } /* minmax(0): ein zu langer Knopf darf die Spalte nicht über den Rand treiben (390 px: 420 breit, 13.09.) */
  .zweispalt--umgekehrt > .text { order: 0; }
  .markenreihe--umgekehrt .rahmen { order: 0; }
  .roster li { grid-template-columns: 1fr; gap: 4px; }
  .anfrage { grid-template-columns: 1fr; }
  .zahlen, .vergleich { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bausteine li { grid-template-columns: 1fr; gap: 4px; }
  .schritte { grid-template-columns: 1fr; padding-top: 0; padding-left: 52px; gap: calc(var(--luft) * 1.4); }
  .schritte::before, .schritte::after { top: 0; bottom: 0; left: 17px; right: auto; width: 1px; height: auto; }
  .schritte::after { height: 100%; width: 1px; transform: scaleY(0); transform-origin: top; transition: transform 1.6s var(--ease); }
  .schritte.da::after { transform: scaleY(1); }
  .schritt-nr { top: 0; left: -52px; }
}
@media (max-width: 1180px) and (min-width: 901px) {
  .nav a, .nav summary { padding: 10px 8px; font-size: 13.5px; }
  .nav .knopf { padding: 0 14px; }
}
@media (max-width: 900px) {
  :root { --kopf: 66px; }
  .nav { position: fixed; inset: var(--kopf) 0 auto 0; flex-direction: column; align-items: stretch; padding: 12px var(--rand) 20px; background: var(--ink); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .nav.offen { opacity: 1; transform: none; pointer-events: auto; }
  .nav a, .nav summary { padding: 14px 12px; font-size: 18px; }
  .menue summary { display: flex; }
  .menue-liste { position: static; min-width: 0; padding: 0 0 6px 14px; border: 0; box-shadow: none; }
  .menue-liste a { font-size: 17px; color: var(--paper-mute); }
  .nav .knopf { margin: 8px 0 0; justify-content: center; }
  .burger { display: grid; }
}
@media (max-width: 760px) {
  .held .wrap { padding-top: clamp(170px, 27vh, 240px); gap: 18px; }
  .held h1 { font-size: clamp(28px, 7.6vw, 40px); }
  .held .taten .knopf { flex: 1 1 100%; justify-content: center; }
  .rollen { display: none; }
  .spec > div, .spec--klein > div { grid-template-columns: 1fr; gap: 4px; }
  .felder { grid-template-columns: 1fr; }
  .zahlen, .vergleich { grid-template-columns: 1fr; }
  .holo-kette { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .holo-kette li:last-child { grid-column: 1 / -1; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .leiste { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--rand) calc(10px + env(safe-area-inset-bottom)); background: rgba(14, 14, 17, .96); border-top: 1px solid var(--line); }
  .leiste .knopf { flex: 1; justify-content: center; min-height: 44px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rollen::after, .holo-punkt, .radar-strahl, .radar-blip { animation: none; }
  .blende { opacity: 1; transform: none; transition: none; }
  .schritte::after, .schritt-nr { transition: none; }
  .holo-kette li::before { opacity: 1; transition: none; animation: none; }
  .holo-heute li { animation: none; }
  .knopf, .rahmen, .nav { transition: none; }
}

/* Entwurf 19: zwei kompakte Einstiege; Details bleiben am zugehörigen Beispiel. */
#apps { padding-block: clamp(40px,4.5vw,56px); }
.start-entdecken-kopf { display: grid; gap: 16px; }
.start-entdecken-kopf h2 { font-size: clamp(30px,3.4vw,48px); }
.start-entdecken-kopf .lead { max-width: 65ch; }
.start-entdecken { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 36px; }
.start-karte { display: grid; grid-template-rows: auto auto 1fr auto; gap: 16px; padding: 24px; border: 1px solid var(--line-strong); border-radius: var(--rund); background: var(--ink-2); color: var(--paper); text-decoration: none; }
.start-karte h3 { font-size: clamp(25px,2.5vw,34px); margin: 0; }
.start-karte > p { color: var(--paper-soft); font-size: 16px; line-height: 1.55; }
.start-motiv { display: grid; align-content: start; justify-items: center; gap: 16px; min-width: 0; padding-block: 12px; }
.start-fiktion, .start-motiv figcaption { color: var(--paper-soft); font-size: 12px; line-height: 1.5; justify-self: start; }
.start-motiv figcaption { margin-top: auto; }
.start-motiv svg { width: 100%; max-width: 300px; display: block; }
.start-motiv svg text { font: 18px var(--text); text-anchor: middle; fill: var(--paper); }
.start-touch .hand { fill: none; stroke: var(--paper); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.start-touch .route { fill: none; stroke: var(--paper-mute); stroke-width: 1.5; }
.start-touch .flaeche { fill: rgba(124,124,245,.12); stroke: var(--vead); stroke-width: 1.5; }
.start-touch .griff { fill: var(--ink-2); stroke: var(--md); stroke-width: 2; animation: start-griff 4.8s steps(1) infinite; }
.start-touch .touch-objekt { transform-origin: 213px 78px; animation: start-touch 4.8s ease-in-out infinite; }
@keyframes start-touch { 0%,20%,80%,100% { transform: rotate(0deg); } 40%,60% { transform: rotate(-14deg); } }
@keyframes start-griff { 0%,70% { fill: var(--ink-2); } 20% { fill: var(--md); } }
.start-season-kopf { display: flex; align-items: center; gap: 12px; justify-self: start; color: var(--ml-gold); font-size: 14px; font-weight: 600; }
.start-season table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; font-variant-numeric: tabular-nums; }
.start-season caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.start-season th, .start-season td { padding: 10px 5px; border-bottom: 1px solid var(--line-strong); }
.start-season th { font-weight: 500; }
.start-season thead { color: var(--paper-soft); }
.start-season tbody tr:first-child { color: var(--ml-gold); }
.start-season th:first-child, .start-season td:first-child { padding-left: 0; }
.start-weiter { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line-strong); font-size: 15px; font-weight: 600; }
.start-weiter > span { color: var(--vead); font-size: 23px; }
.start-vertiefen { margin-top: 24px; }
.start-details { border-top: 1px solid var(--auf-papier-line); }
.start-details:last-child { border-bottom: 1px solid var(--auf-papier-line); }
.start-details > summary { cursor: pointer; padding-block: 18px; font-size: 16px; font-weight: 500; }
.start-referenz, .start-bausteine { padding-block: 16px 28px; }
.start-bausteine .bausteine { margin-top: 0; }
.start-referenz h2 { font-size: clamp(28px,3vw,40px); }
@media(hover:hover) { .start-karte:hover { border-color: var(--vead); } }
@media(max-width:760px) { .start-entdecken { grid-template-columns: minmax(0,1fr); gap: 24px; margin-top: 28px; } .start-karte { padding: 18px; } }
@media(prefers-reduced-motion:reduce) { .start-touch .griff, .start-touch .touch-objekt { animation: none; } }
