/* Wildwabe — handwritten editorial CSS
   Palette: Creme #faf6ee · Tinte #2a2117 · Honig #c8841f · Amber #e7b24a · Linien #e6dcc8
   Type: Fraunces (display serif) + Inter (text) */

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

:root {
  --creme: #faf6ee;
  --creme-2: #f3ecdd;
  --tinte: #2a2117;
  --tinte-soft: #5a4f40;
  --honig: #c8841f;
  --honig-dark: #a96b14;
  --amber: #e7b24a;
  --linie: #e6dcc8;
  --weiss: #fffdf8;

  --pad: clamp(1.25rem, 4.5vw, 5.5rem);
  --measure: 68ch;
  --r: 16px;
  --shadow: 0 18px 50px -28px rgba(42, 33, 23, 0.55);
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--tinte);
  background: var(--creme);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--honig-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--tinte); }

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--tinte);
  margin: 0 0 0.5em;
  font-optical-sizing: auto;
  overflow-wrap: break-word;
}

/* Saubere Silbentrennung langer deutscher Komposita auf schmalen Screens */
p, .lead, li, dd, .pc-note { overflow-wrap: break-word; hyphens: auto; }

p { margin: 0 0 1rem; }

/* Full-width: no centered container, only fluid side padding.
   Text blocks get their own readable measure where needed. */
.wrap { width: 100%; padding-inline: var(--pad); }
.measure { max-width: var(--measure); }
.measure-wide { max-width: 92ch; }

.eyebrow {
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--honig-dark);
  margin: 0 0 0.85rem;
}

.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--tinte-soft); max-width: 56ch; }

.muted { color: var(--tinte-soft); }

section { padding-block: clamp(3.2rem, 7vw, 6rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.82rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.btn-primary { background: var(--tinte); color: var(--creme); }
.btn-primary:hover { background: var(--honig-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: var(--tinte); color: var(--tinte); background: transparent; }
.btn-ghost:hover { background: var(--tinte); color: var(--creme); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.82);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--linie);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: -0.01em;
  color: var(--tinte);
  text-decoration: none;
}
.brand svg { width: 30px; height: 30px; }
.brand span small { display: block; font-family: "Inter", sans-serif; font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--honig-dark); font-weight: 600; margin-top: 1px; }

.nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--tinte);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--honig); color: var(--tinte); }
.nav-cta { margin-left: 0.4rem; }

.burger {
  display: none;
  background: none;
  border: 1.5px solid var(--linie);
  border-radius: 10px;
  width: 44px; height: 44px;
  cursor: pointer;
  padding: 0;
  color: var(--tinte);
}
.burger span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; transition: 0.2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2.6rem, 5vw, 4.5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
}
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); margin-bottom: 1rem; }
.hero h1 em { font-style: italic; color: var(--honig-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.hero-meta { margin-top: 2rem; display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-meta div strong { font-family: "Fraunces", serif; font-size: 1.5rem; display: block; }
.hero-meta div span { font-size: 0.82rem; color: var(--tinte-soft); }

.hero-figure { position: relative; }
.hero-figure .frame {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.hero-figure .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1.5px solid var(--honig);
  border-radius: var(--r);
  z-index: -1;
}
.badge-ernte {
  position: absolute;
  z-index: 2;
  top: -16px; left: -16px;
  background: var(--amber);
  color: var(--tinte);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 8px 22px -10px rgba(42,33,23,0.6);
  transform: rotate(-4deg);
}

.placeholder {
  background:
    radial-gradient(120% 80% at 20% 10%, var(--amber), transparent 60%),
    linear-gradient(160deg, var(--honig), var(--honig-dark));
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.85);
}

/* ---------- Strip / Zahlen ---------- */
.strip { background: var(--tinte); color: var(--creme); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.strip .stat strong { font-family: "Fraunces", serif; font-size: clamp(1.8rem, 3vw, 2.5rem); display: block; color: var(--amber); }
.strip .stat span { font-size: 0.86rem; color: rgba(250,246,238,0.78); }

/* ---------- Section headings ---------- */
.sec-head { max-width: 60ch; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }

/* ---------- Cards / products ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.6vw, 1.8rem); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 2.6vw, 1.8rem); }

.card {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ph { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.card .price { font-family: "Fraunces", serif; font-size: 1.15rem; color: var(--honig-dark); margin-top: auto; padding-top: 0.9rem; }
.card .price small { font-family: "Inter", sans-serif; color: var(--tinte-soft); font-size: 0.8rem; font-weight: 500; }
.tag { display: inline-block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--honig-dark); background: var(--creme-2); border: 1px solid var(--linie); padding: 0.25rem 0.6rem; border-radius: 999px; margin-bottom: 0.7rem; align-self: flex-start; }

/* ---------- Split / Steps ---------- */
.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.split.flip { grid-template-columns: 1.05fr 0.95fr; }
.split-media { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5/4; position: relative; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.steps { list-style: none; counter-reset: step; margin: 1.4rem 0 0; padding: 0; }
.steps li { position: relative; padding-left: 3.4rem; margin-bottom: 1.5rem; }
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -2px;
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  color: var(--honig);
  border: 1.5px solid var(--linie);
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--weiss);
}
.steps li h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.steps li p { margin: 0; color: var(--tinte-soft); font-size: 0.97rem; }

/* ---------- Quotes / reviews ---------- */
.alt-bg { background: var(--creme-2); }
.quote {
  background: var(--weiss);
  border-left: 4px solid var(--honig);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 12px 36px -28px rgba(42,33,23,0.4);
}
.quote p { font-family: "Fraunces", serif; font-size: 1.18rem; font-style: italic; color: var(--tinte); }
.quote footer { font-family: "Inter", sans-serif; font-style: normal; font-size: 0.88rem; color: var(--tinte-soft); margin-top: 0.8rem; }
.quote footer strong { color: var(--tinte); display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details {
  border-bottom: 1px solid var(--linie);
  padding: 1.1rem 0;
}
.faq summary {
  font-family: "Fraunces", serif;
  font-size: 1.18rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: "Inter", sans-serif; color: var(--honig-dark); font-size: 1.5rem; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 0.9rem; color: var(--tinte-soft); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--r);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  padding: 0.78rem 0.9rem;
  border: 1.5px solid var(--linie);
  border-radius: 10px;
  background: var(--creme);
  color: var(--tinte);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--honig); box-shadow: 0 0 0 3px rgba(231,178,74,0.25); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--tinte-soft); }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { padding: 0.9rem 0; border-bottom: 1px solid var(--linie); }
.info-list li strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--honig-dark); margin-bottom: 0.15rem; }

/* ---------- Prose (policy / about) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.prose address { font-style: normal; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding-top: clamp(2.6rem, 5vw, 4rem); padding-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.page-hero .lead { margin-top: 0.6rem; }

.crumbs { font-size: 0.82rem; color: var(--tinte-soft); margin-bottom: 1rem; }
.crumbs a { color: var(--tinte-soft); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--tinte); color: var(--creme); border-radius: var(--r); padding: clamp(2rem, 5vw, 3.4rem); text-align: center; }
.cta-band h2 { color: var(--creme); }
.cta-band .lead { color: rgba(250,246,238,0.8); margin-inline: auto; }
.cta-band .btn-primary { background: var(--amber); color: var(--tinte); margin-top: 1.2rem; }
.cta-band .btn-primary:hover { background: var(--creme); }

/* ---------- Danke ---------- */
.danke { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.danke .seal { width: 88px; height: 88px; margin: 0 auto 1.4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--tinte); color: rgba(250,246,238,0.82); padding-block: clamp(2.6rem, 5vw, 3.6rem) 1.6rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer h4 { color: var(--creme); font-family: "Inter", sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.9rem; }
.site-footer a { color: rgba(250,246,238,0.82); text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 0.5rem; }
.footer-brand .brand { color: var(--creme); }
.footer-brand .brand span small { color: var(--amber); }
.footer-brand p { font-size: 0.9rem; max-width: 32ch; margin-top: 0.8rem; }
.footer-bottom { border-top: 1px solid rgba(250,246,238,0.15); margin-top: 2.2rem; padding-top: 1.3rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; font-size: 0.82rem; }

/* ---------- Full-bleed image band ---------- */
.full-band {
  position: relative;
  padding-block: clamp(4rem, 10vw, 8rem);
  background-size: cover;
  background-position: center;
  color: var(--creme);
  isolation: isolate;
}
.full-band::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20,15,9,0.86) 0%, rgba(20,15,9,0.62) 45%, rgba(20,15,9,0.30) 100%);
}
.full-band .band-inner { max-width: 60ch; }
.full-band .eyebrow { color: var(--amber); }
.full-band h2 { color: var(--creme); font-size: clamp(2rem, 4vw, 3.2rem); }
.full-band p { color: rgba(250,246,238,0.9); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.full-band .band-facts { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2rem; }
.full-band .band-facts div strong { font-family: "Fraunces", serif; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--amber); display: block; line-height: 1; }
.full-band .band-facts div span { font-size: 0.86rem; color: rgba(250,246,238,0.78); }

/* ---------- Taste profile (Geschmacksprofil) ---------- */
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.6vw, 1.8rem); }
.profile-card {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--r);
  padding: 1.6rem 1.7rem 1.8rem;
}
.profile-card h3 { font-size: 1.45rem; margin-bottom: 0.1rem; }
.profile-card .pc-sub { font-size: 0.86rem; color: var(--tinte-soft); margin-bottom: 1.2rem; }
.profile-card dl { margin: 0; display: grid; gap: 0.85rem; }
.profile-card .meter { display: grid; grid-template-columns: 1fr; gap: 0.3rem; }
.profile-card .meter dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tinte-soft); font-weight: 600; }
.profile-card .bar { height: 8px; border-radius: 999px; background: var(--creme-2); overflow: hidden; }
.profile-card .bar > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--amber), var(--honig)); }
.profile-card .pc-note { margin: 1.3rem 0 0; font-size: 0.92rem; color: var(--tinte-soft); }
.profile-card .pc-note strong { color: var(--tinte); }

/* ---------- Markttermine ---------- */
.termine { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(0.9rem, 2vw, 1.4rem); max-width: 1000px; }
.termin {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-left: 4px solid var(--honig);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 1.1rem 1.3rem;
}
.termin .datum { font-family: "Fraunces", serif; text-align: center; line-height: 1; flex-shrink: 0; min-width: 3.2rem; }
.termin .datum b { display: block; font-size: 1.7rem; color: var(--honig-dark); }
.termin .datum span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--tinte-soft); }
.termin .ort strong { display: block; font-size: 1.05rem; }
.termin .ort span { font-size: 0.9rem; color: var(--tinte-soft); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .profile-grid { grid-template-columns: 1fr; max-width: 620px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 560px; margin-inline: auto; width: 100%; }
  .split, .split.flip, .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .termine { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    background: var(--creme);
    border-bottom: 1px solid var(--linie);
    padding: 1rem var(--gut) 1.4rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 0.5rem 0; }
  .nav-cta { margin-left: 0; }
  .burger { display: block; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

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