/* Fecher GmbH — mobile-first, 2026 | CI: logo-fecher-malerbetrieb.svg (#056A3F, #F7A600)
 * Layout: :root → --max, --gutter-x, --space-*, --section-y, --prose-* (siehe CI.md) */
/* Inter Variable Font (TTF) — lokal unter assets/fonts/, kein Google Fonts. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  /* optional: kein nachträglicher Font-Wechsel (kein FOUT); mit Preload ist Inter fast immer da */
  font-display: optional;
  src: url("../fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
}

@font-face {
  font-family: Inter;
  font-style: italic;
  font-weight: 100 900;
  font-display: optional;
  src: url("../fonts/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
}

:root {
  /* Markenfarben (aus SVG-Logo) */
  --brand-green: #056a3f;
  --brand-green-dark: #04452a;
  --brand-green-soft: rgba(5, 106, 63, 0.09);
  --brand-orange: #f7a600;
  --brand-orange-dark: #c17a00;
  --brand-orange-soft: rgba(247, 166, 0, 0.14);

  --bg: #f6f9f7;
  --surface: #ffffff;
  --text: #1a1d21;
  --text-muted: #5c6370;
  --accent: var(--brand-green);
  --accent-hover: var(--brand-green-dark);
  --accent-soft: var(--brand-green-soft);
  --border: #dfe8e3;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(5, 106, 63, 0.05);
  --shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.04), 0 20px 48px rgba(5, 106, 63, 0.09);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Layout: einheitliche Breite + 8px-Abstandsleiter (4px nur für feine UI-Linien) */
  --max: 1180px;
  --space-1: 0.5rem; /* 8px */
  --space-2: 1rem; /* 16px */
  --space-1-5: 0.75rem; /* 12px — kompakte UI, sparsam einsetzen */
  --space-3: 1.5rem; /* 24px */
  --space-4: 2rem; /* 32px */
  --gutter-x: var(--space-4); /* seitliche Innenabstände zu .wrap */
  --space-5: 2.5rem; /* 40px */
  --space-6: 3rem; /* 48px */
  --space-7: 3.5rem; /* 56px */
  --space-8: 4rem; /* 64px */
  --space-9: 4.5rem; /* 72px */
  --space-10: 5rem; /* 80px */
  --space-11: 5.25rem; /* 84px */
  --space-12: 6rem; /* 96px */
  /* Lesespalten (optimal ~60–75 Zeichen), innerhalb .wrap */
  --prose-max: 42rem;
  --prose-wide: 46rem;
  --prose-xl: 48rem;
  --prose-xxl: 52rem;
  --prose-tight: 40rem;
  --prose-sm: 36rem;
  --bg-muted: #f8f9f8;
  --section-y: clamp(var(--space-7), 7vw, calc(var(--space-12) - var(--space-1))); /* 56–88px */
  --header-h: 68px;
  --top-bar-h: 36px;
  --scroll-margin: calc(var(--space-8) + var(--space-3)); /* ~88px, klar unter fixiertem Header */
}

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

html {
  scroll-behavior: smooth;
  /* Chrome (v. a. Win): verhindert horizontales „Zucken“, wenn der vertikale Scrollbalken ein-/ausblendet */
  scrollbar-gutter: stable;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Barrierefreiheit: Sprungmarke (Tastatur / Screenreader) */
.skip-link {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 200;
  padding: 0.65rem 1.15rem;
  background: var(--brand-green);
  color: var(--surface);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
  transform: translateY(-120%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }
}

/* Anker-Ziele: nicht unter sticky Header klemmen */
section[id] {
  scroll-margin-top: var(--scroll-margin);
}

main section {
  scroll-margin-top: var(--scroll-margin);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.15rem, 5.2vw, 3.15rem);
  margin: 0 0 var(--space-2);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  margin: 0 0 var(--space-2);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.125rem;
  margin: 0 0 var(--space-1);
}

p {
  margin: 0 0 var(--space-2);
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

.wrap {
  width: min(100% - 2 * var(--gutter-x), var(--max));
  margin-inline: auto;
}

/* Top bar (Kontakt-Schnellzugriff) — ausblenden solange Mobil-Navigation (Hamburger) aktiv ist */
.top-bar {
  background: var(--brand-green-dark);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 879px) {
  .site-header > .top-bar {
    display: none !important;
  }
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  min-height: var(--top-bar-h);
  padding: 0.35rem 0;
}

@media (min-width: 600px) {
  .top-bar-inner {
    justify-content: flex-end;
  }
}

.top-bar a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.top-bar a:hover {
  text-decoration: underline;
  color: #fff;
}

.top-bar-phones {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.top-bar-phones__sep {
  opacity: 0.65;
  user-select: none;
}

.top-bar-phones__ws {
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(246, 249, 247, 0.94);
  /* Chrome: Backdrop-Blur kann beim ersten Paint einmal neu compositen — eigener Layer reduziert Flackern */
  isolation: isolate;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 0.75rem 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  max-width: min(300px, 56vw);
  text-decoration: none;
  line-height: 0;
}

.logo img {
  height: 36px;
  width: auto;
  display: block;
}

.logo:hover img {
  opacity: 0.92;
}

@media (min-width: 880px) {
  .logo img {
    height: 42px;
  }
}

.nav-toggle {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (min-width: 880px) {
  .nav-toggle {
    display: none;
  }
}

.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  flex: 1 0 100%;
  order: 4;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.nav.is-open {
  display: block;
}

.nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav .nav-sub {
  list-style: none;
  margin: 0.2rem 0 0.15rem 0.5rem;
  padding: 0.2rem 0 0.2rem 0.65rem;
  border-left: 2px solid var(--accent-soft);
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.nav a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.nav .nav-sub a {
  padding: 0.5rem 0.65rem;
  font-size: 0.875rem;
  line-height: 1.3;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent);
}

/* Mobil: kein Header-CTA — .btn würde sonst display:none überschreiben; Sticky-Leiste reicht */
.site-header .header-cta {
  display: none;
}

@media (min-width: 880px) {
  .site-header .inner {
    flex-wrap: nowrap;
  }

  .nav-toggle {
    margin-left: 0;
  }

  .nav {
    display: block;
    position: static;
    flex: 1 1 auto;
    order: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .nav .nav-list {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    flex-wrap: nowrap;
  }

  .nav-item--sub {
    position: relative;
    z-index: 120;
  }

  /**
   * Dropdown: leichte Überlappung zum Trigger (margin-top negativ + padding ausgleichen),
   * damit der Mauszeiger keine „toten“ Pixel zwischen Link und Submenü durchquert.
   * Schließen mit kurzer Verzögerung, damit der Sprung zum Eintrag zuverlässig klappt.
   */
  .nav-item--sub .nav-sub {
    --nav-sub-bridge: 8px;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    margin-top: calc(-1 * var(--nav-sub-bridge));
    padding: calc(var(--nav-sub-bridge) + 0.2rem) 0.25rem 0.3rem;
    min-width: min(15rem, 92vw);
    max-width: 17rem;
    border-left: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease;
    transition-delay: 0.18s;
  }

  .nav-item--sub:hover .nav-sub,
  .nav-item--sub:focus-within .nav-sub {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  @media (prefers-reduced-motion: reduce) {
    .nav-item--sub .nav-sub {
      transition-delay: 0s !important;
      transition-duration: 0.01ms;
    }
  }

  .nav-item--sub .nav-sub a {
    border-radius: 8px;
    margin: 0 0.35rem;
    padding: 0.4rem 0.65rem;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.25;
  }

  .site-header .header-cta {
    display: inline-flex;
    order: 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.35rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

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

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--accent-soft);
  border-color: rgba(5, 106, 63, 0.2);
}

.btn-accent {
  background: var(--brand-orange);
  color: #1a1d21;
}

.btn-accent:hover {
  background: var(--brand-orange-dark);
  color: #1a1d21;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(var(--space-8), 7vw, var(--space-9)) 0 clamp(var(--space-10), 8vw, var(--space-11));
  background: linear-gradient(155deg, #ffffff 0%, #eef6f1 42%, #e3efe8 100%);
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 85%;
  background: radial-gradient(ellipse 55% 70% at 88% 12%, rgba(247, 166, 0, 0.16) 0%, transparent 58%),
    radial-gradient(ellipse 50% 55% at 8% 75%, rgba(5, 106, 63, 0.11) 0%, transparent 55%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 38%);
  pointer-events: none;
}

/* Startseite: Foto aus alter WP-Mediathek + Text + Kontaktkarte */
.hero.hero--rich {
  padding-top: clamp(var(--space-4), 5vw, var(--space-6));
  padding-bottom: clamp(var(--space-5), 6vw, var(--space-8));
}

.hero.hero--rich::before {
  opacity: 0.65;
}

.hero.hero--rich::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, transparent 42%);
}

.hero-rich {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-3);
  align-items: start;
}

.hero-rich__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(5, 106, 63, 0.12);
  background: var(--surface);
}

.hero-rich__figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  /* Kopf im oberen Bilddrittel; bei anderem Foto ggf. 22–38 % justieren */
  object-position: 50% 30%;
  aspect-ratio: 1280 / 707;
}

.hero-rich__cap {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.65rem 0.85rem 0.85rem;
  margin: 0;
  line-height: 1.35;
  background: linear-gradient(180deg, rgba(246, 249, 247, 0.5) 0%, var(--surface) 100%);
}

.hero-rich__main {
  min-width: 0;
}

@media (min-width: 900px) {
  .hero-rich {
    grid-template-columns: 1.08fr 0.92fr;
    grid-template-rows: auto auto;
    gap: calc(var(--space-2) + var(--space-1)) var(--space-6);
    align-items: start;
  }

  .hero-rich__main {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: center;
  }

  .hero-rich__figure {
    grid-column: 2;
    grid-row: 1;
  }

  .hero-rich .hero-card {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (min-width: 900px) {
  .hero.hero--rich {
    /* Nicht über die volle Viewport-Breite strecken: .wrap behält --max (wie übrige Seite) */
    align-items: center;
    min-height: min(520px, 68vh);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-rich__main > * {
  animation: hero-in 0.65s ease-out both;
}

.hero-rich__main > *:nth-child(2) {
  animation-delay: 0.04s;
}

.hero-rich__main > *:nth-child(3) {
  animation-delay: 0.08s;
}

.hero-rich__main > *:nth-child(4) {
  animation-delay: 0.12s;
}

.hero-rich__main > *:nth-child(5) {
  animation-delay: 0.16s;
}

.hero-rich__main > *:nth-child(6) {
  animation-delay: 0.2s;
}

.hero-rich__figure {
  animation: hero-in 0.7s ease-out 0.05s both;
}

.hero-rich .hero-card {
  animation: hero-in 0.65s ease-out 0.12s both;
}

@media (prefers-reduced-motion: reduce) {
  .hero-rich__main > *,
  .hero-rich__figure,
  .hero-rich .hero-card {
    animation: none;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-orange-dark);
  margin-bottom: 0.75rem;
}

.hero-rich__main h1 {
  font-size: clamp(2.05rem, 4.9vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.038em;
  margin: 0 0 0.85rem;
  max-width: min(24ch, 100%);
}

.hero-rich__main h1 .hero-title__line {
  display: block;
}

.hero-rich__main h1 .hero-title__line + .hero-title__line {
  margin-top: 0.1em;
}

.hero-rich__main h1 .hero-title__accent {
  color: var(--brand-green);
  font-weight: 800;
}

.hero-sub {
  font-size: clamp(1.0625rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  max-width: 56ch;
  margin: 0 0 0.85rem;
}

.hero-lead {
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  color: var(--text-muted);
  max-width: 42ch;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1-5);
  margin-top: var(--space-3);
}

.hero-trust {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.hero-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(223, 232, 227, 0.95);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}

.hero-card h2 {
  font-size: 1.0625rem;
  color: var(--text);
}

.hero-card__hint {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.hero-card__hint strong {
  color: var(--text);
  font-weight: 700;
}

.hero-card .tel {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  display: inline-block;
  margin-top: 0.25rem;
}

.hero-card .tel:hover {
  text-decoration: underline;
}

.hero-card__email {
  margin-top: 1rem;
}

.hero-card__form {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(5, 106, 63, 0.12);
  font-size: 0.875rem;
}

.hero-card__form-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.hero-card__form-link:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

/* Sections */
section {
  padding: var(--section-y) 0;
}

.section-head {
  max-width: var(--prose-max);
  margin-bottom: var(--space-5);
}

.section-head--wide {
  max-width: var(--prose-wide);
}

.section-head p {
  font-size: 1.0625rem;
  line-height: 1.65;
}

.section-kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-orange-dark);
  margin-bottom: var(--space-1);
}

.prose--no-bottom {
  margin-bottom: 0;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1-5);
  align-items: center;
  margin-top: var(--space-1);
}

.bg-alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

/* Cards grid */
.cards {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .cards.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .cards.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s ease;
}

.cards .card {
  border-left: 3px solid rgba(5, 106, 63, 0.12);
  transition: border-color 0.25s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cards .card:hover {
  border-left-color: var(--brand-green);
}

.card:has(.card__step) {
  padding-top: 2.35rem;
}

.card__step {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(5, 106, 63, 0.35);
  user-select: none;
}

.card:hover {
  border-color: rgba(5, 106, 63, 0.22);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .card:hover {
    transform: none;
  }
}

.card h3 {
  color: var(--text);
}

.card a {
  font-weight: 600;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

.link-arrow::after {
  content: " →";
  text-decoration: none;
  font-weight: 700;
}

/* List features */
.features {
  display: grid;
  gap: calc(var(--space-2) + var(--space-1));
}

@media (min-width: 700px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.feature-icon__svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-icon__svg path,
.feature-icon__svg polyline,
.feature-icon__svg polygon {
  fill: none;
}

/* Stern-Icon: gefüllt statt nur Stroke */
.features .feature:nth-child(2) .feature-icon__svg polygon {
  fill: currentColor;
  stroke: none;
}

.features .feature:nth-child(even) .feature-icon {
  background: var(--brand-orange-soft);
  color: var(--brand-orange-dark);
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-green) 0%, #034d2f 100%);
  color: #fff;
  padding: clamp(var(--space-5), 5vw, calc(var(--space-7) - var(--space-1))) 0;
  text-align: center;
  border-top: 3px solid var(--brand-orange);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 80% at 50% -30%, rgba(247, 166, 0, 0.18) 0%, transparent 55%);
  pointer-events: none;
}

.cta-band .wrap {
  position: relative;
  z-index: 1;
}

.cta-band__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 166, 0, 0.95);
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 38rem;
  margin: 0 auto var(--space-5);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.cta-band p a {
  color: #fff;
  text-decoration-color: rgba(247, 166, 0, 0.9);
}

.cta-band p a:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.cta-band__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.15rem;
}

.cta-band__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  justify-content: center;
  margin-top: var(--space-1);
}

.cta-band__phone {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}

.cta-band__phone a {
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid rgba(247, 166, 0, 0.85);
  padding-bottom: 1px;
}

.cta-band__phone a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--accent);
}

.cta-band .btn-primary:hover {
  background: #eef7f1;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #0f1f19 0%, #14181c 100%);
  color: #a8b0bc;
  padding: var(--space-6) 0 var(--space-4);
  font-size: 0.9375rem;
  border-top: 3px solid var(--brand-green);
}

.site-footer a {
  color: #e2e6eb;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.site-footer h3 {
  color: #fff;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.footer-brand-name {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-copyright {
  margin-top: 1rem;
  margin-bottom: 0;
}

.footer-bottom {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  margin-top: 1rem;
}

.footer-legal a {
  font-size: 0.8125rem;
}

.footer-legal a.footer-admin-link {
  color: rgba(247, 166, 0, 0.95);
  font-weight: 600;
}

.footer-legal a.footer-admin-link:hover {
  color: #ffc14d;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}

/* Trust strip — 3 identische Cards (Grid, gleiche Hierarchie) */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: clamp(var(--space-3), 3vw, calc(var(--space-3) + var(--space-1))) 0;
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}

@media (max-width: 720px) {
  .trust-strip__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
}

.trust-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0;
  min-height: 140px;
  height: 100%;
  min-width: 0;
  padding: var(--space-4) var(--space-3);
  border-radius: var(--radius-lg);
  box-sizing: border-box;
  background: var(--bg-muted);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trust-card > * {
  margin: 0;
}

.trust-card > * + * {
  margin-top: var(--space-1);
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

@media (prefers-reduced-motion: reduce) {
  .trust-card:hover {
    transform: none;
  }
}

.trust-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.trust-card__year {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--brand-green-dark);
}

.trust-card__logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-height: 56px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.trust-card__logo-link:hover {
  opacity: 0.88;
}

.trust-card__logo-link:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Logos: breites Innungslogo vs. rundes Siegel (SVG mit 100%/100% sonst Breite 0 als <img>) */
.trust-card__logo-img {
  display: block;
  object-fit: contain;
}

.trust-card__logo-img--wide {
  max-height: 48px;
  width: auto;
  max-width: min(220px, 100%);
  height: auto;
}

.trust-card__logo-img--seal {
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
  flex-shrink: 0;
}

.trust-card__title {
  margin: 0;
  padding: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 22ch;
}

.trust-card__sub {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
  opacity: 0.7;
  max-width: 26ch;
}

/* Intro + portrait */
.section-intro {
  padding-top: calc(var(--section-y) * 0.92);
  padding-bottom: calc(var(--section-y) * 0.92);
}

.intro-split {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 800px) {
  .intro-split {
    grid-template-columns: 1fr min(42%, 420px);
    gap: var(--space-6);
  }
}

.intro-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.intro-portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.intro-portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.intro-craft {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(5, 106, 63, 0.1);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.intro-craft img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.intro-craft__cap {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.6rem 0.85rem 0.75rem;
  margin: 0;
  line-height: 1.35;
  background: linear-gradient(180deg, rgba(246, 249, 247, 0.5) 0%, var(--surface) 100%);
}

.intro-caption {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* News teaser */
.news-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Visueller Anker ohne Stockfotos — Markengradient pro Karte */
.news-card__accent {
  flex-shrink: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-green) 0%, #0a8f5a 45%, var(--brand-orange) 100%);
}

.news-card__accent--2 {
  background: linear-gradient(90deg, var(--brand-orange) 0%, #e89400 40%, var(--brand-green) 100%);
}

.news-card__accent--3 {
  background: linear-gradient(90deg, #04452a 0%, var(--brand-green) 50%, var(--brand-orange) 100%);
}

.news-card:hover {
  border-color: rgba(5, 106, 63, 0.22);
  box-shadow: var(--shadow);
}

.news-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card__meta {
  margin-bottom: 0.25rem;
}

.news-card time {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-green-dark);
  background: var(--accent-soft);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.news-card h3 {
  font-size: 1rem;
  margin: 0.5rem 0 0.75rem;
  color: var(--text);
  line-height: 1.35;
}

.news-card p {
  font-size: 0.9375rem;
  flex: 1;
  margin-bottom: 1rem;
}

.news-card .btn-link {
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
}

.news-card .btn-link:hover {
  text-decoration: underline;
}

.news-outro {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1-5);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-4);
  padding-top: calc(var(--space-3) + var(--space-1));
  border-top: 1px solid var(--border);
}

/* Legal / long prose pages */
.prose.legal {
  max-width: var(--prose-xl);
}

.prose.legal h2 {
  font-size: 1.125rem;
  margin-top: var(--space-4);
  color: var(--text);
}

.prose.legal > h2:first-of-type {
  margin-top: 0;
}

.download-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.download-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.download-list li:first-child {
  padding-top: 0;
}

.download-list .file-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.download-list--cards {
  max-width: var(--prose-wide);
  margin-inline: auto;
}

.download-list--cards li {
  align-items: center;
  padding: 1.15rem 1.25rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  border-bottom: 1px solid var(--border);
}

.download-list--cards li:last-child {
  margin-bottom: 0;
}

.download-list--cards li:first-child {
  padding-top: 1.15rem;
}

.download-list__text {
  flex: 1;
  min-width: min(100%, 220px);
}

.download-list__title {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.download-list__btn {
  flex-shrink: 0;
}

.downloads-empty {
  max-width: var(--prose-max);
  margin-inline: auto;
  padding: var(--space-5) var(--space-4);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.downloads-empty__text {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.downloads-outro .downloads-footer {
  text-align: center;
  max-width: var(--prose-max);
  margin-inline: auto;
}

/* Timeline / history portraits */
.history-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, 1fr);
  margin-top: var(--space-1);
}

@media (min-width: 700px) {
  .history-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.history-card {
  text-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
  margin: 0;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.history-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .history-card,
  .history-era-card {
    transition: none;
  }

  .history-card:hover {
    transform: none;
  }
}

.history-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.history-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
  padding: 1rem 0.75rem 1.15rem;
  text-align: center;
}

.history-card__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.history-card__role {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Firmenhistorie — Epochen & Layout */
.history-intro-head {
  margin-bottom: 0;
}

.history-intro-lead {
  margin-top: var(--space-2);
}

.history-stack {
  display: grid;
  gap: var(--space-3);
  max-width: 44rem;
  margin: var(--space-4) auto 0;
}

@media (min-width: 720px) {
  .history-stack {
    gap: var(--space-4);
  }
}

.history-era-card {
  margin: 0;
  padding: var(--space-4) var(--space-4) var(--space-3);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.history-era-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(5, 106, 63, 0.14);
}

.history-era-card--accent {
  border-left: 4px solid var(--brand-green);
  padding-left: calc(var(--space-4) - 3px);
  background: linear-gradient(135deg, var(--surface) 0%, #f8fcf9 100%);
}

.history-era-card__years {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-green);
}

.history-era-card__h {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.0625rem, 2.2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.25;
}

.history-era-card__body p {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.history-era-card__body p:last-child {
  margin-bottom: 0;
}

.history-portraits-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-5);
}

/* Page hero (inner pages) — gleiche Tonalität wie Leistungen/Über uns */
.page-hero {
  padding: clamp(var(--space-4), 4vw, var(--space-6)) 0;
  padding-bottom: clamp(var(--space-5), 5vw, var(--space-7));
  background: linear-gradient(165deg, #f8fcf9 0%, var(--surface) 48%, #eef6f1 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin-bottom: var(--space-1);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: min(22ch, 100%);
  color: var(--text);
}

.page-hero .hero-lead {
  max-width: var(--prose-tight);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Trust-Chips — eine Komponente für Hero, Über uns, Landing */
.trust-chip,
.hero-trust-chips__mark {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(5, 106, 63, 0.09);
  color: var(--brand-green-dark);
  border: 1px solid rgba(5, 106, 63, 0.14);
}

/* Über uns — Team-Zeile wie Startseite (team-split in .wrap), kein Vollbreit-Band */
.about-facts {
  list-style: none;
  margin: 0 0 var(--space-3);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.about-page-split__figure {
  margin: 0;
}

.about-page-split__figure picture {
  display: block;
}

.about-page-split__img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 28%;
}

.about-page-split__cap {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.65rem 0.9rem 0.85rem;
  margin: 0;
  line-height: 1.4;
  background: linear-gradient(180deg, rgba(246, 249, 247, 0.6) 0%, var(--surface) 100%);
}

.about-page-split__meta {
  min-width: 0;
}

.about-trust {
  padding: clamp(var(--space-5), 5vw, var(--space-7)) 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.about-trust__grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .about-trust__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }
}

.about-trust-card {
  margin: 0;
  padding: var(--space-4) var(--space-3);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: var(--bg-muted);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .about-trust-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-trust-card {
    transition: none;
  }

  .about-trust-card:hover {
    transform: none;
  }
}

.about-trust-card__h {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}

.about-trust-card__p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.about-trust-card__p a {
  font-weight: 600;
  color: var(--accent);
}

.about-trust-card__p a:hover {
  color: var(--accent-hover);
}

.about-pillars {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-1);
}

@media (min-width: 800px) {
  .about-pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }
}

.about-pillar {
  padding: var(--space-4) var(--space-3);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: var(--bg-muted);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.about-pillar__h {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  color: var(--text);
}

.about-pillar__p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.about-scope-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1-5);
  justify-content: center;
  margin-top: var(--space-4);
}

.about-gruende {
  max-width: var(--prose-xl);
  margin-left: auto;
  margin-right: auto;
}

.about-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: var(--prose-xxl);
  margin: 0 auto;
}

.about-flow__kicker {
  margin-bottom: var(--space-2);
}

.about-flow__body {
  display: grid;
  gap: var(--space-2) var(--space-4);
  min-width: 0;
}

.about-flow__body h2 {
  margin: 0;
}

.about-flow__lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
}

@media (min-width: 880px) {
  .about-flow__body {
    grid-template-columns: 1fr 1.1fr;
    grid-template-rows: auto auto;
    column-gap: var(--space-6);
    row-gap: var(--space-2);
    align-items: start;
  }

  .about-flow__body h2 {
    grid-column: 1;
    grid-row: 1;
  }

  .about-flow__body .about-flow__lead {
    grid-column: 1;
    grid-row: 2;
  }

  .about-flow__body .about-flow__steps {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: stretch;
    height: auto;
    min-height: 0;
    justify-content: space-between;
  }
}

.about-flow__steps {
  list-style: none;
  margin: 0;
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--space-2);
}

.about-flow__steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
}

.about-flow__step-label {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--brand-green-dark);
  font-size: 0.8125rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-leist-cards {
  margin-top: var(--space-1);
}

/* Leistungen (Unterseite): Einstieg nutzt .page-hero + Typo unten */
.page-hero--leistungen__inner,
.page-hero__inner {
  max-width: var(--prose-xxl);
  margin-inline: auto;
}

.page-hero--leistungen h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.page-hero--leistungen .hero-lead {
  max-width: 42rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.leistungen-hero-chips {
  list-style: none;
  margin: var(--space-3) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.leistungen-hero-chips__a {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brand-green-dark);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(5, 106, 63, 0.22);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.leistungen-hero-chips__a:hover {
  border-color: var(--brand-green);
  background: #fff;
  transform: translateY(-1px);
}

.section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--prose-wide);
}

.section-head--center .section-lead-narrow {
  margin-left: auto;
  margin-right: auto;
}

.leistungen-teaser-cards {
  margin-top: var(--space-1);
}

.service-section {
  scroll-margin-top: var(--scroll-margin);
}

.service-showcase__grid {
  display: grid;
  gap: clamp(var(--space-3), 4vw, var(--space-5));
  align-items: center;
}

@media (min-width: 900px) {
  .service-showcase__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: var(--space-6);
  }

  .service-showcase__grid--flip .service-showcase__figure {
    order: 2;
  }

  .service-showcase__grid--flip .service-showcase__body {
    order: 1;
  }
}

.service-showcase__figure {
  display: block;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(5, 106, 63, 0.1);
  background: var(--surface);
  aspect-ratio: 4 / 3;
  position: relative;
  text-decoration: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service-showcase__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.service-showcase__figure:hover {
  box-shadow: 0 8px 32px rgba(5, 106, 63, 0.14);
  transform: translateY(-2px);
}

.service-showcase__figure:focus-visible {
  outline: 3px solid var(--brand-orange);
  outline-offset: 3px;
}

.service-showcase__figure picture {
  display: block;
  width: 100%;
  height: 100%;
}

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

.service-showcase__kicker {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-orange-dark);
  margin-bottom: 0.4rem;
}

.service-showcase__body h2 {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.service-showcase__lead {
  margin: 0 0 var(--space-2);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.service-showcase__list {
  margin: 0 0 var(--space-3);
  padding: 0 0 0 1.2rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.service-showcase__list li {
  margin-bottom: 0.4rem;
}

.service-showcase__list li::marker {
  color: var(--brand-green);
}

.service-showcase__more {
  margin: 0 0 var(--space-2);
  font-size: 0.9375rem;
}

.leistungen-more-grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: 1fr;
  max-width: var(--prose-xxl);
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 720px) {
  .leistungen-more-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }
}

.leistungen-more-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  box-shadow: var(--shadow);
  border-left: 3px solid rgba(5, 106, 63, 0.2);
}

.leistungen-more-card__h {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  color: var(--text);
}

.leistungen-more-card__p {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Wasserschaden-Landing (Themenseite) */
.ws-landing {
  scroll-margin-top: var(--scroll-margin);
}

.ws-hero {
  position: relative;
  padding: clamp(var(--space-6), 8vw, calc(var(--space-11) + var(--space-2))) 0;
  overflow: hidden;
  background: linear-gradient(150deg, #033524 0%, #056a3f 38%, #087a4d 100%);
  color: #fff;
  border-bottom: 3px solid var(--brand-orange);
}

.ws-hero__ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 65% at 15% 15%, rgba(247, 166, 0, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 92% 88%, rgba(255, 255, 255, 0.07) 0%, transparent 48%);
  pointer-events: none;
}

.ws-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

@media (min-width: 960px) {
  .ws-hero__inner {
    grid-template-columns: 1.02fr 0.98fr;
    gap: var(--space-6);
    align-items: start;
  }
}

.ws-hero__eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

.ws-hero h1 {
  margin: 0 0 var(--space-2);
  color: #fff;
  font-size: clamp(1.75rem, 4.2vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.ws-hero__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 42rem;
}

.ws-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1-5);
  margin-top: var(--space-3);
}

.ws-hero .btn-primary {
  background: #fff;
  color: var(--accent);
}

.ws-hero .btn-primary:hover {
  background: #eef7f1;
  color: var(--accent-hover);
}

.ws-hero .btn-accent {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.ws-hero .btn-accent:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.ws-hero__note {
  margin: var(--space-2) 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 36rem;
}

.ws-hero__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.15);
}

.ws-hero__figure-link {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.ws-hero__figure-link:focus-visible {
  outline: 3px solid var(--brand-orange);
  outline-offset: 3px;
}

.ws-hero__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.ws-hero__cap {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.65rem 0.9rem 0.85rem;
  margin: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.ws-strip {
  padding: clamp(var(--space-5), 5vw, var(--space-7)) 0;
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.ws-strip__grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .ws-strip__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }
}

.ws-strip__item {
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #fafcfb 0%, var(--surface) 100%);
  box-shadow: var(--shadow);
}

.ws-strip__num {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--brand-orange-dark);
  margin-bottom: 0.35rem;
}

.ws-strip__h {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  color: var(--text);
}

.ws-strip__p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.ws-section {
  scroll-margin-top: var(--scroll-margin);
}

.ws-step-grid {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
  counter-reset: wsstep;
}

@media (min-width: 640px) {
  .ws-step-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
}

.ws-step {
  counter-increment: wsstep;
  position: relative;
  margin: 0;
  padding: var(--space-3) var(--space-3) var(--space-3) calc(var(--space-3) + 2.25rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.ws-step::before {
  content: counter(wsstep);
  position: absolute;
  left: var(--space-2);
  top: var(--space-2);
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--brand-green-dark);
  font-weight: 800;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ws-step__h {
  margin: 0 0 0.4rem;
  font-size: 1.0625rem;
  color: var(--text);
}

.ws-step__p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.ws-callout {
  margin: var(--space-5) 0 0;
  padding: var(--space-3);
  border-radius: var(--radius);
  background: rgba(5, 106, 63, 0.06);
  border: 1px solid rgba(5, 106, 63, 0.15);
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.ws-callout strong {
  color: var(--text);
}

.ws-split {
  padding: var(--section-y) 0;
  scroll-margin-top: var(--scroll-margin);
}

.ws-split__grid {
  display: grid;
  gap: clamp(var(--space-3), 4vw, var(--space-5));
  align-items: center;
}

@media (min-width: 900px) {
  .ws-split__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: var(--space-6);
  }

  .ws-split--flip .ws-split__media {
    order: 2;
  }

  .ws-split--flip .ws-split__body {
    order: 1;
  }
}

.ws-split__lead {
  margin: 0 0 var(--space-2);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.ws-split__body h2 {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.35rem, 2.6vw, 1.65rem);
  letter-spacing: -0.02em;
  color: var(--text);
}

.ws-split__media {
  display: block;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(5, 106, 63, 0.1);
  aspect-ratio: 4 / 3;
  text-decoration: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ws-split__media:hover {
  box-shadow: 0 8px 32px rgba(5, 106, 63, 0.14);
  transform: translateY(-2px);
}

.ws-split__media:focus-visible {
  outline: 3px solid var(--brand-orange);
  outline-offset: 3px;
}

.ws-split__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

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

.ws-prose-block {
  padding: var(--section-y) 0;
}

.ws-prose-block__grid {
  display: grid;
  gap: var(--space-3);
  max-width: var(--prose-xxl);
  margin: 0 auto;
}

@media (min-width: 880px) {
  .ws-prose-block__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    align-items: stretch;
  }
}

.ws-prose-block__grid--equal .ws-prose-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ws-prose-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow);
}

.ws-prose-card h2 {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  color: var(--text);
}

.ws-prose-card p {
  margin: 0 0 var(--space-2);
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.ws-prose-card__list {
  margin: 0 0 var(--space-2);
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.ws-prose-card__list li {
  margin-bottom: 0.35rem;
}

.ws-prose-block__grid--equal .ws-prose-card__foot {
  margin-top: auto;
  padding-top: var(--space-1);
}

.ws-prose-card__foot {
  margin: 0;
}

.ws-gallery {
  padding: var(--section-y) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.ws-gallery__grid {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .ws-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .ws-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }
}

.ws-gallery__item {
  margin: 0;
}

.ws-gallery__link {
  display: block;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(5, 106, 63, 0.12);
  aspect-ratio: 4 / 3;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ws-gallery__link:hover {
  box-shadow: 0 12px 36px rgba(5, 106, 63, 0.12);
  transform: translateY(-2px);
}

.ws-gallery__link:focus-visible {
  outline: 3px solid var(--brand-orange);
  outline-offset: 3px;
}

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

.ws-region {
  padding: clamp(var(--space-5), 5vw, var(--space-7)) 0;
  background: linear-gradient(180deg, var(--bg) 0%, #eef6f1 100%);
  border-top: 1px solid var(--border);
}

.ws-region__inner {
  max-width: var(--prose-wide);
  margin: 0 auto;
  text-align: center;
}

.ws-region__h {
  margin: 0 0 var(--space-1);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-orange-dark);
}

.ws-region__p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Prose */
.prose {
  max-width: var(--prose-max);
}

.prose.wide {
  max-width: var(--prose-xl);
}

.prose.prose--narrow {
  max-width: var(--prose-tight);
}

.prose h2.prose-subsection {
  margin-top: var(--space-4);
}

.prose h2 {
  margin-top: var(--space-4);
  color: var(--text);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.prose.wide > h2:first-child {
  margin-top: 0;
}

.prose > h2:first-child {
  margin-top: 0;
}

.prose h3 {
  color: var(--text);
  font-size: 1.0625rem;
  margin-top: calc(var(--space-3) + var(--space-1));
  margin-bottom: var(--space-1);
}

.prose h2 + p,
.prose h3 + p {
  margin-top: 0;
}

.prose ul {
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.prose ol.gruende,
ol.gruende.about-gruende {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  counter-reset: grund;
}

.prose ol.gruende li,
ol.gruende.about-gruende li {
  counter-increment: grund;
  position: relative;
  padding-left: 2.85rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.prose ol.gruende li::before,
ol.gruende.about-gruende li::before {
  content: counter(grund);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2rem;
  height: 2rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prose ol.gruende li strong,
ol.gruende.about-gruende li strong {
  color: var(--text);
  font-weight: 600;
}

.service-stack article {
  padding-top: var(--space-3);
  margin-top: var(--space-3);
  border-top: 1px solid var(--border);
}

.service-stack article:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}

.service-stack article:first-child h3 {
  margin-top: 0;
}

/* Contact grid */
.contact-grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.contact-box {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: calc(var(--space-3) + var(--space-1));
  box-shadow: var(--shadow);
}

.contact-box h2 {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.0625rem, 2vw, 1.2rem);
  color: var(--text);
}

.contact-box__intro {
  margin: 0 0 calc(var(--space-2) + var(--space-1));
  color: var(--text-muted);
}

.contact-box dt {
  font-weight: 600;
  color: var(--text);
  margin-top: 1rem;
}

.contact-box dt:first-of-type {
  margin-top: 0;
}

.contact-box dd {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
}

.contact-box__tel-hint {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Form */
.form label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  margin-bottom: 1rem;
}

.form select {
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
    linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 50%, calc(100% - 0.75rem) 50%;
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

.form-checkbox-wrap {
  margin-bottom: 1rem;
}

.form-checkbox {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
}

.form-checkbox input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--brand-green);
  cursor: pointer;
}

.form-checkbox a {
  color: var(--accent);
  text-underline-offset: 2px;
}

.form-checkbox a:hover {
  color: var(--accent-hover);
}

.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Sticky mobile CTA (App-Leiste: Anrufen + Kontakt) — gerade Kante oben, volle Breite */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  background: rgba(246, 249, 247, 0.98);
  isolation: isolate;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 2px solid var(--brand-green);
  border-radius: 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
}

.sticky-cta .btn {
  flex: 1;
  min-height: 52px;
}

@media (min-width: 880px) {
  .sticky-cta {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

@media (max-width: 879px) {
  body {
    padding-bottom: 76px;
  }
}

/* Notice / placeholder */
.notice {
  background: var(--accent-soft);
  border: 1px solid rgba(5, 106, 63, 0.18);
  border-left: 4px solid var(--brand-orange);
  border-radius: var(--radius);
  padding: calc(var(--space-2) + var(--space-1)) var(--space-3);
  color: var(--text);
}

.notice p {
  color: var(--text-muted);
}

.notice--spaced {
  margin-top: var(--space-4);
}

.prose-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1-5);
  align-items: center;
  margin-top: var(--space-4);
}

.ref-footer-note {
  margin-top: var(--space-1);
  color: var(--text-muted);
  max-width: var(--prose-tight);
}

.ref-footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1-5);
  align-items: center;
  margin-top: var(--space-2);
}

.downloads-footer {
  margin-top: var(--space-4);
}

/* Referenzen: Platzhalter bis echte Projektfotos lieferbar */
.refs-teaser {
  text-align: center;
  max-width: var(--prose-sm);
  margin-inline: auto;
  padding: var(--space-4) var(--space-3);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.refs-teaser__title {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-orange-dark);
}

.refs-teaser__text {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.refs-teaser .btn {
  margin-top: 0.25rem;
}

/* Referenzen: Galerie & Startseiten-Teaser */
.ref-preview-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .ref-preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .ref-preview-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ref-preview-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  transition: box-shadow 0.2s, transform 0.2s;
}

.ref-preview-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.ref-preview-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.ref-preview-card__label {
  display: block;
  padding: 0.5rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.ref-empty {
  max-width: var(--prose-max);
  margin: 0 0 1.25rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(5, 106, 63, 0.22);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.ref-empty--callout {
  max-width: var(--prose-tight);
  margin: 0 auto 1.5rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(5, 106, 63, 0.16);
  background: linear-gradient(155deg, var(--surface) 0%, var(--bg) 100%);
  box-shadow: var(--shadow);
  text-align: left;
}

.ref-empty__title {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.ref-empty__text {
  margin: 0 0 1rem;
  font-size: 0.975rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.ref-empty__text strong {
  color: var(--text);
  font-weight: 600;
}

.ref-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin: 0;
}

.refs-cta {
  margin: 1.5rem 0 0;
  text-align: center;
}

/* Referenzen (Überarbeitung 2026) */
.ref-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

a.ref-toc__pill {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid rgba(5, 106, 63, 0.18);
  color: var(--brand-green-dark);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

a.ref-toc__pill:hover {
  border-color: var(--accent);
  background: #fff;
  transform: translateY(-1px);
}

.ref-block {
  scroll-margin-top: var(--scroll-margin);
}

.ref-block--alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.ref-block .section-head {
  max-width: none;
  margin-bottom: var(--space-4);
}

.ref-block .section-head .section-kicker {
  color: var(--brand-orange-dark);
}

.ref-block__title {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--text);
}

.ref-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .ref-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .ref-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }
}

.ref-card {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ref-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8ece9;
  flex-shrink: 0;
}

.ref-card__link {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.ref-card__link:hover {
  opacity: 0.96;
}

.ref-card__link:focus-visible {
  outline: 3px solid var(--brand-orange);
  outline-offset: 2px;
}

.ref-card__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ref-card__cap {
  padding: 0.65rem 0.85rem 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
  flex: 1;
}

.ref-cta-band {
  background: linear-gradient(165deg, #f6faf8 0%, #eef6f1 55%, #e8f2ec 100%);
  border-block: 1px solid var(--border);
}

.ref-cta-band__inner {
  max-width: var(--prose-wide);
  margin: 0 auto;
  text-align: center;
}

.ref-cta-band__h {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  letter-spacing: -0.02em;
  color: var(--text);
}

.ref-cta-band__p {
  margin: 0 0 var(--space-4);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.ref-cta-band__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1-5);
  align-items: center;
  justify-content: center;
}

/* ——— www/ Deploy: dynamisches Gefühl (Reveal, Header, Embeds) ——— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-flash {
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.form-flash--success {
  background: var(--accent-soft);
  border: 1px solid rgba(5, 106, 63, 0.25);
  color: var(--text);
}

.form-flash--error {
  background: #fff5f5;
  border: 1px solid rgba(180, 40, 40, 0.25);
  color: #5c1a1a;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.embed-shell {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.embed-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    var(--bg) 0%,
    #eef4f0 45%,
    var(--bg) 90%
  );
  background-size: 200% 100%;
  animation: embed-shimmer 1.2s ease-in-out infinite;
}

[data-embed-loaded="true"] .embed-skeleton {
  display: none;
}

@keyframes embed-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.recruit-iframe {
  display: block;
  width: 100%;
  min-height: 520px;
  border: 0;
}

.recruit-connectoor-gate {
  padding: var(--space-4);
}

.recruit-connectoor-gate__action {
  margin: 1rem 0 0;
}

.recruit-connectoor-shell .recruit-connectoor-skeleton:not([hidden]) {
  display: block;
}

.recruit-connectoor-gate:not([hidden]) ~ .recruit-connectoor-target {
  min-height: 0;
}

.recruit-connectoor-shell[data-recruit-connectoor-loaded="true"] .recruit-connectoor-target,
.recruit-connectoor-shell .recruit-connectoor-skeleton:not([hidden]) ~ .recruit-connectoor-target {
  min-height: 520px;
}

.recruit-connectoor-shell[data-recruit-connectoor-error="true"] .recruit-connectoor-target {
  min-height: 0;
}

@media (prefers-reduced-motion: reduce) {
  .embed-skeleton {
    animation: none;
    background: var(--bg);
  }
}

/* ——— Conversion-Homepage 2026 ——— */
.section--tint {
  background: linear-gradient(180deg, #f0f5f2 0%, var(--bg) 100%);
  border-block: 1px solid var(--border);
}

.section--greenish {
  background: linear-gradient(165deg, #f6faf8 0%, #eef6f1 55%, #e8f2ec 100%);
}

.section-lead-narrow {
  max-width: var(--prose-max);
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
  line-height: 1.65;
}

.hero--conversion .hero-rich__main h1 {
  max-width: min(20ch, 100%);
}

.hero-phone-line {
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
}

.hero-phone-link {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--brand-green);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.hero-phone-link:hover {
  color: var(--brand-green-dark);
  text-decoration: underline;
}

.hero-phone-line__hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-schaden-phone {
  margin: 0.65rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-width: 32rem;
}

.hero-schaden-phone__link {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--brand-green-dark);
  text-decoration: none;
}

.hero-schaden-phone__link:hover {
  text-decoration: underline;
}

.hero-schaden-phone__hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.hero-card__hint--ws {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
}

.hero-card__hint--ws a {
  font-weight: 700;
  color: var(--brand-green-dark);
  text-decoration: none;
}

.hero-card__hint--ws a:hover {
  text-decoration: underline;
}

.hero-trust-chips {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.section-social {
  padding: clamp(var(--space-5), 5vw, calc(var(--space-7) - var(--space-1))) 0;
}

.social-proof {
  display: grid;
  gap: var(--space-4);
  align-items: start;
}

@media (min-width: 800px) {
  .social-proof {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-5);
  }

  .social-proof__quote {
    grid-column: 1 / -1;
  }
}

.social-proof__stars {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  color: var(--brand-orange);
}

.social-proof__score {
  margin: 0.25rem 0 0;
  font-size: 1.5rem;
  color: var(--text);
}

.social-proof__rating-note {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 28ch;
}

.social-proof__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stat-pill {
  flex: 1 1 140px;
  min-width: 120px;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.stat-pill__value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-green);
  line-height: 1.2;
}

.stat-pill__label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.social-proof__quote {
  margin: 0;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--brand-orange);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.social-proof__quote p {
  margin: 0;
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
}

.social-proof__quote footer {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-style: normal;
  color: var(--text-muted);
}

.social-proof__rating-note--warn {
  color: #7a4a00;
}

.google-reviews-list {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

.google-review-card {
  margin: 0;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.google-review-card__text {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  font-style: italic;
}

.google-review-card__meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
}

.google-review-card__meta .google-review-card__time {
  color: var(--text-muted);
}

.google-review-card__stars {
  color: var(--brand-orange);
  letter-spacing: 0.08em;
  margin-left: auto;
}

.google-reviews-attribution {
  margin: var(--space-2) 0 0;
  grid-column: 1 / -1;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: var(--prose-xxl);
}

.google-reviews-attribution a {
  font-weight: 600;
}

.card--service .card__benefit {
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.75rem;
  line-height: 1.45;
}

.card__bullets {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.card__bullets li {
  margin-bottom: 0.35rem;
}

.section-cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1-5);
  justify-content: center;
  align-items: center;
  margin-top: calc(var(--space-5) - var(--space-1));
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}

.section-cta-inline--spaced {
  margin-top: var(--space-4);
}

.section-team {
  padding: calc(var(--section-y) * 0.95) 0;
}

.team-split {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 880px) {
  .team-split {
    grid-template-columns: min(42%, 420px) 1fr;
    gap: var(--space-6);
  }
}

.team-split__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(5, 106, 63, 0.12);
  background: var(--surface);
}

.team-split__img {
  width: 100%;
  height: auto;
  display: block;
}

.team-split__lead {
  font-size: clamp(1.0625rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin: 0 0 1rem;
}

.about-teaser-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 0;
}

.tips-card__h {
  font-size: 1.0625rem;
  margin: 0 0 0.5rem;
}

.cta-band--final .cta-band__lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.125rem;
  max-width: var(--prose-sm);
  margin-left: auto;
  margin-right: auto;
}

.cta-band__btn-phone {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.cta-band__btn-phone:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.contact-topic-banner {
  padding: 0.75rem 1rem;
  margin: 0 0 1rem;
  border-radius: var(--radius);
  background: rgba(247, 166, 0, 0.15);
  border: 1px solid rgba(247, 166, 0, 0.35);
  color: var(--text);
  font-size: 0.9375rem;
}

/* Referenzen: Hover-Overlay */
.ref-preview-grid--rich .ref-preview-card--rich {
  padding: 0;
}

.ref-preview-card__media {
  position: relative;
  display: block;
  overflow: hidden;
}

.ref-preview-card--rich .ref-preview-card__label {
  position: relative;
  z-index: 1;
}

.ref-preview-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.15rem;
  padding: 1rem;
  background: linear-gradient(transparent 25%, rgba(15, 31, 25, 0.88) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.ref-preview-card--rich:hover .ref-preview-card__overlay {
  opacity: 1;
}

.ref-preview-card__overlay-type {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.ref-preview-card__overlay-svc {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.ref-preview-card__overlay-loc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
}

@media (prefers-reduced-motion: reduce) {
  .ref-preview-card__overlay {
    transition: none;
    opacity: 1;
    background: linear-gradient(transparent 40%, rgba(15, 31, 25, 0.75) 100%);
  }
}

/*
 * Kein „Scroll-Reveal“ (opacity:0 → 1): Das erzeugte beim ersten Paint / beim Parsen
 * sichtbares Flackern bzw. Zucken. Klasse .reveal-section bleibt als Marker erhalten.
 */
.reveal-section {
  opacity: 1;
  transform: none;
}

/* Lightbox (Referenzen) — sanftes „Aufgehen“ (iOS-artig), siehe prefers-reduced-motion */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: min(1.25rem, 4vw);
  background-color: rgba(12, 22, 18, 0);
  overflow: auto;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.36s cubic-bezier(0.32, 0.72, 0, 1),
    background-color 0.36s cubic-bezier(0.32, 0.72, 0, 1);
}

.lightbox.is-open {
  background-color: rgba(12, 22, 18, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 1;
}

.lightbox[hidden] {
  display: none !important;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox__panel {
  position: relative;
  max-width: min(96vw, var(--max));
  max-height: min(92vh, 900px);
  margin: auto;
  padding: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transform: scale(0.94) translateY(14px);
  transform-origin: center center;
  transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
}

.lightbox.is-open .lightbox__panel {
  transform: scale(1) translateY(0);
}

.lightbox__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: background 0.15s ease, transform 0.15s ease;
}

.lightbox__close:hover {
  background: #fff;
  transform: scale(1.05);
}

.lightbox__close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(78vh, 760px);
  object-fit: contain;
  vertical-align: middle;
}

.lightbox__caption {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border);
}

.lightbox__caption:empty,
.lightbox__caption[hidden] {
  display: none;
}

.lightbox__panel:has(.lightbox__caption:not([hidden])) .lightbox__img {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.lightbox__panel:has(.lightbox__caption[hidden]) .lightbox__img {
  border-radius: var(--radius-lg);
}

@media (prefers-reduced-motion: reduce) {
  .lightbox {
    transition: none;
    opacity: 1;
    background-color: rgba(12, 22, 18, 0.88);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }

  .lightbox__panel {
    transition: none;
    transform: none;
    will-change: auto;
  }

  .lightbox__close {
    transition: none;
  }
}

/* ——— Einwilligung Google Maps (DSGVO) + eingebettete Karte ——— */
html:not(.consent-resolved) body {
  padding-bottom: clamp(6.5rem, 22vw, 9rem);
}

html.consent-resolved body {
  padding-bottom: 0;
}

@media (max-width: 879px) {
  html.consent-resolved body {
    padding-bottom: max(76px, calc(0.75rem + env(safe-area-inset-bottom, 0px)));
  }
}

.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 450;
  padding: 0.85rem 0 calc(0.85rem + env(safe-area-inset-bottom, 0));
  background: rgba(26, 29, 33, 0.97);
  color: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
}

html.consent-resolved .consent-banner {
  display: none !important;
}

.consent-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

.consent-banner__panel {
  width: 100%;
}

.consent-banner__detail {
  padding-top: 0.25rem;
}

.consent-banner__fieldset {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.consent-banner__fieldset-legend {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.75rem;
  padding: 0;
}

.consent-banner__check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
}

.consent-banner__check:last-of-type {
  margin-bottom: 0;
}

.consent-banner__check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--brand-orange);
  cursor: pointer;
}

.consent-banner__actions--main {
  justify-content: flex-start;
}

.consent-banner__actions--detail {
  margin-top: 0.5rem;
}

@media (min-width: 720px) {
  .consent-banner__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .consent-banner__panel {
    flex: 1;
    min-width: 0;
  }

  .consent-banner__actions--main {
    flex-shrink: 0;
    flex-direction: column;
    align-items: stretch;
    min-width: 11rem;
  }
}

.consent-banner__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 62rem;
}

.consent-banner__title {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
  color: #fff;
}

.consent-banner__text a {
  color: var(--brand-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-banner__text a:hover {
  color: #ffc14d;
}

.consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex-shrink: 0;
}

.consent-banner .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.consent-banner .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.footer-consent-link {
  display: inline;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.footer-consent-link:hover {
  color: #fff;
}

.google-embed-shell {
  margin-top: clamp(var(--space-4), 4vw, calc(var(--space-4) + var(--space-3)));
  padding-top: clamp(calc(var(--space-3) + var(--space-1)), 3vw, calc(var(--space-3) + var(--space-2)));
  border-top: 1px solid var(--border);
}

.google-embed-shell__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  color: var(--text);
}

.google-embed-shell__lead {
  margin: 0 0 var(--space-2);
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: var(--prose-xxl);
}

.google-embed-shell__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  min-height: 280px;
}

.google-embed-shell__placeholder {
  padding: var(--space-3) calc(var(--space-2) + var(--space-1));
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: flex-start;
  justify-content: center;
  min-height: 240px;
  box-sizing: border-box;
}

.google-embed-shell__hint {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: var(--prose-xl);
}

.google-embed-shell__fallback {
  margin: 0;
}

.google-embed-shell__iframe {
  display: block;
  width: 100%;
  height: min(420px, 55vh);
  min-height: 280px;
  border: 0;
}
