/* ============================================================
   VITALSTOFFMEDIZIN — Design-System «Relaunch 2026»
   Konzept: «Klinisch ruhig, natürlich warm»
   Basis: CI-Manual Juni 2025 (Gabarito; Sekundärfarben Taube/
   Salve/Sand in hellen Tönen; Logo-Grün nur als feiner Akzent)
   ============================================================ */

/* ---------- Fonts (self-hosted, variable 400–900) ---------- */
@font-face {
  font-family: 'Gabarito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/gabarito-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Gabarito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/gabarito-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0;
}

/* ============================================================
   1 · TOKENS
   ============================================================ */
:root {
  /* — Taube (CI #647a84) — Leitfarbe UI — */
  --taube-50:  #F2F5F6;
  --taube-100: #E4EAEC;
  --taube-150: #D7E0E3;
  --taube-200: #C8D3D8;
  --taube-300: #A9BAC1;
  --taube-400: #8AA0A9;
  --taube-500: #647A84;
  --taube-600: #536671;
  --taube-700: #43535C;
  --taube-800: #333F47;
  --taube-900: #232D33;

  /* — Salve (CI #67765f) — Natur, unterstützend — */
  --salve-50:  #F3F5F1;
  --salve-100: #E6EAE2;
  --salve-200: #CDD5C6;
  --salve-300: #ADBAA3;
  --salve-500: #67765F;
  --salve-600: #57654F;
  --salve-700: #454F3F;

  /* — Sand (CI #ab9580) — Wärme, Hintergründe — */
  --sand-50:  #F9F6F2;
  --sand-100: #F1EBE3;
  --sand-200: #E3D8CB;
  --sand-300: #CDBBA8;
  --sand-500: #AB9580;
  --sand-700: #6E5F51;

  /* — Logo-Grün (CI) — NUR Akzent: Logo, Checks, aktive Punkte — */
  --gruen-50:  #F2F7E8;
  --gruen-100: #E4EFD2;
  --gruen-400: #95BC3D;
  --gruen-500: #769B3F;
  --gruen-600: #5F7D33;

  /* — Warnton (Kontraindikation) — gedämpftes Terracotta — */
  --warn-50:  #F9EEEC;
  --warn-500: #A65D57;
  --warn-700: #82443F;

  /* — Flächen & Text — */
  --paper:   #FAF9F7;             /* Seitengrund, warm */
  --surface: #FFFFFF;             /* Karten */
  --line:    #E9E4DE;             /* warme Hairline */
  --ink:     #26313A;             /* Fliesstext */
  --muted:   #5C6B74;             /* Sekundärtext */

  /* — Semantik — */
  --c-primary:      var(--taube-800);
  --c-primary-hover:var(--taube-900);
  --c-link:         var(--taube-600);
  --c-focus:        var(--taube-500);

  /* — Typo-Skala (fluid) — */
  --ff: 'Gabarito', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --fs-display: clamp(2.375rem, 1.4rem + 3.4vw, 3.875rem);
  --fs-h1:      clamp(2rem, 1.35rem + 2.4vw, 3rem);
  --fs-h2:      clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-h3:      clamp(1.19rem, 1.1rem + .35vw, 1.375rem);
  --fs-lead:    clamp(1.13rem, 1.05rem + .4vw, 1.31rem);
  --fs-body:    1.0625rem;        /* 17px — Lesbarkeit 50+ */
  --fs-small:   .9375rem;
  --fs-tiny:    .8125rem;

  /* — Raster & Radien (8er-System) — */
  --sp-1: .5rem;  --sp-2: 1rem;   --sp-3: 1.5rem; --sp-4: 2rem;
  --sp-5: 2.5rem; --sp-6: 3rem;   --sp-8: 4rem;   --sp-10: 5rem;
  --r-s: 10px; --r-m: 16px; --r-l: 24px; --r-pill: 999px;

  --container: min(1200px, 92vw);
  --narrow: min(760px, 92vw);
  --header-h: 72px;

  --shadow-card: 0 14px 40px -18px rgba(35, 45, 51, .22);
  --shadow-pop:  0 24px 64px -24px rgba(35, 45, 51, .30);

  --ease: cubic-bezier(.22,.7,.35,1);
}

/* ============================================================
   2 · BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

/* hidden-Attribut gewinnt IMMER — auch gegen display-Regeln von Komponenten */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--ff);
  font-size: var(--fs-body);
  line-height: 1.68;
  letter-spacing: .011em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { font-weight: 650; line-height: 1.16; color: var(--taube-900); text-wrap: balance; letter-spacing: .002em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; }
h4 { font-size: 1.0625rem; }

p { text-wrap: pretty; }

a { color: var(--c-link); text-decoration-color: var(--taube-300); text-underline-offset: 3px; transition: color .15s; }
a:hover { color: var(--taube-800); }

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

::selection { background: var(--taube-150); }

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 300;
  background: var(--taube-900); color: #fff; padding: .6rem 1.2rem; border-radius: var(--r-pill);
}
.skip-link:focus { left: 12px; }

/* ============================================================
   3 · LAYOUT-PRIMITIVE
   ============================================================ */
.container { width: var(--container); margin-inline: auto; }
.narrow { width: var(--narrow); margin-inline: auto; }

.section { padding-block: clamp(3.5rem, 3rem + 4vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2.5vw, 4rem); }
.section--white { background: var(--surface); }
.section--sand  { background: var(--sand-50); }
.section--taube { background: var(--taube-50); }
.section--dark  { background: var(--taube-900); color: var(--taube-100); }
.section--dark h2, .section--dark h3 { color: #fff; }

/* Sektions-Kopf */
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: var(--sp-2); color: var(--muted); font-size: var(--fs-lead); line-height: 1.55; }
.section--dark .section-head p { color: var(--taube-200); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: var(--fs-tiny); font-weight: 650;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--salve-600); margin-bottom: var(--sp-2);
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gruen-400); }
.section--dark .eyebrow { color: var(--salve-300); }

.grid { display: grid; gap: var(--sp-3); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--taube-700); }

/* ============================================================
   4 · HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 95%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -22px rgba(35,45,51,.35); }

.header-inner {
  width: var(--container); margin-inline: auto; height: 100%;
  display: flex; align-items: center; gap: var(--sp-4);
}
.brand { flex-shrink: 0; display: flex; align-items: center; }
.brand img { height: 44px; width: auto; }

.main-nav { display: flex; gap: clamp(1rem, 2vw, 2rem); margin-left: auto; }
.main-nav a {
  font-weight: 550; font-size: 1rem; color: var(--taube-800);
  text-decoration: none; padding: .4rem 0; position: relative; white-space: nowrap;
}
.main-nav a::after {
  content: ''; position: absolute; inset-inline: 0; bottom: -2px; height: 2px;
  background: var(--gruen-500); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--taube-900); }

.header-actions { display: flex; align-items: center; gap: var(--sp-2); margin-left: var(--sp-2); }

.search-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); font: inherit; font-size: var(--fs-small);
  padding: .5rem .9rem; border-radius: var(--r-pill); cursor: pointer;
  transition: border-color .15s, color .15s;
}
.search-btn:hover { border-color: var(--taube-300); color: var(--taube-800); }
.search-btn kbd {
  font: 650 .6875rem var(--ff); background: var(--taube-50);
  border: 1px solid var(--taube-150); border-radius: 5px; padding: .1rem .35rem; color: var(--taube-500);
}

.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer; border-radius: var(--r-s);
}
.burger span { height: 2px; background: var(--taube-800); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
    flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: var(--sp-2) 6vw var(--sp-4);
    box-shadow: var(--shadow-pop);
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .25s var(--ease), opacity .2s, visibility 0s .25s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .main-nav a { padding: .9rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a::after { display: none; }
  .burger { display: flex; }
  .search-btn .search-hint, .search-btn kbd { display: none; }
  .search-btn { padding: .55rem; border: 0; background: none; }
}

/* Web-Doktor-CTA im Header — mit Logo-Grün-Punkt als Marken-Anker */
.btn-doktor {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--taube-800); color: #fff !important;
  font-weight: 600; font-size: var(--fs-small); text-decoration: none;
  padding: .62rem 1.25rem; border-radius: var(--r-pill);
  transition: background .15s, transform .15s;
  white-space: nowrap;
}
.btn-doktor:hover { background: var(--taube-900); transform: translateY(-1px); }
.btn-doktor::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gruen-400); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gruen-400) 30%, transparent); }
@media (max-width: 560px) { .header-actions .btn-doktor { display: none; } }

/* ============================================================
   5 · BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font: 600 1rem var(--ff); letter-spacing: .01em; text-decoration: none;
  padding: .85rem 1.75rem; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-hover); box-shadow: 0 10px 24px -12px rgba(35,45,51,.5); color:#fff; }
.btn--secondary { background: var(--surface); border-color: var(--taube-200); color: var(--taube-800); }
.btn--secondary:hover { border-color: var(--taube-400); color: var(--taube-900); }
.btn--ghost { background: transparent; color: var(--taube-700); padding-inline: .5rem; }
.btn--ghost:hover { color: var(--taube-900); }
.btn--light { background: #fff; color: var(--taube-900); }
.btn--light:hover { background: var(--taube-50); }
.btn--lg { padding: 1.05rem 2.2rem; font-size: 1.0625rem; }
.btn--sm { padding: .5rem 1.1rem; font-size: var(--fs-small); }
.btn .arr { transition: transform .18s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ============================================================
   6 · BADGES, CHIPS & META
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: var(--fs-tiny); font-weight: 650; letter-spacing: .02em;
  padding: .28rem .75rem; border-radius: var(--r-pill);
  background: var(--taube-100); color: var(--taube-700);
}
.badge--salve { background: var(--salve-100); color: var(--salve-700); }
.badge--sand  { background: var(--sand-100);  color: var(--sand-700); }
.badge--gruen { background: var(--gruen-50);  color: var(--gruen-600); }
.badge--warn  { background: var(--warn-50);   color: var(--warn-700); }
.badge--outline { background: transparent; border: 1px solid var(--taube-200); }

/* Filter-Chips (Übersichten, Web-Doktor) */
.chip {
  display: inline-flex; align-items: center; gap: .45em;
  font: 550 var(--fs-small) var(--ff);
  padding: .5rem 1.05rem; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line); color: var(--taube-700);
  cursor: pointer; transition: all .15s; text-decoration: none; user-select: none;
}
.chip:hover { border-color: var(--taube-300); }
.chip.is-active, .chip[aria-pressed="true"] {
  background: var(--taube-800); border-color: var(--taube-800); color: #fff;
}
.chip .count { font-size: .75em; opacity: .65; font-weight: 650; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .8rem; font-size: var(--fs-small); color: var(--muted); }
.meta .dot::before { content: '·'; margin-right: .8rem; color: var(--taube-300); }

/* ============================================================
   7 · KARTEN-SYSTEM
   ============================================================ */
.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-l); overflow: hidden;
  text-decoration: none; color: inherit; position: relative;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--taube-200); }
.card:hover .card-title { color: var(--taube-600); }

.card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--taube-50); }
.card--video .card-media { aspect-ratio: 16 / 9; } /* YouTube-Thumbs mit eingebranntem Text nie beschneiden */
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.035); }

.card-body { display: flex; flex-direction: column; gap: .65rem; padding: var(--sp-3); flex: 1; }
.card-title { font-size: var(--fs-h3); transition: color .18s; }
.card-text { color: var(--muted); font-size: var(--fs-small); line-height: 1.6; }
.card-footer { margin-top: auto; padding-top: .8rem; }
.card .badge { align-self: flex-start; }

/* Karten-Link ganze Fläche */
.card-link::after { content: ''; position: absolute; inset: 0; }

/* Kompakte Listen-Karte (Suche, verwandte Inhalte) */
.row-card {
  display: flex; gap: var(--sp-2); align-items: center;
  padding: var(--sp-2); border-radius: var(--r-m);
  background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: border-color .15s, background .15s;
}
.row-card:hover { border-color: var(--taube-300); background: var(--taube-50); }
.row-card img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-s); flex-shrink: 0; }

/* Personen-Karte */
.person-card { text-align: center; padding: var(--sp-4) var(--sp-3); }
.person-card img {
  width: 128px; height: 128px; border-radius: 50%; object-fit: cover;
  margin: 0 auto var(--sp-2); border: 4px solid var(--sand-100);
}
.person-card .role { color: var(--muted); font-size: var(--fs-small); }

/* ============================================================
   8 · HERO-VARIANTEN
   ============================================================ */
/* Start-Hero: typografisch geführt */
.hero {
  padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(3.5rem, 3rem + 4vw, 6rem);
  overflow: clip;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { font-size: var(--fs-display); font-weight: 700; line-height: 1.05; letter-spacing: -.012em; }
.hero h1 em { font-style: normal; color: var(--salve-500); }
.hero .lead { margin-top: var(--sp-3); max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }

.hero-figure { position: relative; }
.hero-figure img {
  width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover;
  border-radius: var(--r-l);
}
@media (max-width: 900px) { .hero-figure img { aspect-ratio: 16 / 10; } }

/* schwebende Info-Karte auf dem Hero-Bild (als <a> = klickbarer CTA) */
.hero-float {
  position: absolute; left: -1.5rem; bottom: 1.75rem;
  background: var(--surface); border-radius: var(--r-m);
  box-shadow: var(--shadow-pop); border: 1px solid var(--line);
  padding: 1rem 1.3rem; display: flex; gap: .9rem; align-items: center; max-width: 320px;
  text-decoration: none; color: inherit;
}
a.hero-float { transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
a.hero-float:hover { transform: translateY(-3px); border-color: var(--taube-200); box-shadow: 0 28px 70px -24px rgba(35,45,51,.4); }
.hero-float .go { color: var(--taube-300); flex-shrink: 0; margin-left: .1rem; transition: transform .18s var(--ease), color .15s; }
a.hero-float:hover .go { transform: translateX(3px); color: var(--taube-800); }

/* Mini-App-Teaser des Web-Doktors auf dem Hero-Bild */
.hero-app {
  position: absolute; left: -1.5rem; bottom: 1.75rem;
  width: min(320px, calc(100% - 2rem));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m);
  box-shadow: var(--shadow-pop);
  padding: 1rem 1.1rem; display: grid; gap: .6rem;
  text-decoration: none; color: inherit;
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.hero-app:hover { transform: translateY(-3px); border-color: var(--taube-200); box-shadow: 0 28px 70px -24px rgba(35,45,51,.4); }
/* Mobile: im Dokumentfluss, ragt leicht ins Bild — nie über Inhalte darüber.
   position:relative statt static, damit die Karte ÜBER dem Bild malt (Paint-Order). */
@media (max-width: 900px) {
  .hero-app { position: relative; inset: auto; width: auto; margin: -3.25rem .9rem 0; }
}
.ha-head { display: flex; align-items: center; gap: .55rem; font-size: var(--fs-small); }
.ha-head strong { color: var(--taube-900); }
.ha-head .badge { margin-left: auto; }
.ha-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gruen-400);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gruen-400) 30%, transparent);
}
.ha-input {
  display: flex; align-items: center; gap: .55rem;
  border: 1px solid var(--taube-200); border-radius: var(--r-s);
  padding: .55rem .8rem; font-size: var(--fs-small); color: var(--taube-900);
}
.ha-input svg { color: var(--taube-300); flex-shrink: 0; }
.ha-caret {
  display: inline-block; width: 1.5px; height: 1.05em;
  background: var(--taube-800); margin-left: 2px; vertical-align: text-bottom;
  animation: haBlink 1.1s steps(1) infinite;
}
@keyframes haBlink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ha-caret { animation: none; } }
.ha-hit {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  background: var(--taube-50); border-radius: var(--r-s);
  padding: .5rem .8rem; font-size: var(--fs-small);
}
.ha-hit .t { font-weight: 600; color: var(--taube-900); }
.ha-hit .t mark { background: var(--gruen-100); color: inherit; border-radius: 3px; padding-inline: 1px; }
.ha-hit .via { font-size: var(--fs-tiny); color: var(--muted); white-space: nowrap; }
.ha-cta {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  background: var(--taube-800); color: #fff; border-radius: var(--r-pill);
  font-size: var(--fs-small); font-weight: 600; padding: .55rem 1rem;
  transition: background .15s;
}
.hero-app:hover .ha-cta { background: var(--taube-900); }
.hero-app:hover .ha-cta svg { transform: translateX(3px); }
.ha-cta svg { transition: transform .18s var(--ease); }
@media (max-width: 900px) { .hero-float { left: 1rem; bottom: 1rem; } }
.hero-float .ic {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%;
  background: var(--gruen-50); display: grid; place-items: center; color: var(--gruen-600);
}
.hero-float strong { display: block; font-size: var(--fs-small); color: var(--taube-900); }
.hero-float span { font-size: var(--fs-tiny); color: var(--muted); }

/* Seiten-Hero (Unterseiten) */
.page-hero { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(2rem, 1.5rem + 2vw, 3rem); }
.page-hero h1 { max-width: 22ch; }
.page-hero .lead { margin-top: var(--sp-2); max-width: 44rem; }

/* Claim-Band «100% natürlich · wissenschaftlich geprüft · esoterikfrei» */
.claim-band {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5);
  padding: var(--sp-3) 0; border-block: 1px solid var(--line);
  justify-content: center; text-align: center;
}
.claim-band .claim { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--taube-800); }
.claim-band .claim svg { color: var(--gruen-500); flex-shrink: 0; }

/* ============================================================
   9 · FACH-MODULE (die Differenzierer)
   ============================================================ */
/* Steckbrief «Auf einen Blick» */
.steckbrief {
  background: var(--taube-50); border: 1px solid var(--taube-100);
  border-radius: var(--r-l); padding: var(--sp-4);
}
.steckbrief h2, .steckbrief h3 { font-size: 1.0625rem; letter-spacing: .05em; text-transform: uppercase; color: var(--taube-600); margin-bottom: var(--sp-3); display:flex; align-items:center; gap:.6rem; }
.steckbrief h2::before, .steckbrief h3::before { content:''; width:8px; height:8px; border-radius:50%; background: var(--gruen-400); }
.steckbrief dl { display: grid; gap: var(--sp-2); }
.steckbrief .sb-row { display: grid; grid-template-columns: 140px 1fr; gap: var(--sp-2); align-items: baseline; }
@media (max-width: 560px) { .steckbrief .sb-row { grid-template-columns: 1fr; gap: .15rem; } }
.steckbrief dt { font-size: var(--fs-tiny); font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.steckbrief dd { font-weight: 500; color: var(--taube-900); }

/* Info- / Warn- / Tipp-Boxen */
.box {
  border-radius: var(--r-m); padding: var(--sp-3);
  display: flex; gap: var(--sp-2); align-items: flex-start;
  font-size: var(--fs-small); line-height: 1.6;
}
.box svg { flex-shrink: 0; margin-top: .1rem; }
.box strong { display: block; margin-bottom: .2rem; font-size: 1rem; }
.box--info { background: var(--taube-50); color: var(--taube-800); }
.box--info svg { color: var(--taube-500); }
.box--tipp { background: var(--salve-50); color: var(--salve-700); }
.box--tipp svg { color: var(--salve-500); }
.box--warn { background: var(--warn-50); color: var(--warn-700); }
.box--warn svg { color: var(--warn-500); }

/* Dosierungs-Tabelle */
.dose-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.dose-table caption { caption-side: top; text-align: left; font-weight: 650; color: var(--taube-900); font-size: 1rem; padding-bottom: var(--sp-2); }
.dose-table th {
  text-align: left; font-size: var(--fs-tiny); font-weight: 650;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  padding: .6rem .9rem; border-bottom: 2px solid var(--taube-150);
}
.dose-table td { padding: .85rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.dose-table tr:last-child td { border-bottom: 0; }
.dose-table td:first-child { font-weight: 600; color: var(--taube-900); }
.dose-table .dose { white-space: nowrap; font-weight: 600; color: var(--salve-600); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); padding-inline: .25rem; }

/* Studien-Liste */
.study-list { list-style: none; padding: 0; display: grid; gap: var(--sp-2); counter-reset: study; }
.study-list li {
  counter-increment: study;
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-m);
  font-size: var(--fs-small);
}
.study-list li::before {
  content: counter(study, decimal-leading-zero);
  font-weight: 700; color: var(--taube-300); font-size: 1rem;
}
.study-list cite { font-style: normal; color: var(--muted); }
.study-list a { font-weight: 600; }

/* Synergien / «passt zu» */
.syn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
@media (max-width: 720px) { .syn-grid { grid-template-columns: 1fr; } }
.syn-col { border-radius: var(--r-m); padding: var(--sp-3); }
.syn-col--plus { background: var(--salve-50); }
.syn-col--minus { background: var(--warn-50); }
.syn-col h4 { display: flex; align-items: center; gap: .5rem; margin-bottom: var(--sp-2); }
.syn-col ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }

/* Rating-Symbole (Matrix, +→++++, X) */
.rate { font-weight: 700; letter-spacing: .06em; color: var(--salve-600); white-space: nowrap; }
.rate--x { color: var(--warn-500); }

/* Sticky-TOC */
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: var(--fs-small); }
.toc h2 { font-size: var(--fs-tiny); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--sp-2); }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--taube-100); }
.toc a {
  display: block; padding: .42rem 0 .42rem 1rem; color: var(--muted); text-decoration: none;
  border-left: 2px solid transparent; margin-left: -2px; line-height: 1.4;
}
.toc a:hover { color: var(--taube-800); }
.toc a.is-active { color: var(--taube-900); font-weight: 600; border-left-color: var(--gruen-500); }

/* Artikel-Layout mit TOC */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 248px; gap: clamp(2rem, 5vw, 5rem); }
@media (max-width: 980px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .article-layout .toc { display: none; } }

/* Prose (Fliesstext) */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: .45em; }
.prose figure { margin-block: 1.8em; }
.prose figcaption { font-size: var(--fs-tiny); color: var(--muted); margin-top: .6rem; }
.prose img { border-radius: var(--r-m); }
.prose blockquote {
  border-left: 3px solid var(--salve-300); padding: .4rem 0 .4rem 1.4rem;
  color: var(--taube-700); font-size: var(--fs-lead); line-height: 1.5;
}
.prose blockquote cite { display: block; margin-top: .6rem; font-style: normal; font-size: var(--fs-small); color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.2em; }

/* Autor-Box */
.author-box {
  display: flex; gap: var(--sp-3); align-items: center;
  background: var(--sand-50); border: 1px solid var(--sand-100);
  border-radius: var(--r-l); padding: var(--sp-3) var(--sp-4);
}
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box .verified { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--fs-tiny); font-weight: 650; color: var(--gruen-600); }
.author-box p { font-size: var(--fs-small); color: var(--muted); }

/* FAQ / Accordion */
.faq { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); overflow: hidden; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3); font-weight: 600; color: var(--taube-900);
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 1.5rem; font-weight: 400; color: var(--taube-400);
  transition: transform .2s var(--ease); line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 var(--sp-3) var(--sp-3); color: var(--muted); font-size: var(--fs-small); max-width: 65ch; }

/* Breadcrumb */
.breadcrumb { font-size: var(--fs-tiny); color: var(--muted); display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding-top: var(--sp-3); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--taube-800); }
.breadcrumb svg { opacity: .5; }

/* Stat-Band */
.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); text-align: center; }
@media (max-width: 720px) { .stat-band { grid-template-columns: 1fr; gap: var(--sp-3); } }
.stat-band .num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; color: var(--taube-800); line-height: 1; }
.stat-band .num em { font-style: normal; color: var(--gruen-500); }
.stat-band .lbl { margin-top: .5rem; color: var(--muted); font-size: var(--fs-small); }

/* Testimonial */
.quote-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2);
}
.quote-card .stars { color: var(--gruen-500); letter-spacing: .1em; font-size: var(--fs-small); }
.quote-card blockquote { font-size: 1.0625rem; line-height: 1.6; color: var(--taube-800); }
.quote-card cite { font-style: normal; font-size: var(--fs-small); color: var(--muted); margin-top: auto; }

/* ============================================================
   10 · FORMULARE & CONVERSION
   ============================================================ */
.input, select.input, textarea.input {
  font: inherit; color: var(--ink);
  width: 100%; padding: .85rem 1.1rem;
  background: var(--surface); border: 1px solid var(--taube-200);
  border-radius: var(--r-s); transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--taube-500); box-shadow: 0 0 0 3px var(--taube-100); }
.input::placeholder { color: var(--taube-300); }
label.field-label { display: block; font-size: var(--fs-small); font-weight: 600; color: var(--taube-800); margin-bottom: .4rem; }
.field-hint { font-size: var(--fs-tiny); color: var(--muted); margin-top: .35rem; }

/* Newsletter- / Lead-Block */
.lead-block {
  background: var(--taube-900); color: var(--taube-100);
  border-radius: var(--r-l); padding: clamp(2rem, 4vw, 3.5rem);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--sp-4); align-items: center;
}
@media (max-width: 800px) { .lead-block { grid-template-columns: 1fr; } }
.lead-block h2, .lead-block h3 { color: #fff; }
.lead-block p { color: var(--taube-200); font-size: var(--fs-small); margin-top: .6rem; }
.lead-form { display: flex; gap: .6rem; }
@media (max-width: 480px) { .lead-form { flex-direction: column; } }
.lead-form .input { border-color: var(--taube-700); background: var(--taube-800); color: #fff; }
.lead-form .input::placeholder { color: var(--taube-400); }
.lead-form .input:focus { border-color: var(--taube-400); box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
.lead-block .privacy { font-size: var(--fs-tiny); color: var(--taube-400); margin-top: .8rem; }

/* Gate-Block (Therapie-Schema) mit Blur-Vorschau */
.gate { position: relative; border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); }
.gate img.gate-preview { width: 100%; filter: blur(7px) saturate(.9); transform: scale(1.04); }
.gate .gate-overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(250,249,247,.35), rgba(250,249,247,.92) 70%);
  padding: var(--sp-3);
}
.gate-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l);
  box-shadow: var(--shadow-pop); padding: var(--sp-4); max-width: 460px; width: 100%; text-align: center;
}

/* Anzeige-/Partner-Slot: redaktionell klar getrennt */
.ad-slot {
  border: 1px dashed var(--sand-300); border-radius: var(--r-m);
  padding: var(--sp-3); background: var(--sand-50); position: relative;
}
.ad-slot::before {
  content: 'Anzeige · Partner'; position: absolute; top: -0.6rem; left: 1rem;
  font-size: .6875rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sand-700); background: var(--sand-50); padding-inline: .5rem;
}

/* ============================================================
   11 · SUCH-OVERLAY (Command-Palette)
   ============================================================ */
.search-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(35, 45, 51, .45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: none; align-items: flex-start; justify-content: center;
  padding: min(12vh, 120px) 4vw 4vh;
}
.search-overlay.is-open { display: flex; }
.search-panel {
  width: min(680px, 100%); max-height: 100%;
  background: var(--surface); border-radius: var(--r-l);
  box-shadow: var(--shadow-pop); overflow: hidden;
  display: flex; flex-direction: column;
  animation: panelIn .22s var(--ease);
}
@keyframes panelIn { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.search-input-row { display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); }
.search-input-row svg { color: var(--taube-400); flex-shrink: 0; }
.search-input-row input {
  flex: 1; border: 0; outline: none; font: 500 1.15rem var(--ff); color: var(--ink); background: none; min-width: 0;
}
.search-input-row input::placeholder { color: var(--taube-300); }
.search-input-row .esc { font: 650 .6875rem var(--ff); color: var(--taube-400); border: 1px solid var(--line); padding: .2rem .5rem; border-radius: 5px; cursor: pointer; background: none; }
.search-input-row .esc-x { display: none; font-size: .9375rem; line-height: 1; }
@media (max-width: 620px) {
  .search-input-row .esc-txt { display: none; }
  .search-input-row .esc-x { display: inline; }
  .search-input-row .esc { border: 0; padding: .3rem .45rem; }
}
.search-results { overflow-y: auto; padding: .6rem; scroll-padding-block: .6rem; }
.search-group-label { font-size: var(--fs-tiny); font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: .8rem .8rem .4rem; }
.search-hit {
  display: flex; align-items: center; gap: .9rem; padding: .7rem .8rem;
  border-radius: var(--r-s); text-decoration: none; color: inherit;
}
.search-hit:hover, .search-hit.is-selected { background: var(--taube-50); }
.search-hit .badge { flex-shrink: 0; }
.search-hit .t { font-weight: 600; color: var(--taube-900); }
.search-hit .t mark { background: var(--gruen-100); color: inherit; border-radius: 3px; padding-inline: 1px; }
.search-hit .d { font-size: var(--fs-tiny); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.search-empty { padding: var(--sp-4); text-align: center; color: var(--muted); font-size: var(--fs-small); }
.search-empty .sugg { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: var(--sp-2); }

/* ============================================================
   12 · FOOTER
   ============================================================ */
.site-footer { background: var(--taube-900); color: var(--taube-200); }
.footer-main {
  width: var(--container); margin-inline: auto;
  padding: clamp(3rem, 5vw, 5rem) 0 var(--sp-4);
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: var(--sp-5);
}
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }
.footer-brand img { height: 40px; filter: brightness(0) invert(1); opacity: .92; }
.footer-claim { margin-top: var(--sp-2); font-size: var(--fs-lead); font-weight: 550; color: #fff; line-height: 1.4; max-width: 20ch; }
.footer-brand p { margin-top: var(--sp-2); font-size: var(--fs-small); color: var(--taube-400); }
.site-footer h4, .site-footer .footer-h { color: #fff; font-size: var(--fs-tiny); letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--sp-2); font-weight: 650; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; font-size: var(--fs-small); }
.site-footer a { color: var(--taube-200); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bar {
  border-top: 1px solid var(--taube-800);
}
.footer-bar-inner {
  width: var(--container); margin-inline: auto; padding-block: var(--sp-3);
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4);
  justify-content: space-between; align-items: center;
  font-size: var(--fs-tiny); color: var(--taube-400);
}
.footer-bar a { color: var(--taube-400); }

/* ============================================================
   13 · UTILITIES & ANIMATION
   ============================================================ */
.mt-1 { margin-top: var(--sp-1); } .mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); } .mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); } .mt-8 { margin-top: var(--sp-8); }
.center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* Prototyp-Hinweisleiste (nur Preview) */
.proto-note {
  background: var(--taube-800); color: var(--taube-200);
  font-size: var(--fs-tiny); text-align: center; padding: .45rem 1rem;
}
.proto-note a { color: #fff; font-weight: 600; }
