/* ==========================================================================
   Niederrhein Gärtner - Stylesheet
   Alle Schriften liegen lokal im Ordner /schriften, es werden keine
   externen Dienste eingebunden. Farben sind aus dem Logo abgeleitet.
   ========================================================================== */

/* --- Schriften ---------------------------------------------------------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('schriften/bricolage-grotesque-latin-wght-normal.woff2') format('woff2-variations');
  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: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('schriften/bricolage-grotesque-latin-ext-wght-normal.woff2') format('woff2-variations');
  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: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('schriften/source-sans-3-latin-wght-normal.woff2') format('woff2-variations');
  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: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('schriften/source-sans-3-latin-ext-wght-normal.woff2') format('woff2-variations');
  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: 'Source Sans 3';
  font-style: italic;
  font-display: swap;
  font-weight: 200 900;
  src: url('schriften/source-sans-3-latin-wght-italic.woff2') format('woff2-variations');
  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;
}

/* --- Farben und Grundwerte ---------------------------------------------- */
:root {
  --tinte: #16281a;
  --tinte-weich: #4a5a4d;
  --papier: #f7faf3;
  --papier-tief: #e9f1dd;
  --papier-warm: #fdfefb;
  --laub: #2f6b2a;
  --laub-tief: #1d4519;
  --signal: #7cf04b;
  --bluete: #7a3ea1;
  --bluete-hell: #f3ecf8;
  --rhein: #2878fa;
  --rand: #d5e3c2;
  --schatten: 0 2px 4px rgba(22, 40, 26, .06), 0 12px 28px rgba(22, 40, 26, .07);
  --breite: 1160px;
  --schmal: 760px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', 'Source Sans 3', sans-serif;
  color: var(--laub-tief);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); font-weight: 650; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 650; }
h4 { font-size: 1.05rem; font-weight: 650; }

p { margin: 0 0 1.1em; max-width: 68ch; }
a { color: var(--laub-tief); text-underline-offset: .18em; text-decoration-thickness: .07em; }
a:hover { color: var(--bluete); }

:focus-visible {
  outline: 3px solid var(--bluete);
  outline-offset: 3px;
  border-radius: 3px;
}

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

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

.springmarke {
  position: absolute; left: -9999px; top: 0;
  background: var(--laub-tief); color: #fff; padding: .7rem 1.2rem; z-index: 100;
}
.springmarke:focus { left: .5rem; top: .5rem; }

/* --- Kopfzeile ---------------------------------------------------------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 250, 243, .93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rand);
}
.kopf-innen {
  display: flex; align-items: center; gap: 1.5rem;
  padding: .55rem 0;
}
.marke { display: inline-flex; align-items: center; text-decoration: none; }
.marke img { height: 44px; width: auto; }
@media (max-width: 520px) { .marke img { height: 36px; } }

.hauptnav { margin-left: auto; }
.hauptnav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.hauptnav a {
  text-decoration: none; font-weight: 600; font-size: .98rem;
  padding: .35rem 0; display: block; position: relative;
}
.hauptnav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 3px; background: var(--signal); transition: right .18s ease;
}
.hauptnav a:hover::after, .hauptnav a[aria-current="page"]::after { right: 0; }

.nav-schalter {
  display: none; margin-left: auto;
  background: none; border: 1.5px solid var(--rand); border-radius: 6px;
  padding: .45rem .7rem; font: inherit; font-weight: 600; color: var(--laub-tief); cursor: pointer;
}

@media (max-width: 820px) {
  .nav-schalter { display: block; }
  .hauptnav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--papier-warm); border-bottom: 1px solid var(--rand);
    box-shadow: var(--schatten);
  }
  .hauptnav.offen { display: block; }
  .hauptnav ul { flex-direction: column; gap: 0; padding: .5rem 1.25rem 1rem; }
  .hauptnav li { border-top: 1px solid var(--rand); }
  .hauptnav a { padding: .85rem 0; }
  .hauptnav a::after { display: none; }
}

/* --- Bühne (Startseite) ------------------------------------------------- */
.buehne { padding: clamp(1.2rem, 3vw, 2.2rem) 0 0; }
.buehne-bild { margin: 0; }
.buehne-bild img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 22px; box-shadow: var(--schatten);
}
@media (max-width: 700px) { .buehne-bild img { aspect-ratio: 4 / 3; } }
.buehne-text {
  max-width: 62ch; margin: clamp(1.6rem, 4vw, 2.8rem) auto clamp(1rem, 2vw, 1.6rem);
  text-align: center;
}
.buehne-text p.vorspann {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--tinte-weich);
  margin-inline: auto;
}
.buehne-text .knopfreihe { justify-content: center; }
@media (max-width: 620px) { .buehne-text { text-align: left; } .buehne-text .knopfreihe { justify-content: flex-start; } }

.knopfreihe { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.knopf {
  display: inline-block; text-decoration: none; font-weight: 650;
  padding: .72rem 1.4rem; border-radius: 999px;
  background: var(--laub); color: #fff; border: 2px solid var(--laub);
  transition: background .16s ease, border-color .16s ease;
}
.knopf:hover { background: var(--laub-tief); border-color: var(--laub-tief); color: #fff; }
.knopf-leer { background: transparent; color: var(--laub-tief); border-color: var(--rand); }
.knopf-leer:hover { background: var(--papier-tief); border-color: var(--laub); color: var(--laub-tief); }

/* --- Abschnitte --------------------------------------------------------- */
.feld { padding: clamp(3rem, 7vw, 5rem) 0; }
.feld-tief { background: var(--papier-tief); }
.feld-kopf { max-width: 62ch; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.feld-kopf p { color: var(--tinte-weich); margin-bottom: 0; }

/* Handgezeichnete Kante, angelehnt an die gerissene Kontur im Logo */
.kante { display: block; width: 100%; height: 26px; background: var(--papier); }
.kante path { fill: var(--papier-tief); }
.kante-hell { background: var(--papier-tief); }
.kante-hell path { fill: var(--papier); }

/* --- Pflanzenfinder ----------------------------------------------------- */
.filterleiste {
  display: grid; gap: 1rem 2rem; margin-bottom: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.filtergruppe > span {
  display: block; font-weight: 650; font-size: .9rem;
  color: var(--tinte-weich); margin-bottom: .5rem;
}
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  font: inherit; font-size: .92rem; font-weight: 600;
  background: var(--papier-warm); color: var(--tinte);
  border: 1.5px solid var(--rand); border-radius: 999px;
  padding: .34rem .85rem; cursor: pointer;
  transition: background .14s ease, border-color .14s ease, color .14s ease;
}
.chip:hover { border-color: var(--laub); }
.chip[aria-pressed="true"] {
  background: var(--bluete); border-color: var(--bluete); color: #fff;
}
.filter-fuss {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  margin-bottom: 1.6rem; font-size: .95rem; color: var(--tinte-weich);
}
.zuruecksetzen {
  font: inherit; font-weight: 600; background: none; border: none;
  color: var(--laub-tief); text-decoration: underline; cursor: pointer; padding: 0;
}

.pflanzenraster {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  list-style: none; margin: 0; padding: 0;
}
.pflanzenraster li { margin: 0; }
.pflanzenkarte {
  display: flex; flex-direction: column; height: 100%;
  background: var(--papier-warm); border: 1px solid var(--rand);
  border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit;
  transition: border-color .16s ease, transform .16s ease;
}
.pflanzenkarte:hover { border-color: var(--laub); transform: translateY(-3px); color: inherit; }
.pflanzenkarte .bildfeld {
  aspect-ratio: 4 / 3; background: var(--papier-tief); overflow: hidden;
}
.pflanzenkarte .bildfeld img { width: 100%; height: 100%; object-fit: cover; }
.pflanzenkarte .text { padding: .85rem 1rem 1.05rem; display: flex; flex-direction: column; gap: .18rem; flex: 1; }
.pflanzenkarte .text b {
  font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.12rem;
  font-weight: 650; color: var(--laub-tief); line-height: 1.15;
}
.pflanzenkarte .lat { font-style: italic; font-size: .88rem; color: var(--tinte-weich); }
.pflanzenkarte .merkmal {
  margin-top: .5rem; font-size: .86rem; color: var(--tinte-weich);
  display: flex; align-items: center; gap: .35rem;
}
.pflanzenkarte .merkmal svg { width: 15px; height: 15px; flex: none; color: var(--laub); }

.fehlt {
  display: flex; align-items: center; justify-content: center; height: 100%;
  background:
    repeating-linear-gradient(135deg, transparent 0 9px, rgba(47,107,42,.07) 9px 18px),
    var(--papier-tief);
  color: var(--laub); font-size: .85rem; font-weight: 600; text-align: center; padding: 1rem;
}
.leer-hinweis { padding: 2rem 0; color: var(--tinte-weich); }

/* --- Gartenjahr --------------------------------------------------------- */
.monatsband {
  display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1.6rem;
  padding: 0; list-style: none;
}
.monatsband button {
  font: inherit; font-weight: 650; font-size: .92rem;
  background: var(--papier-warm); border: 1.5px solid var(--rand);
  color: var(--tinte); border-radius: 8px; padding: .38rem .7rem; cursor: pointer;
}
.monatsband button:hover { border-color: var(--laub); }
.monatsband button[aria-selected="true"] {
  background: var(--laub); border-color: var(--laub); color: #fff;
}
.monatstafel {
  background: var(--papier-warm); border: 1px solid var(--rand);
  border-left: 5px solid var(--signal);
  border-radius: 4px 16px 16px 4px; padding: clamp(1.2rem, 3vw, 1.9rem);
}
.monatstafel h3 { margin-bottom: .4rem; }
.monatstafel ul { margin: 0; padding-left: 1.15rem; }
.monatstafel li { margin-bottom: .35rem; }
.monatstafel li:last-child { margin-bottom: 0; }

/* --- Ratgeberkarten ----------------------------------------------------- */
.kartenreihe {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  list-style: none; margin: 0; padding: 0;
}
.ratgeberkarte {
  display: block; text-decoration: none; color: inherit; height: 100%;
  background: var(--papier-warm); border: 1px solid var(--rand);
  border-radius: 14px; padding: 1.3rem 1.4rem;
  transition: border-color .16s ease;
}
.ratgeberkarte:hover { border-color: var(--laub); color: inherit; }
.ratgeberkarte:hover h3 { color: var(--bluete); }
.ratgeberkarte h3 { margin-bottom: .35rem; }
.ratgeberkarte p { font-size: .97rem; color: var(--tinte-weich); margin-bottom: 0; }

/* --- Pflanzenseite ------------------------------------------------------ */
.brotkrumen { font-size: .9rem; color: var(--tinte-weich); padding-top: 1.2rem; }
.brotkrumen a { color: var(--tinte-weich); }
.brotkrumen span { padding: 0 .4rem; }

.pflanzenkopf { padding: 1.4rem 0 clamp(2rem, 5vw, 3.2rem); }
.pflanzenkopf-raster {
  display: grid; gap: clamp(1.4rem, 4vw, 2.8rem); align-items: start;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
  .pflanzenkopf-raster { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}
.pflanzenkopf h1 { margin-bottom: .15em; }
.botanisch {
  font-style: italic; color: var(--tinte-weich); font-size: 1.1rem;
  margin-bottom: 1.1rem;
}
.pflanzenkopf img { border-radius: 18px; box-shadow: var(--schatten); width: 100%; }
.bildquelle { font-size: .8rem; color: var(--tinte-weich); margin: .55rem 0 0; }

.steckbrief {
  display: grid; gap: .9rem; margin: 0 0 1rem; padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.steckbrief > div {
  background: var(--papier-warm); border: 1px solid var(--rand);
  border-radius: 12px; padding: .85rem 1rem;
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  column-gap: .7rem; align-items: start;
}
.steckbrief svg { width: 22px; height: 22px; color: var(--laub); grid-row: span 2; margin-top: .15rem; }
.steckbrief dt { font-size: .82rem; color: var(--tinte-weich); font-weight: 600; }
.steckbrief dd { margin: 0; font-weight: 650; line-height: 1.35; }

.textblock { max-width: 68ch; }
.textblock h2 { margin-top: 2.4rem; }
.textblock h2:first-child { margin-top: 0; }
.textblock h3 { margin-top: 1.7rem; }
.textblock ul, .textblock ol { padding-left: 1.2rem; }
.textblock li { margin-bottom: .5rem; max-width: 66ch; }

.fehlerliste { list-style: none; padding: 0; margin: 0; counter-reset: fehler; }
.fehlerliste li {
  counter-increment: fehler;
  background: var(--papier-warm); border: 1px solid var(--rand);
  border-radius: 14px; padding: 1.2rem 1.4rem 1.2rem 3.9rem;
  position: relative; margin-bottom: .9rem; max-width: none;
}
.fehlerliste li::before {
  content: counter(fehler);
  position: absolute; left: 1.2rem; top: 1.15rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--bluete); color: #fff;
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700;
  display: grid; place-items: center; font-size: 1rem;
}
.fehlerliste b { display: block; font-size: 1.08rem; color: var(--laub-tief);
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 650; margin-bottom: .2rem; }
.fehlerliste p { margin: 0; font-size: .98rem; }

.hinweiskasten {
  background: var(--bluete-hell); border-radius: 14px;
  padding: 1.1rem 1.3rem; margin: 1.6rem 0;
  border: 1px solid #e2cdf5;
}
.hinweiskasten p { margin: 0; font-size: .98rem; }
.hinweiskasten strong { color: var(--bluete); }

.galerie {
  display: grid; gap: 1rem; padding: 0; margin: 0; list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.galerie figure { margin: 0; }
.galerie img { border-radius: 12px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.galerie figcaption { font-size: .88rem; color: var(--tinte-weich); margin-top: .45rem; }

.linkliste { list-style: none; padding: 0; margin: 0; }
.linkliste li { border-top: 1px solid var(--rand); padding: .85rem 0; max-width: 68ch; }
.linkliste li:last-child { border-bottom: 1px solid var(--rand); }
.linkliste a { font-weight: 650; }
.linkliste p { margin: .15rem 0 0; font-size: .93rem; color: var(--tinte-weich); }

.herkunft {
  background: var(--papier-tief); border-radius: 16px;
  padding: clamp(1.3rem, 3vw, 1.9rem); margin-top: 2.6rem;
}
.herkunft p:last-child { margin-bottom: 0; }

.weiterlesen { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.weiterlesen a {
  background: var(--papier-warm); border: 1px solid var(--rand);
  border-radius: 999px; padding: .45rem 1rem; text-decoration: none;
  font-weight: 600; font-size: .95rem;
}
.weiterlesen a:hover { border-color: var(--laub); background: var(--papier-tief); }

/* --- Fußzeile ----------------------------------------------------------- */
.fuss {
  background: var(--laub-tief); color: #e6f0e2;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem; margin-top: clamp(3rem, 6vw, 4.5rem);
}
.fuss h2, .fuss h3 { color: #fff; font-size: 1.05rem; margin-bottom: .7rem; }
.fuss a { color: #d5f3c8; }
.fuss a:hover { color: #fff; }
.fuss-raster {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: .4rem; }
.fuss p { color: #cfe0ca; }
.fuss-signet { height: 52px; width: auto; margin-bottom: 1rem; }
.fuss-schluss {
  margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.18);
  display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .9rem; color: #cfe0ca;
}
.produzent { font-size: .9rem; color: #b9cfb4; max-width: 46ch; }

/* --- Rechtstexte -------------------------------------------------------- */
.rechtstext { padding: 2.5rem 0 1rem; }
.rechtstext h2 { margin-top: 2.2rem; font-size: 1.35rem; }
.rechtstext h3 { margin-top: 1.5rem; font-size: 1.1rem; }
.rechtstext p, .rechtstext li { max-width: 70ch; }
.rechtstext dl { margin: 0 0 1.2rem; }
.rechtstext dt { font-weight: 650; margin-top: .6rem; }
.rechtstext dd { margin: 0; }

/* Feinheiten */
.pflanzenkopf figure { margin: 0; }
.textblock { padding-top: 2.4rem; }
.sortenhinweis { margin-top: 1.2rem; }
.herkunft h2 { margin-top: 0; }
.rechtstext .vorspann { font-size: 1.1rem; color: var(--tinte-weich); }
.weiterlesen-abstand { margin-top: 2rem; }

/* Kopfbereich einspaltig, solange kein Foto vorliegt */
@media (min-width: 900px) {
  .pflanzenkopf-raster.ohne-bild { grid-template-columns: minmax(0, 1fr); }
}

/* Freigestellte Motive stehen auf der Sektionsfarbe statt in einem weißen Kasten */
.frei { background: var(--papier-tief); object-fit: contain !important; }
.galerie img.frei, .pflanzenkarte .bildfeld img.frei { padding: .5rem; }
.pflanzenkopf img.frei { padding: 1.2rem; box-shadow: none; border: 1px solid var(--rand); }

/* --- Ratgeber: Bilder und erklärende Grafiken ---------------------------- */
.themenliste {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: grid; gap: .5rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 100%;
}
.themenliste li { border-top: 1px solid var(--rand); padding-top: .5rem; }
.themenliste a { font-weight: 600; text-decoration: none; }
.themenliste a:hover { text-decoration: underline; text-underline-offset: .18em; }

.ratgeberbild { margin: 0 0 1.4rem; max-width: 68ch; }
.ratgeberbild img { width: 100%; border-radius: 16px; }
.ratgeberbild figcaption { font-size: .86rem; color: var(--tinte-weich); margin-top: .5rem; }

.symptomtafel {
  margin: 1.6rem 0; max-width: 68ch;
  background: var(--papier-warm); border: 1px solid var(--rand);
  border-radius: 16px; padding: 1.2rem 1rem .6rem;
}
.symptomtafel svg { width: 100%; height: auto; display: block; }

.lagen { margin: 1.4rem 0 1.8rem; display: grid; gap: 0; max-width: 68ch; }
.lagen > div { border-top: 1px solid var(--rand); padding: .9rem 0; }
.lagen > div:last-child { border-bottom: 1px solid var(--rand); }
.lagen dt { font-weight: 650; color: var(--laub-tief); margin-bottom: .2rem; }
.lagen dd { margin: 0; font-size: .99rem; }
