/* =========================================================================
   BADMEISTER — Design System v3
   Professionell, vertrauenswürdig, modern — Fachbetrieb für Badumbau.
   Display-Schrift: Plus Jakarta Sans (h1–h4). Body: Inter.
   ========================================================================= */

@import url("fonts.css");

/* -------------------------------- Tokens -------------------------------- */
:root {
  /* Brand — Wasserblau für Vertrauen, Frische und Bad-Kompetenz */
  --color-primary: #0A6386;
  --color-primary-dark: #073F5A;
  --color-primary-soft: #E3F4FA;
  --color-accent: #087EA0;
  --color-accent-dark: #065F7D;
  --color-accent-soft: #DDF5FB;

  /* Neutrals — hell, klar und leicht wasserblau */
  --color-bg: #FAFCFD;
  --color-bg-soft: #EAF5FA;
  --color-bg-muted: #D8E9F0;
  --color-surface: #FFFFFF;
  --color-text: #111E27;
  --color-text-soft: #334455;
  --color-muted: #5A6878;
  --color-border: #D7E6EC;
  --color-border-strong: #BCD2DC;

  /* Status */
  --color-success: #1E7B4F;
  --color-success-soft: #E2F2EB;
  --color-warn: #B5651A;

  /* Typography */
  --ff-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;
  --ff-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Sizes — senioren-gerecht etwas größer */
  --fs-base: 1.0625rem;     /* 17px */
  --fs-sm: 0.9375rem;       /* 15px */
  --fs-xs: 0.8125rem;       /* 13px */
  --fs-lg: 1.1875rem;       /* 19px */
  --fs-xl: 1.375rem;        /* 22px */
  --fs-2xl: 1.75rem;        /* 28px */
  --fs-3xl: 2.25rem;        /* 36px */
  --fs-4xl: 2.875rem;       /* 46px */
  --fs-5xl: 3.5rem;         /* 56px */

  --lh-tight: 1.16;
  --lh-snug: 1.32;
  --lh-base: 1.65;

  /* Radius / Spacing / Shadow */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(11, 34, 52, 0.07), 0 1px 2px rgba(11, 34, 52, 0.04);
  --shadow: 0 4px 16px rgba(11, 34, 52, 0.09), 0 2px 4px rgba(11, 34, 52, 0.04);
  --shadow-lg: 0 20px 48px rgba(11, 34, 52, 0.12), 0 6px 12px rgba(11, 34, 52, 0.06);
  --shadow-inset: inset 0 1px 3px rgba(11, 34, 52, 0.08);

  --container: 1180px;
  --container-narrow: 860px;

  --header-h: 76px;
}

/* ------------------------------ Topbar --------------------------------- */
.topbar {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.88);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.topbar .container {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.topbar-items {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.1rem 1.1rem;
  border-right: 1px solid rgba(255,255,255,0.14);
  white-space: nowrap;
}
.topbar-item:last-child { border-right: none; }
.topbar-item svg { width: 12px; height: 12px; flex-shrink: 0; opacity: 0.75; }
/* Echtes Unicode-€ (Display-Schrift) — wirkt auf kleinen Größen klarer als ein Strich-Icon */
.icon-euro {
  flex-shrink: 0;
  font-family: var(--ff-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.topbar-item .icon-euro {
  font-size: 0.72rem;
  opacity: 0.75;
}
.icon-circle .icon-euro {
  font-size: 1.5rem;
  font-weight: 800;
}
@media (max-width: 640px) { .topbar { display: none; } }

/* ------------------------------- Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-primary-dark); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; border-radius: 4px; }

/* ----------------------------- Typography ------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
  font-weight: 700;
}
h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: var(--lh-tight);
  font-weight: 800;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: var(--lh-snug);
  font-weight: 700;
}
h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: var(--lh-snug);
  font-weight: 600;
}
h4 { font-size: var(--fs-lg); line-height: var(--lh-snug); font-weight: 600; }
p { margin: 0 0 1em; }
p.lead {
  font-size: clamp(var(--fs-base), 1.8vw, var(--fs-lg));
  color: var(--color-text-soft);
  line-height: 1.7;
}
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li + li { margin-top: 0.35em; }
strong { font-weight: 600; }

.muted { color: var(--color-muted); }

/* Eyebrow — метка секций без декоративной полоски */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.85rem;
}

/* Секционный H2 — без декоративного подчёркивания */
.section-heading {
  margin-bottom: 0;
}

/* ---------------------------- Layout helpers ---------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container-narrow { max-width: var(--container-narrow); }

.section {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}
.section-tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.section-soft { background: var(--color-bg-soft); }
.section-surface { background: var(--color-surface); }
.section-primary { background: var(--color-primary); color: #fff; }
.section-primary h1, .section-primary h2, .section-primary h3 { color: #fff; }
.section-primary a { color: #fff; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 880px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* ------------------------------ Buttons --------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--ff-display);
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.2;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .16s ease, color .16s ease, border-color .16s ease,
              transform .08s ease, box-shadow .16s ease;
  min-height: 52px;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 2px 8px rgba(8, 126, 160, 0.28);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
  box-shadow: 0 4px 14px rgba(8, 126, 160, 0.38);
}

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

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border-strong);
}
.btn-ghost:hover { background: var(--color-bg-muted); color: var(--color-primary-dark); border-color: var(--color-primary); }

.btn-light {
  background: #fff;
  color: var(--color-primary);
  border-color: rgba(255,255,255,0.9);
}
.btn-light:hover { background: rgba(255,255,255,0.88); color: var(--color-primary-dark); }

.btn-arrow::after { content: "→"; font-weight: 700; transition: transform .15s ease; }
.btn-arrow:hover::after { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ------------------------------ Cards ----------------------------------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--color-primary);
}
.card h3 { margin-bottom: 0.5rem; }
.card p:last-child { margin-bottom: 0; }
.card .icon-circle { margin-bottom: 1rem; }

a.card { color: inherit; text-decoration: none; display: block; }
a.card:hover h3 { color: var(--color-primary); }

.card-soft { background: var(--color-bg-soft); border-color: transparent; }

/* „Klar und ehrlich“ — Leistungsseite: Lesbarkeit, Scanbarkeit, Kontrast zum Soft-BG */
.section-honesty .honesty-intro {
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}
@media (min-width: 768px) {
  .section-honesty .honesty-intro { margin-bottom: 3rem; }
}
.section-honesty .honesty-intro h2 { margin-bottom: 0.65rem; }
.honesty-lead {
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--color-text-soft);
  margin: 0;
}
.honesty-grid { gap: clamp(1.25rem, 3vw, 2rem); }
.card-honesty {
  background: var(--color-surface);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 3vw, 2rem);
  height: 100%;
}
.card-honesty:hover { border-color: var(--color-primary); }
.card-honesty p {
  color: var(--color-text-soft);
  margin-bottom: 0;
}

.card-highlight {
  border-color: var(--color-primary);
  border-width: 2px;
}

/* Icon circle */
.icon-circle {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  color: var(--color-primary);
}
.icon-circle svg { width: 26px; height: 26px; }
.icon-circle-accent { background: var(--color-accent-soft); color: var(--color-accent-dark); }
.icon-circle-lg { width: 68px; height: 68px; }
.icon-circle-lg svg { width: 32px; height: 32px; }

/* ------------------------------ Header ---------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  overflow: visible;
  background: rgba(242, 249, 252, 0.94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(7,63,90,0.05);
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.97);
  border-bottom-color: rgba(188, 210, 220, 0.9);
  box-shadow: 0 10px 28px rgba(7,63,90,0.10);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
  transition: min-height .2s ease;
  overflow: visible;
}

/* Logo — реальное изображение */
.brand {
  display: inline-flex; align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.brand-logo {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  transform-origin: left center;
  transition: height .22s ease, transform .22s ease, filter .18s ease, opacity .18s ease;
}
/* Запасной вариант (если логотип не загрузился) */
.brand-mark {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-primary); color: #fff;
  border-radius: 9px; font-size: 1.1rem;
  font-family: var(--ff-display);
  font-weight: 800;
}
.brand-text {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: var(--fs-xl);
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin-left: 0.5rem;
}
.brand:hover .brand-text { color: var(--color-primary); }
.brand:hover .brand-logo { opacity: 0.88; }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; list-style: none; padding: 0; margin: 0; }
/* Глобальное li+li { margin-top } ломает горизонтальное меню — только Start без отступа */
.nav-list li { display: flex; align-items: center; margin: 0; }
.nav-list li + li { margin-top: 0; }
.nav-list a {
  display: flex; align-items: center; justify-content: center;
  padding: 0.45rem 0.65rem;
  color: var(--color-text-soft); font-weight: 500; text-decoration: none;
  font-size: var(--fs-base);
  border-radius: var(--radius-sm);
  line-height: 1;
  transition: color .14s ease, background .14s ease;
}
.nav-list a:hover {
  color: var(--color-primary);
  background: rgba(8, 126, 160, 0.08);
}
.nav-list a[aria-current="page"] {
  color: var(--color-primary);
  font-weight: 500;
  background: rgba(8, 126, 160, 0.12);
}

.header-cta {
  display: inline-flex; align-items: center; gap: 0.85rem;
  padding-left: 1rem;
  border-left: 1px solid var(--color-border-strong);
}
.header-cta .btn {
  white-space: nowrap;
}
.header-tel {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; color: var(--color-primary);
  text-decoration: none; font-size: var(--fs-sm);
  font-family: var(--ff-display);
  white-space: nowrap;
}
.header-tel svg { width: 15px; height: 15px; }
.header-tel:hover { color: var(--color-primary-dark); }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--color-border-strong);
  background: #fff; color: var(--color-text);
  border-radius: var(--radius-sm);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; overflow: visible; }
.nav-toggle line {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .18s ease, opacity .14s ease;
}
.nav-toggle[aria-expanded="true"] line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] line:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] line:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 980px) {
  :root {
    --header-h: 64px;
  }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: rgba(250, 252, 253, 0.98); border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.25rem 1.25rem 0.85rem;
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--color-border); }
  .nav-list li:last-child { border-bottom: 0; }
  .nav-list a {
    padding: 0.95rem 0.5rem;
    font-size: var(--fs-lg);
    border-radius: 0;
    background: transparent;
  }
  .nav-list a[aria-current="page"] {
    color: var(--color-primary);
    font-weight: 800;
    background: transparent;
  }
  .nav-list a:hover { background: transparent; }
  .header-cta {
    padding-top: 0.5rem;
    padding-left: 0;
    border-left: none;
    flex-direction: column; align-items: stretch; gap: 0.65rem;
  }
  .header-cta .header-tel {
    justify-content: center; padding: 0.65rem 0;
    border: 1px solid var(--color-border); border-radius: var(--radius);
    background: var(--color-primary-soft);
    font-size: var(--fs-base);
  }
  .nav-toggle { display: inline-flex; }

  /* Mobil: Logo ragt unter die Menüzeile — wie Desktop; nach Scroll kompakt */
  .brand {
    transition: margin-bottom .22s ease;
  }
  .site-header:not(.is-scrolled) .brand {
    align-self: stretch;
    align-items: center;
    margin-bottom: -32px;
  }
  .site-header:not(.is-scrolled) .brand-logo {
    height: 96px;
    transform: translateY(18px);
    filter: none;
  }
  .site-header.is-scrolled .brand {
    align-self: center;
    margin-bottom: 0;
  }
  .site-header.is-scrolled .brand-logo {
    height: 58px;
    transform: translateY(0);
    filter: none;
  }

  /* Menü offen am Seitenanfang: Logo kompakt wie nach Scroll (kein Überdecken) */
  .site-header:not(.is-scrolled):has(.nav.is-open) .brand {
    align-self: center;
    margin-bottom: 0;
  }
  .site-header:not(.is-scrolled):has(.nav.is-open) .brand-logo {
    height: 58px;
    transform: translateY(0);
    filter: none;
  }
}

/* Desktop: eine Zeilenhöhe für alle Items — Pills (auch aktiv) bündig oben/unten */
@media (min-width: 981px) {
  .site-header:not(.is-scrolled) .container {
    min-height: 96px;
  }
  .site-header.is-scrolled .container {
    min-height: 64px;
  }
  .site-header:not(.is-scrolled) .brand {
    align-self: stretch;
    align-items: center;
    margin-bottom: -36px;
  }
  .site-header:not(.is-scrolled) .brand-logo {
    height: 109px;
    transform: translateY(21px);
    filter: none;
  }
  .site-header.is-scrolled .brand-logo {
    height: 48px;
    transform: translateY(0);
    filter: none;
  }
  .nav-list {
    align-items: stretch;
  }
  .nav-list li {
    display: flex;
    align-items: stretch;
  }
  .nav-list a {
    display: grid;
    place-items: center;
    height: 100%;
    min-height: 2.4rem;
    box-sizing: border-box;
    padding-block: 0.5rem;
  }
}

/* ------------------------------ Hero ------------------------------------ */
.hero {
  position: relative;
  background: linear-gradient(155deg, #DFF2FA 0%, #EAF7FB 42%, #F6FBFD 78%, #FAFCFD 100%);
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
/* Декоративный геометрический акцент */
.hero::before {
  content: "";
  position: absolute; top: -80px; right: -120px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(8,126,160,0.16), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; bottom: -40px; left: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10,99,134,0.12), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative; z-index: 1;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.035em;
}
/* Акцентная строка в заголовке */
.hero h1 em {
  font-style: normal;
  color: var(--color-primary);
}
.hero .lead {
  font-size: clamp(var(--fs-base), 2vw, 1.25rem);
  color: var(--color-text-soft);
  line-height: 1.7;
  max-width: 48ch;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
  background: var(--color-bg-muted);
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(8,126,160,0.08), rgba(255,255,255,0) 52%);
  pointer-events: none;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Boden/Duschbereich sichtbar — bei Badfotos unten wichtiger als oben */
  object-position: center bottom;
}

@media (max-width: 600px) {
  .hero-image { aspect-ratio: 3 / 4; }
}

/* Декоративная рамка вокруг изображения */
.hero-image-wrap {
  position: relative;
}
.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: -8px -8px -8px auto;
  width: 55%;
  border: 2px solid var(--color-primary);
  border-left: none;
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  opacity: 0.18;
  pointer-events: none;
  z-index: -1;
}

.hero-water-card {
  position: absolute;
  left: -1.1rem;
  bottom: -1.15rem;
  width: min(44%, 220px);
  margin: 0;
  overflow: hidden;
  border: 6px solid rgba(255,255,255,0.96);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: 0 16px 34px rgba(7, 63, 90, 0.20);
}
.hero-water-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hero-water-card figcaption {
  padding: 0.45rem 0.65rem;
  font-family: var(--ff-display);
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--color-primary-dark);
  background: linear-gradient(90deg, #fff, var(--color-primary-soft));
}
@media (max-width: 600px) {
  .hero-water-card {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    width: auto;
    max-width: 210px;
    border-width: 4px;
  }
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.42rem 0.9rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm); font-weight: 600;
  color: var(--color-text-soft);
  box-shadow: var(--shadow-sm);
}
.hero-badge svg { width: 15px; height: 15px; color: var(--color-success); flex-shrink: 0; }

/* ------------------------------ Trust bar ------------------------------- */
.trust-bar {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 880px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.6rem 1.5rem;
  border-right: 1px solid var(--color-border);
  transition: background .15s ease;
}
.trust-item:hover { background: var(--color-bg-soft); }
.trust-item:last-child { border-right: 0; }
@media (max-width: 880px) {
  .trust-item:nth-child(2n) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--color-border); }
}
.trust-item .icon-circle { width: 48px; height: 48px; flex-shrink: 0; }
.trust-item .icon-circle svg { width: 22px; height: 22px; }
.trust-stat strong,
.trust-item > div > strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 0.15rem;
}
.trust-stat span,
.trust-item > div > span {
  font-size: var(--fs-sm); color: var(--color-muted); line-height: 1.4;
  display: block;
}

/* Section intro (centered) */
.section-intro {
  max-width: 680px;
  margin: 0 auto 3rem;
}

/* --------------------------- Förderung-Block ---------------------------- */
.foerderung-block {
  background: linear-gradient(140deg, #0A6386 0%, #073F5A 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  position: relative;
  overflow: hidden;
}
/* Декоративный орнамент */
.foerderung-block::before {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
}
.foerderung-block::after {
  content: "";
  position: absolute; right: -20px; top: -20px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(125, 218, 239, 0.20);
  pointer-events: none;
}
.foerderung-block .eyebrow { color: #A7E8F6; }
.foerderung-block h2, .foerderung-block h3 { color: #fff; }
.foerderung-block p { color: rgba(255,255,255,0.88); }
.foerderung-amount {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #A7E8F6;
  line-height: 1;
  margin: 0.15rem 0 0.6rem;
}
.foerderung-note {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.68);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1rem;
  margin-top: 1.75rem;
}

/* ------------------------------ Ablauf ---------------------------------- */
.ablauf-list {
  list-style: none; padding: 0; margin: 0;
  counter-reset: step;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
@media (max-width: 880px) { .ablauf-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ablauf-list { grid-template-columns: 1fr; } }
.ablauf-list li {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  counter-increment: step;
  transition: box-shadow .18s ease, transform .18s ease;
}
.ablauf-list li:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.ablauf-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -15px; left: 1.4rem;
  background: var(--color-primary); color: #fff;
  font-family: var(--ff-display);
  font-weight: 800; font-size: var(--fs-xs);
  padding: 0.28rem 0.7rem; border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
}
.ablauf-list h4 { margin: 0.45rem 0 0.4rem; font-family: var(--ff-display); font-weight: 700; }
.ablauf-list p { margin: 0; color: var(--color-text-soft); font-size: var(--fs-base); }

/* ----------------------------- Vorher/Nachher --------------------------- */
.vn-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 600px) { .vn-grid { grid-template-columns: 1fr; } }
/* Kein festes Seitenverhältnis + kein cover: Boden/Wanne/Duschfläche bleibt sichtbar */
.vn-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-muted);
  box-shadow: var(--shadow-sm);
}
.vn-item img {
  width: 100%;
  height: auto;
  display: block;
}
.vn-tag {
  background: rgba(10,28,42,0.82); color: #fff;
  padding: 0.32rem 0.75rem; border-radius: var(--radius-pill);
  font-size: var(--fs-sm); font-weight: 700;
  letter-spacing: 0.05em;
  font-family: var(--ff-display);
  backdrop-filter: blur(4px);
}
.vn-item .vn-tag {
  position: absolute; top: 14px; left: 14px;
}
.vn-tag.vn-after { background: var(--color-accent); }

.home-reference-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 880px) { .home-reference-layout { grid-template-columns: 1fr; } }

.reference-feature {
  position: relative;
  display: block;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--color-bg-muted);
  box-shadow: var(--shadow);
  color: #fff;
  text-decoration: none;
}
.reference-feature img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform .24s ease;
}
.reference-feature:hover { color: #fff; }
.reference-feature:hover img { transform: scale(1.025); }
.reference-feature::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(7, 34, 50, 0.80), rgba(7, 34, 50, 0));
  pointer-events: none;
}
.reference-feature .vn-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
}
.reference-feature-caption {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1rem;
  z-index: 1;
  font-family: var(--ff-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
}

.home-reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 520px) { .home-reference-grid { grid-template-columns: 1fr; } }

.reference-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (max-width: 880px) { .reference-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .reference-gallery { grid-template-columns: 1fr; } }

.reference-gallery-item {
  position: relative;
  min-height: 0;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-bg-muted);
  box-shadow: var(--shadow-sm);
}
.reference-gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  border-radius: inherit;
  transition: transform .22s ease;
}
.reference-gallery-item:hover img { transform: scale(1.03); }
.reference-gallery-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(to top, rgba(7, 34, 50, 0.78), rgba(7, 34, 50, 0));
  pointer-events: none;
  border-radius: inherit;
}
.reference-gallery-item figcaption {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.8rem;
  z-index: 1;
  color: #fff;
  font-family: var(--ff-display);
  font-size: var(--fs-sm);
  font-weight: 800;
  line-height: 1.25;
}

.reference-section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}
.reference-section-header h2 { margin-bottom: 0; }
.reference-section-header p {
  margin: 0;
  color: var(--color-text-soft);
  line-height: 1.65;
}
@media (max-width: 760px) {
  .reference-section-header {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

.reference-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.reference-page-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.reference-page-grid .reference-gallery-item {
  aspect-ratio: 3 / 4;
}
.reference-page-grid-2 .reference-gallery-item {
  aspect-ratio: 4 / 3;
}
.reference-page-grid .reference-gallery-item::after {
  display: none;
}
.reference-page-grid .reference-gallery-item figcaption {
  left: 0.7rem;
  right: auto;
  bottom: 0.7rem;
  max-width: calc(100% - 1.4rem);
  padding: 0.38rem 0.62rem;
  border-radius: var(--radius-pill);
  background: rgba(7, 34, 50, 0.78);
  box-shadow: 0 8px 18px rgba(7, 34, 50, 0.18);
  backdrop-filter: blur(6px);
}
.reference-page-grid-2 .reference-gallery-item img {
  transform: scale(1.035);
}
.reference-page-grid-2 .reference-gallery-item:hover img {
  transform: scale(1.06);
}
@media (max-width: 980px) {
  .reference-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .reference-page-grid,
  .reference-page-grid-2 {
    grid-template-columns: 1fr;
  }
}

.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
@media (max-width: 880px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

/* Einzelne Referenzfotos (Standorte, Teaser) — gleiche Logik wie .vn-item */
.referenz-bild {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-muted);
  box-shadow: var(--shadow-sm);
}
.referenz-bild img {
  width: 100%;
  height: auto;
  display: block;
}
.foerderung-block .referenz-bild { background: rgba(255,255,255,0.06); }

/* ------------------------------ Standorte ------------------------------- */
.standort-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.75rem;
  display: flex; flex-direction: column; gap: 0.85rem;
  text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative;
  overflow: hidden;
}
.standort-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #31BBDD);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.standort-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--color-border-strong);
  color: inherit;
}
.standort-card:hover::before { transform: scaleX(1); }
.standort-card h3 {
  color: var(--color-primary);
  margin: 0;
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 2vw, 1.35rem);
}
.standort-card:hover h3 { color: var(--color-primary-dark); }

/* Standort-Karten-Inhalte */
.standort-region-label {
  display: block;
  font-size: var(--fs-sm);
  color: var(--color-muted);
  margin-top: 0.2rem;
}
.standort-desc {
  font-size: var(--fs-sm);
  color: var(--color-text-soft);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.standort-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  font-size: var(--fs-sm);
  margin-top: auto;
}
/* Icon + Nummer in einer Zeile (globales svg{display:block} würde sonst umbrechen) */
.standort-meta > span:not(.standort-cta-link) {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.standort-meta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.standort-meta a { color: var(--color-text); font-weight: 600; text-decoration: none; }
.standort-meta a:hover { color: var(--color-primary); }
.standort-cta-link {
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--color-primary);
  flex-shrink: 0;
}
.standort-card:hover .standort-cta-link { color: var(--color-accent-dark); }

/* ------------------------------- FAQ ------------------------------------ */
.faq-list { display: grid; gap: 0.65rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .15s ease;
}
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  padding: 1.15rem 1.4rem;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--color-text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  transition: color .14s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem; font-weight: 300;
  color: var(--color-primary);
  transition: transform .16s ease;
  flex-shrink: 0;
}
.faq-item[open] summary { border-bottom: 1px solid var(--color-border); color: var(--color-primary); }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 1.1rem 1.4rem 1.3rem; color: var(--color-text-soft); }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ------------------------------- Form ----------------------------------- */
.form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-group label {
  font-family: var(--ff-display);
  font-weight: 600; font-size: var(--fs-base); color: var(--color-text);
}
.form-group .req { color: var(--color-accent-dark); }
.form-group input, .form-group select, .form-group textarea {
  font: inherit;
  padding: 0.85rem 1rem;
  background: #fff;
  color: var(--color-text);
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius);
  min-height: 52px;
  transition: border-color .12s ease, box-shadow .12s ease;
  -webkit-appearance: none;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(14, 92, 122, 0.14);
}
.form-help { font-size: var(--fs-sm); color: var(--color-muted); }
.form-check {
  display: flex; gap: 0.7rem; align-items: flex-start;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-soft);
  font-size: var(--fs-sm);
  line-height: 1.55;
  margin-bottom: 1.1rem;
}
.form-check input { margin-top: 0.25rem; transform: scale(1.2); accent-color: var(--color-primary); }
.form-status {
  margin-top: 1rem; padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  font-size: var(--fs-base); display: none;
}
.form-status.is-success { display: block; background: var(--color-success-soft); color: var(--color-success); border: 1px solid #BFE0D2; }
.form-status.is-error { display: block; background: #FCEBEB; color: #9C2222; border: 1px solid #F2C5C5; }

/* ------------------------------- Footer --------------------------------- */
.site-footer {
  background: #07192A;
  color: #A8BFCC;
  padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
  margin-top: 0;
}
.site-footer a { color: #D9E8EF; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h4 {
  color: #fff;
  font-family: var(--ff-display);
  font-size: var(--fs-sm);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li + li { margin-top: 0.5rem; }
.footer-grid ul a { color: #A8BFCC; font-size: var(--fs-sm); }
.footer-grid ul a:hover { color: #fff; }

/* Логотип в подвале */
.footer-brand {
  display: block; margin-bottom: 1rem;
}
.footer-brand-logo {
  height: 36px;
  width: auto;
  opacity: 0.88;
  filter: brightness(0) invert(1);
}
.footer-brand-text {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: var(--fs-xl);
  color: #fff;
  letter-spacing: -0.02em;
}
.footer-brand-fallback {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: #fff;
}
.footer-brand-fallback .brand-mark { background: var(--color-accent); }

.footer-bottom {
  margin-top: 3rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: var(--fs-sm); color: #6A8898;
}
.footer-bottom a { color: #A8BFCC; }
.footer-bottom a:hover { color: #fff; }
.footer-credit a {
  color: #C6DAE4;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.footer-credit a:hover {
  color: #fff;
}

/* --------------------------- Floating WhatsApp -------------------------- */
.floating-whatsapp {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 120;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1E7B4F;
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 34, 52, 0.24);
  text-decoration: none;
  transition: transform .12s ease, background .16s ease, box-shadow .16s ease;
}
.floating-whatsapp:hover {
  background: #17663F;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(11, 34, 52, 0.30);
}
.floating-whatsapp svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 640px) {
  .floating-whatsapp {
    width: 54px;
    height: 54px;
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
  }
  .floating-whatsapp svg {
    width: 28px;
    height: 28px;
  }
}

/* ------------------------------- CTA strip ------------------------------ */
.cta-strip {
  background: linear-gradient(140deg, #0A5068 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: center;
  box-shadow: 0 8px 32px rgba(9, 66, 88, 0.28);
}
@media (max-width: 880px) { .cta-strip { grid-template-columns: 1fr; } }
.cta-strip h2 {
  color: #fff; margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}
.cta-strip p { color: rgba(255,255,255,0.90); margin: 0; }
.cta-strip .btn-row { justify-content: flex-end; }
@media (max-width: 880px) { .cta-strip .btn-row { justify-content: flex-start; } }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }

/* Pre-footer CTA-Zeile */
.pre-footer {
  background:
    radial-gradient(circle at 18% 20%, rgba(167, 232, 246, 0.22), transparent 28%),
    linear-gradient(140deg, #0A6386 0%, var(--color-accent-dark) 100%);
  color: #fff;
  padding: clamp(2rem, 4vw, 3rem) 0;
  text-align: center;
}
.pre-footer h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.6rem; }
.pre-footer p { color: rgba(255,255,255,0.88); margin-bottom: 1.5rem; font-size: var(--fs-lg); max-width: 52ch; margin-left: auto; margin-right: auto; }
.pre-footer .btn-row { justify-content: center; }
.pre-footer .btn-light { color: var(--color-primary-dark); }
.pre-footer .btn-light:hover { background: rgba(255,255,255,0.88); }

/* ----------------------------- Skip link -------------------------------- */
.skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  top: 0; left: 0;
  z-index: 300;
}
.skip-link:focus {
  position: fixed;
  width: auto; height: auto;
  padding: 0.6rem 1.1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  top: 8px; left: 8px;
  background: var(--color-primary); color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  font-weight: 600;
}

/* ----------------------------- Misc ------------------------------------- */
.divider { border: 0; height: 1px; background: var(--color-border); margin: 2rem 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  display: inline-block; padding: 0.3rem 0.75rem;
  background: var(--color-primary-soft); color: var(--color-primary-dark);
  border-radius: var(--radius-pill); font-size: var(--fs-sm); font-weight: 600;
}

.checklist { list-style: none; padding: 0; }
.checklist li {
  position: relative; padding-left: 1.85rem; margin-bottom: 0.6rem;
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 0.4em;
  width: 18px; height: 18px;
  background: var(--color-success);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5l4 4 10-10' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5l4 4 10-10' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}

/* ------------------------------ Page header ----------------------------- */
.page-header {
  background: linear-gradient(155deg, #DFF2FA 0%, #ECF7FB 55%, #F8FCFD 100%);
  padding: clamp(2.8rem, 6vw, 5rem) 0 clamp(2rem, 3.5vw, 3rem);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute; top: -60px; right: -80px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(8,126,160,0.12), transparent 70%);
  pointer-events: none;
}
.page-header::after {
  content: "";
  position: absolute; bottom: -30px; left: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10,99,134,0.09), transparent 70%);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { margin-bottom: 0.75rem; }
.breadcrumb {
  font-size: var(--fs-sm); color: var(--color-muted);
  margin-bottom: 0.85rem;
}
.breadcrumb a { color: var(--color-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb-sep { margin: 0 0.45rem; color: var(--color-border-strong); }

/* ------------------------------ Highlight box --------------------------- */
.highlight-box {
  border-left: 4px solid var(--color-primary);
  background: var(--color-primary-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem;
  margin: 1.5rem 0;
}
.highlight-box p:last-child { margin-bottom: 0; }
.highlight-box-accent {
  border-left-color: var(--color-accent);
  background: var(--color-accent-soft);
}

/* -------------------- Responsive mobile tweaks -------------------------- */
@media (max-width: 480px) {
  .hero { padding: 2.5rem 0 2rem; }
  .cta-strip { padding: 1.5rem; }
  .foerderung-block { padding: 1.5rem; }
  .trust-item { padding: 1.1rem 1rem; gap: 0.75rem; }
  .ablauf-list li { padding: 1.4rem 1.1rem 1.1rem; }
  .site-header:not(.is-scrolled) .brand {
    margin-bottom: -26px;
  }
  .site-header:not(.is-scrolled) .brand-logo {
    height: 84px;
    transform: translateY(14px);
    filter: none;
  }
  .site-header.is-scrolled .brand {
    margin-bottom: 0;
  }
  .site-header.is-scrolled .brand-logo {
    height: 45px;
    transform: translateY(0);
    filter: none;
  }

  .site-header:not(.is-scrolled):has(.nav.is-open) .brand {
    margin-bottom: 0;
  }
  .site-header:not(.is-scrolled):has(.nav.is-open) .brand-logo {
    height: 45px;
    transform: translateY(0);
    filter: none;
  }
  .standort-card { padding: 1.4rem; }
}

/* Sticky mobile CTA für innere Seiten */
@media (max-width: 640px) {
  .sticky-mobile-cta {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    padding: 0.85rem 1rem;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 12px rgba(11,34,52,0.10);
    z-index: 90;
    display: flex;
    gap: 0.5rem;
  }
  .sticky-mobile-cta .btn { flex: 1; justify-content: center; font-size: var(--fs-sm); padding: 0.8rem 0.75rem; }
  .sticky-mobile-cta-spacer { height: 72px; }
}

/* -------------------- Print styles ------------------------------------- */
@media print {
  .site-header, .nav-toggle, .site-footer, .cta-strip, .floating-whatsapp { display: none; }
  body { font-size: 12pt; color: #000; }
}
