/* ============================================================
   IC27 — Website Styles
   Semantic design tokens · 4 themes · Space Grotesk / IBM Plex
   ============================================================ */

/* ---------- THEME: Pinie (Default) ---------- */
:root,
[data-theme="pinie"] {
  --paper:      #F4F6F5;
  --surface:    #FFFFFF;
  --ink:        #14201D;
  --ink-soft:   #51605A;
  --ink-faint:  #7C8983;
  --line:       #DCE3E0;
  --line-soft:  #E8EDEB;

  --primary:      #0C4A40;
  --primary-700:  #0A3F37;
  --primary-tint: #E7EFEC;

  --accent:       #B8863B;
  --accent-ink:   #7A5A22;
  --accent-soft:  #F3E9D6;
  --accent-btn-ink: #21160A;

  --surface-dark:   #07332C;
  --surface-dark-2: #0A3F37;
  --on-dark:        #FFFFFF;
  --on-dark-soft:   #AECABF;
  --line-dark:      #16574C;
}

/* ---------- THEME: Signalrot / Grau ---------- */
[data-theme="karmin"] {
  --paper:      #F5F5F6;
  --surface:    #FFFFFF;
  --ink:        #1B1B20;
  --ink-soft:   #55555E;
  --ink-faint:  #83838C;
  --line:       #DEDEE2;
  --line-soft:  #ECECEF;

  --primary:      #C8152A;
  --primary-700:  #A8121F;
  --primary-tint: #FCE3E4;

  --accent:       #ED1C24;
  --accent-ink:   #B5161F;
  --accent-soft:  #FBE0E1;
  --accent-btn-ink: #0C0204;

  --surface-dark:   #26262B;
  --surface-dark-2: #313139;
  --on-dark:        #FFFFFF;
  --on-dark-soft:   #B9B9C2;
  --line-dark:      #3C3C44;
}

/* ---------- THEME: Stahlblau ---------- */
[data-theme="stahlblau"] {
  --paper:      #F3F5F8;
  --surface:    #FFFFFF;
  --ink:        #15202B;
  --ink-soft:   #4E5A66;
  --ink-faint:  #7B8794;
  --line:       #D8DEE6;
  --line-soft:  #E7ECF1;

  --primary:      #1F4E79;
  --primary-700:  #173E61;
  --primary-tint: #E4ECF4;

  --accent:       #C47A2C;
  --accent-ink:   #87521A;
  --accent-soft:  #F5E7D4;
  --accent-btn-ink: #1B1205;

  --surface-dark:   #122639;
  --surface-dark-2: #173042;
  --on-dark:        #FFFFFF;
  --on-dark-soft:   #A9C0D4;
  --line-dark:      #244258;
}

/* ---------- THEME: Hellblau (helle Blautöne) ---------- */
[data-theme="hellblau"] {
  --paper:      #F1F6FB;
  --surface:    #FFFFFF;
  --ink:        #15324E;
  --ink-soft:   #4C6276;
  --ink-faint:  #7E91A4;
  --line:       #D5E3F0;
  --line-soft:  #E6EFF8;

  --primary:      #2C74B5;
  --primary-700:  #235E95;
  --primary-tint: #DCEBF8;

  --accent:       #5AA6D8;
  --accent-ink:   #1F6BA0;
  --accent-soft:  #D9EAF7;
  --accent-btn-ink: #0E2C49;

  --surface-dark:   #1C436E;
  --surface-dark-2: #225084;
  --on-dark:        #FFFFFF;
  --on-dark-soft:   #B6CFE6;
  --line-dark:      #2F5985;
}

:root {
  --display: "Space Grotesk", "IBM Plex Sans", sans-serif;
  --body:    "IBM Plex Sans", system-ui, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, monospace;
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --radius-sm: 9px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0;
}
p { margin: 0; }
::selection { background: var(--primary); color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-ink); margin: 0;
}
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--body); font-size: 0.95rem; font-weight: 600;
  letter-spacing: -0.01em; padding: 0.85rem 1.4rem;
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
              border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-700); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn .arr { transition: transform 0.18s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ============================================================ Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.brand { display: inline-flex; align-items: baseline; gap: 0.55rem; text-decoration: none; color: var(--ink); flex: none; }
.brand__mark { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.03em; color: #DA1F2B; white-space: nowrap; }
.brand__mark .num { color: #DA1F2B; }
.brand__tag { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.brand__mark .mn { font-weight: 500; }
.brand__spark { display: inline-block; width: 0.78em; height: 0.78em; margin-left: 0.26em; color: #ED1C24; vertical-align: 0.04em; }
.brand__spark svg { display: block; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,0.18)); }

.header-right { display: flex; align-items: center; gap: 1.4rem; }
.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a { text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); transition: color 0.16s var(--ease); white-space: nowrap; }
.nav a:hover { color: var(--primary); }
.nav .btn { padding: 0.6rem 1.05rem; }
.nav a.btn--primary, .nav a.btn--primary:hover { color: #fff; }

/* Theme swatches */
.themes { display: inline-flex; align-items: center; gap: 7px; }
.themes__label { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-right: 1px; }
.swatch {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--line);
  padding: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--sw-p) 0 50%, var(--sw-a) 50% 100%);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.swatch:hover { transform: scale(1.12); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--accent); }

.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; transition: transform 0.2s var(--ease), opacity 0.2s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================ Hero */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(105% 70% at 84% -12%, color-mix(in srgb, var(--accent) 12%, transparent) 0%, transparent 55%),
    radial-gradient(85% 60% at -5% 108%, color-mix(in srgb, var(--primary) 9%, transparent) 0%, transparent 52%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 90% at 78% 12%, #000 0%, transparent 62%);
          mask-image: radial-gradient(120% 90% at 78% 12%, #000 0%, transparent 62%);
  opacity: 0.7; pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__title { font-size: clamp(2.5rem, 5.6vw, 4.4rem); margin-block: 1.1rem 1.3rem; }
.hero__title .accent { color: var(--primary); }
.hero__sub { max-width: 36ch; color: var(--ink-soft); font-size: clamp(1.05rem, 1.6vw, 1.22rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero__meta { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1.5rem 2.2rem; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--ink-faint); }
.hero__meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__meta span::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 2px; }
.release-badge { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.1rem; padding: 0.32rem 0.75rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.release-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero__future { margin-top: 1.6rem; padding-left: 0.95rem; border-left: 3px solid var(--accent); }
.hero__future-line { display: flex; align-items: center; gap: 0.5rem; font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; font-size: clamp(1.12rem, 1.7vw, 1.34rem); color: var(--ink); }
.hero__future-line .spark { display: inline-flex; width: 0.92em; height: 0.92em; color: #ED1C24; flex: none; }
.hero__future-sub { margin-top: 0.3rem; font-size: 0.94rem; color: var(--ink-soft); }
.hero__future-text { margin-top: 0.6rem; font-size: 0.96rem; line-height: 1.55; color: var(--ink-soft); }
.hero__future-text strong { color: var(--ink); }

/* Signature panel */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 0 var(--line-soft), 0 24px 50px -28px rgba(0,0,0,0.45); overflow: hidden; font-family: var(--mono); }
.panel__bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 0.95rem; background: var(--surface-dark); color: var(--on-dark-soft); font-size: 0.72rem; letter-spacing: 0.05em; }
.panel__dots { display: inline-flex; gap: 5px; margin-right: 0.4rem; }
.panel__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-dark); display: block; }
.panel__dots i:first-child { background: var(--accent); }
.panel__head { padding: 0.95rem 1.05rem 0.8rem; border-bottom: 1px solid var(--line-soft); }
.panel__case { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.panel__az { font-size: 0.95rem; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.panel__debtor { font-size: 0.74rem; color: var(--ink-faint); margin-top: 2px; }
.chip { font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.22rem 0.5rem; border-radius: 999px; white-space: nowrap; }
.chip--open { background: var(--primary-tint); color: var(--primary); }
.chip--due  { background: var(--accent-soft); color: var(--accent-ink); }
.panel__metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-soft); }
.metric { padding: 0.8rem 1.05rem; }
.metric + .metric { border-left: 1px solid var(--line-soft); }
.metric__k { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.metric__v { font-size: 1.02rem; color: var(--ink); font-weight: 600; margin-top: 3px; letter-spacing: -0.01em; }
.metric__v small { font-size: 0.62rem; color: var(--ink-faint); font-weight: 500; }
.ptable { width: 100%; border-collapse: collapse; font-size: 0.74rem; }
.ptable th { text-align: left; font-weight: 500; font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); padding: 0.55rem 1.05rem 0.45rem; border-bottom: 1px solid var(--line-soft); }
.ptable td { padding: 0.5rem 1.05rem; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.ptable td.num { text-align: right; font-variant-numeric: tabular-nums; }
.ptable tr:last-child td { border-bottom: 0; }
.tag { font-size: 0.58rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); }
.tag--gray { color: var(--ink-faint); }
.tag--brass { color: var(--accent-ink); }
.panel__foot { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 1.05rem; background: var(--primary-tint); font-size: 0.66rem; color: var(--primary-700); letter-spacing: 0.04em; }

/* ============================================================ Strip */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem 2.6rem; padding-block: 1.4rem; }
.strip__label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.strip__items { display: flex; flex-wrap: wrap; gap: 0.7rem 1.6rem; align-items: center; }
.strip__items b { font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; color: var(--ink); }
.strip__items span { font-size: 0.85rem; color: var(--ink-faint); }

/* ============================================================ Lifecycle */
.cycle { background: var(--surface-dark); color: var(--on-dark); }
.cycle .eyebrow { color: var(--accent); }
.cycle h2 { color: var(--on-dark); max-width: 18ch; margin-top: 0.7rem; }
.cycle__sub { color: var(--on-dark-soft); max-width: 50ch; margin-top: 0.9rem; }
.cycle__rail { margin-top: 2.6rem; display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.phase { padding: 1.2rem 1.1rem 1.4rem; position: relative; }
.phase + .phase { border-left: 1px solid var(--line-dark); }
.phase__n { font-family: var(--mono); font-size: 0.72rem; color: var(--accent); letter-spacing: 0.08em; }
.phase__t { font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; margin-top: 0.5rem; color: var(--on-dark); }
.phase__d { font-size: 0.82rem; color: var(--on-dark-soft); margin-top: 0.4rem; line-height: 1.45; }

/* ============================================================ Modules */
.modules .eyebrow { text-align: center; }
.modules__head { text-align: center; max-width: 46ch; margin: 0.8rem auto 0; }
.modules h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.modules__sub { color: var(--ink-soft); margin-top: 0.9rem; }
.mgrid { margin-top: clamp(2.5rem, 5vw, 3.6rem); display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.module { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.7rem; transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.module:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(0,0,0,0.4); }
.module__top { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.module__ix { font-family: var(--mono); font-size: 0.72rem; color: var(--accent-ink); letter-spacing: 0.06em; border: 1px solid var(--accent-soft); background: var(--accent-soft); border-radius: 6px; padding: 0.2rem 0.5rem; align-self: flex-start; }
.module h3 { font-size: 1.22rem; letter-spacing: -0.015em; }
.module__d { color: var(--ink-soft); font-size: 0.96rem; margin-top: 0.2rem; }
.module__list { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.module__list li { position: relative; padding-left: 1.3rem; font-size: 0.92rem; color: var(--ink); line-height: 1.4; }
.module__list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; border: 1.5px solid var(--primary); border-radius: 2px; }

/* ============================================================ Neue Generation */
.neugen { background: var(--surface); border-top: 1px solid var(--line); }
.neugen .eyebrow { color: var(--accent-ink); }
.neugen__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.6rem); align-items: center; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.neugen__intro { min-width: 0; }
.neugen__panel { min-width: 0; }
.neugen h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-top: 0.7rem; max-width: 22ch; }
.neugen__lead { margin-top: 1.1rem; max-width: 64ch; }
.neugen__promise { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: 1.06rem; line-height: 1.5; color: var(--ink); max-width: 60ch; }
.neugen__promise strong { color: var(--accent-ink); }
.ng-grid { margin-top: clamp(2.2rem, 4.5vw, 3.2rem); display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.ng-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.7rem 1.8rem; display: flex; flex-direction: column; }
.ng-card--ki { background: color-mix(in srgb, var(--ink) 4%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.ng-card__spark { display: inline-flex; width: 30px; height: 30px; color: #ED1C24; margin-bottom: 0.9rem; }
.ng-card__spark svg { display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.18)); }
.ng-card h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
.ng-card > p { color: var(--ink-soft); font-size: 0.96rem; margin-top: 0.6rem; }
.ng-benefit { margin-top: auto; padding-top: 1rem; color: var(--ink); font-weight: 500; font-size: 0.94rem; line-height: 1.45; position: relative; padding-left: 1.4rem; }
.ng-card > .ng-benefit { margin-top: 1.1rem; border-top: 1px solid var(--line-soft); padding-top: 1rem; }
.ng-benefit::before { content: "→"; position: absolute; left: 0; top: 0.95rem; color: var(--accent); font-weight: 700; }

/* KI-Hinweis (verantwortungsvoller Einsatz) */
.ki-note { display: flex; gap: 1rem; align-items: flex-start; margin-top: 1.6rem; padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--ink) 4%, var(--surface)); }
.ki-note__spark { display: inline-flex; width: 22px; height: 22px; color: #ED1C24; flex: none; margin-top: 0.1rem; }
.ki-note p { color: var(--ink); font-size: 0.96rem; line-height: 1.5; }
.ki-note strong { color: var(--ink); }

/* Funktionsübersicht-Link unter den Modulen */
.modules__more { text-align: center; margin-top: 2.2rem; }

/* ============================================================ Funktionsübersicht (eigene Seite) */
.fn-note { display: flex; gap: 0.8rem; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: 2.6rem; font-size: 0.92rem; color: var(--accent-ink); line-height: 1.5; }
.fn-note__mark { font-family: var(--mono); font-weight: 700; color: var(--accent); flex: none; }
.fn-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.fn-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem 1.6rem; break-inside: avoid; }
.fn-card__head { display: flex; align-items: center; gap: 0.7rem; padding-bottom: 0.9rem; margin-bottom: 0.9rem; border-bottom: 1px solid var(--line-soft); }
.fn-card__ix { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--accent-ink); background: var(--accent-soft); border-radius: 6px; padding: 0.2rem 0.5rem; }
.fn-card h2 { font-size: 1.18rem; letter-spacing: -0.015em; }
.fn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.fn-list li { position: relative; padding-left: 1.3rem; font-size: 0.94rem; color: var(--ink); line-height: 1.4; }
.fn-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; border: 1.5px solid var(--primary); border-radius: 2px; }

/* ============================================================ Laufband (Ticker) */
.ticker { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface-dark); color: var(--on-dark); border-top: 1px solid var(--line-dark); overflow: hidden; box-shadow: 0 -8px 24px -16px rgba(0,0,0,0.5); }
body.has-ticker { padding-bottom: 50px; }
.ticker__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 92%, transparent); }
.ticker__track { display: flex; align-items: center; gap: 2.4rem; list-style: none; margin: 0; padding: 0.8rem 1.2rem; white-space: nowrap; width: max-content; will-change: transform; animation-name: ticker-scroll !important; animation-duration: 48s !important; animation-timing-function: linear !important; animation-iteration-count: infinite !important; }
.ticker__track li { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.05em; color: var(--on-dark-soft); }
.ticker__track li::before { content: ""; width: 9px; height: 9px; flex: none; background: var(--accent); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track, .ticker.is-paused .ticker__track { animation-play-state: paused !important; }
.ticker__toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); z-index: 2; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-dark); background: var(--surface-dark-2); color: var(--on-dark); cursor: pointer; font-size: 0.66rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; opacity: 0.65; transition: opacity 0.15s var(--ease); }
.ticker__toggle:hover { opacity: 1; }

/* ============================================================ Wandel-Illustration */
.wandel { background: var(--surface); border-top: 1px solid var(--line); }
.wandel__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.wandel .eyebrow { color: var(--accent-ink); }
.wandel h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-top: 0.7rem; max-width: 18ch; }
.wandel p { color: var(--ink-soft); margin-top: 1rem; max-width: 46ch; }
.wandel__art { width: 100%; height: auto; border-radius: var(--radius); overflow: hidden; position: relative; margin: 0; }
.wandel__art svg { display: block; width: 100%; height: auto; }
.wandel__photo { display: none; }
.wandel__photo.ok { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.wandel__svg { display: block; }
.wandel__art:has(.wandel__photo.ok) .wandel__svg { display: none; }
.media-note { display: none; position: absolute; right: 12px; bottom: 12px; align-items: center; gap: 0.42rem; padding: 0.32rem 0.62rem; border-radius: 999px; background: rgba(18,20,26,0.72); color: #fff; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.04em; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.wandel__art:has(.wandel__photo.ok) .media-note { display: inline-flex; }
.media-note__spark { display: inline-flex; width: 12px; height: 12px; color: #ED1C24; }

/* ============================================================ Why */
.why { background: var(--surface); border-block: 1px solid var(--line); }
.why__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.why h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-top: 0.7rem; }
.why__intro { color: var(--ink-soft); margin-top: 1rem; }
.points { display: grid; gap: 1.3rem; }
.point { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line-soft); }
.point:last-child { border-bottom: 0; padding-bottom: 0; }
.point__n { font-family: var(--mono); font-size: 0.8rem; color: var(--accent); padding-top: 0.15rem; }
.point h3 { font-size: 1.16rem; letter-spacing: -0.01em; }
.point p { color: var(--ink-soft); font-size: 0.96rem; margin-top: 0.35rem; }

/* ============================================================ CTA */
.cta { background: radial-gradient(110% 140% at 85% 0%, var(--surface-dark-2) 0%, var(--surface-dark) 55%); color: var(--on-dark); }
.cta__inner { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 2rem; }
.cta .eyebrow { color: var(--accent); }
.cta h2 { color: var(--on-dark); font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-top: 0.7rem; }
.cta p { color: var(--on-dark-soft); margin-top: 1rem; max-width: 42ch; }
.cta__actions { display: flex; flex-direction: column; gap: 0.8rem; }
.cta__actions .btn--primary { background: var(--accent); color: var(--accent-btn-ink); }
.cta__actions .btn--primary:hover { background: color-mix(in srgb, var(--accent) 86%, #000); }
.cta__actions .btn--ghost { color: var(--on-dark); border-color: color-mix(in srgb, var(--on-dark) 35%, transparent); }
.cta__actions .btn--ghost:hover { border-color: var(--on-dark); color: var(--on-dark); }
.cta__note { font-size: 0.85rem; color: var(--on-dark-soft); margin-top: 0.5rem; }

/* ============================================================ Footer */
.site-footer { background: var(--surface-dark); color: var(--on-dark-soft); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer__brand .brand__mark { color: var(--on-dark); }
.footer__brand .brand__mark .num { color: var(--on-dark); }
.footer__brand p { margin-top: 1rem; font-size: 0.9rem; color: var(--on-dark-soft); max-width: 30ch; }
.fcol h4 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 0.9rem; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.fcol a { text-decoration: none; font-size: 0.92rem; color: var(--on-dark-soft); transition: color 0.16s var(--ease); }
.fcol a:hover { color: var(--on-dark); }
.footer__bar { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; font-size: 0.8rem; color: var(--on-dark-soft); }
.footer__bar a { color: var(--on-dark-soft); text-decoration: none; }
.footer__bar a:hover { color: var(--on-dark); }

/* ============================================================ Legal / content pages */
.page-hero { background: var(--surface-dark); color: var(--on-dark); padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 3.5rem); }
.page-hero .eyebrow { color: var(--accent); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-top: 0.8rem; }
.page-hero p { color: var(--on-dark-soft); margin-top: 1rem; max-width: 55ch; }
.legal { padding-block: clamp(2.5rem, 5vw, 4rem); }
.legal__inner { max-width: 760px; margin-inline: auto; }
.notice { display: flex; gap: 0.8rem; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: 2.4rem; font-size: 0.92rem; color: var(--accent-ink); line-height: 1.5; }
.notice b { color: var(--ink); }
.notice__mark { font-family: var(--mono); font-weight: 700; color: var(--accent); flex: none; }
.legal h2 { font-size: 1.4rem; margin-top: 2.4rem; padding-top: 0.4rem; letter-spacing: -0.015em; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.08rem; margin-top: 1.6rem; }
.legal p { margin-top: 0.8rem; color: var(--ink-soft); }
.legal p strong, .legal address strong { color: var(--ink); font-weight: 600; }
.legal address { font-style: normal; margin-top: 0.8rem; line-height: 1.7; color: var(--ink); }
.legal a.inline { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.ph { background: var(--primary-tint); border-radius: 4px; padding: 0.05rem 0.4rem; font-family: var(--mono); font-size: 0.86em; color: var(--primary-700); }
.dl { margin-top: 1.4rem; border-top: 1px solid var(--line); }
.dl__row { display: grid; grid-template-columns: 240px 1fr; gap: 1rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
.dl__k { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-faint); padding-top: 0.15rem; }
.dl__v { color: var(--ink); }

/* ============================================================ Contact form */
.contact__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--accent-ink); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 0.98rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 0.7rem 0.85rem; width: 100%;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}
.field--err input, .field--err select, .field--err textarea { border-color: var(--accent); }
.field__err { font-size: 0.78rem; color: var(--accent-ink); display: none; }
.field--err .field__err { display: block; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.65rem; align-items: start; font-size: 0.86rem; color: var(--ink-soft); }
.consent input { margin-top: 0.2rem; width: 18px; height: 18px; accent-color: var(--primary); }
.consent a { color: var(--primary); text-underline-offset: 2px; }
.form__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 0.3rem; }
.form__status { font-size: 0.9rem; font-weight: 500; }
.form__status.ok { color: var(--primary); }
.form__status.bad { color: var(--accent-ink); }
.contact-aside { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.contact-aside h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
.contact-aside .ca-list { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.contact-aside .ca-list li { display: grid; gap: 2px; }
.contact-aside .ca-k { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.contact-aside .ca-v { color: var(--ink); }

/* ============================================================ Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* ============================================================ Responsive */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .neugen__top { grid-template-columns: 1fr; gap: 2rem; }
  .hero__panel { max-width: 520px; }
  .cycle__rail { grid-template-columns: repeat(3, 1fr); }
  .phase:nth-child(3n+1) { border-left: 0; }
  .phase:nth-child(n+4) { border-top: 1px solid var(--line-dark); }
  .why__grid { grid-template-columns: 1fr; }
  .wandel__grid { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.2rem;
    box-shadow: 0 18px 30px -22px rgba(0,0,0,0.4); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--line-soft); }
  .nav .btn { margin-top: 0.8rem; justify-content: center; }
  .nav-toggle { display: inline-flex; }
  .themes__label { display: none; }
  .brand__tag { display: none; }
  .mgrid { grid-template-columns: 1fr; }
  .ng-grid { grid-template-columns: 1fr; }
  .fn-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .cycle__rail { grid-template-columns: 1fr 1fr; }
  .phase:nth-child(3n+1) { border-left: 1px solid var(--line-dark); }
  .phase:nth-child(2n+1) { border-left: 0; }
  .phase:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .dl__row { grid-template-columns: 1fr; gap: 0.25rem; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================ A11y */
a:focus-visible, button:focus-visible, .btn:focus-visible, .swatch:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 4px;
}
.skip { position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 8px 0; z-index: 100; }
.skip:focus { left: 0; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
