/* ============================================================
   Lichte Wurzel · Solidarische Landwirtschaft — Ober-Neundorf
   Palette aus dem Aquarell-Logo: Cremeweiß, Blattgrün,
   Wurzelrot, Herz-Orange. Serif: Cormorant Garamond, Sans: Inter.
   ============================================================ */

/* ---------- Schriften lokal (DSGVO) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('fonts/cormorant-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('fonts/cormorant-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Variablen ---------- */
:root {
  --creme: #faf6ec;
  --creme-tief: #f2ecdb;
  --surface: #fffdf7;
  --gruen: #3c7a44;
  --gruen-tief: #29532f;
  --wurzel: #96525b;
  --akzent: #b05e12;       /* Kontrast Weiss 4,7:1 (WCAG AA); vorher #e08a2e = 2,7:1 */
  --akzent-tief: #8f4c0e;
  --ink: #2e2a22;
  --ink-m: #63604f;
  --line: #e4dcc6;

  /* Termin-Modul (neutral halten, nur Variablen setzen) */
  --termine-akzent: var(--gruen);
  --termine-datum-bg: var(--gruen-tief);
  --termine-flaeche: var(--surface);
  --termine-linie: var(--line);
  --termine-text: var(--ink);
  --termine-text-2: var(--ink-m);
}

/* ---------- Basis ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--creme);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gruen); }
a:hover { color: var(--gruen-tief); }

h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; line-height: 1.2; color: var(--gruen-tief); }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: .6em; }
h3 { font-size: 1.45rem; margin-bottom: .4em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
.section-alt { background: var(--creme-tief); }
.lead { font-size: 1.15rem; color: var(--ink-m); max-width: 46em; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Dezente Einblendung beim Scrollen */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--akzent); color: #fff; }
.btn--primary:hover { background: var(--akzent-tief); color: #fff; }
.btn--ghost { border-color: #fff; color: #fff; background: rgba(0,0,0,.15); }
.btn--ghost:hover { background: #fff; color: var(--gruen-tief); }
.btn--gruen { background: var(--gruen); color: #fff; }
.btn--gruen:hover { background: var(--gruen-tief); color: #fff; }
.btn--big { padding: 16px 36px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(250, 246, 236, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 16px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand__name {
  display: inline-block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gruen-tief);
  line-height: 1.1;
  white-space: nowrap;
}
.brand__sub { display: block; font-family: 'Inter', sans-serif; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--wurzel); }
.nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  white-space: nowrap;
}
.nav a:hover { background: var(--creme-tief); color: var(--gruen-tief); }
.nav a.is-active { background: var(--gruen); color: #fff; }
.nav a.nav__cta { background: var(--akzent); color: #fff; margin-left: 6px; }
.nav a.nav__cta:hover { background: var(--akzent-tief); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--gruen-tief); margin: 5px 0; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }

@media (max-width: 1500px) and (min-width: 1201px) {
  .nav { gap: 2px; }
  .nav a { padding: 9px 10px; font-size: .9rem; }
}
@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--creme);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 16px; }
  .nav a.nav__cta { margin-left: 0; text-align: center; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 780px);
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  background: var(--gruen-tief) url('images/bg-home-1.jpg') center 60% / cover no-repeat;
  color: #fff;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20, 40, 22, .78) 0%, rgba(20, 40, 22, .45) 48%, rgba(20, 40, 22, .12) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; margin-bottom: .25em; }
.hero__kicker { font-size: .85rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #ffd9a3; margin-bottom: 18px; }
.hero__text { font-size: 1.25rem; max-width: 34em; margin-bottom: 34px; color: #f3efe2; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 920px) {
  .hero { min-height: 0; padding: 130px 0 70px; }
}

/* ---------- Seiten-Hero (Unterseiten) ---------- */
.page-hero {
  position: relative;
  padding: 170px 0 80px;
  background: var(--gruen-tief) center / cover no-repeat;
  color: #fff;
}
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(20, 40, 22, .55), rgba(20, 40, 22, .62)); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.3rem); }
.page-hero p { font-size: 1.15rem; color: #f3efe2; max-width: 40em; margin-top: 10px; }
.page-hero--ueberuns { background-image: url('images/bg-home-2.jpg'); }
.page-hero--goerlitz { background-image: url('images/goerlitz-bg.jpg'); }
.page-hero--bautzen {
  background-image: url('images/bautzen-bg.jpg');
  background-position: center 44%; /* Kisten + Radieselbund ins Bild rücken */
  padding-top: 210px;
  padding-bottom: 130px;
}
.page-hero--obstbaum { background-image: url('images/bg-home-1.jpg'); background-position: center 30%; }
.page-hero--kontakt { background-image: url('images/kontakt-banner.jpg'); }

/* ---------- Zweispalter Text/Bild ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--rev > .split__img { order: -1; }
.split__img img { border-radius: 16px; box-shadow: 0 18px 44px rgba(46, 42, 34, .18); width: 100%; object-fit: cover; }
.split p + p { margin-top: 1em; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split--rev > .split__img { order: 0; }
}
.split ul { margin: 1em 0 0 1.2em; }
.split li + li { margin-top: .4em; }

/* ---------- Galerie Ernteanteile ---------- */
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.galerie figure {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(46, 42, 34, .08);
}
.galerie img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s ease; }
.galerie figure:hover img { transform: scale(1.04); }
.galerie figcaption { padding: 13px 16px; font-weight: 600; font-size: .95rem; color: var(--gruen-tief); }
@media (max-width: 820px) { .galerie { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* ---------- Preiskarten ---------- */
.preise { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 26px; justify-content: center; margin-top: 44px; }
.preis {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 30px 32px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(46, 42, 34, .09);
}
.preis--gross { border: 2px solid var(--akzent); position: relative; }
.preis__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--akzent); color: #fff;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.preis h3 { font-size: 1.6rem; }
.preis__betrag { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 3.1rem; font-weight: 600; color: var(--gruen); line-height: 1; margin: 14px 0 2px; }
.preis__einheit { color: var(--ink-m); font-size: .95rem; margin-bottom: 14px; }
.preis p { color: var(--ink-m); font-size: .98rem; }
@media (max-width: 680px) { .preise { grid-template-columns: 1fr; } }

/* ---------- Video (Klick-zum-Laden, DSGVO) ---------- */
.video-box { max-width: 820px; margin: 44px auto 0; display: block; text-decoration: none; }
.video-box:hover .video-consent::before { background: rgba(20, 40, 22, .5); }
.video-play {
  display: flex; align-items: center; justify-content: center;
  width: 68px; height: 68px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--akzent);
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
  transition: transform .2s ease, background .2s ease;
}
.video-play::after { content: ''; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.video-box:hover .video-play { transform: scale(1.08); background: var(--akzent-tief); }
.video-consent {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--gruen-tief) url('images/bg-home-2.jpg') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.video-consent::before { content: ''; position: absolute; inset: 0; background: rgba(20, 40, 22, .62); }
.video-consent > div { position: relative; z-index: 1; padding: 24px; }
.video-title { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.9rem; font-weight: 600; color: #fff; line-height: 1.15; }
.video-hint { display: block; margin-top: 8px; font-size: 1rem; font-weight: 600; color: #fff; }
.video-box iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; }

/* ---------- Zitat ---------- */
.zitat {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--gruen-tief);
}
.zitat footer { margin-top: 18px; font-family: 'Inter', sans-serif; font-style: normal; font-size: .9rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wurzel); }

/* ---------- Info-Kacheln (Abholung) ---------- */
.infozeile { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 40px; }
.info-karte {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gruen);
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 10px 24px rgba(46, 42, 34, .07);
}
.info-karte h3 { font-size: 1.25rem; }
.info-karte p { color: var(--ink-m); font-size: .98rem; }
.info-karte strong { color: var(--ink); }

/* ---------- Formular ---------- */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 34px 30px; box-shadow: 0 14px 34px rgba(46, 42, 34, .09); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; gap: 0; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--gruen-tief); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gruen); outline-offset: 1px; border-color: var(--gruen); }
.consent-row { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-m); margin: 6px 0 20px; }
.consent-row input { margin-top: 4px; }
.hp-field { position: absolute; left: -9999px; }
.form__status { margin-top: 16px; padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.form__status.is-ok { background: #e4f0e0; color: var(--gruen-tief); }
.form__status.is-err { background: #f6e4e4; color: #8c3b3b; }
/* Rückmeldung ohne JavaScript: nur sichtbar, wenn der Anker in der Adresse steht */
.formular__ziel { display: none; }
.formular__ziel:target { display: block; }

/* ---------- Kontakt-Layout ---------- */
.kontakt-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: start; }
@media (max-width: 820px) { .kontakt-grid { grid-template-columns: 1fr; } }
.adresse { font-style: normal; line-height: 1.9; }
.adresse strong { color: var(--gruen-tief); }

/* ---------- Impressum / Recht ---------- */
.recht h2 { margin-top: 1.6em; }
.recht h3 { margin-top: 1.2em; color: var(--gruen); }
.recht p + p { margin-top: .8em; }
.recht { max-width: 46em; }

/* ---------- Termine ---------- */
.termine-sektion .lead { margin-bottom: 8px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--gruen-tief);
  color: #dfe8d9;
  padding: 60px 0 28px;
  margin-top: 0;
}
.footer a { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr; gap: 28px; } }
.footer h3 { color: #fff; font-size: 1.3rem; }
.footer ul { list-style: none; }
.footer li { margin: 6px 0; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer__brand img { width: 52px; height: 52px; border-radius: 50%; }
.footer__brand span { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.45rem; color: #fff; }
.footer__unten {
  border-top: 1px solid rgba(255, 255, 255, .18);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: space-between;
  font-size: .88rem;
  color: #b9c7b1;
}
.footer__unten a { color: #dfe8d9; text-decoration: none; }
.footer__unten a:hover { color: #fff; text-decoration: underline; }

/* Dezenter Hersteller-Credit im Footer (Standard 24.07.2026) */
.footer__unten a.credit { color: #b9c7b1; font-size: .85em; }   /* 5,0:1 auf dem Gruen */
.footer__unten a.credit:hover, .footer__unten a.credit:focus-visible { color: #fff; }

/* ============================================================
   Bilder: WebP-Varianten (18.09.2026, PageSpeed)
   Erste Zeile jeweils JPG als Rueckfall, image-set liefert WebP.
   Handy (<=900px) bekommt 1200px breit - bleibt auch bei 3x-Displays scharf.
   ============================================================ */
picture { display: block; }
.brand picture, .footer__brand picture { display: inline-block; line-height: 0; }

.hero { background-image: image-set(url('images/bg-home-1-1800.webp') type('image/webp'), url('images/bg-home-1.jpg') type('image/jpeg')); }
.page-hero--ueberuns { background-image: image-set(url('images/bg-home-2-1800.webp') type('image/webp'), url('images/bg-home-2.jpg') type('image/jpeg')); }
.page-hero--goerlitz { background-image: image-set(url('images/goerlitz-bg-1800.webp') type('image/webp'), url('images/goerlitz-bg.jpg') type('image/jpeg')); }
.page-hero--bautzen  { background-image: image-set(url('images/bautzen-bg-960.webp') type('image/webp'), url('images/bautzen-bg.jpg') type('image/jpeg')); }
.page-hero--obstbaum { background-image: image-set(url('images/bg-home-1-1800.webp') type('image/webp'), url('images/bg-home-1.jpg') type('image/jpeg')); }
.page-hero--kontakt  { background-image: image-set(url('images/kontakt-banner-1800.webp') type('image/webp'), url('images/kontakt-banner.jpg') type('image/jpeg')); }
.video-consent       { background-image: image-set(url('images/bg-home-2-1200.webp') type('image/webp'), url('images/bg-home-2.jpg') type('image/jpeg')); }

@media (max-width: 900px) {
  .hero, .page-hero--obstbaum { background-image: image-set(url('images/bg-home-1-1200.webp') type('image/webp'), url('images/bg-home-1.jpg') type('image/jpeg')); }
  .page-hero--ueberuns { background-image: image-set(url('images/bg-home-2-1200.webp') type('image/webp'), url('images/bg-home-2.jpg') type('image/jpeg')); }
  .page-hero--goerlitz { background-image: image-set(url('images/goerlitz-bg-1200.webp') type('image/webp'), url('images/goerlitz-bg.jpg') type('image/jpeg')); }
  .page-hero--kontakt  { background-image: image-set(url('images/kontakt-banner-1200.webp') type('image/webp'), url('images/kontakt-banner.jpg') type('image/jpeg')); }
  .video-consent       { background-image: image-set(url('images/bg-home-2-800.webp') type('image/webp'), url('images/bg-home-2.jpg') type('image/jpeg')); }
}

