/* Gartenteam Herzog, Farben und Schrift nach CI-Leitfaden */
@font-face { font-family: "Ubuntu"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/ubuntu-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Ubuntu"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/ubuntu-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Ubuntu"; font-weight: 700; font-style: normal; font-display: swap; src: url("../assets/fonts/ubuntu-700-latin.woff2") format("woff2"); }

:root {
  --gth-dunkelgruen: #066130;
  --gth-blattgruen: #43A52A;
  --gth-limette: #97BD0D;
  --gth-hellgruen: #F4F7EC;
  --gth-text: #1F2A1F;
  --gth-grau: #6B7366;
  --gth-font: "Ubuntu", system-ui, sans-serif;
  --leaf: 46% 14px 46% 14px / 46% 14px 46% 14px;
  --radius: 14px;
  --shadow: 0 20px 50px -20px rgba(6, 97, 48, .35);
  --header-h: 76px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--gth-font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--gth-text);
  background: #fff;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 18px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gth-dunkelgruen); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--gth-blattgruen); }
h1, h2, h3 { color: var(--gth-dunkelgruen); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-weight: 700; font-size: clamp(34px, 5.2vw, 56px); }
h2 { font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-weight: 500; font-size: clamp(20px, 2vw, 24px); }
p { margin: 0 0 1em; }
.lead { font-size: 1.08em; color: var(--gth-text); max-width: 60ch; }
.eyebrow {
  display: inline-block;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gth-dunkelgruen);
  margin-bottom: 14px;
  padding-left: 30px;
  position: relative;
}
.eyebrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 3px; background: var(--gth-limette); border-radius: 2px; }
.accent { position: relative; white-space: nowrap; isolation: isolate; --accent-scale: 1; }
.accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em;
  background: var(--gth-limette); opacity: .55; z-index: -1; border-radius: 3px;
  transform-origin: left; transform: scaleX(var(--accent-scale, 1));
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }
.section { padding: clamp(64px, 9vw, 120px) 0; scroll-margin-top: var(--header-h); }
.section-tint { background: var(--gth-hellgruen); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 16px/1.2 var(--gth-font);
  padding: 15px 24px; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
  min-height: 48px;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gth-dunkelgruen); color: #fff; border-color: var(--gth-dunkelgruen); }
.btn-primary:hover { background: var(--gth-blattgruen); border-color: var(--gth-blattgruen); color: var(--gth-text); }
.btn-secondary { background: #fff; color: var(--gth-dunkelgruen); border-color: var(--gth-dunkelgruen); }
.btn-secondary:hover { background: var(--gth-hellgruen); color: var(--gth-dunkelgruen); }
.btn-block { width: 100%; }
.arrow-link { font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.arrow-link::after { content: "→"; transition: transform .2s; }
.arrow-link:hover::after { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 97, 48, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; }
.brand img { height: 44px; width: auto; }
@media (max-width: 899px) { .brand img { height: 48px; } }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 16px; color: var(--gth-dunkelgruen); }
.nav a:not(.btn):hover { color: var(--gth-blattgruen); }
.nav .btn { padding: 11px 20px; min-height: 44px; }
.nav a.btn-primary { color: #fff; }
.nav a.btn-primary:hover { color: var(--gth-text); }
.menu-toggle { display: none; background: none; border: 0; width: 48px; height: 48px; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; height: 3px; width: 100%; background: var(--gth-dunkelgruen); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 899px) {
  /* no backdrop-filter here: it would turn the header into the containing block of the fixed menu */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff;
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 32px var(--gutter); gap: 22px;
    transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav a { font-size: 22px; }
  .nav .btn { font-size: 16px; margin-top: 8px; }
  .nav-cta { display: none; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--gth-hellgruen) 100%);
  padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px);
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.hero-copy { position: relative; isolation: isolate; }
/* soft white veil under the copy: the 3D leaves keep drifting, the text stays readable */
.hero-copy::before {
  content: ""; position: absolute; inset: -6% -10%; z-index: -1;
  background: rgba(255, 255, 255, .85); filter: blur(36px); border-radius: 40%;
}
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy .lead { margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--gth-grau); }
.trust li { position: relative; padding-left: 18px; }
.trust li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50% 0 50% 0; background: var(--gth-blattgruen); }

.hero-visual { position: relative; padding-bottom: 60px; }
.leaf-photo { margin: 0; overflow: hidden; border-radius: var(--leaf); box-shadow: var(--shadow); background: var(--gth-hellgruen); }
.leaf-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo { aspect-ratio: 4 / 3; }
.hero-photo img { aspect-ratio: 4 / 3; }
.logo-card {
  position: absolute; left: 0; bottom: 0;
  background: #fff; border-radius: var(--radius); padding: 18px 22px;
  box-shadow: var(--shadow);
}
.logo-card img { height: 160px; width: auto; }
@media (min-width: 900px) { .logo-card { left: -24px; } .logo-card img { height: 180px; } }

/* Reveal defaults, JS animates them in; without JS everything stays visible */
.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.js .reveal-done [data-reveal], .js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Leistungen */
.services { display: grid; gap: 28px; }
@media (min-width: 700px) { .services { grid-template-columns: 1fr 1fr; gap: 32px; } }
.service {
  background: #fff; border-radius: var(--radius); border: 1px solid rgba(6, 97, 48, .1);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service .leaf-photo { border-radius: 0; box-shadow: none; aspect-ratio: 3 / 2; }
.service .leaf-photo img { aspect-ratio: 3 / 2; transition: transform .6s ease; }
.service:hover .leaf-photo img { transform: scale(1.04); }
.service-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.service-tag { color: var(--gth-grau); font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; margin: 0; }
.service-body h3 { margin: 0 0 4px; }
.service-body p:not(.service-tag) { flex: 1; margin-bottom: 14px; }
.more-services { margin-top: clamp(32px, 5vw, 48px); }
.more-label { font-weight: 500; color: var(--gth-dunkelgruen); margin-bottom: 12px; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { background: var(--gth-hellgruen); color: var(--gth-dunkelgruen); border-radius: 999px; padding: 9px 16px; font-size: 15px; font-weight: 500; }

/* Über uns */
.about-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.about-copy .btn { margin-top: 8px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fact { background: #fff; border-radius: var(--radius); padding: 24px 22px; display: flex; flex-direction: column; gap: 6px; border-top: 4px solid var(--gth-limette); }
.fact:nth-child(2n) { border-top-color: var(--gth-blattgruen); }
.fact-wide { grid-column: 1 / -1; }
.fact-num { font-weight: 700; font-size: clamp(30px, 4vw, 42px); color: var(--gth-dunkelgruen); line-height: 1; }
.fact-label { color: var(--gth-grau); font-size: 15px; }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.step { position: relative; padding: 28px 26px; border-radius: var(--radius); background: var(--gth-hellgruen); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50% 0 50% 0; background: var(--gth-dunkelgruen); color: #fff;
  font-weight: 700; font-size: 18px; margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; }

/* Kontakt */
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.2fr .8fr; gap: 64px; } }
.contact-form { display: grid; gap: 18px; margin-top: 8px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: 500; color: var(--gth-dunkelgruen); font-size: 15px; }
.optional { color: var(--gth-grau); font-weight: 400; }
.field input, .field select, .field textarea {
  font: 400 17px/1.4 var(--gth-font); color: var(--gth-text);
  padding: 13px 16px; border: 1.5px solid #cfd8c7; border-radius: 10px; background: #fff; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gth-blattgruen); box-shadow: 0 0 0 4px rgba(67, 165, 42, .18); }
.field textarea { resize: vertical; min-height: 130px; }
.field-check { flex-direction: row; align-items: flex-start; gap: 12px; font-size: 15px; }
.field-check input { width: 22px; height: 22px; margin: 3px 0 0; padding: 0; flex: none; accent-color: var(--gth-dunkelgruen); }
.field-check label { font-weight: 400; color: var(--gth-text); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; }
.field-check.invalid input { outline: 2px solid #c0392b; outline-offset: 2px; border-radius: 3px; }
.field-check.invalid label { color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; margin: 0; font-weight: 500; }
.form-status.ok { color: var(--gth-dunkelgruen); }
.form-status.err { color: #c0392b; }
.contact-card { background: var(--gth-dunkelgruen); color: #fff; border-radius: var(--radius); padding: 32px 28px; display: grid; gap: 22px; box-shadow: var(--shadow); }
.contact-card h3 { color: #fff; margin: 0; }
.contact-big { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: #fff; }
.contact-label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gth-limette); font-weight: 500; }
.contact-value { font-size: 18px; line-height: 1.45; }
a.contact-big:hover .contact-value { color: var(--gth-limette); }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: 8px 16px; text-decoration: none; font-weight: 500; font-size: 15px; }
.social a:hover { background: #fff; color: var(--gth-dunkelgruen); }

/* Footer */
.site-footer { background: var(--gth-dunkelgruen); color: #fff; padding: 56px 0 24px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gth-limette); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: auto 1fr 1fr 1fr; gap: 48px; } }
.footer-brand img { width: 126px; }
.footer-title { font-weight: 700; margin-bottom: 8px; }
.footer-col p { margin-bottom: 12px; font-size: 16px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 14px; color: rgba(255, 255, 255, .8); }
.footer-bottom p { margin: 0; }

/* Mobile bar */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(6, 97, 48, .12); gap: 10px;
  transition: transform .3s;
}
.mobile-bar .btn { flex: 1; padding: 13px 12px; font-size: 15px; }
.mobile-bar.hidden { transform: translateY(110%); }
@media (max-width: 899px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 72px; }
}

/* Unterseiten */
.page { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 110px); }
.page .container { max-width: 820px; }
.page h2 { font-size: clamp(22px, 2.6vw, 28px); margin-top: 1.8em; }
.page h3 { font-size: 19px; margin-top: 1.4em; }
.page address { font-style: normal; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
