/* === Das Levion Protokoll v2.0 — Premium Portal Styles === */
/* Design System: LEVION Longevity Klinik */
/* Tone: Medical-Elegant, Premium, Trustworthy */

/* =============================================================
   1. CSS CUSTOM PROPERTIES (Override/Extend tokens.css)
   ============================================================= */
:root {
  /* Core Colors */
  --primary: #2A6B44;
  --primary-hover: #1E5434;
  --accent: #4CAF80;
  --accent-soft: #E8F5E9;
  --gold: #C9A96E;
  --gold-soft: rgba(201, 169, 110, 0.12);
  --gold-mid: rgba(201, 169, 110, 0.28);

  /* Surfaces */
  --bg: #F8F9F7;
  --surface: #FFFFFF;
  --surface-hover: #F2F5F0;
  --border: #E2E8E0;
  --border-light: rgba(0,0,0,0.08);

  /* Text */
  --text: #1A1A1A;
  --text-muted: #5A5A5A;
  --text-faint: #757575;
  --text-inverse: #FFFFFF;

  /* Status Colors (used as borders/accent, not full backgrounds) */
  --success: #2A6B44;
  --warning: #B8860B;
  --danger: #C62828;
  --info: #1565C0;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.04);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 40px rgba(26, 26, 26, 0.08);
  --shadow-hover: 0 24px 48px rgba(26, 26, 26, 0.14);
  --shadow-glow: 0 0 20px 4px rgba(42, 107, 68, 0.15);

  /* Glows (Hub-Designsystem) */
  --glow-green: 0 8px 32px rgba(42, 107, 68, 0.22), 0 0 60px rgba(42, 107, 68, 0.10);
  --glow-gold: 0 8px 32px rgba(201, 169, 110, 0.22), 0 0 60px rgba(201, 169, 110, 0.10);
  --glow-blue: 0 8px 32px rgba(21, 101, 192, 0.22), 0 0 60px rgba(21, 101, 192, 0.10);

  /* Typography Scale */
  --font-display: 'DM Serif Display', 'Georgia', 'Times New Roman', serif;
  --font-main: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 0.75rem;  /* 12px */
  --space-md: 1rem;     /* 16px */
  --space-lg: 1.5rem;   /* 24px */
  --space-xl: 2rem;     /* 32px */
  --space-2xl: 3rem;    /* 48px */
  --space-3xl: 4rem;    /* 64px */
  --space-4xl: 5rem;    /* 80px */

  /* Radii */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-pill: 50px;
  --radius-full: 9999px;

  /* Animation Timing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.85s;

  /* Elevation / Z-Index Scale */
  --z-base: 0;
  --z-elevated: 10;
  --z-sticky: 100;
  --z-nav: 1000;
  --z-modal: 2000;
  --z-toast: 9999;
}

/* =============================================================
   1a. ACCESSIBILITY UTILITIES
   ============================================================= */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-toast);
  background: var(--primary);
  color: var(--text-inverse);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: top var(--duration-fast) ease;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* =============================================================
   1b. GRAIN OVERLAY — CSS-only noise (performance optimized)
   ============================================================= */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  z-index: var(--z-toast);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 var(--space-md) 0;
  color: var(--primary);
}

p {
  margin: 0 0 var(--space-md) 0;
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  margin: 0;
  padding-left: 1.25rem;
}

li {
  margin-bottom: var(--space-xs);
  color: var(--text-muted);
  line-height: 1.6;
}

strong {
  font-weight: 600;
  color: var(--text);
}

/* =============================================================
   3b. PROTOCOL TOC — Pill Navigation (exakt index.html filter-bar Design)
   ============================================================= */
.filter-bar-wrap {
  position: relative;
  z-index: 100;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 24px;
  margin-top: var(--space-3xl);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  background: var(--surface);
  color: var(--text-muted);
  transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
}

.filter-pill:hover,
.filter-pill.active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary);
  color: var(--primary-dark);
}

/* Mobile */
@media (max-width: 768px) {
  .filter-bar-wrap {
    padding: 12px 16px;
  }
  .filter-pill {
    padding: 8px 14px;
    font-size: 0.75rem;
  }
}

/* =============================================================
   4. PORTAL NAVIGATION
   ============================================================= */
.portal-nav {
  position: sticky;
  top: 110px; /* Pill-Header (top:48px) + Pill-Höhe (~52px) + Lücke (10px) */
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: var(--space-sm) var(--space-lg);
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.portal-nav::-webkit-scrollbar { display: none; }

/* Horizontal scroll affordance */
.portal-nav::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40px; height: 100%;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.70) 0%, transparent 100%);
  pointer-events: none;
  z-index: calc(var(--z-elevated) + 1);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}

.portal-nav.can-scroll::after {
  opacity: 1;
}

.portal-nav a {
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: all var(--duration-fast) ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
}

.portal-nav a:hover {
  color: var(--primary);
  background: var(--surface-hover);
}

.portal-nav a.active {
  color: var(--text-inverse);
  background: var(--primary);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .portal-nav { top: 80px; }
}

/* =============================================================
   5. HERO SECTION
   ============================================================= */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding: calc(var(--space-4xl) + 60px) var(--space-lg) var(--space-4xl);
}

.hero-inner {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: var(--z-elevated);
}

.hero-content {
  text-align: left;
}

.hero-label {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--accent-soft);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-lg);
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--text);
  margin-bottom: var(--space-lg);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-content h1 span {
  color: var(--primary);
  font-style: italic;
}

.hero .subtitle {
  font-family: var(--font-main);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 var(--space-xl) 0;
  font-weight: 300;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-visual img {
  max-height: 380px;
  width: auto;
  position: relative;
  z-index: calc(var(--z-elevated) + 1);
  filter: drop-shadow(0 24px 48px rgba(42, 107, 68, 0.25));
  animation: float 6s ease-in-out infinite;
}

.hero-visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 107, 68, 0.12) 0%, rgba(74, 175, 128, 0.06) 40%, transparent 70%);
  z-index: var(--z-elevated);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual img { animation: none; }
}

/* Secondary CTA */
.btn-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 9999px;
  border: 2px solid var(--primary);
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.btn-secondary-cta:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }
  .hero-content {
    text-align: center;
    order: 2;
  }
  .hero-visual {
    order: 1;
  }
  .hero-visual img {
    max-height: 280px;
  }
  .hero .subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
}

/* =============================================================
   6. BUTTONS & CTAS
   ============================================================= */
.btn-primary {
  display: inline-block;
  padding: 16px 32px;
  background: var(--primary);
  color: var(--text-inverse);
  text-decoration: none;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  line-height: 16px;
  transition: box-shadow var(--duration-fast), transform var(--duration-fast);
  position: relative;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(42, 107, 68, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(42, 107, 68, 0.3);
  background: var(--primary-hover);
}

/* Glow Pulse Animation */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(42, 107, 68, 0.2), 0 0 0 0 rgba(42, 107, 68, 0.35); }
  50% { box-shadow: 0 4px 16px rgba(42, 107, 68, 0.2), 0 0 20px 4px rgba(42, 107, 68, 0.15); }
}

@media (prefers-reduced-motion: no-preference) {
  .btn-primary {
    animation: glowPulse 3s ease-in-out infinite;
  }
  .btn-primary:hover {
    animation: none;
  }
}

/* =============================================================
   7. SECTIONS
   ============================================================= */
main > section {
  padding: var(--space-4xl) var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

/* Protocol Lab: unified background, whitespace-driven hierarchy */
.section-anleitung,
.section-faq,
.section-training,
.section-dosierung,
.section-troubleshooting,
.section-tracking,
.section-sicherheit,
.section-nebenwirkungen,
.section-frauen,
.section-longterm,
.section-ernaehrung,
.section-stacking {
  background: var(--bg);
}

/* Hero background is defined in the .hero block above — keep it clean */

/* ---- Stack Cards (Stacking-Sektion) ---- */
.stack-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1160px;
  margin: 48px auto 0;
  padding: 0 24px;
}

.stack-card {
  background: var(--white);
  border-radius: 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  overflow: visible;
  border: 1px solid rgba(0,0,0,0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stack-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 36%;
  border-radius: 28px 28px 0 0;
  z-index: 0;
  pointer-events: none;
}

.stack-card:nth-child(1)::before { background: #E8F5E9; }
.stack-card:nth-child(2)::before { background: #D0E5D8; }
.stack-card:nth-child(3)::before { background: #B8D5C4; }

.stack-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(26, 26, 26, 0.14);
}

.stack-badge {
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--primary);
  color: var(--white);
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
}

.stack-card .stack-vial {
  position: relative;
  width: 100%;
  height: 300px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: -50px;
  z-index: 1;
  /* Override .reveal defaults — only the image animates, not the container */
  opacity: 1;
  transform: none;
  transition: none;
}

.stack-card .stack-vial img {
  position: absolute;
  height: 340px;
  width: auto;
  max-width: none;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.stack-card .stack-vial.visible img {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.stack-card-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 50px 28px 28px;
  text-align: center;
}

.stack-purpose-tag {
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

.stack-card-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--primary);
  margin: 0 0 16px;
  line-height: 1.2;
}

.stack-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.stack-features li {
  font-family: var(--font-main);
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  line-height: 1.4;
}

.stack-features li:last-child {
  border-bottom: none;
}

.stack-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  top: 8px;
}

@media (max-width: 1023px) {
  .stack-cards-grid { grid-template-columns: 1fr; max-width: 480px; gap: 20px; }
  .stack-card .stack-vial { height: 240px; margin-top: -40px; }
  .stack-card .stack-vial img { height: 270px; }
}

@media (max-width: 479px) {
  .stack-cards-grid { padding: 0 16px; }
  .stack-card { border-radius: 20px; }
  .stack-card::before { border-radius: 20px 20px 0 0; }
  .stack-card-name { font-size: 1.2rem; }
}

section h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  letter-spacing: -0.01em;
}

.section-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: var(--shadow-sm);
}

.section-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.section-intro {
  font-family: var(--font-main);
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
  font-weight: 300;
  max-width: 700px;
}

/* =============================================================
   8. REVEAL ANIMATIONS
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children — Protocol Lab cards */
.reveal .protocol-card:nth-child(1),
.reveal .protocol-card--step:nth-child(1),
.reveal .protocol-card--alert:nth-child(1),
.reveal .faq-card:nth-child(1) { transition-delay: 0ms; }

.reveal .protocol-card:nth-child(2),
.reveal .protocol-card--step:nth-child(2),
.reveal .protocol-card--alert:nth-child(2),
.reveal .faq-card:nth-child(2) { transition-delay: 50ms; }

.reveal .protocol-card:nth-child(3),
.reveal .protocol-card--step:nth-child(3),
.reveal .protocol-card--alert:nth-child(3),
.reveal .faq-card:nth-child(3) { transition-delay: 100ms; }

.reveal .protocol-card:nth-child(4),
.reveal .protocol-card--step:nth-child(4),
.reveal .protocol-card--alert:nth-child(4),
.reveal .faq-card:nth-child(4) { transition-delay: 150ms; }

.reveal .protocol-card:nth-child(5),
.reveal .protocol-card--step:nth-child(5),
.reveal .protocol-card--alert:nth-child(5),
.reveal .faq-card:nth-child(5) { transition-delay: 200ms; }

/* Gold Shimmer Sweep */
@keyframes shimmerSweep {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

/* =============================================================
   8b. PROTOCOL CARD SYSTEM (Protocol Lab)
   ============================================================= */
.protocol-card {
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.protocol-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(26, 26, 26, 0.14);
}

.protocol-card h3,
.protocol-card h4 {
  font-family: var(--font-display);
  color: var(--primary);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.protocol-card h3 { font-size: 1.25rem; }
.protocol-card h4 { font-size: 1rem; }

.protocol-card p,
.protocol-card li {
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.protocol-card ul {
  margin: 0;
  padding-left: 1.25rem;
}

.protocol-card li {
  margin-bottom: 8px;
}

/* --- Step State --- */
.protocol-card--step {
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 24px;
  padding: 28px 28px 28px 72px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.protocol-card--step:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(26, 26, 26, 0.14);
}

.protocol-card--step .step-badge {
  position: absolute;
  top: 24px;
  left: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
}

.protocol-card--step .step-badge--check {
  background: var(--primary);
}

/* Gold connector track between step cards */
.step-track {
  position: relative;
  padding-left: 38px;
}

.step-track::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 17px;
  width: 2px;
  background: rgba(201, 169, 110, 0.30);
  z-index: 1;
}

.step-track > .protocol-card--step {
  margin-bottom: 16px;
}

.step-track > .protocol-card--step:last-child {
  margin-bottom: 0;
}

/* --- Alert State --- */
.protocol-card--alert {
  background: rgba(201, 169, 110, 0.06);
  border: 2px solid rgba(201, 169, 110, 0.30);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.protocol-card--alert:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(26, 26, 26, 0.14);
}

.protocol-card--alert h4 {
  color: var(--gold);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.protocol-card--alert h4::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.protocol-card--alert.stop h4::before {
  background: var(--danger);
}

.protocol-card--alert.stop {
  border-color: rgba(198, 40, 40, 0.25);
  background: rgba(198, 40, 40, 0.04);
}

.protocol-card--alert.stop h4 {
  color: var(--danger);
}

/* Collapsible alert (deep-dive style) */
.protocol-card--alert details > summary {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 250ms ease;
}

.protocol-card--alert details > summary:hover {
  color: var(--primary);
}

.protocol-card--alert details > summary::-webkit-details-marker { display: none; }

.protocol-card--alert details > summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  margin-left: auto;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.protocol-card--alert details[open] > summary::after {
  content: '−';
}

.protocol-card--alert .deep-content {
  padding-top: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* --- Troubleshooting diagnose cards --- */
.troubleshoot-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
}

.troubleshoot-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 28px;
  background: #ffffff;
  border: 1px solid var(--border, #E2E8E0);
  border-radius: 16px;
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.troubleshoot-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(26, 26, 26, 0.08);
}

.troubleshoot-card--sofort { border-left: 4px solid var(--primary, #2A6B44); }
.troubleshoot-card--escalation { border-left: 4px solid var(--gold, #C9A96E); }
.troubleshoot-card--safety { border-left: 4px solid var(--danger, #C62828); }

.troubleshoot-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.troubleshoot-card--sofort .troubleshoot-icon {
  background: rgba(42, 107, 68, 0.08);
  color: var(--primary, #2A6B44);
}

.troubleshoot-card--escalation .troubleshoot-icon {
  background: rgba(201, 169, 110, 0.10);
  color: var(--gold, #C9A96E);
}

.troubleshoot-card--safety .troubleshoot-icon {
  background: rgba(198, 40, 40, 0.08);
  color: var(--danger, #C62828);
}

.troubleshoot-body { flex: 1; }

.troubleshoot-badge {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.troubleshoot-card--sofort .troubleshoot-badge { color: var(--primary, #2A6B44); }
.troubleshoot-card--escalation .troubleshoot-badge { color: var(--gold, #C9A96E); }
.troubleshoot-card--safety .troubleshoot-badge { color: var(--danger, #C62828); }

.troubleshoot-body h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text, #1A1A1A);
  margin: 0 0 10px;
  line-height: 1.3;
}

.troubleshoot-body ul {
  margin: 0;
  padding-left: 0.5rem;
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--text-muted, #5A5A5A);
  line-height: 1.65;
}

.troubleshoot-body ul li { margin-bottom: 4px; }

@media (max-width: 640px) {
  .troubleshoot-card { padding: 20px; gap: 16px; }
  .troubleshoot-body h4 { font-size: 1.05rem; }
  .troubleshoot-body ul { font-size: 0.85rem; }
}

@media (max-width: 768px) {
  .troubleshoot-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* --- Grid for standard cards --- */
.protocol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

/* =============================================================
   9. STEP CARDS (Legacy — being replaced by protocol-card--step)
   ============================================================= */
.step-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.step-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 38%,
    var(--gold-soft) 44%,
    var(--gold-mid) 50%,
    var(--gold-soft) 56%,
    transparent 62%
  );
  transform: translateX(-100%);
  pointer-events: none;
  opacity: 0;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-card:hover::after {
  animation: shimmerSweep 1.2s var(--ease-out) forwards;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  padding-left: var(--space-sm);
}

.step-card p, .step-card li {
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: var(--space-sm);
}

.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: var(--space-sm);
  font-weight: 400;
}

/* =============================================================
   10. SAFETY CARDS (Border-Left Style)
   ============================================================= */
.safety-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.safety-card:hover {
  transform: translateY(-3px);
}

.safety-card.normal:hover  { box-shadow: var(--glow-green); }
.safety-card.warning:hover { box-shadow: var(--glow-gold); }
.safety-card.stop:hover    { box-shadow: var(--glow-blue); }

.safety-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.safety-card.normal::before  { background: var(--success); }
.safety-card.warning::before { background: var(--warning); }
.safety-card.stop::before    { background: var(--danger); }

.safety-card h4 {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: var(--space-xs);
  padding-left: var(--space-sm);
}

.safety-card.normal h4  { color: var(--success); }
.safety-card.warning h4 { color: var(--warning); }
.safety-card.stop h4    { color: var(--danger); }

.safety-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding-left: var(--space-sm);
  margin: 0;
}

/* =============================================================
   11. INFO / WARNING / SUCCESS BOXES
   ============================================================= */
.info-box, .warning-box, .success-box {
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-top: var(--space-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.info-box:hover, .warning-box:hover, .success-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.info-box {
  background: linear-gradient(135deg, #E3F2FD 0%, #F5FAFF 100%);
}
.info-box h4 { color: var(--info); }

.warning-box {
  background: linear-gradient(135deg, #FFF8E1 0%, #FFFBF0 100%);
}
.warning-box strong { color: var(--warning); }

.success-box {
  background: linear-gradient(135deg, var(--accent-soft) 0%, #F2F8F4 100%);
}
.success-box strong { color: var(--success); }

.info-box h4 {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.info-box ul, .warning-box ul, .success-box ul {
  margin: 0;
  padding-left: 1.25rem;
}

.info-box li, .warning-box li, .success-box li {
  font-size: 0.9rem;
  margin-bottom: var(--space-xs);
}

/* Golden Checkmarks for Lists */
ul.golden-check,
.info-box ul,
.step-card ul,
.deep-content ul {
  list-style: none;
  padding-left: 0;
}

ul.golden-check li,
.info-box li,
.step-card li,
.deep-content li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: var(--space-sm);
}

ul.golden-check li::before,
.info-box li::before,
.step-card li::before,
.deep-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1rem;
  height: 1rem;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

ul.golden-check li::after,
.info-box li::after,
.step-card li::after,
.deep-content li::after {
  content: '';
  position: absolute;
  left: 0.25rem;
  top: 0.45rem;
  width: 0.35rem;
  height: 0.2rem;
  border-left: 2px solid var(--surface);
  border-bottom: 2px solid var(--surface);
  transform: rotate(-45deg);
}

/* =============================================================
   12. DOSIERUNG TOGGLE
   ============================================================= */
.dosis-toggle {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  justify-content: center;
}

.dosis-toggle button {
  padding: 12px 36px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  min-height: 44px;
}

.dosis-toggle button.active {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 16px rgba(42, 107, 68, 0.2);
}

.dosis-toggle button:not(.active):hover {
  background: var(--surface-hover);
}

/* Segmented Control (Protocol Lab) */
.segmented-control {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 4px;
  gap: 4px;
}

.segmented-control button {
  padding: 10px 28px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 44px;
}

.segmented-control button.active {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 16px rgba(42, 107, 68, 0.2);
}

.segmented-control button:not(.active):hover {
  color: var(--primary);
  background: var(--surface-hover);
}

/* =============================================================
   12b. VERTICAL PHASE TRACK (Protocol Lab)
   ============================================================= */
.phase-track {
  position: relative;
  padding-left: 48px;
  margin: 32px 0;
}

.phase-track::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15px;
  width: 2px;
  background: rgba(201, 169, 110, 0.30);
  z-index: 1;
}

.phase-track .phase-step {
  position: relative;
  margin-bottom: 24px;
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 24px;
  padding: 28px 28px 28px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.phase-track .phase-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(26, 26, 26, 0.14);
}

.phase-track .phase-step:last-child {
  margin-bottom: 0;
}

.phase-track .phase-step::before {
  content: '';
  position: absolute;
  top: 32px;
  left: -40px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--gold);
  z-index: 2;
  transition: background 250ms ease, box-shadow 250ms ease;
}

.phase-track .phase-step.active::before {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.20);
}

.phase-track .phase-step .phase-dose {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.phase-track .phase-step .phase-weeks {
  font-family: var(--font-main);
  font-size: 0.75rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 8px;
}

.phase-track .phase-step .phase-desc {
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* =============================================================
   12c. TEMPO CARDS (Dosierung-Section v2.1)
   ============================================================= */
.tempo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: var(--space-xl);
  margin: var(--space-2xl) 0;
}

.tempo-card {
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: transform 250ms var(--ease-spring), box-shadow 250ms var(--ease-spring);
  display: flex;
  flex-direction: column;
}

.tempo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.tempo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.tempo-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tempo-cautious .tempo-badge {
  background: var(--accent-soft);
  color: var(--primary);
}

.tempo-balanced .tempo-badge {
  background: var(--primary);
  color: var(--text-inverse);
}

.tempo-aggressive .tempo-badge {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--text-inverse);
}

.tempo-speed {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--text);
  line-height: 1;
}

.speed-unit {
  font-family: var(--font-main);
  font-size: 0.8rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-left: 4px;
}

/* Dosis Track */
.tempo-dosis-track {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: var(--space-xl);
  position: relative;
}

.dosis-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  flex: 1;
}

.node-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--surface);
  border: 2.5px solid var(--gold);
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.dosis-connector {
  flex: 1;
  height: 2.5px;
  background: rgba(201, 169, 110, 0.35);
  margin-top: 6px;
  min-width: 20px;
  position: relative;
  z-index: 1;
}

.node-dose {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.node-weeks {
  font-family: var(--font-main);
  font-size: 0.8rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  line-height: 1.3;
}

.tempo-desc {
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 var(--space-md) 0;
  flex: 1;
}

.tempo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.meta-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--surface-hover);
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.meta-low {
  background: rgba(42, 107, 68, 0.10);
  color: var(--primary);
}

.meta-mid {
  background: rgba(201, 169, 110, 0.12);
  color: #8B6914;
}

.meta-high {
  background: rgba(198, 93, 87, 0.10);
  color: var(--danger);
}

/* Quiz CTA */
.quiz-cta-module {
  margin-top: var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) var(--space-xl);
  background-image: url('../assets/testimonials/images/hero-testimonial (3).webp');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.quiz-cta-module::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 84, 52, 0.80);
  z-index: 0;
}

.quiz-cta-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.quiz-cta-content h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  margin-bottom: var(--space-md);
}

.quiz-cta-content p {
  font-family: var(--font-main);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
}

.btn-cta-large {
  padding: 18px 48px;
  font-size: 1.1rem;
}

.quiz-cta-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: var(--space-md);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .quiz-cta-module {
    background-attachment: scroll;
  }
}

.quiz-cta-block {
  text-align: center;
  padding: 56px 32px 48px;
  margin: 0;
}

.quiz-cta-block h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text, #1A1A1A);
  margin-bottom: 12px;
  line-height: 1.2;
}

.quiz-cta-block p {
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text-muted, #5A5A5A);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .quiz-cta-block {
    padding: 40px 16px 32px;
  }
  .quiz-cta-block h3 {
    font-size: 1.6rem;
  }
}

/* Community Block — Quiz CTA Split (identisch mit reta-result.html) */
.protokoll-quiz-cta {
  max-width: 980px;
  margin: 64px auto;
  padding: 32px 24px;
}

.community-block-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.community-block-text {
  flex: 1;
  text-align: left;
}

.community-block-headline {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 12px;
}

.community-block-body {
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 24px;
}

.community-block-cta {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  text-align: center;
  border-radius: 50px;
  padding: 16px 32px;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: box-shadow .2s, transform .2s;
}

.community-block-cta:hover {
  transform: translate(0, -2px);
  box-shadow: 0 10px 22px rgba(42,107,68,0.25);
}

.community-block-photos {
  flex-shrink: 0;
}

.community-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 520px;
}

.community-photo-item {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.community-photo-item:last-child {
  margin-top: 40px;
}

.community-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .community-block-inner {
    flex-direction: column;
    gap: 32px;
  }
  .community-photo-grid {
    max-width: 320px;
  }
}

/* Edu-Grid Section — Weibliche Spezifika (portiert aus reta-ergebnis.css) */
.protokoll-edu-section {
  max-width: 1100px;
  margin: 0 auto;
}

.edu-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.edu-intro-headline {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--text, #1A1A1A);
  display: block;
  text-align: center;
  margin: 0 auto 16px;
  line-height: 1.2;
}

/* Plateau-Prinzip Infobox */
.plateau-infobox {
  margin-top: 24px;
}
.plateau-infobox-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.plateau-infobox-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

/* source-note: zentrale Klasse für Tabellen-/Studien-Quellenangaben
   - Block 8 (Nebenwirkungen) + Eskalations-Tabelle (Block 1) */
.source-note {
  text-align: center;
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-faint);
}

.plateau-headline {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.3;
  margin: 0 0 10px 0;
  color: var(--text, #1A1A1A);
}
.plateau-body {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

/* ul.tight-list inside .protocol-card (Bluttest-Plan, Block 9 — 4 Vorkommen)
   Default .protocol-card ul setzt margin:0 + padding-left:1.25rem; hier nur font-size + line-height */
.protocol-card ul.tight-list {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Generisches Spacing für vertikalen Abstand zwischen protocol-cards / protocol-grids (Cleanup Block 10) */
.protocol-card--spaced { margin-top: var(--space-lg); }
.protocol-card--spaced-xl { margin-top: var(--space-xl); }
.protocol-grid--spaced { margin-top: var(--space-md); }

/* === KISS Design-Audit: Longterm-Varianten (Patch 1) === */
.protocol-card--center { text-align: center; padding: 48px 32px; }
.protocol-card--danger-border { border-left: 4px solid var(--danger); }
.protocol-card--danger-border h3 { color: var(--danger); }
.stat-hero {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6rem);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-hero-body { font-size: 1.05rem; color: var(--text-muted); max-width: 480px; margin: 0 auto; }

/* Stat-Hero-Card (Longterm "60–70%") — Asymmetrisch, danger-tinted BG, kein Border */
.stat-hero-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px 40px;
  align-items: center;
  padding: 40px 36px;
  margin-bottom: 32px;
  background: rgba(198, 40, 40, 0.05);
  border-radius: 24px;
}
.stat-hero-figure {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.stat-hero-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 400;
  color: var(--danger);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.stat-hero-label {
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stat-hero-card .stat-hero-body {
  font-size: 1rem;
  color: var(--text);
  max-width: 420px;
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 640px) {
  .stat-hero-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 24px;
  }
}
.checkmark-gold {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  flex-shrink: 0;
}

/* Body-Text in "entscheidende Befund" Conclusion-Card (Block 5) — 0.95rem muted */
.conclusion-body { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* noscript-Fallback-Hinweis (P2 #8) — sichtbar nur wenn JS deaktiviert */
.noscript-notice {
  background: var(--text-faint);
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  font-size: 0.85rem;
}
.noscript-notice a { color: #fff; text-decoration: underline; }

@media (max-width: 600px) {
  .edu-intro-headline {
    font-size: 1.8rem;
  }
  .plateau-infobox-inner {
    flex-direction: column;
    gap: 12px;
  }
}

.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.edu-photos {
  display: flex;
  justify-content: center;
}

.edu-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 480px;
}

.edu-photo-item {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
}

.edu-photo-item:last-child {
  margin-top: 48px;
}

.edu-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.edu-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
}

.mechanism-journey {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.mechanism-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid var(--border, #E2E8E0);
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mechanism-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,26,26,0.06);
}

.mechanism-step.dominant {
  border-left: 3px solid var(--gold, #C9A96E);
  box-shadow: 0 8px 24px rgba(201,169,110,0.10);
}

.mechanism-step.dominant:hover {
  box-shadow: 0 12px 32px rgba(201,169,110,0.16);
}

.mechanism-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(42,107,68,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.mechanism-step-body {
  flex: 1;
}

.mechanism-step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--primary, #2A6B44);
  margin: 0 0 6px;
  line-height: 1.3;
}

.mechanism-step-desc {
  font-family: var(--font-main);
  font-size: 0.82rem;
  color: var(--text-muted, #5A5A5A);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {
  .edu-grid {
    grid-template-columns: 1fr;
  }
  .edu-photo-grid {
    max-width: 100%;
  }
  .edu-intro {
    margin-bottom: 32px;
  }
}

/* Responsive: Tempo Cards */
@media (max-width: 1200px) {
  .tempo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tempo-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .tempo-card {
    padding: var(--space-lg);
  }
  .tempo-header {
    margin-bottom: var(--space-lg);
  }
  .tempo-dosis-track {
    margin-bottom: var(--space-lg);
  }
  .node-dose {
    font-size: 1.25rem;
  }
  .node-weeks {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .tempo-card {
    padding: var(--space-md);
  }
  .tempo-speed {
    font-size: 1.5rem;
  }
  .node-dose {
    font-size: 1.1rem;
  }
  .dosis-connector {
    min-width: 12px;
  }
}

/* =============================================================
   13. TIMELINE (Legacy — being replaced by phase-track)
   ============================================================= */
.timeline {
  display: flex;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
  overflow-x: auto;
  padding-bottom: var(--space-md);
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.timeline::-webkit-scrollbar { height: 4px; }
.timeline::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.timeline-step {
  flex: 1;
  min-width: 150px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
  position: relative;
  overflow: hidden;
}

.timeline-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.timeline-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow-green);
}

.timeline-step .dose {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: var(--space-xs);
  font-weight: 400;
}

.timeline-step .weeks {
  font-family: var(--font-main);
  font-size: 0.75rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.timeline-step .step-desc {
  font-family: var(--font-main);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
  line-height: 1.5;
}

/* =============================================================
   13b. FAQ ACCORDION CARDS (Protocol Lab)
   ============================================================= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-accordion .faq-card {
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  overflow: hidden;
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-accordion .faq-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(26, 26, 26, 0.08);
}

.faq-accordion .faq-card summary {
  padding: 24px 28px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  transition: color 250ms ease;
}

.faq-accordion .faq-card summary::-webkit-details-marker { display: none; }

.faq-accordion .faq-card summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 300;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-accordion .faq-card[open] summary::after {
  content: '−';
}

.faq-accordion .faq-card[open] summary {
  color: var(--primary);
}

.faq-accordion .faq-card .answer {
  padding: 0 28px 24px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Smooth height animation for FAQ cards */
.faq-accordion .faq-card details {
  overflow: hidden;
}

.faq-accordion .faq-card details > .answer {
  max-height: 0;
  opacity: 0;
  transition: max-height 400ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 300ms ease 100ms;
  overflow: hidden;
}

.faq-accordion .faq-card details[open] > .answer {
  max-height: 800px;
  opacity: 1;
}

/* =============================================================
   14. FAQ (Legacy — being replaced by faq-accordion)
   ============================================================= */
.faq-search {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-xl);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  outline: none;
}

.faq-search:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 175, 128, 0.15);
}

.faq-search::placeholder { color: var(--text-faint); }

.faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.faq-category {
  padding: 0.5rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  min-height: 44px;
}

.faq-category:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.faq-category.active {
  background: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-list details {
  background: var(--surface);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.faq-list details:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.faq-list summary {
  padding: var(--space-lg);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  transition: color var(--duration-fast);
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s var(--ease-spring);
  font-weight: 300;
}

.faq-list details[open] summary::after {
  content: '−';
  transform: rotate(0);
}

.faq-list details[open] summary {
  color: var(--primary);
}

.faq-list .answer {
  padding: 0 var(--space-lg) var(--space-lg);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================================
   15. DEEP-DIVE EXPANDABLE
   ============================================================= */
.deep-dive {
  margin-top: var(--space-xl);
  border-top: 1px dashed var(--border);
  padding-top: var(--space-lg);
}

.deep-dive details {
  background: transparent;
}

.deep-dive summary {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  transition: color var(--duration-fast);
  min-height: 44px;
}

.deep-dive summary:hover {
  color: var(--primary);
}

.deep-dive summary::before {
  content: '▸';
  font-size: 0.75rem;
  transition: transform 0.2s ease;
  color: var(--gold);
}

.deep-dive details[open] summary::before {
  content: '▾';
}

.deep-dive .deep-content {
  padding: var(--space-md) 0 0 var(--space-lg);
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.deep-dive .deep-content ul {
  margin: 0;
  padding-left: 1.25rem;
}

.deep-dive .deep-content li {
  margin-bottom: var(--space-sm);
  position: relative;
}

.deep-dive .deep-content li::marker {
  color: var(--gold);
}

/* =============================================================
   16. QUICK-FIX GRID
   ============================================================= */
.quick-fix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.quick-fix-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.quick-fix-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--accent) 100%);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.quick-fix-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.quick-fix-card h4 {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.quick-fix-card p {
  font-family: var(--font-main);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* =============================================================
   17. FOOTER
   ============================================================= */
.portal-footer {
  background: linear-gradient(135deg, var(--primary) 0%, #1E5434 100%);
  color: var(--text-inverse);
  padding: var(--space-4xl) var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.portal-footer::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.portal-footer p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
}

.portal-footer a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: opacity var(--duration-fast);
}

.portal-footer a:hover {
  opacity: 0.8;
}

.portal-footer .version {
  font-size: 0.75rem;
  opacity: 0.5;
  margin-top: var(--space-lg);
  letter-spacing: 0.05em;
}

/* =============================================================
   17b. GUARANTEE & WEIGHT-GOAL SECTIONS
   ============================================================= */
.garantie-section {
  padding: var(--space-3xl) var(--space-lg);
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}

.garantie-section .section-inner {
  max-width: 720px;
  margin: 0 auto;
}

.garantie-section .icon-gold {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-md);
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.garantie-section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.garantie-section p {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.garantie-section .btn-gold {
  background: var(--gold);
}

.abnahmeziel-section {
  padding: var(--space-2xl) var(--space-lg);
  background: var(--bg);
}

.abnahmeziel-section .section-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.abnahmeziel-section h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--text);
  margin-bottom: var(--space-lg);
}

.weight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.weight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-decoration: none;
  text-align: center;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.weight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.weight-card .kg {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
}

.weight-card .label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .weight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================================
   18. RESPONSIVE
   ============================================================= */
@media (max-width: 768px) {
  .portal-nav {
    gap: 0.35rem;
    padding: var(--space-sm);
    justify-content: flex-start;
  }
  .portal-nav a {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }

  section {
    padding: var(--space-3xl) var(--space-md);
  }

  .hero {
    min-height: 50vh;
    padding: var(--space-3xl) var(--space-md);
  }

  .phase-track {
    padding-left: 32px;
  }
  .phase-track::before {
    left: 11px;
  }
  .phase-track .phase-step {
    padding: 20px 20px 20px 24px;
  }
  .phase-track .phase-step::before {
    left: -28px;
    width: 12px;
    height: 12px;
  }
  .phase-track .phase-step .phase-dose {
    font-size: 1.5rem;
  }

  .timeline {
    flex-direction: row;
    gap: var(--space-sm);
  }
  .timeline-step {
    min-width: 130px;
    padding: var(--space-md);
  }
  .timeline-step .dose {
    font-size: 1.75rem;
  }

  .protocol-card,
  .protocol-card--alert {
    padding: 20px;
  }
  .protocol-card--step {
    padding: 20px 20px 20px 56px;
  }
  .protocol-card--step .step-badge {
    top: 18px;
    left: 14px;
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }
  .step-card {
    padding: var(--space-lg);
  }
  .step-number {
    font-size: 2.5rem;
  }

  .quick-fix-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .dosis-toggle {
    flex-direction: column;
    align-items: stretch;
  }
  .dosis-toggle button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .timeline-step {
    min-width: 110px;
  }
  .timeline-step .step-desc {
    font-size: 0.75rem;
  }

  .faq-accordion .faq-card summary {
    padding: 16px 20px;
    font-size: 0.9rem;
  }
  .faq-accordion .faq-card .answer {
    padding: 0 20px 20px;
    font-size: 0.85rem;
  }
  .faq-list summary {
    padding: var(--space-md);
    font-size: 0.9rem;
  }
  .faq-list .answer {
    padding: 0 var(--space-md) var(--space-md);
    font-size: 0.85rem;
  }

  .safety-card {
    padding: var(--space-md);
  }
}

/* =============================================================
   19. ACCESSIBILITY & MOTION
   ============================================================= */

/* Hover-Lift auf Touch-Devices deaktivieren — verhindert "steckenbleibende" Hover-States nach Tap */
@media (hover: none) {
  .protocol-card:hover, .protocol-card--step:hover, .protocol-card--alert:hover,
  .step-card:hover, .safety-card:hover, .quick-fix-card:hover, .timeline-step:hover,
  .troubleshoot-card:hover, .mechanism-step:hover, .stack-card:hover, .tempo-card:hover,
  .study-number-card:hover, .compound-simple-card:hover, .pre-footer-card:hover,
  .faq-accordion .faq-card:hover, .faq-list details:hover,
  .info-box:hover, .warning-box:hover, .success-box:hover {
    transform: none;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Focus States */
a:focus-visible,
button:focus-visible,
.faq-search:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Selection */
::selection {
  background: var(--accent-soft);
  color: var(--primary);
}

/* =============================================================
   18b. TOC CARD (Table of Contents — eigenes Markup, nicht FAQ-Accordion)
   ============================================================= */
.toc-card {
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  overflow: hidden;
  margin: 0 0 32px;
}
.toc-card summary {
  padding: 24px 28px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}
.toc-card summary::-webkit-details-marker { display: none; }
.toc-card summary::after { content: '+'; font-size: 1.5rem; color: var(--gold); font-weight: 300; }
.toc-card details[open] summary::after { content: '−'; }
.toc-card nav { padding: 0 28px 24px; }
.toc-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.toc-list li { margin: 0 0 8px; break-inside: avoid; }
.toc-list a { color: var(--primary); text-decoration: none; font-size: 0.95rem; }
.toc-list a:hover { text-decoration: underline; }
@media (max-width: 640px) { .toc-list { columns: 1; } }

/* =============================================================
   18c. PROTOKOLL-TOC (moderne Card — Layout-zentriert, max-width,
                      Click-to-Open via <details>)
   ============================================================= */
.protokoll-toc {
  max-width: 720px;
  margin: 0 auto 32px;
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  overflow: hidden;
}

.protokoll-toc > details > summary {
  padding: 22px 28px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}

.protokoll-toc > details > summary::-webkit-details-marker { display: none; }
.protokoll-toc > details > summary::after { content: '+'; font-size: 1.5rem; color: var(--gold); font-weight: 300; }
.protokoll-toc > details[open] > summary::after { content: '−'; }

.protokoll-toc > details > nav {
  padding: 4px 28px 24px;
}

@media (max-width: 640px) {
  .protokoll-toc { margin: 0 16px 32px; }
  .protokoll-toc > details > summary,
  .protokoll-toc > details > nav { padding-left: 20px; padding-right: 20px; }
}

/* =============================================================
   20. PRINT STYLES
   ============================================================= */
@media print {
  .disclaimer-banner,
  .portal-nav,
  .deep-dive,
  .faq-categories,
  .dosis-toggle {
    display: none !important;
  }

  body {
    padding-top: 0;
    background: white;
  }

  .hero {
    min-height: auto;
    padding: 2rem 1rem;
    background: none;
  }

  section {
    padding: 2rem 1rem;
    page-break-inside: avoid;
  }

  .step-card,
  .safety-card,
  .quick-fix-card {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }

  .portal-footer {
    background: white;
    color: black;
    border-top: 2px solid var(--primary);
  }
  .portal-footer p,
  .portal-footer a {
    color: black;
  }
}

/* === M1.1.3: Breadcrumb + Hub-Back === */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li:not(:last-child)::after {
  content: '>';
  margin-left: 8px;
  color: var(--text-faint);
  font-size: 0.75rem;
}

.breadcrumb a {
  color: var(--primary);
  font-weight: 500;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--primary-hover);
}

.breadcrumb [aria-current="page"] {
  color: var(--text-muted);
  font-weight: 400;
}

.portal-nav .hub-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-weight: 600;
  border-right: 1px solid var(--border);
  padding-right: 12px;
  margin-right: 4px;
}

.portal-nav .hub-back:hover {
  color: var(--primary-hover);
}

/* === INTRO SECTIONS (Phase 1: Was ist das?) === */
.intro-section {
  padding: var(--space-3xl) var(--space-lg);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

/* Lead / Hero-Intro: sanfter Gradient-Hintergrund für visuelle Trennung vom Hero */
.intro-section.intro-lead {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  max-width: none;
  padding: var(--space-4xl) var(--space-lg);
}

.intro-section.intro-lead .section-inner {
  max-width: 720px;
  margin: 0 auto;
}

/* Two-Column Intro Layout (Retatrutid in 60 Sekunden) */
.intro-lead-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 980px;
  margin: 0 auto;
}

.intro-lead-text {
  flex: 1;
  text-align: left;
}

.intro-lead-text h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}

.intro-lead-text h2 .text-green {
  color: var(--primary);
}

.intro-lead-text p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.intro-lead-text p strong {
  color: var(--primary);
  font-weight: 600;
}

.intro-lead-photos {
  flex-shrink: 0;
}

.intro-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 520px;
}

.intro-photo-item {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.intro-photo-item:last-child {
  margin-top: 40px;
}

.intro-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro-section + .intro-section {
  padding-top: var(--space-xl);
}

.intro-section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.intro-section .lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

/* Mechanism cards grid */
.mechanism-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg) var(--space-3xl);
}
.mechanism-card {
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--border, #E2E8E0);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mechanism-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md, 0 12px 32px rgba(26,26,26,0.10));
}
.mechanism-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--primary, #2A6B44);
}
.mechanism-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--text, #1A1A1A);
  margin-bottom: 8px;
}
.mechanism-card p {
  font-size: 0.9375rem;
  color: var(--text-muted, #5A5A5A);
  line-height: 1.6;
}

/* Studies / Big Numbers */
.studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg) var(--space-3xl);
}
.studies-card {
  text-align: center;
  padding: 24px;
}
.studies-card .big-number {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: var(--primary, #2A6B44);
  line-height: 1;
  margin-bottom: 8px;
}
.studies-card .unit {
  font-size: 1rem;
  color: var(--text-muted, #5A5A5A);
  margin-bottom: 8px;
}
.studies-card .label {
  font-size: 0.875rem;
  color: var(--text-faint, #757575);
}

/* CTA Button styles (primary pill) */
.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #FFFFFF;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 9999px;
  transition: background 0.2s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-primary-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* Inline CTA link */
.inline-cta {
  color: var(--primary, #2A6B44);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.inline-cta:hover {
  border-bottom-color: var(--primary, #2A6B44);
}
.inline-cta::after {
  content: ' →';
}

/* =============================================================
   EDU INTRO + MECHANISM JOURNEY (reta-result.html Pattern)
   ============================================================= */
.edu-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.edu-intro .section-headline {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.2;
  display: block;
}

.edu-intro .section-headline .text-green {
  color: var(--primary);
}

.edu-intro .section-subtitle {
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 640px;
  line-height: 1.6;
}

.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.edu-photos {
  display: flex;
  justify-content: center;
}

.edu-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 480px;
}

.edu-photo-item {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
}

.edu-photo-item:last-child {
  margin-top: 48px;
}

.edu-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mechanism-journey {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.mechanism-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mechanism-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,26,26,0.06);
}

.mechanism-step.dominant {
  border-left: 3px solid var(--gold);
  box-shadow: 0 8px 24px rgba(201,169,110,0.10);
}

.mechanism-step.dominant:hover {
  box-shadow: 0 12px 32px rgba(201,169,110,0.16);
}

.mechanism-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(42,107,68,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.mechanism-step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--primary);
  margin: 0 0 6px;
  line-height: 1.3;
}

.mechanism-step-desc {
  font-family: var(--font-main);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .edu-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .edu-photo-grid {
    max-width: 100%;
  }
  .mechanism-step {
    padding: 16px 20px;
  }
}

/* =============================================================
   STUDY META SECTION — Dark Green Number Cards (exakt reta-result.html)
   ============================================================= */
.study-meta-section {
  padding: 80px 0;
  margin-top: 64px;
  background: #1a3828;
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.study-meta-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 175, 128, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.study-meta-section .chart-headline {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  margin: 0 0 8px;
  text-align: center;
}

.study-meta-section .chart-headline .evergreen {
  color: var(--gold);
}

.study-meta-section .chart-sub {
  font-family: var(--font-main);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.68);
  text-align: center;
  margin: 0 0 40px;
}

/* Section content wrapper (reta-result pattern) */
.section-content {
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}

/* ---- Big Number Cards (matches index.html .card---numbers) ---- */
.study-numbers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.study-number-card {
  background-color: var(--bg);
  text-align: center;
  border-radius: 24px;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 28px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  min-width: 0;
}

.study-number-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);
}

.study-number-value {
  font-family: var(--font-main);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  white-space: nowrap;
}

.counter-num {
  font-variant-numeric: tabular-nums;
}

.study-number-unit {
  font-size: 42px;
  font-weight: 500;
  color: var(--primary);
  margin-left: 2px;
}

.study-number-label {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}

/* =============================================================
   COMPOUND COMPARISON — 3 Generationen (vereinfachtes reta-result Pattern)
   ============================================================= */
.compound-simple-section {
  padding: var(--space-4xl) var(--space-lg);
  background: var(--bg);
}

.compound-simple-section .section-content {
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}

.compound-headline {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text);
  line-height: 1.2;
  text-align: center;
  margin: 0 0 12px;
}

.compound-headline .evergreen {
  color: var(--gold);
}

.compound-sub {
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0 auto 40px;
  max-width: 640px;
}

.compound-simple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.compound-simple-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.compound-simple-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.gen-tag {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  background: var(--surface-hover);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.gen-tag.winner-tag {
  background: var(--gold-soft);
  color: var(--gold);
}

.compound-simple-card h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text);
  margin: 0 0 4px;
}

.compound-simple-card .brand {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin: 0 0 16px;
}

.efficacy {
  font-family: var(--font-main);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 12px;
}

.efficacy.winner-num {
  color: var(--primary);
}

.compound-simple-card .spec {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 20px;
}

.compound-simple-card.winner {
  border: 2px solid rgba(201,169,110,0.35);
  box-shadow: 0 0 40px rgba(201,169,110,0.20), 0 8px 24px rgba(26,26,26,0.08);
  position: relative;
  z-index: 1;
  overflow: visible;
}

.compound-simple-card.winner::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(201,169,110,0.14) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.compound-simple-card.winner:hover {
  box-shadow: 0 0 48px rgba(201,169,110,0.28), 0 20px 40px rgba(26,26,26,0.12);
  transform: translateY(-6px);
}

.compound-simple-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, transform 0.2s ease;
}

.compound-simple-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .compound-simple-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .compound-headline {
    font-size: 1.5rem;
  }
  .compound-simple-card {
    padding: 24px 20px;
  }
}

/* CTA Card (used in modules) */
.cta-card-module {
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--border, #E2E8E0);
  border-radius: 16px;
  padding: 28px;
  margin-top: 32px;
  text-align: center;
}
.cta-card-module h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--primary, #2A6B44);
  margin-bottom: 12px;
}
.cta-card-module p {
  color: var(--text-muted, #5A5A5A);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Pre-Footer 3-column block */
.pre-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
}
.pre-footer-card {
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--border, #E2E8E0);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pre-footer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md, 0 12px 32px rgba(26,26,26,0.10));
}
.pre-footer-card h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--text, #1A1A1A);
  margin-bottom: 12px;
}
.pre-footer-card p {
  font-size: 0.9375rem;
  color: var(--text-muted, #5A5A5A);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
  .mechanism-grid,
  .studies-grid,
  .pre-footer-grid {
    grid-template-columns: 1fr;
    padding: 0 16px 32px;
  }
  .intro-section {
    padding: 48px 16px;
  }
  .intro-section h2 {
    font-size: 1.75rem;
  }
  .intro-lead-inner {
    flex-direction: column-reverse;
    gap: 28px;
  }
  .intro-lead-text {
    text-align: center;
  }
  .intro-photo-grid {
    max-width: 440px;
    margin: 0 auto;
  }
  .intro-photo-item:last-child {
    margin-top: 32px;
  }
  .studies-card .big-number {
    font-size: 2.5rem;
  }
  .btn-primary-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }
  .study-numbers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 16px;
  }
  .study-number-card { padding: 24px 12px; }
}

@media (max-width: 640px) {
  .study-meta-section { padding: 48px 0; margin-top: 32px; }
  .study-meta-section .chart-headline { font-size: 1.4rem; }
  .study-meta-section .chart-sub { font-size: 0.8rem; margin-bottom: 24px; }
  .study-numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 12px;
  }
  .study-number-card { padding: 20px 10px; border-radius: 20px; }
  .study-number-value { font-size: 28px; }
  .study-number-unit { font-size: 28px; }
  .study-number-label { font-size: 13px; }
}

/* === HEADER PILL (Hub-aligned) === */
.main-nav-pill {
  position: fixed;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1100px;
  z-index: var(--z-nav);
  background: transparent;
  padding: 16px 24px;
  transition: top 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s ease,
              border-radius 0.35s ease,
              box-shadow 0.35s ease;
}
.main-nav-pill .navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.main-nav-pill .medvi-header-logo img {
  width: 130px;
  height: auto;
  display: block;
}
.main-nav-pill .header-ctas {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav-pill .nav-link {
  font-family: 'Sora', sans-serif;
  font-size: 0.875rem;
  color: var(--text, #1A1A1A);
  text-decoration: none;
  transition: color 0.2s ease;
}
.main-nav-pill .nav-link:hover {
  color: var(--primary, #2A6B44);
}
.main-nav-pill .community-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary, #2A6B44);
  color: #fff;
  border-radius: 9999px;
  padding: 10px 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.main-nav-pill .community-cta:hover {
  background: var(--primary-dark, #1E5434);
  transform: translateY(-1px);
}
/* Scrolled state (toggled via JS or CSS :has() if supported) */
.main-nav-pill.scrolled {
  top: 12px;
  max-width: 680px;
  background: rgba(255,255,255,0.70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 100px;
  box-shadow: 0 4px 24px rgba(26,26,26,0.10);
  padding: 10px 24px;
}

/* Mobile */
@media (max-width: 768px) {
  .main-nav-pill {
    top: 16px;
    padding: 12px 16px;
  }
  .main-nav-pill.scrolled {
    max-width: 90%;
    padding: 8px 16px;
  }
  .main-nav-pill .nav-link {
    display: none;
  }
  .main-nav-pill .community-cta {
    padding: 8px 14px;
    font-size: 0.75rem;
  }
}

/* =============================================================
   M1.1.7-REDESIGN v2: Calc Dashboard — Horizontal, Selects, Real Syringe
   ============================================================= */

.calc-input-panel,
.calc-result-panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.calc-input-panel:hover,
.calc-result-panel:hover {
  box-shadow: var(--shadow-lg);
}

/* Input Row: 3 selects in a row on desktop */
.calc-input-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.calc-input-group label {
  display: block;
  font-family: var(--font-main);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-xs);
}

.calc-input-hint {
  font-family: var(--font-main);
  font-size: 0.8125rem;
  color: var(--text-faint);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
  margin-top: 2px;
}

.calc-select-wrap {
  position: relative;
}

.calc-select-wrap::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--text-faint);
  pointer-events: none;
}

.calc-select-wrap select {
  width: 100%;
  padding: 14px 44px 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.calc-select-wrap select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(42,107,68,0.12);
}

/* Result Panel */
.calc-result-header {
  text-align: center;
  padding: var(--space-lg) 0 var(--space-xl);
}

.calc-result-label {
  display: block;
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.calc-hero-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 5rem);
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.calc-hero-unit {
  display: block;
  font-family: var(--font-main);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

.calc-result-sub {
  display: block;
  font-family: var(--font-main);
  font-size: 0.875rem;
  color: var(--text-faint);
  margin-top: var(--space-sm);
}

/* Syringe Visual */
.calc-syringe-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: var(--space-md);
}

.calc-syringe-real {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(26,26,26,0.08));
}

/* Presets */
.calc-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
}

.calc-presets-label {
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.calc-preset-btn {
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  font-family: var(--font-main);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.calc-preset-btn:hover {
  background: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* CTA Card */
.calc-cta-card {
  background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(241,236,223,0.4) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.calc-cta-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,107,68,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.calc-cta-content {
  position: relative;
  z-index: var(--z-elevated);
}

.calc-cta-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.calc-cta-content p {
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 900px) {
  .calc-input-row {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .calc-hero-number {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
  .calc-syringe-real {
    width: 180px;
  }
}

@media (max-width: 640px) {
  .calc-input-panel,
  .calc-result-panel {
    padding: var(--space-lg);
  }
  .calc-presets {
    flex-direction: column;
    align-items: flex-start;
  }
  .calc-preset-btn {
    width: 100%;
    text-align: left;
  }
  .calc-syringe-real {
    width: 150px;
  }
}

/* =============================================================
   TABLE STYLES (reta-result.html system-table inspired)
   ============================================================= */
.dose-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-main);
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.dose-table thead {
  background: var(--accent-soft);
}

.dose-table th {
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  border-bottom: 1px solid var(--border);
}

.dose-table td {
  padding: 14px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  transition: background 0.2s ease;
}

.dose-table tbody tr:hover td {
  background: rgba(42, 107, 68, 0.03);
}

.dose-table tbody tr:last-child td {
  border-bottom: none;
}

.dose-table tr.target-row td {
  background: var(--accent-soft);
  font-weight: 500;
}

.dose-table tbody tr.target-row:hover td {
  background: rgba(42, 107, 68, 0.06);
}

.dose-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
}

.dose-pill.dose-target {
  background: var(--gold);
  color: #fff;
}

.risk-low { color: var(--primary); font-weight: 600; }
.risk-mid { color: var(--warning); font-weight: 600; }
.risk-high { color: var(--danger); font-weight: 600; }

/* =============================================================
   QUICK FACTS — Retatrutid in 60 Sekunden v4 (2×2 Grid + Icon)
   ============================================================= */
.quick-facts-section {
  padding: var(--space-3xl) var(--space-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.quick-facts-section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text);
  text-align: center;
  margin-bottom: var(--space-sm);
}

.quick-facts-section .section-intro {
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
}

.quick-facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.quick-fact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 250ms cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.quick-fact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.fact-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.fact-badge {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 0;
  margin-bottom: 0;
}

.fact-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.quick-fact-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.fact-desc {
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.fact-desc strong {
  color: var(--primary);
  font-weight: 600;
}

.fact-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-decoration: none;
  transition: color 200ms ease;
}

.fact-cta:hover {
  color: var(--primary);
}

.fact-cta span {
  transition: transform 200ms ease;
}

.fact-cta:hover span {
  transform: translateX(3px);
}

/* Disclaimer Banner */
.disclaimer-banner {
  max-width: 900px;
  margin: var(--space-xl) auto 0;
  padding: 16px 24px;
  background: rgba(198, 93, 87, 0.05);
  border: 1px solid rgba(198, 93, 87, 0.15);
  border-radius: var(--radius-md);
  text-align: center;
}

.disclaimer-banner p {
  font-family: var(--font-main);
  font-size: 0.82rem;
  color: var(--text-faint);
  line-height: 1.6;
  margin: 0;
}

/* =============================================================
   KEY TAKEAWAYS
   ============================================================= */
.key-takeaways-section {
  padding: var(--space-3xl) var(--space-lg);
  background: var(--bg);
}

.key-takeaways-section h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--text);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.takeaways-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

.takeaway-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.takeaway-item:last-child {
  border-bottom: none;
}

.takeaway-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}

.takeaway-check::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--surface);
  border-bottom: 2px solid var(--surface);
  transform: rotate(45deg);
}

.takeaway-item p {
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.takeaway-item p strong {
  color: var(--text);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .quick-facts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }
  .quick-facts-section {
    padding: var(--space-2xl) var(--space-md);
  }
  .quick-facts-section h2 {
    font-size: 1.75rem;
  }
  .quick-fact-card {
    padding: 24px 20px;
  }
  .quick-fact-card h3 {
    font-size: 1.2rem;
  }
  .fact-desc {
    font-size: 0.85rem;
  }
  .disclaimer-banner {
    margin: var(--space-lg) 16px 0;
  }
  .key-takeaways-section {
    padding: var(--space-2xl) var(--space-md);
  }
  .key-takeaways-section h2 {
    font-size: 1.5rem;
  }
  .takeaway-item {
    padding: 16px 0;
  }
}

@media (max-width: 768px) {
  .dose-table { font-size: 0.8rem; }
  .dose-table th, .dose-table td { padding: 10px 12px; }
}

/* === UTILITY === */
.text-green { color: var(--primary, #2A6B44); }

/* === WIDTH-HARMONISIERUNG PROTOKOLL-PAGE === */

/* Override: quick-facts-section — kein Gradient-BG, volle Breite, linksbündig */
.quick-facts-section {
  max-width: 1100px;
  padding: var(--space-3xl) var(--space-lg);
  background: transparent;
}
.quick-facts-section h2 {
  text-align: left;
}
.quick-facts-section .section-intro {
  text-align: left;
}
.quick-facts-grid {
  max-width: none;
}

/* Tabellen-Container: Breiten via Klasse, nicht inline */
.protocol-table-wrapper {
  max-width: 100%;
  margin: 0 auto;
}
.protocol-table-wrapper--sm {
  max-width: 700px;
  margin: 0 auto;
}

/* Grid-Spalten-Varianten */
.protocol-grid--3col {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.protocol-grid--2col {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .protocol-grid--3col,
  .protocol-grid--2col { grid-template-columns: 1fr; }
}

/* Per-Dose-Cards: Konsistentes Padding */
.protocol-card--dose {
  margin-bottom: 24px;
  padding: 32px;
}
.protocol-card--dose-target {
  padding: 32px;
  border: 2px solid var(--gold);
}

/* Info/Detail-Card Varianten */
.protocol-card--info {
  padding: 24px 28px;
}
.protocol-card--gold-border {
  border-left: 4px solid var(--gold);
}
.protocol-card--danger-border {
  border-left: 4px solid var(--danger);
  opacity: 0.75;
}

/* Pre-footer-cta padding via Klasse */
.pre-footer-cta-section {
  padding: 64px 24px;
}

/* =============================================================
   ERNÄHRUNGS-PROTOKOLL REDESIGN
   ============================================================= */

.ernaehrung-header {
  margin-bottom: 40px;
}

.ernaehrung-proto-label {
  display: block;
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.ernaehrung-title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  white-space: normal;
}

.ernaehrung-subtitle {
  font-family: var(--font-main);
  font-size: 0.975rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.6;
  margin: 0;
}

/* "Warum passiert das?" + Einleitung + Good-News Block (KISS Audit #2) */
.ernaehrung-why-headline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  margin: 32px 0 0;
  line-height: 1.2;
}
.ernaehrung-why-intro { color: var(--text-muted); margin: 0 0 20px; }
.ernaehrung-good-news { color: var(--text-muted); margin: 20px 0 0; }

/* Edu-Intro zentrierter, schmalerer Section-Intro (KISS Audit #2) */
.section-intro.edu-intro-constrained { max-width: 600px; margin: 0 auto; }

.ernaehrung-main-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 40px;
}

.ernaehrung-left,
.ernaehrung-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Muskelschutz Card */
.muskelschutz-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}

.muskelschutz-top {
  position: relative;
  margin-bottom: 24px;
  min-height: 72px;
  overflow: hidden;
}

.muskelschutz-text {
  position: relative;
  z-index: 1;
  max-width: 62%;
}

.muskelschutz-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 0 8px;
  display: block;
}

.muskelschutz-desc {
  font-family: var(--font-main);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.muskelschutz-ghost {
  position: absolute;
  right: -10px;
  top: -22px;
  font-family: var(--font-display);
  font-size: 6.5rem;
  color: rgba(42, 107, 68, 0.07);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.03em;
  z-index: 0;
}

.muskelschutz-reasons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-auto-flow: column;
  gap: 12px 20px;
}

.muskelschutz-reason {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.reason-badge {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--primary);
  font-family: var(--font-main);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.muskelschutz-reason p {
  font-family: var(--font-main);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Metric Cards Row */
.ernaehrung-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.erna-metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.erna-metric--dark {
  background: var(--primary);
  border-color: transparent;
}

.erna-metric-label {
  font-family: var(--font-main);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.erna-metric--dark .erna-metric-label {
  color: rgba(255, 255, 255, 0.5);
}

.erna-metric-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text);
  line-height: 1.15;
}

.erna-metric--dark .erna-metric-value {
  color: #fff;
}

.erna-metric-desc {
  font-family: var(--font-main);
  font-size: 0.73rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.erna-metric--dark .erna-metric-desc {
  color: rgba(255, 255, 255, 0.6);
}

/* Mikronährstoffe Card */
.mikro-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 28px;
}

.mikro-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary);
  margin: 0 0 16px;
  display: block;
}

.mikro-rows {
  display: flex;
  flex-direction: column;
}

.mikro-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}

.mikro-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mikro-name {
  font-family: var(--font-main);
  font-size: 0.875rem;
  color: var(--text);
}

.mikro-tag-essential {
  font-family: var(--font-main);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #B45309;
}

.mikro-val {
  font-family: var(--font-main);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Alert Card */
.erna-alert-card {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 16px;
  padding: 20px 22px;
}

.erna-alert-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #B45309;
}

.erna-alert-header span {
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: 600;
  color: #B45309;
}

.erna-alert-card > p {
  font-family: var(--font-main);
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.55;
  margin: 0;
}

/* Injection Day Rule Card */
.erna-injection-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
}

.erna-injection-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.erna-injection-header span {
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.erna-injection-card > p {
  font-family: var(--font-main);
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.55;
  margin: 0;
}

/* Responsive */
@media (max-width: 540px) {
  .ernaehrung-metrics-row {
    grid-template-columns: 1fr;
  }
  .muskelschutz-reasons-grid {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
  }
  .muskelschutz-text {
    max-width: 65%;
  }
  .muskelschutz-ghost {
    font-size: 5rem;
    right: -6px;
  }
}

/* =============================================================
   TOC — FAQ-Card Style (inline nach Hero)
   ============================================================= */

.faq-accordion#tocFaq {
  max-width: 520px;
  margin: 0 auto 32px;
}

.toc-faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.toc-faq-list a {
  font-family: var(--font-main);
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 1px 0;
  transition: color var(--duration-fast) ease;
}

.toc-faq-list a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-right: 10px;
  vertical-align: middle;
}

.toc-faq-list a:hover,
.toc-faq-list a:focus {
  color: var(--primary);
}

.toc-faq-list a.active {
  color: var(--primary);
  font-weight: 600;
}

/* =============================================================
   INDIKATIONEN — Section Layout (war inline in indikationen.html)
   ============================================================= */
.indikationen-section { padding: 32px 24px; }
.indikationen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 960px;
}
.indikationen-col { display: flex; flex-direction: column; }
.indikation-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border, rgba(0,0,0,0.06));
}
.indikation-row:last-child { border-bottom: none; }
.indikation-content { line-height: 1.45; }
.indikation-label {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text, #1A1A1A);
  font-weight: 600;
  display: block;
}
.indikation-fact {
  font-size: 0.85rem;
  color: var(--text-muted, #5A5A5A);
}
@media (max-width: 720px) {
  .indikationen-section { padding: 24px 16px; }
  .indikationen-grid { grid-template-columns: 1fr; gap: 0; }
  .indikation-row { gap: 10px; padding: 9px 0; }
  .indikation-label { font-size: 0.92rem; }
  .indikation-fact { font-size: 0.8rem; }
}

/* =============================================================
   HERSTELLUNG & ANWENDUNG — Base (war inline in dosierung.html)
   ============================================================= */
.protocol-card--flush { padding: 0; overflow: hidden; }
.vstack { display: flex; flex-direction: column; }

.h-thead {
  display: grid;
  grid-template-columns: 28px 1fr 2fr;
  align-items: center;
  gap: 16px;
  padding: 10px 24px;
  background: rgba(42,107,68,0.05);
  border-bottom: 1px solid var(--border, rgba(0,0,0,0.08));
}
.h-thead .h-th-label,
.h-thead .h-th-val {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  font-family: var(--font-main);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.h-row {
  display: grid;
  grid-template-columns: 28px 1fr 2fr;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border, rgba(0,0,0,0.06));
  color: var(--primary);
}
.h-row:last-child { border-bottom: none; }
.h-row .h-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-main);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.h-row .h-val {
  font-size: 0.9rem;
  color: var(--text, #1A1A1A);
  font-family: var(--font-main);
}

/* Rekonstitutions-Visual — Base (war inline in dosierung.html) */
.rekons-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px 0 8px;
  padding: 32px 24px;
  background: var(--surface-subtle, rgba(42,107,68,0.04));
  border-radius: 12px;
}
.rekons-item { text-align: center; }
.rekons-sep {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-faint, #bbb);
  padding: 0 4px;
  margin-top: -16px;
}
.icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(42,107,68,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--primary);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-family: var(--font-main);
}

/* Anwendungs-Card + Guide-Cards — Base (war inline in dosierung.html) */
.h-anw-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
}
.icon-box--sm {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(42,107,68,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.icon-box--xs {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(42,107,68,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.protocol-card--link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: opacity 0.2s ease;
}
.protocol-card--link:hover { opacity: 0.8; }
.eyebrow {
  font-size: 0.72rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 3px;
  font-family: var(--font-main);
}
/* h4 size-modifier for h-anw-card (1.1rem statt 1rem, margin 0 0 4px statt 0 0 12px) */
.protocol-card h4.lg { font-size: 1.1rem; margin-bottom: 4px; }

/* h4 size-modifier for eskalation-cards (1.15rem statt 1rem, margin 10px statt 12px) */
.protocol-card h4.md { font-size: 1.15rem; margin-bottom: 10px; }

/* h4 size-modifier for 2mg/4mg-start comparison (1.5rem, display-font) */
.protocol-card h4.xl { font-size: 1.5rem; margin-bottom: 12px; font-family: var(--font-display); }
.protocol-card h4.xl.danger { color: var(--danger); }

/* h4 size-modifier for bluttest-plan cards (1.25rem) — Block 9 */
.protocol-card h4.lg-2 { font-size: 1.25rem; }

/* h5 inside .protocol-card dose-card sub-columns (Wirkmechanismus / Nebenwirkungen / Was du tun solltest) */
.protocol-card--dose h5,
.protocol-card--dose-target h5 {
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

/* per-dose card header (2 mg / 4 mg / ... / 12 mg) — flex row with dose + phase label */
.dose-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.dose-card-dose {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--primary);
  white-space: nowrap;
  line-height: 1;
}
.dose-card-dose.gold { color: var(--gold); }
.dose-card-phase {
  font-family: var(--font-main);
  font-size: 0.8rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* p.tight modifier: 0.9rem/1.6 (Default ist 0.95rem/1.7) — 19 Vorkommen in dosierung.html */
.protocol-card p.tight { font-size: 0.9rem; line-height: 1.6; }

/* big-number display-style stat inside .protocol-card (2mg/4mg-start comparison) */
.protocol-card .big-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--primary);
}
.protocol-card .big-number.danger { color: var(--danger); }

/* muted + faint notes inside .protocol-card (2mg/4mg-start labels) */
.protocol-card .muted-note { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.protocol-card .faint-note { color: var(--text-faint); font-size: 0.8rem; margin-top: 12px; }

/* "hero" protocol-card mit extra margin-bottom für Eskalation-Erklärung */
.protocol-card--hero { margin-bottom: 24px; }

/* =============================================================
   HERSTELLUNG & ANWENDUNG — Mobile Breakpoints (war inline in dosierung.html)
   ============================================================= */
@media (max-width: 640px) {
  .h-row { grid-template-columns: 24px 1fr !important; gap: 10px !important; padding: 11px 16px !important; }
  .h-row .h-val { display: none; }
  .h-row .h-label { font-size: 0.75rem !important; }
  .h-row-full { grid-template-columns: 1fr !important; padding: 11px 16px !important; }
  .h-row-full .h-icon { display: none; }
  .h-row-full .h-label { font-size: 0.72rem !important; }
  .h-row-full .h-val { font-size: 0.85rem !important; }
  .h-thead { grid-template-columns: 24px 1fr !important; padding: 9px 16px !important; }
  .h-thead .h-th-val { display: none; }
  .rekons-visual { flex-direction: column !important; gap: 4px !important; padding: 20px 16px !important; }
  .rekons-sep { margin-top: 0 !important; }
  .h-anw-card { flex-direction: column !important; text-align: center !important; gap: 12px !important; }
  .dose-table { font-size: 0.75rem !important; }
  .dose-table th, .dose-table td { padding: 8px 10px !important; }
}
@media (max-width: 480px) {
  .h-row { display: flex !important; flex-direction: column !important; align-items: flex-start !important; padding: 10px 14px !important; gap: 2px !important; }
  .h-row .h-icon { margin-bottom: 2px; }
  .h-row .h-val { display: block !important; font-size: 0.85rem !important; }
  .h-thead { display: none !important; }
  .rekons-visual .rekons-item { width: 100%; }
}
@media (max-width: 768px) {
  .dose-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .dose-table { min-width: 560px; }
}

/* =============================================================
   DAILY-HABITS-SEKTION (Protokoll)
   ============================================================= */
.daily-habits-header {
  text-align: center;
  margin-bottom: 40px;
}

.daily-habits-proto-label {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.daily-habits-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text);
  margin: 0 0 16px 0;
  line-height: 1.15;
}

.daily-habits-subtitle {
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

.daily-habits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 40px;
}

.daily-habits-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}

.daily-habits-col--do {
  border-left: 3px solid #2A6B44;
}

.daily-habits-col--dont {
  border-left: 3px solid #B33A3A;
}

.daily-habits-col-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.daily-habits-col--do .daily-habits-col-title {
  color: #2A6B44;
}

.daily-habits-col--dont .daily-habits-col-title {
  color: #B33A3A;
}

.habit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.habit-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.habit-bullet {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 2px;
}

.habit-item-do .habit-bullet {
  background: #2A6B44;
  color: #fff;
}

.habit-item-dont .habit-bullet {
  background: #B33A3A;
  color: #fff;
}

.habit-content strong {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
  line-height: 1.35;
}

.habit-content p {
  font-family: var(--font-main);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

.daily-habits-callout {
  background: var(--surface);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 18px 24px;
  margin: 32px 0;
  text-align: center;
}

.daily-habits-callout p {
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text);
  margin: 0;
}

.daily-habits-callout strong {
  color: var(--primary);
}

.daily-habits-pdf-link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.daily-habits-pdf-link:hover {
  color: var(--text);
}

@media (max-width: 768px) {
  .daily-habits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .daily-habits-col {
    padding: 22px;
  }
  .habit-bullet {
    width: 24px;
    height: 24px;
    font-size: 0.85rem;
  }
}

/* =============================================================
   QUELLEN-SEKTION (Protokoll)
   ============================================================= */
.sources-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 28px 0 24px 0;
}

.source-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 18px 22px;
}

.source-item p {
  font-family: var(--font-main);
  font-size: 0.92rem;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

.source-item p strong {
  color: var(--text);
  font-weight: 600;
}

.source-badge {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-right: 8px;
  padding: 2px 8px;
  background: rgba(201, 169, 110, 0.12);
  border-radius: 4px;
}

.sources-disclaimer {
  font-family: var(--font-main);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  line-height: 1.6;
}

/* =============================================================
   PRINT-CSS — Daily-Habits-PDF
   ============================================================= */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .daily-habits-header,
  .daily-habits-grid,
  .daily-habits-callout,
  .sources-list,
  .sources-disclaimer {
    page-break-inside: avoid;
  }
  .habit-bullet {
    border: 1.5px solid currentColor;
    background: transparent !important;
    color: #000 !important;
  }
  .habit-item-do .habit-bullet { color: #2A6B44 !important; }
  .habit-item-dont .habit-bullet { color: #B33A3A !important; }
  a { color: inherit !important; text-decoration: none !important; }
  .daily-habits-pdf-link::after { content: " (downloads/reta-daily-habits.html)"; font-size: 0.8em; color: #666; }
}

/* =============================================================
   HAUTPROBLEME-SEKTION (Protokoll)
   ============================================================= */
.hautprobleme-header {
  text-align: center;
  margin-bottom: 40px;
}
.hautprobleme-proto-label {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.hautprobleme-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text);
  margin: 0 0 16px 0;
  line-height: 1.15;
}
.hautprobleme-subtitle {
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}
.hautprobleme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
  margin-bottom: 36px;
}
.hautproblem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.hautproblem-badge {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  padding: 3px 10px;
  background: rgba(201, 169, 110, 0.12);
  border-radius: 4px;
}
.hautproblem-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
  margin: 0 0 14px 0;
}
.hautproblem-card p,
.hautproblem-card li {
  font-family: var(--font-main);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.hautproblem-card ul,
.hautproblem-card ol {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hautproblem-card strong { color: var(--text); }
.hautproblem-note {
  margin-top: 14px;
  font-style: italic;
  font-size: 0.82rem !important;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.hautproblem-action-list { list-style: decimal; }
.hautproblem-sources {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 18px 22px;
  margin-top: 24px;
}
.hautproblem-sources p,
.hautproblem-sources li {
  font-family: var(--font-main);
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.55;
}
.hautproblem-sources ul { padding-left: 18px; margin-top: 8px; }
.hautproblem-disclaimer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-style: italic;
}
@media (max-width: 900px) {
  .hautprobleme-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   FRAUEN-SCHWANGERSCHAFT-SEKTION (Protokoll)
   ============================================================= */
.frauen-header {
  text-align: center;
  margin-bottom: 36px;
}
.frauen-proto-label {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.frauen-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  color: var(--text);
  margin: 0 0 16px 0;
  line-height: 1.15;
}
.frauen-subtitle {
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}
.frauen-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 20px;
}
.frauen-block h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
  margin: 0 0 14px 0;
}
.frauen-block p,
.frauen-block li {
  font-family: var(--font-main);
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 10px 0;
}
.frauen-block ol,
.frauen-block ul { padding-left: 20px; }
.frauen-block strong { color: var(--text); }
.frauen-quellen-note {
  margin-top: 14px;
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
  font-style: italic;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.frauen-block--warning {
  border-left: 4px solid #B33A3A;
  background: rgba(179, 58, 58, 0.04);
}
.frauen-regeln { list-style: decimal; }
.frauen-regeln li { margin-bottom: 12px; }
.frauen-sources {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 18px 22px;
}
.frauen-sources p,
.frauen-sources li {
  font-family: var(--font-main);
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.55;
}
.frauen-sources ul { padding-left: 18px; margin-top: 8px; }
.frauen-disclaimer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-style: italic;
}

/* =============================================================
   STACK-TIMING-SEKTION (Protokoll)
   ============================================================= */
.stack-timing-header {
  text-align: center;
  margin-bottom: 32px;
}
.stack-timing-proto-label {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.stack-timing-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  color: var(--text);
  margin: 0 0 16px 0;
  line-height: 1.15;
}
.stack-timing-subtitle {
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}
.stack-timing-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
}
.stack-timing-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-main);
  font-size: 0.88rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.stack-timing-table thead {
  background: rgba(201, 169, 110, 0.08);
}
.stack-timing-table th,
.stack-timing-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.stack-timing-table th {
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
}
.stack-timing-table tbody tr:last-child td { border-bottom: none; }
.stack-timing-table tbody tr:hover { background: rgba(201, 169, 110, 0.04); }
.timing-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 12px;
  letter-spacing: 0.03em;
}
.timing-badge--erhaltung { background: rgba(42, 107, 68, 0.12); color: #2A6B44; }
.timing-badge--flexibel { background: rgba(201, 169, 110, 0.12); color: var(--primary); }
.timing-badge--optional { background: rgba(120, 120, 120, 0.12); color: #666; }
.stack-timing-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 16px 20px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 32px 0;
}
.stack-timing-note strong { color: var(--text); }
@media (max-width: 768px) {
  .stack-timing-table { min-width: 640px; font-size: 0.82rem; }
  .stack-timing-table th,
  .stack-timing-table td { padding: 10px 12px; }
}
