/* ============================================================
   SSW v6 — sections.css
   Showcase, Survey, FAQ, Footer + Reduced-Motion-Fallback.
   ============================================================ */

/* ---------- Showcase ---------- */
.showcase { padding: 7rem 0; background: var(--surface); border-block: 1px solid var(--border); }
.showcase-sub { color: var(--muted); margin-bottom: 2.5rem; }

.sc-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.6rem;
  margin-bottom: 2rem;
}
.sc-group { display: grid; gap: 0.5rem; }
.sc-group-label {
  font-size: 0.72rem;
  font-weight: 660;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.sc-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.chip {
  min-height: 44px;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 560;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.chip:hover { color: var(--fg); border-color: var(--muted); }
.chip.is-active {
  color: var(--on-accent);
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 640;
}

/* Design-Regler (Branche tauscht Inhalte, Design tauscht Sprache) */
.sc-stage[data-design="ofenlicht"],
.hv-preview[data-design="ofenlicht"],
.hv3[data-design="ofenlicht"] {
  --mk-bg: oklch(15% 0.02 60);
  --mk-surface: oklch(20% 0.028 55);
  --mk-fg: oklch(94% 0.015 80);
  --mk-muted: oklch(70% 0.025 70);
  --mk-accent: oklch(78% 0.14 60);
  --mk-accent-ink: oklch(18% 0.03 55);
  --mk-radius: 8px;
  --mk-display: var(--font-display);
}
.sc-stage[data-design="werkstatt"],
.hv-preview[data-design="werkstatt"],
.hv3[data-design="werkstatt"] {
  --mk-bg: oklch(20% 0.012 250);
  --mk-surface: oklch(25% 0.014 250);
  --mk-fg: oklch(95% 0.003 260);
  --mk-muted: oklch(72% 0.01 255);
  --mk-accent: oklch(72% 0.13 155);
  --mk-accent-ink: oklch(15% 0.02 160);
  --mk-radius: 0px;
  --mk-display: var(--font-display);
}
.sc-stage[data-design="salon"],
.hv-preview[data-design="salon"],
.hv3[data-design="salon"] {
  --mk-bg: oklch(96% 0.008 85);
  --mk-surface: oklch(92% 0.012 85);
  --mk-fg: oklch(25% 0.02 60);
  --mk-muted: oklch(45% 0.02 60);
  --mk-accent: oklch(45% 0.15 15);
  --mk-accent-ink: oklch(97% 0.005 85);
  --mk-radius: 16px;
  --mk-display: Georgia, "Times New Roman", serif;
}

.sc-stage {
  position: relative;
  background: var(--mk-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.4rem 0 1.6rem;
  overflow: clip;
  isolation: isolate;
}
.sc-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.sc-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  mix-blend-mode: luminosity;
}
.sc-viewport { overflow: hidden; }
.sc-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .sc-track { transition: none; }
}

.sc-panel {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 1.4rem 0.6rem;
  display: grid;
  gap: 1.2rem;
  justify-items: center;
}
.sc-structure-name {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 660;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mk-muted);
}

/* Device-Renders aus DOM */
.sc-device-desktop {
  width: min(100%, 46rem);
  background: var(--mk-surface);
  border-radius: var(--mk-radius);
  border: 1px solid oklch(0% 0 0 / 0.15);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}
.sc-chrome {
  display: flex;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid oklch(0% 0 0 / 0.12);
}
.sc-chrome span { width: 8px; height: 8px; border-radius: 50%; background: oklch(0% 0 0 / 0.15); }

.sc-screen { padding: 1.3rem 1.5rem 1.6rem; color: var(--mk-fg); }
.sc-site-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.sc-site-brand {
  font-family: var(--mk-display);
  font-weight: 780;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--mk-fg);
}
.sc-site-cta {
  font-size: 0.78rem;
  font-weight: 640;
  padding: 0.4rem 0.9rem;
  border-radius: calc(var(--mk-radius) * 0.6);
  background: var(--mk-accent);
  color: var(--mk-accent-ink);
  white-space: nowrap;
}
.sc-site-hero {
  font-family: var(--mk-display);
  font-weight: 760;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 1rem;
  max-width: 20ch;
  color: var(--mk-fg);
}
.sc-site-blocks { display: grid; gap: 0.4rem; }
.sc-site-blocks p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--mk-muted);
  padding: 0.45rem 0;
  border-bottom: 1px solid oklch(0% 0 0 / 0.1);
  max-width: none;
}
.sc-site-rows { display: grid; gap: 0; margin-bottom: 0.9rem; }
.sc-site-rows p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 0.5rem 0;
  border-bottom: 1px solid oklch(0% 0 0 / 0.1);
  font-size: 0.86rem;
  color: var(--mk-muted);
  font-variant-numeric: tabular-nums;
  max-width: none;
}
.sc-site-contact { margin: 0; font-size: 0.8rem; color: var(--mk-muted); }

.sc-screen-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: start;
}
@media (max-width: 639px) { .sc-screen-split { grid-template-columns: 1fr; } }

.sc-device-phone {
  width: 13rem;
  background: var(--mk-surface);
  border-radius: calc(var(--mk-radius) + 6px);
  border: 1px solid oklch(0% 0 0 / 0.15);
  padding: 0.7rem;
  justify-self: center;
  margin-top: -2.2rem;
}
.sc-screen-phone {
  background: var(--mk-bg);
  border-radius: var(--mk-radius);
  padding: 1rem 0.9rem 1.2rem;
  display: grid;
  gap: 0.55rem;
}
.sc-site-hero-phone {
  font-family: var(--mk-display);
  font-weight: 760;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--mk-fg);
}
.sc-site-cta-phone {
  margin: 0.3rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 640;
  padding: 0.5rem 0.7rem;
  border-radius: calc(var(--mk-radius) * 0.6);
  background: var(--mk-accent);
  color: var(--mk-accent-ink);
}

.sc-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.4rem;
}
.sc-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  font-size: 1.05rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.sc-arrow:hover { border-color: var(--muted); background: var(--surface-2); }
.sc-dots { display: flex; gap: 0.6rem; }
.sc-dot {
  width: 26px; height: 4px;
  border-radius: 2px;
  border: 0;
  padding: 0;
  background: var(--border);
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.sc-dot.is-active { background: var(--accent); }
.sc-hint {
  margin: 1rem auto 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 46ch;
}

/* ---------- Survey ---------- */
.survey {
  padding: 7rem 0;
  background: var(--bg);
}
.survey-layout {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1000px) {
  .survey-layout { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }
}

.survey-toc {
  list-style: none;
  margin: 1.8rem 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  counter-reset: none;
}
.survey-toc li {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  font-size: 0.92rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 0.6rem;
}
.survey-toc span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.survey-privacy {
  font-size: 0.82rem;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 0.9rem;
  max-width: 46ch;
}
.survey-figure {
  margin: 2.2rem 0 0;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: clip;
}
.survey-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.survey-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.4rem;
}
@media (min-width: 768px) { .survey-card { padding: 2rem; } }

.survey-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.2rem;
  margin-bottom: 1.4rem;
}
.survey-progress-text {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 660;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.survey-progress {
  flex: 1;
  min-width: 120px;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.survey-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0.1667);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.survey-live {
  margin: 0 0 1rem;
  min-height: 1.2em;
  font-size: 0.85rem;
  color: var(--accent);
}

.survey-block {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
/* Die Legende ist kein Tab-Stopp — der programmatische Fokus (Screenreader-
   Kontext) soll keinen sichtbaren Rahmen ziehen. */
.survey-block legend:focus {
  outline: none;
}

.survey-block legend {
  font-family: var(--font-display);
  font-weight: 740;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  letter-spacing: -0.02em;
  padding: 0;
  margin-bottom: 0.3rem;
}
.survey-block legend span {
  color: var(--muted);
  font-weight: 620;
  margin-right: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.survey-block-hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.4rem;
  max-width: 52ch;
}

.form-row {
  display: grid;
  gap: 0 1rem;
  margin-bottom: 0;
}
@media (min-width: 620px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-row-3 { grid-template-columns: 0.6fr 1fr 0.9fr; }
}
.form-field { margin-bottom: 1.1rem; min-width: 0; }
.form-field label,
.checkline span {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--fg);
}
.optional { color: var(--muted); font-weight: 500; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.8rem;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: oklch(55% 0.01 260); }
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover { border-color: oklch(100% 0 0 / 0.24); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.form-field [aria-invalid="true"] { border-color: oklch(70% 0.19 25); }

.field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.76rem;
  color: var(--muted);
  max-width: 52ch;
}
.field-error {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: oklch(78% 0.14 25);
  max-width: 52ch;
}

.checkline {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.6rem;
  align-items: start;
  margin: 0 0 1.2rem;
  cursor: pointer;
}
.checkline input {
  width: 20px; height: 20px;
  margin-top: 0.15rem;
  accent-color: var(--accent);
}
.checkline span { margin: 0; font-weight: 500; font-size: 0.88rem; line-height: 1.5; }
/* Kleingedrucktes auf der letzten Seite über die volle Formularbreite */
#ki-hint,
#zustimmung-hint {
  max-width: none;
}

.checkline-gate {
  margin-top: 1.4rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg);
}

/* Farbwahl im Design-Block */
.color-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.color-field .color-chips { flex: 0 0 auto; }

.color-add {
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--border);
  border-radius: 0.6rem;
  background: none;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--muted);
}

.color-add:hover { border-color: var(--accent); color: var(--accent); }

.color-pop {
  position: fixed;
  z-index: 60;
  width: 17rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.color-pop[hidden] { display: none; }

.color-canvas {
  width: 100%;
  height: 8.5rem;
  border-radius: 0.5rem;
  cursor: crosshair;
  display: block;
  touch-action: none;
}

.color-pop input.color-hue {
  width: 100%;
  height: 1.1rem;
  margin: 0.6rem 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  -webkit-appearance: none;
  appearance: none;
  background-image: linear-gradient(to right, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
  cursor: pointer;
}

.color-hue::-webkit-slider-thumb {
  appearance: none;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #0b0c0e;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.color-pop-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.color-preview {
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  border-radius: 0.45rem;
  border: 1px solid var(--border);
}

.color-hex {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.5rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 0.45rem;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  text-transform: lowercase;
}

.color-hex:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

.color-apply {
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--accent);
  border-radius: 0.5rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
}

.color-apply:hover { filter: brightness(1.06); }

.color-chip.is-active {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.color-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.color-chip {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.color-chip:hover,
.color-chip:focus-visible {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.color-chip + .color-remove,
.color-remove {
  position: absolute;
  inset: -0.5rem -0.5rem auto auto;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  font-size: 0.72rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.color-chips > li {
  position: relative;
}

/* Referenzseiten als Tags */
.tag-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  min-height: 2.9rem;
}

.tag-field:focus-within { border-color: var(--accent); }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.8rem;
  color: var(--fg);
}

.tag button {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
}

.tag button:hover { color: var(--accent); }

.tag-field input[type="text"] {
  flex: 1 1 10rem;
  min-width: 9rem;
  border: 0;
  background: none;
  padding: 0.25rem;
  color: var(--fg);
  font-size: 0.9rem;
}

.tag-field input[type="text"]:focus { outline: none; }

.design-fields.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.survey-form select[multiple] {
  padding: 0.5rem 0.6rem;
}

.survey-form select[multiple] option {
  padding: 0.18rem 0.2rem;
}

.survey-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}
.survey-actions .btn { flex: 0 0 auto; }
.survey-actions [data-survey-next] { margin-left: auto; }

.survey-result {
  margin-top: 1.6rem;
  padding: 1.2rem;
  border: 1px solid var(--accent);
  border-radius: var(--r-sm);
  background: oklch(76% 0.145 62 / 0.07);
}
.survey-result h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.survey-result p { font-size: 0.9rem; color: var(--muted); max-width: 52ch; }
.survey-result-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }
.survey-copy-status {
  min-height: 1.4em;
  margin: 0.7rem 0 0;
  font-size: 0.82rem;
  color: var(--accent);
}

/* ---------- FAQ ---------- */
.faq { padding: 7rem 0; }
.faq-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 4rem; } }

.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 2.4rem 1.2rem 0;
  font-family: var(--font-display);
  font-weight: 660;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  position: relative;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--muted);
  transition: transform 0.25s ease, color 0.25s ease;
}
.faq-item[open] summary::after { content: "–"; color: var(--accent); }
.faq-body {
  overflow: hidden;
}
.faq-item p {
  color: var(--muted);
  padding: 0 2rem 1.4rem 0;
  margin: 0;
}
@media (prefers-reduced-motion: reduce) {
  .faq-body { overflow: visible; }
}

/* ---------- Footer (statisch) ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 3rem;
  background: var(--bg);
}
.footer-inner { display: grid; gap: 1.8rem; }
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
  margin: 0 0 0.3rem;
}
.footer-claim { color: var(--muted); font-size: 0.9rem; margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 0.88rem; }
.footer-nav a:hover { color: var(--fg); }
.footer-contact { display: grid; gap: 0.25rem; font-size: 0.85rem; }
.footer-contact a { color: var(--fg); }
.footer-contact p { margin: 0; color: var(--muted); font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.footer-note { font-size: 0.75rem; color: var(--muted); margin: 0; }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .footer-nav { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid var(--border); }
  .footer-note { grid-column: 1 / -1; }
}

/* ---------- Reduced Motion: alles stehend, Inhalt vollständig ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero { min-height: auto; padding: 7rem 0 4rem; }
  .wordmark-cursor, .hero-scrollhint { display: none; }
  .branchen-track {
    width: auto;
    flex-direction: column;
    padding-inline: 1.25rem;
  }
  @media (min-width: 768px) { .branchen-track { padding-inline: 2rem; } }
  .branch-panel { width: 100%; }
  .rd-stage { display: grid; gap: 2rem; height: auto; }
  .rd-stage.is-live .rd-old,
  .rd-stage.is-live .rd-new { position: static; height: auto; }
  .rd-steps { margin-top: 2rem; }
}

/* ============================================================
   Hero-Varianten A/B/C — geteilt, nur einmal hier.
   Scoping: [data-hero="a|b|c"] bzw. .hv-* Klassen.
   Regel: Hero pinnt nicht, kein Loop, Akzent = eine Hauptaktion.
   ============================================================ */

/* ---------- A · Bühne der Fertigungsstraße ---------- */
.hero-a { padding-top: 7.5rem; }
/* Flex-Kinder mit margin:auto schrumpfen sonst auf fit-content */
.hero-a > .container { width: 100%; }
.hero-a-grid { display: grid; gap: 2.6rem; align-items: start; }
@media (min-width: 1024px) {
  .hero-a-grid { grid-template-columns: 0.92fr 1.08fr; gap: 3.2rem; }
}
.hero-a .hero-title { font-size: clamp(2.4rem, 4.6vw, 3.9rem); margin-bottom: 0.5rem; }
.hero-a-sub { color: var(--muted); font-size: 1.05rem; max-width: 44ch; margin-bottom: 0; }

.hero-a-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.55rem;
  margin: 0 0 1.1rem;
  font-variant-numeric: tabular-nums;
}
.hero-a-price-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
}
.hero-a-price-unit { font-size: 1rem; font-weight: 620; color: var(--muted); }

.hv-stage {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.1rem;
  min-width: 0;
}
@media (min-width: 640px) { .hv-stage { padding: 1.4rem; } }

.hv-stage-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.4rem 1rem;
  margin-bottom: 0.7rem;
}
.hv-stage-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 660;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hv-stage-status {
  margin: 0;
  font-size: 0.75rem;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

.hv-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.hv-rail li { display: flex; align-items: baseline; gap: 0.35rem; }
.hv-rail b {
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: inherit;
}
.hv-rail li[aria-current="step"] { color: var(--fg); }
.hv-rail li[aria-current="step"] b { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

.hv-player { min-height: 15.5rem; }
.hv-panel { display: none; }
.hv-panel.is-active { display: block; }

/* S1 — Survey-Zeilen */
.hv-survey { list-style: none; margin: 0; padding: 0; }
.hv-survey li {
  display: grid;
  grid-template-columns: 1.6rem 1fr auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.hv-survey li:last-child { border-bottom: 0; }
.hv-survey-no {
  font-size: 0.72rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.hv-survey-label { color: var(--muted); transition: color 0.25s ease; }
.hv-survey li.is-filled .hv-survey-label { color: var(--fg); }
.hv-tick {
  width: 14px; height: 8px;
  border-left: 2px solid var(--fg);
  border-bottom: 2px solid var(--fg);
  transform: rotate(-45deg) scale(0.7);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.hv-survey li.is-filled .hv-tick { opacity: 1; transform: rotate(-45deg) scale(1); }

/* S2 — Wireframe setzt sich */
.hv-wire { display: grid; gap: 0.75rem; }
.hv-wire-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}
.hv-wire-grid span {
  height: 2.1rem;
  background: var(--surface-2);
  opacity: 0.16;
  transition: opacity 0.3s ease;
}
.hv-wire-grid span.is-on { opacity: 1; }
.hv-wire-bar {
  height: 0.65rem;
  background: var(--surface-2);
  opacity: 0.16;
  transition: opacity 0.3s ease;
}
.hv-wire-bar.is-on { opacity: 1; }
.hv-wire-bar-lg { height: 1.35rem; width: 72%; }
.hv-wire-bar-sm { width: 48%; }
.hv-wire-figure {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: clip;
  opacity: 0.2;
  transition: opacity 0.5s ease;
}
.hv-wire-figure.is-on { opacity: 1; }
.hv-wire-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* S3 — fertiges Gerätefenster */
.hv-result { position: relative; }
.hv-preview .sc-device-desktop { width: 100%; }
.hv-preview .sc-screen { padding: 0.9rem 1rem 1rem; }
.hv-preview .sc-site-hero { font-size: clamp(1.05rem, 2.4vw, 1.45rem); }
.hv-live {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--r-sm);
  border: 1px solid oklch(100% 0 0 / 0.28);
  background: oklch(12.5% 0.012 260 / 0.88);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 640;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.hv-live:hover { background: var(--surface-2); border-color: var(--muted); }
.hv-live::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 7px solid currentColor;
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
}

/* Steuerung */
.hv-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.hv-control {
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.hv-control:hover { border-color: var(--muted); }

/* Reduced Motion: drei statische Zustände statt Durchlauf */
.hv-static { display: none; }
.hv-static figure { margin: 0; }
.hv-static figcaption {
  margin-top: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.hv-static-frame {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg);
  padding: 0.7rem;
  min-height: 7.5rem;
}
.hv-static-frame .hv-survey li { padding: 0.25rem 0; font-size: 0.78rem; }
.hv-static-frame .hv-tick { opacity: 1; transform: rotate(-45deg) scale(1); }

@media (prefers-reduced-motion: reduce) {
  .hv-static { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
  .hv-stage:not(.is-rm-playing) .hv-player { display: none; }
  .hv-stage:not(.is-rm-playing) .hv-controls [data-hv-pause],
  .hv-stage:not(.is-rm-playing) .hv-controls [data-hv-replay] { display: none; }
  .hv-stage.is-rm-playing .hv-static { display: none; }
  .hv-stage.is-rm-playing .hv-player { display: block; }
  .hv-stage:not(.is-rm-playing) .hv-stage-status { display: none; }
}
@media (max-width: 560px) {
  @media (prefers-reduced-motion: reduce) {
    .hv-static { grid-template-columns: 1fr; }
  }
}

/* Faktenband A */
.hero-a-facts {
  display: grid;
  gap: 0;
  margin-top: 2.6rem;
  border-top: 1px solid var(--border);
  padding-top: 0;
}
.hero-a-facts li {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.hero-a-facts .num {
  font-family: var(--font-display);
  font-weight: 780;
  font-stretch: 108%;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
  white-space: nowrap;
}
.hero-a-facts .lbl { font-size: 0.82rem; color: var(--muted); }
@media (min-width: 720px) {
  .hero-a-facts { grid-template-columns: repeat(4, 1fr); }
  .hero-a-facts li {
    padding: 0.9rem 1.1rem 0.9rem 0;
    border-bottom: 0;
    border-right: 1px solid var(--border);
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }
  .hero-a-facts li:last-child { border-right: 0; }
  .hero-a-facts li + li { padding-left: 1.1rem; }
}

/* ---------- B · Drei Wege ---------- */
.hero-b { padding-top: 8rem; }
.hero-b .hero-title { font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
.hero-b-sub { color: var(--muted); font-size: 1.05rem; max-width: 52ch; margin-bottom: 2.2rem; }

.hv-paths {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 780px) { .hv-paths { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; } }

.hv-path {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: clip;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.hv-path:hover, .hv-path:focus-within {
  transform: translateY(-3px);
  border-color: oklch(100% 0 0 / 0.26);
}
.hv-path picture { display: block; }
.hv-path img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.hv-path-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.1rem 1.2rem;
  flex: 1;
}
.hv-path-title {
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  margin: 0;
}
.hv-path-line {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 34ch;
}
.hv-path .btn { margin-top: auto; align-self: flex-start; }

.hero-b-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}
.hero-b-price {
  margin: 0;
  font-size: 0.95rem;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.hero-b-price span { color: var(--muted); }

/* ---------- C · Ein Screen, drei Beweise ---------- */
.hero-c { min-height: auto; padding: 8rem 0 5rem; }
.hero-c-inner { width: 100%; max-width: 62rem; }
.hero-c .hero-title { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.hero-c-sub { color: var(--muted); font-size: 1.05rem; max-width: 52ch; margin-bottom: 2rem; }

.hv-demo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: clip;
}
.hv-demo-chrome {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--border);
  background: oklch(14% 0.012 260);
  font-size: 0.76rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.hv-demo-dots { display: flex; gap: 5px; }
.hv-demo-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--surface-2);
}
.hv-demo-url { color: var(--fg); }
.hv-demo-page {
  padding: 1.4rem;
  display: grid;
  gap: 0.8rem;
  min-height: 17rem;
  align-content: start;
}
@media (min-width: 700px) { .hv-demo-page { padding: 1.8rem 2rem 2rem; } }

[data-build] {
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0, 0, 1);
}
.hv-demo.is-ready [data-build] { opacity: 0; transform: translateY(10px); }
.hv-demo.is-ready.is-built [data-build] { opacity: 1; transform: none; }

.hv-demo-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}
.hv-demo-brand {
  font-family: var(--font-display);
  font-weight: 780;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  font-size: 0.95rem;
}
.hv-demo-nav { font-size: 0.72rem; color: var(--muted); }
.hv-demo-head {
  font-family: var(--font-display);
  font-weight: 780;
  font-stretch: 106%;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin: 0.2rem 0 0;
}
.hv-demo-text { margin: 0; color: var(--muted); font-size: 0.9rem; max-width: 42ch; }
.hv-demo-rows { display: grid; gap: 0; }
.hv-demo-rows span {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.hv-demo-rows b { font-weight: 560; color: var(--fg); }
.hv-demo-cta {
  justify-self: start;
  margin-top: 0.3rem;
  padding: 0.5rem 1rem;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.85rem;
  font-weight: 640;
}

.hv-demo-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.2rem;
  margin-top: 1rem;
}
.hv-proofs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  margin: 1.6rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.hv-proofs li { display: flex; align-items: baseline; gap: 0.5rem; }
.hv-proofs li + li { padding-left: 1.2rem; border-left: 1px solid var(--border); }

/* Kompakt ab 900px: CTA, Preis und Beweise bleiben bei 1280×800 über der Falz */
@media (min-width: 900px) {
  .hero-c { padding: 5.5rem 0 2.5rem; }
  .hero-c .hero-title { font-size: clamp(2.2rem, 3.4vw, 2.9rem); margin-bottom: 0.3em; }
  .hero-c-sub { font-size: 1rem; max-width: 66ch; margin-bottom: 1.25rem; }
  .hv-demo-chrome { padding: 0.35rem 0.75rem; }
  .hv-demo-page { padding: 1.1rem 1.5rem 1.25rem; gap: 0.45rem; min-height: 0; }
  .hv-demo-bar { padding-bottom: 0.5rem; }
  .hv-demo-head { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
  .hv-demo-text { font-size: 0.85rem; }
  .hv-demo-rows span { padding: 0.3rem 0; }
  .hv-demo-cta { margin-top: 0.1rem; padding: 0.4rem 0.9rem; font-size: 0.8rem; }
  .hv-demo-foot { margin-top: 0.75rem; }
  .hv-proofs { margin-top: 1rem; padding-top: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hv-demo.is-ready [data-build] { opacity: 1; transform: none; }
  .hv-demo-foot [data-hv-demo-replay] { display: none; }
  .hv-path:hover, .hv-path:focus-within { transform: none; }
  .hv-stage { min-height: 0; }
}

/* ---------- Dialog (A + B), native <dialog> ---------- */
.hv-dialog {
  width: min(46rem, calc(100vw - 2rem));
  max-height: calc(100svh - 2rem);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--fg);
  overflow: auto;
}
.hv-dialog::backdrop { background: oklch(6% 0.02 260 / 0.78); }
.hv-dialog-inner { padding: 1.2rem; }
@media (min-width: 640px) { .hv-dialog-inner { padding: 1.6rem; } }
.hv-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.hv-dialog-title { font-size: 1.2rem; margin: 0 0 0.2rem; }
.hv-dialog-sub { margin: 0; font-size: 0.82rem; color: var(--muted); }
.hv-dialog-close {
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--fg);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.hv-dialog-close:hover { border-color: var(--muted); }
.hv-dialog .hv-preview .sc-screen { padding: 1.2rem 1.3rem 1.4rem; }
.hv-dialog-note { margin: 0.9rem 0 0; font-size: 0.78rem; color: var(--muted); }
.hv-dialog-actions { margin-top: 1rem; }
body.hv-lock { overflow: hidden; }

/* Mini-Zustand „Ergebnis" im Reduced-Motion-Trio (A) */
.hv-static-site { display: grid; gap: 0.3rem; align-content: start; }
.hv-smini-brand {
  margin: 0;
  max-width: none;
  font-family: var(--font-display);
  font-weight: 780;
  font-size: 0.78rem;
  letter-spacing: -0.01em;
}
.hv-smini-head {
  margin: 0.1rem 0;
  max-width: none;
  font-family: var(--font-display);
  font-weight: 740;
  font-size: 0.95rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hv-smini-row {
  margin: 0;
  max-width: none;
  padding-top: 0.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--muted);
}

/* Mobile Tap-Flächen der geerbten v6-Navigation (Markup unverändert).
   Negative Margins halten den visuellen Rhythmus, die Trefferfläche wächst auf 44 px. */
.sc-dot {
  position: relative;
  width: 44px;
  height: 44px;
  margin: -20px -9px;
  background: transparent;
}
.sc-dot::before {
  content: "";
  position: absolute;
  inset: 50% 9px auto;
  height: 4px;
  margin-top: -2px;
  border-radius: 2px;
  background: var(--border);
  transition: background-color 0.3s ease;
}
.sc-dot.is-active { background: transparent; }
.sc-dot.is-active::before { background: var(--accent); }

@media (max-width: 899px) {
  .wordmark,
  .footer-nav a,
  .footer-contact a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    margin-block: -0.7rem;
  }
  .footer-nav a { min-width: 44px; justify-content: center; }
}

/* ============================================================
   v8 · Motion-Hero (V1 Showreel-Typografie, V3 Der Film)
   Gemeinsam einmal hier. Varianten-Scoping über [data-hero="a|c"].
   Kein Pin, kein Scrub, kein Sticky im Hero.
   ============================================================ */

.hero[data-hero] {
  min-height: 100svh;
  padding: 7.5rem 0 4rem;
  justify-content: center;
}
.hero[data-hero] > .container { width: 100%; }

/* V1: kurzer Hero, damit die Auftragsleiste in der ersten Falzung sichtbar ist. */
.hero[data-hero="a"] { min-height: 64svh; }

/* ---------- V1 · Bühne: Sheen, Haarlinien-Raster, Signatur-Linie ---------- */
.hv8-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: clip;
  pointer-events: none;
}
.hv8-sheen {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 160vmax;
  height: 160vmax;
  margin: -80vmax 0 0 -80vmax;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 205deg,
    oklch(76% 0.145 62 / 0.08) 245deg,
    transparent 292deg 360deg
  );
  animation: hv8-sheen-spin 40s linear infinite;
}
@keyframes hv8-sheen-spin {
  to { transform: rotate(360deg); }
}
.hv8-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, oklch(100% 0 0 / 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(100% 0 0 / 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
}

.hv8-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.6rem, 4vh, 2.8rem);
}
.hv8-title {
  font-size: clamp(2.6rem, 8vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 18ch;
}
.hv8-word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.10em;
  margin-bottom: -0.10em;
}
.hv8-signature {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}

/* ---------- Technische Steuerelemente (keine CTA, kein Akzent) ---------- */
.hv8-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
}
.hv8-control {
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 560;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.hv8-control:hover { border-color: var(--muted); background: var(--surface); }

/* ---------- V3 · Film ---------- */
.hv8-film-wrap {
  display: grid;
  justify-items: center;
  gap: clamp(1rem, 2.5vh, 1.6rem);
}
.hv8-film-frame {
  position: relative;
  width: min(100%, 64rem, calc(58svh * 16 / 9));
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: clip;
  background: var(--surface);
}
.hv8-film-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hv8-film-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1rem, 2.6vw, 2rem);
  background: oklch(12.5% 0.012 260 / 0.62);
  backdrop-filter: blur(9px);
  border-top: 1px solid var(--border);
}
.hv8-film-title {
  font-size: clamp(1.6rem, 4.6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 22ch;
}

/* ---------- Auftragsleiste (identisch in allen Varianten) ---------- */
.order-bar {
  background: var(--surface);
  border-block: 1px solid var(--border);
  padding: clamp(1.4rem, 3vw, 2.2rem) 0;
}
.order-inner {
  display: grid;
  gap: 1rem 2.4rem;
  align-items: center;
}
@media (min-width: 900px) {
  .order-inner { grid-template-columns: auto 1fr auto; }
}
.order-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.order-price-unit {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}
.order-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.2rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.order-proof span + span::before {
  content: "·";
  margin-right: 1.2rem;
  color: var(--muted);
}
.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

@media (prefers-reduced-motion: reduce) {
  .hv8-sheen { animation: none; }
  .hv8-signature { transform: scaleX(1); }
  .hero[data-hero] { min-height: auto; }
}

/* ============================================================
   v8 · V2 „Werkbank in Bewegung" — Canvas-Frame-Sequenz
   Nur [data-hero="b"]. Pin 3: Sektion 300vh + sticky Bühne 100svh.
   Keine SVG-Zeichnung; die Bühne bleibt ruhig, die Sequenz trägt.
   ============================================================ */

.hero[data-hero="b"] {
  min-height: 300vh;
  display: block;
  padding: 0;
  justify-content: normal;
}

.hv2-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: clip;
}

.hv2-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: clip;
  pointer-events: none;
}
.hv2-backdrop .hv8-sheen { opacity: 0.7; }
.hv2-backdrop .hv8-grid { opacity: 0.7; }

.hv2-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.55rem, 1.5vh, 1.15rem);
  width: 100%;
  height: 100%;
  padding-block: 4.9rem 1.2rem;
}

.hv2-title {
  font-size: clamp(2rem, 4.3vw, 3.55rem);
  line-height: 1;
  letter-spacing: -0.032em;
  margin: 0;
  max-width: 26ch;
}

.hv2-frame {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 1280 / 853;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: clip;
  background: var(--surface);
}
.hv2-still,
.hv2-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.hv2-still { object-fit: cover; }
.hv2-canvas { z-index: 1; }

.hv2-meta {
  display: grid;
  gap: 0.55rem;
  width: 100%;
}
.hv2-progress {
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.hv2-progress-fill {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.hv2-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.25rem 0.9rem;
  width: 100%;
  font-size: 0.68rem;
  font-weight: 560;
  letter-spacing: 0.02em;
  color: oklch(76% 0.145 62 / 0.82);
  font-variant-numeric: tabular-nums;
}
.hv2-steps li { display: flex; gap: 0.35rem; white-space: nowrap; }
.hv2-steps li span { color: oklch(76% 0.145 62 / 0.5); }

/* Desktop: zweispaltige Galerie-Bühne. Links H1 + Metazeile, rechts die Sequenz,
   Schritte darunter über die volle Breite. Spaltenbreite aus dem Platz, nicht aus svh. */
@media (min-width: 900px) {
  .hv2-inner {
    display: grid;
    grid-template-columns: minmax(0, 34fr) minmax(0, 62fr);
    grid-template-areas:
      "title frame"
      "meta  frame"
      "steps steps";
    align-content: center;
    align-items: start;
    column-gap: clamp(1.4rem, 2.6vw, 2.8rem);
    row-gap: clamp(0.9rem, 2vh, 1.4rem);
  }
  .hv2-title {
    grid-area: title;
    align-self: end;
    max-width: 20ch;
    font-size: clamp(1.9rem, 3vw, 2.9rem);
  }
  .hv2-meta { grid-area: meta; align-self: start; }
  .hv2-frame { grid-area: frame; align-self: center; }
  .hv2-steps { grid-area: steps; }
}

@media (max-width: 640px) {
  .hv2-inner {
    gap: 0.5rem;
    padding-block: 4.3rem 0.9rem;
  }
  .hv2-title { max-width: 22ch; }
  .hv2-frame { max-width: min(100%, calc(38svh * 1280 / 853)); }
  .hv2-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.2rem 0.6rem;
    font-size: 0.66rem;
  }
}

/* Einspaltiges Tablet: volle Breite, aber nie höher als die sticky Bühne. */
@media (min-width: 641px) and (max-width: 899px) {
  .hv2-frame { max-width: min(100%, calc(46svh * 1280 / 853)); }
}

/* Flache Viewports: Frame-Höhe deckeln, damit die Bühne ihn nicht abschneidet.
   shortcut: Deckel rechnet mit 100svh; anpassen, falls die Bühne je eine andere Höhe bekommt. */
@media (max-height: 700px) and (min-width: 641px) {
  .hv2-frame { max-width: calc(46svh * 1280 / 853); }
  .hv2-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
}

/* Reduced Motion: kein Pin, keine 300vh, statisches frame-01 mit alt. */
@media (prefers-reduced-motion: reduce) {
  .hero[data-hero="b"] {
    min-height: auto;
    padding: 7rem 0 3rem;
  }
  .hv2-stage {
    position: static;
    height: auto;
    display: block;
  }
  .hv2-inner {
    height: auto;
    padding-block: 0;
  }
  .hv2-canvas { display: none; }
}

/* ============================================================
   v8 · V3 „Dot-Konstrukt" — zweispaltiger Hero mit WebGL-Punktwolke
   Nur [data-hero="dots"]. Kein Pin, ein getakteter Loop (3 Branchen).
   Akzent kommt aus den vorhandenen Design-Token (--mk-accent über
   [data-design] am Hero), nicht aus einem zweiten Farbsystem.
   ============================================================ */

.hero[data-hero="dots"] {
  min-height: 72svh;
  display: block;
  padding: 0;
  background: var(--bg);
}

.hv3-inner {
  min-height: 72svh;
  display: grid;
  grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
  align-content: stretch;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: 6.5rem 2.5rem;
}

.hv3-copy { position: relative; z-index: 1; min-width: 0; }

.hv3-kicker {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 620;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hv3-title {
  font-size: clamp(2.4rem, 4.1vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: none;
}

.hv3-line { display: block; white-space: nowrap; }
.hv3-swap { display: inline-block; will-change: transform; }

.hv3-stage {
  position: relative;
  align-self: stretch;
  min-height: 0;
  isolation: isolate;
}

.hv3-stage::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, color-mix(in oklch, var(--mk-accent) 15%, transparent), transparent 68%);
  opacity: 0.65;
  pointer-events: none;
  z-index: -1;
}

.hv3-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  filter: blur(var(--hv3-blur, 0px));
}

/* Gestapelt unter 900 px: Headline oben, Punktwolke darunter. */
@media (max-width: 899px) {
  .hv3-inner {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 0.4rem;
    min-height: 0;
    padding-block: 5.5rem 1.5rem;
  }
  .hero[data-hero="dots"] { min-height: auto; }
  .hv3-kicker { margin-bottom: 0.7rem; }
  .hv3-title { font-size: clamp(1.9rem, 8.2vw, 3.2rem); }
  .hv3-stage {
    align-self: auto;
    height: clamp(13.5rem, 32vh, 17rem);
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero[data-hero="dots"] { min-height: auto; padding: 0; }
  .hv3-inner { min-height: 0; }
  .hv3-canvas { filter: none; }
  .hv3-stage::before { opacity: 0.45; }
}
