﻿:root {
  --green-900: #0d2418;
  --green-800: #123222;
  --green-700: #1b4a31;
  --green-500: #2f8a57;
  --green-300: #7fd1a0;
  --sand-50: #faf7f2;
  --sand-100: #f2ede3;
  --ink: #17231c;
  --muted: #5b6b61;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 10px 40px -12px rgba(13, 36, 24, 0.25);
  --max: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sand-50: #0f1a14;
    --sand-100: #15241b;
    --ink: #e9f2ec;
    --muted: #9fb3a6;
    --white: #182a20;
  }
}

:root[data-theme="dark"] {
  --sand-50: #0f1a14;
  --sand-100: #15241b;
  --ink: #e9f2ec;
  --muted: #9fb3a6;
  --white: #182a20;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--sand-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-500);
  font-weight: 700;
  margin-bottom: 14px;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 400; font-style: italic; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; margin-bottom: 18px; }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green-500); color: #fff; box-shadow: 0 10px 30px -10px rgba(47, 138, 87, 0.7); }
.btn-primary:hover { background: #267449; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(13, 36, 24, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px -10px rgba(0, 0, 0, 0.4);
  padding: 12px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; color: #fff; }
.logo { font-weight: 800; font-size: 1.15rem; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--green-300), var(--green-500));
  display: grid; place-items: center; color: var(--green-900); font-weight: 900;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; font-weight: 500; opacity: 0.9; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; color: var(--green-300); }
.nav-cta { padding: 10px 20px; font-size: 0.95rem; }
.burger { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* Hero */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 140px 0 90px;
  background: var(--green-900);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: heroZoom 18s ease-out forwards;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 36, 24, 0.55) 0%, rgba(13, 36, 24, 0.85) 100%),
    radial-gradient(circle at 20% 30%, rgba(47, 138, 87, 0.35), transparent 60%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { max-width: 16ch; font-weight: 400; }
.hero .sub { font-size: clamp(1.1rem, 2.4vw, 1.5rem); color: var(--green-300); font-weight: 600; margin: 18px 0 14px; }
.hero .lead { color: rgba(255, 255, 255, 0.82); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.6); border-radius: 20px; z-index: 2;
}
.scroll-hint::after {
  content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: wheel 1.8s infinite;
}

@keyframes heroZoom { to { transform: scale(1); } }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Services */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px -16px rgba(13, 36, 24, 0.35); }
.card-media { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--green-700), var(--green-500)); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 26px 26px 30px; }
.icon {
  font-size: 1.8rem; width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 16px; background: var(--sand-100); margin-bottom: 16px;
}
.card p { color: var(--muted); }

/* Irrigation */
.irrigation {
  background: linear-gradient(160deg, var(--green-900), var(--green-700));
  color: #fff;
  overflow: hidden;
}
.irrigation .lead, .irrigation p { color: rgba(255, 255, 255, 0.78); }
.irrigation .eyebrow { color: var(--green-300); }
.split { display: grid; gap: 50px; align-items: center; grid-template-columns: 1fr 1fr; }
.benefits { list-style: none; display: grid; gap: 16px; margin-top: 28px; }
.benefit {
  display: flex; gap: 16px; padding: 20px 22px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px; backdrop-filter: blur(6px);
}
.benefit strong { color: var(--green-300); display: block; margin-bottom: 2px; }
.benefit span { color: rgba(255,255,255,0.8); }
.stat-box {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px; padding: 40px; text-align: center;
}
.stat-number { font-size: clamp(4rem, 10vw, 6.5rem); font-weight: 900; color: var(--green-300); line-height: 1; }
.stat-label { font-size: 1.1rem; margin-top: 10px; color: rgba(255,255,255,0.85); }

.checklist { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.checklist li { padding-left: 34px; position: relative; color: rgba(255,255,255,0.85); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%; background: var(--green-500); color: #fff;
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 800;
}
.checklist strong { color: #fff; }

.tropf-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 40px; }
.tropf-item {
  padding: 26px; border-radius: 20px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
.tropf-item h3 { color: var(--green-300); }
.tropf-item p { color: rgba(255,255,255,0.8); }
.tropf-sub { margin-top: 70px; }
.tropf-sub h3 { font-size: 1.5rem; margin-bottom: 0; }
.tropf-tags { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.tag {
  padding: 12px 20px; border-radius: 999px; background: rgba(127, 209, 160, 0.14);
  color: var(--green-300); font-weight: 600; border: 1px solid rgba(127,209,160,0.3);
}

/* Vision / Werte */
.values { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 40px; }
.value {
  background: var(--white); padding: 34px; border-radius: var(--radius); box-shadow: var(--shadow);
  border-top: 4px solid var(--green-500);
}
.value p { color: var(--muted); }
.vision-text { font-size: 1.25rem; max-width: 70ch; color: var(--ink); }

/* Hours & contact */
.contact { background: var(--sand-100); }
.contact-grid { display: grid; gap: 40px; grid-template-columns: 1fr 1.15fr; align-items: start; }
.info-list { list-style: none; display: grid; gap: 18px; margin-top: 28px; }
.info-list li {
  display: flex; gap: 16px; align-items: flex-start; background: var(--white);
  padding: 20px 22px; border-radius: 18px; box-shadow: var(--shadow);
}
.info-list .icon { margin: 0; flex-shrink: 0; }
.info-list small { display: block; color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.info-list a { text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.info-list a:hover { color: var(--green-500); }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.hours-table td { padding: 4px 0; }
.hours-table td:last-child { text-align: right; font-weight: 600; }

form.form {
  background: var(--white); padding: clamp(26px, 4vw, 44px); border-radius: 28px; box-shadow: var(--shadow);
  display: grid; gap: 18px;
}
.field { display: grid; gap: 8px; position: relative; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field textarea {
  font: inherit; padding: 14px 16px; border-radius: 14px; border: 1.5px solid #d6dfd8;
  background: var(--sand-50); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(47,138,87,0.18); }
.field.invalid input, .field.invalid textarea { border-color: #c0392b; }
.error-text { color: #c0392b; font-size: 0.85rem; display: none; }
.field.invalid .error-text { display: block; }
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-status { display: none; padding: 16px 18px; border-radius: 14px; font-weight: 600; }
.form-status.ok { display: block; background: #e4f5ea; color: #1b5e3a; }
.form-status.err { display: block; background: #fbe9e7; color: #922b21; }
.form .btn { justify-self: start; border: 0; }

/* Footer */
.site-footer { background: var(--green-900); color: rgba(255,255,255,0.75); padding: 56px 0 30px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: center; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--green-300); }
.footer-bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; }

/* Legal pages */
.legal { padding: 150px 0 90px; }
.legal .card-body { padding: clamp(26px, 5vw, 60px); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.legal p { margin-bottom: 14px; color: var(--ink); }
.legal .box { background: var(--sand-100); border-radius: 18px; padding: 22px 26px; margin-bottom: 18px; }
.legal a { color: var(--green-500); }
.legal-card { background: var(--white); border-radius: 28px; box-shadow: var(--shadow); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 920px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--green-900); padding: 24px 16px; gap: 18px;
  }
  .nav-links.open a { font-size: 1.1rem; }
}

@media (max-width: 520px) {
  .hero { padding-top: 120px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stat-box { padding: 30px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ===== Feinschliff ===== */
::selection { background: var(--green-500); color: #fff; }
:focus-visible { outline: 3px solid var(--green-300); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--green-500); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* Hero: sanfter Einblend-Effekt für Texte */
.hero .eyebrow, .hero h1, .hero .sub, .hero .lead, .hero-actions {
  opacity: 0; transform: translateY(18px);
  animation: heroIn 1s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero h1 { animation-delay: 0.15s; }
.hero .sub { animation-delay: 0.3s; }
.hero-actions { animation-delay: 0.45s; }
.hero .eyebrow { animation-delay: 0s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* Vertrauensleiste */
.trust {
  display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: -60px; position: relative; z-index: 3;
}
.trust-item {
  background: var(--white); border-radius: 20px; padding: 24px 26px; box-shadow: var(--shadow);
  display: flex; gap: 16px; align-items: center;
}
.trust-item .icon { margin: 0; flex-shrink: 0; }
.trust-item strong { display: block; font-family: Georgia, serif; font-weight: 500; font-size: 1.1rem; }
.trust-item span { color: var(--muted); font-size: 0.92rem; }

/* Karten: Hover-Linie */
.card { position: relative; }
.card::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0;
  background: linear-gradient(90deg, var(--green-500), var(--green-300)); transition: width 0.5s ease;
}
.card:hover::after { width: 100%; }
.card-body h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }

/* Mobile Anrufleiste */
.call-bar { display: none; }
@media (max-width: 920px) {
  .call-bar {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; gap: 10px;
  }
  .call-bar a {
    flex: 1; text-align: center; padding: 15px; border-radius: 999px; text-decoration: none;
    font-weight: 700; color: #fff; background: var(--green-500); box-shadow: 0 12px 30px -10px rgba(13,36,24,0.6);
  }
  .call-bar a.secondary { background: var(--green-900); }
  main, .site-footer { padding-bottom: 20px; }
}

/* Fußzeile */
.footer-grid { display: grid; gap: 34px; grid-template-columns: 1.4fr 1fr 1fr; }
.footer-grid h4 { color: #fff; font-family: Georgia, serif; font-weight: 500; font-size: 1.1rem; margin-bottom: 12px; }
.footer-grid p, .footer-grid li { font-size: 0.95rem; list-style: none; }
.footer-grid ul { display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--green-300); }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* Sektions-Einblend */
.reveal { will-change: opacity, transform; }

/* Logo-Bild */
.logo-img { height: 46px; width: auto; display: block; }
.site-footer .logo-img { height: 58px; }

/* Logo in der Kopfzeile dunkel hinterlegen, damit die goldene Schrift über dem Foto lesbar bleibt */
.site-header .logo-img { background: rgba(11,21,16,0.78); padding: 6px 12px; border-radius: 12px; height: 54px; }
