/*
 * Thurnhof – öffentliche Seiten, Design B „Modern & klar“.
 * Systemschriften, keine externen Ressourcen. Farben: Weiß, Graugrün, Grün.
 * Grundlage: design_B_modern_klar.html (Phase 2), ergänzt um Produkt-, Inhalts- und Rechtsseiten.
 */
:root {
    --weiss: #ffffff;
    --graugruen: #dfe9e7;
    --graugruen-hell: #eef4f3;
    --gruen: #0d5e4c;
    --gruen-dunkel: #08392e;
    --text: #17221f;
    --text-leise: #4b5a56;
    --linie: #cfdcd9;
    --platzhalter: #fff3cd;
    --platzhalter-rand: #b58a00;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; } /* Fokus/Sprungziel nicht unter dem klebenden Kopf */
body { margin: 0; background: var(--weiss); color: var(--text); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gruen); text-underline-offset: 2px; }
a:hover { color: var(--gruen-dunkel); }
:focus-visible { outline: 3px solid var(--gruen); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; color: var(--text); }
h1 { font-size: clamp(2rem, 5.4vw, 3.4rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 12px; top: -80px; background: var(--gruen); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 6px; }
.skip:focus { top: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gruen); margin-bottom: 12px; }
.lead { font-size: 1.2rem; color: var(--text-leise); max-width: 34em; }

/* Platzhalter aus den Textentwürfen: sichtbar, aber dezent markiert */
.platzhalter { background: var(--platzhalter); color: var(--text); border-bottom: 1px dashed var(--platzhalter-rand); padding: 0 .2em; border-radius: 3px; font-size: .95em; }
.platzhalter .platzhalter { background: transparent; border: 0; padding: 0; }

/* Kopfzeile */
.kopf { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--linie); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; position: relative; }
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--gruen); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.logo:hover { color: var(--gruen-dunkel); }
.logo-punkt { width: 14px; height: 14px; border-radius: 50%; background: var(--gruen); box-shadow: 6px 0 0 var(--graugruen); flex: none; margin-right: 6px; }
.nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.nav a { display: block; white-space: nowrap; padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 550; font-size: .98rem; }
.nav a:hover { background: var(--graugruen-hell); color: var(--text); }
.nav a[aria-current="page"] { background: var(--graugruen); color: var(--gruen-dunkel); }
.aktionen { display: flex; gap: 8px; align-items: center; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--linie); background: var(--weiss); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--graugruen-hell); }
.icon-btn svg { width: 22px; height: 22px; }
.menu-btn { display: none; }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--gruen); color: #fff; text-decoration: none; font: inherit; font-weight: 650; padding: 13px 24px; border-radius: 999px; border: 2px solid var(--gruen); cursor: pointer; text-align: center; }
.btn:hover { background: var(--gruen-dunkel); border-color: var(--gruen-dunkel); color: #fff; }
.btn-hell { background: transparent; color: var(--gruen-dunkel); }
.btn-hell:hover { background: var(--graugruen-hell); color: var(--gruen-dunkel); }
.btn svg { width: 18px; height: 18px; }
.btn-aus, .btn-aus:hover { background: var(--graugruen-hell); border-color: var(--linie); color: var(--text-leise); cursor: not-allowed; }

/* Hinweise */
.bald { background: var(--graugruen-hell); border-left: 4px solid var(--gruen); border-radius: 10px; padding: 12px 16px; margin: 20px 0 0; }
.bald-klein { font-weight: 650; color: var(--gruen-dunkel); }
.entwurf-kasten { background: var(--platzhalter); border: 2px solid var(--platzhalter-rand); border-radius: 12px; padding: 14px 18px; font-size: 1.05rem; margin: 0 0 28px; }
.hinweis-hof { background: var(--graugruen); color: var(--gruen-dunkel); border-radius: 12px; padding: 14px 18px; font-weight: 600; margin-bottom: 8px; }

/* Einstieg */
.einstieg { padding: 32px 0 0; }
.einstieg-box { background: var(--graugruen); border-radius: 24px; display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; }
.einstieg-text { padding: 64px 56px; align-self: center; }
.einstieg-text .lead { margin-bottom: 1.6em; }
.einstieg-text .eyebrow { color: var(--gruen-dunkel); }
.einstieg-bild { min-height: 100%; }
.einstieg-bild picture { display: block; height: 100%; }
.einstieg-bild img { width: 100%; height: 100%; object-fit: cover; }

section { padding: 88px 0; }
.kopfzeile { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.kopfzeile p { color: var(--text-leise); max-width: 34em; margin: 0; }
.kopfzeile h2 { margin: 0; }
.mehr { margin: 32px 0 0; font-weight: 650; }

/* Produktkacheln */
.produkte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.karte { position: relative; }
.karte .foto { background: var(--graugruen-hell); border-radius: 18px; overflow: hidden; margin-bottom: 16px; }
.karte img, .karte .bild-fehlt { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .3s; }
.karte:hover img { transform: scale(1.03); }
.karte h3 { margin-bottom: 2px; }
.karte h3 a { color: var(--text); text-decoration: none; }
.karte h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.karte h3 a:focus-visible { outline: none; }
.karte:focus-within { outline: 3px solid var(--gruen); outline-offset: 6px; border-radius: 18px; }
.karte .info { font-size: .92rem; color: var(--text-leise); margin-bottom: 8px; }
.preis { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0; }
.preis strong { font-size: 1.25rem; color: var(--gruen); }
.preis small { font-size: .85rem; color: var(--text-leise); }
.steuer { font-size: .82rem; color: var(--text-leise); margin: 2px 0 0; }
.steuer-gross { font-size: .92rem; margin: 10px 0 0; }
.marken { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; z-index: 1; pointer-events: none; }
.tag18, .marke-hof { background: var(--weiss); color: var(--text); font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.marke-hof { background: var(--gruen-dunkel); color: #fff; }
.bild-fehlt { display: flex; align-items: center; justify-content: center; gap: 4px; color: var(--gruen); font-weight: 800; font-size: 1.3rem; background: var(--graugruen-hell); min-height: 200px; }

/* Auszeichnungen */
.preise { padding: 0; }
.preise .leiste { border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); padding: 28px 0; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.preise h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-leise); margin: 0; }
.preise ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 24px; }
.preise li { display: flex; gap: 12px; align-items: center; font-size: .95rem; line-height: 1.3; }
.preise li svg { flex: none; width: 36px; height: 36px; color: var(--gruen); }
.preise b { display: block; }

/* Vom Hof (Startseite) */
.hof .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.zahlen { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; list-style: none; margin: 0; padding: 0; }
.zahlen li { background: var(--graugruen-hell); border-radius: 18px; padding: 24px; min-width: 0; }
.zahlen strong { display: block; font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 800; color: var(--gruen); letter-spacing: -.03em; line-height: 1.1; overflow-wrap: anywhere; }
.zahlen strong.zahl-wort { font-size: clamp(1.25rem, 2.2vw, 1.6rem); padding: .2em 0; }
.zahlen span { color: var(--text-leise); font-size: .95rem; }

/* Abholen / Versand (Startseite) */
.service { background: var(--graugruen); }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.kachel { background: var(--weiss); border-radius: 20px; padding: 36px; }
.kachel .symbol { width: 52px; height: 52px; border-radius: 14px; background: var(--graugruen); display: flex; align-items: center; justify-content: center; color: var(--gruen); margin-bottom: 20px; }
.kachel .symbol svg { width: 28px; height: 28px; }
.versand { list-style: none; padding: 0; margin: 0 0 1em; border-top: 1px solid var(--linie); }
.versand li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--linie); }
.versand strong { color: var(--gruen-dunkel); white-space: nowrap; }
address { font-style: normal; font-weight: 650; margin-bottom: 1em; }

/* Unterseiten */
.seite { padding-top: 40px; padding-bottom: 88px; }
.seite-schmal { max-width: 760px; }
.seitenkopf { margin-bottom: 24px; }
.gruppe { padding: 40px 0 8px; }
.gruppe h2 { border-bottom: 1px solid var(--linie); padding-bottom: 12px; margin-bottom: 24px; }
.seitenbild { border-radius: 24px; overflow: hidden; margin-bottom: 40px; background: var(--graugruen-hell); }
.seitenbild img { width: 100%; max-height: 460px; object-fit: cover; }
.seitenbild-abholen { max-width: 672px; } /* Originalfoto hat nur 672 px – nicht hochskalieren */
.personenbild { margin: 24px 0 0; max-width: 420px; }
.personenbild img { width: 100%; height: auto; border-radius: 16px; display: block; }
.personenbild figcaption { font-size: .9rem; color: var(--text-leise, #4a5a55); margin-top: 8px; }
.seitenbild-abholen img { max-height: none; }
.seiten-aktionen { max-width: 760px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.seiten-aktionen .bald { margin: 0; flex-basis: 100%; }

/* Fließtext aus Markdown */
.prosa { max-width: 760px; }
.prosa h1 { margin-bottom: .6em; }
.prosa h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin-top: 1.8em; }
.prosa h3 { margin-top: 1.5em; }
.prosa [id] { scroll-margin-top: 5.5rem; } /* Sprung-Anker (z. B. /vom-hof#auszeichnungen) nicht unter dem fixen Kopf */
.prosa > p:first-of-type { font-size: 1.15rem; color: var(--text-leise); }
.prosa ul, .prosa ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prosa li { margin-bottom: .4em; }
.prosa li > ul, .prosa li > ol { margin: .4em 0 0; }
.prosa hr { border: 0; border-top: 1px solid var(--linie); margin: 2em 0; }
.prosa code { font-size: .9em; background: var(--graugruen-hell); padding: 0 .3em; border-radius: 4px; }
.prosa blockquote { margin: 0 0 1.2em; padding: 12px 18px; border-left: 4px solid var(--linie); background: var(--graugruen-hell); }
.prosa-recht h1 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); }
.prosa-recht { font-size: 1rem; }
/* Schritte (nummerierte Listen) auf „Vom Hof“ und „Abholen“ als Kärtchen */
.prosa-vom-hof ol, .prosa-abholen ol { list-style: none; padding: 0; counter-reset: schritt; display: grid; gap: 12px; }
.prosa-vom-hof ol > li, .prosa-abholen ol > li { counter-increment: schritt; background: var(--graugruen-hell); border-radius: 16px; padding: 16px 18px 16px 64px; position: relative; margin: 0; }
.prosa-vom-hof ol > li::before, .prosa-abholen ol > li::before { content: counter(schritt); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--gruen); color: #fff; font-weight: 750; display: flex; align-items: center; justify-content: center; }

/* Tabellen */
.tabelle-rahmen { max-width: 100%; overflow-x: auto; margin: 0 0 1.2em; }
/* Hinweis „geht weiter“: Schatten am rechten Rand, solange seitlich gescrollt werden kann */
.prosa .tabelle-rahmen { background: linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)) left / 24px 100% no-repeat local,
    linear-gradient(to left, #fff 30%, rgba(255, 255, 255, 0)) right / 24px 100% no-repeat local,
    radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, .14), transparent) right / 12px 100% no-repeat scroll; }
.tabelle-rahmen[tabindex]:focus-visible { outline: 3px solid var(--gruen); outline-offset: 2px; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--linie); }
thead th { background: var(--graugruen-hell); font-weight: 700; }
tbody th { font-weight: 650; }

/* Produktseite */
.brotkrumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 24px; font-size: .95rem; color: var(--text-leise); }
.brotkrumen li + li::before { content: "›"; margin-right: 6px; }
.brotkrumen a[aria-current="page"] { color: var(--text); text-decoration: none; }
.produkt-kopf { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.produkt-bild { background: var(--graugruen-hell); border-radius: 24px; overflow: hidden; }
.produkt-bild img, .produkt-bild .bild-fehlt { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.produkt-info h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.varianten { margin: 0; }
.varianten .betrag { font-weight: 700; color: var(--gruen); white-space: nowrap; }
.bestellbereich { margin: 24px 0; }
.bestellbereich .btn { width: 100%; max-width: 420px; }
.klein { font-size: .92rem; color: var(--text-leise); margin: 10px 0 0; }
.verkaeufer { border-top: 1px solid var(--linie); padding-top: 16px; font-size: .95rem; color: var(--text-leise); }
.verkaeufer span { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.verkaeufer strong { color: var(--text); }
.produkt-details { max-width: 860px; margin-top: 56px; }
.produkt-details section { padding: 0 0 32px; }
.produkt-details h2 { font-size: 1.5rem; }
.pflichtangaben tbody th { width: 38%; background: var(--graugruen-hell); hyphens: auto; -webkit-hyphens: auto; }
.prosa td, .prosa th { hyphens: auto; -webkit-hyphens: auto; }

/* Fußzeile */
.fuss { padding: 56px 0 32px; font-size: .95rem; border-top: 1px solid var(--linie); }
.fuss-spalten { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.fuss h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-leise); margin-bottom: 12px; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 6px; }
.fuss a { color: var(--text); text-underline-offset: 3px; }
.fuss a:hover { color: var(--gruen); }
.logo-fuss { margin-bottom: .6em; }
.unten { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--linie); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--text-leise); }
.unten p { margin: 0; }
.hinweis18 { background: var(--graugruen); color: var(--gruen-dunkel); font-weight: 650; padding: 6px 14px; border-radius: 999px; margin: 0; }
.hinweis18-block { display: inline-block; margin-top: 12px; }

/* Phase 5b: Warenkorb-Symbol, Meldungen, Formulare, Kasse, Widerruf */
.warenkorb-btn { padding: 0 14px; }
.warenkorb-btn[aria-current="page"] { background: var(--graugruen); }
.zaehler { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gruen); color: #fff; font-size: .8rem; font-weight: 750; display: inline-flex; align-items: center; justify-content: center; }
.meldungen { padding-top: 20px; }
.meldung { border-radius: 12px; padding: 12px 16px; margin: 0 0 10px; font-weight: 550; border-left: 5px solid var(--gruen); background: var(--graugruen-hell); }
.meldung-fehler { border-left-color: #a32020; background: #fdecec; color: #5c1010; }
.meldung-hinweis { border-left-color: var(--platzhalter-rand); background: var(--platzhalter); }
.meldung ul { margin: 6px 0 0; padding-left: 1.2em; font-weight: 400; }
.fehler-kasten { background: #fdecec; border: 2px solid #a32020; color: #5c1010; border-radius: 12px; padding: 14px 18px; }
.bestellschluss { background: var(--platzhalter); border-left: 5px solid var(--platzhalter-rand); border-radius: 10px; padding: 12px 16px; font-weight: 650; }
.hinweis-liefer { background: var(--graugruen-hell); border-radius: 10px; padding: 10px 16px; font-size: .95rem; }
.leer-kasten { background: var(--graugruen-hell); border-radius: 18px; padding: 28px; max-width: 640px; }

.feld { margin: 0 0 18px; }
.feld label, .auswahl legend { display: block; font-weight: 650; margin-bottom: 6px; }
.feld input[type=text], .feld input[type=email], .feld input[type=tel], .feld input[type=number], .feld select, .feld textarea {
    width: 100%; font: inherit; color: var(--text); background: var(--weiss); border: 2px solid var(--linie); border-radius: 10px; padding: 11px 13px; min-height: 48px; }
.feld textarea { min-height: 96px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 3px solid var(--gruen); outline-offset: 1px; border-color: var(--gruen); }
.feld input[readonly] { background: var(--graugruen-hell); color: var(--text-leise); }
.feld-fehler input, .feld-fehler textarea, .feld-fehler select { border-color: #a32020; }
.feld-meldung { color: #8a1515; font-weight: 600; font-size: .92rem; margin: 6px 0 0; }
.feld-hilfe { color: var(--text-leise); font-size: .9rem; margin: 6px 0 0; }
.pflicht { color: #8a1515; }
.optional { font-weight: 400; color: var(--text-leise); font-size: .9rem; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.feld-reihe-plz { grid-template-columns: 14rem 1fr; }
.feld-fest { margin: 0; padding: 11px 0; font-weight: 650; }

.bestellform { max-width: 420px; }
.bestellform-felder { display: grid; grid-template-columns: 1fr 7rem; gap: 0 12px; }
.bestellform .feld { margin-bottom: 14px; }

.kasse h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); }
.kasse-titel { font-size: 1.25rem; margin: 28px 0 12px; }
.kasse-form { max-width: 640px; }
.kasse-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.btn-gross { font-size: 1.1rem; padding: 15px 30px; }
.schritte ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 28px; }
.schritte li > a, .schritte li > span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--graugruen-hell); color: var(--text-leise); text-decoration: none; font-weight: 600; font-size: .95rem; }
.schritte .nr { width: 26px; height: 26px; border-radius: 50%; background: var(--weiss); border: 2px solid var(--linie); display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; }
.schritte .aktuell > span { background: var(--gruen); color: #fff; }
.schritte .aktuell .nr { border-color: #fff; color: var(--gruen); }
.schritte .erledigt a { color: var(--gruen-dunkel); background: var(--graugruen); }

.positionen .unterzeile { display: block; font-weight: 400; font-size: .88rem; color: var(--text-leise); }
.positionen .zahl { text-align: right; white-space: nowrap; }
.positionen input.menge { width: 5.5rem; font: inherit; border: 2px solid var(--linie); border-radius: 8px; padding: 6px 8px; min-height: 44px; }
.link-knopf { background: none; border: 0; padding: 8px 4px; font: inherit; color: var(--gruen); text-decoration: underline; cursor: pointer; min-height: 44px; }
.link-knopf:hover { color: var(--gruen-dunkel); }
.warenkorb-form .btn { margin-top: 8px; }

.kasse-unten { max-width: 460px; margin: 28px 0 0 auto; }
.summen { margin: 0 0 18px; border-top: 1px solid var(--linie); }
.summen > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--linie); }
.summen dt { font-weight: 550; }
.summen dt small { color: var(--text-leise); font-weight: 400; }
.summen dd { margin: 0; white-space: nowrap; font-weight: 650; text-align: right; }
.summen .gesamt dt, .summen .gesamt dd { font-size: 1.25rem; font-weight: 800; color: var(--gruen-dunkel); }
.summen .ust { border-bottom: 0; color: var(--text-leise); font-size: .92rem; }
.summen .ust dd { font-weight: 500; }
.kasse-unten .btn { width: 100%; }

.kasse-karten { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; }
.kasse-karte { background: var(--graugruen-hell); border-radius: 16px; padding: 4px 22px 10px; }
.auswahl { border: 0; padding: 0; margin: 0 0 12px; }
.auswahl-karte { display: flex; gap: 14px; align-items: flex-start; border: 2px solid var(--linie); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; cursor: pointer; font-weight: 400; }
.auswahl-karte:has(input:checked) { border-color: var(--gruen); background: var(--graugruen-hell); }
.auswahl-karte input, .feld-haekchen input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--gruen); }
.feld-haekchen label { display: flex; gap: 12px; align-items: flex-start; font-weight: 550; }
.bestellen-form { margin-top: 28px; border-top: 2px solid var(--linie); padding-top: 24px; max-width: none; }
.bestellen-form .kasse-knoepfe { justify-content: flex-end; }
.gesamt-hinweis { text-align: right; margin-top: 10px; }
.gewaehrleistung { border: 2px solid #003399; border-radius: 14px; padding: 16px 20px; margin: 28px 0 0; max-width: 760px; }
.gewaehrleistung h2 { font-size: 1.1rem; color: #003399; margin-bottom: 8px; }
.gewaehrleistung p { font-size: .95rem; }

.danke-kopf { background: var(--graugruen); border-radius: 22px; padding: 32px; margin-bottom: 28px; }
.danke-kopf .lead { margin: 0; color: var(--text); }
.bankdaten { padding: 0; border: 2px solid var(--gruen); border-radius: 18px; padding: 22px 24px; max-width: 640px; }
.bankdaten h2 { font-size: 1.35rem; }
.bankdaten dl, .angaben { margin: 0 0 14px; }
.bankdaten dl > div, .angaben > div { display: grid; grid-template-columns: 11rem 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--linie); }
.bankdaten dt, .angaben dt { color: var(--text-leise); }
.bankdaten dd, .angaben dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.iban { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .02em; }
.erklaerung-kasten { background: var(--graugruen-hell); border-radius: 12px; padding: 12px 16px; }

.widerruf-link { display: inline-block; font-weight: 700; color: var(--gruen-dunkel) !important; border: 2px solid var(--gruen); border-radius: 999px; padding: 6px 16px; text-decoration: none; margin-top: 4px; }
.widerruf-link:hover { background: var(--graugruen-hell); }

@media (max-width: 1020px) {
    .nav a { padding: 10px 10px; }
    .produkte { grid-template-columns: repeat(2, 1fr); }
    .einstieg-text { padding: 48px 36px; }
    .preise .leiste { grid-template-columns: 1fr; }
    .preise ul { grid-template-columns: repeat(2, 1fr); }
    .hof .wrap { grid-template-columns: 1fr; gap: 36px; }
    .produkt-kopf { gap: 36px; }
}
/* Handy-Menü: mit JavaScript als aufklappbare Liste, ohne JavaScript immer sichtbar (schon bis 860 px,
   damit das Menü zwischen 781 und 860 px nicht zweizeilig umbricht) */
@media (max-width: 860px) {
    .js .menu-btn { display: inline-flex; }
    .js .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--weiss); border-bottom: 1px solid var(--linie); box-shadow: 0 10px 20px rgba(0, 0, 0, .06); }
    .js .nav.offen { display: block; }
    .js .nav ul { flex-direction: column; padding: 8px 16px 16px; gap: 2px; }
    .js .nav a { padding: 12px 14px; }
    html:not(.js) .kopf .wrap { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
    html:not(.js) .nav ul { flex-wrap: wrap; }
}
@media (max-width: 780px) {
    body { font-size: 1rem; }
    .wrap { padding: 0 16px; }
    .kopf .wrap { height: 64px; }
    .einstieg { padding: 16px 0 0; }
    .einstieg-box { grid-template-columns: 1fr; border-radius: 18px; }
    .einstieg-text { padding: 28px 20px 28px; order: 2; }
    .einstieg-bild { order: 1; }
    .einstieg-bild img { aspect-ratio: 4 / 3; height: auto; }
    .lead { font-size: 1.08rem; }
    .btn { width: 100%; }
    section { padding: 56px 0; }
    .produkte { grid-template-columns: 1fr; gap: 36px; }
    .preise ul { grid-template-columns: 1fr; }
    .zwei { grid-template-columns: 1fr; }
    .kachel { padding: 26px 20px; }
    .zahlen li { padding: 16px; }
    .seite { padding-top: 24px; padding-bottom: 56px; }
    .seitenbild { border-radius: 16px; margin-bottom: 28px; }
    .produkt-kopf { grid-template-columns: 1fr; gap: 24px; }
    .produkt-bild { border-radius: 18px; }
    .pflichtangaben tbody th { width: 42%; }
    th, td { padding: 8px; }
    .fuss-spalten { grid-template-columns: 1fr 1fr; }
    .fuss-spalten > div:first-child { grid-column: 1 / -1; }
    .unten { flex-direction: column; align-items: flex-start; }
    .warenkorb-text { display: none; }
    .feld-reihe, .feld-reihe-plz { grid-template-columns: 1fr; }
    .kasse-karten { grid-template-columns: 1fr; }
    .kasse-unten { margin-left: 0; max-width: none; }
    .bestellform { max-width: none; }
    .danke-kopf { padding: 22px 18px; }
    .bankdaten { padding: 18px 16px; }
    .bankdaten dl > div, .angaben > div { grid-template-columns: 1fr; gap: 2px; }
    .kasse-knoepfe { flex-direction: column-reverse; align-items: stretch; }
    .gesamt-hinweis { text-align: left; }
    .bestellen-form .kasse-knoepfe { align-items: stretch; }
    /* Tabellen der Kasse als Karten statt Querscrollen */
    .positionen thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .positionen, .positionen tbody, .positionen tr, .positionen th, .positionen td { display: block; width: 100%; }
    .positionen tr { border-bottom: 1px solid var(--linie); padding: 10px 0; }
    .positionen th, .positionen td { border: 0; padding: 4px 0; }
    .positionen td[data-titel] { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
    .positionen td[data-titel]::before { content: attr(data-titel); color: var(--text-leise); font-size: .92rem; }
    .positionen .zahl { text-align: right; }
}
/* Sehr schmale Bildschirme (320 px, 400 % Zoom): Kopfzeile ohne Überbreite */
@media (max-width: 380px) {
    .wrap { padding: 0 12px; }
    .logo { font-size: 1.25rem; gap: 6px; }
    .logo-punkt { margin-right: 2px; }
    .aktionen { gap: 4px; }
    .icon-btn { padding: 0 10px; }
    .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .positionen input.menge { width: 4.5rem; }
    .positionen td[data-titel] { flex-wrap: wrap; }
    .bankdaten, .kasse-karte { padding-left: 12px; padding-right: 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
