@font-face { font-family: 'Caveat Brush'; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/caveat-brush-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Caveat Brush'; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/caveat-brush-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/figtree-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/figtree-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Konzept: helles Buffet. Weißer Tisch, Fotos als Hauptdarsteller, handgeschriebene Kärtchen wie am echten Buffet.
   Rosé und Himbeer kommen aus dem Herz im Logo, Rosmarin-Grün steht für frisch und gibt dem Rosa Halt. */
:root {
  --ink: #1f2a24;
  --muted: #5c6b63;
  --marke: #1e5b45;
  --marke-dunkel: #123d2e;
  --hell: #fcecf2;
  --akzent: #f7a8c6;
  --liebe: #c9215f;
  --papier: #ffffff;
  --linie: #f1dfe7;
  --tief: #123d2e;
  --kraut: #47692f;
  --kraut-hell: #edf3e6;
  --hand: 'Caveat Brush', 'Segoe Script', cursive;
  --text: 'Figtree', 'Segoe UI', Arial, sans-serif;
  --breite: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--ink); font: 400 17px/1.6 var(--text); }
img { max-width: 100%; display: block; }
a { color: var(--marke-dunkel); }
h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; }
h1, h2 { font-family: var(--hand); font-weight: 400; }
h1 { font-size: clamp(2.9rem, 6.2vw, 4.7rem); }
h2 { font-size: clamp(2.3rem, 4.4vw, 3.3rem); }
h3 { font-size: 1.14rem; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--liebe); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--breite); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(56px, 8vw, 104px); }
.band-hell { background: var(--hell); }
.band-tief { background: var(--tief); color: #f1f7f3; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--liebe); }
.band-tief .eyebrow { color: var(--akzent); }
.band-tief input[type=range], .band-tief .anlass input { accent-color: var(--akzent); }
.lead { font-size: 1.16rem; color: var(--muted); max-width: 58ch; }
.kopf { display: grid; gap: 12px; margin-bottom: 40px; }

/* Entwurfs-Hinweis */
.entwurf { background: var(--ink); color: #fff; font-size: .84rem; text-align: center; padding: 7px 16px; }

/* Kopfzeile */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--linie); }
.top-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: block; }
.logo-svg { height: 56px; width: auto; display: block; }
nav.haupt { display: flex; align-items: center; gap: 20px; }
nav.haupt a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
nav.haupt a:hover, nav.haupt a[aria-current] { color: var(--liebe); }
nav.haupt a.btn { color: #fff; }
#nav-btn { display: none; background: none; border: 1px solid var(--linie); border-radius: 8px; padding: 9px 13px; font: 600 .95rem var(--text); color: var(--ink); cursor: pointer; }

/* Knöpfe */
.btn { display: inline-block; background: var(--marke); color: #fff; font: 600 1rem var(--text); text-decoration: none; padding: 13px 24px; border-radius: 999px; border: 0; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--marke-dunkel); }
.btn-hell { background: #fff; color: #a3174c; border: 1.5px solid var(--liebe); }
.btn-hell:hover { background: var(--hell); }
.btn-klein { padding: 8px 16px; font-size: .9rem; }
.btn-reihe { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding-block: clamp(36px, 5vw, 64px) clamp(52px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-text { display: grid; gap: 20px; justify-items: start; }
.fakten { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; margin: 8px 0 0; padding: 18px 0 0; border-top: 1px solid var(--linie); font-size: .95rem; color: var(--muted); }
.fakten b { color: var(--ink); font-weight: 600; }
.hero-bilder { position: relative; display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 1.22; }
.hero-bilder img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.hero-bilder img:first-child { grid-row: span 2; }
.kaertchen { position: absolute; background: #fff; font-family: var(--hand); font-size: 1.32rem; line-height: 1.1; padding: 9px 15px; border-radius: 3px; box-shadow: 0 4px 14px rgba(18,40,30,.24); transform: rotate(-2.5deg); color: var(--ink); }
.kaertchen small { display: block; font: 600 .78rem var(--text); color: #a3174c; margin-top: 2px; }
.hero-bilder .kaertchen { left: -14px; bottom: 26px; }

/* Drei Wege */
.wege { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.weg { position: relative; display: block; border-radius: 10px; overflow: hidden; color: #fff; text-decoration: none; aspect-ratio: 4/4.5; background: var(--tief); }
.weg img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.weg:hover img { transform: scale(1.03); }
.weg-text { position: absolute; inset: auto 0 0 0; padding: 60px 22px 20px; background: linear-gradient(to top, rgba(12,32,24,.9), rgba(12,32,24,0)); display: grid; gap: 4px; }
.weg-text h3 { font: 400 2.1rem/1.05 var(--hand); }
.weg-text p { font-size: .96rem; }

/* Lieblinge */
.lieblinge { display: grid; gap: clamp(40px, 6vw, 72px); }
.liebling { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.liebling:nth-child(even) > .liebling-bild { order: 2; }
.liebling-bild { position: relative; }
.liebling-bild img { width: 100%; aspect-ratio: 1.45; object-fit: cover; border-radius: 10px; }
.liebling-bild .kaertchen { right: 18px; top: -14px; transform: rotate(2.5deg); }
.liebling-text { display: grid; gap: 12px; justify-items: start; }
.liebling-text h3 { font: 400 2.3rem/1.08 var(--hand); }
.liebling-text p { color: var(--muted); }
.liste-haken { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: .97rem; align-content: start; }
.liste-haken li { padding-left: 24px; position: relative; }
.liste-haken li::before { content: '♥'; position: absolute; left: 0; color: var(--liebe); font-size: .86rem; top: 2px; }

/* Rechner */
.rechner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.rechner-eingabe { display: grid; gap: 26px; }
.rechner label.titel, .rechner legend { font-weight: 600; font-size: 1.02rem; padding: 0; margin-bottom: 8px; display: block; }
.rechner fieldset { border: 0; margin: 0; padding: 0; }
.personen-zeile { display: flex; justify-content: space-between; align-items: baseline; }
.personen-zeile b { font: 400 2.8rem/1 var(--hand); color: var(--akzent); }
input[type=range] { width: 100%; accent-color: var(--marke); height: 28px; }
.anlass { display: grid; gap: 8px; }
.anlass label { display: flex; gap: 11px; align-items: flex-start; padding: 12px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; cursor: pointer; }
.anlass label:has(input:checked) { border-color: var(--akzent); background: rgba(247,168,198,.14); }
.anlass input { accent-color: var(--marke); margin-top: 6px; }
.anlass small { display: block; color: #bcd0c6; font-size: .88rem; }
.ergebnis { background: #fff; color: var(--ink); border-radius: 10px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; transform: rotate(.5deg); }
.ergebnis h3 { font: 400 1.9rem/1.1 var(--hand); }
.ergebnis ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ergebnis li { display: flex; justify-content: space-between; gap: 16px; font-size: .98rem; font-variant-numeric: tabular-nums; }
.ergebnis li b { font-weight: 600; white-space: nowrap; }
.ergebnis-summe { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 2px solid var(--ink); padding-top: 12px; font-weight: 700; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.klein { font-size: .86rem; color: var(--muted); }

/* Ablauf */
.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: s; }
.schritte li { counter-increment: s; display: grid; gap: 7px; align-content: start; }
.schritte li::before { content: counter(s); font: 400 3rem/1 var(--hand); color: var(--liebe); }
.schritte p { color: var(--muted); font-size: .98rem; }

/* Galerie */
.galerie { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(130px, 17vw, 220px); gap: 10px; }
.galerie img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.galerie img:nth-child(1), .galerie img:nth-child(6) { grid-column: span 2; }

/* Über uns */
.ueber { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.ueber img { border-radius: 10px; aspect-ratio: 1.1; object-fit: cover; width: 100%; }
.ueber-text { display: grid; gap: 15px; }

/* Umkreis */
.gebiet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.gebiet-text { display: grid; gap: 16px; justify-items: start; }
.umkreis { width: 100%; height: auto; }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 780px; }
.faq details { border-top: 1px solid var(--linie); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--linie); }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { color: var(--muted); padding-top: 8px; }

/* Firmen */
.pakete { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.paket { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 12px; padding: 0 0 24px; border: 1px solid var(--linie); border-radius: 10px; overflow: hidden; background: #fff; }
.paket img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.paket > *:not(img) { margin-inline: 22px; }
.paket h3 { font: 400 2rem/1.05 var(--hand); }
.paket-menge { font-size: .92rem; color: var(--muted); }
.paket-preis { font-weight: 700; font-size: 1.42rem; font-variant-numeric: tabular-nums; }
.paket-preis small { display: block; font-weight: 400; font-size: .86rem; color: var(--muted); }
.vorteile { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.vorteile div { display: grid; gap: 6px; align-content: start; }
.vorteile p { color: var(--muted); font-size: .96rem; }
.formular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feld { display: grid; gap: 5px; }
.feld-breit { grid-column: 1 / -1; }
.feld label { font-weight: 600; font-size: .92rem; }
.feld input, .feld select, .feld textarea { font: 400 1rem var(--text); padding: 11px 13px; border: 1px solid #e6cdd8; border-radius: 7px; background: #fff; color: var(--ink); width: 100%; }
.msg { background: var(--kraut-hell); color: #2f4a1c; padding: 12px 15px; border-radius: 8px; font-size: .95rem; }
.anfrage-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); }
.kontaktliste { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

/* Sortiment */
.sortiment-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; padding-block: 34px 80px; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.filter button { background: #fff; border: 1px solid #e6cdd8; color: var(--ink); padding: 8px 15px; border-radius: 999px; font: 500 .93rem var(--text); cursor: pointer; }
.filter button[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; }
.gruppe { margin-bottom: 44px; }
.gruppe-text { color: var(--muted); margin: 3px 0 18px; }
.produkte { display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 16px; }
.sortiment-grid > * { min-width: 0; }
.produkt { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; border: 1px solid var(--linie); border-radius: 10px; overflow: hidden; background: #fff; }
.produkt-bild { background: var(--hell); aspect-ratio: 1.5; display: grid; place-items: center; }
.produkt-bild img { width: 100%; height: 100%; object-fit: cover; }
.produkt-info { padding: 14px 15px; display: grid; gap: 6px; grid-template-rows: auto auto auto auto 1fr; align-content: start; }
.produkt-info h3 { font-size: 1.04rem; }
.produkt-note { font-size: .88rem; color: var(--muted); line-height: 1.4; }
.allergene { font-size: .78rem; color: var(--muted); }
.variante { font: 500 .92rem var(--text); padding: 7px 9px; border: 1px solid #e6cdd8; border-radius: 7px; background: #fff; color: var(--ink); width: 100%; }
.chip { justify-self: start; font-size: .75rem; font-weight: 600; padding: 2px 9px; border-radius: 99px; background: #e8f0f6; color: #24506e; }
.chip-veg { background: var(--kraut-hell); color: var(--kraut); }
.produkt-fuss { display: flex; justify-content: space-between; align-items: end; gap: 8px; margin-top: 6px; align-self: end; }
.preis { font-size: 1.16rem; font-variant-numeric: tabular-nums; }
.korb { position: sticky; top: 96px; border: 1px solid var(--linie); border-radius: 10px; padding: 20px; display: grid; gap: 14px; background: #fff; box-shadow: 0 8px 26px rgba(18,40,30,.08); }
.korb h2 { font-size: 2rem; }
.korb-zahl { font: 700 .8rem var(--text); background: var(--liebe); color: #fff; border-radius: 99px; padding: 2px 9px; vertical-align: 6px; }
#korb-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-height: 300px; overflow: auto; }
#korb-liste li { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; font-size: .9rem; }
#korb-liste .korb-leer { display: block; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.stepper button { width: 26px; height: 26px; border: 1px solid #e6cdd8; background: #fff; border-radius: 50%; cursor: pointer; line-height: 1; font-size: 1rem; color: var(--ink); }
.korb-preis { min-width: 58px; text-align: right; font-variant-numeric: tabular-nums; }
.korb-summe { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.15rem; border-top: 2px solid var(--ink); padding-top: 10px; font-variant-numeric: tabular-nums; }
.hinweis { font-size: .86rem; color: var(--muted); }
.hinweis-stop { color: #a3122b; font-weight: 600; }
.hinweis-info { color: #8a5a00; font-weight: 600; }
.hinweis-ok { color: var(--kraut); font-weight: 600; }
.seitenkopf { background: var(--hell); padding-block: 40px; }
.seitenkopf-in { display: grid; gap: 10px; }
.legende { font-size: .84rem; color: var(--muted); border-top: 1px solid var(--linie); padding-top: 18px; }

/* Fußzeile */
.fuss { background: var(--tief); color: #e3ece7; padding-block: 56px 28px; font-size: .96rem; }
.fuss a { color: #fff; }
.fuss-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.fuss .logo-svg { height: 66px; margin-bottom: 14px; }
.fuss h3 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; color: var(--akzent); }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fuss-unten { margin-top: 36px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); font-size: .84rem; color: #a9bdb3; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* Schmal */
@media (max-width: 1000px) {
  .sortiment-grid { grid-template-columns: minmax(0, 1fr); }
  .korb { position: static; }
  .vorteile { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1010px) {
  #nav-btn { display: block; }
  nav.haupt { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--linie); flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 20px 22px; }
  .nav-offen nav.haupt { display: flex; }
  .hero-grid, .rechner, .ueber, .gebiet, .anfrage-grid, .liebling { grid-template-columns: minmax(0, 1fr); }
  .liebling:nth-child(even) > .liebling-bild { order: 0; }
  .wege, .pakete { grid-template-columns: minmax(0, 1fr); }
  .weg { aspect-ratio: 1.5; }
  .fuss-grid { grid-template-columns: minmax(0, 1fr); }
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 38vw; }
  .galerie img:nth-child(1), .galerie img:nth-child(6) { grid-column: span 2; }
  .hero-bilder .kaertchen { left: 8px; bottom: 12px; }
}
@media (max-width: 560px) {
  .schritte, .vorteile, .formular { grid-template-columns: minmax(0, 1fr); }
  .logo-svg { height: 48px; }
  body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Newsletter und Bestellformular */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.nl-grid h2 { margin: 8px 0 10px; }
.einwilligung { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; line-height: 1.45; color: var(--ink); }
.einwilligung input { margin-top: 4px; accent-color: var(--marke); flex: none; width: 18px; height: 18px; }
.code-zeile { display: flex; gap: 8px; }
.code-zeile input { flex: 1 1 auto; min-width: 0; text-transform: uppercase; }
.code-ok { color: var(--marke); font-weight: 600; }
.code-stop { color: #a3163f; font-weight: 600; }
.korb-rabatt { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0 0; font-size: .95rem; color: var(--marke); font-weight: 600; }
.msg-stop { background: #fdecee; color: #8c1230; }
button[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 760px) { .nl-grid { grid-template-columns: minmax(0, 1fr); } }

/* Farbrhythmus: Rosa, Grün und Weiß wechseln sich ab, Himbeer und Tiefgrün setzen die Akzente.
   Auf den Farbflächen sind Dachzeile und Nebentext dunkler, damit sie gut lesbar bleiben. */
:root { --rosa: #fbdde9; --gruen: #dcebd9; --himbeer: #b81c56; }
.hero, .seitenkopf, .band-hell { background: var(--rosa); }
.band-gruen { background: var(--gruen); }
.band-himbeer { background: var(--himbeer); color: #fff; }
.hero .eyebrow, .seitenkopf .eyebrow, .band-hell .eyebrow { color: #a01647; }
.band-gruen .eyebrow { color: var(--marke-dunkel); }
.hero .lead, .seitenkopf .lead, .band-hell .lead, .band-gruen .lead, .band-hell .klein, .band-gruen .klein,
.band-hell .schritte p, .band-gruen .faq details p, .band-hell .faq details p, .band-gruen .vorteile p, .band-hell .vorteile p { color: #3f4c45; }
.band-gruen .faq details, .band-gruen .faq details:last-child { border-color: #bcd3b8; }
.band-hell .faq details, .band-hell .faq details:last-child { border-color: #efbdd0; }
.band-hell .schritte li::before { color: #a01647; }
.band-gruen .formular, .band-hell .formular { background: #fff; border-radius: 14px; padding: clamp(18px, 3vw, 28px); }
.hero .btn-hell, .band-hell .btn-hell, .band-gruen .btn-hell { background: #fff; }
.band-himbeer .eyebrow { color: #ffe3ee; }
.band-himbeer .lead { color: #ffeef4; }
.band-himbeer .nl-form { background: #fff; color: var(--ink); border-radius: 14px; padding: clamp(18px, 3vw, 26px); }
.band-himbeer .nl-form a { color: var(--marke-dunkel); }

/* Der Korb ist durch das Formular höher geworden: Er darf nie aus dem Bild ragen */
@media (min-width: 981px) { .korb { max-height: calc(100vh - 100px); overflow-y: auto; } }

/* Logo oben: Die Zunge schleckt kurz und macht dann Pause, beim Darüberfahren öfter. Nur auf der Website,
   Fußzeile, Admin und Druck bleiben ruhig. */
@keyframes zunge-schleckt {
  0%, 14%, 100% { transform: rotate(0) scaleY(1); }
  2% { transform: rotate(-10deg) scaleY(1.12); }
  5% { transform: rotate(10deg) scaleY(1.18); }
  8% { transform: rotate(-8deg) scaleY(1.12); }
  11% { transform: rotate(5deg) scaleY(1.05); }
}
@keyframes zunge-schleckt-oft {
  0%, 100% { transform: rotate(0) scaleY(1); }
  25% { transform: rotate(-10deg) scaleY(1.14); }
  75% { transform: rotate(10deg) scaleY(1.14); }
}
@media (prefers-reduced-motion: no-preference) {
  .logo .zunge { transform-box: fill-box; transform-origin: 50% 0; animation: zunge-schleckt 8s ease-in-out 1s infinite; }
  .logo:hover .zunge { animation: zunge-schleckt-oft .7s ease-in-out infinite; }
}

/* Kleiner Zugang zum Admin-Bereich in der Fußzeile */
.fuss .admin-knopf { display: inline-block; margin-left: 12px; padding: 3px 12px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; color: #fff; text-decoration: none; white-space: nowrap; }
.fuss .admin-knopf:hover { background: #fff; color: var(--tief); }

/* Rechtstexte */
.recht { padding-block: clamp(32px, 5vw, 56px) 72px; }
.recht .wrap { max-width: 780px; }
.recht h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 18px; overflow-wrap: anywhere; }
.recht h2 { font-size: 1.5rem; margin: 30px 0 8px; }
.recht p, .recht ul { margin: 0 0 12px; }
.recht ul { padding-left: 20px; }
.recht li { margin-bottom: 6px; }
.recht a { color: var(--marke-dunkel); overflow-wrap: anywhere; }
.recht-entwurf { background: #fff4d6; border: 1px solid #eddca6; border-radius: 10px; padding: 12px 14px; }
mark.fehlt { background: #ffe58a; color: #3b2f00; padding: 0 3px; border-radius: 3px; }
.recht-daten { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 6px 16px; margin: 0 0 12px; }
.recht-daten dt { font-weight: 600; }
.recht-daten dd { margin: 0; }
.legende p { margin: 0 0 8px; }
@media (max-width: 560px) { .recht-daten { grid-template-columns: minmax(0, 1fr); gap: 2px; } .recht-daten dd { margin-bottom: 10px; } }
@media print { .entwurf, .top, .fuss, .nl-band { display: none !important; } .recht { padding: 0; } }
