/* =========================================================
   The Last Diet · Gestaltung
   Farben: Variante A "Messing"
   ========================================================= */

/* ---------- Schriften (lokal, nicht von Google) ---------- */
@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"); }

/* ---------- Farben und Maße ---------- */
:root {
  --bg: #10141A;
  --surface: #1A2029;
  --surface-2: #212833;
  --line: #2A323D;
  --text: #EEF0F2;
  --muted: #A9B1BC;
  --accent: #D6A953;
  --accent-soft: rgba(214, 169, 83, .12);
  --on-accent: #10141A;
  --ghost: rgba(214, 169, 83, .13);

  /* Markierungen für dich (verschwinden, sobald alles ausgefüllt ist) */
  --ph: #FF8A80;
  --ph-bg: rgba(255, 138, 128, .12);
  --draft: #8CCBFF;
  --draft-bg: rgba(140, 203, 255, .10);

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: 20px;
  --section: clamp(80px, 13vw, 160px);
  --radius: 20px;
  --radius-sm: 14px;
  --header-h: 68px;
  color-scheme: dark;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section); }
.section--tint { background: linear-gradient(180deg, transparent, rgba(26, 32, 41, .55) 18%, rgba(26, 32, 41, .55) 82%, transparent); }

/* ---------- Typografie ---------- */
.label {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  color: var(--accent);
  margin-bottom: 20px;
}
.label::before { content: ""; width: 32px; height: 3px; border-radius: 3px; background: var(--accent); flex: none; }

.h1, .h2 {
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .002em;
  text-wrap: balance;
}
.h1 { font-size: clamp(3.1rem, 13.5vw, 7.6rem); }
.h2 { font-size: clamp(2.6rem, 10.5vw, 5.6rem); }
.h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; }

.lead { color: var(--muted); font-size: clamp(1.08rem, 2.6vw, 1.25rem); line-height: 1.6; max-width: 58ch; margin-top: 24px; }
.muted { color: var(--muted); }
.section-head { position: relative; margin-bottom: clamp(40px, 7vw, 72px); }

/* ---------- Umriss-Wörter im Hintergrund (nur 3 Stellen) ---------- */
.ghost {
  position: absolute; left: 0; right: 0;
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(7rem, 34vw, 22rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px var(--ghost);
  white-space: nowrap; overflow: hidden;
  pointer-events: none; user-select: none;
  z-index: 0;
}
.ghost + * , .has-ghost > .wrap { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 16px 28px;
  border: 0; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font: 600 1.02rem/1.1 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .92rem; white-space: nowrap; flex: none; }
@media (max-width: 379px) {
  .btn--sm { padding: 10px 14px; font-size: .88rem; }
  .btn--sm svg { display: none; }
  .brand-sub { font-size: .7rem; }
}
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); filter: none; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Markierungen: Platzhalter und Entwurf ---------- */
.ph {
  color: var(--ph) !important;
  background: var(--ph-bg);
  outline: 1px dashed var(--ph);
  outline-offset: 1px;
  border-radius: 4px;
  padding: 0 .25em;
  -webkit-text-stroke: 0;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.btn.ph { outline-offset: 3px; background: var(--ph-bg); padding: 16px 28px; }
.draft-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 .72rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--draft); background: var(--draft-bg);
  border: 1px dashed var(--draft); border-radius: 999px;
  padding: 6px 10px;
}
.draft { outline: 1px dashed var(--draft); outline-offset: 6px; border-radius: 6px; }
.ph-box {
  display: grid; place-items: center; text-align: center;
  background: var(--ph-bg); border: 1.5px dashed var(--ph); color: var(--ph);
  font-weight: 600; font-size: .95rem; line-height: 1.4; padding: 20px;
}

/* ---------- Kopfbereich ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(16, 20, 26, .78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; flex-direction: column; gap: 3px; text-decoration: none; min-width: 0; }
.mark { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; line-height: 1; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.mark span { color: var(--accent); }
.mark img { height: 32px; width: auto; }
.brand-sub { font-size: .76rem; font-weight: 500; color: var(--muted); line-height: 1.1; white-space: nowrap; }

/* ---------- Einstieg ---------- */
/* Handy: Überschrift, Video, Einleitung, Infos untereinander. Kompakt, damit
   Überschrift und Video schon auf dem ersten Bildschirm zu sehen sind. */
.hero { padding-top: calc(var(--header-h) + 18px); padding-bottom: clamp(64px, 10vw, 120px); overflow: hidden; }
.hero .ghost { top: calc(var(--header-h) + 4px); font-size: clamp(6rem, 30vw, 20rem); }
.hero-grid { display: grid; gap: 18px; grid-template-areas: "title" "video" "lead" "info"; }
.hero-title { grid-area: title; font-size: clamp(2.2rem, 10.2vw, 3.6rem); line-height: .94; hyphens: manual; }
/* Überall feste Zeilen "Bereite dich auf dein / Kennenlerngespräch / vor", ohne Trennstrich.
   Die Schrift richtet sich nach der verfügbaren Breite: "Kennenlerngespräch" ist etwa
   8,6-mal so breit wie die Schriftgröße, mit etwas Reserve wird durch 8,9 geteilt. */
.hero-title { hyphens: none; -webkit-hyphens: none; }
@media (max-width: 979px) {
  .hero-title { font-size: min(3.6rem, calc((100vw - 2 * var(--gutter)) / 8.9)); }
}
.video-wrap { grid-area: video; }
.hero-lead { grid-area: lead; margin-top: 6px; font-size: 1.05rem; }
.hero-info { grid-area: info; }
.hero-info .tiles { margin-top: 4px; }

.video-wrap { position: relative; }
.video-frame {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
}
.video-frame.is-vertical { aspect-ratio: 9 / 16; width: 100%; }
.video-frame video, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-frame .ph-box { position: absolute; inset: 0; border-radius: var(--radius); gap: 10px; align-content: center; }
.video-frame .ph-box svg { width: 56px; height: 56px; margin: 0 auto; }
.video-soon {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px;
  padding: 24px; text-align: center;
  background: radial-gradient(120% 80% at 50% 40%, var(--surface-2), var(--surface));
}
.video-soon-icon {
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent);
}
.video-soon-icon svg { width: 30px; height: 30px; margin-left: 4px; }
.video-soon p { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; line-height: 1.15; text-transform: uppercase; letter-spacing: .02em; }
.sound-note { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--muted); font-size: .95rem; font-weight: 500; }
.sound-note svg { width: 20px; height: 20px; color: var(--accent); flex: none; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.tile dt { font-size: .82rem; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.tile dd { margin: 0; font-weight: 600; line-height: 1.35; }

.chapters { margin-top: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.chapters h2 { font-size: 1.05rem; font-weight: 600; margin-bottom: 14px; }
.chapters ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.chapters li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: baseline; }
.chapters .n { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--accent); line-height: 1; }

/* ---------- Vertrauensleiste ---------- */
.trust { border-block: 1px solid var(--line); background: rgba(26, 32, 41, .5); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; }
.trust li { display: flex; align-items: center; gap: 14px; padding: 18px 0; font-weight: 600; font-size: 1.05rem; }
.trust li + li { border-top: 1px solid var(--line); }
.trust svg { width: 26px; height: 26px; color: var(--accent); flex: none; }

/* ---------- Ablauf des Gesprächs ---------- */
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.fact { display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-weight: 500; font-size: .95rem; }
.fact svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.fact b { font-weight: 600; color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 28px; }
.step .num { font-family: var(--font-head); font-weight: 800; font-size: 3.4rem; line-height: .85; color: var(--accent); display: block; margin-bottom: 18px; }
.step p { color: var(--muted); margin-top: 8px; }

/* ---------- Checkliste ---------- */
.prep-grid { display: grid; gap: 40px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check {
  display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; cursor: pointer; min-height: 56px;
  transition: border-color .2s ease, background-color .2s ease;
}
.check:hover { border-color: #3A4452; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.box {
  width: 28px; height: 28px; border-radius: 8px; border: 2px solid #4A5462;
  display: grid; place-items: center; transition: background-color .2s ease, border-color .2s ease;
}
.box svg { width: 16px; height: 16px; color: var(--on-accent); opacity: 0; transform: scale(.6); transition: opacity .2s ease, transform .2s ease; }
.check input:checked + .box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .box svg { opacity: 1; transform: none; }
.check input:checked ~ .check-text { color: var(--muted); }
.check input:focus-visible + .box { outline: 3px solid var(--accent); outline-offset: 3px; }
.check-text { padding-top: 2px; transition: color .2s ease; }
.progress { margin-top: 18px; display: flex; align-items: center; gap: 14px; font-size: .92rem; color: var(--muted); }
.bar { flex: 1; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 6px; transition: width .35s ease; }
.storage-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* ---------- Ergebnisse (größte Bühne) ---------- */
/* Handy: Karten fast so breit wie der Bildschirm, Bilder fast randlos */
.results-list { display: grid; gap: clamp(20px, 5vw, 48px); margin-inline: calc(6px - var(--gutter)); }
.result {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 5px 18px;
  display: grid; gap: 20px;
}
.result-info, .result .views-block { padding-inline: 14px; }
.result-who { display: flex; flex-direction: column; gap: 2px; }
.result-name { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
.result-job { color: var(--muted); font-weight: 500; }
.kg { display: flex; align-items: flex-end; gap: 10px; margin-top: 18px; color: var(--accent); }
.kg-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(7rem, 36vw, 12.5rem); line-height: .78; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.kg-unit { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 10vw, 3.6rem); line-height: .9; padding-bottom: .1em; }
.kg-caption { margin-top: 24px; font-size: 1.15rem; font-weight: 600; }
.kg-detail { color: var(--muted); font-size: .98rem; margin-top: 2px; }

.view { display: none; }
.view.is-active { display: block; animation: view-in .35s ease; }
@keyframes view-in { from { opacity: 0; } to { opacity: 1; } }
.pair {
  --gap: 5px;
  display: grid;
  grid-template-columns: 1fr 1fr; /* genaues Verhältnis setzt main.js */
  gap: var(--gap);
  width: 100%;
  max-width: calc(var(--maxh) * (var(--ra) + var(--rb)) + var(--gap));
  margin-inline: auto;
  --maxh: 700px;
}
.shot { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption {
  position: absolute; left: 8px; bottom: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(16, 20, 26, .82); color: var(--text);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.shot--after figcaption { background: var(--accent); color: var(--on-accent); }

.views-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.views-switch button {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1.5px solid var(--line); color: var(--muted);
  font-weight: 600; font-size: .95rem;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.views-switch button:hover { color: var(--text); border-color: #4A5462; }
.views-switch button[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.views-hint { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.consent-note { margin-top: 28px; font-size: .9rem; color: var(--muted); }

/* ---------- Meine eigene Transformation (Slider) ---------- */
/* Handy: Karte fast so breit wie der Bildschirm, wie bei den Ergebnissen */
.trafo-grid { display: grid; gap: 0; }
.trafo-grid .lead { color: var(--text); font-size: clamp(1.2rem, 3.4vw, 1.4rem); font-weight: 600; }
.trafo {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 5px 5px 14px; margin-inline: calc(6px - var(--gutter));
}
.trafo-track {
  display: flex; align-items: flex-start;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  transition: height .35s ease;
}
.trafo-track::-webkit-scrollbar { display: none; }
.trafo-track:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.trafo-slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.trafo-slide img { width: 100%; height: auto; display: block; border-radius: 12px; background: var(--surface-2); }
/* Schilder wie bei den Ergebnissen: links vorher, rechts nachher */
.trafo-tag {
  position: absolute; left: 8px; bottom: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(16, 20, 26, .82); color: var(--text);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.trafo-tag--after { left: calc(50% + 8px); background: var(--accent); color: var(--on-accent); }
.trafo-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 14px; }
.trafo-count { min-width: 3.5em; text-align: center; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.trafo-btn {
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: transparent; border: 1.5px solid var(--line); color: var(--text);
  transition: border-color .2s ease, color .2s ease, background-color .2s ease, opacity .2s ease;
}
.trafo-btn svg { width: 22px; height: 22px; }
.trafo-btn--prev svg { transform: scaleX(-1); }
.trafo-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.trafo-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.trafo-btn:disabled { opacity: .35; cursor: default; }

/* ---------- Bewertungen (vorerst unsichtbar) ---------- */
.reviews[hidden] { display: none; }

/* ---------- Methode GEDAN ---------- */
.phases { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.phase {
  display: grid; grid-template-columns: 62px 1fr; gap: 14px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 16px;
}
.phase-mark { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-right: 12px; border-right: 1px solid var(--line); height: 100%; }
.phase-num { font-size: .82rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.phase-letter { font-family: var(--font-head); font-weight: 800; font-size: 5rem; line-height: .82; color: var(--accent); }
.phase p { color: var(--muted); margin-top: 6px; }
.core {
  margin-top: clamp(32px, 5vw, 48px);
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 20px;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.6rem, 5.5vw, 2.5rem); line-height: 1.02; max-width: 26ch;
}
.core span { display: block; color: var(--muted); }

/* ---------- Über mich ---------- */
.about-grid { display: grid; gap: 40px; }
.about-photos { width: min(100%, 340px); margin-inline: auto; }
.about-photos .photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 20; } /* Wettkampfbild, eng zugeschnitten */
.about-photos .photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photos .ph-box { height: 100%; border-radius: var(--radius); }
.about-text p + p { margin-top: 16px; }
.about-text .big { font-size: clamp(1.15rem, 3vw, 1.35rem); line-height: 1.55; }
.stats { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.stat { display: grid; grid-template-columns: 124px 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.stat b { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--accent); }
.stat span { color: var(--muted); }
.services { margin-top: 36px; }
.services h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 14px; }
.services ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.services li { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 500; }
.services svg { width: 20px; height: 20px; color: var(--accent); flex: none; }

/* ---------- Garantie ---------- */
.guarantee { overflow: hidden; }
.guarantee .ghost { top: clamp(40px, 7vw, 80px); }
.guarantee-card {
  position: relative;
  background: linear-gradient(160deg, #1E2530 0%, var(--surface) 60%);
  border: 1px solid rgba(214, 169, 83, .35);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(28px, 6vw, 64px) clamp(22px, 5vw, 64px);
}
.guarantee-card .draft-badge { margin-bottom: 24px; }
.promise { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; color: var(--accent); font-size: clamp(3rem, 13vw, 7.2rem); line-height: .88; margin-top: 18px; }
.promise small { display: block; font-size: .42em; color: var(--text); line-height: 1; margin-top: .25em; }
.guarantee-body { display: grid; gap: 20px; margin-top: 32px; }
.guarantee-body .big { font-size: clamp(1.15rem, 3vw, 1.4rem); line-height: 1.5; font-weight: 500; max-width: 46ch; }
.fine { font-size: .92rem; color: var(--muted); }

/* ---------- Häufige Fragen ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s ease; }
.faq details[open] { border-color: #3A4452; }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center;
  padding: 18px 20px; min-height: 60px; font-weight: 600; font-size: 1.05rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline-offset: -3px; border-radius: var(--radius-sm); }
.faq .icon { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: transform .25s ease, border-color .2s ease; }
.faq .icon svg { width: 14px; height: 14px; color: var(--accent); }
.faq details[open] .icon { transform: rotate(45deg); border-color: var(--accent); }
.faq .answer { padding: 0 20px 20px; color: var(--muted); }
.faq .answer .draft-badge { margin-bottom: 10px; }
.faq .answer p + p { margin-top: 10px; }

/* ---------- Abschluss ---------- */
.closing { overflow: hidden; text-align: left; }
.closing .ghost { top: clamp(30px, 6vw, 70px); }
.closing-inner { display: grid; gap: 28px; }
.closing .lead { margin-top: 0; }
.signoff { display: flex; align-items: center; gap: 16px; }
.avatar { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex: none; border: 2px solid var(--accent); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar .ph-box { width: 100%; height: 100%; padding: 4px; font-size: .62rem; border-radius: 50%; border-width: 1px; }
.signoff b { display: block; font-weight: 600; }
.signoff span { color: var(--muted); font-size: .95rem; }

/* ---------- Fußzeile ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 40px; font-size: .92rem; color: var(--muted); }
.footer-top { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.footer-top .mark { color: var(--text); }
.footer-links { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; padding: 10px 0; display: inline-block; }
.footer-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.disclaimer { margin-top: 28px; max-width: 80ch; line-height: 1.6; font-size: .86rem; }
.copyright { margin-top: 20px; font-size: .82rem; }

/* ---------- Rechtliche Unterseiten ---------- */
.legal { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 88px)); padding-bottom: var(--section); }
.legal .h1 { font-size: clamp(3rem, 12vw, 6rem); }
.legal-body { max-width: 72ch; margin-top: clamp(32px, 6vw, 56px); }
.legal-body h2 { font-size: 1.2rem; font-weight: 600; margin: 36px 0 10px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--muted); }
.legal-body p + p { margin-top: 10px; }
.legal-body address { font-style: normal; color: var(--muted); }
.legal-body a { color: var(--accent); overflow-wrap: anywhere; }
.legal-body .ph-box { padding: 32px 24px; border-radius: var(--radius); }
.legal-body strong { color: var(--text); font-weight: 600; }

/* Lange Rechtstexte (Datenschutz): klare Gliederung, gut lesbar auf dem Handy */
@media (max-width: 480px) {
  .legal-body--lang p, .legal-body--lang li { hyphens: auto; -webkit-hyphens: auto; }
}
.legal-body--lang .ph { hyphens: manual; -webkit-hyphens: manual; }
.legal-body--lang h2 {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(1.6rem, 6vw, 2.1rem); line-height: 1.1;
  margin: 64px 0 18px; padding-top: 28px; border-top: 1px solid var(--line);
}
.legal-body--lang h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.3; margin: 36px 0 10px; }
.legal-body h2 + h3 { margin-top: 0; }
.legal-body h4 { font-size: 1rem; font-weight: 600; line-height: 1.35; margin: 22px 0 6px; color: var(--text); }
.legal-body h3 + h4 { margin-top: 12px; }
.legal-body ul { margin: 12px 0; padding-left: 1.2em; color: var(--muted); }
.legal-body li { padding-left: .3em; }
.legal-body li + li { margin-top: 8px; }
.legal-body li::marker { color: var(--accent); }
.legal-body ul + p, .legal-body address + p { margin-top: 10px; }
.legal-body p + address { margin-top: 10px; }
.legal-source { margin-top: 56px !important; padding-top: 20px; border-top: 1px solid var(--line); font-size: .86rem; }

/* ---------- Animationen beim Scrollen (dezent) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.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; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* =========================================================
   Größere Bildschirme
   ========================================================= */
@media (min-width: 560px) {
  :root { --gutter: 28px; }
  .results-list { margin-inline: 0; }
  .result { padding: 30px 28px 28px; border-radius: calc(var(--radius) + 6px); }
  .result-info, .result .views-block { padding-inline: 0; }
  .pair { --gap: 12px; }
  .shot { border-radius: var(--radius-sm); }
  .trafo { margin-inline: 0; padding: 14px 14px 18px; border-radius: calc(var(--radius) + 6px); }
  .trafo-track, .trafo-slide img { border-radius: var(--radius-sm); }
}

@media (min-width: 760px) {
  .trust ul { grid-template-columns: repeat(3, 1fr); }
  .trust li { justify-content: center; padding: 26px 16px; }
  .trust li + li { border-top: 0; border-left: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 16px; }
  .stat { grid-template-columns: 1fr; gap: 6px; border: 0; border-top: 2px solid var(--accent); padding: 18px 0 0; }
  .services ul { grid-template-columns: 1fr 1fr; }
  .phase { grid-template-columns: 120px 1fr; gap: 28px; padding: 28px 32px; }
  .phase-letter { font-size: 7rem; }
}

@media (min-width: 980px) {
  :root { --header-h: 76px; --gutter: 40px; }
  /* Computer: links das Video im Hochformat, rechts Überschrift, Einleitung und Infos */
  .hero { padding-top: calc(var(--header-h) + 56px); }
  .hero .ghost { top: calc(var(--header-h) + 12px); }
  .hero-grid {
    grid-template-columns: minmax(340px, 440px) minmax(0, 1fr);
    grid-template-areas: "video title" "video lead" "video info";
    grid-template-rows: auto auto 1fr;
    column-gap: 64px; row-gap: 0;
    align-items: start;
  }
  /* Computer: Breite der rechten Spalte = Breite des Kopfbereichs (100cqi) minus Video (440px) minus Abstand (64px) */
  .hero-grid { container-type: inline-size; }
  .hero-title { font-size: min(4.8rem, calc((100cqi - 440px - 64px) / 8.9)); padding-top: 8px; }
  .hero-lead { margin-top: 24px; font-size: 1.15rem; }
  .hero-info { margin-top: 32px; }
  .hero-info .tiles { margin-top: 0; }
  .prep-grid { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
  .prep-grid .section-head { position: sticky; top: calc(var(--header-h) + 40px); }
  .prep-grid .h2 { font-size: clamp(3rem, 5.2vw, 4.6rem); }
  .result {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: "info stage" "switch stage";
    grid-template-rows: 1fr auto;
    column-gap: 48px; row-gap: 32px; padding: 44px; align-items: center;
  }
  .result-info { grid-area: info; align-self: start; }
  .result .stage { grid-area: stage; }
  .result .views-block { grid-area: switch; align-self: end; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .about-photos { width: min(100%, 380px); }
  /* Computer: links Überschrift und Text, rechts der Slider */
  .trafo-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .trafo-grid .h2 { font-size: clamp(3rem, 4.6vw, 4.2rem); }
  .trafo-grid .section-head { margin-bottom: 0; }
  .trafo { width: 100%; max-width: 600px; justify-self: end; }
  .closing-inner { grid-template-columns: 1fr auto; align-items: end; gap: 48px; }
}
