/* Selbst gehostete Schriften (variable WOFF2, Latin-Subset) —
   keine Verbindung zu Google-Servern noetig */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/montserrat-var.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/montserrat-italic-var.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/figtree-var.woff2") format("woff2");
}

/* ============================================================
   Gartengestaltung Werner Biedermann — Stylesheet
   ============================================================ */

:root {
  --green-deep: #14301f;
  --green-dark: #1c4029;
  --green-mid: #2e6b41;
  --green-fresh: #4c9a63;
  --green-light: #8fc9a1;
  --lime: #b8d977;
  --cream: #f7f5ee;
  --cream-dark: #eeeadf;
  --ink: #1d2620;
  --ink-soft: #4a564e;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(20, 48, 31, 0.16);
  --font-display: "Montserrat", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a { color: inherit; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ---------------- Navigation ---------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Über dem dunklen Hero weiß eingefärbt, auf heller Leiste in Originalfarben */
.nav-logo img {
  height: 74px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.4s ease;
}

.nav.scrolled .nav-logo img { filter: none; }

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

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-links a:hover { background: rgba(255, 255, 255, 0.14); }

.nav-links a.nav-cta {
  background: var(--lime);
  color: var(--green-deep);
  font-weight: 700;
  margin-left: 8px;
}

.nav-links a.nav-cta:hover { background: #cbe88f; }

/* Hintergrund/Blur liegt auf einem Pseudo-Element: backdrop-filter direkt auf
   .nav würde die Leiste zum Containing Block für das fixierte Mobilmenü machen */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(247, 245, 238, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(20, 48, 31, 0.1);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -2;
  pointer-events: none;
}

.nav.scrolled { padding: 12px 0; }

.nav.scrolled::before { opacity: 1; }

.nav.scrolled .nav-logo,
.nav.scrolled .nav-links a { color: var(--green-deep); }

.nav.scrolled .nav-links a:hover { background: rgba(28, 64, 41, 0.08); }

.nav.scrolled .nav-links a.nav-cta {
  background: var(--green-dark);
  color: var(--white);
}

.nav-burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  place-items: center;
}

.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  display: block;
  content: "";
  width: 24px;
  height: 2px;
  background: var(--white);
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
}

.nav-burger span::before { position: absolute; top: -7px; }
.nav-burger span::after { position: absolute; top: 7px; }

.nav.scrolled .nav-burger span,
.nav.scrolled .nav-burger span::before,
.nav.scrolled .nav-burger span::after { background: var(--green-deep); }

body.menu-open .nav-burger span { background: transparent !important; }
body.menu-open .nav-burger span::before { transform: translateY(7px) rotate(45deg); background: var(--green-deep); }
body.menu-open .nav-burger span::after { transform: translateY(-7px) rotate(-45deg); background: var(--green-deep); }

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  height: 350vh;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--green-deep);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 34, 23, 0.55) 0%, rgba(16, 34, 23, 0.22) 40%, rgba(16, 34, 23, 0.62) 100%);
  will-change: opacity;
}

.hero-loader {
  position: absolute;
  left: 50%;
  bottom: 90px;
  transform: translateX(-50%);
  width: 180px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
  transition: opacity 0.5s ease;
}

.hero-loader span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 3px;
  background: var(--lime);
  transition: width 0.2s ease;
}

.hero-loader.done { opacity: 0; }

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding: 0 6vw;
  will-change: transform, opacity;
}

.hero-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6.4vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 18ch;
  text-wrap: balance;
}

.hero h1 em {
  font-style: italic;
  color: var(--lime);
}

.hero-sub {
  margin-top: 26px;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* staged entrance */
.hero-kicker, .hero h1, .hero-sub, .hero-actions {
  opacity: 0;
  transform: translateY(34px);
  animation: heroRise 0.6s cubic-bezier(0.22, 0.7, 0.25, 1) forwards;
}
.hero h1 { animation-delay: 0.1s; }
.hero-sub { animation-delay: 0.2s; }
.hero-actions { animation-delay: 0.3s; }

@keyframes heroRise {
  to { opacity: 1; transform: translateY(0); }
}

.hero-scrollhint {
  position: absolute;
  bottom: 64px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: max-content;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: hintFade 0.9s ease 1s forwards;
  transition: opacity 0.4s ease;
}

/* Beim Scrollen ausblenden — animation:none hebt auch den fill-Zustand auf */
.hero-scrollhint.hidden {
  animation: none;
  opacity: 0;
}

@keyframes hintFade {
  to { opacity: 0.7; }
}

.hero-scrollhint .mouse {
  width: 20px;
  height: 33px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 11px;
  position: relative;
}

.hero-scrollhint .mouse::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 6px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.7);
  animation: wheel 1.8s ease-in-out infinite;
}

@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--lime);
  color: var(--green-deep);
  box-shadow: 0 10px 30px rgba(184, 217, 119, 0.35);
}

.btn-primary:hover { background: #cbe88f; }

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn-dark {
  background: var(--green-dark);
  color: var(--white);
}

.btn-dark:hover { background: var(--green-mid); }

/* ---------------- Sections base ---------------- */

section { position: relative; }

.section-pad { padding: 110px 0; }

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 16px;
}

h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.015em;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1.12;
  color: var(--green-deep);
  text-wrap: balance;
}

.lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.9s cubic-bezier(0.22, 0.7, 0.25, 1), transform 0.9s cubic-bezier(0.22, 0.7, 0.25, 1);
}

.reveal.visible { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ---------------- Intro ---------------- */

.intro { background: var(--cream); }

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.intro-badges {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--green-dark);
  box-shadow: 0 4px 16px rgba(20, 48, 31, 0.06);
}

.badge svg { width: 18px; height: 18px; color: var(--green-fresh); }

.intro-figure {
  position: relative;
}

.intro-figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}

.intro-figure .stat-card {
  position: absolute;
  left: -28px;
  bottom: -28px;
  background: var(--green-dark);
  color: var(--white);
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: var(--shadow);
}

.stat-card .stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 6px;
}

/* ---------------- Leistungen ---------------- */

.services { background: var(--white); border-radius: 60px 60px 0 0; }

.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.service-card .card-img {
  aspect-ratio: 4 / 2.7;
  overflow: hidden;
}

.service-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .card-img img { transform: scale(1.06); }

.service-card .card-body { padding: 26px 26px 30px; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 10px;
}

.service-card p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------------- Über mich ---------------- */

.about {
  background: var(--green-deep);
  color: var(--white);
  border-radius: 60px 60px 0 0;
  margin-top: -60px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.about-figure img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.about h2 { color: var(--white); }

.about .kicker { color: var(--lime); }

.about p { color: rgba(255, 255, 255, 0.82); }

.about-facts {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.fact {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px 22px;
}

.fact .fact-title {
  font-weight: 700;
  color: var(--lime);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.fact p { font-size: 0.95rem; }

/* ---------------- Referenzen ---------------- */

.gallery { background: var(--cream); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-item .gallery-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(247, 245, 238, 0.92);
  color: var(--green-deep);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
}

/* ---------------- Partner ---------------- */

.partner-band {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: 0 10px 40px rgba(20, 48, 31, 0.08);
}

.partner-band h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--green-deep);
  margin-bottom: 6px;
}

.partner-band p { color: var(--ink-soft); }

/* ---------------- Kontakt ---------------- */

.contact {
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green-deep) 100%);
  color: var(--white);
  border-radius: 60px 60px 0 0;
}

.contact h2 { color: var(--white); }
.contact .kicker { color: var(--lime); }
.contact .lead { color: rgba(255, 255, 255, 0.82); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 34px 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-row .icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(184, 217, 119, 0.16);
  display: grid;
  place-items: center;
  color: var(--lime);
}

.contact-row .icon svg { width: 22px; height: 22px; }

.contact-row .label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.contact-row .value {
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-row .value a { text-decoration: none; }
.contact-row .value a:hover { color: var(--lime); }

.contact-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------------- Footer ---------------- */

footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  margin-left: 22px;
}

.footer-inner a:hover { color: var(--lime); }

/* ---------------- Subpages (Impressum / Datenschutz) ---------------- */

.subpage-hero {
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green-deep) 100%);
  color: var(--white);
  padding: 170px 0 90px;
}

.subpage-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.subpage-body { padding: 80px 0 110px; }

.subpage-body h2 {
  font-size: 1.5rem;
  margin: 42px 0 14px;
}

.subpage-body p, .subpage-body li { color: var(--ink-soft); }

.subpage-body ul { padding-left: 22px; margin-top: 10px; }

.legal-table {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px 30px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: 0 10px 40px rgba(20, 48, 31, 0.07);
  margin-top: 30px;
}

.legal-table dt { font-weight: 700; color: var(--green-deep); }
.legal-table dd { margin: 0; color: var(--ink-soft); }

/* ---------------- Responsive ---------------- */

@media (max-width: 980px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .intro-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .intro-figure .stat-card { left: 16px; bottom: -24px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section-pad { padding: 80px 0; }

  .nav-burger { display: grid; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    transform: translateY(-100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.22, 0.7, 0.25, 1), visibility 0s 0.4s;
    z-index: -1;
  }

  body.menu-open .nav-links {
    transform: none;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.4s cubic-bezier(0.22, 0.7, 0.25, 1), visibility 0s 0s;
  }

  /* Logo im geöffneten Menü in Originalfarben wie die Menüpunkte */
  body.menu-open .nav-logo img { filter: none; }

  .nav-logo img { height: 50px; }

  .nav-links a { color: var(--green-deep) !important; font-size: 1.3rem; }

  .services-grid, .gallery-grid { grid-template-columns: 1fr; }

  .about-facts { grid-template-columns: 1fr; }

  .legal-table { grid-template-columns: 1fr; padding: 28px; }
  .legal-table dt { margin-top: 10px; }

  .hero { height: 250vh; }

  .hero-scrollhint { display: none; }

  /* Lange Einzelwörter wie "Datenschutzerklärung" dürfen nicht überlaufen */
  .subpage-hero h1 {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-kicker, .hero h1, .hero-sub, .hero-actions, .hero-scrollhint,
  .subpage-hero .kicker, .subpage-hero h1, .subpage-hero .lead {
    animation: none; opacity: 1; transform: none;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Erweiterungen: Formulare, News, Partner, Team, Leistungsseiten
   ============================================================ */

/* ---------------- Kontaktformular (dunkle Sektionen) ---------------- */

.contact-form {
  display: grid;
  gap: 16px;
  min-width: 0;
}

/* Grid-Items dürfen unter ihre Inhaltsbreite schrumpfen — sonst sprengt
   das select mit langen Optionen auf schmalen Displays das Layout */
.contact-grid > *,
.contact-form > div,
.contact-form .form-row > div { min-width: 0; }

.contact-form select { max-width: 100%; }

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.35); }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--lime);
  background: rgba(255, 255, 255, 0.1);
}

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

.contact-form button { border: 0; cursor: pointer; font-family: var(--font-body); justify-self: start; }

.form-note { font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }

.form-note a { color: var(--green-light); }

/* ---------------- Neuigkeiten ---------------- */

.news { background: var(--white); }

.news-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(20, 48, 31, 0.08);
  margin-top: 50px;
}

.news-card .news-img { min-height: 320px; }

.news-card .news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.news-card .news-body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }

.news-date {
  display: inline-block;
  align-self: flex-start;
  background: var(--lime);
  color: var(--green-deep);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.news-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--green-deep);
  margin-bottom: 12px;
}

.news-body p { color: var(--ink-soft); }

/* ---------------- Partnerbetriebe ---------------- */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 50px;
}

.partner-chip {
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 16px;
  padding: 26px 18px;
  text-align: center;
  font-weight: 700;
  color: var(--green-dark);
  box-shadow: 0 4px 16px rgba(20, 48, 31, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.partner-chip:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(20, 48, 31, 0.12); }

/* ---------------- Team (Über uns) ---------------- */

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 50px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(20, 48, 31, 0.07);
}

.team-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(150deg, var(--green-mid), var(--green-deep));
  color: var(--lime);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
}

.team-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green-deep);
}

.team-card .team-role { color: var(--green-mid); font-weight: 600; margin: 4px 0 10px; }

.team-card p { color: var(--ink-soft); font-size: 0.95rem; }

.team-card .team-photo-note {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  background: var(--cream);
  padding: 5px 14px;
  border-radius: 999px;
}

/* ---------------- Leistungs-Unterseiten ---------------- */

.service-card { text-decoration: none; }

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-weight: 700;
  color: var(--green-mid);
  font-size: 0.95rem;
}

.service-card:hover .card-link { color: var(--green-mid); }

.leistung-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.leistung-intro img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.check-list {
  list-style: none;
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314301f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.other-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.other-services a {
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  color: var(--green-dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}

.other-services a:hover { background: var(--green-dark); color: var(--white); }

.other-services a.active { background: var(--green-dark); color: var(--white); cursor: default; }

/* ---------------- Social / Instagram ---------------- */

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}

.social-link svg { width: 22px; height: 22px; }

.social-link:hover { color: var(--lime); }

/* ---------------- Responsive für neue Blöcke ---------------- */

@media (max-width: 980px) {
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card, .leistung-intro { grid-template-columns: 1fr; }
  .news-card .news-img { min-height: 220px; }
}

@media (max-width: 720px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .news-card .news-body { padding: 28px 24px; }
}

/* ---------------- Unterseiten-Hero mit Bild (Look wie Startseite) ---------------- */

.subpage-hero.with-image {
  position: relative;
  padding: 210px 0 120px;
  background-size: cover;
  background-position: center;
}

.subpage-hero.with-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 34, 23, 0.78) 0%, rgba(16, 34, 23, 0.55) 55%, rgba(16, 34, 23, 0.72) 100%);
}

.subpage-hero.with-image .container { position: relative; z-index: 1; }

.subpage-hero .kicker { color: var(--lime); }

/* Einblende-Animation wie am Hero der Startseite */
.subpage-hero .kicker,
.subpage-hero h1,
.subpage-hero .lead {
  opacity: 0;
  transform: translateY(30px);
  animation: heroRise 0.6s cubic-bezier(0.22, 0.7, 0.25, 1) forwards;
}

.subpage-hero h1 { animation-delay: 0.1s; }
.subpage-hero .lead { animation-delay: 0.2s; }

@media (max-width: 720px) {
  .subpage-hero.with-image { padding: 150px 0 80px; }
}

/* ---------------- Select im Kontaktformular ---------------- */

.contact-form select {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 13px 44px 13px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8d977' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.contact-form select:focus { outline: none; border-color: var(--lime); }

.contact-form select option { color: var(--ink); background: var(--white); }

/* ---------------- "Weitere Leistungen" als kleine Bildkarten ---------------- */

.mini-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.mini-service {
  display: block;
  text-decoration: none;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(20, 48, 31, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mini-service:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(20, 48, 31, 0.14);
}

.mini-service .mini-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.mini-service .mini-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mini-service:hover .mini-img img { transform: scale(1.06); }

.mini-service .mini-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 16px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--green-deep);
}

.mini-service .mini-title::after {
  content: "→";
  color: var(--green-fresh);
  transition: transform 0.3s ease;
}

.mini-service:hover .mini-title::after { transform: translateX(4px); }

@media (max-width: 980px) {
  .mini-services { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .mini-services { grid-template-columns: 1fr; }
}

/* ---------------- Teamfoto (Über uns) ---------------- */

.team-photo {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.team-photo img { width: 100%; display: block; }

/* Platzhalter, bis das echte Teamfoto da ist */
.team-photo-placeholder {
  margin-top: 28px;
  border: 2px dashed var(--green-light);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(143, 201, 161, 0.12), rgba(184, 217, 119, 0.12));
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 40px 24px;
  color: var(--green-dark);
}

.team-photo-placeholder svg {
  width: 52px;
  height: 52px;
  color: var(--green-fresh);
}

.team-photo-placeholder strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.team-photo-placeholder span { color: var(--ink-soft); font-size: 0.95rem; }

@media (max-width: 720px) {
  .team-photo-placeholder { min-height: 220px; }
}

/* ---------------- FAQ (Leistungsseiten) ---------------- */

.faq-list { margin-top: 26px; display: grid; gap: 14px; max-width: 860px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(20, 48, 31, 0.05);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 22px;
  font-weight: 700;
  color: var(--green-deep);
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e6b41' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after { transform: translateY(-50%) rotate(180deg); }

.faq-item p { padding: 0 22px 20px; color: var(--ink-soft); }

/* Safari: border-radius + overflow:hidden clippt transformierte Kinder
   nur zuverlaessig, wenn das Element einen eigenen Stacking-Context hat */
.news-card,
.service-card,
.mini-service,
.gallery-item,
.team-photo,
.service-card .card-img,
.mini-service .mini-img,
.news-card .news-img { isolation: isolate; }
