/* ============================================================
   SP (T)RAUMSCHMIEDE – Landingpage (Meta Ads), Gerüst von Aulinger Designwerk übernommen
   Design: Schwarz + SP-Gold #CCA738 (aus Logo und sp-traumschmiede.de), Jost (Headlines) + Hanken Grotesk light (Text), alles eckig
   Alle Farben, Radien und Schriften als Tokens: Änderungen nur hier.
   ============================================================ */

:root {
  /* Grundton (dunkel) */
  --ink:        #0a0a0a;   /* wie sp-traumschmiede.de (--black-soft) */
  --ink-soft:   #141414;
  --ink-card:   #1a1a1a;
  --ink-line:   #2a2a2a;

  /* Helle Sektionen */
  --paper:      #f6f3ee;
  --paper-soft: #ece7df;
  --paper-line: #dcd4c7;

  /* Akzent: Gold aus dem Logo */
  --accent:       #cca738;   /* SP-Gold (Logo, --gold-premium der alten Seite) */
  --accent-hover: #e5c158;   /* --gold-light */
  --accent-deep:  #9c7f2a;   /* --gold-dark, auf hell */
  --accent-soft:  rgba(204, 167, 56, .14);

  /* Text */
  --text-light:  #f5f3ef;
  --text-mute-d: #b0aba3;   /* Fließtext auf dunkel */
  --text-dark:   #1a1714;
  --text-mute-l: #5d564d;   /* Fließtext auf hell */

  /* Typo */
  --font-body:    'Hanken Grotesk', system-ui, sans-serif;     /* Fließtext, Buttons, Labels */
  --font-display: 'Jost', system-ui, sans-serif;               /* Headlines, Zitate: geometrisch wie die SP-Wortmarke */
  --font-accent:  'Jost', system-ui, sans-serif;
  --fs-h1: clamp(2.3rem, 4.8vw, 3.8rem);
  --fs-h2: clamp(1.9rem, 3.6vw, 3rem);
  --fs-h3: clamp(1.3rem, 1.8vw, 1.5rem);
  --fs-body: clamp(1rem, 1.1vw, 1.08rem);

  /* Layout */
  --wrap: 1180px;
  --pad: clamp(1rem, 4vw, 2.5rem);
  --radius: 0;             /* Karten/Kacheln: eckig (Marius 08.10.) */
  --radius-pill: 0;        /* Buttons: eckig (Marius 08.10.) */

  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Desktop 10 % kleiner (Marius 08.10.: „zu nah"): alle rem-Größen skalieren mit,
   Container und vw-Anteile der Headlines werden hier passend mitgezogen. */
@media (min-width: 901px) {
  html { font-size: 90%; }
  :root {
    --wrap: 1062px;
    --fs-h1: clamp(2.3rem, 4.3vw, 3.8rem);
    --fs-h2: clamp(1.9rem, 3.25vw, 3rem);
    --fs-h3: clamp(1.3rem, 1.6vw, 1.5rem);
  }
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-light);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--ink); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.hp { position: absolute; left: -9999px; }
[hidden] { display: none !important; }
.only-m { display: none; }
@media (max-width: 720px) { .only-m { display: inline; } .only-d { display: none; } }

/* ---------- Typografie ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 300; line-height: 1.12; letter-spacing: -.005em; }
h4 { font-weight: 600; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }
h1 em, h2 em, h3 em {
  font-family: var(--font-accent);
  font-style: normal;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0;
}
.section--paper h1 em, .section--paper h2 em, .section--paper h3 em { color: var(--accent-deep); }
.eyebrow {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow--dark { color: var(--accent-deep); }
.section__head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section__intro { margin-top: 1rem; color: var(--text-mute-d); font-size: 1.05em; }
.section--paper .section__intro { color: var(--text-mute-l); }
.micro { display: block; font-size: .82rem; color: var(--text-mute-d); margin-top: .75rem; }
.section--paper .micro { color: var(--text-mute-l); }
.stars { color: var(--accent); letter-spacing: .1em; font-size: .95rem; }

/* ---------- Sektionen ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section--paper { background: var(--paper); color: var(--text-dark); }
.section--paper p { color: var(--text-mute-l); }
.section--paper h2, .section--paper h3 { color: var(--text-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: .92rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.2;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
  text-align: center;
}
.btn--primary {
  background: var(--accent);
  color: var(--ink);
}
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { background: transparent; border-color: var(--ink-line); color: var(--text-light); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 1.2rem 2.4rem; font-size: .95rem; }
.btn--sm { padding: .7rem 1.25rem; font-size: .92rem; }

/* ---------- Checklisten ---------- */
.checks li {
  position: relative; padding-left: 2rem; margin-bottom: .6rem;
}
.checks li::before {
  content: ''; position: absolute; left: 0; top: .35em; width: 1.2rem; height: 1.2rem;
  border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cca738' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E");
  background-size: 60%; background-position: center; background-repeat: no-repeat;
}
.checks--dark li { color: var(--text-dark); }
.checks--dark li::before { border-color: var(--accent-deep); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239c7f52' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E"); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: .9rem 0;
  transition: background .35s, padding .35s, box-shadow .35s;
}
.header.scrolled { background: rgba(10, 10, 10, .9); backdrop-filter: blur(12px); padding: .55rem 0; box-shadow: 0 1px 0 var(--ink-line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header__logo { display: block; }
/* Wortmarke: SP-Monogramm (PNG aus 2166 px) + „(T)RAUMSCHMIEDE" als Text, bis ein Vektorlogo da ist [OFFEN] */
.brand { display: inline-flex; align-items: center; gap: .75em; line-height: 1; white-space: nowrap; }
.brand img { width: auto; height: 1.9em; }
.brand span { font-family: var(--font-display); font-weight: 400; font-size: 1em; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.header .brand { font-size: clamp(.95rem, 1.5vw, 1.15rem); }
@media (max-width: 420px) { .header .brand { font-size: .82rem; } .header .brand span { letter-spacing: .16em; } }
.header__right { display: flex; align-items: center; gap: 1.25rem; }
.header__phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; font-size: .95rem; color: var(--text-light); }
.header__phone svg { width: 1.1rem; height: 1.1rem; fill: var(--accent); }
@media (max-width: 720px) {
  .header__phone { font-size: .9rem; }
}
@media (max-width: 480px) {
  .header__phone span { display: none; }   /* mobil nur Hörer-Icon, sonst kollidiert die Wortmarke */
  .header__phone svg { width: 1.45rem; height: 1.45rem; }
}
/* Partner-Zeile (Lamurista) im Über-uns-Block */
.partner { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.75rem; padding: .9rem 1.1rem; background: var(--ink); color: var(--text-mute-d); font-size: .85rem; line-height: 1.4; }
.partner img { height: 18px; width: auto; flex: none; }
/* Rating ohne Google-Logo (Kundenstimmen der eigenen Website) */
a.rating:hover .rating__label { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(92svh, 800px);
  display: flex; align-items: center;
  /* Desktop: oben deutlich mehr Luft zur fixen Navigation (Marius 08.10.) */
  padding: clamp(8rem, 15vh, 9.5rem) 0 clamp(4rem, 8vh, 5rem);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform-origin: 50% 45%; animation: heroDrift 30s ease-in-out infinite alternate; }
@keyframes heroDrift { from { transform: scale(1.05) translate(0, 0); } to { transform: scale(1.16) translate(-1.6%, -1.2%); } }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.72) 45%, rgba(0,0,0,.4) 75%, rgba(0,0,0,.3) 100%);
}
.hero__inner { position: relative; z-index: 1; max-width: 680px; }
.hero h1 { margin-bottom: 1rem; text-wrap: balance; font-size: clamp(2.1rem, 3.5vw, 3.1rem); } /* Desktop kleiner als H1-Token (Marius 08.10.) */
.hero__lead { font-size: 1.05em; color: var(--text-light); opacity: .9; margin-bottom: 1.1rem; max-width: 560px; }
.hero .checks { margin: 1.5rem 0 1.75rem; }
.hero .checks li { margin-bottom: .35rem; }
.hero .checks li strong { font-weight: 600; color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.hero .btn--ghost { border-color: rgba(255,255,255,.38); }   /* auf dem dunklen Hero-Foto sichtbar */
.hero__trust { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; font-size: .85rem; color: var(--text-mute-d); }
@media (max-width: 720px) {
  /* Mobil kompakt (Marius 08.10.): kein langes Scrollen im Hero */
  .hero { min-height: auto; padding: 5.5rem 0 2rem; }
  .hero__media img { object-position: 50% 40%; }
  .hero__veil { background: linear-gradient(180deg, rgba(0,0,0,.82), rgba(0,0,0,.72)); }
  .hero h1 { font-size: clamp(1.75rem, 7.2vw, 2.2rem); line-height: 1.15; margin-bottom: 1rem; }
  .hero .checks { margin: 1.25rem 0 1.5rem; }
  .hero .checks li { margin-bottom: .6rem; font-size: .95rem; line-height: 1.55; padding-left: 1.9rem; }
  .hero .checks li::before { width: 1.15rem; height: 1.15rem; top: .3em; }
  .hero__cta { margin-bottom: 1rem; }
  .hero__cta .btn { width: 100%; padding: 1rem 1.25rem; font-size: .88rem; }
  .rating { margin-top: 0; padding: .45rem .75rem; font-size: .82rem; gap: .45rem; }
}

/* Google-Rating im Hero */
.rating {
  display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.4rem;
  padding: .55rem .9rem; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.35);
  font-size: .88rem; color: var(--text-light);
}
.rating__g { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; }
.rating__score { font-weight: 600; }
.rating__stars { color: var(--accent); letter-spacing: .06em; font-size: .95rem; line-height: 1; }
.rating__label { color: var(--text-mute-d); }

/* Lade-Animation Hero */
.fade { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * .12s + .1s); }
body.is-loaded .fade { opacity: 1; transform: none; }

/* Scroll-Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade, .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; transform: none; }
}

/* ---------- Bildslider (Endlos-Marquee, langsam) ---------- */
.slider { background: var(--ink); padding: 1.25rem 0; overflow: hidden; position: relative; border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); }
.slider::before, .slider::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: clamp(40px, 8vw, 120px); z-index: 2; pointer-events: none;
}
.slider::before { left: 0; background: linear-gradient(to right, var(--ink), transparent); }
.slider::after { right: 0; background: linear-gradient(to left, var(--ink), transparent); }
.slider__track { display: flex; gap: 1rem; width: max-content; animation: sliderScroll 110s linear infinite; }
.slider__track:hover { animation-play-state: paused; }
.slider__track figure { flex: 0 0 auto; width: clamp(220px, 26vw, 380px); aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink-card); }
.slider__track img { width: 100%; height: 100%; object-fit: cover; }
@keyframes sliderScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .slider__track { animation: none; } }

/* ---------- Gründe: Zuhause (rational, erste Folie) & Für dich (emotional, zweite Folie) ----------
   Übernommen von Kunden/Lamrista Endkunden: zwei Folien, die zweite
   schiebt sich beim Scrollen über die erste. Visuals: WebGL-Dithering
   (assets/js/dither.js). */
.reasons { background: var(--ink); }
.reasons__grid { position: relative; display: grid; grid-template-columns: 1fr; }
.reasons__col { padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 4rem); color: var(--text-light); }
.reasons__col h2 { font-size: var(--fs-h2); }
.reasons__col .reasons__sub { color: var(--text-mute-d); }
.reasons__col .reason { border-color: rgba(255,255,255,.09); }
.reasons__col .reason__icon { color: var(--accent); background: var(--accent-soft); }
.reasons__col .reason strong { color: #fff; }
.reasons__col .reason p { color: var(--text-mute-d); }
.reasons__col--first {
  background: radial-gradient(120% 90% at 0% 0%, rgba(204,167,56,.1), transparent 60%), var(--ink);
  /* Sticky-Offset setzt main.js per JS (Viewport minus eigene Höhe), damit die Folie
     erst parkt, wenn ihr unterer Rand im Bild ist. Prozentwerte bei top beziehen sich
     auf den Viewport, nicht auf die Folie, deshalb ging das mit reinem CSS schief. */
  position: sticky;
  top: 0;
  z-index: 1;
}
.reasons__col--second {
  position: relative; z-index: 2;
  background: radial-gradient(120% 90% at 100% 100%, rgba(204,167,56,.08), transparent 60%), var(--ink-soft);
  border-top: 1px solid rgba(204,167,56,.35);
  box-shadow: 0 -40px 80px -30px rgba(0, 0, 0, .85);
}
/* Scroll-Puffer: die Zuhause-Folie parkt vollständig sichtbar, bis dieser transparente
   Puffer durchgescrollt ist. Erst dann schiebt sich die Dich-Folie darüber. */
.reasons__spacer { height: 60vh; }
@media (max-width: 900px) {
  .reasons__col { padding: 3rem 1.25rem 3.5rem; }
  .reasons__col--second { padding-top: 4rem; }
  .reasons__spacer { height: 38vh; }
  .reasons__amp { width: 46px; height: 46px; top: -23px; font-size: 1.2rem; box-shadow: 0 0 0 5px var(--ink); }
  .reason { grid-template-columns: 42px 1fr; gap: .9rem; padding: 1.1rem 0; }
  .reason__icon { width: 42px; height: 42px; }
  .reason__icon svg { width: 20px; height: 20px; }
  .reason strong { font-size: .96rem; }
  .reason p { font-size: .86rem; }
}
@media (min-width: 901px) {
  .reasons__col { min-height: 100vh; display: flex; align-items: center; }
  .reasons__colgrid { width: 100%; }
}
.reasons__colgrid {
  display: grid; grid-template-columns: minmax(240px, 360px) 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center; max-width: 1100px; margin: 0 auto;
}
@media (max-width: 900px) {
  .reasons__colgrid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0; }
  .reasons__inner { display: contents; }
  .reasons__col h2 { text-align: left; margin: 0; }
  .reasons__col .reasons__sub { width: 100%; margin: .8rem auto .6rem; max-width: 46ch; text-align: center; }
  .reasons__list { width: 100%; }
}
.reasons__visual { display: grid; place-items: center; }
.reasons__visual canvas { display: block; width: 100%; max-width: 22.5rem; aspect-ratio: 1; height: auto; }
@media (max-width: 900px) {
  .reasons__visual { display: block; width: fit-content; }
  .reasons__visual canvas { width: clamp(120px, 34vw, 160px); max-width: none; }
  #ditherHeart { margin-right: 8px; }
  #ditherHouse { margin-right: 16px; width: clamp(150px, 42vw, 190px); }
}
.reasons__inner { max-width: 640px; }
.reasons__sub { margin: 1rem 0 2.2rem; font-size: .95rem; line-height: 1.7; max-width: 40ch; }
.reason { display: grid; grid-template-columns: 48px 1fr; gap: 1.1rem; padding: 1.3rem 0; border-bottom: 1px solid; }
.reason:last-child { border-bottom: none; }
.reason__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; }
.reason__icon svg { width: 23px; height: 23px; }
.reason strong { display: block; font-size: 1.02rem; font-weight: 600; margin-bottom: .35rem; letter-spacing: .01em; }
.reason p { font-size: .89rem; line-height: 1.7; margin: 0; }
.reasons__amp {
  position: absolute; top: -2.625rem; left: 50%; transform: translateX(-50%);
  display: grid; place-items: center; width: 5.25rem; height: 5.25rem; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 400;
  box-shadow: 0 0 0 8px var(--ink); z-index: 3;
}

/* ---------- Vorher / Nachher ---------- */
.compare {
  position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden;
  user-select: none; touch-action: pan-y; box-shadow: var(--shadow); cursor: ew-resize;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__after { clip-path: inset(0 0 0 50%); }
.compare__label {
  position: absolute; top: 1rem; padding: .35rem .85rem; border-radius: var(--radius-pill);
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  background: rgba(11,10,9,.65); backdrop-filter: blur(6px); color: var(--text-light);
}
.compare__label--before { left: 1rem; }
.compare__label--after { right: 1rem; background: var(--accent); color: var(--ink); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--accent); transform: translateX(-50%); pointer-events: none;
}
.compare__handle span {
  position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--accent); box-shadow: 0 6px 20px rgba(0,0,0,.4);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0a09' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6l-5 6 5 6M16 6l5 6-5 6'/%3E%3C/svg%3E");
  background-size: 55%; background-position: center; background-repeat: no-repeat;
}
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__note { text-align: center; margin-top: 1.25rem; color: var(--text-mute-d); font-size: .95rem; }

/* ---------- Bereiche ---------- */
.areas__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.area {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-soft);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.area:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.area img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.area:hover img { transform: scale(1.05); }
.area__text {
  position: absolute; inset: auto 0 0 0; padding: 1.25rem;
  background: linear-gradient(0deg, rgba(11,10,9,.9), rgba(11,10,9,0));
  color: var(--text-light);
}
.area__text h3 { color: var(--text-light); margin-bottom: .1rem; font-size: 1.6rem; }
.area__text p { color: var(--text-mute-d); font-size: .88rem; }
@media (max-width: 860px) { .areas__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .areas__grid { grid-template-columns: 1fr; } .area { aspect-ratio: 16 / 10; } }

/* ---------- Vorteile ---------- */
.benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.benefit {
  background: var(--ink-card); border: 1px solid var(--ink-line); border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem); transition: border-color .3s, transform .5s var(--ease);
}
.benefit:hover { border-color: var(--accent); transform: translateY(-3px); }
.benefit__num { font-family: var(--font-accent); font-weight: 400; font-size: 2rem; color: var(--accent); line-height: 1; display: block; margin-bottom: 1rem; }
.benefit h3 { margin-bottom: .5rem; }
.benefit p { color: var(--text-mute-d); font-size: .96rem; }
@media (max-width: 860px) { .benefits__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .benefits__grid { grid-template-columns: 1fr; } }

/* ---------- Über uns ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about__media { position: relative; }
.about__frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute; right: -1.25rem; bottom: -1.25rem; width: clamp(110px, 14vw, 160px); aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; border: 4px solid var(--paper); box-shadow: 0 10px 30px rgba(0,0,0,.25); background: #000;
  display: grid; place-items: center;
}
.about__badge img { width: 58%; height: auto;
}
.about__text h2 { margin-bottom: 1.25rem; }
.about__text p { margin-bottom: 1rem; }
.about__text .checks { margin: 1.5rem 0 2rem; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } .about__frame { aspect-ratio: 4 / 3; } .about__badge { right: 1rem; bottom: -1rem; } }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; counter-reset: step; }
.step {
  position: relative; background: var(--ink-card); border: 1px solid var(--ink-line); border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.25rem); padding-top: 3.25rem;
}
.step__num {
  position: absolute; top: -1.1rem; left: 1.5rem; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--accent); color: var(--ink); display: grid; place-items: center; font-weight: 600;
}
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--text-mute-d); font-size: .96rem; }
.process__cta { text-align: center; margin-top: 3rem; display: flex; flex-direction: column; align-items: center; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Galerie ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery__grid figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-soft); }
.gallery__grid figure:nth-child(2) { grid-column: span 2; aspect-ratio: auto; position: relative; }
.gallery__grid figure:nth-child(2) img { position: absolute; inset: 0; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__grid figure:hover img { transform: scale(1.04); }
@media (max-width: 720px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid figure:nth-child(2) { grid-column: span 2; aspect-ratio: 16 / 10; }
}

/* ---------- Kundenstimmen ---------- */
.quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.quote {
  background: var(--ink-card); border: 1px solid var(--ink-line); border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: 1rem;
}
.quote p { font-family: var(--font-accent); font-size: 1.2rem; line-height: 1.5; color: var(--text-light); flex: 1; }
.quote footer { font-size: .82rem; color: var(--text-mute-d); border-top: 1px solid var(--ink-line); padding-top: .85rem; }
@media (max-width: 860px) { .quotes__grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq__wrap { max-width: 860px; }
.faq__list details { border-bottom: 1px solid var(--paper-line); }
.faq__list details:first-child { border-top: 1px solid var(--paper-line); }
.faq__list summary {
  cursor: pointer; list-style: none; padding: 1.2rem 3rem 1.2rem 0; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; position: relative; color: var(--text-dark);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: '+'; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--accent-deep); color: var(--accent-deep);
  display: grid; place-items: center; font-weight: 400; transition: transform .3s, background .3s, color .3s;
}
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--accent-deep); color: var(--paper); }
.faq__list details > div { padding: 0 0 1.4rem; max-width: 720px; }

/* ---------- Lead-Funnel ---------- */
.funnel { background: var(--ink); }
.funnel__wrap { max-width: 760px; }
.funnel .section__head { text-align: center; margin-inline: auto; }
.quiz {
  background: var(--ink-card); border: 1px solid var(--ink-line); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow); position: relative;
}
.quiz__progress { height: 4px; background: var(--ink-line); border-radius: var(--radius-pill); overflow: hidden; }
.quiz__bar { height: 100%; width: 14%; background: var(--accent); transition: width .5s var(--ease); }
.quiz__counter { font-size: .8rem; color: var(--text-mute-d); margin: .6rem 0 1.75rem; letter-spacing: .1em; }
.quiz__step { display: none; border: 0; animation: stepIn .45s var(--ease); }
.quiz__step.is-active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.quiz legend { font-family: var(--font-display); font-size: clamp(1.45rem, 2.5vw, 1.9rem); font-weight: 400; line-height: 1.2; margin-bottom: 1.5rem; }
.options { display: grid; gap: .7rem; }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; inset: 0; }
.option span {
  display: block; padding: 1rem 1.25rem 1rem 3.1rem; border: 1.5px solid var(--ink-line); border-radius: var(--radius);
  position: relative; transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.option span::before {
  content: ''; position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%);
  width: 1.2rem; height: 1.2rem; border-radius: 50%; border: 1.5px solid var(--text-mute-d); transition: .25s;
}
.option:hover span { border-color: var(--accent); transform: translateX(3px); }
.option input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.option input:checked + span::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 4px var(--ink-card); }
.option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.fields { display: grid; gap: 1rem; }
.field span { display: block; font-size: .85rem; color: var(--text-mute-d); margin-bottom: .35rem; }
.field input {
  width: 100%; padding: .95rem 1.1rem; border-radius: var(--radius); border: 1.5px solid var(--ink-line);
  background: var(--ink-soft); color: var(--text-light); font-size: 1rem; transition: border-color .25s;
}
.field input:focus { outline: none; border-color: var(--accent); }
.field input.invalid { border-color: #c2524a; }
.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .85rem; color: var(--text-mute-d); margin-top: 1.25rem; cursor: pointer; }
.consent input { margin-top: .3rem; accent-color: var(--accent); flex: 0 0 auto; width: 1.1rem; height: 1.1rem; }
.consent a { color: var(--accent); text-decoration: underline; }
.quiz__nav { display: flex; gap: .75rem; justify-content: flex-end; margin-top: 1.75rem; flex-wrap: wrap; }
.quiz__nav .btn--ghost { margin-right: auto; }
.quiz__error { color: #e07068; font-size: .9rem; margin-top: .75rem; }
.quiz__micro { text-align: center; margin-top: 1.25rem; }
.quiz__done { text-align: center; padding: 1rem 0; }
.done__icon {
  width: 4rem; height: 4rem; border-radius: 50%; background: var(--accent); color: var(--ink);
  display: grid; place-items: center; font-size: 1.8rem; font-weight: 600; margin: 0 auto 1.25rem;
}
.quiz__done h3 { font-size: 2rem; margin-bottom: .75rem; }
.quiz__done p { color: var(--text-mute-d); margin-bottom: 1.5rem; }
.quiz.is-done .quiz__nav, .quiz.is-done .quiz__progress, .quiz.is-done .quiz__counter, .quiz.is-done .quiz__micro, .quiz.is-done .quiz__error { display: none; }
@media (max-width: 520px) {
  .quiz__nav { flex-direction: column-reverse; }
  .quiz__nav .btn { width: 100%; }
  .quiz__nav .btn--ghost { margin-right: 0; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink-soft); border-top: 1px solid var(--ink-line); padding: 3.5rem 0; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
.footer__brand .brand { font-size: 1rem; margin-bottom: 1.25rem; }
.footer p { color: var(--text-mute-d); margin-bottom: .75rem; }
.footer h4 { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.footer a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ink-line); color: var(--text-mute-d); font-size: .85rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ---------- Dankeseite ---------- */
.thanks { position: relative; overflow: hidden; padding: clamp(8rem, 16vh, 11rem) 0 clamp(4rem, 8vh, 6rem); min-height: 100svh; display: flex; align-items: center; }
.thanks .hero__veil { background: linear-gradient(180deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.8) 60%, var(--ink) 100%); }
.thanks__inner { position: relative; z-index: 1; max-width: 720px; text-align: center; }
.thanks h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 1rem; text-wrap: balance; }
.thanks__lead { font-size: 1.08rem; color: var(--text-mute-d); max-width: 54ch; margin: 0 auto 2.5rem; }
.thanks__lead strong { color: var(--text-light); font-weight: 600; }
.thanks__steps { list-style: none; margin: 0 0 2.25rem; padding: 0; display: grid; gap: .75rem; text-align: left; }
.thanks__steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: start; padding: 1.1rem 1.25rem; background: rgba(0,0,0,.42); border: 1px solid rgba(255,255,255,.1); }
.thanks__num { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; background: var(--accent); color: var(--ink); font-family: var(--font-display); font-size: 1.15rem; }
.thanks__steps strong { display: block; color: #fff; font-weight: 600; margin-bottom: .2rem; }
.thanks__steps p { margin: 0; color: var(--text-mute-d); font-size: .92rem; line-height: 1.6; }
.thanks__tip { padding: 1.5rem; border: 1px solid rgba(204,167,56,.45); background: rgba(204,167,56,.08); text-align: left; }
.thanks__tip strong { display: block; color: #fff; font-weight: 600; margin-bottom: .4rem; }
.thanks__tip p { margin: 0 0 1.25rem; color: var(--text-mute-d); font-size: .95rem; }
.thanks__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.thanks__back { margin: 2.25rem 0 0; font-size: .9rem; }
.thanks__back a { color: var(--text-mute-d); text-decoration: underline; text-underline-offset: 3px; }
.thanks__back a:hover { color: var(--accent); }
@media (max-width: 720px) {
  .thanks { padding: 6rem 0 3rem; min-height: auto; }
  .thanks__actions .btn { width: 100%; }
  .thanks__steps li { padding: 1rem; }
}

/* ---------- Rechtsseiten ---------- */
.legal { padding: 8rem 0 5rem; max-width: 820px; }
.legal h1 { margin-bottom: 2rem; }
.legal h2 { font-size: 1.7rem; margin: 2.25rem 0 .75rem; }
.legal p, .legal li { color: var(--text-mute-d); margin-bottom: .75rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; }
.legal a { color: var(--accent); text-decoration: underline; }
.legal .todo { background: var(--accent-soft); border-left: 3px solid var(--accent); padding: .9rem 1.1rem; color: var(--text-light); border-radius: 0 var(--radius) var(--radius) 0; }

/* ---------- Prospekt-Gate (E-Mail vor dem Prospekt) ---------- */
.gate { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.gate[hidden] { display: none; }
.gate__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .78); backdrop-filter: blur(4px); animation: gateFade .3s var(--ease); }
.gate__box {
  position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--ink-card); border: 1px solid var(--ink-line); border-radius: var(--radius); box-shadow: var(--shadow);
  animation: gateIn .45s var(--ease);
}
.gate__img { display: block; width: 100%; height: 170px; object-fit: cover; }
.gate__body { padding: 1.6rem 1.75rem 1.9rem; }
.gate__body .eyebrow { display: block; margin-bottom: .55rem; }
.gate__body h3 { color: var(--text-light); font-size: 1.75rem; margin-bottom: .6rem; }
.gate__text { color: var(--text-mute-d); font-size: .95rem; margin-bottom: 1.25rem; }
.gate__body .consent { margin-top: 1rem; font-size: .8rem; }
.gate__submit { width: 100%; justify-content: center; margin-top: 1.25rem; }
.gate__close {
  position: absolute; top: .6rem; right: .6rem; z-index: 1; width: 2.4rem; height: 2.4rem; border: 0; border-radius: var(--radius);
  background: rgba(11, 10, 9, .7); color: var(--text-light); font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.gate__close:hover { color: var(--accent); }
body.gate-open { overflow: hidden; }
@keyframes gateFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes gateIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) { .gate__img { height: 130px; } .gate__body { padding: 1.3rem 1.25rem 1.5rem; } .gate__body h3 { font-size: 1.5rem; } }
@media (prefers-reduced-motion: reduce) { .gate__backdrop, .gate__box { animation: none; } }

/* ---------- Funnel: Mehrfachauswahl + Textkachel Bereiche ---------- */
.quiz__hint { font-size: .85rem; color: var(--text-mute-d); margin: -1rem 0 1.1rem; }
.option input[type="checkbox"] + span::before { border-radius: 2px; }
.option input[type="checkbox"]:checked + span::before { box-shadow: inset 0 0 0 3px var(--ink-card); }
@media (min-width: 600px) { .options--multi { grid-template-columns: 1fr 1fr; } }
.area--text { display: flex; align-items: flex-end; background: var(--ink); border: 1px solid var(--ink-line); }
.area--text .area__text { position: relative; background: none; }
.area__more { display: inline-block; margin-top: .9rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.options--multi .option:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* ungerade Anzahl: letzte Option volle Breite */
