/* v4 — fallfreies Stylesheet. Kein fallbezogenes Wort, keine fallbezogenen Bilder.
   Editorial: Serif-Headlines, Grotesk-Fließtext, Off-White/Anthrazit, eine Akzentfarbe. Mobile-first. */

:root {
  --bg: #fbf9f5;
  --bg-2: #f4f0e8;
  --surface: #ffffff;
  --ink: #2a2d31;
  --ink-soft: #4a4f55;
  --muted: #6a6f75;
  --line: #e4ded3;
  --accent: #b5552b;
  --accent-deep: #8f3f1c;
  --accent-30: rgba(181, 85, 43, 0.3);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 70ch;
  --focus: 2px solid var(--accent-deep);
  --pad: clamp(1rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0 0 0.6em; letter-spacing: 0.005em; }
h1 { font-size: clamp(1.9rem, 6vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }
h4 { font-family: var(--sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 1.6rem 0 0.6rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 600; }
:focus-visible { outline: var(--focus); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 0.7rem 1.2rem; text-decoration: none; }
.skip-link:focus-visible { left: 0; }

.notice { margin: 0; padding: 0.5rem 1rem; font-size: 0.84rem; text-align: center; background: #f3e7dc; border-bottom: 1px solid var(--accent-30); color: var(--ink); }
.notice code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.9em; }
.notice[hidden] { display: none; }
.container { max-width: 1080px; margin-inline: auto; padding-inline: var(--pad); }
.measure { max-width: var(--measure); }
.section { padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad); max-width: 1080px; margin-inline: auto; }
.section-muted { background: var(--bg-2); max-width: none; }
.section-muted > * { max-width: 1080px; margin-inline: auto; }
.section-case { max-width: 1120px; }

/* Kopfzeile */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.65rem var(--pad); background: rgba(251, 249, 245, 0.94); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 600; font-size: 1rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7rem 1.3rem; border: 1.5px solid var(--ink); border-radius: 3px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  background: var(--ink); color: var(--bg);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-small { min-height: 44px; padding: 0.45rem 1rem; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad); max-width: 1120px; margin-inline: auto; display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; } }
.hero-sub { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.hero-media { display: grid; gap: 0.6rem; }

/* Hero-Variante "full": Text oben (zwei Spalten: Headline | Pitch), Video in voller Breite darunter */
.hero.hero-full { display: block; max-width: none; padding-inline: 0; }
.hero-full .hero-text {
  max-width: 1360px; margin-inline: auto; padding-inline: var(--pad); margin-bottom: clamp(1.8rem, 4vw, 3rem);
  display: grid; gap: 1.6rem 4rem; grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 900px) { .hero-full .hero-text { grid-template-columns: 1.1fr 0.9fr; } }
.hero-full .hero-text h1 { max-width: none; }
.hero-full .hero-sub { max-width: none; margin-bottom: 0; }
.hero-full .hero-pitch p { font-family: var(--serif); font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.5; color: var(--ink); margin: 0 0 0.9em; }
.hero-full .hero-pitch p:last-child { margin-bottom: 0; }
.hero-full .hero-pitch { padding-top: 0; }
.hero-full .hero-media { max-width: 1360px; margin-inline: auto; padding-inline: var(--pad); }.hero-full .video-fig video.landscape { aspect-ratio: 16 / 9; max-height: 78vh; width: auto; max-width: 100%; margin-inline: auto; }
/* Player-Element nie breiter als das sichtbare Bild — sonst zeigt der schwarze Player-Hintergrund links/rechts Balken */
.hero-full .video-fig video { background: transparent; width: min(100%, calc(78vh * 16 / 9)); }
/* Figure und Beschriftung folgen der Player-Breite (keine 100px-Leerräume links/rechts) */
.hero-full .video-fig { width: min(100%, calc(78vh * 16 / 9)); margin-inline: auto; }
.hero-full .video-fig { justify-items: center; }
.hero-full .video-kennzeichnung, .hero-full .video-desc { justify-self: start; max-width: var(--measure); }
.hero-full .video-placeholder { aspect-ratio: 16 / 9; max-width: none; width: 100%; }
@media (max-width: 899px) { .hero-full .video-placeholder, .hero-full .video-placeholder.landscape { aspect-ratio: 16 / 9; max-width: none; } }

/* Pitch (Fallback, falls der Pitch-Abschnitt außerhalb des Hero genutzt wird) */
.pitch p { font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.5; color: var(--ink); }

/* Kacheln */
.grid-4, .grid-3 { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-4 > *, .grid-3 > * { background: var(--surface); padding: 1.3rem 1.4rem; }
@media (min-width: 700px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 h3, .grid-3 h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; margin-bottom: 0.4rem; }
.grid-4 p, .grid-3 p { font-size: 0.97rem; color: var(--ink-soft); margin: 0; }

/* Fallbeispiel */
.case-head h3 { font-size: clamp(1.5rem, 3.6vw, 2rem); margin-bottom: 0.5rem; }
.case-intro { font-size: 1.1rem; color: var(--ink-soft); max-width: var(--measure); }
.case-meta { font-size: 0.9rem; color: var(--muted); margin: 0 0 0.4rem; }

/* Vorher/Nachher */
.ba { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin-top: 1.2rem; }
@media (min-width: 800px) { .ba { grid-template-columns: 1fr 1fr; gap: 1.6rem; } }
.ba-col { background: var(--surface); border: 1px solid var(--line); padding: 1.2rem 1.3rem; }
.ba-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; color: var(--accent-deep); margin: 0 0 0.7rem; }
.ba-shot { aspect-ratio: 4 / 3; border: 2px dashed var(--accent-30); background: var(--bg-2); display: grid; place-items: center; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0.9rem; }
.ba-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.ba-text { font-family: var(--serif); font-style: italic; font-size: 0.98rem; color: var(--ink-soft); margin: 0 0 0.7rem; }
.ba-url { font-size: 0.8rem; color: var(--muted); word-break: break-all; }

/* Kennzahlen */
.kpi { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 1.6rem; }
@media (min-width: 700px) { .kpi { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.kpi-item { background: var(--surface); padding: 1.1rem 1.3rem; }
.kpi-label { font-size: 0.85rem; color: var(--muted); margin: 0 0 0.5rem; }
.kpi-vals { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.kpi-vorher { font-family: var(--serif); font-size: 1.4rem; color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.kpi-arrow { color: var(--accent-deep); }
.kpi-nachher { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1; color: var(--accent-deep); }

/* Geschichten */
.story-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1rem; }
@media (min-width: 800px) { .story-grid { grid-template-columns: repeat(3, 1fr); } }
.story { background: var(--surface); border: 1px solid var(--line); padding: 1.1rem 1.2rem; }
.story h4 { margin: 0 0 0.3rem; color: var(--accent-deep); font-size: 0.78rem; }
.story-titel { font-family: var(--serif); font-size: 1.1rem; margin: 0 0 0.3rem; }
.story-kurz { font-size: 0.95rem; color: var(--ink-soft); margin: 0 0 0.6rem; }
.story-meta { font-size: 0.82rem; color: var(--muted); margin: 0; }
.story-meta span { display: block; }
.all-stories { margin-top: 1.2rem; border: 1px solid var(--line); background: var(--surface); }
.all-stories summary { cursor: pointer; padding: 0.9rem 1.2rem; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.all-stories[open] summary { color: var(--accent-deep); border-bottom: 1px solid var(--line); }
.all-stories ol { margin: 0; padding: 0.6rem 1.2rem 0.9rem 2.4rem; }
.all-stories li { padding: 0.45rem 0; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
.all-stories li:last-child { border-bottom: 0; }
.all-stories .story-meta { display: inline; margin-left: 0.4rem; }

/* Geschichten-Akkordeon (exklusiv: nur eine Geschichte offen) */
.stories-acc { border: 1px solid var(--line); background: var(--surface); }
.story-item + .story-item { border-top: 1px solid var(--line); }
.story-item > summary {
  cursor: pointer; padding: 0.95rem 1.2rem; min-height: 44px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  list-style: none; font-family: var(--serif); font-size: 1.1rem;
}
.story-item > summary::-webkit-details-marker { display: none; }
.story-item > summary::before {
  content: "+"; flex: none; width: 1.2rem; color: var(--accent-deep); font-family: var(--sans); font-weight: 600;
}
.story-item[open] > summary { color: var(--accent-deep); }
.story-item[open] > summary::before { content: "−"; }
.story-item[open] > summary { border-bottom: 1px solid var(--line); }
.story-item-titel { flex: 1; }
.story-item-meta { flex: none; font-family: var(--sans); font-size: 0.82rem; color: var(--muted); white-space: nowrap; }
.story-item-body { padding: 1rem 1.2rem 1.1rem 2.4rem; }
.story-item-text { font-family: var(--serif); font-size: 1.02rem; line-height: 1.65; color: var(--ink); max-width: 62ch; margin: 0 0 0.7rem; }
.story-item-body .story-meta { font-size: 0.84rem; color: var(--muted); margin: 0; }
@media (max-width: 600px) {
  .story-item > summary { flex-direction: column; gap: 0.2rem; align-items: flex-start; }
  .story-item-meta { margin-left: 1.2rem; }
  .story-item-body { padding-left: 1.2rem; }
}

/* Leseprobe */
.leseprobe { margin-top: 1.6rem; padding: 1.4rem 1.6rem; background: var(--bg-2); border-left: 3px solid var(--accent); max-width: var(--measure); }
.leseprobe h4 { margin-top: 0; color: var(--ink-soft); }
.leseprobe h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.leseprobe p { font-family: var(--serif); font-size: 1.08rem; line-height: 1.6; margin: 0; }

/* Nicht behauptet */
.not-claimed { margin-top: 1.6rem; border: 1px dashed var(--line); padding: 1.2rem 1.4rem; color: var(--ink-soft); max-width: var(--measure); }
.not-claimed h4 { margin-top: 0; }
.not-claimed ul { margin: 0; padding-left: 1.2rem; }
.not-claimed li { margin-bottom: 0.35em; font-size: 0.95rem; }

/* Hinweis + Stand */
.case-foot { margin-top: 1.4rem; font-size: 0.84rem; color: var(--muted); max-width: var(--measure); }
.case-foot p { margin-bottom: 0.4em; }

/* Video */
.video-fig { margin: 0; display: grid; gap: 0.6rem; }
.video-fig video { width: 100%; display: block; background: transparent; border-radius: 2px; }
.video-fig video.portrait { aspect-ratio: 9 / 16; max-width: 320px; margin-inline: auto; }
.video-fig video.landscape { aspect-ratio: 16 / 9; }
.video-kennzeichnung { font-size: 0.86rem; color: var(--ink-soft); margin: 0; }
.video-desc { font-size: 0.9rem; color: var(--muted); margin: 0; }
.video-placeholder { aspect-ratio: 16 / 9; border: 2px dashed var(--accent-30); background: var(--bg-2); display: grid; place-items: center; font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 899px) { .video-placeholder { aspect-ratio: 9 / 16; max-width: 320px; margin-inline: auto; width: 100%; } .video-placeholder.landscape { aspect-ratio: 16 / 9; max-width: none; } }

/* Schritte */
.steps { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1rem; counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--surface); border: 1px solid var(--line); padding: 1.2rem 1.3rem; counter-increment: s; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1.5px solid var(--ink); border-radius: 50%; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.6rem; }
.steps h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 0 0 0.3rem; }
.steps p { font-size: 0.96rem; color: var(--ink-soft); margin: 0; }

/* Vorteile: Liste mit Beleg-Spalte */
.benefits { list-style: none; padding: 0; margin: 1.6rem 0 0; border-top: 1px solid var(--line); }
.benefit {
  display: grid; gap: 0.8rem 2.4rem; grid-template-columns: 1fr; padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 860px) { .benefit { grid-template-columns: 1.1fr 0.9fr; align-items: start; } }
.benefit-main h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 600; margin: 0 0 0.35rem; }
.benefit-main p { font-size: 0.98rem; color: var(--ink-soft); margin: 0; max-width: 48ch; }
.benefit-proof {
  padding: 0.85rem 1.1rem; background: var(--bg-2); border-left: 3px solid var(--accent);
}
.benefit-proof-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; color: var(--accent-deep); margin: 0 0 0.3rem; }
.benefit-proof-text { font-family: var(--serif); font-size: 0.98rem; line-height: 1.55; color: var(--ink); margin: 0; }

/* Formular */

/* Rechtsseiten (Impressum/Datenschutz) */
.legal-kicker { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 600; color: var(--muted); margin: 0.4rem 0 1.4rem; }
.section h2:not(:first-child) { margin-top: 2rem; }
.legal-address { font-style: normal; font-size: 1.05rem; line-height: 1.7; margin-bottom: 0.6rem; }
.legal-lead { font-size: 1.08rem; color: var(--ink-soft); margin-bottom: 1.6rem; }
.legal-list { padding-left: 1.2rem; margin: 0 0 1em; }
.legal-list li { margin-bottom: 0.3em; }
.legal-placeholder { padding: 0.8rem 1.1rem; background: var(--bg-2); border: 1px dashed var(--accent-30); color: var(--ink-soft); font-size: 0.95rem; }
.legal-placeholder em { color: var(--accent-deep); font-style: normal; }
.legal-todo { color: var(--accent-deep); background: #f3e7dc; padding: 0 0.3em; border-radius: 2px; font-weight: 600; }
.legal-vat { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.1rem; letter-spacing: 0.04em; }
.legal-back { margin-top: 2.4rem; }
.form-wrap { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start; max-width: 1080px; margin-inline: auto; }
@media (min-width: 900px) { .form-wrap { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.form-text p { color: var(--ink-soft); max-width: 42ch; }
.form-note { font-size: 0.9rem; color: var(--muted); margin-top: 0.8rem; max-width: 48ch; }

/* Fußzeile */
.footer { border-top: 1px solid var(--line); padding: 1.6rem var(--pad) 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1120px; margin-inline: auto; font-size: 0.93rem; }
.footer nav { display: flex; gap: 1.2rem; }
.footer a { color: var(--ink-soft); }
