/* VonNebenan · ruhiges Marktblatt. 18 px skalierbarer Fließtext (rem), Bedienflächen ab 48 × 48 px,
   Textkontrast mindestens 4,5:1 auf Creme. */
:root {
  --papier: #faf5ea;
  --papier-tief: #f1e8d6;
  --karte: #fffdf7;
  --tinte: #1e1b16;
  --tinte-leise: #4d463b;   /* 8,4:1 auf Papier */
  --linie: #d8ccb6;
  --gruen: #2c5a3c;         /* 7,6:1 mit Weiß */
  --gruen-hell: #e3eddf;
  --rot: #8a2c17;           /* 7,4:1 auf Papier */
  --rot-hell: #f6e1d9;
  --gelb-hell: #f4ead0;
  --fokus: #1d4ed8;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --rund: 0.6rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; }
/* Das HTML-Attribut hidden gewinnt immer, auch gegen display:flex (Foto-Vorschau im Hofformular) */
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; }
a { color: var(--gruen); text-underline-offset: 0.18em; }
a:hover { color: var(--tinte); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; margin: 1.2em 0 0.4em; font-weight: 700; }
h1 { font-size: 2rem; margin-top: 0.6em; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
p { margin: 0.35em 0; }

:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 4px; }
.springen { position: absolute; left: -999px; top: 0; background: var(--tinte); color: #fff; padding: 0.75rem 1rem; z-index: 10; }
.springen:focus { left: 0.5rem; top: 0.5rem; }
.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ansage { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.leise { color: var(--tinte-leise); font-weight: 400; }

/* Kopf: kleine Wortmarke, kompakte Suche, genau drei Hauptziele */
.kopf { border-bottom: 1px solid var(--linie); background: var(--papier); }
.kopf-innen { max-width: 64rem; margin: 0 auto; padding: 0.4rem 1rem 0.3rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.2rem 0.75rem; align-items: center; }
.marke { text-decoration: none; color: var(--tinte); display: flex; flex-direction: column; min-height: 48px; justify-content: center; }
.marke-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; letter-spacing: 0.01em; line-height: 1.1; }
.marke-zusatz { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--tinte-leise); }
.kopf-suche { display: flex; gap: 0; min-width: 0; }
.kopf-suche .feld { min-width: 0; flex: 1 1 auto; width: auto; border-radius: var(--rund) 0 0 var(--rund); border-right: 0; padding: 0.3rem 0.6rem; font-size: 0.95rem; }
.lupe { flex: none; width: 48px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--gruen); background: var(--gruen); color: #fff; border-radius: 0 var(--rund) var(--rund) 0; cursor: pointer; }
.lupe:hover { background: #1f4029; }
.nav { grid-column: 1 / -1; display: flex; gap: 0.15rem; }
.nav a { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; min-height: 48px; padding: 0 0.4rem; text-decoration: none; color: var(--tinte); border-radius: var(--rund); font-size: 0.88rem; font-weight: 600; text-align: center; }
.nav a[aria-current="page"] { background: var(--tinte); color: var(--papier); }
.bereich-hof .kopf-innen { grid-template-columns: 1fr; }
.zaehler:empty { display: none; }
.zaehler { margin-left: 0.25em; }
.fuss-nav { display: flex; flex-wrap: wrap; gap: 0.2rem 1.2rem; margin-bottom: 0.6rem; }
.fuss-nav a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }
.simband { background: #1e1b16; color: #fff; text-align: center; padding: 0.45rem 1rem; font-weight: 700; }

.inhalt { max-width: 64rem; margin: 0 auto; padding: 0.5rem 1rem 3rem; }
.inhalt:focus { outline: none; }
.fuss { max-width: 64rem; margin: 0 auto; padding: 1.5rem 1rem 2.5rem; border-top: 1px solid var(--linie); color: var(--tinte-leise); font-size: 0.9rem; }
.datum { color: var(--tinte-leise); margin-top: -0.2em; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
  min-height: 48px; min-width: 48px; padding: 0.55rem 1.1rem;
  font: inherit; font-weight: 650; line-height: 1.2; text-align: center; text-decoration: none;
  color: #fff; background: var(--gruen); border: 2px solid var(--gruen); border-radius: var(--rund);
  cursor: pointer;
}
.knopf:hover { background: #1f4029; border-color: #1f4029; color: #fff; }
.knopf.zweit { background: var(--karte); color: var(--gruen); }
.knopf.zweit:hover { background: var(--gruen-hell); color: var(--tinte); }
.knopf.leise-knopf { background: transparent; color: var(--tinte); border-color: var(--linie); font-weight: 500; }
.knopf.haupt.gross { font-size: 1.15rem; min-height: 56px; padding: 0.7rem 1.4rem; width: 100%; max-width: 32rem; }
.knopf[disabled] { opacity: 0.6; cursor: progress; }
.knopf.merken.gemerkt { background: var(--gelb-hell); color: var(--tinte); border-color: #8a6d1f; }
summary.knopf { list-style: none; }
summary.knopf::-webkit-details-marker { display: none; }

/* Felder */
.feld {
  font: inherit; color: var(--tinte); background: #fff;
  min-height: 48px; width: 100%; padding: 0.5rem 0.7rem;
  border: 2px solid #8b7f6a; border-radius: var(--rund);
}
.feld.klein { min-width: 6.5rem; }
.feld[aria-invalid="true"] { border-color: var(--rot); box-shadow: 0 0 0 2px var(--rot-hell); }
label, legend { font-weight: 650; display: block; margin: 0.6rem 0 0.25rem; }
.feld-hilfe { color: var(--tinte-leise); font-size: 0.95rem; }
.feld-fehler { color: var(--rot); font-weight: 650; }
.feld-fehler::before { content: "Hinweis: "; }

/* Suche und Umschalter */
.suche { margin: 0.5rem 0 1rem; }
.such-zeile, .link-zeile { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.such-zeile .feld, .link-zeile .feld { flex: 1 1 12rem; width: auto; }
.umschalter { display: flex; gap: 0.4rem; flex-wrap: wrap; border-bottom: 1px solid var(--linie); margin-bottom: 0.75rem; }
.umschalter a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 0.9rem; text-decoration: none; color: var(--tinte); border-bottom: 4px solid transparent; }
.umschalter a[aria-current="page"] { border-bottom-color: var(--gruen); font-weight: 700; }

/* Karten */
.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 0.9rem; margin: 0.6rem 0 1.2rem; }
.karte { background: var(--karte); border: 1px solid var(--linie); border-radius: 0.8rem; display: flex; flex-direction: column; }
.karte-link { display: flex; flex-direction: column; gap: 0.6rem; padding: 0 0 0.6rem; color: inherit; text-decoration: none; flex: 1; }
.karte-link:hover .karte-titel { text-decoration: underline; }
.karte-text { min-width: 0; padding: 0 0.9rem; }
.karte-titel { margin: 0 0 0.15rem; font-size: 1.2rem; }
.karte .merken { margin: 0 0.9rem 0.9rem; align-self: flex-start; }
.karte-ausverkauft, .karte-abgelaufen, .karte-zurueckgezogen { opacity: 0.85; }
.preis { margin: 0.1rem 0; }
.preis strong { font-family: var(--serif); font-size: 1.55rem; font-variant-numeric: tabular-nums; }
.preis.gross strong { font-size: 2.4rem; }
.einheit { font-weight: 600; }
.grundpreis { color: var(--tinte-leise); font-size: 0.95rem; }
.wo, .ort, .gueltig { font-size: 0.95rem; }
.hof { font-weight: 650; }
.status { font-weight: 650; font-size: 0.95rem; }
.status-ok { color: var(--gruen); }
.status-hinweis { color: #6b4e0e; }
.status-warnung { color: var(--rot); }

.hinweis-box { background: var(--gelb-hell); border: 1px solid #d6c18f; padding: 0.8rem 1rem; border-radius: 0.6rem; margin: 0.8rem 0; }
.hinweis-box.warnung { background: var(--rot-hell); border-color: #e0b4a6; }
.hinweis-box.ok { background: var(--gruen-hell); border-color: #b9cdb3; }
.markierung { display: inline-block; font-weight: 700; padding: 0.1rem 0.5rem; border-radius: 0.3rem; border: 2px solid currentColor; font-size: 0.9rem; }
.markierung-warnung { color: var(--rot); }
.markierung-hinweis { color: #6b4e0e; }
.marke-demo { display: inline-block; border: 2px dashed var(--tinte-leise); padding: 0.1rem 0.6rem; border-radius: 0.3rem; color: var(--tinte-leise); }

/* Verkaufsorte */
.ort-block { border-top: 2px solid var(--tinte); padding-top: 0.25rem; margin-top: 1.5rem; }
.ort-block > h2, .ort-block > h3 { margin-top: 0.4rem; }
.stand { margin: 0.8rem 0 0.4rem; padding-top: 0.4rem; border-top: 1px solid var(--linie); }
.stand h3, .stand h4 { margin-top: 0.3rem; }
.adresse { color: var(--tinte-leise); }
.zeiten { margin: 0.3rem 0; display: grid; gap: 0.15rem; }
.zeiten div { display: flex; flex-wrap: wrap; gap: 0 0.75rem; }
.zeiten dt { font-weight: 650; min-width: 6.5rem; }
.zeiten dd { margin: 0; }

/* Detail */
.zurueck { margin: 0.6rem 0; }
.detail-kopf { display: grid; grid-template-columns: minmax(0, 24rem) 1fr; gap: 1.2rem; align-items: start; }
.detail-kopf h1 { margin-top: 0; }
.detail-bild img, .detail-bild .detail-bild .aktionen { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; align-items: flex-start; }
.fakten { display: grid; gap: 0; margin: 1rem 0; border-top: 1px solid var(--linie); }
.fakten > div { display: grid; grid-template-columns: 11rem 1fr; gap: 0.5rem; padding: 0.6rem 0; border-bottom: 1px solid var(--linie); }
.fakten dt { font-weight: 650; }
.fakten dd { margin: 0; }

/* Teilen */
.teilen { margin: 1.2rem 0; display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-start; }
.teilen-rueckfall { width: 100%; max-width: 36rem; }
.teilen-rueckfall summary { display: inline-flex; align-items: center; min-height: 48px; cursor: pointer; font-weight: 650; color: var(--gruen); }
.qr { background: #fff; padding: 0.4rem; margin-top: 0.6rem; border: 1px solid var(--linie); width: 180px; height: 180px; }

/* Einkaufszettel */
.zettel { list-style: none; padding: 0; margin: 0.5rem 0; }
.zettel-eintrag { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.8rem; flex-wrap: wrap; padding: 0.8rem; background: var(--karte); border: 1px solid var(--linie); border-radius: 0.6rem; margin-bottom: 0.6rem; }
.zettel-warnung { border: 2px solid var(--rot); }
.zettel-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; }

/* Hofbereich: größere Schrift für Beschriftungen, Felder und Hauptknopf (mindestens 18 pt) */
.hof-formular { max-width: 40rem; }
.bereich-hof .hof-formular label,
.bereich-hof .hof-formular legend,
.bereich-hof .hof-formular .feld,
.bereich-hof .hof-formular .knopf.haupt { font-size: 1.34rem; }
.bereich-hof .hof-formular .feld { min-height: 56px; }
.feldgruppe { margin: 0 0 1.2rem; border: 0; padding: 0; min-width: 0; }
fieldset.feldgruppe { border-top: 1px solid var(--linie); padding-top: 0.4rem; }
.feld-reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: 0.6rem 1rem; }
.wahl { display: flex; align-items: center; gap: 0.6rem; min-height: 48px; font-weight: 500; margin: 0.1rem 0; }
.wahl input { width: 1.6rem; height: 1.6rem; flex: none; accent-color: var(--gruen); }
.bestaetigen { background: var(--gelb-hell); padding: 0.4rem 0.8rem; border-radius: var(--rund); font-weight: 700; }
.einrueck { margin-left: 2.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.3rem 0 0.5rem; }
.chip { font: inherit; min-height: 48px; padding: 0 1rem; border-radius: 999px; border: 2px solid var(--gruen); background: var(--karte); color: var(--gruen); font-weight: 650; cursor: pointer; }
.chip:hover { background: var(--gruen-hell); }
.schnell { background: var(--papier-tief); padding: 0.8rem 1rem 1rem; border-radius: 0.8rem; }
.schnell .knopf { margin-top: 0.6rem; }
.diktat-hinweis p { margin-top: 0.5rem; }
.diktat-frage { font-weight: 700; color: #6b4e0e; }
.foto-knoepfe { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.datei-knopf { margin: 0; position: relative; }
.datei-knopf:focus-within { outline: 3px solid var(--fokus); outline-offset: 3px; }
.foto-vorschau { display: flex; gap: 0.8rem; align-items: center; flex-wrap: wrap; margin-bottom: 0.6rem; }
.foto-vorschau img { width: 160px; height: 160px; object-fit: cover; border-radius: 0.6rem; border: 1px solid var(--linie); }
.veroeffentlichen-leiste { border-top: 2px solid var(--tinte); padding-top: 0.8rem; margin-top: 1rem; }
.zusammenfassung { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.6rem; }
.form-status { margin-top: 0.5rem; font-weight: 650; }
.erfolg { background: var(--gruen-hell); border: 2px solid var(--gruen); border-radius: 0.8rem; padding: 1rem 1.2rem; max-width: 40rem; }
.erfolg:focus { outline: 3px solid var(--fokus); }
.erfolg .knopf { margin: 0.3rem 0.3rem 0.3rem 0; }

.produkt-liste { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 0.6rem; }
.produkt-knopf { display: flex; gap: 0.7rem; align-items: center; min-height: 72px; padding: 0.6rem; background: var(--karte); border: 2px solid var(--linie); border-radius: 0.7rem; color: var(--tinte); text-decoration: none; }
.produkt-knopf:hover { border-color: var(--gruen); }
.produkt-knopf img { width: 64px; height: 48px; object-fit: cover; border-radius: 0.4rem; flex: none; }
.hof-angebot { background: var(--karte); border: 1px solid var(--linie); border-radius: 0.8rem; padding: 0.8rem 1rem; margin: 0.7rem 0; }
.hof-angebot-kopf { display: flex; justify-content: space-between; gap: 0.5rem 1rem; flex-wrap: wrap; align-items: baseline; }
.hof-angebot-kopf h3 { margin: 0; }
.preis-aendern { width: 100%; }
.preis-aendern[open] { padding: 0.6rem; background: var(--papier-tief); border-radius: var(--rund); }
.preis-aendern form { margin-top: 0.6rem; }
.hof-unten { margin-top: 2rem; border-top: 1px solid var(--linie); padding-top: 1rem; }
.zeiten-tabelle { border-collapse: collapse; margin: 0.8rem 0; width: 100%; }
.zeiten-tabelle caption { text-align: left; font-weight: 650; padding-bottom: 0.3rem; }
.zeiten-tabelle th, .zeiten-tabelle td { padding: 0.25rem 0.4rem 0.25rem 0; text-align: left; }
.zeiten-tabelle input[type="checkbox"] { width: 1.6rem; height: 1.6rem; accent-color: var(--gruen); }
.neuer-stand { margin: 1rem 0; }

/* Wochenblatt */
.woche-kopf { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; flex-wrap: wrap; border-bottom: 3px double var(--tinte); padding-bottom: 0.6rem; }
.woche-kopf h1 { margin: 0.1rem 0; }
.woche-marke { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.85rem; }
.woche-zeitraum { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; }
.woche-stand { color: var(--tinte-leise); font-size: 0.95rem; }
.woche-qr { margin: 0; text-align: center; font-size: 0.8rem; }
.woche-qr img { background: #fff; padding: 4px; border: 1px solid var(--linie); }
.woche-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.woche-tag { margin: 1.2rem 0; }
.woche-tag h2, .woche-tabelle caption { break-after: avoid; }
.fuellmenge summary { display: inline-flex; align-items: center; min-height: 48px; cursor: pointer; font-weight: 650; color: var(--gruen); }
.bereich-hof .fuellmenge summary { font-size: 1.2rem; }
.woche-tag h2 { border-bottom: 1px solid var(--tinte); padding-bottom: 0.2rem; }
.woche-tabelle { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1rem; font-size: 0.95rem; }
.woche-tabelle caption { text-align: left; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; padding: 0.3rem 0; }
.woche-tabelle th, .woche-tabelle td { text-align: left; vertical-align: top; padding: 0.35rem 0.5rem 0.35rem 0; border-bottom: 1px solid var(--linie); }
.woche-tabelle thead th { border-bottom: 2px solid var(--tinte); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.zahl { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Schmal: 320 px */
@media (max-width: 40rem) {
  h1 { font-size: 1.65rem; }
  .detail-kopf { grid-template-columns: 1fr; }
  .fakten > div { grid-template-columns: 1fr; gap: 0.1rem; }
  .woche-tabelle thead { display: none; }
  .woche-tabelle tr { display: block; padding: 0.4rem 0; border-bottom: 1px solid var(--linie); }
  .woche-tabelle th, .woche-tabelle td { display: block; border: 0; padding: 0.05rem 0; }
  .woche-tabelle td[data-titel]::before { content: attr(data-titel) ": "; font-weight: 650; color: var(--tinte-leise); }
  .woche-tabelle th[data-titel] { font-size: 1.05rem; }
  .knopf.haupt.gross { max-width: none; }
  .zeiten-tabelle, .zeiten-tabelle tbody, .zeiten-tabelle caption { display: block; width: 100%; }
  .zeiten-tabelle thead { display: none; }
  .zeiten-tabelle tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.3rem 0.6rem; padding: 0.5rem 0; border-bottom: 1px solid var(--linie); }
  .zeiten-tabelle th, .zeiten-tabelle td { display: block; padding: 0; min-width: 0; }
  .zeiten-tabelle td[data-titel]::before { content: attr(data-titel); display: block; font-size: 0.85rem; color: var(--tinte-leise); }
  .feld.klein { min-width: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* A4-Druck, schwarzweiß lesbar */
@media print {
  @page { size: A4; margin: 12mm 12mm 14mm; }
  :root { --tinte-leise: #000; --linie: #777; }
  html { font-size: 10.5pt; }
  body { background: #fff; color: #000; }
  .kopf, .fuss, .nicht-drucken, .springen, .umschalter, .suche, .merken, .teilen, .ansage { display: none !important; }
  .inhalt { max-width: none; padding: 0; }
  a { color: #000; text-decoration: none; }
  .woche-tag { margin: 0.6rem 0; }
  .woche-tag h2 { font-size: 13pt; margin: 0.5rem 0 0.2rem; }
  .woche-tabelle { font-size: 9.5pt; }
  .woche-tabelle thead { display: table-header-group; }
  .woche-tabelle tr { break-inside: avoid; display: table-row; }
  .woche-tabelle th, .woche-tabelle td { display: table-cell; border-bottom: 0.5pt solid #777; }
  .markierung { border: 1pt solid #000; color: #000; }
  .woche-qr img { border: 0; }
}

/* Bilder 4:3 mit Kennzeichnung, ruhige Fläche statt Initiale */
.bild { position: relative; aspect-ratio: 4 / 3; background: var(--papier-tief); overflow: hidden; border-radius: 0.8rem 0.8rem 0 0; width: 100%; }
.bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bild-etikett { position: absolute; left: 0.5rem; bottom: 0.5rem; font-size: 0.8rem; font-weight: 600; padding: 0.1rem 0.55rem; border-radius: 0.3rem; background: rgba(30, 27, 22, 0.82); color: #fff; }
.bild-leer { display: flex; align-items: center; justify-content: center; color: var(--tinte-leise); background: var(--papier-tief); font-size: 0.95rem; }
.bild-leer.klein { width: 72px; height: 54px; border-radius: 0.4rem; flex: none; aspect-ratio: auto; }
.detail-bild .bild, .hero .bild { border-radius: 0.8rem; }
.bild-unterschrift { color: var(--tinte-leise); font-size: 0.9rem; margin-top: 0.25rem; }

/* Startseite */
.start-titel { font-size: 1.55rem; margin: 0.5rem 0 0.1rem; }
.start-satz { margin: 0 0 0.6rem; }
.kicker { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; font-weight: 700; color: var(--gruen); margin: 0.2rem 0 0.35rem; }
.hero { margin: 0.4rem 0 1rem; }
.hero-bild { display: block; text-decoration: none; }
.hero-name { font-size: 1.5rem; margin: 0.5rem 0 0; }
.hero-name a { color: inherit; text-decoration: none; }
.hero-wo { margin: 0.1rem 0; }
.servieridee { background: var(--gelb-hell); border-radius: var(--rund); padding: 0.5rem 0.8rem; margin: 0.6rem 0; }
.servieridee-etikett { display: inline-block; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-right: 0.4rem; color: #5f4710; }
.knopf.haupt { background: var(--gruen); }
.abschnitt { margin: 1.4rem 0; }
.abschnitt h2 { margin-top: 0.4rem; }
.zeilen { list-style: none; padding: 0; margin: 0.4rem 0; display: grid; gap: 0.5rem; }
.zeile-link { display: flex; gap: 0.75rem; align-items: center; min-height: 64px; padding: 0.5rem; background: var(--karte); border: 1px solid var(--linie); border-radius: 0.7rem; color: var(--tinte); text-decoration: none; }
.zeile-bild img { width: 72px; height: 54px; object-fit: cover; border-radius: 0.4rem; display: block; }
.zeile-text { min-width: 0; font-size: 0.95rem; }
.klein-titel { font-size: 1.15rem; margin: 1.2rem 0 0.2rem; }
.preischeck { background: var(--gruen-hell); border: 1px solid #b9cdb3; border-radius: 0.6rem; padding: 0.5rem 0.8rem; margin: 0.6rem 0; }
.pc-bezug { margin: 0; }
.pc-wert { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; margin: 0.15rem 0; }
.weg-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; }
.weg-liste a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }
.ausnahmen { margin: 0.3rem 0; padding-left: 1.2rem; }
.summe { background: var(--gelb-hell); padding: 0.5rem 0.8rem; border-radius: var(--rund); margin: 0.5rem 0; }
.summe-gesamt { font-size: 1.1rem; }
.pc-tabelle { margin-top: 1rem; }
.woche-hero { border: 2px solid var(--tinte); padding: 0.5rem 0.8rem; margin: 1rem 0; break-inside: avoid; }
.woche-hero h2 { margin: 0 0 0.3rem; }
.woche-hero-innen { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.woche-hero-innen img { width: 160px; height: 120px; object-fit: cover; border-radius: 0.4rem; }
.woche-foto { width: 64px; height: 48px; object-fit: cover; border-radius: 0.3rem; vertical-align: middle; margin-right: 0.4rem; }

/* Hofformular in Schritten */
.schritt { border-top: 2px solid var(--tinte); margin-top: 1.4rem; padding-top: 0.2rem; }
.schritt > h2 { font-size: 1.3rem; display: flex; align-items: center; gap: 0.6rem; margin-top: 0.7rem; }
.nr { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--tinte); color: var(--papier); font-family: var(--sans); font-size: 1rem; flex: none; }
.entwurf-status { background: var(--gelb-hell); border: 1px solid #d6c18f; padding: 0.5rem 0.8rem; border-radius: 0.6rem; font-weight: 700; }
.gebinde-optionen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin: 0.5rem 0; }
.gebinde-knopf { font: inherit; font-weight: 700; font-size: 1.15rem; min-height: 64px; padding: 0.4rem 0.6rem; border-radius: 0.8rem; border: 2px solid var(--gruen); background: var(--karte); color: var(--gruen); cursor: pointer; }
.gebinde-knopf[aria-pressed="true"] { background: var(--gruen); color: #fff; }
.weitere-knopf { border-style: dashed; }
.preis-feld { font-size: 1.8rem !important; font-weight: 700; text-align: right; }
.zahlenblock { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; max-width: 22rem; margin: 0.5rem 0; }
.taste { font: inherit; font-size: 1.6rem; font-weight: 700; min-height: 64px; border-radius: 0.8rem; border: 2px solid var(--linie); background: var(--karte); color: var(--tinte); cursor: pointer; }
.taste:active { background: var(--gruen-hell); }
.preisschild { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; background: var(--karte); border: 2px solid var(--tinte); border-radius: 0.5rem; padding: 0.8rem 1rem; margin: 0.4rem 0; }
.chip[aria-pressed="true"] { background: var(--gruen); color: #fff; }
.schnell summary, .gueltig-details summary { display: inline-flex; align-items: center; min-height: 48px; cursor: pointer; font-weight: 650; color: var(--gruen); }
.grosse-aktionen { display: grid; gap: 0.6rem; margin: 0.8rem 0; }
.knopf.haupt.gross.zweit-gross { background: var(--karte); color: var(--gruen); }
.automat-liste { list-style: none; padding: 0; margin: 0.4rem 0; display: grid; gap: 0.5rem; }
.automat-zeile { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; justify-content: space-between; padding: 0.6rem 0.8rem; background: var(--karte); border: 1px solid var(--linie); border-radius: 0.7rem; }
.automat-knoepfe { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.markttag-liste { list-style: none; padding: 0; margin: 0.6rem 0; display: grid; gap: 0.5rem; }
.markttag-zeile { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; align-items: center; justify-content: space-between; padding: 0.5rem 0.8rem; background: var(--karte); border: 1px solid var(--linie); border-radius: 0.7rem; }
.markttag-wahl { flex: 1 1 14rem; margin: 0; }
.markttag-wahl img { width: 64px; height: 48px; object-fit: cover; border-radius: 0.4rem; flex: none; }
.markttag-preis { display: flex; align-items: center; gap: 0.4rem; }
.markttag-preis .feld { width: 7rem; text-align: right; }
.demo-schalter { border: 2px dashed var(--tinte-leise); border-radius: 0.8rem; padding: 0.2rem 1rem 0.8rem; margin: 1.5rem 0; }
@media (max-width: 40rem) {
  .detail-kopf { grid-template-columns: 1fr; }
  .nav a { font-size: 0.8rem; padding: 0 0.2rem; }
}
@media print {
  .bild-etikett { background: #fff; color: #000; border: 0.5pt solid #000; }
  .woche-foto { width: 40px; height: 30px; filter: grayscale(1); }
  .woche-hero img { width: 100px; height: 75px; filter: grayscale(1); }
  .woche-tabelle caption { break-after: avoid; }
  .woche-tag > h2 { break-after: avoid; }
  .woche-tag { break-inside: auto; }
  .simband { display: none; }
}
@media (max-width: 24rem) {
  .nav { flex-wrap: wrap; }
  .nav a { min-width: 0; white-space: normal; line-height: 1.15; padding: 0 0.15rem; }
}
.nav { flex-wrap: wrap; }
.kopf-innen > * { min-width: 0; }

/* Supermarkt-Vergleich als ruhige Zeile unter dem Hofpreis */
.vergleich { font-size: 0.95rem; margin: 0.1rem 0; line-height: 1.35; }
.vergleich-etikett { font-weight: 700; color: var(--gruen); margin-right: 0.15rem; }
.vergleich-kurz { font-size: 0.9rem; }
.pv-liste { list-style: none; padding: 0; margin: 0.3rem 0 0.6rem; display: grid; gap: 0.5rem; }
.pv-liste li { line-height: 1.4; }
.pv-diff { font-weight: 650; }
.pv-teaser { margin: 1rem 0; }
.vergleich-portion, .pc-portion, .pv-portion { font-size: 0.95rem; font-weight: 650; margin: 0 0 0.1rem; }
.pc-bio { font-size: 0.95rem; margin: 0.2rem 0; }
.korb { background: var(--karte); border: 1px solid var(--linie); border-radius: 0.8rem; padding: 0.6rem 1rem 0.8rem; margin: 1.2rem 0; }
.korb h2 { margin-top: 0.3rem; }
.korb-satz { font-size: 1.05rem; }
.korb-zahlen { display: grid; gap: 0.2rem; margin: 0.5rem 0; }
.korb-zahlen div { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.korb-zahlen dt { font-weight: 600; }
.korb-zahlen dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 700; }
.hero-gesicht { display: flex; align-items: center; gap: 0.6rem; margin: 0.2rem 0 0.3rem; }
.hero-gesicht img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.hero-gesicht p { margin: 0; line-height: 1.3; }
.hero-genuss { font-style: italic; font-weight: 600; }
.hof-gesicht { margin: 0.6rem 0; }
.hof-gesicht img { width: 100%; max-width: 22rem; height: auto; border-radius: 0.8rem; display: block; }
.hof-gesicht figcaption { color: var(--tinte-leise); font-size: 0.9rem; margin-top: 0.3rem; }
.hero .bild { aspect-ratio: 16 / 10; }
.hero-name { margin-bottom: 0; }
.hero-wo { margin-top: 0.1rem; }


/* ---- UX-Gutachten 26.11.2026 ---- */
/* Tippziele: Textlinks in Listen und Kopfzeilen mindestens 48 px hoch */
.zurueck a, .adresse a, .stand h3 a, .stand h4 a, .pv-liste a, .karte-text a { display: inline-flex; align-items: center; min-height: 48px; }
.zurueck a { padding-right: 0.6rem; }
.stand h3, .stand h4 { margin: 0; }
.pv-liste li { margin-bottom: 0.25rem; }
.wie-vergleichen summary, .belege summary, .schritt-details > summary { display: flex; align-items: center; min-height: 48px; cursor: pointer; font-weight: 650; color: var(--gruen); }
.wie-vergleichen, .belege { margin: 0.6rem 0; }

/* Demo-Band und Hofname */
.demo-band { margin: 0; background: #f2d27e; color: #2a1f05; font-size: 0.8rem; line-height: 1.3; font-weight: 650; padding: 0.35rem 1rem; text-align: center; }
.hof-band { margin: 0.6rem 0 0; font-size: 0.95rem; color: var(--tinte-leise); }
.hof-band strong { color: var(--tinte); }
.hof-art { display: inline-block; font-size: 0.78rem; font-weight: 700; line-height: 1.2; padding: 0.1rem 0.5rem; border-radius: 999px; border: 1.5px solid currentColor; vertical-align: 0.05em; }
.hof-art-echt { color: var(--gruen); }
.hof-art-demo { color: var(--tinte-leise); border-style: dashed; }

/* Filter-Chips als Links */
a.chip { display: inline-flex; align-items: center; text-decoration: none; }
.filter-chips { margin: 0.2rem 0 0.8rem; }
a.chip[aria-current="true"] { background: var(--gruen); color: #fff; }
.leerlauf p { margin: 0.4rem 0; }
.mehr { margin: 0.8rem 0; }
.mehr > summary.knopf { width: 100%; max-width: 32rem; }
.mehr[open] > summary.knopf { margin-bottom: 0.8rem; }

/* Karte: wenige Zeilen, Preis als Blickfang */
.karte-text p { margin: 0; }
.karte-titel { font-size: 1.15rem; margin: 0 0 0.1rem; }
.karte-text .preis { margin: 0.1rem 0 0.3rem; }
.karte-text .grundpreis { font-size: 0.95rem; }
.karte-text .vergleich { margin: 0.15rem 0 0; }
.karte-text .vergleich-quelle { color: var(--tinte-leise); font-size: 0.9rem; }
.karte-text .vergleich-portion { margin: 0 0 0.3rem; }
.wo-zeile { font-size: 0.95rem; margin-top: 0.35rem !important; }
.wo-zeile .hof { font-weight: 600; }
.status-zeile { margin-top: 0.3rem !important; }
.status-pille { display: inline-block; padding: 0.1rem 0.65rem; border-radius: 999px; border: 1.5px solid currentColor; font-size: 0.9rem; }
.status-zeile .gueltig { font-size: 0.9rem; color: var(--tinte-leise); margin-left: 0.3rem; }
.vergleich-portion { color: var(--tinte-leise); }
.pc-gebinde { margin: 0.2rem 0; font-weight: 650; }
.pc-wert { font-size: 1.05rem; }
.pc-quelle { margin: 0; }
.bild-etikett { font-size: 0.72rem; font-weight: 600; padding: 0 0.45rem; background: rgba(30, 27, 22, 0.66); }

/* Hofformular: Veröffentlichen immer erreichbar, Vorschau direkt darüber */
.hof-formular .veroeffentlichen-leiste { position: sticky; bottom: 0; z-index: 4; background: var(--papier); padding: 0.6rem 0 max(0.6rem, env(safe-area-inset-bottom)); margin-top: 1.2rem; border-top: 2px solid var(--tinte); }
.veroeffentlichen-leiste .preisschild { font-size: 1rem; padding: 0.3rem 0.7rem; margin: 0 0 0.5rem; border-width: 1px; }
.vorschau-titel { font-family: var(--sans); font-size: 0.85rem; font-weight: 650; color: var(--tinte-leise); display: inline; margin-right: 0.4rem; }
.schritt-details > summary { list-style: none; flex-wrap: wrap; gap: 0.2rem 0.8rem; }
.schritt-details > summary::-webkit-details-marker { display: none; }
.schritt-titel { display: flex; align-items: center; gap: 0.6rem; font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--tinte); }
.schritt-zusammen { font-weight: 500; font-size: 0.95rem; color: var(--tinte-leise); margin-left: 2.6rem; }
.schritt-details[open] .schritt-zusammen { display: none; }

/* Hof-Start */
.meldung-zeile { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; justify-content: space-between; }
.meldung-zeile p { margin: 0; }
.automat-knoepfe { gap: 0.8rem; }

/* Kästchen und Auswahl */
input[type="checkbox"], input[type="radio"] { width: 1.5rem; height: 1.5rem; }
.haken { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; margin: 0; cursor: pointer; }
.zeiten-tabelle td { padding: 0.4rem 0.4rem 0.4rem 0; }
.kopf-suche .feld { text-overflow: ellipsis; }
.fuss-nav a { min-height: 48px; }

@media print {
  .demo-band, .hof-band { display: none; }
}
.filter-chips { gap: 0.4rem; }
.filter-chips .chip { padding: 0 0.85rem; font-size: 0.95rem; }
.karte-text .vergleich-portion { font-weight: 500; }
