/* ──────────────────────────────────────────────────────────────────────
   mr-dog — base styles
   Warm natural palette • Newsreader serif display • DM Sans body
   ────────────────────────────────────────────────────────────────────── */

:root {
  /* mr-dog.de brand palette (default) — matches the live logo */
  --bg:          #F7F1E2;
  --bg-deep:    #EEE5CD;
  --paper:       #FCF8EC;
  --ink:         #1B2218;
  --ink-soft:    #3F4A3A;
  --muted:       #7C8775;
  --line:        rgba(27, 34, 24, 0.10);
  --line-strong: rgba(27, 34, 24, 0.18);

  --primary:     #3D5A3A;   /* logo green */
  --primary-ink: #2B4128;
  --accent:      #B98742;   /* warm honey/clay — softer than terracotta */
  --accent-soft: #E2C892;
  --sage:        #8FA68E;
  --gold:        #B89148;

  --success: #2F6B4A;
  --error:   #B83A2E;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(26,22,17,.06), 0 1px 1px rgba(26,22,17,.04);
  --shadow:    0 8px 24px -8px rgba(26,22,17,.18), 0 2px 6px rgba(26,22,17,.06);
  --shadow-lg: 0 24px 64px -16px rgba(26,22,17,.28), 0 6px 16px rgba(26,22,17,.10);

  --serif: "Newsreader", "Iowan Old Style", "Hoefler Text", Georgia, serif;
  --sans:  "DM Sans", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* Palette: brand (matches the mr-dog.de logo — default) */
[data-palette="brand"] {
  --bg:      #F7F1E2;
  --bg-deep: #EEE5CD;
  --paper:   #FCF8EC;
  --primary: #3D5A3A;
  --primary-ink: #2B4128;
  --accent:  #B98742;
  --accent-soft: #E2C892;
}

/* Palette: forest (deeper green variant) */
[data-palette="forest"] {
  --bg:      #F4EFE3;
  --bg-deep: #ECE5D2;
  --paper:   #FAF7EE;
  --primary: #1F3D2E;
  --primary-ink: #0F2419;
  --accent:  #C9603F;
  --accent-soft: #E8B89E;
}

/* Palette: sand (lighter, warmer) */
[data-palette="sand"] {
  --bg:      #F8F2E2;
  --bg-deep: #EFE5CB;
  --paper:   #FFFBF1;
  --primary: #5A3A1F;
  --primary-ink: #3C2614;
  --accent:  #B8742B;
  --accent-soft: #E5C58E;
  --sage:    #B1A579;
}

/* Palette: clinic (cool, medical) */
[data-palette="clinic"] {
  --bg:      #EEF1F2;
  --bg-deep: #DDE3E6;
  --paper:   #FBFCFC;
  --ink:     #11171B;
  --ink-soft:#39434A;
  --muted:   #7B8590;
  --primary: #16365A;
  --primary-ink: #0A1F37;
  --accent:  #C4623C;
  --sage:    #8AA8B5;
}

/* Palette: charcoal (premium dark accent) */
[data-palette="charcoal"] {
  --bg:      #ECE6D6;
  --bg-deep: #DAD3BE;
  --paper:   #F6F2E6;
  --primary: #1A1611;
  --primary-ink: #000;
  --accent:  #B89148;
  --sage:    #6B7A6E;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Typography utilities */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}
.italic { font-style: italic; }
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
}

/* Layout */
.shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.shell--narrow { max-width: 960px; }
.shell--wide { max-width: 1480px; }

/* Header */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.hdr-row {
  display: flex; align-items: center; gap: 28px;
  height: 104px;
}
.hdr-nav { display: flex; align-items: center; gap: 26px; margin-left: 16px; }
.hdr-nav a {
  position: relative;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  padding-bottom: 3px;
  transition: color 0.18s ease;
}
.hdr-nav a + a::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 38%, transparent);
  transform: translateY(-50%);
}
.hdr-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.hdr-nav a:hover { color: var(--ink); }
.hdr-nav a:hover::after { transform: scaleX(1); }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }

/* Pill announcement bar above header */
.notice {
  background: var(--primary);
  color: var(--paper);
  font-size: 12.5px;
  letter-spacing: 0.005em;
  text-align: center;
  padding: 9px 16px;
  font-weight: 500;
}
.notice .accent { color: var(--accent-soft); }
.notice strong { font-weight: 600; }

/* Buttons */
.btn {
  appearance: none; border: 0; cursor: default;
  font: 500 14px/1 var(--sans);
  letter-spacing: -0.005em;
  padding: 12px 18px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: var(--paper); }
.btn--primary:hover { background: var(--primary-ink); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn--ghost:hover { background: rgba(0,0,0,.04); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: color-mix(in srgb, var(--accent) 88%, black); }
.btn--lg { padding: 16px 24px; font-size: 15px; }
.btn--sm { padding: 8px 12px; font-size: 13px; }
.btn--icon { padding: 8px; width: 38px; height: 38px; justify-content: center; border-radius: 999px; background: transparent; color: var(--ink-soft); }
.btn--icon:hover { background: rgba(0,0,0,.05); color: var(--ink); }

.btn--full { width: 100%; justify-content: center; }

/* Chips */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-deep);
  color: var(--ink-soft);
  font-size: 12px; font-weight: 500;
  border: 1px solid var(--line);
}
.chip--accent {
  background: color-mix(in srgb, var(--accent) 14%, var(--paper));
  color: color-mix(in srgb, var(--accent) 65%, var(--ink));
  border-color: color-mix(in srgb, var(--accent) 26%, transparent);
}
.chip--sage {
  background: color-mix(in srgb, var(--sage) 22%, var(--paper));
  color: var(--primary-ink);
  border-color: color-mix(in srgb, var(--sage) 40%, transparent);
}

/* Cards */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.card--bare { background: transparent; border: 0; padding: 0; }

/* Form */
.field { display: flex; flex-direction: column; gap: 6px; }
.label { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.input, .select, .textarea {
  appearance: none;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
  box-sizing: border-box;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent);
}

/* Hero */
.hero {
  position: relative;
  padding: 56px 0 96px;
  overflow: hidden;
}
.hero h1 { font-size: clamp(48px, 6.5vw, 92px); margin: 18px 0 22px; }
.hero h1 .acc { font-style: italic; color: var(--primary); font-weight: 400; opacity: 0.92; }
.hero p.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 32px;
  line-height: 1.55;
  text-wrap: pretty;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 32px;
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.hero-trust strong { color: var(--ink); font-weight: 600; }

/* Quiz */
.quiz-shell {
  min-height: calc(100vh - 72px);
  padding: 48px 0 96px;
}
.quiz-card {
  background: var(--paper);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  padding: 48px 56px;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}
.quiz-prog { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.quiz-prog-bar { flex: 1; height: 4px; background: var(--bg-deep); border-radius: 999px; overflow: hidden; }
.quiz-prog-fill { height: 100%; background: var(--primary); border-radius: 999px; transition: width .4s cubic-bezier(.4,0,.2,1); }
.quiz-prog-step { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

.quiz-q { font-size: 28px; line-height: 1.15; margin: 0 0 8px; }
.quiz-sub { color: var(--muted); margin: 0 0 28px; font-size: 14.5px; }

.opt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.opt-grid--3 { grid-template-columns: repeat(3, 1fr); }
.opt-grid--1 { grid-template-columns: 1fr; }
.opt {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  cursor: default;
  display: flex; align-items: center; gap: 12px;
  font-size: 14.5px;
  text-align: left;
  font-family: inherit;
  color: inherit;
  transition: all .15s ease;
}
.opt:hover { border-color: var(--line-strong); background: var(--bg-deep); }
.opt.is-on {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 6%, var(--paper));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent);
}
.opt-glyph { font-size: 20px; }
.opt-ttl { font-weight: 500; }
.opt-meta { color: var(--muted); font-size: 12.5px; display: block; margin-top: 2px; font-weight: 400; }

.quiz-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }

/* Checkout */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
.pay-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pay-tab {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 12px;
  cursor: default;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 12px; color: var(--ink-soft);
  font-family: inherit;
  transition: all .15s ease;
}
.pay-tab.is-on { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 6%, var(--paper)); }
.pay-tab-logo { height: 22px; display: flex; align-items: center; }

.order-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 96px;
}
.order-line { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; }
.order-line + .order-line { border-top: 1px dashed var(--line); }
.order-total { font-size: 18px; font-weight: 600; }

/* Plan view */
.plan-hero {
  background: linear-gradient(160deg, var(--primary), color-mix(in srgb, var(--primary) 80%, var(--accent) 20%));
  color: var(--paper);
  padding: 56px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.plan-hero h1 { font-size: 56px; margin: 12px 0 8px; line-height: 1.02; }
.plan-hero .meta { font-size: 14px; opacity: .85; display: flex; gap: 24px; flex-wrap: wrap; }

.plan-section { padding: 56px 0; }
.plan-section + .plan-section { border-top: 1px solid var(--line); }
.plan-h { font-family: var(--serif); font-size: 40px; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 8px; }
.plan-sub { color: var(--muted); margin: 0 0 28px; font-size: 15px; }

/* Product card */
.product-card {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 22px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  align-items: center;
}
.product-card + .product-card { margin-top: 12px; }
.product-pic {
  width: 110px; height: 110px;
  background: var(--bg-deep);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 36px;
  color: var(--primary);
  position: relative;
  overflow: hidden;
}
.product-pic::after {
  content: ""; position: absolute; inset: 8px;
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  border-radius: 6px;
}
.product-name { font-family: var(--serif); font-size: 22px; margin: 0 0 4px; }
.product-tag { font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.product-meta { display: flex; gap: 16px; font-size: 13px; color: var(--ink-soft); flex-wrap: wrap; }
.product-meta strong { color: var(--ink); font-weight: 600; }
.product-cta { text-align: right; }

/* Weekly schedule table */
.schedule {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.schedule th, .schedule td {
  padding: 14px 16px;
  text-align: center;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.schedule th {
  background: var(--bg-deep);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.schedule td:first-child { text-align: left; font-weight: 500; }
.schedule .dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
}
.schedule .dot.acc { background: var(--accent); }
.schedule .dot.sage { background: var(--sage); }
.schedule .dot.gold { background: var(--gold); }

/* Footer */
.foot {
  background: var(--primary);
  color: color-mix(in srgb, var(--paper) 80%, transparent);
  padding: 64px 0 36px;
  margin-top: 96px;
}
.foot a { color: inherit; text-decoration: none; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.foot h6 { color: var(--paper); margin: 0 0 14px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot li { font-size: 14px; }
.foot-bot { border-top: 1px solid color-mix(in srgb, var(--paper) 15%, transparent); margin-top: 48px; padding-top: 24px; font-size: 12.5px; display: flex; justify-content: space-between; }

/* Misc */
.divider { height: 1px; background: var(--line); margin: 32px 0; }
.spacer-sm { height: 16px; }
.spacer-md { height: 32px; }
.spacer-lg { height: 64px; }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: var(--paper);
  padding: 12px 20px; border-radius: 999px;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  animation: toastIn .25s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* Language switcher */
.lang-sw {
  position: relative;
}
.lang-sw-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font: inherit;
  font-size: 13px; font-weight: 500;
  color: var(--ink-soft);
  cursor: default;
}
.lang-sw-btn:hover { background: var(--bg-deep); }
.lang-sw-flag { font-size: 14px; line-height: 1; }
.lang-sw-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 6px;
  z-index: 60;
}
.lang-sw-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  cursor: default;
  color: var(--ink-soft);
}
.lang-sw-item:hover { background: var(--bg-deep); color: var(--ink); }
.lang-sw-item.is-on { background: color-mix(in srgb, var(--primary) 8%, transparent); color: var(--primary); font-weight: 500; }
.lang-sw-name { flex: 1; }
.lang-sw-code { font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* Citations */
.cite-list { list-style: none; padding: 0; margin: 0; counter-reset: cite; }
.cite-list li {
  counter-increment: cite;
  position: relative;
  padding: 14px 16px 14px 44px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.cite-list li::before {
  content: counter(cite);
  position: absolute; left: 12px; top: 14px;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-deep);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
}
.cite-list li:last-child { border-bottom: 0; }
.cite-list em { color: var(--ink); font-style: italic; font-weight: 500; }
.cite-list .src { color: var(--muted); font-size: 12.5px; }

/* Gut diagram */
.gut-diagram {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px;
}

/* Stat tiles */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.stat-num { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--primary); }
.stat-lbl { color: var(--muted); font-size: 13px; margin-top: 6px; }

/* Feature blocks */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.feat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.feat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--primary) 8%, var(--paper));
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.feat h4 { font-family: var(--serif); font-size: 22px; margin: 8px 0 0; line-height: 1.15; letter-spacing: -0.01em; }
.feat p { color: var(--ink-soft); margin: 0; font-size: 14.5px; line-height: 1.55; }

/* Section header */
.sect-hd { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.sect-hd h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  margin: 10px 0 0;
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-wrap: balance;
  max-width: 22ch;
}
.sect-hd p { color: var(--ink-soft); max-width: 36ch; margin: 0; font-size: 15.5px; line-height: 1.55; }

/* Hero illustration card */
.hero-art {
  background: var(--paper);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-art-inner {
  background: linear-gradient(160deg, var(--bg-deep), color-mix(in srgb, var(--sage) 30%, var(--bg-deep)));
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.step {
  position: relative;
  padding-top: 28px;
  border-top: 2px solid var(--primary);
}
.step .num {
  position: absolute; top: -14px; left: 0;
  width: 26px; height: 26px;
  background: var(--primary); color: var(--paper);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
  font-family: var(--mono);
}
.step h5 { font-family: var(--serif); font-size: 20px; margin: 0 0 6px; letter-spacing: -0.01em; }
.step p { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }

/* Banner block */
.banner {
  background: var(--primary);
  color: var(--paper);
  border-radius: var(--radius-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.banner h3 { font-family: var(--serif); font-size: clamp(32px, 3.5vw, 48px); margin: 0 0 12px; line-height: 1.05; letter-spacing: -0.02em; }
.banner p { margin: 0; opacity: .85; font-size: 15px; line-height: 1.6; }
.banner-price {
  text-align: right;
}
.banner-price .num { font-family: var(--serif); font-size: 88px; line-height: 1; }
.banner-price .lbl { opacity: .7; font-size: 13px; margin-top: 6px; }

/* Plan TOC */
.plan-toc {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-top: 24px;
}
.plan-toc a {
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: var(--paper);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.14);
}

/* Avatar circle */
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  color: var(--primary);
}

/* Single-line text guards — short labels should never break mid-phrase */
.btn,
.hdr-nav a,
.chip,
.plan-toc a,
.quiz-prog-step,
.lang-sw-btn,
.eyebrow {
  white-space: nowrap;
}
.plan-hero .meta > span,
.product-meta > span,
.hero-trust > span {
  white-space: nowrap;
}
/* Schedule cells: don't break short labels mid-word either */
.schedule td:first-child {
  white-space: nowrap;
}

/* ──────────────────────────────────────────────────────────────────────
   Education-first homepage additions
   ────────────────────────────────────────────────────────────────────── */

/* Hero — framed illustration card (matches the microbiome image frame) */
.hero-art--edu {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
}
.hero-art--edu img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.float-card {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  max-width: 240px;
  z-index: 2;
}
.float-card--tl {
  left: -24px;
  top: 40px;
  transform: rotate(-2.5deg);
}
.float-card--br {
  right: -16px;
  bottom: 48px;
  transform: rotate(2deg);
}
.float-card-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Microbiome explainer section */
.microbiome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.microbiome-img {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow);
}
.microbiome-img img {
  border-radius: var(--radius);
  max-width: 100%;
}
.microbiome-caption {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
  font-family: var(--serif);
  font-style: italic;
  text-align: center;
}
.microbiome-text { padding-right: 16px; }

/* Magazin / wissens-hub article cards */
.mag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .25s ease;
  cursor: default;
}
.article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.article-thumb {
  aspect-ratio: 5 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.article-glyph {
  font-family: var(--serif);
  font-size: 80px;
  line-height: 1;
  opacity: 0.5;
}
.article-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  background: var(--paper);
  padding: 4px 9px;
  border-radius: 999px;
}
.article-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.article-body h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}
.article-body p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  text-wrap: pretty;
}
.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}
.article-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 500;
}

/* Plan promotion banner */
.plan-promo {
  background: var(--primary);
  color: var(--paper);
  border-radius: var(--radius-xl);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.plan-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 18%, var(--accent), transparent 50%);
  opacity: 0.18;
  pointer-events: none;
}
.plan-promo > * { position: relative; }
.plan-promo-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-promo-bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}
.plan-promo-bullets .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.plan-promo-bullets .check svg { width: 13px; height: 13px; }
.plan-promo-price {
  text-align: right;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 32px;
}
.plan-promo-price .num {
  font-family: var(--serif);
  font-size: 120px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--paper);
}
.plan-promo-price .lbl {
  font-size: 13px;
  opacity: 0.75;
  margin-top: 8px;
}
.plan-promo-pages {
  font-size: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Shop product cards */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.shop-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .25s ease;
}
.shop-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.shop-thumb {
  aspect-ratio: 4 / 3.4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.shop-bottle {
  width: 78px;
  height: 130px;
  border-radius: 8px 8px 12px 12px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 14px 10px 12px;
  position: relative;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.shop-bottle::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 60%;
  top: 14%;
  bottom: 30%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.22), transparent);
  border-radius: 8px;
  pointer-events: none;
}
.shop-bottle-cap {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 12px;
  background: linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.4));
  border-radius: 4px 4px 2px 2px;
}
.shop-bottle-label {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  margin-top: auto;
  border-radius: 4px;
  padding: 8px 6px;
  text-align: center;
}
.shop-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: var(--paper);
  color: var(--primary);
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  white-space: nowrap;
}
.shop-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.shop-body h4 {
  font-size: 19px;
  line-height: 1.2;
  margin: 4px 0 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.shop-body > p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.shop-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}

/* ──────────────────────────────────────────────────────────────────────
   Erklärvideo section (dark, sits right after the hero)
   ────────────────────────────────────────────────────────────────────── */
.video-sect {
  padding: 96px 0;
  background: var(--primary);
  color: var(--paper);
}
.eyebrow--light { color: rgba(255, 255, 255, 0.6); }
.video-head { max-width: 760px; }
.video-h2 {
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 12px 0 18px;
  color: var(--paper);
  text-wrap: balance;
}
.video-lead {
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 64ch;
  margin: 0;
  text-wrap: pretty;
}
.video-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 32px;
  margin-top: 48px;
  align-items: start;
}
.video-player { display: flex; flex-direction: column; gap: 18px; }
.video-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #11160F;
  box-shadow: var(--shadow-lg);
}
.video-stage image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.6);
}
.video-overlay { position: absolute; inset: 0; pointer-events: none; }
.video-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 12, 7, 0.74) 0%, rgba(8, 12, 7, 0) 44%),
    linear-gradient(to bottom, rgba(8, 12, 7, 0.34) 0%, rgba(8, 12, 7, 0) 28%);
}
.video-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  white-space: nowrap;
}
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.38);
}
.video-play svg { margin-left: 5px; }
.video-controls {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.video-time {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-variant-numeric: tabular-nums;
}
.video-scrub {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.video-scrub-fill {
  width: 0%;
  height: 100%;
  background: var(--accent-soft);
  border-radius: 999px;
}
.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.video-title { font-family: var(--serif); font-size: 20px; color: var(--paper); white-space: nowrap; }
.video-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.video-tag {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
}
.video-chapters {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
}
.video-chapters-hd {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
}
.video-ch-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.video-ch {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  cursor: default;
  transition: padding-left 0.15s ease;
}
.video-ch:first-child { border-top: 0; }
.video-ch:hover { padding-left: 12px; }
.video-ch-n {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-soft);
}
.video-ch-t { font-size: 15px; color: rgba(255, 255, 255, 0.9); }

@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr; }
}

/* ── Kostenloser Flyer download band ───────────────────────────────────── */
.flyer-band {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 52px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 44px 52px;
}
.flyer-cover {
  position: relative;
  aspect-ratio: 1.414 / 1;
}
.flyer-cover image-slot,
.flyer-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.flyer-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: var(--accent);
  color: #fff;
  padding: 4px 9px;
  border-radius: 999px;
}
.flyer-h2 {
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 10px 0 16px;
  text-wrap: pretty;
  max-width: 16ch;
}
.flyer-lead {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  max-width: 52ch;
  margin: 0 0 26px;
  text-wrap: pretty;
}
.flyer-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.flyer-sub { font-size: 13px; color: var(--muted); }
@media (max-width: 780px) {
  .flyer-band { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
  .flyer-cover { max-width: 360px; }
}
