:root {
  color-scheme: light;
  --cream: #fffaf1;
  --sand: #f6e6cf;
  --gruen: #6e8f2f;
  --hellgruen: #80a51f;
  --orange: #e8792b;
  --terra: #a24e2f;
  --ink: #2e3b28;
  --muted: #5c5548;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

a:focus-visible {
  outline: 3px solid var(--hellgruen);
  outline-offset: 3px;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "brand aktionen";
  align-items: center;
  gap: .65rem 1rem;
  padding: .75rem 1rem;
  background: #fffdf8;
  border-bottom: 1px solid rgba(110, 143, 47, .15);
}

body.menue-gesperrt {
  overflow: hidden;
}

.brand {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: "C059", Georgia, "DejaVu Serif", serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
}

.brand span {
  color: var(--muted);
  font-family: "Noto Sans", system-ui, sans-serif;
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .04em;
}

.topbar-aktionen {
  grid-area: aktionen;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.menue-schalter {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .8rem;
  border: 2px solid var(--hellgruen);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--gruen);
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
}

.menue-striche {
  display: grid;
  gap: 3px;
}

.menue-striche i {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.toplink {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: .4rem .85rem;
  border: 2px solid var(--hellgruen);
  border-radius: 999px;
  color: var(--gruen);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
}

.toplink:hover {
  background: var(--hellgruen);
  color: #fff;
}

.hauptmenu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 101;
  width: min(88vw, 360px);
  height: 100dvh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .5rem;
  padding: 5rem 1.25rem 2rem;
  background: #fffdf8;
  border-left: 1px solid rgba(110, 143, 47, .18);
  box-shadow: -18px 0 40px rgba(70, 55, 30, .18);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .2s ease, visibility .2s ease;
}

.topbar.menue-offen .hauptmenu {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.menue-schleier {
  position: fixed;
  inset: 0;
  z-index: 100;
  border: 0;
  background: rgba(46, 59, 40, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
  cursor: pointer;
}

.topbar.menue-offen .menue-schleier {
  opacity: 1;
  visibility: visible;
}

.menue-schliessen {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #eef4df;
  color: var(--gruen);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.menuepunkt {
  position: static;
  flex: 0 0 auto;
  width: 100%;
}

.menuetitel {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .45rem;
  padding: .5rem .9rem;
  border-radius: 12px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.menuetitel::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}

.menuetitel.direkt::after {
  display: none;
}

.menuepunkt:hover .menuetitel,
.menuepunkt:focus-within .menuetitel {
  background: #eef4df;
  color: var(--gruen);
}

.menuepunkt:hover .menuetitel::after,
.menuepunkt:focus-within .menuetitel::after {
  transform: rotate(225deg) translateY(-2px);
}

.menuetitel:focus-visible {
  outline: 3px solid var(--hellgruen);
  outline-offset: 2px;
}

.menuepunkt ul {
  position: static;
  min-width: 0;
  margin: .35rem 0 0;
  padding: 0 0 0 .75rem;
  list-style: none;
  border-left: 2px solid rgba(110, 143, 47, .25);
  background: transparent;
}

.menuepunkt ul a {
  display: block;
  padding: .65rem .8rem;
  border-radius: 10px;
  color: var(--ink);
  font-size: .93rem;
  text-decoration: none;
}

.menuepunkt ul a:hover,
.menuepunkt ul a:focus-visible {
  background: #eef4df;
  color: var(--gruen);
}

.hero {
  display: flex;
  align-items: center;
  min-height: clamp(430px, 72vh, 680px);
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 5vw, 4rem);
  background:
    linear-gradient(90deg, rgba(24, 48, 25, .88) 0%, rgba(24, 48, 25, .62) 48%, rgba(24, 48, 25, .12) 100%),
    url("bilder/01-biokistl-desktop-jpg.webp") center / cover no-repeat;
  color: #fff;
}

.hero-inner {
  width: min(100%, 720px);
}

.kicker {
  margin: 0 0 1rem;
  color: #ffd48a;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: "C059", Georgia, "DejaVu Serif", serif;
  line-height: 1.12;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5.6vw, 4.3rem);
  letter-spacing: -.02em;
  text-wrap: balance;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  text-wrap: balance;
}

h3 {
  margin: 0 0 .35rem;
  font-size: 1.25rem;
}

.lead {
  margin: 1.4rem 0 0;
  max-width: 40ch;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
}

.status {
  margin: 1rem 0 0;
  max-width: 42ch;
  font-size: .95rem;
  opacity: .92;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 2rem;
  padding: .8rem 1.7rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(120, 65, 20, .26);
  transition: transform .18s ease, background .18s ease;
}

.cta:hover {
  background: #c9621d;
  transform: translateY(-2px);
}

.cta-gruppe {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.cta-gruppe .cta {
  margin-top: 0;
}

.cta-secondary {
  background: var(--hellgruen);
  box-shadow: 0 12px 28px rgba(80, 105, 30, .24);
}

.cta-secondary:hover {
  background: var(--gruen);
}

.section {
  width: min(100% - 2rem, 1100px);
  margin-inline: auto;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.intro p {
  max-width: 62ch;
  margin: 0 0 .75rem;
  font-size: 1.08rem;
  color: var(--muted);
}

.eyebrow {
  color: var(--terra);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hinweis, .section-lead {
  font-size: .9rem;
  color: var(--muted);
}

.liefergebiet-bild img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(110, 143, 47, .16);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(70, 55, 30, .07);
  background: var(--sand);
}

.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}

.karte {
  overflow: hidden;
  background: #fffdf8;
  border: 1px solid rgba(110, 143, 47, .14);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(70, 55, 30, .07);
}

.karte img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--sand);
}

.karte-text {
  padding: 1.1rem 1.25rem 1.4rem;
}

.karte p {
  margin: 0;
  font-size: .93rem;
  color: var(--muted);
}

.inhalt {
  background: linear-gradient(180deg, #fffdf8, var(--sand));
  border-radius: 32px;
}

.thumbgrid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  margin-top: 2rem;
}

.thumbgrid figure {
  margin: 0;
  padding: .75rem;
  background: #fffdf8;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(70, 55, 30, .06);
}

.thumbgrid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: var(--sand);
}

.thumbgrid figcaption {
  margin-top: .55rem;
  font-size: .85rem;
  color: var(--muted);
}

.split {
  display: grid;
  gap: clamp(1.5rem, 5vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.split ul {
  margin: 0;
  padding-left: 1.2rem;
}

.split li {
  margin-bottom: .6rem;
  color: var(--muted);
}

.teilen {
  padding: clamp(3rem, 7vw, 5rem) 1rem;
  background: var(--gruen);
  color: #fff;
  text-align: center;
}

.teilen p {
  margin: 0;
}

.teilen .cta {
  background: var(--orange);
}

.footer {
  padding: 1.5rem 1rem 2.5rem;
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.brotkrumen {
  width: min(100% - 2rem, 1100px);
  margin-inline: auto;
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .85rem;
  color: var(--muted);
}

.brotkrumen a {
  color: var(--gruen);
  text-decoration: none;
}

.produktseite {
  padding-bottom: 2rem;
}

.produktkopf {
  width: min(100% - 2rem, 1100px);
  margin-inline: auto;
  padding-block: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.hauptbild {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fffdf8;
  border: 1px solid rgba(110, 143, 47, .14);
  border-radius: 20px;
}

.minis {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .75rem;
}

.mini {
  width: 74px;
  height: 74px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #fffdf8;
  cursor: pointer;
}

.mini:hover,
.mini:focus-visible {
  border-color: var(--hellgruen);
}

.mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marke {
  margin: 0 0 .4rem;
  color: var(--terra);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  /* „BiBaBauernhof – Eine Kiste voll Genuss“ nie in Großbuchstaben (Anordnung 03.12.2026) */
  text-transform: none;
}

/* andere Zeilen mit .marke (z. B. Hof-Schnäppchen) bleiben wie bisher in Großbuchstaben */
.marke.versalien {
  text-transform: uppercase;
}

/* Markenzeile als Kicker (z. B. Kochrezepte) ebenfalls nie in Großbuchstaben */
.kicker.ohne-versalien {
  text-transform: none;
}

.produktdaten h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
}

.sterne {
  margin: .6rem 0 1.4rem;
  color: #d98a1f;
  letter-spacing: .14em;
}

.sterne span {
  color: var(--muted);
  font-size: .85rem;
  letter-spacing: 0;
}

.wahl {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feld {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.feld label,
.feld legend {
  display: block;
  margin-bottom: .4rem;
  font-size: .85rem;
  font-weight: 700;
}

.stepper {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(110, 143, 47, .25);
  border-radius: 10px;
}

.stepper button {
  width: 42px;
  min-height: 42px;
  border: 0;
  background: #f3f6e8;
  font-size: 1.2rem;
  cursor: pointer;
}

.stepper input {
  width: 100%;
  min-height: 42px;
  border: 0;
  text-align: center;
  font: inherit;
}

.feld select {
  width: 100%;
  min-height: 44px;
  padding: .5rem .7rem;
  border: 1px solid rgba(110, 143, 47, .25);
  border-radius: 10px;
  background: #fffdf8;
  font: inherit;
}

.grossen {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.grossen label {
  position: relative;
}

.grossen input {
  position: absolute;
  opacity: 0;
}

.grossen span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 42px;
  padding: .4rem .7rem;
  border: 1px solid rgba(110, 143, 47, .25);
  border-radius: 10px;
  cursor: pointer;
}

.grossen input:checked + span {
  background: var(--gruen);
  border-color: var(--gruen);
  color: #fff;
}

.grossen input:focus-visible + span {
  outline: 3px solid var(--hellgruen);
  outline-offset: 2px;
}

.preisblock {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  margin-top: 1.6rem;
}

.preis {
  font-family: "C059", Georgia, "DejaVu Serif", serif;
  font-size: 2.2rem;
  font-weight: 700;
}

.preishinweis {
  font-size: .85rem;
  color: var(--muted);
}

.warenkorb,
.warenkorb-anmelden {
  width: 100%;
  max-width: 340px;
  min-height: 52px;
  margin-top: .75rem;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(120, 65, 20, .22);
}

.demo-hinweis {
  margin: .6rem 0 0;
  font-size: .82rem;
  color: var(--terra);
}

.beschreibung {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(110, 143, 47, .15);
}

.beschreibung h2 {
  font-size: 1.5rem;
}

.beschreibung p {
  color: var(--muted);
}

.produktabschnitt {
  width: min(100% - 2rem, 1100px);
  margin-inline: auto;
  padding-block: clamp(2rem, 5vw, 4rem);
}

.inhaltsliste {
  display: grid;
  gap: .75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.inhaltsliste li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: .85rem;
  padding: .6rem .8rem;
  background: #fffdf8;
  border: 1px solid rgba(110, 143, 47, .14);
  border-radius: 14px;
}

/* Stand der Sorte unter dem Namen: Verfügbar / Wird frisch für Sie geerntet (Anordnung 03.12.2026) */
.inhaltsliste .sorte-stand {
  display: block;
  font-size: .8rem;
  font-weight: 400;
  color: var(--muted);
}

.inhaltsliste img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--sand);
}

.inhaltsliste span:nth-child(3) {
  font-size: .9rem;
  color: var(--muted);
}

.inhaltsliste span:nth-child(4) {
  font-weight: 700;
  white-space: nowrap;
}

.hero-kompakt {
  min-height: clamp(340px, 55vh, 520px);
}

.produktliste {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin-top: 2rem;
}

.produkt {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fffdf8;
  border: 1px solid rgba(110, 143, 47, .14);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(70, 55, 30, .07);
}

.produkt > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--sand);
}

.produkt-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .5rem;
  padding: 1rem 1.1rem 1.2rem;
}

.produkt .marke {
  margin: 0;
  font-size: .68rem;
}

.produkt h3 {
  margin: 0;
  font-size: 1.1rem;
}

.varianten {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}

.varianten span {
  min-width: 32px;
  padding: .2rem .45rem;
  border: 1px solid rgba(110, 143, 47, .22);
  border-radius: 6px;
  color: var(--muted);
  font-size: .74rem;
  text-align: center;
}

.abo-frequenz {
  margin: .65rem 0 0;
  color: var(--gruen);
  font-size: .78rem;
  font-weight: 700;
}

.preiszeile {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  margin-top: auto;
  color: var(--muted);
  font-size: .82rem;
}

.preiswert {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
}

.produkt .warenkorb {
  max-width: none;
  min-height: 44px;
  margin-top: .2rem;
  font-size: .9rem;
}

.hinweis-kl {
  margin: 0;
  color: var(--terra);
  font-size: .72rem;
}

#verfuegbarkeit-stand {
  margin: -.5rem 0 1.5rem;
  color: var(--matt);
  font-size: .82rem;
}

.verfuegbarkeit {
  margin: .65rem 0 0;
  color: var(--gruen);
  font-size: .82rem;
  font-weight: 700;
}

.pfand-badge,
.verpackungshinweis {
  margin: .65rem 0 0;
  color: var(--matt);
  font-size: .78rem;
  font-weight: 700;
}

.pfand-badge {
  display: inline-block;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: #f0eadc;
}

.produkt[hidden] {
  display: none;
}

.vorbestell-filter {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.25rem;
  color: var(--matt);
  font-size: .9rem;
  font-weight: 600;
}

.vorbestell-filter input {
  width: auto;
  min-height: 0;
}

.produkt.vorbestellbar {
  border-style: dashed;
}

.produkt.vorbestellbar .verfuegbarkeit {
  color: var(--terra);
  font-weight: 700;
}

@media (min-width: 900px) {
  .topbar {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    padding: .9rem clamp(1rem, 4vw, 3rem);
  }

  .brand {
    order: 1;
    font-size: 1.45rem;
  }

  .brand span {
    display: block;
    font-size: .72rem;
  }

  .topbar-aktionen {
    order: 3;
    margin-left: auto;
  }

  .menue-schalter,
  .menue-schleier,
  .menue-schliessen {
    display: none;
  }

  .toplink {
    min-height: 44px;
    padding: .5rem 1.1rem;
    font-size: 1rem;
  }

  .hauptmenu {
    position: static;
    order: 2;
    z-index: auto;
    width: auto;
    height: auto;
    overflow: visible;
    flex-direction: row;
    align-items: center;
    gap: .35rem;
    padding: 0;
    border: 0;
    box-shadow: none;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }

  .menuepunkt {
    position: relative;
    width: auto;
  }

  .menuetitel {
    min-height: 44px;
    justify-content: flex-start;
    padding: .5rem 1rem;
    border-radius: 999px;
    font-size: 1rem;
  }

  .menuepunkt ul {
    position: absolute;
    top: calc(100% + .5rem);
    left: 0;
    z-index: 20;
    min-width: 235px;
    margin: 0;
    padding: .5rem;
    border: 1px solid rgba(110, 143, 47, .16);
    border-radius: 16px;
    background: #fffdf8;
    box-shadow: 0 18px 40px rgba(70, 55, 30, .14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  }

  .menuepunkt ul::before {
    content: "";
    position: absolute;
    top: -.6rem;
    right: -.5rem;
    left: -.5rem;
    height: .6rem;
  }

  .menuepunkt:hover ul,
  .menuepunkt:focus-within ul {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 780px) {
  .produktkopf {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .brand span {
    display: none;
  }

  .hero {
    background-image:
      linear-gradient(90deg, rgba(24, 48, 25, .88), rgba(24, 48, 25, .66)),
      url("bilder/33-kistln-mobile-jpg.webp");
  }

  .section {
    width: min(100% - 1.5rem, 1100px);
  }

  .inhalt {
    border-radius: 22px;
  }

  .wahl {
    grid-template-columns: 1fr;
  }

  .inhaltsliste li {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    grid-template-areas: "bild name preis" "bild menge preis";
  }

  .inhaltsliste img {
    grid-area: bild;
    width: 48px;
    height: 48px;
  }

  .inhaltsliste span:nth-child(2) {
    grid-area: name;
  }

  .inhaltsliste span:nth-child(3) {
    grid-area: menge;
  }

  .inhaltsliste span:nth-child(4) {
    grid-area: preis;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cta {
    transition: none;
  }

  .cta:hover {
    transform: none;
  }
}

.bestell-ui [hidden] {
  display: none !important;
}

.bestell-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  max-width: calc(100vw - 2rem);
  padding: .8rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(45, 42, 36, .25);
  font-size: .9rem;
}

.bestell-panel {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 95;
  width: min(100%, 420px);
  max-height: min(88vh, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(110, 143, 47, .18);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: #fffdf8;
  box-shadow: 0 -18px 46px rgba(45, 42, 36, .2);
}

.bestell-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(110, 143, 47, .18);
  background: #fff;
}

.bestell-kopf strong {
  font-size: 1rem;
}

.bestell-schliessen {
  width: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #eee7da;
  color: var(--ink);
  font-size: 1.2rem;
}

.bestell-inhalt {
  padding: 1rem 1.1rem 1.4rem;
  overflow-y: auto;
}

.bestell-liste {
  display: grid;
  gap: .7rem;
}

.bestell-zeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .75rem;
  border: 1px solid rgba(110, 143, 47, .16);
  border-radius: 12px;
  background: #fff;
  font-size: .85rem;
}

.bestell-zeile span {
  color: var(--muted);
  font-size: .78rem;
}

.bestell-zeile .bestell-vorbestellt {
  padding: .1rem .45rem;
  border-radius: 999px;
  background: #f0eadc;
  color: var(--terra);
  font-size: .68rem;
  font-weight: 800;
}

.bestell-menge {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.bestell-menge button {
  width: 30px;
  min-height: 30px;
  padding: 0;
  border-radius: 50%;
  background: #eee7da;
  color: var(--ink);
}

.bestell-menge strong {
  min-width: 20px;
  text-align: center;
}

.bestell-summe {
  margin: .9rem 0 1rem;
  font-size: .95rem;
}

.bestell-form {
  display: grid;
  gap: .7rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(110, 143, 47, .18);
}

.bestell-form label {
  display: grid;
  gap: .25rem;
  font-size: .78rem;
  font-weight: 700;
}

.bestell-form input,
.bestell-form select {
  width: 100%;
  min-height: 40px;
  padding: .45rem .6rem;
  border: 1px solid rgba(110, 143, 47, .18);
  border-radius: 9px;
  background: #fff;
  font: inherit;
}

.bestell-adresse-wrap {
  position: relative;
  display: grid;
  gap: .3rem;
}

.bestell-vorschlaege {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 5;
  max-height: 13rem;
  overflow-y: auto;
  margin-top: .2rem;
  padding: .25rem;
  border: 1px solid rgba(110, 143, 47, .22);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(45, 42, 36, .16);
}

.bestell-vorschlag {
  display: block;
  width: 100%;
  min-height: 38px;
  padding: .45rem .55rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: .78rem;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.bestell-vorschlag:hover,
.bestell-vorschlag.aktiv {
  background: #f0eadc;
  color: var(--terra);
}

.bestell-liefergebiet {
  margin: .15rem 0 0;
  padding: .5rem .6rem;
  border-radius: 9px;
  background: rgba(110, 143, 47, .1);
  color: var(--ink);
  font-size: .74rem;
  line-height: 1.35;
}

.bestell-liefergebiet.fehler {
  background: rgba(180, 74, 54, .1);
  color: var(--terra);
}

.bestell-liefergebiet.ausserhalb {
  border-left: 3px solid var(--terra);
  background: rgba(232, 121, 43, .14);
  color: var(--terra);
}

.bestell-liefergebiet[data-grund] {
  border-left-color: var(--orange);
}

.bestell-bezirk {
  margin: .15rem 0 0;
  color: var(--muted);
  font-size: .74rem;
}

.bestell-anfrage[data-aktion="lieferanfrage"] {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .6rem 1rem;
  border: 2px solid var(--terra);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--terra);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.bestell-anfrage:hover {
  background: #f0eadc;
}

.bestell-anfrage.aktiv {
  border-color: var(--gruen);
  background: rgba(110, 143, 47, .14);
  color: var(--gruen);
  cursor: default;
}

.bestell-anfrage:disabled {
  opacity: .75;
  cursor: default;
}

.bestell-pflicht {
  margin: .15rem 0 0;
  color: var(--terra);
  font-size: .74rem;
  font-weight: 700;
}

.bestell-zweispaltig {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: .6rem;
}

.bestell-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .6rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.bestell-button.sec {
  background: #eee7da;
  color: var(--ink);
}

.bestell-button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.bestell-aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0;
}

.bestell-klein {
  margin: 0;
  color: var(--muted);
  font-size: .74rem;
}

.bestell-leer,
.bestell-fehler {
  margin: 0 0 .8rem;
  color: var(--terra);
  font-size: .85rem;
}

.bestell-erfolg {
  display: grid;
  gap: .45rem;
  font-size: .88rem;
}

.bestell-ok {
  margin: 0;
  color: var(--gruen);
  font-weight: 800;
}

@media (min-width: 640px) {
  .bestell-panel {
    right: 1rem;
    bottom: 1rem;
    max-height: min(86vh, 760px);
    border: 1px solid rgba(110, 143, 47, .18);
    border-radius: 18px;
  }
}

.hero-kompakt .hero-inner { max-width: 860px; }

.fragebogen .status {
  display: inline-block;
  margin-top: .4rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(255, 253, 248, .82);
  font-size: .8rem;
}

.fragebogen-formular { display: grid; gap: 1rem; }

.frage {
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(110, 143, 47, .22);
  border-radius: 14px;
  background: #fffdf8;
}

.frage legend {
  padding: 0 .5rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.frage-hilfe { margin: .25rem 0 .7rem; color: var(--muted); font-size: .88rem; }

.antworten { display: flex; flex-wrap: wrap; gap: .5rem; }
.antworten-zahlen { gap: .4rem; }
.antworten-produkte { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.antwort {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 42px;
  padding: .4rem .7rem;
  border: 1px solid var(--linie, rgba(110, 143, 47, .2));
  border-radius: 10px;
  background: var(--cream);
  cursor: pointer;
}

.antwort input { width: 1.1rem; height: 1.1rem; accent-color: var(--hellgruen); }
.antwort-breit { align-self: start; }

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.sorten-tabelle-wickler { overflow-x: auto; margin: .5rem 0 1rem; }

.sorten-tabelle {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fffdf8;
  font-size: .82rem;
}

.sorten-tabelle th,
.sorten-tabelle td {
  padding: .55rem;
  border: 1px solid rgba(110, 143, 47, .18);
  vertical-align: top;
  text-align: left;
}

.sorten-tabelle th { background: var(--sand); }

.kontakt-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; }
.kontakt-raster label { display: grid; gap: .25rem; font-size: .9rem; font-weight: 700; }

.kontakt-raster input,
.kontakt-raster textarea {
  width: 100%;
  min-height: 44px;
  padding: .55rem .65rem;
  border: 1px solid rgba(110, 143, 47, .28);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  resize: vertical;
}

.familie-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }

.familie-karte {
  padding: 1rem;
  border: 1px solid rgba(110, 143, 47, .2);
  border-radius: 14px;
  background: #fffdf8;
}

.familie-karte h3 { margin: .8rem 0 .35rem; }
.familie-karte p { margin: 0; color: var(--muted); font-size: .9rem; }

.foto-platzhalter {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: repeating-linear-gradient(135deg, var(--sand), var(--sand) 12px, #fff6e8 12px, #fff6e8 24px);
  color: var(--muted);
  font-weight: 800;
  letter-spacing: .1em;
}

.bestell-hinweis { color: #6d685e; font-size: .85em; font-weight: 400; }

/* Größenwahl Mini / Paar / Familie */
.varianten label { display: inline-flex; align-items: center; gap: .25rem; margin-right: .35rem; cursor: pointer; font-size: .85rem; }
.varianten input[type=radio] { accent-color: #6e8f2f; margin: 0; }

.abo-modelle { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 1rem 0; }
.abo-modelle article { background: #fff; border: 1px solid #e5ddce; border-radius: 14px; padding: 1rem 1.1rem; }
.abo-modelle h3 { margin: 0 0 .4rem; }

.bestell-form label.bestell-check {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  font-weight: 500;
}

.bestell-form label.bestell-check input {
  width: 1.1rem;
  min-height: 0;
  height: 1.1rem;
  flex: none;
  margin-top: .1rem;
  accent-color: var(--hellgruen);
}

.inhalt-kl {
  margin: .4rem 0 .2rem;
  font-size: .9rem;
  line-height: 1.4;
}

/* ---------- Gemüsekiste (Warenkorb) und Bestellschritte ---------- */
.bestell-fab {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem 1rem .45rem .5rem;
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--gruen);
  font-weight: 700;
  cursor: pointer;
}
.bestell-fab:hover { background: #f7f2e6; }
.gk-symbol { width: 46px; height: 46px; flex: none; }
.bestell-fab .gk-zahl {
  position: absolute;
  left: 2.3rem;
  top: -.35rem;
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 .35rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: .8rem;
  line-height: 1.45rem;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.gk-fab-text { display: grid; line-height: 1.15; text-align: left; font-size: .8rem; }
.gk-fab-text strong { font-size: 1rem; }
@media (max-width: 480px) {
  .bestell-fab { padding: .4rem; border-radius: 50%; }
  .gk-fab-text { display: none; }
}
@keyframes gk-wackeln { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-8deg) scale(1.08); } 40% { transform: rotate(6deg) scale(1.08); } 60% { transform: rotate(-4deg); } 80% { transform: rotate(2deg); } }
.bestell-fab.gk-wackeln .gk-symbol { animation: gk-wackeln .6s ease; }
@media (prefers-reduced-motion: reduce) { .bestell-fab.gk-wackeln .gk-symbol { animation: none; } }

.bestell-panel { width: min(100%, 460px); }
.gk-schritte { padding: .6rem 1.1rem; border-bottom: 1px solid rgba(110, 143, 47, .18); background: #fbf8f0; }
.gk-schritte ol { display: flex; gap: .3rem; margin: 0; padding: 0; list-style: none; font-size: .74rem; }
.gk-schritte li { flex: 1; text-align: center; color: var(--muted); border-bottom: 3px solid #e5ddce; padding-bottom: .35rem; }
.gk-schritte li.aktiv { color: var(--ink); font-weight: 800; border-color: var(--orange); }
.gk-schritte li.erledigt { border-color: var(--gruen); }
.gk-schritte button { all: unset; cursor: pointer; color: var(--gruen); font-weight: 700; }
.gk-schritte button:focus-visible { outline: 2px solid var(--orange); }
.gk-nr { display: inline-block; width: 1.25rem; height: 1.25rem; margin-right: .25rem; border-radius: 50%; background: #eee7da; line-height: 1.25rem; font-size: .7rem; }
.gk-schritte li.aktiv .gk-nr { background: var(--orange); color: #fff; }
.gk-schritte li.erledigt .gk-nr { background: var(--gruen); color: #fff; }
@media (max-width: 400px) { .gk-schritte ol { font-size: .66rem; } }

.gk-hinzugefuegt { display: grid; gap: .15rem; margin: 0 0 .9rem; padding: .7rem .8rem; border-radius: 12px; background: #eef5e1; color: #35501a; font-size: .85rem; }
.gk-mindest { margin: 0 0 1rem; padding: .75rem .85rem; border-radius: 12px; background: #fff4e6; border: 1px solid #f3d6ae; font-size: .86rem; }
.gk-mindest p { margin: 0 0 .45rem; }
.gk-mindest.ok { background: #eef5e1; border-color: #cfe0a8; color: #35501a; }
.gk-balken { height: .55rem; border-radius: 999px; background: #eadfcd; overflow: hidden; margin-bottom: .45rem; }
.gk-balken span { display: block; height: 100%; border-radius: 999px; background: var(--orange); transition: width .3s ease; }
.gk-mindest.ok .gk-balken span { background: var(--gruen); }
.gk-mindest.ok .gk-balken { margin-bottom: 0; }
.gk-knoepfe { display: grid; gap: .55rem; justify-items: center; }
.gk-knoepfe .bestell-button { width: 100%; }
.gk-link { all: unset; cursor: pointer; color: #3f6a12; font-size: .8rem; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.gk-link:focus-visible { outline: 2px solid var(--orange); }
.gk-zeile-text { min-width: 0; }
.gk-betrag { white-space: nowrap; }
.gk-leer { display: grid; justify-items: center; gap: .3rem; padding: 1rem 0; text-align: center; }
.gk-leer .gk-symbol { width: 72px; height: 72px; opacity: .85; }
.gk-leer p { margin: 0; }
.gk-leer .bestell-button { margin-top: .6rem; }
.gk-ueberschrift { margin: 0 0 .7rem; font-size: 1.05rem; }
.gk-zahlarten { display: grid; gap: .5rem; }
.bestell-form label.gk-zahlart { display: flex; flex-direction: row; align-items: flex-start; gap: .6rem; padding: .7rem .8rem; border: 2px solid #e5ddce; border-radius: 12px; background: #fff; cursor: pointer; }
.bestell-form label.gk-zahlart.gewaehlt { border-color: var(--orange); background: #fff8ef; }
.bestell-form label.gk-zahlart input { width: auto; margin-top: .2rem; }
.gk-block { display: flex; justify-content: space-between; align-items: flex-start; gap: .8rem; margin-bottom: .7rem; padding: .75rem .85rem; border: 1px solid rgba(110, 143, 47, .2); border-radius: 12px; background: #fff; font-size: .86rem; }
.gk-block-liste { display: block; }
.gk-block-kopf { display: flex; justify-content: space-between; align-items: center; margin-bottom: .3rem; }
.gk-block-titel { display: block; margin-bottom: .2rem; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.gk-block .bestell-liste { gap: .4rem; margin-top: .5rem; }
.gk-block .bestell-zeile { padding: .5rem .6rem; }
.gk-optionen { padding-top: .2rem; border-top: 0; margin-bottom: .6rem; }
.gk-uebersicht { width: 100%; margin: .4rem 0 .9rem; border-collapse: collapse; font-size: .88rem; }
.gk-uebersicht td { padding: .25rem 0; }
.gk-uebersicht td:last-child { text-align: right; }
.gk-uebersicht .gesamt td { padding-top: .5rem; border-top: 1px solid #e5ddce; font-size: 1.05rem; font-weight: 800; color: var(--terra); }
.gk-kaufen { width: 100%; margin-bottom: .4rem; }
.gk-danke { margin: 0; color: var(--gruen); font-size: 1.05rem; font-weight: 800; }

/* Fotos zu Textabschnitten (Über uns) */
.abschnitt-bild { margin: 0 0 1.2rem; }
.abschnitt-bild img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: 18px; }
.abschnitt-bild.hochformat img { max-height: 560px; object-position: center 30%; }
@media (min-width: 900px) {
  .abschnitt-bild { float: right; width: 42%; margin: .3rem 0 1rem 2rem; }
  .abschnitt-bild.hochformat { width: 34%; }
}
.section:has(> .abschnitt-bild)::after { content: ''; display: block; clear: both; }

/* Ganze Karte führt zur Detailseite: unsichtbarer Link über der Karte, ohne JavaScript */
.produkt,
.karte,
.schnaeppchen-karte {
  position: relative;
}

.kartenlink {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
}

.kartenlink:focus-visible {
  outline: 3px solid var(--gruen);
  outline-offset: 3px;
}

/* „Anmelden zum Bestellen“ (Link) sieht aus wie der Bestellknopf */
.warenkorb-anmelden {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Angemeldet: „Name · Abmelden“ an der Stelle von „Teilen“, gleiches Aussehen */
.toplink-form {
  display: contents;
}

button.toplink {
  background: none;
  font-family: inherit;
  cursor: pointer;
}

/* Knopf mit dem Aussehen der orangen Links (.cta), z. B. auf der Anmeldeseite */
button.cta {
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* Benutzer-Knopf oben rechts: Name mit Zahl ungelesener Nachrichten; bei wenig Platz nur Personen-Symbol */
.konto-link {
  gap: .4rem;
}

.konto-symbol {
  display: none;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.konto-zahl {
  min-width: 1.35rem;
  padding: 0 .35rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: .75rem;
  line-height: 1.35rem;
  text-align: center;
}

@media (max-width: 560px) {
  .konto-link .konto-name {
    display: none;
  }

  .konto-link .konto-symbol {
    display: block;
  }
}

/* Mein Konto: Nachrichten (Posteingang) */
.post-ordner {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.5rem 0 1rem;
}

.post-ordner a {
  padding: .4rem .9rem;
  border: 2px solid var(--hellgruen);
  border-radius: 999px;
  color: var(--gruen);
  font-weight: 700;
  text-decoration: none;
}

.post-ordner a[aria-current="page"] {
  background: var(--hellgruen);
  color: #fff;
}

.postliste {
  display: grid;
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.postliste a {
  display: grid;
  grid-template-columns: minmax(0, 12rem) minmax(0, 1fr) auto;
  gap: .85rem;
  padding: .75rem .9rem;
  background: #fffdf8;
  border: 1px solid rgba(110, 143, 47, .14);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
}

.postliste span:last-child {
  color: var(--muted);
  font-size: .85rem;
  white-space: nowrap;
}

.postliste .ungelesen a {
  font-weight: 700;
  border-color: var(--hellgruen);
}

@media (max-width: 560px) {
  .postliste a {
    grid-template-columns: 1fr auto;
  }

  .postliste span:nth-child(2) {
    grid-column: 1 / -1;
    order: 3;
  }
}

.post-nachricht {
  padding: 1rem 1.2rem;
  background: #fffdf8;
  border: 1px solid rgba(110, 143, 47, .14);
  border-radius: 14px;
}

.post-kopf,
.post-ok,
.post-fehler {
  color: var(--muted);
  font-size: .9rem;
}

.post-fehler {
  color: var(--terra);
  font-weight: 700;
}

.post-text {
  margin-top: 1rem;
  overflow-wrap: anywhere;
}

.post-antwort {
  display: grid;
  gap: .5rem;
  margin-top: 1.5rem;
}

.post-antwort label {
  font-weight: 700;
}

/* Empfehlungs-Link (B66): Textfelder und Foto wie das Antwortfeld */
.post-antwort img { max-width: 100%; height: auto; }
.post-antwort input[type="text"],
.post-antwort textarea {
  width: 100%;
  padding: .7rem .8rem;
  border: 1px solid rgba(110, 143, 47, .3);
  border-radius: 12px;
  font: inherit;
}

.post-antwort .cta {
  justify-self: start;
  margin-top: .5rem;
}

.post-abmelden {
  margin-top: 1rem;
}

/* Mein Konto: „Mag ich“ – jede Zeile mit Bild (Icon-Größe), Name und drei Smileys */
.mag-hinweis {
  color: var(--muted);
}

.magliste {
  display: grid;
  gap: .6rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.magliste li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: .85rem;
  padding: .55rem .8rem;
  background: #fffdf8;
  border: 1px solid rgba(110, 143, 47, .14);
  border-radius: 14px;
  scroll-margin-top: 6rem;
}

.mag-bild {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--sand);
  color: var(--muted);
  font-weight: 700;
}

.mag-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mag-name small {
  display: block;
  color: var(--muted);
}

.mag-wahl {
  display: flex;
  gap: .4rem;
}

.mag-knopf {
  position: relative;
  display: grid;
  justify-items: center;
  gap: .15rem;
  min-width: 5.2rem;
  padding: .35rem .5rem;
  border: 2px solid transparent;
  border-radius: 12px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: .78rem;
  cursor: pointer;
}

.mag-knopf svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.mag-mag { color: var(--gruen); }
.mag-ok { color: #b07a12; }
.mag-nicht { color: var(--terra); }

.mag-knopf.gewaehlt {
  border-color: currentColor;
  background: #fff;
  font-weight: 700;
}

/* deutlicher Haken: farbiger Kreis mit weißem ✓ an der gewählten Bewertung */
.mag-haken {
  position: absolute;
  top: -.55rem;
  right: -.45rem;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: currentColor;
  font-size: 0;
}

.mag-haken::before {
  content: "✓";
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
}

@media (max-width: 560px) {
  .magliste li {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .mag-wahl {
    grid-column: 1 / -1;
    justify-content: space-between;
  }
}

/* Bild groß: 2/3 des Bildschirms, ohne JavaScript (Anker) */
.bild-gross {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(30, 32, 22, .72);
}

.bild-gross:target {
  display: flex;
}

.bild-gross img {
  position: relative;
  z-index: 1;
  width: 66.6vw;
  height: 66.6vh;
  object-fit: contain;
  background: #fffdf8;
  border-radius: 16px;
}

.bild-gross-zu {
  position: absolute;
  inset: 0;
}

.bild-gross-x {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  z-index: 2;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  text-decoration: none;
}

/* Sorten-Detailseiten (sorte.php, Anordnung 03.12.2026) */
/* Sortenname als Link: Textfarbe wie die Umgebung, unterstrichen nur beim Darüberfahren/Tastaturfokus */
.sorte-link {
  color: inherit;
  text-decoration: none;
}

.sorte-link:hover,
.sorte-link:focus-visible {
  text-decoration: underline;
}

/* Sorte ohne Foto: Bildfläche in Sandfarbe wie in der Kisterlkomposition */
.hauptbild.ohne-bild {
  background: var(--sand);
}

/* Nährwerte je 100 g – wie die Nährwert-Tabelle der Rezeptseiten */
.naehrwert-tabelle {
  border-collapse: collapse;
  min-width: 260px;
}

.naehrwert-tabelle td {
  padding: .2rem .6rem .2rem 0;
  border-bottom: 1px solid #eee7da;
}

.naehrwert-tabelle td.rechts {
  text-align: right;
}
