/* Seetal Getreide GmbH — Mehlweiss, Seetal-Blau, Weizengold */
:root {
  --c-flour: #F6F1E6;      /* Mehlweiss */
  --c-chaff: #E6D8B2;      /* Spreu */
  --c-gold: #C9962E;       /* Weizengold (Deko) */
  --c-gold-text: #8A6416;  /* Weizengold für Text, AA auf Mehlweiss */
  --c-lake: #1F3A4A;       /* Seetal-Blau */
  --c-soil: #2A2620;       /* Ackererde */
  --c-white: #FFFDF8;
  --c-muted: #5A544A;
  --c-error: #A32B1E;
  --c-ok: #2F6B3F;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 6rem;

  --r-sm: 4px; --r-md: 10px; --r-lg: 22px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(42, 38, 32, .08), 0 4px 14px rgba(42, 38, 32, .06);
  --sh-2: 0 10px 30px rgba(31, 58, 74, .16);
  --wrap: 1160px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-soil);
  background: var(--c-flour);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-lake); text-underline-offset: 3px; }
a:hover { color: var(--c-gold-text); }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.12; margin: 0 0 var(--s-4); color: var(--c-lake); font-weight: 700; }
h1 { font-size: clamp(2rem, 7vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 5vw, 2.6rem); }
h3 { font-size: 1.3rem; font-weight: 500; }
p { margin: 0 0 var(--s-4); }
:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s-4); }
.skip { position: absolute; left: var(--s-4); top: -100px; background: var(--c-lake); color: var(--c-white); padding: var(--s-2) var(--s-4); z-index: 100; border-radius: var(--r-sm); }
.skip:focus { top: var(--s-2); }

.eyebrow {
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--c-gold-text); margin-bottom: var(--s-3);
  display: inline-flex; align-items: center; gap: var(--s-2);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--c-chaff); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 var(--s-5); border-radius: var(--r-pill);
  font: 600 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .2s var(--ease), opacity .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--c-lake); color: var(--c-white); }
.btn-primary:hover { color: var(--c-white); }
.btn-ghost { border-color: var(--c-lake); color: var(--c-lake); background: transparent; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 230, .94);
  border-bottom: 1px solid rgba(31, 58, 74, .12);
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: var(--s-2); text-decoration: none; }
.brand-mark { width: 36px; height: 36px; }
.brand-text { font-family: var(--f-display); font-size: 1.3rem; font-weight: 700; color: var(--c-lake); }
.brand-text em { font-style: italic; font-weight: 500; color: var(--c-gold-text); }

.burger {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  display: grid; place-content: center; gap: 6px; padding: 0;
}
.burger span { width: 24px; height: 2px; background: var(--c-lake); transition: transform .25s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: var(--c-flour); border-bottom: 1px solid rgba(31, 58, 74, .12);
  transform: translateY(-110%); opacity: 0; visibility: hidden;
  transition: transform .3s var(--ease), opacity .3s, visibility 0s .3s;
  box-shadow: var(--sh-2);
}
.nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; transition: transform .3s var(--ease), opacity .3s; }
.nav ul { list-style: none; margin: 0; padding: var(--s-3) var(--s-4) var(--s-5); }
.nav a { display: block; padding: var(--s-3) 0; text-decoration: none; font-weight: 500; color: var(--c-soil); border-bottom: 1px solid rgba(31, 58, 74, .08); }
.nav .nav-cta { color: var(--c-lake); font-weight: 600; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: var(--s-7) 0 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(201, 150, 46, .18), transparent 45%),
    var(--c-flour);
}
.hero-grid { display: grid; gap: var(--s-7); }
.lead { font-size: 1.1rem; color: var(--c-muted); max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }

/* Memorable element: the sieve stack */
.sieve { margin: 0; display: grid; gap: 6px; }
.sieve-layer {
  position: relative; height: 64px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: flex-end; padding: 0 var(--s-4);
  background-color: var(--c-chaff);
  background-image: radial-gradient(ellipse at center, var(--c-gold) 38%, transparent 42%);
  box-shadow: inset 0 0 0 1px rgba(42, 38, 32, .08);
  transform-origin: left center;
}
.sieve-layer span {
  font: 600 .78rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase;
  background: var(--c-white); color: var(--c-lake); padding: 6px 10px; border-radius: var(--r-pill);
}
.sieve .l1 { background-size: 34px 22px; width: 100%; }
.sieve .l2 { background-size: 20px 14px; width: 92%; background-color: #EADCB8; }
.sieve .l3 { background-size: 12px 9px; width: 84%; background-color: #EEE2C4; }
.sieve .l4 { background-size: 7px 6px; width: 76%; background-color: #F1E8D1; }
.sieve .l5 {
  width: 68%; background-color: var(--c-white);
  background-image: radial-gradient(rgba(201, 150, 46, .35) 1px, transparent 1.2px);
  background-size: 4px 4px;
}
.sieve figcaption { font-size: .85rem; color: var(--c-muted); margin-top: var(--s-2); font-style: italic; }

.hero-band {
  margin-top: var(--s-8); background: var(--c-lake); color: var(--c-chaff);
  white-space: nowrap; overflow: hidden; padding: var(--s-3) 0;
  font-family: var(--f-display); font-size: 1.15rem; font-style: italic;
}
.hero-band span { display: inline-block; padding: 0 var(--s-5); animation: band 28s linear infinite; }
.hero-band span::after { content: "✦"; color: var(--c-gold); font-style: normal; margin-left: var(--s-5); }
@keyframes band { to { transform: translateX(-300%); } }

@media (prefers-reduced-motion: no-preference) {
  .sieve-layer { animation: shake 6s var(--ease) infinite; }
  .sieve .l2 { animation-delay: .2s; } .sieve .l3 { animation-delay: .4s; }
  .sieve .l4 { animation-delay: .6s; } .sieve .l5 { animation-delay: .8s; }
}
@keyframes shake {
  0%, 80%, 100% { transform: translateX(0); }
  84% { transform: translateX(4px); } 88% { transform: translateX(-3px); } 92% { transform: translateX(2px); }
}

/* Sections */
.section { padding: var(--s-8) 0; }
.section-head { max-width: 42rem; margin-bottom: var(--s-6); }
.section-head p:last-child { color: var(--c-muted); }
.section-dark { background: var(--c-lake); color: var(--c-flour); }
.section-dark h2, .section-dark h3 { color: var(--c-white); }
.section-flour {
  background-color: var(--c-white);
  background-image: radial-gradient(rgba(201, 150, 46, .16) 1px, transparent 1.4px);
  background-size: 14px 14px;
}

/* Plants */
.plants { display: grid; gap: var(--s-5); }
.plant { background: var(--c-white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); display: grid; }
.plant-visual { height: 150px; position: relative; }
.pv-annahme {
  background:
    repeating-linear-gradient(115deg, rgba(42,38,32,.10) 0 2px, transparent 2px 16px),
    linear-gradient(160deg, #E8C97A, var(--c-gold));
}
.pv-muehle {
  background:
    repeating-conic-gradient(from 0deg at 50% 120%, rgba(255,253,248,.18) 0 6deg, transparent 6deg 18deg),
    linear-gradient(160deg, #2E5366, var(--c-lake));
}
.pv-futter {
  background:
    radial-gradient(circle, rgba(42,38,32,.22) 2px, transparent 2.5px) 0 0 / 12px 12px,
    radial-gradient(circle, rgba(255,253,248,.35) 1.5px, transparent 2px) 6px 6px / 12px 12px,
    linear-gradient(160deg, #B7A27A, #7F6A44);
}
.plant-body { padding: var(--s-5); }
.plant-no { font-family: var(--f-display); font-size: 2.4rem; line-height: 1; color: var(--c-gold-text); margin-bottom: var(--s-2); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
.ticks li { padding-left: 1.4rem; position: relative; font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 6px; border-radius: 50%; background: var(--c-gold); transform: rotate(-30deg); }

/* Flow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); counter-reset: f; position: relative; }
.flow li { position: relative; padding-left: 3.4rem; counter-increment: f; }
.flow li::before {
  content: counter(f, decimal-leading-zero); position: absolute; left: 0; top: -2px;
  font-family: var(--f-display); font-size: 1.6rem; color: var(--c-gold);
}
.flow li::after { content: ""; position: absolute; left: 1.1rem; top: 2.4rem; bottom: calc(-1 * var(--s-5)); width: 1px; background: rgba(230, 216, 178, .35); }
.flow li:last-child::after { display: none; }
.flow-dot { display: none; }
.flow h3 { margin-bottom: var(--s-2); }
.flow p { color: #D9D3C4; margin: 0; }

/* Audience */
.audience { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.audience li {
  display: grid; gap: var(--s-1); padding: var(--s-4) var(--s-5);
  border-left: 4px solid var(--c-gold); background: var(--c-white); border-radius: 0 var(--r-md) var(--r-md) 0;
}
.audience strong { font-family: var(--f-display); font-size: 1.15rem; color: var(--c-lake); font-weight: 500; }
.audience span { color: var(--c-muted); font-size: .95rem; }

/* Facts */
.facts { margin: 0; display: grid; gap: 1px; background: rgba(31,58,74,.15); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-1); }
.facts div { background: var(--c-white); padding: var(--s-4) var(--s-5); display: grid; gap: var(--s-1); }
.facts dt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-gold-text); font-weight: 600; }
.facts dd { margin: 0; font-weight: 500; }

/* Contact */
.contact-grid { display: grid; gap: var(--s-7); }
.contact-list { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: var(--s-4); }
.contact-list li { display: grid; gap: 2px; word-break: break-word; }
.contact-list span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-gold-text); font-weight: 600; }

.form { display: grid; gap: var(--s-4); background: var(--c-white); padding: var(--s-5); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.field { display: grid; gap: var(--s-1); }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--c-soil);
  padding: .75rem .9rem; border: 1.5px solid #CFC6B2; border-radius: var(--r-sm); background: var(--c-flour);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-lake); outline: none; box-shadow: 0 0 0 3px rgba(31,58,74,.15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--c-error); }
.error { color: var(--c-error); font-size: .85rem; margin: 0; min-height: 0; }
.field-check { grid-template-columns: auto 1fr; align-items: start; column-gap: var(--s-3); }
.field-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--c-lake); }
.field-check label { font-weight: 400; }
.field-check .error { grid-column: 1 / -1; }
.form-success { border-left: 4px solid var(--c-ok); background: #EEF4EC; padding: var(--s-4); border-radius: var(--r-sm); }
.form-success p { margin: var(--s-2) 0 0; }

/* Footer */
.site-footer { background: var(--c-soil); color: #E9E2D0; padding: var(--s-7) 0 var(--s-5); }
.site-footer a { color: #F0D99A; }
.site-footer a:hover { color: var(--c-white); }
.footer-grid { display: grid; gap: var(--s-5); padding-bottom: var(--s-5); border-bottom: 1px solid rgba(233,226,208,.18); }
.site-footer .brand-text { color: var(--c-white); }
.site-footer .brand-text em { color: #F0D99A; }
.footer-brand p { margin-top: var(--s-2); color: #CFC7B4; max-width: 28rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); }
.footer-nav a { text-decoration: none; }
.legal { padding-top: var(--s-5); font-size: 13px; line-height: 1.6; color: #D8D0BD; }
.legal p { margin: 0 0 var(--s-2); }
.legal-list { margin: 0 0 var(--s-4); display: grid; gap: var(--s-2); }
.legal-list div { display: grid; grid-template-columns: 1fr; gap: 0; }
.legal-list dt { font-weight: 600; color: #F0E8D4; }
.legal-list dd { margin: 0; overflow-wrap: anywhere; }
.legal-copy { padding-top: var(--s-3); border-top: 1px solid rgba(233,226,208,.18); }
@media (min-width: 480px) {
  .legal-list div { grid-template-columns: 11rem 1fr; gap: var(--s-3); }
}
@media (min-width: 1024px) {
  .legal-list { grid-template-columns: 1fr 1fr; column-gap: var(--s-7); }
}

/* Legal pages */
.page-hero { padding: var(--s-7) 0 var(--s-5); border-bottom: 1px solid rgba(31,58,74,.12); }
.page-hero .meta { color: var(--c-muted); font-size: .95rem; }
.prose { max-width: 46rem; padding: var(--s-6) 0 var(--s-8); }
.prose h2 { font-size: 1.45rem; margin-top: var(--s-6); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: var(--s-2); }
.notfound { padding: var(--s-9) 0; text-align: center; }
.notfound .big { font-family: var(--f-display); font-size: clamp(5rem, 22vw, 10rem); line-height: 1; color: var(--c-gold); margin: 0; }

/* Reveal */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ≥480 */
@media (min-width: 480px) {
  .wrap { padding: 0 var(--s-5); }
  .sieve-layer { height: 72px; }
  .form { grid-template-columns: 1fr 1fr; padding: var(--s-6); }
  .field-full, .form-success { grid-column: 1 / -1; }
}

/* ≥768 */
@media (min-width: 768px) {
  .plants { grid-template-columns: repeat(3, 1fr); }
  .plant { grid-template-rows: 170px 1fr; }
  .plant-visual { height: auto; }
  .audience { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: repeat(5, 1fr); gap: var(--s-4); }
  .flow li { padding: 3.4rem 0 0; }
  .flow li::before { top: 0; }
  .flow li::after { left: 3.2rem; right: calc(-1 * var(--s-4)); top: 1.1rem; bottom: auto; width: auto; height: 1px; }
  .footer-grid { grid-template-columns: 1fr auto; align-items: start; }
}

/* ≥1024 */
@media (min-width: 1024px) {
  :root { --header-h: 76px; }
  .burger { display: none; }
  .nav { position: static; transform: none; opacity: 1; visibility: visible; background: transparent; border: 0; box-shadow: none; }
  .nav ul { display: flex; gap: var(--s-5); padding: 0; align-items: center; }
  .nav a { border: 0; padding: var(--s-2) 0; position: relative; }
  .nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--c-gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
  .nav .nav-cta { padding: var(--s-2) var(--s-5); border: 2px solid var(--c-lake); border-radius: var(--r-pill); }
  .hero { padding-top: var(--s-9); }
  .hero-grid { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .kunden-grid, .firma-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s-8); align-items: start; }
  .contact-grid { grid-template-columns: 1fr 1.3fr; align-items: start; }
  .section { padding: var(--s-9) 0; }
}
