/* ==========================================================================
   sip.coach — Marketing Site Design System
   Version: 1.0 (Phase 1 — Foundation + Homepage)
   Dark-only. No external resources. CSP-safe.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CUSTOM PROPERTIES (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Backgrounds — layered dark surfaces */
  --bg-base:     #0E0E16;
  --bg-surface:  #14141E;
  --bg-elevated: #1C1C2E;
  --bg-subtle:   #20202E;

  /* Brand accent colors */
  --accent-lime:    #BFF24E;
  --accent-lime-dk: #A8D843;
  --accent-lime-glow: rgba(191, 242, 78, 0.18);
  --accent-purple:  #7B61FF;
  --accent-purple-glow: rgba(123, 97, 255, 0.18);
  --accent-blue:    #5BADFF;

  /* Text */
  --text-primary:   #F0F0FA;
  --text-secondary: #9898B8;
  /* --text-muted auf #8585A5 angehoben: alt #5A5A7A ergab nur ~2.9:1 auf --bg-base
     (WCAG-AA-Fail, „kaum sichtbar" laut Vertriebs-Feedback). #8585A5 ≈ 5.4:1 → AA für Fließ-/Kleintext. */
  --text-muted:     #8585A5;
  --text-on-lime:   #0E0E16;

  /* Borders */
  --border-subtle:  rgba(255, 255, 255, 0.06);
  --border-medium:  rgba(255, 255, 255, 0.12);
  --border-strong:  rgba(255, 255, 255, 0.20);

  /* Feedback */
  --success: #4ADE80;
  --warning: #FACC15;
  --error:   #F87171;

  /* Gradients */
  --gradient-hero:      radial-gradient(ellipse 80% 60% at 50% 0%, rgba(123, 97, 255, 0.18) 0%, transparent 70%);
  --gradient-lime:      linear-gradient(135deg, #BFF24E 0%, #7BF5A0 100%);
  --gradient-purple:    linear-gradient(135deg, #7B61FF 0%, #5B8DEF 100%);
  --gradient-section:   radial-gradient(ellipse 60% 40% at 50% 100%, rgba(123, 97, 255, 0.10) 0%, transparent 70%);

  /* Typography — system stacks (TODO: self-host Inter + JetBrains Mono for production) */
  --font-display: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;

  /* Type scale — fluid with clamp() */
  --text-xs:     0.75rem;
  --text-sm:     0.875rem;
  --text-base:   1rem;
  --text-lg:     1.125rem;
  --text-xl:     1.25rem;
  --text-2xl:    clamp(1.5rem, 3vw, 2rem);
  --text-3xl:    clamp(2rem, 4vw, 3rem);
  --text-hero:   clamp(2.5rem, 6vw, 4.5rem);
  --text-metric: clamp(3rem, 7vw, 5rem);

  /* Font weights */
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-black:    800;

  /* Spacing — 8px base grid */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max:    1280px;
  --container-narrow: 960px;
  --container-prose:  720px;

  /* Border radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card:    0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-purple:  0 8px 32px rgba(123, 97, 255, 0.12);
  --shadow-lime:    0 8px 32px rgba(191, 242, 78, 0.12);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow:   400ms ease;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Lange deutsche Komposita brechen statt über den Rand zu laufen (vererbt an
     p/li/span etc.); Überschriften zusätzlich mit hyphens:auto, s. h1–h6. */
  overflow-wrap: break-word;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--weight-bold);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  /* Lange deutsche Komposita (z. B. „Verkaufsgespräche", „EU-Datensouveränität")
     dürfen umbrechen statt über den Viewport-Rand hinauszulaufen (Mobile). */
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 { font-size: var(--text-hero); font-weight: var(--weight-black); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); font-weight: var(--weight-semibold); }
h4 { font-size: var(--text-lg); font-weight: var(--weight-semibold); }

p { line-height: 1.7; }

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { text-decoration: underline; }
a:focus-visible {
  outline: 2px solid var(--accent-lime);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

img, svg { max-width: 100%; display: block; }

ul, ol { list-style: none; }

button {
  cursor: pointer;
  font-family: var(--font-display);
  border: none;
  background: none;
}
button:focus-visible {
  outline: 2px solid var(--accent-lime);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--prose {
  max-width: var(--container-prose);
}

/* Section base */
.section {
  padding: var(--space-24) 0;
  position: relative;
}

.section--alt {
  background: var(--bg-surface);
}

.section--elevated {
  background: var(--bg-elevated);
}

/* Section heading group */
.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-header--left {
  text-align: left;
}

.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-lime);
  margin-bottom: var(--space-3);
}

.lead {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin: var(--space-4) auto 0;
}

/* Sub-page hero (global). Some subpages also define this inline with identical
   values; the global rule ensures pages without an inline block (e.g. Benefits)
   render the centered, padded hero consistently. */
.subhero { position: relative; padding: calc(var(--space-20) + var(--space-6)) 0 var(--space-12); overflow: hidden; background: var(--bg-base); text-align: center; }
.subhero::before { content: ''; position: absolute; inset: 0; background: var(--gradient-hero); pointer-events: none; }
.subhero__inner { position: relative; z-index: 1; max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--space-6); }
.subhero h1 { font-size: var(--text-hero); font-weight: var(--weight-black); line-height: 1.08; letter-spacing: -0.03em; margin: var(--space-6) 0 var(--space-6); }
.subhero__sub { font-size: var(--text-lg); color: var(--text-secondary); line-height: 1.7; max-width: 640px; margin: 0 auto var(--space-8); }
.subhero__cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--space-4); }

.lead--left {
  margin: var(--space-4) 0 0;
}

/* Text utilities */
.text-lime   { color: var(--accent-lime); }
.text-purple { color: var(--accent-purple); }
.text-blue   { color: var(--accent-blue); }
.text-muted  { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-mono   { font-family: var(--font-mono); }

/* Visibility helper */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */

/* Primary — Lime */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--accent-lime);
  color: var(--text-on-lime);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--accent-lime-dk);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-lime-glow);
  text-decoration: none;
  color: var(--text-on-lime);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Secondary — Ghost/Outline */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  padding: 13px 31px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--accent-lime);
  color: var(--accent-lime);
  text-decoration: none;
}

/* Mobile: lange Button-Labels in Inhalten (z. B. „Mehr zum deterministischen
   Scoring") dürfen umbrechen statt über den Viewport-Rand hinauszulaufen.
   Kompakte Buttons (Nav-CTA, .btn--sm) bleiben einzeilig. */
@media (max-width: 600px) {
  .btn-primary, .btn-secondary, .btn-dark { max-width: 100%; white-space: normal; text-align: center; }
  .nav__actions .btn-primary, .nav__actions .btn-secondary, .btn--sm { white-space: nowrap; }
}

/* Dark button (used on lime background) */
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-dark:hover {
  background: var(--bg-elevated);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--text-primary);
}

/* Size variant */
.btn--lg {
  font-size: var(--text-lg);
  padding: 16px 40px;
}

.btn--sm {
  font-size: var(--text-sm);
  padding: 8px 20px;
}

/* --------------------------------------------------------------------------
   5. CARDS
   -------------------------------------------------------------------------- */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-purple);
}

.card--highlight {
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-purple);
}

.card--feature {
  position: relative;
  overflow: hidden;
}

.card--feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient-lime);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.card--feature:hover::before {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   6. NAVIGATION
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--transition-normal), backdrop-filter var(--transition-normal);
}

.nav--scrolled {
  background: rgba(14, 14, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  height: 68px;
  padding: 0 var(--space-6);
  max-width: var(--container-max);
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-mark {
  width: 32px;
  height: 32px;
}

.nav__logo-text {
  font-size: 1.2rem;
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav__logo-text .dot {
  color: var(--accent-lime);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-left: auto;
}

.nav__links a {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.nav__links a:hover {
  color: var(--text-primary);
  text-decoration: none;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-left: var(--space-4);
}

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  margin-left: auto;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-primary);
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Mobile drawer */
.nav__drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border-subtle);
  padding: var(--space-24) var(--space-8) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  z-index: 200;
}

.nav__drawer.is-open {
  transform: translateX(0);
}

.nav__drawer a {
  color: var(--text-primary);
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  text-decoration: none;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.nav__overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.nav__drawer-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-2);
}

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-32) 0 var(--space-24);
  overflow: hidden;
  background: var(--bg-base);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-16);
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
  width: 100%;
}

.hero__content {
  max-width: 600px;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(123, 97, 255, 0.12);
  border: 1px solid rgba(123, 97, 255, 0.25);
  color: var(--accent-purple);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero__pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-purple);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__h1 {
  font-size: var(--text-hero);
  font-weight: var(--weight-black);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
}

.hero__sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 520px;
}

.hero__cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.hero__trust-micro {
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.hero__trust-micro span {
  margin: 0 var(--space-2);
  color: var(--border-medium);
}

/* Hero Visual — CSS/SVG roleplay mockup */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-5);
  width: 100%;
  min-width: 0;
}

.roleplay-mock {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-subtle);
  overflow: hidden;
}

.roleplay-mock::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.15), transparent 70%);
  pointer-events: none;
}

.mock-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}

.mock-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse-live 2s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 8px var(--success); }
  50% { box-shadow: 0 0 16px var(--success), 0 0 4px var(--success); }
}

.mock-header-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--success);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mock-header-time {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-left: auto;
}

.mock-persona {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  min-width: 0;
}

.mock-persona-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: white;
  flex-shrink: 0;
}

.mock-persona-info strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.mock-persona-info {
  min-width: 0;
  flex: 1 1 auto;
}
.mock-persona-info span {
  font-size: var(--text-xs);
  color: var(--text-muted);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Waveform animation */
.mock-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 40px;
  margin-bottom: var(--space-6);
  max-width: 100%;
  overflow: hidden;
}

.mock-waveform .bar {
  width: 3px;
  border-radius: 3px;
  background: var(--accent-purple);
  animation: wave-bar 1.2s ease-in-out infinite;
}

.mock-waveform .bar:nth-child(1)  { height: 30%; animation-delay: 0.0s; }
.mock-waveform .bar:nth-child(2)  { height: 60%; animation-delay: 0.1s; }
.mock-waveform .bar:nth-child(3)  { height: 45%; animation-delay: 0.2s; }
.mock-waveform .bar:nth-child(4)  { height: 80%; animation-delay: 0.3s; }
.mock-waveform .bar:nth-child(5)  { height: 100%; animation-delay: 0.4s; background: var(--accent-lime); }
.mock-waveform .bar:nth-child(6)  { height: 70%; animation-delay: 0.5s; }
.mock-waveform .bar:nth-child(7)  { height: 50%; animation-delay: 0.6s; }
.mock-waveform .bar:nth-child(8)  { height: 90%; animation-delay: 0.7s; }
.mock-waveform .bar:nth-child(9)  { height: 60%; animation-delay: 0.8s; background: var(--accent-lime); }
.mock-waveform .bar:nth-child(10) { height: 35%; animation-delay: 0.9s; }
.mock-waveform .bar:nth-child(11) { height: 75%; animation-delay: 1.0s; }
.mock-waveform .bar:nth-child(12) { height: 55%; animation-delay: 1.1s; }
.mock-waveform .bar:nth-child(13) { height: 40%; animation-delay: 0.3s; }
.mock-waveform .bar:nth-child(14) { height: 65%; animation-delay: 0.5s; }
.mock-waveform .bar:nth-child(15) { height: 85%; animation-delay: 0.7s; background: var(--accent-lime); }
.mock-waveform .bar:nth-child(16) { height: 45%; animation-delay: 0.9s; }

@keyframes wave-bar {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Transcript bubble */
.mock-transcript {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  font-style: italic;
}

.mock-transcript strong {
  color: var(--accent-blue);
  font-style: normal;
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-1);
  letter-spacing: 0.05em;
}

/* Score chip */
.mock-score-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(191, 242, 78, 0.1);
  border: 1px solid rgba(191, 242, 78, 0.25);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  white-space: nowrap;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--accent-lime);
  font-family: var(--font-mono);
}

.mock-dims {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.mock-dim-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.mock-dim-label {
  font-size: 10px;
  color: var(--text-muted);
  width: 104px;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-dim-track {
  flex: 1;
  height: 4px;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.mock-dim-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--gradient-lime);
  transition: width 1s ease;
}

.mock-dim-val {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-lime);
  width: 24px;
  text-align: right;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8. LOGO / TRUST RAIL
   -------------------------------------------------------------------------- */
.trust-rail {
  padding: var(--space-8) var(--space-6);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  overflow: hidden;
}

.trust-rail__label {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.trust-rail__track {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.trust-rail__inner {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  animation: marquee 30s linear infinite;
  width: max-content;
}

@media (prefers-reduced-motion: reduce) {
  .trust-rail__inner {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-rail__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.05em;
  white-space: nowrap;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.trust-rail__logo:hover {
  opacity: 1;
}

.trust-rail__logo svg {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

/* Social proof bar */
.social-proof-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-8);
  justify-content: center;
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.social-proof-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.stars {
  color: var(--warning);
  letter-spacing: -2px;
}

/* --------------------------------------------------------------------------
   9. PROBLEM SECTION
   -------------------------------------------------------------------------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.problem-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.problem-card__icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--error);
  box-shadow: 0 0 12px rgba(248, 113, 113, 0.4);
  margin-bottom: var(--space-4);
}

.problem-card h3 {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
  line-height: 1.4;
  color: var(--text-primary);
}

.problem-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. HOW IT WORKS — 3-STEP MECHANISM
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
  position: relative;
  margin-top: var(--space-12);
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: linear-gradient(to right, var(--accent-purple), var(--accent-lime));
  opacity: 0.4;
}

.step {
  position: relative;
  text-align: center;
  padding-top: var(--space-4);
}

.step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--accent-purple);
  margin: 0 auto var(--space-6);
  position: relative;
  z-index: 1;
}

.step:last-child .step__number {
  border-color: var(--accent-lime);
  color: var(--accent-lime);
}

.step h3 {
  margin-bottom: var(--space-3);
}

.step p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   11. PROOF METRICS
   -------------------------------------------------------------------------- */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-1);
  margin: var(--space-12) 0;
}

.metric-item {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.metric-item:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.metric-item:last-child  { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }

.metric-value {
  font-family: var(--font-mono);
  font-size: var(--text-metric);
  font-weight: var(--weight-black);
  color: var(--accent-lime);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-3);
}

.metric-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Testimonial under metrics */
.testimonial-featured {
  max-width: 760px;
  margin: var(--space-12) auto 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  position: relative;
}

.testimonial-featured::before {
  content: '\201C';
  position: absolute;
  top: var(--space-6);
  left: var(--space-8);
  font-size: 5rem;
  line-height: 1;
  color: var(--accent-lime);
  font-family: Georgia, serif;
  opacity: 0.4;
}

.testimonial-featured__quote {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  padding-left: var(--space-4);
}

.testimonial-featured__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-featured__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-bold);
  font-size: var(--text-base);
  color: white;
  flex-shrink: 0;
}

.testimonial-featured__name {
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.testimonial-featured__role {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   12. FEATURE TABS
   -------------------------------------------------------------------------- */
.feature-tabs {
  margin-top: var(--space-12);
}

.tabs__nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: var(--space-12);
}

.tabs__nav::-webkit-scrollbar { display: none; }

.tab-btn {
  flex-shrink: 0;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
  position: relative;
  bottom: -1px;
}

.tab-btn:hover {
  color: var(--text-secondary);
}

.tab-btn.is-active {
  color: var(--text-primary);
  border-bottom-color: var(--accent-lime);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-16);
  align-items: center;
  animation: fade-in var(--transition-normal) ease;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tab-panel__content h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.tab-panel__content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.tab-bullets {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.tab-bullet {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.tab-bullet__icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(191, 242, 78, 0.1);
  border: 1px solid rgba(191, 242, 78, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.tab-bullet__icon::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-lime);
}

/* Feature visual mockup (right side of tab panel) */
.tab-panel__visual {
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.tab-panel__visual::before {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--accent-lime-glow), transparent 70%);
}

.visual-placeholder {
  text-align: center;
  color: var(--text-muted);
}

.visual-placeholder__icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
  opacity: 0.5;
}

.visual-placeholder__label {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Score demo in tab */
.score-demo {
  width: 100%;
}

.score-demo__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.score-demo__total {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: var(--weight-black);
  color: var(--accent-lime);
  line-height: 1;
}

.score-demo__label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.score-demo__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: var(--success);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.score-bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.score-bar-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.score-bar-label {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  width: 148px;
  flex-shrink: 0;
}

.score-bar-track {
  flex: 1;
  height: 6px;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--gradient-lime);
}

.score-bar-val {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent-lime);
  width: 28px;
  text-align: right;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   13. AUDIENCE SPLIT
   -------------------------------------------------------------------------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.audience-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.audience-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-4px);
}

.audience-card__role {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(123, 97, 255, 0.1);
  border: 1px solid rgba(123, 97, 255, 0.2);
  color: var(--accent-purple);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.audience-card__quote {
  font-size: var(--text-base);
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  border-left: 2px solid var(--accent-lime);
  padding-left: var(--space-4);
}

.audience-card__benefits {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.audience-card__benefit {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.audience-card__benefit::before {
  content: '→';
  color: var(--accent-lime);
  flex-shrink: 0;
  font-weight: var(--weight-bold);
}

/* --------------------------------------------------------------------------
   14. TRUST / EU-DSGVO SECTION
   -------------------------------------------------------------------------- */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-8);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  gap: var(--space-4);
}

.trust-badge__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(191, 242, 78, 0.08);
  border: 1px solid rgba(191, 242, 78, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge h4 {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
}

.trust-badge p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

/* Methodik chips */
.methodik-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-6);
}

.methodik-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(123, 97, 255, 0.08);
  border: 1px solid rgba(123, 97, 255, 0.2);
  color: var(--accent-purple);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   15. PRICING TEASER
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-normal);
}

.pricing-card--popular {
  border-color: var(--accent-purple);
  position: relative;
}

.pricing-card--popular::before {
  content: 'Beliebtester Plan';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-purple);
  color: white;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-card__name {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-2);
}

.pricing-card__tagline {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.pricing-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-1);
  margin-bottom: var(--space-2);
}

.pricing-card__amount {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: var(--weight-black);
  color: var(--text-primary);
  line-height: 1;
}

.pricing-card__currency {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  align-self: flex-start;
  margin-top: 4px;
}

.pricing-card__period {
  font-size: var(--text-sm);
  color: var(--text-muted);
  width: 100%;
}

.pricing-card__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: var(--space-8) 0;
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-8);
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.pricing-feature__check {
  color: var(--accent-lime);
  flex-shrink: 0;
  margin-top: 1px;
}

/* --------------------------------------------------------------------------
   16. FAQ
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-12);
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-elevated);
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-medium);
}

.faq-item.is-open {
  border-color: var(--border-medium);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6);
  width: 100%;
  text-align: left;
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-lime);
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-lime);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) ease;
}

.faq-item.is-open .faq-answer {
  max-height: 400px;
}

.faq-answer__inner {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   17. CTA BAND (pre-footer)
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--gradient-lime);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.cta-band h2 {
  font-size: var(--text-3xl);
  color: var(--text-on-lime);
  margin-bottom: var(--space-4);
}

.cta-band__sub {
  font-size: var(--text-lg);
  color: rgba(14, 14, 22, 0.7);
  margin-bottom: var(--space-8);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.cta-band__secondary {
  color: rgba(14, 14, 22, 0.7);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  text-decoration: underline;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.cta-band__secondary:hover {
  color: var(--text-on-lime);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   18. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer__brand .brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  text-decoration: none;
}

.footer__brand .brand-logo span {
  font-size: 1.1rem;
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.footer__brand .brand-logo .dot {
  color: var(--accent-lime);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 240px;
  margin-bottom: var(--space-6);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.footer__social-link:hover {
  border-color: var(--border-medium);
  color: var(--text-primary);
  text-decoration: none;
}

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--text-primary);
}

.footer__eu-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-4);
}

.footer__eu-badge svg {
  flex-shrink: 0;
}

.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copyright {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer__bottom-links a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__bottom-links a:hover {
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   19. ANIMATION UTILITIES
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Counter animation target */
[data-counter] {
  display: inline-block;
}

/* --------------------------------------------------------------------------
   20. RESPONSIVE — MOBILE FIRST OVERRIDES
   -------------------------------------------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
    gap: var(--space-12);
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__sub {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta-group {
    justify-content: center;
  }

  .hero__content {
    order: 1; /* explizit: Headline/CTAs zuerst */
  }
  .hero__visual {
    order: 2; /* mobile/tablet: Produkt-Visual (Phone + Persona-Picker) DANACH */
  }
  .hero {
    min-height: auto;
    padding-top: calc(68px + var(--space-12));
    padding-bottom: var(--space-16);
  }

  .roleplay-mock {
    max-width: 480px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-item:nth-child(2) { border-radius: 0 var(--radius-lg) 0 0; }
  .metric-item:nth-child(3) { border-radius: 0 0 0 var(--radius-lg); }
  .metric-item:nth-child(1) { border-radius: var(--radius-lg) 0 0 0; }
  .metric-item:last-child  { border-radius: 0 0 var(--radius-lg) 0; }

  .footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-8);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --space-24: 4rem;
    --space-32: 5rem;
  }

  .nav__links {
    display: none;
  }

  .nav__actions .btn-secondary {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .problem-grid,
  .audience-grid,
  .pricing-grid,
  .trust-badges {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps::before {
    display: none;
  }

  .tab-panel.is-active {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-8) var(--space-6);
  }
  /* Brand/Tagline-Spalte über volle Breite, Link-Spalten kompakt daneben */
  .footer__grid > *:first-child { grid-column: 1 / -1; }
  .footer__links { gap: var(--space-2); }
  .footer__col-title { margin-bottom: var(--space-2); }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .social-proof-bar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
    padding: var(--space-3) var(--space-4);
  }
  /* Die "·"-Trenner sind mobil nur Rauschen zwischen den Zeilen */
  .social-proof-bar > span[aria-hidden] { display: none; }

  .tabs__nav {
    gap: 0;
  }

  .tab-btn {
    padding: var(--space-3) var(--space-4);
  }
}

/* Very small */
@media (max-width: 480px) {
  /* Hero-Mock auf sehr schmalen Screens robust halten: weniger Innenabstand,
     kein horizontales Überlaufen (Vertriebs-Feedback: „verzerrt auf dem Handy"). */
  .roleplay-mock {
    padding: var(--space-5);
    max-width: 100%;
  }
  .mock-dim-label {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mock-dim-track {
    flex: 1 1 40px;
    min-width: 36px;
  }
  /* Score-Chip-Zeile im Phone enger setzen, damit Chip + Mono-Label nebeneinander passen */
  .device-phone__screen .mock-score-chip { padding: 5px 10px; font-size: 10px; }
  /* Phone-Screen-Innenabstand auf sehr schmalen Screens minimal trimmen (mehr Inhalt) */
  .device-phone__screen { padding: 28px 12px 16px; }

  .hero__cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero__cta-group .btn-primary,
  .hero__cta-group .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .cta-band__actions {
    flex-direction: column;
  }

  .cta-band__actions .btn-dark {
    width: 100%;
    justify-content: center;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .metric-item:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .metric-item:last-child  { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .metric-item:not(:first-child):not(:last-child) { border-radius: 0; }
}

/* Fix: Unterseiten-Breadcrumb muss die fixe Nav (68px) freihalten — sonst überlappt es das Logo */
#main-content > .breadcrumb { margin-top: calc(68px + var(--space-4)); }

/* Mobile-Härtung: Feature-Tab-Leiste als wischbare Strip (sonst abgeschnitten).
   Die Vergleichstabelle wird weiter unten (bei den .data-table-Basisregeln) verkleinert. */
.tabs__nav { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs__nav::-webkit-scrollbar { display: none; }
.tab-btn { flex: 0 0 auto; white-space: nowrap; }

/* Breadcrumb (global; subpages also set this inline — identical. Pages without an
   inline block, e.g. Benefits, need the global rule so it renders horizontally). */
.breadcrumb { max-width: var(--container-max); margin: 0 auto; padding: var(--space-4) var(--space-6) 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); font-size: var(--text-xs); color: var(--text-muted); letter-spacing: 0.04em; list-style: none; margin: 0; padding: 0; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color .15s ease; }
.breadcrumb a:hover { color: var(--text-secondary); }
.breadcrumb li[aria-current] { color: var(--text-secondary); }
.breadcrumb .sep { color: var(--border-medium); }

/* ==========================================================================
   Sprachumschalter (DE ⇄ EN) — verlinkt die jeweilige Zwilling-URL.
   ========================================================================== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-secondary);
  text-decoration: none;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  line-height: 1;
  transition: color .15s, border-color .15s, background .15s;
}
.lang-switch:hover,
.lang-switch:focus-visible { color: var(--text-primary); border-color: var(--border-strong); background: var(--border-subtle); }
.lang-switch svg { opacity: .7; }

/* Sprachzeile im Footer */
.footer__lang { margin-top: var(--space-4); display: flex; gap: var(--space-2); align-items: center; font-size: var(--text-sm); }
.footer__lang a { color: var(--text-secondary); text-decoration: none; }
.footer__lang a:hover { color: var(--text-primary); }
.footer__lang a[aria-current="true"] { color: var(--accent-lime); font-weight: var(--weight-semibold); }

/* Drawer-Sprachumschalter */
.drawer-lang { display: flex; gap: var(--space-2); margin-top: var(--space-4); }
.drawer-lang a { flex: 1; text-align: center; color: var(--text-secondary); text-decoration: none; border: 1px solid var(--border-medium); border-radius: var(--radius-md); padding: 10px; font-weight: var(--weight-semibold); }
.drawer-lang a[aria-current="true"] { color: var(--text-on-lime); background: var(--accent-lime); border-color: var(--accent-lime); }

@media (max-width: 480px) {
  .nav__actions .lang-switch { display: none; } /* auf Mini-Screens nur im Drawer/Footer */
}

/* Fix: Bei 375–414px sprengen Logo + .nav__actions (Sprachlink, CTA) + Burger
   gemeinsam die Nav-Breite, wodurch #hamburger-btn aus dem Viewport rutscht.
   Der CTA ist im Hero ohnehin prominent vorhanden — auf Mini-Screens genügt
   Logo + Burger, damit die Nav sicher passt (Logo ~140px + Burger ~44px
   + Nav-Padding 48px ≪ 375px). */
@media (max-width: 560px) {
  .nav__actions .btn-primary { display: none; }
}

/* ==========================================================================
   Roadmap-Badge — kennzeichnet ehrlich „geplant / in Entwicklung".
   ========================================================================== */
.roadmap-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--text-xs); font-weight: var(--weight-semibold);
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent-blue);
  background: rgba(91, 173, 255, 0.10);
  border: 1px solid rgba(91, 173, 255, 0.30);
  border-radius: var(--radius-full); padding: 4px 10px;
}
.section--roadmap .audience-card,
.section--roadmap .problem-card { opacity: .92; }

/* ==========================================================================
   Daten-/Vergleichstabelle (AEO-freundlich, echtes <table>)
   ========================================================================== */
.data-table-wrap { overflow-x: auto; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--bg-surface); }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.data-table th, .data-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border-subtle); vertical-align: top; }
.data-table thead th { color: var(--text-secondary); font-weight: var(--weight-semibold); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--border-medium); }
.data-table tbody th { color: var(--text-primary); font-weight: var(--weight-semibold); }
.data-table td { color: var(--text-secondary); }
.data-table tbody tr:last-child td, .data-table tbody tr:last-child th { border-bottom: none; }
/* Mobile: Tabelle so verkleinern, dass alle Spalten (inkl. sip.coach) ins
   375px-Viewport passen — sonst ist die rechte Spalte off-screen. */
@media (max-width: 600px) {
  .data-table { font-size: 10px; }
  .data-table th, .data-table td { padding: 7px 5px; }
  .data-table thead th { font-size: 8.5px; letter-spacing: 0; }
}

/* ==========================================================================
   EMOTION / VISUALS / INTERACTIVITY — Phase 2 (2026-06-26)
   Device frames, app-screenshots, persona-picker, before/after, comparison,
   micro-interactions. Brand tokens only, CSP-safe, mobile-first.
   ========================================================================== */

/* ---- Device frame: phone -------------------------------------------------- */
.device-phone {
  position: relative; width: 320px; max-width: 100%; margin: 0 auto;
  border-radius: 46px;
  background: linear-gradient(180deg, #17171f, #0a0a12);
  border: 1px solid var(--border-strong);
  box-shadow: 0 50px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04), inset 0 0 0 2px rgba(255,255,255,.02);
  padding: 14px;
}
.device-phone__notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 24px; background: #06060c; border-radius: 0 0 14px 14px; z-index: 4;
}
.device-phone__screen {
  position: relative; border-radius: 34px; overflow: hidden;
  background: var(--bg-elevated); padding: 30px 16px 18px;
  min-width: 0;
}
/* Roleplay-Mock im Phone: KEINE doppelte Karte (Padding/Rahmen/Schatten) — sonst
   wird der Inhalt im Telefon auf dem Handy zerquetscht ("zerhackt"). */
.device-phone__screen .roleplay-mock {
  max-width: 100%; width: 100%;
  padding: 0; margin: 0;
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
.device-phone__screen .roleplay-mock::before { display: none; }
.device-phone__glow {
  position: absolute; top: -60px; right: -50px; width: 180px; height: 180px;
  background: radial-gradient(circle, var(--accent-purple-glow), transparent 70%); pointer-events: none;
}

/* ---- Device frame: browser/laptop ---------------------------------------- */
.device-browser {
  position: relative; width: 100%; max-width: 560px; margin: 0 auto;
  border-radius: 14px; overflow: hidden;
  background: var(--bg-elevated); border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-card);
}
.device-browser__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--bg-subtle); border-bottom: 1px solid var(--border-subtle); }
.device-browser__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); flex: 0 0 auto; }
.device-browser__url { margin-left: 8px; font-size: var(--text-xs); color: var(--text-muted); font-family: var(--font-mono); background: var(--bg-base); padding: 4px 12px; border-radius: 6px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.device-browser__screen { padding: 20px; }

/* gentle float (motion-safe) */
.float-soft { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---- Interactive persona picker ------------------------------------------ */
/* CSS-only Scroll-Shadow (analog .tabs__nav): Fade rechts nur sichtbar, solange
   weitere Persona-Chips ungescrollt bleiben; Farbe passend zum Hero-Hintergrund. */
.persona-picker { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; width: 100%; max-width: 100%; min-width: 0; justify-content: center; }
@media (max-width: 600px) { .persona-picker { justify-content: flex-start; } }
.persona-picker::-webkit-scrollbar { display: none; }
.persona-chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px;
  background: var(--bg-surface); border: 1px solid var(--border-medium); border-radius: 999px;
  padding: 6px 16px 6px 6px; cursor: pointer; color: var(--text-secondary);
  font-size: var(--text-sm); font-weight: var(--weight-semibold);
  transition: border-color .15s, background .15s, transform .15s, color .15s;
}
.persona-chip:hover { transform: translateY(-2px); border-color: var(--border-strong); color: var(--text-primary); }
.persona-chip.is-active { border-color: var(--accent-lime); background: var(--accent-lime-glow); color: var(--text-primary); }
.persona-chip__avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; flex: 0 0 auto; }
.persona-hint { font-size: var(--text-xs); color: var(--text-muted); text-align: center; margin-top: 2px; }

/* fade swap for live-updating persona content */
.swap-fade { animation: swapfade .4s ease; }
@keyframes swapfade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Before / After ------------------------------------------------------- */
.beforeafter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); }
.ba-col { border-radius: var(--radius-lg); padding: var(--space-8); border: 1px solid var(--border-subtle); }
.ba-col--before { background: rgba(248,113,113,.05); border-color: rgba(248,113,113,.20); }
.ba-col--after  { background: rgba(191,242,78,.05); border-color: rgba(191,242,78,.24); }
.ba-col__label { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: .06em; text-transform: uppercase; margin-bottom: var(--space-4); }
.ba-col--before .ba-col__label { color: #F8A0A0; }
.ba-col--after  .ba-col__label { color: var(--accent-lime); }
.ba-list { display: flex; flex-direction: column; gap: var(--space-3); }
.ba-item { display: flex; gap: 10px; align-items: flex-start; color: var(--text-secondary); font-size: var(--text-base); line-height: 1.5; }
.ba-item__mark { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; margin-top: 1px; }
.ba-col--before .ba-item__mark { background: rgba(248,113,113,.14); color: #F8A0A0; }
.ba-col--after  .ba-item__mark { background: rgba(191,242,78,.16); color: var(--accent-lime); }

/* ---- Comparison marks (in .data-table) ----------------------------------- */
.cmp-yes { color: var(--accent-lime); font-weight: 700; }
.cmp-no  { color: #F8788A; font-weight: 700; }
.cmp-mid { color: var(--warning); font-weight: 700; }
.data-table col.col-sip, .data-table .col-sip { background: rgba(191,242,78,.05); }
.data-table thead th.col-sip { color: var(--accent-lime); }

/* ---- Micro-interactions --------------------------------------------------- */
.lift { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--border-medium); }

/* animated stat / score bars: start 0, JS sets width on reveal */
.score-bar-fill, .mock-dim-fill { transition: width 1.1s cubic-bezier(.22,1,.36,1); }

/* ---- Emotional accents ---------------------------------------------------- */
.emotion-eyebrow { color: var(--accent-lime); }
.big-quote { font-size: var(--text-2xl); line-height: 1.4; font-weight: var(--weight-semibold); color: var(--text-primary); }
.outcome-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.outcome-card { text-align: center; padding: var(--space-8) var(--space-6); border-radius: var(--radius-lg); background: var(--bg-surface); border: 1px solid var(--border-subtle); }
.outcome-card__icon { width: 48px; height: 48px; margin: 0 auto var(--space-4); display: grid; place-items: center; border-radius: 14px; background: var(--accent-lime-glow); }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 768px) {
  .beforeafter { grid-template-columns: 1fr; }
  .outcome-grid { grid-template-columns: 1fr; }
  .device-phone { width: min(280px, 100% - 2 * var(--space-4)); }
}
@media (prefers-reduced-motion: reduce) {
  .float-soft, .swap-fade { animation: none; }
  .score-bar-fill, .mock-dim-fill { transition: none; }
}

/* Site-wide card hover-lift (no HTML changes needed) */
.problem-card, .audience-card, .trust-badge, .outcome-card, .step, .pricing-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.problem-card:hover, .audience-card:hover, .trust-badge:hover, .outcome-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--border-medium);
}
@media (prefers-reduced-motion: reduce) {
  .problem-card, .audience-card, .trust-badge, .outcome-card, .step, .pricing-card { transition: none; }
  .problem-card:hover, .audience-card:hover, .trust-badge:hover, .outcome-card:hover { transform: none; }
}

/* ==========================================================================
   Touch-Targets: Billing-/Team-Größen-Toggle (Pricing-Sektion)
   .billing-toggle__btn und .team-size-toggle__btn sind aus einem inline
   <style>-Block in index.html/en/preise (Pricing-Teaser) — diese Datei darf
   laut Auftrag nicht angefasst werden. Override hier über den Eltern-Klassen-
   Selektor (.billing-toggle .billing-toggle__btn / .team-size-toggle
   .team-size-toggle__btn), der die inline-Regel per höherer Spezifität
   schlägt, unabhängig von der Ladereihenfolge. Nur mobil, damit die
   Desktop-Optik (kompaktes Pill-Toggle) unangetastet bleibt.
   Ziel ≥44px Höhe. Worst Case ist die EN-Variante von .team-size-toggle__btn
   (dort 0.72rem statt --text-sm → nur ~18.4px Textzeile): 13px Padding
   oben/unten → ~44.4px Gesamthöhe. DE-Variante (--text-sm, ~22.4px Text)
   landet mit denselben 13px bei ~48.4px — ebenfalls unauffällig kompakt. */
@media (max-width: 768px) {
  .billing-toggle .billing-toggle__btn,
  .team-size-toggle .team-size-toggle__btn {
    padding-top: 13px;
    padding-bottom: 13px;
  }
}

/* 4-Spalten-Preiskarten im 1200-1600px-Fenster: Karten-Content ist ~130px schmal —
   2.5rem-Betrag (120px) + Währungszeichen passen nicht nebeneinander (€ bricht sonst
   allein auf eine eigene Zeile). Betrag leicht reduzieren, bis das Grid breiter wird. */
@media (min-width: 1200px) and (max-width: 1600px) {
  .pricing-card__amount { font-size: 2rem; }
}


/* Scroll-Hinweis (mobil): sticky ::after im Scroller — haftet am rechten Rand des
   Scrollports und zeigt einen Fade, solange horizontal weiterer Inhalt folgt.
   Robust gegen opake Kind-Hintergründe (liegt ÜBER den Buttons, pointer-events:none). */
@media (max-width: 768px) {
  .tabs__nav::after,
  .persona-picker::after {
    content: "";
    position: sticky;
    right: 0;
    flex: 0 0 44px;
    margin-left: -44px;
    align-self: stretch;
    background: linear-gradient(to right, rgba(8, 8, 13, 0), var(--bg-base) 85%);
    pointer-events: none;
    z-index: 1;
  }
}


/* Segmented-Toggles (TIP/HIP, Monatlich/Jaehrlich): shrink-to-fit statt Column-Stretch
   in den Preiskarten; auf Touch-Geraeten keinen haengenden Fokus-Ring nach dem Tap. */
.pricing-card .team-size-toggle,
.pricing-section .team-size-toggle {
  width: fit-content;
  align-self: center;
}
@media (hover: none) {
  .team-size-toggle__btn:focus,
  .team-size-toggle__btn:focus-visible,
  .billing-toggle__btn:focus,
  .billing-toggle__btn:focus-visible { outline: none; }
}

/* ── Chip-Info-Dialog (Methodik-/Compliance-Chips) ─────────────────────────── */
.methodik-chip--info { cursor: pointer; transition: border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast); }
.methodik-chip--info::after { content: "ⓘ"; font-size: 0.78em; margin-left: 6px; opacity: 0.55; }
.methodik-chip--info:hover { border-color: var(--accent-lime); color: var(--text-primary); transform: translateY(-1px); }

.chip-dialog { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: flex-end; justify-content: center; }
.chip-dialog[hidden] { display: none; }
.chip-dialog__backdrop { position: absolute; inset: 0; background: rgba(4, 4, 8, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.2s ease; }
.chip-dialog__panel { position: relative; width: 100%; max-width: 560px; background: var(--bg-elevated, #14141e); border: 1px solid var(--border-medium); border-bottom: none; border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: var(--space-4) var(--space-6) var(--space-8); transform: translateY(24px); opacity: 0; transition: transform 0.22s ease, opacity 0.22s ease; box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.5); }
.chip-dialog.is-open .chip-dialog__backdrop { opacity: 1; }
.chip-dialog.is-open .chip-dialog__panel { transform: translateY(0); opacity: 1; }
.chip-dialog__grip { width: 40px; height: 4px; border-radius: 999px; background: var(--border-medium); margin: 0 auto var(--space-4); }
.chip-dialog__head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.chip-dialog__icon { color: var(--accent-lime); display: inline-flex; flex-shrink: 0; }
.chip-dialog__title { font-size: var(--text-lg); font-weight: var(--weight-bold); color: var(--text-primary); margin: 0; flex: 1; }
.chip-dialog__close { font-size: 1.5rem; line-height: 1; color: var(--text-muted); padding: 4px 10px; border-radius: var(--radius-md); }
.chip-dialog__close:hover { color: var(--text-primary); background: var(--bg-subtle); }
.chip-dialog__text { color: var(--text-secondary); font-size: var(--text-base); line-height: 1.65; margin: 0; }

@media (min-width: 640px) {
  .chip-dialog { align-items: center; padding: var(--space-6); }
  .chip-dialog__panel { border-bottom: 1px solid var(--border-medium); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-8); transform: translateY(12px) scale(0.98); }
  .chip-dialog.is-open .chip-dialog__panel { transform: translateY(0) scale(1); }
  .chip-dialog__grip { display: none; }
}

/* ── Mobile Weissraum-Reduktion (Feedback 16.07.): Sektions-/Hero-Paddings kompakt ── */
@media (max-width: 768px) {
  .nav__drawer a.btn-primary { color: var(--text-on-lime); } /* Drawer-CTA: dunkle Schrift auf Lime */
  .subhero { padding: calc(var(--space-16) + var(--space-6)) 0 var(--space-10); }
  .page-hero { padding-top: var(--space-6); padding-bottom: var(--space-10); }
  .section { padding-top: var(--space-12); padding-bottom: var(--space-12); }
  .subhero h1, .page-hero h1 { margin-top: var(--space-4); margin-bottom: var(--space-4); }
  .subhero__sub { margin-bottom: var(--space-6); }
  .subhero__cta { gap: var(--space-3); }
}

/* Situations-Chips: gleiche Info-Affordance wie Methodik-Chips */
.situation-chip.methodik-chip--info { cursor: pointer; }

/* Header-Space-Feedback (16.07.): Unterseiten-Heros sitzen dichter unter der Nav.
   section.page-hero schlaegt die Inline-Definition der Unterseiten (Spezifitaet). */
section.page-hero { padding-top: var(--space-8); padding-bottom: var(--space-12); }
@media (max-width: 768px) {
  section.page-hero { padding-top: var(--space-5); padding-bottom: var(--space-8); }
}
