/* =========================================================
   Naturmarkt – Paul Lentzen · Stylesheet
   Farben & Schriften laut Styleguide Naturmarkt
   ========================================================= */

/* ---------- Schriften (lokal, keine Verbindung zu Google) ---------- */
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  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: "Outfit";
  src: url("../fonts/outfit-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Lora";
  src: url("../fonts/lora-var.woff") format("woff");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-italic-var.woff") format("woff");
  font-weight: 400 700; font-style: italic; font-display: swap;
}

/* ---------- Grundwerte ---------- */
:root {
  --gruen: #2E4636;          /* Styleguide: Grün */
  --offwhite: #F6F4EE;       /* Styleguide: Off White */
  --text: #2E4636;
  --text-leise: #56665A;     /* abgeschwächtes Grün, Kontrast ca. 5,9 : 1 */
  --linie: #DAD6CB;
  --flaeche: #ECE8DD;        /* minimal dunkler als Off White, für Kästen */
  --gruen-hell: #3B5646;     /* etwas helleres Grün für Kästen auf Grün */
  --hell-leise: #D3DBD4;     /* gedämpfter Text auf Grün, Kontrast ca. 7 : 1 */
  --radius: 18px;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --breite: 68rem;
  --text-breite: 38rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--offwhite);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--gruen); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gruen); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}
p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gruen); color: var(--offwhite); padding: .6rem 1rem; z-index: 10;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap { width: min(100% - 3rem, var(--breite)); margin-inline: auto; }

.eyebrow {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--text-leise);
  margin: 0 0 1.2rem;
}

/* ---------- Kopf / Logo ---------- */
.hero {
  background: var(--gruen);
  padding: clamp(4rem, 12vh, 7.5rem) 0 clamp(3.5rem, 9vh, 6rem);
  text-align: center;
}
.hero__logo { width: min(68vw, 300px); margin: 0 auto; }

/* ---------- Willkommen ---------- */
.willkommen {
  padding: clamp(4rem, 10vh, 6.5rem) 0 clamp(4rem, 10vh, 6.5rem);
  text-align: center;
}
.willkommen h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  margin-bottom: 1.6rem;
}
.willkommen p {
  max-width: var(--text-breite);
  margin-inline: auto;
  color: #34433A;
  font-size: clamp(1.1rem, 1.6vw, 1.22rem);
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(4rem, 10vh, 6.5rem) 0; border-top: 1px solid var(--linie); }
.abschnitt__kopf { text-align: center; margin-bottom: clamp(2.5rem, 6vh, 3.5rem); }
.abschnitt__kopf h2 { font-size: clamp(1.75rem, 3.6vw, 2.4rem); }
.abschnitt__kopf p { max-width: var(--text-breite); margin: 1rem auto 0; color: var(--text-leise); }

/* ---------- Sortiment ---------- */
.sortiment {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  text-align: center;
}
.sortiment li {
  background: var(--flaeche);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
}
.sortiment h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.sortiment p { font-size: 1rem; color: var(--text-leise); margin: 0; }

/* ---------- Termine ---------- */
.termine { display: grid; gap: 1.5rem; max-width: 46rem; margin-inline: auto; }
.termin {
  background: var(--gruen-hell);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}
.termin__datum {
  font-family: var(--sans); font-weight: 500; font-size: .85rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--hell-leise);
  margin: 0 0 .5rem;
}
.termin h3 { font-size: clamp(1.35rem, 2.6vw, 1.6rem); margin-bottom: .35rem; }
.termin__ort { margin: 0 0 1.1rem; }
.termin__zeiten {
  list-style: none; padding: 0; margin: 0 0 1.1rem;
  font-size: 1rem;
}
.termin__zeiten li { display: flex; gap: .75rem; padding: .35rem 0; border-bottom: 1px solid rgba(246,244,238,.18); }
.termin__zeiten li:last-child { border-bottom: 0; }
.termin__zeiten span:first-child { min-width: 6.5rem; font-family: var(--sans); font-weight: 500; }
.termin__hinweis { font-size: .95rem; color: var(--hell-leise); margin: 0 0 1rem; }
.termin__link {
  font-family: var(--sans); font-weight: 500; font-size: .95rem;
  display: inline-block; margin-top: .25rem; padding: .6rem 1.1rem;
  background: var(--offwhite); color: var(--gruen); border-radius: 999px; text-decoration: none;
}
.termin__link:hover { background: #fff; }
.termin[hidden] { display: none; }
.termine__leer { text-align: center; color: var(--hell-leise); }

/* ---------- Kontakt ---------- */
.kontakt { text-align: center; }
.kontakt__kasten {
  max-width: 30rem; margin: 0 auto; background: var(--flaeche);
  border-radius: var(--radius); padding: clamp(2rem, 5vw, 3rem);
}
.kontakt__hinweis { font-size: .95rem; color: var(--text-leise); margin: 1rem 0 0; }
.kontakt__name { font-size: 1.15rem; margin: 0; }
.kontakt__mail { display: inline-block; margin-top: .6rem; font-family: var(--sans); font-weight: 500; font-size: 1.15rem; }

/* ---------- Fußzeile ---------- */
.fuss {
  background: var(--gruen); color: var(--offwhite);
  padding: 3.5rem 0 2.5rem;
  font-family: var(--sans); font-size: .95rem;
}
.fuss a { color: var(--offwhite); }
.fuss__inhalt { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center; }
.fuss__logo { width: 240px; }
.fuss nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.fuss__klein { margin-top: 2.5rem; font-size: .85rem; opacity: .85; }

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */
.seite-kopf { padding: 2.5rem 0; background: var(--gruen); }
.seite-kopf a { display: inline-block; }
.seite-kopf img { width: 230px; }
.recht { padding: clamp(3rem, 8vh, 5rem) 0; }
.recht .wrap { max-width: 44rem; }
.recht h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: 2rem; }
.recht h2 { font-size: 1.35rem; margin: 2.5rem 0 .8rem; }
.recht h3 { font-size: 1.1rem; margin: 1.8rem 0 .5rem; }
.recht p, .recht li { font-size: 1.02rem; }
.recht ul { padding-left: 1.2rem; }
.recht address { font-style: normal; margin-bottom: 1em; }
.zurueck { font-family: var(--sans); font-weight: 500; }

@media (max-width: 40rem) {
  .fuss__inhalt { flex-direction: column; align-items: flex-start; }
  .termin__zeiten li { flex-direction: column; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Grüne Bänder ---------- */
.abschnitt--gruen {
  background: var(--gruen); color: var(--offwhite); border-top: 0;
}
.abschnitt--gruen + .abschnitt { border-top: 0; }
.abschnitt--gruen .eyebrow,
.abschnitt--gruen .abschnitt__kopf p { color: var(--hell-leise); }
.abschnitt--gruen a { color: var(--offwhite); }
.abschnitt--gruen .termin__link { color: var(--gruen); }
.abschnitt--gruen .abschnitt__kopf em { color: var(--offwhite); }
.hero + main .willkommen { border-top: 0; }
