/* =======================================================
   layout.css — nav, hero, footer, section frames
   ======================================================= */

/* ---------- NAV ---------- */
/* Default state (top of page): full-width, transparent, logo visible */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem clamp(1.25rem, 4vw, 2.25rem);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0;
  transform: translateX(0);
  transition: top var(--dur) var(--ease-out),
              left var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out),
              padding var(--dur) var(--ease-out),
              gap var(--dur) var(--ease-out),
              background var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              border-radius var(--dur) var(--ease-out),
              backdrop-filter var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}

.site-nav .site-nav__brand {
  opacity: 1;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.site-nav .site-nav__brand-mark {
  display: block;
  height: 34px;
  aspect-ratio: 220 / 87;
  background-color: var(--accent);
  -webkit-mask: url("../assets/logo/brand-logo.png") no-repeat center / contain;
          mask: url("../assets/logo/brand-logo.png") no-repeat center / contain;
  transition: height var(--dur) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out);
}

.site-footer__brand-block .site-nav__brand img {
  display: block;
  height: auto;
  max-width: 100%;
  width: auto;
}

/* Stage 1: condensed — full-width frosted bar with hairline + Admiral edge */
.site-nav.is-condensed {
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow:
    inset 0 -1px 0 0 rgba(92, 138, 201, 0.18),
    0 6px 18px -10px rgba(0, 0, 0, 0.55);
  padding-block: 0.5rem;
}

.site-nav.is-condensed .site-nav__brand-mark {
  height: 28px;
}

/* Stage 2: scrolled past hero — centered floating pill, logo hidden */
.site-nav.is-scrolled {
  top: 0.75rem;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  padding: 0.4rem 0.6rem 0.4rem 1.25rem;
  gap: clamp(1rem, 2.5vw, 2rem);
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid rgba(92, 138, 201, 0.22);
  border-radius: 9999px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 12px 40px -12px rgba(0, 0, 0, 0.6),
    0 0 28px -8px rgba(74, 143, 230, 0.4);
  width: max-content;
  max-width: calc(100vw - 2rem);
}

.site-nav.is-scrolled .site-nav__brand {
  display: none;
}

.site-nav.is-scrolled .site-nav__link {
  font-size: 0.875rem;
  padding-block: 0.4rem;
}

.site-nav.is-scrolled .site-nav__cta {
  padding: 0.6rem 1.1rem;
  font-size: 0.875rem;
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.site-nav__brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav__link {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.78;
  padding-block: 0.5rem;
  transition: color var(--dur-fast) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
}

/* on scrolled (dark frosted) backdrops, links revert to white */
.site-nav.is-condensed .site-nav__link,
.site-nav.is-scrolled .site-nav__link {
  color: var(--surface);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.3rem;
  height: 1.5px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-out);
}

.site-nav__link:hover,
.site-nav__link.is-active {
  opacity: 1;
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  transform: scaleX(1);
}

.site-nav__cta {
  margin-left: 0;
}

.site-nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  position: relative;
}

.site-nav__burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}

.site-nav.is-condensed .site-nav__burger span,
.site-nav.is-scrolled .site-nav__burger span {
  background: var(--surface);
}

.site-nav__burger span:nth-child(1) { top: 17px; }
.site-nav__burger span:nth-child(2) { top: 22px; }
.site-nav__burger span:nth-child(3) { top: 27px; }

.site-nav__burger.is-open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.site-nav__burger.is-open span:nth-child(2) {
  opacity: 0;
}
.site-nav__burger.is-open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* mobile nav */
@media (max-width: 900px) {
  .site-nav .site-nav__brand-mark {
    height: 30px;
  }
  /* full-screen overlay menu on mobile */
  .site-nav__links {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--ink-deep);
    flex-direction: column;
    align-items: center;
    justify-content: safe center;
    padding: calc(5rem + env(safe-area-inset-top)) 1.5rem
             calc(2.5rem + env(safe-area-inset-bottom));
    gap: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: opacity var(--dur) var(--ease-out),
                visibility 0s linear var(--dur);
    border-left: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 50;
  }

  .site-nav__links.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity var(--dur) var(--ease-out),
                visibility 0s linear 0s;
  }

  .site-nav__link {
    font-size: 1.625rem;
    padding-block: 0.5rem;
  }

  .site-nav__link::after {
    bottom: 0.3rem;
  }

  .site-nav__burger {
    display: block;
    z-index: 51;
  }

  .site-nav__cta {
    width: auto;
    min-width: 240px;
    justify-content: center;
    margin-left: 0;
    margin-top: 1.25rem;
  }

  /* on phones, both scroll states collapse to a full-width frosted bar —
     a centered floating pill around just the burger looks accidental */
  .site-nav.is-condensed,
  .site-nav.is-scrolled {
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    width: auto;
    max-width: none;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 0.25rem clamp(1rem, 4vw, 2rem);
    gap: 1rem;
    background: rgba(5, 5, 5, 0.88);
    box-shadow:
      inset 0 -1px 0 0 rgba(92, 138, 201, 0.18),
      0 8px 24px -16px rgba(0, 0, 0, 0.6);
  }

  .site-nav.is-scrolled .site-nav__brand {
    display: flex;
  }

  .site-nav.is-scrolled .site-nav__brand-mark,
  .site-nav.is-condensed .site-nav__brand-mark {
    height: 26px;
  }
}

/* ---------- HERO (full-bleed handshake image, copy anchored bottom-left) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding-top: clamp(7rem, 12vh, 10rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  background: #EAF2FB;
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  text-align: left;
}

/* media stack — full-bleed handshake image */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  clip-path: inset(50% 0 50% 0);
  animation: hero-curtain 1100ms var(--ease-out) 200ms forwards;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  pointer-events: none;
}

/* soft fade at the bottom-left so the copy reads cleanly over the illustration */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      transparent 0%,
      transparent 55%,
      rgba(234, 242, 251, 0.85) 100%),
    linear-gradient(90deg,
      rgba(234, 242, 251, 0.65) 0%,
      rgba(234, 242, 251, 0.20) 32%,
      transparent 55%);
}

/* blueprint grid */
.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(92, 138, 201, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 138, 201, 0.07) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 85%);
  opacity: 0;
  animation: hero-grid-in 1400ms var(--ease-out) 600ms forwards;
}

/* horizontal sweep beam */
.hero__beam {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg,
    transparent 30%,
    rgba(92, 138, 201, 0.10) 48%,
    rgba(248, 246, 242, 0.06) 50%,
    rgba(92, 138, 201, 0.10) 52%,
    transparent 70%);
  background-size: 220% 100%;
  background-position: 120% 0;
  mix-blend-mode: screen;
  animation: hero-beam 9s var(--ease-inout) 1400ms infinite;
}

/* the AVIO power mark — centered backdrop behind the copy */
.hero__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(560px, 78vw, 980px);
  height: auto;
  opacity: 0;
  animation: hero-mark-in 1200ms var(--ease-out) 900ms forwards;
}

.hero__mark-glow {
  transform-origin: 300px 300px;
  animation: hero-mark-pulse 4.5s var(--ease-inout) infinite;
}

.hero__mark-rings {
  transform-origin: 300px 300px;
  animation: hero-mark-spin 60s linear infinite;
}

.hero__mark-power {
  transform-origin: 300px 312px;
  animation: hero-mark-power-in 1400ms var(--ease-out) 1100ms backwards;
}

.hero__mark-orbit {
  transform-origin: 300px 300px;
  animation: hero-mark-orbit 8s linear infinite;
}

.hero__mark-orbit > circle {
  transform: translate(220px, 0);
}

/* vignette no longer used on light hero — kept for backwards compat */
.hero__vignette {
  display: none;
}

/* film grain overlay (inline SVG noise) */
.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}

/* corner brackets — automotive blueprint accent */
.hero__brackets {
  position: absolute;
  inset: clamp(1rem, 3vw, 2.25rem);
  pointer-events: none;
  z-index: 2;
}

.hero__bracket {
  position: absolute;
  width: 36px;
  height: 36px;
  opacity: 0;
  animation: hero-bracket-in 700ms var(--ease-out) forwards;
}

.hero__bracket::before,
.hero__bracket::after {
  content: "";
  position: absolute;
  background: var(--accent);
}

.hero__bracket::before { width: 100%; height: 1px; }
.hero__bracket::after  { width: 1px; height: 100%; }

.hero__bracket--tl { top: 0; left: 0; animation-delay: 1100ms; }
.hero__bracket--tl::before { top: 0; left: 0; }
.hero__bracket--tl::after  { top: 0; left: 0; }

.hero__bracket--tr { top: 0; right: 0; animation-delay: 1180ms; }
.hero__bracket--tr::before { top: 0; right: 0; }
.hero__bracket--tr::after  { top: 0; right: 0; }

.hero__bracket--bl { bottom: 0; left: 0; animation-delay: 1260ms; }
.hero__bracket--bl::before { bottom: 0; left: 0; }
.hero__bracket--bl::after  { bottom: 0; left: 0; }

.hero__bracket--br { bottom: 0; right: 0; animation-delay: 1340ms; }
.hero__bracket--br::before { bottom: 0; right: 0; }
.hero__bracket--br::after  { bottom: 0; right: 0; }

/* content inner — anchored bottom-left */
.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.hero__content {
  position: relative;
  max-width: 640px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  will-change: transform;
}

.hero__title {
  margin-top: 1.75rem;
  margin-bottom: 1.5rem;
}

/* dark headline for the hero (bottom-left), high-contrast on light background */
.hero__title--brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.85vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: none;
  white-space: nowrap;
  color: #0B0B0B;
}

@media (max-width: 720px) {
  .hero__title--brand {
    white-space: normal;
    text-wrap: balance;
    font-size: clamp(1.875rem, 7vw, 2.5rem);
  }
}

.hero__title-accent {
  color: var(--accent);
}

.hero__sub {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: rgba(15, 23, 42, 0.72);
  max-width: 56ch;
  margin-inline: 0;
  margin-bottom: 2.25rem;
}

/* supporting subline directly under the H1 — value prop, calm and readable */
.hero__sub--lead {
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  color: #5B6170;
  max-width: 60ch;
  text-transform: none;
}

@media (max-width: 720px) {
  .hero__sub--lead br {
    display: none;
  }
}

/* small subtext under the brand mark */
.hero__sub--brand {
  margin-top: 1.25rem;
  margin-bottom: 2.25rem;
  font-family: var(--font-display);
  font-size: clamp(0.8125rem, 1vw, 0.9375rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.7);
}

.hero__ctas {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* infinite marquee strip below CTAs */
.hero__marquee {
  margin: 2.5rem auto 0;
  max-width: 520px;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.hero__marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: hero-marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-text);
  will-change: transform;
}

.hero__marquee-track > span {
  padding-right: 2rem;
}

/* scroll cue (light hero variant) */
.hero__scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.55);
  z-index: 4;
  pointer-events: none;
}

.hero__scroll-cue::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.55), transparent);
  animation: scroll-cue 2s var(--ease-inout) infinite;
}

/* mobile — shrink the mark, keep it centered behind copy */
@media (max-width: 720px) {
  .hero__mark {
    width: 92vw;
  }

  .hero__brackets {
    inset: 0.75rem;
  }

  .hero__bracket {
    width: 24px;
    height: 24px;
  }

  .hero__marquee {
    max-width: 100%;
  }

  /* scroll cue overlaps the marquee/CTAs on small screens */
  .hero__scroll-cue {
    display: none;
  }
}

/* very narrow phones — stack hero CTAs full-width so they don't squeeze */
@media (max-width: 480px) {
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero__ctas .btn {
    justify-content: center;
    width: 100%;
  }

  .hero__sub {
    margin-bottom: 1.75rem;
  }

  .hero__marquee {
    margin-top: 2rem;
  }
}

/* ---------- INTRO BAND ---------- */
.intro-band {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  color: #0B0B0B;
}

.intro-band__inner {
  max-width: 72rem;
}

.intro-band__text {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.6vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: #0B0B0B;
  text-wrap: pretty;
  max-width: none;
}

.intro-band__text .hl {
  position: relative;
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

.intro-band__text .hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12em;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 720ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 180ms);
}

.intro-band__text .hl.is-visible::after {
  transform: scaleX(1);
}

/* ---------- STATS / VERTRAUENSLEISTE ---------- */
.stats {
  padding-block: clamp(2rem, 4.5vw, 3.5rem);
  background: linear-gradient(to bottom, #EAF2FB 0%, #F4F8FE 55%, #FFFFFF 100%);
}

.stats .container {
  max-width: var(--container-wide);
}

.stats__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (max-width: 720px) {
  .stats__grid {
    flex-direction: column;
    gap: 2.5rem;
  }
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.05em;
  font-variant-numeric: tabular-nums;
}

.stat__suffix {
  font-size: 0.5em;
  font-weight: 500;
}

.stat__label {
  margin-top: 0.55rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--muted-text);
  letter-spacing: 0.01em;
  max-width: 14rem;
}

/* ---------- SERVICES BLOCK (light, clean panels + spine) ---------- */
.services-block {
  background: #ffffff;
  position: relative;
  color: var(--ink);
}

.services-block__head {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(3rem, 5vw, 4.5rem) 1.5rem clamp(1.5rem, 3vw, 2.5rem);
}

.services-block__head .eyebrow {
  display: inline-block;
  color: var(--accent-deep);
}

.services-block__head .eyebrow::before {
  background: var(--accent-deep);
}

.services-block__title {
  margin-top: 0.85rem;
}

.services-block__lead {
  margin-top: 1rem;
  margin-inline: auto;
  max-width: 44rem;
}

.services-block__stage {
  position: relative;
  overflow: hidden;
}

/* ---- Strip (tiny meta-row at top of stage) ---- */
.services-block__strip {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
}

.services-block__strip-label,
.services-block__strip-count {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.services-block__strip-label { color: rgba(0, 0, 0, 0.42); }
.services-block__strip-count { color: rgba(0, 0, 0, 0.22); }

/* ---- Background layers ---- */
.sb-layer {
  position: absolute;
  inset: -5%;
  pointer-events: none;
  will-change: transform;
}

.sb-layer--base {
  z-index: 0;
  background: none;
}

.sb-layer--grid {
  z-index: 0;
  background-image: none;
}

.sb-layer--diagonal {
  z-index: 0;
  background-image: none;
}

.sb-layer--noise {
  z-index: 0;
  opacity: 0;
}

.sb-layer--accent {
  z-index: 0;
  background:
    radial-gradient(ellipse 45% 22% at 18% 82%,
      rgba(74, 143, 230, 0.10) 0%,
      transparent 70%),
    radial-gradient(ellipse 28% 14% at 84% 18%,
      rgba(74, 143, 230, 0.06) 0%,
      transparent 65%);
}

.sb-layer--vignette {
  z-index: 1;
  background: none;
}

/* ---- Background paths layer ---- */
.sb-layer--paths {
  z-index: 0;
  overflow: hidden;
}

.sb-layer--paths svg {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ---- Vertical progress spine ---- */
.sb-progress {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 0, 0, 0.08);
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  /* Fade spine out through the CTA button area — starts fading at top of buttons,
     fully transparent at bottom padding. Values: bottom-padding(~6rem) + button-height(~5rem) */
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    black calc(100% - 11rem),
    transparent calc(100% - 5rem)
  );
  mask-image: linear-gradient(
    to bottom,
    black 0%,
    black calc(100% - 11rem),
    transparent calc(100% - 5rem)
  );
}

.sb-progress__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--accent);
  will-change: height;
}

.sb-progress__dot {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.14);
  transition:
    background 0.45s ease,
    box-shadow 0.45s ease,
    transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.sb-progress__dot.is-passed {
  background: rgba(0, 0, 0, 0.36);
  transform: translate(-50%, -50%) scale(1.0);
}

.sb-progress__dot.is-active {
  background: var(--accent);
  box-shadow:
    0 0 7px rgba(74, 143, 230, 0.65),
    0 0 16px rgba(74, 143, 230, 0.22);
  transform: translate(-50%, -50%) scale(1.6);
}

/* ---- Service panel (the row each card lives in) ---- */
.sb-panel {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 6rem 1.5rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .sb-panel { padding: 6rem 2rem; }
}

.sb-panel__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: center;
  width: 100%;
}

.sb-panel[data-side="left"]  .sb-card  { grid-column: 1 / span 7; }
.sb-panel[data-side="left"]  .sb-ghost { grid-column: 10 / span 3; justify-self: end;   text-align: right; }
.sb-panel[data-side="right"] .sb-card  { grid-column: 6 / span 7; }
.sb-panel[data-side="right"] .sb-ghost { grid-column: 1 / span 3; justify-self: start; text-align: left; }

/* ---- Card (dark on light bg) ---- */
.sb-card {
  position: relative;
  z-index: 2;
  padding: 3rem 3.5rem;
  background: rgba(10, 10, 10, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 32px 65px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateX(-44px) translateY(16px);
  transition:
    opacity 0.95s var(--ease-out),
    transform 0.95s var(--ease-out),
    border-color 0.6s ease,
    box-shadow 0.6s ease;
}

.sb-panel[data-side="right"] .sb-card {
  transform: translateX(44px) translateY(16px);
}

.sb-card.in-view {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.sb-card.in-view.is-active {
  transform: translateX(0) translateY(-5px) scale(1.004);
  border-color: rgba(74, 143, 230, 0.22);
  box-shadow:
    0 52px 100px rgba(0, 0, 0, 0.88),
    0 0 50px rgba(74, 143, 230, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.sb-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 2px;
  background: linear-gradient(to bottom,
    transparent,
    rgba(74, 143, 230, 0.85),
    transparent);
}

.sb-panel[data-side="right"] .sb-card::before {
  left: auto;
  right: 0;
}

/* ---- Card typography ---- */
.sb-card__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.sb-card__headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.92;
  color: #FFFFFF;
  margin: 0 0 1.5rem;
}

.sb-card__body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  max-width: 28rem;
  margin: 0;
}

.sb-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  padding-bottom: 0.2rem;
  transition: color 0.28s ease, border-color 0.28s ease, gap 0.28s ease;
}

.sb-card__arrow {
  display: inline-block;
  letter-spacing: 0;
  transition: transform 0.28s var(--ease-out);
}

.sb-card__cta:hover {
  color: var(--accent);
  border-bottom-color: rgba(74, 143, 230, 0.32);
  gap: 0.75rem;
}

.sb-card__cta:hover .sb-card__arrow {
  transform: translateX(3px);
}

/* ---- Ghost-Index numerals behind the card ---- */
.sb-ghost {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(0, 0, 0, 0.05);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
  transform: translateY(10px);
  transition:
    color 0.65s var(--ease-out),
    transform 0.65s var(--ease-out);
}

.sb-ghost.is-active {
  color: var(--accent);
  transform: translateY(0);
}

/* ---- Outro CTA ---- */
.services-block__outro {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  padding: clamp(4.5rem, 9vw, 7rem) 1.5rem clamp(4rem, 7vw, 6rem);
}

.services-block__cta-group {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.75rem;
}

/* Outer connector frame — invisible until spine arrives, then scales from center */
.services-block__cta-group::before {
  content: "";
  position: absolute;
  inset: -10px -14px;
  border: 1px solid rgba(74, 143, 230, 0.38);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center center;
  transition:
    opacity   800ms var(--ease-out) 100ms,
    transform 800ms var(--ease-out) 100ms;
  pointer-events: none;
}

.services-block__cta-group.is-in-view::before {
  opacity: 1;
  transform: scaleX(1);
}

.services-block__cta-group .btn {
  min-width: clamp(200px, 20vw, 260px);
  justify-content: center;
}

/* Ghost button activates on in-view — same blue as spine */
.services-block__cta-group.is-in-view .btn--ghost {
  border-color: var(--accent);
  color: var(--accent);
  transition:
    border-color 700ms var(--ease-out) 300ms,
    color        700ms var(--ease-out) 300ms,
    transform    var(--dur-fast) var(--ease-out),
    box-shadow   var(--dur-fast) var(--ease-out);
}

@media (max-width: 760px) {
  .services-block__cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .services-block__cta-group .btn {
    min-width: auto;
  }
  .services-block__cta-group::before {
    display: none;
  }
}


/* ---------- Tablet (cards take full width, ghost on top right) ---------- */
@media (max-width: 960px) {
  .sb-panel[data-side="left"]  .sb-card,
  .sb-panel[data-side="right"] .sb-card {
    grid-column: 1 / -1;
  }
  .sb-panel[data-side="left"]  .sb-ghost,
  .sb-panel[data-side="right"] .sb-ghost {
    grid-column: 1 / -1;
    justify-self: end;
    font-size: clamp(4rem, 12vw, 6rem);
    order: -1;
  }
  .sb-card { padding: 2.5rem 2.5rem; }
}

/* ---------- Mobile (drop spine + ghost, stack cards) ---------- */
@media (max-width: 760px) {
  .sb-progress { display: none; }
  .sb-ghost { display: none; }
  .sb-panel { min-height: auto; padding: 2rem 0; }
  .sb-card { padding: 2rem 1.75rem; }
  .services-block__strip { padding: 2rem 1.25rem 1rem; }
}

@media (max-width: 480px) {
  .sb-card { padding: 1.75rem 1.5rem; }
  .sb-card__headline { font-size: clamp(1.75rem, 7vw, 2.25rem); }
  .sb-card__cta { margin-top: 1.75rem; }
}


/* ---------- TRADE-IN / GEBRAUCHTWAGEN ---------- */
.trade-in {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 5.5vw, 5rem);
  background: linear-gradient(180deg, #11203d 0%, #0d1830 60%, #0b1528 100%);
}

.trade-in::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(41, 121, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 60% at 5% 95%, rgba(41, 121, 255, 0.06), transparent 55%);
  pointer-events: none;
}

.trade-in__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.trade-in__content {
  max-width: 38rem;
}

.trade-in__features {
  list-style: none;
  padding: 0;
  margin: 2.75rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}

.trade-in__feature {
  position: relative;
  padding: 1.25rem 1.25rem 1.35rem 1.5rem;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}

.trade-in__feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 2px;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
  opacity: 0.65;
  transition: opacity var(--dur-fast) var(--ease-out),
              top var(--dur-fast) var(--ease-out),
              bottom var(--dur-fast) var(--ease-out);
}

.trade-in__feature:hover {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.035);
  transform: translateY(-2px);
}

.trade-in__feature:hover::before {
  opacity: 1;
  top: 1rem;
  bottom: 1rem;
}

.trade-in__feature-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0 0 0.4rem;
  color: var(--surface);
}

.trade-in__feature-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted-text);
  margin: 0;
}

.trade-in__ctas {
  margin-top: 2.75rem;
}

.trade-in__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trade-in__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 60% at 55% 38%, rgba(74, 143, 230, 0.10), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.trade-in__image {
  display: block;
  width: 135%;
  max-width: 135%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 24px 52px rgba(74, 143, 230, 0.24));
  transition: transform 1.2s var(--ease-out), filter 1.2s var(--ease-out);
}

.trade-in__visual:hover .trade-in__image {
  transform: translateY(-8px) scale(1.02);
  filter: drop-shadow(0 36px 68px rgba(74, 143, 230, 0.38));
}

.trade-in__badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.55rem 0.95rem;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--surface);
  z-index: 4;
}

.trade-in__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent), 0 0 0 0 rgba(41, 121, 255, 0.6);
  animation: trade-in-pulse 2.4s ease-in-out infinite;
}

@keyframes trade-in-pulse {
  0%, 100% { box-shadow: 0 0 14px var(--accent), 0 0 0 0 rgba(41, 121, 255, 0.6); }
  50%      { box-shadow: 0 0 14px var(--accent), 0 0 0 6px rgba(41, 121, 255, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .trade-in__badge-dot {
    animation: none;
  }
  .trade-in__image,
  .trade-in__feature {
    transition: none;
  }
  .trade-in__visual:hover .trade-in__image {
    transform: none;
    filter: drop-shadow(0 20px 48px rgba(74, 143, 230, 0.20));
  }
}

@media (max-width: 960px) {
  .trade-in__grid {
    grid-template-columns: 1fr;
  }

  .trade-in__visual {
    order: -1;
    max-width: 100%;
  }

  .trade-in__visual .trade-in__image {
    width: 100%;
    max-width: 100%;
  }

  .trade-in__features {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .trade-in__badge {
    font-size: 0.6875rem;
    padding: 0.4rem 0.75rem;
  }
}

/* ---------- BEFORE / AFTER SECTION ---------- */
.ba-section {
  background: linear-gradient(180deg, #11203d 0%, #0d1830 60%, #0b1528 100%);
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  color: var(--surface);
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.16);
  --muted-text: var(--muted-text-on-dark);
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .ba-grid {
    grid-template-columns: 1fr;
  }
}

/* feature variant for the early-funnel BA placement (lifts both sliders) */
.ba-grid--feature {
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 2rem;
}

.ba-grid--feature .ba {
  box-shadow:
    0 24px 60px -28px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(74, 143, 230, 0.12);
}

.ba__caption--demo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--muted-text);
  line-height: 1.55;
}

.ba__caption-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(42, 92, 180, 0.35);
  border-radius: 999px;
  background: rgba(74, 143, 230, 0.08);
  flex-shrink: 0;
}

.ba-section .ba__caption-tag {
  color: var(--accent-light);
  border-color: rgba(74, 143, 230, 0.45);
  background: rgba(74, 143, 230, 0.12);
}

.ba-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.ba-benefit {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ba-benefit__num {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.ba-benefit__title {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--surface);
}

.ba-benefit__desc {
  font-size: 0.9375rem;
  color: var(--muted-text);
  line-height: 1.55;
  max-width: 32ch;
}

@media (max-width: 760px) {
  .ba-benefits {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* ---------- PRICING PREVIEW ---------- */
.pricing-preview {
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(122, 184, 242, 0.15), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #F5F9FE 40%, #F4F8FE 100%);
  color: var(--ink);
}

.pricing-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

/* On light background cards need slightly more depth to stand out */
.pricing-preview .price-card {
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.06),
    0 16px 44px -12px rgba(15, 23, 42, 0.13);
}

.pricing-preview .price-card--featured {
  box-shadow:
    0 24px 64px -20px rgba(74, 143, 230, 0.40),
    0 0 0 6px rgba(122, 184, 242, 0.10);
}

@media (max-width: 900px) {
  .pricing-preview__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- PROCESS ---------- */
.process {
  background: #FFFFFF;
  color: var(--ink);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem 1.5rem;
  margin-top: 3rem;
  counter-reset: step;
}

/* Line draw: fires when IntersectionObserver adds is-visible to the ol */
.process__steps.is-visible .process-step::after {
  width: 100%;
}

@media (max-width: 1100px) {
  .process__steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .process__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .process__steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- PARTNERS ---------- */
.partners {
  background: #FFFFFF;
  border-block: 1px solid var(--line);
  padding-block: clamp(3rem, 5vw, 4rem);
}

.partners__note {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-text);
  text-align: center;
  margin-bottom: 2rem;
}

.partners__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  opacity: 0.85;
}

.partners__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink);
  white-space: nowrap;
  transition: border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}

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

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(122, 184, 242, 0.15), transparent 70%),
    linear-gradient(180deg, #F4F8FE 0%, #FFFFFF 100%);
  overflow: hidden;
}

/* Shared track grid — used inside mobile fallback */
.testimonials__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 720px) {
  .testimonials__track {
    grid-template-columns: 1fr;
  }
}

/* ---- 3D vertical marquee (desktop / tablet) ---- */
.testi-scene {
  position: relative;
  height: 520px;
  overflow: hidden;
  margin-top: 3.5rem;
}

.testi-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1100px;
}

.testi-3d {
  display: flex;
  gap: 1.25rem;
  transform: rotateX(14deg) rotateY(-7deg) rotateZ(10deg);
  transform-style: preserve-3d;
}

/* One scrolling column */
.testi-col {
  width: 296px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow: hidden;
  height: 520px;
  flex-shrink: 0;
}

/* Each animated set of cards */
.testi-col__set {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex-shrink: 0;
  animation: testi-scroll-up 35s linear infinite;
}

.testi-col--rev .testi-col__set {
  animation: testi-scroll-up 42s linear infinite reverse;
}

.testi-col--slow .testi-col__set {
  animation-duration: 48s;
}

/* Cards inside marquee inherit full column width */
.testi-col .testimonial {
  width: 296px;
  flex-shrink: 0;
}

/* Pause on hover */
.testi-col:hover .testi-col__set {
  animation-play-state: paused;
}

/* Gradient fade top/bottom */
.testi-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 180px;
  pointer-events: none;
  z-index: 3;
}

.testi-fade--top {
  top: 0;
  background: linear-gradient(to bottom,
    rgba(244, 248, 254, 1) 0%,
    rgba(244, 248, 254, 0) 100%
  );
}

.testi-fade--bottom {
  bottom: 0;
  background: linear-gradient(to top,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* Mobile fallback — hidden on desktop */
.testi-mobile {
  display: none;
  margin-top: 2.5rem;
}

@media (max-width: 760px) {
  .testi-scene   { display: none; }
  .testi-mobile  { display: block; }
}

/* ---------- ABOUT (3-column slider, dark navy) ---------- */
.about {
  background: linear-gradient(180deg, #11203d 0%, #0d1830 60%, #0b1528 100%);
  color: var(--surface);
  --line: var(--line-on-dark);
  --muted-text: var(--muted-text-on-dark);
  padding-block: 0;
  overflow: hidden;
}

/* ---- Slider shell ---- */
.about-slider {
  display: grid;
  grid-template-columns: 220px 0.7fr 1.3fr;
  min-height: 600px;
  max-height: 680px;
}

/* ---- Col 1: meta ---- */
.about-slider__col-meta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2.5rem, 4vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid rgba(255, 255, 255, 0.10);
}

.about-slider__top-meta {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-slider__pagination {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  color: var(--muted-text-on-dark);
  letter-spacing: 0.06em;
}

.about-slider__vert-label {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-text-on-dark);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.about-slider__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 124px;
}

.about-slider__thumb {
  width: 56px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.55;
  transition: opacity 250ms var(--ease-out), border-color 250ms var(--ease-out);
  flex-shrink: 0;
  cursor: pointer;
}

.about-slider__thumb:hover { opacity: 0.85; }
.about-slider__thumb.is-active {
  opacity: 1;
  border-color: var(--accent);
}

.about-slider__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Col 2: image ---- */
.about-slider__col-img {
  position: relative;
  overflow: hidden;
  background: #0d1830;
}

.about-slider__img-wrap {
  position: absolute;
  inset: 0;
}

.about-slider__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  transition: opacity 320ms var(--ease-out);
}

/* Image leave/enter animations */
.about-slider__img.is-leaving {
  animation: about-img-leave 300ms var(--ease-out) forwards;
}
.about-slider__img.is-entering {
  animation: about-img-enter 400ms var(--ease-out) forwards;
}

@keyframes about-img-leave {
  to { opacity: 0; transform: translateY(-4%); }
}
@keyframes about-img-enter {
  from { opacity: 0; transform: translateY(3%); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Col 3: text + nav ---- */
.about-slider__col-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2.5rem, 4vw, 4rem) clamp(2rem, 4vw, 4rem);
  border-left: 1px solid rgba(255, 255, 255, 0.10);
}

.about-slider__text {
  padding-top: clamp(1.25rem, 2.5vw, 2.5rem);
}

.about-slider__slide-label {
  font-size: 0.8125rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.about-slider__slide-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 500;
  color: var(--surface);
  margin-bottom: 1.25rem;
}

/* ---- Profile card: bullets + motivation (Slide 01 / 02) ---- */
.about-slider__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.about-slider__bullets li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}

.about-slider__bullets li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.about-slider__motivation {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.about-slider__motivation-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.35rem;
}

.about-slider__motivation-text {
  font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.55;
  font-style: italic;
  margin: 0;
}

.about-slider__slide-quote {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--surface);
  letter-spacing: -0.01em;
}

/* ---- Body paragraphs (Slide 03 / 04 without quotes) ---- */
.about-slider__slide-body {
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 0.875rem;
}
.about-slider__slide-body:last-child { margin-bottom: 0; }

/* Text enter/exit */
@keyframes about-text-exit-left {
  to { opacity: 0; transform: translateX(-32px); }
}
@keyframes about-text-exit-right {
  to { opacity: 0; transform: translateX(32px); }
}
@keyframes about-text-enter-right {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes about-text-enter-left {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}

.about-slider__text.is-exiting-left  { animation: about-text-exit-left  240ms var(--ease-out) forwards; }
.about-slider__text.is-exiting-right { animation: about-text-exit-right 240ms var(--ease-out) forwards; }
.about-slider__text.is-entering-right { animation: about-text-enter-right 380ms var(--ease-out) forwards; }
.about-slider__text.is-entering-left  { animation: about-text-enter-left  380ms var(--ease-out) forwards; }

/* ---- Navigation arrows ---- */
.about-slider__controls {
  display: flex;
  gap: 0.625rem;
}

.about-slider__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms var(--ease-out), color 200ms var(--ease-out);
  flex-shrink: 0;
}

.about-slider__arrow--prev {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--surface);
}
.about-slider__arrow--prev:hover {
  background: rgba(255, 255, 255, 0.08);
}

.about-slider__arrow--next {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
}
.about-slider__arrow--next:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .about-slider {
    grid-template-columns: 160px 0.7fr 1.3fr;
    max-height: none;
  }
  .about-slider__vert-label { display: none; }
}

@media (max-width: 720px) {
  .about-slider {
    grid-template-columns: 1fr;
    grid-template-rows: auto 300px auto;
  }
  .about-slider__col-meta {
    flex-direction: row;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    padding-block: 1.25rem;
  }
  .about-slider__top-meta { flex-direction: row; align-items: center; gap: 1rem; }
  .about-slider__col-img  { min-height: 300px; }
  .about-slider__col-text {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
  }
  .about-slider__text { padding-top: 0; }
}

/* ---------- FAQ ---------- */
.faq {
  background: #FFFFFF;
  color: var(--ink);
}

.faq__list {
  max-width: 52rem;
  margin: 3rem auto 0;
}

/* ---------- CONTACT BAND ---------- */
.contact-band {
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, rgba(122, 184, 242, 0.22), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #F4F8FE 100%);
  color: var(--ink);
}

.contact-band__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

@media (max-width: 900px) {
  .contact-band__grid {
    grid-template-columns: 1fr;
  }
}

.contact-band__details {
  display: grid;
  gap: 1.25rem;
  font-size: 1rem;
}

.contact-band__row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-band__label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-text);
  min-width: 5.5rem;
  padding-top: 0.3rem;
}

.contact-band__value {
  color: var(--ink);
  font-size: 1.0625rem;
}

.contact-band__value a:hover {
  color: var(--accent);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--ink-deep);
  color: var(--surface);
  --line: var(--line-on-dark);
  --line-2: var(--line-on-dark-2);
  --muted-text: var(--muted-text-on-dark);
  padding-block: clamp(3rem, 5vw, 4rem) 2rem;
  border-top: 1px solid var(--line);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

.site-footer__brand-block p {
  color: var(--muted-text);
  font-size: 0.9375rem;
  max-width: 36ch;
  margin-top: 1rem;
}

.site-footer__col-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-text);
  margin-bottom: 1rem;
}

.site-footer__col a {
  display: block;
  color: var(--surface);
  font-size: 0.9375rem;
  padding-block: 0.35rem;
  opacity: 0.85;
  transition: opacity var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.site-footer__col a:hover {
  opacity: 1;
  color: var(--accent);
}

.site-footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.8125rem;
  color: var(--muted-text);
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer__review {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--surface);
}

.site-footer__stars {
  color: var(--accent);
  letter-spacing: 0.1em;
}

/* ---------- KONTAKT HERO (light page-header) ---------- */
.kontakt-hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(122, 184, 242, 0.18), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #F4F8FE 100%);
  color: var(--ink);
  overflow: hidden;
}

.kontakt-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(74, 143, 230, 0.18) 50%, transparent 100%);
  z-index: 0;
}

.kontakt-hero__inner {
  max-width: 60rem;
  position: relative;
  z-index: 1;
}

.kontakt-hero__title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.08;
  color: var(--ink);
  max-width: 22ch;
}

.kontakt-hero__sub {
  margin-top: 1.5rem;
  color: var(--muted-text-light);
  max-width: 58ch;
}

.kontakt-hero__meta {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
}

.kontakt-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-text-light);
}

.kontakt-hero__meta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(74, 143, 230, 0.15);
}

/* ---------- KONTAKT SECTION (light surface for form + aside) ---------- */
.kontakt-section {
  background: linear-gradient(180deg, #F4F8FE 0%, #FFFFFF 60%, #FFFFFF 100%);
  color: var(--ink);
}

/* ---------- KONTAKT GRID (form + aside) ---------- */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

@media (max-width: 900px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---------- KONTAKT CARD (premium light card) ---------- */
.kontakt-card {
  position: relative;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
          backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 30px 60px -30px rgba(15, 23, 42, 0.18),
    0 12px 24px -16px rgba(74, 143, 230, 0.12);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.kontakt-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(74, 143, 230, 0.12);
}

.kontakt-card__head {
  margin-bottom: 1.75rem;
}

.kontakt-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 0.75rem 0 0;
}

.kontakt-card__lead {
  margin-top: 0.75rem;
  color: var(--muted-text-light);
  font-size: 0.9375rem;
  line-height: 1.55;
  max-width: 42ch;
}

.kontakt-card__cta {
  margin-top: 1.75rem;
  width: 100%;
  justify-content: center;
}

/* ---------- KONTAKT INFO (rows in aside card) ---------- */
.kontakt-info {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.kontakt-info__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(74, 143, 230, 0.04);
  border: 1px solid rgba(74, 143, 230, 0.08);
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}

.kontakt-info__row:hover {
  background: rgba(74, 143, 230, 0.07);
  border-color: rgba(74, 143, 230, 0.16);
}

.kontakt-info__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(74, 143, 230, 0.12), rgba(122, 184, 242, 0.20));
  color: var(--accent-deep);
  flex: 0 0 auto;
}

.kontakt-info__label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-text-light);
  margin-bottom: 0.2rem;
}

.kontakt-info__value {
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.kontakt-info__value a {
  color: var(--ink);
  border-bottom: 1px solid rgba(74, 143, 230, 0.3);
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.kontakt-info__value a:hover {
  color: var(--accent-deep);
  border-bottom-color: var(--accent);
}

/* ---------- KONTAKT MAP SECTION ---------- */
.kontakt-map-section {
  background: var(--surface);
  color: var(--ink);
}

.kontakt-map__title {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 0.5rem 0 0;
}

.kontakt-map {
  position: relative;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(74, 143, 230, 0.18);
  background: linear-gradient(180deg, #F4F8FE 0%, #E8F1FC 100%);
  box-shadow:
    0 30px 60px -30px rgba(15, 23, 42, 0.18),
    0 12px 24px -16px rgba(74, 143, 230, 0.15);
}

.kontakt-map__pattern {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(74, 143, 230, 0.08) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(74, 143, 230, 0.08) 0 1px, transparent 1px 44px);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 40%, transparent 90%);
          mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 40%, transparent 90%);
}

.kontakt-map__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  padding: 1.5rem;
}

.kontakt-map__pin {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(74, 143, 230, 0.14), rgba(122, 184, 242, 0.22));
  color: var(--accent-deep);
  margin-bottom: 0.25rem;
  box-shadow: 0 8px 20px -8px rgba(74, 143, 230, 0.35);
}

.kontakt-map__address {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--ink);
}

.kontakt-map__note {
  font-size: 0.8125rem;
  color: var(--muted-text-light);
  max-width: 44ch;
}

.kontakt-map__link {
  margin-top: 0.5rem;
}

@media (max-width: 760px) {
  .kontakt-map {
    aspect-ratio: 4 / 5;
  }
}

/* ---------- PAGE HEADER (sub-pages) ---------- */
.page-header {
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.page-header__eyebrow {
  margin-bottom: 1rem;
}

.page-header__sub {
  margin-top: 1.25rem;
  color: var(--muted-text);
  max-width: 54ch;
}

/* ---------- SECTION HEADER (in-page) ---------- */
.section-header {
  max-width: 44rem;
  margin-bottom: 3rem;
}

.section-header .eyebrow {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--muted-text);
  margin-top: 1rem;
}

.section--light .section-header p,
.section--surface-2 .section-header p {
  color: var(--muted-text-light);
}

/* ==================== PRICING TOGGLE + HELP (custom additions) ==================== */
/* Pricing-mode toggle (Standard / Fastlane) */
.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: max-content;
  margin: clamp(2rem, 4vw, 2.75rem) auto 0;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
          backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 32px -16px rgba(15, 23, 42, 0.12);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.pricing-toggle__label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted-text);
  transition: color var(--dur-fast) var(--ease-out);
  cursor: pointer;
  user-select: none;
}

.pricing-toggle__label[data-state="off"] { color: var(--ink); }

.pricing-toggle.is-fastlane .pricing-toggle__label[data-state="off"] { color: var(--muted-text); }
.pricing-toggle.is-fastlane .pricing-toggle__label[data-state="on"] { color: var(--ink); }

.pricing-toggle__hint {
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
  background: rgba(74, 143, 230, 0.10);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.pricing-toggle.is-fastlane .pricing-toggle__hint {
  background: rgba(74, 143, 230, 0.16);
}

.pricing-toggle__switch {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-block;
  border-radius: 999px;
}

.pricing-toggle__switch:focus { outline: none; }
.pricing-toggle__switch:focus-visible .pricing-toggle__track {
  box-shadow:
    inset 0 1px 2px rgba(15, 23, 42, 0.10),
    0 0 0 3px rgba(74, 143, 230, 0.35);
}

.pricing-toggle__track {
  display: inline-block;
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.14);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.10);
  transition: background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.pricing-toggle.is-fastlane .pricing-toggle__track {
  background: var(--accent-gradient);
  box-shadow:
    inset 0 1px 2px rgba(15, 23, 42, 0.10),
    0 4px 12px -4px rgba(74, 143, 230, 0.45);
}

.pricing-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.20), 0 0 0 0.5px rgba(15, 23, 42, 0.04);
  transition: transform var(--dur) var(--ease-out);
}

.pricing-toggle.is-fastlane .pricing-toggle__thumb {
  transform: translateX(18px);
}

.pricing-preview.is-fastlane .price-card__amount {
  color: var(--accent-deep);
  transition: color var(--dur) var(--ease-out);
}

.price-card__amount {
  transition: color var(--dur) var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  .pricing-toggle__thumb,
  .pricing-toggle__track,
  .pricing-toggle__label,
  .pricing-toggle__hint,
  .price-card__amount {
    transition: none !important;
  }
}

/* Glass help panel */
.pricing-help {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.75rem, 3.5vw, 2.75rem);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
          backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 30px 60px -30px rgba(15, 23, 42, 0.18),
    0 12px 24px -16px rgba(74, 143, 230, 0.12);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.pricing-help__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(74, 143, 230, 0.12), rgba(122, 184, 242, 0.20));
  color: var(--accent-deep);
  flex: 0 0 auto;
}

.pricing-help__copy { min-width: 0; }

.pricing-help__title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.9vw, 1.375rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
}

.pricing-help__text {
  font-size: 0.9375rem;
  color: var(--muted-text);
  max-width: 42rem;
  line-height: 1.55;
  margin: 0.4rem 0 0;
}

@media (max-width: 760px) {
  .pricing-help {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 1.25rem;
  }
  .pricing-help__icon { display: none; }
  .pricing-help__cta { width: 100%; justify-content: center; }
}



/* ==================== LEISTUNGS-DETAILSEITEN (v3 — unified light premium) ==================== */

/* The page itself sits on a continuous light wash so section transitions feel seamless.
   Sections are mostly transparent and add their own subtle radial glows for depth. */
.leistung-detail-page {
  background:
    radial-gradient(ellipse 90% 60% at 100% 0%, rgba(74, 143, 230, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 60% at 0% 32%, rgba(122, 184, 242, 0.08), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 60%, rgba(74, 143, 230, 0.07), transparent 60%),
    radial-gradient(ellipse 70% 60% at 0% 90%, rgba(122, 184, 242, 0.06), transparent 60%),
    linear-gradient(180deg, #EAF2FB 0%, #F4F8FD 30%, #FFFFFF 60%, #F6F9FD 100%);
  background-attachment: fixed;
}

/* ---------- HERO / Page Header (light, premium, with floating decor number) ---------- */
.leistung-hero {
  position: relative;
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
  background: transparent;
  color: var(--ink);
  overflow: hidden;
}

/* Soft glow accents on the hero, layered in front of the page wash for extra depth */
.leistung-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(74, 143, 230, 0.16), transparent 65%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(122, 184, 242, 0.10), transparent 70%);
  z-index: 0;
}

.leistung-hero__decor {
  position: absolute;
  top: 50%;
  right: clamp(-4rem, -2vw, 0rem);
  transform: translateY(-46%);
  font-family: var(--font-display);
  font-size: clamp(14rem, 28vw, 28rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: rgba(74, 143, 230, 0.07);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.leistung-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 60rem;
}

.leistung-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-text);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out), gap var(--dur-fast) var(--ease-out);
}

.leistung-hero__back:hover {
  color: var(--accent-deep);
  gap: 0.65rem;
}

.leistung-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
          backdrop-filter: blur(10px) saturate(140%);
  color: var(--accent-deep);
  border: 1px solid rgba(74, 143, 230, 0.18);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.leistung-hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 143, 230, 0.18);
}

.leistung-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 1.5rem;
}

.leistung-hero__title .accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.leistung-hero__sub {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted-text);
  max-width: 48rem;
  margin: 0;
}

.leistung-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.25rem;
}

.leistung-hero__meta-item {
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-text);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.leistung-hero__meta-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

@media (max-width: 760px) {
  .leistung-hero { padding-top: clamp(7rem, 18vw, 9rem); }
  .leistung-hero__decor { font-size: clamp(11rem, 38vw, 18rem); right: -2rem; }
}

/* ---------- WAS IST DAS — transparent on page wash, sticky-left intro ---------- */
.leistung-detail {
  background: transparent;
  color: var(--ink);
  position: relative;
}

.leistung-detail__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.7fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.leistung-detail__intro {
  position: sticky;
  top: 6rem;
}

.leistung-detail__intro h2 {
  margin-top: 0.85rem;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.leistung-detail__copy {
  position: relative;
  padding-left: clamp(1rem, 2vw, 1.75rem);
  border-left: 2px solid rgba(74, 143, 230, 0.22);
}

.leistung-detail__copy p {
  font-size: 1rem;
  color: var(--muted-text);
  line-height: 1.7;
  margin: 0 0 1.25rem;
}

.leistung-detail__copy p:last-child { margin-bottom: 0; }

.leistung-detail__copy p.lead {
  font-size: 1.125rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.55;
}

@media (max-width: 880px) {
  .leistung-detail__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .leistung-detail__intro { position: static; }
  .leistung-detail__copy { padding-left: 1rem; }
}

/* ---------- WAS SIE BEKOMMEN — transparent on page wash, white glass cards ---------- */
.leistung-included {
  background: transparent;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.leistung-included::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 45% at 90% 0%, rgba(74, 143, 230, 0.10), transparent 65%),
    radial-gradient(ellipse 45% 40% at 5% 100%, rgba(122, 184, 242, 0.08), transparent 70%);
  z-index: 0;
}

.leistung-included > .container { position: relative; z-index: 1; }

.leistung-included__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.leistung-included__item {
  position: relative;
  padding: 1.85rem 1.65rem 1.65rem;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
          backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 14px 32px -18px rgba(15, 23, 42, 0.10);
  transition:
    transform 380ms var(--ease-out),
    box-shadow 380ms var(--ease-out),
    border-color 380ms var(--ease-out),
    background 380ms var(--ease-out);
}

.leistung-included__item::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 480ms var(--ease-out);
}

.leistung-included__item:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(74, 143, 230, 0.30);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 30px 60px -22px rgba(74, 143, 230, 0.22),
    0 14px 30px -16px rgba(15, 23, 42, 0.12);
}

.leistung-included__item:hover::before { transform: scaleX(1); }

.leistung-included__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(74, 143, 230, 0.14), rgba(122, 184, 242, 0.24));
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.4rem;
  text-transform: none;
}

.leistung-included__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.leistung-included__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted-text);
  margin: 0;
}

@media (max-width: 960px) {
  .leistung-included__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .leistung-included__grid { grid-template-columns: 1fr; }
}

/* ---------- WIE WIR VORGEHEN — light, premium with stronger glow + animated timeline ---------- */
.leistung-process {
  position: relative;
  background: transparent;
  color: var(--ink);
  overflow: hidden;
}

.leistung-process::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 55% at 0% 20%, rgba(74, 143, 230, 0.14), transparent 65%),
    radial-gradient(ellipse 50% 50% at 100% 80%, rgba(122, 184, 242, 0.12), transparent 70%);
  z-index: 0;
}

.leistung-process > .container { position: relative; z-index: 1; }

.leistung-process .section-header h2 {
  color: var(--ink);
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  letter-spacing: -0.02em;
}

.leistung-process .section-header p {
  color: var(--muted-text);
}

.leistung-process .eyebrow {
  color: var(--accent-deep);
}

.leistung-process .eyebrow::before {
  background: var(--accent);
}

.leistung-process__timeline {
  position: relative;
  margin-top: 3.5rem;
}

.leistung-process__line {
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 2px;
  background: rgba(74, 143, 230, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.leistung-process__line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1200ms var(--ease-out);
}

.leistung-process__timeline.is-visible .leistung-process__line::after {
  transform: scaleX(1);
}

.leistung-process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  position: relative;
  z-index: 1;
}

.leistung-process__step {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 140ms);
}

.leistung-process__timeline.is-visible .leistung-process__step {
  opacity: 1;
  transform: translateY(0);
}

.leistung-process__dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 2px solid rgba(74, 143, 230, 0.30);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: background var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}

.leistung-process__timeline.is-visible .leistung-process__step .leistung-process__dot {
  background: var(--accent);
  border-color: var(--accent-light);
  color: #FFFFFF;
  box-shadow:
    0 0 0 6px rgba(74, 143, 230, 0.12),
    0 8px 18px -6px rgba(74, 143, 230, 0.45);
}

.leistung-process__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0.25rem 0 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.leistung-process__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted-text);
  margin: 0;
}

@media (max-width: 960px) {
  .leistung-process__steps { grid-template-columns: repeat(2, 1fr); gap: 2.25rem; }
  .leistung-process__line { display: none; }
}

@media (max-width: 560px) {
  .leistung-process__steps { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- WEITERE LEISTUNGEN — transparent on page wash, glass cards w/ glow ---------- */
.leistung-related {
  background: transparent;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.leistung-related::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 100% 0%, rgba(74, 143, 230, 0.10), transparent 65%),
    radial-gradient(ellipse 50% 45% at 0% 100%, rgba(122, 184, 242, 0.08), transparent 70%);
  z-index: 0;
}

.leistung-related > .container { position: relative; z-index: 1; }

.leistung-related__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.leistung-related__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(2rem, 3vw, 2.75rem);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
          backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 14px 32px -18px rgba(15, 23, 42, 0.10);
  transition:
    transform 380ms var(--ease-out),
    box-shadow 380ms var(--ease-out),
    border-color 380ms var(--ease-out),
    background 380ms var(--ease-out);
}

.leistung-related__card::after {
  content: '';
  position: absolute;
  inset: -50% -50% auto auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(74, 143, 230, 0.14), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 480ms var(--ease-out);
}

.leistung-related__card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(74, 143, 230, 0.30);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 32px 60px -22px rgba(74, 143, 230, 0.25),
    0 14px 30px -16px rgba(15, 23, 42, 0.12);
}

.leistung-related__card:hover::after { opacity: 1; }

.leistung-related__num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  text-transform: uppercase;
}

.leistung-related__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.leistung-related__desc {
  font-size: 0.9375rem;
  color: var(--muted-text);
  line-height: 1.6;
  margin: 0;
}

.leistung-related__cta {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 240ms var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.leistung-related__card:hover .leistung-related__cta {
  gap: 0.65rem;
  color: var(--accent);
}

@media (max-width: 760px) {
  .leistung-related__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .leistung-included__item,
  .leistung-related__card,
  .leistung-process__step,
  .leistung-process__line::after {
    transition: none !important;
  }
  .leistung-process__timeline .leistung-process__line::after { transform: scaleX(1); }
  .leistung-process__step { opacity: 1; transform: none; }
}

/* =======================================================
   PRICING CONFIGURATOR (preis.html)
   Apple-inspired light premium · modular all-in-one
   ======================================================= */

/* ---------- Page wash (matches leistung-detail-page) ---------- */
.config-page {
  background:
    radial-gradient(ellipse 90% 60% at 100% 0%, rgba(74, 143, 230, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 60% at 0% 32%, rgba(122, 184, 242, 0.08), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 60%, rgba(74, 143, 230, 0.07), transparent 60%),
    radial-gradient(ellipse 70% 60% at 0% 90%, rgba(122, 184, 242, 0.06), transparent 60%),
    linear-gradient(180deg, #EAF2FB 0%, #F4F8FD 30%, #FFFFFF 60%, #F6F9FD 100%);
  background-attachment: fixed;
}

/* ---------- Hero ---------- */
.config-hero {
  position: relative;
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: transparent;
  color: var(--ink);
  overflow: hidden;
}

.config-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(74, 143, 230, 0.16), transparent 65%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(122, 184, 242, 0.10), transparent 70%);
  z-index: 0;
}

.config-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 56rem;
  text-align: center;
  margin-inline: auto;
}

.config-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
          backdrop-filter: blur(10px) saturate(140%);
  color: var(--accent-deep);
  border: 1px solid rgba(74, 143, 230, 0.18);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.config-hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 143, 230, 0.18);
}

.config-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.4vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 1.25rem;
}

.config-hero__title .accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.config-hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  line-height: 1.55;
  color: var(--muted-text);
  max-width: 44rem;
  margin: 0 auto;
}

.config-hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

.config-hero__meta-item {
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-text);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.config-hero__meta-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

/* ---------- Shell + Grid ---------- */
.config-shell {
  position: relative;
  padding-block: clamp(2rem, 5vw, 4rem) clamp(5rem, 9vw, 7rem);
}

.config-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  align-items: start;
}

.config-builder {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
  min-width: 0;
}

/* ---------- Block ---------- */
.config-block {
  position: relative;
}

.config-block__header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.config-block__num {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(74, 143, 230, 0.10);
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.01em;
}

.config-block__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 0.35rem;
}

.config-block__hint {
  font-size: 0.9375rem;
  color: var(--muted-text);
  margin: 0;
}

/* ---------- Card grid ---------- */
.config-cards {
  display: grid;
  gap: 0.875rem;
}

.config-cards--package {
  grid-template-columns: repeat(3, 1fr);
}

.config-cards--addons {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 760px) {
  .config-cards--package,
  .config-cards--addons {
    grid-template-columns: 1fr;
  }
}

/* ---------- Card ---------- */
.config-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem 1.25rem 1.1rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
          backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 18px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.6) inset,
    0 4px 18px -10px rgba(15, 23, 42, 0.10);
  transition:
    transform 240ms var(--ease-out),
    border-color 240ms var(--ease-out),
    box-shadow 240ms var(--ease-out),
    background-color 240ms var(--ease-out);
}

.config-card:hover {
  transform: translateY(-2px);
  border-color: rgba(74, 143, 230, 0.30);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.6) inset,
    0 12px 28px -14px rgba(74, 143, 230, 0.30),
    0 4px 18px -10px rgba(15, 23, 42, 0.10);
}

.config-card.is-selected {
  border-color: rgba(74, 143, 230, 0.70);
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 0 0 1px rgba(74, 143, 230, 0.35),
    0 14px 36px -14px rgba(74, 143, 230, 0.40),
    0 4px 18px -10px rgba(15, 23, 42, 0.10);
}

.config-card__badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  padding: 0.22rem 0.55rem;
  background: var(--accent-gradient);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px -4px rgba(74, 143, 230, 0.45);
}

.config-card__check {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent-gradient);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
  box-shadow: 0 4px 12px -4px rgba(74, 143, 230, 0.45);
}

.config-card.is-selected .config-card__check {
  opacity: 1;
  transform: scale(1);
}

.config-card.is-selected .config-card__badge {
  display: none;
}

.config-card__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
  padding-right: 2rem;
}

.config-card__desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted-text);
  margin: 0;
}

.config-card__price {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin-top: auto;
  padding-top: 0.5rem;
  letter-spacing: -0.01em;
}

.config-card__price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-text);
  margin-right: 0.25rem;
  letter-spacing: 0;
}

.config-card.is-selected .config-card__price {
  color: var(--accent);
}

/* ---------- Extras row ---------- */
.config-extras {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.config-extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
          backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 18px;
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.6) inset,
    0 4px 18px -10px rgba(15, 23, 42, 0.10);
  transition: border-color 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}

.config-extra.is-active {
  border-color: rgba(74, 143, 230, 0.45);
  box-shadow:
    0 0 0 1px rgba(74, 143, 230, 0.22),
    0 12px 28px -14px rgba(74, 143, 230, 0.30),
    0 4px 18px -10px rgba(15, 23, 42, 0.10);
}

.config-extra__copy {
  min-width: 0;
}

.config-extra__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.config-extra__desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted-text);
  margin: 0;
}

.config-extra__control {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
}

.config-extra__price {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent-deep);
  white-space: nowrap;
}

/* ---------- Switch (Apple-style) ---------- */
.config-switch {
  width: 48px;
  height: 28px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

.config-switch__track {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.14);
  position: relative;
  transition: background-color 220ms var(--ease-out);
}

.config-switch__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.10);
  transition: transform 240ms var(--ease-out);
}

.config-switch[aria-checked="true"] .config-switch__track {
  background: var(--accent-gradient);
}

.config-switch[aria-checked="true"] .config-switch__thumb {
  transform: translateX(20px);
}

/* ---------- Stepper ---------- */
.config-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem;
  background: rgba(15, 23, 42, 0.05);
  border-radius: 999px;
}

.config-stepper__btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 120ms var(--ease-out);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.05);
}

.config-stepper__btn:hover {
  background: var(--accent);
  color: #fff;
}

.config-stepper__btn:active {
  transform: scale(0.94);
}

.config-stepper__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: #fff;
  color: var(--ink);
}

.config-stepper__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink);
  min-width: 1.5rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 560px) {
  .config-extra {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .config-extra__control {
    width: 100%;
    justify-content: space-between;
  }
}

/* ---------- Sticky Summary ---------- */
.config-summary {
  position: sticky;
  top: 5.5rem;
  align-self: start;
}

.config-summary__panel {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
          backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.7) inset,
    0 24px 60px -24px rgba(74, 143, 230, 0.32),
    0 12px 32px -16px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.config-summary__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(74, 143, 230, 0.10), transparent 60%);
  z-index: 0;
}

.config-summary__panel > * {
  position: relative;
  z-index: 1;
}

.config-summary__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.85rem;
}

.config-summary__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1;
}

.config-summary__prefix {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-text);
  letter-spacing: 0;
}

.config-summary__amount {
  font-size: clamp(2.5rem, 4.4vw, 3.25rem);
  font-variant-numeric: tabular-nums;
}

.config-summary__currency {
  font-size: 1.25rem;
  color: var(--muted-text);
  font-weight: 500;
  letter-spacing: 0;
}

.config-summary__net {
  font-size: 0.8125rem;
  color: var(--muted-text);
  margin: 0.4rem 0 0;
}

.config-summary__divider {
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(15, 23, 42, 0.10) 20%,
    rgba(15, 23, 42, 0.10) 80%,
    transparent);
  margin: 1.25rem 0 1rem;
}

.config-summary__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1rem;
  min-height: 1rem;
}

.config-summary__empty {
  font-size: 0.875rem;
  color: var(--muted-text);
  margin: 0;
  font-style: italic;
}

.config-summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.4;
  animation: configRowFadeIn 320ms var(--ease-out) both;
}

.config-summary__row-label {
  color: var(--ink);
  min-width: 0;
}

.config-summary__row-label small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-text);
  margin-top: 0.1rem;
}

.config-summary__row-value {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.config-summary__row--surcharge .config-summary__row-value {
  color: var(--accent-deep);
}

@keyframes configRowFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.config-summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0;
  margin-bottom: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.10);
}

.config-summary__total-label {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.config-summary__total-value {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.config-summary__cta {
  width: 100%;
  justify-content: center;
}

.config-summary__trust {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1.1rem;
}

.config-summary__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted-text);
}

.config-summary__trust-item svg {
  color: var(--accent);
  flex: 0 0 auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .config-grid {
    grid-template-columns: 1fr;
  }
  .config-summary {
    position: static;
  }
  .config-summary__panel {
    padding: 1.5rem 1.25rem 1.35rem;
  }
}

@media (max-width: 480px) {
  .config-block__header {
    gap: 0.75rem;
  }
  .config-block__num {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .config-card,
  .config-extra,
  .config-switch__track,
  .config-switch__thumb,
  .config-stepper__btn,
  .config-summary__row {
    transition: none !important;
    animation: none !important;
  }
}
