/* =============================================================
   JOCA Trocknung & Sanierung
   Homepage Stylesheet
   Based on: DESIGN.md (2026-05-04)
   ============================================================= */

/* ---------- 1. Fonts (self-hosted, DSGVO) ---------- */
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/poppins-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/poppins-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2. Design Tokens ---------- */
:root {
  /* Brand (aus Logo extrahiert) */
  --color-primary: #0E3A6E;
  --color-primary-hover: #0A2F58;
  --color-primary-light: rgba(14, 58, 110, 0.10);
  --color-primary-subtle: rgba(14, 58, 110, 0.05);
  --color-sky: #1E78F0;
  --color-accent: #F07800;
  --color-accent-hover: #D26800;
  --color-accent-subtle: rgba(240, 120, 0, 0.10);
  --color-gold: #F39C12;

  /* Neutral */
  --color-heading: #0E3A6E;
  --color-body: #1F2937;
  --color-muted: #5A6B7D;
  --color-border: #D5DBDB;
  --color-bg-alt: #F4F6F8;
  --color-bg: #FFFFFF;

  /* Functional */
  --color-success: #27AE60;
  --color-error: #C0392B;

  /* Dark (Footer + dunkle Sections) */
  --dark-bg: #0A2F58;
  --dark-card: rgba(255, 255, 255, 0.06);
  --dark-border: rgba(255, 255, 255, 0.14);
  --dark-text-strong: rgba(255, 255, 255, 0.95);
  --dark-text: rgba(255, 255, 255, 0.80);
  --dark-text-muted: rgba(255, 255, 255, 0.55);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 80px;
  --space-4xl: 120px;
  --section-py: 6rem;
  --section-py-mobile: 4rem;

  /* Container */
  --container-max: 1280px;
  --container-narrow: 960px;
  --container-wide: 1440px;
  --container-padding: 24px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows */
  --shadow-subtle: 0 1px 4px rgba(14, 58, 110, 0.04);
  --shadow-card: 0 2px 8px rgba(14, 58, 110, 0.06);
  --shadow-card-hover: 0 8px 24px rgba(14, 58, 110, 0.12);
  --shadow-btn-primary: 0 4px 12px rgba(14, 58, 110, 0.25);
  --shadow-btn-accent: 0 4px 12px rgba(240, 120, 0, 0.32);
  --shadow-modal: 0 25px 50px rgba(14, 58, 110, 0.18);
  --shadow-sticky: 0 -4px 16px rgba(14, 58, 110, 0.08);
  --shadow-glow: 0 8px 40px rgba(240, 120, 0, 0.18);

  /* z-index */
  --z-nav: 100;
  --z-mobile-menu: 200;
  --z-sticky-cta: 300;
  --z-modal-backdrop: 1000;
  --z-modal: 1010;
  --z-cookie: 2000;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.18s;
  --t-med: 0.25s;
  --t-slow: 0.6s;
}

/* ---------- 3. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-body);
  background: var(--color-bg);
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 1rem; } }
img, svg, video { max-width: 100%; display: block; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--color-sky); }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-heading);
  margin: 0;
  letter-spacing: -0.01em;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Skip-link (a11y) - visually-hidden, nur sichtbar bei Keyboard-Fokus */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 16px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  z-index: 9999;
  clip: auto;
  clip-path: none;
  white-space: normal;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ---------- 4. Typography scale ---------- */
.h1-hero {
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.h2-section {
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.h3-card {
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.3;
}
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.lead {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-muted);
}
@media (min-width: 768px) { .lead { font-size: 1.125rem; } }
.caption { font-size: 0.875rem; font-weight: 500; line-height: 1.45; color: var(--color-muted); }

/* ---------- 5. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 768px) { .container { padding-left: var(--container-padding); padding-right: var(--container-padding); } }
.container-narrow { max-width: var(--container-narrow); }
.section { padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 640px) { .section { padding-top: 64px; padding-bottom: 64px; } }
@media (min-width: 768px) { .section { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); } }
.section-alt { background: var(--color-bg-alt); }
.section-dark { background: var(--dark-bg); color: var(--dark-text); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--dark-text-strong); }
.section-dark .eyebrow { color: var(--color-sky); }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
  min-height: 48px;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: var(--color-accent-hover); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-btn-accent); }
.btn-accent-xl { padding: 18px 36px; font-size: 1.0625rem; background: var(--color-accent); color: #fff; }
.btn-accent-xl:hover { background: var(--color-accent-hover); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-btn-accent); }

.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-hover); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-btn-primary); }

.btn-outline { background: transparent; color: var(--color-primary); border: 2px solid var(--color-primary); padding: 12px 26px; }
.btn-outline:hover { background: var(--color-primary); color: #fff; }

.btn-ghost { color: var(--color-primary); padding: 10px 14px; min-height: 44px; }
.btn-ghost:hover { color: var(--color-sky); }

.btn-ghost-white { color: #fff; padding: 14px 24px; border: 1px solid rgba(255,255,255,0.3); border-radius: var(--radius-md); }
.btn-ghost-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }

/* Pulse ring for prominent CTAs (hero + final-CTA primary phone button) */
.btn-pulse { position: relative; overflow: visible; }
.btn-pulse::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(240, 120, 0, 0.55);
  animation: btn-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes btn-pulse {
  0% { box-shadow: 0 0 0 0 rgba(240, 120, 0, 0.55); }
  75% { box-shadow: 0 0 0 18px rgba(240, 120, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 120, 0, 0); }
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--t-fast) var(--ease);
  min-height: 40px;
  white-space: nowrap;
}
.btn-nav-cta:hover { background: var(--color-accent-hover); color: #fff; box-shadow: 0 2px 8px rgba(240, 120, 0, 0.30); }
.btn-nav-cta svg { width: 14px; height: 14px; }

.w-full { width: 100%; }

/* ---------- 7. Navbar (fixed top, rounded-bottom, concave wings) ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  background: transparent;
  border-bottom: none;
  display: flex;
  justify-content: center;
  padding: 0;
  pointer-events: none;
  transition: transform var(--t-fast) var(--ease);
}
.navbar-inner {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  background: #fff;
  border-radius: 0 0 14px 14px;
  padding: 6px 10px 6px 24px;
  min-height: 72px;
  box-shadow: 0 6px 18px rgba(15, 28, 48, 0.08);
  max-width: 1080px;
  width: calc(100% - 160px);
  transition: box-shadow var(--t-fast) var(--ease);
}
.navbar.is-scrolled .navbar-inner { box-shadow: 0 8px 24px rgba(15, 28, 48, 0.14); }
@media (max-width: 1199px) {
  .navbar-inner { width: calc(100% - 80px); }
}
@media (max-width: 767px) {
  .navbar-inner { padding: 6px 6px 6px 16px; width: calc(100% - 24px); border-radius: 0 0 12px 12px; min-height: 60px; }
}
.navbar-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.navbar-brand img {
  height: 42px;
  width: auto;
  display: block;
}
@media (min-width: 640px) { .navbar-brand img { height: 48px; } }
.navbar-nav { display: none; align-items: center; gap: var(--space-xl); }
@media (min-width: 1024px) { .navbar-nav { display: flex; } }
.navbar-link { font-family: 'Inter', sans-serif; font-size: 0.9375rem; font-weight: 500; color: var(--color-heading); text-decoration: none; transition: color var(--t-fast) var(--ease); }
.navbar-link:hover { color: var(--color-primary); }
.navbar-cta { display: none; align-items: center; gap: 12px; }
@media (min-width: 768px) { .navbar-cta { display: inline-flex; } }

.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-sm); color: var(--color-heading); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle:hover { background: var(--color-primary-subtle); }
.menu-toggle svg { width: 24px; height: 24px; }

.mobile-menu { display: none; position: fixed; inset: 0; z-index: var(--z-mobile-menu); background: #fff; padding: 24px; overflow-y: auto; }
.mobile-menu.is-open { display: flex; flex-direction: column; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-xl); }
.mobile-menu-links { display: flex; flex-direction: column; gap: 4px; margin-bottom: auto; }
.mobile-menu-links a { padding: 16px 12px; font-size: 1.125rem; font-weight: 600; color: var(--color-heading); border-radius: var(--radius-md); }
.mobile-menu-links a:hover { background: var(--color-primary-subtle); color: var(--color-primary); }
.mobile-menu-footer { display: flex; flex-direction: column; gap: 12px; margin-top: var(--space-xl); }

/* ---------- 8. Hero (centered cinematic with BG image) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 120px 16px 72px;
  min-height: auto;
  display: grid;
  place-items: center;
  text-align: center;
  isolation: isolate;
  background: #0F1C30;
}
@media (min-width: 640px) { .hero { padding: 140px 20px 88px; } }
@media (min-width: 768px) { .hero { padding: 160px 24px 112px; min-height: 820px; } }
@media (min-width: 1024px) { .hero { padding: 180px 32px 128px; min-height: 880px; } }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('img/hero-bg.jpg');
  background-size: cover;
  background-position: 50% 25%;
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(15, 28, 48, 0.55) 0%, rgba(15, 28, 48, 0.72) 55%, rgba(15, 28, 48, 0.88) 100%),
    linear-gradient(to bottom, rgba(15, 28, 48, 0.30) 0%, rgba(15, 28, 48, 0.55) 45%, rgba(15, 28, 48, 0.82) 100%);
  z-index: -1;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  margin-bottom: var(--space-lg);
  white-space: nowrap;
}
.hero-badge-text-full { display: inline; }
.hero-badge-text-short { display: none; }
@media (max-width: 639px) {
  .hero-badge { font-size: 0.6875rem; letter-spacing: 0.06em; padding: 6px 14px 6px 10px; }
  .hero-badge-text-full { display: none; }
  .hero-badge-text-short { display: inline; }
}
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 0 rgba(240, 120, 0, 0.6); animation: pulse 2s infinite; }
.hero-badge svg { width: 14px; height: 14px; color: #F5B400; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(240, 120, 0, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(240, 120, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 120, 0, 0); }
}
.h1-hero { color: #fff; }
.hero-title {
  margin-bottom: var(--space-lg);
  font-size: clamp(1.875rem, 7.2vw, 3.625rem);
  line-height: 1.08;
  color: #fff;
  max-width: 1240px;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
@media (max-width: 639px) {
  .hero-title {
    font-size: clamp(1.625rem, 6.6vw, 2rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
  }
}
.hero-lead {
  font-size: 1.125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 760px;
  margin: 0 auto var(--space-xl);
  text-wrap: balance;
}
@media (min-width: 768px) { .hero-lead { font-size: 1.1875rem; } }

.hero-bullets {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--space-xl);
  padding: 0;
  list-style: none;
}
.hero-bullets li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.4;
}
@media (min-width: 768px) { .hero-bullets li { font-size: 1.0625rem; } }
.hero-bullets li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #31D38E;
}
.hero-bullet-full { display: inline; }
.hero-bullet-short { display: none; }
@media (max-width: 639px) {
  .hero-bullets { gap: 8px; }
  .hero-bullets li {
    font-size: 0.8125rem;
    line-height: 1.35;
    white-space: nowrap;
  }
  .hero-bullets li svg { width: 16px; height: 16px; }
  .hero-bullet-full { display: none; }
  .hero-bullet-short { display: inline; }
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--space-xl);
  justify-content: center;
}
.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero-trust-avatars { display: flex; align-items: center; flex-shrink: 0; }
.hero-trust-avatars img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 25%;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}
.hero-trust-avatars img + img { margin-left: -14px; }
.hero-trust-copy { display: flex; flex-direction: column; gap: 3px; line-height: 1.2; text-align: left; }
.hero-trust-stars { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust-stars-icons { display: inline-flex; gap: 1px; color: #F5B400; }
.hero-trust-stars-icons svg { width: 16px; height: 16px; }
.hero-trust-stars-text { font-size: 0.9375rem; font-weight: 600; color: #fff; }
.hero-trust-meta { font-size: 0.8125rem; font-weight: 400; color: rgba(255, 255, 255, 0.75); }
.hero-trust-google { display: inline; color: #fff; font-weight: 600; }
.hero-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px rgba(240, 120, 0, 0.18);
  max-width: 100%;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .hero-media { aspect-ratio: 3 / 4; max-width: 420px; margin-left: auto; }
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media-accent {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(240, 120, 0, 0.92), rgba(240, 120, 0, 0.35) 55%, transparent 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-media-accent strong { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.125rem; }
.hero-media-accent small { font-size: 0.8125rem; color: rgba(255,255,255,0.85); }

/* ---------- 9. Features ---------- */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: var(--space-xl); }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); } }
.feature-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-card); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
@media (min-width: 768px) { .feature-card { padding: 32px; } }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.feature-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--color-primary-light); color: var(--color-primary); margin-bottom: var(--space-md); }
.feature-card-icon svg { width: 26px; height: 26px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--color-muted); font-size: 0.9375rem; line-height: 1.6; }

.section-head {
  max-width: 760px;
  margin: 0 auto var(--space-2xl);
  text-align: center;
}
.section-head p { color: var(--color-muted); font-size: 1rem; line-height: 1.6; margin: var(--space-md) auto 0; max-width: 680px; }
@media (min-width: 768px) { .section-head p { font-size: 1.0625rem; } }
/* Override: about-section uses left-aligned heading (split layout) */
.about-body { text-align: left; }

/* ---------- 10. Services (asymmetric: featured + 3 small) ---------- */
.services-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

/* Featured (Kernleistung: Unfallgutachten) */
.service-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
@media (min-width: 900px) {
  .service-featured { grid-template-columns: 1.05fr 1fr; align-items: stretch; }
}
.service-featured-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
@media (min-width: 900px) { .service-featured-media { aspect-ratio: auto; height: 100%; min-height: 440px; } }
.service-featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.service-featured:hover .service-featured-media img { transform: scale(1.04); }
.service-featured-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  justify-content: center;
}
@media (min-width: 768px) { .service-featured-body { padding: 48px 44px; } }
.service-featured-tag {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(240, 120, 0, 0.08);
  color: var(--color-primary);
  border: 1px solid rgba(240, 120, 0, 0.16);
  width: fit-content;
}
.service-featured-body h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.625rem, 2.2vw, 2.125rem);
  letter-spacing: -0.015em;
  color: var(--color-heading);
  line-height: 1.15;
  margin: 0;
}
.service-featured-body > p { color: var(--color-muted); font-size: 1rem; line-height: 1.6; margin: 0; }
.service-featured-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-featured-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-heading);
}
.service-featured-points li svg { width: 18px; height: 18px; color: var(--color-success); flex-shrink: 0; }

/* Small service cards (auto 2x2 on mid, 4-col on wide) */
.services-grid-small {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 640px)  { .services-grid-small { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services-grid-small { grid-template-columns: repeat(4, 1fr); } }
.service-card-small {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.service-card-small:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.service-card-small-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.service-card-small-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(240, 120, 0, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.service-card-small-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.service-card-small:hover .service-card-small-media img { transform: scale(1.05); }
.service-card-small-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-card-small-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.service-card-small-icon svg { width: 22px; height: 22px; }
.service-card-small-body h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-heading);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
}
.service-card-small-body p {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0;
}

/* Services footer CTA block */
.services-footer {
  margin-top: var(--space-2xl);
  padding: 36px 24px;
  background: linear-gradient(135deg, rgba(240, 120, 0, 0.04) 0%, rgba(30, 120, 240, 0.05) 100%);
  border: 1px solid rgba(240, 120, 0, 0.12);
  border-radius: var(--radius-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}
@media (min-width: 768px) { .services-footer { padding: 40px 32px; margin-top: var(--space-3xl); } }
.services-footer-text {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-heading);
  letter-spacing: -0.01em;
}
@media (min-width: 768px) { .services-footer-text { font-size: 1.25rem; } }
.services-footer-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}


/* ---------- 11. Compare (Mit / Ohne Gutachter) — editorial dark, no AI-slop ---------- */
.compare-section {
  background: #0F1C30;
  color: rgba(255, 255, 255, 0.90);
  position: relative;
  overflow: hidden;
}
.compare-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 80%);
  pointer-events: none;
}
.compare-section .container { position: relative; z-index: 1; }
.compare-section .eyebrow { color: var(--color-sky); }
.compare-section h2 { color: #fff; }
.compare-section .section-head p { color: rgba(255, 255, 255, 0.80); }
.section-head-center { text-align: center; margin-left: auto; margin-right: auto; max-width: 720px; }
.section-head-center p { margin-left: auto; margin-right: auto; }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: var(--space-2xl);
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
  position: relative;
}
@media (min-width: 900px) {
  .compare-grid {
    grid-template-columns: 0.88fr auto 1.12fr;
    gap: 24px;
  }
}

.compare-card {
  border-radius: 20px;
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform var(--t-med) var(--ease);
}
@media (min-width: 900px) {
  .compare-card-bad { padding: 36px 32px 28px; }
  .compare-card-good { padding: 44px 40px 36px; gap: 20px; }
}

.compare-card-bad {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.70);
}
.compare-card-good {
  background: #fff;
  color: var(--color-heading);
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.55);
  z-index: 2;
}
.compare-card-good::before {
  content: '';
  position: absolute;
  left: 0;
  top: 32px;
  bottom: 32px;
  width: 3px;
  background: var(--color-primary);
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  pointer-events: none;
}

.compare-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  width: fit-content;
}
.compare-card-bad .compare-tag {
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.compare-card-good .compare-tag {
  background: rgba(240, 120, 0, 0.08);
  color: var(--color-primary);
  border: 1px solid rgba(240, 120, 0, 0.18);
}

.compare-card-head {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0;
}
.compare-card-bad .compare-card-head { color: rgba(255, 255, 255, 0.92); }
.compare-card-good .compare-card-head { color: var(--color-heading); }

.compare-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}
.compare-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.compare-list li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.compare-card-bad .compare-list li svg { color: rgba(255, 255, 255, 0.35); opacity: 1; }
.compare-card-good .compare-list li svg { color: var(--color-success); }
.compare-card-bad .compare-list li { color: rgba(255, 255, 255, 0.75); }

.compare-card-result {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.compare-card-result span {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
}
.compare-card-result strong {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.compare-card-result-bad { border-top-color: rgba(255, 255, 255, 0.10); }
.compare-card-result-bad strong { color: rgba(255, 255, 255, 0.75); }
.compare-card-result-good { border-top-color: rgba(240, 120, 0, 0.15); }
.compare-card-result-good strong { color: var(--color-primary); }

.compare-versus {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #0F1C30;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 3;
  position: relative;
}
@media (min-width: 900px) {
  .compare-versus {
    width: 68px;
    height: 68px;
    font-size: 0.875rem;
    margin: 0;
    align-self: center;
  }
  .compare-card-good .compare-card-head { font-size: 1.5rem; }
  .compare-card-good .compare-list li { font-size: 1rem; }
  .compare-card-good .compare-card-result strong { font-size: 1.4375rem; }
}

/* ---------- 12. About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-2xl); align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 2fr 3fr; gap: var(--space-3xl); } }
.about-portrait { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-card); }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-portrait-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 56px 28px 24px;
  background: linear-gradient(to top, rgba(15, 28, 48, 0.92) 0%, rgba(15, 28, 48, 0.55) 65%, transparent 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.about-portrait-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.375rem, 1.6vw, 1.625rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.about-portrait-title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
}
.about-portrait::before {
  content: '';
  position: absolute;
  inset: -16px;
  border: 1px solid var(--color-primary);
  border-radius: calc(var(--radius-xl) + 16px);
  transform: translate(12px, 12px);
  z-index: -1;
}
.about-body h2 { margin-bottom: var(--space-md); }
.about-body p { color: var(--color-muted); margin-bottom: var(--space-md); line-height: 1.7; }
.about-body p strong { color: var(--color-heading); font-weight: 600; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); margin-top: var(--space-xl); padding-top: var(--space-xl); border-top: 1px solid var(--color-border); }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-number { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(1.75rem, 3vw, 2.25rem); color: var(--color-primary); letter-spacing: -0.02em; line-height: 1; }
.stat-label { font-size: 0.875rem; color: var(--color-muted); }

/* ---------- 13. References — Case Study ---------- */
.case-study {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
}
@media (min-width: 768px) { .case-study { padding: 56px 48px; } }
.case-study-main { max-width: 780px; margin: 0 auto var(--space-2xl); text-align: center; }
.case-study-tag {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(240, 120, 0, 0.08);
  color: var(--color-primary);
  border: 1px solid rgba(240, 120, 0, 0.16);
  margin-bottom: var(--space-md);
}
.case-study-headline {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.015em;
  color: var(--color-heading);
  line-height: 1.2;
  margin: 0 0 var(--space-md);
}
.case-study-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0;
  text-wrap: balance;
}
@media (min-width: 768px) { .case-study-body { font-size: 1.0625rem; } }
.case-study-body strong { color: var(--color-heading); font-weight: 700; }

.case-study-numbers {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin: var(--space-xl) 0 var(--space-2xl);
  align-items: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) { .case-study-numbers { grid-template-columns: 1fr auto 1fr; } }
.case-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
}
.case-number-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.case-number-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1;
}
.case-number-before {
  color: var(--color-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(240, 120, 0, 0.5);
  text-decoration-thickness: 3px;
}
.case-number-after { color: var(--color-success); }
.case-number-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  justify-self: center;
  transform: rotate(90deg);
}
@media (min-width: 640px) { .case-number-arrow { transform: none; } }
.case-number-arrow svg { width: 20px; height: 20px; }

.case-study-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}
.case-stat { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.case-stat-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1;
}
.case-stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-muted);
  line-height: 1.4;
}
.case-study-disclaimer {
  margin: var(--space-xl) auto 0;
  font-size: 0.75rem;
  color: var(--color-muted);
  text-align: center;
  max-width: 580px;
  line-height: 1.5;
}

/* ---------- 14. Process — Editorial Timeline with scroll-scale ---------- */
.timeline {
  max-width: 1040px;
  margin: var(--space-2xl) auto 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.timeline-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding-bottom: var(--space-xl);
  align-items: start;
  position: relative;
  opacity: 0.55;
  transform: scale(0.97);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.timeline-step.is-active {
  opacity: 1;
  transform: scale(1);
}
.timeline-step.is-focus {
  opacity: 1;
  transform: scale(1.015);
}
@media (min-width: 640px) { .timeline-step { grid-template-columns: 72px 1fr; gap: 20px; } }
@media (min-width: 768px) { .timeline-step { grid-template-columns: 104px 1fr; gap: 36px; } }
.timeline-step:last-child { padding-bottom: 0; }

/* Connector line between steps — sits in first column, doesn't overlap number */
.timeline-step::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 60px;
  bottom: -8px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(240, 120, 0, 0.35) 0%, rgba(240, 120, 0, 0.08) 100%);
  border-radius: 2px;
  z-index: 0;
}
@media (min-width: 640px) { .timeline-step::before { left: 32px; top: 72px; } }
@media (min-width: 768px) { .timeline-step::before { left: 48px; top: 86px; } }
.timeline-step:last-child::before { display: none; }

.timeline-step-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 4.2vw, 3.25rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-primary);
  text-align: left;
  position: relative;
  z-index: 1;
  padding-top: 8px;
}

.timeline-step-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 18px 18px;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  min-width: 0;
}
@media (min-width: 640px) { .timeline-step-card { padding: 22px 24px; } }
@media (min-width: 768px) { .timeline-step-card { padding: 28px 32px; } }
.timeline-step-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(240, 120, 0, 0.25);
}
.timeline-step-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "icon title meta";
  align-items: center;
  column-gap: 12px;
  row-gap: 6px;
  margin-bottom: 10px;
}
.timeline-step-icon { grid-area: icon; }
.timeline-step-head h3 { grid-area: title; }
.timeline-step-meta { grid-area: meta; }
@media (max-width: 639px) {
  .timeline-step-head {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon title"
      "meta meta";
    column-gap: 10px;
    row-gap: 8px;
  }
  .timeline-step-meta { justify-self: start; }
}
.timeline-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  color: var(--color-primary);
  flex-shrink: 0;
}
.timeline-step-icon svg { width: 20px; height: 20px; }
.timeline-step-head h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1875rem;
  color: var(--color-heading);
  letter-spacing: -0.01em;
  margin: 0;
  flex: 1;
  min-width: 0;
}
.timeline-step-meta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-bg-alt);
  white-space: nowrap;
}
.timeline-step-card p {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}
@media (min-width: 768px) { .timeline-step-card p { font-size: 1rem; } }

.timeline-step-card-final {
  background: linear-gradient(135deg, rgba(240, 120, 0, 0.04) 0%, rgba(30, 120, 240, 0.05) 100%);
  border-color: rgba(240, 120, 0, 0.22);
}
.timeline-step-card-final .timeline-step-icon {
  background: var(--color-primary);
  color: #fff;
}

/* ---------- 15. FAQ (2-col sticky layout) ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
@media (min-width: 960px) {
  .faq-layout { grid-template-columns: minmax(300px, 420px) 1fr; gap: 72px; }
}
.faq-sticky {
  text-align: left;
}
@media (min-width: 960px) {
  .faq-sticky {
    position: sticky;
    top: 112px;
    align-self: start;
  }
}
.faq-sticky .eyebrow { margin-bottom: var(--space-md); }
.faq-sticky h2 { margin-bottom: var(--space-md); text-align: left; }
.faq-sticky-sub {
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 var(--space-xl);
}
@media (min-width: 768px) { .faq-sticky-sub { font-size: 1.0625rem; } }
.faq-sticky-cta { width: fit-content; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); transition: all var(--t-med) var(--ease); }
.faq-item[open] { border-color: var(--color-primary); box-shadow: 0 4px 16px rgba(240, 120, 0, 0.10); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-family: 'Inter', sans-serif; font-size: 1.0625rem; font-weight: 600; color: var(--color-heading); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2317509F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform var(--t-med) var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item-body { padding: 0 24px 22px; font-size: 1rem; line-height: 1.7; color: var(--color-muted); }
.faq-item-body p + p { margin-top: 12px; }

/* ---------- 16. CTA Final (blends into footer) ---------- */
.cta-final {
  background: #0F1C30;
  color: rgba(255, 255, 255, 0.85);
  padding: 96px 0 0;
  position: relative;
}
@media (min-width: 768px) { .cta-final { padding: 120px 0 0; } }
.dark-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 80px;
}
@media (min-width: 768px) { .dark-divider { margin-top: 104px; } }
.cta-final-content { max-width: 780px; margin: 0 auto; text-align: center; }
.cta-final .eyebrow { color: var(--color-sky); }
.cta-final h2 { color: #fff; margin: 0 0 var(--space-md); }
.cta-final-sub {
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto var(--space-2xl);
  font-size: 1.0625rem;
  line-height: 1.55;
  max-width: 640px;
  text-wrap: balance;
}
@media (min-width: 768px) { .cta-final-sub { font-size: 1.125rem; } }
.cta-final-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Page Header (for sub-pages: Impressum, Datenschutz) ---------- */
.page-header {
  background:
    radial-gradient(circle at 85% 10%, rgba(30, 120, 240, 0.08), transparent 55%),
    radial-gradient(circle at 15% 90%, rgba(240, 120, 0, 0.05), transparent 60%),
    var(--color-bg-alt);
  padding: 160px 16px 64px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(240, 120, 0, 0.05) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: linear-gradient(to right, #000 0%, #000 50%, transparent 85%);
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 50%, transparent 85%);
  pointer-events: none;
}
@media (min-width: 768px) { .page-header { padding: 192px 24px 80px; } }
.page-header .container { position: relative; z-index: 1; }
.page-header-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}
.page-header-breadcrumb a { color: var(--color-muted); text-decoration: none; }
.page-header-breadcrumb a:hover { color: var(--color-primary); }
.page-header-breadcrumb svg { width: 14px; height: 14px; color: var(--color-muted); }
.page-h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  letter-spacing: -0.022em;
  color: var(--color-heading);
  line-height: 1.1;
  margin: 0 0 var(--space-md);
}
.page-header-sub {
  color: var(--color-muted);
  font-size: 1.0625rem;
  line-height: 1.55;
  max-width: 620px;
  margin: 0;
}
.page-content-wrap { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }

/* ---------- 17. Footer ---------- */
.footer { background: #0F1C30; color: rgba(255,255,255,0.75); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-2xl); padding-bottom: var(--space-2xl); border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr; gap: var(--space-3xl); } }
.footer-brand { display: flex; flex-direction: column; gap: var(--space-md); }
.footer-brand .navbar-brand img {
  background: rgba(255,255,255,0.96);
  padding: 8px 12px;
  border-radius: 8px;
  height: 54px;
}
.footer-brand p { font-size: 0.9375rem; line-height: 1.6; color: rgba(255,255,255,0.65); max-width: 380px; }
.footer-socials { display: flex; gap: 10px; margin-top: 8px; }
.footer-social { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-md); background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85); transition: all var(--t-fast) var(--ease); }
.footer-social:hover { background: var(--color-sky); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { font-family: 'Poppins', sans-serif; font-size: 0.9375rem; font-weight: 600; color: #fff; margin-bottom: var(--space-md); letter-spacing: 0.02em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li { font-size: 0.9375rem; color: rgba(255,255,255,0.65); line-height: 1.5; }
.footer-col li a { color: rgba(255,255,255,0.75); }
.footer-col li a:hover { color: #fff; }
.footer-col li svg { width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; color: var(--color-sky); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact li svg { flex-shrink: 0; margin-top: 3px; margin-right: 0; }
.footer-hours { display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(30, 120, 240, 0.14); border-radius: var(--radius-sm); color: #fff; font-size: 0.875rem; font-weight: 500; width: fit-content; margin-top: 4px; }
.footer-hours::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #31D38E; box-shadow: 0 0 0 0 rgba(49, 211, 142, 0.6); animation: pulse-green 2.2s infinite; }
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(49, 211, 142, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(49, 211, 142, 0); }
  100% { box-shadow: 0 0 0 0 rgba(49, 211, 142, 0); }
}
.footer-regions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.footer-regions span { font-size: 0.8125rem; padding: 4px 10px; background: rgba(255,255,255,0.05); border-radius: 999px; color: rgba(255,255,255,0.65); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: space-between; align-items: center; padding-top: var(--space-lg); font-size: 0.8125rem; color: rgba(255,255,255,0.55); }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.65); }
.footer-bottom-links a:hover { color: #fff; }
.footer-legal-note {
  margin-top: var(--space-md);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.55;
  max-width: 860px;
}

/* Form error message */
.form-error {
  margin-top: 12px;
  padding: 12px 16px;
  background: rgba(240, 120, 0, 0.08);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--color-accent);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.form-error a { color: var(--color-accent); font-weight: 600; }

/* FAQ legal disclaimer */
.faq-disclaimer {
  margin-top: var(--space-xl);
  padding: 16px 20px;
  border-left: 3px solid var(--color-primary);
  background: rgba(240, 120, 0, 0.04);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--color-muted);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* ---------- 18. Modal ---------- */
.modal-backdrop { display: none; position: fixed; inset: 0; z-index: var(--z-modal-backdrop); background: rgba(26, 35, 50, 0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); padding: 24px; overflow-y: auto; align-items: flex-start; justify-content: center; }
.modal-backdrop.is-open { display: flex; animation: fade-in 0.2s var(--ease); }
.modal { position: relative; width: 100%; max-width: 520px; background: #fff; border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow-modal); margin: auto; animation: modal-in 0.35s var(--ease); transition: max-width 0.3s var(--ease); }
@media (min-width: 640px) { .modal { padding: 40px; } }
.modal-wide[data-step="1"] { max-width: 640px; }
.modal-wide[data-step="2"] { max-width: 520px; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-md); color: var(--color-muted); transition: all var(--t-fast) var(--ease); z-index: 2; }
.modal-close:hover { background: var(--color-bg-alt); color: var(--color-heading); }
.modal-close svg { width: 22px; height: 22px; }
.modal-step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.modal-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px 6px 6px;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: all var(--t-fast) var(--ease);
  flex-shrink: 0;
  line-height: 1;
}
.modal-back:hover { color: var(--color-primary); background: var(--color-primary-subtle); }
.modal-back svg { width: 14px; height: 14px; }
.modal-step-head .modal-eyebrow { margin: 0; }
.modal-eyebrow { margin-bottom: 10px; }
.modal h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.5rem; margin-bottom: 8px; color: var(--color-heading); letter-spacing: -0.015em; line-height: 1.2; }
.modal-sub { font-size: 0.875rem; color: var(--color-muted); margin-bottom: var(--space-xl); line-height: 1.5; }

/* Service Chooser (Step 1) */
.service-chooser {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: var(--space-md);
}
@media (min-width: 560px) { .service-chooser { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.service-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 18px 12px 16px;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  position: relative;
  min-height: 140px;
  justify-content: flex-start;
}
.service-choice:hover,
.service-choice:focus-visible {
  border-color: var(--color-primary);
  background: var(--color-primary-subtle);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(240, 120, 0, 0.10);
}
.service-choice:hover .service-choice-icon {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.05);
}
.service-choice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  color: var(--color-primary);
  transition: all 0.2s var(--ease);
  flex-shrink: 0;
}
.service-choice-icon svg { width: 22px; height: 22px; }
.service-choice-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-heading);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.service-choice-desc {
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.35;
}

/* Step 2 Form */
.modal-form { display: flex; flex-direction: column; gap: var(--space-md); }
.form-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
@media (min-width: 640px) { .form-section { padding: 18px 20px; gap: 14px; } }
.form-section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.form-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 480px) { .form-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-heading);
  display: flex;
  align-items: center;
  gap: 4px;
}
.form-req { color: var(--color-accent); }
.form-optional { color: var(--color-muted); font-weight: 400; font-size: 0.75rem; }
.form-row input, .form-row textarea {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 11px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-heading);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  width: 100%;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(240, 120, 0, 0.12); }
.form-row input::placeholder, .form-row textarea::placeholder { color: #9BA6B2; }
.form-row textarea { resize: vertical; min-height: 72px; }
.form-note { font-size: 0.75rem; color: var(--color-muted); margin: 4px 0 0; line-height: 1.5; text-align: center; }
.form-note a { color: var(--color-primary); }
.modal-success { display: none; text-align: center; padding: 32px 12px; }
.modal-success.is-visible { display: block; }
.modal-success-icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(22, 163, 74, 0.14); color: var(--color-success); margin-bottom: var(--space-md); }
.modal-success-icon svg { width: 36px; height: 36px; }

/* ---------- 19. Cookie Banner ---------- */

/* ---------- 20. Mobile Sticky CTA (erscheint erst nach Hero) ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky-cta);
  background: #fff;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  box-shadow: var(--shadow-sticky);
  gap: 8px;
  transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.sticky-cta.is-visible { transform: translateY(0); }
@media (max-width: 767px) { .sticky-cta { display: flex; } }
.sticky-cta .btn { flex: 1; padding: 12px 14px; font-size: 0.9375rem; min-height: 48px; }

/* ---------- 21. WhatsApp floating (official WA-Green + logo) ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: var(--z-sticky-cta);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.42);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: wa-pulse 2.4s infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.04); color: #fff; box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55); background: #1FBF5A; }
.whatsapp-float svg { width: 32px; height: 32px; position: relative; z-index: 1; }
@media (max-width: 767px) {
  .whatsapp-float { bottom: 20px; right: 14px; width: 56px; height: 56px; }
  .whatsapp-float svg { width: 30px; height: 30px; }
}

/* ---------- 22. Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: transform, opacity; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ---------- 23. Accessibility ---------- */
*:focus-visible { outline: 2px solid var(--color-sky); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ═══════ TESTIMONIALS SECTION (added by website-clone.py) ═══════ */
.testimonials-section { background: var(--surface); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: transform .3s ease, box-shadow .3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  color: #FBBF24;
}
.testimonial-stars svg { width: 20px; height: 20px; }
.testimonial-quote {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--content);
  margin: 0;
  flex: 1;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.testimonial-author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--content);
  font-size: 0.95rem;
}
.testimonial-author-location {
  font-size: 0.8125rem;
  color: var(--content-secondary);
}
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
  .testimonial-card { padding: 24px; }
}

/* =============================================================
   JOCA Custom Additions (2026-05-04)
   Footer-Trust, WhatsApp-Button, Referenzen, Sticky-Mobile-CTA
   ============================================================= */

/* Footer Trust-Row (replaces removed Social-Icons) */
.footer-trust-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.footer-trust-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  color: var(--color-gold);
}
.footer-trust-stars svg {
  width: 16px;
  height: 16px;
}
.footer-trust-link {
  font-size: 0.875rem;
  color: var(--dark-text-strong);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.footer-trust-link:hover {
  color: #fff;
  border-bottom-color: var(--color-gold);
}

/* WhatsApp Button (Mobile-Menu) */
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37,211,102,0.25);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn-whatsapp:hover {
  background: #1DA851;
  color: #fff;
}
.btn-whatsapp svg {
  width: 20px;
  height: 20px;
}

/* Referenzen-Section */
.referenzen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.referenz-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease);
}
.referenz-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(14,58,110,0.12);
}
.referenz-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.referenz-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.referenz-card:hover .referenz-card-media img {
  transform: scale(1.04);
}
.referenz-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(14,58,110,0.92);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.referenz-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.referenz-card-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0;
  letter-spacing: -0.01em;
}
.referenz-card-meta {
  font-size: 0.8125rem;
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}
.referenz-card-body p:not(.referenz-card-meta) {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 4px 0 0;
}
@media (max-width: 1024px) {
  .referenzen-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .referenzen-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Footer-Tagline (Slogan, Joca specific) */
.footer-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.01em;
  margin-bottom: 8px !important;
  margin-top: 4px;
}
.footer-tagline strong { font-weight: 700; }

/* =============================================================
   Vorher-Nachher-Slider (Referenz-Card)
   ============================================================= */
.referenz-card-ba .referenz-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  background: #1a2332;
  isolation: isolate;
}
.ba-slider .ba-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: none;
  pointer-events: none;
}
.ba-slider .ba-image-after { z-index: 1; }
.ba-slider .ba-clip {
  position: absolute;
  inset: 0;
  width: 100%;
  overflow: hidden;
  z-index: 2;
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
}
.ba-slider .ba-clip .ba-image-before {
  width: 100%;
  height: 100%;
  max-width: none;
}
.ba-slider:hover .ba-image,
.ba-slider:hover .ba-clip .ba-image-before {
  transform: none;
}
.referenz-card.referenz-card-ba:hover .ba-image,
.referenz-card.referenz-card-ba:hover .ba-clip .ba-image-before {
  transform: none;
}
/* Override the parent referenz-card hover scale only for inner images */
.referenz-card-ba:hover .referenz-card-media .ba-image,
.referenz-card-ba:hover .referenz-card-media .ba-clip .ba-image-before {
  transform: none;
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 44px;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(14,58,110,0.4), 0 0 12px rgba(0,0,0,0.4);
}
.ba-handle-knob {
  position: relative;
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25), 0 0 0 2px rgba(14,58,110,0.6);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.ba-handle-knob svg { width: 20px; height: 20px; }
.ba-slider:hover .ba-handle-knob,
.ba-slider:focus-within .ba-handle-knob {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.3), 0 0 0 3px var(--color-accent);
}
.ba-label {
  position: absolute;
  top: 16px;
  z-index: 5;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  pointer-events: none;
  backdrop-filter: blur(8px);
}
.ba-label-before {
  left: 16px;
  background: rgba(192,57,43,0.92);
}
.ba-label-after {
  right: 16px;
  background: rgba(39,174,96,0.92);
}
.ba-slider .referenz-card-tag {
  z-index: 5;
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  z-index: 6;
  cursor: ew-resize;
  opacity: 0;
}
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 44px;
  height: 100%;
  cursor: ew-resize;
  background: transparent;
}
.ba-range::-moz-range-thumb {
  width: 44px;
  height: 100%;
  cursor: ew-resize;
  background: transparent;
  border: 0;
}
.ba-range:focus-visible + .ba-handle .ba-handle-knob {
  box-shadow: 0 6px 18px rgba(0,0,0,0.3), 0 0 0 3px var(--color-accent);
}
@media (prefers-reduced-motion: reduce) {
  .ba-handle-knob,
  .ba-clip { transition: none; }
}

