/* ====================================================
   am-garten.info — Premium Revamp  (v3 — glorified)
   Green-only opulent design. Loaded after custom.css.
   ==================================================== */

/* Playfair Display removed — using Urbanist for headlines (already loaded by Webador) */

/* ---------- Color tokens ----------
   #0e4338  deep teal
   #134d40  dark teal
   #1b7865  brand teal
   #2c9e85  mid teal
   #6fb89e  sage
   #a0e060  lime accent
   #d4f0c2  pale lime
   #f6f8f7  cream
   #1a2a26  ink
---------------------------------- */

/* --- 0. Page foundation -------------------------- */
html { scroll-behavior: smooth; }

body {
  background-color: #f6f9f7 !important;
  background-image:
    radial-gradient(at 0% 0%, rgba(27,120,101,0.07) 0%, transparent 45%),
    radial-gradient(at 100% 0%, rgba(160,224,96,0.05) 0%, transparent 50%),
    radial-gradient(at 100% 100%, rgba(27,120,101,0.06) 0%, transparent 45%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='%231b7865' fill-opacity='0.06'><circle cx='10' cy='10' r='1'/><circle cx='40' cy='40' r='1.4'/><circle cx='70' cy='10' r='0.9'/><circle cx='10' cy='70' r='1.1'/><circle cx='70' cy='70' r='1'/></g></svg>") !important;
  background-attachment: fixed !important;
  background-size: auto, auto, auto, 80px 80px !important;
}

::selection { background: #1b7865; color: #fff; }
::-moz-selection { background: #1b7865; color: #fff; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #eaf0ed; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #2c9e85, #1b7865, #134d40); border-radius: 6px; border: 2px solid #eaf0ed; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #a0e060, #2c9e85, #1b7865); }

/* --- 0b. Scroll progress bar (modern CSS-only) --- */
@supports (animation-timeline: scroll()) {
  html::before {
    content: '';
    position: fixed;
    inset: 0 auto auto 0;
    width: 100vw;
    height: 3px;
    background: linear-gradient(90deg, #2c9e85 0%, #1b7865 40%, #a0e060 100%);
    transform-origin: 0 50%;
    transform: scaleX(0);
    z-index: 99999;
    animation: rp-scroll-progress linear both;
    animation-timeline: scroll(root);
    pointer-events: none;
    box-shadow: 0 0 10px rgba(160, 224, 96, 0.6);
  }
  @keyframes rp-scroll-progress { to { transform: scaleX(1); } }
}

/* --- 1. Typography: refined serif + gradient h1 -- */
body .ed-element.ed-headline h1,
body .ed-element.ed-headline h2,
body .ed-element.ed-headline h3,
body .ed-element.ed-headline h4,
body .ed-element.ed-text h1,
body .ed-element.ed-text h2,
body .ed-element.ed-text h3,
body .ed-element.ed-text h4 {
  font-family: 'Urbanist', 'Inter', system-ui, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.018em !important;
  line-height: 1.06 !important;
  color: #0e2622 !important;
}

body .ed-element h1, body .ed-element .h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem) !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #0e4338 0%, #1b7865 40%, #2c9e85 100%);
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  padding-bottom: 4px;
}

/* h1 inside dark hero sections gets solid white */
body .ed-element.bg-primary h1,
body .ed-element[style*="rgb(27, 120, 101)"] h1 {
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
}

body .ed-element h2, body .ed-element .h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem) !important;
  font-weight: 700 !important;
  position: relative;
}

body .ed-element h3, body .ed-element .h3 {
  font-size: clamp(1.4rem, 2.7vw, 1.95rem) !important;
  font-weight: 600 !important;
}

/* Italic accent in h1 / quotes */
body .ed-element h1 em, body .ed-element h2 em, body .ed-element h3 em {
  font-style: italic !important;
  font-weight: 500 !important;
}

/* Eyebrow accent before h2 (left-align) */
body .ed-element.ed-headline:not([style*="text-align: center"]) h2::before,
body .ed-element.ed-text:not([style*="text-align: center"]) h2::before {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, #1b7865, #a0e060);
  border-radius: 2px;
  margin: 0 0 22px 0;
  box-shadow: 0 4px 12px -2px rgba(27, 120, 101, 0.4);
}

/* Eyebrow accent before h2 (center-align) */
body .ed-element.ed-headline[style*="text-align: center"] h2::before,
body .ed-element.ed-text[style*="text-align: center"] h2::before {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, #1b7865, #a0e060);
  border-radius: 2px;
  margin: 0 auto 22px;
  box-shadow: 0 4px 12px -2px rgba(27, 120, 101, 0.4);
}

/* Body text */
body .ed-element.ed-text p,
body .ed-element.custom-theme p {
  line-height: 1.75 !important;
  font-weight: 400 !important;
  color: #344642;
  font-size: 1.025em;
}

/* Drop-cap REMOVED — was causing rogue "S" / "+" floats in footer */

/* Italic in text */
body .ed-element.ed-text em,
body .ed-element.ed-headline em {
  font-family: 'Urbanist', 'Inter', system-ui, sans-serif !important;
  font-style: italic !important;
  color: #1b7865 !important;
}

/* --- 2. Buttons: animated green pill with shine -- */
body a.button:not(.menu-trigger-inner):not(.wv-link-content),
body button:not(.menu-trigger-inner) {
  background: linear-gradient(135deg, #2c9e85 0%, #1b7865 50%, #0e4338 100%) !important;
  background-size: 200% 200% !important;
  background-position: 0% 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 999px !important;
  padding: 17px 40px !important;
  font-family: 'Urbanist', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  text-decoration: none !important;
  cursor: pointer !important;
  display: inline-block !important;
  box-shadow:
    0 14px 32px -10px rgba(14, 67, 56, 0.6),
    0 0 0 1px rgba(160, 224, 96, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transition:
    background-position .5s ease,
    transform .3s cubic-bezier(.4,0,.2,1),
    box-shadow .3s ease !important;
  position: relative;
  overflow: hidden;
}

body a.button:not(.menu-trigger-inner):not(.wv-link-content)::before,
body button:not(.menu-trigger-inner)::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-22deg);
  transition: left .7s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}

body a.button:not(.menu-trigger-inner):not(.wv-link-content):hover,
body button:not(.menu-trigger-inner):hover {
  transform: translateY(-3px) !important;
  background-position: 100% 50% !important;
  box-shadow:
    0 24px 50px -10px rgba(14, 67, 56, 0.72),
    0 0 0 1px rgba(160, 224, 96, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

body a.button:not(.menu-trigger-inner):not(.wv-link-content):hover::before,
body button:not(.menu-trigger-inner):hover::before {
  left: 130%;
}

body a.button:not(.menu-trigger-inner):not(.wv-link-content):active,
body button:not(.menu-trigger-inner):active {
  transform: translateY(-1px) !important;
}

/* --- 3. Form submit: green gradient -------------- */
body .ed-element.preset-contact-form-v3-landscaper button[type=submit],
body .ed-element.preset-contact-form-v3-landscaper a.button {
  background: linear-gradient(135deg, #2c9e85 0%, #1b7865 50%, #0e4338 100%) !important;
  box-shadow:
    0 16px 36px -10px rgba(14, 67, 56, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

body .ed-element.preset-contact-form-v3-landscaper button[type=submit]:hover,
body .ed-element.preset-contact-form-v3-landscaper a.button:hover {
  box-shadow:
    0 24px 52px -10px rgba(14, 67, 56, 0.75),
    0 0 0 1px rgba(160, 224, 96, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* --- 4. Service cards: opulent glass with numbers- */
body .ed-element.preset-boxes-v3-landscaper {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(246,248,247,0.7)) !important;
  backdrop-filter: blur(24px) saturate(1.35) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.35) !important;
  border-radius: 36px !important;
  border: 1px solid rgba(255, 255, 255, 1) !important;
  box-shadow:
    0 40px 80px -32px rgba(14, 67, 56, 0.28),
    0 4px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 #ffffff,
    inset 0 0 0 1px rgba(255,255,255,0.6) !important;
  transition: transform .45s ease, box-shadow .45s ease !important;
  position: relative;
  overflow: hidden;
}

/* Decorative corner flourish on cards */
body .ed-element.preset-boxes-v3-landscaper::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(160, 224, 96, 0.18) 0%, transparent 65%);
  pointer-events: none;
  transition: transform .8s ease;
}

body .ed-element.preset-boxes-v3-landscaper::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(27, 120, 101, 0.18) 0%, transparent 65%);
  pointer-events: none;
  transition: transform .8s ease;
}

body .ed-element.preset-boxes-v3-landscaper:hover {
  transform: translateY(-8px) !important;
  box-shadow:
    0 52px 100px -32px rgba(14, 67, 56, 0.38),
    0 4px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 #ffffff,
    inset 0 0 0 1px rgba(255,255,255,0.6) !important;
}

body .ed-element.preset-boxes-v3-landscaper:hover::before { transform: scale(1.2) rotate(20deg); }
body .ed-element.preset-boxes-v3-landscaper:hover::after { transform: scale(1.2) rotate(-20deg); }

body .ed-element.preset-boxes-v3-landscaper > .inner {
  counter-reset: rp-tile;
  position: relative;
  z-index: 1;
}

/* Service tiles */
body .ed-element.boxes-box {
  border-radius: 24px !important;
  padding: 36px 26px !important;
  background: transparent !important;
  transition: background .4s ease, transform .4s ease, box-shadow .4s ease !important;
  position: relative !important;
  overflow: hidden;
  counter-increment: rp-tile;
}

/* Number badges removed per request */
body .ed-element.boxes-box::after { content: none !important; display: none !important; }

body .ed-element.boxes-box:hover {
  background: transparent !important;
  transform: translateY(-5px) !important;
  box-shadow: none !important;
}

/* Glow ring behind icon — REMOVED, tile stays white on hover */
body .ed-element.boxes-box::before,
body .ed-element.boxes-box:hover::before {
  content: none !important;
  display: none !important;
  background: none !important;
  opacity: 0 !important;
}

body .ed-element.boxes-box > * { position: relative; z-index: 1; }

/* Service icons */
body .ed-element.boxes-icon svg {
  width: 72px !important;
  height: 72px !important;
  padding: 22px !important;
  background: linear-gradient(135deg, #ffffff 0%, #eaf2ef 100%) !important;
  border: 1px solid rgba(27, 120, 101, 0.15) !important;
  border-radius: 100% !important;
  fill: #1b7865 !important;
  transition: transform .45s cubic-bezier(.4,0,.2,1), background .45s ease, fill .45s ease, box-shadow .45s ease, border-color .45s ease !important;
  box-shadow:
    0 12px 28px -8px rgba(27, 120, 101, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body .ed-element.boxes-box:hover .boxes-icon svg {
  transform: scale(1.12) rotate(-8deg) !important;
  background: linear-gradient(135deg, #ffffff 0%, #eaf2ef 100%) !important;
  border-color: rgba(27, 120, 101, 0.35) !important;
  fill: #1b7865 !important;
  box-shadow:
    0 20px 44px -8px rgba(14, 67, 56, 0.32),
    0 0 0 8px rgba(160, 224, 96, 0.22) !important;
}

/* --- 5. Images: glow border + masked variants ---- */
body .ed-element.ed-image:not(.ed-logo) img {
  border-radius: 28px !important;
  transition: transform .6s cubic-bezier(.4,0,.2,1), box-shadow .35s ease, filter .35s ease !important;
}

body .ed-element.ed-image:not(.ed-logo) {
  position: relative;
  transition: transform .35s ease;
}

body .ed-element.ed-image:not(.ed-logo)::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 32px;
  background: linear-gradient(135deg, #2c9e85, #1b7865, #a0e060, #1b7865);
  background-size: 300% 300%;
  opacity: 0;
  z-index: -1;
  transition: opacity .4s ease;
  filter: blur(12px);
  animation: rp-gradient-shift 6s ease-in-out infinite;
}

@keyframes rp-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

body .ed-element.ed-image:not(.ed-logo):hover::after { opacity: 0.65; }

body .ed-element.ed-image:not(.ed-logo):hover img {
  transform: scale(1.03) !important;
  box-shadow: 0 40px 90px -22px rgba(14, 67, 56, 0.4) !important;
  filter: saturate(1.1) !important;
}

body .ed-logo img, body .logo img { border-radius: 0 !important; box-shadow: none !important; }

/* --- 6. Hero/teal sections: opulent ------------- */
@keyframes rp-hero-bg {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes rp-floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(8deg); }
}

@keyframes rp-floaty-rev {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(-6deg); }
}

body .ed-element.bg-primary,
body .ed-element[style*="rgb(27, 120, 101)"] {
  background: linear-gradient(125deg, #0e4338 0%, #1b7865 30%, #2c9e85 55%, #1b7865 80%, #134d40 100%) !important;
  background-size: 280% 280% !important;
  animation: rp-hero-bg 24s ease-in-out infinite !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Botanical line pattern + radial glows */
body .ed-element.bg-primary::before,
body .ed-element[style*="rgb(27, 120, 101)"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(160,224,96,0.22) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(255,255,255,0.1) 0%, transparent 55%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><g fill='none' stroke='%23ffffff' stroke-width='0.7' stroke-opacity='0.07'><path d='M30 100 Q50 60 90 70 Q120 75 125 100'/><path d='M40 30 Q60 50 90 30'/><path d='M100 130 Q120 110 140 120'/><circle cx='115' cy='35' r='2.5' fill='%23ffffff' fill-opacity='0.08' stroke='none'/><circle cx='25' cy='65' r='1.5' fill='%23ffffff' fill-opacity='0.08' stroke='none'/><circle cx='135' cy='90' r='1' fill='%23ffffff' fill-opacity='0.06' stroke='none'/></g></svg>");
  background-size: cover, cover, 160px 160px;
  pointer-events: none;
  z-index: 0;
}

/* Floating decorative leaf top-right of every hero */
body .ed-element.bg-primary::after,
body .ed-element[style*="rgb(27, 120, 101)"]::after {
  content: '' !important;
  display: block !important;
  position: absolute;
  top: 7%; right: 5%;
  width: 140px; height: 140px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M50 8 Q72 28 78 50 Q72 72 50 92 Q28 72 22 50 Q28 28 50 8 Z' fill='none' stroke='%23a0e060' stroke-width='1.3' stroke-opacity='0.55'/><line x1='50' y1='13' x2='50' y2='87' stroke='%23a0e060' stroke-width='0.8' stroke-opacity='0.45'/></svg>") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  animation: rp-floaty 10s ease-in-out infinite !important;
}

body .ed-element.bg-primary > .inner,
body .ed-element[style*="rgb(27, 120, 101)"] > .inner {
  position: relative;
  z-index: 1;
}

/* Text inside dark/teal sections (high-specificity override) */
body .ed-element.bg-primary .ed-element.ed-headline h1,
body .ed-element.bg-primary .ed-element.ed-headline h2,
body .ed-element.bg-primary .ed-element.ed-headline h3,
body .ed-element.bg-primary .ed-element.ed-headline h4,
body .ed-element.bg-primary .ed-element.ed-text h1,
body .ed-element.bg-primary .ed-element.ed-text h2,
body .ed-element.bg-primary .ed-element.ed-text h3,
body .ed-element.bg-primary .ed-element.ed-text h4,
body .ed-element.bg-primary .ed-element.ed-text p,
body .ed-element.bg-primary .ed-element.custom-theme p,
body .ed-element[style*="rgb(27, 120, 101)"] .ed-element.ed-headline h1,
body .ed-element[style*="rgb(27, 120, 101)"] .ed-element.ed-headline h2,
body .ed-element[style*="rgb(27, 120, 101)"] .ed-element.ed-headline h3,
body .ed-element[style*="rgb(27, 120, 101)"] .ed-element.ed-text p {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  background-clip: unset !important;
  -webkit-background-clip: unset !important;
}

/* Drop-cap also white in dark sections */
body .ed-element.bg-primary .ed-element.ed-text > p:first-child:not(:only-child)::first-letter,
body .ed-element.bg-primary .ed-element.custom-theme > p:first-child:not(:only-child)::first-letter {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #a0e060 !important;
  color: #a0e060 !important;
}

/* Eyebrow on dark sections: lime gradient */
body .ed-element.bg-primary .ed-element.ed-headline h2::before,
body .ed-element.bg-primary .ed-element.ed-text h2::before,
body .ed-element[style*="rgb(27, 120, 101)"] .ed-element.ed-headline h2::before {
  background: linear-gradient(90deg, #a0e060, #ffffff) !important;
}

/* Links inside teal/primary sections — bright with lime accent */
body .ed-element.bg-primary .ed-element.ed-text a:not(.button),
body .ed-element.bg-primary .ed-element.custom-theme a:not(.button),
body .ed-element[style*="rgb(27, 120, 101)"] .ed-element.ed-text a:not(.button),
body .ed-element[style*="rgb(27, 120, 101)"] .ed-element.custom-theme a:not(.button) {
  color: #ffffff !important;
  background-image: linear-gradient(90deg, #a0e060, #d4f0c2) !important;
  font-weight: 600 !important;
}

body .ed-element.bg-primary .ed-element.ed-text a:not(.button):hover,
body .ed-element.bg-primary .ed-element.custom-theme a:not(.button):hover,
body .ed-element[style*="rgb(27, 120, 101)"] .ed-element.ed-text a:not(.button):hover,
body .ed-element[style*="rgb(27, 120, 101)"] .ed-element.custom-theme a:not(.button):hover {
  color: #a0e060 !important;
}

/* Bold/strong inside teal sections — keep readable */
body .ed-element.bg-primary .ed-element.ed-text strong,
body .ed-element[style*="rgb(27, 120, 101)"] .ed-element.ed-text strong {
  color: #ffffff !important;
  background: linear-gradient(180deg, transparent 55%, rgba(160,224,96,0.5) 55%) !important;
}

/* Bullets inside teal sections — invert to lime/white */
body .ed-element.bg-primary .ed-element.ed-text ul:not(.checkbox_list) li::before,
body .ed-element.bg-primary .ed-element.custom-theme ul:not(.checkbox_list) li::before {
  background: linear-gradient(135deg, #ffffff 0%, #a0e060 100%) !important;
  box-shadow: 0 3px 8px rgba(160, 224, 96, 0.4) !important;
}

/* SVG icons in teal sections — white tint */
body .ed-element.bg-primary .ed-element.ed-svg svg,
body .ed-element.bg-primary .ed-element.ed-icon svg,
body .ed-element[style*="rgb(27, 120, 101)"] .ed-element.ed-svg svg,
body .ed-element[style*="rgb(27, 120, 101)"] .ed-element.ed-icon svg {
  fill: #ffffff !important;
}

/* --- 7. Footer: deep gradient + ornament -------- */
body .ed-element.ed-container[style*="background-color: rgb(52, 70, 66)"],
body footer.ed-container {
  background: linear-gradient(180deg, #1f2926 0%, #0d1614 100%) !important;
  color: #d8dfdc !important;
  position: relative;
}

body .ed-element.ed-container[style*="background-color: rgb(52, 70, 66)"]::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #1b7865 20%, #a0e060 50%, #1b7865 80%, transparent);
  z-index: 1;
}

/* --- 8. Header navigation ----------------------- */
body .ed-element.preset-menu-v2-landscaper,
body .ed-element.preset-menu-v2-landscaper-light {
  transition: padding .25s ease, background .3s ease !important;
}

/* Force header to stay sticky on every page (works without JS) */
body .ed-element.menu-wrapper {
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
}

body .menu-wrapper.sticky {
  background: linear-gradient(180deg, rgba(14, 67, 56, 0.96), rgba(27, 120, 101, 0.92)) !important;
  backdrop-filter: blur(18px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.3) !important;
  box-shadow: 0 12px 36px -12px rgba(0, 0, 0, 0.4) !important;
  border-bottom: 1px solid rgba(160, 224, 96, 0.22) !important;
}

body .ed-menu > ul > li > a:not(.button) {
  font-family: 'Urbanist', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  transition: color .25s ease, transform .25s ease !important;
  position: relative;
}

body .ed-menu > ul > li > a:not(.button)::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2c9e85, #a0e060);
  transition: width .35s ease, left .35s ease;
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(160, 224, 96, 0.5);
}

body .ed-menu > ul > li > a:not(.button):hover::after,
body .ed-menu > ul > li > a.active:not(.button)::after {
  width: 70%;
  left: 15%;
}

/* --- 9. Map embed ------------------------------- */
body .map-canvas,
body .ed-element.ed-map {
  border-radius: 32px !important;
  overflow: hidden !important;
  box-shadow:
    0 36px 72px -22px rgba(14, 67, 56, 0.4),
    0 0 0 1px rgba(27, 120, 101, 0.18) !important;
  position: relative;
}

/* --- 10. Quotes / pull-text --------------------- */
body .ed-element.ed-text blockquote,
body .ed-element.ed-headline blockquote {
  font-family: 'Urbanist', 'Inter', system-ui, sans-serif !important;
  font-style: italic !important;
  font-size: 1.45em !important;
  padding: 18px 0 18px 40px !important;
  border-left: 4px solid #1b7865 !important;
  color: #344642 !important;
  position: relative;
  background: linear-gradient(90deg, rgba(160,224,96,0.06), transparent 80%);
  border-radius: 0 16px 16px 0;
  margin: 24px 0 !important;
}

body .ed-element.ed-text blockquote::before {
  content: '\201C';
  position: absolute;
  left: 18px;
  top: -8px;
  font-size: 3.5em;
  color: #1b7865;
  opacity: 0.22;
  font-family: 'Urbanist', 'Inter', system-ui, sans-serif;
  line-height: 1;
}

/* --- 11. Entrance animations -------------------- */
@keyframes rp-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rp-fade-scale {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

body .ed-element.ed-headline {
  animation: rp-fade-up .8s cubic-bezier(.4,0,.2,1) backwards;
}

body .ed-element.ed-image:not(.ed-logo) {
  animation: rp-fade-scale .9s cubic-bezier(.4,0,.2,1) backwards;
}

body .ed-element.preset-boxes-v3-landscaper > .inner {
  animation: rp-fade-up .8s cubic-bezier(.4,0,.2,1) backwards;
}

/* Stagger animation on service tiles */
@supports (animation-timeline: view()) {
  body .ed-element.boxes-box {
    animation: rp-fade-up .9s cubic-bezier(.4,0,.2,1) both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .ed-element, body .ed-element.bg-primary, body .ed-element.bg-primary::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}

/* --- 12. Refined text links --------------------- */
body .ed-element.ed-text a:not(.button),
body .ed-element.custom-theme a:not(.button) {
  color: #1b7865 !important;
  text-decoration: none !important;
  background-image: linear-gradient(90deg, #1b7865, #2c9e85, #a0e060);
  background-position: 0 100%;
  background-size: 0% 2px;
  background-repeat: no-repeat;
  transition: background-size .35s ease, color .25s ease !important;
  padding-bottom: 2px;
  font-weight: 500;
}

body .ed-element.ed-text a:not(.button):hover {
  color: #0e4338 !important;
  background-size: 100% 2px;
}

/* --- 13. Leaf bullets --------------------------- */
body .ed-element.ed-text ul:not(.checkbox_list),
body .ed-element.custom-theme ul:not(.checkbox_list) {
  list-style: none !important;
  padding-left: 0 !important;
}

body .ed-element.ed-text ul:not(.checkbox_list) li,
body .ed-element.custom-theme ul:not(.checkbox_list) li {
  position: relative;
  padding-left: 32px !important;
  margin-bottom: 10px !important;
}

body .ed-element.ed-text ul:not(.checkbox_list) li::before,
body .ed-element.custom-theme ul:not(.checkbox_list) li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #a0e060 0%, #1b7865 100%);
  border-radius: 50% 0 50% 50%;
  transform: rotate(-45deg);
  box-shadow: 0 3px 8px rgba(27, 120, 101, 0.3);
}

/* --- 14. Form privacy text ---------------------- */
body .ed-element.preset-contact-form-v3-landscaper .ed-form-checkbox label p a {
  font-family: 'Urbanist', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #344642 !important;
}

/* --- 15. Highlighted strong text ---------------- */
body .ed-element.ed-text strong {
  background: linear-gradient(180deg, transparent 55%, rgba(160,224,96,0.45) 55%) !important;
  padding: 0 4px !important;
  font-weight: 700 !important;
  color: #0e2622;
}

/* --- 16. Focus rings ---------------------------- */
body *:focus-visible {
  outline: 3px solid rgba(27, 120, 101, 0.45) !important;
  outline-offset: 3px !important;
  border-radius: 4px;
}
/* --- 18. Decorative section dividers ------------ */
/* A subtle hairline between non-hero sections */
body .ed-element.ed-container.wv-boxed:not(.preset-menu-v2-landscaper):not(.preset-menu-v2-landscaper-light):not(.bg-primary) + .ed-element.ed-container.wv-boxed:not(.preset-menu-v2-landscaper):not(.preset-menu-v2-landscaper-light):not(.bg-primary) {
  position: relative;
}

body .ed-element.ed-container.wv-boxed:not(.preset-menu-v2-landscaper):not(.preset-menu-v2-landscaper-light):not(.bg-primary) + .ed-element.ed-container.wv-boxed:not(.preset-menu-v2-landscaper):not(.preset-menu-v2-landscaper-light):not(.bg-primary)::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(27, 120, 101, 0.4), transparent);
}

/* --- 19. Subtle scroll parallax on hero img ----- */
@supports (animation-timeline: scroll()) {
  body .ed-element.bg-primary .ed-image:not(.ed-logo) img {
    animation: rp-parallax linear both;
    animation-timeline: scroll(root);
    animation-range: 0 800px;
  }
  @keyframes rp-parallax { to { transform: translateY(-40px); } }
}

/* --- 20. Phone/email contact lines: refined ----- */
body .ed-element.ed-headline h3 + p,
body .ed-element.ed-text p strong {
  letter-spacing: 0.01em;
}

/* --- 21. Sparkle accents on dark sections ------- */
@keyframes rp-twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

body .ed-element.bg-primary .ed-element.ed-headline h1::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 12px;
  vertical-align: top;
  background: radial-gradient(circle, #a0e060 0%, transparent 70%);
  border-radius: 50%;
  animation: rp-twinkle 2.5s ease-in-out infinite;
}

/* --- 22. Boxes (preset-boxes wrappers): more padding */
body .ed-element.preset-boxes-v3-landscaper > .inner {
  padding: 56px 44px !important;
}

@media screen and (max-width: 768px) {
  body .ed-element.preset-boxes-v3-landscaper > .inner {
    padding: 36px 24px !important;
  }
}

/* --- 23. First letter of h2 (drop-cap style) ---- */
body .ed-element.ed-headline[style*="text-align: center"] h2 {
  text-shadow: 0 2px 24px rgba(27, 120, 101, 0.08);
}

/* --- 24. Captcha image inverse for green vibe --- */
body .ed-element.preset-contact-form-v3-landscaper .ed-form-captcha .image img {
  filter: hue-rotate(-30deg) brightness(1.05) contrast(1.1);
  border-radius: 6px !important;
}

/* --- 24b. Links on dark footer/sections --------- */
body .ed-element.ed-container[style*="background-color: rgb(52, 70, 66)"] .ed-element.ed-text,
body .ed-element.ed-container[style*="background-color: rgb(52, 70, 66)"] .ed-element.custom-theme,
body .ed-element.ed-container[style*="background-color: rgb(52, 70, 66)"] .ed-element.ed-text p,
body .ed-element.ed-container[style*="background-color: rgb(52, 70, 66)"] .ed-element.custom-theme p {
  color: #e2e8e5 !important;
}

body .ed-element.ed-container[style*="background-color: rgb(52, 70, 66)"] .ed-element.ed-text a:not(.button),
body .ed-element.ed-container[style*="background-color: rgb(52, 70, 66)"] .ed-element.custom-theme a:not(.button) {
  color: #ffffff !important;
  background-image: linear-gradient(90deg, #a0e060, #d4f0c2) !important;
  font-weight: 600 !important;
}

body .ed-element.ed-container[style*="background-color: rgb(52, 70, 66)"] .ed-element.ed-text a:not(.button):hover,
body .ed-element.ed-container[style*="background-color: rgb(52, 70, 66)"] .ed-element.custom-theme a:not(.button):hover {
  color: #a0e060 !important;
}

/* Headlines/labels in dark footer */
body .ed-element.ed-container[style*="background-color: rgb(52, 70, 66)"] .ed-element.ed-headline h1,
body .ed-element.ed-container[style*="background-color: rgb(52, 70, 66)"] .ed-element.ed-headline h2,
body .ed-element.ed-container[style*="background-color: rgb(52, 70, 66)"] .ed-element.ed-headline h3,
body .ed-element.ed-container[style*="background-color: rgb(52, 70, 66)"] .ed-element.ed-headline h4 {
  color: #ffffff !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* --- 24c. Simple footer contact section ---------
   Targets the contact tiles footer (preset-footer-heimdall-v2-landscaper).
   Flat, static, all white, no animations.
--------------------------------------------------- */
body .ed-element.preset-footer-heimdall-v2-landscaper,
body .ed-element.preset-footer-heimdall-v2-landscaper * {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  background-image: none !important;
}

body .ed-element.preset-footer-heimdall-v2-landscaper::before,
body .ed-element.preset-footer-heimdall-v2-landscaper::after,
body .ed-element.preset-footer-heimdall-v2-landscaper *::before,
body .ed-element.preset-footer-heimdall-v2-landscaper *::after {
  content: none !important;
  display: none !important;
  background: none !important;
  animation: none !important;
}

/* All text in contact footer: pure white */
body .ed-element.preset-footer-heimdall-v2-landscaper h1,
body .ed-element.preset-footer-heimdall-v2-landscaper h2,
body .ed-element.preset-footer-heimdall-v2-landscaper h3,
body .ed-element.preset-footer-heimdall-v2-landscaper h4,
body .ed-element.preset-footer-heimdall-v2-landscaper p,
body .ed-element.preset-footer-heimdall-v2-landscaper span,
body .ed-element.preset-footer-heimdall-v2-landscaper a {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  background-image: none !important;
  background-clip: unset !important;
  -webkit-background-clip: unset !important;
  font-family: 'Urbanist', sans-serif !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Headings use Playfair, plain white */
body .ed-element.preset-footer-heimdall-v2-landscaper h1,
body .ed-element.preset-footer-heimdall-v2-landscaper h2,
body .ed-element.preset-footer-heimdall-v2-landscaper h3,
body .ed-element.preset-footer-heimdall-v2-landscaper h4 {
  font-family: 'Urbanist', 'Inter', system-ui, sans-serif !important;
  font-weight: 600 !important;
}

/* Email/phone links: white with subtle underline */
body .ed-element.preset-footer-heimdall-v2-landscaper a {
  border-bottom: 1px solid rgba(255,255,255,0.5) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

body .ed-element.preset-footer-heimdall-v2-landscaper a:hover {
  color: #ffffff !important;
  border-bottom-color: rgba(255,255,255,0.5) !important;
}

/* SVG icons: pure white, never change */
body .ed-element.preset-footer-heimdall-v2-landscaper svg {
  fill: #ffffff !important;
}

/* Force the teal background to stay teal — even when hovered */
body .ed-element.preset-footer-heimdall-v2-landscaper .footer-heimdall-content,
body .ed-element.preset-footer-heimdall-v2-landscaper .footer-heimdall-content:hover {
  background: #1b7865 !important;
  background-color: #1b7865 !important;
}

/* Hover rule: only kill transforms/shadows, leave background alone */
body .ed-element.preset-footer-heimdall-v2-landscaper *:hover {
  transform: none !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body .ed-element.preset-footer-heimdall-v2-landscaper *:hover svg {
  fill: #ffffff !important;
}

/* Suppress drop-cap if any inherited */
body .ed-element.preset-footer-heimdall-v2-landscaper p::first-letter,
body .ed-element.preset-footer-heimdall-v2-landscaper > *::first-letter {
  font-size: inherit !important;
  font-weight: inherit !important;
  float: none !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: inherit !important;
  color: inherit !important;
  margin: 0 !important;
  font-family: inherit !important;
  line-height: inherit !important;
}

/* Disable eyebrow accents in this section */
body .ed-element.preset-footer-heimdall-v2-landscaper h2::before,
body .ed-element.preset-footer-heimdall-v2-landscaper h3::before {
  content: none !important;
  display: none !important;
}

/* --- 24c.OLD legacy id-targeted section (keeping for safety) - */
body #ed-2763002843,
body #ed-2763004094,
body #ed-2763004547 {
  background: #1b7865 !important;
  background-image: none !important;
  background-size: auto !important;
  animation: none !important;
  overflow: visible !important;
}

body #ed-2763002843::before,
body #ed-2763002843::after,
body #ed-2763004094::before,
body #ed-2763004094::after,
body #ed-2763004547::before,
body #ed-2763004547::after {
  content: none !important;
  display: none !important;
  background: none !important;
  animation: none !important;
}

/* Disable drop-cap inside these sections */
body #ed-2763002843 .ed-element.ed-text > p:first-child::first-letter,
body #ed-2763002843 .ed-element.custom-theme > p:first-child::first-letter,
body #ed-2763004094 .ed-element.ed-text > p:first-child::first-letter,
body #ed-2763004094 .ed-element.custom-theme > p:first-child::first-letter,
body #ed-2763004547 .ed-element.ed-text > p:first-child::first-letter,
body #ed-2763004547 .ed-element.custom-theme > p:first-child::first-letter {
  font-size: inherit !important;
  float: none !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: inherit !important;
  color: inherit !important;
  margin: 0 !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

/* Disable eyebrow accent on headings inside */
body #ed-2763002843 .ed-element.ed-headline h2::before,
body #ed-2763002843 .ed-element.ed-headline h3::before,
body #ed-2763002843 .ed-element.ed-text h2::before,
body #ed-2763004094 .ed-element.ed-headline h2::before,
body #ed-2763004094 .ed-element.ed-headline h3::before,
body #ed-2763004547 .ed-element.ed-headline h2::before,
body #ed-2763004547 .ed-element.ed-headline h3::before {
  content: none !important;
  display: none !important;
}

/* Simple white headings (no gradient text fill) */
body #ed-2763002843 .ed-element.ed-headline h1,
body #ed-2763002843 .ed-element.ed-headline h2,
body #ed-2763002843 .ed-element.ed-headline h3,
body #ed-2763002843 .ed-element.ed-headline h4,
body #ed-2763004094 .ed-element.ed-headline h1,
body #ed-2763004094 .ed-element.ed-headline h2,
body #ed-2763004094 .ed-element.ed-headline h3,
body #ed-2763004094 .ed-element.ed-headline h4,
body #ed-2763004547 .ed-element.ed-headline h1,
body #ed-2763004547 .ed-element.ed-headline h2,
body #ed-2763004547 .ed-element.ed-headline h3,
body #ed-2763004547 .ed-element.ed-headline h4 {
  color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: 'Urbanist', 'Inter', system-ui, sans-serif !important;
  font-weight: 600 !important;
}

/* Body text inside footer: plain white */
body #ed-2763002843 .ed-element.ed-text p,
body #ed-2763002843 .ed-element.custom-theme p,
body #ed-2763004094 .ed-element.ed-text p,
body #ed-2763004094 .ed-element.custom-theme p,
body #ed-2763004547 .ed-element.ed-text p,
body #ed-2763004547 .ed-element.custom-theme p {
  color: #ffffff !important;
  font-family: 'Urbanist', sans-serif !important;
}

/* Email + phone links: plain white, no fancy underline */
body #ed-2763002843 .ed-element.ed-text a:not(.button),
body #ed-2763002843 .ed-element.custom-theme a:not(.button),
body #ed-2763004094 .ed-element.ed-text a:not(.button),
body #ed-2763004094 .ed-element.custom-theme a:not(.button),
body #ed-2763004547 .ed-element.ed-text a:not(.button),
body #ed-2763004547 .ed-element.custom-theme a:not(.button) {
  color: #ffffff !important;
  background: none !important;
  background-image: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
  padding-bottom: 1px !important;
  font-weight: 500 !important;
  transition: border-color .2s ease !important;
}

body #ed-2763002843 .ed-element.ed-text a:not(.button):hover,
body #ed-2763002843 .ed-element.custom-theme a:not(.button):hover,
body #ed-2763004094 .ed-element.ed-text a:not(.button):hover,
body #ed-2763004094 .ed-element.custom-theme a:not(.button):hover,
body #ed-2763004547 .ed-element.ed-text a:not(.button):hover,
body #ed-2763004547 .ed-element.custom-theme a:not(.button):hover {
  border-bottom-color: #ffffff !important;
  color: #ffffff !important;
}

/* SVG icons inside footer: simple white, no animations */
body #ed-2763002843 .ed-element.ed-svg svg,
body #ed-2763002843 .ed-element.ed-icon svg,
body #ed-2763004094 .ed-element.ed-svg svg,
body #ed-2763004094 .ed-element.ed-icon svg,
body #ed-2763004547 .ed-element.ed-svg svg,
body #ed-2763004547 .ed-element.ed-icon svg {
  fill: #ffffff !important;
  transition: none !important;
}

/* Footer headline accents (the dash before/after Kontakt etc) - kill them */
body #ed-2763002843 .ed-element.ed-headline h3::before,
body #ed-2763002843 .ed-element.ed-headline h3::after,
body #ed-2763004094 .ed-element.ed-headline h3::before,
body #ed-2763004094 .ed-element.ed-headline h3::after,
body #ed-2763004547 .ed-element.ed-headline h3::before,
body #ed-2763004547 .ed-element.ed-headline h3::after {
  content: none !important;
}

/* Kill EVERY effect inside the simple footer */
body #ed-2763002843,
body #ed-2763002843 *,
body #ed-2763002843 *::before,
body #ed-2763002843 *::after,
body #ed-2763004094,
body #ed-2763004094 *,
body #ed-2763004094 *::before,
body #ed-2763004094 *::after,
body #ed-2763004547,
body #ed-2763004547 *,
body #ed-2763004547 *::before,
body #ed-2763004547 *::after {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* No hover effects inside the footer */
body #ed-2763002843 *:hover,
body #ed-2763004094 *:hover,
body #ed-2763004547 *:hover {
  transform: none !important;
  filter: none !important;
  background: inherit !important;
  color: inherit !important;
  border-color: inherit !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

/* Email and phone links: static white, plain underline, no hover */
body #ed-2763002843 .ed-element.ed-text a,
body #ed-2763002843 .ed-element.custom-theme a,
body #ed-2763004094 .ed-element.ed-text a,
body #ed-2763004094 .ed-element.custom-theme a,
body #ed-2763004547 .ed-element.ed-text a,
body #ed-2763004547 .ed-element.custom-theme a {
  color: #ffffff !important;
  background: none !important;
  background-image: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
  font-weight: 500 !important;
}

body #ed-2763002843 .ed-element.ed-text a:hover,
body #ed-2763002843 .ed-element.custom-theme a:hover,
body #ed-2763004094 .ed-element.ed-text a:hover,
body #ed-2763004094 .ed-element.custom-theme a:hover,
body #ed-2763004547 .ed-element.ed-text a:hover,
body #ed-2763004547 .ed-element.custom-theme a:hover {
  color: #ffffff !important;
  border-bottom-color: rgba(255, 255, 255, 0.5) !important;
  background: none !important;
  background-image: none !important;
}

/* SVG icons in footer: pure white, no fill changes ever */
body #ed-2763002843 svg,
body #ed-2763004094 svg,
body #ed-2763004547 svg,
body #ed-2763002843 *:hover svg,
body #ed-2763004094 *:hover svg,
body #ed-2763004547 *:hover svg {
  fill: #ffffff !important;
  background: none !important;
  border: none !important;
}

/* No focus outline rings inside footer either */
body #ed-2763002843 *:focus,
body #ed-2763002843 *:focus-visible,
body #ed-2763004094 *:focus,
body #ed-2763004094 *:focus-visible,
body #ed-2763004547 *:focus,
body #ed-2763004547 *:focus-visible {
  outline: none !important;
}

/* === Final bulletproof override for footer links === */
html body #ed-2763002843 a,
html body #ed-2763002843 a[href],
html body #ed-2763002843 a[href*="mailto"],
html body #ed-2763002843 a[href*="tel"],
html body #ed-2763002843 p a,
html body #ed-2763002843 .ed-element a,
html body #ed-2763004094 a,
html body #ed-2763004094 a[href],
html body #ed-2763004094 p a,
html body #ed-2763004094 .ed-element a,
html body #ed-2763004547 a,
html body #ed-2763004547 a[href],
html body #ed-2763004547 p a,
html body #ed-2763004547 .ed-element a {
  color: #ffffff !important;
  background: none !important;
  background-image: none !important;
  background-size: auto !important;
  border-bottom: 1px solid rgba(255,255,255,0.5) !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  -webkit-text-fill-color: #ffffff !important;
}

html body #ed-2763002843 a:hover,
html body #ed-2763002843 p a:hover,
html body #ed-2763004094 a:hover,
html body #ed-2763004094 p a:hover,
html body #ed-2763004547 a:hover,
html body #ed-2763004547 p a:hover {
  color: #ffffff !important;
  background: none !important;
  background-image: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.5) !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* All paragraph text in footer: white */
html body #ed-2763002843 p,
html body #ed-2763004094 p,
html body #ed-2763004547 p {
  color: #ffffff !important;
}

/* All headlines in footer: white, plain */
html body #ed-2763002843 h1,
html body #ed-2763002843 h2,
html body #ed-2763002843 h3,
html body #ed-2763002843 h4,
html body #ed-2763004094 h1,
html body #ed-2763004094 h2,
html body #ed-2763004094 h3,
html body #ed-2763004094 h4,
html body #ed-2763004547 h1,
html body #ed-2763004547 h2,
html body #ed-2763004547 h3,
html body #ed-2763004547 h4 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}

/* --- 25. Body wrapper: vignette + floating leaf -- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 50%, rgba(14, 67, 56, 0.04) 100%),
    /* Floating leaf bottom-left, drifts up & down */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M50 8 Q72 28 78 50 Q72 72 50 92 Q28 72 22 50 Q28 28 50 8 Z' fill='none' stroke='%231b7865' stroke-width='1.3' stroke-opacity='0.35'/><line x1='50' y1='13' x2='50' y2='87' stroke='%231b7865' stroke-width='0.8' stroke-opacity='0.28'/></svg>");
  background-repeat: no-repeat, no-repeat;
  background-position: center center, 40px calc(100% - 100px);
  background-size: cover, 160px 160px;
  pointer-events: none;
  z-index: 1;
  animation: rp-floaty 14s ease-in-out infinite;
}

/* --- 25b. Animated gradient text on h2 (skip footer) -- */
@keyframes rp-text-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

body .ed-element.ed-headline h2,
body .ed-element.ed-text h2 {
  background: linear-gradient(90deg, #0e4338 0%, #1b7865 30%, #2c9e85 50%, #1b7865 70%, #0e4338 100%) !important;
  background-size: 200% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: rp-text-gradient 10s ease-in-out infinite !important;
}

/* --- 25c. Pulsing glow ring on service icons --------- */
@keyframes rp-icon-pulse {
  0%, 100% {
    box-shadow:
      0 12px 28px -8px rgba(27, 120, 101, 0.3),
      0 0 0 0 rgba(160, 224, 96, 0),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
  50% {
    box-shadow:
      0 14px 32px -8px rgba(27, 120, 101, 0.35),
      0 0 0 10px rgba(160, 224, 96, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
}

body .ed-element.boxes-box .boxes-icon svg {
  animation: rp-icon-pulse 3.5s ease-in-out infinite !important;
}

body .ed-element.boxes-box:hover .boxes-icon svg {
  animation: none !important;
}

/* --- 25d. Wavy SVG curve divider on hero sections --- */
body .ed-element.bg-primary > .inner > .ed-element:first-child::before,
body .ed-element[style*="rgb(27, 120, 101)"] > .inner > .ed-element:first-child::before {
  /* No-op slot for future top curve */
}

/* Bottom-of-hero curve transition into next section */
body .ed-element.bg-primary {
  position: relative;
}

/* --- 25e. Subtle paper-grain on cards ---------------- */
body .ed-element.preset-boxes-v3-landscaper {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(246,248,247,0.7)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.10  0 0 0 0 0.47  0 0 0 0 0.40  0 0 0 0.025 0'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>") !important;
  background-size: cover, 240px 240px !important;
}

/* --- 25f. 3D-tilt feel on service tiles hover -------- */
body .ed-element.boxes-box {
  perspective: 800px;
}

body .ed-element.boxes-box:hover {
  transform: translateY(-5px) rotateX(2deg) !important;
}

/* --- 25g. Animated pulsing border ring on cards ------ */
body .ed-element.preset-boxes-v3-landscaper {
  position: relative;
}

body .ed-element.preset-boxes-v3-landscaper > .inner::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 36px;
  background: linear-gradient(135deg, #a0e060, #2c9e85, #1b7865, #a0e060);
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0;
  filter: blur(14px);
  transition: opacity .5s ease;
  animation: rp-text-gradient 8s ease-in-out infinite;
  pointer-events: none;
}

body .ed-element.preset-boxes-v3-landscaper:hover > .inner::after {
  opacity: 0.55;
}

/* --- 25h. Drifting petals (top-right of screen) ----- */
@keyframes rp-petal-drift {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.45; }
  50% { transform: translate(-40px, 90px) rotate(120deg); opacity: 0.5; }
  90% { opacity: 0.3; }
  100% { transform: translate(60px, 200px) rotate(360deg); opacity: 0; }
}

/* Use a sibling-of-body decoration via main HTML element if possible */
/* Drifting petal on right ~30% scroll */
@supports (animation-timeline: view()) {
  body .ed-element.bg-primary > .inner > *:first-child {
    /* could anchor a child decoration */
  }
}

/* --- 26. Body::before — fixed half-circle ring on right edge --- */
body::before {
  content: '';
  position: fixed;
  top: 50%;
  right: -180px;
  transform: translateY(-50%);
  width: 460px;
  height: 460px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><circle cx='200' cy='100' r='180' fill='none' stroke='%231b7865' stroke-width='1.5' stroke-opacity='0.15'/><circle cx='200' cy='100' r='140' fill='none' stroke='%231b7865' stroke-width='1.2' stroke-opacity='0.12'/><circle cx='200' cy='100' r='100' fill='none' stroke='%23a0e060' stroke-width='1' stroke-opacity='0.12'/><circle cx='200' cy='100' r='60' fill='none' stroke='%231b7865' stroke-width='0.8' stroke-opacity='0.08'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 768px) {
  body::before { display: none; }
  body::after { background-size: cover, 110px 110px; }
}

/* ====================================================
   v4 — More design & animation passes
   Affects everything EXCEPT the Adresse/Telefon/Kontakt footer
   ==================================================== */

/* v4.1 — Shimmering rainbow gradient text on h1 */
@keyframes rp-shimmer-h1 {
  0% { background-position: -150% 50%; }
  100% { background-position: 250% 50%; }
}

body .ed-element h1, body .ed-element .h1 {
  background: linear-gradient(90deg, #0e4338 0%, #1b7865 25%, #a0e060 50%, #1b7865 75%, #0e4338 100%) !important;
  background-size: 200% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  animation: rp-shimmer-h1 8s linear infinite !important;
}

/* v4.2 — Animated underline accent below h2 */
@keyframes rp-line-grow {
  0%, 100% { transform: scaleX(1); opacity: .8; }
  50% { transform: scaleX(1.15); opacity: 1; }
}

body .ed-element.ed-headline h2::after {
  content: '';
  display: block;
  width: 90px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #1b7865, #a0e060, #1b7865, transparent);
  margin-top: 18px;
  transform-origin: left center;
  animation: rp-line-grow 4s ease-in-out infinite;
  border-radius: 2px;
}

body .ed-element.ed-headline[style*="text-align: center"] h2::after,
body .ed-element.ed-text[style*="text-align: center"] h2::after {
  margin-left: auto;
  margin-right: auto;
  transform-origin: center center;
}

/* v4.3 — Twinkling lime sparkle decorations on hero sections */
@keyframes rp-twinkle-1 {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.4); }
}

@keyframes rp-twinkle-2 {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  60% { opacity: 0.9; transform: scale(1.2); }
}

@keyframes rp-twinkle-3 {
  0%, 100% { opacity: 0.1; transform: scale(0.7); }
  40% { opacity: 1; transform: scale(1.5); }
}

body .ed-element.bg-primary > .inner::before {
  content: '';
  position: absolute;
  top: 30%; left: 10%;
  width: 6px; height: 6px;
  background: radial-gradient(circle, #a0e060 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: rp-twinkle-1 3s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(160, 224, 96, 0.8);
  z-index: 1;
}

body .ed-element.bg-primary > .inner::after {
  content: '';
  position: absolute;
  top: 70%; right: 20%;
  width: 5px; height: 5px;
  background: radial-gradient(circle, #ffffff 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: rp-twinkle-2 2.5s ease-in-out infinite 0.8s;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
  z-index: 1;
}

/* v4.4 — Liquid morphing blob in bg-primary corner */
@keyframes rp-blob-morph {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translate(0, 0) rotate(0deg); }
  25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: translate(8px, -10px) rotate(45deg); }
  50% { border-radius: 50% 50% 30% 70% / 30% 40% 70% 60%; transform: translate(-6px, 8px) rotate(-30deg); }
  75% { border-radius: 30% 60% 70% 30% / 70% 30% 60% 40%; transform: translate(-10px, -6px) rotate(60deg); }
}

body .ed-element.preset-boxes-v3-landscaper > .inner::before {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(160, 224, 96, 0.2) 0%, rgba(27, 120, 101, 0.1) 50%, transparent 80%);
  pointer-events: none;
  animation: rp-blob-morph 14s ease-in-out infinite;
  z-index: 0;
  filter: blur(4px);
}

/* v4.5 — Glowing nav active state */
body .ed-menu > ul > li > a.active:not(.button) {
  text-shadow: 0 0 18px rgba(160, 224, 96, 0.5);
}

/* v4.6 — Button pulsing glow ring */
@keyframes rp-btn-pulse {
  0%, 100% {
    box-shadow:
      0 12px 30px -10px rgba(14, 67, 56, 0.55),
      0 0 0 0 rgba(160, 224, 96, 0),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }
  50% {
    box-shadow:
      0 14px 32px -10px rgba(14, 67, 56, 0.6),
      0 0 0 6px rgba(160, 224, 96, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

body a.button:not(.menu-trigger-inner):not(.wv-link-content) {
  animation: rp-btn-pulse 4s ease-in-out infinite !important;
}

/* --- 24d. Footer contact tiles: 4-column layout (Adresse/Telefon/Kontakt/Instagram) --- */
body .ed-element.preset-footer-heimdall-v2-landscaper .footer-heimdall-box {
  flex-basis: calc(25% - 2rem) !important;
  max-width: calc(25% - 2rem) !important;
}
@media screen and (max-width: 60.9375rem) {
  body .ed-element.preset-footer-heimdall-v2-landscaper .footer-heimdall-box {
    flex-basis: calc(50% - 2rem) !important;
    max-width: calc(50% - 2rem) !important;
  }
}
@media screen and (max-width: 35.9375rem) {
  body .ed-element.preset-footer-heimdall-v2-landscaper .footer-heimdall-box {
    flex-basis: calc(100% - 50px) !important;
    max-width: calc(100% - 50px) !important;
  }
}

body a.button:not(.menu-trigger-inner):not(.wv-link-content):hover {
  animation: none !important;
}

/* v4.7 — Animated drifting decorative dots (page-level) */
@keyframes rp-dot-drift-a {
  0% { transform: translate(0, 0); opacity: 0; }
  10%, 90% { opacity: .65; }
  50% { transform: translate(50px, -120px); opacity: 1; }
  100% { transform: translate(120px, -300px); opacity: 0; }
}

@keyframes rp-dot-drift-b {
  0% { transform: translate(0, 0); opacity: 0; }
  10%, 90% { opacity: .5; }
  50% { transform: translate(-30px, -160px); opacity: 0.8; }
  100% { transform: translate(-90px, -320px); opacity: 0; }
}

/* Add drifting sparkles via the nav menu's wrapper */
body .ed-menu::before {
  content: '';
  position: absolute;
  top: 12px; left: 30%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, #a0e060, transparent 70%);
  box-shadow: 0 0 10px rgba(160, 224, 96, 0.7);
  animation: rp-dot-drift-a 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

body .ed-menu {
  position: relative;
}

/* v4.8 — Image gradient border that drifts */
@keyframes rp-img-border {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

body .ed-element.ed-image:not(.ed-logo)::after {
  background: linear-gradient(135deg, #2c9e85, #1b7865, #a0e060, #2c9e85, #1b7865) !important;
  background-size: 300% 300% !important;
  animation: rp-img-border 8s ease-in-out infinite !important;
}

/* v4.9 — Section reveal-on-scroll for text/headlines (modern browsers) */
@supports (animation-timeline: view()) {
  body .ed-element.ed-text:not(.preset-footer-heimdall-v2-landscaper .ed-text):not(.preset-contact-form-v3-landscaper .ed-text) {
    animation: rp-fade-up linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 30%;
  }
}

/* v4.10 — Card hover: cursor-area gradient highlight (subtle reactive feel) */
body .ed-element.preset-boxes-v3-landscaper {
  overflow: hidden;
}

body .ed-element.preset-boxes-v3-landscaper > .inner {
  position: relative;
}

body .ed-element.preset-boxes-v3-landscaper > .inner > * {
  position: relative;
  z-index: 1;
}

/* v4.11 — Decorative SVG line ornament under h2 */
body .ed-element.ed-headline h2 + * {
  position: relative;
}

/* v4.12 — Animated halo behind text in dark hero */
body .ed-element.bg-primary .ed-element.ed-headline,
body .ed-element[style*="rgb(27, 120, 101)"] .ed-element.ed-headline {
  position: relative;
}

body .ed-element.bg-primary .ed-element.ed-headline > h1::before,
body .ed-element[style*="rgb(27, 120, 101)"] .ed-element.ed-headline > h1::before {
  content: '';
  position: absolute;
  inset: -20px -10px;
  background: radial-gradient(ellipse at center, rgba(160,224,96,0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
  filter: blur(20px);
}

/* v4.13 — Map pulsing border ring */
@keyframes rp-map-pulse {
  0%, 100% { box-shadow: 0 28px 60px -22px rgba(14,67,56,0.32), 0 0 0 0 rgba(27,120,101,0.0); }
  50% { box-shadow: 0 28px 60px -22px rgba(14,67,56,0.32), 0 0 0 8px rgba(27,120,101,0.12); }
}

body .ed-element.ed-map,
body .map-canvas {
  animation: rp-map-pulse 4s ease-in-out infinite !important;
}

/* v4.14 — Form input focus ring glow */
body .ed-element.preset-contact-form-v3-landscaper input:focus,
body .ed-element.preset-contact-form-v3-landscaper textarea:focus {
  box-shadow: 0 4px 12px -2px rgba(27,120,101,0.25) !important;
}

/* v4.15 — Smooth color shift on link hovers across content */
body .ed-element.ed-text a:not(.button):hover {
  text-shadow: 0 0 12px rgba(160, 224, 96, 0.4);
}

/* ===== FINAL re-overrides AFTER all v3 additions ===== */
/* Footer contact section stays plain white & static no matter what */
html body .ed-element.preset-footer-heimdall-v2-landscaper h1,
html body .ed-element.preset-footer-heimdall-v2-landscaper h2,
html body .ed-element.preset-footer-heimdall-v2-landscaper h3,
html body .ed-element.preset-footer-heimdall-v2-landscaper h4,
html body .ed-element.preset-footer-heimdall-v2-landscaper p,
html body .ed-element.preset-footer-heimdall-v2-landscaper span,
html body .ed-element.preset-footer-heimdall-v2-landscaper a {
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
  animation: none !important;
  transition: none !important;
}

/* Hero (bg-primary) headlines stay solid white over the gradient bg */
html body .ed-element.bg-primary h1,
html body .ed-element.bg-primary h2,
html body .ed-element.bg-primary h3,
html body .ed-element.bg-primary h4,
html body .ed-element[style*="rgb(27, 120, 101)"] h1,
html body .ed-element[style*="rgb(27, 120, 101)"] h2,
html body .ed-element[style*="rgb(27, 120, 101)"] h3,
html body .ed-element[style*="rgb(27, 120, 101)"] h4 {
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
  animation: none !important;
}

/* Footer icons still pure white, no pulsing */
html body .ed-element.preset-footer-heimdall-v2-landscaper .boxes-icon svg,
html body .ed-element.preset-footer-heimdall-v2-landscaper svg {
  animation: none !important;
  box-shadow: none !important;
  fill: #ffffff !important;
}

/* Hard universal block — kill every animation/transition/glow inside footer
   Higher specificity than any v4 animation rule */
html body .ed-element.preset-footer-heimdall-v2-landscaper,
html body .ed-element.preset-footer-heimdall-v2-landscaper *,
html body .ed-element.preset-footer-heimdall-v2-landscaper *::before,
html body .ed-element.preset-footer-heimdall-v2-landscaper *::after {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  background-image: none !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Footer pseudo elements: kill any decorative additions */
html body .ed-element.preset-footer-heimdall-v2-landscaper h2::before,
html body .ed-element.preset-footer-heimdall-v2-landscaper h2::after,
html body .ed-element.preset-footer-heimdall-v2-landscaper h3::before,
html body .ed-element.preset-footer-heimdall-v2-landscaper h3::after {
  content: none !important;
  display: none !important;
}

/* But keep the teal background on inner content */
html body .ed-element.preset-footer-heimdall-v2-landscaper .footer-heimdall-content {
  background: #1b7865 !important;
  background-color: #1b7865 !important;
  background-image: none !important;
}

/* --- 25. Galerie page: editorial masonry layout -------------------- */
.gallery-hero {
  background: #1b7865;
  padding: 110px 24px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gallery-hero::before {
  content: "";
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
  z-index: 0;
}
.gallery-leaf {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.gallery-leaf-1 {
  right: -60px;
  top: 30px;
  width: 240px;
  transform: rotate(18deg);
  opacity: 0.95;
}
.gallery-leaf-2 {
  left: -50px;
  bottom: -30px;
  width: 220px;
  transform: rotate(-22deg);
  opacity: 0.9;
}
.gallery-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}
.gallery-eyebrow {
  display: inline-block;
  font-family: Urbanist, sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 4px;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 22px;
  padding: 7px 18px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.gallery-title {
  font-family: Urbanist, sans-serif;
  font-weight: 600;
  font-size: 72px;
  line-height: 1.05;
  color: #ffffff;
  margin: 0 0 26px;
  letter-spacing: -1.5px;
}
.gallery-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  gap: 10px;
}
.gallery-divider::before,
.gallery-divider::after {
  content: "";
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.75), transparent);
}
.gallery-divider span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  flex-shrink: 0;
}
.gallery-lede {
  font-family: Urbanist, sans-serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255,255,255,0.92);
  margin: 0 auto;
  max-width: 600px;
}
@media screen and (max-width: 60.9375rem) {
  .gallery-hero { padding: 84px 24px 50px; }
  .gallery-title { font-size: 56px; letter-spacing: -1px; }
  .gallery-lede { font-size: 17px; }
  .gallery-leaf-1 { width: 200px; right: -50px; top: 20px; }
  .gallery-leaf-2 { width: 190px; left: -40px; bottom: -25px; }
}
@media screen and (max-width: 35.9375rem) {
  .gallery-hero { padding: 64px 20px 40px; }
  .gallery-eyebrow { font-size: 10px; letter-spacing: 3px; padding: 6px 14px; margin-bottom: 18px; }
  .gallery-title { font-size: 42px; letter-spacing: -0.5px; margin-bottom: 18px; }
  .gallery-divider::before, .gallery-divider::after { width: 28px; }
  .gallery-lede { font-size: 15px; line-height: 1.6; }
  .gallery-leaf-1 { width: 150px; right: -40px; top: 14px; opacity: 0.85; }
  .gallery-leaf-2 { display: none; }
}

/* Gallery container */
body .ed-element.preset-gallery-v3-landscaper-portfolio-page {
  padding: 24px 32px 100px !important;
  background: #f3f7f6 !important;
}
body .ed-element.preset-gallery-v3-landscaper-portfolio-page > .inner {
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
body .ed-element.preset-gallery-v3-landscaper-portfolio-page .ed-gallery { width: 100%; }

/* CSS-grid masonry approximation: fine-row grid + varied span per item */
body .ed-element.preset-gallery-v3-landscaper-portfolio-page ul.ed-gallery-items {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
  grid-auto-rows: auto !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
}
@media screen and (max-width: 60.9375rem) {
  body .ed-element.preset-gallery-v3-landscaper-portfolio-page {
    padding: 16px 24px 72px !important;
  }
  body .ed-element.preset-gallery-v3-landscaper-portfolio-page ul.ed-gallery-items {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
    gap: 14px !important;
  }
}
@media screen and (max-width: 35.9375rem) {
  body .ed-element.preset-gallery-v3-landscaper-portfolio-page {
    padding: 12px 16px 56px !important;
  }
  body .ed-element.preset-gallery-v3-landscaper-portfolio-page ul.ed-gallery-items {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    grid-auto-rows: auto !important;
  }
}

/* Each thumbnail card */
body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(20, 50, 42, 0.07);
  background: #ffffff;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  /* default span = square-ish (24 rows * 10px + gaps ≈ 280px) */
  aspect-ratio: 1 / 1;
  opacity: 0;
  animation: gallery-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@media screen and (max-width: 35.9375rem) {
  body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb { border-radius: 12px; }
}
/* Staggered entrance */
@keyframes gallery-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb:nth-child(1)  { animation-delay: 0.00s; }
body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb:nth-child(2)  { animation-delay: 0.05s; }
body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb:nth-child(3)  { animation-delay: 0.10s; }
body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb:nth-child(4)  { animation-delay: 0.15s; }
body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb:nth-child(5)  { animation-delay: 0.20s; }
body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb:nth-child(6)  { animation-delay: 0.25s; }
body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb:nth-child(7)  { animation-delay: 0.30s; }
body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb:nth-child(8)  { animation-delay: 0.35s; }
body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb:nth-child(n+9) { animation-delay: 0.40s; }

body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(27, 120, 101, 0.22);
}

body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb > a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  position: relative;
}

/* Hover overlay reveal */
body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb > a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 50, 42, 0) 50%, rgba(20, 50, 42, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}
body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb > a::before {
  content: "Ansehen \2192";
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-family: Urbanist, sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 3;
  pointer-events: none;
}
body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb:hover > a::after { opacity: 1; }
body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb:hover > a::before {
  opacity: 1;
  transform: translateY(0);
}

body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) !important;
  border-radius: inherit !important;
}
body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb:hover img {
  transform: scale(1.07) !important;
}
  background: linear-gradient(180deg, rgba(20, 50, 42, 0) 50%, rgba(20, 50, 42, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}
body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb > a::before {
  content: "Ansehen \2192";
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-family: Urbanist, sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 3;
  pointer-events: none;
}
body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb:hover > a::after { opacity: 1; }
body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb:hover > a::before {
  opacity: 1;
  transform: translateY(0);
}

body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) !important;
  border-radius: inherit !important;
}
body .ed-element.preset-gallery-v3-landscaper-portfolio-page li.ed-gallery-thumb:hover img {
  transform: scale(1.07) !important;
}

/* --- AM mobile menu (custom) -------------------- */
#am-burger, #am-drawer { display: none; }
body.am-menu-open { overflow: hidden; }

@media (max-width: 975px) {
  /* hide CMS desktop nav + their burger */
  html body [class*="preset-menu-v2-landscaper"] .ed-menu,
  html body [class*="preset-menu-v2-landscaper"] .mobile-cont,
  html body [class*="preset-menu-v2-landscaper"] .menu-trigger,
  html body [class*="preset-menu-v2-landscaper"] .menu-trigger-box,
  html body [class*="preset-menu-v2-landscaper"] .menu-trigger-inner {
    display: none !important;
  }
  /* keep logo */
  html body [class*="preset-menu-v2-landscaper"] .ed-logo,
  html body [class*="preset-menu-v2-landscaper"] .ed-logo a,
  html body [class*="preset-menu-v2-landscaper"] .ed-logo img {
    display: block !important; opacity: 1 !important; visibility: visible !important;
  }
  html body [class*="preset-menu-v2-landscaper"] .ed-logo img { max-width: 160px !important; height: auto !important; }
  html body [class*="preset-menu-v2-landscaper"] > .inner {
    display: flex !important;
    align-items: center !important;
    padding: 14px 64px 14px 16px !important;
  }

  /* MY floating burger */
  #am-burger {
    display: block !important;
    position: fixed !important;
    top: 18px !important;
    right: 16px !important;
    width: 44px !important;
    height: 44px !important;
    z-index: 100000 !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
  }
  #am-burger span {
    display: block;
    position: absolute;
    left: 9px;
    right: 9px;
    height: 2.5px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
  }
  #am-burger span:nth-child(1) { top: 14px; }
  #am-burger span:nth-child(2) { top: 22px; }
  #am-burger span:nth-child(3) { top: 30px; }
  body.am-menu-open #am-burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
  body.am-menu-open #am-burger span:nth-child(2) { opacity: 0; }
  body.am-menu-open #am-burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

  /* MY drawer */
  body.am-menu-open #am-drawer {
    display: flex !important;
    position: fixed !important;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: #1b7865;
    z-index: 99999;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 90px 0 40px 0;
    box-sizing: border-box;
    overflow-y: auto;
  }
  body.am-menu-open #am-drawer a {
    display: block;
    padding: 22px 28px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: 22px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.18);
  }
  body.am-menu-open #am-drawer a:last-child { border-bottom: none; }
  body.am-menu-open #am-drawer a:active { background: rgba(255,255,255,0.12); }
}

@media (min-width: 976px) {
  #am-burger, #am-drawer { display: none !important; }
}
/* --- AM mobile menu END --- */