/* ============================================================
   Kolweier Gartenbau – Landingpage
   ============================================================ */

/* ------------------------------------------------------------
   Selbst gehostete Schriften (DSGVO-konform – kein externer
   Abruf von Google Fonts). Dateien liegen unter fonts/.
   ------------------------------------------------------------ */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 700;
  font-display: swap; src: url("fonts/inter-700.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("fonts/fraunces-400.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("fonts/fraunces-500.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 700;
  font-display: swap; src: url("fonts/fraunces-700.woff2") format("woff2");
}

:root {
  --bg:        #F7F3EA;
  --surface:   #FFFFFF;
  --primary:   #173F1D;
  --primary-d: #102e15;
  --accent:    #7FA05A;
  --accent-d:  #6b8b49;
  --text:      #1E2A1F;
  --soft:      #5F665C;
  --line:      #D8DEC8;

  --radius:    18px;
  --radius-sm: 12px;
  --pill:      999px;
  --shadow-sm: 0 6px 18px rgba(23, 63, 29, .06);
  --shadow-md: 0 16px 40px rgba(23, 63, 29, .10);
  --shadow-lg: 0 26px 60px rgba(23, 63, 29, .14);
  --ease:      cubic-bezier(.22, .61, .36, 1);

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
}

.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: var(--pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn .ico { width: 18px; height: 18px; fill: currentColor; transition: transform .3s var(--ease); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(23, 63, 29, .22);
}
.btn-primary:hover {
  background: var(--primary-d);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(23, 63, 29, .30);
}
.btn-primary:hover .ico { transform: rotate(-12deg) scale(1.08); }

.btn-ghost {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--primary-d);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-light {
  background: #fff;
  color: var(--primary);
}
.btn-light:hover {
  background: #eef3e4;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
/* Blur lives on a pseudo-element so the fixed mobile drawer is NOT
   trapped in the header's containing block (backdrop-filter would do that). */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(247, 243, 234, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .3s var(--ease);
}
.site-header.scrolled::before { background: rgba(247, 243, 234, .94); }
.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(23, 63, 29, .07);
  border-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .7rem 0;
}

.brand { display: flex; align-items: center; }
.brand-logo {
  height: 122px; width: auto;
  border-radius: 10px;
}

.main-nav { display: flex; gap: 2.2rem; }
.nav-link {
  position: relative;
  font-weight: 500;
  color: var(--text);
  padding: .3rem 0;
  transition: color .25s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--primary); font-weight: 600; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .25s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(560px, 86vh, 820px);
  display: flex;
  align-items: center;
  padding: 5rem 0 7rem;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
/* light, natural blend so left text stays readable */
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg,
      rgba(247,243,234,.97) 0%,
      rgba(247,243,234,.92) 30%,
      rgba(247,243,234,.55) 52%,
      rgba(247,243,234,.10) 70%,
      rgba(247,243,234,0) 100%);
}
.hero-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(247,243,234,.85), rgba(247,243,234,0) 35%);
}
.hero-grid { position: relative; z-index: 2; width: min(1180px, 100% - 3rem); }
.hero-copy { max-width: 620px; }

.hero-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  margin: 0 0 1.3rem;
  color: var(--primary);
}
.hero-title .accent { color: var(--accent-d); }
.hero-kw {
  display: block;
  margin-top: .9rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.35;
  letter-spacing: .01em;
  color: var(--soft);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--text);
  max-width: 30em;
  margin: 0 0 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%; height: clamp(60px, 9vw, 120px);
  z-index: 1;
  display: block;
}
.hero-wave path { fill: var(--bg); }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 3.8rem); }
.section-title,
.block-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  color: var(--primary);
  margin: 0 0 .85rem;
  line-height: 1.1;
}
.title-underline {
  display: block;
  width: 64px; height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  margin: 0 auto;
}
.section-head .section-lead {
  margin: 1.3rem auto 0;
  color: var(--soft);
  font-size: 1.05rem;
}

/* ============================================================
   SERVICES
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: #cdd7b6;
}
.card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.service-card:hover .card-media img { transform: scale(1.07); }

.card-body { padding: 1.6rem 1.5rem 1.7rem; }
.card-body h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.28rem;
  margin: 0 0 .5rem;
  color: var(--primary);
}
.card-body p { margin: 0; color: var(--soft); font-size: .96rem; }

/* ============================================================
   ÜBER UNS / SEO-TEXT
   ============================================================ */
.about { background: var(--surface); border-top: 1px solid var(--line); }
.about-body { max-width: 860px; margin: 0 auto; }
.about-body p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 0 0 1.15rem;
}
.about-body h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  color: var(--primary);
  margin: 2rem 0 .6rem;
}
.about-body strong { color: var(--text); font-weight: 600; }
.about-areas {
  background: var(--bg);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  color: var(--soft) !important;
}
.about-body .btn { margin-top: 1.4rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: linear-gradient(180deg, var(--bg), #f1ecdf); }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
}
.contact-info {
  padding: clamp(2rem, 4vw, 3.2rem);
  border-right: 1px solid var(--line);
}
.contact-info .title-underline { margin: 0 0 1.3rem; }
.contact-intro { color: var(--soft); margin: 0 0 1.8rem; }

.info-list { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: 1.15rem; }
.info-list li { display: flex; align-items: flex-start; gap: .9rem; }
.info-ico {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: #eef3e4;
  border-radius: 12px;
}
.info-ico svg { width: 20px; height: 20px; fill: var(--primary); }
.info-list a:hover { color: var(--accent-d); }

.info-note {
  display: flex; align-items: center; gap: .8rem;
  background: #eef3e4;
  border: 1px dashed #c2cfa6;
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  color: var(--primary);
  font-weight: 500;
  font-size: .95rem;
}
.info-note .ico { width: 26px; height: 26px; fill: var(--accent-d); flex: 0 0 26px; }

/* form */
.contact-form { padding: clamp(2rem, 4vw, 3.2rem); display: grid; gap: 1rem; align-content: start; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: #fbfaf5;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .9rem 1.05rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa093; }
.field input:focus, .field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(127, 160, 90, .16);
}
.field.invalid input, .field.invalid textarea { border-color: #c0563f; box-shadow: 0 0 0 4px rgba(192, 86, 63, .12); }

.checkbox { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--soft); cursor: pointer; }
.checkbox input {
  appearance: none;
  width: 20px; height: 20px;
  flex: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfaf5;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.checkbox input::after {
  content: "";
  width: 11px; height: 6px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform .2s var(--ease);
  margin-top: -2px;
}
.checkbox input:checked { background: var(--accent-d); border-color: var(--accent-d); }
.checkbox input:checked::after { transform: rotate(-45deg) scale(1); }

.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: .4rem; }
.form-status { margin: 0; font-size: .9rem; font-weight: 600; }
.form-status.ok { color: var(--accent-d); }
.form-status.err { color: #c0563f; }
.form-foot .btn { margin-left: auto; }
.form-foot .btn[disabled] { opacity: .65; cursor: default; transform: none; }

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

/* ============================================================
   TRUST BAND
   ============================================================ */
.trust { position: relative; padding: clamp(3.5rem, 7vw, 6rem) 0; overflow: hidden; color: #fff; }
.trust-media { position: absolute; inset: 0; z-index: 0; }
.trust-media img { width: 100%; height: 100%; object-fit: cover; }
.trust-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(16,33,18,.93), rgba(23,63,29,.82) 55%, rgba(45,74,42,.72));
}
.trust-inner { position: relative; z-index: 2; text-align: center; }
.trust-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  margin: 0 0 1rem;
}
.trust-lead { max-width: 720px; margin: 0 auto 2.8rem; color: rgba(255,255,255,.86); font-size: 1.05rem; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; max-width: 880px; margin: 0 auto; }
.trust-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.trust-item:hover { transform: translateY(-6px); background: rgba(255,255,255,.11); }
.trust-ico {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  margin: 0 auto 1rem;
  background: var(--accent);
  border-radius: 50%;
}
.trust-ico svg { width: 28px; height: 28px; fill: #fff; }
.trust-item h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; margin: 0 0 .4rem; }
.trust-item p { margin: 0; color: rgba(255,255,255,.8); font-size: .95rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--primary); color: #fff; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  padding: 2.6rem 0;
}
.footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.6rem 2.2rem; }
.footer-contact li { display: flex; align-items: center; gap: .7rem; font-size: .98rem; }
.footer-contact .info-ico { background: rgba(255,255,255,.1); }
.footer-contact .info-ico svg { fill: #cfe0b5; }
.footer-contact a:hover { color: #cfe0b5; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); }
.footer-bottom .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: 1.1rem 0;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}
.footer-links { display: flex; gap: 1.4rem; }
.footer-links a:hover { color: #fff; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.card-grid .service-card { transition-delay: var(--d, 0s); }

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 84vw);
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    box-shadow: -20px 0 50px rgba(0,0,0,.12);
    padding: 5.5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    z-index: 55;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav .nav-link { padding: 1rem 0; border-bottom: 1px solid var(--line); width: 100%; }
  .main-nav .nav-link::after { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { border-right: none; border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .container { width: min(1180px, 100% - 2rem); }
  .hero { min-height: auto; padding: 3rem 0 5rem; }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(247,243,234,.62), rgba(247,243,234,.93) 60%, var(--bg));
  }
  .hero-title { font-size: clamp(2.3rem, 9vw, 3.2rem); }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .trust-grid { grid-template-columns: 1fr; max-width: 420px; }
  .form-row.two { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .card-grid { grid-template-columns: 1fr; }
  .brand-logo { height: 84px; }
}

/* ============================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ============================================================ */
.page-hero {
  position: relative;
  background: var(--primary);
  color: #fff;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(127,160,90,.35), transparent 55%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb {
  font-size: .85rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .72);
  margin: 0 0 .8rem;
}
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero h1 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.1rem);
  margin: 0;
  line-height: 1.1;
}
.page-hero .wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%; height: clamp(40px, 6vw, 80px);
  display: block;
}
.page-hero .wave path { fill: var(--bg); }

.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.legal .container { width: min(820px, 100% - 3rem); }
.legal h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  color: var(--primary);
  margin: 2.4rem 0 .7rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--line);
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--primary-d);
  margin: 1.6rem 0 .4rem;
}
.legal p, .legal li { color: var(--text); }
.legal p { margin: 0 0 1rem; }
.legal a { color: var(--accent-d); font-weight: 500; }
.legal a:hover { text-decoration: underline; }
.legal ul { margin: 0 0 1.2rem; padding-left: 1.2rem; }
.legal li { margin-bottom: .4rem; }
.legal address {
  font-style: normal;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  margin: 0 0 1.2rem;
  box-shadow: var(--shadow-sm);
  line-height: 1.8;
}
.legal .muted { color: var(--soft); font-size: .92rem; }
.legal .updated { color: var(--soft); font-size: .9rem; margin-top: 2.5rem; }
