/* ==========================================================================
   Viehhandlung Bernd Wolf, Ufhausen
   Design: Petrolgrün aus dem Firmenlogo, Bitter (Slab) + Hanken Grotesk
   ========================================================================== */

/* ---------- Fonts (lokal gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/hanken-grotesk-v12-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/hanken-grotesk-v12-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/hanken-grotesk-v12-latin_latin-ext-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/hanken-grotesk-v12-latin_latin-ext-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/bitter-v42-latin_latin-ext-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Bitter';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/bitter-v42-latin_latin-ext-700italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/bitter-v42-latin_latin-ext-800.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --gruen: #018a79;          /* CI aus dem Logo */
  --gruen-dunkel: #06695c;   /* Links, kleiner grüner Text */
  --tanne: #0e2e29;          /* dunkles Flaschengrün, Footer, dunkle Bänder */
  --tinte: #182b26;          /* Fließtext */
  --grau: #52655f;           /* Sekundärtext */
  --alu: #b9c6c2;            /* Linien, dezente Ränder */
  --heu: #d9a441;            /* Sterne, Straßenmarkierung */
  --papier: #f7f5f0;         /* Seitenhintergrund */
  --flaeche: #ebefe9;        /* helle Kartenfläche */
  --weiss: #ffffff;
  --asphalt: #1c3630;        /* Straße im Hero */

  --font-display: 'Bitter', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Hanken Grotesk', 'Avenir Next', 'Segoe UI', sans-serif;

  --fs-hero: clamp(2.5rem, 7vw, 4.6rem);
  --fs-h2: clamp(1.75rem, 3.6vw, 2.6rem);
  --fs-h3: clamp(1.15rem, 2vw, 1.35rem);
  --fs-body: 1.0625rem;

  --w-inhalt: 71.25rem;      /* 1140px */
  --radius: 14px;
  --schatten: 0 10px 30px rgba(14, 46, 41, 0.10);
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--tinte);
  background: var(--papier);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

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

/* Cursor-Trail (nachziehende Linie), liegt über allem, blockt keine Klicks */
.cursor-trail {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.6em; }
p { margin: 0 0 1em; }

a { color: var(--gruen-dunkel); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--tanne); }

:focus-visible {
  outline: 3px solid var(--gruen);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--gruen); color: var(--weiss); }

.container {
  width: min(var(--w-inhalt), 100% - 2.5rem);
  margin-inline: auto;
}

.section { padding-block: clamp(4rem, 9vw, 6.5rem); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--tanne);
  color: var(--weiss);
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus-visible { top: 1rem; color: var(--weiss); }

/* ---------- Eyebrow + Überschriften ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gruen-dunkel);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: '';
  width: 2rem;
  height: 3px;
  flex: none;
  background: var(--heu);
  border-radius: 2px;
}

.section-head { max-width: 46rem; }
.section-head h2 { color: var(--tanne); }
.section-head .lead { font-size: 1.15rem; color: var(--grau); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  padding: 0.95rem 1.6rem;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn svg { flex: none; }
.btn-gruen { background: var(--gruen); color: var(--weiss); }
.btn-gruen:hover { background: var(--gruen-dunkel); color: var(--weiss); transform: translateY(-2px); }
.btn-kontur { border-color: var(--tanne); color: var(--tanne); background: transparent; }
.btn-kontur:hover { background: var(--tanne); color: var(--weiss); transform: translateY(-2px); }
.btn-hell { background: var(--weiss); color: var(--tanne); }
.btn-hell:hover { background: var(--heu); color: var(--tanne); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  background: rgba(247, 245, 240, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(14, 46, 41, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 2.6rem; width: auto; }
.brand .logo-hell { display: none; }

/* Header über dem Hero-Foto: helle Variante */
.site-header.auf-foto:not(.scrolled) .logo-dunkel { display: none; }
.site-header.auf-foto:not(.scrolled) .logo-hell { display: block; }
.site-header.auf-foto:not(.scrolled) .main-nav a { color: var(--weiss); }
.site-header.auf-foto:not(.scrolled) .main-nav a:hover { color: var(--weiss); border-bottom-color: var(--heu); }
.site-header.auf-foto:not(.scrolled) .main-nav .nav-cta a { border-color: rgba(255, 255, 255, 0.85); color: var(--weiss); }
.site-header.auf-foto:not(.scrolled) .main-nav .nav-cta a:hover { background: var(--weiss); color: var(--tanne); border-bottom-color: transparent; }
.site-header.auf-foto:not(.scrolled) .nav-toggle .bar { background: var(--weiss); }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-weight: 600;
  text-decoration: none;
  color: var(--tinte);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--gruen-dunkel); border-bottom-color: var(--heu); }
.nav-cta { margin-left: 0.5rem; }
.main-nav .nav-cta a {
  border: 2px solid var(--gruen);
  color: var(--gruen-dunkel);
  border-radius: 10px;
  padding: 0.5rem 1rem;
  font-weight: 700;
  white-space: nowrap;
}
.main-nav .nav-cta a:hover { background: var(--gruen); color: var(--weiss); border-bottom-color: transparent; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.6rem;
  margin-right: -0.6rem;
}
.nav-toggle .bar {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--tanne);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; position: relative; z-index: 3; }
  .brand { position: relative; z-index: 3; }

  /* Vollbild-Overlay: Menü als eigene Bühne, nicht als Dropdown */
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    background:
      radial-gradient(120% 90% at 50% 8%, rgba(1, 138, 121, 0.32) 0%, rgba(1, 138, 121, 0) 55%),
      linear-gradient(180deg, #0e2e29 0%, #081c18 100%);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s ease;
  }

  /* Driftende Straßenmarkierungen im Hintergrund */
  .main-nav::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background-image:
      repeating-linear-gradient(90deg, rgba(217, 164, 65, 0.5) 0 34px, transparent 34px 82px),
      repeating-linear-gradient(90deg, rgba(217, 164, 65, 0.32) 0 26px, transparent 26px 96px),
      repeating-linear-gradient(90deg, rgba(217, 164, 65, 0.28) 0 30px, transparent 30px 110px);
    background-size: 116px 3px, 122px 3px, 140px 3px;
    background-position: 0 24%, 0 76%, 0 91%;
    background-repeat: repeat-x;
    transition: opacity 0.6s ease;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  }
  .main-nav.open::after { opacity: 1; animation: strasse-drift 5.5s linear infinite; }

  .main-nav ul {
    position: relative;
    z-index: 2;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    padding: 0;
    width: min(90vw, 30rem);
  }
  .main-nav li { overflow: hidden; }
  .main-nav a {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    color: var(--weiss);
    padding: 0.5rem 0.75rem;
    border: 0;
    letter-spacing: -0.01em;
    /* Ausgangslage: von links "hereingefahren" */
    opacity: 0;
    transform: translateX(-2.5rem);
    transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.2, 0.75, 0.2, 1), color 0.2s ease;
  }
  .main-nav a:hover { color: #8fd8cb; border: 0; }
  .main-nav.open a { opacity: 1; transform: none; }
  .main-nav.open li:nth-child(1) a { transition-delay: 0.10s; }
  .main-nav.open li:nth-child(2) a { transition-delay: 0.17s; }
  .main-nav.open li:nth-child(3) a { transition-delay: 0.24s; }
  .main-nav.open li:nth-child(4) a { transition-delay: 0.31s; }
  .main-nav.open li:nth-child(5) a { transition-delay: 0.38s; }

  .nav-cta { margin: 1.4rem 0 0; overflow: visible; }
  .main-nav .nav-cta a {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--tanne);
    background: var(--heu);
    border: 0;
    border-radius: 12px;
    padding: 0.9rem 1.8rem;
  }
  .main-nav .nav-cta a::before {
    content: '';
    display: inline-block;
    width: 1.1rem;
    height: 1.1rem;
    margin-right: 0.55rem;
    vertical-align: -0.18rem;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center/contain no-repeat;
  }
  .main-nav .nav-cta a:hover { background: var(--weiss); color: var(--tanne); }

  /* Header über offenem Menü: durchsichtig, helles Logo und weißes X */
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header {
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  body.nav-open .site-header .logo-dunkel { display: none; }
  body.nav-open .site-header .logo-hell { display: block; }
  body.nav-open .nav-toggle .bar { background: var(--weiss); }
  body.nav-open .nav-toggle .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle .bar:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@keyframes strasse-drift {
  from { background-position: 0 24%, 0 76%, 0 91%; }
  to { background-position: -116px 24%, -122px 76%, -140px 91%; }
}
@media (prefers-reduced-motion: reduce) {
  .main-nav.open::after { animation: none; }
  .main-nav a { transition: opacity 0.2s ease; transform: none; }
}

/* ---------- Hero: vollflächiges Foto im Abendlicht ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--tanne);
  overflow: hidden;
}
.hero-medien {
  position: absolute;
  inset: -18% 0 0 0;
  will-change: transform;
}
.hero-medien img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 55%;
}
.hero-medien::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 24, 0.55) 0%, rgba(8, 28, 24, 0) 24%),
    linear-gradient(180deg, rgba(8, 28, 24, 0) 78%, rgba(8, 28, 24, 0.45) 100%),
    linear-gradient(266deg, rgba(8, 28, 24, 0.9) 0%, rgba(8, 28, 24, 0.66) 34%, rgba(8, 28, 24, 0.18) 60%, rgba(8, 28, 24, 0) 76%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 5vh, 3.5rem));
  padding-bottom: clamp(2rem, 6vh, 4rem);
}
.hero-text { max-width: 36rem; }
.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--weiss);
  margin-bottom: 0.5em;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(8, 28, 24, 0.35);
}
.hero h1 em {
  font-style: italic;
  font-weight: 700;
  color: #8fd8cb;
}
.hero .eyebrow { color: #a8dcd2; }
.hero-sub {
  max-width: 32rem;
  font-size: 1.15rem;
  color: #d5e4de;
  margin-bottom: 1.8rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero .btn-kontur { border-color: rgba(255, 255, 255, 0.85); color: var(--weiss); }
.hero .btn-kontur:hover { background: var(--weiss); color: var(--tanne); border-color: var(--weiss); }
.hero-hinweis {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  color: #bcd2cb;
}
.hero-hinweis strong { color: var(--heu); }

@media (max-width: 740px) {
  .hero { display: block; min-height: 0; }
  .hero-inner { padding-top: calc(var(--header-h) + 1.75rem); padding-bottom: 2.25rem; justify-content: flex-start; }
  .hero-medien { position: static; }
  .hero-medien img { aspect-ratio: 4 / 3; height: auto; object-position: 70% 50%; }
  .hero-medien::after { display: none; }
  .hero-sub { font-size: 1.05rem; }
  .hero-ctas .btn { width: 100%; }
}

/* Sanfter Einstieg des Hero-Textes beim Laden */
@keyframes hero-auftritt {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.hero-text > * { animation: hero-auftritt 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.hero-text > h1 { animation-delay: 0.1s; }
.hero-text > .hero-sub { animation-delay: 0.22s; }
.hero-text > .hero-ctas { animation-delay: 0.34s; }
.hero-text > .hero-hinweis { animation-delay: 0.46s; }

/* ---------- Vertrauensband ---------- */
.band-fakten { background: var(--weiss); border-block: 1px solid rgba(14, 46, 41, 0.08); }
.fakten-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-block: 2.6rem;
}
.fakt { text-align: left; }
.fakt-zahl {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: var(--gruen);
  line-height: 1.05;
  margin: 0;
}
.fakt-zahl .einheit { font-size: 0.55em; color: var(--tanne); font-weight: 700; white-space: nowrap; }
.fakt-text { color: var(--grau); font-size: 0.98rem; margin: 0.35rem 0 0; }

/* Odometer */
.odo { display: inline-flex; overflow: hidden; }
.odo-digit {
  display: inline-block;
  height: 1em;
  line-height: 1;
  overflow: hidden;
}
.odo-digit > span {
  display: block;
  line-height: 1;
  transform: translateY(0);
}
.odo.run .odo-digit > span { transition: transform 2s cubic-bezier(0.25, 0.8, 0.25, 1); }

@media (max-width: 860px) {
  .fakten-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
}

/* ---------- Leistungen ---------- */
.leistungen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-top: 2.4rem;
}
.leistung-karte {
  background: var(--weiss);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--schatten);
  border-top: 5px solid var(--gruen);
  display: flex;
  flex-direction: column;
}
.leistung-karte h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  color: var(--tanne);
}
.leistung-karte ul {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}
.leistung-karte li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.55rem;
}
.leistung-karte li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 1rem;
  height: 0.55rem;
  border-left: 3px solid var(--gruen);
  border-bottom: 3px solid var(--gruen);
  transform: rotate(-45deg);
}
.leistung-karte .btn { margin-top: auto; align-self: flex-start; }
/* Button und Weiterlesen-Link nebeneinander, wie die Hero-CTAs */
.karte-aktion {
  margin-top: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
}
.karte-aktion .btn { margin-top: 0; align-self: auto; }
.karte-aktion .mehr-link { margin-top: 0; }
/* Drei-Spalten-Variante (Ablauf-Schritte), bricht am Handy auf eine Spalte */
.leistungen-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 780px) {
  .leistungen-grid.grid-3 { grid-template-columns: 1fr; }
}
/* Vertrauens-Siegel (Befähigungsnachweis) */
.siegel {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: flex-start;
  margin: 0 0 1.4rem;
  padding: 0.5rem 0.9rem;
  background: rgba(1, 138, 121, 0.1);
  border: 1px solid rgba(1, 138, 121, 0.28);
  border-radius: 999px;
  color: var(--gruen-dunkel);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.25;
}
.siegel svg { flex: none; color: var(--gruen); }

@media (max-width: 780px) {
  .leistungen-grid { grid-template-columns: 1fr; }
}

/* ---------- Tiere ---------- */
.tiere { background: var(--flaeche); }
.tiere-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 2fr) 3fr;
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: stretch;
  margin-top: 2.4rem;
}
.tiere-foto {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schatten);
  position: relative;
}
.tiere-foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}
.tiere-foto figcaption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  background: rgba(14, 46, 41, 0.78);
  color: var(--weiss);
  font-size: 0.82rem;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
}
.tiere-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.tier-karte {
  background: var(--weiss);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.3rem;
  box-shadow: var(--schatten);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tier-karte:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(14, 46, 41, 0.16); }
.tier-karte h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  color: var(--gruen);
  margin-bottom: 0.3em;
}
.tier-karte h3 .und { color: var(--alu); font-weight: 700; }
.tier-karte p { margin: 0; color: var(--grau); font-size: 0.98rem; }
.tier-karte::after {
  content: '';
  width: 2.4rem;
  height: 3px;
  margin-top: 1rem;
  background: var(--heu);
  border-radius: 2px;
}

@media (max-width: 860px) {
  .tiere-layout { grid-template-columns: 1fr; }
  .tiere-foto { aspect-ratio: 4 / 5; }
  .tiere-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .tiere-grid { grid-template-columns: 1fr; }
}

/* ---------- Wunschtier-Band mit Nachtfoto ---------- */
.band-wunsch {
  background: var(--tanne);
  color: var(--weiss);
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 12vw, 8.5rem);
}
.nacht-foto {
  position: absolute;
  inset: 0;
}
.nacht-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
}
.nacht-foto::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(94deg, rgba(8, 24, 21, 0.92) 0%, rgba(8, 24, 21, 0.80) 40%, rgba(8, 24, 21, 0.48) 68%, rgba(8, 24, 21, 0.34) 100%),
    linear-gradient(180deg, rgba(8, 24, 21, 0.4) 0%, rgba(8, 24, 21, 0) 26%, rgba(8, 24, 21, 0) 68%, rgba(8, 24, 21, 0.5) 100%),
    radial-gradient(70% 90% at 88% 22%, rgba(217, 164, 65, 0.14) 0%, rgba(217, 164, 65, 0) 60%);
}
.band-wunsch-inhalt { position: relative; z-index: 2; }
.band-wunsch .eyebrow { color: #9fd6cc; }
.band-wunsch h2 { color: var(--weiss); max-width: 24ch; }
.band-wunsch p { color: #d5e4de; max-width: 52ch; }
.band-wunsch .btn { margin-top: 0.6rem; }

/* ---------- Fuhrpark ---------- */
.fuhrpark-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2.4rem;
}
.fahrzeug {
  background: var(--weiss);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schatten);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fahrzeug:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(14, 46, 41, 0.18); }
.fahrzeug figure { margin: 0; position: relative; }
.fahrzeug img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.fahrzeug-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: rgba(247, 245, 240, 0.92);
  color: var(--tanne);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
}
.fahrzeug-text { padding: 1.3rem 1.5rem 1.5rem; }
.fahrzeug-text h3 { color: var(--tanne); font-size: 1.25rem; margin-bottom: 0.35em; }
.fahrzeug-text p { color: var(--grau); font-size: 0.98rem; margin: 0; }

@media (max-width: 860px) {
  .fuhrpark-grid { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
}

/* ---------- Hof / Über uns ---------- */
.hof-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hof-text .eyebrow { margin-bottom: 1.1rem; }
.hof-text h2 { color: var(--tanne); font-size: var(--fs-h2); margin-bottom: 0.7em; }
.hof-text p { color: var(--tinte); font-size: 1.1rem; }
.hof-fakt {
  border-left: 4px solid var(--gruen);
  padding: 0.35rem 0 0.35rem 1.2rem;
  color: var(--grau);
  font-size: 1rem;
  margin: 1.6rem 0 0;
}
/* Editoriales Portrait mit Erbe-Badge */
.hof-bild {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 26px 55px rgba(14, 46, 41, 0.24);
}
.hof-bild img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 40%;
}
.hof-bild::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 24, 21, 0) 55%, rgba(8, 24, 21, 0.72) 100%);
  pointer-events: none;
}
.hof-badge {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
  background: rgba(14, 46, 41, 0.82);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--weiss);
  font-size: 0.82rem;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.hof-badge strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--heu);
}
.hof-bild figcaption {
  position: absolute;
  left: 1.2rem;
  bottom: 1.1rem;
  z-index: 2;
  color: var(--weiss);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-shadow: 0 2px 12px rgba(8, 24, 21, 0.5);
}

@media (max-width: 860px) {
  .hof-layout { grid-template-columns: 1fr; }
  .hof-bild { max-width: 26rem; }
}

/* ---------- Filmstreifen: fährt scroll-gebunden ---------- */
.strecke {
  position: relative;
  height: 280svh;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}
.strecke-halter {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.strecke-spur {
  display: flex;
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.75rem);
  padding-inline: 6vw;
  width: max-content;
  will-change: transform;
}
.strecke-spur figure {
  margin: 0;
  position: relative;
  height: clamp(20rem, 62svh, 34rem);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(14, 46, 41, 0.22);
  flex: none;
}
.strecke-spur img {
  height: 100%;
  width: auto;
  display: block;
}
.strecke-spur figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(14, 46, 41, 0.8);
  color: var(--weiss);
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  max-width: calc(100% - 2rem);
}

@media (max-width: 860px), (prefers-reduced-motion: reduce) {
  .strecke { height: auto; margin-top: 2.5rem; }
  .strecke-halter {
    position: static;
    height: auto;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--alu) transparent;
  }
  .strecke-spur {
    transform: none;
    padding-block: 0.5rem 1.25rem;
    padding-inline: 1.25rem;
  }
  .strecke-spur figure {
    height: clamp(16rem, 55vw, 24rem);
    scroll-snap-align: center;
  }
}

/* Endlos-Marquee am Handy: Bilder laufen kontinuierlich durch */
@media (max-width: 860px) {
  .strecke.marquee-an .strecke-halter {
    overflow: hidden;
    scroll-snap-type: none;
  }
  .strecke.marquee-an .strecke-spur {
    width: max-content;
    padding-inline: 0;
    padding-block: 0.5rem 1.25rem;
    gap: 0;
    animation: strecke-marquee var(--marquee-dur, 34s) linear infinite;
  }
  .strecke.marquee-an .strecke-spur figure {
    margin-right: clamp(0.75rem, 3.5vw, 1.25rem);
    scroll-snap-align: none;
  }
}
@keyframes strecke-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .strecke.marquee-an .strecke-spur { animation: none; }
}

/* ---------- Bewertungen ---------- */
.bewertungen {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 82% 6%, rgba(1, 138, 121, 0.10) 0%, rgba(1, 138, 121, 0) 60%),
    var(--flaeche);
}
.bewertungen-quote {
  position: absolute;
  top: clamp(-2rem, -1vw, 0rem);
  right: clamp(1rem, 5vw, 5rem);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(12rem, 26vw, 24rem);
  line-height: 1;
  color: var(--gruen);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}
.bewertungen .container { position: relative; z-index: 1; }
.bewertungen-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.google-note {
  display: inline-flex;
  flex-direction: column;
  gap: 0.3rem;
  background: var(--weiss);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  box-shadow: var(--schatten);
}
.google-note .sterne { color: var(--heu); letter-spacing: 0.1em; font-size: 1.1rem; }
.google-note .note-text { font-weight: 700; color: var(--tanne); }
.google-note a { font-size: 0.9rem; }
.bewertungen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-top: 2.2rem;
}
.bewertung {
  background: var(--weiss);
  border-radius: var(--radius);
  padding: 1.8rem 1.8rem 1.5rem;
  box-shadow: var(--schatten);
  margin: 0;
  display: flex;
  flex-direction: column;
}
.bewertung .sterne { color: var(--heu); font-size: 1.05rem; letter-spacing: 0.12em; margin-bottom: 0.8rem; }
.bewertung p {
  font-size: 1.05rem;
  color: var(--tinte);
  margin-bottom: 1.2rem;
}
.bewertung footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.bewertung .avatar {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--gruen);
  color: var(--weiss);
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: none;
}
.bewertung cite { font-style: normal; font-weight: 700; color: var(--tanne); display: block; }
.bewertung .quelle { font-size: 0.85rem; color: var(--grau); }

@media (max-width: 780px) {
  .bewertungen-grid { grid-template-columns: 1fr; }
}

/* ---------- Einzugsgebiet ---------- */
.gebiet { background: var(--flaeche); }
.gebiet-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
}
.gebiet-text h2 { color: var(--tanne); }
.gebiet-hinweis { margin: 1.4rem 0 0; color: var(--grau); }

/* Dunkles "Revier"-Panel mit Straßen-Textur */
.revier {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0e2e29 0%, #081c18 100%);
  color: var(--weiss);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  box-shadow: 0 24px 50px rgba(14, 46, 41, 0.22);
}
.revier::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image: repeating-linear-gradient(118deg, rgba(217, 164, 65, 0.18) 0 11px, transparent 11px 30px);
  -webkit-mask-image: radial-gradient(130% 120% at 8% -10%, #000 0%, transparent 68%);
  mask-image: radial-gradient(130% 120% at 8% -10%, #000 0%, transparent 68%);
}
.revier-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #9fd6cc;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  margin-bottom: 1.2rem;
}
.revier-pin {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgba(1, 138, 121, 0.28);
  color: #8fd8cb;
}
.revier-liste {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.revier-liste li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.72rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.revier-dash {
  flex: none;
  width: 1.7rem;
  height: 3px;
  border-radius: 2px;
  background-image: linear-gradient(90deg, var(--heu) 0 55%, transparent 55% 100%);
  background-size: 8px 3px;
}
.revier-fuss {
  position: relative;
  margin: 1.1rem 0 0;
  color: #a8c6bd;
  font-size: 0.95rem;
}
@media (max-width: 780px) {
  .gebiet-layout { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- FAQ (zweispaltig) ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.faq-intro { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.faq-intro h2 { color: var(--tanne); }
.faq-intro-text { color: var(--grau); font-size: 1.1rem; margin: 0 0 1.7rem; max-width: 26rem; }
.faq-liste {
  display: grid;
  gap: 0.9rem;
}
@media (max-width: 860px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
}
.faq-item {
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  border-left: 4px solid var(--gruen);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--tanne);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  border-right: 3px solid var(--gruen);
  border-bottom: 3px solid var(--gruen);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-1px, -1px); }
.faq-antwort { padding: 0 1.4rem 1.3rem; }
.faq-antwort p { margin: 0; color: var(--tinte); }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-antwort { animation: faq-auf 0.3s ease; }
}
@keyframes faq-auf {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Kontakt (dunkler Abschluss) ---------- */
.kontakt-dunkel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0e2e29 0%, #081c18 100%);
}
.kontakt-dunkel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image: repeating-linear-gradient(118deg, rgba(217, 164, 65, 0.14) 0 11px, transparent 11px 32px);
  -webkit-mask-image: radial-gradient(120% 115% at 96% -5%, #000 0%, transparent 60%);
  mask-image: radial-gradient(120% 115% at 96% -5%, #000 0%, transparent 60%);
}
.kontakt-dunkel .container { position: relative; z-index: 1; }
.kontakt-dunkel .section-head h2 { color: var(--weiss); }
.kontakt-dunkel .eyebrow { color: #9fd6cc; }
.kontakt-buttons { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.5rem 0 0; }
.btn-whatsapp-kontur { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: var(--weiss); }
.btn-whatsapp-kontur:hover { background: var(--weiss); color: var(--tanne); border-color: var(--weiss); transform: translateY(-2px); }

.kontakt-layout {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  margin-top: 2.4rem;
  align-items: start;
}
.kontakt-anruf {
  color: var(--weiss);
  position: relative;
}
.kontakt-anruf .label { color: #9fd6cc; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 0.6rem; }
.tel-gross {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  color: var(--weiss);
  text-decoration: none;
  display: inline-block;
  line-height: 1.1;
}
.tel-gross:hover { color: var(--heu); }
.kontakt-anruf .neben {
  margin: 1.2rem 0 0;
  color: #cfe0da;
  font-size: 0.98rem;
}
.kontakt-anruf .neben a { color: var(--weiss); }
.kontakt-anruf .neben a:hover { color: var(--heu); }
.kontakt-details { display: grid; gap: 1.1rem; }
.kontakt-block {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.kontakt-block:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); }
.kontakt-block h3 { font-size: 1.05rem; color: var(--weiss); margin-bottom: 0.4em; }
.kontakt-block p { margin: 0; color: #cfe0da; }
.kontakt-block a { font-weight: 600; color: #8fd8cb; }
.kontakt-block a:hover { color: var(--heu); }
.kontakt-map {
  display: block;
  margin: -0.2rem 0 1rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  line-height: 0;
}
.kontakt-map img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.kontakt-map:hover img { transform: scale(1.04); }
.map-attr { margin: 0.7rem 0 0; font-size: 0.72rem; color: #7fa39a; }

@media (max-width: 860px) {
  .kontakt-layout { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--tanne);
  color: #cfe0da;
  padding: 3.5rem 0 2rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.footer-logo img { height: 3.4rem; width: auto; }
.footer-grid p { font-size: 0.95rem; }
.site-footer h3 {
  color: var(--weiss);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8em;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: #cfe0da; text-decoration: none; }
.site-footer a:hover { color: var(--weiss); text-decoration: underline; }
.footer-unten {
  border-top: 1px solid rgba(207, 224, 218, 0.2);
  margin-top: 2.5rem;
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}
.credit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.credit img { height: 1.6rem; width: auto; filter: invert(1); }

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-unten { flex-direction: column; text-align: center; }
}

/* ---------- Mobile Anruf-Leiste (Anrufen + WhatsApp) ---------- */
.call-fab {
  position: fixed;
  left: 50%;
  transform: translate(-50%, 0);
  bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: none;
  align-items: stretch;
  gap: 0.6rem;
  width: min(92vw, 30rem);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.call-fab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--weiss);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(14, 46, 41, 0.35);
}
.call-fab-tel { background: var(--gruen); }
.call-fab-wa { background: #1f7a68; }
.call-fab.hidden { transform: translate(-50%, 6rem); opacity: 0; pointer-events: none; }
@media (max-width: 860px) {
  .call-fab { display: flex; }
}

/* ---------- WhatsApp-Button (im CI-Grün, nicht WhatsApp-Grün) ---------- */
.btn-whatsapp {
  margin-top: 1.2rem;
  background: var(--weiss);
  color: var(--tanne);
}
.btn-whatsapp:hover { background: var(--heu); color: var(--tanne); transform: translateY(-2px); }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.unterseite-kopf {
  padding: calc(var(--header-h) + 3rem) 0 2.5rem;
  background: var(--flaeche);
}
.unterseite-kopf h1 { color: var(--tanne); font-size: clamp(2rem, 5vw, 3rem); margin: 0; }
.prose { max-width: 46rem; padding-block: 3rem 4.5rem; }
.prose h2 { font-size: 1.5rem; color: var(--tanne); margin-top: 2em; }
.prose h3 { font-size: 1.15rem; color: var(--tanne); margin-top: 1.6em; }
.prose p, .prose li { color: var(--tinte); }
.prose strong { color: var(--tanne); }

/* ---------- Service-Unterseiten (Tiertransport, Tiervermarktung) ---------- */
.subhero {
  position: relative;
  min-height: 56svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--tanne);
}
.subhero-medien { position: absolute; inset: 0; }
.subhero-medien img { width: 100%; height: 100%; object-fit: cover; }
.subhero-medien::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 24, 21, 0.5) 0%, rgba(8, 24, 21, 0) 22%),
    linear-gradient(180deg, rgba(8, 24, 21, 0) 8%, rgba(8, 24, 21, 0.55) 46%, rgba(8, 24, 21, 0.92) 100%),
    linear-gradient(90deg, rgba(8, 24, 21, 0.8) 0%, rgba(8, 24, 21, 0.4) 45%, rgba(8, 24, 21, 0) 78%);
}
.subhero-inner {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}
.subhero h1 {
  color: var(--weiss);
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  font-weight: 800;
  max-width: 20ch;
  margin: 0.5rem 0 0.5em;
  text-wrap: balance;
  text-shadow: 0 2px 20px rgba(8, 24, 21, 0.6), 0 1px 3px rgba(8, 24, 21, 0.5);
}
.subhero-lead { color: #e4eeea; font-size: 1.15rem; max-width: 46ch; margin: 0 0 1.6rem; text-shadow: 0 1px 10px rgba(8, 24, 21, 0.55); }
.subhero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.krumen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: #a8c6bd;
}
.krumen a { color: #cfe0da; text-decoration: none; }
.krumen a:hover { color: var(--weiss); }
.krumen li::after { content: '›'; margin-left: 0.4rem; color: #7fa39a; }
.krumen li:last-child::after { content: ''; }
.krumen li[aria-current] { color: var(--weiss); font-weight: 600; }

.service-intro { max-width: 52rem; }
.service-intro .lead { font-size: 1.2rem; color: var(--grau); }
.tv-cta-band {
  background: var(--flaeche);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  margin-top: 2.6rem;
}
.tv-cta-band h2 { color: var(--tanne); margin: 0; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.tv-cta-band p { margin: 0.3rem 0 0; color: var(--grau); }
.tv-cta-band .tv-cta-aktion { display: flex; gap: 0.7rem; flex-wrap: wrap; }

/* Verweis auf die jeweils andere Leistung */
.mehr-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
  font-weight: 700;
  color: var(--gruen-dunkel);
  text-decoration: none;
}
.mehr-link:hover { color: var(--tanne); }
.mehr-link::after { content: '→'; transition: transform 0.2s ease; }
.mehr-link:hover::after { transform: translateX(3px); }

@media (max-width: 640px) {
  .subhero-ctas .btn { width: 100%; }
}

/* ---------- Reveal-Animationen ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.sichtbar { opacity: 1; transform: none; }
.reveal-verz-1 { transition-delay: 0.08s; }
.reveal-verz-2 { transition-delay: 0.16s; }
.reveal-verz-3 { transition-delay: 0.24s; }

/* ---------- So läuft's ab ---------- */
.ablauf { background: var(--flaeche); }
.ablauf .section-head { margin-inline: auto; text-align: center; }
.ablauf .section-head .lead { margin-inline: auto; }
.ablauf-schritte {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
}
.ablauf-schritt {
  position: relative;
  text-align: center;
  padding-inline: 0.5rem;
}
.ablauf-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--gruen);
  color: var(--weiss);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(1, 138, 121, 0.28);
}
.ablauf-schritt h3 { color: var(--tanne); margin-bottom: 0.5rem; }
.ablauf-schritt p { color: var(--grau); max-width: 22rem; margin-inline: auto; }
.ablauf-schritt .und { font-weight: 400; color: var(--grau); }
/* Verbindungslinie zwischen den Schritten (Desktop) */
@media (min-width: 781px) {
  .ablauf-schritt:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 1.8rem;
    right: 50%;
    left: -50%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--alu) 0 7px, transparent 7px 14px);
    z-index: 0;
  }
}
.ablauf-cta {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 1.25rem;
  text-align: center;
}
.ablauf-hinweis { color: var(--grau); font-size: 0.95rem; }
@media (max-width: 780px) {
  .ablauf-schritte { grid-template-columns: 1fr; gap: 2.25rem; }
  .ablauf-schritt:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 3.9rem;
    bottom: -2.25rem;
    width: 2px;
    background: repeating-linear-gradient(180deg, var(--alu) 0 7px, transparent 7px 14px);
    z-index: 0;
  }
  /* Inhalt liegt über der Verbindungslinie */
  .ablauf-schritt > * { position: relative; z-index: 1; }
}

/* ---------- Reduced Motion ---------- */
@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;
  }
  .reveal { opacity: 1; transform: none; }
  .band-truck { transform: none !important; }
}
