/* ═══════════════════════════════════════════
   Weiss Garten- & Landschaftsbau – style.css
   ═══════════════════════════════════════════ */

/* ─── CSS VARIABLES ─── */
:root {
  --green-dark:   #1a4731;
  --green-mid:    #2d6a4f;
  --green-accent: #2ea043;
  --green-light:  #52b788;
  --text-dark:    #1a1a1a;
  --text-gray:    #555;
  --white:        #fff;
  --bg-light:     #f7f9f6;
  --border:       #dde8e1;
  --footer-bg:    #0f2d1e;
}

/* ─── RESET / BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}

img, svg, video {
  max-width: 100%;
}

/* ─── SKIP LINK ─── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  background: var(--green-dark);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

/* ─── NAVIGATION ─── */
nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: var(--footer-bg);
  border-bottom: none;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(15,45,30,0.15); }

/* Offset for fixed nav when jumping to anchors */
section[id],
[id="kontakt"] {
  scroll-margin-top: 90px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--green-accent);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--green-accent); }
.nav-links a:focus-visible { outline: 2px solid var(--green-light); outline-offset: 2px; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--green-light); }

.nav-cta {
  background: var(--green-accent) !important;
  color: white !important;
  padding: 0.5rem 1.3rem;
  border-radius: 7px;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--green-dark) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  cursor: pointer;
}
.nav-dropdown-toggle::after {
  display: none !important;
}
.nav-dropdown-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 5px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.2s;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--footer-bg);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  list-style: none;
  min-width: 220px;
  box-shadow: 0 8px 32px rgba(15,45,30,0.3);
  padding: 0.5rem 0;
  z-index: 1001;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--footer-bg);
}
.nav-dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}
.nav-dropdown-menu li a:hover {
  color: var(--green-light);
  background: rgba(255,255,255,0.05);
}
.nav-dropdown-menu li a:focus-visible { outline: 2px solid var(--green-light); outline-offset: -2px; }
.nav-dropdown-menu li a::after { display: none; }

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}
.nav-dropdown:hover .nav-dropdown-arrow {
  transform: rotate(180deg);
}

/* ─── HERO ─── */
.hero {
  height: 100vh;
  min-height: 620px;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(26,71,49,0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(15,45,30,0.2) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(15,45,30,0.4) 50%, rgba(0,0,0,0.25) 100%),
    url('/images/hero-bg.webp')
    center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 2rem;
}

/* Sub-page hero (smaller) */
.hero-sub {
  height: auto;
  min-height: 340px;
  padding: 8rem 2rem 4rem;
  background: none;
  background-size: cover;
  background-position: center;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
  animation: heroFadeIn 0.8s ease-out 0.2s both;
}
.hero-sub .hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}
.hero-content p {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  opacity: 0.9;
  max-width: 580px;
  margin: 0 auto 2.2rem;
  animation: heroFadeIn 0.8s ease-out 0.45s both;
}
.hero-buttons {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: heroFadeIn 0.8s ease-out 0.65s both;
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--green-accent);
  color: white;
  padding: 0.9rem 2.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(26,71,49,0.3); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline: 2px solid var(--green-light); outline-offset: 2px; }

.btn-outline {
  background: transparent;
  color: white;
  padding: 0.9rem 2.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.65);
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: white; }
.btn-outline:focus-visible { outline: 2px solid white; outline-offset: 2px; }

.btn-whatsapp {
  background: #25D366;
  color: white;
  padding: 0.9rem 2.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s, transform 0.2s;
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); }
.btn-whatsapp:active { transform: translateY(0); }
.btn-whatsapp:focus-visible { outline: 2px solid white; outline-offset: 2px; }

/* ─── SECTION BASE ─── */
section { padding: 5.5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::after {
  content: '';
  display: inline-block;
  width: 48px;
  height: 3px;
  background: var(--green-accent);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--text-gray);
  font-size: 1.05rem;
  max-width: 580px;
}
.section-header { margin-bottom: 3.5rem; }

/* ─── LEISTUNGEN ─── */
#leistungen { background: var(--bg-light); position: relative; }
#ueber-uns { position: relative; }

#leistungen::before,
#ueber-uns::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(26,71,49,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.service-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(26,71,49,0.06), 0 8px 32px rgba(26,71,49,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 12px rgba(26,71,49,0.1), 0 20px 48px rgba(26,71,49,0.14);
}
.service-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-img {
  width: 100%; height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.service-card:hover .service-img {
  transform: scale(1.03);
}
.service-body { padding: 1.2rem 1.8rem; text-align: center; }
.service-icon { font-size: 2rem; margin-bottom: 0.8rem; color: var(--green-accent); }
.service-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}
.service-body > p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.7; }

.service-list { list-style: none; margin-top: 1rem; }
.service-list li {
  padding: 0.3rem 0;
  color: var(--text-gray);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.service-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green-accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.service-card a.service-more,
a.service-more {
  display: inline-block;
  margin-top: 1.1rem;
  padding: 0.95rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  background: var(--green-accent);
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.service-card a.service-more:visited,
a.service-more:visited {
  color: #ffffff;
}
.service-card a.service-more:hover,
a.service-more:hover {
  background: var(--green-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26,71,49,0.3);
}
.service-card a.service-more:focus-visible,
a.service-more:focus-visible {
  outline: 2px solid var(--green-light);
  outline-offset: 2px;
}
.service-card a.service-cta,
a.service-cta {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.55rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.service-card a.service-cta:hover,
a.service-cta:hover {
  background: var(--green-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ─── ÜBER UNS ─── */
#ueber-uns {
  background: var(--bg-light);
  padding-top: 2.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.about-image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-text p { color: var(--text-gray); line-height: 1.85; margin-top: 1rem; font-size: 1rem; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2.2rem;
}
.stat-box {
  background: white;
  border-radius: 12px;
  padding: 1.3rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(26,71,49,0.06);
}
.stat-box .num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green-accent);
  line-height: 1;
}
.stat-box .lbl {
  font-size: 0.82rem;
  color: var(--text-gray);
  margin-top: 0.35rem;
}

/* ─── REFERENZEN ─── */
#referenzen { background: white; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 2px 16px rgba(26,71,49,0.05);
}

/* Mobile: Swipe-Karussell statt gestapelter Karten */
.swipe-progress { display: none; }
@media (max-width: 768px) {
  .testimonials-grid {
    display: flex;
    grid-template-columns: none;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.5rem 0 1.5rem;
    margin: 0 -1.5rem;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonials-grid .testimonial-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    margin: 0 1.5rem;
  }
  .swipe-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
  }
  .swipe-progress-seg {
    display: block;
    height: 3px;
    width: 28px;
    border-radius: 2px;
    background: rgba(0,0,0,0.12);
    transition: background 0.25s ease, width 0.25s ease;
  }
  .swipe-progress-seg.active {
    background: var(--green-accent);
    width: 40px;
  }
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; left: 1.5rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--green-accent);
  opacity: 0.25;
  font-family: Georgia, serif;
}
.testimonial-text {
  color: var(--text-gray);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-initials {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-dark);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }
.testimonial-location { font-size: 0.82rem; color: var(--text-gray); }
.testimonial-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 0.3rem; }

/* ─── GALERIE ─── */
#galerie { background: var(--bg-light); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,71,49,0.4) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.gallery-item:hover::after {
  opacity: 1;
}
.gallery-item.wide { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ─── KONTAKT ─── */
.contact-section {
  background:
    radial-gradient(ellipse at 10% 90%, rgba(82,183,136,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(15,45,30,0.5) 0%, transparent 60%),
    var(--green-dark);
  color: white;
}
.contact-section .section-title { color: white; }
.contact-section .section-desc { color: rgba(255,255,255,0.72); }
.contact-section .section-label { color: var(--green-light); }
.contact-section .section-label::after { background: var(--green-light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-col { display: flex; flex-direction: column; }
.contact-info-col .section-title { margin-top: 0.25rem; }
.contact-info-col .contact-map { margin-top: 2rem; }
.contact-info-col .contact-map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 12px;
}

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item-icon {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-text h4 { font-weight: 600; margin-bottom: 0.2rem; }
.contact-item-text p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.contact-item-text p a { color: #fff; font-weight: 600; text-decoration: none; }
.contact-item-text p a:hover { text-decoration: underline; text-underline-offset: 3px; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.75); }

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  min-height: 48px;
  color: white;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible { border-color: var(--green-light); outline: 2px solid var(--green-light); outline-offset: 2px; }
.form-group select option { color: var(--text-dark); background: white; }
.form-group textarea { resize: vertical; min-height: 120px; }

.btn-submit {
  background: var(--green-accent);
  color: white;
  border: none;
  padding: 0.95rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.2s;
}
.btn-submit:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(26,71,49,0.3); }
.btn-submit:active { transform: translateY(0); }
.btn-submit:focus-visible { outline: 2px solid var(--green-light); outline-offset: 2px; }

.form-consent { margin-top: 0.25rem; }
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
}
.consent-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--green-light);
  cursor: pointer;
}
.consent-label a { color: white; text-decoration: underline; text-underline-offset: 2px; }
.consent-label a:hover { color: var(--green-light); }
.consent-label a:focus-visible { outline: 2px solid var(--green-light); outline-offset: 2px; border-radius: 2px; }

.contact-cta-block {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.contact-cta-text {
  color: white;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 1.4rem;
}
.contact-cta-btn {
  font-size: 1.05rem;
  padding: 1rem 2.2rem;
}

/* ─── WHATSAPP FAB ─── */
.whatsapp-fab {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 999;
  background: #25D366;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45), 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,0.55), 0 3px 10px rgba(0,0,0,0.18);
}
.whatsapp-fab:active { transform: scale(0.97); }
.whatsapp-fab:focus-visible { outline: 2px solid white; outline-offset: 2px; }

/* ─── FOOTER ─── */
footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
}
.footer-top {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 3rem;
  align-items: start;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-contact strong {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.footer-contact a,
.footer-contact span {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  padding: 0.15rem 0;
}
.footer-contact a:hover { color: var(--green-light); }
.footer-contact a:focus-visible { outline: 2px solid var(--green-light); outline-offset: 2px; }

.footer-nav {
  display: flex;
  gap: 3rem;
}
.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.footer-nav-col strong {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}
.footer-nav-col a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  padding: 0.15rem 0;
}
.footer-nav-col a:hover { color: white; }
.footer-nav-col a:focus-visible { outline: 2px solid var(--green-light); outline-offset: 2px; }

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
footer a:hover { color: white; }
footer a:focus-visible { outline: 2px solid var(--green-light); outline-offset: 2px; }
.footer-links { display: flex; gap: 1.5rem; }

/* ─── COOKIE BANNER ─── */
#cookie-banner {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99999;
  background: var(--white);
  border: 2px solid var(--green-accent);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(15,45,30,0.2);
  padding: 1.75rem;
  width: 400px;
  max-width: 92vw;
  animation: cbPopIn .35s ease-out;
}
@keyframes cbPopIn {
  from { transform: translate(-50%, -50%) scale(.9); opacity: 0; }
  to   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
.cb-content h3 {
  font-size: 1.15rem;
  color: var(--green-dark);
  margin-bottom: .5rem;
}
.cb-content > p {
  font-size: .85rem;
  color: var(--text-gray);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.cb-content > p a {
  color: var(--green-accent);
  text-decoration: underline;
}
#cb-details {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1rem;
}
.cb-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .6rem .85rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.cb-category strong {
  display: block;
  font-size: .88rem;
  color: var(--text-dark);
}
.cb-category span {
  font-size: .78rem;
  color: var(--text-gray);
}
.cb-toggle-input { display: none; }
.cb-toggle {
  position: relative;
  width: 40px; height: 22px;
  min-width: 40px;
  background: #ccc;
  border-radius: 11px;
  transition: background .2s;
}
.cb-toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: var(--white);
  border-radius: 50%;
  transition: transform .2s;
}
.cb-toggle-on {
  background: var(--green-accent);
  pointer-events: none;
}
.cb-toggle-on::after {
  transform: translateX(18px);
}
.cb-toggle-input:checked + .cb-toggle {
  background: var(--green-accent);
}
.cb-toggle-input:checked + .cb-toggle::after {
  transform: translateX(18px);
}
.cb-buttons {
  display: flex;
  gap: .5rem;
}
.cb-btn {
  padding: .7rem .75rem;
  min-height: 48px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--green-accent);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex: 1;
  text-align: center;
}
.cb-btn-text {
  background: transparent;
  color: var(--green-accent);
  border-color: transparent;
}
.cb-btn-text:hover { text-decoration: underline; }
.cb-btn-outline {
  background: transparent;
  color: var(--green-accent);
}
.cb-btn-outline:hover {
  background: var(--green-accent);
  color: var(--white);
}
.cb-btn-primary {
  background: var(--green-accent);
  color: var(--white);
  border-color: var(--green-accent);
}
.cb-btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}
.cb-btn:focus-visible { outline: 2px solid var(--green-accent); outline-offset: 2px; }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── LEGAL PAGES (Impressum, Datenschutz) ─── */
.legal-page {
  background: var(--bg-light);
}
.legal-page main {
  max-width: 780px;
  margin: 6rem auto 5rem;
  padding: 0 2rem;
}
.page-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
  letter-spacing: -0.5px;
}
.page-subtitle {
  color: var(--text-gray);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.impr-section,
.ds-section {
  margin-bottom: 2.5rem;
}
.impr-section h2,
.ds-section h2 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}
.impr-section p,
.impr-section address,
.ds-section p {
  color: var(--text-gray);
  font-style: normal;
  font-size: 0.97rem;
  line-height: 1.8;
}
.ds-section p {
  margin-bottom: 0.75rem;
}
.ds-section p:last-child { margin-bottom: 0; }
.impr-section a,
.ds-section a {
  color: var(--green-accent);
  text-decoration: none;
}
.impr-section a:hover,
.ds-section a:hover { text-decoration: underline; }
.impr-section a:focus-visible,
.ds-section a:focus-visible { outline: 2px solid var(--green-accent); outline-offset: 2px; }
.ds-section ul {
  color: var(--text-gray);
  font-size: 0.97rem;
  line-height: 1.8;
  padding-left: 1.4rem;
  margin-bottom: 0.75rem;
}
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}
.liability-text {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.8;
}
.liability-text h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 1.5rem 0 0.5rem;
}
.liability-text h3:first-child { margin-top: 0; }

/* ─── BLOCK: FAQ (details/summary accordion) ─── */
.block-faq {
  padding: 5.5rem 2rem;
}
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-list details {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-list summary {
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.2s;
}
.faq-list summary:hover {
  background: rgba(26,71,49,0.04);
}
.faq-list summary:focus-visible { outline: 2px solid var(--green-accent); outline-offset: -2px; }
.faq-list summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--green-accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-list details[open] summary::after {
  content: '−';
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-answer {
  padding: 0 1.5rem 1.2rem;
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.8;
}
.faq-answer p { margin: 0 0 1.4rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul {
  list-style: none;
  margin: 0.5rem 0 1.4rem;
  padding: 0;
}
.faq-answer ul:last-child { margin-bottom: 0; }
.faq-answer li {
  margin-bottom: 0.6rem;
}
.faq-answer li:last-child { margin-bottom: 0; }
.faq-answer strong { color: var(--green-dark); font-weight: 800; }
.faq-answer .btn-primary {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
}

/* ─── BLOCK: ABLAUF (numbered steps) ─── */
.block-ablauf {
  padding: 5.5rem 2rem;
  background: var(--bg-light);
}
.ablauf-list {
  display: flex;
  flex-direction: column;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}
.ablauf-step {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
  padding: 0.75rem 0;
  position: relative;
}
.ablauf-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 60px;
  bottom: -0.75rem;
  width: 3px;
  background: var(--green-accent);
  border-radius: 2px;
  opacity: 0.3;
  z-index: 0;
}
.ablauf-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green-accent);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
  margin: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(46, 160, 67, 0.35);
}
.ablauf-step h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.3;
}

/* ─── BLOCK: CTA ─── */
.block-cta {
  background:
    radial-gradient(ellipse at 10% 90%, rgba(82,183,136,0.15) 0%, transparent 50%),
    var(--green-dark);
  color: white;
  text-align: center;
  padding: 5rem 2rem;
}
.block-cta .section-title { color: white; }
.block-cta p {
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-phone {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-light);
  margin-bottom: 0.5rem;
}
.cta-phone a {
  color: inherit;
  text-decoration: none;
}
.cta-phone a:hover {
  text-decoration: underline;
}
.cta-phone a:focus-visible { outline: 2px solid var(--green-light); outline-offset: 2px; }

/* ─── BLOCK: VERTRAUEN (trust signals) ─── */
.block-vertrauen {
  padding: 1.25rem 2rem 4rem;
  background: white;
}
.vertrauen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.vertrauen-item {
  text-align: center;
}
.vertrauen-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--green-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}
.vertrauen-item strong {
  display: block;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}
.vertrauen-item span {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* ─── BLOCK: EINZUGSGEBIET ─── */
.block-einzugsgebiet {
  padding: 5.5rem 2rem;
}
.orte-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}
.ort-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  color: var(--text-dark);
  transition: border-color 0.2s, transform 0.2s;
  line-height: 1.2;
}
.ort-card > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}
.ort-card:hover {
  border-color: var(--green-accent);
  transform: translateX(3px);
}
.ort-card:hover span {
  background: var(--green-dark);
}
.ort-card:focus-visible { outline: 2px solid var(--green-accent); outline-offset: 2px; }
.ort-card strong {
  font-size: 1.15rem;
  color: var(--green-dark);
  font-weight: 700;
  line-height: 1.3;
}
.ort-card span {
  font-size: 1rem;
  white-space: nowrap;
  background: var(--green-accent);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
  line-height: 1.4;
}
@media (max-width: 600px) {
  .orte-grid { grid-template-columns: 1fr; max-width: 100%; gap: 1rem; }
  .ort-card { flex-direction: column; align-items: center; text-align: center; padding: 0.9rem 1rem; }
  .ort-card > div { flex-direction: column; align-items: center; gap: 0.6rem; }
  .ort-card span {
    font-size: 0.95rem;
    padding: 0.6rem 1.4rem;
    width: 100%;
    max-width: 280px;
    text-align: center;
    white-space: normal;
  }
}

/* ─── STANDORTE: HAUPTSITZ-CARD ─── */
.standort-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 1080px;
  margin: 0 auto;
}
.standort-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: white;
  min-height: 280px;
  box-shadow: 0 6px 24px rgba(15, 45, 30, 0.06);
}
.standort-hero-card .standort-hero-media {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 220px;
}
.standort-hero-card .standort-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,45,30,0) 60%, rgba(255,255,255,1) 100%);
}
.standort-hero-card .standort-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--green-accent);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  z-index: 2;
}
.standort-hero-card .standort-hero-body {
  padding: 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
}
.standort-hero-card h3 {
  margin: 0;
  font-size: 1.85rem;
  color: var(--green-dark);
  line-height: 1.15;
}
.standort-hero-card .standort-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  color: var(--text-gray);
  font-size: 0.95rem;
}
.standort-hero-card .standort-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.standort-hero-card .standort-hero-meta svg {
  flex-shrink: 0;
  color: var(--green-accent);
}
.standort-hero-card p {
  margin: 0;
  color: var(--text-dark);
  line-height: 1.55;
  font-size: 1rem;
}
.standort-hero-card .standort-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}
.standort-hero-card .standort-hero-cta a {
  text-decoration: none;
  font-weight: 600;
  padding: 0.65rem 1.2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
}
.standort-hero-card .standort-hero-cta .btn-go {
  background: var(--green-dark);
  color: white;
}
.standort-hero-card .standort-hero-cta .btn-go:hover {
  background: var(--green-accent);
}
.standort-hero-card .standort-hero-cta .btn-call {
  background: white;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
  padding: calc(0.65rem - 2px) calc(1.2rem - 2px);
}
.standort-hero-card .standort-hero-cta .btn-call:hover {
  background: var(--green-dark);
  color: white;
}

/* ─── STANDORTE: GRID DER WEITEREN ORTE ─── */
.standort-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.standort-tile {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.4rem;
  text-decoration: none;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.standort-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.standort-tile:hover {
  border-color: var(--green-accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(15, 45, 30, 0.1);
}
.standort-tile:hover::before {
  transform: scaleX(1);
}
.standort-tile:focus-visible {
  outline: 2px solid var(--green-accent);
  outline-offset: 2px;
}
.standort-tile .standort-tile-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(46, 160, 67, 0.1);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.standort-tile h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--green-dark);
  line-height: 1.25;
}
.standort-tile .standort-tile-meta {
  font-size: 0.9rem;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.standort-tile .standort-tile-meta::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-light);
  flex-shrink: 0;
}
.standort-tile .standort-tile-tag {
  font-size: 0.85rem;
  color: var(--text-dark);
  background: var(--bg-light);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  align-self: flex-start;
  line-height: 1.3;
}
.standort-tile .standort-tile-leistungen {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.standort-tile .standort-tile-leistungen li {
  font-size: 0.85rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.3;
}
.standort-tile .standort-tile-leistungen li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--green-accent);
  flex-shrink: 0;
}
.standort-tile .standort-tile-cta {
  margin-top: auto;
  padding-top: 0.6rem;
  font-size: 0.95rem;
  color: var(--green-dark);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.standort-tile .standort-tile-cta::after {
  content: "→";
  transition: transform 0.2s;
}
.standort-tile:hover .standort-tile-cta::after {
  transform: translateX(4px);
}

/* "Anderer Ort?" – andere Optik */
.standort-tile.standort-add {
  border: 2px dashed var(--green-accent);
  background: transparent;
  text-align: left;
}
.standort-tile.standort-add .standort-tile-icon {
  background: white;
  border: 2px dashed var(--green-accent);
  color: var(--green-accent);
}
.standort-tile.standort-add:hover {
  background: rgba(46, 160, 67, 0.04);
}
.standort-tile.standort-add::before { display: none; }

@media (max-width: 900px) {
  .standort-hero-card { grid-template-columns: 1fr; min-height: 0; }
  .standort-hero-card .standort-hero-media { min-height: 180px; }
  .standort-hero-card .standort-hero-media::after {
    background: linear-gradient(to bottom, rgba(15,45,30,0) 50%, rgba(255,255,255,1) 100%);
  }
  .standort-hero-card .standort-hero-body { padding: 1.5rem 1.5rem 1.75rem; }
  .standort-hero-card h3 { font-size: 1.55rem; }
  .standort-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
}
@media (max-width: 600px) {
  .standort-grid { grid-template-columns: 1fr; }
  .standort-tile { padding: 1.2rem 1.2rem; }
}

/* ─── STANDORT-CHIPS (auf Leistungsseiten) ─── */
.block-standort-chips {
  padding: 4.5rem 2rem;
  background: var(--bg-light);
}
.block-standort-chips .standort-chips-wrap {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.block-standort-chips .section-desc { margin-left: auto; margin-right: auto; }
.standort-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.7rem;
  max-width: 760px;
  margin: 1.75rem auto 1.5rem;
}
.standort-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 175px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-dark);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, color 0.2s;
  line-height: 1.2;
}
.standort-chip svg {
  color: var(--green-accent);
  flex-shrink: 0;
  transition: color 0.2s;
}
.standort-chip:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: white;
  transform: translateY(-2px);
}
.standort-chip:hover svg { color: var(--green-light); }
.standort-chip:focus-visible {
  outline: 2px solid var(--green-accent);
  outline-offset: 2px;
}
.standort-chip.standort-chip-main {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: white;
}
.standort-chip.standort-chip-main svg { color: var(--green-light); }
.standort-chip.standort-chip-main:hover {
  background: var(--green-accent);
  border-color: var(--green-accent);
}
.standort-chip.standort-chip-add {
  border-style: dashed;
  background: transparent;
  color: var(--text-gray);
}
.standort-chip.standort-chip-add svg { color: var(--text-gray); }
.standort-chip.standort-chip-add:hover {
  background: white;
  border-color: var(--green-dark);
  color: var(--green-dark);
  border-style: dashed;
}
.standort-chips-fallback {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-gray);
}
.standort-chips-fallback a {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--green-accent);
}
.standort-chips-fallback a:hover { color: var(--green-accent); }

@media (max-width: 600px) {
  .block-standort-chips { padding: 3rem 1.25rem; }
  .standort-chip { padding: 0.6rem 1rem; font-size: 0.95rem; min-width: 145px; }
}

/* ─── Leistung-Cards (Standortseiten / Cross-Link) ─── */
.leistung-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem auto 3rem;
  max-width: 1100px;
}
@media (max-width: 960px) {
  .leistung-cards {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
  }
}
.leistung-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem 1.4rem 1.4rem;
  text-decoration: none;
  color: var(--text-dark);
  box-shadow: 0 1px 2px rgba(26,71,49,0.04), 0 6px 18px rgba(26,71,49,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  overflow: hidden;
}
.leistung-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.leistung-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(26,71,49,0.08), 0 18px 40px rgba(26,71,49,0.12);
}
.leistung-card:hover::before {
  transform: scaleX(1);
}
.leistung-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(64,145,108,0.10);
  color: var(--green-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.leistung-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}
.leistung-card:hover .leistung-card-icon {
  background: var(--green-accent);
  color: #fff;
  transform: scale(1.05);
}
.leistung-card .leistung-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}
.leistung-card h3 {
  color: var(--green-dark);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.leistung-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.55;
}
.leistung-card .service-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-accent);
  letter-spacing: 0.01em;
  background: none;
  padding: 0;
  border-radius: 0;
  transition: gap 0.25s ease, color 0.25s ease;
}
.leistung-card:hover .service-more {
  color: var(--green-dark);
  gap: 0.6rem;
}
@media (max-width: 700px) {
  .leistung-cards {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 0.9rem;
    margin-top: 1rem;
    margin-bottom: 2.5rem;
  }
  .leistung-card {
    padding: 1.25rem 1.2rem 1.2rem;
    gap: 0.6rem;
  }
  .leistung-card h3 { font-size: 1.15rem; }
  .leistung-card p { font-size: 0.92rem; }
}
@media (max-width: 600px) {
  .vertrauen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
  }
  .vertrauen-item {
    flex: none;
  }
  .block-leistung {
    padding-bottom: 1.5rem;
  }
  .block-vertrauen {
    padding-top: 1.5rem;
  }
}

/* ─── BLOCK: LEISTUNGS-DETAIL (sub-page content) ─── */
.block-leistung {
  padding: 5.5rem 2rem 1.25rem;
}
.leistung-content {
  max-width: 900px;
  margin: 0 auto;
}
.leistung-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.leistung-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 2rem 0 0.75rem;
}
.leistung-content p {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}
.leistung-content ul {
  list-style: none;
  margin: 1rem 0 1.5rem;
}
.leistung-content ul li {
  padding: 0.35rem 0;
  color: var(--text-gray);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.leistung-content ul li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── BLOCK: PROJEKT-SHOWCASE ─── */
.block-projekte {
  padding: 5.5rem 2rem;
  background: var(--bg-light);
}
.projekte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.projekt-card {
  border-radius: 12px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 12px rgba(26,71,49,0.06);
}
.projekt-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.projekt-card-body {
  padding: 1.2rem 1.5rem;
}
.projekt-card-body strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}
.projekt-card-body span {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  padding: 0.8rem 0 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: white;
}
.breadcrumb a:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.breadcrumb span {
  margin: 0 0.4rem;
}

/* ═══════════════════════════════
   RESPONSIVE
   ═══════════════════════════════ */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-form     { order: 1; }
  .contact-info-col { order: 2; }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
/* Body scroll-lock + backdrop for mobile menu */
body.nav-open { overflow: hidden; }
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 998;
}
.nav-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  nav { padding: 0.85rem 1.25rem; }
  .nav-toggle { display: flex; position: relative; z-index: 1002; }

  /* Hamburger morphs into X when menu is open */
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Mobile menu panel */
  .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 100%);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: var(--footer-bg);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1.25rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
    border-top: 1px solid rgba(255,255,255,0.08);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.22s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Top-level items */
  .nav-links > li {
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .nav-links > li:last-child { border-bottom: none; }

  .nav-links li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1.5rem;
    color: rgba(255,255,255,0.88);
    font-size: 1.02rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.18s, background 0.18s;
  }
  .nav-links li a::after { display: none !important; }
  .nav-links li a:hover,
  .nav-links li a:focus-visible {
    color: var(--green-light);
    background: rgba(255,255,255,0.04);
    outline: none;
  }
  .nav-links > li.nav-active > a {
    color: var(--green-light);
    background: rgba(255,255,255,0.05);
    box-shadow: inset 3px 0 0 var(--green-accent);
  }

  /* Dropdown parent */
  .nav-dropdown-toggle { cursor: pointer; }
  .nav-dropdown-arrow {
    width: 0; height: 0;
    margin-left: 0.6rem;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    transition: transform 0.25s ease;
  }
  .nav-dropdown.open > .nav-dropdown-toggle .nav-dropdown-arrow {
    transform: rotate(180deg);
  }

  /* Disable Desktop hover-open on mobile, use click-to-expand */
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: none;
  }
  .nav-dropdown.open > .nav-dropdown-menu {
    display: block;
  }

  /* Dropdown sub-menu */
  .nav-dropdown-menu {
    display: none;
    position: static;
    transform: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    min-width: 0;
    padding: 0.25rem 0 0.5rem;
    background: rgba(0,0,0,0.22);
    z-index: auto;
  }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown-menu li { border-bottom: none; }
  .nav-dropdown-menu li a {
    padding: 0.7rem 1.5rem 0.7rem 2.5rem;
    font-size: 0.92rem;
    font-weight: 400;
    color: rgba(255,255,255,0.72);
    border-left: 2px solid transparent;
    margin-left: 1.25rem;
    padding-left: 1rem;
    transition: color 0.18s, background 0.18s, border-color 0.18s;
  }
  .nav-dropdown-menu li a:hover,
  .nav-dropdown-menu li a:focus-visible {
    color: var(--green-light);
    background: rgba(255,255,255,0.05);
    border-left-color: var(--green-accent);
  }
  .nav-dropdown-menu li.nav-active > a {
    color: var(--green-light);
    background: rgba(255,255,255,0.05);
    border-left-color: var(--green-accent);
  }

  /* CTA — sits at the end, full-width pill block */
  .nav-cta,
  .nav-links li a.nav-cta {
    background: var(--green-accent) !important;
    color: white !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
    justify-content: center !important;
    margin-top: 0.5rem;
    padding-top: 1.05rem !important;
    padding-bottom: 1.05rem !important;
  }
  .nav-cta:hover { background: var(--green-dark) !important; }

  section { padding: 4rem 1.5rem; }
  .block-faq,
  .block-ablauf,
  .block-leistung,
  .block-projekte,
  .block-einzugsgebiet { padding: 4rem 1.5rem; }
  .block-cta { padding: 3.5rem 1.5rem; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.wide { grid-column: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .footer-nav {
    justify-content: center;
  }
  .footer-nav-col {
    align-items: center;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .legal-page main {
    margin-top: 5rem;
  }

  /* Hero auf Mobile: Header darf den Hero-Text nicht überdecken.
     Padding-top so dimensioniert, dass die H1 immer unterhalb der
     fixen Navigation steht. Sanfter dunkler Übergang oben kaschiert
     den Bereich, in dem Header und Hero-Bild sich überlappen. */
  .hero {
    padding: 6.5rem 1.5rem 2.5rem;
  }
  .hero-sub {
    position: relative;
    padding: 7rem 1.5rem 3rem !important;
    min-height: 380px;
  }
  .hero-sub::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6rem;
    background: linear-gradient(
      to bottom,
      var(--footer-bg) 0,
      var(--footer-bg) 65%,
      rgba(15, 45, 30, 0.6) 90%,
      transparent 100%
    );
    z-index: 1;
    pointer-events: none;
  }
  .hero-sub .hero-content {
    position: relative;
    z-index: 2;
  }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; aspect-ratio: 4/3; }
  .vertrauen-grid { gap: 1.5rem; }
}
@media (max-width: 600px) {
  #cookie-banner { padding: 1.25rem 1rem; width: 92vw; }
  .cb-buttons { flex-direction: column; }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  .hero-content h1,
  .hero-content p,
  .hero-buttons { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .reveal.revealed { transition: none; }
  #cookie-banner { animation: none; }
  .service-card,
  .service-img,
  .gallery-item img,
  .gallery-item::after,
  .nav-toggle span,
  nav,
  .whatsapp-fab,
  .btn-primary,
  .btn-submit,
  .btn-whatsapp,
  .btn-outline,
  .ort-card,
  .faq-list summary::after { transition: none; }
}
