/* ==========================================================================
   ENERGY BAU & PARTNER — GLOBAL DESIGN SYSTEM
   www.energybaupartner.de
   ========================================================================== */

/* TODO (Production): Replace Google Fonts @import with self-hosted files
   from assets/fonts/. Download Outfit at https://fonts.google.com/specimen/Outfit */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

/* Service accent colors (matching flyer) */
:root {
  --clr-pv:   #2d7016;  /* Photovoltaik — green  */
  --clr-wp:   #f4a800;  /* Wärmepumpen  — amber  */
  --clr-dd:   #1b2d5c;  /* Dachdeckerei — navy   */
}

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Brand Colors (derived from logo & flyers) */
  --clr-green:         #2d7016;   /* "ENERGY" green — CTA buttons */
  --clr-green-light:   #4fa822;   /* brighter green — hover, highlights */
  --clr-green-glow:    #7dd354;   /* lightest green — on-dark text */
  --clr-navy:          #1b2d5c;   /* "BAU" navy — header bg */
  --clr-navy-dark:     #0f1a2e;   /* deepest dark — hero, footer bg */
  --clr-gold:          #f4a800;   /* amber/gold — badges, stars, seals */
  --clr-gold-dark:     #c98b00;
  --clr-sun-orange:    #e8620a;   /* logo sun darker shade — top-bar phone CTA */
  --clr-red:           #dc2626;   /* comparison X marks */

  /* Text */
  --clr-text:          #1e293b;
  --clr-text-muted:    #64748b;
  --clr-text-on-dark:  #ffffff;

  /* Backgrounds */
  --clr-bg-white:      #ffffff;
  --clr-bg-light:      #f0f4f8;
  --clr-border:        #e2e8f0;
  --clr-border-dark:   rgba(255,255,255,0.1);

  /* Gradients */
  --grad-dark:    linear-gradient(140deg, #0f1a2e 0%, #1b2d5c 100%);
  --grad-green:   linear-gradient(90deg, #2d7016 0%, #4fa822 100%);
  --grad-gold:    linear-gradient(135deg, #f4a800 0%, #d4900a 100%);

  /* Typography */
  --font:               'Outfit', system-ui, -apple-system, sans-serif;
  --fw-normal:          400;
  --fw-medium:          500;
  --fw-semibold:        600;
  --fw-bold:            700;
  --fw-extrabold:       800;

  /* Layout */
  --container-max:      1200px;
  --section-py:         80px;
  --section-py-sm:      50px;

  /* Effects */
  --r-sm:   5px;
  --r-md:   10px;
  --r-lg:   14px;
  --r-pill: 5px;
  --sh-card:   0 4px 16px rgba(0,0,0,0.06);
  --sh-hover:  0 20px 40px rgba(0,0,0,0.15);
  --sh-green:  0 8px 24px rgba(45,112,22,0.35);
  --sh-gold:   0 8px 24px rgba(244,168,0,0.4);
  --ease:       all 0.3s cubic-bezier(0.25,0.8,0.25,1);
  --ease-fast:  all 0.15s ease;

  /* Double-decker header heights */
  --hdr-top:  44px;
  --hdr-nav:  90px;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--clr-text);
  background: var(--clr-bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-top: calc(var(--hdr-top) + var(--hdr-nav));
  overflow-x: hidden;
}
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
p  { line-height: 1.8; }

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1,h2,h3,h4,h5,h6 { font-weight: var(--fw-semibold); line-height: 1.22; color: var(--clr-text); }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }

/* Highlighted word (gradient text) */
.txt-hl {
  background: var(--grad-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.txt-gold  { color: var(--clr-gold); }
.txt-white { color: #fff; }
.txt-muted { color: var(--clr-text-muted); }
.txt-center{ text-align: center; }

/* ==========================================================================
   4. LAYOUT UTILITIES
   ========================================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.section-py    { padding: var(--section-py) 0; }
.section-py-sm { padding: var(--section-py-sm) 0; }

/* Background variants */
.bg-dark   { background: var(--grad-dark);       color: #fff; }
.bg-dark h1,.bg-dark h2,.bg-dark h3 { color: #fff; }
.bg-navy   { background: var(--clr-navy);         color: #fff; }
.bg-light  { background: var(--clr-bg-light); }
.bg-white  { background: var(--clr-bg-white); }

/* Grid helpers */
.g2 { display: grid; grid-template-columns: 1fr 1fr;          gap: 48px; align-items: center; }
.g3 { display: grid; grid-template-columns: repeat(3,1fr);    gap: 32px; }
.g4 { display: grid; grid-template-columns: repeat(4,1fr);    gap: 24px; }
.flex-center   { display: flex; align-items: center; justify-content: center; }
.flex-between  { display: flex; align-items: center; justify-content: space-between; }

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--clr-wp); color: #fff;  /* amber/orange */
  padding: 15px 32px; border-radius: var(--r-pill);
  font-weight: var(--fw-bold); font-size: 1rem;
  font-family: var(--font);
  transition: var(--ease);
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.08);
}
/* Hero CTAs — green override (both split homepage hero & compact service hero) */
.hero-split .btn-primary,
.hero-compact .btn-primary {
  background: var(--clr-green);
}
.hero-split .btn-primary:hover,
.hero-compact .btn-primary:hover {
  filter: brightness(1.1);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: #fff;
  padding: 15px 32px; border-radius: var(--r-pill);
  font-weight: var(--fw-semibold); font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.55);
  transition: var(--ease); white-space: nowrap;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-white {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--clr-navy-dark);
  padding: 16px 36px; border-radius: var(--r-pill);
  font-weight: var(--fw-bold); font-size: 1rem;
  transition: var(--ease);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  white-space: nowrap; font-family: var(--font);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.22); }

/* ==========================================================================
   6. TOP BAR
   ========================================================================== */
.top-bar {
  background: var(--clr-navy-dark);
  height: var(--hdr-top);
  position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.top-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 16px;
}
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 20px; }

.status-badge { display: flex; align-items: center; gap: 7px; font-size: 0.8rem; color: rgba(255,255,255,0.65); }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.7);
  flex-shrink: 0;
}
.status-dot.closed { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,0.6); }

.topbar-link {
  display: flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,0.6); font-size: 0.8rem;
  transition: var(--ease-fast);
}
.topbar-link:hover { color: #fff; }
.topbar-link i { color: var(--clr-green-light); }

.topbar-phone {
  display: flex; align-items: center; gap: 8px;
  background: var(--clr-sun-orange);  /* logo sun dark orange */
  color: #fff;
  padding: 4px 14px; border-radius: var(--r-pill);
  font-size: 0.8rem; font-weight: var(--fw-bold);
  transition: var(--ease-fast);
}
.topbar-phone:hover { opacity: 0.88; }

/* Mobile-only icon pill variants (phone=blue, email=yellow) */
.topbar-icon-pill {
  display: none; /* hidden on desktop */
}
.topbar-icon-pill-phone {
  background: #2563eb;
}
.topbar-icon-pill-email {
  background: var(--clr-wp);
}

/* CTA button inside top-bar (same height as phone pill) */
.topbar-cta {
  display: flex; align-items: center; gap: 7px;
  background: var(--grad-green);  /* energy green */
  color: #fff;
  padding: 4px 14px; border-radius: var(--r-pill);
  font-size: 0.8rem; font-weight: var(--fw-bold);
  border: none; white-space: nowrap;
  transition: var(--ease-fast); font-family: var(--font);
}
.topbar-cta:hover { filter: brightness(1.1); }

/* ==========================================================================
   7. MAIN NAVIGATION (Smart Sticky)
   ========================================================================== */
.main-header {
  background: #ffffff;
  position: fixed; top: var(--hdr-top); left: 0; right: 0; z-index: 1000;
  height: var(--hdr-nav);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border-bottom: 1px solid var(--clr-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.main-header.hdr-hidden  { transform: translateY(-100%); }
.main-header.hdr-scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 100%; gap: 20px;
}
.nav-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  background-color: #ffffff;
  padding: 10px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.nav-logo img {
  height: 69px;
  width: auto;
  display: block;
}

/* Nav list */
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }

/* ---- Hover bridge (invisible 14px strip below each nav item) ---- */
.nav-item.has-dd::before {
  content: '';
  position: absolute; top: 100%; left: 0;
  width: 100%; height: 14px;
  background: transparent; z-index: 101;
}

.nav-link {
  display: flex; align-items: center; gap: 6px;
  color: var(--clr-text); font-size: 0.9rem;
  font-weight: var(--fw-medium); padding: 8px 13px;
  border-radius: var(--r-sm); transition: var(--ease-fast);
  white-space: nowrap; position: relative;
}
.nav-link i.fa-chevron-down { font-size: 0.65rem; transition: transform 0.2s ease; }
.nav-link:hover { color: var(--clr-green); background: rgba(45,112,22,0.06); }
.nav-item.has-dd:hover > .nav-link { background: rgba(45,112,22,0.06); }
.nav-item.has-dd:hover > .nav-link i.fa-chevron-down { transform: rotate(180deg); }

/* Per-service colored accent bar at bottom of nav link */
.nav-link::after {
  content: ''; position: absolute;
  bottom: 0; left: 10px; right: 10px; height: 2px;
  border-radius: 2px; opacity: 0;
  transition: opacity 0.2s ease;
  background: var(--clr-green);
}
.nav-item:hover > .nav-link::after { opacity: 1; }

/* Photovoltaik — green accent */
.nav-item.svc-pv > .nav-link { color: var(--clr-pv); }
.nav-item.svc-pv > .nav-link::after { background: var(--clr-pv); }
.nav-item.svc-pv:hover > .nav-link { background: rgba(45,112,22,0.07); }

/* Wärmepumpen — amber accent */
.nav-item.svc-wp > .nav-link { color: var(--clr-wp); }
.nav-item.svc-wp > .nav-link::after { background: var(--clr-wp); }
.nav-item.svc-wp:hover > .nav-link { background: rgba(244,168,0,0.08); }

/* Dachdeckerei — navy accent */
.nav-item.svc-dd > .nav-link { color: var(--clr-dd); }
.nav-item.svc-dd > .nav-link::after { background: var(--clr-dd); }
.nav-item.svc-dd:hover > .nav-link { background: rgba(27,45,92,0.07); }

/* ==========================================================================
   8. MEGAMENU
   ========================================================================== */
.mega-menu {
  position: absolute; top: calc(100% + 14px);
  left: 50%; transform: translateX(-50%);
  background: #fff; border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  padding: 28px; min-width: 640px;
  /* Closed state — 180ms delay so cursor can cross the bridge */
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, visibility 0s linear 0.18s;
  z-index: 100;
}
/* Open state — instant */
.nav-item.has-dd:hover .mega-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.mm-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.mm-grid.cols-2 { grid-template-columns: repeat(2,1fr); }

.mm-col h4 {
  font-size: 0.75rem; font-weight: var(--fw-bold);
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--clr-green); margin-bottom: 10px;
  padding-bottom: 8px; border-bottom: 2px solid var(--clr-border);
}
.mm-col ul li a {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.87rem; color: var(--clr-text);
  padding: 5px 6px; border-radius: var(--r-sm);
  transition: var(--ease-fast); font-weight: var(--fw-medium);
}
.mm-col ul li a:hover {
  color: var(--clr-green); background: rgba(45,112,22,0.06);
  padding-left: 10px;
}
.mm-col ul li a i { color: var(--clr-green); font-size: 0.78rem; width: 14px; }

.nav-cta { display: none; }  /* CTA moved to top bar */

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; background: none; border: none; cursor: pointer;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px; transition: var(--ease);
}

/* ==========================================================================
   9. HERO — SPLIT (Homepage & Location pages)
   ========================================================================== */
.hero-split {
  background: var(--grad-dark);
  min-height: clamp(520px, 82vh, 720px);
  position: relative; overflow: hidden; display: flex; align-items: center;
}
/* Subtle radial glow bottom-right */
.hero-split::before {
  content: '';
  position: absolute; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(45,112,22,0.07) 0%, transparent 70%);
  top: -150px; right: 0; pointer-events: none;
}
/* Dot-grid pattern overlay */
.hero-split::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 30px 30px; pointer-events: none;
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; width: 100%; position: relative; z-index: 1;
}

.hero-content { padding: 60px 0; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(45,112,22,0.18); border: 1px solid rgba(125,211,84,0.35);
  color: var(--clr-green-glow); font-size: 0.8rem;
  font-weight: var(--fw-semibold); padding: 6px 14px;
  border-radius: var(--r-pill); margin-bottom: 18px;
  letter-spacing: 0.03em;
}
.hero-content h1 { color: #fff; margin-bottom: 16px; }

.hero-lead {
  color: rgba(255,255,255,0.78); font-size: 1.05rem;
  line-height: 1.75; margin-bottom: 24px; max-width: 500px;
}

.hero-feats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; margin-bottom: 32px;
}
.hero-feats li {
  display: flex; align-items: center; gap: 9px;
  color: rgba(255,255,255,0.85); font-size: 0.88rem;
  font-weight: var(--fw-medium);
}
.hero-feats li i { color: var(--clr-green-glow); font-size: 0.82rem; flex-shrink: 0; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Image column */
.hero-img-col {
  position: relative;
  height: clamp(380px, 68vh, 580px);
}
.hero-img-col img {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: var(--r-lg);
  display: block;
}
/* Gold trust seal on image */
.hero-seal {
  position: absolute; bottom: 28px; left: -22px;
  background: var(--grad-gold);
  color: #0f1a2e; border-radius: var(--r-md);
  padding: 14px 18px; box-shadow: var(--sh-gold);
  text-align: center; min-width: 130px;
}
.hero-seal .seal-pre  { font-size: 0.68rem; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: 0.05em; }
.hero-seal .seal-main { font-size: 1.15rem; font-weight: var(--fw-extrabold); line-height: 1.1; margin: 2px 0; }
.hero-seal .seal-sub  { font-size: 0.7rem; font-weight: var(--fw-medium); }

/* ==========================================================================
   10. HERO — COMPACT (Service pages / inner pages)
   ========================================================================== */
.hero-compact {
  /* No background color — image fills 100% at full opacity */
  min-height: clamp(280px, 45vh, 460px);
  position: relative; overflow: hidden; display: flex; align-items: flex-end;
}
.hero-compact-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 0;
}
/* Background image — full opacity, no colour bleed */
.hc-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 1; z-index: 0;
}
/* Anti-overlay: soft gradient on text side only, fully transparent from 55% onward */
.hero-compact::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 20, 46, 0.78) 0%,
    rgba(10, 20, 46, 0.70) 30%,
    rgba(10, 20, 46, 0.30) 45%,
    transparent 55%
  );
  z-index: 1;
}
.hc-content {
  position: relative; z-index: 2;
  padding: 60px 0; max-width: 610px;
}
.hc-content h1 { color: #fff; margin-bottom: 12px; }
.hc-content .hero-lead { color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.hc-content .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: var(--ease-fast); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: 0.58rem; }

/* ==========================================================================
   11. TRUST BAR
   ========================================================================== */
.trust-bar {
  background: #fff; border-bottom: 1px solid var(--clr-border);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex; align-items: center; justify-content: space-around;
  gap: 16px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.84rem; font-weight: var(--fw-semibold);
  color: var(--clr-text);
}
.trust-item i {
  width: 36px; height: 36px;
  background: rgba(45,112,22,0.1); color: var(--clr-green);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; flex-shrink: 0;
}
.trust-item span small {
  display: block; font-weight: var(--fw-normal);
  color: var(--clr-text-muted); font-size: 0.73rem;
}

/* ==========================================================================
   12. SECTION HEADERS
   ========================================================================== */
.sec-hdr { text-align: center; margin-bottom: 48px; }
.sec-hdr h2 { margin-bottom: 12px; }
.sec-hdr p  { max-width: 570px; margin: 0 auto; color: var(--clr-text-muted); }
.bg-dark .sec-hdr h2 { color: #fff; }
.bg-dark .sec-hdr p  { color: rgba(255,255,255,0.68); }
.sec-eyebrow {
  display: inline-block; font-size: 0.75rem;
  font-weight: var(--fw-bold); text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--clr-green); margin-bottom: 8px;
}
.bg-dark .sec-eyebrow { color: var(--clr-green-glow); }

/* ==========================================================================
   13. SERVICE CARDS
   ========================================================================== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(265px,1fr)); gap: 22px; }

.svc-card {
  background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-card);
  overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--clr-border); transition: var(--ease);
  color: inherit;
}
.svc-card:hover {
  transform: translateY(-6px); box-shadow: var(--sh-hover);
  border-color: var(--clr-green);
}
.svc-card-img {
  width: 100%; height: 200px; object-fit: cover; display: block;
  background: var(--grad-dark);
}
.svc-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.svc-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--clr-text); }
.svc-card-body p  { font-size: 0.86rem; color: var(--clr-text-muted); flex: 1; line-height: 1.65; margin-bottom: 14px; }
.svc-card-link {
  display: flex; align-items: center; gap: 6px;
  color: var(--clr-green); font-size: 0.86rem; font-weight: var(--fw-semibold);
  transition: var(--ease-fast); margin-top: auto;
}
.svc-card:hover .svc-card-link { gap: 10px; }

/* ==========================================================================
   14. WHY US / COMPARISON
   ========================================================================== */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.compare-card {
  border-radius: var(--r-md); padding: 32px;
  border: 2px solid var(--clr-border); background: #fff;
}
.compare-card.ours {
  border-color: var(--clr-green);
  box-shadow: 0 4px 28px rgba(45,112,22,0.12); position: relative;
}
.compare-card.ours::before {
  content: 'Energy Bau & Partner';
  position: absolute; top: -14px; left: 24px;
  background: var(--grad-green); color: #fff;
  font-size: 0.76rem; font-weight: var(--fw-bold);
  padding: 4px 14px; border-radius: var(--r-pill);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.compare-card h3 { margin-bottom: 18px; font-size: 1.1rem; }
.compare-list    { display: flex; flex-direction: column; gap: 10px; }
.compare-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem; line-height: 1.5;
}
.compare-list li i { margin-top: 2px; flex-shrink: 0; font-size: 0.9rem; }
.chk i { color: var(--clr-green); }
.crs i { color: var(--clr-red); }

/* ==========================================================================
   15. PROCESS STEPS
   ========================================================================== */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; position: relative; }
.steps-grid::before {
  content: ''; position: absolute;
  top: 40px; left: calc(16.66% + 24px); right: calc(16.66% + 24px);
  height: 2px; background: var(--grad-green); opacity: 0.25; z-index: 0;
}
.step-card { text-align: center; padding: 0 12px; }
.step-num {
  width: 64px; height: 64px;
  background: var(--grad-green); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: var(--fw-bold);
  margin: 0 auto 18px; box-shadow: var(--sh-green); position: relative; z-index: 1;
}
.step-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.step-card p  { font-size: 0.86rem; color: var(--clr-text-muted); line-height: 1.65; }

/* ==========================================================================
   16. FAQ ACCORDION
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 790px; margin: 0 auto; }
.faq-item { border: 1px solid var(--clr-border); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.faq-q {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-size: 0.95rem;
  font-weight: var(--fw-semibold); color: var(--clr-text);
  text-align: left; background: none; border: none;
  cursor: pointer; transition: var(--ease-fast);
}
.faq-q:hover { color: var(--clr-green); }
.faq-q i { color: var(--clr-green); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a {
  display: none; padding: 16px 22px 18px;
  font-size: 0.88rem; line-height: 1.82;
  color: var(--clr-text); border-top: 1px solid var(--clr-border);
}
.faq-item.open .faq-a { display: block; }

/* ==========================================================================
   17. CTA BANNER
   ========================================================================== */
.cta-banner {
  background: var(--grad-green); padding: 56px 0;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute;
  width: 450px; height: 450px;
  background: rgba(255,255,255,0.06); border-radius: 50%;
  top: -120px; right: -60px; pointer-events: none;
}
.cta-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 32px; position: relative; z-index: 1;
}
.cta-text h2 { color: #fff; margin-bottom: 6px; }
.cta-text p  { color: rgba(255,255,255,0.82); }

/* ==========================================================================
   18. USP STRIP
   ========================================================================== */
.usp-strip {
  background: var(--clr-navy-dark);
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.usp-inner,
.usp-strip-inner {
  display: flex; align-items: center;
  justify-content: center; gap: 48px; flex-wrap: wrap;
}
.usp-item {
  display: flex; align-items: center; gap: 12px;
  color: #fff; font-size: 0.88rem; font-weight: var(--fw-semibold);
}
.usp-item i { color: var(--clr-gold); font-size: 1.15rem; }

/* ==========================================================================
   19. REGIONS STRIP
   ========================================================================== */
.regions-strip { background: var(--clr-bg-light); padding: 24px 0; }
.region-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.r-tag {
  display: inline-block; background: #fff;
  border: 1px solid var(--clr-border); border-radius: var(--r-pill);
  padding: 5px 14px; font-size: 0.8rem; font-weight: var(--fw-medium);
  color: var(--clr-text); transition: var(--ease-fast);
}
.r-tag:hover { background: var(--clr-green); color: #fff; border-color: var(--clr-green); }

/* ==========================================================================
   20. SEO BLOCK (Otto-style pre-footer)
   ========================================================================== */
.seo-block { background: var(--clr-bg-light); }
.seo-block-head h2 { margin-bottom: 28px; }
.seo-cols {
  column-count: 2;
  column-gap: 48px;
}
.seo-cols p  { font-size: 0.88rem; line-height: 1.88; margin-bottom: 16px; color: var(--clr-text); break-inside: avoid; }
.seo-cols h3 {
  font-size: 1rem; font-weight: var(--fw-semibold); color: var(--clr-text);
  margin-top: 1.5rem; margin-bottom: 6px;
  break-after: avoid;   /* keep heading glued to the paragraph below it */
}
.seo-cols h3:first-child { margin-top: 0; }
.seo-cols a  { color: var(--clr-green); font-weight: var(--fw-medium); }
.seo-cols a:hover { text-decoration: underline; }

/* ==========================================================================
   21. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--clr-navy-dark); color: rgba(255,255,255,0.65);
  padding: 64px 0 0;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--clr-border-dark);
}
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 50px; width: auto; }
.footer-tagline { font-size: 0.86rem; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 18px; max-width: 270px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 36px; height: 36px; background: rgba(255,255,255,0.06);
  border-radius: var(--r-sm); display: flex; align-items: center;
  justify-content: center; color: rgba(255,255,255,0.55);
  font-size: 0.88rem; transition: var(--ease-fast);
}
.footer-social a:hover { background: var(--clr-green); color: #fff; }

.footer-col h4 {
  color: #fff; font-size: 0.88rem; font-weight: var(--fw-semibold);
  margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em;
}
.footer-links li { margin-bottom: 7px; }
.footer-links li a {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.83rem; color: rgba(255,255,255,0.58);
  transition: var(--ease-fast);
}
.footer-links li a:hover { color: #fff; padding-left: 3px; }
.footer-links li a i { color: var(--clr-green-light); font-size: 0.68rem; }

.footer-contact-row {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 10px; font-size: 0.83rem; color: rgba(255,255,255,0.65);
}
.footer-contact-row i { color: var(--clr-green-light); margin-top: 2px; flex-shrink: 0; }
.footer-contact-row a { color: rgba(255,255,255,0.65); transition: var(--ease-fast); }
.footer-contact-row a:hover { color: #fff; }

.footer-bottom {
  padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.35); transition: var(--ease-fast); }
.footer-legal a:hover { color: #fff; }

/* ==========================================================================
   22. COOKIE BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--clr-navy-dark); border-top: 2px solid var(--clr-green);
  padding: 16px 0; z-index: 9999;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
  transition: transform 0.4s ease;
}
.cookie-banner.hidden { transform: translateY(100%); }
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cookie-text { display: flex; align-items: center; gap: 12px; flex: 1; }
.cookie-text i { color: var(--clr-gold); font-size: 1.4rem; flex-shrink: 0; }
.cookie-text p { font-size: 0.83rem; color: rgba(255,255,255,0.78); line-height: 1.5; }
.cookie-text a { color: var(--clr-green-light); text-decoration: underline; }
.cookie-acts { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }
.btn-c-ok {
  background: var(--grad-green); color: #fff;
  padding: 9px 20px; border-radius: var(--r-pill);
  font-weight: var(--fw-semibold); font-size: 0.86rem;
  cursor: pointer; border: none; font-family: var(--font); transition: var(--ease-fast);
}
.btn-c-ok:hover { opacity: 0.88; }
.btn-c-no {
  background: transparent; color: rgba(255,255,255,0.55);
  padding: 9px 20px; border-radius: var(--r-pill);
  font-size: 0.86rem; border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer; font-family: var(--font); transition: var(--ease-fast);
}
.btn-c-no:hover { color: #fff; border-color: rgba(255,255,255,0.45); }

/* ==========================================================================
   23. MOBILE FAB BAR (floating phone + email — mobile only)
   ========================================================================== */
.mob-fab-bar {
  display: none; /* hidden on desktop */
}
@media (max-width: 768px) {
  .mob-fab-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    padding: 12px 20px;
    background: rgba(15, 26, 46, 0.97);
    border-top: 1px solid rgba(255,255,255,0.08);
    z-index: 9998; /* just below cookie banner (9999) */
    transition: bottom 0.35s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .mob-fab-btn {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; flex: 1; max-width: 180px;
    padding: 13px 20px; border-radius: var(--r-sm);
    font-size: 0.9rem; font-weight: var(--fw-bold);
    font-family: var(--font); color: #fff;
    transition: var(--ease-fast); white-space: nowrap;
  }
  .mob-fab-btn:hover { filter: brightness(1.1); }
  .mob-fab-phone { background: #2563eb; }
  .mob-fab-email { background: var(--clr-wp); }
  /* Push page content above FAB bar */
  body { padding-bottom: 70px; }
}

/* ==========================================================================
   24. MICRO-ANIMATIONS
   ========================================================================== */

.fiu {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.25,0.8,0.25,1),
              transform 0.65s cubic-bezier(0.25,0.8,0.25,1);
}
.fiu.vis { opacity: 1; transform: translateY(0); }
.fiu:nth-child(2) { transition-delay: 0.09s; }
.fiu:nth-child(3) { transition-delay: 0.18s; }
.fiu:nth-child(4) { transition-delay: 0.27s; }
.fiu:nth-child(5) { transition-delay: 0.36s; }
.fiu:nth-child(6) { transition-delay: 0.45s; }

/* ==========================================================================
   24. RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .mm-grid    { grid-template-columns: repeat(2,1fr); }
  .mega-menu  { min-width: 460px; }
}

@media (max-width: 768px) {
  :root { --section-py: 50px; --section-py-sm: 36px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.6rem; }

  /* Hide desktop nav, show hamburger */
  .nav-list { display: none; }
  .hamburger { display: flex; }
  .topbar-cta { display: none; }  /* hide on mobile, phone is enough */

  /* ── Mobile top bar ── */
  /* Hide all text links and the status badge on mobile */
  .top-bar-left { display: none; }
  .topbar-link  { display: none; }
  /* Hide the desktop orange phone pill text (keep icon via icon-pill below) */
  .topbar-phone { display: none; }

  /* Show icon-only pills */
  .topbar-icon-pill {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%;
    color: #fff; font-size: 0.95rem;
    transition: var(--ease-fast); flex-shrink: 0;
  }
  .topbar-icon-pill:hover { opacity: 0.85; transform: scale(1.08); }
  .top-bar-right { gap: 10px; }

  /* Mobile nav overlay */
  .main-header.mob-open .nav-list {
    display: flex; flex-direction: column; gap: 2px;
    position: fixed;
    top: calc(var(--hdr-top) + var(--hdr-nav));
    left: 0; right: 0; bottom: 0;
    background: #fff;
    padding: 20px; overflow-y: auto; z-index: 999;
  }
  .main-header.mob-open .nav-link { color: var(--clr-text); font-size: 1rem; padding: 12px 8px; border-bottom: 1px solid var(--clr-border); border-radius: 0; }
  .main-header.mob-open .nav-link::after { display: none; }
  .main-header.mob-open .nav-item.svc-pv > .nav-link { color: var(--clr-pv); }
  .main-header.mob-open .nav-item.svc-wp > .nav-link { color: var(--clr-wp); }
  .main-header.mob-open .nav-item.svc-dd > .nav-link { color: var(--clr-dd); }
  .main-header.mob-open .mega-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    pointer-events: auto; box-shadow: none; border-radius: 0;
    padding: 0 0 0 14px; min-width: 0; background: transparent;
    transition: none;
  }
  .main-header.mob-open .mm-grid { grid-template-columns: 1fr; gap: 0; }
  .main-header.mob-open .mm-col h4 { color: rgba(255,255,255,0.45); border-color: rgba(255,255,255,0.09); }
  .main-header.mob-open .mm-col ul li a { color: rgba(255,255,255,0.78); font-size: 0.9rem; }
  .nav-item.has-dd::before { display: none; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-img-col { height: 260px; }
  .hero-seal  { display: none; }
  .hero-content { padding: 36px 0 0; }
  .hero-feats { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions > * { justify-content: center; }

  /* Layouts */
  .g2, .compare-grid { grid-template-columns: 1fr; gap: 22px; }
  .g3, .steps-grid   { grid-template-columns: 1fr; gap: 20px; }
  .g4 { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .steps-grid::before { display: none; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .seo-cols  { columns: 1; }
  .usp-inner { flex-direction: column; gap: 18px; align-items: flex-start; }
  .trust-bar-inner { justify-content: flex-start; gap: 14px; }
}

@media (max-width: 480px) {
  :root { --section-py: 36px; }
  .container { padding: 0 16px; }
  .g4 { grid-template-columns: 1fr; }
  .topbar-link:not(.topbar-phone) { display: none; }
}
