/* ==========================================================================
   Gurewitz Immobilien - Design-System V3
   Grundfarbe Nachtblau (aus dem Bereich "Sanierung"), Royalblau nur als Akzent,
   Stuttgarter Sandstein als warmer Gegenpol. Droid Serif + Inter (UI).
   ========================================================================== */

:root {
  /* Farbe */
  --navy-950: #071423;
  --navy: #0c1f33;          /* Grundfarbe */
  --navy-2: #13304d;        /* Flaechen auf Navy */
  --navy-line: rgba(168, 188, 210, 0.18);
  --paper: #f2f4f6;         /* Kalkweiss, kuehl */
  --white: #fbfcfd;
  --ink: #13202e;
  --ink-soft: #4b5a6b;
  --line: #d5dce4;
  --steel: #a8bcd2;         /* Text auf Navy */
  --steel-strong: #d4e0ec;
  --sand: #cdb48c;          /* Stuttgarter Sandstein */
  --royal: #2c5fd4;         /* Royalblau, sparsam */
  --royal-ondark: #8fb0f2;
  --error: #b3261e;
  --error-ondark: #ffb4ab;

  /* Typo */
  --serif: "Droid Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Raster */
  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(88px, 12vw, 168px);
  --radius: 6px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ---------- Reset / Basis ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}

img, picture, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.hero-media picture, .wirken-media picture, .vh-frame picture, .set-grid picture, .step-img picture { width: 100%; height: 100%; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.012em;
}

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

::selection { background: var(--sand); color: var(--navy-950); }

:focus-visible {
  outline: 2px solid var(--royal);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible { outline-color: var(--royal-ondark); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top 160ms var(--ease-out);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- Typo-Skala ---------- */

.display {
  font-size: clamp(2.5rem, 5.6vw, 5.25rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
}

.h-xl {
  font-size: clamp(2.1rem, 4.2vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
}

.h-lg {
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 1.14;
}

.h-md {
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  line-height: 1.22;
}

.lead {
  font-size: clamp(1.18rem, 1.5vw, 1.4rem);
  line-height: 1.6;
}

.label {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.on-dark .label { color: var(--sand); }

.measure { max-width: 62ch; }

/* ---------- Buttons & Links ---------- */

.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 550;
  letter-spacing: 0.002em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 120ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.btn--light { --btn-bg: var(--white); --btn-fg: var(--navy); }
.btn--ghost {
  background: transparent;
  color: var(--btn-fg);
  border-color: rgba(251, 252, 253, 0.42);
}
.btn--ghost-ink {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover { --btn-bg: var(--navy-2); }
  .btn--light:hover { --btn-bg: #e4ebf3; }
  .btn--ghost:hover { border-color: var(--white); background: rgba(251, 252, 253, 0.08); }
  .btn--ghost-ink:hover { border-color: var(--ink); background: transparent; }
}

.text-link {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--royal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: color-mix(in srgb, var(--royal) 40%, transparent);
  transition: text-decoration-color 180ms ease;
}
.on-dark .text-link { color: var(--steel-strong); text-decoration-color: var(--sand); }
@media (hover: hover) and (pointer: fine) {
  .text-link:hover { text-decoration-color: currentColor; }
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--white);
  transition: background-color 260ms ease, transform 360ms var(--ease-out), box-shadow 260ms ease;
}
.site-header.is-solid {
  background: rgba(7, 20, 35, 0.94);
  box-shadow: 0 1px 0 var(--navy-line);
}
@supports (backdrop-filter: blur(10px)) {
  .site-header.is-solid {
    background: rgba(7, 20, 35, 0.82);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
  }
}
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
  height: 76px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  margin-right: auto;
}
.wordmark span { color: var(--steel); }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
}
.main-nav a {
  position: relative;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 450;
  color: var(--steel-strong);
  text-decoration: none;
  padding: 8px 0;
  transition: color 160ms ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out);
}
.main-nav a[aria-current="true"], .main-nav a[aria-current="page"] { color: var(--white); }
.main-nav a[aria-current="true"]::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover { color: var(--white); }
}

.header-cta { min-height: 42px; padding: 0 18px; font-size: 0.9rem; }

.header-phone {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  margin-right: -10px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--navy-950);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 108px var(--gutter) 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 0s linear 240ms;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity 240ms ease; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.2;
  padding: 12px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--navy-line);
}
.mobile-menu .menu-meta {
  display: grid;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--steel);
}
.mobile-menu .menu-meta a { color: var(--steel-strong); text-decoration: none; }
.mobile-menu .btn { margin-bottom: 28px; width: 100%; }

@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle, .header-phone { display: inline-flex; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 38%;
  transform-origin: 50% 40%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 20, 35, 0.6) 0%, rgba(7, 20, 35, 0) 24%),
    linear-gradient(0deg, rgba(7, 20, 35, 0.94) 0%, rgba(7, 20, 35, 0.72) 30%, rgba(12, 31, 51, 0.18) 62%, rgba(12, 31, 51, 0.38) 100%),
    linear-gradient(90deg, rgba(7, 20, 35, 0.55) 0%, rgba(7, 20, 35, 0) 60%);
}
.hero-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 140px var(--gutter) clamp(44px, 7vh, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
}
.hero h1 { max-width: 15ch; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero h1 .line > span { display: inline-block; }
.hero-sub {
  max-width: 44ch;
  margin: 26px 0 34px;
  font-size: clamp(1.08rem, 1.35vw, 1.25rem);
  line-height: 1.6;
  color: var(--steel-strong);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-caption {
  max-width: 22ch;
  font-family: var(--sans);
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--steel);
  text-align: right;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--sand);
}

@media (max-width: 720px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 120px; }
  .hero-media img { object-position: 38% 40%; }
  .hero-caption { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ---------- Sektionen ---------- */

.section { padding-block: var(--section-y); }
.section--navy { background: var(--navy); color: var(--white); }
.section--deep { background: var(--navy-950); color: var(--white); }
.section--white { background: var(--white); }
.on-dark { color: var(--white); }
.on-dark p { color: var(--steel-strong); }

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px var(--gutter);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.section-head > :first-child { grid-column: 1 / span 7; }
.section-head > .lead { grid-column: 8 / -1; color: var(--ink-soft); }
.on-dark .section-head > .lead { color: var(--steel); }

@media (max-width: 900px) {
  .section-head > :first-child, .section-head > .lead { grid-column: 1 / -1; }
}

/* ---------- Intro (Text-Reveal) ---------- */

.intro { padding-block: clamp(96px, 13vw, 180px) clamp(72px, 9vw, 120px); }
.intro-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px var(--gutter);
  align-items: center;
}
.intro-statement {
  grid-column: 1 / span 7;
  font-size: clamp(1.3rem, 2.1vw, 1.95rem);
  line-height: 1.45;
  letter-spacing: -0.008em;
  max-width: 34ch;
  margin: 0;
  color: var(--ink);
}
.intro-statement .w { transition: none; }
.intro-grid .portrait { grid-column: 9 / -1; }

.portrait { margin: 0; }
.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  background: #8a8d90;
}
.portrait figcaption {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 2px solid var(--sand);
  font-family: var(--sans);
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.portrait figcaption strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--ink);
}
.portrait--story { margin-top: 48px; max-width: 360px; }
@media (max-width: 900px) {
  .intro-statement, .intro-grid .portrait { grid-column: 1 / -1; }
  .intro-grid .portrait { max-width: 340px; }
}
.js-motion .intro-statement .w { opacity: 0.16; }

.facts {
  list-style: none;
  margin: clamp(64px, 8vw, 104px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.facts li {
  padding: 24px 24px 0 0;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 4px;
}
@media (max-width: 720px) {
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Unser Wirken ---------- */

.wirken-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 var(--gutter);
}
.wirken-media {
  grid-column: 1 / span 6;
  position: sticky;
  top: 104px;
  align-self: start;
  aspect-ratio: 4 / 5;
  max-height: calc(100svh - 140px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-2);
}
.wirken-media figure {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 700ms var(--ease-out);
}
.wirken-media figure.is-active { opacity: 1; }
.wirken-media img { width: 100%; height: 100%; object-fit: cover; }
.wirken-media figcaption {
  position: absolute;
  left: 20px; bottom: 18px;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--white);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.wirken-steps {
  grid-column: 8 / -1;
  list-style: none;
  margin: 0;
  padding: 0;
}
.wirken-step {
  min-height: 62svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 40px;
  border-top: 1px solid var(--navy-line);
  transition: opacity 400ms ease;
}
.wirken-step:first-child { border-top: 0; min-height: 52svh; justify-content: flex-start; padding-top: 6vh; }
.js-motion .wirken-step { opacity: 0.38; }
.js-motion .wirken-step.is-active { opacity: 1; }
.wirken-step h3 { margin-bottom: 18px; }
.wirken-step p { max-width: 46ch; color: var(--steel-strong); }
.wirken-step .step-img { display: none; }

@media (max-width: 900px) {
  .wirken-media { display: none; }
  .wirken-steps { grid-column: 1 / -1; }
  .wirken-step, .wirken-step:first-child { min-height: 0; padding: 40px 0; opacity: 1 !important; }
  .wirken-step .step-img {
    display: block;
    margin: 0 0 24px;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
  }
  .wirken-step .step-img img { width: 100%; height: 100%; object-fit: cover; }
}

/* Sanierung innerhalb Wirken */
.sanierung {
  margin-top: clamp(96px, 12vw, 160px);
  padding-top: clamp(64px, 8vw, 104px);
  border-top: 1px solid var(--navy-line);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px var(--gutter);
}
.sanierung-copy { grid-column: 1 / span 6; }
.sanierung-copy h2 { margin-bottom: 32px; }
.sanierung-copy p { max-width: 58ch; }
.sanierung-media {
  grid-column: 8 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-self: start;
}
.sanierung-media figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.sanierung-media figure:nth-child(2) { margin-top: 72px; }
.sanierung-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.sanierung-quote {
  grid-column: 1 / -1;
  margin: 24px 0 0;
  padding-top: 40px;
  border-top: 1px solid var(--navy-line);
  font-size: clamp(1.45rem, 2.6vw, 2.3rem);
  line-height: 1.3;
  max-width: 34ch;
  color: var(--white);
}
.sanierung-quote::before {
  content: "";
  display: block;
  width: 56px; height: 2px;
  background: var(--sand);
  margin-bottom: 28px;
}
@media (max-width: 900px) {
  .sanierung-copy, .sanierung-media { grid-column: 1 / -1; }
}

/* ---------- Ankauf ---------- */

.ankauf { background: var(--paper); }
.ankauf-top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px var(--gutter);
  align-items: start;
}
.ankauf-intro { grid-column: 1 / span 7; }
.ankauf-kicker {
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  line-height: 1.3;
  color: var(--royal);
  margin: 0 0 14px;
}
.ankauf-intro h2 { margin-bottom: 28px; }
.ankauf-intro .lead { color: var(--ink-soft); max-width: 44ch; margin-bottom: 36px; }
.ankauf-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.btn--big { min-height: 58px; padding: 0 32px; font-size: 1.02rem; }
.ankauf-phone {
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.ankauf-phone strong { color: var(--ink); font-weight: 600; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .ankauf-phone:hover strong { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--sand); } }
.ankauf-photo {
  grid-column: 9 / -1;
  align-self: center;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.ankauf-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.ankauf-photo figcaption {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--ink-soft);
  padding-top: 10px;
}

.vorteile {
  list-style: none;
  margin: clamp(56px, 7vw, 96px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}
.vorteile li { padding: 28px 28px 0 0; }
.vorteile li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.vorteile h3 { font-size: 1.32rem; line-height: 1.25; margin-bottom: 12px; }
.vorteile p { font-size: 1rem; line-height: 1.65; color: var(--ink-soft); }
@media (max-width: 1080px) {
  .vorteile { grid-template-columns: 1fr 1fr; }
  .vorteile li:nth-child(3) { padding-left: 0; border-left: 0; }
  .vorteile li:nth-child(n+3) { margin-top: 32px; border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .vorteile { grid-template-columns: 1fr; }
  .vorteile li, .vorteile li + li { padding: 24px 0; border-left: 0; margin: 0; border-top: 1px solid var(--line); }
  .vorteile li:first-child { border-top: 0; }
}

.ankauf-main {
  margin-top: clamp(72px, 9vw, 128px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 56px var(--gutter);
  align-items: start;
}
.ankauf-details { grid-column: 1 / span 5; }
.ankauf-details h3 { margin-bottom: 20px; }
.ankauf-details > div + div { margin-top: 64px; }

.suche {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.suche li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.12rem;
}
.suche li span {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--royal);
  white-space: nowrap;
}
.suche-notes {
  margin-top: 22px;
  font-size: 1rem;
  color: var(--ink-soft);
}
.suche-notes p { margin-bottom: 6px; }
.suche-notes strong { font-weight: 400; color: var(--ink); }

.ablauf {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: ablauf;
}
.ablauf li {
  counter-increment: ablauf;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.ablauf li::before {
  content: counter(ablauf);
  grid-row: span 2;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--sand);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--ink);
  margin-top: 2px;
}
.ablauf strong { font-weight: 400; font-size: 1.15rem; line-height: 1.4; }
.ablauf span { font-size: 1rem; color: var(--ink-soft); line-height: 1.6; }

/* Formular-Panel */
.form-panel {
  grid-column: 7 / -1;
  position: sticky;
  top: 100px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 44px);
}
.form-panel h3 { margin-bottom: 10px; }
.form-panel .form-intro { font-size: 1rem; color: var(--steel); margin-bottom: 28px; }
.form-panel .alt-contact {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--navy-line);
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--steel);
}
.form-panel .alt-contact a { color: var(--white); font-weight: 550; text-decoration: none; white-space: nowrap; }
@media (max-width: 900px) {
  .ankauf-intro, .ankauf-photo, .ankauf-details, .form-panel { grid-column: 1 / -1; }
  .ankauf-photo { max-width: 520px; }
  .form-panel { position: static; }
}

/* ---------- Formulare ---------- */

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 7px; }
.field label {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.field label .opt { font-weight: 400; opacity: 0.8; }
.on-dark .field label { color: var(--steel-strong); }

.field input, .field textarea, .field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 160ms ease, box-shadow 160ms ease;
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234b5a6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field input::placeholder, .field textarea::placeholder { color: #6b7a8a; }

.on-dark .field input, .on-dark .field textarea, .on-dark .field select {
  color: var(--white);
  background-color: rgba(251, 252, 253, 0.06);
  border-color: rgba(168, 188, 210, 0.34);
}
.on-dark .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23d4e0ec' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E");
}
.on-dark .field select option { color: var(--ink); background: var(--white); }
.on-dark .field input::placeholder, .on-dark .field textarea::placeholder { color: #94a8bf; }

.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--royal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--royal) 28%, transparent);
}
.on-dark .field input:focus, .on-dark .field textarea:focus, .on-dark .field select:focus {
  border-color: var(--royal-ondark);
  box-shadow: 0 0 0 3px rgba(143, 176, 242, 0.3);
}

.error-msg {
  display: none;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--error);
}
.on-dark .error-msg { color: var(--error-ondark); }
.field.has-error .error-msg { display: block; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--error); }
.on-dark .field.has-error input, .on-dark .field.has-error textarea, .on-dark .field.has-error select { border-color: var(--error-ondark); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  display: none;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(205, 180, 140, 0.16);
  border: 1px solid var(--sand);
}
.form-status.is-visible { display: block; }
.form-status.is-error { background: rgba(255, 180, 171, 0.12); border-color: var(--error-ondark); }

.form-footer { display: grid; gap: 14px; margin-top: 6px; }
.form-footer .btn { width: 100%; }
.form-privacy {
  font-family: var(--sans);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}
.on-dark .form-privacy { color: var(--steel); }
.form-privacy a { color: inherit; }

/* ---------- Einblicke ---------- */

.einblicke-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px var(--gutter);
  margin-bottom: clamp(64px, 9vw, 120px);
}
.einblicke-head h2 { grid-column: 1 / span 7; }
.einblicke-head .copy { grid-column: 1 / span 7; }
.einblicke-head .copy p { color: var(--steel-strong); }
.einblicke-head .note {
  grid-column: 9 / -1;
  grid-row: 1 / span 2;
  align-self: end;
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--steel);
  padding-left: 20px;
  border-left: 2px solid var(--sand);
}
@media (max-width: 900px) {
  .einblicke-head h2, .einblicke-head .copy, .einblicke-head .note { grid-column: 1 / -1; grid-row: auto; }
}

.sub-head { margin-bottom: 36px; }
.sub-head h3 { margin-bottom: 10px; }
.sub-head p { color: var(--steel); max-width: 56ch; font-size: 1.02rem; }

/* Vorher / Heute */
.vh-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 72px) var(--gutter);
}
.vh-list .vh:nth-child(2n) { margin-top: clamp(0px, 9vw, 140px); }
@media (max-width: 760px) {
  .vh-list { grid-template-columns: 1fr; }
  .vh-list .vh:nth-child(2n) { margin-top: 0; }
}
.vh { margin: 0; }
.vh-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-2);
}
.vh-frame img { width: 100%; height: 100%; object-fit: cover; }
.vh--portrait .vh-frame { aspect-ratio: 4 / 5; }
.vh--landscape .vh-frame { aspect-ratio: 4 / 3; }
.vh-before, .vh-after { position: absolute; inset: 0; }
.vh-before { z-index: 0; }
.vh-after { z-index: 1; }
.vh-after { clip-path: inset(0 0 0 0); }
.vh-tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 550;
  padding: 6px 10px;
  border-radius: 4px;
  background: rgba(7, 20, 35, 0.72);
  color: var(--white);
}
.vh-before .vh-tag { left: auto; right: 14px; }
.vh-after .vh-tag { background: var(--white); color: var(--navy); }
.vh-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 2px;
  background: var(--sand);
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}
.vh figcaption { padding-top: 18px; }
.vh figcaption strong { display: block; font-weight: 400; font-size: 1.25rem; line-height: 1.3; color: var(--white); margin-bottom: 4px; }
.vh figcaption span { font-size: 1rem; color: var(--steel); }
.vh-toggle {
  margin-top: 14px;
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.85rem;
}
/* Ohne Motion: Heute steht, Toggle zeigt Vorher */
.no-js .vh-toggle, .js-motion .vh-toggle { display: none; }
.vh.show-before .vh-after { clip-path: inset(0 0 0 100%); }

/* Ausgewaehlte Einblicke */
.einblicke-sets { margin-top: clamp(96px, 12vw, 168px); }
.set + .set { margin-top: clamp(72px, 9vw, 120px); }
.set-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px var(--gutter);
  align-items: end;
  margin-bottom: 28px;
}
.set-head h4 { grid-column: 1 / span 5; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; }
.set-head p { grid-column: 7 / -1; color: var(--steel); font-size: 1rem; margin: 0; }
@media (max-width: 900px) { .set-head h4, .set-head p { grid-column: 1 / -1; } }

.set-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(120px, 14vw, 200px);
  gap: 12px;
}
.set-grid button {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-2);
  cursor: zoom-in;
}
.set-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .set-grid button:hover img { transform: scale(1.035); }
}
.set-grid .g1 { grid-column: 1 / span 5; grid-row: 1 / span 3; }
.set-grid .g2 { grid-column: 6 / span 4; grid-row: 1 / span 2; }
.set-grid .g3 { grid-column: 10 / span 3; grid-row: 1 / span 2; }
.set-grid .g4 { grid-column: 6 / span 3; grid-row: 3; }
.set-grid .g5 { grid-column: 9 / span 4; grid-row: 3; }
.set--alt .g1 { grid-column: 8 / span 5; grid-row: 1 / span 3; }
.set--alt .g2 { grid-column: 1 / span 4; grid-row: 1 / span 2; }
.set--alt .g3 { grid-column: 5 / span 3; grid-row: 1 / span 2; }
.set--alt .g4 { grid-column: 1 / span 3; grid-row: 3; }
.set--alt .g5 { grid-column: 4 / span 4; grid-row: 3; }
.set-grid--8 .g6 { grid-column: 8 / span 5; grid-row: 4 / span 3; }
.set-grid--8 .g7 { grid-column: 1 / span 4; grid-row: 4 / span 3; }
.set-grid--8 .g8 { grid-column: 5 / span 3; grid-row: 4 / span 3; }
.set-grid--gastro .g6 { grid-column: 1 / span 7; grid-row: 4 / span 2; }
.set-grid--gastro .g7 { grid-column: 8 / span 5; grid-row: 4 / span 2; }
@media (max-width: 760px) {
  .set-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; gap: 8px; }
  .set-grid--8 .g6 { grid-column: 1 / -1; grid-row: auto / span 2; }
  .set-grid--8 .g7, .set-grid--8 .g8 { grid-column: auto / span 1; grid-row: auto / span 2; }
  .set-grid--gastro .g6, .set-grid--gastro .g7 { grid-column: 1 / -1; grid-row: auto / span 2; }
  .set-grid .g1, .set--alt .g1 { grid-column: 1 / -1; grid-row: auto / span 2; }
  .set-grid .g2, .set-grid .g3, .set-grid .g4, .set-grid .g5,
  .set--alt .g2, .set--alt .g3, .set--alt .g4, .set--alt .g5 { grid-column: auto / span 1; grid-row: auto / span 1; }

}

/* Lightbox */
.lightbox {
  width: min(1200px, 94vw);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(4, 12, 22, 0.86); }
.lightbox[open] { animation: lb-in 260ms var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
.lightbox img { width: 100%; max-height: calc(92vh - 64px); object-fit: contain; background: #000; }
.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 10px 10px 20px;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--steel);
}
.lightbox-nav { display: flex; gap: 6px; }
.icon-btn {
  width: 44px; height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: var(--navy-2); } }

/* ---------- Ueber uns Teaser ---------- */

.teaser {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px var(--gutter);
  align-items: center;
}
.teaser figure { grid-column: 1 / span 5; margin: 0; border-radius: var(--radius); overflow: hidden; }
.teaser figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.teaser-copy { grid-column: 7 / -1; }
.teaser-copy h2 { margin-bottom: 28px; }
.teaser-copy p { color: var(--ink-soft); max-width: 52ch; }
.teaser-copy .text-link { display: inline-block; margin-top: 12px; }
@media (max-width: 900px) {
  .teaser figure, .teaser-copy { grid-column: 1 / -1; }
  .teaser figure { max-width: 460px; }
}

/* ---------- Kontakt ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 56px var(--gutter);
  align-items: start;
}
.contact-info { grid-column: 1 / span 5; }
.contact-info h2 { margin-bottom: 24px; }
.contact-info .lead { color: var(--steel-strong); }
.contact-rows { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--navy-line); }
.contact-rows li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--navy-line);
  font-size: 1.05rem;
}
.contact-rows .lbl { font-family: var(--sans); font-size: 0.85rem; color: var(--steel); padding-top: 3px; }
.contact-rows a { color: var(--white); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .contact-rows a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--sand); } }
.contact-form { grid-column: 7 / -1; }
.contact-form h3 { margin-bottom: 24px; }
@media (max-width: 900px) {
  .contact-info, .contact-form { grid-column: 1 / -1; }
  .contact-rows li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-950);
  color: var(--steel);
  padding: 72px 0 36px;
  font-family: var(--sans);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px var(--gutter);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--navy-line);
}
.footer-brand .wordmark { display: inline-block; color: var(--white); margin-bottom: 18px; }
.footer-brand p { max-width: 36ch; color: var(--steel); line-height: 1.6; font-family: var(--serif); font-size: 1rem; }
.footer-col h4 { font-family: var(--sans); font-size: 0.85rem; font-weight: 550; color: var(--white); margin-bottom: 14px; letter-spacing: 0; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--steel); text-decoration: none; }
.footer-col address { font-style: normal; line-height: 1.7; }
@media (hover: hover) and (pointer: fine) { .footer-col a:hover, .footer-bottom a:hover { color: var(--white); } }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  font-size: 0.85rem;
}
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.footer-bottom a { color: var(--steel); text-decoration: none; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Unterseiten ---------- */

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: clamp(150px, 18vw, 220px) 0 clamp(64px, 8vw, 104px);
}
.page-hero .container {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px var(--gutter);
  align-items: end;
}
.page-hero h1 { grid-column: 1 / span 8; }
.page-hero .lead { grid-column: 1 / span 7; color: var(--steel-strong); margin: 0; }
.page-hero figure {
  grid-column: 9 / -1;
  grid-row: 1 / span 2;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.page-hero figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 900px) {
  .page-hero h1, .page-hero .lead, .page-hero figure { grid-column: 1 / -1; grid-row: auto; }
  .page-hero figure { max-width: 420px; }
}

.story {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px var(--gutter);
}
.story-head { grid-column: 1 / span 5; }
.story-body { grid-column: 7 / -1; }
.story-body p { color: var(--ink-soft); }
.story-body p:first-child { font-size: clamp(1.2rem, 1.6vw, 1.42rem); line-height: 1.55; color: var(--ink); }
@media (max-width: 900px) { .story-head, .story-body { grid-column: 1 / -1; } }

.image-band {
  display: grid;
  grid-template-columns: 5fr 4fr 3fr;
  gap: 12px;
  align-items: end;
}
.image-band figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.image-band img { width: 100%; object-fit: cover; }
.image-band figure:nth-child(1) img { aspect-ratio: 4 / 5; }
.image-band figure:nth-child(2) img { aspect-ratio: 3 / 4; }
.image-band figure:nth-child(3) img { aspect-ratio: 3 / 4; }
.image-band + .image-band { margin-top: 12px; }
.image-band--rev { grid-template-columns: 3fr 4fr 5fr; align-items: start; }
.image-band--rev figure:nth-child(1) img,
.image-band--rev figure:nth-child(2) img { aspect-ratio: 3 / 4; }
.image-band--rev figure:nth-child(3) img { aspect-ratio: 4 / 5; }
@media (max-width: 760px) {
  .image-band { grid-template-columns: 1fr 1fr; }
  .image-band figure:nth-child(1) { grid-column: 1 / -1; }
  .image-band + .image-band { margin-top: 8px; }
  .image-band--rev figure:nth-child(1) { grid-column: auto; }
  .image-band--rev figure:nth-child(3) { grid-column: 1 / -1; }
}

.values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.values li { padding: 36px 40px 40px 0; border-bottom: 1px solid var(--line); }
.values li:nth-child(2n) { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--line); }
.values h3 { margin-bottom: 14px; }
.values p { color: var(--ink-soft); max-width: 48ch; }
@media (max-width: 760px) {
  .values { grid-template-columns: 1fr; }
  .values li, .values li:nth-child(2n) { padding: 28px 0; border-left: 0; }
}

.people {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px var(--gutter);
  align-items: start;
}
.people blockquote {
  grid-column: 1 / span 6;
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.25;
  color: var(--white);
}
.people .copy { grid-column: 8 / -1; }
@media (max-width: 900px) { .people blockquote, .people .copy { grid-column: 1 / -1; } }

.cta-band {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px var(--gutter);
  align-items: end;
}
.cta-band h2 { grid-column: 1 / span 7; }
.cta-band .actions { grid-column: 9 / -1; display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 900px) {
  .cta-band h2, .cta-band .actions { grid-column: 1 / -1; justify-content: flex-start; }
}

/* Rechtstexte */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.45rem; margin: 48px 0 14px; }
.legal h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 1.05rem; }
.legal a { color: var(--royal); }

/* 404 / Danke */
.page-center {
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 120px var(--gutter) 80px;
}
.page-center > div { max-width: 560px; }
.page-center h1 { margin-bottom: 20px; }
.page-center p { color: var(--steel-strong); margin-bottom: 36px; }

/* ---------- Motion-Grundzustaende ---------- */

.js-motion [data-hero-fade] { opacity: 0; }

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

/* Menue-Icon wird zum X */
.nav-toggle svg path { transition: transform 220ms var(--ease-out); transform-origin: 12px 12px; }
.nav-toggle[aria-expanded="true"] svg path:first-child { transform: rotate(45deg) translateY(4px); }
.nav-toggle[aria-expanded="true"] svg path:last-child { transform: rotate(-45deg) translateY(-4px); }
.nav-toggle { position: relative; z-index: 101; }

@media (min-width: 901px) {
  .story-head { position: sticky; top: 110px; align-self: start; }
}

/* ==========================================================================
   Ankauf-Assistent (mehrstufig, verzweigend)
   ========================================================================== */

.wizard { gap: 0; }
.wiz-step { display: grid; gap: 22px; padding-bottom: 28px; }
.wizard.is-wizard .wiz-step { display: none; padding-bottom: 8px; }
.wizard.is-wizard .wiz-step.is-current { display: grid; animation: wiz-in 320ms var(--ease-out); }
@keyframes wiz-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wizard.is-wizard [data-show-if].is-off { display: none; }

.wiz-title {
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0 0 2px;
  outline: none;
}
.wiz-count {
  display: block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--sand);
  margin-bottom: 6px;
}
.wiz-progress {
  height: 2px;
  background: var(--navy-line);
  border-radius: 2px;
  margin: 4px 0 26px;
  overflow: hidden;
  display: none;
}
.wizard.is-wizard .wiz-progress { display: block; }
.wiz-progress span {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--sand);
  transition: width 400ms var(--ease-out);
}

.q { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
.q legend {
  padding: 0;
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--steel-strong);
}
.q legend .opt, .field label .opt { font-weight: 400; color: var(--steel); }
.q.has-error .error-msg { display: block; }
.q-hint { margin: 0; font-size: 0.9rem; color: var(--steel); }

.choice-grid { display: grid; gap: 8px; }
.choice-grid--1 { grid-template-columns: 1fr; }
.choice-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 560px) {
  .choice-grid--3, .choice-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.choice { position: relative; display: block; cursor: pointer; }
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.choice span {
  display: flex;
  align-items: center;
  min-height: 48px;
  height: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(168, 188, 210, 0.34);
  border-radius: var(--radius);
  background: rgba(251, 252, 253, 0.04);
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.3;
  color: var(--steel-strong);
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.choice input:checked + span {
  border-color: var(--sand);
  background: rgba(205, 180, 140, 0.16);
  color: var(--white);
  box-shadow: inset 0 0 0 1px var(--sand);
}
.choice input:focus-visible + span { outline: 2px solid var(--royal-ondark); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .choice:hover span { border-color: var(--steel); color: var(--white); }
}

.wiz-note {
  margin: 18px 0 0;
  padding: 2px 0 2px 14px;
  border-left: 2px solid var(--sand);
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--white);
}
.wiz-note:empty { display: none; }

.wiz-summary { margin-top: 8px; }
.wiz-summary dl { margin: 14px 0 0; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); border-top: 1px solid var(--navy-line); }
.wiz-summary dt, .wiz-summary dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--navy-line); font-size: 0.9rem; }
.wiz-summary dt { font-family: var(--sans); color: var(--steel); padding-right: 12px; }
.wiz-summary dd { color: var(--white); }

.wiz-nav { display: flex; gap: 10px; margin-top: 26px; }
.wiz-nav .btn { flex: 1 1 0; }
.wiz-nav [hidden] { display: none; }
.wizard .form-privacy { margin-top: 14px; }
.wizard .form-status { margin-top: 18px; }

.wiz-done { padding: 8px 0 4px; outline: none; }
.wiz-done h4 { margin-bottom: 10px; color: var(--white); }
.wiz-done p { color: var(--steel-strong); }
