:root {
  --c-primary:      #2d7d52;
  --c-primary-dark: #1e5c3c;
  --c-teal:         #2ba8a3;
  --c-teal-light:   #63bfd0;
  --c-leaf:         #7bcf5f;
  --c-warm:         #f7f2eb;
  --c-warm-border:  #e5d9c8;
  --c-text:         #1b2d24;
  --c-text-soft:    #4e6559;
  --c-bg:           #ffffff;
  --c-bg-alt:       #f3f8f5;
  --c-border:       #c6dcd2;
  --c-success-bg:   #e4f2eb;
  --c-success-text: #1a5732;
  --c-error-bg:     #fdecea;
  --c-error-text:   #8c2020;
  --max-w:          960px;
  --radius:         8px;
  --header-h:       64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 17px; }

html.js {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid rgba(198, 220, 210, 0.9);
  backdrop-filter: blur(14px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.18s ease, transform 0.18s ease;
}

img.brand-logo,
.brand-logo,
.nav-brand img {
  width: 36px;
  height: 36px;
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  align-self: center;
  display: inline-block;
  filter: drop-shadow(0 10px 18px rgba(45, 125, 82, 0.14));
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brand-main {
  line-height: 1;
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--c-text-soft);
  letter-spacing: 0.04em;
  line-height: 1;
}

.burger-icon {
  display: block;
}

.nav-brand:hover {
  color: var(--c-primary-dark);
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--c-text);
  font-size: 1rem;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.nav-links a:hover { color: var(--c-primary); }
.nav-links a.active { color: var(--c-primary); font-weight: 600; }

.nav-links > li > a:hover,
.nav-links > li > a:focus-visible,
.nav-top-btn:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}


.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.65rem;
  cursor: pointer;
  color: var(--c-text);
  padding: 12px 14px;
  min-height: 66px;
}

.nav-back {
  font-size: 0.9rem;
  color: var(--c-text-soft);
  text-decoration: none;
}
.nav-back:hover { color: var(--c-primary); }

@media (max-width: 680px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--c-bg);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--c-border);
    padding: 8px 0 12px;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 10px 24px;
  }

}

/* ── Mega menu ── */
header nav { position: relative; }

.nav-item {
  display: flex;
  align-items: center;
  position: static;
}

/* Active parent when on sub-page */
.has-dropdown.active > .nav-top-btn {
  color: var(--c-primary);
  font-weight: 700;
}

.nav-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  color: var(--c-text);
  padding: 4px 0;
  margin: 0;
  border-radius: 0;
  transition: color 0.18s ease;
  white-space: nowrap;
  line-height: inherit;
}

.nav-top-btn:hover,
.has-dropdown.open > .nav-top-btn {
  color: var(--c-primary);
}

.nav-top-btn:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
}

.nav-arrow {
  display: block;
  flex-shrink: 0;
  transition: transform 0.22s ease;
  opacity: 0.55;
}

.has-dropdown.open > .nav-top-btn .nav-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* Base: always hidden */
.nav-dropdown {
  display: none;
  margin: 0;
  padding: 0;
}

/* Base mega resets — ensure correct rendering regardless of media query */
.mega-links { list-style: none; margin: 0; padding: 0; }
.mega-link-body { display: flex; flex-direction: column; gap: 3px; }

/* ── Desktop mega panel ── */
@media (min-width: 681px) {
  .has-dropdown {
    position: static;
  }

  .nav-dropdown {
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: calc(100% - 40px);
    max-width: 860px;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-top: 3px solid var(--c-primary);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 16px 52px rgba(0, 0, 0, 0.14);
    z-index: 200;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
    padding: 24px 28px 28px;
  }

  .has-dropdown.open > .nav-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
  }

  .nav-dropdown .container {
    max-width: none;
    padding: 0;
  }

  .mega-inner {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 32px;
    align-items: start;
  }

  .mega-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .mega-link {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 16px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--c-text);
    transition: background 0.18s ease;
  }

  .mega-link:hover {
    background: var(--c-bg-alt);
  }

  .mega-link:hover strong,
  .mega-link.active strong {
    color: var(--c-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .mega-link.active strong {
    text-decoration: none;
    font-weight: 700;
  }

  .mega-link.is-overview {
    border-bottom: 1px solid var(--c-border);
    margin-bottom: 8px;
    padding-bottom: 18px;
    border-radius: 0;
  }

  .mega-link-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 125, 82, 0.08);
    border-radius: 8px;
    color: var(--c-primary);
    margin-top: 1px;
    transition: background 0.18s ease;
  }

  .mega-link:hover .mega-link-icon {
    background: rgba(45, 125, 82, 0.14);
  }

  .mega-link-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .mega-link strong {
    display: block;
    font-size: 1.0rem;
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.3;
    transition: color 0.18s ease;
  }

  .mega-link-sub {
    display: block;
    font-size: 0.9rem;
    color: var(--c-text-soft);
    line-height: 1.45;
  }

  .mega-side {
    background: var(--c-bg-alt);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--c-border);
  }

  .mega-side-img {
    width: 100%;
    height: 156px;
    object-fit: cover;
    display: block;
  }

  .mega-side-info {
    padding: 20px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mega-side-label {
    font-size: 0.9rem;
    color: var(--c-text-soft);
    line-height: 1.5;
    margin: 0;
  }

  .mega-side-phone {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--c-primary);
    text-decoration: none;
    letter-spacing: -0.01em;
  }

  .mega-side-phone:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .nav-links .mega-side-cta {
    font-size: 0.95rem;
    font-weight: 700;
    padding: 13px 18px;
    width: 100%;
    display: block;
    box-sizing: border-box;
    text-align: center;
    color: var(--c-text);
    box-shadow: none;
    letter-spacing: 0.01em;
    background: #fff;
  }

  .nav-links .mega-side-cta:hover,
  .nav-links .mega-side-cta:focus,
  .nav-links .mega-side-cta:focus-visible,
  .nav-links .mega-side-cta:active {
    background: rgba(255,255,255,0.92);
    color: var(--c-text);
    box-shadow: none;
    transform: none;
  }
}

/* ── Mobile mega menu (accordion) ── */
@media (max-width: 680px) {
  /* BEL-141: column so dropdown stacks below trigger, not beside it */
  .nav-item {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-top-btn {
    width: 100%;
    justify-content: space-between;
    padding: 12px 24px;
    font-size: 1rem;
    min-height: 48px;
  }

  .nav-arrow { opacity: 0.6; }

  .has-dropdown.open > .nav-dropdown {
    display: block;
    width: 100%;
    background: var(--c-bg-alt);
    border-left: 3px solid var(--c-border);
  }

  .nav-dropdown .container {
    padding: 0;
  }

  .mega-inner {
    display: block;
  }

  .mega-side {
    display: none;
  }

  .mega-links {
    list-style: none;
    margin: 0;
    padding: 4px 0 8px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .nav-links .mega-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--c-text);
    text-decoration: none;
    border-radius: 0;
    min-height: 44px;
  }

  .mega-link.is-overview {
    border-bottom: 1px solid var(--c-border);
    margin-bottom: 4px;
  }

  .mega-link-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-primary);
    background: rgba(45, 125, 82, 0.08);
    border-radius: 6px;
  }

  .mega-link strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-text);
  }

  .mega-link-sub {
    display: none;
  }

  .mega-link-body {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-dropdown { transition: none; }
  .nav-arrow { transition: none; }
}

/* ── Sections ── */
section { padding: 72px 0; }
section.alt { background: var(--c-bg-alt); }

.section-slant-top,
.section-slant-bottom,
.section-soft-wave,
.section-slant-top-left,
.section-slant-top-right,
.section-slant-bottom-left,
.section-slant-bottom-right,
.section-slant-both,
.section-slant-both-reverse {
  --section-shape-h: clamp(72px, 10vw, 148px);
  --section-shape-bg: var(--c-bg);
  --section-flow-pad-y: 72px;
  --section-content-clearance: 24px;
  position: relative;
  isolation: isolate;
}

.section-slant-top > .container,
.section-slant-bottom > .container,
.section-soft-wave > .container,
.section-slant-top-left > .container,
.section-slant-top-right > .container,
.section-slant-bottom-left > .container,
.section-slant-bottom-right > .container,
.section-slant-both > .container,
.section-slant-both-reverse > .container,
.trust-strip-inner {
  position: relative;
  z-index: 2;
}

section.section-slant-top,
section.section-soft-wave,
section.section-slant-top-left,
section.section-slant-top-right,
section.section-slant-both,
section.section-slant-both-reverse,
div.section-slant-top,
div.section-soft-wave,
div.section-slant-top-left,
div.section-slant-top-right,
div.section-slant-both,
div.section-slant-both-reverse {
  margin-top: var(--section-shape-h);
  padding-top: calc(var(--section-flow-pad-y) + var(--section-content-clearance));
}

section.section-slant-bottom,
section.section-slant-bottom-left,
section.section-slant-bottom-right,
section.section-slant-both,
section.section-slant-both-reverse,
div.section-slant-bottom,
div.section-slant-bottom-left,
div.section-slant-bottom-right,
div.section-slant-both,
div.section-slant-both-reverse {
  margin-bottom: var(--section-shape-h);
  padding-bottom: var(--section-flow-pad-y);
}

.section-slant-top::before,
.section-slant-top-left::before,
.section-slant-top-right::before,
.section-slant-both::before,
.section-slant-both-reverse::before,
.section-slant-bottom::after,
.section-slant-bottom-left::after,
.section-slant-bottom-right::after,
.section-slant-both::after,
.section-slant-both-reverse::after,
.section-soft-wave::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: var(--section-shape-h);
  background: var(--section-shape-bg);
  pointer-events: none;
  z-index: 1;
}

.section-slant-top::before {
  top: calc(var(--section-shape-h) * -1 + 1px);
  clip-path: polygon(0 86%, 100% 0, 100% 100%, 0 100%);
}

.section-slant-top-left::before,
.section-slant-both::before {
  top: calc(var(--section-shape-h) * -1 + 1px);
  clip-path: polygon(0 0, 100% 86%, 100% 100%, 0 100%);
}

.section-slant-top-right::before,
.section-slant-both-reverse::before {
  top: calc(var(--section-shape-h) * -1 + 1px);
  clip-path: polygon(0 86%, 100% 0, 100% 100%, 0 100%);
}

.section-slant-bottom::after {
  bottom: calc(var(--section-shape-h) * -1 + 1px);
  clip-path: polygon(0 0, 100% 0, 100% 14%, 0 100%);
}

.section-slant-bottom-left::after,
.section-slant-both::after {
  bottom: calc(var(--section-shape-h) * -1 + 1px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 14%);
}

.section-slant-bottom-right::after,
.section-slant-both-reverse::after {
  bottom: calc(var(--section-shape-h) * -1 + 1px);
  clip-path: polygon(0 0, 100% 0, 100% 14%, 0 100%);
}

.section-soft-wave::before {
  top: calc(var(--section-shape-h) * -1 + 1px);
  clip-path: polygon(0 58%, 38% 22%, 100% 50%, 100% 100%, 0 100%);
}

section.alt.section-slant-top,
section.alt.section-slant-bottom,
section.alt.section-soft-wave,
section.alt.section-slant-top-left,
section.alt.section-slant-top-right,
section.alt.section-slant-bottom-left,
section.alt.section-slant-bottom-right,
section.alt.section-slant-both,
section.alt.section-slant-both-reverse,
.section-service-imgs.alt {
  --section-shape-bg: var(--c-bg-alt);
}

.trust-strip.section-slant-top,
.trust-strip.section-slant-top-left,
.trust-strip.section-slant-top-right {
  --section-flow-pad-y: 14px;
  --section-shape-h: clamp(18px, 2.4vw, 30px);
  --section-content-clearance: 16px;
  --section-shape-bg: var(--c-primary);
}

.cta-band-soft.section-slant-top,
.cta-band-soft.section-slant-bottom,
.cta-band-soft.section-soft-wave,
.cta-band-soft.section-slant-top-left,
.cta-band-soft.section-slant-top-right,
.cta-band-soft.section-slant-bottom-left,
.cta-band-soft.section-slant-bottom-right,
.cta-band-soft.section-slant-both,
.cta-band-soft.section-slant-both-reverse {
  --section-flow-pad-y: 48px;
  --section-content-clearance: 10px;
  --section-shape-bg: #f7f2eb;
}

.cta-band.section-slant-top,
.cta-band.section-slant-bottom,
.cta-band.section-slant-top-left,
.cta-band.section-slant-top-right,
.cta-band.section-slant-bottom-left,
.cta-band.section-slant-bottom-right,
.cta-band.section-slant-both,
.cta-band.section-slant-both-reverse {
  --section-flow-pad-y: 64px;
  --section-content-clearance: 12px;
  --section-shape-bg: #2d7d52;
}

@media (max-width: 680px) {
  .section-slant-top,
  .section-slant-bottom,
  .section-soft-wave,
  .section-slant-top-left,
  .section-slant-top-right,
  .section-slant-bottom-left,
  .section-slant-bottom-right,
  .section-slant-both,
  .section-slant-both-reverse {
    --section-shape-h: 48px;
    --section-flow-pad-y: 56px;
    --section-content-clearance: 14px;
  }

  .trust-strip.section-slant-top,
  .trust-strip.section-slant-top-left,
  .trust-strip.section-slant-top-right {
    --section-flow-pad-y: 14px;
    --section-shape-h: 16px;
    --section-content-clearance: 14px;
  }

  .cta-band-soft.section-slant-top,
  .cta-band-soft.section-slant-bottom,
  .cta-band-soft.section-soft-wave,
  .cta-band-soft.section-slant-top-left,
  .cta-band-soft.section-slant-top-right,
  .cta-band-soft.section-slant-bottom-left,
  .cta-band-soft.section-slant-bottom-right,
  .cta-band-soft.section-slant-both,
  .cta-band-soft.section-slant-both-reverse {
    --section-flow-pad-y: 44px;
    --section-content-clearance: 8px;
  }

  .cta-band.section-slant-top,
  .cta-band.section-slant-bottom,
  .cta-band.section-slant-top-left,
  .cta-band.section-slant-top-right,
  .cta-band.section-slant-bottom-left,
  .cta-band.section-slant-bottom-right,
  .cta-band.section-slant-both,
  .cta-band.section-slant-both-reverse {
    --section-flow-pad-y: 52px;
    --section-content-clearance: 8px;
  }
}

h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-text);
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 18px;
  line-height: 1.3;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-text);
}

.page-hero {
  background: var(--c-bg-alt);
  padding: 80px 0 48px;
}

.page-hero .page-tag {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 16px;
}

.page-hero h1 {
  max-width: 720px;
  margin-bottom: 18px;
}

.page-hero p {
  font-size: 1.18rem;
  color: var(--c-text-soft);
  max-width: 620px;
  line-height: 1.7;
}

.page-hero .benefit-chips {
  margin-top: 22px;
}

/* Tighten slant + padding for first section directly after page-hero */
.page-hero + section,
.page-hero + div {
  --section-shape-h: clamp(36px, 4.5vw, 64px);
  --section-flow-pad-y: 48px;
  --section-content-clearance: 8px;
}

@media (max-width: 600px) {
  .page-hero { padding: 56px 0 36px; }
  .page-hero h1 { font-size: 1.65rem; }
  .page-hero p { font-size: 1.05rem; }
}

.legal-main {
  padding: 56px 0 64px;
}

body.legal-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.legal-page .legal-main {
  flex: 1 0 auto;
  padding: clamp(48px, 7vh, 72px) 0 clamp(72px, 10vh, 104px);
}

body.legal-page footer {
  flex-shrink: 0;
}

.section-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--c-text-soft);
  margin-bottom: 40px;
  max-width: 640px;
}

@media (max-width: 600px) {
  .section-lead { font-size: 1.1rem; }
}

/* ── Hero (homepage only) — Split Layout ── */
.hero {
  background: linear-gradient(135deg, #142019 0%, #1b2d24 50%, #1e3229 100%);
  position: relative;
  overflow: visible;
  z-index: 1;
}

/* BEL-108: Geometric Belivia accent edge along the hero's bottom diagonal */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(60px, 8vw, 116px);
  background: linear-gradient(110deg, var(--c-primary) 0%, var(--c-teal) 58%, var(--c-teal-light) 100%);
  clip-path: polygon(0 86%, 100% 0, 100% 14%, 0 100%);
  pointer-events: none;
  z-index: 6;
}

/* BEL-109: On mobile, fill the entire transition gap below the hero with the
   next section's mint colour so the previously transparent (white) triangle
   disappears beneath the diagonal accent. */
@media (max-width: 860px) {
  .hero + section.section-service-imgs.section-slant-top-right::before {
    clip-path: none;
  }
}

/* BEL-130: hero fills the full visible viewport (no offset) so hero bottom = viewport
   bottom. That places the diagonal stripe top (hero::after, 60px tall) at 100svh−60px,
   safely below the FAB bottom which sits at 80px from viewport bottom. */
@media (max-width: 680px) {
  html {
    scroll-padding-bottom: var(--mobile-cta-space, 72px);
  }
  .hero-split-inner {
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
  }
  .hero + section.section-service-imgs.section-slant-top-right {
    padding-top: clamp(72px, 14vw, 96px);
  }
}

/* BEL-124: Desktop hero signature depth — radial glow behind text, vertical accent line. */
@media (min-width: 861px) {
  .hero-text-col::before {
    content: "";
    position: absolute;
    inset: -10% -22% -10% -28%;
    background: radial-gradient(ellipse 60% 55% at 30% 50%, rgba(44,130,82,0.18) 0%, rgba(44,130,82,0) 70%);
    pointer-events: none;
    z-index: -1;
  }
  .hero-copy {
    position: relative;
  }
  .hero-copy::before {
    content: "";
    position: absolute;
    left: -22px;
    top: 8%;
    bottom: 8%;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, rgba(120,200,150,0.45) 25%, rgba(120,200,150,0.45) 75%, transparent 100%);
    pointer-events: none;
  }
}

/* BEL-124: Hide hero CTA on mobile — the floating FAB takes over below 860 px. */
@media (max-width: 860px) {
  .hero .hero-cta-group { display: none; }
}

.hero-split-inner {
  display: flex;
  align-items: center;
  min-height: max(540px, calc(78vh - var(--header-h)));
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(52px, 8vh, 84px) 40px;
  gap: clamp(32px, 4.5vw, 60px);
}

.hero-text-col {
  flex: 0 0 40%;
  position: relative;
  z-index: 2;
}

.hero-media-col {
  flex: 1 1 0;
  min-width: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.hero-media-card {
  position: relative;
  width: 100%;
  height: clamp(400px, 68vh, 640px);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 48px 88px -28px rgba(0, 0, 0, 0.58),
    0 18px 36px -12px rgba(0, 0, 0, 0.30);
}

.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #1b2d24;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1100ms cubic-bezier(0.22, 0.72, 0.22, 1), transform 1400ms cubic-bezier(0.22, 0.72, 0.22, 1);
  will-change: opacity, transform;
}

.hero-slide.previous {
  transform: scale(1.02);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-card-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(12, 27, 20, 0.16) 0%,
      rgba(12, 27, 20, 0) 22%,
      rgba(12, 27, 20, 0) 58%,
      rgba(10, 22, 16, 0.44) 100%
    );
  border-radius: inherit;
}

.hero-trust-card {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  background: rgba(255, 255, 255, 0.91);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 40px;
  padding: 9px 22px;
  box-shadow:
    0 8px 24px -6px rgba(0, 0, 0, 0.22),
    0 2px 8px -2px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.hero-trust-text {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-text);
}

.hero-slide-controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-slide-dot {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.hero-slide-dot::before {
  content: "";
  position: absolute;
  inset: 13px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.48);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-slide-dot.active::before {
  background: #fff;
  transform: scaleX(1.55);
}

.hero-slide-dot:focus-visible {
  outline: 3px solid rgba(255,255,255,0.75);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
    transform: none;
  }
}

/* ── BEL-145: Desktop hero CodePen-style card reveal — full-width horizontal ── */
@media (max-width: 860px) {
  .hero-reveal-cards { display: none !important; }
}

@media (min-width: 861px) {
  /* Text column steps aside — cards own the hero */
  .hero-text-col { display: none; }

  /* Media column fills the full hero row */
  .hero-media-col {
    flex: 1 1 100%;
    align-self: center;
    align-items: center;
    width: 100%;
  }

  /* Slideshow still hidden on desktop */
  .hero-media-card { display: none; }

  /* Extra bottom padding on hero inner so border overflow stays inside the section */
  .hero-split-inner {
    padding-bottom: max(clamp(52px, 8vh, 84px), 68px);
  }

  /* Horizontal card row */
  .hero-reveal-cards {
    display: flex;
    flex-direction: row;
    gap: 40px;
    width: 100%;
    height: clamp(300px, 46vh, 440px);
    padding: 0 36px 36px 0; /* right + bottom room for border offset */
    box-sizing: border-box;
  }

  .hero-rc-item {
    position: relative;
    flex: 1;
    min-width: 0;
  }

  .hero-rc-border {
    position: absolute;
    inset: 0;
    border: 2px solid var(--c-primary);
    border-radius: 16px;
    transform: translate(28px, 28px);
    opacity: 0.8;
    pointer-events: none;
  }

  .hero-rc-card {
    position: relative;
    z-index: 1;
    height: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
      0 12px 40px -12px rgba(0, 0, 0, 0.38),
      0 4px 14px -4px rgba(0, 0, 0, 0.18);
    transition:
      transform 0.48s cubic-bezier(0.22, 0.72, 0.22, 1),
      box-shadow 0.48s cubic-bezier(0.22, 0.72, 0.22, 1);
    will-change: transform;
    cursor: default;
  }

  .hero-rc-item:hover .hero-rc-card {
    transform: translate(-28px, -28px);
    box-shadow:
      0 20px 56px -14px rgba(0, 0, 0, 0.44),
      0 6px 18px -4px rgba(0, 0, 0, 0.22);
  }

  .hero-reveal-cards.is-revealed .hero-rc-card {
    transform: translate(-28px, -28px);
  }

  .hero-reveal-cards.is-revealed .hero-rc-item:nth-child(1) .hero-rc-card { transition-delay: 0ms; }
  .hero-reveal-cards.is-revealed .hero-rc-item:nth-child(2) .hero-rc-card { transition-delay: 120ms; }
  .hero-reveal-cards.is-revealed .hero-rc-item:nth-child(3) .hero-rc-card { transition-delay: 240ms; }

  .hero-rc-display {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 28px 32px;
    transition: opacity 0.30s ease, transform 0.30s ease;
  }

  .hero-rc-item:hover .hero-rc-display,
  .hero-reveal-cards.is-revealed .hero-rc-display {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }

  .hero-reveal-cards.is-revealed .hero-rc-item:nth-child(1) .hero-rc-display { transition-delay: 0ms; }
  .hero-reveal-cards.is-revealed .hero-rc-item:nth-child(2) .hero-rc-display { transition-delay: 120ms; }
  .hero-reveal-cards.is-revealed .hero-rc-item:nth-child(3) .hero-rc-display { transition-delay: 240ms; }

  .hero-rc-reveal {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 28px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.38s ease 0.14s, transform 0.38s ease 0.14s;
  }

  .hero-rc-item:hover .hero-rc-reveal,
  .hero-reveal-cards.is-revealed .hero-rc-reveal {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero-reveal-cards.is-revealed .hero-rc-item:nth-child(1) .hero-rc-reveal { transition-delay: 90ms; }
  .hero-reveal-cards.is-revealed .hero-rc-item:nth-child(2) .hero-rc-reveal { transition-delay: 210ms; }
  .hero-reveal-cards.is-revealed .hero-rc-item:nth-child(3) .hero-rc-reveal { transition-delay: 330ms; }

  .hero-rc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--c-primary);
    border-radius: 12px;
    margin-bottom: 18px;
    color: #fff;
    flex-shrink: 0;
  }

  .hero-rc-title {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--c-text);
    line-height: 1.2;
  }

  .hero-rc-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--c-text);
    margin: 12px 0 0;
  }

  .hero-rc-link {
    display: inline-block;
    margin-top: 18px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--c-primary);
    letter-spacing: 0.01em;
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-rc-card,
    .hero-rc-item:hover .hero-rc-card,
    .hero-reveal-cards.is-revealed .hero-rc-card {
      transition: none;
      transform: translate(-28px, -28px);
    }
    .hero-rc-display { transition: none; opacity: 0; }
    .hero-rc-reveal { transition: none; opacity: 1; transform: translateY(0); }
  }
}

.hero-copy {
  max-width: 580px;
}

.hero h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(1.9rem, 2.9vw, 2.85rem);
  line-height: 1.13;
  text-wrap: balance;
}

.hero-subline {
  font-size: clamp(1.05rem, 1.7vw, 1.38rem);
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin: 0 0 18px;
  line-height: 1.4;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  margin: 0;
  line-height: 1.72;
}

.hero-tag {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.86);
  margin-bottom: 20px;
}

.hero .hero-cta-group {
  margin-top: 32px;
}

.hero .btn {
  background: #fff;
  color: var(--c-primary-dark);
  box-shadow: 0 22px 38px -26px rgba(0, 0, 0, 0.65);
}

.hero .btn:hover {
  background: rgba(255,255,255,0.94);
  color: var(--c-primary-dark);
  box-shadow: 0 24px 42px -26px rgba(0, 0, 0, 0.7);
}

.hero .hero-cta-group .hero-call {
  color: rgba(255,255,255,0.78);
  font-size: 0.96rem;
}
.hero .hero-cta-group .hero-call a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.hero .hero-cta-group .hero-call a:hover {
  text-decoration: underline;
}

/* ── Hero copy fade-in ── */
.hero-copy > * {
  animation: heroItemFadeIn 0.65s cubic-bezier(0.22, 0.72, 0.22, 1) both;
}
.hero-copy > *:nth-child(1) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.18s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.36s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.42s; }

@keyframes heroItemFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy > * { animation: none; }
}

/* ── Hero split: mobile stack — light bg, dark text ── */
@media (max-width: 860px) {
  .hero {
    background: linear-gradient(to bottom, #cfe8db 0%, var(--c-bg-alt) 100%);
  }

  .hero-split-inner {
    flex-direction: column-reverse;
    align-items: flex-start;
    min-height: unset;
    /* BEL-139: bottom pad = stripe clearance only (FAB now in flow, not fixed-offset) */
    padding: 28px 20px 80px;
    gap: 32px;
  }

  .hero-text-col {
    flex: none;
    width: 100%;
  }

  .hero-media-col {
    width: 100%;
    align-self: auto;
  }

  .hero-media-card {
    height: clamp(220px, 58vw, 360px);
    border-radius: 14px;
  }

  .hero-trust-card {
    display: none;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
    color: var(--c-text);
  }

  .hero-tag {
    color: var(--c-primary-dark);
  }

  .hero-subline {
    font-size: 1.1rem;
    color: var(--c-text);
  }

  .hero-sub {
    font-size: 0.97rem;
    color: var(--c-text-soft);
  }

  .hero .btn {
    background: linear-gradient(180deg, #378f60 0%, var(--c-primary) 100%);
    color: #fff;
    box-shadow: 0 18px 32px -24px rgba(45, 125, 82, 0.95);
  }

  .hero .btn:hover {
    background: linear-gradient(180deg, #317f55 0%, var(--c-primary-dark) 100%);
    color: #fff;
    box-shadow: 0 20px 36px -24px rgba(30, 92, 60, 0.95);
  }
}

.steps-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.97rem;
  color: var(--c-text-soft);
  font-style: italic;
}

/* ── Button ── */
.btn {
  display: inline-block;
  background: linear-gradient(180deg, #378f60 0%, var(--c-primary) 100%);
  color: #fff;
  padding: 13px 30px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 18px 32px -24px rgba(45, 125, 82, 0.95);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  background: linear-gradient(180deg, #317f55 0%, var(--c-primary-dark) 100%);
  box-shadow: 0 20px 36px -24px rgba(30, 92, 60, 0.95);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  background: rgba(255,255,255,0.72);
  color: var(--c-primary);
  padding: 11px 28px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--c-primary);
  cursor: pointer;
  box-shadow: 0 14px 28px -28px rgba(45, 125, 82, 0.85);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn-outline:hover {
  background: rgba(45, 125, 82, 0.08);
  color: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  box-shadow: 0 18px 30px -28px rgba(45, 125, 82, 0.95);
  transform: translateY(-1px);
}

/* ── Services grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-primary);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--c-text);
}

.service-card p {
  font-size: 1rem;
  color: var(--c-text-soft);
}

/* ── Two-column ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 680px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

.two-col p + p { margin-top: 14px; }
.two-col h2 { margin-bottom: 16px; }

.check-list {
  list-style: none;
  margin-top: 20px;
}

.check-list li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 0.97rem;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-primary);
  font-weight: 700;
}

.angehoerige-note {
  background: var(--c-warm);
  border-left: 4px solid var(--c-teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 28px 24px;
}

.angehoerige-note p {
  font-size: 1rem;
  font-style: italic;
  color: var(--c-text);
  line-height: 1.6;
  margin-bottom: 12px;
}

.angehoerige-note span {
  font-size: 0.88rem;
  color: var(--c-text-soft);
}

/* ── Trust grid ── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.trust-item {
  padding: 24px 20px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.trust-icon {
  font-size: 1.3rem;
  color: var(--c-primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.trust-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.trust-item p {
  font-size: 1rem;
  color: var(--c-text-soft);
}

/* ── Image placeholders ── */
.img-placeholder {
  background:
    radial-gradient(circle at top right, rgba(123, 207, 95, 0.22) 0%, rgba(123, 207, 95, 0) 42%),
    radial-gradient(circle at bottom left, rgba(43, 168, 163, 0.18) 0%, rgba(43, 168, 163, 0) 48%),
    linear-gradient(160deg, rgba(247, 242, 235, 0.95) 0%, rgba(243, 248, 245, 1) 100%);
  border: 1px solid rgba(198, 220, 210, 0.95);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0;
  letter-spacing: 0;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

.img-placeholder::before,
.img-placeholder::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.img-placeholder::before {
  inset: 22px auto auto 24px;
  width: 38%;
  height: 1px;
  background: linear-gradient(90deg, rgba(45, 125, 82, 0.28) 0%, rgba(45, 125, 82, 0) 100%);
}

.img-placeholder::after {
  right: 28px;
  bottom: 24px;
  width: 124px;
  height: 124px;
  background: radial-gradient(circle, rgba(45, 125, 82, 0.12) 0%, rgba(45, 125, 82, 0) 72%);
}

.hero-img {
  height: 440px;
  margin-top: 32px;
  max-width: 100%;
}

.angehoerige-img {
  height: 320px;
  margin-bottom: 20px;
}

.page-img {
  height: 380px;
  margin-top: 0;
}

/* BEL-017 updated: even 50/50 split for remaining two-col with images */
.two-col:has(.img-real),
.two-col:has(.img-placeholder) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}

/* ── BEL-019: Image feature sections — bildstarke Bild/Text-Komposition ── */
.image-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.image-feature-content p + p { margin-top: 14px; }
.image-feature-content h2 { margin-bottom: 16px; }

.feature-img {
  height: 420px;
}

.leistungen-intro {
  gap: 44px;
}

@media (max-width: 680px) {
  .image-feature {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .image-feature-media { order: -1; }
  .feature-img { height: 260px; }
}

/* ── Ablauf / Steps ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 620px) {
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
}

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-text);
}

.step p {
  font-size: 1rem;
  color: var(--c-text-soft);
}

/* ── FAQ ── */
.faq-container { max-width: 720px; }

.faq-list {
  margin-top: 36px;
  border-top: 1px solid var(--c-border);
}

.faq-item {
  border-bottom: 1px solid var(--c-border);
}

.faq-item summary {
  padding: 18px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--c-primary);
  flex-shrink: 0;
  font-weight: 400;
  transition: transform 0.15s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 0 18px;
  color: var(--c-text-soft);
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Contact form ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-top: 36px;
}

@media (max-width: 720px) {
  .contact-layout { grid-template-columns: 1fr; gap: 24px; }
}

.contact-info p { color: var(--c-text-soft); font-size: 0.95rem; }
.contact-info p + p { margin-top: 14px; }
.contact-info a { color: var(--c-primary); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--c-text);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 5px;
  padding: 10px 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: auto;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(45, 125, 82, 0.15);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.form-group--check label { font-weight: 400; font-size: 0.9rem; color: var(--c-text-soft); line-height: 1.5; }
.form-group--check input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; width: 17px; height: 17px; cursor: pointer; }
.form-group--check a { color: var(--c-primary); }

.form-error {
  background: var(--c-error-bg);
  color: var(--c-error-text);
  border-radius: 5px;
  padding: 12px 16px;
  font-size: 0.93rem;
}

.form-success {
  background: var(--c-success-bg);
  color: var(--c-success-text);
  border-radius: 5px;
  padding: 16px 20px;
  font-size: 0.97rem;
  line-height: 1.6;
}

.form-note { font-size: 0.9rem; color: var(--c-text-soft); }

/* ── Footer ── */
footer {
  background: var(--c-text);
  color: rgba(255,255,255,0.7);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

img.footer-logo,
.footer-logo,
.footer-brand img {
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  align-self: center;
  display: inline-block;
}

.footer-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand-name {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.1;
}

.footer-brand-meta {
  color: rgba(255,255,255,0.62);
  font-size: 0.8rem;
  line-height: 1.2;
}

.footer-inner p { font-size: 0.88rem; }

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s;
  padding: 10px 6px;
  display: inline-block;
}

.footer-nav a:hover { color: #fff; }

/* ── Service cards as links ── */
a.service-card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.card-more {
  display: block;
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--c-primary);
  font-weight: 600;
}

/* ── Info box ── */
.info-box {
  background: var(--c-warm);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin-top: 24px;
}
.info-box p { font-size: 0.95rem; color: var(--c-text-soft); margin: 0; }
.info-box p + p { margin-top: 8px; }

/* ── Highlight box (Pflegekasse numbers) ── */
.highlight-box {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-primary);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}
.highlight-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.highlight-label {
  font-size: 0.9rem;
  color: var(--c-text-soft);
}

/* ── Scope boundary list (what is NOT included) ── */
.scope-not-list {
  list-style: none;
  margin-top: 20px;
}
.scope-not-list li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 0.97rem;
  color: var(--c-text-soft);
}
.scope-not-list li::before {
  content: '–';
  position: absolute;
  left: 8px;
  color: var(--c-text-soft);
}

/* ── CTA band ── */
.cta-band {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 38%),
    linear-gradient(180deg, #2d7d52 0%, #246946 100%);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 32px;
}
.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--c-primary);
  padding: 13px 30px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 18px 30px -24px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.btn-white:hover {
  background: rgba(255,255,255,0.94);
  box-shadow: 0 20px 34px -24px rgba(0, 0, 0, 0.38);
  transform: translateY(-1px);
}
.cta-band .hero-call { color: rgba(255,255,255,0.75); margin-top: 20px; }
.cta-band .hero-call a { color: #fff; font-weight: 600; }

/* ── Footer geometry bridge + links area ── */
.footer-geo-bridge {
  background: var(--c-text);
  height: clamp(100px, 13vw, 160px);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
  margin-top: calc(clamp(100px, 13vw, 160px) * -0.6);
  position: relative;
}

.footer-links-area {
  background: var(--c-text);
  padding: 48px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
/* BEL-SEO-03: vierte Spalte (Orte). Zwischenbreite auf 2 Spalten, sonst
   werden die Listen zu schmal. Die 640er-Regel unten greift weiterhin. */
@media (max-width: 900px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 640px) {
  .footer-geo-bridge {
    height: 90px;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
    margin-top: -45px;
  }

  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 380px) {
  .footer-cols { grid-template-columns: 1fr; }
}
.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 14px;
}
.footer-links-area ul { list-style: none; }
.footer-links-area ul li { margin-bottom: 8px; }
.footer-links-area ul a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s;
}
.footer-links-area ul a:hover { color: #fff; }

/* ── Batch 3: Professional Conversion Upgrade ─────────────────── */

/* Benefit chips */
.benefit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}
.benefit-chip {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(45,125,82,0.3);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.84rem;
  color: var(--c-primary);
  font-weight: 600;
  line-height: 1.4;
}
.page-hero .benefit-chip {
  background: rgba(43,168,163,0.08);
  border-color: rgba(43,168,163,0.28);
  color: var(--c-teal);
}

/* Dual CTA in hero */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.hero-cta-group .hero-call { margin: 0; }

/* Trust strip */
.trust-strip {
  background: var(--c-primary);
  padding: 20px 0;
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 36px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
.trust-strip-item {
  color: rgba(255,255,255,0.9);
  font-size: 0.86rem;
  padding: 4px 0;
}
.trust-strip-item::before {
  content: "\2713\00a0";
  font-weight: 700;
  color: #fff;
}

/* Entlastungs-Check / info cards */
.check-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.check-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-primary);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}
.check-card h3 {
  font-size: 0.97rem;
  margin-bottom: 8px;
  color: var(--c-primary);
}
.check-card p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--c-text-soft);
  line-height: 1.55;
}

/* Contact type cards */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin: 24px 0 32px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-primary);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}
.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--c-primary);
}
.contact-card p {
  font-size: 0.95rem;
  color: var(--c-text-soft);
  margin: 0 0 10px;
  line-height: 1.55;
}
.contact-card a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-primary);
  text-decoration: none;
}
.contact-card a:hover { text-decoration: underline; }

/* Dual CTA group inside cta-band */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.cta-group .hero-call { margin: 0; color: rgba(255,255,255,0.85); }
.cta-group .hero-call a { color: #fff; }
.btn-outline-white {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.65);
  color: #fff;
  box-shadow: 0 18px 28px -28px rgba(0, 0, 0, 0.45);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  box-shadow: 0 20px 34px -28px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}

/* "What happens next" block */
.next-steps-block {
  background: var(--c-warm);
  border-left: 3px solid var(--c-teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px;
  margin-top: 24px;
}
.next-steps-block h3 {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--c-teal);
}
.next-steps-block ol {
  margin: 0;
  padding-left: 20px;
}
.next-steps-block ol li {
  font-size: 0.88rem;
  margin-bottom: 7px;
  color: var(--c-text-soft);
  line-height: 1.5;
}
.next-steps-block ol li:last-child { margin-bottom: 0; }

/* Related services cross-links */
.related-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.related-service-link {
  display: block;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--c-text);
  transition: border-color 0.15s, box-shadow 0.15s;
  position: relative;
  overflow: hidden;
}
.related-service-link:hover {
  border-color: var(--c-primary);
  box-shadow: 0 2px 8px rgba(45,125,82,0.12);
}
.related-service-link h3 {
  font-size: 0.95rem;
  color: var(--c-primary);
  margin-bottom: 4px;
}
.related-service-link p {
  font-size: 0.85rem;
  color: var(--c-text-soft);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .benefit-chips { gap: 6px; }
  .trust-strip-inner { gap: 0 16px; }
  .check-cards, .contact-cards, .related-services-grid { grid-template-columns: 1fr; }
  .cta-group { flex-direction: column; gap: 12px; }
  .hero-cta-group { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ── BEL-002: Professional Funnel Upgrade ─────────────────── */

/* Scroll reveal */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.1s cubic-bezier(0.22, 0.72, 0.22, 1), transform 1.2s cubic-bezier(0.22, 0.72, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

html.js .reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal,
  html.js .reveal-left,
  html.js .reveal-right,
  html.js .reveal-up,
  html.js .reveal-soft {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── BEL-019: Directional reveal — ruhig, dezent, Belivia-passend ── */
.reveal-left,
.reveal-right,
.reveal-up,
.reveal-soft {
  opacity: 1;
  transform: none;
}

html.js .reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 1.2s cubic-bezier(0.22, 0.72, 0.22, 1), transform 1.3s cubic-bezier(0.22, 0.72, 0.22, 1);
  transition-delay: var(--reveal-delay, 80ms);
}

html.js .reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 1.2s cubic-bezier(0.22, 0.72, 0.22, 1), transform 1.3s cubic-bezier(0.22, 0.72, 0.22, 1);
  transition-delay: var(--reveal-delay, 80ms);
}

html.js .reveal-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.1s cubic-bezier(0.22, 0.72, 0.22, 1), transform 1.2s cubic-bezier(0.22, 0.72, 0.22, 1);
  transition-delay: var(--reveal-delay, 80ms);
}

html.js .reveal-soft {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.0s cubic-bezier(0.22, 0.72, 0.22, 1), transform 1.1s cubic-bezier(0.22, 0.72, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

html.js .reveal-left.visible,
html.js .reveal-right.visible,
html.js .reveal-up.visible,
html.js .reveal-soft.visible {
  opacity: 1;
  transform: none;
}

/* Mobile: horizontale Slides deaktivieren, nur vertikales Fade */
@media (max-width: 680px) {
  html.js .reveal-left,
  html.js .reveal-right { transform: translateY(20px); }
  html.js .reveal-up { transform: translateY(24px); }
  html.js .reveal-soft { transform: translateY(12px); }
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal,
  html.js .reveal-left,
  html.js .reveal-right,
  html.js .reveal-up,
  html.js .reveal-soft {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Hover improvements */
.service-card,
.check-card,
.contact-card,
.related-service-link,
.trust-item,
.funnel-check-item {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.service-card::after,
.check-card::after,
.contact-card::after,
.related-service-link::after,
.trust-item::after,
.funnel-check-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(45, 125, 82, 0) 0%, rgba(45, 125, 82, 0.72) 18%, rgba(45, 125, 82, 0.22) 100%);
  opacity: 0;
  transform: scaleX(0.94);
  transform-origin: left center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.service-card:hover,
.service-card:focus-visible,
.check-card:hover,
.check-card:focus-within,
.contact-card:hover,
.contact-card:focus-within,
.related-service-link:hover,
.related-service-link:focus-visible,
.trust-item:hover,
.funnel-check-item:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 125, 82, 0.45);
  box-shadow: 0 22px 30px -28px rgba(45, 125, 82, 0.45);
  background-color: #fff;
}

.service-card:hover::after,
.service-card:focus-visible::after,
.check-card:hover::after,
.check-card:focus-within::after,
.contact-card:hover::after,
.contact-card:focus-within::after,
.related-service-link:hover::after,
.related-service-link:focus-visible::after,
.trust-item:hover::after,
.funnel-check-item:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Funnel check grid ("Passt Belivia zu uns?") */
.funnel-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 28px 0;
}
.funnel-check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}
.funnel-check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--c-primary);
  color: var(--c-primary);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.funnel-check-item p {
  font-size: 0.97rem;
  color: var(--c-text);
  margin: 0;
  line-height: 1.5;
}
.funnel-check-cta {
  text-align: center;
  margin-top: 28px;
}
.funnel-check-cta p {
  font-size: 1rem;
  color: var(--c-text-soft);
  margin-bottom: 18px;
}

/* Soft mid-funnel CTA band */
.cta-band-soft {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, #f7f2eb 0%, #f3eee6 100%);
  border-top: 1px solid var(--c-warm-border);
  border-bottom: 1px solid var(--c-warm-border);
  padding: 48px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band-soft h2 { margin-bottom: 12px; }
.cta-band-soft p {
  font-size: 1.02rem;
  color: var(--c-text-soft);
  max-width: 520px;
  margin: 0 auto 28px;
}

/* Einsatzgebiet strip */
.einsatz-strip {
  padding: 36px 0;
  text-align: center;
  border-top: 1px solid var(--c-border);
}
.einsatz-strip p {
  font-size: 0.97rem;
  color: var(--c-text-soft);
  margin-bottom: 10px;
}
.einsatz-strip a {
  color: var(--c-primary);
  font-weight: 600;
  text-decoration: none;
}
.einsatz-strip a:hover { text-decoration: underline; }

/* Inline CTA block (within section) */
.inline-cta {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--c-warm);
  border: 1px solid var(--c-warm-border);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.inline-cta p {
  font-size: 0.97rem;
  color: var(--c-text-soft);
  margin: 0;
  flex: 1;
  min-width: 180px;
}

/* Sticky mobile CTA bar — shown only via JS */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: linear-gradient(180deg, rgba(45, 125, 82, 0.96) 0%, rgba(36, 105, 70, 0.97) 100%);
  padding: 10px 14px 10px;
  padding-bottom: min(calc(10px + env(safe-area-inset-bottom, 0px)), 22px);
  min-height: 0;
  max-height: 76px;
  flex-wrap: nowrap;
  box-sizing: border-box;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 -14px 28px -22px rgba(0,0,0,0.45);
  backdrop-filter: blur(12px);
}
.mobile-cta-btn {
  background: #fff;
  color: var(--c-primary) !important;
  font-weight: 700;
  font-size: 0.93rem;
  padding: 8px 18px;
  border-radius: 5px;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 10px 24px -20px rgba(0, 0, 0, 0.45);
}
.mobile-cta-phone {
  color: rgba(255,255,255,0.9) !important;
  font-size: 0.88rem;
  text-decoration: none !important;
  font-weight: 600;
  flex: 1;
  text-align: center;
}

.mobile-cta-bar > * {
  min-height: 0;
  line-height: 1.2;
  flex-shrink: 0;
}

.mobile-cta-phone {
  white-space: nowrap;
}

.mobile-cta-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 2px 4px;
  line-height: 1;
  flex-shrink: 0;
}
@media (min-width: 681px) {
  .mobile-cta-bar { display: none !important; }
}
@media (max-width: 680px) {
  .funnel-check-grid { grid-template-columns: 1fr; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
}

/* Subtle gradient on hero areas */
.page-hero {
  background: linear-gradient(148deg, var(--c-bg-alt) 0%, #cde6da 52%, #b5d8c8 100%);
  position: relative;
  overflow: clip;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 125, 82, 0.13) 0%, rgba(45, 125, 82, 0) 70%);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-teal) 48%, rgba(43,168,163,0.08) 100%);
  pointer-events: none;
}

/* ── BEL-004: Mobile Hero / First Impression ─────────────── */
@media (max-width: 680px) {
  /* Compact, content-first layout — remove splash-screen feel */
  .hero {
    padding: 32px 0 24px;
    text-align: left;
  }
  .hero h1 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }
  .hero-tag { margin-bottom: 12px; }
  .benefit-chips {
    margin: 8px 0 16px;
    gap: 6px;
  }
  .benefit-chip {
    font-size: 0.79rem;
    padding: 4px 10px;
  }
  .hero-sub {
    font-size: 0.97rem;
    margin-bottom: 20px;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 4px;
  }
  /* BEL-019: Hero-Bild auf Mobile wieder sichtbar — kompakte Höhe, kein First-Screen-Crash */
  .hero-img { display: block; height: 240px; margin-top: 20px; }
}

/* ── BEL-005: Mobile CTA Above-the-fold ─────────────────── */
@media (max-width: 680px) {
  /* Tighter tag spacing */
  .hero-tag {
    font-size: 0.75rem;
    margin-bottom: 8px;
  }
  /* Smaller headline, tighter line-height */
  .hero h1 {
    font-size: 1.3rem;
    line-height: 1.2;
    margin-bottom: 10px;
  }
  /* Horizontal scroll row — chips no longer stack 4 rows tall */
  .hero .benefit-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 6px 0 10px;
    padding: 0 6px 2px 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-padding-inline: 2px;
  }
  .hero .benefit-chips::-webkit-scrollbar { display: none; }
  .hero .benefit-chip { flex-shrink: 0; }
  /* Full-width primary CTA — prominent tap target */
  .hero .hero-cta-group { margin-top: 6px; }
  .hero .hero-cta-group .btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  /* Sub text follows CTA — context for readers who scroll */
  .hero-sub {
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 0.93rem;
  }
}

@media (max-width: 420px) {
  .hero .benefit-chips {
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 6px;
    padding: 0;
    margin: 8px 0 12px;
  }

  .hero .benefit-chip {
    flex-shrink: 1;
    font-size: 0.76rem;
    line-height: 1.3;
    padding: 4px 9px;
  }
}

/* ── BEL-008: Always-visible Mobile Sticky CTA ───────────── */
@media (max-width: 680px) {
  :root { --header-h: 96px; }

  img.brand-logo,
  .brand-logo,
  .nav-brand img {
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
  }

  .nav-brand {
    gap: 14px;
    font-size: 1.75rem;
  }

  .mobile-cta-bar { display: flex; }
  .mobile-cta-bar.dismissed { display: none; }
  body.has-mobile-cta main { padding-bottom: 80px; }
  body.has-mobile-cta footer { padding-bottom: 80px; }

  .footer-inner {
    align-items: flex-start;
  }

  .footer-brand {
    width: 100%;
  }

  .footer-brand-name {
    font-size: 0.9rem;
  }

  .footer-brand-meta {
    font-size: 0.76rem;
  }
}

/* ── BEL-007: Mobile Hero Polish ─────────────────────────── */
@media (max-width: 680px) {
  /* Trust-signal chips — tinted fill + dark readable text */
  .hero .benefit-chip {
    background: var(--c-success-bg);
    border-color: rgba(45,125,82,0.22);
    color: var(--c-success-text);
  }
  /* Phone line — separated from CTA, centered, quieter */
  .hero .hero-cta-group .hero-call {
    width: 100%;
    font-size: 0.88rem;
    border-top: 1px solid var(--c-border);
    padding-top: 10px;
    margin-top: 2px;
    text-align: center;
  }
}

.btn:focus-visible,
.btn-outline:focus-visible,
.btn-white:focus-visible,
.btn-outline-white:focus-visible,
.nav-links a:focus-visible,
.nav-brand:focus-visible,
.mobile-cta-btn:focus-visible,
.mobile-cta-phone:focus-visible,
.mobile-cta-close:focus-visible {
  outline: 3px solid rgba(45, 125, 82, 0.22);
  outline-offset: 3px;
}

@media (hover: none) {
  .service-card:hover,
  .check-card:hover,
  .contact-card:hover,
  .related-service-link:hover,
  .trust-item:hover,
  .funnel-check-item:hover,
  .btn:hover,
  .btn-outline:hover,
  .btn-white:hover,
  .btn-outline-white:hover,
  .nav-brand:hover {
    transform: none;
    box-shadow: none;
  }

  .service-card:hover::after,
  .check-card:hover::after,
  .contact-card:hover::after,
  .related-service-link:hover::after,
  .trust-item:hover::after,
  .funnel-check-item:hover::after {
    opacity: 0;
    transform: scaleX(0.94);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

/* ── BEL-014: Real photo wrappers ── */
.img-real {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.09);
}
.img-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── BEL-015: Logo guard + overflow fix ── */
html, body {
  overflow-x: clip;
}

/* Explicit override — img inside .img-real must NOT shrink logos if somehow nested */
img.brand-logo, .nav-brand img { max-width: 62px !important; max-height: 62px !important; }
img.footer-logo, .footer-brand img { max-width: 40px !important; max-height: 40px !important; }

/* ── BEL-022: Service image grid — Leistungsbilder Startseite ── */
.service-img-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
}

.service-img-intro .section-lead {
  margin: 0 auto;
  text-align: center;
}

.service-img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-img-actions {
  text-align: center;
  margin-top: 56px;
}

.service-img-card,
.service-img-card:link,
.service-img-card:visited {
  display: block;
  text-decoration: none;
  color: var(--c-text);
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-img-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 125, 82, 0.36);
  box-shadow: 0 14px 32px rgba(27, 45, 36, 0.15);
}

.service-img-card:focus-visible {
  outline: 3px solid rgba(45, 125, 82, 0.34);
  outline-offset: 3px;
}

.service-img {
  height: 290px;
  border-radius: 0;
  box-shadow: none;
}

.service-img img {
  transition: transform 0.5s ease;
}

.service-img-card:hover .service-img img,
.service-img-card:focus-visible .service-img img {
  transform: scale(1.02);
}

.service-img-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px 18px;
  border-top: 2px solid var(--c-primary);
}

.service-img-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
}

.service-img-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(45, 125, 82, 0.48);
  background: rgba(45, 125, 82, 0.08);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--c-primary-dark);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.service-img-card:hover .service-img-cta,
.service-img-card:focus-visible .service-img-cta {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

/* ── BEL-022: Trust image section — 2 Bilder, ruhig, seriös ── */
.trust-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.trust-img-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-bg);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.trust-img {
  height: 340px;
  border-radius: 0;
  box-shadow: none;
}

.trust-img-caption {
  padding: 16px 20px;
  border-top: 1px solid var(--c-border);
}

.trust-img-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  margin: 0;
}

.trust-img-sub {
  font-size: 0.88rem;
  color: var(--c-text-soft);
  margin: 4px 0 0;
}

@media (max-width: 680px) {
  .service-img-intro {
    max-width: 100%;
    margin-bottom: 24px;
  }
  .service-img-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .service-img-actions {
    margin-top: 40px;
  }
  .service-img { height: 230px; }
  .trust-img-grid { grid-template-columns: 1fr; gap: 14px; }
  .trust-img { height: 250px; }
}

/* ── BEL-020: Mobile hero image guard — hochspezifisch, letzte Regel ── */
@media (max-width: 680px) {
  .hero .img-real.hero-img {
    display: block !important;
    height: 230px;
    margin-top: 18px;
  }
}

/* ── BEL-036/BEL-092/BEL-104/BEL-107: Mobile floating CTA spacing ── */
@media (max-width: 680px) {
  :root {
    /* BEL-139: stuck FAB is 12px from bottom + ~52px tray height + safe-area */
    --mobile-cta-space: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  body.has-mobile-cta main,
  body.has-mobile-cta footer {
    padding-bottom: var(--mobile-cta-space);
  }

  /* BEL-104: Split-hero mobile typography — dark text on light bg, compact CTA */
  .hero h1 {
    font-size: clamp(1.55rem, 7.5vw, 2.1rem);
    line-height: 1.13;
    margin-bottom: 14px;
    color: var(--c-text);
  }

  .hero-tag {
    font-size: 0.8rem;
    margin-bottom: 14px;
    color: var(--c-primary-dark);
  }

  .hero-subline {
    font-size: 1.02rem;
    margin-bottom: 14px;
    color: var(--c-text);
  }

  .hero-sub {
    font-size: 0.95rem;
    margin: 0;
    color: var(--c-text-soft);
  }

  .hero .hero-cta-group {
    margin-top: 22px;
  }

  /* Compact CTA — not full-width, distinct from FAB pill style */
  .hero .hero-cta-group .btn {
    width: auto;
    padding: 12px 26px;
    font-size: 0.96rem;
    text-align: center;
  }
}

/* ── Cookie Banner ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-top: 2px solid var(--c-primary);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.10);
  font-size: 0.92rem;
  line-height: 1.55;
}

#cookie-banner[hidden] { display: none; }

.cb-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 24px;
}

.cb-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 6px;
}

.cb-text {
  color: var(--c-text-soft);
  margin-bottom: 16px;
}

.cb-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.cb-btn {
  display: inline-block;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  white-space: nowrap;
  min-height: 44px;
}

.cb-btn--primary {
  background: var(--c-primary);
  color: #fff;
}
.cb-btn--primary:hover { background: var(--c-primary-dark); }

.cb-btn--secondary {
  background: transparent;
  color: var(--c-text-soft);
  border: 1.5px solid var(--c-border);
}
.cb-btn--secondary:hover { border-color: var(--c-primary); color: var(--c-primary); }

.cb-btn--ghost {
  background: transparent;
  color: var(--c-primary);
  text-decoration: underline;
  padding-left: 4px;
  padding-right: 4px;
}
.cb-btn--ghost:hover { color: var(--c-primary-dark); }

/* Settings panel */
.cb-settings {
  border-top: 1px solid var(--c-warm-border);
  margin-top: 16px;
  padding-top: 16px;
}
.cb-settings[hidden] { display: none; }

.cb-category {
  padding: 12px 0;
  border-bottom: 1px solid var(--c-bg-alt);
}
.cb-category:last-of-type { border-bottom: none; }

.cb-category-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.cb-category-name {
  font-weight: 600;
  color: var(--c-text);
  font-size: 0.92rem;
}

.cb-category-desc {
  color: var(--c-text-soft);
  font-size: 0.85rem;
  margin: 0;
}

.cb-badge {
  font-size: 0.75rem;
  background: var(--c-bg-alt);
  color: var(--c-text-soft);
  border-radius: 4px;
  padding: 2px 8px;
  font-weight: 600;
}

/* Toggle switch */
.cb-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}
.cb-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cb-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--c-border);
  border-radius: 22px;
  transition: background 0.2s;
}
.cb-slider::before {
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.cb-switch input:checked + .cb-slider { background: var(--c-primary); }
.cb-switch input:checked + .cb-slider::before { transform: translateX(18px); }
.cb-switch input:focus-visible + .cb-slider { outline: 2px solid var(--c-primary); outline-offset: 2px; }

.cb-settings-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 14px;
}

/* Footer cookie settings button */
.footer-cookie-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-cookie-btn:hover { color: var(--c-primary); }

@media (max-width: 600px) {
  .cb-actions,
  .cb-settings-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cb-btn {
    width: 100%;
    text-align: center;
  }
  .cb-btn--ghost {
    text-align: left;
    padding-left: 0;
  }
}

/* ── BEL-080: inline-link for in-text links (Belivia design, not browser default) ── */
.inline-link {
  color: var(--c-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 125, 82, 0.28);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.inline-link:hover,
.inline-link:focus {
  color: var(--c-primary-dark);
  border-bottom-color: var(--c-primary);
}
.inline-link:visited {
  color: var(--c-primary);
}
.inline-link:focus-visible {
  outline: 3px solid rgba(45, 125, 82, 0.22);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── BEL-083: mobile sticky CTA – calm two-button layout (Anrufen + WhatsApp) ── */
.mobile-cta-bar {
  padding: 8px 12px;
  padding-bottom: min(calc(8px + env(safe-area-inset-bottom, 0px)), 18px);
  max-height: 60px;
  gap: 8px;
}
.mobile-cta-action {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none !important;
  padding: 9px 12px;
  min-height: 40px;
  border-radius: 6px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: background 0.15s ease;
  line-height: 1.2;
}
.mobile-cta-action:hover,
.mobile-cta-action:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  color: #fff !important;
}
.mobile-cta-action:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
}
/* WhatsApp button looks identical to Anrufen — Belivia design, no brand-green clash */
.mobile-cta-whatsapp {
  background: rgba(255, 255, 255, 0.16);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.4);
}
.mobile-cta-whatsapp:hover,
.mobile-cta-whatsapp:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  color: #fff !important;
}
/* Defensive: any future inline SVG inside the bar is capped and inherits color */
.mobile-cta-bar svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: currentColor;
  fill: currentColor;
  stroke: currentColor;
}

/* BEL-085 emergency mobile sticky CTA hotfix */
@media (max-width: 680px) {
  .mobile-cta-bar {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1200 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr auto !important;
    gap: 8px !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)) !important;
    max-height: 64px !important;
    overflow: hidden !important;
    background: var(--c-primary, #1f6f54) !important;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.14) !important;
  }

  .mobile-cta-bar.dismissed {
    display: none !important;
  }

  .mobile-cta-bar a,
  .mobile-cta-bar a:visited,
  .mobile-cta-action,
  .mobile-cta-action:visited,
  .mobile-cta-call,
  .mobile-cta-whatsapp {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 9px 12px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  .mobile-cta-bar a:hover,
  .mobile-cta-bar a:focus-visible,
  .mobile-cta-action:hover,
  .mobile-cta-action:focus-visible {
    background: rgba(255, 255, 255, 0.26) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    outline: 2px solid rgba(255, 255, 255, 0.8) !important;
    outline-offset: 2px !important;
  }

  .mobile-cta-bar svg {
    width: 16px !important;
    height: 16px !important;
    color: currentColor !important;
    fill: none !important;
    stroke: currentColor !important;
  }

  .mobile-cta-close {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 20px !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }

  .mobile-cta-close:hover,
  .mobile-cta-close:focus-visible {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    outline: 2px solid rgba(255, 255, 255, 0.8) !important;
    outline-offset: 2px !important;
  }
}

@media (min-width: 681px) {
  .mobile-cta-bar {
    display: none !important;
  }
}

/* ── BEL-139: mobile contact FAB — in-flow → sticky at bottom ── */
.mobile-fab-group {
  display: none;
  /* BEL-139: in-flow by default; JS adds .is-stuck to go fixed */
  position: relative;
  z-index: 1200;
  flex-direction: row;
  gap: 5px;
  white-space: nowrap;
  /* BEL-140: cancel hero-copy > * fade animation — its fill-mode "transform: none"
     would override the translate3d centering in .is-stuck state */
  animation: none;
}

/* Stuck state: mirrors old fixed behaviour but entered only after sentinel exits viewport */
.mobile-fab-group.is-stuck {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
  left: 50%;
  /* BEL-140: animation:none re-stated so transform is never overridden by fill-mode */
  animation: none;
  transform: translate3d(-50%, 0, 0);
  margin: 0;
  /* BEL-140: explicit width + box-sizing so centering math is unambiguous */
  width: min(calc(100vw - 24px), 340px);
  max-width: calc(100vw - 24px);
  box-sizing: border-box;
}

@media (max-width: 680px) {
  .mobile-fab-group {
    display: flex;
    margin: 24px auto 0;
    padding: 4px;
    gap: 5px;
    background: rgba(0, 22, 7, 0.22);
    border-radius: 999px;
    border: 1px solid rgba(35, 148, 60, 0.22);
    box-shadow: 0 4px 16px rgba(0, 18, 6, 0.28);
    width: min(calc(100vw - 24px), 340px);
    will-change: transform;
  }
}

@media (min-width: 681px) {
  .mobile-fab-group {
    display: none !important;
  }
}

/* Sentinel/placeholder: zero-height anchors for flow-to-sticky JS logic */
#mobCtaSentinel,
#mobCtaPlaceholder {
  display: block;
  height: 0;
  overflow: hidden;
}

@media (min-width: 681px) {
  #mobCtaSentinel, #mobCtaPlaceholder { display: none; }
}

/* ── BEL-130: compact pill FAB — 44px, restrained ── */
.mobile-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  gap: 6px;
  height: 44px;
  padding: 0 12px;
  background: linear-gradient(
    180deg,
    rgba(8, 100, 42, 0.62) 0%,
    rgba(2, 56, 22, 0.78) 100%
  );
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  color: #fff !important;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;
  border: 1px solid rgba(45, 195, 85, 0.42);
  box-shadow: 0 3px 10px rgba(3, 32, 12, 0.28);
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.mobile-fab:visited {
  color: #fff !important;
}

.mobile-fab:hover,
.mobile-fab:focus-visible {
  background: linear-gradient(
    180deg,
    rgba(10, 86, 38, 0.74) 0%,
    rgba(2, 44, 18, 0.86) 100%
  );
  color: #fff !important;
  text-decoration: none !important;
  border-color: rgba(65, 215, 105, 0.55);
  box-shadow: 0 4px 14px rgba(3, 32, 12, 0.36);
}

.mobile-fab:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

.mobile-fab svg {
  flex-shrink: 0;
  display: block;
  width: 16px;
  height: 16px;
}

/* BEL-133: Gecko-mobile perceived-size adjustment.
   Diagnosis: Chrome DPR ~2.625, Firefox/Tor DPR ~2.07 on same device.
   Same CSS px → fewer physical pixels → elements appear physically smaller in Firefox.
   +7–9% on key sizes restores visual parity. Chrome unaffected (@supports gate). */
@supports (-moz-appearance: none) {
  @media (max-width: 700px) {
    .nav-brand {
      font-size: 1.9rem;
    }

    .hero h1 {
      font-size: clamp(1.65rem, 8vw, 2.35rem);
    }

    .hero-subline {
      font-size: 1.1rem;
    }

    .hero-sub {
      font-size: 1.02rem;
    }

    .mobile-fab {
      font-size: 0.94rem;
    }
  }
}

/* ── BEL-148: Desktop pinned card slide-reveal scroll scene ── */

/* Mobile: hide the new scene entirely */
@media (max-width: 860px) {
  .hero-scroll-scene { display: none !important; }
}

/* Desktop: hide old hero, show new scene; hide duplicate service card grid below */
@media (min-width: 861px) {
  .hero.hero-split { display: none; }

  .hero-scroll-scene + .section-service-imgs { display: none; }

  /* ── Scene wrapper: provides the scroll distance for the sticky animation ── */
  .hero-scroll-scene {
    position: relative;
    height: 270vh;
  }

  /* ── Stage: sticky viewport-filling panel ── */
  .hero-scroll-stage {
    position: sticky;
    top: var(--header-h, 64px);
    height: calc(100vh - var(--header-h, 64px));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(160deg, #cfe8db 0%, #f3f8f5 55%, #e8f4ef 100%);
    padding: 2rem 1.5rem 2.5rem;
    gap: 1.75rem;
    box-sizing: border-box;
  }

  /* ── Intro text ── */
  .hero-scroll-intro {
    text-align: center;
    max-width: 620px;
    flex-shrink: 0;
  }

  .hero-scroll-intro .hero-scroll-h1 {
    font-size: clamp(1.8rem, 2.4vw, 2.4rem);
    line-height: 1.15;
    color: var(--c-text);
    margin: 0 0 0.45rem;
    font-weight: 700;
  }

  .hero-scroll-intro p {
    color: var(--c-text-soft);
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    margin: 0;
  }

  /* ── 5-card grid: 3 top row + 2 centred bottom row ── */
  .hero-flip-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(0.65rem, 1.1vw, 1.1rem);
    width: 100%;
    max-width: 960px;
  }

  .hero-flip-card:nth-child(1) { grid-column: 1 / span 2; grid-row: 1; }
  .hero-flip-card:nth-child(2) { grid-column: 3 / span 2; grid-row: 1; }
  .hero-flip-card:nth-child(3) { grid-column: 5 / span 2; grid-row: 1; }
  .hero-flip-card:nth-child(4) { grid-column: 2 / span 2; grid-row: 2; }
  .hero-flip-card:nth-child(5) { grid-column: 4 / span 2; grid-row: 2; }

  /* ── Card outer container: --reveal drives all animation (0 = image, 1 = panel) ── */
  .hero-flip-card {
    position: relative;
    aspect-ratio: 3 / 2;
  }

  /* ── Offset border: shifts and brightens as panel slides in ── */
  .hero-flip-border {
    position: absolute;
    inset: 0;
    border: 2px solid var(--c-primary);
    border-radius: 10px;
    transform: translate(
      calc(7px + var(--reveal, 0) * 2px),
      calc(7px + var(--reveal, 0) * 2px)
    );
    pointer-events: none;
    opacity: calc(0.4 + var(--reveal, 0) * 0.4);
    z-index: 0;
  }

  /* ── Card link wrapper: flat container that clips the sliding panel ── */
  .hero-flip-inner {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    text-decoration: none;
    display: block;
    overflow: hidden;
    z-index: 1;
  }

  /* ── Card faces: both absolutely positioned inside the clipping container ── */
  .hero-flip-face {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    overflow: hidden;
  }

  /* Front: photo — always visible beneath the slide panel */
  .hero-flip-front {
    z-index: 1;
    background: var(--c-bg-alt, #f3f8f5);
  }

  .hero-flip-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .hero-flip-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem 0.75rem 0.6rem;
    background: linear-gradient(to top, rgba(22, 72, 46, 0.82) 0%, transparent 100%);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    z-index: 2;
  }

  /* Back: deep green slide panel — enters from the left, driven by --reveal */
  .hero-flip-back {
    z-index: 3;
    background: linear-gradient(150deg, #14402a 0%, #1e7a56 55%, #23805d 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.1rem 1.2rem;
    gap: 0.45rem;
    /* translateX(-100%) = off-screen left; translateX(0) = fully covering card */
    transform: translateX(calc((1 - var(--reveal, 0)) * -100%));
  }

  .hero-flip-back h3 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
  }

  .hero-flip-back p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    line-height: 1.5;
  }

  .hero-flip-link {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    margin-top: auto;
    display: block;
  }
}

/* Desktop reduced-motion: show all green panels immediately */
@media (min-width: 861px) and (prefers-reduced-motion: reduce) {
  .hero-flip-card { --reveal: 1; }
}

/* ── BEL-076: Card icon containers and layout polish ── */

/* Reusable icon box: green tinted square with centred SVG */
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(44, 130, 82, 0.09);
  color: var(--c-primary);
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.card-icon svg { width: 22px; height: 22px; }

/* Smaller variant inside check-card and contact-card */
.check-card .card-icon,
.contact-card .card-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}
.check-card .card-icon svg,
.contact-card .card-icon svg { width: 19px; height: 19px; }

/* Upgrade .trust-icon from font char to SVG icon box */
.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(44, 130, 82, 0.09);
  color: var(--c-primary);
  margin-bottom: 14px;
  font-size: 0; /* silence any leftover text char */
}
.trust-icon svg { width: 22px; height: 22px; }

/* Step number: soft accent ring on desktop to imply sequence */
@media (min-width: 621px) {
  .step-number { box-shadow: 0 0 0 6px rgba(44, 130, 82, 0.1); }
}

/* Service-img-grid: staggered card heights on desktop for visual rhythm */
@media (min-width: 640px) {
  .service-img-grid .service-img-card:nth-child(1) .service-img { height: 310px; }
  .service-img-grid .service-img-card:nth-child(2) .service-img { height: 265px; }
  .service-img-grid .service-img-card:nth-child(3) .service-img { height: 295px; }
}

/* BEL-153: Pflegekasse/Krankenkasse card elements */
.kasse-badge {
  display: inline-block;
  background: var(--c-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.kasse-amount {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--c-primary);
  margin: 4px 0 10px;
  line-height: 1.1;
}

.kasse-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-text-soft);
}

.kasse-subbox {
  background: var(--c-bg-alt);
  border-left: 3px solid var(--c-primary);
  border-radius: 0 6px 6px 0;
  padding: 10px 14px;
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--c-text);
}

/* BEL-164A: Ablauf-Teaser — safe constrained block, no overflow risk */
.ablauf-teaser-block { max-width: 600px; }

/* BEL-166: cta-band before footer-geo-bridge — bridge triangle overlaps up to ~96px at right edge;
   increase padding-bottom so buttons clear the bridge at all viewport widths */
.cta-band.section-slant-top-left,
.cta-band.section-slant-top-right {
  padding-bottom: 110px;
}

/* ── BEL-SEO-01: Keyword-Zeile in der H1 der Startseite ──
   Die H1 trug vorher nur den emotionalen Satz ohne Keyword. Beide Zeilen
   stehen jetzt in der H1, die Optik entspricht der bisherigen Subline. */
.hero h1 .hero-h1-lead { display: block; }
.hero h1 .hero-h1-kw {
  display: block;
  margin-top: 14px;
  font-size: clamp(1.05rem, 1.7vw, 1.38rem);
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255,255,255,0.9);
  text-wrap: balance;
}
@media (max-width: 680px) {
  .hero h1 .hero-h1-kw {
    margin-top: 10px;
    font-size: 1.02rem;
    color: var(--c-text);
  }
}

/* ── BEL-SEO-02: <picture>-Wrapper fuer WebP ──
   display:contents laesst die picture-Box verschwinden, damit das <img>
   Layout-Kind von .img-real / .hero-slide / .service-img bleibt und
   Regeln wie "height: 100%" weiter gegen den Container aufloesen. */
picture { display: contents; }
