/* ==========================================================
   VidCube Media – Stylesheet
   ========================================================== */

/* Schrift Inter – lokal gehostet, kein Abruf bei Google (DSGVO).
   Lizenz: SIL Open Font License, siehe assets/fonts/OFL.txt */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/inter-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --forest: #213d30;
  --forest-900: #172c22;
  --forest-700: #2c4d3d;
  --gold: #c99a4a;
  --gold-600: #b3853a;
  --gold-100: #f5ecdc;
  --gold-text: #9a7128; /* Gold für Text auf hellem Grund (4.4:1) */
  --ink: #1d2127;
  --muted: #58615c;
  --mist: #f3f5f1;
  --line: #e1e6df;
  --white: #ffffff;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 6px;
  --container: 1220px;
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  padding-top: var(--header-h); /* Platz für den fixierten Header */
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

/* Fokus: grün auf hellem Grund, gold auf dunklem Grund (jeweils ≥ 3:1) */
:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 3px;
  border-radius: 4px;
}
.site-header :focus-visible,
.section-forest :focus-visible,
.site-footer :focus-visible { outline-color: var(--gold); }

.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-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 10px 16px;
  border-radius: var(--radius); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 19px 34px; font-size: 17px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

.btn-gold { background: var(--gold); color: var(--forest-900); } /* 5.8:1 statt 2.6:1 mit Weiß */
.btn-gold:hover { background: var(--gold-600); box-shadow: 0 10px 24px -12px rgba(201, 154, 74, .9); }

.btn-forest { background: var(--forest); color: var(--white); }
.btn-forest:hover { background: var(--forest-700); box-shadow: 0 10px 24px -12px rgba(33, 61, 48, .9); }

.btn-outline { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }

/* Sanft pulsierende Haupt-CTAs – nur transform/opacity, damit der Browser nicht neu zeichnen muss */
.btn-pulse {
  --pulse: rgba(33, 61, 48, .45);
  position: relative;
  animation: cta-breathe 2.6s ease-in-out infinite;
}
.btn-gold.btn-pulse { --pulse: rgba(201, 154, 74, .75); }
.btn-pulse::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 2px solid var(--pulse);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  animation: cta-ring 2.6s ease-out infinite;
}

@keyframes cta-breathe {
  45% { scale: 1.035; }
}
@keyframes cta-ring {
  0%        { opacity: 1; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.08, 1.4); }
}

/* ---------- Header ---------- */
/* Fixiert statt sticky: Das Schrumpfen beim Scrollen verschiebt so in keinem Browser den Inhalt */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--forest);
  color: var(--white);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px -8px rgba(0, 0, 0, .35); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  min-height: var(--header-h);
  transition: min-height .3s ease;
}

/* Header wird beim Scrollen etwas kompakter */
.site-header.is-scrolled .header-inner { min-height: 64px; }
.site-header.is-scrolled .logo img { height: 44px; }

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo img { width: auto; height: 52px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); transition: height .3s ease; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.logo-text span {
  margin-top: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
}

.header-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
}

.main-nav { display: flex; gap: 32px; margin-right: auto; }
.main-nav a {
  position: relative;
  padding: 6px 0;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.main-nav a:focus-visible::after { transform: scaleX(1); }
@media (hover: hover) {
  .main-nav a:hover::after { transform: scaleX(1); }
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.header-contact svg { width: 34px; height: 34px; flex-shrink: 0; }
.header-contact strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: .01em; line-height: 1.3; }
.header-contact small { display: block; font-size: 14px; color: rgba(255, 255, 255, .65); line-height: 1.3; }
.header-contact:hover strong { color: var(--gold); }

.header-cta-solo { margin-left: auto; }

/* Mobil: WhatsApp direkt im Header erreichbar (ab 1080px sichtbar, siehe Responsive) */
.header-wa {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: var(--radius);
  color: var(--white);
}
.header-wa svg { width: 28px; height: 28px; }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Brush underline (Signatur-Element) ---------- */
.brush {
  position: relative;
  display: inline-block;
  font-style: italic;
  white-space: nowrap;
  padding-right: .06em;
}
.brush-svg {
  position: absolute;
  left: -1%;
  bottom: -.24em;
  width: 102%;
  height: .3em;
  overflow: visible;
  pointer-events: none;
}
.brush-svg path {
  fill: none;
  stroke: var(--gold);
  stroke-width: .075em;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.brush-svg path + path { stroke-width: .06em; }

.js .brush-svg {
  clip-path: inset(-60% 100% -60% -4%);
  transition: clip-path .9s cubic-bezier(.65, 0, .35, 1) .45s;
}
.js .brush.is-drawn .brush-svg { clip-path: inset(-60% -4% -60% -4%); }
.js .brush-hero .brush-svg { transition-delay: .9s; transition-duration: 1.1s; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 8vw, 112px); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.hero-copy { text-align: center; }

/* "Dein Videomarketing" ist ~9.9em breit – Größe so gewählt, dass es in einer Zeile bleibt */
.hero-title {
  margin: 0;
  font-size: clamp(34px, 3.8vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.028em;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--gold-text); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.hero-title .brush { margin-top: .04em; }

.hero-lead {
  max-width: 34ch;
  margin: 34px auto 36px;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.6;
}

/* Hero page-load sequence */
.js .hero-title .line,
.js .hero-lead,
.js .hero .video-frame {
  animation: rise .8s cubic-bezier(.2, .7, .2, 1) both;
}
.js .hero .video-frame { animation-name: rise-side; animation-duration: 1s; }
.js .hero-title .line:nth-child(1) { animation-delay: .08s; }
.js .hero-title .line:nth-child(2) { animation-delay: .18s; }
.js .hero-title .line:nth-child(3) { animation-delay: .28s; }
.js .hero-lead { animation-delay: .4s; }
/* Hero-CTA: erst einblenden, dann sanft pulsieren */
.js .hero-copy .btn {
  /* backwards statt both: sonst blockiert der Endzustand das :active-Feedback */
  animation:
    rise .8s cubic-bezier(.2, .7, .2, 1) .5s backwards,
    cta-breathe 2.6s ease-in-out 1.6s infinite;
}
.js .hero-copy .btn::after { animation-delay: 1.6s; }

@keyframes rise-side {
  from { opacity: 0; transform: translateX(-28px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Video frames ---------- */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #0a0c0b;
  box-shadow: 0 40px 70px -40px rgba(23, 44, 34, .6);
}

.video-poster {
  position: absolute;
  inset: 4.5% 0;
  overflow: hidden;
}

/* Gestaltetes Poster für Kundenstimmen (bis ein echtes Vorschaubild hinterlegt ist) */
.poster-quote {
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 85% 15%, rgba(201, 154, 74, .32), transparent 70%),
    linear-gradient(135deg, var(--forest-900), var(--forest) 60%, var(--forest-700));
}
.poster-quote-mark {
  position: absolute;
  left: 6%;
  top: -4%;
  font-size: clamp(120px, 15vw, 220px);
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
}
.poster-quote-name {
  position: absolute;
  left: 6%;
  bottom: 9%;
  z-index: 1;
  color: var(--white);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.1;
}
.poster-quote-name small {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.poster-quote + .play-btn { background: var(--gold); color: var(--forest-900); }
@media (hover: hover) {
  .poster-quote + .play-btn:hover { background: var(--gold-600); }
}

.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, .45) 100%);
}

/* Echtes Vorschaubild (Header-Video) */
.video-poster-photo { inset: 0; }
.video-poster-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) {
  .video-frame:hover .video-poster-photo img { transform: scale(1.04); }
}
.video-poster-photo::after { background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .28) 100%); }

.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(76px, 8.5vw, 108px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform .25s ease, background-color .25s ease;
}
/* Das Dreieck ist im viewBox so angelegt, dass sein Schwerpunkt mittig liegt – kein zusätzlicher Versatz nötig */
.play-btn svg { width: 36%; }
.play-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .5);
  animation: ring 2.8s ease-out infinite;
}
@media (hover: hover) {
  .play-btn:hover { transform: translate(-50%, -50%) scale(1.07); background: var(--forest-700); }
}

@keyframes ring {
  0%   { transform: scale(1); opacity: .8; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

.video-frame video,
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: contain;
}

.video-notice {
  position: absolute;
  left: 50%;
  bottom: 9%;
  z-index: 3;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .65);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.video-notice.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 9vw, 128px) 0; }
.section-mist { background: var(--mist); }
.section-forest { background: var(--forest); color: var(--white); }

.section-head {
  max-width: 780px;
  margin: 0 auto clamp(48px, 5vw, 72px);
  text-align: center;
}

.section-title {
  margin: 0 0 22px;
  font-size: clamp(32px, 3.7vw, 50px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.024em;
}

.section-lead {
  max-width: 60ch;
  margin: 0;
  font-size: clamp(17px, 1.3vw, 19px);
  color: var(--muted);
}
.section-head .section-lead { margin-inline: auto; }

/* Scroll reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Stagger: Kinder einer .stagger-Gruppe erscheinen nacheinander (Index --i setzt script.js) */
.js .stagger > * { opacity: 0; }
.js .stagger.is-visible > * {
  opacity: 1;
  animation: stagger-in .7s cubic-bezier(.2, .7, .2, 1) backwards;
  animation-delay: calc(var(--stagger-start, 0s) + var(--i, 0) * var(--stagger, .12s));
}

@keyframes stagger-in {
  from { opacity: 0; transform: translateY(24px); }
}
@keyframes pop {
  from { opacity: 0; transform: scale(.3); }
}

/* ---------- Vergleich ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1040px;
  margin-inline: auto;
}

.compare-card {
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: 10px;
}
.compare-card h3 { margin: 0 0 24px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.compare-card ul { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.compare-card li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.5; }
.compare-card li svg {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  padding: 4px;
  border-radius: 50%;
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.compare-diy { background: var(--white); border: 1px solid var(--line); color: var(--muted); }
.compare-diy h3 { color: var(--ink); }
.compare-diy li svg { background: #eceeeb; stroke: #6f7772; }

.compare-vcm {
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 30px 60px -34px rgba(23, 44, 34, .75);
}
.js .compare-vcm.reveal { transition-delay: .12s; }
.compare-vcm li svg { background: var(--gold); stroke: var(--forest-900); }

.compare-card ul { --stagger-start: .2s; --stagger: .1s; }
.compare-vcm ul { --stagger-start: .45s; }
.js .compare-vcm ul.is-visible li svg {
  animation: pop .5s cubic-bezier(.34, 1.56, .64, 1) backwards;
  animation-delay: calc(var(--stagger-start) + var(--i, 0) * var(--stagger) + .15s);
}

/* ---------- Leistungen ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.services { --stagger: .14s; }

.service-card {
  padding: 36px 28px 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 24px 48px -28px rgba(23, 44, 34, .45);
  }
}

.service-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  border-radius: 12px;
  background: var(--forest);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), background-color .3s ease;
}
@media (hover: hover) {
  .service-card:hover .service-icon { transform: rotate(-6deg) scale(1.08); background: var(--forest-700); }
}
.js .services.is-visible .service-icon {
  animation: pop .6s cubic-bezier(.34, 1.56, .64, 1) backwards;
  animation-delay: calc(var(--i, 0) * var(--stagger) + .2s);
}
.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 { margin: 0 0 10px; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.service-card p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Ablauf ---------- */
/* Schritte erscheinen nacheinander (1 → 2 → 3 → 4), die Linie zeichnet sich mit */
.steps {
  --stagger: .45s;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px);
}
.js .steps::before {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.4s cubic-bezier(.45, 0, .55, 1) .1s;
}
.js .steps.is-visible::before { transform: scaleX(1); }

.step { position: relative; text-align: center; }

.js .steps.is-visible .step-num {
  animation: pop .6s cubic-bezier(.34, 1.56, .64, 1) backwards;
  animation-delay: calc(var(--i, 0) * var(--stagger));
}
.js .steps.is-visible .step-effort-zero {
  animation: badge-glow 1.4s ease-out 2;
  animation-delay: calc(3 * var(--stagger) + .7s);
}

@keyframes badge-glow {
  0%   { box-shadow: 0 0 0 0 rgba(201, 154, 74, .7); }
  100% { box-shadow: 0 0 0 14px rgba(201, 154, 74, 0); }
}

.step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 0 0 8px var(--mist);
}
.step h3 { margin: 0 0 10px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.step p { max-width: 30ch; margin: 0 auto 18px; color: var(--muted); font-size: 16px; }

.step-effort {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--gold-100);
  color: #7a5a24;
  font-size: 14px;
  font-weight: 700;
}
.step-effort-zero { background: var(--gold); color: var(--forest-900); }

/* ---------- Kundenstimmen ---------- */
.testimonial { max-width: 920px; margin-inline: auto; }
.testimonial-cta { margin-top: 44px; text-align: center; }
.js .testimonial-cta.reveal { transition-delay: .15s; }

.poster-quote-name span {
  display: block;
  margin-top: 6px;
  font-size: .55em;
  font-weight: 500;
  color: rgba(255, 255, 255, .75);
}

/* ---------- FAQ ---------- */
.faq-list { --stagger: .09s; max-width: 840px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  padding: 26px 56px 26px 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--forest);
  transition: transform .25s ease;
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list summary:hover { color: var(--forest-700); }
.faq-list details p { margin: 0 0 26px; padding-right: 56px; color: var(--muted); }
.faq-list details[open] p { animation: faq-open .4s ease; }

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-8px); }
}

.faq-cta { max-width: 840px; margin: 48px auto 0; text-align: center; }
.faq-cta p { margin: 0 0 20px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; }
.cta::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% auto;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 154, 74, .16), transparent 65%);
  pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift {
  to { transform: translate(-14%, -12%) scale(1.12); }
}
.cta-inner { position: relative; max-width: 820px; text-align: center; }
.cta-lead { max-width: 52ch; margin: 0 auto 28px; font-size: clamp(18px, 1.4vw, 20px); color: rgba(255, 255, 255, .82); }

.cta-facts {
  --stagger-start: .35s;
  --stagger: .12s;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
  font-weight: 600;
}
.cta-facts li { display: flex; align-items: center; gap: 8px; }
.cta-facts li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ---------- Footer ---------- */
.site-footer { padding: 36px 0; background: var(--forest-900); color: rgba(255, 255, 255, .8); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.logo-footer { color: var(--white); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-right: auto; }
.footer-nav a { font-size: 15px; font-weight: 500; text-decoration: none; }
.footer-nav a:hover { color: var(--gold); }
.footer-copy { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .55); }

/* ---------- Rechtliches (Impressum / Datenschutz) ---------- */
.legal { max-width: 760px; overflow-wrap: break-word; }
.legal h1 { margin: 0 0 32px; font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -.024em; line-height: 1.15; }
.legal h2 { margin: 48px 0 12px; font-size: clamp(21px, 2.2vw, 26px); font-weight: 800; letter-spacing: -.015em; line-height: 1.3; }
.legal h3 { margin: 28px 0 6px; font-size: 18px; font-weight: 700; }
.legal p, .legal address { margin: 0 0 14px; font-style: normal; color: var(--muted); }
.legal ul { margin: 0 0 14px; padding-left: 22px; color: var(--muted); }
.legal li { margin-bottom: 6px; }
/* :not(.btn) – sonst färbt die Link-Regel auch die Buttons grün (Text unsichtbar) */
.legal a:not(.btn) { color: var(--forest); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal a:not(.btn):hover { color: var(--gold-text); }
.legal .placeholder { background: var(--gold-100); color: #7a5a24; padding: 1px 6px; border-radius: 4px; }
.legal-back { margin-top: 48px; }
.legal-compact h2 { margin: 28px 0 6px; font-size: 18px; font-weight: 700; letter-spacing: 0; line-height: 1.4; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
  .header-inner { gap: 32px; }
  .main-nav { gap: 24px; }
  .header-contact small { display: none; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .header-wa { display: grid; }
  .header-wa + .nav-toggle { margin-left: 4px; }

  .header-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 24px 28px;
    background: var(--forest);
    border-top: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .5);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .header-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .2s ease, transform .2s ease, visibility 0s;
  }

  .main-nav { flex-direction: column; gap: 0; margin: 0; }
  .main-nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .main-nav a::after { display: none; }
  .header-contact { padding: 16px 0 8px; }
  .header-contact small { display: block; }

  .services { grid-template-columns: repeat(2, 1fr); }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
  .steps::before { display: none; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { order: -1; }
  .hero-lead { margin-block: 26px 30px; }

  .compare { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .container { width: min(100% - 40px, var(--container)); }
  .logo img { height: 44px; }
  .site-header.is-scrolled .header-inner { min-height: 58px; }
  .site-header.is-scrolled .logo img { height: 38px; }
  .logo-text strong { font-size: 18px; }

  .btn-lg { width: 100%; padding: 18px 24px; }
  .hero-copy .btn,
  .testimonial-cta .btn { width: auto; }

  /* 320px: "ein Ansprechpartner" (nicht umbrechbar) passt so in 280px Breite */
  .section-title { font-size: clamp(26px, 8.6vw, 32px); }

  .header-inner { gap: 16px; }
  .header-cta-solo { padding: 9px 14px; font-size: 13px; }

  .services { grid-template-columns: 1fr; }

  /* Schritte mobil: mittig untereinander, mit gestrichelter Verbindung */
  .steps { grid-template-columns: 1fr; gap: 64px; }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -50px;
    height: 36px;
    border-left: 2px dashed var(--gold);
  }

  .faq-list summary { font-size: 17px; padding-right: 44px; }
  .faq-list details p { padding-right: 0; }

  .footer-inner { flex-direction: column; text-align: center; gap: 16px; }
  .footer-nav { margin-right: 0; justify-content: center; }
}

/* Große Bildschirme: etwas mehr Breite nutzen */
@media (min-width: 1800px) {
  :root { --container: 1360px; }
}

/* Druck: alle Inhalte sichtbar, keine Animationen, Header nicht fixiert */
@media print {
  .js .reveal,
  .js .stagger > * { opacity: 1 !important; transform: none !important; animation: none !important; }
  body { padding-top: 0; }
  .site-header { position: static; }
  .play-btn, .btn-pulse::after, .nav-toggle, .header-wa { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
