/* =============================================================================
   LeadShield · Main Stylesheet
   ============================================================================
   1. Base & Layout Primitives
   2. Typography Helpers
   3. Buttons & Links
   4. Header / Nav
   5. Hero  (Section 1)
   6. Two Paths  (Section 2)
   7. System / Pillars  (Section 3)
   8. Proof Grid  (Section 4)
   9. Approach Steps  (Section 5)
  10. Operator  (Section 6)
  11. Closer CTA  (Section 7)
  12. Footer
  13. Bridge Overlay + Body Locks
  14. Reveal Animations
  15. Responsive
   ============================================================================= */


/* -----------------------------------------------------------------------------
   1. BASE & LAYOUT PRIMITIVES
   --------------------------------------------------------------------------- */

main {
  display: block;
}

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

section {
  position: relative;
  padding-block: var(--section-y);
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}


/* -----------------------------------------------------------------------------
   2. TYPOGRAPHY HELPERS
   --------------------------------------------------------------------------- */

.label {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 56ch;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
  max-width: 64ch;
}

.section-head__num {
  margin-bottom: var(--space-2);
}

.section-head__title {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin: 0;
  color: var(--text-primary);
  text-wrap: balance;
}

.section-head__title--big {
  font-size: clamp(2.25rem, 5vw, 4rem);
}

.section-head__sub {
  font-size: var(--fs-18);
  line-height: var(--lh-normal);
  color: var(--text-muted);
  margin-top: var(--space-3);
  max-width: 60ch;
}

.section-head--center .section-head__sub {
  margin-inline: auto;
}


/* -----------------------------------------------------------------------------
   3. BUTTONS & LINKS
   --------------------------------------------------------------------------- */

.btn {
  --btn-bg:   var(--text-primary);
  --btn-fg:   var(--bg);
  --btn-ring: transparent;

  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.95rem 1.5rem 0.95rem 1.75rem;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-16);
  letter-spacing: -0.01em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    transform var(--dur-fast) var(--ease-out),
    background var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
  will-change: transform;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn__arrow {
  transition: transform var(--dur-base) var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* Coral variant — Sites */
.btn--coral {
  --btn-bg: var(--accent-coral);
  --btn-fg: #FFFFFF;
}
.btn--coral:hover {
  --btn-bg: #FF7E5E;
}
.btn--coral:focus-visible {
  box-shadow: var(--focus-ring-coral);
}

/* Cyan variant — Filter */
.btn--cyan {
  --btn-bg: var(--accent);
  --btn-fg: #FFFFFF;
}
.btn--cyan:hover {
  --btn-bg: #1FCDE5;
}

.btn--big {
  padding: 1.25rem 2rem 1.25rem 2.25rem;
  font-size: var(--fs-18);
  border-radius: var(--radius-md);
}

/* CTA-Row — Dual button container with strict 50/50 weighting */
.cta-row {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

.cta-row--big {
  justify-content: center;
  margin-top: var(--space-8);
  gap: var(--space-4);
}

/* Text-link with trailing arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
  transition: gap var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}

.link-arrow:hover {
  gap: 0.85rem;
  border-color: var(--text-primary);
}


/* -----------------------------------------------------------------------------
   4. HEADER / NAV
   --------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--accent-coral) 14%, var(--bg)) 0%,
      color-mix(in srgb, var(--accent-coral) 6%, var(--bg)) 35%,
      var(--bg) 50%,
      color-mix(in srgb, var(--accent) 6%, var(--bg)) 65%,
      color-mix(in srgb, var(--accent) 14%, var(--bg)) 100%);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: none;
  isolation: isolate;
}

/* Stärkerer Coral / Cyan Glow links + rechts — gibt dem Header die zwei Produkt-Hälften */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 180% at 0% 50%,
      color-mix(in srgb, var(--accent-coral) 22%, transparent) 0%,
      transparent 65%),
    radial-gradient(ellipse 50% 180% at 100% 50%,
      color-mix(in srgb, var(--accent) 24%, transparent) 0%,
      transparent 65%);
}

/* Untere Kante: coral → neutral → cyan Verlaufslinie */
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--accent-coral) 75%, transparent) 18%,
    color-mix(in srgb, var(--accent-coral) 55%, transparent) 38%,
    var(--border-strong) 50%,
    color-mix(in srgb, var(--accent) 55%, transparent) 62%,
    color-mix(in srgb, var(--accent) 75%, transparent) 82%,
    transparent 100%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: 72px;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 4px 12px;
  border-radius: 8px;
  background: linear-gradient(180deg,
    #0B1929,
    #050d18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 1px 2px rgba(11, 25, 41, 0.18),
    0 6px 18px -8px rgba(11, 25, 41, 0.4);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}

.header__logo:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 2px 4px rgba(11, 25, 41, 0.22),
    0 10px 22px -8px rgba(11, 25, 41, 0.45);
}

.header__logo img {
  height: 34px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}

.header__nav {
  display: flex;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  align-items: center;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-16);
  color: var(--text-primary);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--dur-base) var(--ease-out);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transition: right var(--dur-base) var(--ease-out);
}

.nav-link:hover::after {
  right: 0;
}

.nav-link[data-path="sites"]   { color: var(--accent-coral-ink); font-weight: var(--fw-bold); }
.nav-link[data-path="filter"]  { color: var(--accent-ink);        font-weight: var(--fw-bold); }

.nav-link[data-path="sites"]:hover   { color: #92240F; }
.nav-link[data-path="filter"]:hover  { color: #004F5C; }

.nav-link--cta {
  padding: 0.5rem 1rem;
  background: var(--text-primary);
  color: var(--bg);
  border-radius: var(--radius-sm);
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover {
  background: #1F2530;
  color: var(--bg);
}

.header__menu {
  display: none;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
}
.header__menu span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition:
    transform var(--dur-base) var(--ease-out),
    opacity   var(--dur-base) var(--ease-out);
}

.header__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header__menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* -----------------------------------------------------------------------------
   5. HERO  (Section 1)
   --------------------------------------------------------------------------- */

.hero {
  padding-block: clamp(4rem, 9vw, 7rem) clamp(5rem, 10vw, 9rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 700px at 12% 18%, rgba(255, 107, 74, 0.28), transparent 62%),
    radial-gradient(ellipse 900px 700px at 78% 82%, rgba(0, 184, 212, 0.26), transparent 62%),
    radial-gradient(ellipse 500px 400px at 5% 90%, rgba(255, 107, 74, 0.10), transparent 70%),
    radial-gradient(ellipse 500px 400px at 95% 10%, rgba(0, 184, 212, 0.10), transparent 70%);
  opacity: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero__body {
  max-width: 38rem;
}

.hero__pre {
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

.hero__h1 {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}

.hero__h1-line {
  display: block;
  position: relative;
}

.hero__h1-line--coral {
  color: var(--accent-coral-ink);
}

.hero__h1-line--cyan {
  color: var(--accent-ink);
}

.hero__sub {
  font-family: var(--font-body);
  font-size: var(--fs-18);
  line-height: var(--lh-normal);
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0;
}

/* --- Hero visual: Site card → Pipe → Filter node --- */

.hero__visual {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 28rem;
  margin-inline: auto;
  width: 100%;
}

.visual-pipe {
  display: grid;
  grid-template-rows: 1fr 80px 1fr;
  gap: 0;
  height: 100%;
}

/* Site card */
.visual-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.visual-card__strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 2;
}

.visual-card--site   .visual-card__strip { background: var(--accent-coral); }
.visual-card--filter .visual-card__strip { background: var(--accent); }

.visual-card__label {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  z-index: 2;
}

.visual-card--site .visual-card__label { color: var(--accent-coral-ink); }
.visual-card--filter .visual-card__label { color: var(--accent-ink); }

/* Browser chrome on site card */
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
}
.browser-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
}
.browser-chrome span:nth-child(1) { background: #FF6B5C; }
.browser-chrome span:nth-child(2) { background: #FFBE3D; }
.browser-chrome span:nth-child(3) { background: #4ECC57; }

.browser-chrome--mini { padding: 7px 10px; }
.browser-chrome--mini span { width: 7px; height: 7px; }

.browser-url {
  flex: 1;
  margin-left: 8px;
  height: 22px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  padding-inline: 10px;
}

.browser-body {
  padding: 22px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.skel {
  background: var(--bg-raised);
  border-radius: 4px;
}
.skel--h { height: 14px; width: 60%; background: var(--text-primary); }
.skel--p { height: 8px; width: 100%; }
.skel--80 { width: 78%; }

.skel-btn {
  margin-top: 10px;
  height: 28px;
  width: 110px;
  background: var(--accent-coral);
  border-radius: 6px;
}

/* Pipe between cards */
.visual-line {
  width: 100%;
  height: 100%;
  display: block;
}

.visual-line__pulse {
  /* opacity + cy animated by GSAP initPulseDot() — no CSS animation here */
  opacity: 0;
}

/* Filter node card */
.visual-card--filter {
  padding: 0;
}

.filter-node {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.filter-node__title {
  color: var(--accent-ink);
  margin-bottom: 6px;
  font-size: 10px;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-primary);
  padding: 8px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.filter-row--out {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: var(--fw-medium);
}

.filter-row__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  flex-shrink: 0;
}
.filter-row__dot--in    { background: var(--accent-coral); }
.filter-row__dot--check { background: #4ECC57; }
.filter-row__dot--out   { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }


/* -----------------------------------------------------------------------------
   6. TWO PATHS  (Section 2)
   Equal-Weighting Cards: Sites + Filter, exakt symmetrisch
   --------------------------------------------------------------------------- */

.two-paths {
  background: transparent;
}

.paths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.path-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 3.5vw, 3rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition:
    transform var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.path-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lift);
}

.path-card__strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.path-card--sites  .path-card__strip { background: var(--accent-coral); }
.path-card--filter .path-card__strip { background: var(--accent); }

.path-card__num { color: var(--text-muted); }
.path-card--sites  .path-card__num { color: var(--accent-coral-ink); }
.path-card--filter .path-card__num { color: var(--accent-ink); }

.path-card__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-snug);
  color: var(--text-primary);
  margin: 0;
  text-wrap: balance;
}

.path-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  color: var(--text-muted);
  font-size: var(--fs-16);
  line-height: var(--lh-relaxed);
  flex: 1;
}

.path-card__list li {
  position: relative;
  padding-left: 1.25rem;
}

.path-card__list li::before {
  content: '';
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--text-primary);
  border-radius: 1px;
}
.path-card--sites  .path-card__list li::before { background: var(--accent-coral); }
.path-card--filter .path-card__list li::before { background: var(--accent); }

.path-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-16);
  margin-top: var(--space-2);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  align-self: flex-start;
  transition: gap var(--dur-base) var(--ease-out);
}

.path-card--sites  .path-card__link { color: var(--accent-coral-ink); }
.path-card--filter .path-card__link { color: var(--accent-ink); }

.path-card__link:hover { gap: 0.85rem; }


/* -----------------------------------------------------------------------------
   7. SYSTEM / PILLARS  (Section 3)
   --------------------------------------------------------------------------- */

.system {
  position: relative;
  isolation: isolate;
}

.system::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 800px 500px at 50% 10%, var(--accent-soft), transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.pillar {
  padding: var(--space-4) var(--space-3);
  border-top: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.pillar__num {
  color: var(--text-primary);
  font-weight: var(--fw-bold);
}

.pillar__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-24);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-snug);
  color: var(--text-primary);
  margin: 0;
}

.pillar__body {
  color: var(--text-muted);
  font-size: var(--fs-16);
  line-height: var(--lh-relaxed);
  margin: 0;
}


/* -----------------------------------------------------------------------------
   8. PROOF GRID  (Section 4)
   --------------------------------------------------------------------------- */

.proof {
  background: transparent;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
}

.proof-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 0 0 var(--space-3);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

.proof-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.proof-card__visual {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--bg-raised);
  overflow: hidden;
}

.proof-card__shot {
  position: absolute;
  inset: 28px 14px 14px;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-raised) 100%);
  border-radius: 4px;
}

.proof-card__shot[data-shot="dachdecker"] { background: linear-gradient(165deg, #1a1410 0%, #2d2018 40%, #4a2b1a 100%); }
.proof-card__shot[data-shot="sanitaer"]   { background: linear-gradient(165deg, #0e2a3a 0%, #1b4862 50%, #2b7493 100%); }
.proof-card__shot[data-shot="elektriker"] { background: linear-gradient(165deg, #0a0a0a 0%, #1a1611 60%, #2a220e 100%); }

/* ── Mini-Mockup: shared frame ── */
.proof-card__shot {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 10px 12px 12px;
  gap: 6px;
  color: #fff;
  font-family: var(--font-display);
}
.mk-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 7.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mk-logo {
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mk-logo i {
  font-style: normal;
  opacity: 0.55;
  font-weight: 400;
  letter-spacing: 0.08em;
}
.mk-menu { display: flex; flex-direction: column; gap: 2px; }
.mk-menu i { width: 10px; height: 1px; background: rgba(255, 255, 255, 0.55); display: block; }

/* ── Mockup 1 — Dachdecker (warm hero + rain on hover) ── */
.proof-card__shot[data-shot="dachdecker"] {
  background:
    linear-gradient(165deg, rgba(15, 10, 8, 0.72) 0%, rgba(30, 18, 10, 0.55) 55%, rgba(60, 25, 10, 0.4) 100%),
    url('https://images.unsplash.com/photo-1605450099279-533bd3ce379a?w=800&q=70&fm=jpg&auto=format&fit=crop') center/cover no-repeat;
}
.mk1-logo { color: #f1d4a8; }
.mk1-hero { margin-top: auto; position: relative; z-index: 2; }
.mk1-title {
  font-size: clamp(13px, 1.5vw, 19px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.mk1-cta {
  display: inline-block;
  margin-top: 7px;
  background: #FF6B4A;
  color: #1a0807;
  font-size: 8px;
  padding: 4px 8px;
  border-radius: 2px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  transition: transform 200ms, box-shadow 200ms;
}
.proof-card:hover .mk1-cta {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -2px rgba(255, 107, 74, 0.6);
}
.mk1-roof {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 30%;
  background:
    repeating-linear-gradient(45deg,
      rgba(0, 0, 0, 0.18) 0 4px,
      transparent 4px 9px),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
  clip-path: polygon(0 35%, 12% 18%, 28% 35%, 42% 12%, 58% 32%, 74% 16%, 88% 30%, 100% 18%, 100% 100%, 0 100%);
  pointer-events: none;
}
.mk1-rain {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 250ms ease;
}
.mk1-rain i {
  position: absolute;
  top: -20%;
  width: 1px;
  height: 14px;
  background: linear-gradient(180deg, transparent, rgba(220, 240, 255, 0.7));
  animation: mk1-rain-fall 1.2s linear infinite;
}
.mk1-rain i:nth-child(1) { left: 8%;  animation-delay: 0.0s; }
.mk1-rain i:nth-child(2) { left: 22%; animation-delay: 0.25s; }
.mk1-rain i:nth-child(3) { left: 36%; animation-delay: 0.5s; }
.mk1-rain i:nth-child(4) { left: 49%; animation-delay: 0.1s; }
.mk1-rain i:nth-child(5) { left: 62%; animation-delay: 0.35s; }
.mk1-rain i:nth-child(6) { left: 76%; animation-delay: 0.6s; }
.mk1-rain i:nth-child(7) { left: 88%; animation-delay: 0.15s; }
.mk1-rain i:nth-child(8) { left: 95%; animation-delay: 0.45s; }
.proof-card:hover .mk1-rain { opacity: 1; }
@keyframes mk1-rain-fall { to { transform: translateY(180%); } }

/* ── Mockup 2 — Sanitär (chips + water-flow on hover) ── */
.proof-card__shot[data-shot="sanitaer"] {
  background:
    linear-gradient(165deg, rgba(8, 22, 34, 0.78) 0%, rgba(15, 50, 75, 0.6) 55%, rgba(30, 95, 130, 0.4) 100%),
    url('https://images.unsplash.com/photo-1765766556463-180500e61ea8?w=800&q=70&fm=jpg&auto=format&fit=crop') center/cover no-repeat;
}
.mk2-logo { color: #d4ecf7; }
.mk2-phone {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(180, 225, 240, 0.4);
  color: #e6f4fa;
  font-size: 7.5px;
  padding: 2px 6px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.mk2-h {
  margin-top: 6px;
  font-size: clamp(12px, 1.4vw, 17px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #fff;
}
.mk2-chips {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.mk2-chips span {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(180, 225, 240, 0.35);
  color: #e6f4fa;
  font-size: 7.5px;
  padding: 3px 7px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transform: translateY(0);
  transition: transform 400ms cubic-bezier(.2,.7,.3,1), background 200ms, border-color 200ms;
}
.mk2-chips span:nth-child(1) { transition-delay: 0ms; }
.mk2-chips span:nth-child(2) { transition-delay: 70ms; }
.mk2-chips span:nth-child(3) { transition-delay: 140ms; }
.proof-card:hover .mk2-chips span {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(180, 225, 240, 0.65);
  transform: translateY(-2px);
}
.mk2-pipe {
  margin-top: auto;
  height: 4px;
  background: linear-gradient(180deg, #5fb5d9, #1f5e80);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}
.mk2-drop {
  position: absolute;
  top: 0;
  left: -25%;
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #aeeaff 50%, transparent);
}
.proof-card:hover .mk2-drop {
  animation: mk2-flow 1.3s linear infinite;
}
@keyframes mk2-flow { to { transform: translateX(500%); } }

/* ── Mockup 3 — Elektriker (service grid + bolt-trace on hover) ── */
.proof-card__shot[data-shot="elektriker"] {
  background:
    linear-gradient(165deg, rgba(5, 5, 5, 0.85) 0%, rgba(20, 18, 12, 0.7) 50%, rgba(40, 32, 14, 0.55) 100%),
    url('https://images.unsplash.com/photo-1758101755915-462eddc23f57?w=800&q=70&fm=jpg&auto=format&fit=crop') center/cover no-repeat;
}
.mk3-logo { color: #F5C518; }
.mk3-status {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.06em;
}
.mk3-led {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5be072;
  box-shadow: 0 0 4px #5be072;
  animation: mk3-led 1.6s ease-in-out infinite;
}
@keyframes mk3-led { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.mk3-h {
  font-size: clamp(11px, 1.3vw, 15px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff;
  margin-top: 2px;
}
.mk3-grid {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.mk3-cell {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 197, 24, 0.20);
  color: #F5C518;
  font-size: 8.5px;
  letter-spacing: 0.06em;
  padding: 6px 7px;
  font-weight: 600;
  border-radius: 2px;
  transition: border-color 200ms, background 200ms, transform 200ms;
}
.mk3-cell:nth-child(1) { transition-delay: 0ms; }
.mk3-cell:nth-child(2) { transition-delay: 60ms; }
.mk3-cell:nth-child(3) { transition-delay: 120ms; }
.mk3-cell:nth-child(4) { transition-delay: 180ms; }
.proof-card:hover .mk3-cell {
  border-color: rgba(245, 197, 24, 0.6);
  background: rgba(245, 197, 24, 0.07);
}
.mk3-bolt {
  position: absolute;
  right: 14%;
  top: 32%;
  width: 16px;
  height: 32px;
  fill: rgba(245, 197, 24, 0.15);
  stroke: #F5C518;
  stroke-width: 1.4;
  stroke-linejoin: round;
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  opacity: 0;
  pointer-events: none;
}
.proof-card:hover .mk3-bolt {
  animation: mk3-bolt 720ms cubic-bezier(.4, .0, .2, 1) forwards;
}
@keyframes mk3-bolt {
  0%   { stroke-dashoffset: 90; opacity: 0; filter: drop-shadow(0 0 0 transparent); }
  35%  { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; filter: drop-shadow(0 0 6px rgba(245, 197, 24, 0.8)); }
}

.proof-card__visual--filter {
  background: var(--text-primary);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  justify-content: center;
}

.proof-card__filter-label {
  color: var(--accent-glow);
  font-size: 10px;
  margin-bottom: var(--space-1);
}

.filter-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-mini__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #FFFFFF;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot--in    { background: var(--accent-coral); }
.dot--check { background: #4ECC57; }
.dot--out   { background: var(--accent-glow); box-shadow: 0 0 8px var(--accent-glow); }

.proof-card__tag {
  color: var(--text-faint);
  padding: var(--space-3) var(--space-3) var(--space-1);
}

.proof-card--filter .proof-card__tag { color: var(--accent-ink); }

/* ─────────────────────────────────────────────────────────────────
   PROOF · Filter row  (separator + dark mockup + "soon" card)
   ───────────────────────────────────────────────────────────── */

.proof-divider {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-8) 0 var(--space-4);
  --divider-color: var(--accent-ink);
}
.proof-divider__line {
  flex: 1 1 0;
  min-width: 40px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    color-mix(in srgb, var(--divider-color) 65%, transparent) 20%,
    color-mix(in srgb, var(--divider-color) 65%, transparent) 80%,
    transparent 100%);
}
.proof-divider__label {
  color: var(--divider-color);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.proof-divider__label--coral {
  color: var(--accent-coral-ink);
}
/* Coral variant: tint lines coral too */
.proof-divider:has(.proof-divider__label--coral) {
  --divider-color: var(--accent-coral-ink);
}

/* Match the website row sizing (auto-fit ~3 columns) so cards are same width */
.proof-grid--filter {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

/* ── Mockup 4 — Filter Lead-Funnel (simple visualization) ── */
.proof-card__shot[data-shot="filter"] {
  position: absolute;
  inset: 28px 14px 14px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 229, 255, 0.18) 0%, transparent 60%),
    linear-gradient(165deg, #0a1722 0%, #0b1929 55%, #08121c 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 18px 16px;
  gap: 6px;
  color: #fff;
  text-align: center;
}
.mkf-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0, 229, 255, 0.16) 1px, transparent 0);
  background-size: 14px 14px;
  opacity: 0.35;
  pointer-events: none;
}
.mkf-label {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  position: relative;
  z-index: 1;
}
.mkf-row {
  display: flex;
  gap: 6px;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.mkf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
  transition: transform 240ms ease, opacity 240ms ease;
}
.mkf-dot--bad { background: rgba(255, 107, 74, 0.55); }
.mkf-dot--good {
  background: #00E5FF;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.7);
}

.mkf-funnel {
  width: 70%;
  height: 38px;
  margin: 2px 0 0;
  position: relative;
  z-index: 1;
}
.mkf-filter-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 8px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: #00E5FF;
  pointer-events: none;
  z-index: 2;
}

/* Hover: inbound dots jitter; output dots pulse brighter; bad ones fade */
.proof-card--filter:hover .mkf-row--in .mkf-dot {
  animation: mkf-jitter 1.2s ease-in-out infinite;
}
.proof-card--filter:hover .mkf-row--in .mkf-dot:nth-child(2n) { animation-delay: 0.15s; }
.proof-card--filter:hover .mkf-row--in .mkf-dot:nth-child(3n) { animation-delay: 0.3s; }
.proof-card--filter:hover .mkf-row--in .mkf-dot--bad { opacity: 0.35; }
@keyframes mkf-jitter {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}
.proof-card--filter:hover .mkf-row--out .mkf-dot {
  animation: mkf-pulse 1.2s ease-in-out infinite;
}
.proof-card--filter:hover .mkf-row--out .mkf-dot:nth-child(2) { animation-delay: 0.2s; }
.proof-card--filter:hover .mkf-row--out .mkf-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes mkf-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(0, 229, 255, 0.7); transform: scale(1); }
  50%      { box-shadow: 0 0 14px rgba(0, 229, 255, 1); transform: scale(1.15); }
}
.proof-card--filter:hover .mkf-funnel path {
  stroke: #00E5FF;
  filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.6));
}
.mkf-funnel path { transition: filter 300ms; }

/* ── Mockup 5 — "Mehr Funnels in Produktion" (blank dark card) ── */
.proof-card__shot[data-shot="soon"] {
  position: absolute;
  inset: 28px 14px 14px;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(0, 229, 255, 0.10) 0%, transparent 65%),
    linear-gradient(165deg, #0a1722 0%, #0b1929 55%, #08121c 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
}
.mks-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0, 229, 255, 0.12) 1px, transparent 0);
  background-size: 14px 14px;
  opacity: 0.3;
  pointer-events: none;
  transition: opacity 350ms ease;
}
.mks-title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold, 700);
  font-size: clamp(14px, 1.6vw, 19px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  text-align: center;
  position: relative;
  z-index: 1;
  text-wrap: balance;
}
.proof-card--soon:hover .mks-grid { opacity: 0.55; }

.proof-card--soon .proof-card__tag { color: var(--accent-ink); }

.browser-chrome--dark { background: #0a1722; border-color: rgba(255, 255, 255, 0.08); }
.browser-chrome--dark span { background: rgba(255, 255, 255, 0.18); }

@media (max-width: 720px) {
  .proof-grid--filter { grid-template-columns: 1fr; }
  .proof-divider { margin-top: var(--space-6); }
}

.proof-card__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-18);
  letter-spacing: var(--ls-snug);
  color: var(--text-primary);
  margin: 0;
  padding: 0 var(--space-3);
}


/* -----------------------------------------------------------------------------
   9. APPROACH STEPS  (Section 5)
   --------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  counter-reset: step;
  list-style: none;
}

.step {
  padding: var(--space-4) var(--space-3);
  border-top: 2px solid var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  position: relative;
}

.step__num {
  font-size: var(--fs-14);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
}

.step__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: var(--ls-snug);
  color: var(--text-primary);
  margin: 0;
}

.step__body {
  color: var(--text-muted);
  font-size: var(--fs-16);
  line-height: var(--lh-relaxed);
  margin: 0;
}


/* -----------------------------------------------------------------------------
   10. OPERATOR  (Section 6)
   --------------------------------------------------------------------------- */

.operator {
  background: transparent;
}

.operator__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.operator__photo-frame {
  aspect-ratio: 4 / 5;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.operator__photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, var(--accent-coral-soft), transparent 60%);
  pointer-events: none;
}

/* Suppress the coral overlay when the frame contains the comparison slider */
.operator__photo-frame:has(.ba-slider)::after { display: none; }

.operator__photo-placeholder {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: clamp(3rem, 6vw, 6rem);
  letter-spacing: -0.04em;
  color: var(--text-primary);
  text-align: center;
  position: relative;
  z-index: 1;
}

.operator__photo-placeholder small {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 8px;
}

.operator__pre {
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

.operator__title {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--text-primary);
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}

.operator__lead {
  font-size: var(--fs-18);
  line-height: var(--lh-normal);
  color: var(--text-muted);
  margin: 0 0 var(--space-4);
  max-width: 38rem;
}


/* -----------------------------------------------------------------------------
   11. CLOSER CTA  (Section 7)
   --------------------------------------------------------------------------- */

.closer {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding-block: var(--section-y-lg);
  overflow: hidden;
}

.closer__ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 700px 500px at 25% 50%, var(--accent-coral-soft), transparent 65%),
    radial-gradient(ellipse 700px 500px at 75% 50%, var(--accent-soft), transparent 65%);
  opacity: 0.85;
}

.closer__inner {
  max-width: 56rem;
}

.closer__pre {
  margin-bottom: var(--space-3);
}

.closer__title {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--text-primary);
  margin: 0;
  text-wrap: balance;
}


/* -----------------------------------------------------------------------------
   12. FOOTER
   --------------------------------------------------------------------------- */

.site-footer {
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.7);
  padding-block: var(--space-12) var(--space-6);
  position: relative;
}

.site-footer .container { color: inherit; }

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
  width: 160px;
  height: auto;
  margin-bottom: var(--space-3);
}

.footer__tag {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  color: #FFFFFF;
  font-size: var(--fs-18);
  margin: 0 0 var(--space-3);
  max-width: 22rem;
  line-height: var(--lh-snug);
}

.footer__address {
  font-style: normal;
  font-size: var(--fs-14);
  color: rgba(255, 255, 255, 0.55);
  line-height: var(--lh-relaxed);
}

.footer__head {
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--space-3);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__list a {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-16);
  transition: color var(--dur-base) var(--ease-out);
}

.footer__list a:hover { color: var(--accent-glow); }

.footer__micro {
  padding-top: var(--space-4);
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
  text-align: center;
}


/* -----------------------------------------------------------------------------
   13. BRIDGE OVERLAY + BODY LOCKS
   --------------------------------------------------------------------------- */

.bridge-overlay {
  position: fixed;
  inset: 0;
  background: #090909;
  z-index: var(--z-modal);
  opacity: 0;
  pointer-events: none;
  display: none;
}

body.menu-open { overflow: hidden; }


/* -----------------------------------------------------------------------------
   14. REVEAL ANIMATIONS
   --------------------------------------------------------------------------- */

[data-anim] {
  /* sichtbar by default — JS hängt .is-revealed an, sobald IntersectionObserver triggert */
}

.js-on [data-anim="reveal-up"] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
  transition-delay: calc(var(--index, 0) * 90ms);
}

.js-on [data-anim="reveal-up"].is-revealed {
  opacity: 1;
  transform: translateY(0);
}


/* -----------------------------------------------------------------------------
   15. RESPONSIVE
   --------------------------------------------------------------------------- */

@media (max-width: 1024px) {

  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .hero__visual {
    max-width: 24rem;
    margin-inline: 0;
  }

  .operator__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: var(--space-4);
  }

  .pillars,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {

  .header__nav { display: none; }
  .header__menu { display: inline-flex; }

  .header__nav--open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: var(--space-4) var(--container-pad) var(--space-6);
    z-index: var(--z-overlay);
    overflow-y: auto;
    animation: menuSlide var(--dur-base) var(--ease-out) both;
  }

  @keyframes menuSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .header__nav--open .nav-link {
    font-size: var(--fs-24);
    font-weight: var(--fw-bold);
    padding: 0.9rem 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .header__nav--open .nav-link:first-child { border-top: 1px solid var(--border); }

  .header__nav--open .nav-link--cta {
    margin-top: var(--space-4);
    width: auto;
    background: var(--text-primary);
    color: var(--bg);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    border: none;
    font-size: var(--fs-18);
    text-align: center;
  }

  .hero {
    padding-block: var(--space-8) var(--space-12);
  }

  .hero__visual { max-width: 100%; }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-row .btn { justify-content: space-between; }

  .paths-grid {
    grid-template-columns: 1fr;
  }

  .pillars,
  .steps {
    grid-template-columns: 1fr;
  }

  .operator__grid {
    grid-template-columns: 1fr;
  }

  .operator__photo {
    max-width: 24rem;
    margin-inline: auto;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .closer__title { font-size: clamp(2rem, 9vw, 3rem); }
}

@media (max-width: 420px) {

  .header__logo img { height: 28px; }
  .site-header { height: 64px; }
  .header__inner { height: 64px; }

  .hero__h1 {
    font-size: clamp(2.25rem, 11vw, 3.5rem);
  }

  .visual-pipe { grid-template-rows: 1fr 60px 1fr; }
}


/* -----------------------------------------------------------------------------
   N. BEFORE / AFTER SLIDER  (Operator teaser — homepage Section 6)
   Mirrors the slider on /about/ — same markup, same JS in scripts/main.js.
   Draggable vertical split between two images, pointer + touch + keyboard.
   --position is the slider position in percent (0–100), set by JS.
   --------------------------------------------------------------------------- */

.ba-slider {
  --position: 50%;
  --line-color: var(--accent);
  --handle-size: 40px;

  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}

.ba-slider:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(0, 184, 212, 0.55);
}

.ba-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

.ba-slider__img--overlay {
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--position)) 0 0);
  will-change: clip-path;
  transition: clip-path var(--dur-base) var(--ease-out);
}

.ba-slider__line,
.ba-slider__handle {
  transition: left var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}

.ba-slider.is-dragging .ba-slider__img--overlay,
.ba-slider.is-auto .ba-slider__img--overlay,
.ba-slider.is-dragging .ba-slider__line,
.ba-slider.is-auto .ba-slider__line,
.ba-slider.is-dragging .ba-slider__handle,
.ba-slider.is-auto .ba-slider__handle {
  transition: none;
}

.ba-slider__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 2px;
  margin-left: -1px;
  background: var(--line-color);
  box-shadow: 0 0 12px rgba(0, 184, 212, 0.45);
  pointer-events: none;
  will-change: left;
}

.ba-slider__handle {
  position: absolute;
  top: 50%;
  left: var(--position);
  width: var(--handle-size);
  height: var(--handle-size);
  margin: calc(var(--handle-size) / -2) 0 0 calc(var(--handle-size) / -2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 2px solid var(--line-color);
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow:
    0 1px 2px rgba(11, 14, 20, 0.10),
    0 8px 24px -8px rgba(11, 14, 20, 0.20),
    0 0 0 0 rgba(0, 184, 212, 0.0);
  cursor: ew-resize;
  pointer-events: none;
  transition:
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
  will-change: left, transform;
  font-family: var(--font-mono);
}

.ba-slider__handle::before {
  content: "";
  position: absolute;
  inset: -8px;
}

.ba-slider:hover .ba-slider__handle,
.ba-slider:focus-visible .ba-slider__handle {
  box-shadow:
    0 1px 2px rgba(11, 14, 20, 0.10),
    0 10px 28px -8px rgba(11, 14, 20, 0.25),
    0 0 0 6px rgba(0, 184, 212, 0.18);
  transform: scale(1.05);
}

.ba-slider.is-dragging .ba-slider__handle {
  transform: scale(0.96);
}

@media (max-width: 720px) {
  .ba-slider { --handle-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .ba-slider__handle,
  .ba-slider__line { transition: none !important; }
}
