/* ============================================================
   SANILOC GmbH — Design System
   Hybrid: dunkler Hero/CTA + helle, ruhige Content-Sektionen
   CI: Orange #D94F1A · Ink #0F1A24 (offizielle Branding-Broschüre)
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --orange:       #D94F1A;
  --orange-600:   #C24517;
  --orange-300:   #F0764A;
  --ink:          #0F1A24;
  --ink-700:      #16242F;
  --ink-600:      #1D2D3A;

  /* Neutrals (aus CI) */
  --c-2b:         #2B2B2B;
  --c-3a:         #3A3A3A;
  --c-6b:         #6B6B6B;
  --c-b9:         #B9B9B9;
  --c-e6:         #E6E6E6;
  --paper:        #F7F6F4;
  --white:        #FFFFFF;

  /* Semantic */
  --text:         var(--ink);
  --text-muted:   #51606B;
  --line:         #E4E2DD;
  --line-dark:    rgba(255,255,255,.12);

  /* Type */
  --font-display: 'Saira', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Rhythm */
  --pad:          clamp(20px, 5vw, 64px);
  --max:          1280px;
  --max-text:     68ch;
  --radius:       14px;
  --radius-sm:    10px;

  /* Motion */
  --ease:         cubic-bezier(.22, 1, .36, 1);
  --dur:          .5s;

  /* Elevation */
  --shadow-sm:    0 1px 2px rgba(15,26,36,.06), 0 4px 12px rgba(15,26,36,.05);
  --shadow-md:    0 8px 24px rgba(15,26,36,.10), 0 2px 6px rgba(15,26,36,.06);
  --shadow-lg:    0 24px 60px rgba(15,26,36,.16);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: #fff; }

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

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(72px, 9vw, 144px); }
.section--tight { padding-block: clamp(56px, 6vw, 96px); }
.dark { background: var(--ink); color: #fff; }
.dark .eyebrow { color: var(--orange-300); }
.dark .lead, .dark .muted { color: rgba(255,255,255,.72); }

/* ---------- Typography ---------- */
.display, h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; }
.h1 { font-size: clamp(40px, 6.5vw, 88px); line-height: .98; }
.h2 { font-size: clamp(32px, 4.4vw, 60px); }
.h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.01em; line-height: 1.1; }
.balance { text-wrap: balance; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-weight: 600;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-600);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

.lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: var(--text-muted); max-width: var(--max-text); text-wrap: pretty; }
.muted { color: var(--text-muted); }
.orange { color: var(--orange); }
em.italic { font-style: italic; font-family: var(--font-body); font-weight: 300; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 100px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: transform .25s var(--ease), background .2s, color .2s, box-shadow .25s;
  will-change: transform;
}
.btn svg { width: 18px; height: 12px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(217,79,26,.32); }
.btn-primary:hover { background: var(--orange-600); box-shadow: 0 10px 28px rgba(217,79,26,.40); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-600); }
.btn-ghost { border: 1.5px solid rgba(15,26,36,.18); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.dark .btn-ghost { border-color: rgba(255,255,255,.25); color: #fff; }
.dark .btn-ghost:hover { background: #fff; color: var(--ink); }

/* ---------- Header / Nav ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: 72px; display: flex; align-items: center;
  transition: background .35s var(--ease), backdrop-filter .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(247,246,244,.82);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom-color: var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
/* Default state = transparent header over the dark hero → light text.
   .scrolled state = light blurred bg → dark text. */
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: .04em; color: #fff; transition: color .2s; }
.brand img { width: 26px; height: 26px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 9px 14px; font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.9);
  border-radius: 8px; transition: color .2s, background .2s;
}
.nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav a[aria-current="page"] { color: var(--orange-300); font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.phone-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: #fff; transition: color .2s; }
.phone-link svg { width: 16px; height: 16px; color: var(--orange-300); transition: color .2s; }

/* Scrolled → dark text on light header */
.header.scrolled .brand { color: var(--ink); }
.header.scrolled .nav a { color: var(--ink); }
.header.scrolled .nav a:hover { background: rgba(15,26,36,.05); color: var(--ink); }
.header.scrolled .nav a[aria-current="page"] { color: var(--orange-600); }
.header.scrolled .phone-link { color: var(--ink); }
.header.scrolled .phone-link svg { color: var(--orange); }
.emergency {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 100px; background: var(--orange); color: #fff;
  font-size: 14px; font-weight: 600; transition: background .2s, transform .2s;
}
.emergency:hover { background: var(--orange-600); transform: translateY(-1px); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: .3s var(--ease); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: #fff; transition: .3s var(--ease); }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.header.scrolled .burger span, .header.scrolled .burger span::before, .header.scrolled .burger span::after { background: var(--ink); }
/* Menu open → dark fullscreen overlay, keep bars white */
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before, body.menu-open .burger span::after { background: #fff; top: 0; }
body.menu-open .burger span::before { transform: rotate(45deg); }
body.menu-open .burger span::after { transform: rotate(-45deg); }

/* Mobile menu */
.mobile-nav {
  position: fixed; inset: 72px 0 0 0; z-index: 99;
  background: var(--ink); color: #fff;
  display: flex; flex-direction: column; padding: 32px var(--pad);
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
body.menu-open .mobile-nav { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav a { padding: 18px 0; font-family: var(--font-display); font-size: 28px; font-weight: 600; border-bottom: 1px solid var(--line-dark); }
.mobile-nav .btn { margin-top: 28px; }

/* ---------- Hero (dark, cinematic) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; background: #0B1420; color: #fff; overflow: hidden; padding-top: 72px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(55% 70% at 80% 28%, rgba(217,79,26,.20), transparent 62%),
  radial-gradient(45% 55% at 12% 92%, rgba(217,79,26,.10), transparent 60%),
  linear-gradient(180deg, #0B1420 0%, #0F1A24 55%, #0B141E 100%); }
/* mouse-following glow */
.hero-glow { position: absolute; top: 30%; left: 72%; width: 60vmax; height: 60vmax; transform: translate(-50%,-50%) translate(var(--mx,0),var(--my,0)); will-change: transform;
  background: radial-gradient(circle, rgba(217,79,26,.28), rgba(217,79,26,.06) 38%, transparent 60%); filter: blur(20px); transition: transform .5s cubic-bezier(.16,1,.3,1); }
/* subtle blueprint grid */
.hero-grid-lines { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 60% at 70% 40%, #000 30%, transparent 80%); }
.hero-mark { position: absolute; right: -6%; top: 50%; font-family: var(--font-display); font-weight: 800; font-size: 62vh; line-height: 1; color: #fff; opacity: .045; user-select: none;
  transform: translateY(-50%) translateY(var(--py,0)) translate(var(--mx,0),var(--my,0)); will-change: transform; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(40px, 8vh, 96px); }
.hero-title { font-size: clamp(48px, 9vw, 132px); line-height: .9; letter-spacing: -.03em; margin: 26px 0 0; }
.hero-title .row { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .row .t { display: block; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: end; margin-top: clamp(32px, 5vw, 56px); }
.hero-desc { color: rgba(255,255,255,.78); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
/* trust list (replaces vanity numbers) */
.hero-trust { display: flex; flex-direction: column; gap: 16px; }
.hero-trust li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.hero-trust .hm { width: 26px; height: 26px; border-radius: 8px; background: rgba(217,79,26,.16); color: var(--orange-300); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.hero-trust .hm svg { width: 13px; height: 13px; }
.hero-trust li:hover .hm { background: var(--orange); color: #fff; transform: scale(1.1); }
.hero-trust b { display: block; font-weight: 600; font-size: 15.5px; }
.hero-trust span { display: block; font-size: 13px; color: rgba(255,255,255,.55); margin-top: 2px; }
.scroll-cue { position: absolute; left: var(--pad); bottom: 24px; z-index: 2; display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.scroll-cue i { width: 1px; height: 36px; background: linear-gradient(rgba(255,255,255,.6), transparent); display: block; transform-origin: top; animation: scrollCue 2.2s var(--ease) infinite; }
@keyframes scrollCue { 0%,100% { transform: scaleY(.4); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- Hero entrance ---------- */
.hero-title .row .t { transform: translateY(115%); opacity: 0; animation: heroRise 1s cubic-bezier(.16,1,.3,1) forwards; animation-delay: calc(.15s + var(--i) * .11s); }
.hero-in { opacity: 0; transform: translateY(16px); animation: heroFade .9s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * .11s); }
@keyframes heroRise { to { transform: none; opacity: 1; } }
@keyframes heroFade { to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-title .row .t, .hero-in { animation: none; opacity: 1; transform: none; }
  .hero-glow, .hero-mark { transition: none; }
  .scroll-cue i { animation: none; }
}

/* ---------- Marquee / trust bar ---------- */
.marquee { background: var(--ink); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 34px); color: rgba(255,255,255,.9); }
.marquee-track .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Section header ---------- */
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .h2 { margin-top: 18px; }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- Services (light cards) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px 30px; display: flex; flex-direction: column; min-height: 320px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card { position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card .ico { width: 52px; height: 52px; border-radius: 12px; background: rgba(217,79,26,.10); color: var(--orange); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.card:hover .ico { background: var(--orange); color: #fff; transform: scale(1.06) rotate(-3deg); }
.card .ico svg { width: 26px; height: 26px; }
.card .num { font-family: var(--font-display); font-size: 13px; letter-spacing: .1em; color: var(--c-b9); margin-bottom: 6px; }
.card h3 { font-size: 24px; }
.card p { margin-top: 12px; color: var(--text-muted); font-size: 15px; flex: 1; }
.card .more { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--orange-600); }
.card .more svg { width: 16px; height: 11px; transition: transform .25s var(--ease); }
.card:hover .more svg { transform: translateX(5px); }

/* ---------- Process (dark) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); margin-top: 8px; }
.step { display: flex; flex-direction: column; padding: 36px 26px 40px; border-right: 1px solid var(--line-dark); position: relative; transition: background .35s var(--ease); }
.step:last-child { border-right: none; }
.step::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.step:hover { background: rgba(255,255,255,.03); }
.step:hover::before { transform: scaleX(1); }
.step .n { font-family: var(--font-display); font-weight: 700; font-size: 56px; color: var(--orange); line-height: 1; transition: transform .4s var(--ease); }
.step:hover .n { transform: translateY(-4px); }
.step h3 { font-size: 20px; margin-top: 18px; color: #fff; }
.step p { margin-top: 10px; font-size: 14px; color: rgba(255,255,255,.65); }
.step .t { margin-top: auto; padding-top: 18px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-300); font-weight: 600; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(2n) { border-right: none; } .step { border-bottom: 1px solid var(--line-dark); min-width: 0; } .step h3, .step .t { overflow-wrap: anywhere; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } .step { border-right: none; } }

/* ---------- Leistungs-Hub (sanierung) ---------- */
/* A clean service diagram, NOT a faux-photo: a central Saniloc core with six
   trade nodes on a ring. Hovering / focusing / tapping a node lights its
   connector line and updates the detail panel — "alles aus einer Hand". */
.hub {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 340px);
  gap: clamp(24px, 4vw, 56px); align-items: center;
  margin: 0 auto clamp(40px, 6vw, 64px); max-width: 940px;
}
.hub-stage {
  position: relative; width: 100%; max-width: 460px; aspect-ratio: 1 / 1;
  margin: 0 auto; justify-self: center;
}
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-lines line {
  stroke: rgba(255,255,255,.16); stroke-width: 1.4; stroke-linecap: round;
  transition: stroke .3s var(--ease), stroke-width .3s var(--ease);
}
.hub-lines line.is-active { stroke: var(--orange); stroke-width: 2.4; }
.hub-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 33%; aspect-ratio: 1; border-radius: 50%; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(120% 120% at 30% 22%, var(--orange-300), var(--orange));
  color: #fff; box-shadow: 0 14px 40px rgba(217,79,26,.4), inset 0 1px 0 rgba(255,255,255,.25);
}
.hub-core b { font-size: clamp(15px, 2.4vw, 19px); font-weight: 700; letter-spacing: -.01em; line-height: 1; }
.hub-core span { font-size: clamp(9px, 1.5vw, 11px); margin-top: 5px; opacity: .9; line-height: 1.15; }
.hub-node {
  position: absolute; left: var(--nx); top: var(--ny); transform: translate(-50%, -50%);
  width: 22%; aspect-ratio: 1; border-radius: 50%; z-index: 3; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
  padding: 0; appearance: none; -webkit-appearance: none; color: #fff; font: inherit;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.hub-node svg { width: clamp(20px, 3.2vw, 26px); height: clamp(20px, 3.2vw, 26px); stroke: currentColor; }
.hub-node small { font-size: clamp(8.5px, 1.5vw, 10.5px); font-weight: 600; line-height: 1.05; letter-spacing: .01em; }
.hub-node:hover, .hub-node:focus-visible, .hub-node.is-active {
  background: rgba(217,79,26,.16); border-color: var(--orange);
  box-shadow: 0 10px 30px rgba(0,0,0,.35); outline: none;
  transform: translate(-50%, -50%) scale(1.07);
}
.hub-node:focus-visible { box-shadow: 0 0 0 3px rgba(240,118,74,.5); }
/* Detail panel */
.hub-panel {
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  background: rgba(255,255,255,.04); padding: clamp(22px, 3vw, 30px);
  min-height: 210px; display: flex; flex-direction: column;
}
.hub-panel-in { display: flex; flex-direction: column; flex: 1 1 auto; }
.hub-panel-ic {
  width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(217,79,26,.16); color: var(--orange-300); margin-bottom: 16px;
}
.hub-panel-ic svg { width: 24px; height: 24px; stroke: currentColor; }
.hub-panel h3 { font-size: clamp(19px, 2.4vw, 23px); font-weight: 650; letter-spacing: -.01em; }
.hub-panel p { margin-top: 10px; color: rgba(255,255,255,.74); font-size: 15px; line-height: 1.6; }
.hub-panel .hub-tag {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 100px; background: rgba(255,255,255,.07);
  font-size: 12.5px; font-weight: 600; color: var(--orange-300);
}
.hub-panel .hub-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.hub-fade { animation: hubFade .35s var(--ease); }
@keyframes hubFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hub-hint { grid-column: 1 / -1; text-align: center; margin-top: 4px; font-size: 13px; color: rgba(255,255,255,.5); }

@media (max-width: 720px) {
  .hub { grid-template-columns: 1fr; gap: 26px; max-width: 460px; }
  .hub-panel { min-height: 0; order: 2; }
  .hub-hint { order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  .hub-node, .hub-lines line { transition: none; }
  .hub-fade { animation: none; }
}

/* ---------- Interactive drying device (bautrocknung) ---------- */
.dryer { max-width: 860px; margin: 0 auto; }
.dryer-scene {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  background: #e9e3d8; --dry: 0;
}
.dryer-wall { position: absolute; inset: 0 0 22% 0; overflow: hidden; background: linear-gradient(180deg, #f2ede3, #e3dccd); }
.dryer-grid {
  position: absolute; inset: 0; opacity: .45;
  background:
    linear-gradient(90deg, rgba(20,32,44,.07) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(180deg, rgba(20,32,44,.07) 1px, transparent 1px) 0 0 / 48px 48px;
}
.dryer-damp {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 76%;
  transform: scaleY(calc(1 - var(--dry)));
  transform-origin: bottom;
  opacity: calc(.4 + .6 * (1 - var(--dry)));
  background: linear-gradient(0deg, rgba(36,24,14,.92), rgba(74,50,28,.55) 48%, rgba(96,70,40,.22) 78%, transparent);
  mix-blend-mode: multiply;
  transition: transform .55s var(--ease), opacity .55s var(--ease);
}
.dryer-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, #b9ad97, #9a8d76); }
.dryer-floor::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: rgba(20,32,44,.18); }
.dryer-air { position: absolute; left: 44%; right: 24%; top: 38%; height: 24%; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); z-index: 2; }
.dryer-scene.is-running .dryer-air { opacity: 1; }
.dryer-air i { display: block; height: 3px; border-radius: 3px; background: linear-gradient(270deg, rgba(217,79,26,.95), rgba(217,79,26,0)); animation: dryerAir 1.1s linear infinite; }
.dryer-air i:nth-child(2) { animation-delay: .27s; }
.dryer-air i:nth-child(3) { animation-delay: .54s; }
.dryer-air i:nth-child(4) { animation-delay: .81s; }
@keyframes dryerAir { 0% { transform: translateX(40%); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateX(-70%); opacity: 0; } }
.dryer-unit {
  position: absolute; right: 6%; bottom: 16%; width: clamp(74px, 15%, 122px); aspect-ratio: 3/4;
  border-radius: 13px; background: linear-gradient(180deg, #28333e, #151e27);
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 12px 26px rgba(0,0,0,.4);
  display: flex; align-items: center; justify-content: center; z-index: 3;
}
.dryer-fan { width: 66%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #16202a, #0a1018); border: 3px solid #070b10; display: flex; align-items: center; justify-content: center; }
.dryer-fan svg { width: 86%; height: 86%; color: #7d93a7; transform-origin: 50% 50%; }
.dryer-scene.is-running .dryer-fan svg { animation: dryerSpin .85s linear infinite; }
@keyframes dryerSpin { to { transform: rotate(360deg); } }
.dryer-led { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: #3a4654; transition: background .3s, box-shadow .3s; }
.dryer-scene.is-running .dryer-led { background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.dryer-readout { position: absolute; left: 14px; top: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; z-index: 4; }
.dryer-rh { display: flex; align-items: baseline; gap: 6px; padding: 8px 13px; border-radius: 12px; background: rgba(15,26,36,.82); backdrop-filter: blur(6px); color: #fff; }
.dryer-rh b { font-family: var(--font-display); font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
.dryer-rh i { font-style: normal; font-size: 11px; color: rgba(255,255,255,.72); }
.dryer-state { padding: 5px 11px; border-radius: 100px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(217,79,26,.92); transition: background .3s; }
.dryer-scene.is-dry .dryer-state { background: #2f8f5b; }
.dryer-ctrl { max-width: 760px; margin: 24px auto 0; text-align: center; }
.dryer-ctrl label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.dryer-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 100px; background: linear-gradient(90deg, var(--orange), #cfc6b8); outline: none; }
.dryer-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.3); cursor: pointer; }
.dryer-range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.3); cursor: pointer; }
.dryer-range:focus-visible { box-shadow: 0 0 0 3px rgba(240,118,74,.5); }
.dryer-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); margin-top: 9px; }

/* ---------- Drying timeline (sanierung) ---------- */
.dry { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.dry::before, .dry::after { content: ""; position: absolute; top: 9px; left: 12.5%; height: 2px; }
.dry::before { right: 12.5%; background: rgba(255,255,255,.16); }
.dry::after { width: 0; background: var(--orange); transition: width 2.2s var(--ease); }
.dry.is-running::after { width: 75%; }
.dry-step { position: relative; min-width: 0; padding-top: 36px; text-align: center; }
.dry-step b, .dry-tag { overflow-wrap: anywhere; }
.dry-dot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 20px; height: 20px; border-radius: 50%; background: #16222e; border: 2px solid rgba(255,255,255,.24); transition: background .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease); }
.dry.is-running .dry-step:nth-child(1) .dry-dot { transition-delay: .15s; }
.dry.is-running .dry-step:nth-child(2) .dry-dot { transition-delay: .75s; }
.dry.is-running .dry-step:nth-child(3) .dry-dot { transition-delay: 1.35s; }
.dry.is-running .dry-step:nth-child(4) .dry-dot { transition-delay: 1.95s; }
.dry.is-running .dry-dot { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 5px rgba(217,79,26,.22); }
.dry-step b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 19px; color: #fff; letter-spacing: -.01em; }
.dry-step p { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.62); }
.dry-tag { display: inline-block; margin-top: 12px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-300); font-weight: 600; }
@media (max-width: 820px) {
  .dry { grid-template-columns: 1fr 1fr; gap: 32px 26px; }
  .dry::before, .dry::after { display: none; }
  .dry-step { text-align: left; padding-top: 0; padding-left: 34px; }
  .dry-dot { top: 2px; left: 0; transform: none; }
  .dry.is-running .dry-step:nth-child(n) .dry-dot { transition-delay: 0s; }
}
@media (max-width: 480px) { .dry { grid-template-columns: 1fr; gap: 26px; } }
@media (prefers-reduced-motion: reduce) { .dry::after { transition: none; } }

/* ---------- Facts card (ueber-uns) ---------- */
.factcard { position: relative; align-self: start; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, #ffffff, #f7f4ef); box-shadow: var(--shadow-lg); overflow: hidden; padding: clamp(24px, 3vw, 36px); }
.factcard::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--orange), var(--orange-300)); }
.factcard-kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.factcard h3 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 28px); margin: 8px 0 6px; color: var(--ink); }
.factcard > p { color: var(--text-muted); font-size: 14px; margin: 0; }
.factcard-list { margin: 22px 0 0; }
.factcard-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 13px 0; border-top: 1px solid var(--line); }
.factcard-list > div:first-child { border-top: none; }
.factcard-list dt { font-size: 13px; color: var(--text-muted); font-weight: 500; white-space: nowrap; }
.factcard-list dd { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--ink); text-align: right; }
.factcard-cta { display: inline-flex; align-items: center; gap: 9px; margin-top: 24px; font-family: var(--font-display); font-size: 19px; color: var(--ink); text-decoration: none; transition: color .2s var(--ease); }
.factcard-cta svg { width: 18px; height: 18px; color: var(--orange); }
.factcard-cta:hover { color: var(--orange); }

/* ---------- Bento values (ueber-uns) ---------- */
.bento { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: minmax(176px, auto); gap: 16px; }
.bento-item { position: relative; overflow: hidden; background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease); }
.bento-item::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 80% at 100% 0, rgba(217,79,26,.1), transparent 55%); opacity: 0; transition: opacity .4s var(--ease); }
.bento-item:hover { border-color: rgba(217,79,26,.45); background: rgba(255,255,255,.05); transform: translateY(-4px); }
.bento-item:hover::before { opacity: 1; }
.bento-item--lg { grid-row: span 2; }
.bento-item--wide { grid-column: span 2; }
.bento-ico { position: relative; z-index: 1; width: 50px; height: 50px; border-radius: 14px; background: rgba(217,79,26,.14); color: var(--orange-300); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bento-ico svg { width: 26px; height: 26px; }
.bento-text { position: relative; z-index: 1; margin-top: auto; }
.bento-tag { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-300); font-weight: 600; margin-bottom: 8px; }
.bento-item h3 { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 22px; letter-spacing: -.01em; }
.bento-item--lg h3 { font-size: clamp(28px, 3vw, 38px); }
.bento-item p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.64); }
.bento-item--lg p { font-size: 15.5px; max-width: 34ch; }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-item--lg { grid-row: span 1; }
  .bento-item--wide { grid-column: span 2; }
}
@media (max-width: 540px) {
  .bento { grid-template-columns: 1fr; }
  .bento-item--wide { grid-column: span 1; }
}

/* ---------- Feature split ---------- */
.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature-media { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--ink); position: relative; box-shadow: var(--shadow-lg); }
.feature-badge { position: absolute; left: 18px; bottom: 18px; z-index: 4; padding: 9px 16px; border-radius: 100px; background: rgba(11,20,32,.62); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .01em; }

/* ---------- Interactive thermal-imaging leak camera ---------- */
@property --x { syntax: '<length-percentage>'; inherits: true; initial-value: 50%; }
@property --y { syntax: '<length-percentage>'; inherits: true; initial-value: 58%; }
.scanner { position: relative; cursor: crosshair; --x: 50%; --y: 58%; background: #06070f; animation: idleScan 8s cubic-bezier(.45,0,.55,1) infinite; }
.scanner.is-hover { animation: none; }
.scanner > * { pointer-events: none; }
@keyframes idleScan {
  0%   { --x: 28%; --y: 34%; }
  20%  { --x: 64%; --y: 68%; }
  32%  { --x: 64%; --y: 68%; }
  54%  { --x: 82%; --y: 42%; }
  76%  { --x: 38%; --y: 80%; }
  100% { --x: 28%; --y: 34%; }
}
/* Thermal heatmap: cool base with a glowing hot leakage plume */
.cam-heat { position: absolute; inset: 0; filter: saturate(1.2) contrast(1.05); background:
  radial-gradient(30% 36% at 64% 68%, #ffffff 0%, #ffe7a6 7%, #ffc24d 16%, #ff7a2f 27%, #ee3a46 41%, #9c1f63 58%, rgba(60,20,80,0) 76%),
  radial-gradient(26% 46% at 60% 86%, #ff6a2f 0%, #cf345e 24%, rgba(80,20,70,0) 60%),
  radial-gradient(38% 34% at 24% 34%, #1f6f7e 0%, rgba(20,60,80,0) 60%),
  radial-gradient(34% 30% at 82% 24%, #285f9e 0%, rgba(20,40,90,0) 62%),
  radial-gradient(48% 40% at 30% 80%, #1c3f86 0%, rgba(15,30,90,0) 66%),
  radial-gradient(40% 36% at 88% 72%, #234a93 0%, rgba(20,40,90,0) 64%),
  radial-gradient(120% 120% at 50% 38%, #161b46, #090b22 76%),
  linear-gradient(180deg, #0b0e26, #060713); }
.cam-plume { position: absolute; left: 64%; top: 68%; width: 46%; height: 46%; transform: translate(-50%,-50%); mix-blend-mode: screen;
  background: radial-gradient(circle, #fff 0%, #ffd25a 16%, #ff6a2f 34%, rgba(255,80,40,0) 66%); filter: blur(4px); animation: leakPulse 2.6s ease-in-out infinite; }
@keyframes leakPulse { 0%,100% { opacity: .5; transform: translate(-50%,-50%) scale(.93); } 50% { opacity: .9; transform: translate(-50%,-50%) scale(1.08); } }
/* refresh sweep, scanlines & vignette for the camera-feed feel */
.cam-scan { position: absolute; inset: 0; opacity: .55; background: linear-gradient(180deg, rgba(150,210,255,0) 0%, rgba(160,215,255,.18) 49%, rgba(150,210,255,0) 52%);
  background-size: 100% 200px; background-repeat: no-repeat; animation: camSweep 4.5s linear infinite; }
@keyframes camSweep { 0% { background-position: 0 -220px; } 100% { background-position: 0 130%; } }
.cam-grain { position: absolute; inset: 0; mix-blend-mode: multiply; opacity: .5;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px); box-shadow: inset 0 0 130px rgba(0,0,0,.6); }
/* camera framing brackets */
.cam-bracket { position: absolute; width: 24px; height: 24px; border: 2px solid rgba(255,255,255,.5); z-index: 3; }
.cam-bracket.tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.cam-bracket.tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; }
.cam-bracket.bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; }
.cam-bracket.br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }
/* temperature scale legend */
.cam-scale { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); z-index: 3; height: 44%; width: 9px; border-radius: 6px;
  background: linear-gradient(180deg, #fff, #ffd24d 18%, #ff7a2f 42%, #ee3a46 60%, #6a2a8f 80%, #1f3f86); box-shadow: 0 0 0 1px rgba(255,255,255,.16); }
.cam-scale span { position: absolute; right: 15px; font-size: 10px; font-weight: 700; color: rgba(255,255,255,.78); letter-spacing: .03em; white-space: nowrap; }
.cam-scale span:first-child { top: -7px; }
.cam-scale span:last-child { bottom: -7px; }
/* fixed leak marker */
.cam-leak { position: absolute; left: 64%; top: 68%; z-index: 3; transform: translate(-50%,-50%); }
.cam-leak::before { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 13px; transform: translate(-50%,-50%); border-radius: 50%; border: 1.5px solid rgba(255,255,255,.92); box-shadow: 0 0 0 4px rgba(255,255,255,.12); }
.cam-leak-tag { position: absolute; left: 50%; top: 50%; transform: translate(-50%, calc(-50% - 30px)); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 6px 12px; border-radius: 100px; background: rgba(217,79,26,.95); color: #fff; font-size: 12px; font-weight: 600; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.cam-leak-tag i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.8s infinite; }
/* targeting reticle follows the cursor */
.cam-reticle { position: absolute; left: var(--x); top: var(--y); width: 92px; height: 92px; transform: translate(-50%,-50%); z-index: 4;
  border: 1.5px solid rgba(255,255,255,.85); border-radius: 8px; box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 6px 20px rgba(0,0,0,.35); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.cam-reticle::before, .cam-reticle::after { content: ""; position: absolute; background: rgba(255,255,255,.85); }
.cam-reticle::before { left: 50%; top: -10px; bottom: -10px; width: 1px; transform: translateX(-.5px); }
.cam-reticle::after { top: 50%; left: -10px; right: -10px; height: 1px; transform: translateY(-.5px); }
.cam-temp { position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.scanner.is-locked .cam-reticle { border-color: var(--orange); box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 0 22px rgba(217,79,26,.65); }
.scanner.is-locked .cam-temp { color: var(--orange-300); }
/* camera meta label */
.cam-meta { position: absolute; left: 16px; top: 13px; z-index: 3; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 600; }
.scan-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 4; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 100px; background: rgba(11,20,32,.6); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.85); font-size: 12.5px; font-weight: 500; transition: opacity .3s var(--ease); }
.scan-hint svg { width: 15px; height: 15px; color: var(--orange-300); }
.scanner.is-hover .scan-hint { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .scanner, .cam-plume, .cam-scan, .cam-leak-tag i { animation: none; }
  .scanner { --x: 64%; --y: 68%; }
}

/* ---------- Einsatzgebiet radar (startseite) ---------- */
.radar { background: radial-gradient(120% 120% at 50% 28%, #11212d, #070f18 74%); display: flex; align-items: center; justify-content: center; }
.radar-scope { position: relative; width: min(80%, 360px); aspect-ratio: 1; }
.radar-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(96,214,178,.16); }
.radar-ring.r1 { inset: 0; }
.radar-ring.r2 { inset: 17%; }
.radar-ring.r3 { inset: 34%; }
.radar-cross { position: absolute; background: rgba(96,214,178,.13); }
.radar-cross.h { left: 0; right: 0; top: 50%; height: 1px; }
.radar-cross.v { top: 0; bottom: 0; left: 50%; width: 1px; }
.radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(60,200,156,0) 288deg, rgba(60,200,156,.12) 330deg, rgba(96,224,178,.4) 356deg, rgba(150,255,210,.66) 360deg);
  animation: radarSweep 5.5s linear infinite;
}
@keyframes radarSweep { to { transform: rotate(360deg); } }
.radar-city { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 16px; height: 16px; cursor: pointer; z-index: 3; }
.radar-city i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 9px; height: 9px; border-radius: 50%; background: #7df0c0; box-shadow: 0 0 8px rgba(125,240,192,.6); animation: radarPing 5.5s ease-out infinite; }
.radar-city:nth-of-type(7) i { animation-delay: .4s; }   /* Erlangen */
.radar-city:nth-of-type(8) i { animation-delay: 2.7s; }  /* Fürth */
.radar-city:nth-of-type(9) i { animation-delay: 1.4s; }  /* Lauf */
.radar-city:nth-of-type(10) i { animation-delay: 3.6s; } /* Schwabach */
.radar-city:nth-of-type(11) i { animation-delay: 4.6s; } /* Roth */
@keyframes radarPing { 0%, 70% { box-shadow: 0 0 6px rgba(125,240,192,.4); } 80% { box-shadow: 0 0 0 2px rgba(125,240,192,.55), 0 0 12px rgba(125,240,192,.8); } 100% { box-shadow: 0 0 0 11px rgba(125,240,192,0); } }
.radar-city::after { content: attr(data-label); position: absolute; left: 50%; bottom: 150%; transform: translateX(-50%); padding: 4px 9px; border-radius: 7px; font-size: 11px; font-weight: 600; color: #05221a; background: #7df0c0; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s var(--ease); }
.radar-city:hover::after, .radar-city:focus-visible::after { opacity: 1; }
.radar-city:hover i { background: #fff; box-shadow: 0 0 0 3px rgba(125,240,192,.4), 0 0 14px rgba(255,255,255,.8); animation-play-state: paused; }
.radar-base { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; z-index: 4; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #fff; white-space: nowrap; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.radar-base i { width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(217,79,26,.25), 0 0 16px rgba(217,79,26,.75); }
@media (prefers-reduced-motion: reduce) {
  .radar-sweep { animation: none; background: conic-gradient(from 300deg, rgba(60,200,156,0) 0deg, rgba(96,224,178,.32) 55deg, rgba(150,255,210,.5) 60deg, transparent 61deg); }
  .radar-city i { animation: none; }
}

/* ---------- Verfahren selector (leckortung) ---------- */
.vselect { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: stretch; }
.vselect-tabs { display: flex; flex-direction: column; gap: 6px; }
.vselect-tab { display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-family: var(--font-body); font-weight: 600; font-size: 16px; cursor: pointer; transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), color .3s var(--ease); }
.vselect-tab:hover { border-color: rgba(217,79,26,.4); transform: translateX(3px); }
.vselect-tab .vselect-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-dark, #cfd6dd); flex-shrink: 0; transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.vselect-tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); transform: none; }
.vselect-tab.is-active .vselect-dot { background: var(--orange); box-shadow: 0 0 0 4px rgba(217,79,26,.25); }
.vselect-tab:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.vselect-stage { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(32px, 4vw, 52px); overflow: hidden; min-height: 320px; display: flex; }
.vselect-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 90% at 100% 0, rgba(217,79,26,.07), transparent 55%); pointer-events: none; }
.vselect-panel { position: relative; z-index: 1; margin: auto 0; display: flex; flex-direction: column; gap: 10px; max-width: 52ch; }
.vselect-panel[hidden] { display: none; }
.vselect-panel { animation: vfade .45s var(--ease) both; }
@keyframes vfade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.vselect-ico { width: 56px; height: 56px; border-radius: 16px; background: rgba(217,79,26,.1); color: var(--orange); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.vselect-ico svg { width: 28px; height: 28px; }
.vselect-kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.vselect-panel h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.08; letter-spacing: -.02em; }
.vselect-panel p { color: var(--text-muted); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.6; max-width: 46ch; }
@media (max-width: 860px) {
  .vselect { grid-template-columns: 1fr; gap: 16px; }
  .vselect-tabs { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .vselect-tab { flex: 1 1 auto; padding: 12px 16px; font-size: 14px; }
  .vselect-stage { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .vselect-panel { animation: none; } }
.feature-list { margin-top: 30px; }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 18px; margin-inline: -18px; border-radius: 12px; border-top: 1px solid var(--line); align-items: start; transition: background .3s var(--ease), transform .3s var(--ease); }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list li:hover { background: rgba(217,79,26,.05); transform: translateX(4px); }
.feature-list .chk { width: 26px; height: 26px; border-radius: 50%; background: rgba(217,79,26,.12); color: var(--orange); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.feature-list .chk svg { width: 14px; height: 14px; }
.feature-list li:hover .chk { background: var(--orange); color: #fff; transform: scale(1.12) rotate(6deg); }
.feature-list b { font-weight: 600; font-size: 16px; }
.feature-list p { color: var(--text-muted); font-size: 14px; margin-top: 3px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature-media { aspect-ratio: 16/11; } }

/* ---------- Stats band (orange) ---------- */
.stats-band { background: var(--orange); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stats-grid--3 { grid-template-columns: repeat(3, 1fr); }
.stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5vw, 76px); line-height: 1; letter-spacing: -.02em; }
.stat .n--word { font-size: clamp(26px, 2.9vw, 42px); line-height: 1.04; }
.stat .l { margin-top: 10px; font-size: 14px; opacity: .9; max-width: 22ch; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; } }
/* Phones: stack the 3-up stats into one clean, aligned column with dividers
   (avoids the lopsided 2 + 1 grid) */
@media (max-width: 620px) {
  .stats-grid--3 { grid-template-columns: 1fr; gap: 0; }
  .stats-grid--3 .stat {
    text-align: center; padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,.22);
  }
  .stats-grid--3 .stat:first-child { border-top: 0; padding-top: 4px; }
  .stats-grid--3 .stat:last-child { padding-bottom: 4px; }
  .stats-grid--3 .stat .n { font-size: clamp(34px, 11vw, 48px); }
  .stats-grid--3 .stat .n--word { font-size: clamp(26px, 7.4vw, 34px); }
  .stats-grid--3 .stat .l { margin-left: auto; margin-right: auto; }
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 34px; display: flex; flex-direction: column; gap: 26px; min-width: 0; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.quote p, .quote .nm, .quote .rl { overflow-wrap: anywhere; min-width: 0; }
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.quote p { font-family: var(--font-display); font-weight: 500; font-size: clamp(19px, 1.8vw, 25px); line-height: 1.3; letter-spacing: -.01em; }
.quote .who { display: flex; align-items: center; gap: 14px; }
.quote .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), #8A2E0E); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.quote .nm { font-weight: 600; font-size: 15px; }
.quote .rl { font-size: 13px; color: var(--text-muted); }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- CTA (dark) ---------- */
.cta { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 100% at 85% 50%, rgba(217,79,26,.20), transparent 60%); }
.cta .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.cta .h2 em { color: var(--orange); }
.cta-side { display: flex; flex-direction: column; gap: 18px; }
.cta-phone { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); }
.cta-phone span { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-300); margin-bottom: 6px; }
@media (max-width: 820px) { .cta .wrap { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding: clamp(56px, 6vw, 88px) 0 28px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand { color: #fff; }
.footer-about { margin-top: 18px; color: rgba(255,255,255,.6); font-size: 14px; max-width: 34ch; }
.footer h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 16px; font-weight: 600; font-family: var(--font-body); }
.footer a, .footer p.f { display: block; color: rgba(255,255,255,.78); font-size: 14px; line-height: 2; }
.footer a:hover { color: var(--orange-300); }
.footer-bottom { margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.5); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive nav ---------- */
@media (max-width: 980px) {
  .nav, .header-cta .phone-link { display: none; }
  .burger { display: flex; }
}
@media (max-width: 600px) {
  .header .wrap { gap: 10px; }
  .header-cta { gap: 8px; }
  .emergency { padding: 9px 13px; font-size: 13px; gap: 7px; white-space: nowrap; }
}
@media (max-width: 380px) {
  .brand { font-size: 17px; gap: 9px; }
  .emergency { padding: 8px 11px; font-size: 12px; gap: 6px; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .services-grid { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Skip link (a11y) ---------- */
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--orange); color: #fff; padding: 10px 18px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- Subpage hero ---------- */
.page-hero { position: relative; background: #0B1420; color: #fff; overflow: hidden; padding: clamp(128px, 16vh, 184px) 0 clamp(56px, 7vw, 96px); }
.page-hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(70% 120% at 88% 0%, rgba(217,79,26,.22), transparent 55%),
  radial-gradient(60% 90% at 0% 100%, rgba(29,45,58,.7), transparent 60%); pointer-events: none; }
.page-hero .hero-grid-lines { position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(80% 80% at 70% 20%, #000, transparent 75%); mask-image: radial-gradient(80% 80% at 70% 20%, #000, transparent 75%); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .crumb { display: flex; align-items: center; gap: 9px; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 22px; }
.page-hero .crumb a { color: rgba(255,255,255,.55); transition: color .2s; }
.page-hero .crumb a:hover { color: var(--orange-300); }
.page-hero .crumb span { color: rgba(255,255,255,.3); }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 84px); line-height: .96; letter-spacing: -.03em; margin-top: 8px; max-width: 16ch; }
.page-hero h1 em { color: var(--orange); font-style: normal; }
.page-hero .lead { color: rgba(255,255,255,.74); margin-top: 24px; max-width: 56ch; }
.page-hero .eyebrow { color: var(--orange-300); }
.page-hero .btn-ghost { border-color: rgba(255,255,255,.25); color: #fff; }
.page-hero .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 76ch; }
.prose h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; font-family: var(--font-display); }
.prose p, .prose li { color: var(--text-muted); font-size: 16px; line-height: 1.7; }
.prose p { margin-bottom: 14px; }
.prose a { color: var(--orange-600); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { margin: 0 0 14px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.prose strong { color: var(--ink); font-weight: 600; }
.legal-meta { font-size: 14px; color: var(--c-b9); }

/* ---------- Contact choice cards ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-card { display: flex; flex-direction: column; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 34px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.contact-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.contact-card .cc-ico { width: 56px; height: 56px; border-radius: 14px; background: rgba(217,79,26,.10); color: var(--orange); display: flex; align-items: center; justify-content: center; transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.contact-card:hover .cc-ico { background: var(--orange); color: #fff; transform: scale(1.06) rotate(-3deg); }
.contact-card .cc-ico svg { width: 28px; height: 28px; }
.contact-card h3 { font-size: 24px; }
.contact-card p { color: var(--text-muted); font-size: 15px; }
.contact-card .cc-val { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); color: var(--ink); margin-top: auto; }
.contact-card .cc-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--orange-600); }
.contact-card .cc-go svg { width: 16px; height: 11px; transition: transform .25s var(--ease); }
.contact-card:hover .cc-go svg { transform: translateX(5px); }

/* ---------- Info list (contact details, hours) ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.info-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px; }
.info-box h3 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); font-family: var(--font-body); font-weight: 600; margin-bottom: 14px; }
.info-box p, .info-box a { font-size: 15.5px; line-height: 1.9; color: var(--ink); display: block; }
.info-box a:hover { color: var(--orange-600); }
.hours-row { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours-row:last-child { border-bottom: none; }
.hours-row span:last-child { color: var(--text-muted); }

@media (max-width: 760px) {
  .contact-grid, .info-grid { grid-template-columns: 1fr; }
}
