/* Kürbis Koller — Stylesheet v2
   Angelehnt an die vom Kunden gewünschte Referenz (Agrilead):
   dunkles Waldgrün, Gold-Akzente, Bogenbilder, Rund-Icons.
   Typo: Fraunces (Display) + Work Sans (Text)
*/

:root{
  --ink: #201a10;
  --ink-soft: #4a3d2c;
  --pumpkin: #c1571b;
  --pumpkin-dark: #9c451a;
  --forest: #24331d;
  --forest-dark: #17230f;
  --forest-mid: #2e4021;
  --parchment: #f6f1e4;
  --parchment-alt: #ede2c8;
  --cream: #fffcf5;
  --gold: #c8963f;
  --gold-dark: #a8752a;
  --gold-soft: #e8c98a;
  --line: rgba(36,27,18,.14);
  --shadow: 0 18px 40px -22px rgba(36,27,18,.45);
  --radius: 6px;
  --pill: 999px;
  --arch: 200px 200px 8px 8px;
  --max: 1220px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }

body{
  margin: 0;
  overflow-x: hidden;
  background: var(--parchment);
  color: var(--ink);
  font-family: "Work Sans", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4{
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
}

h1{ font-size: clamp(2.3rem, 4.4vw, 3.6rem); font-weight: 600; }
h2{ font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3{ font-size: 1.35rem; font-weight: 600; }

p{ margin: 0 0 1em; max-width: 62ch; }
a{ color: inherit; }

.container{ max-width: var(--max); margin: 0 auto; padding: 0 32px; }
img{ max-width: 100%; display: block; }

.kicker{
  display: block;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-soft);
  margin-bottom: .5em;
}
.kicker.on-dark{ color: #cfd6c2; }
.kicker .gold{ color: var(--gold); }
h2 .gold{ color: var(--gold); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .95em 2em;
  border-radius: var(--pill);
  font-family: "Work Sans", sans-serif;
  font-weight: 700;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{ background: var(--gold); color: #241a08; }
.btn-primary:hover{ background: var(--gold-dark); }
.btn-outline{ border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover{ background: rgba(255,255,255,.12); }
.btn-outline.dark:hover{ background: rgba(36,27,18,.06); }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.header-grid{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 1.5rem;
  height: 118px;
}
.brand{ display: flex; align-items: center; grid-column: 1; }
.brand img{ height: 96px; width: auto; }

.nav-group{ display: flex; align-items: center; gap: 2.1em; grid-column: 2; justify-content: center; }
.main-nav a, .nav-group a{
  text-decoration: none;
  color: var(--ink);
  font-size: .84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .3em 0;
  white-space: nowrap;
}
.main-nav a:hover, .nav-group a:hover{ color: var(--pumpkin-dark); }

.header-cta{ grid-column: 3; }
.nav-toggle{ display: none; }
.mobile-nav{ display: none; }

/* Vereinfachter Header für Unterseiten (Impressum, Datenschutz): nur zentriertes Logo */
.header-grid-simple{
  display: flex; align-items: center; justify-content: center;
  height: 118px;
}

/* Spam-geschützte Kontakt-Links (Adresse wird erst per JS eingesetzt) */
[data-email], [data-tel]{ color: var(--pumpkin-dark); text-decoration: underline; cursor: pointer; }

/* ---------- Hero (3-teiliges Collage-Layout) ---------- */
.hero{ background: var(--cream); padding: 3.2rem 0 0; }
.hero-grid{
  display: grid;
  grid-template-columns: .82fr 1.3fr .82fr;
  align-items: stretch;
  gap: 0;
  min-height: 480px;
}
.hero-media{ position: relative; overflow: hidden; background: var(--forest); }
.hero-media img{ width: 100%; height: 100%; object-fit: cover; }
.hero-media.left{ border-radius: 0 220px 0 0; }
.hero-media.right{ border-radius: 220px 0 0 0; }
.hero-copy{
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 2.5rem 2.2rem;
}
.hero-copy h1{
  text-transform: uppercase;
  letter-spacing: -.01em;
  max-width: 13ch;
}
.hero-copy h1 .accent{ color: var(--gold); display: block; }
.hero-copy p{ color: var(--ink-soft); max-width: 38ch; }
.hero-copy .btn{ margin-top: .4em; }
.hero-mark{ width: 46px; height: 46px; margin-top: 1.6rem; color: var(--pumpkin); }

/* ---------- Services (dunkles Waldgrün-Band mit Bogenbildern) ---------- */
.services-band{ background: var(--forest); color: #f2efe2; padding: 5rem 0; text-align: center; }
.services-band .section-head{ margin: 0 auto 2.6rem; max-width: 46ch; }
.services-band h2{ color: #fbf7ec; }
.service-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: left; }
.service-card{ background: transparent; }
.service-card .media{ border-radius: var(--arch); overflow: hidden; aspect-ratio: 4/4.6; margin-bottom: 1.2rem; box-shadow: var(--shadow); }
.service-card .media img{ width: 100%; height: 100%; object-fit: cover; }
.service-card h3{ color: #fbf7ec; text-align: center; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; font-family: "Work Sans", sans-serif; font-weight: 700; }

/* ---------- Zitat-Band (cream, Icon + Pullquote) ---------- */
.quote-band{ background: var(--cream); padding: 4.5rem 0; text-align: center; }
.quote-mark{
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--parchment-alt);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.6rem; color: var(--pumpkin-dark);
}
.quote-band blockquote{
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  max-width: 42ch; margin: 0 auto 1.6rem;
  color: var(--ink);
  line-height: 1.5;
}

/* ---------- Generic section ---------- */
section{ padding: 4.8rem 0; }
.section-alt{ background: var(--parchment-alt); }
.section-head{ max-width: 58ch; margin-bottom: 2rem; }
.section-head p{ color: var(--ink-soft); }

/* ---------- Two-column feature ---------- */
.split{ display: grid; grid-template-columns: 1fr 1fr; gap: 3.4rem; align-items: center; }
.split.reverse .split-media{ order: 2; }
.split-media img{ border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media img.arch{ border-radius: var(--arch); }
.split-media.tall img{ max-height: 520px; width: auto; margin: 0 auto; }
.split-text .badge-row{ display: flex; align-items: center; gap: 1.2em; margin: 1.5em 0; flex-wrap: wrap; }
.split-text .badge-row img{ height: 78px; width: auto; }

/* Kernöl-Sektion: Bild+Text links, Details rechts */
.kernoel-layout{ display: grid; grid-template-columns: 1fr 1fr; gap: 3.6rem; align-items: start; }
.kernoel-left{ position: sticky; top: 130px; }
.kernoel-hero-img{ width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: .4rem; }
.kernoel-right .badge-row{ display: flex; align-items: center; gap: 1.2em; margin: 0 0 1.4em; flex-wrap: wrap; }
.kernoel-right .badge-row img{ height: 78px; width: auto; }

/* Nutrition table */
.nutri{ width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1.3em 0 1.6em; background: var(--cream); border: 1px solid var(--line); }
.nutri caption{ text-align: left; font-weight: 700; padding: .6em 0; }
.nutri td{ padding: .55em .9em; border-bottom: 1px solid var(--line); vertical-align: top; }
.nutri tr:last-child td{ border-bottom: none; }
.nutri td:first-child{ color: var(--ink-soft); white-space: pre-line; }
.nutri td:last-child{ white-space: pre-line; text-align: right; font-variant-numeric: tabular-nums; }

.variant-row{ display: flex; gap: 1.4rem; margin-top: 1.6rem; flex-wrap: wrap; }
.variant-card{ flex: 1 1 200px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.1rem 1.3rem; text-align: center; }
.variant-card img{ margin: 0 auto .8em; max-height: 150px; width: auto; }
.variant-card .note{ color: var(--ink-soft); font-size: .84rem; }

/* ---------- Facts strip (dunkles Band mit echten Fakten statt Kennzahlen) ---------- */
.facts-band{ background: var(--forest-dark); color: #f2efe2; }
.facts-grid{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.facts-grid .fact strong{ display: block; font-family: "Fraunces", serif; font-size: 1.5rem; color: var(--gold-soft); margin-bottom: .25em; }
.facts-grid .fact span{ font-size: .88rem; color: #cfc7ac; }

/* ---------- Philosophie-Band (dunkelgrün mit heller Karte) ---------- */
.philosophy-band{ background: var(--forest); color: #f2efe2; padding: 5rem 0; }
.philosophy-band h2{ color: #fbf7ec; text-align: center; }
.philosophy-card{
  background: var(--cream); color: var(--ink);
  border-radius: var(--radius);
  margin-top: 2.4rem;
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
}
.philosophy-text{ padding: 2.6rem 2.8rem; }
.philosophy-text h3{ font-size: 1.6rem; }
.philosophy-text p{ color: var(--ink-soft); }
.check-list{ list-style: none; margin: 1.4em 0 0; padding: 0; display: grid; gap: .7em; }
.check-list li{ display: flex; align-items: center; gap: .7em; font-weight: 600; font-size: .95rem; }
.check-list svg{ color: var(--pumpkin-dark); flex: none; width: 20px; height: 20px; }
.philosophy-media img{ height: 100%; width: 100%; object-fit: cover; }

/* ---------- Callout band ---------- */
.callout{ background: var(--forest); color: #f4efe0; text-align: center; }
.callout h2{ color: #fff8ee; }
.callout p{ color: #dfe0c9; margin: 0 auto 1.6em; }

/* ---------- Dienstleistungen photo section ---------- */
.services-photo{
  position: relative; color: #fbf3e6;
  background: var(--forest-dark) url("images/traktor-ernte.jpg") center/cover no-repeat;
}
.services-photo::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,26,14,.92) 0%, rgba(20,26,14,.8) 42%, rgba(20,26,14,.35) 100%); }
.services-photo .container{ position: relative; z-index: 2; }
.services-photo-grid{ display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; }
.services-photo h2{ color: #fff8ee; }
.services-photo p{ color: #e9decb; }
.stat-list{ list-style: none; margin: 1.5em 0 0; padding: 0; display: grid; gap: 1em; }
.stat-list li{ background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 1em 1.2em; }
.stat-list strong{ display: block; font-family: "Fraunces", serif; font-size: 1.3rem; color: var(--gold-soft); }
.stat-list span{ font-size: .88rem; color: #d9cdb4; }

/* ---------- Kontakt ---------- */
.contact-row{
  list-style: none; margin: 0 0 3rem; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  text-align: center;
}
.contact-row .c-icon{ margin: 0 auto .9em; }
.contact-row h4{ font-family: "Work Sans", sans-serif; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-soft); margin: 0 0 .3em; }
.contact-row p{ margin: 0 auto; }
.c-icon{ flex: none; width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: #241a08; display: flex; align-items: center; justify-content: center; }
.c-icon svg{ width: 22px; height: 22px; }

.contact-form-narrow{ max-width: 640px; margin: 0 auto; }
form.contact-form{ display: grid; gap: 1.1em; background: var(--cream); padding: 2.2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-row{ display: grid; gap: .4em; }
.form-row label{ font-size: .85rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.form-row input, .form-row textarea{ font: inherit; padding: .85em .95em; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--parchment); color: var(--ink); }
.form-row input:focus, .form-row textarea:focus{ outline: none; border-color: var(--gold); }
.form-note{ font-size: .82rem; color: var(--ink-soft); margin-top: -.3em; }
.form-status{ font-size: .9rem; margin-top: .3em; min-height: 1.2em; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--forest-dark); color: #cfc3ab; padding: 3.4rem 0 2.2rem; font-size: .92rem; }
.footer-grid{ display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.footer-grid .brand img{ height: 78px; }
.footer-links{ display: flex; gap: 1.8em; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; text-transform: uppercase; font-size: .82rem; font-weight: 700; letter-spacing: .05em; }
.footer-links a{ color: #cfc3ab; text-decoration: none; }
.footer-links a:hover{ color: #fff8ee; }
.footer-copy{ margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); color: #9c9078; text-align: center; }

/* ---------- Legal pages ---------- */
.legal main{ padding: 4.5rem 0 6rem; }
.legal .container{ max-width: 780px; }
.legal h1{ margin-bottom: .3em; }
.legal .updated{ color: var(--ink-soft); font-size: .9rem; margin-bottom: 2.2em; }
.legal h2{ font-size: 1.35rem; margin-top: 1.8em; }
.legal table{ width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; }
.legal table td{ padding: .5em .7em; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal table td:first-child{ width: 38%; color: var(--ink-soft); }
.back-link{ display: inline-block; margin-bottom: 2rem; font-size: .9rem; color: var(--pumpkin-dark); text-decoration: none; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; min-height: 0; }
  .hero-media{ display: none; }
  .hero{ padding-top: 0; }
  .hero-copy{ padding: 3.2rem 1.6rem; }
  .service-grid{ grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .split, .split.reverse{ grid-template-columns: 1fr; gap: 2.2rem; }
  .split.reverse .split-media{ order: 0; }
  .kernoel-layout{ grid-template-columns: 1fr; gap: 2.2rem; }
  .kernoel-left{ position: static; }
  .services-photo-grid{ grid-template-columns: 1fr; }
  .contact-row{ grid-template-columns: 1fr; gap: 2.2rem; }
  .philosophy-card{ grid-template-columns: 1fr; }
  .philosophy-media{ min-height: 260px; }
  .facts-grid{ grid-template-columns: repeat(2, 1fr); gap: 2.2rem 1.4rem; }
  section{ padding: 3.6rem 0; }
  .services-band, .philosophy-band{ padding: 3.6rem 0; }
}

@media (max-width: 720px){
  .header-grid{ grid-template-columns: auto 1fr; height: 92px; }
  .header-grid-simple{ height: 92px; }
  .brand img{ height: 66px; }
  .nav-group{ display: none; }
  .header-cta{ display: none; }
  .mobile-nav{
    display: flex;
    position: fixed; top: 92px; right: 0; bottom: 0; left: 0;
    height: calc(100vh - 92px); height: calc(100dvh - 92px);
    background: var(--parchment);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 32px;
    gap: 1.4em;
    transform: translateX(100%);
    transition: transform .25s ease;
  }
  .mobile-nav.open{ transform: translateX(0); }
  .mobile-nav a{ font-size: 1.05rem; text-decoration: none; color: var(--ink); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
  .nav-toggle{
    display: flex; flex-direction: column; gap: 5px;
    width: 34px; height: 26px; justify-content: center;
    background: none; border: none; cursor: pointer; padding: 0;
    grid-column: 2; justify-self: end;
  }
  .nav-toggle span{ display: block; height: 2px; background: var(--ink); border-radius: 2px; }
  .footer-grid{ flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .btn, .mobile-nav{ transition: none; }
}
