/* =========================================================
   Tarfalis — Heizung · Sanitär · Klima · Ratingen
   Stylesheet v2.0  ·  Light & Dark Theme  ·  Clean & Modern
   ========================================================= */

/* ---------------------------------------------------------
   1. THEME TOKENS  (CSS Custom Properties)
   --------------------------------------------------------- */
:root,
:root[data-theme="light"] {
  /* Brand */
  --primary:        #1a365d;
  --primary-light:  #2b6cb0;
  --primary-dark:   #122644;
  --accent:         #319795;
  --accent-light:   #5eead4;
  --accent-dark:    #2c7a7b;

  /* Surfaces */
  --bg:             #ffffff;
  --bg-soft:        #f7fafc;
  --bg-cool:        #edf2f7;
  --surface:        #ffffff;
  --surface-2:      #f7fafc;
  --border:         #e2e8f0;
  --border-strong:  #cbd5e0;

  /* Text */
  --text:           #1a202c;
  --text-muted:     #4a5568;
  --text-soft:      #718096;
  --heading:        #1a365d;
  --on-accent:      #ffffff;

  /* Header */
  --header-bg:      rgba(255, 255, 255, .85);
  --header-border:  rgba(15, 23, 42, .08);

  /* Footer */
  --footer-bg:      #0f172a;
  --footer-text:    #cbd5e0;
  --footer-title:   #ffffff;
  --footer-hover:   #5eead4;

  /* Shadows */
  --shadow-sm:      0 1px 2px rgba(15, 23, 42, .06);
  --shadow:         0 6px 22px rgba(15, 23, 42, .08);
  --shadow-lg:      0 18px 50px rgba(15, 23, 42, .14);
  --shadow-glow:    0 14px 40px rgba(49, 151, 149, .20);

  /* Logo */
  --logo-filter:    brightness(0) saturate(100%) invert(13%) sepia(36%) saturate(2100%) hue-rotate(190deg);
}

:root[data-theme="dark"] {
  /* Surfaces */
  --bg:             #0f172a;
  --bg-soft:        #111b30;
  --bg-cool:        #0b1324;
  --surface:        #1e293b;
  --surface-2:      #18233a;
  --border:         #283449;
  --border-strong:  #344057;

  /* Text */
  --text:           #e2e8f0;
  --text-muted:     #94a3b8;
  --text-soft:      #64748b;
  --heading:        #ffffff;
  --on-accent:      #ffffff;

  /* Header */
  --header-bg:      rgba(15, 23, 42, .85);
  --header-border:  rgba(255, 255, 255, .06);

  /* Footer */
  --footer-bg:      #060c1a;
  --footer-text:    #94a3b8;
  --footer-title:   #ffffff;
  --footer-hover:   #5eead4;

  /* Shadows (subtle cyan glow) */
  --shadow-sm:      0 1px 2px rgba(0, 0, 0, .35);
  --shadow:         0 10px 30px rgba(0, 0, 0, .45);
  --shadow-lg:      0 18px 55px rgba(0, 0, 0, .55);
  --shadow-glow:    0 10px 28px rgba(49, 151, 149, .18);

  /* Logo stays white in dark mode */
  --logo-filter:    none;
}

/* Misc tokens (theme-independent) */
:root {
  --radius:        8px;
  --radius-lg:     14px;
  --radius-pill:   999px;
  --container:     1200px;
  --t-fast:        180ms ease;
  --t-base:        300ms ease-in-out;
  --t-slow:        500ms cubic-bezier(.4, 0, .2, 1);
}

/* ---------------------------------------------------------
   2. RESET
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  transition: background var(--t-base), color var(--t-base);
  overflow-x: clip;
}
img, video { max-width: 100%; display: block; }
a { color: var(--primary-light); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: #fff; }
html[data-theme="dark"] a { color: var(--accent-light); }
html[data-theme="dark"] a:hover { color: #fff; }

/* ---------------------------------------------------------
   3. UTILITIES
   --------------------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 14px;
  border: 1px solid rgba(49, 151, 149, .35);
  border-radius: var(--radius-pill);
  background: rgba(49, 151, 149, .08);
}
.section { padding: 96px 0; }
.section.alt { background: var(--bg-soft); }
.section-tight { padding: 64px 0; }
.section h2,
.page-hero h1,
.legal article h2 { color: var(--heading); }
.section h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 14px;
  margin-bottom: 16px;
  line-height: 1.15;
}
.section .lead {
  max-width: 720px;
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 48px;
}

/* ---------------------------------------------------------
   4. TOP BAR
   --------------------------------------------------------- */
.topbar {
  background: var(--primary-dark);
  color: #cbd5e0;
  font-size: 13px;
  transition: background var(--t-base);
}
html[data-theme="dark"] .topbar { background: #060c1a; }
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 24px; gap: 16px; flex-wrap: wrap;
}
.topbar a { color: #e2e8f0; }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-info i { color: var(--accent-light); }

/* Topbar mobile: centered clean multi-line display */
@media (max-width: 768px) {
  .topbar .container {
    flex-direction: column;
    align-items: center;
    padding: 8px 16px;
    gap: 6px;
  }
  .topbar-info {
    justify-content: center;
    gap: 12px;
  }
  .topbar-info span {
    font-size: 11px;
    white-space: nowrap;
  }
}

/* ---------------------------------------------------------
   5. HEADER / NAV
   --------------------------------------------------------- */
header.site-header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 200;
  border-bottom: 1px solid var(--header-border);
  transition: border-color var(--t-base);
}
header.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: background var(--t-base);
  pointer-events: none;
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--container); margin: 0 auto;
}

/* --- Drawer Header global hide --- */
.nav-drawer-header {
  display: none;
}

/* --- Logo --- */
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 800; color: var(--heading);
  letter-spacing: -0.01em;
}
.logo img {
  max-height: 60px;
  width: auto;
  display: block;
  filter: var(--logo-filter);
  transition: filter var(--t-base);
}

/* --- Primary nav --- */
nav ul {
  display: flex; list-style: none; gap: 4px; align-items: center;
}
nav a.nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  color: var(--heading);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  transition: color var(--t-fast), background var(--t-fast);
}
nav a.nav-link:hover { color: var(--accent); background: var(--bg-soft); }
nav a.nav-link.active { color: var(--accent); }
nav a.nav-link.active::after {
  content: ""; position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px !important;
  border-radius: var(--radius-pill) !important;
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(49, 151, 149, .35);
}
.nav-cta:hover { background: var(--accent-dark); color: #fff !important; }

/* --- Theme toggle button --- */
.theme-toggle {
  position: relative;
  width: 44px; height: 44px;
  display: inline-grid; place-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading);
  border-radius: var(--radius-pill);
  cursor: pointer;
  margin-left: 10px;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
@media (hover: hover) {
  .theme-toggle:hover {
    background: var(--bg-soft);
    border-color: var(--accent);
    color: var(--accent);
    transform: rotate(-12deg);
  }
}
.theme-toggle i { font-size: 17px; }
.theme-toggle .sun  { display: none; }
.theme-toggle .moon { display: inline-block; }
html[data-theme="dark"] .theme-toggle .sun  { display: inline-block; }
html[data-theme="dark"] .theme-toggle .moon { display: none; }

/* --- Hamburger --- */
.hamburger {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: var(--radius);
  align-items: center; justify-content: center;
  color: var(--heading);
}
.hamburger:hover { background: var(--bg-soft); }
.hamburger span {
  position: relative; display: block;
  width: 22px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast), top var(--t-fast);
}
.hamburger span::before,
.hamburger span::after {
  content: ""; position: absolute; left: 0;
  width: 100%; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform var(--t-fast), top var(--t-fast);
}
.hamburger span::before { top: -7px; }
.hamburger span::after  { top:  7px; }
.hamburger.is-open span { background: transparent; }
.hamburger.is-open span::before { top: 0; transform: rotate(45deg); }
.hamburger.is-open span::after  { top: 0; transform: rotate(-45deg); }

/* ---------------------------------------------------------
   6. BUTTONS
   --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-size: 16px; font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
  box-shadow: 0 8px 24px rgba(49, 151, 149, .35);
  min-height: 48px;
}
.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 14px 32px rgba(49, 151, 149, .45);
}
.btn:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--heading);
  border: 1.5px solid var(--border-strong);
  box-shadow: none;
}
.btn-outline:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
html[data-theme="dark"] .btn-outline { color: #fff; border-color: var(--border-strong); }

/* ---------------------------------------------------------
   7. HERO  (with background video)
   --------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  color: #fff;
  min-height: clamp(560px, 88vh, 820px);
  display: flex; align-items: center;
  isolation: isolate;
}
.hero-video,
.hero-poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.hero-poster { z-index: -3; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, .55) 0%, rgba(15, 23, 42, .88) 100%),
    linear-gradient(120deg, rgba(26, 54, 93, .55) 0%, rgba(49, 151, 149, .25) 100%);
  transition: background var(--t-base);
}
html[data-theme="dark"] .hero-overlay {
  background:
    linear-gradient(180deg, rgba(2, 6, 23, .70) 0%, rgba(2, 6, 23, .92) 100%),
    linear-gradient(120deg, rgba(15, 23, 42, .70) 0%, rgba(49, 151, 149, .20) 100%);
}
.hero-inner {
  width: 100%; max-width: var(--container);
  margin: 0 auto; padding: 120px 24px 100px;
}
.hero .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .08);
  color: #fff; backdrop-filter: blur(8px);
}
.hero .hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--accent-light); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(94, 234, 212, .25);
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 22px 0 22px;
  max-width: 900px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
  color: #fff;
}
.hero h1 .accent { color: var(--accent-light); }
.hero p.hero-sub {
  font-size: clamp(17px, 1.5vw, 20px);
  max-width: 640px;
  color: #e2e8f0;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; max-width: 760px;
}
.hero-trust .item {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: #f7fafc;
}
.hero-trust .item i { color: var(--accent-light); font-size: 16px; }
.hero-scroll {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 24px; color: rgba(255, 255, 255, .85);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  animation: bounce 2.4s ease-in-out infinite;
}
.hero-scroll i { font-size: 16px; }
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* ---------------------------------------------------------
   8. INNER PAGE HERO
   --------------------------------------------------------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(1200px 400px at 90% -10%, rgba(49, 151, 149, .35), transparent 60%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 130px 0 90px;
  overflow: hidden;
}
html[data-theme="dark"] .page-hero {
  background:
    radial-gradient(1200px 400px at 90% -10%, rgba(49, 151, 149, .30), transparent 60%),
    linear-gradient(135deg, #0f172a 0%, #060c1a 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .5; pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.1;
  max-width: 800px; margin-top: 18px;
  color: #fff;
}
.page-hero p {
  margin-top: 18px; font-size: 18px; color: #e2e8f0; max-width: 720px;
}
.breadcrumb {
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-light); font-weight: 600;
}
.breadcrumb a { color: rgba(255, 255, 255, .8); }
.breadcrumb a:hover { color: #fff; }

/* ---------------------------------------------------------
   9. GRIDS
   --------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ---------------------------------------------------------
   10. CARDS  (stronger hover)
   --------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative; overflow: hidden;
  transition: all 0.3s ease-in-out;
}
.card::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0; transition: opacity var(--t-fast);
}
.card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .14), 0 8px 16px rgba(49, 151, 149, .12);
}
html[data-theme="dark"] .card:hover {
  border-color: rgba(49, 151, 149, .35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 8px 28px rgba(49, 151, 149, .18);
}
.card:hover::before { opacity: 1; }
.card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(49, 151, 149, .12), rgba(94, 234, 212, .18));
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 24px;
  margin-bottom: 22px;
  transition: transform var(--t-base);
}
.card:hover .icon { transform: scale(1.08) rotate(-6deg); }
.card h3 {
  font-size: 22px; font-weight: 700;
  color: var(--heading); margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.card p { color: var(--text-muted); font-size: 15px; margin-bottom: 18px; }
.card .more {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 14px; color: var(--accent);
}
.card .more:hover { color: var(--primary); }
html[data-theme="dark"] .card .more:hover { color: var(--accent-light); }
.card .more i { transition: transform var(--t-fast); }
.card:hover .more i { transform: translateX(4px); }

/* ---------------------------------------------------------
   11. FEATURE LISTS
   --------------------------------------------------------- */
.feature-list { list-style: none; display: grid; gap: 14px; }
.feature-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  transition: all 0.3s ease-in-out;
}
.feature-list li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}
.feature-list li i {
  color: var(--accent); font-size: 20px;
  flex-shrink: 0; margin-top: 2px;
}
.feature-list li strong {
  display: block; color: var(--heading);
  font-size: 16px; margin-bottom: 4px;
}
.feature-list li span { color: var(--text-muted); font-size: 15px; }

/* ---------------------------------------------------------
   12. STATS BAND
   --------------------------------------------------------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  color: #fff; position: relative; overflow: hidden;
}
html[data-theme="dark"] .stats {
  background: linear-gradient(135deg, #1e293b 0%, #0b1324 100%);
  border: 1px solid var(--border);
}
.stats::after {
  content: ""; position: absolute;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 151, 149, .35), transparent 70%);
  right: -60px; top: -120px; pointer-events: none;
}
.stats .stat .num {
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 800; color: var(--accent-light);
  letter-spacing: -0.02em; line-height: 1;
}
.stats .stat .label { margin-top: 8px; font-size: 14px; color: #cbd5e0; }

/* ---------------------------------------------------------
   13. PROCESS / STEPS
   --------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px; border-radius: var(--radius-lg);
  position: relative; counter-increment: step;
  transition: all 0.3s ease-in-out;
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(49, 151, 149, .35);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -18px; left: 24px;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 13px;
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.step h4 { margin-top: 12px; color: var(--heading); font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14px; }

/* ---------------------------------------------------------
   14. CTA BAND
   --------------------------------------------------------- */
.cta-band {
  background:
    linear-gradient(135deg, rgba(26, 54, 93, .92) 0%, rgba(49, 151, 149, .90) 100%);
  color: #fff;
  padding: 72px 56px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
html[data-theme="dark"] .cta-band {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, .96) 0%, rgba(44, 122, 123, .80) 100%);
  border: 1px solid var(--border);
}
.cta-band h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700; letter-spacing: -0.02em;
  color: #fff;
}
.cta-band p { margin-top: 8px; color: #e2e8f0; max-width: 520px; }

/* ---------------------------------------------------------
   15. KFW / BAFA FÖRDER-INFO BOX
   --------------------------------------------------------- */
.foerder-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 56px;
  background:
    radial-gradient(ellipse at top left, rgba(94, 234, 212, .20), transparent 60%),
    linear-gradient(135deg, var(--primary) 0%, var(--accent-dark) 100%);
  color: #fff;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 40px; align-items: center;
  box-shadow: var(--shadow-lg);
}
html[data-theme="dark"] .foerder-box {
  background:
    radial-gradient(ellipse at top left, rgba(94, 234, 212, .15), transparent 60%),
    linear-gradient(135deg, #0b1324 0%, #1e293b 100%);
  border: 1px solid rgba(49, 151, 149, .25);
}
.foerder-box .badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-light);
  margin-bottom: 18px; backdrop-filter: blur(8px);
}
.foerder-box h3 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 16px; color: #fff;
  line-height: 1.15;
}
.foerder-box h3 .highlight { color: var(--accent-light); }
.foerder-box p {
  color: #e2e8f0; font-size: 17px;
  margin-bottom: 26px;
}
.foerder-box ul {
  list-style: none; display: grid; gap: 10px;
  margin-bottom: 28px;
}
.foerder-box ul li {
  display: flex; align-items: center; gap: 10px;
  color: #f7fafc; font-size: 15px;
}
.foerder-box ul li i { color: var(--accent-light); font-size: 16px; }
.foerder-box .visual {
  display: grid; place-items: center;
  position: relative;
}
.foerder-box .visual .pct {
  font-size: clamp(80px, 12vw, 140px);
  font-weight: 900; letter-spacing: -0.05em; line-height: 1;
  color: #fff;
  text-shadow: 0 0 60px rgba(94, 234, 212, .35);
}
.foerder-box .visual .pct sup {
  font-size: 0.4em; color: var(--accent-light);
  vertical-align: super; margin-left: 4px;
}
.foerder-box .visual .pct-label {
  display: block; margin-top: 4px;
  font-size: 14px; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-light); font-weight: 600;
}

/* ---------------------------------------------------------
   16. TESTIMONIALS CAROUSEL
   --------------------------------------------------------- */
.testimonials-wrap {
  position: relative;
  margin-top: 32px;
}
.testimonials-track {
  display: flex; overflow: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 24px;
  padding: 8px 4px 24px;
}
.testimonial {
  flex: 0 0 calc(33.333% - 16px);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all 0.3s ease-in-out;
}
.testimonial:hover {
  transform: translateY(-6px);
  border-color: rgba(49, 151, 149, .35);
  box-shadow: var(--shadow);
}
.testimonial .quote-mark {
  position: absolute; top: 18px; right: 22px;
  font-size: 48px; color: var(--accent);
  opacity: .15; line-height: 1;
}
.testimonial .stars {
  color: #f59e0b; font-size: 14px;
  margin-bottom: 14px; letter-spacing: 2px;
}
.testimonial blockquote {
  color: var(--text);
  font-size: 16px; line-height: 1.65;
  margin-bottom: 20px;
}
.testimonial .author {
  display: flex; align-items: center; gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.testimonial .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 16px;
  flex-shrink: 0;
}
.testimonial .author strong {
  display: block; color: var(--heading);
  font-size: 15px;
}
.testimonial .author span {
  color: var(--text-soft); font-size: 13px;
}
.testimonials-nav {
  display: flex; gap: 10px; justify-content: center;
  margin-top: 24px;
}
.testimonials-nav button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface); color: var(--heading);
  cursor: pointer;
  display: grid; place-items: center;
  transition: all 0.3s ease-in-out;
}
.testimonials-nav button:hover {
  background: var(--accent); border-color: var(--accent);
  color: #fff; transform: scale(1.08);
}

/* ---------------------------------------------------------
   17. GOOGLE MAPS (DSGVO-gated)
   --------------------------------------------------------- */
.map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  min-height: 420px;
}
.map-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 32px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(26, 54, 93, .04), rgba(49, 151, 149, .08)),
    url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1200&q=70") center/cover;
}
html[data-theme="dark"] .map-placeholder {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, .85), rgba(11, 19, 36, .92)),
    url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1200&q=70") center/cover;
}
.map-placeholder-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  max-width: 480px;
  box-shadow: var(--shadow);
}
.map-placeholder-inner > i {
  font-size: 32px; color: var(--accent); margin-bottom: 12px;
}
.map-placeholder-inner h4 {
  color: var(--heading); font-size: 18px; margin-bottom: 8px;
}
.map-placeholder-inner p {
  color: var(--text-muted); font-size: 14px;
  margin-bottom: 18px;
}
.map-placeholder-inner .btn {
  padding: 10px 20px; font-size: 14px;
  min-height: 0; box-shadow: none;
}
.map-iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ---------------------------------------------------------
   18. CONTACT
   --------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info { display: grid; gap: 20px; }
.contact-info .item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease-in-out;
}
.contact-info .item:hover {
  transform: translateY(-4px);
  border-color: rgba(49, 151, 149, .35);
  box-shadow: var(--shadow);
}
.contact-info .item i {
  font-size: 22px; color: var(--accent);
  background: rgba(49, 151, 149, .12);
  border-radius: 12px;
  width: 48px; height: 48px;
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-info .item strong {
  display: block; color: var(--heading);
  margin-bottom: 4px; font-size: 16px;
}
.contact-info .item span,
.contact-info .item a { color: var(--text-muted); font-size: 15px; }

form.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: background var(--t-base);
}
form.contact-form label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--heading); margin-bottom: 6px;
  letter-spacing: .02em;
}
form.contact-form input,
form.contact-form textarea,
form.contact-form select {
  width: 100%; padding: 12px 14px; font: inherit;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--text);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
  font-size: 15px;
}
form.contact-form input:focus,
form.contact-form textarea:focus,
form.contact-form select:focus {
  outline: 0;
  background: var(--bg);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(49, 151, 149, .15);
}
form.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
form.contact-form .field { margin-bottom: 18px; }
form.contact-form textarea { min-height: 130px; resize: vertical; }
form.contact-form .consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--text-muted); margin-bottom: 22px;
}
form.contact-form .consent input { width: auto; margin-top: 3px; }
/* Honeypot field stays invisible */
form.contact-form .hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

.form-feedback {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 18px;
  align-items: center; gap: 10px;
}
.form-feedback.is-visible { display: flex; }
.form-feedback.success {
  background: rgba(49, 151, 149, .12);
  color: var(--accent-dark);
  border: 1px solid rgba(49, 151, 149, .35);
}
html[data-theme="dark"] .form-feedback.success { color: var(--accent-light); }
.form-feedback.error {
  background: rgba(239, 68, 68, .10);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, .35);
}
html[data-theme="dark"] .form-feedback.error { color: #fca5a5; }

/* ---------------------------------------------------------
   19. LEGAL PAGES
   --------------------------------------------------------- */
.legal { max-width: 920px; margin: 0 auto; padding: 64px 24px 96px; }
.legal .toc {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 24px 28px; border: 1px solid var(--border);
  margin-bottom: 48px;
}
.legal .toc h2 {
  font-size: 16px; text-transform: uppercase;
  letter-spacing: .12em; color: var(--heading);
  margin-bottom: 14px;
}
.legal .toc ol {
  list-style: decimal inside;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px 24px; font-size: 15px;
}
.legal .toc a { color: var(--text); }
.legal .toc a:hover { color: var(--accent); }
.legal article {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 56px; margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: background var(--t-base), border-color var(--t-base);
}
.legal article h2 {
  font-size: 26px; color: var(--heading);
  letter-spacing: -0.01em; margin-bottom: 24px;
  padding-bottom: 12px; border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.legal article h3 { margin-top: 36px; margin-bottom: 16px; color: var(--heading); font-size: 20px; font-weight: 600; }
.legal article p, .legal article li {
  color: var(--text-muted); font-size: 16.5px; margin-bottom: 18px; line-height: 1.7;
  overflow-wrap: break-word; word-wrap: break-word; hyphens: auto;
}
.legal article ul, .legal article ol { padding-left: 22px; }

@media (max-width: 768px) {
  .legal article { padding: 32px 24px; }
  .legal article h2 { font-size: 22px; }
  .legal article h3 { font-size: 18px; }
}

/* 19b. TEXT CONTENT (SEO Pages) */
.text-content {
  max-width: 920px; margin: 0 auto 24px auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  box-shadow: var(--shadow-sm);
  transition: background var(--t-base), border-color var(--t-base);
}
.text-content h2 {
  font-size: 26px; color: var(--heading);
  letter-spacing: -0.01em; margin-bottom: 24px;
  padding-bottom: 12px; border-bottom: 2px solid var(--accent);
}
.text-content h3 { margin-top: 36px; margin-bottom: 16px; color: var(--heading); font-size: 20px; font-weight: 600; }
.text-content p, .text-content li {
  color: var(--text-muted); font-size: 16.5px; margin-bottom: 18px; line-height: 1.7;
  overflow-wrap: break-word; word-wrap: break-word; hyphens: auto;
}
.text-content ul, .text-content ol { padding-left: 24px; margin-bottom: 24px; }
.text-content strong { color: var(--heading); }

@media (max-width: 768px) {
  .text-content { padding: 32px 24px; }
  .text-content h2 { font-size: 22px; }
  .text-content h3 { font-size: 18px; }
}
/* ---------------------------------------------------------
   20. FOOTER
   --------------------------------------------------------- */
footer.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 72px 0 32px;
  margin-top: 96px;
  transition: background var(--t-base);
}
footer.site-footer .grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
footer.site-footer h4 {
  color: var(--footer-title); font-size: 14px;
  text-transform: uppercase; letter-spacing: .15em;
  margin-bottom: 18px; font-weight: 600;
}
footer.site-footer ul { list-style: none; display: grid; gap: 10px; }
footer.site-footer a { color: var(--footer-text); font-size: 15px; }
footer.site-footer a:hover { color: var(--footer-hover); }
footer.site-footer .brand p {
  color: #94a3b8; font-size: 14px;
  margin-top: 14px; max-width: 320px;
}
footer.site-footer .brand .logo img {
  filter: none; /* white logo always white in footer */
  max-height: 52px;
}
footer.site-footer .bottom {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding-top: 24px;
  display: flex; justify-content: space-between;
  font-size: 13px; color: #64748b;
  flex-wrap: wrap; gap: 12px;
}

/* ---------------------------------------------------------
   21. COOKIE BANNER
   --------------------------------------------------------- */
.cookie-banner {
  position: fixed; bottom: 24px; left: 24px; right: 24px;
  max-width: 540px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, .25);
  z-index: 9999;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 380ms cubic-bezier(.34, 1.56, .64, 1), opacity 280ms;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner h4 { color: var(--heading); font-size: 17px; margin-bottom: 8px; }
.cookie-banner p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.cookie-banner p a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn {
  padding: 10px 18px; font-size: 14px;
  min-height: 0; box-shadow: none;
}
.cookie-actions .btn-outline-sm {
  background: var(--surface); color: var(--heading);
  border: 1.5px solid var(--border);
}
.cookie-actions .btn-outline-sm:hover { background: var(--bg-soft); color: var(--heading); }

/* ---------------------------------------------------------
   22. REVEAL ANIMATIONS
   --------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------
   23. RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); padding: 40px; }
  footer.site-footer .grid { grid-template-columns: 1fr 1fr; }
  .hero-trust { grid-template-columns: repeat(2, 1fr); }
  .foerder-box { grid-template-columns: 1fr; padding: 40px; text-align: center; }
  .foerder-box .visual { display: none; }
  .testimonial { flex-basis: calc(50% - 12px); }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; padding: 32px; gap: 18px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 32px; flex-direction: column; align-items: flex-start; }
  .legal article { padding: 28px 24px; }
  .legal .toc ol { grid-template-columns: 1fr; }
  form.contact-form .row { grid-template-columns: 1fr; }
  footer.site-footer .grid { grid-template-columns: 1fr; gap: 32px; }
  .topbar .container { font-size: 12px; }
  .testimonial { flex-basis: calc(100% - 0px); }
  .theme-toggle { margin-left: auto; margin-right: 6px; }

  /* Mobile nav */
  .hamburger { display: inline-flex; }

  nav#mainNav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    height: 100vh; /* fallback */
    left: auto;
    width: min(88vw, 340px);
    background: var(--surface);
    padding: 0;
    box-shadow: -20px 0 60px rgba(15, 23, 42, .30);
    transform: translateX(110%);
    transition: transform 340ms cubic-bezier(.4, 0, .2, 1);
    z-index: 190;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
  }
  nav#mainNav.is-open { transform: translateX(0); }

  /* === Drawer header (real DOM element, no pseudo-tricks) === */
  .nav-drawer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px 0 18px;
    height: 68px;
    min-height: 68px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
  }
  .nav-drawer-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--heading);
    letter-spacing: -0.01em;
    flex-shrink: 0;
  }
  .nav-drawer-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    padding: 8px 13px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    transition: background var(--t-fast);
    text-decoration: none;
  }
  .nav-drawer-phone:hover { background: var(--accent-dark); color: #fff; }
  .nav-drawer-phone i { font-size: 13px; }

  /* Close button */
  .nav-close-btn {
    display: flex;
    flex-shrink: 0;
    width: 38px; height: 38px;
    border-radius: var(--radius);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--heading);
    font-size: 18px;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  }
  .nav-close-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

  /* Nav list */
  nav#mainNav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 12px 28px;
    flex: 1;
    overflow-y: auto;
  }
  nav#mainNav a.nav-link {
    padding: 13px 16px;
    font-size: 16px;
    border-radius: var(--radius);
    display: block;
  }
  nav#mainNav a.nav-link:hover { background: var(--bg-soft); }
  nav#mainNav a.nav-link.active::after { display: none; }
  nav#mainNav a.nav-link.active {
    background: rgba(49, 151, 149, .10);
    color: var(--accent);
  }
  nav#mainNav a.nav-cta {
    display: none !important;
  }

  /* Theme toggle – last item, separated */
  nav#mainNav li:last-child {
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }
  nav#mainNav .theme-toggle {
    width: 100%;
    border-radius: var(--radius);
    margin-left: 0;
    padding: 12px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: auto;
    color: var(--heading);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    transition: background var(--t-fast), border-color var(--t-fast);
  }
  nav#mainNav .theme-toggle:hover,
  nav#mainNav .theme-toggle:active,
  nav#mainNav .theme-toggle:focus {
    transform: none !important;
    background: rgba(49, 151, 149, .08);
    border-color: var(--accent);
    color: var(--accent);
  }
  nav#mainNav .theme-toggle::after {
    content: "Design umschalten";
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
  }
  nav#mainNav .theme-toggle i { font-size: 17px; }

  /* Backdrop */
  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(3px);
    opacity: 0; pointer-events: none;
    transition: opacity 320ms ease;
    z-index: 180;
  }
  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

  .hero-inner { padding: 90px 24px 80px; }
  .hero h1 { font-size: 38px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 20px; }

  .logo img { max-height: 48px; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .topbar-info { gap: 12px; font-size: 12px; }
  .foerder-box { padding: 32px 24px; }
}

/* ---------------------------------------------------------
   24. REDUCED MOTION
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-video { display: none; }
}

/* ---------------------------------------------------------
   25. KARRIERE / JOB CARDS
   --------------------------------------------------------- */
.job-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.job-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.job-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
}
.job-card-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background: rgba(255,255,255,.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.job-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
}
.job-meta span { display: flex; align-items: center; gap: 6px; }
.job-card-body {
  padding: 32px;
}
.job-section {
  margin-bottom: 28px;
}
.job-section h4 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.job-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.job-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}
.job-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--accent);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 3px;
}
.job-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.job-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.job-benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.job-benefit i {
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
  width: 24px;
  text-align: center;
}
.job-benefit div { display: flex; flex-direction: column; gap: 2px; }
.job-benefit strong { font-size: 14px; color: var(--heading); }
.job-benefit span { font-size: 13px; color: var(--text-muted); }
.job-intro-box {
  background: var(--bg-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin-bottom: 28px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.job-apply-btn {
  display: inline-flex;
  width: auto;
  font-size: 16px;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .job-columns { grid-template-columns: 1fr; gap: 32px; }
  .job-card-header { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px 20px; }
  .job-card-body { padding: 20px; }
  .job-benefits-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .job-benefits-grid { grid-template-columns: 1fr; }
  .job-meta { flex-direction: column; gap: 6px; }
}

/* 26. BEFORE/AFTER SLIDER */
.ba-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.ba-tab {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}
.ba-tab:hover {
  border-color: var(--accent);
  color: var(--text);
}
.ba-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-body);
}

.ba-slider-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.ba-slider {
  display: none;
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}
.ba-slider.active {
  display: block;
}
.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.ba-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%; /* Focus on upper middle to keep AC/Heads visible */
  display: block;
}
.ba-after {
  z-index: 1;
}
.ba-before {
  z-index: 2;
  width: 100%;
  clip-path: inset(0 50% 0 0);
}
.ba-range {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--bg-body);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  font-size: 18px;
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: -2000px;
  bottom: -2000px;
  left: 50%;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  z-index: -1;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
}
.ba-label {
  position: absolute;
  bottom: 20px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.ba-label-after {
  right: 20px;
  z-index: 1;
}
.ba-label-before {
  left: 20px;
  z-index: 2;
}

@media (max-width: 768px) {
  .ba-tabs {
    flex-wrap: wrap;
  }
  .ba-tab {
    flex: 1 1 calc(33.333% - 12px);
    text-align: center;
    padding: 10px;
    font-size: 14px;
  }
  .ba-slider {
    aspect-ratio: 4/3;
  }
  .ba-handle {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .ba-label {
    bottom: 12px;
    font-size: 12px;
    padding: 4px 12px;
  }
}

/* 27. ANNOUNCEMENT BAR */
.announcement-bar {
  color: #fff;
  padding: 10px 0;
  font-size: 15px;
  position: relative;
  z-index: 150;
  text-align: center;
}
.holiday-bar {
  background: var(--accent);
  background: linear-gradient(90deg, #ea580c 0%, #c2410c 100%);
}
.job-bar {
  background: linear-gradient(90deg, #319795 0%, #234e52 100%);
  text-align: left;
}
.announcement-bar i { margin-right: 6px; }
.announcement-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.announcement-text-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.announcement-pulse {
  display: block;
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.announcement-pulse::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 18px;
  height: 18px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}
.btn-white {
  background: #fff;
  color: var(--bg-body);
  border: 1px solid #fff;
  padding: 6px 16px;
  font-size: 13px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-white:hover {
  background: transparent;
  color: #fff;
}
@media (max-width: 768px) {
  .announcement-content {
    justify-content: center;
    text-align: center;
  }
  .announcement-text-wrapper {
    flex-direction: row;
    gap: 8px;
    text-align: left;
    align-items: flex-start;
  }
  .announcement-pulse {
    margin-top: 4px;
  }
}

/* 28. MOBILE ONLY LINKS */
@media (min-width: 1025px) {
  .mobile-only {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  #mainNav ul li.mobile-only {
    margin: 0;
  }
  #mainNav ul li.mobile-only a {
    font-size: 14px;
    padding: 10px 24px;
    color: var(--text-muted);
    font-weight: 400;
  }
  #mainNav ul li.mobile-only:first-of-type {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }
}
