/* ==========================================================================
   THIEME Kunden-Landingpages (deinwunschvorort.de)
   Farben + Schriften kommen pro Kunde aus build.py (Block :root in index.html).
   Hier nur Struktur. Keine Kundenwerte hart eintragen.
   ========================================================================== */

/* ---------- Schrift-Presets (lokal, OFL-lizenziert; build.py entfernt ungenutzte) ---------- */
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

/* ---------- Basis-Token (werden vom Build überschrieben) ---------- */
:root {
  --c-primary: #1f4e5a;
  --c-primary-ink: #1f4e5a;   /* Primärfarbe als Textfarbe auf --c-paper, kontrastgeprüft */
  --c-on-primary: #ffffff;
  --c-accent: #e0a12b;
  --c-on-accent: #1a1a1a;
  --c-paper: #ffffff;
  --c-surface: #ffffff;
  --c-ink: #191a1a;
  --c-muted: #5b5f60;
  --c-line: rgba(0, 0, 0, .12);
  --c-soft: #f3f3f2;          /* ruhige Fläche hinter dem Quiz */

  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --head-weight: 700;
  --head-case: none;
  --head-track: -0.035em;
  --head-scale: 1;

  --gutter: 16px;
  --maxw: 1200px;
  --radius: 2px;
  --space: clamp(64px, 12vw, 136px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--c-paper); color: var(--c-ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 {
  font-family: var(--font-head); font-weight: var(--head-weight);
  text-transform: var(--head-case); letter-spacing: var(--head-track);
  line-height: 1.02; margin: 0; text-wrap: balance;
}
h2 { font-size: calc(clamp(1.9rem, 7.4vw, 3.6rem) * var(--head-scale)); }
h3 { font-size: calc(1.2rem * var(--head-scale)); line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-block: var(--space) 0; }
.lead { margin-top: 16px; font-size: 1.1rem; color: var(--c-muted); max-width: 36em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 56px; padding: 0 28px; border: 0; border-radius: var(--radius);
  background: var(--c-accent); color: var(--c-on-accent);
  font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; transition: filter .15s ease;
}
.btn:hover { filter: brightness(1.07); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- Beispielseite: Hinweisleiste ---------- */
.demo-bar { background: #1d1d1b; color: #fff; text-align: center; font-size: .78rem; padding: 7px 12px; }

/* ---------- Kopfleiste (weiß, Originallogo) ---------- */
.top { background: var(--c-paper); border-bottom: 1px solid var(--c-line); position: relative; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.top__logo { height: 34px; width: auto; max-width: 170px; object-fit: contain; }
.top__logo--text { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-track); font-size: 1.2rem; }
.top__call { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--c-primary-ink); white-space: nowrap; }
.top__call svg { width: 18px; height: 18px; }
@media (max-width: 420px) { .top__call span { display: none; } .top__call { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--c-line); } }

/* ---------- Hero: großes Foto, Headline steht im Bild ---------- */
.hero__stage { position: relative; height: clamp(280px, 42svh, 560px); overflow: hidden; background: var(--c-primary); }
.hero__stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__stage::after { content: ""; position: absolute; inset: 35% 0 0 0; background: linear-gradient(transparent, rgba(0,0,0,.62)); pointer-events: none; }
.hero__title { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding-bottom: 22px; color: #fff; }
.hero h1 { font-size: calc(clamp(2.1rem, 10vw, 5.6rem) * var(--head-scale)); max-width: 13em; text-shadow: 0 1px 24px rgba(0,0,0,.25); }
.hero__eyebrow { font-weight: 600; font-size: .95rem; margin-bottom: 10px; opacity: .92; }
.hero__plain { padding: 56px 0 8px; }
.hero--plain h1 { color: var(--c-ink); text-shadow: none; }
.hero--plain .hero__eyebrow { color: var(--c-muted); }

/* Bewertungs-Zeile */
.rating { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; text-decoration: none; color: var(--c-ink); }
.rating svg { width: 17px; height: 17px; color: #e7a614; flex: none; }
a.rating span { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--c-line); }

/* ---------- Anfrage-Bereich mit Quiz ---------- */
.ask { padding: 22px 0 0; scroll-margin-top: 8px; }
.ask__grid { display: grid; gap: 22px; }
.ask__lead { font-size: 1.08rem; line-height: 1.5; max-width: 30em; }
.ask__intro .rating { margin-top: 12px; }
.ask__box { background: var(--c-soft); margin-inline: calc(var(--gutter) * -1); padding: 20px var(--gutter) 28px; scroll-margin-top: 8px; }
/* Mobil: die erste Frage soll im ersten Bildschirm stehen, Überschrift bleibt für Screenreader */
@media (max-width: 719px) { .ask__title, .ask__sub { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .quiz__progress { margin-top: 0; } }
.ask__title { font-size: calc(1.55rem * var(--head-scale)); line-height: 1.1; }
.ask__sub { margin-top: 6px; color: var(--c-muted); font-size: .95rem; }

.quiz__progress { display: flex; align-items: center; gap: 12px; margin: 20px 0 22px; font-size: .8rem; font-weight: 600; color: var(--c-muted); }
.quiz__bar { flex: 1; height: 2px; background: var(--c-line); }
.quiz__bar i { display: block; height: 100%; width: 0; background: var(--c-ink); transition: width .3s ease; }

.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend { font-weight: 700; font-size: 1.22rem; letter-spacing: -0.02em; line-height: 1.25; padding: 0; margin-bottom: 14px; }
.step legend:focus { outline: none; }
.step__hint { margin: -6px 0 14px; color: var(--c-muted); font-size: .9rem; }

/* Antwort-Kacheln zum Tippen */
.tiles { display: grid; gap: 8px; }
.tiles--grid { grid-template-columns: 1fr 1fr; }
.tile { position: relative; display: flex; }
.tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tile span {
  flex: 1; position: relative; display: flex; align-items: center; min-height: 60px; padding: 14px 40px 14px 16px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  font-weight: 600; line-height: 1.25; cursor: pointer; overflow-wrap: anywhere; hyphens: auto;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.tiles--grid .tile span { min-height: 78px; align-items: flex-end; padding: 12px 14px; }
.tile span svg { position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; padding: 3px; border-radius: 50%; color: transparent; box-shadow: inset 0 0 0 1.5px var(--c-line); }
@media (hover: hover) { .tile:hover span { border-color: var(--c-ink); } }
.tile input:checked + span { border-color: var(--c-primary-ink); box-shadow: inset 0 0 0 1px var(--c-primary-ink); }
.tile input:checked + span svg { background: var(--c-primary); color: var(--c-on-primary); box-shadow: none; }
.tile input:focus-visible + span { outline: 3px solid var(--c-accent); outline-offset: 2px; }

/* Kontaktschritt */
.field-row { display: grid; gap: 0 10px; }
.field { display: grid; gap: 5px; margin-bottom: 12px; }
.field label { font-weight: 600; font-size: .9rem; }
.field label small { font-weight: 400; color: var(--c-muted); }
.field input {
  min-height: 54px; padding: 0 14px; width: 100%; font-size: 1.05rem;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
}
.field input:focus { outline: none; border-color: var(--c-primary-ink); box-shadow: inset 0 0 0 1px var(--c-primary-ink); }
.field input[aria-invalid="true"] { border-color: #b3261e; box-shadow: inset 0 0 0 1px #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.quiz__nav { display: flex; gap: 14px; margin-top: 18px; align-items: center; }
.quiz__back { background: none; border: 0; padding: 10px 2px; color: var(--c-muted); font-weight: 600; cursor: pointer; }
.quiz__back::before { content: "← "; }
.quiz__nav .btn { flex: 1; padding: 0 16px; white-space: nowrap; }
.quiz__form:not(.is-last) .quiz__legal { display: none; }
.quiz__legal { margin-top: 14px; font-size: .76rem; color: var(--c-muted); line-height: 1.5; }
.quiz__error { margin-top: 12px; color: #b3261e; font-weight: 600; font-size: .95rem; }
.quiz__error:empty { display: none; }
.quiz__done h3 { font-size: 1.5rem; margin-bottom: 8px; }
.quiz__done:focus { outline: none; }
.quiz__check { width: 48px; height: 48px; border-radius: 50%; background: var(--c-primary); color: var(--c-on-primary); display: grid; place-items: center; margin-bottom: 16px; }
.quiz__check svg { width: 24px; height: 24px; }

/* ---------- Leistungen: Katalog-Liste mit Haarlinien ---------- */
.list__items { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--c-ink); }
.list__item { padding: 18px 0; border-bottom: 1px solid var(--c-line); display: grid; gap: 4px; }
.list__item p { color: var(--c-muted); max-width: 34em; }
.list--compact .list__item { padding: 14px 0; }
.list--compact .list__item h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- Team ---------- */
.team__grid { display: grid; gap: 24px; }
.team__bild { margin: 0; margin-inline: calc(var(--gutter) * -1); }
.team__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.team__text p { margin-top: 14px; color: var(--c-muted); font-size: 1.08rem; max-width: 32em; }

/* ---------- Galerie ---------- */
.gallery__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery--quadrat img { aspect-ratio: 1 / 1; }
.gallery__h { margin-bottom: 24px; }
.gallery figcaption { margin-top: 8px; font-size: .85rem; color: var(--c-muted); }

/* ---------- Bewertungen: Zitate untereinander ---------- */
.reviews__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; }
.reviews__list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--c-ink); }
.review { padding: 22px 0; border-bottom: 1px solid var(--c-line); }
.review__stars { display: flex; gap: 2px; color: #e7a614; }
.review__stars svg { width: 14px; height: 14px; }
.review blockquote { margin: 10px 0 10px; font-size: 1.15rem; line-height: 1.45; letter-spacing: -0.01em; max-width: 36em; }
.review__who { font-size: .85rem; color: var(--c-muted); }
.review__who strong { color: var(--c-ink); font-weight: 600; margin-right: 8px; }
.reviews__all { display: inline-block; margin-top: 18px; font-weight: 600; font-size: .95rem; text-underline-offset: 3px; }

/* ---------- Ablauf (echte Reihenfolge) ---------- */
.steps__list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--c-ink); }
.steps__list li { display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--c-line); }
.steps__n { font-weight: 700; color: var(--c-primary-ink); font-variant-numeric: tabular-nums; }
.steps__list p { margin-top: 4px; color: var(--c-muted); }

/* ---------- FAQ ---------- */
.faq__list { margin-top: 28px; border-top: 1px solid var(--c-ink); max-width: 820px; }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 600; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { padding: 0 0 20px; color: var(--c-muted); max-width: 44em; }

/* ---------- Standorte ---------- */
.places__list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--c-ink); }
.place { padding: 20px 0; border-bottom: 1px solid var(--c-line); display: grid; gap: 6px; }
.place h3 { font-size: 1.25rem; }
.place p { color: var(--c-muted); }
.place__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--c-primary-ink); justify-self: start; }
.place__tel svg { width: 16px; height: 16px; }
.place__hours { list-style: none; margin: 4px 0 0; padding: 0; font-size: .88rem; color: var(--c-muted); }

/* ---------- Schluss ---------- */
.closer { margin-top: var(--space); padding-block: var(--space); background: var(--c-primary); color: var(--c-on-primary); }
.closer p { margin-top: 14px; opacity: .9; max-width: 34em; }
.closer__btns { display: grid; gap: 10px; margin-top: 28px; max-width: 420px; }

/* ---------- Auf einen Blick (Klartext) ---------- */
.glance { padding: var(--space) 0 0; }
.glance h2 { font-family: var(--font-body); letter-spacing: 0; font-size: .85rem; font-weight: 600; color: var(--c-muted); text-transform: none; }
.glance p { margin-top: 6px; max-width: 60em; font-size: .85rem; color: var(--c-muted); line-height: 1.6; }
.closer + .glance { padding-top: 40px; }

/* ---------- Footer ---------- */
.foot { margin-top: 32px; padding: 28px 0 110px; border-top: 1px solid var(--c-line); font-size: .88rem; color: var(--c-muted); }
.foot .wrap { display: grid; gap: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot__credit { font-size: .78rem; }
.foot a { text-decoration: underline; text-underline-offset: 3px; }
/* THIEME-Badge, gleiche Form wie auf den Karriereseiten */
.thieme {
  display: inline-flex; flex-direction: column; align-items: center; gap: 7px; justify-self: start;
  padding: 12px 18px 14px; border: 1px solid var(--c-line); border-radius: 8px;
  text-decoration: none !important; color: var(--c-muted); transition: border-color .15s ease;
}
.thieme:hover { border-color: var(--c-muted); }
.thieme span { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; }
.thieme img { height: 26px; width: auto; }

/* ---------- Mobile Leiste ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--c-paper); border-top: 1px solid var(--c-line);
  transform: translateY(110%); transition: transform .25s ease;
}
.dock.is-on { transform: none; }
.dock .btn { flex: 1; min-height: 52px; }
.dock__call { flex: none; width: 52px; display: grid; place-items: center; border: 1px solid var(--c-line); border-radius: var(--radius); color: var(--c-ink); }
.dock__call svg { width: 22px; height: 22px; }

/* ---------- Consent (nur wenn Pixel aktiv) ---------- */
.consent {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  background: var(--c-surface); color: var(--c-ink); border: 1px solid var(--c-line); padding: 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,.25); max-width: 560px; font-size: .86rem; line-height: 1.5;
  max-height: calc(100vh - 24px); overflow-y: auto;
}
.consent__h { font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.consent__links { margin: 10px 0 14px; }
.consent__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* Ablehnen und Akzeptieren bewusst identisch gestaltet (keine Lenkung) */
.btn--same { min-height: 46px; padding: 0 12px; font-size: .95rem; background: var(--c-ink); color: var(--c-paper); }

/* ---------- Dunkles Theme ---------- */
.theme-dark { --c-soft: #1b1d1e; }
.theme-dark .list__items, .theme-dark .reviews__list, .theme-dark .steps__list, .theme-dark .faq__list, .theme-dark .places__list { border-top-color: var(--c-muted); }

/* ---------- Ab Tablet ---------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .hero__title { padding-bottom: 40px; }
  .ask__box { margin-inline: 0; padding: 36px 40px 40px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .list__item { grid-template-columns: minmax(220px, 5fr) 7fr; gap: 40px; align-items: baseline; }
  .list--compact .list__items { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .list--compact .list__item { grid-template-columns: 1fr; }
  .gallery__track { grid-auto-columns: 44%; }
  .review { display: grid; grid-template-columns: 1fr 220px; gap: 0 40px; align-items: start; }
  .review__stars { grid-column: 2; grid-row: 1; justify-self: start; margin-top: 6px; }
  .review blockquote { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
  .review__who { grid-column: 2; grid-row: 2; }
  .review__who strong { display: block; }
  .place { grid-template-columns: 1.2fr 1fr 1fr 1fr; align-items: baseline; gap: 16px; }
  .closer__btns { grid-template-columns: auto auto; justify-content: start; max-width: none; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  .hero__stage { height: min(72vh, 720px); }
  .hero h1 { font-size: calc(clamp(3rem, 5.4vw, 5.6rem) * var(--head-scale)); }
  .hero__title { padding-bottom: 56px; }
  .hero__plain { padding: 96px 0 24px; }
  .ask { padding-top: 56px; }
  .ask__grid { grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
  .ask__intro { position: sticky; top: 32px; padding-top: 8px; }
  .ask__lead { font-size: 1.3rem; }
  .team__grid { grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
  .team__bild { margin-inline: 0; }
  .gallery__track { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 16px 8px; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .dock { display: none; }
  .foot { padding-bottom: 40px; }
  .foot .wrap { grid-template-columns: 1fr auto auto; align-items: center; column-gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Glücksrad (kunde.json → gluecksrad): jedes Feld zeigt dasselbe ---------- */
.rad { position: relative; width: min(100%, 320px); aspect-ratio: 1; margin: 6px auto 18px; }
.rad__scheibe { display: block; width: 100%; height: 100%; transform: rotate(0deg); transition: transform 4.6s cubic-bezier(.12, .7, .18, 1); }
.rad__scheibe text { font: 700 15px/1 var(--font-head); letter-spacing: -.02em; }
.rad__zeiger { position: absolute; z-index: 2; left: 50%; top: -6px; width: 26px; height: 30px; margin-left: -13px; transform-origin: 50% 12%;
  background: var(--c-ink); clip-path: polygon(0 0, 100% 0, 50% 100%); filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.rad__mitte { position: absolute; z-index: 1; left: 50%; top: 50%; width: 18%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--c-paper); box-shadow: 0 0 0 4px var(--c-ink); }
.rad__knopf { width: 100%; }
.rad__knopf[disabled] { opacity: .6; cursor: default; }
.rad__fair { margin-top: 10px; text-align: center; font-size: .9rem; color: var(--c-muted); }
.rad__bed { margin-top: 14px; font-size: .82rem; color: var(--c-muted); }
.rad__bed summary { cursor: pointer; font-weight: 600; }
.rad__bed ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.5; }
.rad__code { margin: 6px 0 12px; padding: 14px 16px; border: 2px dashed var(--c-primary-ink); font: 700 1.6rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-align: center; }
.rad__code:empty { display: none; }
.step--rad.is-gedreht .rad__knopf { display: none; }
@media (prefers-reduced-motion: reduce) { .rad__scheibe { transition-duration: .8s; } }
@media (min-width: 1024px) { .rad { width: 340px; } }
.rad__scheibe text.rad__niete { font-size: 7.6px; font-weight: 600; letter-spacing: 0; }

/* ---------- Rad oben (gluecksrad.oben): kurzes Titelbild, Rad vor dem Einleitungstext ---------- */
.rad-oben .hero__stage { height: clamp(170px, 24svh, 340px); }
.rad-oben .hero__stage::after { inset: 0; }
.rad-oben .hero h1 { font-size: calc(clamp(1.7rem, 7.4vw, 3.6rem) * var(--head-scale)); }
.rad-oben .hero__title { padding-bottom: 16px; }
.rad-oben .ask { padding-top: 0; }
.rad-oben .ask__box { order: -1; padding-top: 16px; }
.rad-oben .quiz__progress { margin: 10px 0 14px; }
.rad-oben .rad { width: min(100%, 290px); margin-bottom: 14px; }
@media (min-width: 1024px) {
  .rad-oben .ask { padding-top: 28px; }
  .rad-oben .ask__box { order: 0; }
  .rad-oben .rad { width: 340px; }
}

/* ---------- Stil „rund“ (design.stil): weiche Ecken, Pillen-Knöpfe, graue Karten wie in großen Einrichtungshaus-Shops ---------- */
.stil-rund { --radius: 12px; }
.stil-rund .btn, .stil-rund .dock .btn, .stil-rund .dock__call { border-radius: 999px; }
.stil-rund .gallery img, .stil-rund .team__bild img { border-radius: 16px; }
.stil-rund .rad__code { border-radius: 12px; }
@media (min-width: 1024px) {
  .stil-rund .ask__box { border-radius: 16px; }
  .stil-rund .hero__stage { width: min(calc(100% - 2 * var(--gutter)), var(--maxw)); margin: 16px auto 0; border-radius: 16px; }
}

/* ---------- Rad: Lichterkette und Stern (gluecksrad.lichter / .stern) ---------- */
.rad__licht { fill: #ffd76a; animation: rad-funkeln 1.35s ease-in-out infinite; }
@keyframes rad-funkeln { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.rad__mitte { display: grid; place-items: center; }
.rad__mitte svg { width: 62%; height: 62%; fill: #d9a520; }

/* ---------- Saison „weihnacht“ (design.saison): leiser Schneefall im Titelbild, Stern an den Abschnittstiteln ---------- */
.saison-weihnacht .hero__stage::before { content: ""; position: absolute; inset: -40% 0 0 0; z-index: 1; pointer-events: none; opacity: .9;
  background-image:
    radial-gradient(circle, #fff 0 1.6px, transparent 2.2px), radial-gradient(circle, rgba(255,255,255,.85) 0 1.1px, transparent 1.7px),
    radial-gradient(circle, rgba(255,255,255,.7) 0 2.2px, transparent 3px);
  background-size: 110px 130px, 70px 90px, 190px 210px; background-position: 0 0, 30px 40px, 80px 10px;
  animation: schnee 16s linear infinite; }
@keyframes schnee { to { background-position: 30px 390px, 10px 400px, 110px 430px; } }
.saison-weihnacht .hero__title { z-index: 2; }
.saison-weihnacht .hero__eyebrow::before { content: "★ "; color: #ffd76a; }
.saison-weihnacht .closer { background-image: radial-gradient(circle, rgba(255,255,255,.5) 0 1.4px, transparent 2px), radial-gradient(circle, rgba(255,255,255,.35) 0 2px, transparent 2.8px); background-size: 120px 110px, 200px 170px; background-position: 10px 20px, 90px 60px; }
@media (prefers-reduced-motion: reduce) { .saison-weihnacht .hero__stage::before, .rad__licht { animation: none; } }

/* ---------- Logo als Link, Frage-Schritt mit eigener Überschrift ---------- */
.top__home { display: inline-flex; align-items: center; }
.step__text { margin: 0 0 10px; color: var(--c-ink); font-size: 1rem; line-height: 1.5; }
.step__frage { margin: 16px 0 12px; font-weight: 700; font-size: 1.08rem; line-height: 1.3; }
.step--contact .step__hint + .step__hint { margin-top: -6px; }

/* ---------- Glücksrad plastisch (gluecksrad.stil: "3d"): Bühne mit Lichtkegel, Goldrahmen, Tiefe, Glanz, tickender Zeiger ---------- */
.rad__buehne { position: relative; overflow: hidden; margin: 4px 0 16px; padding: 30px 0 40px; border-radius: 18px; isolation: isolate;
  background: radial-gradient(circle at 50% 46%, #1f5a45 0%, #123a2c 38%, #071c15 78%, #04110d 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), inset 0 -30px 50px rgba(0,0,0,.35); }
.rad__buehne::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .8;
  background-image: radial-gradient(circle, #ffe9a3 0 1.2px, transparent 1.9px), radial-gradient(circle, rgba(255,255,255,.8) 0 .9px, transparent 1.5px), radial-gradient(circle, #ffd76a 0 1.6px, transparent 2.4px);
  background-size: 97px 113px, 61px 79px, 173px 151px; background-position: 12px 18px, 40px 6px, 90px 70px; }
.rad__strahlen { position: absolute; left: 50%; top: 46%; width: 190%; aspect-ratio: 1; z-index: -1; pointer-events: none; transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, rgba(255,226,140,.13) 0 9deg, rgba(255,226,140,0) 9deg 22.5deg);
  -webkit-mask-image: radial-gradient(circle, #000 0, rgba(0,0,0,.55) 28%, transparent 52%); mask-image: radial-gradient(circle, #000 0, rgba(0,0,0,.55) 28%, transparent 52%);
  animation: rad-strahlen 70s linear infinite; }
@keyframes rad-strahlen { to { transform: translate(-50%, -50%) rotate(360deg); } }
.rad--3d { perspective: 1000px; width: min(86%, 340px); margin: 0 auto; }
.rad-oben .rad--3d { width: min(86%, 330px); margin-bottom: 0; }
.rad--3d .rad__koerper { position: relative; width: 100%; height: 100%; border-radius: 50%; transform: rotateX(11deg); transform-style: preserve-3d;
  box-shadow: 0 2px 0 #c99a2e, 0 4px 0 #a87d16, 0 7px 0 #86620b, 0 10px 0 #5f4405, 0 30px 34px -8px rgba(0,0,0,.75), 0 0 70px rgba(255,214,110,.28); }
.rad--3d .rad__rahmen { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.rad--3d .rad__scheibe { position: absolute; left: 6%; top: 6%; width: 88%; height: 88%; transition: transform 5.6s cubic-bezier(.1, .74, .12, 1); will-change: transform; }
.rad--3d .rad__stege line { stroke: #f0cf6a; stroke-width: 1.5; stroke-opacity: .9; }
.rad--3d .rad__scheibe text { font-size: 19px; font-weight: 800; paint-order: stroke; stroke: rgba(0,0,0,.35); stroke-width: 1px; }
.rad--3d .rad__scheibe text.rad__niete { font-size: 8.6px; font-weight: 600; stroke-width: .5px; fill-opacity: .92; }
.rad--3d .rad__glanz { position: absolute; left: 6%; top: 6%; width: 88%; height: 88%; border-radius: 50%; pointer-events: none;
  background: linear-gradient(152deg, rgba(255,255,255,.36) 0%, rgba(255,255,255,.12) 26%, rgba(255,255,255,0) 48%), radial-gradient(circle at 50% 120%, rgba(0,0,0,.34), rgba(0,0,0,0) 58%);
  box-shadow: inset 0 5px 12px rgba(0,0,0,.4); }
.rad--3d .rad__sieg { position: absolute; left: 6%; top: 6%; width: 88%; height: 88%; border-radius: 50%; pointer-events: none; opacity: 0;
  background: conic-gradient(from -22.5deg, rgba(255,244,190,.85) 0 45deg, transparent 45deg); mix-blend-mode: screen; }
.rad--3d.is-sieg .rad__sieg { animation: rad-sieg 1.5s ease-out; }
@keyframes rad-sieg { 0%, 34%, 68% { opacity: .75; } 17%, 51% { opacity: .1; } 100% { opacity: 0; } }
.rad--3d .rad__mitte { width: 22%; background: radial-gradient(circle at 36% 28%, #fffbe6 0%, #f4d572 26%, #c0902a 60%, #6f4f08 100%);
  box-shadow: 0 0 0 2px #5f4405, 0 5px 10px rgba(0,0,0,.6), inset 0 -4px 6px rgba(0,0,0,.35), inset 0 2px 3px rgba(255,255,255,.7); }
.rad--3d .rad__mitte svg { fill: #6f4a05; filter: drop-shadow(0 1px 0 rgba(255,255,255,.6)); }
.rad--3d .rad__licht { animation: rad-funkeln 1.2s ease-in-out infinite; }
.rad--3d.is-dreht .rad__licht { animation-duration: .42s; }
.rad--3d .rad__zeiger { top: -22px; width: 44px; height: 60px; margin-left: -22px; clip-path: none; background: none; filter: drop-shadow(0 5px 4px rgba(0,0,0,.6)); transition: transform .18s cubic-bezier(.3, 1.7, .5, 1); transform-origin: 50% 20%; }
.rad--3d .rad__zeiger::before { content: ""; position: absolute; inset: 0; clip-path: polygon(50% 100%, 8% 38%, 4% 22%, 16% 6%, 50% 0, 84% 6%, 96% 22%, 92% 38%);
  background: linear-gradient(100deg, #7d5a0c 0%, #f1cd62 26%, #fff6cf 44%, #e2b84a 60%, #7d5a0c 100%); }
.rad--3d .rad__zeiger::after { content: ""; position: absolute; left: 50%; top: 9px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #ffc2c9, var(--c-accent) 52%, #4f030d); box-shadow: 0 0 0 2px #6f4f08, 0 0 8px rgba(255,90,110,.7); }
.rad--3d .rad__boden { position: absolute; left: 6%; right: 6%; bottom: -36px; height: 26px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.6), rgba(0,0,0,0) 70%); pointer-events: none; z-index: -1; }
.rad__buehne + .rad__knopf { box-shadow: 0 10px 22px -10px var(--c-accent); }
.rad__konf { position: absolute; top: 34%; left: 50%; width: 8px; height: 12px; border-radius: 2px; pointer-events: none; z-index: 3; opacity: 0;
  animation: rad-konf 1.5s cubic-bezier(.15, .6, .3, 1) forwards; }
@keyframes rad-konf { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); } }
@media (prefers-reduced-motion: reduce) { .rad--3d .rad__scheibe { transition-duration: .8s; } .rad--3d .rad__zeiger { transition: none; } .rad__strahlen, .rad--3d .rad__licht { animation: none; } }

/* Smartphone: Bühne kompakter, damit der Dreh-Knopf im ersten Bildschirm bleibt */
@media (max-width: 1023px) {
  .rad-oben .hero__stage:has(~ main .rad__buehne), .rad-oben .hero__stage { height: clamp(150px, 20svh, 300px); }
  .rad__buehne { padding: 24px 0 32px; margin-bottom: 12px; }
  .rad-oben .rad--3d { width: min(76%, 300px); }
  .rad-oben .step--rad .step__hint { margin-bottom: 10px; }
}

/* ---------- Gezeichnete Kacheln (kunde.json: optionen mit "icon") ---------- */
.tiles--grid .tile--icon span { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 8px; min-height: 104px; }
.tile span .tile__icon { display: block; line-height: 0; }
.tile span .tile__icon svg { position: static; width: 54px; height: 36px; padding: 0; border-radius: 0; color: var(--c-ink); box-shadow: none; background: none; }
.tile input:checked + span .tile__icon svg { background: none; color: var(--c-primary-ink); box-shadow: none; }

/* ---------- Terminschritt nach dem Absenden (kunde.json: termin) ---------- */
.termin { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.termin h3 { font-size: 1.25rem; margin-bottom: 6px; }
.termin__text { margin-bottom: 16px; }
.termin__ds { margin-top: 10px; font-size: .8125rem; color: var(--c-muted); }
.termin__kalender { margin: 4px -8px 0; }
.termin__kalender iframe { border-radius: var(--radius); }
.termin__fallback { margin-top: 4px; font-weight: 600; }
.termin__fallback a { white-space: nowrap; }

/* ---------- Markenband (kunde.json: marken) ---------- */
.marken__liste { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.marken__liste li { padding: 10px 16px; border: 1px solid var(--c-line); border-radius: var(--radius); font-weight: 600; line-height: 1.2; }
.stil-rund .marken__liste li { border-radius: 999px; }