/* ============================================================
   foodmarketing.de  ·  site-v4
   Design system: cream / paper / green / mint / forest plus ein Signalton.
   Fonts: Montserrat (selbst gehostet) fuer Ueberschriften, Georgia fuer
   Fliesstext und die kursiven Akzente.
   Groessen in rem, damit Browser-Textzoom greift (html-Basis 16px).
   ============================================================ */

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-latin-variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
                 U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-latin-ext-variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --cream:  #F4F1EA;
  --paper:  #FFFCF4;
  --green:  #2E7D4A;   /* Flaechen, Buttons, Text ab 24px */
  --green-h:#266A3F;   /* Text unter 24px: 5,8:1 auf Creme, AA erfuellt */
  --mint:   #BAE0C3;
  --forest: #1A2419;
  --muted:  #4A5648;
  --warn:   #B4471F;   /* einziger Signalton, aus dem Markenrot abgeleitet */
  --warn-d: #F0C3B4;   /* derselbe Ton, aufgehellt fuer dunklen Grund */
  --rule:   rgba(26,36,25,.16);
  --rule-d: rgba(244,241,234,.22);
  --on-d:   rgba(244,241,234,.78);
  --on-d-2: rgba(244,241,234,.62);

  --ink: var(--forest);
  --sans: 'Montserrat', system-ui, 'Segoe UI', Arial, sans-serif;
  --serif: Georgia, 'Iowan Old Style', 'Times New Roman', serif;

  --r-s: .375rem;      /* Felder, Bilder, Chips */
  --r-l: 1rem;         /* Panels */

  --pad: clamp(1.25rem, 5vw, 4rem);
  --gap: clamp(1.75rem, 4vw, 3.5rem);
  --sec: clamp(3.75rem, 7vw, 6.75rem);
  --maxw: 77.5rem;   /* 1240px */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.75rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* anywhere statt break-word: nur so schrumpft auch die min-content-Breite,
     sonst sprengen lange Woerter bei 200 % Textzoom die Grid-Spuren. */
  overflow-wrap: anywhere;
}
html.is-locked, body.is-locked { overflow: hidden; height: 100%; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, .sans { font-family: var(--sans); font-weight: 700; }
h1, h2, h3, h4 { margin: 0; line-height: 1.06; letter-spacing: -.022em; }
h1, h2, h3, h4 { hyphens: auto; }
h1, h2, .display, .h2, .h2--l, .h2--s, .counter b, .case__kpi b {
  overflow-wrap: break-word;      /* nicht "anywhere": kein Bruch mitten im Wort */
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:where(a, button, summary, input, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--green-h);
  outline-offset: 3px;
  border-radius: 3px;
}
.sec--forest :focus-visible, .sec--green :focus-visible, .site-footer :focus-visible { outline-color: var(--mint); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: min(var(--pad), 8vw); }
.sec { padding-block: var(--sec); }
/* Drei Abstufungen, damit der Scroll eine Form bekommt statt eines Taktes */
.sec--pivot { padding-block: calc(var(--sec) * 1.4); }
.sec--tight { padding-block: calc(var(--sec) * .8); }
/* Wo zwei helle Grundtoene aneinanderstossen, markiert eine Haarlinie die
   Grenze: der Unterschied Creme/Papier allein ist mit 4 % zu leise. */
.sec--cream + .sec--paper, .sec--paper + .sec--cream,
.sec--cream + .sec--cream, .sec--paper + .sec--paper,
.logos + .sec--cream, .logos + .sec--paper { border-top: 1px solid var(--rule); }
.sec--forest { background: var(--forest); color: var(--cream); }
.sec--green  { background: var(--green); color: var(--paper); }
.sec--paper  { background: var(--paper); }
.sec--cream  { background: var(--cream); }

/* ---------- Typo-Skala ---------- */
.eyebrow {
  font-family: var(--sans); font-weight: 700; font-size: .75rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--green-h);
  display: inline-flex; align-items: center; flex-wrap: nowrap; gap: .75rem;
  margin: 0 0 1.125rem; max-width: 100%;
}
.eyebrow::before { content: ''; width: 1.625rem; height: 2px; background: currentColor; flex: none; }
.sec--forest .eyebrow, .sec--green .eyebrow { color: var(--mint); }

.display { font-size: clamp(2.125rem, 5.2vw, 4rem); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
/* Drei bewusste Groessen statt elfmal derselbe Block */
.h2      { font-size: clamp(1.75rem, 3.2vw, 2.5rem); text-wrap: balance; }
.h2--l   { font-size: clamp(2.125rem, 4.6vw, 3.5rem); }
.h2--s   { font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.h3      { font-size: clamp(1.3rem, 2.1vw, 1.625rem); }
.lede    { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.55; color: var(--muted); max-width: 58ch; }
.sec--forest .lede { color: var(--on-d); }
.sec--green .lede { color: rgba(255,252,244,.86); }
.micro   { font-family: var(--sans); font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.sec--forest .micro { color: var(--on-d-2); }

/* Akzentwort: Georgia kursiv im dunkleren Gruen. Der Kontrast zur
   Montserrat-Ueberschrift traegt den Akzent, nicht nur die Farbe. */
.accent { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--green-h); letter-spacing: 0; }
.sec--forest .accent, .sec--green .accent { color: var(--mint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .625rem;
  min-height: 3.25rem; padding: .625rem min(1.625rem, 6vw); border-radius: 999px; border: 2px solid transparent;
  font-family: var(--sans); font-weight: 700; font-size: .9375rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; max-width: 100%; text-align: center;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { transform: translateY(-4px); }
.btn--primary { background: var(--green); color: var(--paper); }
.btn--primary:hover { background: var(--green-h); }
.btn--ghost { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--green); color: var(--green-h); }
.sec--forest .btn--ghost { border-color: var(--rule-d); color: var(--cream); }
.sec--forest .btn--ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn--mint { background: var(--mint); color: var(--forest); }
.btn--mint:hover { background: #a8d6b3; }
.btn--forest { background: var(--forest); color: var(--cream); }
.btn--forest:hover { background: #101a10; }
.btn--cream { background: var(--paper); color: var(--green-h); }
.btn--cream:hover { background: #fff; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .875rem; }

.link-arrow {
  font-family: var(--sans); font-weight: 700; font-size: .9375rem; color: var(--green-h);
  text-decoration: none; display: inline-flex; align-items: center; min-height: 2rem;
}
.link-arrow span { border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--green); }
.link-arrow--light { color: var(--mint); }
.link-arrow--light:hover { color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(244,241,234,.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header__in { display: flex; align-items: center; gap: 1.25rem; min-height: min(4.5rem, 12vh); }
.brand {
  font-family: var(--sans); font-weight: 800; font-size: min(1.125rem, 5.5vw); letter-spacing: -.02em;
  text-decoration: none; color: var(--ink); white-space: nowrap; margin-right: auto;
  display: inline-flex; align-items: center; min-height: 2.75rem;
}
.brand span { color: var(--green-h); }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav > a:not(.btn) {
  font-family: var(--sans); font-weight: 600; font-size: .9375rem; text-decoration: none;
  color: var(--muted); min-height: 2.75rem; display: inline-flex; align-items: center;
}
.nav > a:not(.btn):hover { color: var(--green-h); }
.site-header .btn { min-height: 2.875rem; padding: 0 1.25rem; font-size: .875rem; }
.site-header .btn:hover { transform: none; }

.burger {
  display: none; width: min(2.75rem, 12vw); height: min(2.75rem, 12vw); min-width: 2rem; min-height: 2rem;
  border: 1px solid var(--rule); border-radius: .75rem;
  background: transparent; cursor: pointer; padding: 0; align-items: center; justify-content: center;
  position: relative; z-index: 92;
}
.burger i { display: block; width: 1.25rem; height: 2px; background: var(--ink); position: relative; transition: background .18s; }
.burger i::before, .burger i::after {
  content: ''; position: absolute; left: 0; width: 1.25rem; height: 2px; background: var(--ink);
  transition: transform .18s, top .18s;
}
.burger i::before { top: -6px; } .burger i::after { top: 6px; }
.burger[aria-expanded="true"] i { background: transparent; }
.burger[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] i::after  { top: 0; transform: rotate(-45deg); }

.nav-scrim {
  position: fixed; inset: 0; background: rgba(26,36,25,.5); z-index: 70;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.nav-scrim[data-open="true"] { opacity: 1; pointer-events: auto; }

@media (max-width: 56.25rem) {
  .burger { display: inline-flex; }
  .nav {
    position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--cream); border-bottom: 1px solid var(--rule);
    padding: .5rem var(--pad) 1.5rem; display: none; z-index: 90;
    box-shadow: 0 18px 30px -22px rgba(26,36,25,.5);
  }
  .nav[data-open="true"] { display: flex; }
  .nav > a:not(.btn) { padding: .875rem 0; border-bottom: 1px solid var(--rule); font-size: 1.0625rem; min-height: 3rem; }
  .nav .btn { margin-top: 1rem; }
}

/* ---------- Hero ---------- */
.hero { background: var(--cream); padding-block: clamp(1.75rem, 3vw, 3.125rem) clamp(1.75rem, 3vw, 3.25rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); gap: var(--gap); align-items: center; }
.hero h1 { margin: 0; }
.hero .lede { margin-top: 1.375rem; }
.hero .btn-row { margin-top: 1.75rem; }
.hero__meta { margin-top: 1.25rem; }

.cover-stage { display: grid; place-items: center; padding: .5rem; }
/* Der Badge haengt am Buch, nicht an der Spalte: gleicher Ueberstand an
   beiden Einbauorten und auf jeder Breite. */
.cover-frame { position: relative; width: min(100%, 21.875rem); }
.cover-frame img { width: 100%; filter: drop-shadow(0 1.75rem 3rem rgba(26,36,25,.26)); }
.cover-badge {
  position: absolute; top: -4%; right: -6%; margin: 0;
  width: clamp(4.75rem, 8vw, 6.25rem); aspect-ratio: 1; border-radius: 50%;
  background: var(--green); color: var(--paper); display: grid; place-content: center; text-align: center;
  font-family: var(--sans); font-weight: 800; line-height: 1.2;
  box-shadow: 0 .75rem 1.75rem rgba(26,36,25,.24);
}
.cover-badge b { display: block; font-size: clamp(1.125rem, 2vw, 1.5rem); }
.cover-badge small { font-size: .6875rem; letter-spacing: .16em; font-weight: 700; }
.sec--forest .cover-badge { background: var(--mint); color: var(--forest); }

@media (max-width: 53.75rem) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .hero .btn-row .btn { width: 100%; }
  .cover-stage { padding: 0; }
  .cover-frame { width: auto; max-width: 100%; }
  .cover-frame img { width: auto; max-height: 38vh; }
}

/* ---------- Logo-Leiste ---------- */
.logos { background: var(--paper); border-block: 1px solid var(--rule); padding-block: 2.5rem; }
.logos__label {
  font-family: var(--sans); font-weight: 700; font-size: .75rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 1.625rem;
}
.logos__row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(1.25rem, 3.5vw, 3rem);
}
/* Drei Bildmarken plus zwei Wortmarken, damit die Reihe nie umbricht.
   Hi-Chew und Dumle sind aus 110-px-Thumbnails nicht sauber freizustellen
   und stehen deshalb gesetzt statt gezeichnet. */
.logos__row img { width: min(8.75rem, 34vw); height: auto; filter: grayscale(1); opacity: .62; }
@media (max-width: 30rem) {
  .logos__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: center; }
  .logos__row img { width: 100%; max-width: 8.75rem; }
}
.wordmark {
  font-family: var(--sans); font-weight: 700; font-size: .875rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); max-width: 100%;
}

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.split--wide { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; }
@media (max-width: 56.25rem) { .split, .split--wide { grid-template-columns: minmax(0, 1fr); } }

.head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.375rem); }
.head .lede { margin-top: 1.25rem; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow, .head--center .lede { margin-inline: auto; }

/* ---------- Know-how: vier Schritte ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule-d); }
.step { padding: 1.875rem 1.625rem 2.125rem; border-right: 1px solid var(--rule-d); }
.step:last-child { border-right: 0; }
.step__n { font-family: var(--sans); font-weight: 800; font-size: .8125rem; letter-spacing: .16em; color: var(--mint); margin: 0 0 1.25rem; }
.step h3 { margin: 0 0 .75rem; font-size: 1.5rem; min-height: 2.2em; }
.step__body { color: var(--on-d); font-size: 1.03rem; line-height: 1.55; margin: 0; }
@media (max-width: 61.25rem) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2n) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--rule-d); }
}
@media (max-width: 35rem) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { border-right: 0; border-bottom: 1px solid var(--rule-d); }
  .step:last-child { border-bottom: 0; }
  .step h3 { min-height: 0; }
}

/* ---------- Kapitelliste ---------- */
.chapters { border-top: 1px solid var(--rule); }
.chapter {
  display: grid; grid-template-columns: minmax(0, 4.75rem) minmax(0, 1fr) minmax(0, 9.375rem);
  gap: 1.25rem; align-items: baseline; padding: 1.5rem 0; border-bottom: 1px solid var(--rule);
}
.chapter__n { font-family: var(--sans); font-weight: 800; font-size: .9375rem; color: var(--green-h); letter-spacing: .06em; margin: 0; }
.chapter h3 { font-size: clamp(1.25rem, 2.2vw, 1.6875rem); }
.chapter__body { margin: .625rem 0 0; color: var(--muted); font-size: 1.03rem; max-width: 56ch; }
.chapter__meta { font-family: var(--sans); font-size: .8125rem; font-weight: 600; color: var(--muted); text-align: right; letter-spacing: .04em; margin: 0; }
@media (max-width: 47.5rem) {
  .chapter { grid-template-columns: minmax(0, 3.5rem) minmax(0, 1fr); }
  .chapter__meta { grid-column: 2; text-align: left; margin-top: .5rem; }
}

.counter { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.counter b { font-family: var(--sans); font-weight: 800; font-size: clamp(4.5rem, 11vw, 9rem); line-height: .82; letter-spacing: -.05em; color: var(--green); }
@media (max-width: 38.75rem) { .counter { grid-template-columns: minmax(0, 1fr); gap: .75rem; } }

/* ---------- Creatives ---------- */
.creatives { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.creatives figure { margin: 0; }
/* Einheitlich hoher Rahmen auf dem dunkelsten Markenton, das Bild selbst
   bleibt unbeschnitten (contain) und behaelt sein Seitenverhaeltnis. */
/* tools/make_creatives.py schneidet alle drei Quellen auf 640x1274. Der
   Rahmen uebernimmt genau dieses Verhaeltnis, deshalb rendern die drei
   Mockups gleich breit und gleich hoch, ohne eingebackenen Rand. */
.creatives__frame {
  display: block; position: relative; aspect-ratio: 640 / 1274;
  background: var(--forest); border-radius: var(--r-s); overflow: hidden;
}
/* absolut positioniert, damit height:100% eine definite Bezugsgroesse hat:
   als Grid-Item waere der Prozentwert zyklisch und das Bild waere so hoch
   wie sein Original, also hoeher als der Rahmen. */
.creatives__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.creatives figcaption { margin-top: .875rem; font-family: var(--sans); font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
@media (max-width: 47.5rem) { .creatives { grid-template-columns: minmax(0, 1fr); max-width: 22rem; margin-inline: auto; } }

/* ---------- Leistungs-Leiter ----------
   Ein Grid fuer die ganze Leiter, die Zeilen liegen als Subgrid darin.
   Nur so stehen Preis-, Text- und CTA-Spalte ueber alle vier Zeilen bündig. */
.ladder {
  display: grid; grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr) minmax(0, 15rem);
  border-top: 1px solid var(--rule);
}
.rung {
  display: grid; grid-column: 1 / -1; grid-template-columns: subgrid;
  gap: clamp(1rem, 2.5vw, 2.5rem); align-items: start;
  padding: 2rem 0; border-bottom: 1px solid var(--rule); transition: background .18s;
}
@supports not (grid-template-columns: subgrid) {
  .ladder { display: block; }
  .rung { grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr) minmax(0, 15rem); }
}
.rung:hover { background: rgba(46,125,74,.05); }
.rung__price {
  font-family: var(--sans); font-weight: 800; font-size: clamp(1.75rem, 3vw, 2.75rem);
  letter-spacing: -.03em; margin: 0; overflow-wrap: normal; hyphens: none;
  padding-right: .75rem;
}
/* "Individuell" ist ein Wort, keine Zahl: kleiner setzen, sonst laeuft es
   in die Textspalte. */
.rung__price--word { font-size: clamp(1.375rem, 1.9vw, 1.875rem); }
.rung__price small { display: block; font-family: var(--serif); font-weight: 400; font-size: .8125rem; color: var(--muted); letter-spacing: 0; margin-top: .375rem; }
.rung h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: .5rem; }
.rung__kicker { font-family: var(--sans); font-weight: 700; font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green-h); margin: 0 0 .625rem; }
.rung__body { margin: 0; color: var(--muted); font-size: 1.03rem; max-width: 52ch; }
.rung__list { list-style: none; margin: .875rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1.5rem; }
.rung__list li { position: relative; min-width: 0; padding-left: 1.375rem; font-size: .9375rem; color: var(--muted); }
.rung__list li::before {
  content: ''; position: absolute; left: 0; top: .55em; width: .75rem; height: .4rem;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
/* Die Chip-Zeile ist auf jeder Sprosse reserviert, damit alle vier CTA
   auf derselben Hoehe und Kante stehen. */
.rung__cta { display: grid; grid-template-rows: 1.75rem auto; justify-items: start; align-content: start; }
.rung__flagslot { display: block; min-height: 1.75rem; }
.flag {
  font-family: var(--sans); font-weight: 700; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--mint); color: var(--forest); border-radius: 999px; padding: .3125rem .75rem;
}
@media (max-width: 56.25rem) {
  .ladder { display: block; }
  .rung { display: block; }
  .rung__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .75rem; margin-bottom: .75rem; }
  .rung__price small { margin-top: 0; }
  .rung__cta { display: block; margin-top: 1rem; }
  /* Der Chip gehoert oben zum Preis, den er qualifiziert, nicht ans Ende der
     Sprosse. Er sitzt in der oberen Innenkante, ueber der Preiszeile. */
  .rung { position: relative; padding-top: 2.75rem; }
  .rung__flagslot { position: absolute; top: .75rem; right: 0; min-height: 0; }
  .rung__list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Kostprobe ---------- */
.sample { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-block: clamp(1.75rem, 3vw, 2.75rem); }
.sample__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.25rem; margin-bottom: 1.5rem; }
.sample__no { font-family: var(--sans); font-weight: 800; font-size: .875rem; color: var(--green-h); letter-spacing: .08em; margin: 0; }
.sample__tags { font-family: var(--sans); font-weight: 600; font-size: .8125rem; letter-spacing: .06em; color: var(--muted); margin: 0; }
.sample h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1.5rem; }
.hook { margin: 0 0 2rem; padding-left: clamp(1rem, 2vw, 1.75rem); border-left: 3px solid var(--green); }
.hook__label { font-family: var(--sans); font-weight: 700; font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green-h); margin: 0 0 .5rem; }
.hook__text { font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.35; font-style: italic; margin: 0; }
.sub-h { font-family: var(--sans); font-weight: 700; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green-h); margin: 0 0 .75rem; }
.sub-h--light { color: var(--mint); font-size: .875rem; }
.sample__col p { color: var(--muted); font-size: 1.03rem; }
.sample__foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 2rem; }

/* ---------- Guide ---------- */
.checks { list-style: none; margin: 1.625rem 0 0; padding: 0; display: grid; gap: .875rem; }
.checks li { position: relative; padding-left: 2.125rem; font-size: 1.09rem; }
.checks li::before {
  content: ''; position: absolute; left: 2px; top: .48em; width: 1rem; height: .5625rem;
  border-left: 2.5px solid var(--mint); border-bottom: 2.5px solid var(--mint); transform: rotate(-45deg);
}

.form-card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-l); padding: clamp(1.375rem, 3vw, 2rem); }
/* Auf Forest: Panel heller, Feld dunkler als das Panel, Rand ueber 3:1. */
.sec--forest .form-card { background: rgba(244,241,234,.12); border-color: var(--rule-d); }
.form-card h3 { margin-bottom: .375rem; }
.field { display: block; margin-top: .875rem; }
.field > span {
  display: block; font-family: var(--sans); font-weight: 600; font-size: .8125rem;
  letter-spacing: .04em; margin-bottom: .375rem; color: var(--muted);
}
.sec--forest .field > span { color: var(--on-d); }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 3.25rem; padding: .8125rem 1rem; border-radius: var(--r-s);
  border: 1px solid var(--rule); background: var(--cream); font-family: var(--sans); font-size: .96875rem;
}
.sec--forest .field input[type="text"], .sec--forest .field input[type="email"], .sec--forest .field textarea {
  background: rgba(10,16,10,.45); border-color: rgba(244,241,234,.52); color: var(--cream);
}
.field textarea { min-height: 6.875rem; resize: vertical; }
::placeholder { color: #5C6659; opacity: 1; }
.sec--forest ::placeholder { color: #C9CFC6; opacity: 1; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--warn); border-width: 2px; }
.sec--forest .field input[aria-invalid="true"], .sec--forest .field textarea[aria-invalid="true"] { border-color: var(--warn-d); }

.consent { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: .75rem; margin-top: 1.125rem; align-items: start; }
.consent input[type="checkbox"] { width: 2rem; height: 2rem; margin: 0; accent-color: var(--green); flex: none; }
.consent span { font-size: .90625rem; line-height: 1.5; color: var(--muted); }
.sec--forest .consent span { color: var(--on-d); }
.consent a { color: inherit; }

.err { display: block; margin-top: .375rem; font-family: var(--sans); font-size: .8125rem; font-weight: 600; color: var(--warn); }
.sec--forest .err { color: var(--warn-d); }

.form-fine { margin-top: .875rem; font-size: .84375rem; color: var(--muted); }
.sec--forest .form-fine { color: var(--on-d-2); }
.form-fine a, .consent a { display: inline-block; padding-block: .4375rem; max-width: 100%; overflow-wrap: anywhere; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .875rem; }
@media (max-width: 35rem) { .form-row { grid-template-columns: minmax(0, 1fr); } }

/* Bestaetigungs-Panel: eigener heller Grund, damit es auch in den
   Forest-Sektionen lesbar bleibt. */
.form-note {
  margin-top: 1.125rem; padding: 1.25rem; border-radius: var(--r-l);
  background: var(--mint); border: 1px solid var(--mint); color: var(--forest);
}
.form-note--plain { margin-top: 1.125rem; }
.form-note h4 { font-size: 1.125rem; margin-bottom: .5rem; }
.form-note p { font-size: .96875rem; color: #23301F; }
.form-note a:not(.btn) { color: #17301F; }
[hidden] { display: none !important; }

/* ---------- Blick in den Guide ---------- */
.peek { display: flex; justify-content: center; align-items: flex-start; margin-top: 2.5rem; }
.peek__page { position: relative; margin: 0; width: min(30vw, 26rem); flex: none; aspect-ratio: 900 / 738; border-radius: var(--r-s); }
.peek__page--a, .peek__page--c { background-size: cover; background-position: top center; box-shadow: 0 1.5rem 2.75rem rgba(26,36,25,.34); }
.peek__page--a { margin-top: 2.5rem; }
.peek__page--b { margin-inline: -4rem; z-index: 2; }
.peek__page--b img { border-radius: var(--r-s); box-shadow: 0 1.5rem 2.75rem rgba(26,36,25,.34); background: #fff; }
.peek__page--c { margin-top: 3.25rem; }
.peek__lock {
  position: absolute; inset: 40% 0 0 0; border-radius: 0 0 var(--r-s) var(--r-s);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center;
  gap: .625rem; padding: 1rem; text-decoration: none;
  background: linear-gradient(rgba(26,36,25,0), rgba(26,36,25,.9) 46%);
  color: var(--cream);
  font-family: var(--sans); font-weight: 700; font-size: .8125rem; line-height: 1.4;
}
.peek__lock svg { width: 1.5rem; height: 1.5rem; stroke: var(--mint); fill: none; stroke-width: 2; flex: none; }
.peek__lock:hover { color: var(--mint); }


@media (min-width: 48rem) {
  /* Die beiden aeusseren Seiten existieren nur hier, deshalb laedt der
     Browser sie unter 768 px gar nicht erst. */
  .peek__page--a { background-image: url('../img/guide-page-1.jpg'); }
  .peek__page--c { background-image: url('../img/guide-page-3.jpg'); }
}
@media (max-width: 47.9375rem) {
  /* Eine Vorschauseite plus derselbe Freischalt-Link, nur ohne Overlay:
     es bleibt bei genau einem .peek__lock im DOM. */
  .peek { flex-wrap: wrap; }
  .peek__page--a { display: none; }
  .peek__page--b { margin-inline: 0; width: min(100%, 22rem); }
  .peek__page--c {
    width: 100%; height: auto; aspect-ratio: auto; margin-top: 1rem;
    background: none; box-shadow: none;
  }
  .peek__lock {
    position: static; inset: auto; background: none; border-radius: 0;
    flex-direction: row; justify-content: center; gap: .5rem;
    color: var(--mint); font-size: .9375rem; padding: .75rem 0; min-height: 2.75rem;
    text-decoration: underline; text-underline-offset: 4px;
  }
}

/* ---------- Kunden ---------- */
.cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.25rem); border-top: 1px solid var(--rule); }
.case { display: flex; flex-direction: column; gap: .625rem; padding-top: 1.75rem; }
.case__cat { font-family: var(--sans); font-weight: 700; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-h); margin: 0; }
.case h3 { font-size: 1.375rem; margin: 0; }
.case__kpi { margin: auto 0 0; padding-top: 1.25rem; }
.case__kpi b { display: block; font-family: var(--sans); font-weight: 800; font-size: clamp(2.75rem, 5.6vw, 4.75rem); line-height: .95; letter-spacing: -.04em; color: var(--green-h); }
.case__kpi span { display: block; margin-top: .375rem; font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
@media (max-width: 62.5rem) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 38.75rem) { .cases { grid-template-columns: minmax(0, 1fr); } }

.wordmarks { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.875rem; border-top: 1px solid var(--rule); }

/* ---------- Team ---------- */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.person figure { margin: 0; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 22%; border-radius: var(--r-l); background: var(--mint); filter: grayscale(1) contrast(1.04); }
.person figcaption { margin-top: .875rem; }
.person b { font-family: var(--sans); font-size: 1.0625rem; display: block; }
.person em { font-style: normal; font-size: .9375rem; color: var(--muted); }

/* Zahlen als Hairline-Zeile, nicht als zweites Display-Band */
.factline {
  list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  margin: 1.75rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--rule);
  font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; color: var(--muted);
}

/* ---------- Kennenlerntermin ---------- */
/* Solange das Calendly-Script auskommentiert ist, bleibt der Container leer.
   Dann darf er keine Hoehe reservieren, sonst klafft eine Luecke im Layout. */
.calendly-inline-widget:empty { height: 0 !important; min-width: 0 !important; min-height: 0 !important; }
.termin-shell { max-width: 41rem; margin-inline: auto; }
.reassure {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2rem;
  list-style: none; margin: 0 0 2rem; padding: 1.125rem 0;
  border-block: 1px solid var(--rule-d);
}
.reassure li { font-family: var(--sans); font-size: .875rem; font-weight: 600; letter-spacing: .04em; color: var(--on-d); }

/* ---------- FAQ ---------- */
.faq-head { margin-bottom: 2rem; }
.faq { border-top: 1px solid var(--rule); }
.faq--wide { max-width: 56rem; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.25rem;
  padding: 1.375rem 0; min-height: 3.25rem;
  font-family: var(--sans); font-weight: 700; font-size: clamp(1.0625rem, 1.9vw, 1.3125rem); letter-spacing: -.01em;
}
.faq__q:hover { color: var(--green-h); }
.faq__q .faq__label { min-width: 0; }
.faq__q .sign { color: var(--green-h); font-size: 1.5rem; line-height: 1; flex: none; transition: transform .2s; }
.faq__q[aria-expanded="true"] .sign { transform: rotate(45deg); }
.faq__a { padding: 0 0 1.5rem; color: var(--muted); font-size: 1.0625rem; max-width: 68ch; }

/* ---------- Abschluss-Band ---------- */
.closing { text-align: center; }
.closing h2 { max-width: 20ch; margin-inline: auto; }
.closing__note { margin: 1.25rem auto 0; max-width: 46ch; color: var(--paper); }
.closing .btn-row { justify-content: center; margin-top: 1.75rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: var(--cream); padding-block: clamp(3.25rem, 6vw, 5rem) 1.875rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--mint); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--gap); }
@media (max-width: 56.25rem) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 35rem) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
.foot-h { font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mint); margin: 0 0 1rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; font-size: 1rem; }
.foot-grid li { padding-block: .3125rem; }
.foot-grid li a, .foot-bottom nav a { display: inline-flex; align-items: center; min-height: 2rem; }
/* Unverlinkter Kontakttext bleibt ruhiger als die Links daneben */
.foot-contact { color: var(--on-d); }
.foot-contact li { overflow-wrap: anywhere; }
.foot-brand { font-family: var(--sans); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; margin: 0; }
.foot-note { margin-top: .75rem; color: var(--on-d); font-size: 1rem; max-width: 34ch; }
.foot-bottom {
  margin-top: clamp(2.25rem, 4vw, 3.375rem); padding-top: 1.375rem; border-top: 1px solid rgba(244,241,234,.18);
  display: flex; flex-wrap: wrap; gap: .875rem 1.625rem; justify-content: space-between;
  font-size: .90625rem; color: var(--on-d);
}
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: .25rem 1.375rem; }
.nowrap { white-space: nowrap; }

/* ---------- Rechtsseiten und danke.html ---------- */
.legal { max-width: 47.5rem; margin: 0 auto; padding-block: clamp(2.75rem, 6vw, 5rem); }
.legal h1 { margin-bottom: 1.25rem; }
.legal h2 { font-size: 1.3125rem; margin: 2.5rem 0 .75rem; }
.legal p { color: var(--muted); font-size: 1.0625rem; }
.legal dl { display: grid; grid-template-columns: minmax(0, 10.625rem) minmax(0, 1fr); gap: .625rem 1.125rem; margin: 1.5rem 0 0; }
.legal dt { font-family: var(--sans); font-size: .8125rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.legal dd { margin: 0; font-size: 1.0625rem; }
@media (max-width: 35rem) { .legal dl { grid-template-columns: minmax(0, 1fr); gap: .125rem 0; } .legal dd { margin-bottom: .75rem; } }
.legal a { color: var(--green-h); display: inline-block; padding-block: .375rem; max-width: 100%; overflow-wrap: anywhere; }
.legal .btn { color: var(--paper); }
/* Redaktionsnotizen fuer den Kunden sichtbar markieren. Muessen vor dem
   Livegang ersetzt und die Auszeichnung entfernt werden. */
mark.ph {
  background: #FBE7C6; color: var(--forest); padding: .125rem .375rem;
  border-radius: .25rem; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

.skip {
  position: absolute; top: 0; left: 0; transform: translateY(-250%);
  background: var(--green-h); color: #fff; padding: .75rem 1.125rem;
  z-index: 200; border-radius: 0 0 .625rem 0;
}
.skip:focus { transform: none; }

/* ---------- Scroll-Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s cubic-bezier(.2,.7,.3,1), transform .5s cubic-bezier(.2,.7,.3,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ---------- Druck ---------- */
@media print {
  .site-header, .burger, .nav, .nav-scrim, .skip, form, .peek__lock, .btn { display: none !important; }
  .site-header { position: static !important; }
  body { background: #fff; color: var(--forest); font-size: 11pt; }
  .sec--forest, .sec--green, .site-footer { background: #fff !important; color: var(--forest) !important; }
  /* Alle Textrollen der ehemals dunklen Sektionen explizit auf Papierfarben */
  .sec--forest .lede, .sec--green .lede, .sec--forest .step__body,
  .sec--forest .micro, .sec--forest .form-fine, .sec--forest .consent span,
  .sec--forest .field > span, .reassure li, .closing__note,
  .site-footer, .site-footer a, .foot-note, .foot-contact, .foot-bottom { color: var(--muted) !important; }
  .sec--forest .eyebrow, .sec--green .eyebrow, .step__n, .sub-h--light,
  .sec--forest .accent, .sec--green .accent, .foot-h, .link-arrow--light { color: var(--green-h) !important; }
  .checks li::before { border-color: var(--green-h) !important; }
  .steps, .step, .reassure { border-color: var(--rule) !important; }
  .sec, .hero { padding-block: 1rem; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
