/* ==========================================================================
   AckerMind — Landingpage
   Design-Grundlage: Pitchdeck garage33 (04.09.2026). Farben, Typo, Bildsprache
   und Kapitelnummerierung sind direkt daraus abgeleitet.
   Dokumentation: docs/corporate-design.md
   ========================================================================== */

/* --- Schrift: Poppins, self-hosted (kein Google-CDN, DSGVO) --------------
   Das Pitchdeck setzt Poppins Regular/SemiBold, Zitate kursiv. Genau diese
   drei Schnitte werden ausgeliefert, latin-Subset, zusammen ~26 KB.        */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/poppins-400.woff2) format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/poppins-600.woff2) format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/poppins-400-italic.woff2) format('woff2');
}

/* --- Tokens -------------------------------------------------------------- */
:root {
  /* Farbe — exakt aus dem Pitchdeck gemessen */
  --green-900: #011c11;
  --green-800: #023823; /* Grundton der Marke */
  --green-700: #084b2e;
  --green-600: #0f6039;
  --lime: #98c800;
  --lime-bright: #b3e300;
  --ink: #ffffff;
  --ink-80: rgba(255, 255, 255, .82);
  --ink-60: rgba(255, 255, 255, .62);
  --ink-40: rgba(255, 255, 255, .58);
  --line: rgba(255, 255, 255, .14);

  /* Raum */
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(56px, 9vw, 118px);
  --maxw: 1160px;

  /* Typo */
  --t-h1: clamp(38px, 5.8vw, 66px);
  --t-h2: clamp(28px, 4.4vw, 46px);
  --t-h3: clamp(17px, 1.6vw, 20px);
  --t-body: clamp(15px, 1.05vw, 17px);
  --t-lead: clamp(16px, 1.3vw, 19px);

  /* Form */
  --r-s: 4px;
  --r-btn: 10px;

  /* Bewegung — drei Stufen, ueberall dieselbe Kurve */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-aus: cubic-bezier(.4, 0, .2, 1);
  --t-schnell: .22s;
  --t-normal: .38s;
  --t-lang: .6s;
  --dur: .9s;
}

/* --- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  /* Kein natives smooth: es wirkt hastig und ruckelt auf iOS.
     Das Gleiten uebernimmt script.js mit eigener Kurve. */
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink-80);
  background: var(--green-800);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 18px;
  background: var(--lime);
  color: var(--green-900);
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --- Typografie ---------------------------------------------------------- */
h1, h2, h3 {
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.025em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); max-width: 17ch; }
h2 { font-size: var(--t-h2); max-width: 15ch; }
h3 { font-size: var(--t-h3); letter-spacing: -.01em; line-height: 1.25; }

/* Signatur der Marke: ein Wort/eine Zeile in Lime */
.accent { color: var(--lime); }

/* Signatur der Marke: kurze Lime-Linie unter jeder Überschrift */
.rule {
  width: 72px;
  height: 3px;
  background: var(--lime);
  border-radius: 2px;
  margin: clamp(20px, 2.5vw, 30px) 0 clamp(18px, 2vw, 26px);
}

/* Kapitelnummer — im Deck die Kapitelmarke oben links */
.chapter-no {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--lime);
  margin-bottom: clamp(14px, 2vw, 26px);
}

.lead {
  font-size: var(--t-lead);
  color: var(--ink-80);
  max-width: 46ch;
}
p { max-width: 60ch; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-btn);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  transition: background-color .3s var(--ease), color .3s var(--ease),
    border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }

.btn-primary {
  background: var(--lime);
  color: var(--green-900);
}
.btn-primary:hover { background: var(--lime-bright); transform: translateY(-2px); }

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .28);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(2, 56, 35, .96);
  border-bottom-color: var(--line);
}
/* Weichzeichnen nur, wo ein Zeiger vorhanden ist. Auf Tablets und Telefonen
   kostet backdrop-filter an einer festen Leiste sichtbar Ruhe im Scrollen. */
@media (hover: hover) and (pointer: fine) {
  .site-header.is-scrolled {
    background: rgba(2, 56, 35, .92);
    backdrop-filter: blur(10px);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  transition: min-height .45s var(--ease);
}
.site-header.is-scrolled .header-inner { min-height: 64px; }

/* Marke schrumpft beim Scrollen auf die Bildmarke zusammen */
.brand {
  position: relative;
  flex: 0 0 auto;
  margin-right: auto;
  display: block;
  width: 168px;
  height: 63px;
  transition: width .45s var(--ease), height .45s var(--ease);
}
/* Gescrollt wird die Marke etwas kleiner, damit sie in der schmaleren Zeile
   Luft nach oben und unten behaelt. Ohne das steht sie randlos und wirkt
   abgeschnitten. */
.site-header.is-scrolled .brand { width: 140px; height: 53px; }
.brand img {
  position: absolute;
  left: 0;
  top: 50%;
  /* Nicht die Datei zentrieren, sondern das Sichtbare darin: Bildmarke und
     Schriftzug liegen bei 62,5 Prozent der Dateihoehe, darueber steht
     Leerraum. Mit -50% saehe das Logo in der Zeile versetzt aus. */
  translate: 0 -62.5%;
  height: auto;
  transition: opacity .45s var(--ease);
}
.brand .brand-full,
.brand .brand-mark { width: 100%; }
.brand .brand-full { opacity: 1; }
.brand .brand-mark { opacity: 0; }
.site-header.is-scrolled .brand-full { opacity: 0; }
.site-header.is-scrolled .brand-mark { opacity: 1; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); }
.nav a {
  font-size: 14.5px;
  font-weight: 400;
  color: var(--ink-80);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header-cta { flex: 0 0 auto; padding: 11px 20px; }
/* Zwilling des Kopf-Knopfes, nur im aufgeklappten Mobilmenue sichtbar. */
.nav-cta { display: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: background-color var(--t-schnell) var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--t-normal) var(--ease), top var(--t-normal) var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.is-open .nav-toggle span { background: transparent; }
.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Bett — Grundlayout aller Kapitel: Foto blutet rechts aus,
   grüner Verlauf trägt den Text links (Deck-Muster)
   ========================================================================== */
.bed {
  position: relative;
  isolation: isolate;
  background: var(--green-800);
  padding-block: var(--section-y);
  overflow: clip;
}
.bed-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.bed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
}
.bed-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--green-800) 0%, rgba(2, 56, 35, .58) 6%, rgba(2, 56, 35, 0) 26%, rgba(2, 56, 35, .62) 82%, var(--green-800) 100%),
    linear-gradient(95deg, var(--green-800) 0%, var(--green-800) 34%,
      rgba(2, 56, 35, .96) 52%, rgba(2, 56, 35, .62) 66%,
      rgba(2, 56, 35, .16) 81%, rgba(2, 56, 35, 0) 95%);
}
/* Gespiegelte Variante: Bild links, Inhalt rechts */
.bed--flip .bed-media img { object-position: 28% 50%; }
.bed--flip .bed-media::after {
  background:
    linear-gradient(180deg, var(--green-800) 0%, rgba(2, 56, 35, .55) 8%, rgba(2, 56, 35, 0) 26%, rgba(2, 56, 35, .62) 82%, var(--green-800) 100%),
    linear-gradient(265deg, var(--green-800) 0%, var(--green-800) 34%,
      rgba(2, 56, 35, .95) 48%, rgba(2, 56, 35, .62) 62%,
      rgba(2, 56, 35, .16) 79%, rgba(2, 56, 35, 0) 94%);
}
/* Flaches Kapitel ohne Foto (Deck-Slides 03 und 04) */
.bed--flat { background: var(--green-800); }
/* Das dunklere Band blendet oben und unten ins Markengruen aus. Ohne diesen
   Verlauf steht an jeder Grenze eine harte Kante — gemessen ein Sprung von 28
   Helligkeitsstufen, der wie ein neu ansetzender Verlauf aussieht. */
.bed--deep {
  background: linear-gradient(180deg,
    var(--green-800) 0,
    var(--green-900) clamp(60px, 9vw, 130px),
    var(--green-900) calc(100% - clamp(60px, 9vw, 130px)),
    var(--green-800) 100%);
}

.bed-body { position: relative; max-width: 600px; }
.bed--flip .bed-body { margin-left: auto; }
/* Die Spalte sitzt im 1160er Raster, nicht mittig im Fenster — sonst rutscht
   der Text aus dem gruenen Verlauf heraus ins helle Foto. */

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(80svh, 740px);
  padding-block: calc(var(--section-y) + 40px) var(--section-y);
  overflow: clip;
}
.hero .bed-media img { object-position: 62% 62%; }
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(70px, 9vh, 130px);
  z-index: -1;
  background: linear-gradient(180deg, rgba(2, 56, 35, 0), var(--green-800) 92%);
  pointer-events: none;
}
.hero .bed-media::after {
  background:
    linear-gradient(180deg, rgba(2, 56, 35, .78) 0%, rgba(2, 56, 35, .12) 34%, rgba(2, 56, 35, .82) 92%),
    linear-gradient(88deg, var(--green-800) 0%, rgba(2, 56, 35, .90) 30%,
      rgba(2, 56, 35, .42) 52%, rgba(2, 56, 35, .04) 78%);
}
.hero-eyebrow {
  font-size: clamp(12px, 1.1vw, 13.5px);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: clamp(16px, 2vw, 22px);
  white-space: nowrap;
}
.hero-logo { width: clamp(230px, 26vw, 330px); height: auto; margin-bottom: clamp(18px, 2.4vw, 26px); }
.hero h1 { max-width: 26ch; }
.hero .rule { margin-top: 0; }
.hero .lead { margin-top: 22px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 3.4vw, 40px);
}


/* Zurueck nach oben — erscheint erst nach dem Hero */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 95;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-700);
  border: 0;
  color: var(--lime);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .2s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--lime); color: var(--green-900); transform: translateY(-2px); }
.to-top svg { width: 18px; height: 18px; }

/* ==========================================================================
   01 — Problem
   ========================================================================== */
.pains {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 3.4vw, 42px) clamp(22px, 3vw, 40px);
  margin-top: clamp(38px, 5vw, 62px);
  max-width: 560px;
}
.pain img { width: 46px; height: 46px; margin-bottom: 14px; }
.pain h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.pain p { font-size: 13.5px; line-height: 1.5; color: var(--ink-60); }

/* ==========================================================================
   02 — Praxis / Zitate
   ========================================================================== */
.quotes { display: grid; gap: clamp(26px, 3.4vw, 40px); margin-top: clamp(30px, 4vw, 46px); max-width: 520px; }
.quote {
  position: relative;
  padding-top: 42px;
  border-top: 1px solid rgba(152, 200, 0, .45);
  font-size: clamp(18px, 2vw, 23px);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
  max-width: none;
}
.quote::before {
  content: '\201C';
  position: absolute;
  left: -1px;
  top: 8px;
  font-size: 40px;
  line-height: 1;
  color: var(--lime);
  font-style: normal;
  opacity: .55;
}
.quote-source { display: block; margin-top: 10px; font-size: 13px; font-style: normal; color: var(--ink-60); }
.after-quotes { margin-top: clamp(26px, 3vw, 36px); }

/* ==========================================================================
   03 — Lösung
   ========================================================================== */
.solution-head { display: grid; gap: clamp(26px, 4vw, 60px); align-items: start; }
@media (min-width: 900px) {
  .solution-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* Fähigkeiten als verbundene Kette, nicht als Kartenraster */
.caps { display: grid; gap: 2px; }
.cap {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid transparent;
  border-radius: var(--r-s);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.cap:hover { background: rgba(255, 255, 255, .07); border-color: rgba(152, 200, 0, .35); }
.cap-no {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--lime);
  padding-top: 4px;
}
.cap h3 { margin-bottom: 4px; }
.cap p { font-size: 14px; line-height: 1.55; color: var(--ink-60); }

/* Produkt-Screenshot greift über die Kapitelgrenze */
.shot { position: relative; margin-top: clamp(40px, 6vw, 76px); }
.shot img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, .55));
}
.shot--overlap { margin-bottom: calc(-1 * clamp(40px, 7vw, 120px)); z-index: 3; }
.shot-caption {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-40);
  text-align: center;
  max-width: none;
}

/* ==========================================================================
   04 — Kreislauf
   ========================================================================== */
.loop {
  position: relative;
  margin-top: clamp(36px, 5vw, 64px);
  display: grid;
  gap: clamp(24px, 3vw, 40px);
}
.loop-ring { display: none; }
.loop::before { content: none; }
.loop-media img { width: 100%; height: auto; }
.loop-media img.ist-da { filter: drop-shadow(0 30px 70px rgba(0, 0, 0, .5)); }

.step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.step-no {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(152, 200, 0, .55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--lime);
  flex: 0 0 auto;
}
.step h3 { margin-bottom: 4px; }
.step p { font-size: 14px; line-height: 1.55; color: var(--ink-60); max-width: 34ch; }

.pull {
  font-size: clamp(18px, 2.1vw, 24px);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
  max-width: 30ch;
  padding-top: 20px;
  border-top: 1px solid rgba(152, 200, 0, .45);
}

/* ==========================================================================
   05 — Datenquellen
   ========================================================================== */
.sources { position: relative; margin-top: clamp(30px, 4vw, 44px); }
.sources::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(152, 200, 0, .5) 12%,
    rgba(152, 200, 0, .5) 88%, transparent);
}
.source {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 12px 0;
}
.source img {
  width: 56px;
  height: 56px;
  padding: 8px;
  background: var(--green-800);
  border-radius: 50%;
}
.source h3 { font-size: 16px; }
.source p { font-size: 13.5px; line-height: 1.5; color: var(--ink-60); }

/* ==========================================================================
   06 — Ziel
   ========================================================================== */
/* Nur eine Aufzaehlung auf dem Bildbett — Deck-Folie 06 */
.goals { display: grid; gap: 2px; margin-top: clamp(30px, 4vw, 44px); }
.goal {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--ink);
}
.goal:last-child { border-bottom: 0; }
.goal svg { width: 34px; height: 34px; color: var(--lime); }

/* ==========================================================================
   Abschluss / Kontakt
   ========================================================================== */
.cta {
  position: relative;
  background: linear-gradient(180deg, var(--green-800) 0, var(--green-900) clamp(60px, 9vw, 130px), var(--green-900) 100%);
  padding-block: var(--section-y);
}
.cta-panel {
  position: relative;
  border: 1px solid rgba(152, 200, 0, .3);
  border-radius: var(--r-s);
  padding: clamp(32px, 5vw, 64px);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(152, 200, 0, .10), transparent 62%),
    var(--green-800);
  overflow: hidden;
}
.cta-panel h2 { max-width: 18ch; }
.cta-panel .lead { margin-top: 6px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(26px, 3vw, 34px); }
.cta-note { margin-top: 20px; font-size: 13.5px; color: var(--ink-40); max-width: 52ch; }
.mail { color: var(--lime); text-decoration: none; font-weight: 600; }
.mail:hover { text-decoration: underline; }

/* ==========================================================================
   Fussleiste — Aufbau wie auf tjcreate.de: Markenspalte mit Kontaktknopf,
   daneben betitelte Linkspalten, darunter eine schmale Zeile.
   ========================================================================== */
.site-footer {
  background: var(--green-900);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 7vw, 72px) 0 32px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 48px);
  justify-content: space-between;
}
.footer-marke { flex: 1 1 300px; max-width: 400px; }
.footer-logo { display: inline-block; }
.footer-logo img { width: 168px; height: auto; }
.footer-claim {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-60);
  max-width: 38ch;
}
.footer-cta { margin-top: 22px; padding: 11px 20px; font-size: 14.5px; }
.footer-cta svg { width: 17px; height: 17px; }

.footer-col { display: flex; flex-direction: column; gap: 13px; align-self: flex-start; }
.footer-col-titel {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.footer-col a {
  font-size: 14.5px;
  color: var(--ink-60);
  text-decoration: none;
  transition: color .25s var(--ease);
}
.footer-col a:hover, .footer-col a[aria-current="page"] { color: var(--lime); }

.footer-bottom {
  margin-top: clamp(30px, 4vw, 44px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-40);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 620px) {
  .footer-grid { flex-direction: column; gap: 32px; }
  .footer-marke { max-width: none; }
  .footer-cta { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ==========================================================================
   Bewegung — Playbook-Signatur: 34px Weg, 0.8s, cubic-bezier(.22,1,.36,1)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-38px); }
.reveal--right { transform: translateX(38px); }
.reveal--in { transform: scale(.965); }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }
/* Der Hinweis steht nur, solange etwas bevorsteht. Nach dem Einlaufen faellt
   er mit .is-in wieder weg — ein dauerhaftes will-change haelt fuer jedes
   Element eine eigene Ebene im Speicher, und davon hat die Seite zu viele. */
.reveal:not(.is-in) { will-change: opacity, transform; }


/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 900px) {
  .loop {
    grid-template-columns: minmax(190px, 250px) minmax(0, 1fr) minmax(190px, 250px);
    grid-template-areas:
      'step2 media step3'
      'step1 media step4';
    align-items: center;
    column-gap: clamp(20px, 3vw, 48px);
  }
  .loop-media { grid-area: media; }
  .loop .step:nth-of-type(1) { grid-area: step1; }
  .loop .step:nth-of-type(2) { grid-area: step2; }
  .loop .step:nth-of-type(3) { grid-area: step3; }
  .loop .step:nth-of-type(4) { grid-area: step4; }
  .loop .step:nth-of-type(3),
  .loop .step:nth-of-type(4) { text-align: right; grid-template-columns: minmax(0, 1fr) 44px; }
  .loop .step:nth-of-type(3) .step-no,
  .loop .step:nth-of-type(4) .step-no { order: 2; }
  .loop .step:nth-of-type(3) p,
  .loop .step:nth-of-type(4) p { margin-left: auto; }
  .loop { position: relative; isolation: isolate; }
  .loop::before {
    content: '';
    position: absolute;
    inset: 6% 11%;
    z-index: -1;
    border: 1px dashed rgba(152, 200, 0, .26);
    border-radius: 50%;
    pointer-events: none;
  }
  .pull { justify-self: end; }
  .fn-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(26px, 4vw, 56px); align-items: end; }
}

@media (max-width: 899px) {
  .fn-head .pull { margin-top: 26px; padding-left: 20px; }
  .sources { max-width: 520px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--green-900);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 22px;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--t-normal) var(--ease),
                transform var(--t-normal) var(--ease),
                visibility 0s linear var(--t-normal);
  }
  .site-header.is-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity var(--t-normal) var(--ease),
                transform var(--t-normal) var(--ease),
                visibility 0s;
  }
  /* Die Punkte laufen leicht versetzt ein */
  .nav a {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity var(--t-normal) var(--ease),
                transform var(--t-normal) var(--ease),
                color var(--t-schnell) var(--ease);
  }
  .site-header.is-open .nav a { opacity: 1; transform: none; }
  .site-header.is-open .nav a:nth-child(1) { transition-delay: .05s; }
  .site-header.is-open .nav a:nth-child(2) { transition-delay: .10s; }
  .site-header.is-open .nav a:nth-child(3) { transition-delay: .15s; }
  .site-header.is-open .nav a:nth-child(4) { transition-delay: .20s; }
  .site-header.is-open .nav a:nth-child(5) { transition-delay: .25s; }
  .site-header.is-open { background: rgba(2, 56, 35, .97); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a::after { display: none; }
  .header-cta { display: none; }
  /* Der Knopf schliesst das Menue ab. Zwei Klassen schlagen die Regel
     ".nav a" darueber, sonst zoege der Navigationstext die Knopffarbe weg. */
  .nav .nav-cta {
    display: flex;
    justify-content: center;
    margin-top: 18px;
    padding: 14px 20px;
    border-bottom: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--green-900);
  }
  .brand { width: 148px; height: 56px; }
  .site-header.is-scrolled .brand { width: 126px; height: 47px; }

  .bed-media img { object-position: 60% 50%; }
  .bed-media::after,
  .bed--flip .bed-media::after {
    background: linear-gradient(180deg, rgba(2, 56, 35, .90) 0%, rgba(2, 56, 35, .84) 45%, rgba(2, 56, 35, .95) 100%);
  }
  .hero .bed-media::after {
    background: linear-gradient(180deg, rgba(2, 56, 35, .80) 0%, rgba(2, 56, 35, .58) 40%, rgba(2, 56, 35, .94) 100%);
  }
  .bed-body, .bed--flip .bed-body { max-width: none; margin-left: 0; }
  h1, h2 { max-width: 20ch; }
}

@media (max-width: 620px) {
  .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
  .quote { padding: 20px 20px 20px 54px; }
  .hero { min-height: auto; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 360px) {
  .brand { width: 126px; height: 48px; }
  .site-header.is-scrolled .brand { width: 110px; height: 41px; }
  .pains { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Rechtsseiten (Impressum, Datenschutz)
   Bewusst ruhig gehalten: gleiche Marke, aber keine Bildbetten und keine
   Bewegung — der Text muss lesbar und zitierfaehig sein.
   ========================================================================== */
.legal { padding-block: calc(var(--section-y) + 66px) var(--section-y); background: var(--green-800); }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 4.4vw, 46px); max-width: 20ch; }
.legal h2 {
  font-size: clamp(19px, 1.9vw, 23px);
  max-width: 32ch;
  margin-top: clamp(38px, 4.6vw, 58px);
  margin-bottom: 12px;
}
.legal h3 {
  font-size: 16px;
  margin-top: clamp(22px, 2.4vw, 30px);
  margin-bottom: 6px;
  color: var(--lime);
}
.legal p, .legal li { max-width: 68ch; }
.legal p + p { margin-top: 12px; }
.legal ul { margin-top: 10px; display: grid; gap: 8px; }
.legal ul li { position: relative; padding-left: 20px; }
.legal ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
.legal a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--lime-bright); }
.legal .lead { margin-top: 4px; }

/* Anschrift, Registerangaben usw. */
.legal-facts { display: grid; gap: 4px; margin-top: 12px; }
.legal-facts div { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 8px 20px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.legal-facts dt { color: var(--ink-60); font-size: 14px; }
.legal-facts dd { color: var(--ink); }

.legal-note {
  margin-top: clamp(34px, 4vw, 48px);
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--lime);
  border-radius: var(--r-s);
  background: rgba(255, 255, 255, .04);
  font-size: 14.5px;
  color: var(--ink-80);
}
.legal-updated { margin-top: clamp(30px, 3.4vw, 40px); font-size: 13.5px; color: var(--ink-40); }

@media (max-width: 620px) {
  .legal-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* Unausgefuelltes Pflichtfeld — muss beim Ueberfliegen sofort auffallen. */
.todo {
  display: inline-block;
  padding: 1px 9px;
  border: 1px dashed var(--lime);
  border-radius: var(--r-s);
  font-size: 13px;
  color: var(--lime);
  white-space: nowrap;
}
.legal-note code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .09);
}

/* ==========================================================================
   Gruenfilter auf Fotos
   Duotone ueber Blend-Modi statt ueber zusaetzliche Bilddateien: Graustufe als
   Basis, Markengruen in die Tiefen, Lime in die Lichter. Staerke ueber
   --tone-lime steuerbar.
   ========================================================================== */
.tone {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-s);
  isolation: isolate;
  background: var(--green-900);
  --tone-lime: .55;
}
.tone > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(.92);
}
.tone::before,
.tone::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tone::before { background: var(--green-700); mix-blend-mode: lighten; }
.tone::after { background: var(--lime); mix-blend-mode: multiply; opacity: var(--tone-lime); }
.tone--strong { --tone-lime: .70; }
.tone--soft { --tone-lime: .38; }

/* Kleines Stilelement: Lime-Ecken an Bildpaneelen */
.tone--ticked { border-radius: 0; }
.tone--ticked::before {
  z-index: 2;
  background: none;
  mix-blend-mode: normal;
  border-top: 2px solid var(--lime);
  border-left: 2px solid var(--lime);
  inset: 0 auto auto 0;
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   Baender und Rhythmuswechsel
   ========================================================================== */
.band {
  background: var(--green-900);
  border-block: 1px solid var(--line);
  padding-block: 18px;
  overflow: hidden;
}
.band-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--ink-60);
  white-space: nowrap;
}
.band-inner .sep { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); flex: 0 0 auto; }

/* Zweispalter mit Bildpaneel — bricht den Rhythmus der Vollbildbetten */
.split {
  display: grid;
  gap: clamp(28px, 4.4vw, 64px);
  align-items: center;
}
.split-media { position: relative; }
.split-media .tone { aspect-ratio: 4 / 5; }
.split--wide .split-media .tone { aspect-ratio: 3 / 2; }

/* ==========================================================================
   Vorher / Nachher — das staerkste Verkaufsbild der Seite
   ========================================================================== */
.compare { display: grid; gap: clamp(18px, 2.6vw, 30px); margin-top: clamp(34px, 4.4vw, 56px); }
.compare-col { padding: clamp(22px, 2.6vw, 30px) 0 0; border-top: 1px solid var(--line); }
.compare-col h3 { font-size: clamp(19px, 2vw, 24px); margin-bottom: 4px; }
.compare-col .kicker { font-size: 12px; letter-spacing: .2em; margin-bottom: 14px; display: block; }
.compare-before { opacity: .78; }
.compare-before .kicker { color: var(--ink-40); }
.compare-before h3 { color: var(--ink-60); }
.compare-after { border-top: 2px solid var(--lime); }
.compare-after .kicker { color: var(--lime); }
.compare-list { margin-top: 16px; display: grid; gap: 10px; }
.compare-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14.5px; }
.compare-list li span { line-height: 1.5; }
.compare-list svg { width: 20px; height: 20px; margin-top: 2px; }
.compare-before .compare-list { color: var(--ink-60); }
.compare-before .compare-list svg { color: var(--ink-40); }
.compare-after .compare-list svg { color: var(--lime); }

/* ==========================================================================
   Produktabbildung mit Beschriftungen
   ========================================================================== */
.showcase { position: relative; margin-top: clamp(34px, 4.6vw, 60px); }
.showcase-img { position: relative; z-index: 1; }
.showcase-img img { width: 100%; height: auto; }
.showcase-img img.ist-da { filter: drop-shadow(0 40px 90px rgba(0, 0, 0, .6)); }
.callouts { display: grid; gap: 14px; margin-top: 26px; }
.callout-item { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; align-items: start; }
.callout-item .n {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(152, 200, 0, .55);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 600; color: var(--lime);
}
.callout-item h3 { font-size: 15px; margin-bottom: 2px; }
.callout-item p { font-size: 13.5px; line-height: 1.5; color: var(--ink-60); }

/* ==========================================================================
   Faehigkeiten als Reihe statt als Liste
   ========================================================================== */
.caps-row { display: grid; gap: clamp(20px, 2.6vw, 32px); margin-top: clamp(32px, 4vw, 52px); }
.caps-row article { border-top: 1px solid var(--line); padding-top: 18px; }
.caps-row .n { font-size: 12px; letter-spacing: .16em; color: var(--lime); }
.caps-row h3 { margin: 8px 0 6px; }
.caps-row p { font-size: 13.5px; line-height: 1.55; color: var(--ink-60); }

/* ==========================================================================
   Vertrauensband, Team, FAQ
   ========================================================================== */
.trust { display: grid; gap: clamp(20px, 3vw, 38px); margin-top: clamp(28px, 3.4vw, 40px); }
.trust article { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: start; }
.trust svg { width: 26px; height: 26px; color: var(--lime); margin-top: 2px; }
.trust h3 { font-size: 15px; margin-bottom: 4px; }
.trust p { font-size: 13.5px; line-height: 1.55; color: var(--ink-60); }

.people { display: grid; gap: clamp(20px, 2.6vw, 34px); margin-top: clamp(30px, 3.6vw, 44px); }
.person { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; align-items: center; }
.person .portrait {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(152, 200, 0, .5);
}
.person h3 { font-size: 16px; }
.person p { font-size: 13px; color: var(--ink-60); }

.faq { margin-top: clamp(30px, 3.6vw, 44px); max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-size: clamp(15.5px, 1.5vw, 17px); font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; margin-left: auto; flex: 0 0 auto;
  width: 11px; height: 11px;
  border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }

@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size .38s var(--ease), content-visibility .38s allow-discrete;
  }
  .faq details[open]::details-content { block-size: auto; }
}
.faq details p { padding: 0 0 22px; color: var(--ink-80); font-size: 15px; }
.faq details p + p { margin-top: 10px; }

/* Ehrliche Strukturzahlen statt erfundener Kennzahlen */
.figures { display: grid; gap: clamp(20px, 3vw, 40px); margin-top: clamp(30px, 3.6vw, 44px); }
.figure .v { font-size: clamp(38px, 5vw, 60px); font-weight: 600; line-height: 1; color: var(--lime); letter-spacing: -.03em; }
.figure .k { display: block; margin-top: 10px; font-size: 14px; color: var(--ink-60); max-width: 24ch; }

@media (min-width: 760px) {
  .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .caps-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .callouts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 30px; }
}
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); }
  .split--media-right { grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); }
  .split--media-right .split-media { order: 2; }
}
@media (max-width: 759px) {
  .caps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Unterseiten
   ========================================================================== */
.page-head {
  padding-block: calc(var(--section-y) + 46px) clamp(28px, 4vw, 52px);
  background: var(--green-800);
}
.page-head h1 { max-width: 18ch; }
.page-head .chapter-no { margin-bottom: clamp(12px, 1.6vw, 18px); }

/* Weiterfuehrender Verweis am Abschnittsende */
.section-more { margin-top: clamp(28px, 3.4vw, 42px); max-width: none; }
.section-more a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--lime);
  text-decoration: none;
}
.section-more a svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.section-more a:hover svg { transform: translateX(4px); }

/* Funktionsblock auf der Produktseite */
.cap-block { display: grid; gap: clamp(18px, 3vw, 48px); }
@media (min-width: 900px) {
  .cap-block { grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); align-items: start; }
}

/* Ablauf ohne Geraeteabbildung in der Mitte */
@media (min-width: 900px) {
  .loop--plain {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas: none;
    column-gap: clamp(20px, 3vw, 40px);
  }
  .loop--plain::before { content: none; }
  .loop--plain .step { grid-area: auto !important; text-align: left !important; grid-template-columns: 44px minmax(0, 1fr) !important; }
  .loop--plain .step .step-no { order: 0 !important; }
  .loop--plain .step p { margin-left: 0 !important; }
}

/* ==========================================================================
   Atmosphaere — die Flaechen sollen nicht leer wirken
   ========================================================================== */

/* Grosse Bildmarke als Wasserzeichen auf Abschnitten ohne Foto */
.bed--flat, .bed--deep, .cta { position: relative; }
.bed--flat > .wrap, .bed--deep > .wrap, .cta > .wrap { position: relative; z-index: 1; }
.has-mark::before {
  content: '';
  position: absolute;
  right: -6%;
  top: 50%;
  translate: 0 -50%;
  width: min(46vw, 620px);
  aspect-ratio: 1166 / 1234;
  background: url(/assets/ackermind/brand/mark-hell-700.webp) center / contain no-repeat;
  opacity: .045;
  pointer-events: none;
  z-index: 0;
}
.has-mark--left::before { right: auto; left: -10%; opacity: .04; }

/* Weicher Lichtschein, damit dunkle Baender Tiefe bekommen */
.glow::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(80% 70% at 78% 12%, rgba(152, 200, 0, .09), transparent 62%);
}

/* Schmales Texturband zwischen zwei Kapiteln */
.strip {
  position: relative;
  height: clamp(120px, 16vw, 220px);
  overflow: hidden;
  isolation: isolate;
}
.strip img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--green-800) 0%, rgba(2, 56, 35, .42) 30%, rgba(2, 56, 35, .42) 66%, var(--green-800) 100%);
}
.strip-label {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 0 var(--gutter) clamp(14px, 2vw, 22px);
  max-width: var(--maxw);
  margin-inline: auto;
  font-size: clamp(12px, 1.1vw, 13.5px);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-60);
}

/* Abschlussflaeche mit Motiv statt einfarbigem Grund */
.cta--bild { isolation: isolate; overflow: hidden; }
.cta-media { position: absolute; inset: 0; z-index: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.cta-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--green-800) 0%, rgba(1, 28, 17, .88) 16%, rgba(1, 28, 17, .93) 55%, var(--green-900) 100%);
}

/* ==========================================================================
   Seitenwechsel — Blende in Markengruen, kurz verzoegert
   Muster wie der Seitenuebergang der FDP-Seite. Das Wegblenden beim Ankommen
   macht reines CSS, damit ohne JavaScript nichts haengenbleibt und kein
   Inline-Script noetig ist (script-src bleibt strikt). Das Zublenden beim
   Verlassen uebernimmt script.js.
   ========================================================================== */
.blende {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--green-800);
  pointer-events: none;
  opacity: 1;
  animation: blende-weg .16s var(--ease) both;
}
@keyframes blende-weg {
  from { opacity: 1; visibility: visible; }
  to { opacity: 0; visibility: hidden; }
}

/* Kein weisser Aufblitzer zwischen zwei dunklen Seiten */
html { background: var(--green-800); color-scheme: dark; }

@media (prefers-reduced-motion: reduce) {
  .blende, }

/* Urheberzeile ganz rechts in der Fusszeile */
.footer-made { color: var(--ink-40); }
.footer-made a {
  color: var(--ink-60);
  text-decoration: none;
  border-bottom: 1px solid rgba(152, 200, 0, .45);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.footer-made a:hover { color: var(--lime); border-color: var(--lime); }
@media (min-width: 621px) {
  .footer-bottom { justify-content: flex-start; gap: 10px 28px; }
  .footer-bottom .footer-made { margin-left: auto; }
}

/* Naht Hero → erstes Kapitel: kurzer Weg statt leerem Feld.
   Vorher standen rund 250px fast leeres Gruen dazwischen, das las sich als
   Luecke und nicht als Uebergang. */
.hero { padding-bottom: clamp(26px, 4vw, 54px); }
.hero + .bed { padding-top: clamp(38px, 5.5vw, 76px); }

/* ==========================================================================
   Bewegungs-Feinschliff
   Eine Kurve, drei Zeitstufen, ueberall dieselbe Handschrift.
   ========================================================================== */
a, button, summary, .cap, .callout-item, .person, .source, .pain { transition-timing-function: var(--ease); }

/* Nachvollziehbares Anfassgefuehl auf Knoepfen */
.btn:active { transform: translateY(0) scale(.985); transition-duration: .08s; }

/* Kopfzeilenpunkte */
.nav a::after { transition: transform var(--t-normal) var(--ease); }

/* Produktabbildung hebt sich leicht, wenn man sie ansieht */
.showcase-img img,
.loop-media img { transition: transform var(--t-lang) var(--ease), filter var(--t-lang) var(--ease); }
.showcase-img:hover img,
.loop-media:hover img { transform: translateY(-6px); }

/* Bildpaneele mit Gruenfilter atmen beim Ueberfahren */
.tone > img { transition: transform var(--t-lang) var(--ease), filter var(--t-lang) var(--ease); }
.tone:hover > img { transform: scale(1.03); }

/* Aufzaehlungen und Personen reagieren dezent */
.source, .person, .callout-item { transition: transform var(--t-normal) var(--ease); }
.source:hover, .person:hover { transform: translateX(3px); }

/* Symbole in den Problemkacheln */
.pain img { transition: transform var(--t-normal) var(--ease); }
.pain:hover img { transform: translateY(-3px) scale(1.06); }

/* Aufklappen: der Pfeil dreht mit derselben Kurve wie der Inhalt */
.faq summary::after { transition: transform var(--t-normal) var(--ease); }
.faq summary { transition: color var(--t-schnell) var(--ease); }
.faq summary:hover { color: var(--lime); }

/* Zurueck nach oben */
.to-top {
  transition: opacity var(--t-normal) var(--ease), transform var(--t-normal) var(--ease),
              visibility var(--t-normal), background-color var(--t-schnell) var(--ease),
              color var(--t-schnell) var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .showcase-img:hover img, .loop-media:hover img,
  .tone:hover > img, .source:hover, .person:hover, .pain:hover img { transform: none; }
}

/* Seitenkopf mit Motiv — Unterseiten sollen nicht als leere Flaeche starten */
.page-head--bild {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: calc(var(--section-y) + 70px) clamp(44px, 6vw, 86px);
}
.page-head--bild .bed-media { position: absolute; inset: 0; z-index: -2; }
.page-head--bild .bed-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; }
.page-head--bild .bed-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 56, 35, .72) 0%, rgba(2, 56, 35, .34) 40%, var(--green-800) 96%),
    linear-gradient(95deg, var(--green-800) 0%, var(--green-800) 30%, rgba(2, 56, 35, .9) 46%,
      rgba(2, 56, 35, .4) 64%, rgba(2, 56, 35, .06) 84%);
}
.page-head--bild .wrap { position: relative; z-index: 1; }

/* 404 — eigene Regel statt style-Attribut, damit style-src streng bleiben kann */
.seite-404 { padding-block: calc(var(--section-y) + 66px) var(--section-y); }
.seite-404 .goals { margin-top: clamp(26px, 3.4vw, 40px); }

/* ==========================================================================
   Mobil — Tippziele und Kleinschrift
   Gemessen bei 390px: Fusszeilenlinks kamen auf 24px Hoehe, Mail-Verweise auf
   19px, Kleinlabels auf 11px. Beides zu wenig fuer den Daumen und zu klein
   auf Armlaenge im Traktor.
   ========================================================================== */
@media (max-width: 860px) {
  .footer-col { gap: 2px; }
  .footer-col a {
    padding-block: 9px;
    min-height: 42px;
    display: flex;
    align-items: center;
  }
  .footer-col-titel { font-size: 12px; margin-bottom: 4px; }

  .mail,
  .cta-note a,
  .legal a {
    display: inline-block;
    padding-block: 6px;
    min-height: 34px;
  }
  .legal-facts dd .mail { padding-block: 4px; }

  .hero-eyebrow,
  .strip-label,
  .compare-col .kicker { font-size: 13px; }

  .footer-bottom { font-size: 13.5px; line-height: 1.7; }
  .footer-made a { display: inline-block; padding-block: 8px; min-height: 34px; }
  .hero-actions .btn, .cta-actions .btn { min-height: 48px; }

  /* Der Zurueck-nach-oben-Knopf darf den Daumen nicht verfehlen */
  .to-top { width: 50px; height: 50px; }
}

@media (max-width: 620px) {
  /* Aufklappzeilen brauchen genug Hoehe zum Treffen */
  .faq summary { padding-block: 18px; }
  .goal { padding-block: 13px; }
  .btn { padding: 15px 24px; }
}

/* Die fuenf Bereiche als ruhige Zeile unter den Knoepfen. Kein Laufband,
   nichts bewegt sich — der Hero soll damit sagen, worum es geht, statt nur
   Flaeche zu sein. */
.hero-bereiche {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: clamp(28px, 3.4vw, 40px);
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px solid rgba(255, 255, 255, .16);
  max-width: 800px;
  font-size: clamp(12.5px, 1vw, 14px);
  letter-spacing: .04em;
  color: var(--ink-60);
}
.hero-bereiche li { display: flex; align-items: center; gap: 18px; }
.hero-bereiche li:not(:last-child)::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  flex: 0 0 auto;
}
/* Zwischen Tablet und Desktop wird es eng: bei 744px blieben nur 6 Prozent
   Spielraum, und schon eine leicht breitere Schriftdarstellung auf einem
   echten Geraet hat die Zeile umbrechen lassen. Hier deshalb enger setzen. */
@media (max-width: 1100px) {
  .hero-bereiche { gap: 8px 13px; font-size: 12.5px; }
  .hero-bereiche li { gap: 13px; }
}

/* Unter 760px passt es nicht mehr in eine Reihe. Statt es umbrechen zu lassen —
   dann haengen die Trennpunkte am Zeilenende — wird daraus bewusst ein Raster
   mit vorangestelltem Punkt. */
@media (max-width: 760px) {
  .hero-bereiche {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
    max-width: 460px;
  }
  .hero-bereiche li { gap: 10px; }
  .hero-bereiche li::after { content: none; }
  .hero-bereiche li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--lime);
    flex: 0 0 auto;
  }
}

@media (max-width: 380px) {
  .hero-bereiche { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* ==========================================================================
   Beruehrgeraete: billigere Schatten
   Steht bewusst ganz am Ende. Die Ausgangsregeln stehen ueber die Datei
   verteilt, teils weiter unten als der Rest der Breakpoints — eine Ausnahme
   weiter oben haette .showcase-img nicht erreicht.
   ========================================================================== */
/* Grosse drop-shadows sind auf dem iPhone teuer: der Schatten wird bei jedem
   Bild neu gerastert, waehrend daneben eine Einblendung laeuft — das ist das
   Hakeln beim Scrollen. Die Kosten haengen am Weichzeichnerradius, nicht am
   Schatten selbst, deshalb bleibt er auf Beruehrgeraeten erhalten und wird nur
   klein. box-shadow waere billiger, scheidet aber aus: die Bilder sind
   freigestellt, ein Rechteckschatten stuende sichtbar daneben.
   Gleiche Begruendung wie beim backdrop-filter der Kopfleiste weiter oben. */
@media (hover: none), (pointer: coarse) {
  .loop-media img.ist-da { filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .45)); }
  .showcase-img img.ist-da { filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .55)); }
}
