/* =========================================================
   HOME UPGRADE LAYER
   Atlas direction · stronger conversion arc · bolder section rhythm
   ========================================================= */

body.page-home {
  --atlas-deep: #071820;
  --atlas-deep-soft: #0d2a37;
  --atlas-paper: #fbf4e7;
  --atlas-paper-soft: #f2e9da;
  --atlas-route-warm: #d6a35b;
  --atlas-route-cool: #86cad4;
  --atlas-line-dark: rgba(255, 255, 255, 0.12);
  --atlas-line-light: rgba(16, 37, 52, 0.12);
  --atlas-shadow-deep: 0 36px 110px rgba(4, 18, 27, 0.3);
  --atlas-shadow-soft: 0 26px 70px rgba(10, 25, 34, 0.12);
}

.page-home .hero,
.page-home #angebot,
.page-home #map-check,
.page-home #faq,
.page-home .cta-final {
  overflow: clip;
}

.page-home .hero > .container,
.page-home #angebot > .container,
.page-home #map-check > .container,
.page-home #faq > .container,
.page-home .cta-final > .container {
  position: relative;
  z-index: 1;
}

/* ───────── Hero ───────── */

.page-home .hero {
  background:
    radial-gradient(760px 460px at 8% 10%, rgba(214, 163, 91, 0.18), transparent 62%),
    radial-gradient(660px 460px at 86% 16%, rgba(134, 202, 212, 0.17), transparent 60%),
    linear-gradient(180deg, #061822 0%, #0b2735 45%, #0e3343 100%);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 118px 118px;
  opacity: 0.22;
  mask-image: radial-gradient(circle at 50% 30%, rgba(0, 0, 0, 0.82), transparent 78%);
  pointer-events: none;
}

.page-home .hero-copy {
  max-width: 700px;
}

.page-home .hero-copy-block {
  gap: 26px;
}

.page-home .hero h1 {
  max-width: 8.8ch;
  font-size: clamp(60px, 7.7vw, 118px);
  line-height: 0.84;
}

.page-home .hero-title-label {
  margin-bottom: 16px;
  color: rgba(134, 202, 212, 0.96);
}

.page-home .hero-title-main {
  margin-right: -18%;
}

.page-home .lead {
  max-width: 34rem;
  font-size: 19px;
  line-height: 1.78;
}

.page-home .hero-cta-note {
  max-width: 31rem;
  font-size: 13px;
}

.page-home .hero-waypoints {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 48rem;
  margin-top: 22px;
}

.page-home .hero-waypoint {
  opacity: 0;
  transform: translateY(14px);
  animation: atlas-waypoint-in 620ms cubic-bezier(0.22, 0.68, 0.28, 1) forwards;
}

.page-home .hero-waypoint:nth-child(1) { animation-delay: 600ms; }
.page-home .hero-waypoint:nth-child(2) { animation-delay: 740ms; }
.page-home .hero-waypoint:nth-child(3) { animation-delay: 880ms; }

@keyframes atlas-waypoint-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.page-home .hero-waypoint {
  position: relative;
  display: grid;
  gap: 5px;
  padding-left: 18px;
  min-height: 0;
}

.page-home .hero-waypoint::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--atlas-route-warm), rgba(134, 202, 212, 0.62));
}

.page-home .hero-waypoint-k {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(245, 237, 226, 0.5);
}

.page-home .hero-waypoint strong {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 250, 244, 0.94);
}

.page-home .hero-stage {
  gap: 20px;
}

.page-home .hero-stage-intro {
  padding-left: 2px;
}

.page-home .hero-stage-title {
  max-width: 28ch;
  font-size: 16px;
}

.page-home .hero-stage-field {
  border-radius: 48px;
}

.page-home .hero-ledger {
  position: relative;
  padding: 22px 20px 0;
  margin-top: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.page-home .hero-ledger::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(214, 163, 91, 0.86), rgba(134, 202, 212, 0.72), transparent 92%);
  opacity: 0.86;
}

.page-home .hero-ledger-item {
  padding-top: 0;
}

@media (min-width: 981px) {
  .page-home .hero {
    min-height: 100svh;
    padding-bottom: 56px;
  }

  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.44fr) minmax(340px, 0.76fr);
    gap: clamp(24px, 3vw, 44px);
    min-height: calc(100svh - var(--header-offset, 92px) - 20px);
    align-items: end;
  }

  .page-home .hero-copy {
    padding-top: clamp(38px, 7vw, 92px);
    padding-bottom: 22px;
  }

  .page-home .hero-stage {
    padding-top: clamp(88px, 10vw, 148px);
  }

  .page-home .hero-stage-field {
    transform: translateY(34px);
  }

  .page-home .hero-ledger {
    grid-template-columns: 1fr 1.15fr 0.95fr 1.1fr;
  }
}

/* ───────── Offer / Angebotsfit ───────── */

.page-home #angebot {
  background:
    radial-gradient(860px 520px at 10% 0%, rgba(214, 163, 91, 0.12), transparent 60%),
    radial-gradient(760px 460px at 100% 16%, rgba(134, 202, 212, 0.11), transparent 58%),
    linear-gradient(180deg, #071b24 0%, #0b2532 42%, #0d3140 100%);
  color: rgba(255, 248, 240, 0.9);
}

.page-home #angebot .section-head h2,
.page-home #angebot .offer-diagnostic h3,
.page-home #angebot .card h3,
.page-home #angebot .offer-context-label {
  color: #fffaf4;
}

.page-home #angebot .section-kicker,
.page-home #angebot .offer-diagnostic-k,
.page-home #angebot .offer-qualifier-k,
.page-home #angebot .card-label {
  color: rgba(255, 246, 236, 0.54);
}

.page-home #angebot .section-head p,
.page-home #angebot .offer-diagnostic-copy,
.page-home #angebot .offer-context-copy p {
  color: rgba(255, 246, 236, 0.74);
}

.page-home #angebot .offer-editorial-top {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 28px 34px;
  padding: 0 0 34px;
  margin-top: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-home #angebot .offer-editorial-top::before,
.page-home #angebot .offer-editorial-top::after,
.page-home #angebot .cards-offer::before {
  display: none;
}

.page-home #angebot .offer-qualifiers {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.page-home #angebot .offer-qualifier + .offer-qualifier {
  border-left-color: rgba(255, 255, 255, 0.14);
}

.page-home #angebot .offer-qualifier strong {
  color: rgba(255, 250, 244, 0.92);
}

.page-home #angebot .offer-context {
  align-self: end;
  padding: 20px 22px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--atlas-shadow-deep);
  backdrop-filter: blur(16px);
}

.page-home #angebot .offer-context-copy p {
  margin-bottom: 14px;
}

.page-home #angebot .offer-context-link {
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 248, 240, 0.9);
}

.page-home #angebot .offer-context-link:hover,
.page-home #angebot .offer-context-link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fffaf4;
}

.page-home #angebot .offer-stage {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1.24fr);
  gap: 24px;
  align-items: start;
}

.page-home #angebot .offer-diagnostic {
  position: sticky;
  top: calc(var(--header-offset, 92px) + 18px);
  padding: 30px 24px 26px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--atlas-shadow-deep);
  backdrop-filter: blur(18px);
}

.page-home #angebot .offer-diagnostic-track {
  display: grid;
  gap: 14px;
}

.page-home #angebot .offer-diagnostic-step {
  position: relative;
  padding: 2px 0 2px 18px;
}

.page-home #angebot .offer-diagnostic-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--atlas-route-warm), rgba(134, 202, 212, 0.58));
}

.page-home #angebot .offer-diagnostic-step-k {
  color: rgba(255, 246, 236, 0.54);
}

.page-home #angebot .offer-diagnostic-step strong {
  color: rgba(255, 250, 244, 0.94);
}

.page-home #angebot .cards-offer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-home #angebot .card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  min-height: 0;
  padding: 32px 32px 30px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 100% 0%, rgba(134, 202, 212, 0.1), transparent 28%);
  box-shadow: 0 28px 72px rgba(4, 18, 27, 0.22);
}

.page-home #angebot .card::before {
  position: absolute;
  right: 24px;
  top: 22px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(76px, 10vw, 120px);
  line-height: 0.8;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.page-home #angebot .card:nth-child(1)::before { content: "01"; }
.page-home #angebot .card:nth-child(2)::before { content: "02"; }
.page-home #angebot .card:nth-child(3)::before { content: "03"; }

.page-home #angebot .card-label {
  margin: 0 0 16px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}

.page-home #angebot .card h3 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(29px, 3.2vw, 42px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.page-home #angebot .card .bullets {
  gap: 12px;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.page-home #angebot .card .bullets li {
  color: rgba(255, 247, 236, 0.84);
}

.page-home #angebot .card-highlight {
  background:
    linear-gradient(160deg, rgba(214, 163, 91, 0.16), rgba(255, 255, 255, 0.04) 54%, rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 100% 0%, rgba(214, 163, 91, 0.16), transparent 30%);
}

.page-home #angebot .card-dark {
  background:
    linear-gradient(160deg, rgba(0, 0, 0, 0.2), rgba(134, 202, 212, 0.08) 120%),
    radial-gradient(circle at 100% 0%, rgba(134, 202, 212, 0.13), transparent 30%);
}

.page-home #angebot .card-dark .card-label,
.page-home #angebot .card-dark .bullets li {
  color: rgba(255, 247, 236, 0.8);
}

/* ───────── Messlogik / Atlas ───────── */

.page-home #messung .measure-atlas {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: stretch;
  padding: 26px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    radial-gradient(circle at 100% 0%, rgba(134, 202, 212, 0.12), transparent 28%);
}

.page-home #messung .measure-scanfield {
  position: relative;
  overflow: hidden;
  min-height: 286px;
  border-radius: 30px;
  background:
    linear-gradient(160deg, rgba(6, 24, 34, 0.92), rgba(13, 43, 57, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(214, 163, 91, 0.16), transparent 30%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 60px rgba(4, 18, 27, 0.22);
}

.page-home #messung .measure-scan-grid,
.page-home #messung .measure-scan-beam,
.page-home #messung .measure-scan-path {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-home #messung .measure-scan-grid {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.48;
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.92), transparent 88%);
}

.page-home #messung .measure-scan-beam {
  inset: 8% -26%;
  background: linear-gradient(90deg, transparent 12%, rgba(214, 163, 91, 0.22) 46%, rgba(134, 202, 212, 0.18) 56%, transparent 88%);
  transform: translateX(-44%) skewX(-18deg);
  opacity: 0.34;
  filter: blur(2px);
}

.page-home #messung .measure-scan-path {
  inset: auto;
  left: 16%;
  right: 16%;
  top: 18%;
  bottom: 18%;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(134, 202, 212, 0.06);
}

.page-home #messung .measure-scan-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  gap: 2px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(245, 237, 225, 0.96));
  color: var(--home-ink);
  box-shadow: 0 24px 60px rgba(5, 17, 24, 0.26);
}

.page-home #messung .measure-scan-hub span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(16, 37, 52, 0.44);
}

.page-home #messung .measure-scan-hub strong {
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--home-navy);
}

.page-home #messung .measure-scan-node {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 54px;
  height: 54px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 30px rgba(5, 17, 24, 0.18);
  color: var(--home-navy);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  opacity: 0;
  transform: scale(0.9) translateY(10px);
  transition: opacity 460ms ease, transform 460ms cubic-bezier(0.22, 0.68, 0.28, 1);
}

.page-home #messung .measure-scan-node-a { left: 14%; top: 16%; }
.page-home #messung .measure-scan-node-b { right: 14%; top: 24%; }
.page-home #messung .measure-scan-node-c { left: 18%; bottom: 20%; }
.page-home #messung .measure-scan-node-d { right: 16%; bottom: 14%; }

.page-home #messung .measure-atlas-copy {
  display: grid;
  align-content: center;
  gap: 14px;
}

.page-home #messung .measure-atlas-k {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  width: fit-content;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 247, 233, 0.68);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}

.page-home #messung .measure-atlas-copy p {
  margin: 0;
  max-width: 36ch;
  font-size: 16px;
  line-height: 1.74;
  color: rgba(245, 237, 226, 0.78);
}

.page-home #messung .measure-atlas-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home #messung .measure-atlas-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 247, 233, 0.84);
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.page-home #messung .measure-overview {
  display: none;
}

@keyframes atlas-beam-sweep {
  0% { transform: translateX(-44%) skewX(-18deg); opacity: 0.2; }
  50% { transform: translateX(8%) skewX(-18deg); opacity: 0.58; }
  100% { transform: translateX(52%) skewX(-18deg); opacity: 0.18; }
}

@keyframes atlas-path-glow {
  0%, 100% { border-color: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(134, 202, 212, 0.05); }
  50% { border-color: rgba(214, 163, 91, 0.22); box-shadow: inset 0 0 0 1px rgba(134, 202, 212, 0.12), 0 0 32px rgba(134, 202, 212, 0.08); }
}

@keyframes atlas-node-pulse {
  0%, 100% { box-shadow: 0 18px 30px rgba(5, 17, 24, 0.18); }
  50% { box-shadow: 0 18px 30px rgba(5, 17, 24, 0.18), 0 0 0 10px rgba(134, 202, 212, 0.06); }
}

.page-home #messung .measure-atlas[data-scroll-active="true"] .measure-scan-beam {
  animation: atlas-beam-sweep 6s cubic-bezier(0.32, 0.08, 0.2, 0.96) infinite;
}

.page-home #messung .measure-atlas[data-scroll-active="true"] .measure-scan-path {
  animation: atlas-path-glow 4.8s ease-in-out infinite;
}

.page-home #messung .measure-atlas[data-scroll-active="true"] .measure-scan-node {
  opacity: 1;
  transform: none;
  animation: atlas-node-pulse 4.2s ease-in-out infinite;
}

.page-home #messung .measure-atlas[data-scroll-active="true"] .measure-scan-node-a { transition-delay: 60ms; animation-delay: 0ms; }
.page-home #messung .measure-atlas[data-scroll-active="true"] .measure-scan-node-b { transition-delay: 160ms; animation-delay: 0.4s; }
.page-home #messung .measure-atlas[data-scroll-active="true"] .measure-scan-node-c { transition-delay: 240ms; animation-delay: 0.8s; }
.page-home #messung .measure-atlas[data-scroll-active="true"] .measure-scan-node-d { transition-delay: 320ms; animation-delay: 1.2s; }

/* ───────── Map Check ───────── */

.page-home #map-check {
  background:
    radial-gradient(720px 420px at 0% 10%, rgba(214, 163, 91, 0.12), transparent 64%),
    radial-gradient(640px 420px at 100% 16%, rgba(134, 202, 212, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(251, 244, 231, 0.98), rgba(239, 246, 247, 0.92) 58%, rgba(247, 251, 251, 0.98));
}

.page-home #map-check .mapcheck-shell {
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-home #map-check .mapcheck-editorial-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 26px;
  align-items: end;
  margin-bottom: 28px;
}

.page-home #map-check .mapcheck-editorial-copy h2 {
  font-size: clamp(44px, 5.3vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.page-home #map-check .mapcheck-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.page-home #map-check .mapcheck-summary-item {
  padding: 16px 16px 17px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 37, 52, 0.08);
  box-shadow: var(--atlas-shadow-soft);
}

.page-home #map-check .contact-grid {
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  gap: 30px;
  align-items: start;
}

.page-home #map-check .contact-form-wrap {
  order: -1;
  position: sticky;
  top: calc(var(--header-offset, 92px) + 18px);
}

.page-home #map-check .form,
.page-home #map-check .form-success {
  border-radius: 36px;
  background:
    linear-gradient(160deg, #071b24 0%, #0d2935 56%, #123747 100%),
    radial-gradient(circle at 100% 0%, rgba(134, 202, 212, 0.12), transparent 30%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--atlas-shadow-deep);
}

.page-home #map-check .form-title,
.page-home #map-check .form-success h3 {
  color: #fffaf4;
}

.page-home #map-check .form-intro,
.page-home #map-check .form-note,
.page-home #map-check .form-details-note,
.page-home #map-check .form-success p {
  color: rgba(255, 247, 236, 0.76);
}

.page-home #map-check .form label {
  color: rgba(255, 250, 244, 0.9);
}

.page-home #map-check .form input,
.page-home #map-check .form textarea {
  color: #fffaf4;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.page-home #map-check .form input::placeholder,
.page-home #map-check .form textarea::placeholder {
  color: rgba(255, 247, 236, 0.42);
}

.page-home #map-check .form input:focus,
.page-home #map-check .form textarea:focus {
  border-color: rgba(134, 202, 212, 0.62);
  box-shadow: 0 0 0 4px rgba(134, 202, 212, 0.14);
}

.page-home #map-check .form-details {
  border-radius: 24px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.page-home #map-check .form-meta-pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 247, 236, 0.82);
}

.page-home #map-check .form-note a,
.page-home #map-check .form-success .btn-ghost {
  color: #fffaf4;
}

.page-home #map-check .field-error {
  color: #ffd8d1;
}

.page-home #map-check .form-error-summary {
  background: rgba(198, 74, 63, 0.14);
  border-color: rgba(255, 150, 140, 0.22);
  color: #fffaf4;
}

.page-home #map-check .form-status[data-tone="error"] {
  background: rgba(198, 74, 63, 0.14);
  color: #fffaf4;
}

.page-home #map-check .mapcheck-briefing {
  display: grid;
  gap: 22px;
}

.page-home #map-check .mapcheck-intake {
  padding: 30px 28px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(16, 37, 52, 0.08);
  box-shadow: var(--atlas-shadow-soft);
}

.page-home #map-check .mapcheck-intake-steps {
  gap: 16px;
}

.page-home #map-check .mapcheck-intake-step {
  position: relative;
  padding-left: 18px;
}

.page-home #map-check .mapcheck-intake-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: -6px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--atlas-route-warm), rgba(134, 202, 212, 0.58));
}

.page-home #map-check .method-grid {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--atlas-shadow-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 240, 229, 0.72)),
    radial-gradient(circle at 100% 0%, rgba(134, 202, 212, 0.1), transparent 28%);
}

/* ───────── FAQ ───────── */

.page-home #faq {
  background:
    radial-gradient(640px 380px at 8% 60%, rgba(134, 202, 212, 0.07), transparent 64%),
    radial-gradient(560px 340px at 92% 16%, rgba(214, 163, 91, 0.08), transparent 62%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(246, 238, 225, 0.74));
}

.page-home #faq .faq-column {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.78fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 26px;
}

.page-home #faq .faq-sidecard {
  position: sticky;
  top: calc(var(--header-offset, 92px) + 18px);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(247, 239, 227, 0.72));
  border: 1px solid rgba(16, 37, 52, 0.08);
  box-shadow: var(--atlas-shadow-soft);
}

.page-home #faq .faq-shell {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-home #faq .faq-shell-head {
  margin-bottom: 18px;
  color: rgba(16, 37, 52, 0.54);
}

.page-home #faq .faq-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.page-home #faq .faq-group {
  padding: 24px 22px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(16, 37, 52, 0.08);
  box-shadow: var(--atlas-shadow-soft);
}

.page-home #faq .faq-group-head {
  margin-bottom: 14px;
}

.page-home #faq .faq-item {
  margin: 0;
  padding: 18px 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.page-home #faq .faq-item + .faq-item {
  border-top: 1px solid rgba(16, 37, 52, 0.08);
}

/* ───────── Final CTA ───────── */

.page-home .cta-final {
  padding-bottom: clamp(84px, 8vw, 132px);
  background:
    radial-gradient(760px 460px at 0% 0%, rgba(214, 163, 91, 0.12), transparent 62%),
    radial-gradient(720px 440px at 100% 100%, rgba(134, 202, 212, 0.12), transparent 60%),
    linear-gradient(180deg, #061820 0%, #0d2735 46%, #123845 100%);
}

.page-home .cta-route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 24px;
  margin-bottom: 20px;
}

.page-home .cta-route-item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 480ms ease, transform 480ms cubic-bezier(0.22, 0.68, 0.28, 1);
  transition-delay: var(--cta-pill-delay, 0ms);
}

.page-home .cta-route-item:nth-child(1) { --cta-pill-delay: 0ms; }
.page-home .cta-route-item:nth-child(2) { --cta-pill-delay: 100ms; }
.page-home .cta-route-item:nth-child(3) { --cta-pill-delay: 200ms; }

.page-home .cta-route.is-visible .cta-route-item {
  opacity: 1;
  transform: none;
}

.page-home .cta-route-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 248, 240, 0.84);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  text-align: center;
}

.page-home .cta-shell {
  border-radius: 42px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 100% 0%, rgba(134, 202, 212, 0.12), transparent 30%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--atlas-shadow-deep);
  backdrop-filter: blur(18px);
}

.page-home .cta-box h2 {
  font-size: clamp(42px, 5vw, 74px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.page-home .cta-decision-grid {
  gap: 12px;
}

.page-home .cta-decision-item {
  min-height: 0;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .cta-sidecard {
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(247, 239, 227, 0.86)),
    radial-gradient(circle at 100% 0%, rgba(214, 163, 91, 0.1), transparent 28%);
  color: var(--home-ink);
  box-shadow: 0 30px 82px rgba(4, 18, 27, 0.18);
  transform: translateY(-34px);
}

/* ───────── Breakpoints ───────── */

@media (min-width: 981px) {
  .page-home #angebot .offer-mobile-flow {
    display: none;
  }
}

@media (max-width: 1180px) {
  .page-home #faq .faq-groups {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .page-home .hero {
    min-height: auto;
    padding-bottom: 24px;
  }

  .page-home .hero-grid {
    min-height: auto;
  }

  .page-home .hero-title-main {
    margin-right: 0;
  }

  .page-home .hero-waypoints {
    grid-template-columns: 1fr;
  }

  .page-home .hero-stage-field {
    transform: none;
  }

  .page-home #angebot .offer-editorial-top,
  .page-home #map-check .mapcheck-editorial-head,
  .page-home #faq .faq-column,
  .page-home .cta-route {
    grid-template-columns: 1fr;
  }

  .page-home #angebot .offer-stage {
    display: none;
  }

  .page-home #angebot .offer-mobile-flow {
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 30px;
    background:
      linear-gradient(180deg, rgba(6, 24, 34, 0.92), rgba(12, 38, 50, 0.94)),
      radial-gradient(circle at 100% 0%, rgba(214, 163, 91, 0.14), transparent 30%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--atlas-shadow-deep);
  }

  .page-home #angebot .offer-mobile-flow-head p,
  .page-home #angebot .offer-mobile-flow-k {
    color: rgba(255, 247, 236, 0.74);
  }

  .page-home #angebot .offer-mobile-item {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
  }

  .page-home #angebot .offer-mobile-item summary::after,
  .page-home #angebot .offer-mobile-item .offer-mobile-index {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 247, 236, 0.8);
  }

  .page-home #angebot .offer-mobile-summary strong,
  .page-home #angebot .offer-mobile-label,
  .page-home #angebot .offer-mobile-body .bullets {
    color: rgba(255, 250, 244, 0.9);
  }

  .page-home #angebot .offer-mobile-label {
    color: rgba(255, 247, 236, 0.56);
  }

  .page-home #angebot .offer-mobile-body {
    border-top-color: rgba(255, 255, 255, 0.08);
  }

  .page-home #messung .measure-atlas {
    display: none;
  }

  .page-home #messung .measure-mobile-sheet {
    border-radius: 30px;
    background:
      linear-gradient(180deg, rgba(8, 29, 40, 0.96), rgba(14, 43, 57, 0.94)),
      radial-gradient(circle at 100% 0%, rgba(214, 163, 91, 0.14), transparent 28%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: var(--atlas-shadow-deep);
  }

  .page-home #messung .measure-mobile-head,
  .page-home #messung .measure-mobile-step + .measure-mobile-step,
  .page-home #messung .measure-mobile-foot {
    border-color: rgba(255, 255, 255, 0.08);
  }

  .page-home #messung .measure-mobile-k,
  .page-home #messung .measure-mobile-label {
    color: rgba(255, 247, 236, 0.56);
  }

  .page-home #messung .measure-mobile-head p,
  .page-home #messung .measure-mobile-body > p:last-child,
  .page-home #messung .measure-mobile-foot-item {
    color: rgba(255, 247, 236, 0.78);
  }

  .page-home #messung .measure-mobile-body h3 {
    color: #fffaf4;
  }

  .page-home #messung .measure-mobile-index {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 247, 236, 0.86);
    box-shadow: 0 0 0 8px rgba(134, 202, 212, 0.08);
  }

  .page-home #map-check .contact-grid {
    grid-template-columns: 1fr;
  }

  .page-home #map-check .contact-form-wrap {
    position: static;
    order: 1;
  }

  .page-home #map-check .form,
  .page-home #map-check .form-success {
    border-radius: 30px;
  }

  .page-home #map-check .mapcheck-mobile-intel {
    order: 2;
    border-radius: 30px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 238, 229, 0.86)),
      radial-gradient(circle at 100% 0%, rgba(134, 202, 212, 0.12), transparent 30%);
    box-shadow: var(--atlas-shadow-soft);
  }

  .page-home #map-check .mapcheck-mobile-card {
    position: relative;
    padding: 18px 18px 17px;
  }

  .page-home #map-check .mapcheck-mobile-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--atlas-route-warm), rgba(134, 202, 212, 0.64));
  }

  .page-home #map-check .mapcheck-mobile-card-dark {
    background: linear-gradient(160deg, rgba(11, 37, 50, 0.98), rgba(18, 55, 71, 0.98));
  }

  .page-home #map-check .mapcheck-mobile-card-dark::before {
    background: linear-gradient(180deg, rgba(214, 163, 91, 0.9), rgba(255, 255, 255, 0.3));
  }

  .page-home #faq .faq-sidecard {
    position: static;
  }

  .page-home .cta-sidecard {
    transform: none;
  }
}

@media (max-width: 720px) {
  .page-home .hero h1,
  .page-home #map-check .mapcheck-editorial-copy h2,
  .page-home .cta-box h2 {
    font-size: clamp(38px, 12vw, 60px);
  }

  .page-home .hero-ledger {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Waypoints duplicate ledger content — hide on phones where both stack */
  .page-home .hero-waypoints {
    display: none;
  }

  /* Route pills duplicate decision grid — remove visual noise on phones */
  .page-home .cta-route {
    display: none;
  }

  .page-home .cta-route-item {
    min-height: 46px;
    font-size: 10px;
  }

  .page-home #angebot .offer-mobile-flow,
  .page-home #messung .measure-mobile-sheet,
  .page-home #map-check .mapcheck-mobile-intel {
    border-radius: 26px;
  }

  .page-home #faq .faq-group {
    padding: 20px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home #angebot .offer-diagnostic,
  .page-home #map-check .contact-form-wrap,
  .page-home #faq .faq-sidecard {
    position: static;
  }

  .page-home .cta-sidecard {
    transform: none;
  }

  .page-home .hero-waypoint {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .page-home .cta-route-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
