/* OVYLON — Markenarchitektur · Core · Web · Act · Afterlive */
:root {
  --bg: oklch(0.985 0.004 95);
  --bg-2: oklch(0.96 0.006 95);
  --bg-3: oklch(0.93 0.008 95);
  --ink: oklch(0.2 0.015 260);
  --ink-2: oklch(0.35 0.015 260);
  --ink-3: oklch(0.45 0.014 260);
  --ink-4: oklch(0.75 0.01 260);
  --line: oklch(0.88 0.008 95);
  --line-2: oklch(0.82 0.01 95);

  /* Ovylon Brand (blau) — Default für die Dachmarke */
  --brand: oklch(0.6 0.17 250);          /* Logo-Wortmark */
  --brand-soft: oklch(0.94 0.05 250);
  --accent: oklch(0.6 0.17 250);
  --accent-ink: oklch(0.32 0.13 250);
  --accent-soft: oklch(0.94 0.05 250);

  --warn: oklch(0.7 0.16 50);
  --radius: 6px;
  --radius-lg: 14px;
  --maxw: 1280px;
  --pad: clamp(20px, 3vw, 48px);
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

[data-theme="dark"] {
  --bg: oklch(0.18 0.012 260);
  --bg-2: oklch(0.22 0.013 260);
  --bg-3: oklch(0.26 0.014 260);
  --ink: oklch(0.97 0.005 95);
  --ink-2: oklch(0.85 0.008 95);
  --ink-3: oklch(0.78 0.01 95);
  --ink-4: oklch(0.45 0.01 95);
  --line: oklch(0.3 0.012 260);
  --line-2: oklch(0.38 0.014 260);

  --brand: oklch(0.78 0.16 250);
  --brand-soft: oklch(0.3 0.08 250);
  --accent: oklch(0.78 0.16 250);
  --accent-ink: oklch(0.2 0.03 260);
  --accent-soft: oklch(0.3 0.08 250);
}

/* ===== Sub-Brand Themes =====
   Body bekommt data-brand: ovylon | core | web | act | afterlive
   Setzt --accent für die jeweilige Seite (Buttons, Highlights, Diagramme).
   Suffix-Farbe (Core / Web / Act / Afterlive im Logo) bleibt immer in Brand-Farbe. */

/* Core — grün */
body[data-brand="core"] { --accent: oklch(0.62 0.16 145); --accent-ink: oklch(0.32 0.11 145); --accent-soft: oklch(0.94 0.06 145); --suffix: oklch(0.5 0.15 145); }
[data-theme="dark"] body[data-brand="core"] { --accent: oklch(0.78 0.18 145); --accent-ink: oklch(0.2 0.03 260); --accent-soft: oklch(0.3 0.08 145); --suffix: oklch(0.78 0.18 145); }

/* Web — türkis */
body[data-brand="web"] { --accent: oklch(0.65 0.13 200); --accent-ink: oklch(0.32 0.09 200); --accent-soft: oklch(0.94 0.045 200); --suffix: oklch(0.5 0.12 200); }
[data-theme="dark"] body[data-brand="web"] { --accent: oklch(0.8 0.13 200); --accent-ink: oklch(0.2 0.03 260); --accent-soft: oklch(0.3 0.07 200); --suffix: oklch(0.8 0.13 200); }

/* Act — dunkles Gold */
body[data-brand="act"] { --accent: oklch(0.65 0.13 78); --accent-ink: oklch(0.38 0.09 78); --accent-soft: oklch(0.93 0.06 78); --suffix: oklch(0.55 0.13 78); }
[data-theme="dark"] body[data-brand="act"] { --accent: oklch(0.78 0.13 78); --accent-ink: oklch(0.2 0.03 260); --accent-soft: oklch(0.32 0.07 78); --suffix: oklch(0.78 0.13 78); }

/* Afterlive — lila */
body[data-brand="afterlive"] { --accent: oklch(0.6 0.18 305); --accent-ink: oklch(0.34 0.13 305); --accent-soft: oklch(0.94 0.05 305); --suffix: oklch(0.5 0.18 305); }
[data-theme="dark"] body[data-brand="afterlive"] { --accent: oklch(0.76 0.16 305); --accent-ink: oklch(0.2 0.03 260); --accent-soft: oklch(0.3 0.08 305); --suffix: oklch(0.76 0.16 305); }

/* Default Suffix (Ovylon Dachmarke — kein Suffix sichtbar, aber falls genutzt) */
:root { --suffix: var(--brand); }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 240ms ease, color 240ms ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* Type */
.display-xl, .display-l, .display-m, .display-s {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-weight: 500;
  text-wrap: balance;
}
.display-xl { font-size: clamp(52px, 7.5vw, 112px); letter-spacing: -0.035em; font-weight: 450; }
.display-l { font-size: clamp(40px, 5.2vw, 72px); letter-spacing: -0.03em; }
.display-m { font-size: clamp(30px, 3.6vw, 50px); }
.display-s { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.1; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-weight: 500;
}
.eyebrow::before { content: "// "; color: var(--accent); }
.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-2);
  max-width: 62ch;
  line-height: 1.5;
  text-wrap: pretty;
}
.mono { font-family: var(--font-mono); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 17px; letter-spacing: -0.01em;
}
.logo-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: transparent;
  position: relative;
  flex-shrink: 0;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* OVYLON wordmark + suffix lockup */
.logo-word {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 18px;
  color: var(--ink);
}
.logo-lockup { display: inline-flex; align-items: center; gap: 12px; }
.logo-sep {
  width: 1px;
  height: 18px;
  background: var(--ink-3);
  display: inline-block;
  flex-shrink: 0;
  position: relative;
  transform-origin: center;
  animation: sepPop 480ms cubic-bezier(0.4, 1.6, 0.4, 1) both;
}
@keyframes sepPop {
  0%   { transform: scaleY(0); opacity: 0; }
  60%  { transform: scaleY(1.15); opacity: 1; }
  100% { transform: scaleY(1); opacity: 1; }
}
.logo-suffix {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.005em;
  font-size: 18px;
  color: var(--suffix);
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  /* Suffix schiebt sich aus dem Strich nach rechts heraus */
  animation: suffixSlide 700ms cubic-bezier(0.22, 0.9, 0.3, 1) 280ms both;
  transform-origin: left center;
}
@keyframes suffixSlide {
  0%   { clip-path: inset(0 100% 0 0); transform: translateX(-6px); opacity: 0; }
  40%  { opacity: 1; }
  100% { clip-path: inset(0 0 0 0); transform: translateX(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-sep, .logo-suffix { animation: none; }
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--ink-2); transition: color 160ms; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer; transition: all 160ms ease;
  font-family: var(--font-body);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink); color: var(--bg);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-accent {
  background: var(--accent);
  color: oklch(0.99 0 0);
  font-weight: 600;
}
[data-theme="dark"] .btn-accent { color: oklch(0.16 0.012 260); }
.btn-accent:hover { transform: translateY(-1px); filter: brightness(1.05); }

/* Global highlight pill — used in display headlines */
.hl {
  font-style: normal;
  color: oklch(0.99 0 0);
  background: var(--accent);
  padding: 0 0.15em;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
[data-theme="dark"] .hl { color: oklch(0.16 0.012 260); background: var(--accent); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--bg-2); border-color: var(--ink-3); }
.btn .arrow { transition: transform 200ms; }
.btn:hover .arrow { transform: translateX(3px); }

/* Theme toggle */
.theme-toggle {
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent; color: var(--ink);
  cursor: pointer; display: grid; place-items: center;
}
.theme-toggle:hover { background: var(--bg-2); }

/* Sections */
section { padding: clamp(64px, 9vw, 128px) 0; }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  margin-bottom: clamp(40px, 6vw, 72px);
  align-items: start;
}
.section-head > .lede { padding-top: 14px; max-width: 48ch; }
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-head > .lede { padding-top: 0; }
}
.section-head .eyebrow-wrap { display: flex; flex-direction: column; gap: 12px; }
.section-head h2 { text-wrap: balance; }

/* Grid helpers */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Cards */
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 200ms, transform 200ms;
}
.card:hover { border-color: var(--ink-3); }
.card-tight { padding: 20px; }

/* Tags / pills */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  background: var(--bg);
}
.pill-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.pill-live .pill-dot { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 50%, transparent); }
  50% { box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 0%, transparent); }
}

/* Hairline helpers */
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.hrule { border-top: 1px solid var(--line); padding-top: 20px; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
  color: var(--ink-2);
  font-size: 14px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer h4 {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--ink-3); margin: 0 0 18px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-3);
  flex-wrap: wrap; gap: 12px;
}

/* Utilities */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.text-muted { color: var(--ink-3); }
.text-strong { color: var(--ink); }
.text-accent { color: var(--accent-ink); }
[data-theme="dark"] .text-accent { color: var(--accent); }
.text-center { text-align: center; }
.hidden-mobile { }
@media (max-width: 820px) { .hidden-mobile { display: none; } }

/* Focus */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Legal pages ---- */
.legal-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; gap: 24px; }
}
.legal-toc {
  position: sticky;
  top: 92px;
  font-size: 13px;
  line-height: 1.7;
  border-left: 1px solid var(--line);
  padding-left: 16px;
}
@media (max-width: 900px) {
  .legal-toc {
    position: static;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 16px 0 0;
  }
}
.legal-toc ul { list-style: none; margin: 0; padding: 0; }
.legal-toc li { margin: 0; }
.legal-toc a {
  color: var(--ink-3);
  text-decoration: none;
  display: block;
  padding: 3px 0;
  border-bottom: 1px dashed transparent;
  transition: color 160ms ease, border-color 160ms ease;
}
.legal-toc a:hover {
  color: var(--ink);
  border-bottom-color: var(--line-2);
}

.legal {
  max-width: 68ch;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--ink-2);
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 44px 0 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.legal h2:first-of-type { margin-top: 8px; padding-top: 0; border-top: 0; }
.legal p { margin: 0 0 14px; }
.legal ul {
  margin: 6px 0 18px;
  padding-left: 20px;
}
.legal ul li { margin: 4px 0; }
.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.legal a:hover {
  text-decoration-color: var(--accent);
  color: var(--accent-ink);
}
[data-theme="dark"] .legal a:hover { color: var(--accent); }
.legal strong { color: var(--ink); font-weight: 550; }

.legal .kv {
  display: grid;
  grid-template-columns: 180px 1fr;
  row-gap: 6px;
  column-gap: 16px;
  margin: 6px 0 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.legal .kv dt {
  color: var(--ink-3);
  font-size: 13px;
  letter-spacing: 0.01em;
}
.legal .kv dd { margin: 0; color: var(--ink); }
@media (max-width: 560px) {
  .legal .kv { grid-template-columns: 1fr; padding: 14px; }
  .legal .kv dt { margin-top: 4px; }
}

.legal-meta {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== Sub-brand color helpers ===== */
[data-c="core"]      { --c: oklch(0.62 0.16 145); }
[data-c="web"]       { --c: oklch(0.65 0.13 200); }
[data-c="act"]       { --c: oklch(0.65 0.13 78);  }
[data-c="afterlive"] { --c: oklch(0.6 0.18 305);  }
[data-theme="dark"] [data-c="core"]      { --c: oklch(0.78 0.18 145); }
[data-theme="dark"] [data-c="web"]       { --c: oklch(0.8 0.13 200); }
[data-theme="dark"] [data-c="act"]       { --c: oklch(0.78 0.13 78);  }
[data-theme="dark"] [data-c="afterlive"] { --c: oklch(0.76 0.16 305); }
.ftr-suffix[data-c], .nav-sub-suffix[data-c] { color: var(--c); font-weight: 500; }
.dotc { display: inline-block; width: 7px; height: 7px; border-radius: 999px; background: var(--c); margin-right: 6px; vertical-align: middle; }

/* ===== Sub-Brand Dropdown im Nav ===== */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 0; padding: 0;
  font-family: var(--font-body); font-size: 14px; color: var(--ink-2);
  cursor: pointer; transition: color 160ms;
}
.nav-dropdown-trigger:hover { color: var(--ink); }
.nav-dropdown-trigger.active { color: var(--ink); }
.nav-dropdown-trigger svg { transition: transform 200ms; opacity: 0.6; }
.nav-dropdown-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translate(-50%, -8px);
  min-width: 320px; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -16px color-mix(in oklab, var(--ink) 22%, transparent),
              0 4px 12px -4px color-mix(in oklab, var(--ink) 12%, transparent);
  padding: 8px; opacity: 0; pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 60;
}
.nav-dropdown-menu.open { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.nav-dropdown-menu::before {
  content: ""; position: absolute; top: -7px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: var(--bg);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.nav-sub {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 10px;
  transition: background 160ms;
}
.nav-sub:hover { background: var(--bg-2); }
.nav-sub-mark {
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--c); flex-shrink: 0;
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--c) 18%, transparent);
}
.nav-sub-text { display: grid; gap: 2px; min-width: 0; }
.nav-sub-text strong { font-family: var(--font-display); font-weight: 500; font-size: 14px; color: var(--ink); letter-spacing: 0.005em; }
.nav-sub-text em { font-style: normal; font-size: 12px; color: var(--ink-3); }

/* ===== Sub-brand hero & shared blocks ===== */
.brand-hero { padding-top: 56px; padding-bottom: clamp(48px, 6vw, 88px); }
.brand-hero .eyebrow::before { content: "// "; color: var(--accent); }
.brand-hero h1 { margin: 16px 0 0; }
.brand-hero .lede { margin-top: 20px; }
.brand-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 980px) { .brand-hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.brand-lockup-display {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 10px 20px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
}
.brand-lockup-display .ld-mark {
  width: 28px; height: 28px;
}
.brand-lockup-display .ld-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-lockup-display .ld-word {
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: 0.02em;
  color: var(--ink);
}
.brand-lockup-display .ld-sep {
  width: 1px; height: 14px; background: var(--ink-3);
}
.brand-lockup-display .ld-suffix {
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
  color: var(--accent-ink); letter-spacing: 0.005em;
}
[data-theme="dark"] .brand-lockup-display .ld-suffix { color: var(--accent); }

/* Sub-brand product/feature cards */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); }
@media (max-width: 760px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  display: flex; flex-direction: column; gap: 12px;
  padding: 32px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 200ms;
}
.feat:hover { background: var(--bg-2); }
.feat:nth-child(2n) { border-right: 0; }
.feat:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 760px) {
  .feat { border-right: 0; border-bottom: 1px solid var(--line); }
  .feat:last-child { border-bottom: 0; }
  .feat:nth-last-child(-n+2):not(:last-child) { border-bottom: 1px solid var(--line); }
}
.feat-num { font-family: var(--font-mono); font-size: 11px; color: var(--accent-ink); letter-spacing: 0.1em; }
[data-theme="dark"] .feat-num { color: var(--accent); }
.feat h3 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; }
.feat p { margin: 0 0 4px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.feat ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.feat ul li { padding-left: 18px; position: relative; }
.feat ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 1.5px; background: var(--accent); }

/* Big number marquee for USPs */
.usp-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg-2);
}
@media (max-width: 800px) { .usp-strip { grid-template-columns: repeat(2, 1fr); } }
.usp-strip > div > div:first-child { font-family: var(--font-display); font-size: clamp(28px, 3vw, 38px); font-weight: 500; letter-spacing: -0.02em; color: var(--accent-ink); }
[data-theme="dark"] .usp-strip > div > div:first-child { color: var(--accent); }
.usp-strip > div > div:last-child { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

/* Cross-sell ladder — links to other sub-brands */
.cross-sell { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .cross-sell { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .cross-sell { grid-template-columns: 1fr; } }
.cs-card {
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg); display: flex; flex-direction: column; gap: 10px;
  transition: border-color 200ms, transform 200ms;
  position: relative;
}
.cs-card:hover { border-color: var(--c); transform: translateY(-3px); box-shadow: 0 0 0 1px var(--c); }
.cs-card[data-c="core"]      { --c: oklch(0.62 0.16 145); }
.cs-card[data-c="web"]       { --c: oklch(0.65 0.13 200); }
.cs-card[data-c="act"]       { --c: oklch(0.65 0.13 78);  }
.cs-card[data-c="afterlive"] { --c: oklch(0.6 0.18 305);  }
[data-theme="dark"] .cs-card[data-c="core"]      { --c: oklch(0.78 0.18 145); }
[data-theme="dark"] .cs-card[data-c="web"]       { --c: oklch(0.8 0.13 200); }
[data-theme="dark"] .cs-card[data-c="act"]       { --c: oklch(0.78 0.13 78); }
[data-theme="dark"] .cs-card[data-c="afterlive"] { --c: oklch(0.76 0.16 305); }
.cs-card .cs-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; color: var(--c); text-transform: uppercase; letter-spacing: 0.06em;
}
.cs-card .cs-tag::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--c); }
.cs-card h4 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 20px; letter-spacing: -0.01em; }
.cs-card p { margin: 0; color: var(--ink-3); font-size: 13.5px; line-height: 1.5; }
.cs-card .cs-arrow { margin-top: 8px; font-size: 13px; color: var(--c); display: inline-flex; align-items: center; gap: 6px; transition: gap 200ms; }
.cs-card:hover .cs-arrow { gap: 10px; }

/* Audience pills */
.audience { display: flex; flex-wrap: wrap; gap: 10px; }
.audience li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  background: var(--bg);
}
.audience li::before { content: ""; width: 5px; height: 5px; border-radius: 999px; background: var(--accent); }
.audience { padding: 0; margin: 0; list-style: none; }


/* ===== Artframe (eyecatcher panels — used in hero on dachmarke + sub-brands) ===== */
.artframe {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  overflow: hidden;
  box-shadow: 0 24px 48px -28px color-mix(in oklab, var(--ink) 30%, transparent);
}
.artframe-label {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-2);
  text-transform: uppercase;
}
.artframe-label > span:last-child {
  margin-left: auto;
  text-transform: none;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent);
  animation: livepulse 1.4s ease-out infinite;
  flex-shrink: 0;
}
@keyframes livepulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent); }
  80%, 100% { box-shadow: 0 0 0 10px color-mix(in oklab, var(--accent) 0%, transparent); }
}
.artframe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.artframe-grid > div {
  padding: 12px 14px;
  border-right: 1px solid var(--line);
  font-size: 11px;
  display: flex; flex-direction: column; gap: 3px;
}
.artframe-grid > div:last-child { border-right: 0; }
.artframe-grid .k { display: block; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.artframe-grid .v { display: block; color: var(--ink); font-weight: 500; }

@keyframes wave {
  0%,100% { height: 20%; }
  50%     { height: 90%; }
}

.dot-acc { color: var(--accent); font-weight: 700; }
[data-theme="dark"] .dot-acc { color: var(--accent); }

/* --- Animated eyecatcher primitives ---------------------------------- */

/* Sequential pipeline reveal — each .pipe-step gets a delay */
.pipe-step {
  opacity: 0.35;
  transform: translateX(-4px);
  animation: pipeStep 6s linear infinite;
}
.pipe-step .pipe-dot { color: var(--ink-3); transition: color 200ms; }
@keyframes pipeStep {
  0%, 5% { opacity: 0.35; transform: translateX(-4px); }
  10%, 80% { opacity: 1; transform: translateX(0); }
  85%, 100% { opacity: 1; transform: translateX(0); }
}
.pipe-step.active .pipe-dot,
.pipe-step:nth-child(1) { animation-delay: 0s; }
.pipe-step:nth-child(2) { animation-delay: 0.6s; }
.pipe-step:nth-child(3) { animation-delay: 1.2s; }
.pipe-step:nth-child(4) { animation-delay: 1.8s; }
.pipe-step:nth-child(5) { animation-delay: 2.4s; }
.pipe-step:nth-child(6) { animation-delay: 3.0s; }
.pipe-step .pipe-dot {
  animation: pipeDot 6s linear infinite;
  animation-delay: inherit;
}
.pipe-step:nth-child(1) .pipe-dot { animation-delay: 0s; }
.pipe-step:nth-child(2) .pipe-dot { animation-delay: 0.6s; }
.pipe-step:nth-child(3) .pipe-dot { animation-delay: 1.2s; }
.pipe-step:nth-child(4) .pipe-dot { animation-delay: 1.8s; }
.pipe-step:nth-child(5) .pipe-dot { animation-delay: 2.4s; }
.pipe-step:nth-child(6) .pipe-dot { animation-delay: 3.0s; }
@keyframes pipeDot {
  0%, 5% { color: var(--ink-3); transform: scale(1); }
  10% { color: var(--accent); transform: scale(1.4); }
  20%, 100% { color: var(--accent); transform: scale(1); }
}

/* Pulsing channel dot */
.chan-pulse {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  margin-right: 4px;
  animation: chanPulse 1.4s ease-in-out infinite;
}
.chan-pulse:nth-child(2) { animation-delay: 0.2s; }
@keyframes chanPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}
.chan-idle {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 999px;
  border: 1px solid var(--ink-3);
  margin-right: 4px;
}

/* Scanning highlight for stacked rows */
.scan-stack { position: relative; overflow: hidden; }
.scan-stack::before {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 2px; background: var(--accent);
  box-shadow: 0 0 14px 2px color-mix(in oklab, var(--accent) 60%, transparent);
  top: 0;
  animation: scanMove 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes scanMove {
  0%   { top: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  45%  { top: 100%; opacity: 1; }
  55%  { top: 100%; opacity: 0; }
  100% { top: 0%;   opacity: 0; }
}

/* Counter that ticks up — JS finds .tick and animates */
.tick { font-variant-numeric: tabular-nums; }

/* Typing dots (used in Afterlive) */
.typing-dots { display: inline-flex; gap: 4px; }
.typing-dots span {
  width: 5px; height: 5px; border-radius: 999px;
  background: var(--accent);
  animation: typeDot 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typeDot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

/* ========================================================================
   Hamburger-Button + Mobile-Drawer
   ======================================================================== */
.nav-burger {
  display: none;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  transition: background 160ms, border-color 160ms;
}
.nav-burger:hover { background: var(--bg-2); border-color: var(--ink-3); }
@media (max-width: 820px) { .nav-burger { display: inline-flex; } }

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 280ms;
}
.nav-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
  transition: visibility 0s;
}
.nav-drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 240ms ease;
  cursor: pointer;
}
.nav-drawer.is-open .nav-drawer-backdrop { opacity: 1; }
.nav-drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(88vw, 380px);
  background: var(--bg);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px -20px rgba(0, 0, 0, 0.25);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav-drawer.is-open .nav-drawer-panel { transform: translateX(0); }

.nav-drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.nav-drawer-title { font-size: 11px; color: var(--ink-3); letter-spacing: 0.1em; }
.nav-drawer-close {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}
.nav-drawer-close:hover { background: var(--bg-2); }

.nav-drawer-links { display: flex; flex-direction: column; padding: 8px 0; }
.nav-drawer-links a {
  padding: 14px 22px;
  font-family: var(--font-display);
  font-size: 17px; font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
  transition: background 150ms;
}
.nav-drawer-links a:hover { background: var(--bg-2); }
.nav-drawer-links a.active { color: var(--accent); border-left: 3px solid var(--accent); padding-left: 19px; }
.nav-drawer-section {
  padding: 18px 22px 6px;
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-drawer-sub {
  padding: 12px 22px !important;
  font-size: 15px !important;
}
.nav-drawer-sub em { font-style: normal; color: var(--ink-3); font-size: 12px; font-weight: 400; margin-left: 4px; }
.nav-drawer-dot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 999px;
  background: var(--c);
  flex-shrink: 0;
}

.nav-drawer-footer {
  padding: 20px 22px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  background: var(--bg-2);
}
.nav-drawer-contact {
  font-size: 12px; color: var(--ink-3);
  display: flex; flex-direction: column; gap: 4px;
}
.nav-drawer-contact a { color: var(--ink-2); transition: color 150ms; }
.nav-drawer-contact a:hover { color: var(--ink); }

/* ========================================================================
   Cookie-/Analytics-Info-Banner
   ======================================================================== */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(16px);
  z-index: 9999;
  max-width: min(640px, calc(100vw - 24px));
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.22), 0 2px 8px -2px rgba(0, 0, 0, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease, transform 240ms ease;
}
.cookie-banner.is-open {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.cookie-banner-inner {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
}
.cookie-banner-icon {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
[data-theme="dark"] .cookie-banner-icon { color: var(--accent); }
.cookie-banner-text { flex: 1; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.cookie-banner-text strong { color: var(--ink); font-weight: 600; }
.cookie-banner-text em { font-style: normal; color: var(--ink); }
.cookie-banner-text a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-close { flex: 0 0 auto; padding: 9px 16px; font-size: 13px; }
@media (max-width: 640px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; transform: translateY(16px); max-width: none; }
  .cookie-banner.is-open { transform: translateY(0); }
  .cookie-banner-inner { flex-wrap: wrap; gap: 10px; }
  .cookie-banner-text { flex-basis: 100%; order: 2; }
  .cookie-banner-icon { order: 1; }
  .cookie-banner-close { order: 3; margin-left: auto; }
}
