/* =========================================================
   WSP Grüneffekt – Haupt-Stylesheet v2
   Handgemachter CI-Look: Pinselstrich-Kanten, Splash-Flächen,
   Glass-Navigation, Blatt-Details, dezente Effekte.
   ========================================================= */

:root {
  --green-800: #1d4a2a;
  --green-700: #245f35;
  --green-600: #2f7a43;
  --green-500: #3d9154;
  --green-100: #e4f0e6;
  --green-050: #f2f7f2;
  --ink: #1e2a21;
  --ink-soft: #46564a;
  --muted: #6f7f72;
  --line: #dce4db;
  --paper: #ffffff;
  --amber: #e8a723;
  --lime: #aecb2e;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(30, 42, 33, .07);
  --shadow-md: 0 10px 30px rgba(30, 42, 33, .14);
  --font-head: 'Bricolage Grotesque', 'Source Sans 3', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  --edge-top: url('../img/edge-ragged-top.png');
  --edge-bottom: url('../img/edge-ragged-bottom.png');
}

/* ---------- Basis ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); }
a:hover { color: var(--green-800); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  color: var(--ink);
  text-wrap: balance;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.15rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--green-700); color: #fff; padding: 10px 16px; z-index: 10000; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 2px; }

/* ---------- Pinselstrich-Kanten (CI) ----------
   Die PNG-Kanten der alten Website als CSS-Masken:
   funktionieren dadurch in jeder Farbe. */
.torn { position: relative; }
.torn::before, .torn::after {
  content: ""; position: absolute; left: 0; right: 0; height: 52px;
  background: var(--torn-color, var(--paper));
  pointer-events: none; z-index: 2;
}
/* Zwei Maskenebenen: Pinselkante oben + durchgehende Füllung darunter,
   damit die Linie nie „ausfranst" oder Löcher am Rand bekommt. */
.torn::before {
  top: -50px;
  -webkit-mask: var(--edge-top) top center / 130% 86% no-repeat, linear-gradient(#000, #000) bottom center / 100% 26% no-repeat;
          mask: var(--edge-top) top center / 130% 86% no-repeat, linear-gradient(#000, #000) bottom center / 100% 26% no-repeat;
}
.torn::after {
  bottom: -50px;
  -webkit-mask: var(--edge-bottom) bottom center / 130% 86% no-repeat, linear-gradient(#000, #000) top center / 100% 26% no-repeat;
          mask: var(--edge-bottom) bottom center / 130% 86% no-repeat, linear-gradient(#000, #000) top center / 100% 26% no-repeat;
}
.torn--top-only::after { display: none; }
.torn--bottom-only::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 12px 16px 12px 16px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn--primary { background: linear-gradient(135deg, var(--green-600), var(--green-700)); color: #fff; }
.btn--primary:hover { color: #fff; transform: translateY(-2px) rotate(-.4deg); box-shadow: var(--shadow-md); }
.btn--outline { border-color: var(--green-600); color: var(--green-700); background: transparent; }
.btn--outline:hover { background: var(--green-600); color: #fff; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--green-800); }
.btn--light:hover { background: var(--green-100); transform: translateY(-2px) rotate(-.4deg); box-shadow: var(--shadow-md); }

.wsp-button { display: inline-block; padding: 12px 24px; border-radius: 12px 16px 12px 16px; font-weight: 700; text-decoration: none; }
.wsp-button--outline { border: 2px solid var(--green-600); color: var(--green-700); }
.wsp-button--outline:hover { background: var(--green-600); color: #fff; }

/* ---------- Topbar ---------- */
.topbar { background: var(--green-800); color: #fff; font-size: .88rem; position: relative; z-index: 9992; border-bottom: 3px solid var(--lime); }
.topbar__inner { display: flex; gap: 20px; align-items: center; justify-content: flex-end; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; text-decoration: none; opacity: .92; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { opacity: 1; text-decoration: underline; }
.topbar__social { display: inline-flex; gap: 10px; }
.topbar__social a { opacity: .85; }
.topbar__social svg { width: 17px; height: 17px; transition: transform .2s ease; }
.topbar__social a:hover svg { transform: scale(1.2); }

/* ---------- Header: durchgehende Leiste mit Glas-Effekt ---------- */
.site-header {
  position: sticky; top: 0; z-index: 9990;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
          backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid rgba(220, 228, 219, .7);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 28px rgba(30, 42, 33, .12);
}
.site-header__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 10px; padding-bottom: 10px;
}
.site-header__brand img { max-height: 82px; width: auto; transition: transform .25s ease, max-height .3s ease; }
.site-header.is-scrolled .site-header__brand img { max-height: 54px; }
.site-header__brand a:hover img { transform: scale(1.04) rotate(-1deg); }
.site-header__title { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--green-700); text-decoration: none; }

.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav__list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav__list a {
  display: block; padding: 12px 14px 14px; text-decoration: none;
  color: var(--ink); font-weight: 600; position: relative;
  transition: color .18s ease;
}
/* Aktiver Menüpunkt: klarer Lindgrün-Balken + kräftige Schrift */
.site-nav__list > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px;
  border-radius: 2px; background: var(--lime);
  transform: scaleX(0); transform-origin: center;
  transition: transform .22s cubic-bezier(.22, 1, .36, 1);
}
.site-nav__list > li > a:hover { color: var(--green-700); }
.site-nav__list > li > a:hover::after { transform: scaleX(.6); }
.site-nav__list > li.current-menu-item > a,
.site-nav__list > li.current-menu-ancestor > a { color: var(--green-800); font-weight: 700; }
.site-nav__list > li.current-menu-item > a::after,
.site-nav__list > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.site-nav__cta { box-shadow: 0 4px 16px rgba(47, 122, 67, .35); }

/* Dropdown: kompakt, deckend, mit Blatt-Icons */
.site-nav__list li { position: relative; }
.site-nav__list .sub-menu {
  list-style: none; margin: 0;
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(30, 42, 33, .2);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s cubic-bezier(.22, 1, .36, 1), visibility .2s;
  z-index: 20;
}
.site-nav__list li:hover > .sub-menu,
.site-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav__list li:hover > .sub-menu > li,
.site-nav__list li:focus-within > .sub-menu > li { animation: drop-in .3s cubic-bezier(.22, 1, .36, 1) backwards; }
.site-nav__list .sub-menu > li:nth-child(1) { animation-delay: .02s; }
.site-nav__list .sub-menu > li:nth-child(2) { animation-delay: .05s; }
.site-nav__list .sub-menu > li:nth-child(3) { animation-delay: .08s; }
.site-nav__list .sub-menu > li:nth-child(4) { animation-delay: .11s; }
.site-nav__list .sub-menu > li:nth-child(5) { animation-delay: .14s; }
.site-nav__list .sub-menu > li:nth-child(6) { animation-delay: .17s; }
.site-nav__list .sub-menu > li:nth-child(7) { animation-delay: .2s; }
@keyframes drop-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.site-nav__list .sub-menu a {
  padding: 11px 14px 11px 40px; font-weight: 600; border-radius: 10px;
  transition: background .15s ease, color .15s ease;
}
.site-nav__list .sub-menu a::after { display: none; }
.site-nav__list .sub-menu a::before {
  content: ""; position: absolute; left: 13px; top: 50%; margin-top: -8px;
  width: 16px; height: 16px; background: var(--green-600);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c.48.17.98.3 1.34.3C19 20 22 3 22 3c-1 2-8 2.25-13 3.25S2 11.5 2 13.5s1.75 3.75 1.75 3.75C7 8 17 8 17 8z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c.48.17.98.3 1.34.3C19 20 22 3 22 3c-1 2-8 2.25-13 3.25S2 11.5 2 13.5s1.75 3.75 1.75 3.75C7 8 17 8 17 8z'/></svg>") center / contain no-repeat;
  transition: transform .2s ease;
}
.site-nav__list .sub-menu a:hover { background: var(--green-050); color: var(--green-800); }
.site-nav__list .sub-menu a:hover::before { transform: rotate(-15deg) translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .site-nav__list li:hover > .sub-menu > li { animation: none; }
}

.nav-toggle { display: none; }

/* Mobile Navigation: Panel mit gestaffeltem Einblenden */
@media (max-width: 940px) {
  /* Kein Blur auf dem Header: backdrop-filter würde das Fixed-Overlay
     der mobilen Navigation an den Header binden und abschneiden. */
  .site-header {
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
  }
  .site-nav {
    display: flex;
    position: fixed; inset: 0; z-index: 9991;
    background: rgba(29, 74, 42, .97);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    padding: 90px 28px 40px;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    overflow-y: auto;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav__list { flex-direction: column; gap: 2px; }
  .site-nav__list a { color: #fff; font-size: 1.25rem; padding: 13px 10px; border-radius: 10px; }
  .site-nav__list > li > a:hover { color: #fff; }
  .site-nav__list > li.current-menu-item > a,
  .site-nav__list > li.current-menu-ancestor > a { color: #cfe89f; }
  .site-nav__list .sub-menu .current-menu-item > a { color: #cfe89f; }

  /* Untermenü klassisch: zugeklappt, per Pfeil aufklappbar */
  .site-nav__list li.menu-item-has-children > a { padding-right: 48px; }
  .submenu-chevron {
    position: absolute; right: 6px; top: 50%; margin-top: -21px;
    width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
    cursor: pointer;
  }
  .submenu-chevron::before {
    content: ""; width: 10px; height: 10px;
    border-right: 2.5px solid #cfe6d3; border-bottom: 2.5px solid #cfe6d3;
    transform: rotate(45deg); transition: transform .25s ease;
  }
  li.is-open > a .submenu-chevron::before { transform: rotate(225deg); }
  .site-nav__list .sub-menu {
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .site-nav__list li.is-open > .sub-menu { max-height: 620px; }
  .site-nav__list .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: none; padding: 0 0 0 18px;
    display: block;
  }
  .mega-head { display: none; }
  .site-nav__list .sub-menu a { padding: 10px 10px; }
  .site-nav__list .sub-menu a::before, .site-nav__list .sub-menu a::after { display: none; }
  .site-nav__list .sub-menu a { color: #cfe6d3; font-size: 1.02rem; }
  .site-nav__list .sub-menu a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
  .site-nav.is-open .site-nav__list > li {
    animation: nav-item-in .4s cubic-bezier(.22, 1, .36, 1) backwards;
  }
  .site-nav.is-open .site-nav__list > li:nth-child(1) { animation-delay: .05s; }
  .site-nav.is-open .site-nav__list > li:nth-child(2) { animation-delay: .1s; }
  .site-nav.is-open .site-nav__list > li:nth-child(3) { animation-delay: .15s; }
  .site-nav.is-open .site-nav__list > li:nth-child(4) { animation-delay: .2s; }
  .site-nav.is-open .site-nav__list > li:nth-child(5) { animation-delay: .25s; }
  .site-nav.is-open .site-nav__list > li:nth-child(6) { animation-delay: .3s; }
  .site-nav.is-open .site-nav__list > li:nth-child(7) { animation-delay: .35s; }
  @keyframes nav-item-in { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
  .site-nav__cta { margin-top: 18px; text-align: center; animation: nav-item-in .4s .4s cubic-bezier(.22, 1, .36, 1) backwards; }
  .site-nav.is-open ~ * .nav-toggle__bar { background: #fff; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: none; border: 0; padding: 10px; cursor: pointer; z-index: 9995; position: relative;
  }
  .nav-toggle__bar { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .25s ease, background .25s ease; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: #fff; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }
  @media (prefers-reduced-motion: reduce) {
    .site-nav.is-open .site-nav__list > li, .site-nav__cta { animation: none !important; }
  }
}

/* ---------- Hero (Startseite & Landingpages) ---------- */
.ge-hero { position: relative; color: #fff; overflow: visible; background: var(--green-800); z-index: 1; }
.ge-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 58px;
  background: var(--paper); z-index: 3; pointer-events: none;
  -webkit-mask: var(--edge-top) top center / 130% 86% no-repeat, linear-gradient(#000, #000) bottom center / 100% 26% no-repeat;
          mask: var(--edge-top) top center / 130% 86% no-repeat, linear-gradient(#000, #000) bottom center / 100% 26% no-repeat;
}
.ge-hero__media { position: absolute; inset: 0; overflow: hidden; }
.ge-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.15) brightness(1.04); animation: hero-zoom 14s ease-out forwards; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .ge-hero__media img { animation: none; } }
.ge-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20, 46, 28, .84) 0%, rgba(26, 66, 38, .55) 48%, rgba(26, 66, 38, .12) 100%);
}
.ge-hero__badge {
  position: absolute; right: 4vw; bottom: 12%; z-index: 2;
  width: clamp(180px, 22vw, 300px); height: auto;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .3));
  animation: badge-float 5.5s ease-in-out infinite;
}
@keyframes badge-float {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}
@media (max-width: 900px) { .ge-hero__badge { display: none; } }
@media (prefers-reduced-motion: reduce) { .ge-hero__badge { animation: none; } }
.ge-hero__inner { position: relative; z-index: 2; max-width: 1160px; margin: 0 auto; padding: clamp(74px, 12vw, 136px) 20px clamp(90px, 13vw, 150px); }
.ge-hero__eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #bfe3c6; margin: 0 0 12px; }
.ge-hero h1 { color: #fff; max-width: 17ch; }
.ge-hero__text { font-size: 1.15rem; max-width: 52ch; color: #e7f2e8; }
.ge-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.ge-hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding: 0; list-style: none; color: #cfe6d3; font-size: .92rem; }
.ge-hero__trust li::before { content: "✓ "; color: var(--lime); font-weight: 700; }

/* ---------- Sektionen ---------- */
.ge-section { padding: clamp(56px, 8vw, 92px) 0; position: relative; }
.ge-section--alt {
  background: var(--green-050) url('../img/splash-green.png') no-repeat right 3% bottom 36px / clamp(260px, 30vw, 420px) auto;
  --torn-color: var(--green-050);
}
.ge-section--dark {
  background: var(--green-800) url('../img/baum.svg') no-repeat right 4% bottom 30px / clamp(240px, 26vw, 380px) auto;
  color: #e7f2e8; --torn-color: var(--green-800);
}
.ge-section--dark h2 { color: #fff; }
.ge-section--center { text-align: center; }
.ge-section--center .ge-section__intro { margin-left: auto; margin-right: auto; }
.ge-section__inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.ge-eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600); margin: 0 0 8px; }
.ge-section--dark .ge-eyebrow { color: #9fd3a9; }
.ge-section__intro { max-width: 62ch; color: var(--ink-soft); }
.ge-section--dark .ge-section__intro { color: #cfe6d3; }
.ge-section__more { margin-top: 28px; }

/* Geschwungener Pinselstrich unter Überschriften */
:root {
  --brush-stroke: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 12'><path d='M3 8 C 30 3, 58 10, 86 6 S 126 3, 137 6' fill='none' stroke='black' stroke-width='4.6' stroke-linecap='round'/><path d='M6 9.5 C 36 6, 70 11, 108 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' opacity='.65'/></svg>");
}
/* Nur auf der Startseite/Sektionen – Inhalts-Überschriften bleiben ruhig. */
.ge-section h2::after {
  content: ""; display: block; width: 132px; height: 12px; margin-top: 10px;
  background: var(--lime);
  -webkit-mask: var(--brush-stroke) left center / contain no-repeat;
          mask: var(--brush-stroke) left center / contain no-repeat;
}
.ge-section--center h2::after { margin-left: auto; margin-right: auto; }
.ge-section--dark h2::after { background: #9fd3a9; }
.cta-box h2::after { display: none; }

/* Zentrierter, schmaler Block (FAQ etc.) */
.ge-narrow { max-width: 860px; margin-left: auto; margin-right: auto; }

/* Leistungs-Kacheln */
.ge-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; margin-top: 36px; }
.ge-tile {
  position: relative; display: block; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ge-tile:hover { transform: translateY(-6px) rotate(-.3deg); box-shadow: var(--shadow-md); }
.ge-tile__media { aspect-ratio: 3 / 2; overflow: hidden; display: block; }
.ge-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ge-tile:hover .ge-tile__media img { transform: scale(1.06); }
.ge-tile__body { padding: 18px 20px 22px; display: block; }
.ge-tile__title { display: block; margin: 0 0 6px; font-size: 1.12rem; font-weight: 700; font-family: var(--font-head); color: var(--ink); }
.ge-tile__text { display: block; margin: 0; font-size: .95rem; color: var(--ink-soft); }
.ge-tile__more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--green-700); transition: transform .2s ease; }
.ge-tile:hover .ge-tile__more { transform: translateX(4px); text-decoration: underline; }

/* Zweispalter */
.ge-split { display: grid; gap: 36px; align-items: center; margin-top: 30px; }
@media (min-width: 860px) { .ge-split { grid-template-columns: 1fr 1fr; } }
.ge-split__media img { border-radius: 18px 24px 18px 24px; box-shadow: var(--shadow-md); }
.ge-split ul { padding-left: 0; list-style: none; }
.ge-split ul li { padding: 6px 0 6px 32px; position: relative; }
.ge-split ul li::before {
  content: ""; position: absolute; left: 2px; top: 10px; width: 18px; height: 18px;
  background: var(--green-600);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c.48.17.98.3 1.34.3C19 20 22 3 22 3c-1 2-8 2.25-13 3.25S2 11.5 2 13.5s1.75 3.75 1.75 3.75C7 8 17 8 17 8z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c.48.17.98.3 1.34.3C19 20 22 3 22 3c-1 2-8 2.25-13 3.25S2 11.5 2 13.5s1.75 3.75 1.75 3.75C7 8 17 8 17 8z'/></svg>") center / contain no-repeat;
}

/* Zahlen-Leiste */
.ge-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin-top: 36px; text-align: center; }
.ge-stat__value { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--green-600); }
.ge-section--dark .ge-stat__value { color: var(--lime); }
.ge-stat__label { font-size: .92rem; color: var(--ink-soft); }
.ge-section--dark .ge-stat__label { color: #cfe6d3; }

/* CTA-Box */
.cta-box {
  position: relative; overflow: hidden;
  border-bottom: 4px solid var(--lime);
  background: linear-gradient(120deg, var(--green-700), var(--green-600));
  color: #fff; border-radius: 22px 28px 22px 28px;
  padding: clamp(32px, 5vw, 52px);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.cta-box::before {
  content: ""; position: absolute; right: -120px; top: -100px; width: 380px; height: 380px;
  background: url('../img/splash-light.png') center / contain no-repeat;
  opacity: .5; pointer-events: none;
}
.cta-box h2 { color: #fff; position: relative; }
.cta-box p { color: #e7f2e8; max-width: 55ch; margin-left: auto; margin-right: auto; position: relative; }
.cta-box .btn { margin-top: 10px; position: relative; }

/* ---------- Seiten-Header: Titelbild + Sprechblase (überall gleich) ---------- */
.page-hero { position: relative; background: var(--green-800); z-index: 1; }
.page-hero__media { position: absolute; inset: 0; overflow: hidden; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: saturate(1.08) brightness(1.02); }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20, 46, 28, .32) 0%, rgba(24, 58, 34, .18) 55%, rgba(24, 58, 34, .05) 100%);
}
.page-hero .container { position: relative; z-index: 2; padding-top: clamp(80px, 11vw, 130px); padding-bottom: clamp(70px, 10vw, 115px); }
.page-hero__meta { color: #dcecdf; font-size: .92rem; margin: 0 0 10px; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.page-hero__meta a { color: #fff; text-decoration: none; }
.page-hero__title {
  position: relative; display: inline-block;
  background: linear-gradient(135deg, var(--green-700), var(--green-800));
  color: #fff;
  padding: 14px 28px 16px;
  border-radius: 6px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .3);
}
.page-hero__title::after {
  content: ""; position: absolute; right: 32px; top: 100%;
  width: 0; height: 0;
  border-left: 24px solid var(--green-800);
  border-bottom: 17px solid transparent;
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 58px;
  background: var(--paper); z-index: 3; pointer-events: none;
  -webkit-mask: var(--edge-top) top center / 130% 86% no-repeat, linear-gradient(#000, #000) bottom center / 100% 26% no-repeat;
          mask: var(--edge-top) top center / 130% 86% no-repeat, linear-gradient(#000, #000) bottom center / 100% 26% no-repeat;
}

/* ---------- Inhalte (Unterseiten) ---------- */
.entry-content { max-width: 780px; padding-top: 10px; padding-bottom: 70px; }
.entry-content > p:first-child { font-size: 1.14rem; color: var(--ink-soft); }
.entry-content h2 { margin-top: 1.7em; }
.entry-content h3 { margin-top: 1.3em; }
.entry-content img { border-radius: var(--radius); }
.entry-content a { text-decoration-color: var(--green-500); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content blockquote { border-left: 4px solid var(--green-500); margin: 1.4em 0; padding: .4em 0 .4em 1.2em; color: var(--ink-soft); font-style: italic; }

/* Listen mit Blatt-Markern */
.entry-content ul { list-style: none; padding-left: 4px; }
.entry-content ul li { position: relative; padding: 5px 0 5px 32px; }
.entry-content ul li::before {
  content: ""; position: absolute; left: 2px; top: 11px; width: 17px; height: 17px;
  background: var(--green-600);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c.48.17.98.3 1.34.3C19 20 22 3 22 3c-1 2-8 2.25-13 3.25S2 11.5 2 13.5s1.75 3.75 1.75 3.75C7 8 17 8 17 8z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c.48.17.98.3 1.34.3C19 20 22 3 22 3c-1 2-8 2.25-13 3.25S2 11.5 2 13.5s1.75 3.75 1.75 3.75C7 8 17 8 17 8z'/></svg>") center / contain no-repeat;
}

/* Nummerierte Listen als Schritt-Leiste */
.entry-content ol { list-style: none; counter-reset: steps; padding-left: 0; }
.entry-content ol li {
  counter-increment: steps; position: relative;
  padding: 4px 0 22px 58px;
}
.entry-content ol li::before {
  content: counter(steps); position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 13px 15px 13px 15px;
  background: var(--green-100); color: var(--green-700);
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
}
.entry-content ol li::after {
  content: ""; position: absolute; left: 19px; top: 46px; bottom: 2px; width: 2px;
  background: var(--line);
}
.entry-content ol li:last-child { padding-bottom: 4px; }
.entry-content ol li:last-child::after { display: none; }

/* Galerie mit Hover & Lightbox */
.entry-content .wp-block-gallery { gap: 12px; }
.wp-block-gallery img, .entry-content .wp-block-image img { border-radius: 12px; }
.wp-block-gallery figure { overflow: hidden; border-radius: 12px; }
.wp-block-gallery img { transition: transform .35s ease, filter .35s ease; cursor: zoom-in; }
.wp-block-gallery figure:hover img { transform: scale(1.05); filter: brightness(1.06); }

/* Eigene Galerie (per Inhaltspaket befüllbar) */
.ge-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 26px 0; }
.ge-gallery figure { margin: 0; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 3; }
.ge-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; cursor: zoom-in; }
.ge-gallery figure:hover img { transform: scale(1.06); filter: brightness(1.06); }

.wsp-lightbox {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(18, 28, 20, .93);
  display: flex; align-items: center; justify-content: center; padding: 30px;
  animation: wsp-pop .2s ease;
}
.wsp-lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 24px 80px rgba(0, 0, 0, .5); }
.wsp-lightbox button {
  position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff;
  width: 46px; height: 46px; border-radius: 50%; font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.wsp-lightbox button:hover { background: rgba(255, 255, 255, .25); transform: scale(1.08); }
.wsp-lightbox__close { top: 18px; right: 18px; }
.wsp-lightbox__prev { left: 14px; top: 50%; margin-top: -23px; }
.wsp-lightbox__next { right: 14px; top: 50%; margin-top: -23px; }
@keyframes wsp-pop { from { opacity: 0; } to { opacity: 1; } }

/* Blogbeitrag */
.post-single__image img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; max-height: 460px; }
.post-single__cta { padding-bottom: 70px; max-width: 900px; }

/* Karten (Blog-Übersicht) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; padding: 10px 0 40px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px) rotate(-.25deg); box-shadow: var(--shadow-md); }
.card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card__meta { margin: 0 0 6px; font-size: .82rem; color: var(--muted); }
.card__title { font-size: 1.15rem; margin: 0 0 8px; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--green-700); }
.card__excerpt { margin: 0 0 14px; font-size: .95rem; color: var(--ink-soft); flex: 1; }
.card__link { font-weight: 700; color: var(--green-700); text-decoration: none; }
.card__link:hover { text-decoration: underline; }

.pagination { padding: 10px 0 60px; text-align: center; }
.pagination .nav-links { display: inline-flex; gap: 6px; }
.pagination a, .pagination span { display: inline-block; min-width: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; text-decoration: none; }
.pagination .current { background: var(--green-600); color: #fff; border-color: var(--green-600); }

/* ---------- Footer mit Pinselstrich-Kante & Splash ---------- */
.site-footer { position: relative; background: var(--green-800); color: #d9eadc; margin-top: 76px; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -50px; height: 52px;
  background: var(--green-800); pointer-events: none;
  -webkit-mask: var(--edge-top) top center / 130% 86% no-repeat, linear-gradient(#000, #000) bottom center / 100% 26% no-repeat;
          mask: var(--edge-top) top center / 130% 86% no-repeat, linear-gradient(#000, #000) bottom center / 100% 26% no-repeat;
}
.site-footer::after {
  content: ""; position: absolute; right: 20px; bottom: 16px; width: min(440px, 30vw); height: min(420px, 30vw);
  background: url('../img/baum.svg') center bottom / contain no-repeat;
  opacity: .55; pointer-events: none;
}
.site-footer a { color: #fff; }
.site-footer__grid { position: relative; z-index: 1; display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-top: 48px; padding-bottom: 34px; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer__title { font-size: 1.05rem; color: #fff; margin-bottom: 12px; }
.site-footer__title::after { display: none; }
.site-footer__address { font-style: normal; line-height: 1.8; }
.site-footer__hours { font-size: .9rem; color: #b9d6bf; }
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__list a { display: block; padding: 4px 0; text-decoration: none; opacity: .92; transition: transform .18s ease, opacity .18s ease; }
.site-footer__list a:hover { opacity: 1; transform: translateX(4px); text-decoration: underline; }
.site-footer__social { display: flex; gap: 12px; margin-top: 14px; }
.site-footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  transition: background .2s ease, transform .2s ease;
}
.site-footer__social a:hover { background: rgba(255, 255, 255, .25); transform: translateY(-3px); }
.site-footer__social svg { width: 20px; height: 20px; fill: #fff; }
.site-footer__bottom { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 18px; padding-bottom: 22px; font-size: .85rem; color: #b9d6bf; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- Effekte: sanftes Einblenden ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: .08s; }
.reveal--delay-2 { transition-delay: .16s; }
.reveal--delay-3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .ge-tile, .card { transition: none; }
}

/* ---------- Zweispalter im Inhalt (Kontakt etc.) ---------- */
.entry-content:has(.ge-cols) { max-width: 1160px; }
.ge-cols { display: grid; gap: 32px; margin: 30px 0 40px; }
@media (min-width: 880px) { .ge-cols { grid-template-columns: 2fr 3fr; } }
.ge-contact-card {
  background: var(--green-050);
  border: 1px solid var(--line);
  border-radius: 18px 24px 18px 24px;
  padding: 28px 26px;
  position: sticky; top: 120px;
}
.ge-contact-card h2 { margin-top: 0; font-size: 1.3rem; }
.ge-contact-card__name { line-height: 1.7; }
.ge-contact-card__list { list-style: none; padding: 0; margin: 18px 0 0; }
.ge-contact-card__list li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.ge-contact-card__list li:last-child { border-bottom: 0; }
.ge-contact-card__list svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--green-600); margin-top: 2px; }
.ge-contact-card__list a { text-decoration: none; font-weight: 600; }
.ge-contact-card__list a:hover { text-decoration: underline; }
.ge-contact-card__hint { font-size: .88rem; color: var(--muted); margin-top: 16px; }
.ge-contact-form h2 { margin-top: 0; font-size: 1.3rem; }
.entry-content .ge-contact-card__list li { padding-left: 0; }
.entry-content .ge-contact-card__list li::before { display: none; }

/* ---------- Footer-Aufwertung: CTA-Zeile, Logo, Badges ---------- */
.site-footer__ctarow {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 20px 40px;
  align-items: center; justify-content: space-between;
  padding-top: 52px; padding-bottom: 10px;
}
.site-footer__ctarow h2 { color: #fff; margin: 0 0 4px; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.site-footer__ctarow p { margin: 0; color: #cfe6d3; }
.site-footer__ctarow .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer .btn--light { color: var(--green-800); }
.site-footer .btn--light:hover { color: var(--green-800); }
.site-footer__divider { border: 0; border-top: 1px solid rgba(255, 255, 255, .15); margin: 34px 0 0; position: relative; z-index: 1; }
.site-footer__mark { width: 72px; height: 72px; margin-bottom: 14px; }
.site-footer__badgesrow { position: relative; z-index: 1; padding-top: 8px; padding-bottom: 26px; }
.site-footer__badges {
  display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; justify-content: center;
}
.site-footer__badges img { height: 46px; width: auto; }
.site-footer__badge {
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  background: rgba(255, 255, 255, .12); color: #d9eadc;
  border-radius: 999px; padding: 7px 14px;
}

/* ---------- Landingpage-Querverweise ---------- */
.lp-crosslinks h3 { margin-top: 30px; }
.lp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 18px 0 0; }
.lp-chips a {
  display: inline-block; padding: 10px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  text-decoration: none; font-weight: 600; color: var(--green-800);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.lp-chips a:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--green-500); }
.lp-chips--outline a { background: transparent; }

/* Google-Gesamtbewertung */
.ge-rating { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); margin: 4px 0 0; }
.ge-rating__stars { color: var(--amber); font-size: 1.25rem; letter-spacing: 3px; }

/* ---------- Seitenlayout: Inhalt + Anfrage-Karte ---------- */
.page-layout { display: grid; gap: 44px; padding-bottom: 70px; }
@media (min-width: 1000px) { .page-layout { grid-template-columns: minmax(0, 1fr) 330px; } }
.page-layout__main { max-width: 780px; padding-bottom: 0; }
.page-layout__aside .ge-contact-card { position: sticky; top: 120px; }
.ge-contact-card__btn { display: block; text-align: center; margin-top: 10px; }
.ge-contact-card p { color: var(--ink-soft); font-size: .95rem; }
.ge-contact-card__trust { list-style: none; padding: 0; margin: 18px 0 0; font-size: .88rem; color: var(--ink-soft); }
.ge-contact-card__trust li { padding: 4px 0 4px 24px; position: relative; }
.ge-contact-card__trust li::before { content: "✓"; position: absolute; left: 2px; color: var(--green-600); font-weight: 800; }

/* ---------- Stellen-Detailseite ---------- */
.job-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 12px; padding: 0; margin: 26px 0 6px; }
.job-facts li { background: var(--green-050); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: .9rem; }
.job-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- Zielgruppen-Kacheln (Kommunen-Fokus) ---------- */
.ge-grid--audience { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.ge-tile__label {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green-600); margin-bottom: 8px;
}
.ge-tile--focus {
  border-color: var(--lime); border-width: 2px;
  background: linear-gradient(160deg, #ffffff, var(--green-100));
  box-shadow: var(--shadow-md);
}
.ge-tile--focus .ge-tile__label { color: var(--green-700); }

/* Bei geöffneter mobiler Navigation: schwebende Elemente ausblenden */
body.nav-open .wsp-wa { display: none; }

/* ---------- Nach-oben-Button (dockt über dem WhatsApp-Button an) ---------- */
.scroll-top {
  position: fixed; right: 25px; bottom: 88px; z-index: 9996;
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(29, 74, 42, .85); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(30, 42, 33, .25);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s ease;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--green-600); transform: translateY(-3px); }
@media (max-width: 720px) { .scroll-top { bottom: 88px; right: 18px; } }
body.nav-open .scroll-top { display: none; }

/* Topbar mobil: zentriert statt rechtsbündig */
@media (max-width: 720px) {
  .topbar__inner { justify-content: center; flex-wrap: wrap; gap: 6px 16px; }
}

/* Sticky-Karten nur auf Desktop – mobil normal im Fluss */
@media (max-width: 999px) {
  .ge-contact-card,
  .page-layout__aside .ge-contact-card { position: static; }
}

/* Seiten ohne Sidebar (Rechtstexte): breiter Textblock, zentriert im Raster */
.page-single .entry-content:not(:has(.ge-cols)) { max-width: 900px; }

/* CI-Baum als Wasserzeichen in den Kopf-Bannern – wie auf den Fahrzeugen */
.ge-hero__media::before,
.page-hero__media::before {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  right: -40px; bottom: -60px;
  width: clamp(240px, 28vw, 420px); aspect-ratio: 152 / 143;
  background: url('../img/baum.svg') center / contain no-repeat;
  opacity: .9;
}
