/* =====================================================================
   Garten- und Landschaftspflege Yüce – statischer Nachbau
   Vanilla HTML5 / CSS3 – nachempfunden dem WordPress-Theme "GardenHub"
   Schriften: Poppins (Headlines), Roboto (Fließtext)
   ===================================================================== */

/* ---------- 1. Custom Properties ---------- */
:root {
  --primary-color:   #73b21a;   /* Akzentgrün (Navigation aktiv, Links, Icons) */
  --primary-dark:    #6aaf08;   /* dunkleres Grün (Hover) */
  --secondary-color: #74b444;   /* zweites Grün (Buttons) */
  --accent-color:    #8bc34a;
  --text-color:      #848484;   /* Standard-Fließtext */
  --muted-color:     #565961;
  --heading-color:   #222222;
  --light-color:     #ffffff;
  --light-bg:        #fafafa;
  --dark-color:      #1d1d1d;    /* Footer + Navigationsleiste */
  --darker-color:    #161616;    /* Seitenkopf-Band der Unterseiten */
  --border-color:    #ececec;

  --container:       1200px;   /* 1200 − 2×15px Innenabstand = 1170px nutzbare Inhaltsbreite */
  --font-heading:    "Poppins", Arial, "Helvetica Neue", sans-serif;
  --font-body:       "Roboto", Arial, "Helvetica Neue", sans-serif;

  --radius:          3px;
  --shadow-sm:       0 2px 8px rgba(0,0,0,.08);
  --shadow-md:       0 10px 30px rgba(0,0,0,.12);
  --transition:      .3s ease;

  /* Betrag, um den die Navileiste nach unten rutscht (= halbe Leistenhöhe ≈ 84px).
     Derselbe Wert schiebt den Kopfbereich nach unten. */
  --nav-drop:        42px;
  --hero-extra:      500px;   /* zusätzliche Hero-Höhe unter dem sichtbaren Bereich (~4 Scrollschritte) */
}

/* ---------- 2. Reset / Base ---------- */
*,*::before,*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--light-color);
  overflow-x: hidden;
}

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

a { color: var(--primary-color); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  color: var(--heading-color);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 .6em;
}

p { margin: 0 0 1.2em; }
ul,ol { margin: 0 0 1.2em; padding-left: 1.2em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

.text-center { text-align: center; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link */
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 10000;
  background: var(--primary-color); color: #fff; padding: 10px 18px; border-radius: var(--radius);
  transition: top .2s;
}
.skip-link:focus { top: 8px; color:#fff; }

:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 2px; }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-primary { background: var(--primary-color); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--heading-color); }
.btn-dark { background: var(--dark-color); color:#fff; }
.btn-dark:hover { background:#000; color:#fff; }

/* ---------- 4. Header ---------- */
.site-header {
  position: relative;
  background: var(--light-color);
  z-index: 999;
}

/* Top bar : Logo + Kontaktinfos – kompakter weißer Streifen */
.header-main { background: var(--light-color); }
.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 16px;
  min-height: 0;
}
.site-logo .logo { display: block; }
.site-logo img { width: 300px; max-width: 68vw; height: auto; transition: width var(--transition); }
.site-title, .site-description { display: none; } /* für Screenreader im Markup vorhanden */

/* Logo für den dunklen Grund – nur im Sticky-Zustand vor dem Menü sichtbar */
.nav-logo { display: none; }
.nav-logo img { display: block; height: 38px; width: auto; }

.header-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  justify-content: flex-end;
  align-items: center;
  font-size: 14px;
  color: var(--muted-color);
}
.header-contact .hc-item { display: flex; align-items: flex-start; gap: 10px; max-width: 260px; }
.header-contact .hc-item i { color: var(--primary-color); font-size: 20px; line-height: 1.2; margin-top: 2px; }
.header-contact .hc-item strong { display:block; color: var(--heading-color); font-weight:600; }

/* schwebende Navigationsleiste – sitzt zur Hälfte über dem Hero-Bild */
.site-menu {
  position: relative;
  z-index: 20;
  margin-top: calc(-1 * var(--nav-drop));   /* holt die Leiste an die Kopf-Unterkante */
  margin-bottom: 0;
  transform: translateY(var(--nav-drop));   /* … und schiebt sie um die halbe Höhe nach unten */
}
.site-menu .container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;                                /* transparente Lücke zwischen Nav- und CTA-Block */
}
.main-nav {
  background: var(--dark-color);
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 28px;
  border-radius: var(--radius);
}
.main-nav > ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.main-nav > ul > li > a {
  display: block;
  padding: 22px 16px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: #fff;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.current > a { color: var(--primary-color); }

.header-cta {
  background: var(--primary-color);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 12px 28px;
  border-radius: var(--radius);
  text-align: center;
  min-width: 240px;
}
.header-cta .cta-phone {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.header-cta .cta-phone i { font-size: 20px; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: var(--dark-color);
  border: 0;
  width: 54px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius) 0 0 var(--radius);
}
.nav-toggle .bar,
.nav-toggle .bar::before,
.nav-toggle .bar::after {
  content: "";
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  transition: transform .3s, opacity .3s;
}
.nav-toggle .bar::before { transform: translateY(-7px); }
.nav-toggle .bar::after  { transform: translateY(5px); }
.nav-toggle[aria-expanded="true"] .bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .bar::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar::after  { transform: rotate(-45deg) translateY(-2px); }

/* Sticky-Zustand – Leiste dockt flach oben an (kein Versatz, keine Lücke) */
.site-header.is-stuck .site-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  margin: 0;
  transform: none;
  z-index: 9999;
  animation: slideDown .4s ease;
  box-shadow: 0 6px 22px rgba(0,0,0,.18);
}
.site-header.is-stuck .site-menu .container { padding: 0; max-width: 100%; gap: 0; }
.site-header.is-stuck .main-nav { border-radius: 0; }
.site-header.is-stuck .header-cta { border-radius: 0; }
.site-header.is-stuck .nav-logo {
  display: flex;
  align-items: center;
  align-self: stretch;
  padding: 0 22px;
  margin-right: 6px;
  border-right: 1px solid rgba(255,255,255,.12);
  animation: navLogoIn .4s ease both;
}
.site-header.is-stuck .nav-logo img { height: 32px; }
@keyframes navLogoIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }

/* kompaktere Sticky-Leiste */
.site-header.is-stuck .main-nav > ul > li > a { padding-top: 19px; padding-bottom: 19px; }
.site-header.is-stuck .header-cta { padding-top: 7px; padding-bottom: 7px; }
@keyframes slideDown { from { transform: translateY(-100%);} to { transform: translateY(0);} }

/* ---------- 5. WhatsApp Floating Button ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 30px;
  box-shadow: 0 6px 18px rgba(0,0,0,.28);
  z-index: 9998;
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); color:#fff; }

/* ---------- 6. Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 22px; bottom: 88px;
  width: 44px; height: 44px;
  border: 0;
  background: var(--dark-color);
  color: #fff;
  border-radius: var(--radius);
  font-size: 18px;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), background var(--transition);
  z-index: 9998;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-color); }

/* ---------- 7. Hero / Slider ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--darker-color);
}
/* Hero füllt den Bildschirm (Kopfhöhe = --header-height, per JS gesetzt) und ragt zusätzlich
   um --hero-extra nach unten – man scrollt also erst ein Stück durch das Bild, bevor der
   nächste (weiße) Bereich erscheint. */
.hero-slides {
  position: relative;
  height: calc(100vh - var(--header-height, 142px) + var(--hero-extra, 450px));
  height: calc(100svh - var(--header-height, 142px) + var(--hero-extra, 450px));
  min-height: 400px;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-slide.active { opacity: 1; }
.hero-slide::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.28);   /* nur leichte Abdunklung für die Textlesbarkeit */
  z-index: 1;
}
/* Parallax: das Bild ist deutlich übergroß, JS verschiebt es beim Scrollen */
.hero-slide img.hero-bg {
  position: absolute;
  left: 0; top: -16%;
  width: 100%; height: 132%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--parallax, 0px), 0) scale(1.05);
  will-change: transform;
}
/* leichtes Ken-Burns-Zoomen des aktiven Slides */
.hero-slide.active img.hero-bg { animation: kenburns 18s ease-out both; }
@keyframes kenburns {
  from { transform: translate3d(0, var(--parallax, 0px), 0) scale(1.05); }
  to   { transform: translate3d(0, var(--parallax, 0px), 0) scale(1.14); }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  padding: 0 20px;
  color: #fff;
}
/* Einblenden der Textebenen bei jedem Slide-Wechsel */
.hero-slide.active .hero-content > * { animation: heroUp .9s both cubic-bezier(.22,1,.36,1); }
.hero-slide.active .hero-content > :nth-child(1) { animation-delay: .15s; }
.hero-slide.active .hero-content > :nth-child(2) { animation-delay: .32s; }
.hero-slide.active .hero-content > :nth-child(3) { animation-delay: .48s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero-content .hero-title {
  color: var(--primary-color);
  font-size: clamp(28px, 4.6vw, 45px);
  font-weight: 600;
  margin-bottom: .35em;
  text-shadow: 0 2px 6px rgba(0,0,0,.55), 0 1px 20px rgba(0,0,0,.35);
}
.hero-content .hero-sub {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(15px, 2.4vw, 30px);
  line-height: 1.4;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0,0,0,.6), 0 1px 20px rgba(0,0,0,.4);
}
.hero-dots {
  position: absolute;
  left: 0; right: 0; bottom: 26px;
  display: flex; justify-content: center; gap: 10px;
  z-index: 3;
}
.hero-dots button {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0;
}
.hero-dots button.active { background: var(--primary-color); border-color: var(--primary-color); }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 44px; height: 44px;
  background: rgba(0,0,0,.35);
  border: 0; color: #fff; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.hero-arrow:hover { background: var(--primary-color); }
.hero-arrow.prev { left: 0; }
.hero-arrow.next { right: 0; }

/* ---------- 8. Seitenkopf (Unterseiten) ---------- */
.page-header {
  background: var(--darker-color);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.page-header h1 {
  color: #fff;
  font-size: clamp(24px, 3.5vw, 34px);
  margin: 0 0 10px;
}
.breadcrumb {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px;
  font-size: 14px; color: rgba(255,255,255,.7);
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--primary-color); }
.breadcrumb li + li::before { content: "\00BB"; margin-right: 8px; color: rgba(255,255,255,.5); }

/* ---------- 9. Sektionen ---------- */
.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--light { background: var(--light-bg); }
.section--dark { background: var(--dark-color); color: #cfcfcf; }
.section--dark h2,.section--dark h3,.section--dark h4 { color: #fff; }

.section-title { text-align: center; margin-bottom: 44px; }
.section-title h2 {
  font-size: clamp(22px, 3vw, 26px);
  text-transform: capitalize;
  margin: 0 0 14px;
}
.accent, .section-title h2 .accent { color: var(--primary-color); }
.section-title .st-icon { color: var(--primary-color); font-size: 30px; display: inline-block; animation: floaty 3.4s ease-in-out infinite; }
.section-title p { max-width: 760px; margin: 12px auto 0; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* linksbündige Variante mit Trennstrich (Über uns) */
.section-title--left { text-align: left; margin-bottom: 26px; }
.section-title--left h2 { margin-bottom: 0; padding-bottom: 20px; font-size: clamp(26px, 3.4vw, 36px); position: relative; }
.section-title--left h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 80px; height: 2px; background: var(--primary-color);
}

.lead { font-size: 17px; }

/* ---------- 10. Service-Karten (Startseite) ---------- */
.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Die gesamte Karte ist ein Link */
.service-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex; flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary-color);
}
.service-card .sc-thumb { overflow: hidden; aspect-ratio: 370 / 210; background: var(--light-bg); }
.service-card .sc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .sc-thumb img { transform: scale(1.04); }
.service-card .sc-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 20px; font-weight: 500; margin: 0 0 8px; color: var(--heading-color); transition: color var(--transition); }
.service-card:hover h3 { color: var(--primary-color); }
.service-card p { font-weight: 300; margin-bottom: 18px; }
.service-card .readmore {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--primary-color);
}
.service-card .readmore::after { content: " \2192"; transition: margin-left var(--transition); }
.service-card:hover .readmore::after { margin-left: 4px; }

/* ---------- 11. Icon-Boxen (Leistungs-Merkmale) – gesamte Box ist ein Link ---------- */
.icon-box {
  position: relative;
  border: 1px dashed var(--border-color);
  padding: 32px 28px;
  height: 100%;
  background: #fff;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.icon-box:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}
.icon-box .ib-icon { color: var(--primary-color); font-size: 50px; line-height: 1; margin-bottom: 14px; display: block; }
.icon-box h4 { font-size: 20px; font-weight: 500; margin: 0 0 12px; }
.icon-box h4 a { color: var(--heading-color); text-decoration: none; }
/* Klickfläche über die ganze Box legen */
.icon-box h4 a::after { content: ""; position: absolute; inset: 0; }
.icon-box:hover h4 a { color: var(--primary-color); }
.icon-box p { font-weight: 300; margin: 0; }

/* ---------- 11b. Über uns – zweispaltiger Textblock ---------- */
.about-section { padding-bottom: 0; }          /* Bild stößt bündig an den nächsten Block */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 350px);
  gap: 46px;
  align-items: start;
}
.about-lead {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: #292929;
  line-height: 1.45;
  margin-bottom: 1.1em;
}
.about-text { padding-bottom: 80px; }          /* eigener Abstand, da die Sektion unten 0 hat */
.about-photo { align-self: end; }
.about-photo figure { margin: 0; }             /* kein Rahmen */
.about-photo img { display: block; width: 100%; height: auto; }

.custom-quote {
  position: relative;
  border-left: 2px solid #f4f4f4;
  margin: 30px 0 0;
  padding: 6px 0 6px 52px;
  font-style: italic;
  color: var(--text-color);
}
.custom-quote::before {
  content: "\201C";
  position: absolute; left: 8px; top: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px; line-height: 1;
  color: var(--primary-color);
}
.custom-quote p { margin: 0; }
.custom-quote strong { font-style: normal; color: var(--heading-color); font-weight: 600; }

/* ---------- 12. Counter (dunkles Band mit Hintergrundbild) ---------- */
.counter-section {
  position: relative;
  padding: 80px 0 50px;
  color: #fff;
  background: var(--darker-color) center / cover no-repeat;
  background-image: url("../images/counter-bg.jpg");
}
.counter-section::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(18, 22, 14, .8);
}
.counter-section .container { position: relative; }
.counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.counter-grid .counter {
  text-align: center;
  padding: 25px 18px 42px;
  border-left: 1px dashed rgba(255,255,255,.16);
}
.counter-grid .counter:last-child { border-right: 1px dashed rgba(255,255,255,.16); }
.counter-icon { display: block; font-size: 48px; color: var(--primary-color); margin-bottom: 20px; line-height: 1; }
.counter-grid .c-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 40px; font-weight: 400; line-height: 1;
  color: #fff;
}
.counter-grid h4 { color: #fff; font-size: 20px; font-weight: 500; line-height: 1.3; margin: 14px 0 0; }

/* ---------- 13. Team (Name-Block fährt beim Hover hoch, Zitat kommt mit) ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.team-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-color);
  text-align: center;
  padding-bottom: var(--name-h, 62px);   /* reserviert die Höhe für Name + Rolle */
  transition: border-color var(--transition);
}
.team-card:hover, .team-card:focus-visible { border-color: var(--primary-color); outline: none; }
.team-card .tc-photo { aspect-ratio: 370 / 250; background: #dfe4d8; }
.team-card .tc-photo img { width: 100%; height: 100%; object-fit: cover; }

.team-card .tc-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: #fff;
  padding: 16px 16px 0;
  transform: translateY(var(--quote-h, 92px));   /* Ruhezustand: Zitat unter der Kartenkante versteckt */
  transition: transform .42s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}
.team-card .tc-name h4 { margin: 0 0 3px; font-size: 20px; font-weight: 500; color: var(--heading-color); }
.team-card .tc-role { color: var(--primary-color); font-size: 15px; }
.team-card .tc-quote {
  margin: 14px 0 0;
  padding-bottom: 22px;
  font-style: italic; font-weight: 300; color: var(--text-color);
  opacity: 0;
  transition: opacity .3s ease .06s;
}
.team-card:hover .tc-body,
.team-card:focus-visible .tc-body,
.team-card:focus-within .tc-body { transform: translateY(0); }
.team-card:hover .tc-quote,
.team-card:focus-visible .tc-quote,
.team-card:focus-within .tc-quote { opacity: 1; }

/* Touch-Geräte: Zitat dauerhaft anzeigen */
@media (hover: none) {
  .team-card { padding-bottom: 0; overflow: visible; }
  .team-card .tc-body { position: static; transform: none; padding-bottom: 4px; }
  .team-card .tc-quote { opacity: 1; }
}

/* ---------- 14. Quote ---------- */
.pull-quote {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.pull-quote p {
  font-family: var(--font-heading);
  font-size: clamp(19px, 2.6vw, 26px);
  font-weight: 500;
  color: var(--heading-color);
  line-height: 1.4;
  margin-bottom: 12px;
}
.pull-quote cite { color: var(--primary-color); font-style: normal; font-weight: 600; }

/* ---------- 14b. ReviewForest-Widget ---------- */
.reviewforest-section { padding: 0; text-align: center; }
/* Widget darf die volle Seitenbreite nutzen (nicht auf --container begrenzt) */
.reviewforest-section > .container { max-width: 100%; padding: 0; }
.reviewforest-widget { width: 100%; }
.reviewforest-widget > [class*="reviewforest-app-"] { width: 100%; }
/* Abstände erst zeigen, wenn das Widget tatsächlich etwas gerendert hat */
.reviewforest-section:has([class*="reviewforest-app-"] > *) { padding: 44px 0 8px; }

/* ---------- 15. CTA-Band ---------- */
.cta-band {
  background: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 60px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #eafbe0; max-width: 720px; margin: 0 auto 26px; }
.cta-band p:last-child { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 0; }
.cta-band .btn-outline { border-color:#fff; }

/* ---------- 16. Split (Bild + Text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { align-self: start; }
.split-media > img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split-media.two-up img { aspect-ratio: 4 / 3; }

/* ---------- 17. Leistungs-Detailseiten ---------- */
.layout-with-sidebar { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 50px; align-items: start; }
.service-media { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0 0 30px; }
.service-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); aspect-ratio: 3 / 2; }
.service-sidebar { position: sticky; top: 110px; }
.service-body h3 { font-size: 24px; }
.service-body ul { padding-left: 1.1em; }
.service-body ul li { margin-bottom: 6px; }

.sidebar-widget { border: 1px solid var(--border-color); border-radius: var(--radius); margin-bottom: 30px; }
.sidebar-widget .sw-title {
  background: var(--dark-color); color: #fff;
  font-family: var(--font-heading); font-size: 16px; font-weight: 600;
  padding: 16px 20px; margin: 0;
}
.sidebar-widget ul { list-style: none; margin: 0; padding: 0; }
.sidebar-widget ul li { border-bottom: 1px solid var(--border-color); }
.sidebar-widget ul li:last-child { border-bottom: 0; }
.sidebar-widget ul li a {
  display: block; padding: 13px 20px;
  color: var(--muted-color); font-size: 14px;
}
.sidebar-widget ul li a:hover,
.sidebar-widget ul li.active a { background: var(--light-bg); color: var(--primary-color); }
.sidebar-widget ul li.active a { font-weight: 600; border-left: 3px solid var(--primary-color); }

.sidebar-cta { background: var(--darker-color); color: #fff; padding: 28px 22px; border-radius: var(--radius); text-align: center; }
.sidebar-cta h4 { color: #fff; }
.sidebar-cta .phone { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--primary-color); }

/* ---------- 18. Kontaktseite ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 34px; align-items: start; }

.contact-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 40px;
}
.contact-card > h2 { font-size: clamp(21px, 2.6vw, 26px); margin: 0 0 10px; }
.contact-card__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 8px;
}
.contact-card__intro { margin: 0 0 24px; font-size: 15px; }
.contact-card__subhead { font-size: 17px; margin: 26px 0 12px; }
.contact-card--form { border-top: 3px solid var(--primary-color); }

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--border-color); }
.info-list li:first-child { padding-top: 0; }
.info-list li i { color: var(--primary-color); font-size: 18px; margin-top: 3px; width: 22px; text-align: center; flex: none; }

.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-bottom: 1px dashed var(--border-color);
  font-size: 15px;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list li span:last-child { color: var(--heading-color); font-weight: 500; white-space: nowrap; }

/* ---------- 19. Formulare ---------- */
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 7px;
}
.form-field .req { color: #d9534f; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--heading-color);
  padding: 13px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(115,178,26,.15);
}
.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"],
.form-field select[aria-invalid="true"] { border-color: #d9534f; }
.field-error { display: none; color: #d9534f; font-size: 13px; margin-top: 6px; }
.field-error.show { display: block; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row .form-field { margin-bottom: 20px; }
.btn-block { display: block; width: 100%; }

.contact-card--form .form-field input,
.contact-card--form .form-field textarea,
.contact-card--form .form-field select { background-color: var(--light-bg); }
.contact-card--form .form-field input:focus,
.contact-card--form .form-field textarea:focus,
.contact-card--form .form-field select:focus { background-color: #fff; }

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2373b21a' d='M4 6l4 4 4-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  cursor: pointer;
}

.form-consent {
  display: flex; gap: 10px; align-items: flex-start; font-size: 14px;
  background: var(--light-bg); border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: 14px 16px;
}
.form-consent input { width: auto; margin-top: 3px; }
.char-count { font-size: 12px; color: var(--text-color); text-align: right; margin-top: 4px; }

.form-note {
  margin: 18px 0 40px; padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  display: none;
}
.form-note.success { display: block; background: #eef8e3; color: #3d6b12; border: 1px solid #cfe8b0; }
.form-note.error   { display: block; background: #fdECEA; color: #a12; border: 1px solid #f5c6c0; }
.form-note.info    { display: block; background: #eef3f8; color: #2b5478; border: 1px solid #c5d9ea; }

/* Honeypot – für Menschen unsichtbar */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

.forminator-button-submit[disabled], .btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- 20. Map ---------- */
.map-embed { width: 100%; aspect-ratio: 16 / 6; border: 0; border-radius: var(--radius); filter: grayscale(.2); display: block; }

/* Consent-Overlay für Google Maps */
.map-consent { position: relative; border-radius: var(--radius); overflow: hidden; }
.map-consent .map-embed { aspect-ratio: 16 / 7; }
.map-consent:not(.is-loaded) .map-embed { visibility: hidden; }
.map-consent__gate {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 32px 24px;
  background: var(--darker-color) repeating-linear-gradient(45deg,transparent,transparent 14px,rgba(255,255,255,.02) 14px,rgba(255,255,255,.02) 28px);
  color: #d9d9d9;
}
.map-consent.is-loaded .map-consent__gate { display: none; }
.map-consent__gate i { font-size: 30px; color: var(--primary-color); }
.map-consent__gate h3 { color: #fff; margin: 0; font-size: 20px; }
.map-consent__gate p { margin: 0; max-width: 520px; font-size: 14px; }
.map-consent__gate p a { color: #fff; text-decoration: underline; }
.map-consent__gate .btn { margin-top: 4px; }
.map-consent__remember { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #b6b6b6; }
.map-consent__remember input { accent-color: var(--primary-color); }
.map-placeholder {
  width: 100%; aspect-ratio: 16 / 6;
  background: var(--light-bg) repeating-linear-gradient(45deg,transparent,transparent 12px,rgba(0,0,0,.03) 12px,rgba(0,0,0,.03) 24px);
  border: 1px dashed var(--border-color); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--text-color); padding: 20px;
}

/* ---------- 21. Footer ---------- */
.site-footer { background: var(--dark-color); color: #9a9a9a; }
.footer-widgets { padding: 60px 0 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-widgets h4 { color: #fff; font-size: 17px; margin-bottom: 18px; }
.footer-widgets a { color: #9a9a9a; }
.footer-widgets a:hover { color: var(--primary-color); }
.footer-widgets ul { list-style: none; margin: 0; padding: 0; }
.footer-widgets ul li { padding: 5px 0; }
.footer-brand img { width: 280px; max-width: 80%; margin-bottom: 20px; }
.footer-contact li { display: flex; gap: 10px; padding: 6px 0; }
.footer-contact i { color: var(--primary-color); margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 14px;
}
.footer-bottom nav a,
.footer-bottom nav .footer-legal-link { color: #9a9a9a; margin-left: 18px; }
.footer-bottom nav a:hover,
.footer-bottom nav .footer-legal-link:hover { color: var(--primary-color); }
.footer-legal-link {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: #9a9a9a;
  transition: color var(--transition);
}

/* ---------- 22. Cookie-Consent (Banner + Einstellungs-Dialog) ---------- */
.btn-ghost {
  background: transparent; color: #d7d7d7;
  border-color: rgba(255,255,255,.28);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

.cc-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 880px;
  margin: 0 auto;
  background: var(--dark-color);
  color: #cfcfcf;
  padding: 22px 24px;
  border-radius: var(--radius);
  box-shadow: 0 14px 46px rgba(0,0,0,.4);
  z-index: 10000;
}
.cc-banner__inner { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.cc-banner__text { flex: 1 1 380px; }
.cc-banner__text strong { display: block; color: #fff; font-family: var(--font-heading); font-size: 16px; margin-bottom: 6px; }
.cc-banner__text p { margin: 0; font-size: 13px; line-height: 1.6; }
.cc-banner__text a { color: #fff; text-decoration: underline; }
.cc-banner__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cc-banner .btn { padding: 11px 22px; font-size: 12px; }
.cc-link {
  background: none; border: 0; padding: 4px; cursor: pointer;
  color: #cfcfcf; font: inherit; font-size: 13px; text-decoration: underline;
  transition: color var(--transition);
}
.cc-link:hover { color: var(--primary-color); }

.cc-banner[hidden], .cc-modal[hidden] { display: none; }
.cc-modal {
  position: fixed; inset: 0; z-index: 10001;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.cc-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.cc-modal__dialog {
  position: relative;
  width: 100%; max-width: 620px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 34px 34px 28px;
}
.cc-modal__close {
  position: absolute; top: 12px; right: 14px;
  width: 36px; height: 36px;
  background: none; border: 0; cursor: pointer;
  font-size: 26px; line-height: 1; color: var(--text-color);
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
}
.cc-modal__close:hover { background: var(--light-bg); color: var(--heading-color); }
.cc-modal__dialog h2 { font-size: 22px; margin: 0 0 8px; }
.cc-modal__intro { margin: 0 0 22px; font-size: 14px; }

.cc-cat { padding: 18px 0; border-top: 1px solid var(--border-color); }
.cc-cat:last-of-type { border-bottom: 1px solid var(--border-color); }
.cc-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cc-cat__title { font-family: var(--font-heading); font-weight: 600; color: var(--heading-color); font-size: 15px; }
.cc-cat__desc { margin: 8px 0 0; font-size: 13px; line-height: 1.6; }

.cc-switch { position: relative; flex: none; width: 46px; height: 26px; }
.cc-switch input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.cc-switch--locked input { cursor: not-allowed; }
.cc-switch__track {
  position: absolute; inset: 0;
  background: #cfcfcf; border-radius: 999px;
  transition: background var(--transition);
  pointer-events: none; /* Klicks an die darunterliegende Checkbox durchreichen */
}
.cc-switch__track::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; background: #fff; border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
  transition: transform var(--transition);
}
.cc-switch input:checked + .cc-switch__track { background: var(--primary-color); }
.cc-switch input:checked + .cc-switch__track::after { transform: translateX(20px); }
.cc-switch input:focus-visible + .cc-switch__track { outline: 3px solid var(--primary-color); outline-offset: 2px; }
.cc-switch--locked .cc-switch__track { opacity: .55; }

.cc-modal__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cc-modal__actions .btn { padding: 12px 22px; font-size: 12px; }
.cc-modal__actions .btn-ghost { color: var(--heading-color); border-color: var(--border-color); }
.cc-modal__actions .btn-ghost:hover { background: var(--light-bg); color: var(--heading-color); }
.cc-modal__legal { margin: 18px 0 0; font-size: 13px; }

@media (max-width: 600px) {
  .cc-banner { padding: 18px; }
  .cc-banner__actions { width: 100%; }
  .cc-banner__actions .btn { flex: 1 1 auto; text-align: center; }
  .cc-modal__dialog { padding: 28px 20px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-switch__track, .cc-switch__track::after { transition: none; }
}

/* ---------- 23. Reveal-Animation (Inhalte laden beim Scrollen nach) ---------- */
/* Nur wenn JavaScript aktiv ist, wird Inhalt zunächst ausgeblendet. */
.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.js .reveal.reveal--left  { transform: translateX(-40px); }
.js .reveal.reveal--right { transform: translateX(40px); }
.js .reveal.reveal--zoom  { transform: scale(.9); }
.js .reveal.reveal--fade  { transform: none; }
.js .reveal.is-visible { opacity: 1; transform: none; will-change: auto; }

/* ---------- 23b. Rechtstexte ---------- */
.legal h2 { font-size: 22px; margin: 1.6em 0 .5em; }
.legal h3 { font-size: 17px; margin: 1.3em 0 .4em; }
.legal p, .legal li { color: var(--text-color); }
.legal hr { border: 0; border-top: 1px solid var(--border-color); margin: 2.4em 0 1.4em; }
.table-scroll { overflow-x: auto; margin: 0 0 1.4em; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.legal-table th, .legal-table td { border: 1px solid var(--border-color); padding: 9px 12px; text-align: left; vertical-align: top; }
.legal-table th { background: var(--light-bg); font-family: var(--font-heading); color: var(--heading-color); }

/* ---------- 24. Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }

/* =====================================================================
   25. Responsive
   ===================================================================== */
@media (max-width: 1024px) {
  .header-main .container { flex-wrap: wrap; justify-content: center; text-align: center; }
  .header-contact { justify-content: center; }
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .counters, .counter-grid { grid-template-columns: repeat(2, 1fr); }
  .counter-grid .counter { border: 0 !important; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-card { padding: 28px 22px; }
  .map-consent:not(.is-loaded) { min-height: 460px; }
  .map-consent:not(.is-loaded) .map-embed { aspect-ratio: auto; height: 460px; }
  .map-consent.is-loaded .map-embed { aspect-ratio: 3 / 4; }
  .map-consent__gate { padding: 26px 20px; }
  .split.reverse .split-media { order: 0; }
  .about-section { padding-bottom: 56px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; align-items: start; }
  .about-text { padding-bottom: 0; }
  .about-photo { max-width: 400px; }

  /* Mobile-Navigation – kein Versatz, Leiste sitzt direkt unter dem Kopf */
  .site-menu { margin: 0; transform: none; }
  .site-menu .container { padding: 0; flex-wrap: wrap; align-items: stretch; gap: 0; }
  .nav-logo, .site-header.is-stuck .nav-logo { display: none !important; }
  .nav-toggle { display: flex; order: 1; flex: 0 0 auto; }
  .main-nav {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    display: block;
    padding: 0;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
  }
  .main-nav.open { max-height: 70vh; overflow-y: auto; }
  .main-nav > ul { flex-direction: column; gap: 0; width: 100%; }
  .main-nav > ul > li { border-top: 1px solid rgba(255,255,255,.08); }
  .main-nav > ul > li > a { padding: 15px 22px; }
  .header-cta {
    order: 2;
    flex: 1 1 auto;
    border-radius: 0;
    min-width: 0;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
  }
  .header-cta .cta-phone { font-size: 18px; }
  .nav-toggle { order: 1; width: 56px; }
  .site-header.is-stuck .site-menu { position: static; animation: none; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .grid-3, .grid-4, .counters, .counter-grid, .team-grid, .split-media.two-up { grid-template-columns: 1fr; }
  .counter-grid .counter { padding-bottom: 28px; }
  .service-media { grid-template-columns: 1fr; }
  .footer-widgets { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom nav a,
  .footer-bottom nav .footer-legal-link { margin: 0 9px; }
  .header-contact { display: none; }
  .header-main .container { min-height: 0; padding-top: 16px; padding-bottom: 16px; }
  .cc-banner { left: 8px; right: 8px; bottom: 8px; }
  .page-header { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal.is-visible { opacity: 1 !important; transform: none !important; }
  .hero-slide { transition: opacity .001ms; }
  .hero-slide img.hero-bg { transform: none !important; animation: none !important; top: 0 !important; height: 100% !important; }
  .section-title .st-icon { animation: none !important; }
  .hero-content { opacity: 1 !important; transform: none !important; }
}
