/* The Last Diet · Website thelastdiet.de
   Mobile first: Grundregeln gelten fürs Handy, größere Bildschirme ganz unten. */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Farben aus dem Brand-Guide */
  --bg: #10141A;
  --surface: #1A2029;
  --surface-2: #212833;
  --line: #2A323D;
  --text: #EEF0F2;
  --muted: #A9B1BC;
  --gold: #D6A953;
  --on-gold: #10141A;
  --ph: #E5484D; /* nur Platzhalter-Markierung, kein Teil des Designs */

  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Barlow", system-ui, sans-serif;

  --gutter: 20px;
  --wrap: 1180px;
  --topbar: 68px;
  --stickybar: 80px;
  --section: clamp(72px, 16vw, 150px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--topbar); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--stickybar) + env(safe-area-inset-bottom));
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

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

/* ---------- Typografie ---------- */
.label {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font: 600 0.9375rem/1 var(--sans);
  color: var(--gold);
}
.label::before { content: ""; width: 28px; height: 2px; background: var(--gold); }

.h2 {
  margin: 0;
  font: 800 clamp(2.6rem, 12.5vw, 5.6rem)/0.92 var(--cond);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.lead { margin: 18px 0 0; max-width: 34ch; color: var(--muted); }

/* ---------- Fortschrittsbalken ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span {
  display: block; height: 100%; background: var(--gold);
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Kopfbereich ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--topbar);
  display: flex; align-items: center;
  padding-inline: var(--gutter);
  background: rgba(16, 20, 26, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.topbar.is-scrolled { border-bottom-color: var(--line); }
.topbar-logo { display: block; }
.topbar-logo img { height: 54px; width: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 28px;
  border-radius: 999px;
  background: var(--gold); color: var(--on-gold);
  font: 700 1.25rem/1 var(--cond);
  letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}
.btn:hover { background: #E2B865; }
.btn:active { transform: scale(0.98); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 1.0625rem; }

/* ---------- 1. Hero ---------- */
.hero { padding: calc(var(--topbar) + 18px) 0 var(--section); }
.hero .label { margin-bottom: 12px; }
.hero-title {
  margin: 0;
  font: 800 clamp(2.4rem, 11.2vw, 6.25rem)/0.88 var(--cond);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
/* Highlight auf "letzte": Variante per data-highlight am h1 */
.hero-title[data-highlight="gold"] .hl { color: var(--gold); }
.hero-title[data-highlight="linie"] .hl {
  text-decoration: underline var(--gold);
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.07em;
  text-decoration-skip-ink: none;
}
.hero-sub { margin: 12px 0 0; max-width: 46ch; color: var(--muted); font-size: 1rem; line-height: 1.5; }

.video { margin: 32px calc(var(--gutter) * -0.4) 0; }
.video[hidden] { display: none; }
.video-box {
  --format: 4/5;
  position: relative;
  aspect-ratio: var(--format);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
}
.video-box::after { /* leichter Verlauf unten, damit das Play-Symbol ruhig wirkt */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(16, 20, 26, 0.55), transparent 45%);
}
.video-poster, .video-box video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-box.is-playing::after { display: none; }
.video-play {
  position: absolute; z-index: 2; left: 50%; top: 50%;
  width: 84px; height: 84px; margin: -42px 0 0 -42px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--gold); color: var(--on-gold);
  cursor: pointer;
  box-shadow: 0 0 0 10px rgba(214, 169, 83, 0.22);
  transition: transform 0.25s, box-shadow 0.25s;
}
.video-play svg { width: 34px; height: 34px; margin-left: 4px; fill: currentColor; }
.video-play:hover { transform: scale(1.05); box-shadow: 0 0 0 14px rgba(214, 169, 83, 0.18); }
.video-soon {
  position: absolute; z-index: 2; left: 50%; bottom: 20px; transform: translateX(-50%);
  margin: 0; padding: 8px 16px; white-space: nowrap;
  border-radius: 999px; background: rgba(16, 20, 26, 0.85);
  font-size: 0.9375rem;
}
.video figcaption { margin-top: 12px; padding-inline: calc(var(--gutter) * 0.4); color: var(--muted); font-size: 0.9375rem; }

.cta { margin-top: 24px; }
/* Handy: gleich breit wie der Button in der festen Leiste, damit der Text in eine Zeile passt */
.cta .btn {
  width: calc(100% + 2 * (var(--gutter) - 12px)); margin-inline: calc(12px - var(--gutter));
  padding-inline: 12px; font-size: clamp(1rem, 4.6vw, 1.25rem); letter-spacing: 0.03em; white-space: nowrap;
}
.cta-note { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: 0.9375rem; }

/* ---------- Vorher / Nachher im Hero (Laufband) ---------- */
/* Die Bildhöhe richtet sich nach der Bildschirmhöhe, damit Headline und Karten
   zusammen auf den ersten Bildschirm passen. Breite der Karte ergibt sich daraus (Bilder 9:16). */
.slider {
  --bild-h: clamp(150px, 31vh, 300px);
  --abstand: 12px;
  margin-top: 22px;
}
/* svh: sichtbare Höhe auf dem Handy, ohne Browserleisten (neuere Browser) */
@supports (height: 1svh) {
  .slider { --bild-h: clamp(150px, 31svh, 300px); }
}
.slider-track {
  display: flex;
  margin: 0; padding: 0 var(--gutter) 4px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { outline-offset: -2px; }

.case {
  flex: 0 0 auto;
  width: calc(var(--bild-h) * 9 / 8 + 2px);
  margin-right: var(--abstand);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}
.case-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--bg); }
.case-pair figure { position: relative; margin: 0; aspect-ratio: 9/16; background: var(--surface-2); }
/* Bild füllt die Kachel ganz aus. Oben bleibt immer stehen (Kopf), abgeschnitten wird unten oder seitlich */
.case-pair img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.tag {
  position: absolute; left: 6px; bottom: 6px;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(16, 20, 26, 0.82);
  font: 600 0.75rem/1.2 var(--sans);
}
.case-pair figure:last-child .tag { background: var(--gold); color: var(--on-gold); }

/* Karte unten: groß "−40 kg", darunter Name, Zeitraum, Beruf */
.case-body { flex: 1; padding: 12px 14px 14px; }
.case-minus { margin: 0; display: flex; align-items: baseline; gap: 4px; color: var(--gold); }
.case-minus b { font: 800 calc(var(--bild-h) * 0.27)/0.8 var(--cond); letter-spacing: -0.02em; }
.case-minus span { font: 800 calc(var(--bild-h) * 0.12)/0.8 var(--cond); text-transform: uppercase; }
.case-who { margin: 8px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.case-who strong { font: 700 1.125rem/1.2 var(--cond); text-transform: uppercase; letter-spacing: 0.02em; }
.case-time { color: var(--text); font-size: 0.875rem; }
.case-job {
  flex-basis: 100%; color: var(--muted); font-size: 0.8125rem; line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Laufband: nur wenn "Bewegung reduzieren" NICHT eingeschaltet ist */
@media (prefers-reduced-motion: no-preference) {
  .slider { overflow: hidden; padding-left: var(--gutter); }
  .slider-track {
    width: max-content; padding: 0 0 4px;
    overflow: visible; scroll-snap-type: none;
    animation: laufband var(--dauer, 60s) linear infinite;
  }
  .slider.is-paused .slider-track,
  .slider-track:focus-within,
  .slider-track:focus-visible { animation-play-state: paused; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .slider:hover .slider-track { animation-play-state: paused; }
}
/* Die zweite Reihe Karten ist nur fürs endlose Laufband da */
@media (prefers-reduced-motion: reduce) {
  [data-kopie] { display: none !important; }
}
@keyframes laufband { to { transform: translateX(-50%); } }


/* ---------- Platzhalter (nur Arbeitsmarkierung) ---------- */
.ph { outline: 2px dashed var(--ph); outline-offset: 2px; color: var(--ph) !important; }
.ph-img {
  position: absolute; inset: 10px;
  display: grid; place-items: center; padding: 12px; text-align: center;
  border: 2px dashed var(--ph); border-radius: 12px;
  color: var(--ph); font: 600 0.875rem/1.35 var(--sans);
}

/* ---------- Allgemein für die Abschnitte ab 3 ---------- */
.section { padding: var(--section) 0; }
.section--tint { background: var(--surface); }
.section--tight { padding: calc(var(--section) * 0.6) 0; }
.h3 { margin: 0; font: 700 1.5rem/1.1 var(--cond); text-transform: uppercase; letter-spacing: 0.01em; }
.photo { position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: var(--surface-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-tag {
  position: absolute; left: 12px; bottom: 12px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(16, 20, 26, 0.85);
  font: 600 0.875rem/1.2 var(--sans);
}
.br-handy { display: inline; }

/* ---------- 3. Zahlen (Handy 2 x 3, Computer 3 x 2, feine Linien statt Karten) ---------- */
.hero { padding-bottom: calc(var(--section) * 0.45); }
.facts { padding: 0 0 calc(var(--section) * 0.45); }
.facts-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  margin: 0; background: var(--line);
}
.fact { background: var(--bg); padding: 16px 12px 16px 16px; }
.fact:nth-child(odd) { padding-left: 0; }
.fact-num {
  font: 800 clamp(1.75rem, 8.2vw, 3.5rem)/0.92 var(--cond);
  text-transform: uppercase; letter-spacing: -0.01em; color: var(--gold);
}
.fact dd { margin: 8px 0 0; color: var(--muted); font-size: 0.875rem; line-height: 1.4; }

/* ---------- 4. So funktioniert dein Coaching ---------- */
/* Marc von der Seite: gleiche Karte wie im Laufband, nur breiter */
.steps-case { --bild-h: 290px; width: 100%; max-width: 420px; margin: 28px 0 0; background: var(--surface-2); }
/* Diashow: alle Folien liegen übereinander, die aktive wird sanft eingeblendet */
.steps-case .case-pair figure { aspect-ratio: 1/2; } /* länger als die anderen Kacheln, Bilder sind genau so zugeschnitten */
.show { display: grid; }
/* Wechsel nacheinander: alte Folie blendet in 0,3 s aus, erst danach blendet die neue in 0,3 s ein (nie zwei halb sichtbar) */
.show-slide { grid-area: 1 / 1; display: flex; flex-direction: column; opacity: 0; transition: opacity 0.3s ease; }
.show-slide.is-active { opacity: 1; transition-delay: 0.3s; }
.show-slide .case-body { background: var(--surface-2); }
.steps { list-style: none; margin: 40px 0 0; padding: 0; }
.step { position: relative; padding: 0 0 36px 68px; }
.step:last-child { padding-bottom: 0; }
/* senkrechte Linie zwischen den Nummern */
.step::before {
  content: ""; position: absolute; left: 22px; top: 52px; bottom: 8px;
  width: 1px; background: var(--line);
}
.step:last-child::before { display: none; }
.step-num {
  position: absolute; left: 0; top: 0;
  width: 46px; text-align: center;
  font: 800 2.5rem/1 var(--cond); color: var(--gold);
}
.step .h3 { padding-top: 6px; }
.step p { margin: 10px 0 0; color: var(--muted); }

/* ---------- 5. Gedans Fettweg-Methode ---------- */
/* Handy: Karten untereinander, damit alle fünf Buchstaben sofort zu sehen sind */
.phases {
  display: grid; gap: 12px;
  list-style: none; margin: 36px auto 0; padding: 0 var(--gutter);
  max-width: var(--wrap);
}
.phase {
  padding: 28px 22px 28px; border-radius: 20px; background: var(--surface);
  text-align: center;
}
.phase-letter { display: block; font: 800 5.5rem/0.8 var(--cond); color: var(--gold); }
.phase .h3 { margin-top: 20px; }
.phase p { margin: 10px auto 0; max-width: 36ch; color: var(--muted); font-size: 0.9375rem; line-height: 1.55; }
.core {
  margin: 48px 0 0; max-width: 22ch;
  font: 800 clamp(1.9rem, 8vw, 4rem)/1 var(--cond); text-transform: uppercase;
  color: var(--muted); text-wrap: balance;
}
.core span { color: var(--text); }

/* ---------- 6. Über Kay ---------- */
.about-photo { width: min(100%, 280px); aspect-ratio: 9/20; margin: 0 auto 36px; }
.quote {
  position: relative; margin: 28px 0 0; padding: 40px 24px 26px;
  border-radius: 20px; background: var(--surface-2);
}
/* „ sitzt unten auf der Grundlinie, deshalb weit nach oben geschoben */
.quote::before {
  content: "„"; position: absolute; left: 20px; top: -46px;
  font: 800 5rem/1 var(--cond); color: var(--gold);
}
.quote p { margin: 0 0 14px; font-size: 1.0625rem; }
.quote strong { color: var(--gold); font-weight: 700; }
.quote footer { margin-top: 18px; font: 700 1.125rem/1 var(--cond); text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }

/* ---------- 7. Ihre Ergebnisse im Detail ---------- */
.stories { display: grid; gap: 16px; margin-top: 32px; }
/* align-content: start = ist eine Karte höher als ihr Inhalt (Nachbarkarte mit längerem Zitat),
   bleibt der freie Platz unten und nicht zwischen Bild und Zitat */
.story { --bild-h: 240px; border-radius: 20px; background: var(--surface); overflow: hidden; display: grid; align-content: start; }
.story-body { padding: 20px 20px 24px; }
.story-minus b { font-size: clamp(3.2rem, 14vw, 4.25rem); }
.story-minus span { font-size: clamp(1.4rem, 6vw, 1.875rem); }
.story-name { margin: 12px 0 0; font: 700 1.5rem/1.1 var(--cond); text-transform: uppercase; letter-spacing: 0.02em; }
.story-facts { margin: 4px 0 0; color: var(--muted); font-size: 0.9375rem; }
.story-quote { grid-column: 1 / -1; margin: 0 20px 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.story-quote p { margin: 0; font-style: italic; }
.story-quote p + p { margin-top: 12px; }
/* Kays eigenes Vorher/Nachher (vorne und Side-Chest) unter "Über Kay". Bilder im Format 2:5 */
.kay-story { margin-top: 16px; background: var(--surface-2); }
.kay-pairs { display: grid; gap: 2px; background: var(--bg); }
.kay-story .case-pair figure { aspect-ratio: 2/5; }
.kay-story .story-name { font-size: 1.25rem; }

/* ---------- 8. Was im Coaching enthalten ist ---------- */
.included { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.included li { display: flex; gap: 14px; padding: 20px; border-radius: 14px; background: var(--surface-2); }
.check { flex: 0 0 24px; width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.included h3 { margin: 0; font: 700 1.25rem/1.15 var(--cond); text-transform: uppercase; letter-spacing: 0.02em; }
.included p { margin: 6px 0 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
/* Garantie: goldener Verlauf, kräftiger Rahmen und Siegel statt Häkchen */
.included .included-guarantee {
  align-items: center; gap: 18px; padding: 24px 22px;
  border: 2px solid var(--gold);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(214, 169, 83, 0.22), rgba(214, 169, 83, 0.05) 60%, rgba(214, 169, 83, 0.02)),
    var(--surface-2);
  box-shadow: 0 0 0 4px rgba(214, 169, 83, 0.08);
}
.seal { flex: 0 0 56px; width: 56px; height: 56px; align-self: flex-start; }
.seal circle:first-child { fill: var(--gold); }
.seal-ring { fill: none; stroke: var(--on-gold); stroke-width: 1.2; opacity: 0.45; }
.seal-star { fill: var(--on-gold); }
.included-guarantee h3 { color: var(--gold); font-size: 1.5rem; }
.included-guarantee p { color: var(--text); }
.included-guarantee p + p { color: var(--muted); }

/* ---------- 9. Für wen ---------- */
.fit { display: grid; gap: 36px; margin-top: 32px; }
.fit h3 { margin: 0 0 8px; font: 700 1.375rem/1.15 var(--cond); text-transform: uppercase; letter-spacing: 0.02em; }
.fit ul { list-style: none; margin: 0; padding: 0; }
.fit li { position: relative; padding: 14px 0 14px 36px; border-bottom: 1px solid var(--line); }
.fit li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 22px; height: 22px;
  background: no-repeat center / contain;
}
.fit-col--yes li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D6A953' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.fit-col--no li { color: var(--muted); }
.fit-col--no li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9B1BC' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }

/* ---------- 10. Häufige Fragen ---------- */
.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 0;
  font: 600 1.0625rem/1.35 var(--sans);
  list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
/* Plus, das sich beim Öffnen zum Minus dreht */
.faq summary::after {
  content: ""; flex: 0 0 20px; height: 20px;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 100% 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 2px 100% no-repeat;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold); }
.answer { padding: 0 0 20px; color: var(--muted); }
.answer p { margin: 0; max-width: 62ch; }

/* ---------- 11. Noch nicht bereit? ---------- */
.insta {
  max-width: 620px; margin: 0 auto; padding: 32px 24px;
  border: 1px solid var(--line); border-radius: 20px; text-align: center;
}
.insta-title { font-size: 1.875rem; }
.insta p { margin: 12px auto 0; max-width: 42ch; color: var(--muted); }
.btn--ghost {
  margin-top: 24px; background: transparent; color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn--ghost:hover { background: rgba(214, 169, 83, 0.1); }
/* Handy 360: "Schreib mir auf Instagram" bleibt in einer Zeile */
.insta .btn { padding-inline: 18px; white-space: nowrap; max-width: 100%; }
.insta .insta-handle { margin-top: 12px; font-size: 0.9375rem; }

/* ---------- 12. Abschluss ---------- */
.closing { padding: var(--section) 0; border-top: 1px solid var(--line); }
.closing-title {
  margin: 0;
  font: 800 clamp(3rem, 14vw, 7.5rem)/0.88 var(--cond);
  text-transform: uppercase; letter-spacing: -0.01em; text-wrap: balance;
}
.closing-title .hl { color: var(--gold); }
.closing .cta { margin-top: 32px; }

/* ---------- 13. Footer ---------- */
.footer { padding: 48px 0 40px; border-top: 1px solid var(--line); background: var(--bg); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer-logo img { height: 56px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--gold); }
.footer-note { margin: 28px 0 0; max-width: 72ch; color: var(--muted); font-size: 0.8125rem; line-height: 1.6; }
.footer-copy { margin: 16px 0 0; color: var(--muted); font-size: 0.8125rem; }

/* ---------- Feste Leiste unten (Handy) ---------- */
.stickybar {
  position: fixed; inset: auto 0 0; z-index: 50;
  display: flex; align-items: center;
  min-height: var(--stickybar);
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  background: rgba(26, 32, 41, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.stickybar .btn {
  width: 100%; padding-inline: 12px;
  font-size: clamp(1rem, 4.6vw, 1.25rem); letter-spacing: 0.03em;
  white-space: nowrap;
}

/* ---------- Dezentes Einblenden beim Scrollen ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .progress span { transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Ab Tablet ---------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; --topbar: 88px; }
  .topbar-logo img { height: 66px; }
  .hero { padding-top: calc(var(--topbar) + 28px); }
  .hero-sub { font-size: 1.125rem; }
  .video { margin-inline: 0; max-width: 520px; }
  .video figcaption { padding-inline: 0; }
  .cta { max-width: 520px; }
  .cta .btn { width: 100%; margin-inline: 0; padding-inline: 28px; }
  .slider { margin-top: 32px; }
  .slider-track { scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
}
@media (min-width: 720px) and (prefers-reduced-motion: no-preference) {
  .slider { padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
  .slider-track { padding-inline: 0; }
}
@media (min-width: 720px) {
  .fact { padding: 22px 20px 22px 28px; }
  .stories { grid-template-columns: 1fr 1fr; }
  .included { grid-template-columns: 1fr 1fr; }
  .included-guarantee { grid-column: 1 / -1; }
  .fit { grid-template-columns: 1fr 1fr; gap: 48px; }
  .insta { padding: 44px 40px; }
}

/* ---------- Computer: keine feste Leiste unten ---------- */
@media (min-width: 980px) {
  :root { --topbar: 100px; }
  body { padding-bottom: 0; }
  .stickybar { display: none; }
  .topbar-logo img { height: 80px; }
  /* Headline, Klienten und Button sollen bei 1440 x 800 ohne Scrollen sichtbar sein */
  .hero { padding-top: calc(var(--topbar) + 4px); }
  .hero-title { font-size: clamp(3.5rem, 5.4vw, 4.75rem); }
  .hero-sub { max-width: 64rem; }
  .slider { margin-top: 20px; --bild-h: clamp(150px, 28.6vh, 330px); }
  /* Hinweis neben dem Button statt darunter */
  .cta { margin-top: 20px; max-width: none; display: flex; align-items: center; gap: 20px; }
  .cta .btn { width: auto; padding-inline: 32px; }
  .cta-note { margin: 0; text-align: left; }
  .br-handy { display: none; }

  /* Abschnitte ab 3 am Computer. Überschriften kleiner als die Headline oben (Rangfolge) */
  .h2 { font-size: clamp(3rem, 4.4vw, 4.25rem); }
  .closing-title { font-size: clamp(3.5rem, 5.4vw, 4.75rem); max-width: none; }
  .facts-grid { grid-template-columns: repeat(3, 1fr); }
  .fact:nth-child(odd) { padding-left: 28px; }
  .fact:nth-child(3n+1) { padding-left: 0; }
  .fact-num { font-size: clamp(2.75rem, 3.6vw, 3.5rem); }
  .steps-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; }
  .steps-head { position: sticky; top: calc(var(--topbar) + 32px); }
  .steps { margin-top: 0; }
  .step { padding-bottom: 48px; }
  .phases { grid-template-columns: repeat(5, 1fr); }
  .phase { padding-inline: 18px; }
  .phase-letter { font-size: 7rem; }
  /* Leitspruch: breiter und etwas kleiner, damit er höchstens 4 Zeilen braucht */
  .core { max-width: none; font-size: clamp(2.5rem, 3.4vw, 3.125rem); }
  /* Kays Vorher/Nachher über die ganze Breite: zwei Paare nebeneinander, Text rechts */
  .story.kay-story { grid-template-columns: 1fr 230px; margin-top: 56px; }
  .kay-pairs { grid-template-columns: 1fr 1fr; }
  .kay-story .story-body { align-self: center; padding: 28px 32px; }

  /* Abstände am Computer kleiner (Handy bleibt wie abgenommen) */
  .facts { padding-bottom: 40px; }
  .facts + .section { padding-top: calc(var(--section) * 0.55); }
  .section--methode { padding-top: calc(var(--section) * 0.7); padding-bottom: calc(var(--section) * 0.4); }
  .section--methode .phases { margin-top: 28px; }
  .section--methode .core { margin-top: 36px; }
  .lead--wide { max-width: 62ch; }
  .section--kay { padding-top: calc(var(--section) * 0.55); }

  /* Abschluss: alles mittig */
  .closing { text-align: center; }
  .closing .cta { flex-direction: column; justify-content: center; gap: 16px; }
  .closing .cta-note { text-align: center; }
  .about-grid { display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: center; }
  .about-photo { width: 100%; margin: 0; }
  .story { grid-template-columns: 240px 1fr; }
  .story-pair { align-self: start; }
  .faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
  .faq { margin-top: 0; }
}
@supports (height: 1svh) {
  @media (min-width: 980px) { .slider { --bild-h: clamp(150px, 28.6svh, 330px); } }
}

/* ---------- Kleine Handys (wenig Höhe): Karten im Laufband etwas kleiner,
   damit die Kilo-Zahl über der festen Leiste sichtbar bleibt ---------- */
@media (max-width: 979px) and (max-height: 700px) {
  .slider { --bild-h: clamp(150px, 25vh, 300px); }
}
@supports (height: 1svh) {
  @media (max-width: 979px) and (max-height: 700px) { .slider { --bild-h: clamp(150px, 25svh, 300px); } }
}
