/* ═══════════════════════════════════════════════════════════════
   HOME VISION LAYER
   Transformative redesign: typography drama, section rhythm,
   scroll narrative, interactive depth
   ═══════════════════════════════════════════════════════════════ */


/* ─── DESIGN TOKENS ─── */

body.page-home {
  --vision-cream: #faf5ec;
  --vision-cream-soft: #f5ede2;
  --vision-warm-paper: #f8f2e8;
  --vision-ink: #0f2536;
  --vision-ink-soft: rgba(15, 37, 54, 0.72);
  --vision-ink-muted: rgba(15, 37, 54, 0.52);
  --vision-ink-faint: rgba(15, 37, 54, 0.36);
  --vision-border-light: rgba(15, 37, 54, 0.07);
  --vision-card-light: rgba(255, 255, 255, 0.82);
  --vision-shadow-soft: 0 20px 52px rgba(15, 37, 54, 0.06);
  --vision-shadow-card: 0 12px 36px rgba(15, 37, 54, 0.05);
}


/* ═══════════════════════════════════════════════════════════════
   1. TYPOGRAPHY TRANSFORMATION — NEWSREADER SERIF HEADLINES
   Editorial distinction through serif/sans contrast.
   Display headlines in Newsreader create warmth and authority.
   Body text stays sans-serif for readability.
   ═══════════════════════════════════════════════════════════════ */

.page-home .hero h1 {
  font-family: "Newsreader", Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.035em;
}

.page-home .section-head h2 {
  font-family: "Newsreader", Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.page-home .cta-box h2,
.page-home #map-check .mapcheck-editorial-copy h2 {
  font-family: "Newsreader", Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 600;
}

/* Hero <em> gets serif italic — creates typographic tension within the headline */
.page-home .hero-title-main em {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 500;
}

/* Guarantee and FAQ card h3s remain sans-serif for contrast with serif h2 above */

/* Section kicker: slightly refined for serif headline pairing */
.page-home .section-kicker {
  font-family: "Manrope", "Avenir Next", sans-serif;
}


/* ═══════════════════════════════════════════════════════════════
   2. HERO — CINEMATIC FULL-VIEWPORT OPENER
   Dramatically larger serif headline, animated atmospheric glow,
   refined visual hierarchy with clear focal points.
   ═══════════════════════════════════════════════════════════════ */

/* Animated atmospheric glow behind hero content — subtle depth */
.page-home .hero::after {
  content: "";
  position: absolute;
  top: 12%;
  left: 32%;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 163, 91, 0.11), transparent 62%);
  filter: blur(90px);
  z-index: 0;
  animation: vision-aura 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes vision-aura {
  0% { transform: translate(0, 0) scale(1); opacity: 0.45; }
  50% { transform: translate(40px, -28px) scale(1.12); opacity: 0.65; }
  100% { transform: translate(-18px, 16px) scale(0.96); opacity: 0.38; }
}

/* Hero glow element gets subtle drift for parallax depth */
.page-home .hero-bg .glow {
  animation: vision-glow-drift 22s ease-in-out infinite alternate;
}

@keyframes vision-glow-drift {
  0% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(28px, -16px) scale(1.04); }
  70% { transform: translate(-14px, 12px) scale(0.97); }
  100% { transform: translate(8px, -8px) scale(1.01); }
}

/* Desktop: larger, more dramatic headline */
@media (min-width: 981px) {
  .page-home .hero h1 {
    font-size: clamp(72px, 8.6vw, 132px);
    line-height: 0.84;
  }

  /* The uppercase label above the main headline */
  .page-home .hero-title-label {
    font-family: "Manrope", "Avenir Next", sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 0.34em;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 18px;
  }
}

/* Hero CTA: sharper micro-copy */
.page-home .hero-cta .btn-primary {
  position: relative;
}


/* ═══════════════════════════════════════════════════════════════
   3. ABLAUF (PROCESS) — DARK → WARM LIGHT TRANSFORMATION
   The single biggest visual change: breaking the dark-section
   streak (hero-offer-process = 3 consecutive dark) by converting
   the process section to warm cream paper aesthetic.
   Creates dramatic contrast with dark Offer above and dark
   Measurement below.
   ═══════════════════════════════════════════════════════════════ */

.page-home #ablauf {
  background:
    radial-gradient(ellipse 50% 40% at 10% 20%, rgba(196, 148, 74, 0.05), transparent 70%),
    radial-gradient(ellipse 40% 50% at 90% 80%, rgba(134, 202, 212, 0.04), transparent 70%),
    linear-gradient(180deg, var(--vision-cream) 0%, var(--vision-warm-paper) 100%) !important;
  color: var(--vision-ink) !important;
  border: none !important;
  position: relative;
}

/* Smooth gradient bridge: dark Offer → warm Ablauf */
.page-home #ablauf::before {
  content: "" !important;
  position: absolute !important;
  top: -72px;
  left: 0;
  right: 0;
  height: 72px;
  background: linear-gradient(180deg, transparent, var(--vision-cream)) !important;
  pointer-events: none;
  z-index: 2;
  opacity: 1 !important;
}

/* --- Text colors for light background --- */

.page-home #ablauf .section-kicker,
.page-home #ablauf .section-head p {
  color: var(--vision-ink-soft) !important;
}

.page-home #ablauf .section-head h2 {
  color: var(--vision-ink) !important;
}

/* Section h2 signature underline on light bg */
.page-home #ablauf .section-head h2::after {
  background: linear-gradient(90deg, var(--home-gold), rgba(134, 202, 212, 0.6));
}

/* --- Process sidecard: light glass instead of dark glass --- */

.page-home .process-sidecard {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.76)) !important;
  border: 1px solid var(--vision-border-light) !important;
  box-shadow: var(--vision-shadow-soft) !important;
  backdrop-filter: blur(16px);
}

.page-home .process-sidecard::after {
  background: radial-gradient(circle, rgba(134, 202, 212, 0.05), transparent 72%) !important;
}

.page-home .process-sidecard-k {
  background: rgba(196, 148, 74, 0.12) !important;
  color: rgba(154, 108, 38, 0.82) !important;
}

.page-home .process-sidecard-title {
  color: var(--vision-ink) !important;
}

.page-home .process-sidecard-item strong {
  color: var(--vision-ink) !important;
}

.page-home .process-sidecard-item p {
  color: var(--vision-ink-soft) !important;
}

.page-home .process-sidecard-index {
  background: linear-gradient(135deg, var(--home-gold), rgba(134, 202, 212, 0.64)) !important;
  color: white !important;
}

.page-home .process-sidecard-item::before {
  background: var(--vision-border-light) !important;
}

/* --- Timeline steps: glass-light for warm background --- */

@media (min-width: 981px) {
  /* Timeline connector bar */
  .page-home .timeline.timeline-compact::before {
    background: linear-gradient(180deg,
      var(--home-gold) 0%,
      rgba(134, 202, 212, 0.62) 45%,
      var(--home-gold) 100%) !important;
    opacity: 0.36 !important;
  }

  /* Steps: white glass cards on warm background */
  .page-home .timeline.timeline-compact .step {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.84)) !important;
    border-color: var(--vision-border-light) !important;
    box-shadow:
      0 12px 36px rgba(15, 37, 54, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: none !important;
    color: var(--vision-ink) !important;
  }

  .page-home .timeline.timeline-compact .step:hover {
    background:
      linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.94)) !important;
    box-shadow:
      0 18px 48px rgba(15, 37, 54, 0.07),
      inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(196, 148, 74, 0.18) !important;
  }

  /* Timeline node dots: cream border instead of dark */
  .page-home .timeline.timeline-compact .step::before {
    border-color: var(--vision-cream) !important;
  }

  .page-home .timeline.timeline-compact .step:hover::before {
    box-shadow:
      0 0 0 8px rgba(196, 148, 74, 0.1),
      0 4px 16px rgba(15, 37, 54, 0.06) !important;
  }

  /* Connecting arm: lighter */
  .page-home .timeline.timeline-compact .step::after {
    background: linear-gradient(90deg, rgba(196, 148, 74, 0.14), rgba(196, 148, 74, 0.03)) !important;
  }
}

/* Step inner elements for light background */
.page-home #ablauf .step-index {
  background: rgba(15, 37, 54, 0.06) !important;
  color: var(--vision-ink) !important;
}

.page-home #ablauf .step-week {
  background: linear-gradient(135deg, var(--home-gold), rgba(134, 202, 212, 0.82)) !important;
  color: white !important;
}

.page-home #ablauf .step-body h3 {
  color: var(--vision-ink) !important;
}

.page-home #ablauf .step-body p {
  color: var(--vision-ink-soft) !important;
}

/* Step-highlight: warm gold accent on white */
.page-home #ablauf .step-highlight {
  background:
    linear-gradient(160deg, rgba(196, 148, 74, 0.06), rgba(255, 255, 255, 0.94)) !important;
  border-color: rgba(196, 148, 74, 0.16) !important;
}

/* Step-dark: dramatic dark card for the final step — creates emphasis within light section */
.page-home #ablauf .step-dark {
  background:
    linear-gradient(160deg, rgba(15, 37, 54, 0.97), rgba(18, 55, 71, 0.93)) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: white !important;
}

.page-home #ablauf .step-dark .step-index {
  background: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

.page-home #ablauf .step-dark .step-week {
  background: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

.page-home #ablauf .step-dark .step-body h3 {
  color: rgba(255, 255, 255, 0.96) !important;
}

.page-home #ablauf .step-dark .step-body p {
  color: rgba(255, 255, 255, 0.78) !important;
}

/* Process note: dark note stays dark for emphasis */
.page-home #ablauf .note-dark {
  background: linear-gradient(160deg, rgba(15, 37, 54, 0.97), rgba(18, 55, 71, 0.93)) !important;
  border-color: rgba(15, 37, 54, 0.1) !important;
}

/* --- Mobile process components for light background --- */

.page-home #ablauf .process-mobile-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 245, 236, 0.9)) !important;
  border-color: var(--vision-border-light) !important;
  box-shadow: var(--vision-shadow-soft) !important;
}

.page-home #ablauf .process-mobile-head {
  border-bottom-color: var(--vision-border-light) !important;
}

.page-home #ablauf .process-mobile-k {
  color: var(--vision-ink-muted) !important;
}

.page-home #ablauf .process-mobile-head p {
  color: var(--vision-ink-soft) !important;
}

.page-home #ablauf .process-mobile-principle {
  background: rgba(15, 37, 54, 0.04) !important;
  border-color: var(--vision-border-light) !important;
}

.page-home #ablauf .process-mobile-principle-index {
  background: linear-gradient(135deg, var(--home-gold), rgba(134, 202, 212, 0.64)) !important;
  color: white !important;
}

.page-home #ablauf .process-mobile-principle span:last-child {
  color: var(--vision-ink-muted) !important;
}

.page-home #ablauf .process-mobile-step + .process-mobile-step {
  border-top-color: var(--vision-border-light) !important;
}

.page-home #ablauf .process-mobile-index {
  background: rgba(15, 37, 54, 0.06) !important;
  color: var(--vision-ink) !important;
}

.page-home #ablauf .process-mobile-week {
  background: linear-gradient(135deg, var(--home-gold), rgba(134, 202, 212, 0.82)) !important;
  color: white !important;
}

.page-home #ablauf .process-mobile-body h3 {
  color: var(--vision-ink) !important;
}

.page-home #ablauf .process-mobile-body p {
  color: var(--vision-ink-soft) !important;
}

.page-home #ablauf .process-mobile-foot {
  border-top-color: var(--vision-border-light) !important;
  background: linear-gradient(160deg, rgba(15, 37, 54, 0.97), rgba(18, 55, 71, 0.93)) !important;
}


/* ═══════════════════════════════════════════════════════════════
   4. MESSUNG — IMMERSIVE DARK TREATMENT
   The measurement section sits between light Ablauf and light
   Garantie, creating a dramatic "analytical immersion" effect.
   Enhance its dark presence with full-bleed background.
   ═══════════════════════════════════════════════════════════════ */

.page-home #messung {
  background:
    radial-gradient(800px 400px at 10% 20%, rgba(214, 163, 91, 0.09), transparent 62%),
    radial-gradient(700px 400px at 90% 80%, rgba(134, 202, 212, 0.08), transparent 60%),
    linear-gradient(180deg, #071a24 0%, #0b2533 46%, #0e3242 100%) !important;
  color: rgba(255, 248, 240, 0.9) !important;
}

/* Section head text for dark background */
.page-home #messung .measure-head-mobile .section-kicker,
.page-home #messung .measure-head-mobile p {
  color: rgba(255, 247, 236, 0.6) !important;
}

.page-home #messung .measure-head-mobile h2 {
  color: #fffaf4 !important;
}

/* Measure system: already dark, enhance */
.page-home .measure-system {
  border-color: rgba(255, 255, 255, 0.06) !important;
}

/* Smooth transition: warm Ablauf → dark Messung */
.page-home #messung::before {
  content: "";
  position: absolute;
  top: -56px;
  left: 0;
  right: 0;
  height: 56px;
  background: linear-gradient(180deg, var(--vision-warm-paper), #071a24);
  pointer-events: none;
  z-index: 2;
}

/* Measure board lanes: light inside the dark container */
.page-home #messung .section-head h2::after {
  background: linear-gradient(90deg, rgba(196, 148, 74, 0.8), rgba(136, 206, 217, 0.6));
}

/* Mobile measure: dark treatment */
.page-home #messung .measure-mobile-sheet {
  border-radius: 30px !important;
  background:
    linear-gradient(180deg, rgba(8, 29, 40, 0.96), rgba(14, 43, 57, 0.94)) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.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) !important;
}

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

.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) !important;
}

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

.page-home #messung .measure-mobile-index {
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 247, 236, 0.86) !important;
}


/* ═══════════════════════════════════════════════════════════════
   5. VISUAL BRIDGES — SECTION TRANSITIONS
   Smooth gradient bridges between dark and light sections
   create seamless scroll flow instead of hard color cuts.
   ═══════════════════════════════════════════════════════════════ */

/* Sig-divider between dark Angebot → light Ablauf */
.page-home #angebot + .sig-divider {
  background: linear-gradient(180deg,
    #0b2532 0%,
    var(--vision-cream) 100%);
}

.page-home #angebot + .sig-divider::before {
  opacity: 0.5;
}

/* Sig-divider between light Ablauf → dark Messung */
.page-home #ablauf + .sig-divider {
  background: linear-gradient(180deg,
    var(--vision-warm-paper) 0%,
    #071a24 100%);
}

.page-home #ablauf + .sig-divider::before {
  opacity: 0.5;
}


/* ═══════════════════════════════════════════════════════════════
   6. SCROLL-DRIVEN STAGGERED REVEALS
   Level 2 animation: Elements fade-in with upward movement and
   staggered timing as they enter the viewport.
   ═══════════════════════════════════════════════════════════════ */

/* Reveal base: hidden until .is-visible triggers */
.page-home [data-vision-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 0.68, 0.28, 1),
    transform 0.65s cubic-bezier(0.22, 0.68, 0.28, 1);
}

.page-home [data-vision-reveal].vision-visible {
  opacity: 1;
  transform: none;
}

/* Stagger: use CSS custom property for delay */
.page-home [data-vision-reveal][data-vision-delay="1"] { transition-delay: 80ms; }
.page-home [data-vision-reveal][data-vision-delay="2"] { transition-delay: 160ms; }
.page-home [data-vision-reveal][data-vision-delay="3"] { transition-delay: 240ms; }
.page-home [data-vision-reveal][data-vision-delay="4"] { transition-delay: 320ms; }

/* Counter animation: tabular figures during count */
.page-home [data-vision-counter] {
  font-variant-numeric: tabular-nums;
}


/* ═══════════════════════════════════════════════════════════════
   7. HERO CTA — PULSING ATTENTION RING
   The primary CTA gets a subtle expanding ring animation
   to draw attention to the conversion action.
   ═══════════════════════════════════════════════════════════════ */

.page-home .hero-cta .btn-primary {
  position: relative;
  isolation: isolate;
}

.page-home .hero-cta .btn-primary::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(214, 163, 91, 0.3);
  opacity: 0;
  animation: vision-cta-pulse 3.5s cubic-bezier(0.22, 0.68, 0.28, 1) 2s infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes vision-cta-pulse {
  0% { opacity: 0; transform: scale(1); }
  15% { opacity: 0.7; transform: scale(1); }
  60% { opacity: 0; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.08); }
}


/* ═══════════════════════════════════════════════════════════════
   8. INTERACTIVE HOVER DEPTH — 3D PERSPECTIVE CARDS
   Premium feel through subtle perspective shifts on hover.
   Only on devices that support hover (no touch).
   ═══════════════════════════════════════════════════════════════ */

@media (min-width: 981px) and (hover: hover) {
  .page-home .guarantee-lane {
    transition:
      transform 0.4s cubic-bezier(0.22, 0.68, 0.28, 1),
      box-shadow 0.4s cubic-bezier(0.22, 0.68, 0.28, 1),
      border-color 0.3s ease;
  }

  .page-home .guarantee-lane:hover {
    transform: perspective(900px) rotateX(-0.8deg) translateY(-3px);
  }

  /* Keep dark background on guarantee-lane-full hover */
  .page-home .guarantee-lane-full:hover {
    background: linear-gradient(180deg, rgba(10, 34, 46, 0.98), rgba(14, 46, 60, 0.96)) !important;
  }

  .page-home .measure-lane {
    transition:
      transform 0.4s cubic-bezier(0.22, 0.68, 0.28, 1),
      box-shadow 0.4s cubic-bezier(0.22, 0.68, 0.28, 1),
      border-color 0.3s ease;
  }

  .page-home .measure-lane:hover {
    transform: perspective(900px) rotateX(-0.8deg) translateY(-3px);
    box-shadow: 0 20px 52px rgba(5, 17, 24, 0.12);
  }
}


/* ═══════════════════════════════════════════════════════════════
   9. CTA FINAL — FUNDAMENTAL TRANSFORMATION
   The conversion climax gets a visual logic inversion:
   Dark section background stays, but the cta-sidecard (action
   panel) becomes warm cream/gold paper — a "contract moment"
   that breaks free from the dark environment. The editorial
   left side stays dark-themed for contrast.
   ═══════════════════════════════════════════════════════════════ */

/* Atmospheric warm glow under the section */
.page-home .cta-final::after {
  content: "";
  position: absolute;
  bottom: -8%;
  left: 50%;
  width: 900px;
  height: 480px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(214, 163, 91, 0.1), transparent 58%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

/* Serif italic h2 — editorial authority */
.page-home .cta-box h2 {
  font-style: italic;
}

/* --- CTA Sidecard: warm paper inversion (dark → cream) --- */

.page-home .cta-sidecard {
  background:
    radial-gradient(ellipse 60% 50% at 20% 10%, rgba(196, 148, 74, 0.06), transparent 70%),
    linear-gradient(180deg, var(--vision-cream) 0%, var(--vision-warm-paper) 100%) !important;
  border: 1px solid rgba(15, 37, 54, 0.08) !important;
  color: var(--vision-ink) !important;
  box-shadow:
    0 32px 80px rgba(4, 17, 24, 0.22),
    0 8px 24px rgba(4, 17, 24, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.page-home .cta-sidecard-head {
  border-bottom-color: var(--vision-border-light) !important;
}

.page-home .cta-sidecard-label {
  color: var(--vision-ink-muted) !important;
  background: rgba(15, 37, 54, 0.05) !important;
  border-color: var(--vision-border-light) !important;
}

.page-home .cta-sidecard-head h3 {
  color: var(--vision-ink) !important;
  font-family: "Newsreader", Georgia, serif;
  font-weight: 600;
}

.page-home .cta-sidecard-head p {
  color: var(--vision-ink-soft) !important;
}

/* Sidecard step points: dark ink on cream */
.page-home .cta-sidecard-point {
  border-color: var(--vision-border-light) !important;
}

.page-home .cta-sidecard-index {
  background: linear-gradient(135deg, var(--home-gold), rgba(134, 202, 212, 0.7)) !important;
  color: white !important;
}

.page-home .cta-sidecard-point strong {
  color: var(--vision-ink) !important;
}

.page-home .cta-sidecard-point p {
  color: var(--vision-ink-soft) !important;
}

/* CTA buttons inside warm sidecard: primary stays gold, ghost gets ink border */
.page-home .cta-sidecard .btn-primary {
  background: linear-gradient(135deg, #b8884a, #c4944a) !important;
  color: white !important;
  border-color: transparent !important;
  box-shadow:
    0 8px 24px rgba(196, 148, 74, 0.28),
    0 2px 8px rgba(196, 148, 74, 0.14) !important;
}

.page-home .cta-sidecard .btn-primary:hover,
.page-home .cta-sidecard .btn-primary:focus-visible {
  box-shadow:
    0 12px 32px rgba(196, 148, 74, 0.36),
    0 4px 12px rgba(196, 148, 74, 0.18) !important;
  transform: translateY(-1px);
}

.page-home .cta-sidecard .btn-ghost {
  color: var(--vision-ink) !important;
  border-color: var(--vision-ink-faint) !important;
  background: transparent !important;
}

.page-home .cta-sidecard .btn-ghost:hover,
.page-home .cta-sidecard .btn-ghost:focus-visible {
  background: rgba(15, 37, 54, 0.04) !important;
  border-color: var(--vision-ink-soft) !important;
}

/* Sidecard footer ledger on cream */
.page-home .cta-sidecard-foot {
  border-top-color: var(--vision-border-light) !important;
}

.page-home .cta-sidecard-ledger span {
  color: var(--vision-ink-muted) !important;
  border-color: var(--vision-border-light) !important;
  background: rgba(15, 37, 54, 0.03) !important;
}

/* --- CTA Decision grid: enhanced visual presence --- */

.page-home .cta-decision {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.03) !important;
}

.page-home .cta-decision-title {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
}

/* --- CTA Route pills: warm accent treatment --- */

.page-home .cta-route-item {
  border-color: rgba(196, 148, 74, 0.18) !important;
  background: rgba(196, 148, 74, 0.06) !important;
}


/* ═══════════════════════════════════════════════════════════════
   10. FORM ELEVATION — FLOATING HALO EFFECT
   The Map Check form gets a subtle warm halo to draw attention
   to the conversion surface in the contact section.
   ═══════════════════════════════════════════════════════════════ */

.page-home #map-check .form {
  position: relative;
}

.page-home #map-check .contact-form-wrap::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 46px;
  background: radial-gradient(ellipse at 50% 30%, rgba(134, 202, 212, 0.08), transparent 70%);
  z-index: -1;
  pointer-events: none;
}


/* ═══════════════════════════════════════════════════════════════
   11. FAQ — ENHANCED INTERACTION HINTS
   Subtle left-border glow on hover indicating interactivity.
   ═══════════════════════════════════════════════════════════════ */

.page-home .faq-item {
  position: relative;
}

/* Warm accent on FAQ group index numbers */
.page-home .faq-group-index {
  background: linear-gradient(135deg, var(--home-gold), rgba(134, 202, 212, 0.6));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* ═══════════════════════════════════════════════════════════════
   12. GUARANTEE BOARD — CONTRACT AESTHETIC
   Enhanced "document" feel with clearer tier hierarchy.
   Success tier elevated, failure tier receding.
   ═══════════════════════════════════════════════════════════════ */

/* Success badge: warmer, more celebratory */
.page-home .badge-success {
  background: linear-gradient(135deg, rgba(196, 148, 74, 0.14), rgba(134, 202, 212, 0.1));
  border-color: rgba(196, 148, 74, 0.24);
  color: rgba(154, 108, 38, 0.92);
}


/* ═══════════════════════════════════════════════════════════════
   13. OFFER SECTION — DIAGNOSTIC CARDS ENHANCEMENT
   Stronger visual hierarchy in the offer fit/exclude/alternative
   cards through progressive visual weight.
   ═══════════════════════════════════════════════════════════════ */

/* Card 1 (Fit): subtle gold shimmer on hover */
@media (min-width: 981px) and (hover: hover) {
  .page-home #angebot .card:hover {
    box-shadow:
      0 32px 80px rgba(4, 18, 27, 0.26),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
  }
}


/* ═══════════════════════════════════════════════════════════════
   14. MICRO-DETAIL: EYEBROW ENTRY ANIMATION
   The hero eyebrow slides in from the left on page load,
   creating a cinematic sequence: eyebrow → h1 → lead → CTA.
   ═══════════════════════════════════════════════════════════════ */

.page-home .eyebrow {
  opacity: 0;
  transform: translateX(-12px);
  animation: vision-eyebrow-in 0.6s cubic-bezier(0.22, 0.68, 0.28, 1) 0.15s forwards;
}

@keyframes vision-eyebrow-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.page-home .hero-copy-block {
  opacity: 0;
  transform: translateY(18px);
  animation: vision-hero-block-in 0.7s cubic-bezier(0.22, 0.68, 0.28, 1) 0.35s forwards;
}

@keyframes vision-hero-block-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.page-home .hero-cta {
  opacity: 0;
  transform: translateY(14px);
  animation: vision-hero-cta-in 0.6s cubic-bezier(0.22, 0.68, 0.28, 1) 0.55s forwards;
}

@keyframes vision-hero-cta-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.page-home .hero-cta-note {
  opacity: 0;
  animation: vision-hero-note-in 0.5s cubic-bezier(0.22, 0.68, 0.28, 1) 0.7s forwards;
}

@keyframes vision-hero-note-in {
  to {
    opacity: 1;
  }
}


/* ═══════════════════════════════════════════════════════════════
   15. RESPONSIVE REFINEMENTS
   ═══════════════════════════════════════════════════════════════ */

/* --- Tablet (≤980px) --- */

@media (max-width: 980px) {
  .page-home .hero h1 {
    font-size: clamp(44px, 12vw, 68px);
  }

  .page-home #ablauf::before {
    height: 48px;
    top: -48px;
  }

  .page-home #messung::before {
    height: 40px;
    top: -40px;
  }

  /* Simplify hero entrance for mobile — flatten staggered delays */
  .page-home .eyebrow,
  .page-home .hero-copy-block,
  .page-home .hero-cta,
  .page-home .hero-cta-note {
    animation-delay: 0.1s;
  }

  /* Disable stagger delays on touch — instant-ish reveals */
  .page-home [data-vision-reveal][data-vision-delay] {
    transition-delay: 0ms !important;
  }

  /* CTA sidecard: warm paper treatment on single-column mobile */
  .page-home .cta-sidecard {
    border-radius: 28px !important;
  }

  .page-home .cta-sidecard .btn-primary {
    min-height: 52px;
    font-size: 15px;
  }

  /* Hero atmospheric glow: smaller on mobile */
  .page-home .hero::after {
    width: 360px;
    height: 360px;
    top: 8%;
    left: 20%;
  }

  /* CTA box h2: smooth scale-down for tablets */
  .page-home .cta-box h2 {
    font-size: clamp(32px, 5.4vw, 52px);
  }
}

/* --- Narrow tablet / large phone (≤720px) --- */

@media (max-width: 720px) {
  /* Hero h1: rein in from tablet clamp — prevents 44px min being too large */
  .page-home .hero h1 {
    font-size: clamp(38px, 11vw, 58px);
  }

  /* CTA h2: smooth bridge — prevents hard jump at 600px boundary */
  .page-home .cta-box h2 {
    font-size: clamp(28px, 7.5vw, 42px);
  }
}

/* --- Phone (≤600px) --- */

@media (max-width: 600px) {
  .page-home .section-head h2 {
    font-size: clamp(28px, 8.5vw, 38px);
  }

  .page-home #ablauf::before,
  .page-home #messung::before {
    height: 28px;
    top: -28px;
  }

  /* Tighter hero h1 on small phones */
  .page-home .hero h1 {
    font-size: clamp(36px, 10vw, 50px);
    line-height: 0.9;
  }

  /* CTA sidecard: tighter padding on small screens */
  .page-home .cta-sidecard {
    padding: 22px 18px !important;
    border-radius: 24px !important;
  }

  /* CTA editorial h2: readable on phone */
  .page-home .cta-box h2 {
    font-size: clamp(24px, 7vw, 32px);
  }

  /* Guarantee/measure lanes: remove 3D hover (unreachable on touch) */
  .page-home .guarantee-lane,
  .page-home .measure-lane {
    transition: none !important;
  }

  /* Ablauf process-mobile-principle: fix white-on-dark borders on cream bg */
  .page-home #ablauf .process-mobile-principle {
    background: rgba(15, 37, 54, 0.04) !important;
    border-color: var(--vision-border-light) !important;
  }

  .page-home #ablauf .process-mobile-principle span:last-child {
    color: var(--vision-ink-muted) !important;
  }

  .page-home #ablauf .process-mobile-principle-index {
    color: white !important;
  }

  /* Form halo: contain within viewport on small screens */
  .page-home #map-check .contact-form-wrap::before {
    inset: -10px;
    border-radius: 34px;
  }

  /* CTA final glow: prevent horizontal overflow on mobile */
  .page-home .cta-final::after {
    width: 100%;
    max-width: 500px;
  }

  /* Override home-redesign display:none — keep method grid visible on mobile */
  .page-home .method-grid {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .page-home .method-grid-lower {
    grid-template-columns: 1fr;
  }

  .page-home .method-feature-rail {
    grid-template-columns: 1fr;
  }

  .page-home .method-mini-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Tiny phone (≤420px) --- */

@media (max-width: 420px) {
  /* Override elevation's fixed 26px with serif-appropriate size */
  .page-home .section-head h2 {
    font-size: 27px !important;
    letter-spacing: -0.025em;
  }

  /* CTA h2: legible on tiny screens */
  .page-home .cta-box h2 {
    font-size: clamp(22px, 6.5vw, 28px);
  }

  /* Hero h1: prevent overflow on tiny screens */
  .page-home .hero h1 {
    font-size: clamp(32px, 9.5vw, 42px);
  }
}


/* ═══════════════════════════════════════════════════════════════
   16. REDUCED MOTION
   ═══════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .page-home .hero::after {
    animation: none;
    opacity: 0.4;
  }

  .page-home .hero-bg .glow {
    animation: none;
  }

  .page-home .cta-final::after {
    animation: none;
  }

  .page-home .hero-cta .btn-primary::after {
    animation: none;
    display: none;
  }

  .page-home [data-vision-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-home .eyebrow,
  .page-home .hero-copy-block,
  .page-home .hero-cta,
  .page-home .hero-cta-note {
    opacity: 1;
    transform: none;
    animation: none;
  }
}


/* ═══════════════════════════════════════════════════════════════
   17. PRINT
   ═══════════════════════════════════════════════════════════════ */

@media print {
  .page-home .hero::after,
  .page-home .cta-final::after,
  .page-home #ablauf::before,
  .page-home #messung::before,
  .page-home #map-check .contact-form-wrap::before {
    display: none !important;
  }

  .page-home .cta-sidecard {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   18. HOME SIGNAL OVERRIDE
   Poster hero, decision paths, conversion desk and a
   cartographic signature frame layered over the existing system.
   ═══════════════════════════════════════════════════════════════ */

body.page-home {
  --signal-ink: #071b26;
  --signal-paper: #fbf6ee;
  --signal-cream: #f7efe2;
  --signal-gold: #d3a05d;
  --signal-cyan: #89c9d3;
  --signal-line: rgba(211, 160, 93, 0.28);
  --signal-shadow-xl: 0 38px 110px rgba(3, 14, 21, 0.26);
  --signal-shadow-lg: 0 24px 70px rgba(7, 27, 38, 0.14);
  --signal-shadow-md: 0 16px 44px rgba(7, 27, 38, 0.08);
}

.page-home .hero-stage-panel,
.page-home .hero-bench-card,
.page-home .offer-diagnostic,
.page-home .offer-path,
.page-home .measure-atlas,
.page-home .measure-lane,
.page-home .guarantee-lane,
.page-home .guarantee-brief,
.page-home .guarantee-exclusion,
.page-home .method-card,
.page-home .contact-form-wrap,
.page-home .faq-group,
.page-home .faq-sidecard,
.page-home .cta-sidecard {
  position: relative;
  overflow: hidden;
}

.page-home .hero-stage-panel::before,
.page-home .hero-bench-card::before,
.page-home .offer-diagnostic::before,
.page-home .offer-path::before,
.page-home .measure-atlas::before,
.page-home .measure-lane::before,
.page-home .guarantee-lane::before,
.page-home .guarantee-brief::before,
.page-home .guarantee-exclusion::before,
.page-home .method-card::before,
.page-home .contact-form-wrap::before,
.page-home .faq-group::before,
.page-home .faq-sidecard::before,
.page-home .cta-sidecard::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid var(--signal-line);
  border-radius: 22px;
  clip-path: polygon(
    0 18px,
    18px 18px,
    18px 0,
    calc(100% - 18px) 0,
    calc(100% - 18px) 18px,
    100% 18px,
    100% calc(100% - 18px),
    calc(100% - 18px) calc(100% - 18px),
    calc(100% - 18px) 100%,
    18px 100%,
    18px calc(100% - 18px),
    0 calc(100% - 18px)
  );
  opacity: 0.85;
  pointer-events: none;
}

.page-home .offer-path-no::before,
.page-home .offer-path-alt::before,
.page-home .contact-form-wrap::before,
.page-home .faq-group::before,
.page-home .faq-sidecard::before {
  border-color: rgba(10, 38, 51, 0.12);
}

.page-home .hero {
  min-height: calc(100svh - 24px);
  padding: clamp(124px, 16vh, 176px) 0 clamp(52px, 9vw, 88px) !important;
  background:
    radial-gradient(880px 520px at 15% 18%, rgba(137, 201, 211, 0.08), transparent 62%),
    radial-gradient(760px 520px at 84% 14%, rgba(211, 160, 93, 0.11), transparent 58%),
    linear-gradient(180deg, #071822 0%, #09212f 48%, #0c2a38 100%) !important;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 92px 3vw auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(211, 160, 93, 0.34), transparent);
  pointer-events: none;
}

.page-home .hero-frame {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: end;
}

.page-home .hero-copy {
  max-width: 760px;
  display: grid;
  gap: 24px;
}

.page-home .hero-story {
  display: grid;
  gap: 24px;
}

.page-home .hero-manifesto {
  margin: 0;
  max-width: 28ch;
  font-size: 0.96rem;
  line-height: 1.75;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(244, 248, 249, 0.58);
}

.page-home .hero h1 {
  margin: 0;
  font-size: clamp(72px, 8.2vw, 126px) !important;
  line-height: 0.84 !important;
}

.page-home .hero-title-main {
  display: block;
  max-width: 100%;
}

.page-home .hero .lead {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.03rem, 1.35vw, 1.18rem);
  line-height: 1.78;
  color: rgba(232, 242, 244, 0.74);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  align-items: center;
}

.page-home .hero-cta .btn-primary {
  min-height: 56px;
  padding-inline: 26px;
}

.page-home .hero-cta-note {
  margin: -4px 0 0;
  max-width: 38rem;
  color: rgba(244, 248, 249, 0.62);
}

.page-home .hero-proofband {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.page-home .hero-proofitem {
  padding: 16px 18px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.page-home .hero-proof-k {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 248, 249, 0.46);
}

.page-home .hero-proofitem strong {
  color: #f4fbfc;
  font-size: 1.04rem;
  line-height: 1.45;
}

.page-home .hero-stage-panel {
  padding: clamp(26px, 3vw, 38px);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(10, 34, 46, 0.92), rgba(11, 40, 52, 0.88)) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: var(--signal-shadow-xl);
  transform: translateY(var(--vision-depth-shift, 0px));
  transition: transform 0.45s cubic-bezier(0.22, 0.68, 0.28, 1);
}

.page-home .hero-stage-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.page-home .hero-stage-kicker {
  color: rgba(244, 248, 249, 0.52) !important;
}

.page-home .hero-stage-title {
  margin: 8px 0 0;
  max-width: 22ch;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.48rem, 2vw, 2rem);
  line-height: 1.18;
  color: #fbf4ea;
}

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

/* --- Hero Roadmap: Sprint-Ablauf in 4 Schritten --- */

.page-home .hero-roadmap {
  display: grid;
  gap: 0;
  margin-top: 26px;
  position: relative;
}

/* Vertical connector line */
.page-home .hero-roadmap::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg,
    rgba(211, 160, 93, 0.5) 0%,
    rgba(137, 201, 211, 0.4) 60%,
    rgba(211, 160, 93, 0.6) 100%);
  border-radius: 2px;
}

.page-home .hero-roadmap-step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  position: relative;
}

.page-home .hero-roadmap-step + .hero-roadmap-step {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.page-home .hero-roadmap-index {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(244, 248, 249, 0.86);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}

.page-home .hero-roadmap-step-result .hero-roadmap-index {
  background: linear-gradient(135deg, rgba(211, 160, 93, 0.28), rgba(137, 201, 211, 0.2));
  border-color: rgba(211, 160, 93, 0.32);
  color: #f8f0e2;
}

.page-home .hero-roadmap-body {
  display: grid;
  gap: 4px;
  padding-top: 6px;
}

.page-home .hero-roadmap-body strong {
  color: #f4fbfc;
  font-size: 1rem;
  line-height: 1.34;
}

.page-home .hero-roadmap-body p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(244, 248, 249, 0.62);
}

/* --- Roadmap facts row --- */

.page-home .hero-roadmap-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .hero-roadmap-fact {
  padding: 12px 14px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .hero-roadmap-fact-k {
  display: block;
  margin-bottom: 5px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 248, 249, 0.46);
}

.page-home .hero-roadmap-fact strong {
  font-size: 0.92rem;
  line-height: 1.38;
  color: #f4fbfc;
}

.page-home .hero-stage-ledger {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.page-home .hero-stage-ledger-item {
  padding: 14px 16px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .hero-stage-ledger-k {
  display: block;
  margin-bottom: 7px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 248, 249, 0.5);
}

.page-home .hero-stage-ledger-item strong {
  color: #f8fbfb;
  line-height: 1.45;
}

.page-home .hero-bench {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.page-home .hero-bench-card {
  padding: 22px 22px 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(8, 32, 44, 0.88), rgba(10, 35, 47, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--signal-shadow-lg);
}

.page-home .hero-bench-card-intro {
  background:
    linear-gradient(180deg, rgba(248, 245, 237, 0.1), rgba(248, 245, 237, 0.04)),
    linear-gradient(180deg, rgba(8, 32, 44, 0.9), rgba(10, 35, 47, 0.78));
}

.page-home .hero-bench-k {
  display: block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 248, 249, 0.48);
}

.page-home .hero-bench-card strong,
.page-home .hero-bench-card p {
  margin: 0;
  color: #f7fbfc;
  line-height: 1.55;
}

.page-home #angebot {
  position: relative;
  background:
    radial-gradient(760px 420px at 12% 22%, rgba(211, 160, 93, 0.08), transparent 64%),
    linear-gradient(180deg, var(--signal-paper) 0%, var(--signal-cream) 100%) !important;
  color: #102b39 !important;
}

.page-home #angebot .offer-editorial-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(26px, 4vw, 48px);
  align-items: end;
}

.page-home #angebot .section-head h2 {
  color: #102b39 !important;
  max-width: 12ch;
}

.page-home #angebot .section-head > p:last-of-type,
.page-home #angebot .offer-context-copy p {
  color: rgba(16, 43, 57, 0.72) !important;
}

.page-home .offer-context {
  padding: 24px 24px 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.54));
  border: 1px solid rgba(16, 43, 57, 0.08);
  box-shadow: var(--signal-shadow-md);
}

.page-home .offer-stage {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

.page-home .offer-diagnostic {
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(10, 34, 46, 0.96), rgba(11, 40, 52, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f4fbfc;
  box-shadow: var(--signal-shadow-lg);
  transform: translateY(var(--vision-depth-shift, 0px));
  transition: transform 0.45s cubic-bezier(0.22, 0.68, 0.28, 1);
}

.page-home .offer-diagnostic-k {
  color: rgba(244, 248, 249, 0.56) !important;
}

.page-home .offer-diagnostic h3 {
  margin: 12px 0 12px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 2rem;
  line-height: 1.06;
}

.page-home .offer-diagnostic-copy {
  color: rgba(244, 248, 249, 0.72) !important;
}

.page-home .offer-diagnostic-step {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .offer-diagnostic-step-k {
  color: rgba(244, 248, 249, 0.48) !important;
}

.page-home .offer-diagnostic-action {
  margin-top: 18px;
  width: 100%;
  justify-content: center;
}

.page-home .offer-paths {
  display: grid;
  gap: 16px;
}

.page-home .offer-path {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 22px;
  align-items: start;
  padding: 28px 30px;
  border-radius: 30px;
  border: 1px solid rgba(16, 43, 57, 0.08);
  box-shadow: var(--signal-shadow-md);
}

.page-home .offer-path-fit {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.68));
}

.page-home .offer-path-no {
  background: linear-gradient(180deg, rgba(247, 237, 221, 0.94), rgba(246, 232, 208, 0.82));
}

.page-home .offer-path-alt {
  background: linear-gradient(180deg, rgba(10, 34, 46, 0.96), rgba(11, 40, 52, 0.94));
  border-color: rgba(255, 255, 255, 0.08);
  color: #f4fbfc;
}

.page-home .offer-path-marker {
  grid-row: 1 / -1;
  display: grid;
  gap: 8px;
  align-content: start;
}

.page-home .offer-path-index {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--signal-gold), rgba(137, 201, 211, 0.72));
  color: white;
  font-size: 0.82rem;
  font-weight: 800;
}

.page-home .offer-path-k {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(16, 43, 57, 0.5);
}

.page-home .offer-path-alt .offer-path-k,
.page-home .offer-path-alt .offer-inline-link,
.page-home .offer-path-alt .offer-path-foot span {
  color: rgba(244, 248, 249, 0.72);
}

.page-home .offer-path-main h3 {
  margin: 0 0 6px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.18rem, 1.6vw, 1.42rem);
  line-height: 1.24;
  letter-spacing: -0.01em;
}

.page-home .offer-path-main p,
.page-home .offer-path .bullets {
  margin: 0;
  color: rgba(16, 43, 57, 0.74);
}

.page-home .offer-path-main p {
  font-size: 0.92rem;
  line-height: 1.58;
}

.page-home .offer-path-alt .offer-path-main p,
.page-home .offer-path-alt .bullets,
.page-home .offer-path-alt strong {
  color: #f7fbfc;
}

.page-home .offer-path .bullets {
  grid-column: 2;
  display: grid;
  gap: 8px;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  line-height: 1.52;
}

.page-home .offer-path-foot {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px 18px;
  padding-top: 16px;
  margin-top: 6px;
  border-top: 1px solid rgba(16, 43, 57, 0.1);
}

.page-home .offer-path-alt .offer-path-foot {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.page-home .offer-inline-link {
  font-weight: 800;
  color: #102b39;
  text-decoration: none;
}

.page-home .offer-inline-link:hover,
.page-home .offer-inline-link:focus-visible {
  text-decoration: underline;
}

.page-home .offer-mobile-flow,
.page-home .mapcheck-head-mobile,
.page-home .mapcheck-mobile-intel {
  display: none !important;
}

.page-home #map-check {
  position: relative;
  background:
    radial-gradient(860px 420px at 90% 8%, rgba(137, 201, 211, 0.09), transparent 58%),
    radial-gradient(660px 360px at 12% 88%, rgba(211, 160, 93, 0.1), transparent 58%),
    linear-gradient(180deg, #f4ead8 0%, #fbf7ef 100%) !important;
  color: #102b39 !important;
}

.page-home #map-check::before {
  content: "";
  position: absolute;
  top: -52px;
  left: 0;
  right: 0;
  height: 52px;
  background: linear-gradient(180deg, transparent, #f4ead8);
  pointer-events: none;
}

.page-home .mapcheck-shell {
  display: grid;
  gap: clamp(24px, 4vw, 38px);
}

.page-home .mapcheck-editorial-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(24px, 4vw, 42px);
  align-items: end;
}

.page-home .mapcheck-editorial-copy h2 {
  margin: 10px 0 0;
  max-width: 12ch;
  color: #102b39 !important;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.3rem, 4vw, 4.3rem);
  line-height: 0.94;
}

.page-home .mapcheck-editorial-intro {
  color: rgba(16, 43, 57, 0.74) !important;
}

.page-home .mapcheck-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.page-home .mapcheck-direct-link,
.page-home .mapcheck-direct-note {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(16, 43, 57, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: #102b39;
  text-decoration: none;
  font-weight: 700;
}

.page-home .mapcheck-direct-note {
  color: rgba(16, 43, 57, 0.66);
}

.page-home .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
}

.page-home .method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  border-radius: 0;
  border: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}

.page-home .method-grid::before {
  display: none;
}

.page-home .method-card {
  padding: 24px;
  border-radius: 30px;
  border: 1px solid rgba(16, 43, 57, 0.08);
  box-shadow: var(--signal-shadow-md);
  overflow: hidden;
}

.page-home .method-card-wide {
  grid-column: auto;
  grid-row: auto;
  border-bottom: 0;
}

.page-home .method-card h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
  max-width: none;
}

.page-home .method-card-feature,
.page-home .method-card-compact {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.68));
}

.page-home .method-card-feature {
  padding-right: 24px;
}

.page-home .method-card-compact {
  border-right: 1px solid rgba(16, 43, 57, 0.08);
}

.page-home .method-card-dark {
  background: linear-gradient(180deg, rgba(10, 34, 46, 0.96), rgba(11, 40, 52, 0.94));
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 30px;
}

.page-home .method-card-dark h3 {
  max-width: none;
}

.page-home .method-card-dark h3,
.page-home .method-card-dark .bullets,
.page-home .method-card-dark .card-label {
  color: #f7fbfc !important;
}

.page-home .method-grid-lower {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.page-home .mapcheck-journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.page-home .mapcheck-journey-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(16, 43, 57, 0.08);
  min-width: 0;
}

.page-home .mapcheck-journey-item strong {
  font-size: 0.88rem;
  line-height: 1.42;
}

.page-home .mapcheck-journey-index {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--signal-gold), rgba(137, 201, 211, 0.72));
  color: white;
  font-weight: 800;
  flex: 0 0 auto;
}

.page-home .mapcheck-journey-k {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(16, 43, 57, 0.5);
}

.page-home .contact-form-wrap {
  padding: 18px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(10, 34, 46, 0.98), rgba(11, 40, 52, 0.96)) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: var(--signal-shadow-xl);
  transform: translateY(var(--vision-depth-shift, 0px));
  transition: transform 0.45s cubic-bezier(0.22, 0.68, 0.28, 1);
}

.page-home .contact-form-wrap .form {
  padding: 26px !important;
  border-radius: 28px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.page-home .contact-form-wrap .form-title,
.page-home .contact-form-wrap label,
.page-home .contact-form-wrap .form-note,
.page-home .contact-form-wrap .form-details-title,
.page-home .contact-form-wrap .form-details-meta {
  color: #f7fbfc !important;
}

.page-home .contact-form-wrap .form-intro,
.page-home .contact-form-wrap .form-note,
.page-home .contact-form-wrap .form-details-note {
  color: rgba(244, 248, 249, 0.68) !important;
}

.page-home .contact-form-wrap input,
.page-home .contact-form-wrap textarea {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f7fbfc !important;
}

.page-home .contact-form-wrap input::placeholder,
.page-home .contact-form-wrap textarea::placeholder {
  color: rgba(244, 248, 249, 0.44) !important;
}

.page-home .contact-form-wrap .form-meta-pill {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #f7fbfc !important;
}

.page-home .contact-form-wrap .form-core-fields {
  padding: 14px 14px 6px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05)),
    radial-gradient(circle at 100% 0%, rgba(137, 201, 211, 0.14), transparent 34%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-home .contact-form-wrap .field {
  padding: 12px 14px 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-home .contact-form-wrap .field:focus-within {
  border-color: rgba(137, 201, 211, 0.48);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 4px rgba(137, 201, 211, 0.12),
    0 18px 34px rgba(4, 18, 27, 0.16);
}

.page-home .contact-form-wrap .field:has(input[aria-invalid="true"]),
.page-home .contact-form-wrap .field:has(textarea[aria-invalid="true"]) {
  border-color: rgba(255, 178, 168, 0.3);
  background: linear-gradient(180deg, rgba(153, 71, 65, 0.22), rgba(153, 71, 65, 0.12));
}

.page-home .contact-form-wrap .field label,
.page-home .contact-form-wrap .form-core-fields label {
  color: rgba(244, 248, 249, 0.72) !important;
}

.page-home .contact-form-wrap .required {
  color: var(--signal-gold);
}

.page-home .contact-form-wrap .form-details {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 100% 0%, rgba(211, 160, 93, 0.14), transparent 32%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-home .contact-form-wrap .form-details[open] summary {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.page-home .contact-form-wrap .form-status {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 251, 252, 0.84);
}

.page-home .contact-form-wrap .form-status[data-tone="error"] {
  border-color: rgba(255, 178, 168, 0.28);
  background: rgba(153, 71, 65, 0.18);
  color: #ffe6df;
}

.page-home .contact-form-wrap .field-error {
  color: #ffd2c8;
}

.page-home .contact-form-wrap .form-note {
  gap: 8px;
  padding-top: 14px;
  border-top-color: rgba(255, 255, 255, 0.12);
  color: rgba(244, 248, 249, 0.78) !important;
}

.page-home .contact-form-wrap .form-note-strong {
  color: #f7fbfc !important;
}

.page-home .contact-form-wrap .form-note-links,
.page-home .contact-form-wrap .form-note a {
  color: rgba(244, 248, 249, 0.84) !important;
}

.page-home .contact-form-wrap .form-note a {
  text-decoration-color: rgba(244, 248, 249, 0.24);
  text-underline-offset: 0.18em;
}

.page-home .contact-form-wrap .btn-block {
  min-height: 58px;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.page-home .cookie-banner {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(180deg, rgba(7, 28, 39, 0.96), rgba(10, 36, 49, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(137, 201, 211, 0.18), transparent 34%) !important;
  box-shadow: var(--signal-shadow-xl) !important;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.page-home .cookie-banner::before {
  height: 2px;
  background: linear-gradient(90deg, rgba(211, 160, 93, 0.9), rgba(137, 201, 211, 0.84));
}

.page-home .cookie-content {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px 18px 18px;
}

.page-home .cookie-text strong {
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(245, 237, 226, 0.66);
}

.page-home .cookie-text p {
  font-size: 13px;
  line-height: 1.52;
  color: rgba(245, 237, 226, 0.84);
}

.page-home .cookie-link {
  color: #f7fbfc;
  text-decoration-color: rgba(247, 251, 252, 0.28);
}

.page-home .cookie-actions {
  gap: 10px;
}

.page-home .cookie-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 237, 226, 0.8);
}

.page-home .cookie-actions .btn {
  min-height: 40px;
  padding: 0 16px;
  box-shadow: none;
}

.page-home #faq {
  background:
    radial-gradient(760px 420px at 82% 18%, rgba(211, 160, 93, 0.07), transparent 58%),
    linear-gradient(180deg, #fcf7ef 0%, #f7efe1 100%) !important;
  color: #102b39 !important;
}

.page-home #faq .container {
  grid-template-columns: 1fr;
}

.page-home .faq-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  align-items: start;
  position: static;
  overflow: visible;
}

.page-home .faq-sidecard {
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(16, 43, 57, 0.08);
  box-shadow: var(--signal-shadow-md);
}

.page-home .faq-shell {
  margin-top: 26px;
}

.page-home .faq-shell-head {
  margin-bottom: 18px;
  color: rgba(16, 43, 57, 0.52);
}

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

.page-home .faq-group {
  padding: 26px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(16, 43, 57, 0.08);
  box-shadow: var(--signal-shadow-md);
  grid-template-columns: 1fr;
  overflow: visible;
}

.page-home .faq-group-head {
  min-height: auto;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.page-home .faq-group-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding-left: 0;
  border-left: 0;
  margin-top: 14px;
}

/* Readability corrections: resolve low-contrast collisions from older layers */
.page-home #angebot .section-kicker {
  color: rgba(16, 43, 57, 0.56) !important;
}

.page-home #angebot .offer-qualifiers {
  gap: 12px;
  margin-top: 28px;
  padding-top: 0;
  border-top: 0;
}

.page-home #angebot .offer-qualifier {
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(16, 43, 57, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.72));
  box-shadow: var(--signal-shadow-md);
}

.page-home #angebot .offer-qualifier + .offer-qualifier {
  border-left: 0;
}

.page-home #angebot .offer-qualifier-k,
.page-home #angebot .offer-context-label {
  color: rgba(16, 43, 57, 0.56) !important;
}

.page-home #angebot .offer-qualifier strong,
.page-home #angebot .offer-context-link-primary {
  color: #102b39 !important;
}

.page-home #angebot .offer-context {
  max-width: none;
  justify-self: stretch;
  gap: 14px;
  border-left: 0 !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72));
}

.page-home #angebot .offer-context-copy p {
  color: rgba(16, 43, 57, 0.8) !important;
}

.page-home #angebot .offer-context-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.page-home #angebot .offer-context-link-primary {
  border-color: rgba(16, 43, 57, 0.12) !important;
  background: rgba(247, 239, 226, 0.78) !important;
}

.page-home #angebot .offer-context-link-secondary {
  color: rgba(16, 43, 57, 0.76) !important;
}

.page-home #angebot .offer-context-link:hover,
.page-home #angebot .offer-context-link:focus-visible {
  color: #102b39 !important;
  background: rgba(255, 255, 255, 0.68) !important;
}

.page-home .offer-stage {
  grid-template-columns: 1fr;
}

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

.page-home #messung .measure-ledger {
  overflow: hidden;
  border: 1px solid rgba(16, 43, 57, 0.1);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(252, 248, 241, 0.9), rgba(245, 236, 221, 0.78)) !important;
  box-shadow: var(--signal-shadow-md);
}

.page-home #messung .measure-ledger-head,
.page-home #messung .measure-legend {
  border-top-color: rgba(16, 43, 57, 0.08) !important;
}

.page-home #messung .measure-ledger-head {
  border-right-color: rgba(16, 43, 57, 0.08) !important;
}

.page-home #messung .measure-ledger-k {
  background: rgba(16, 43, 57, 0.06) !important;
  color: rgba(16, 43, 57, 0.58) !important;
}

.page-home #messung .measure-ledger-head p,
.page-home #messung .measure-legend-item {
  color: rgba(16, 43, 57, 0.82) !important;
}

.page-home #messung .measure-legend-item + .measure-legend-item {
  border-top-color: rgba(16, 43, 57, 0.08) !important;
}

.page-home #messung .measure-legend-dot {
  box-shadow: 0 0 0 5px rgba(137, 201, 211, 0.14) !important;
}

.page-home #messung .measure-mobile-step-muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(211, 160, 93, 0.12)) !important;
}

.page-home #messung .measure-mobile-step-muted .measure-mobile-label {
  color: rgba(255, 247, 236, 0.68) !important;
}

.page-home #messung .measure-mobile-step-muted h3 {
  color: #fffaf4 !important;
}

.page-home #messung .measure-mobile-step-muted .measure-mobile-body > p:last-child {
  color: rgba(255, 247, 236, 0.84) !important;
}

.page-home #messung .measure-mobile-foot {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)) !important;
}

.page-home #messung .measure-mobile-foot-item {
  color: rgba(255, 247, 236, 0.86) !important;
}

.page-home #garantie .guarantee-editorial-intro,
.page-home #garantie .guarantee-board-copy,
.page-home #garantie .guarantee-lane:not(.guarantee-lane-full) .guarantee-lane-copy,
.page-home #garantie .guarantee-brief > p:last-of-type {
  color: rgba(16, 43, 57, 0.78) !important;
}

.page-home #garantie .guarantee-editorial-pill,
.page-home #garantie .guarantee-lane:not(.guarantee-lane-full) .guarantee-lane-k,
.page-home #garantie .guarantee-board-k {
  color: rgba(16, 43, 57, 0.58) !important;
}

/* Guarantee-lane-full hover: preserve dark bg and light text */
.page-home .guarantee-lane-full:hover {
  background: linear-gradient(180deg, rgba(10, 34, 46, 0.98), rgba(14, 46, 60, 0.96)) !important;
}

.page-home .guarantee-lane-full:hover h3,
.page-home .guarantee-lane-full:hover .guarantee-lane-copy,
.page-home .guarantee-lane-full:hover .guarantee-lane-k {
  color: #f7fbfc !important;
}

.page-home #faq .section-head > p:last-of-type,
.page-home #faq .faq-body {
  color: rgba(16, 43, 57, 0.8) !important;
}

.page-home #faq .faq-sidecard-k,
.page-home #faq .faq-shell-head,
.page-home #faq .faq-group-k,
.page-home #faq .faq-sidecard-point-k {
  color: rgba(16, 43, 57, 0.58) !important;
}

.page-home #faq .faq-sidecard-title,
.page-home #faq .faq-group h3,
.page-home #faq .faq-question,
.page-home #faq .faq-sidecard-point-v {
  color: #102b39 !important;
}

.page-home #faq .faq-item::after {
  border-color: rgba(16, 43, 57, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.48)),
    radial-gradient(circle at 100% 0%, rgba(137, 201, 211, 0.12), transparent 48%);
}

.page-home #faq .faq-icon {
  background: rgba(255, 255, 255, 0.82) !important;
  border-color: rgba(16, 43, 57, 0.1) !important;
}

.page-home #faq .faq-icon::before,
.page-home #faq .faq-icon::after {
  background: rgba(16, 43, 57, 0.72) !important;
}

.page-home #faq .faq-item:hover .faq-question,
.page-home #faq .faq-item[open] .faq-question {
  color: #0d5d71 !important;
}

.page-home #faq .faq-sidecard-action {
  border-color: rgba(16, 43, 57, 0.12) !important;
  background: rgba(255, 255, 255, 0.6) !important;
  color: #102b39 !important;
}

.page-home .footer-topline-label {
  color: rgba(245, 237, 226, 0.68) !important;
}

.page-home .footer-topline-copy {
  color: rgba(247, 251, 252, 0.86) !important;
}

.page-home .footer-brand {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(137, 201, 211, 0.05)),
    rgba(6, 24, 34, 0.54) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 50px rgba(0, 0, 0, 0.18) !important;
}

.page-home .footer-brand-mark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(137, 201, 211, 0.08)) !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 32px rgba(4, 16, 23, 0.18);
}

.page-home .footer-brand-label,
.page-home .footer-fact-k,
.page-home .footer-utility-k,
.page-home .footer-heading,
.page-home .footer-mobile-section-k,
.page-home .footer-mobile-section-meta {
  color: rgba(245, 237, 226, 0.68) !important;
}

.page-home .footer-brand-title,
.page-home .footer-fact-v,
.page-home .footer-link,
.page-home .footer-mobile-section-title {
  color: #f7fbfc !important;
}

.page-home .footer-brand img {
  filter: brightness(1.14) contrast(1.04) drop-shadow(0 12px 20px rgba(0, 0, 0, 0.22));
}

.page-home .footer-context,
.page-home .footer-utility-copy {
  color: rgba(247, 251, 252, 0.84) !important;
}

.page-home .footer-utility {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(137, 201, 211, 0.035)),
    rgba(7, 25, 36, 0.72) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.page-home .footer-address {
  color: rgba(247, 251, 252, 0.74) !important;
}

.page-home .footer-contact-note {
  color: rgba(245, 237, 226, 0.8) !important;
}

.page-home .footer-mobile-section {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.page-home .footer-mobile-section summary::after {
  border-right-color: rgba(255, 246, 236, 0.72);
  border-bottom-color: rgba(255, 246, 236, 0.72);
}

.page-home .footer-mobile-section-body,
.page-home .footer-mobile-section-body .footer-link + .footer-link {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

.page-home .footer-bottom-copy {
  color: rgba(247, 251, 252, 0.58) !important;
}

.page-home .footer-bottom-note {
  color: rgba(211, 160, 93, 0.88) !important;
}

.page-home .cta-final {
  padding: clamp(70px, 10vw, 110px) 0 !important;
  background:
    radial-gradient(720px 420px at 22% 18%, rgba(137, 201, 211, 0.08), transparent 60%),
    radial-gradient(820px 500px at 86% 76%, rgba(211, 160, 93, 0.12), transparent 62%),
    linear-gradient(180deg, #061822 0%, #0a2431 100%) !important;
}

.page-home .cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: clamp(24px, 4vw, 44px);
  align-items: end;
}

.page-home .cta-box {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.page-home .cta-editorial-head h2 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.92;
}

.page-home .cta-editorial-head p {
  max-width: 40rem;
}

.page-home .cta-route {
  margin-top: 26px;
}

.page-home .cta-decision {
  margin-top: 30px;
}

.page-home .cta-sidecard {
  border-radius: 32px !important;
  transform: translateY(var(--vision-depth-shift, 0px));
  transition: transform 0.45s cubic-bezier(0.22, 0.68, 0.28, 1);
}

@media (min-width: 981px) {
  .page-home .offer-diagnostic,
  .page-home .measure-atlas,
  .page-home .contact-form-wrap,
  .page-home .faq-sidecard,
  .page-home .cta-sidecard {
    position: sticky;
    top: 108px;
  }

  .page-home .measure-head-mobile,
  .page-home .guarantee-head-mobile {
    display: none !important;
  }

  .page-home .measure-system {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .page-home .measure-editorial-head {
    grid-column: 1;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 28px;
    align-items: end;
  }

  .page-home .measure-atlas {
    display: none !important;
  }

  .page-home .measure-overview {
    display: none !important;
  }

  .page-home .measure-board {
    grid-column: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .page-home .measure-ledger {
    grid-column: 1;
  }

  .page-home .measure-lane {
    min-height: auto;
    padding: 24px;
    border-radius: 28px;
    box-shadow: var(--signal-shadow-md);
    grid-column: auto;
    border-right: 0;
    border-bottom: 0;
  }

  .page-home .measure-lane h3 {
    font-size: clamp(1.05rem, 1.4vw, 1.26rem);
    line-height: 1.26;
  }

  .page-home .measure-lane-copy {
    font-size: 0.88rem;
    line-height: 1.58;
  }

  .page-home .measure-points {
    font-size: 0.86rem;
    line-height: 1.52;
  }

  .page-home .measure-lane-highlight,
  .page-home .measure-lane,
  .page-home .measure-lane-muted {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.7));
    border: 1px solid rgba(16, 43, 57, 0.08);
  }

  .page-home .measure-lane-dark {
    background: linear-gradient(180deg, rgba(10, 34, 46, 0.96), rgba(11, 40, 52, 0.94));
    border-color: rgba(255, 255, 255, 0.08);
  }

  .page-home .measure-lane-dark h3,
  .page-home .measure-lane-dark .measure-points,
  .page-home .measure-lane-dark .measure-lane-copy,
  .page-home .measure-lane-dark .measure-lane-k {
    color: #f7fbfc !important;
  }

  /* Non-dark measure-lanes: dark text on light cards */
  .page-home .measure-lane:not(.measure-lane-dark) h3 {
    color: #102b39 !important;
  }

  .page-home .measure-lane:not(.measure-lane-dark) .measure-lane-k {
    color: rgba(16, 43, 57, 0.56) !important;
  }

  .page-home .measure-lane:not(.measure-lane-dark) .measure-lane-copy,
  .page-home .measure-lane:not(.measure-lane-dark) .measure-points {
    color: rgba(16, 43, 57, 0.76) !important;
  }

  .page-home .measure-lane:not(.measure-lane-dark) .measure-lane-index {
    background: rgba(211, 160, 93, 0.16) !important;
    color: rgba(16, 43, 57, 0.82) !important;
  }

  .page-home .guarantee-mobile-sheet {
    display: none !important;
  }

  .page-home .guarantee-editorial-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 28px;
    align-items: end;
  }

  .page-home .guarantee-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    overflow: visible;
    border: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
  }

  .page-home .guarantee-lane + .guarantee-lane {
    border-top: 0;
  }

  .page-home .guarantee-board-head {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px 20px;
    padding: 20px 24px;
    border-bottom: 0;
    background: none;
  }

  .page-home .guarantee-board-copy {
    font-size: 0.88rem;
    margin: 0;
  }

  /* Override home-redesign's 3-col row layout — cards are now vertical */
  .page-home .guarantee-lane {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    gap: 12px;
    min-height: auto;
    padding: 24px;
    border-radius: 28px;
    box-shadow: var(--signal-shadow-md);
    border-left: 0 !important;
    border-image: none !important;
  }

  .page-home .guarantee-lane h3 {
    font-size: clamp(1.1rem, 1.5vw, 1.32rem);
    line-height: 1.22;
    letter-spacing: -0.02em;
    max-width: none;
  }

  .page-home .guarantee-lane-k {
    font-size: 0.62rem;
  }

  .page-home .guarantee-lane-copy {
    font-size: 0.88rem;
    line-height: 1.56;
    max-width: none;
  }

  .page-home .guarantee-lane-rule {
    justify-self: start;
  }

  /* Reset home-transform scale hierarchy — equal cards now */
  .page-home .guarantee-lane-success {
    transform: none !important;
  }

  .page-home .guarantee-lane-full {
    transform: none !important;
    opacity: 1 !important;
  }

  .page-home .guarantee-lane-success,
  .page-home .guarantee-lane-partial {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.7));
    border: 1px solid rgba(16, 43, 57, 0.08);
  }

  .page-home .guarantee-lane-full {
    background: linear-gradient(180deg, rgba(10, 34, 46, 0.96), rgba(11, 40, 52, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .page-home .guarantee-lane-full h3,
  .page-home .guarantee-lane-full .guarantee-lane-copy,
  .page-home .guarantee-lane-full .guarantee-lane-k {
    color: #f7fbfc !important;
  }

  .page-home .guarantee-meta {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
  }

  .page-home .guarantee-brief,
  .page-home .guarantee-exclusion {
    padding: 24px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.7));
    border: 1px solid rgba(16, 43, 57, 0.08);
    box-shadow: var(--signal-shadow-md);
  }

  .page-home .guarantee-brief h3,
  .page-home .guarantee-exclusion h3 {
    font-size: clamp(1.1rem, 1.5vw, 1.32rem);
    line-height: 1.22;
    max-width: none;
  }

  /* Guarantee-exclusion: dark text on now-light card */
  .page-home .guarantee-exclusion h3 {
    color: #102b39 !important;
  }

  .page-home .guarantee-exclusion .bullets {
    color: rgba(16, 43, 57, 0.8) !important;
  }

  .page-home .guarantee-exclusion .card-label {
    color: rgba(16, 43, 57, 0.48) !important;
  }
}

@media (max-width: 1180px) {
  .page-home .hero-frame,
  .page-home .offer-stage,
  .page-home .contact-grid,
  .page-home .cta-shell {
    grid-template-columns: 1fr;
  }

  .page-home .hero-stage-panel,
  .page-home .contact-form-wrap,
  .page-home .cta-sidecard {
    max-width: none;
  }

  .page-home .hero-bench {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .offer-diagnostic {
    position: relative;
    top: auto;
  }
}

@media (max-width: 980px) {
  .page-home .hero {
    min-height: auto;
    padding-top: 128px !important;
  }

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

  .page-home .hero h1 {
    font-size: clamp(48px, 13vw, 70px) !important;
    line-height: 0.9 !important;
  }

  .page-home .hero-title-main {
    max-width: 100%;
  }

  .page-home .hero-proofband,
  .page-home .hero-stage-ledger,
  .page-home .hero-roadmap-facts,
  .page-home .mapcheck-journey,
  .page-home .faq-groups {
    grid-template-columns: 1fr;
  }

  /* Override home-redesign display:contents — keep grid wrapper */
  .page-home .method-grid-lower {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .hero-stage-panel,
  .page-home .contact-form-wrap,
  .page-home .cta-sidecard {
    position: relative;
    top: auto;
    transform: none !important;
  }

  /* Override home-upgrade display:none — show cards on mobile */
  .page-home #angebot .offer-stage {
    display: grid !important;
  }

  .page-home .offer-path {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .page-home .offer-path-marker {
    grid-row: auto;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .page-home .offer-path .bullets,
  .page-home .offer-path-foot {
    grid-column: auto;
  }

  .page-home .offer-path-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-home .contact-form-wrap .form-title {
    max-width: 9ch;
    font-size: clamp(2rem, 5vw, 2.7rem);
    line-height: 0.98;
  }

  .page-home .contact-form-wrap .form-note-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px 10px;
  }

  .page-home .cookie-content {
    grid-template-columns: 1fr;
    padding: 14px 15px 16px;
  }

  .page-home .cookie-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .page-home .cookie-dismiss,
  .page-home .cookie-actions .btn {
    width: 100%;
  }

  .page-home .method-grid-lower,
  .page-home .faq-groups {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-home .hero h1 {
    font-size: clamp(42px, 12.5vw, 56px) !important;
  }

  .page-home .hero-title-main {
    max-width: 100%;
  }

  .page-home .hero .lead {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .page-home .hero-proofband,
  .page-home .hero-bench {
    grid-template-columns: 1fr;
  }

  /* Hero roadmap: compact for narrow viewports */
  .page-home .hero-roadmap-step {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
  }

  .page-home .hero-roadmap-index {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.76rem;
  }

  .page-home .hero-roadmap::before {
    left: 16px;
  }

  .page-home .hero-roadmap-facts {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .page-home #angebot .offer-qualifiers {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .page-home #angebot .offer-qualifier {
    padding: 14px 16px;
  }

  .page-home #angebot .offer-context {
    padding: 20px;
    border-radius: 24px;
  }

  .page-home .hero-stage-panel,
  .page-home .offer-diagnostic,
  .page-home .offer-path,
  .page-home .method-card,
  .page-home .contact-form-wrap,
  .page-home .faq-group,
  .page-home .faq-sidecard,
  .page-home .cta-sidecard {
    border-radius: 26px;
  }

  .page-home .hero-stage-panel::before,
  .page-home .hero-bench-card::before,
  .page-home .offer-diagnostic::before,
  .page-home .offer-path::before,
  .page-home .method-card::before,
  .page-home .contact-form-wrap::before,
  .page-home .faq-group::before,
  .page-home .faq-sidecard::before,
  .page-home .cta-sidecard::before {
    inset: 10px;
  }

  .page-home .contact-form-wrap .form {
    padding: 18px !important;
  }

  .page-home .contact-form-wrap .form-title {
    max-width: 8.6ch;
    font-size: clamp(1.9rem, 11vw, 2.35rem);
  }

  .page-home .contact-form-wrap .form-core-fields {
    padding: 12px 12px 4px;
    border-radius: 22px;
  }

  .page-home .contact-form-wrap .field {
    padding: 11px 12px 10px;
    border-radius: 16px;
  }

  .page-home .contact-form-wrap .btn-block {
    min-height: 56px;
    font-size: 0.94rem;
  }

  .page-home .contact-form-wrap .form-note {
    gap: 7px;
    font-size: 0.94rem;
  }

  .page-home #messung .measure-ledger {
    border-radius: 24px;
  }

  .page-home .footer-brand,
  .page-home .footer-mobile-section {
    border-radius: 24px;
  }

  .page-home .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    border-radius: 24px !important;
  }

  .page-home .cookie-text p {
    font-size: 12px;
    line-height: 1.5;
  }

  .page-home .cookie-actions {
    grid-template-columns: 1fr;
  }
}
