/* Gemüsegarten Neuklef – gemeinsames Design (Rückgrat: zahnaesthetik) */
:root {
  --green: #3f7d3a;
  --green-dark: #2b5a27;
  --green-soft: #eef4e9;
  --accent: #e0a33c;
  --earth: #6b4f2a;
  --cream: #faf7f0;
  --ink: #2a2f27;
  --muted: #6f7568;
  --line: #e7e3d8;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(43, 90, 39, .08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--cream); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 240, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--green-dark); }
.brand .logo { width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-size: 1.2rem; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 8px 14px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .97rem; }
.nav-links a:hover { background: var(--green-soft); color: var(--green-dark); }
.nav-links a.active { color: var(--green-dark); font-weight: 700; }
.nav-cta { background: var(--green) !important; color: #fff !important; }
.nav-cta:hover { background: var(--green-dark) !important; }
.burger { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--green-dark); cursor: pointer; }
@media (max-width: 760px) {
  .burger { display: block; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 10px 20px 16px; gap: 4px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 74vh; display: flex; align-items: center;
  color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #3f7d3a 0%, #2b5a27 60%, #244b21 100%);
  background-size: cover; background-position: center; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,40,18,.72), rgba(20,40,18,.35)); }
.hero-inner { position: relative; z-index: 1; padding: 70px 0; max-width: 680px; }
.kicker { display: inline-block; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255,255,255,.16); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; margin-bottom: 16px; }
.hero p.lead { font-size: 1.15rem; opacity: .95; margin-bottom: 28px; max-width: 560px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
  padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: 1rem; font-family: inherit; }
.btn-primary { background: var(--accent); color: #3a2a00; }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-paypal { background: #0070ba; color: #fff; }
.btn-box { background: var(--accent); color: #3a2a00; }
.btn-outline { background: #fff; color: var(--green-dark); border: 1px solid var(--line); }

/* ---------- Sections ---------- */
section.block { padding: 72px 0; }
section.block.alt { background: #fff; }
.eyebrow { color: var(--green); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; }
.block h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); color: var(--green-dark); margin: 8px 0 10px; }
.block .intro { color: var(--muted); max-width: 640px; margin-bottom: 34px; font-size: 1.05rem; }
.center { text-align: center; }
.center .intro { margin-left: auto; margin-right: auto; }

/* ---------- Karten-Grid ---------- */
.grid { display: grid; gap: 20px; }
.grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(43,90,39,.14); }
.card .thumb { aspect-ratio: 4/3; background: var(--green-soft); display: grid; place-items: center; font-size: 3.4rem; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .body h3 { color: var(--green-dark); font-size: 1.2rem; }
.card .body p { color: var(--muted); font-size: .95rem; }
.card .season { font-size: .82rem; color: var(--earth); font-weight: 600; }
.card .more { margin-top: auto; color: var(--green); font-weight: 600; font-size: .95rem; }

/* Team */
.member .thumb { aspect-ratio: 1/1; border-radius: 50%; width: 132px; height: 132px; margin: 20px auto 0; font-size: 3rem; overflow: hidden; }
.member { text-align: center; }
.member .body h3 { font-size: 1.15rem; }
.member .role { color: var(--green); font-weight: 600; font-size: .92rem; }

/* ---------- Produkt/Kauf (Aktuelles) ---------- */
.prodcard .price { color: var(--green-dark); font-weight: 700; font-size: 1.05rem; }
.prodcard .meta { color: var(--muted); font-size: .88rem; }
.stepper { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.stepper button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--green); color: #fff; font-size: 1.2rem; cursor: pointer; }
.stepper button:disabled { background: #cfcfcf; cursor: default; }
.stepper span { min-width: 22px; text-align: center; font-weight: 700; }

/* Warenkorb-Leiste */
.cartbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: #fff;
  box-shadow: 0 -4px 20px rgba(0,0,0,.12); padding: 14px 20px; display: none; }
.cartbar.visible { display: block; }
.cartbar .inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cartbar .sum { font-weight: 700; color: var(--green-dark); }

/* Dialoge */
dialog { border: 0; border-radius: 18px; padding: 26px; max-width: 420px; width: 92%; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
dialog::backdrop { background: rgba(20,30,18,.5); }
dialog h3 { color: var(--green-dark); margin-bottom: 10px; }
dialog ul { list-style: none; margin: 10px 0; }
dialog li { display: flex; justify-content: space-between; padding: 5px 0; }
.paybtns { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.paybtns .btn { justify-content: center; }
.thanks { text-align: center; }
.thanks .big { font-size: 3rem; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.info-row { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-row .ic { font-size: 1.4rem; }
.info-row .lbl { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.info-row .val { font-weight: 600; }

/* Detailseite */
.detail-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; }
@media (max-width: 820px) { .detail-hero { grid-template-columns: 1fr; } }
.detail-img { aspect-ratio: 4/3; border-radius: var(--radius); background: var(--green-soft);
  display: grid; place-items: center; font-size: 5rem; overflow: hidden; box-shadow: var(--shadow); }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.backlink { color: var(--green); font-weight: 600; display: inline-block; margin-bottom: 18px; }

/* ---------- Rechtsseiten / Fließtext ---------- */
.prose { max-width: 760px; }
.prose h2 { color: var(--green-dark); margin: 26px 0 8px; font-size: 1.25rem; }
.prose h1 { color: var(--green-dark); font-size: 1.9rem; margin-bottom: 6px; }
.prose p, .prose li { color: var(--ink); margin-bottom: 10px; }
.prose ul { margin: 0 0 12px 20px; }
.prose .muted { color: var(--muted); }
.prose a { color: var(--green); }

/* ---------- Bild-Zoom / Lightbox ---------- */
img.zoomable { cursor: zoom-in; transition: transform .25s ease, box-shadow .25s ease, border-radius .25s ease; }
.card .thumb { overflow: hidden; }

/* Desktop (Maus): Foto beim Hovern deutlich vergrößern ("Pop-out"). Touch bleibt unberührt. */
@media (hover: hover) and (pointer: fine) {
  .card:hover { overflow: visible; z-index: 30; }
  .card:hover .thumb { overflow: visible; }
  .card:hover .thumb img.zoomable {
    transform: scale(1.85);
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .4);
    position: relative; z-index: 30;
  }
  .detail-img img.zoomable { transition: transform .25s ease; }
  .detail-img:hover img.zoomable { transform: scale(1.1); }
}

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 25, 12, .9); backdrop-filter: blur(2px);
  display: none; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; transition: opacity .2s ease; cursor: zoom-out;
}
.lightbox.open { display: flex; opacity: 1; }
/* Bild füllt den verfügbaren Platz (skaliert auch hoch – wie am Handy) */
.lightbox img { width: 94vw; height: 88vh; object-fit: contain; border-radius: 12px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, .55); animation: lbin .25s ease; }
@keyframes lbin { from { transform: scale(.92); opacity: .4; } to { transform: scale(1); opacity: 1; } }
.lightbox-close { position: absolute; top: 14px; right: 22px; color: #fff;
  font-size: 2.6rem; line-height: 1; cursor: pointer; opacity: .85; }
.lightbox-close:hover { opacity: 1; }

/* ---------- Footer ---------- */
footer.site { background: var(--green-dark); color: #dbe7d6; padding: 40px 0 28px; margin-top: 20px; }
footer.site .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site .fbrand { color: #fff; font-weight: 700; font-size: 1.1rem; }
footer.site .small { font-size: .85rem; opacity: .75; margin-top: 22px; }
footer.site nav a { display: block; padding: 3px 0; }
