/* ═══════════════════════════════════════════════════════════════════════════
   blingai – Website Design System
   Markensystem 1.0: Archivo (Headlines), Instrument Sans (Text),
   JetBrains Mono (Labels). Papier, Tinte, ein Signal.
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('../fonts/fonts.css');

:root {
  --paper:        #F7F2EC;
  --white:        #FFFCF8;
  --ink:          #1A1418;
  --ink-2:        #4A4046;
  --ink-3:        #7A6F75;
  --ink-4:        #B3A8AD;
  --line:         rgba(26,20,24,.10);
  --line-2:       rgba(26,20,24,.18);
  --signal:       #B8306B;
  --signal-text:  #9A2558;
  --signal-soft:  rgba(184,48,107,.10);
  --signal-glow:  rgba(184,48,107,.28);
  --deep:         #1A1418;
  --panel:        #261C22;
  --on-deep:      rgba(250,244,238,.94);
  --on-deep-2:    rgba(250,244,238,.66);
  --on-deep-3:    rgba(250,244,238,.42);
  --on-deep-line: rgba(250,244,238,.14);

  --font-head:    'Archivo', 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Instrument Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  --maxw:         1280px;
  --gutter:       clamp(20px, 4vw, 56px);
  --nav-h:        80px;
  --r:            14px;
  --r-lg:         24px;
  --ease:         cubic-bezier(.22,.61,.36,1);
  --ease-out:     cubic-bezier(.16,1,.3,1);
  --dur:          .7s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-padding-top: calc(var(--nav-h) + 24px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--signal); color: #fff; }

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

/* ── Typografie ─────────────────────────────────────────── */
h1, h2, h3, h4, .display {
  font-family: var(--font-head);
  font-weight: 640;
  font-stretch: 104%;
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--ink);
  text-wrap: balance;
}
.display-xl { font-size: clamp(2.8rem, 8.2vw, 7.6rem); letter-spacing: -.045em; line-height: .96; }
.display-l  { font-size: clamp(2.4rem, 5.6vw, 5.2rem); line-height: .98; }
h1          { font-size: clamp(2.6rem, 6.4vw, 6rem); }
h2          { font-size: clamp(2rem, 4.2vw, 3.8rem); line-height: 1.02; }
h3          { font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -.02em; line-height: 1.15; font-weight: 600; }
h4          { font-size: 1.1rem; letter-spacing: -.01em; line-height: 1.3; font-weight: 600; }

p { max-width: 62ch; overflow-wrap: break-word; }
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.card h3, .card p, .item h3, .cycle__item h3, .row h3, .fact b { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.5; color: var(--ink-2); letter-spacing: -.008em; max-width: 46ch; }
.muted { color: var(--ink-3); }
.small { font-size: .92rem; }
strong { font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-mono);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow::before { content: ''; width: .62em; height: .62em; background: var(--signal); flex: none; border-radius: 50%; }
.eyebrow--plain::before { display: none; }

.mk { display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: var(--signal); vertical-align: baseline; margin: 0 .08em; transform: translateY(-.02em); }
.sig { color: var(--signal-text); }
.wordmark-inline { font-family: var(--font-head); font-weight: 700; font-stretch: 106%; letter-spacing: -.03em; }

/* ── Layout ─────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 900px; }
.container--wide { max-width: 1480px; }

.section { padding: clamp(6rem, 12vw, 11rem) 0; position: relative; }
.section--tight { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--white { background: var(--white); }
.section--deep { background: var(--deep); color: var(--on-deep); }
.section--deep h1, .section--deep h2, .section--deep h3, .section--deep h4 { color: var(--on-deep); }
.section--deep .lead { color: var(--on-deep-2); }
.section--deep .muted { color: var(--on-deep-3); }
.section--deep .eyebrow { color: var(--on-deep-3); }
.section--deep p { color: var(--on-deep-2); }
.section--line { border-top: 1px solid var(--line); }

.section-head { margin-bottom: clamp(3rem, 6vw, 5.5rem); max-width: 820px; }
.section-head .eyebrow { margin-bottom: 1.4rem; }
.section-head h2 { margin-bottom: 1.4rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin: 0 auto; }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.sticky { position: sticky; top: calc(var(--nav-h) + 32px); }

@media (max-width: 1000px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--rev, .split--even { grid-template-columns: 1fr; }
  .sticky { position: static; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .7em;
  padding: .95em 1.55em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600; font-size: .98rem; letter-spacing: -.005em; line-height: 1;
  background: var(--ink); color: var(--white);
  border: 1px solid var(--ink);
  transition: transform .45s var(--ease-out), background .3s, color .3s, border-color .3s, box-shadow .45s var(--ease-out);
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
}
.btn::before {
  content: ''; position: absolute; left: 1.1em; top: 50%;
  width: .55em; height: .55em; background: var(--signal);
  transform: translate(-2.2em, -50%);
  transition: transform .45s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(26,20,24,.45); padding-left: 2.1em; }
.btn:hover::before { transform: translate(0, -50%); }
.btn svg { width: 1.05em; height: 1.05em; stroke: currentColor; transition: transform .45s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--on-deep); border-color: var(--on-deep-line); }
.btn--ghost-light:hover { border-color: var(--on-deep); box-shadow: none; }
.btn--lg { padding: 1.1em 1.8em; font-size: 1.05rem; }

.link {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; color: var(--ink);
  position: relative;
}
.link::after { content: ''; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.link:hover::after { transform: scaleX(1); transform-origin: left; }
.link svg { width: 1em; height: 1em; stroke: currentColor; transition: transform .4s var(--ease-out); }
.link:hover svg { transform: translateX(3px); }
.link--sig { color: var(--signal-text); }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: transform .5s var(--ease-out);
}
.nav__inner {
  position: relative;
  height: 100%;
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav__bg {
  position: absolute; inset: 8px max(8px, calc(var(--gutter) - 26px)) auto; height: calc(var(--nav-h) - 16px);
  border-radius: 999px;
  background: rgba(247,242,236,.74);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid rgba(26,20,24,.06);
  opacity: 0; transform: scaleX(.96);
  transition: opacity .5s var(--ease), transform .6s var(--ease-out);
  pointer-events: none;
  max-width: calc(var(--maxw) - 2 * var(--gutter) + 52px); margin: 0 auto;
}
.nav.is-scrolled .nav__bg { opacity: 1; transform: scaleX(1); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand { position: relative; display: block; height: 25px; line-height: 0; z-index: 2; }
.nav__brand svg, .nav__brand img { height: 100%; width: auto; }
.nav__links { position: relative; z-index: 2; display: flex; align-items: center; gap: 2.2rem; }
.nav__link { font-weight: 500; font-size: .96rem; color: var(--ink-2); position: relative; padding: .4em 0; transition: color .3s; }
.nav__link::after { content: ''; position: absolute; left: 50%; bottom: -2px; width: .38em; height: .38em; background: var(--signal); transform: translate(-50%, 4px) scale(0); transition: transform .4s var(--ease-out); }
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after, .nav__link:hover::after { transform: translate(-50%, 4px) scale(1); }
.nav__cta { position: relative; z-index: 2; }
.nav__cta .btn { padding: .75em 1.25em; font-size: .92rem; }
.nav__burger { position: relative; z-index: 3; display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.nav__burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease-out), opacity .3s; }

.nav__brand img { transition: opacity .3s; }
.nav__brand .b-dark { position: absolute; left: 0; top: 0; opacity: 0; }
.nav.on-dark .nav__bg { background: rgba(26,20,24,.7); border-color: rgba(244,246,248,.08); }
.nav.on-dark .nav__link { color: var(--on-deep-2); }
.nav.on-dark .nav__link:hover, .nav.on-dark .nav__link.is-active { color: var(--on-deep); }
.nav.on-dark .nav__brand .b-light { opacity: 0; }
.nav.on-dark .nav__brand .b-dark { opacity: 1; }
.nav.on-dark .nav__cta .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.nav.on-dark .nav__burger span { background: var(--on-deep); }
.nav.is-open .nav__burger span { background: var(--ink); }

@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 1.6rem;
    background: var(--paper);
    opacity: 0; pointer-events: none;
    transition: opacity .4s var(--ease);
  }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav__link { font-family: var(--font-head); font-size: 2.2rem; letter-spacing: -.03em; font-weight: 600; color: var(--ink); }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav.is-open .nav__bg { opacity: 0; }
  /* Offenes Menü liegt auf hellem Grund: on-dark-Farben zurücksetzen */
  .nav.is-open .nav__link, .nav.on-dark.is-open .nav__link { color: var(--ink); }
  .nav.on-dark.is-open .nav__brand .b-light { opacity: 1; }
  .nav.on-dark.is-open .nav__brand .b-dark { opacity: 0; }
}

/* ── Intro (Wortmarke) ──────────────────────────────────── */
.intro {
  position: fixed; inset: 0; z-index: 200;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
}
.intro__mark { width: min(46vw, 420px); }
.intro__mark svg { width: 100%; height: auto; overflow: visible; }
.intro__mark .im-letters { clip-path: inset(0 100% 0 0); }
.intro__mark .im-marker { opacity: 0; }
html.intro-live .intro__mark .im-marker { opacity: 1; }
.intro.is-done { display: none; }
html.no-intro .intro { display: none; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 6vh) 0 10vh;
  overflow: hidden;
}
.hero--sub { min-height: 72svh; padding-bottom: 6vh; }
.hero__field { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__field canvas { width: 100%; height: 100%; display: block; }
.hero__inner { position: relative; z-index: 1; max-width: 1100px; }
.hero .eyebrow { margin-bottom: 2.2rem; }
.hero h1 { margin-bottom: 2.2rem; }
.hero .lead { margin-bottom: 2.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero__cue {
  position: absolute; left: var(--gutter); bottom: 2.6rem; z-index: 1;
  display: flex; align-items: center; gap: .8em;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
}
.hero__cue i { display: block; width: 1px; height: 44px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__cue i::after { content: ''; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--ink); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }
.hero__meta { position: absolute; right: var(--gutter); bottom: 2.6rem; z-index: 1; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); text-align: right; line-height: 1.7; }
@media (max-width: 700px) { .hero__meta { display: none; } .hero__cue { bottom: 1.6rem; } }

.h1-mark { display: inline-block; height: .9em; width: auto; vertical-align: -.184em; margin-right: .06em; }

/* Split-Text */
.split-text .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-text .w > span { display: inline-block; transform: translateY(110%); will-change: transform; }
.split-text.is-static .w > span { transform: none; }
.split-text .w.mkw > span { transform: translateY(110%); }

/* ── Reveal ─────────────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(28px); will-change: opacity, transform; }
[data-reveal].is-in, html.no-motion [data-reveal] { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1s var(--ease-out); }

/* ── Manifest-Sätze ─────────────────────────────────────── */
.manifest { display: grid; gap: clamp(1.2rem, 2.4vw, 2rem); }
.manifest__line {
  font-family: var(--font-head); font-weight: 600; font-stretch: 104%;
  font-size: clamp(1.7rem, 3.6vw, 3.4rem); letter-spacing: -.035em; line-height: 1.05;
  color: var(--ink-4);
  transition: color .5s var(--ease);
}
.manifest__line.is-active, .manifest__line.is-passed { color: var(--ink); }
.manifest__line.is-passed { color: var(--ink-3); }
.manifest__line b { font-weight: inherit; color: var(--ink); }
.section--deep .manifest__line { color: var(--on-deep-3); }
.section--deep .manifest__line.is-active { color: var(--on-deep); }
.section--deep .manifest__line.is-passed { color: var(--on-deep-2); }
.section--deep .manifest__line b { color: var(--on-deep); }

/* ── Lebenszyklus (Pinned) ──────────────────────────────── */
.cycle { position: relative; }
.cycle__stage { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; padding: var(--nav-h) 0 4rem; }
.cycle__left { position: relative; container-type: inline-size; }
.cycle__rail { position: absolute; left: -2.2rem; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.cycle__rail i { position: absolute; left: -5px; top: 0; width: 11px; height: 11px; background: var(--signal); transform: translateY(0); }
.cycle__index { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 1.4rem; display: flex; gap: 1.2em; }
.cycle__index span { transition: color .4s; }
.cycle__index span.is-active { color: var(--ink); }
.cycle__words { position: relative; font-size: min(6.2rem, 14.5cqw); height: 1.15em; margin-bottom: 1.6rem; }
.cycle__word { position: absolute; left: 0; top: 0; font-family: var(--font-head); font-weight: 640; font-stretch: 104%; font-size: inherit; letter-spacing: -.045em; line-height: 1; white-space: nowrap; opacity: 0; transform: translateY(24px); pointer-events: none; }
.cycle__word.is-active { opacity: 1; transform: none; }
.cycle__desc { position: relative; min-height: 5.5em; }
.cycle__desc p { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .6s var(--ease-out); font-size: 1.12rem; color: var(--ink-2); max-width: 40ch; }
.cycle__desc p.is-active { opacity: 1; transform: none; transition-delay: .1s; }
.cycle__right { position: relative; }
.cycle__panel { position: absolute; inset: 0; opacity: 0; pointer-events: none; transform: translateY(30px); }
.cycle__panel.is-active { opacity: 1; pointer-events: auto; transform: none; }
.cycle__panel:first-child { position: relative; }
.cycle__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cycle__item { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.cycle__item .n { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-3); padding-top: .35em; }
.cycle__item h3 { margin-bottom: .35rem; }
.cycle__item p { color: var(--ink-3); font-size: .98rem; max-width: 52ch; }
/* Gestapelte Variante (Mobil, reduzierte Bewegung) */
.cycle--stacked .cycle__stage { grid-template-columns: 1fr; min-height: 0; padding: 0 0 2rem; align-items: start; }
.cycle--stacked .cycle__left { display: none; }
.cycle--stacked .cycle__panel { position: relative; opacity: 1; transform: none; pointer-events: auto; margin-bottom: clamp(3rem, 8vw, 5rem); }
.cycle__mhead { margin-bottom: 1.6rem; }
.cycle__mhead .n { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; color: var(--ink-3); display: flex; align-items: center; gap: .6em; margin-bottom: .8rem; }
.cycle__mhead .n::before { content: ''; width: .62em; height: .62em; background: var(--signal); }
.cycle__mword { font-family: var(--font-head); font-weight: 640; font-stretch: 104%; font-size: clamp(2.2rem, 8.5vw, 4.4rem); hyphens: manual; overflow-wrap: normal; letter-spacing: -.045em; line-height: 1; margin-bottom: .8rem; }
.cycle__mhead p { color: var(--ink-2); font-size: 1.05rem; max-width: 44ch; }
@media (max-width: 1000px) { .cycle__rail { display: none; } }

/* Statische Lebenszyklus-Variante (Unterseiten) */
.phase { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 6rem); padding: clamp(3.5rem, 6vw, 6rem) 0; border-top: 1px solid var(--line); }
.phase__head { container-type: inline-size; }
.phase__head .n { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; color: var(--ink-3); display: flex; align-items: center; gap: .6em; margin-bottom: 1.2rem; }
.phase__head .n::before { content: ''; width: .62em; height: .62em; background: var(--signal); border-radius: 50%; }
.phase__head h2 { font-size: min(4.4rem, 14cqw); margin-bottom: 1.2rem; hyphens: manual; }
.phase__head p { color: var(--ink-2); font-size: 1.08rem; }
.phase__items { display: grid; gap: 0; }
.item { display: grid; grid-template-columns: 2.8rem 1fr; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.item:first-child { border-top: 1px solid var(--line); }
.item .n { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-3); padding-top: .4em; }
.item h3 { margin-bottom: .5rem; }
.item p { color: var(--ink-2); max-width: 60ch; }
.item .tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.tag { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; padding: .35em .7em; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-3); }
@media (max-width: 1000px) { .phase { grid-template-columns: 1fr; } }

/* ── Karten ─────────────────────────────────────────────── */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .4s;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(26,20,24,.28); border-color: var(--line-2); }
.card__n { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 1.6rem; display: flex; align-items: center; gap: .6em; }
.card__n::before { content: ''; width: .62em; height: .62em; background: var(--signal); border-radius: 50%; }
.card h3 { margin-bottom: .8rem; }
.card p { color: var(--ink-2); font-size: 1rem; }
.card--deep { background: var(--panel); border-color: var(--on-deep-line); color: var(--on-deep); }
.card--deep h3 { color: var(--on-deep); }
.card--deep p { color: var(--on-deep-2); }
.card--deep .card__n { color: var(--on-deep-3); }
.card--paper { background: var(--paper); }
.card__link { margin-top: 1.6rem; }
.card--deep .link { color: var(--on-deep); }
.section--deep .link { color: var(--on-deep); }

/* Format-Kacheln */
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.format { background: var(--white); padding: clamp(1.6rem, 2.4vw, 2.4rem); min-height: 280px; display: flex; flex-direction: column; transition: background .4s; }
.format:hover { background: var(--paper); }
.format .dur { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; color: var(--signal-text); margin-bottom: auto; }
.format h3 { margin: 2.4rem 0 .6rem; }
.format p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 1000px) { .formats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .formats { grid-template-columns: 1fr; } }

/* Branchen-Leiste */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) auto; gap: 2rem; align-items: center; padding: 1.8rem 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease-out); }
.row:hover { padding-left: .6rem; }
.row h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.row p { color: var(--ink-2); font-size: 1rem; }
.row .link { justify-self: end; }
@media (max-width: 800px) { .row { grid-template-columns: 1fr; gap: .6rem; } .row .link { justify-self: start; } }

/* ── Bildbühne ──────────────────────────────────────────── */
.figure { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--panel); }
.figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease-out); filter: saturate(.92); }
.figure.is-in img, .figure:hover img { transform: scale(1); }
.figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,11,0) 55%, rgba(5,7,11,.55)); pointer-events: none; }
.figure__mark { position: absolute; left: 1.6rem; top: 1.6rem; width: 14px; height: 14px; background: var(--signal); z-index: 2; }
.figure__cap { position: absolute; left: 1.6rem; right: 1.6rem; bottom: 1.4rem; z-index: 2; color: var(--on-deep); font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; line-height: 1.6; }
.figure__cap b { display: block; font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: 0; margin-bottom: .1em; }
.figure--portrait { aspect-ratio: 3/4; }
.figure--wide { aspect-ratio: 16/10; }
.figure--square { aspect-ratio: 1; }
.figure--clip { clip-path: inset(0 0 100% 0); }
.figure--clip.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.3s var(--ease-out); }

/* ── Deutschland-Feld ───────────────────────────────────── */
.de-field { position: relative; aspect-ratio: 1 / 1.15; max-width: 620px; margin: 0 auto; }
.de-field canvas { width: 100%; height: 100%; display: block; }
.de-legend { display: flex; gap: 2rem; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-top: 1rem; justify-content: center; }
.de-legend span { display: inline-flex; align-items: center; gap: .6em; }
.de-legend i { width: .62em; height: .62em; display: inline-block; }
.section--deep .de-legend { color: var(--on-deep-3); }

/* ── Karte nach Bad Aibling ─────────────────────────────── */
.map-field { position: relative; aspect-ratio: 1; max-width: 600px; margin: 0 auto; }
.map-field svg { width: 100%; height: 100%; overflow: visible; display: block; }
.map-field .m-grid { fill: rgba(26,20,24,.10); }
.map-field .m-alps { fill: none; stroke: rgba(26,20,24,.28); stroke-width: 1.2; stroke-linejoin: round; }
.map-field .m-alps-fill { fill: rgba(26,20,24,.05); }
.map-field .m-lake { fill: rgba(184,48,107,.28); }
.map-field .m-route { fill: none; stroke: rgba(26,20,24,.55); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.map-field .m-route-glow { fill: none; stroke: rgba(184,48,107,.35); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.map-field .m-city { fill: rgba(26,20,24,.55); }
.map-field .m-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; fill: var(--ink-3); }
.map-field .m-label--big { font-family: var(--font-head); font-weight: 640; font-size: 22px; letter-spacing: -.02em; text-transform: none; fill: var(--ink); }
.map-field .m-pin { fill: var(--signal); }
.map-field rect.m-pin { rx: 50%; }
.map-field .m-ring { fill: none; stroke: var(--signal); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: mring 2.6s cubic-bezier(.22,.61,.36,1) infinite; }
.map-field .m-ring:nth-of-type(2) { animation-delay: 1.3s; }
@keyframes mring { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.map-field .m-traveller { fill: var(--signal); }
.map-field .m-river { fill: none; stroke: rgba(184,48,107,.22); stroke-width: 1; stroke-linejoin: round; stroke-linecap: round; }
.map-field .m-alps--far { stroke: rgba(26,20,24,.14); }
.map-field[data-map="dark"] .m-alps--far { stroke: rgba(244,246,248,.16); }
.map-field .m-scale { stroke: rgba(26,20,24,.4); stroke-width: 1.5; }
.map-field[data-map="dark"] .m-scale { stroke: rgba(244,246,248,.4); }
.map-field .m-label--big { font-size: 19px; }
.map-field .m-state { fill: none; stroke: rgba(26,20,24,.45); stroke-width: 1; stroke-linejoin: round; }
.map-field .m-state-fill { fill: rgba(26,20,24,.03); }
.map-field[data-map="dark"] .m-state { stroke: rgba(244,246,248,.5); }
.map-field[data-map="dark"] .m-state-fill { fill: rgba(244,246,248,.025); }
.map-field .m-city--faint { opacity: .45; }
.map-field .m-label--faint { opacity: .55; }
.map-field .m-halo { fill: rgba(184,48,107,.10); stroke: rgba(184,48,107,.45); stroke-width: 1; }
.map-field .m-compass { fill: none; stroke: rgba(26,20,24,.35); stroke-width: 1; }
.map-field[data-map="dark"] .m-grid { fill: rgba(244,246,248,.12); }
.map-field[data-map="dark"] .m-alps { stroke: rgba(244,246,248,.35); }
.map-field[data-map="dark"] .m-alps-fill { fill: rgba(244,246,248,.04); }
.map-field[data-map="dark"] .m-route { stroke: rgba(244,246,248,.7); }
.map-field[data-map="dark"] .m-city { fill: rgba(244,246,248,.6); }
.map-field[data-map="dark"] .m-label { fill: var(--on-deep-3); }
.map-field[data-map="dark"] .m-label--big { fill: var(--on-deep); }
.map-field[data-map="dark"] .m-compass { stroke: rgba(244,246,248,.35); }
@media (prefers-reduced-motion: reduce) { .map-field .m-ring { animation: none; opacity: .5; } }

/* ── Belegpflicht-Demo ──────────────────────────────────── */
.cite { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); overflow: hidden; }
.cite__bar { display: flex; align-items: center; gap: .6rem; padding: .9rem 1.2rem; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; color: var(--ink-3); }
.cite__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); display: inline-block; }
.cite__bar i:first-child { background: var(--signal); }
.cite__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: 300px; }
.cite__answer { padding: 1.6rem; font-size: 1.05rem; line-height: 1.7; color: var(--ink); border-right: 1px solid var(--line); }
.cite__answer .cur { display: inline-block; width: .55em; height: 1.05em; background: var(--signal); vertical-align: text-bottom; margin-left: .1em; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cite__ref { display: inline-flex; align-items: center; justify-content: center; min-width: 1.5em; height: 1.5em; padding: 0 .35em; font-family: var(--font-mono); font-size: .72rem; font-weight: 600; background: var(--signal-soft); color: var(--signal-text); border-radius: 4px; margin: 0 .15em; vertical-align: .1em; transform: scale(.6); opacity: 0; transition: transform .5s var(--ease-out), opacity .4s; }
.cite__ref.is-in { transform: none; opacity: 1; }
.cite__ref.is-hot { background: var(--signal); color: var(--ink); }
.cite__sources { padding: 1.6rem; display: grid; gap: .8rem; align-content: start; background: var(--paper); }
.cite__src { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); opacity: .45; transform: translateX(10px); transition: opacity .5s, transform .6s var(--ease-out), border-color .4s; }
.cite__src.is-hot { opacity: 1; transform: none; border-color: var(--signal); }
.cite__src .cite__ref { transform: none; opacity: 1; }
.cite__src b { display: block; font-size: .92rem; font-weight: 600; }
.cite__src small { display: block; font-family: var(--font-mono); font-size: .7rem; color: var(--ink-3); margin-top: .2em; }
@media (max-width: 760px) { .cite__body { grid-template-columns: 1fr; } .cite__answer { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ── Konstellation ──────────────────────────────────────── */
.constellation { position: relative; aspect-ratio: 1; max-width: 640px; margin: 0 auto; }
.constellation svg { width: 100%; height: 100%; overflow: visible; }
.constellation .edge { stroke: var(--line-2); stroke-width: 1; fill: none; }
.constellation .edge--hot { stroke: var(--signal); stroke-width: 1.5; }
.constellation .node { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; fill: var(--ink-2); }
.constellation .node-box { fill: var(--white); stroke: var(--line-2); }
.constellation .center { fill: var(--signal); }
.section--deep .constellation .edge { stroke: var(--on-deep-line); }
.section--deep .constellation .node { fill: var(--on-deep-2); }
.section--deep .constellation .node-box { fill: var(--panel); stroke: var(--on-deep-line); }


/* ── Produkt-Mockups (Oberfläche als HTML) ───────────────── */
.ui-wrap { position: relative; width: 100%; overflow: hidden; border-radius: var(--r-lg); }
.ui-frame { position: absolute; left: 0; top: 0; transform-origin: 0 0; background: var(--deep); color: var(--on-deep); border-radius: 18px; border: 1px solid rgba(244,246,248,.10); box-shadow: 0 40px 90px -40px rgba(26,20,24,.55); overflow: hidden; font-family: var(--font-body); font-size: 13px; line-height: 1.35; display: flex; flex-direction: column; }
.ui-bar { height: 44px; flex: none; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid rgba(244,246,248,.08); background: #090C12; }
.ui-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(244,246,248,.14); }
.ui-bar i:first-child { background: var(--signal); }
.ui-bar__title { margin-left: 12px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; color: rgba(244,246,248,.7); }
.ui-bar__right { margin-left: auto; display: flex; gap: 6px; }
.ui-pill { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(244,246,248,.14); color: rgba(244,246,248,.7); }
.ui-pill--live { border-color: rgba(184,48,107,.5); color: var(--signal); }
.ui-pill--live::before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--signal); margin-right: 6px; animation: uiblink 1.4s infinite; }
@keyframes uiblink { 50% { opacity: .25; } }
.ui-body { flex: 1; display: grid; grid-template-columns: 190px 1fr 210px; min-height: 0; }
.ui-side { border-right: 1px solid rgba(244,246,248,.08); padding: 20px 12px; display: flex; flex-direction: column; background: #080B10; }
.ui-side__brand { height: 18px; width: auto; margin: 2px 0 26px 4px; }
.ui-side__nav { display: grid; gap: 4px; }
.ui-side__nav span { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; color: rgba(244,246,248,.55); font-size: 13px; }
.ui-side__nav span i { width: 7px; height: 7px; background: rgba(244,246,248,.22); }
.ui-side__nav span.is-active { background: rgba(244,246,248,.07); color: var(--on-deep); }
.ui-side__nav span.is-active i { background: var(--signal); }
.ui-side__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(244,246,248,.08); }
.ui-side__foot b { display: block; font-weight: 600; font-size: 12.5px; }
.ui-side__foot small { color: rgba(244,246,248,.45); font-size: 11px; }
.ui-canvas { position: relative; overflow: hidden; background-image: radial-gradient(rgba(244,246,248,.12) 1px, transparent 1px); background-size: 22px 22px; background-position: 11px 11px; }
.ui-canvas__tools { position: absolute; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 4px; }
.ui-canvas__tools span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; background: rgba(244,246,248,.06); color: rgba(244,246,248,.6); font-size: 13px; }
.ui-edges { position: absolute; inset: 0; width: 100%; height: 100%; }
.ui-edge { fill: none; stroke: rgba(244,246,248,.22); stroke-width: 1.5; }
.ui-edge--flow { stroke: rgba(184,48,107,.55); stroke-dasharray: 4 10; animation: uiflow 1.6s linear infinite; }
@keyframes uiflow { to { stroke-dashoffset: -28; } }
.ui-route { fill: none; stroke: none; }
.ui-runner { fill: var(--signal); filter: drop-shadow(0 0 6px rgba(184,48,107,.9)); }
.ui-edge-label-bg { fill: #10151D; stroke: rgba(244,246,248,.14); }
.ui-edge-label { font-family: var(--font-mono); font-size: 10px; fill: rgba(244,246,248,.7); letter-spacing: .04em; }
.ui-node { position: absolute; width: 232px; height: 62px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 0 12px 0 10px; background: #0E131B; border: 1px solid rgba(244,246,248,.12); border-radius: 12px; box-shadow: 0 10px 30px -18px rgba(0,0,0,.8); }
.ui-node.is-active { border-color: rgba(184,48,107,.7); box-shadow: 0 0 0 4px rgba(184,48,107,.12), 0 10px 30px -18px rgba(0,0,0,.8); animation: uipulse 2.2s ease-in-out infinite; }
@keyframes uipulse { 50% { box-shadow: 0 0 0 8px rgba(184,48,107,.06), 0 10px 30px -18px rgba(0,0,0,.8); } }
.ui-node__ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(244,246,248,.06); }
.ui-node__ic svg { width: 18px; height: 18px; stroke: rgba(244,246,248,.8); }
.ui-node--trigger .ui-node__ic, .ui-node--human .ui-node__ic { background: rgba(184,48,107,.16); }
.ui-node--trigger .ui-node__ic svg, .ui-node--human .ui-node__ic svg { stroke: var(--signal); }
.ui-node--decision .ui-node__ic svg { stroke: var(--signal); }
.ui-node__t { min-width: 0; }
.ui-node__t b { display: block; font-weight: 600; font-size: 12.5px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-node__t small { display: block; font-family: var(--font-mono); font-size: 10px; color: rgba(244,246,248,.45); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-node__st { font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; padding: 3px 7px; border-radius: 999px; }
.ui-node__st--ok { background: rgba(184,48,107,.16); color: var(--signal); display: grid; place-items: center; min-width: 22px; height: 20px; }
.ui-node__st--ok svg { width: 12px; height: 12px; stroke: var(--signal); }
.ui-node__st--wait { border: 1px solid rgba(184,48,107,.6); color: var(--signal); }
.ui-port { position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: #0E131B; border: 1.5px solid rgba(244,246,248,.35); border-radius: 50%; }
.ui-port--in { left: -5px; } .ui-port--out { right: -5px; }
.ui-node.is-done .ui-port--out { border-color: var(--signal); }
.ui-log { border-left: 1px solid rgba(244,246,248,.08); background: #080B10; display: flex; flex-direction: column; min-height: 0; }
.ui-log__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 12px; border-bottom: 1px solid rgba(244,246,248,.08); font-weight: 600; }
.ui-log__rows { padding: 10px 12px; display: grid; gap: 8px; font-size: 11px; }
.ui-log__rows div { display: grid; grid-template-columns: 48px 1fr; gap: 6px; color: rgba(244,246,248,.72); }
.ui-log__rows time { font-family: var(--font-mono); font-size: 10px; color: rgba(244,246,248,.4); padding-top: 2px; }
.ui-log__rows b { color: var(--on-deep); font-weight: 600; }
.ui-log__rows .is-hot span { color: var(--signal); }
.ui-log__rows .is-dim { opacity: .45; }
.ui-log__meta { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(244,246,248,.08); border-top: 1px solid rgba(244,246,248,.08); }
.ui-log__meta div { background: #080B10; padding: 10px 12px; }
.ui-log__meta small { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(244,246,248,.4); }
.ui-log__meta b { display: block; font-size: 12.5px; font-weight: 600; margin: 2px 0 1px; }
.ui-log__meta div small:last-child { text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 10.5px; }
/* Assistent */
.ui-chat { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 18px; min-height: 0; }
.ui-msg { max-width: 88%; padding: 11px 14px; border-radius: 14px; font-size: 12.5px; line-height: 1.5; }
.ui-msg--user { align-self: flex-end; background: rgba(244,246,248,.09); border-bottom-right-radius: 4px; }
.ui-msg--ai { align-self: flex-start; background: #0E131B; border: 1px solid rgba(244,246,248,.10); border-bottom-left-radius: 4px; }
.ui-msg--ai p { margin: 0; max-width: none; color: var(--on-deep); }
.ui-ref { display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; margin: 0 2px; font-family: var(--font-mono); font-size: 9.5px; font-weight: 600; background: rgba(184,48,107,.18); color: var(--signal); border-radius: 4px; vertical-align: 2px; }
.ui-sources { display: grid; gap: 5px; margin-top: 10px; }
.ui-sources span { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10.5px; color: rgba(244,246,248,.7); padding: 6px 8px; border: 1px solid rgba(244,246,248,.09); border-radius: 8px; }
.ui-sources i { font-style: normal; width: 16px; height: 16px; display: grid; place-items: center; background: rgba(184,48,107,.18); color: var(--signal); border-radius: 4px; font-size: 9.5px; font-weight: 600; }
.ui-msg__meta { margin-top: 9px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .03em; color: rgba(244,246,248,.4); }
.ui-input { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 14px; border: 1px solid rgba(244,246,248,.14); border-radius: 12px; color: rgba(244,246,248,.4); font-size: 12.5px; }
.ui-input b { width: 28px; height: 28px; border-radius: 8px; background: var(--signal); display: grid; place-items: center; }
.ui-input b svg { width: 14px; height: 14px; stroke: var(--ink); }
/* Steuerung */
.ui-ctrl { flex: 1; padding: 16px; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; min-height: 0; }
.ui-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ui-tile { background: #0E131B; border: 1px solid rgba(244,246,248,.10); border-radius: 10px; padding: 10px 11px; }
.ui-tile small { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(244,246,248,.4); }
.ui-tile b { display: block; font-family: var(--font-head); font-weight: 640; font-size: 20px; letter-spacing: -.02em; margin: 4px 0 2px; }
.ui-tile em { font-style: normal; font-size: 10px; color: rgba(244,246,248,.45); }
.ui-meter { display: block; height: 4px; background: rgba(244,246,248,.1); border-radius: 2px; margin-top: 8px; overflow: hidden; }
.ui-meter span { display: block; height: 100%; background: var(--signal); }
.ui-guards { background: #0E131B; border: 1px solid rgba(244,246,248,.10); border-radius: 10px; padding: 4px 12px; }
.ui-guards__head { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(244,246,248,.4); padding: 8px 0 4px; }
.ui-guard { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; border-top: 1px solid rgba(244,246,248,.07); font-size: 12px; }
.ui-toggle { width: 30px; height: 17px; border-radius: 999px; background: rgba(244,246,248,.14); position: relative; flex: none; }
.ui-toggle::after { content: ''; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: rgba(244,246,248,.7); transition: left .3s; }
.ui-toggle.is-on { background: var(--signal); }
.ui-toggle.is-on::after { left: 15px; background: var(--ink); }
.ui-audit { display: grid; gap: 6px; font-size: 11px; color: rgba(244,246,248,.6); }
.ui-audit div { display: grid; grid-template-columns: 38px 1fr; gap: 8px; }
.ui-audit time { font-family: var(--font-mono); font-size: 10px; color: rgba(244,246,248,.35); }
.ui-caption { margin-top: 1.2rem; font-size: .95rem; color: var(--ink-3); }
.ui-caption b { display: inline-block; font-weight: 600; color: var(--ink); margin-right: .6em; }
.ui-caption b::before { content: ''; display: inline-block; width: .5em; height: .5em; background: var(--signal); margin-right: .55em; }
@media (prefers-reduced-motion: reduce) { .ui-edge--flow, .ui-node.is-active, .ui-pill--live::before { animation: none; } }


/* ── Markenfamilie ──────────────────────────────────────── */
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.brand { position: relative; border-radius: var(--r-lg); padding: clamp(1.8rem, 2.6vw, 2.6rem); min-height: 420px; display: flex; flex-direction: column; overflow: hidden; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.brand:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(26,20,24,.35); }
.brand__logo { height: 26px; width: auto; margin-bottom: 2.2rem; align-self: flex-start; }
.brand__logo--tall { height: 30px; }
.brand h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin-bottom: .8rem; }
.brand p { font-size: 1rem; margin-bottom: 1.4rem; }
.brand ul { display: grid; gap: .45rem; margin-bottom: 2rem; font-size: .95rem; }
.brand li { display: flex; gap: .6em; align-items: baseline; }
.brand li::before { content: ''; width: .5em; height: .5em; flex: none; background: var(--brand-accent); transform: translateY(-.05em); }
.brand .link { margin-top: auto; }
.brand--bwiiw { --brand-accent: #FE4500; background: var(--deep); color: var(--on-deep); }
.brand--bwiiw h3 { color: var(--on-deep); } .brand--bwiiw p, .brand--bwiiw li { color: var(--on-deep-2); } .brand--bwiiw .link { color: var(--on-deep); }
.brand--witalio { --brand-accent: #B8306B; background: #FFFFFF; border: 1px solid var(--line); color: #0A1520; }
.brand--witalio h3 { color: #0A1520; } .brand--witalio p, .brand--witalio li { color: #3B424D; }
.brand--witalio li::before { border-radius: 50%; }
.brand--blingai { --brand-accent: #1E90FF; background: #0B0F16; color: rgba(244,246,248,.92); }
.brand--blingai h3 { color: rgba(244,246,248,.92); } .brand--blingai p, .brand--blingai li { color: rgba(244,246,248,.62); } .brand--blingai .link { color: rgba(244,246,248,.92); }
.brand__tag { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .6; margin-bottom: 1rem; }
@media (max-width: 1000px) { .brands { grid-template-columns: 1fr; } .brand { min-height: 0; } }
.nav__link--ext { font-size: .86rem; font-weight: 500; opacity: .6; margin-left: .2rem; }
.nav__link--ext:hover { opacity: 1; }
@media (max-width: 900px) { .nav__link--ext { font-size: 1.2rem; font-family: var(--font-body); letter-spacing: 0; font-weight: 500; opacity: .7; } }
.nav__link--ext::after { display: none; }

/* ── Linien-Grafiken ───────────────────────────────────── */
.lineart { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1rem, 2vw, 1.6rem); aspect-ratio: 16/10; }
.lineart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.lineart .la-ink { stroke: var(--ink); stroke-width: 1.6; }
.lineart .la-berry { stroke: var(--signal); stroke-width: 2; fill: var(--signal); }
.lineart .la-berry circle.draw, .lineart .la-berry path { fill: none; }
.lineart .la-berry-stroke { stroke: var(--signal); }
.lineart .la-berry-fill { fill: var(--signal); stroke: none; }
.lineart .la-ink-fill { fill: var(--ink-4); stroke: none; }
.lineart .la-berry-box { fill: none; stroke: var(--signal); stroke-width: 1.6; }
.lineart .la-text { fill: var(--ink); stroke: none; font-family: var(--font-body); font-size: 15px; font-weight: 600; }
.lineart text { stroke: none; }
.lineart .la-berry-text { fill: var(--signal-text); font-weight: 600; }
.lineart .la-audit rect { transform-box: fill-box; transform-origin: center; }
.lineart.is-in .la-audit rect { animation: la-pop .5s var(--ease-out) both; }
.lineart.is-in .la-audit rect:nth-child(n) { animation-delay: calc(var(--i, 0) * 40ms + 1.2s); }
@keyframes la-pop { from { transform: scale(0); } }
.lineart .la-small { font-family: var(--font-mono); font-size: 11.5px; font-weight: 400; fill: var(--ink-3); letter-spacing: .04em; }
.lineart .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.lineart.is-in .draw { animation: la-draw 1.4s var(--ease-out) forwards; }
.lineart.is-in .la-berry .draw { animation-delay: .5s; }
@keyframes la-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .lineart .draw { stroke-dashoffset: 0; animation: none; } }

/* ── Zitat / Haltung ────────────────────────────────────── */
.quote { font-family: var(--font-head); font-weight: 560; font-stretch: 104%; font-size: clamp(1.6rem, 3vw, 2.8rem); letter-spacing: -.03em; line-height: 1.15; max-width: 22ch; }
.quote .mk { width: .42em; height: .42em; }

/* ── Kontakt / CTA-Band ─────────────────────────────────── */
.cta-band { position: relative; overflow: hidden; }
.cta-band .display-l { max-width: 16ch; margin-bottom: 2rem; }
.cta-band__field { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .9; }
.cta-band__field canvas { width: 100%; height: 100%; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.cta-band__contact { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .04em; line-height: 2; color: var(--on-deep-2); }
.cta-band__contact a { color: var(--on-deep); border-bottom: 1px solid var(--on-deep-line); transition: border-color .3s; }
.cta-band__contact a:hover { border-color: var(--signal); }

/* Kontaktformular */
.form { display: grid; gap: 1.2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: grid; gap: .5rem; }
.field label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink);
  padding: .95em 1.1em;
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r);
  transition: border-color .3s, box-shadow .3s;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--signal-soft); }
.field textarea { min-height: 160px; resize: vertical; }
.form__note { font-size: .86rem; color: var(--ink-3); }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

/* ── Prosa (Rechtstexte) ────────────────────────────────── */
.prose { max-width: 760px; }
.prose h1 { margin-bottom: 1.4rem; font-size: clamp(2.2rem, 6vw, 5rem); }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin: 3rem 0 1rem; }
.prose h3 { margin: 2rem 0 .6rem; }
.prose p, .prose li { color: var(--ink-2); margin-bottom: 1rem; max-width: 70ch; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--signal-text); border-bottom: 1px solid transparent; transition: border-color .3s; }
.prose a:hover { border-color: currentColor; }
.prose .callout { padding: 1.4rem 1.6rem; border-left: 3px solid var(--signal); background: var(--white); border-radius: 0 var(--r) var(--r) 0; margin: 1.6rem 0 2rem; }
.prose .callout p { margin: 0; color: var(--ink); }
.prose address { font-style: normal; color: var(--ink-2); margin-bottom: 1rem; line-height: 1.7; }

/* ── Footer ─────────────────────────────────────────────── */
.footer { background: var(--deep); color: var(--on-deep-2); padding: clamp(4rem, 7vw, 6.5rem) 0 2.4rem; }
.footer__top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 3rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--on-deep-line); }
.footer__brand svg, .footer__brand img { height: 26px; width: auto; margin-bottom: 1.4rem; }
.footer__brand p { color: var(--on-deep-3); max-width: 34ch; font-size: .95rem; }
.footer h4 { font-family: var(--font-mono); font-weight: 500; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-deep-3); margin-bottom: 1.2rem; }
.footer li { margin-bottom: .55rem; }
.footer li a { color: var(--on-deep-2); transition: color .3s; font-size: .96rem; }
.footer li a:hover { color: var(--on-deep); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.8rem; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; color: var(--on-deep-3); }
.footer__bottom a { color: var(--on-deep-2); }
.footer__bottom a:hover { color: var(--on-deep); }
.footer__origin { font-family: var(--font-head); font-weight: 600; font-stretch: 104%; letter-spacing: -.02em; font-size: 1.05rem; color: var(--on-deep-2); margin-top: 1.6rem; }
.footer__origin .mk { width: .45em; height: .45em; margin: 0 .38em; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

/* ── Marquee (Branchen, dezent) ─────────────────────────── */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.2rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); display: inline-flex; align-items: center; gap: 1.2em; white-space: nowrap; }
.marquee__track span::after { content: ''; width: .5em; height: .5em; background: var(--signal); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ── Zahlenlose Vertrauensleiste ────────────────────────── */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { background: var(--paper); padding: 2rem 2rem 2rem 0; }
.fact + .fact { padding-left: 2rem; }
.fact b { display: block; font-family: var(--font-head); font-weight: 640; font-stretch: 104%; font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -.03em; line-height: 1.05; margin-bottom: .5rem; }
.fact p { color: var(--ink-3); font-size: .95rem; }
.section--deep .facts { background: var(--on-deep-line); border-color: var(--on-deep-line); }
.section--deep .fact { background: var(--deep); }
.section--deep .fact b { color: var(--on-deep); }
.section--deep .fact p { color: var(--on-deep-2); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } .fact, .fact + .fact { padding: 1.6rem 0; } }

/* ── Reduzierte Bewegung ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .split-text .w > span { transform: none; }
  .intro { display: none; }
  .figure--clip { clip-path: none; }
  .figure img { transform: none; }
  .marquee__track { animation: none; }
}
html.no-motion .intro { display: none; }
html.no-motion .split-text .w > span { transform: none; }
html.no-motion .figure--clip { clip-path: none; }

/* ── Utilities ──────────────────────────────────────────── */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mt-4 { margin-top: 4rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.maxw-s { max-width: 560px; } .maxw-m { max-width: 720px; } .maxw-l { max-width: 900px; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--ink); color: var(--white); padding: .8em 1.2em; }
.skip:focus { left: var(--gutter); top: var(--gutter); }
