/* Woijd Cash (frontend/kasse/) – Oberfläche nach dem freigegebenen Entwurf vom 27.10.2026:
   Katalog links, Korb rechts, Kopf weiß mit Wortmarke, Fenster mittig. Farben nur über die Token
   unten, hell und dunkel. Touchziele mindestens 44 px, keine Emojis, Beträge mit Komma. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
:root, [data-theme="light"] {
  --bg: #f7f3ec; --surface: #ffffff; --surface2: #f9f6f0; --fill: #f3eee5;
  --border: #e4ddd2; --border2: #d4cdc0; --line: #efe9df; --line2: #f1ece3; --card: #ece6dc;
  --text: #1a1510; --text2: #5a5040; --text3: #6f6656; --muted: #8a8070;
  --grn: #4b5a42; --grn-h: #3a4733; --grn-soft: #eef1ea; --grn-ink: #2f3a29; --disabled: #a9b0a2;
  --ok: #2a7a3a; --ok-soft: #eaf3ec; --ok-ink: #1d4d27;
  --gold: #c9a84c; --gold-soft: #fbf6e8; --gold-line: #ead9a6; --gold-rand: #d9b765; --gold-ink: #5c3d00; --gold-ink2: #5a4a16; --gold-dunkel: #6b5310;
  --warn: #b8780b; --warn-soft: #fbf1df; --warn-ink: #7a4e00;
  --err: #a33224; --err-soft: #fbeceb; --err-line: #e3b3aa; --err-ink: #7d2418;
  --grau-soft: #efebe4;
  --schicht: rgba(20, 26, 18, .45); --schatten: 0 6px 24px rgba(30, 40, 20, .08); --schatten-hoch: 0 20px 60px rgba(0, 0, 0, .25);
}
[data-theme="dark"] {
  --bg: #141a12; --surface: #1f2a1d; --surface2: #243024; --fill: #1b231a;
  --border: #2f3b2e; --border2: #3b4a39; --line: #2a3528; --line2: #283226; --card: #33402f;
  --text: #f1ede4; --text2: #c3bcae; --text3: #a39d90; --muted: #7d776b;
  --grn-soft: #2b3627; --grn-ink: #d7e3cf; --disabled: #4a5446;
  --ok-soft: #1f3a26; --ok-ink: #a8d5b0;
  --gold-soft: #33301f; --gold-line: #6b5a2a; --gold-rand: #8a7432; --gold-ink: #e8cf8a; --gold-ink2: #e8cf8a; --gold-dunkel: #e8cf8a;
  --warn-soft: #3d3218; --warn-ink: #e9c27a;
  --err-soft: #3d2220; --err-line: #7a3a33; --err-ink: #f0a59b;
  --grau-soft: #2d342b;
  --schicht: rgba(0, 0, 0, .6); --schatten: 0 6px 24px rgba(0, 0, 0, .4); --schatten-hoch: 0 20px 60px rgba(0, 0, 0, .6);
}
html, body { height: 100%; background: var(--bg); color: var(--text); font-family: Inter, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; overscroll-behavior: none; }
body { -webkit-user-select: none; user-select: none; overflow: hidden; }
input, textarea, select { -webkit-user-select: text; user-select: text; font: inherit; color: inherit; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; }
button:focus-visible, input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
input::placeholder { color: var(--text3); }
svg { flex: none; }
.ks-unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ks-dim { color: var(--text2); font-size: 15px; }
.ks-klein { color: var(--text3); font-size: 13px; line-height: 1.5; }
.ks-text { font-size: 14px; line-height: 1.5; color: var(--text2); }
.ks-text-gross { font-size: 16px; line-height: 1.5; }
.ks-mitte { text-align: center; }
.ks-zahl { font-variant-numeric: tabular-nums; }
.ks-fehlertext { color: var(--err); font-size: 15px; }
.ks-abschnitt { font-size: 14px; font-weight: 600; color: var(--text2); }

/* ── Knöpfe und Felder ─────────────────────────────────────────────────── */
.ks-knopf { min-height: 44px; height: 56px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--border2); background: var(--surface); color: var(--text); font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.ks-knopf:active:not(:disabled) { transform: scale(.98); }
.ks-knopf:disabled { color: var(--muted); }
.ks-primaer { background: var(--grn); border-color: var(--grn); color: #fff; font-size: 17px; font-weight: 700; }
.ks-primaer:disabled { background: var(--disabled); border-color: var(--disabled); color: #fff; }
.ks-gefahr { background: var(--err); border-color: var(--err); color: #fff; font-size: 17px; font-weight: 700; }
.ks-rot { border-color: var(--err-line); color: var(--err); }
.ks-gruen-rand { border-color: var(--grn); color: var(--grn); }
.ks-h44 { height: 44px; font-size: 14px; padding: 0 14px; border-radius: 12px; }
.ks-h48 { height: 48px; font-size: 15px; padding: 0 16px; border-radius: 12px; }
.ks-h52 { height: 52px; font-size: 15px; padding: 0 18px; border-radius: 12px; }
.ks-h60 { height: 60px; font-size: 18px; border-radius: 14px; }
.ks-breit { width: 100%; }
.ks-reihe { display: flex; gap: 10px; }
.ks-reihe > * { flex: 1; }
.ks-reihe > .ks-doppelt { flex: 2; }
.ks-reihe-wrap { display: flex; gap: 8px; flex-wrap: wrap; }
.ks-reihe-wrap > * { flex: none; }
.ks-stapel { display: flex; flex-direction: column; gap: 10px; }
.ks-stapel-12 { display: flex; flex-direction: column; gap: 12px; }
.ks-stapel-14 { display: flex; flex-direction: column; gap: 14px; }
.ks-raster2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ks-feld { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text2); }
.ks-eingabe, .ks-feld input, .ks-feld select { height: 52px; width: 100%; padding: 0 14px; border: 1px solid var(--border2); border-radius: 12px; font-size: 17px; color: var(--text); background: var(--surface); }
.ks-eingabe-48 { height: 48px; }
.ks-formular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.ks-formular .ks-voll { grid-column: 1 / -1; }
.ks-formular input { height: 48px; }
.ks-packzeile { display: flex; align-items: center; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); min-height: 48px; }
.ks-packbox { width: 44px; height: 44px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--surface); border: 2px solid var(--muted); }
.ks-packbox.an { background: var(--grn); border: 1px solid var(--grn); }
.ks-dubletten { display: flex; flex-direction: column; gap: 8px; background: var(--gold-soft); border: 1px solid var(--gold-line); border-radius: 12px; padding: 10px 12px; }
.ks-dubletten > b { font-size: 14px; font-weight: 600; color: var(--gold-ink2); }
.ks-dubletten-zeile { display: flex; align-items: center; gap: 10px; }
.ks-dubletten-zeile span { flex: 1; min-width: 0; font-size: 14px; color: var(--text); }
.ks-dubletten button { height: 44px; padding: 0 14px; flex: none; border: 1px solid var(--gold); border-radius: 10px; background: var(--surface); font-size: 14px; font-weight: 600; color: var(--gold-ink2); }
.ks-neu-knopf { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border: 1px solid var(--grn); border-radius: 12px; background: var(--surface); font-size: 16px; font-weight: 600; color: var(--grn); }
[data-theme="dark"] .ks-neu-knopf { color: var(--grn-ink); }
.ks-suchfeld { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border: 1px solid var(--border2); border-radius: 12px; background: var(--surface); }
.ks-suchfeld input { flex: 1; min-width: 0; border: 0; outline: none; font-size: 17px; background: transparent; color: var(--text); }
.ks-icon-knopf { width: 44px; height: 44px; flex: none; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); display: flex; align-items: center; justify-content: center; }
.ks-icon-knopf.ks-rot { color: var(--err); }
.ks-chip { height: 44px; padding: 0 16px; border-radius: 22px; font-size: 15px; font-weight: 600; background: var(--surface); color: var(--text); border: 1px solid var(--border2); white-space: nowrap; }
.ks-chip.aktiv { background: var(--grn); color: #fff; border-color: var(--grn); }
.ks-seg { flex: 1; min-height: 48px; padding: 4px 10px; border-radius: 12px; font-size: 15px; font-weight: 600; background: var(--surface); color: var(--text); border: 1px solid var(--border2); }
.ks-seg.aktiv { background: var(--grn); color: #fff; border-color: var(--grn); }
.ks-tabs { display: flex; gap: 6px; background: var(--fill); padding: 6px; border-radius: 14px; }
.ks-tab { flex: 1; height: 48px; border-radius: 10px; font-size: 15px; font-weight: 600; background: transparent; color: var(--text2); border: 1px solid transparent; }
.ks-tab.aktiv { background: var(--surface); color: var(--text); border-color: var(--border2); box-shadow: 0 1px 3px rgba(30, 40, 20, .12); }
.ks-tab:disabled:not(.aktiv) { color: var(--muted); opacity: .55; }   /* gesperrt, solange eine Kartenzahlung offen ist */
.ks-schalter { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 2px; color: var(--text); font-size: 15px; text-align: left; }
.ks-spur { position: relative; flex: none; width: 46px; height: 28px; border-radius: 14px; background: var(--muted); transition: background .15s; }
.ks-spur::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 11px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: left .15s; }
.ks-schalter[aria-checked="true"] .ks-spur { background: var(--grn); }
.ks-schalter[aria-checked="true"] .ks-spur::after { left: 21px; }
.ks-schalter-text { display: flex; flex-direction: column; gap: 2px; }
.ks-schalter-text b { font-size: 15px; font-weight: 600; }
.ks-schalter-text small { font-size: 13px; color: var(--text3); line-height: 1.4; }
.ks-wahlzeile { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; flex: none; padding: 8px 14px; border-radius: 14px; text-align: left; color: var(--text); background: var(--surface2); border: 1px solid var(--card); }
.ks-wahlzeile.aktiv { background: var(--grn-soft); border: 2px solid var(--grn); padding: 7px 13px; }
.ks-listeneintrag { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 100%; flex: none; padding: 10px 12px; border-radius: 14px; text-align: left; color: var(--text); background: var(--surface2); border: 1px solid var(--card); }
.ks-listeneintrag.aktiv { background: var(--grn-soft); border: 2px solid var(--grn); padding: 9px 11px; }
.ks-pille { flex: none; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 10px; white-space: nowrap; background: var(--grau-soft); color: var(--text2); }
.ks-pille-gelb { background: var(--warn-soft); color: var(--gold-ink); }
.ks-pille-gruen { background: var(--ok-soft); color: var(--ok-ink); }
.ks-pille-rot { background: var(--err-soft); color: var(--err-ink); }
.ks-box-gruen { font-size: 15px; line-height: 1.45; color: var(--ok-ink); background: var(--ok-soft); border-radius: 12px; padding: 10px 14px; }
.ks-box-rot { font-size: 15px; line-height: 1.45; color: var(--err-ink); background: var(--err-soft); border-radius: 12px; padding: 10px 14px; }
.ks-box-gelb { font-size: 15px; line-height: 1.45; color: var(--gold-ink); background: var(--warn-soft); border-radius: 12px; padding: 10px 14px; }
.ks-panel { display: flex; flex-direction: column; gap: 10px; background: var(--surface2); border: 1px solid var(--card); border-radius: 14px; padding: 12px 14px; }
.ks-panel-rot { background: var(--err-soft); border-color: var(--err-line); }
.ks-kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line2); font-size: 15px; }
.ks-kv span:last-child { font-variant-numeric: tabular-nums; text-align: right; }
.ks-kv.fett { font-weight: 700; }
.ks-kv.klein { padding-left: 14px; font-size: 13px; color: var(--text2); }
.ks-kv:last-child { border-bottom: 0; }
.ks-leer { padding: 20px 4px; font-size: 15px; color: var(--text2); }
.ks-lauf { width: 22px; height: 22px; border: 3px solid rgba(128, 128, 128, .25); border-top-color: var(--gold); border-radius: 50%; animation: ks-drehen .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes ks-drehen { to { transform: rotate(360deg); } }
.ks-kreis { border-radius: 50%; color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* ── Anmeldung, Kassenwahl, Wer kassiert, PIN ───────────────────────────── */
.ks-buehne { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px 16px; overflow-y: auto; }
.ks-karte-gross { width: 460px; max-width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 36px 40px; box-shadow: var(--schatten); display: flex; flex-direction: column; gap: 16px; }
.ks-karte-gross h1 { font-size: 22px; font-weight: 700; text-align: center; }
.ks-wahl-karte { width: 560px; padding: 32px 36px; gap: 10px; }
.ks-wahl-karte h1 { font-size: 24px; text-align: left; margin-bottom: 6px; }
.ks-wahl-eintrag { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; min-height: 64px; padding: 10px 16px; border-radius: 14px; text-align: left; color: var(--text); background: var(--surface2); border: 1px solid var(--card); }
.ks-wahl-eintrag.aktiv { background: var(--grn-soft); border: 2px solid var(--grn); padding: 9px 15px; }
.ks-wahl-eintrag strong { font-size: 17px; font-weight: 600; }
.ks-wahl-eintrag span { font-size: 13px; color: var(--text3); }
.ks-wortmarke { font-family: Anton, Impact, "Arial Narrow", sans-serif; font-size: 36px; letter-spacing: 2px; color: var(--grn); line-height: 1; text-align: center; }
.ks-wortmarke small { display: block; font-size: 11px; letter-spacing: 3px; color: var(--text3); margin-top: 6px; }
[data-theme="dark"] .ks-wortmarke { color: #b7c7a7; }
.ks-bediener-karte { width: 720px; padding: 40px; align-items: center; gap: 20px; }
.ks-bediener-karte .ks-wortmarke { font-size: 40px; }
.ks-bediener-karte h1 { font-size: 26px; }
.ks-bediener-liste { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.ks-bediener-wahl { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px; min-width: 104px; color: var(--text); }
.ks-bediener-wahl .ks-kreis { width: 80px; height: 80px; font-size: 32px; }
.ks-bediener-wahl b { font-size: 16px; font-weight: 600; }
.ks-bediener-wahl small { font-size: 12px; color: var(--text3); margin-top: -4px; }
.ks-bediener-wahl.ohne-pin .ks-kreis { opacity: .45; }
.ks-pin-karte { width: 420px; padding: 32px 36px; align-items: center; gap: 18px; }
.ks-oeffnen-karte { width: 560px; padding: 40px; align-items: center; gap: 16px; }
.ks-oeffnen-karte .ks-wortmarke { font-size: 40px; }
.ks-oeffnen-karte h1 { font-size: 26px; }
#ks-oeffnen-inhalt { width: 100%; }
#ks-oeffnen-inhalt .ks-text-gross b { font-variant-numeric: tabular-nums; }
.ks-pin-karte h1 { font-size: 24px; }
.ks-pin-karte .ks-kreis { width: 72px; height: 72px; font-size: 28px; }
.ks-pin-punkte { display: flex; gap: 14px; }
.ks-pin-punkte span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--muted); }
.ks-pin-punkte span.voll { background: var(--grn); border-color: var(--grn); }
.ks-pin-punkte.falsch { animation: ks-wackeln .35s; }
@keyframes ks-wackeln { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.ks-pin-tasten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
.ks-pin-tasten button { height: 64px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border2); border-radius: 14px; background: var(--surface2); font-size: 26px; font-weight: 600; color: var(--text); }
.ks-pin-tasten button.ks-taste-text { font-size: 16px; }
.ks-pin-tasten button:active { background: var(--fill); }
.ks-fuss { display: flex; gap: 16px; align-items: center; color: var(--text3); font-size: 13px; }
.ks-fuss a { color: inherit; }

/* ── Kopf und Leisten ───────────────────────────────────────────────────── */
#ks-app { position: fixed; inset: 0; display: flex; flex-direction: column; }
.ks-kopf { min-height: 64px; flex: none; display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 20px; padding-top: calc(8px + env(safe-area-inset-top)); background: var(--surface); border-bottom: 1px solid var(--border); }
.ks-kopf-marke { font-family: Anton, Impact, "Arial Narrow", sans-serif; font-size: 26px; letter-spacing: 1.5px; color: var(--grn); line-height: 1; white-space: nowrap; }
[data-theme="dark"] .ks-kopf-marke { color: #b7c7a7; }
.ks-kopf-ort { font-size: 13px; color: var(--text2); line-height: 1.35; border-left: 1px solid var(--border); padding-left: 12px; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ks-kopf-ort b { font-weight: 400; display: block; overflow: hidden; text-overflow: ellipsis; }
.ks-kopf-luft { flex: 1; }
.ks-kopf-knopf { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border: 1px solid var(--border2); border-radius: 12px; background: var(--surface); font-size: 15px; font-weight: 600; color: var(--text); white-space: nowrap; }
.ks-zaehler { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--gold); color: #1a1510; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.ks-status { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 18px; font-size: 13px; font-weight: 600; white-space: nowrap; background: var(--ok-soft); color: var(--ok-ink); }
.ks-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--ok); }
.ks-status.gelb { background: var(--warn-soft); color: var(--warn-ink); }
.ks-status.gelb::before { background: var(--warn); }
.ks-status.rot { background: var(--err-soft); color: var(--err-ink); }
.ks-status.rot::before { background: var(--err); }
.ks-bediener-chip { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px 0 6px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface2); font-size: 15px; font-weight: 600; color: var(--text); white-space: nowrap; max-width: 220px; }
.ks-bediener-chip .ks-kreis { width: 36px; height: 36px; font-size: 15px; }
.ks-bediener-chip span:last-child { overflow: hidden; text-overflow: ellipsis; }
.ks-menue-knopf { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border-radius: 12px; background: var(--grn); color: #fff; font-size: 15px; font-weight: 600; }
.ks-leiste { flex: none; min-height: 52px; display: flex; align-items: center; gap: 12px; padding: 4px 16px 4px 20px; background: var(--warn-soft); border-bottom: 1px solid var(--gold-line); color: var(--gold-ink); font-size: 15px; font-weight: 600; }
.ks-leiste span { flex: 1; }
.ks-leiste-rot { background: var(--err-soft); border-bottom-color: var(--err-line); color: var(--err-ink); }
.ks-leiste-rot button { border-color: var(--err-line); color: var(--err-ink); }
.ks-leiste button { height: 44px; padding: 0 16px; border: 1px solid var(--gold-rand); border-radius: 12px; background: var(--surface); font-size: 14px; font-weight: 600; color: var(--gold-ink); }
/* Aktionen: Leiste „Läuft gerade“ unter dem Kopf, Karten im Fenster und in „Kurz ansprechen“ */
.ks-aktionsleiste { flex: none; min-height: 52px; display: flex; align-items: center; gap: 8px; padding: 4px 14px 4px 20px; background: var(--gold-soft); border-bottom: 1px solid var(--gold-line); }
.ks-aktionsleiste-titel { flex: none; font-size: 13px; font-weight: 700; color: var(--gold-ink); white-space: nowrap; }
/* Natürliche Breite und wischen statt quetschen – bei fünf Aktionen blieben sonst nur Anfangsbuchstaben */
.ks-aktionsleiste-liste { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ks-aktionsleiste-liste::-webkit-scrollbar { display: none; }
.ks-aktionsleiste-liste button { flex: none; max-width: 340px; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 1px solid var(--gold-line); border-radius: 12px; background: var(--surface); font-size: 14px; font-weight: 600; color: var(--text); }
.ks-aktionsleiste-liste button span:last-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ks-aktionsleiste-alle { flex: none; height: 44px; padding: 0 14px; border: 1px solid var(--gold-rand); border-radius: 12px; background: var(--surface); font-size: 14px; font-weight: 600; color: var(--gold-ink); }
.ks-aktion-karte { display: flex; flex-direction: column; gap: 8px; background: var(--surface2); border: 1px solid var(--card); border-radius: 14px; padding: 12px 14px; }
.ks-aktion-karte.ks-erinnern { background: var(--gold-soft); border-color: var(--gold-line); }
.ks-aktion-kopf { display: flex; align-items: center; gap: 10px; }
.ks-aktion-kopf b { flex: 1; min-width: 0; font-size: 16px; font-weight: 700; }
.ks-aktion-kopf small { font-size: 13px; color: var(--text2); white-space: nowrap; }
.ks-aktion-text { font-size: 15px; line-height: 1.5; }
.ks-aktion-punkte { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.5; color: var(--text2); }
.ks-aktion-sagen { font-size: 14px; line-height: 1.5; color: var(--text2); font-style: italic; }
.ks-goodies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ks-goodie { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 72px; padding: 10px 14px; border-radius: 14px; text-align: left; background: var(--surface2); border: 1px solid var(--card); color: var(--text); }
.ks-goodie.aktiv { background: var(--grn-soft); border: 2px solid var(--grn); }
.ks-goodie b { font-size: 15px; font-weight: 600; line-height: 1.3; }
.ks-goodie small { font-size: 13px; font-weight: 700; color: var(--ok-ink); }
.ks-zugabe-zeile { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 4px 4px 12px; margin-bottom: 4px; border-radius: 10px; font-size: 14px; font-weight: 600; background: var(--gold-soft); color: var(--gold-ink); }
.ks-zugabe-zeile span { flex: 1; }
.ks-zugabe-zeile.warn { background: var(--err-soft); color: var(--err-ink); }
.ks-zugabe-zeile button { flex: none; height: 44px; padding: 0 12px; border: 1px solid var(--gold); border-radius: 10px; background: var(--surface); font-size: 14px; font-weight: 600; color: var(--gold-ink); }

/* ── Verkauf: Katalog links ─────────────────────────────────────────────── */
.ks-verkauf { flex: 1; min-height: 0; display: flex; }
.ks-katalog { flex: 1; min-width: 0; min-height: 0; padding: 14px 16px 0 20px; display: flex; flex-direction: column; gap: 12px; }
.ks-suchzeile { display: flex; gap: 10px; }
.ks-suche { flex: 1; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; background: var(--surface); border: 1px solid var(--border2); border-radius: 14px; min-width: 0; }
.ks-suche input { flex: 1; min-width: 0; border: 0; outline: none; font-size: 17px; background: transparent; color: var(--text); }
.ks-suche input::-webkit-search-cancel-button { -webkit-appearance: none; }
.ks-scan-knopf { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px; border: 1px solid var(--border2); border-radius: 14px; background: var(--surface); font-size: 15px; font-weight: 600; color: var(--text); white-space: nowrap; }
.ks-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ks-kachel-flaeche { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 16px; }
.ks-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.ks-kachel { position: relative; min-height: 112px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.ks-kachel:active { transform: scale(.98); }
.ks-kachel.im-korb { border-color: var(--grn); box-shadow: inset 0 0 0 1px var(--grn); }
.ks-kachel-aktion { margin-bottom: 6px; font-size: 12px; font-weight: 700; color: var(--gold-ink); background: var(--warn-soft); border-radius: 8px; padding: 2px 8px; }
.ks-kachel-name { font-size: 15px; font-weight: 600; line-height: 1.3; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; padding-right: 22px; }
.ks-kachel-unter { font-size: 12px; color: var(--text3); margin-top: 4px; }
.ks-kachel-preis { margin-top: auto; padding-top: 10px; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--grn); }
.ks-kachel-statt { margin-left: 6px; font-size: 13px; font-weight: 500; color: var(--text3); text-decoration: line-through; }
[data-theme="dark"] .ks-kachel-preis { color: #b7c7a7; }
.ks-kachel-menge { position: absolute; top: 8px; right: 8px; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; background: var(--grn); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ks-kachel-sonder { background: var(--gold-soft); border: 1px dashed var(--gold); }
.ks-kachel-sonder .ks-kachel-preis { font-size: 14px; color: var(--gold-dunkel); }
.ks-kachel[data-farbe="gold"] { border-top: 4px solid var(--gold); }
.ks-kachel[data-farbe="gruen"] { border-top: 4px solid var(--grn); }
.ks-kachel[data-farbe="rot"] { border-top: 4px solid var(--err); }
.ks-kachel[data-farbe="blau"] { border-top: 4px solid #4f6470; }
.ks-kacheln-leer { grid-column: 1 / -1; padding: 48px 12px; text-align: center; color: var(--text2); font-size: 15px; }

/* ── Verkauf: Korb rechts ──────────────────────────────────────────────── */
.ks-korb { width: 400px; flex: none; background: var(--surface); border-left: 1px solid var(--border); display: flex; flex-direction: column; min-height: 0; }
.ks-korb-kopf { padding: 10px 16px 6px 20px; display: flex; align-items: center; gap: 8px; min-height: 58px; }
.ks-korb-titel { flex: 1; min-width: 0; }
.ks-korb-titel h2 { font-size: 20px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ks-korb-titel div { font-size: 13px; color: var(--text3); }
.ks-geparkt { height: 44px; padding: 0 12px; border: 1px dashed var(--gold); border-radius: 12px; background: var(--gold-soft); font-size: 14px; font-weight: 600; color: var(--gold-ink2); white-space: nowrap; }
.ks-korb-hinweis { margin: 0 20px 8px; padding: 8px 12px; border-radius: 10px; background: var(--grn-soft); color: var(--grn-ink); font-size: 13px; line-height: 1.45; }
.ks-korb-kunde { padding: 0 20px 8px; }
.ks-kunde-knopf { width: 100%; min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 6px 14px; border: 1px dashed var(--border2); border-radius: 12px; background: var(--surface2); color: var(--text); text-align: left; }
.ks-kunde-knopf span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ks-kunde-knopf b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ks-kunde-knopf small { font-size: 12px; color: var(--text3); }
.ks-korb-zeilen { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 16px 0 20px; }
.ks-korb-leer { padding: 36px 12px; text-align: center; color: var(--text2); font-size: 15px; line-height: 1.5; }
.ks-zeile { display: flex; align-items: center; gap: 6px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.ks-zeile-text { flex: 1; min-width: 0; min-height: 48px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; text-align: left; color: var(--text); }
.ks-zeile-text b { font-size: 15px; font-weight: 600; line-height: 1.3; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
.ks-zeile-text small { font-size: 13px; color: var(--text3); }
.ks-zeile-text small.gruen { color: var(--ok-ink); }
.ks-zeile-text small.rot { color: var(--err); }
.ks-zeile-text small.rot { color: var(--err); }
.ks-zeile-pm { width: 44px; height: 44px; flex: none; border: 1px solid var(--border2); border-radius: 10px; background: var(--surface); font-size: 22px; line-height: 1; color: var(--text); }
.ks-zeile-menge { width: 24px; flex: none; text-align: center; font-size: 17px; font-weight: 700; }
.ks-zeile-summe { width: 76px; flex: none; text-align: right; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ks-korb-fuss { padding: 10px 20px 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 5px; }
.ks-rabatt-knopf { align-self: flex-start; height: 44px; padding: 0 14px; margin-bottom: 4px; border-radius: 12px; font-size: 14px; font-weight: 600; background: var(--surface); border: 1px solid var(--border2); color: var(--text); }
.ks-rabatt-knopf:disabled { color: var(--muted); }
.ks-rabatt-knopf.aktiv { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-ink2); }
.ks-summenzeile { display: flex; justify-content: space-between; font-size: 14px; color: var(--text2); }
.ks-summenzeile span:last-child, .ks-steuerzeile span:last-child { font-variant-numeric: tabular-nums; }
.ks-steuerzeile { display: flex; justify-content: space-between; font-size: 13px; color: var(--text3); }
.ks-summe { display: flex; justify-content: space-between; align-items: baseline; margin-top: 2px; }
.ks-summe span { font-size: 18px; font-weight: 700; }
.ks-summe strong { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ks-korb-knoepfe { display: flex; gap: 10px; margin-top: 6px; }
.ks-korb-knoepfe .ks-zweit { flex: 1; height: 64px; border-radius: 16px; font-size: 17px; font-weight: 600; border: 1px solid var(--border2); background: var(--surface); color: var(--text); }
.ks-korb-knoepfe .ks-zweit:disabled { color: var(--muted); }
.ks-bezahlen { flex: 2; height: 64px; border-radius: 16px; font-size: 20px; font-weight: 700; color: #fff; background: var(--grn); }
.ks-bezahlen:disabled { background: var(--disabled); }

/* ── Fertig ─────────────────────────────────────────────────────────────── */
.ks-fertig { flex: 1; min-height: 0; overflow-y: auto; display: flex; justify-content: center; padding: 24px 20px; }
.ks-fertig-inhalt { width: 680px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.ks-fertig-inhalt h1 { font-size: 28px; font-weight: 700; }
.ks-fertig-betrag { font-size: 40px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ks-fertig-betrag.gelb { color: var(--warn-ink); }
.ks-rueckgeld { background: var(--grn); color: #fff; border-radius: 20px; padding: 14px 56px; }
.ks-rueckgeld div:first-child { font-size: 16px; }
.ks-rueckgeld strong { display: block; font-size: 58px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.ks-rueckgeld div:last-child { font-size: 14px; margin-top: 2px; }
.ks-tse-ok { font-size: 15px; font-weight: 600; color: var(--ok-ink); background: var(--ok-soft); border-radius: 12px; padding: 8px 14px; }
.ks-tse-warn { font-size: 15px; line-height: 1.5; color: var(--gold-ink); background: var(--warn-soft); border-radius: 12px; padding: 10px 16px; max-width: 600px; }
.ks-fertig-hinweis { font-size: 15px; line-height: 1.45; color: var(--gold-ink); background: var(--gold-soft); border: 1px solid var(--gold-line); border-radius: 12px; padding: 8px 14px; }
.ks-qr-kasten { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px 18px; text-align: left; }
.ks-qr-kasten img { width: 132px; height: 132px; background: #fff; border-radius: 6px; flex: none; }
.ks-qr-kasten div { font-size: 15px; line-height: 1.5; max-width: 300px; }
.ks-mailzeile { display: flex; gap: 10px; width: 100%; max-width: 540px; }
.ks-mailzeile input { flex: 1; min-width: 0; }
.ks-naechster { margin-top: 6px; width: 340px; max-width: 100%; height: 64px; flex: none; border-radius: 16px; background: var(--grn); color: #fff; font-size: 20px; font-weight: 700; }

/* ── Tagesabschluss ─────────────────────────────────────────────────────── */
.ks-z { flex: 1; min-height: 0; display: flex; gap: 18px; padding: 18px 20px; }
.ks-z-mitte { flex: 1; display: flex; align-items: center; justify-content: center; }
.ks-z-karte { width: 520px; max-width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px; text-align: center; align-items: stretch; }
.ks-z-karte h2 { font-size: 22px; }
.ks-z-nr { font-size: 56px; font-weight: 700; color: var(--grn); line-height: 1; }
.ks-z-zaehlen { flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px 22px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
.ks-z-zaehlen h2 { font-size: 22px; font-weight: 700; }
.ks-stueckelung { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; row-gap: 2px; }
.ks-stueck { display: flex; align-items: center; gap: 8px; padding: 3px 0; border-bottom: 1px solid var(--line2); }
.ks-stueck b { width: 70px; font-size: 16px; font-weight: 600; }
.ks-stueck span { width: 34px; text-align: center; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ks-stueck em { flex: 1; text-align: right; font-style: normal; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--text2); }
.ks-z-rechts { width: 380px; flex: none; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.ks-z-summen { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 12px 18px; display: flex; flex-direction: column; }
.ks-z-differenz { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0 3px; font-size: 18px; font-weight: 700; color: var(--ok-ink); }
.ks-z-differenz.minus { color: var(--err); }
.ks-z-differenz.plus { color: var(--warn-ink); }

/* ── Fenster, Bezahlen, Menü ────────────────────────────────────────────── */
.ks-schicht { position: fixed; inset: 0; z-index: 40; background: var(--schicht); }
.ks-schicht-zu { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; cursor: default; }
.ks-dialog { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 560px; max-width: calc(100% - 24px); max-height: calc(100% - 36px); background: var(--surface); border-radius: 20px; padding: 16px 22px 20px; box-shadow: var(--schatten-hoch); display: flex; flex-direction: column; gap: 12px; }
.ks-dialog-kopf { display: flex; align-items: center; gap: 10px; flex: none; }
.ks-dialog-kopf h2 { flex: 1; font-size: 22px; font-weight: 700; }
.ks-dialog-inhalt { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 2px; }
.ks-dialog.ks-hoch { height: calc(100% - 60px); max-height: 740px; }
.ks-zahlen-dialog { width: 820px; max-height: calc(100% - 24px); overflow-y: auto; padding: 18px 26px 22px; gap: 14px; }
.ks-rest { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.ks-rest-label { font-size: 14px; color: var(--text3); }
.ks-rest-betrag { font-size: 50px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.ks-rest-rechts { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 14px; color: var(--text2); }
.ks-rest-rechts .ks-teil { display: flex; align-items: center; gap: 4px; }
.ks-teil button { width: 44px; height: 44px; color: var(--err); display: flex; align-items: center; justify-content: center; }
.ks-bar { display: flex; gap: 24px; }
.ks-numpad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 300px; flex: none; }
.ks-numpad button { height: 56px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border2); border-radius: 12px; background: var(--surface2); font-size: 24px; font-weight: 600; color: var(--text); }
.ks-numpad button:active { background: var(--fill); }
.ks-bar-rechts { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ks-gegeben { border: 1px solid var(--border2); border-radius: 14px; padding: 8px 16px; }
.ks-gegeben div { font-size: 13px; color: var(--text3); }
.ks-gegeben strong { display: block; font-size: 32px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ks-schnell { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ks-schnell button { height: 48px; border: 1px solid var(--border2); border-radius: 12px; background: var(--surface); font-size: 17px; font-weight: 600; color: var(--text); }
.ks-rueck { display: flex; justify-content: space-between; align-items: baseline; padding: 0 2px; }
.ks-rueck span { font-size: 16px; color: var(--text2); }
.ks-rueck strong { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ok-ink); }
.ks-rueck strong.rot { color: var(--err); }
.ks-schritt { display: flex; align-items: center; gap: 12px; font-size: 17px; color: var(--text2); }
.ks-schritt::before { content: ""; width: 14px; height: 14px; border-radius: 50%; flex: none; border: 2px solid var(--muted); }
.ks-schritt.fertig { color: var(--text); }
.ks-schritt.fertig::before { background: var(--ok); border-color: var(--ok); }
.ks-schritt.jetzt { color: var(--text); font-weight: 600; }
.ks-schritt.jetzt::before { border: 3px solid var(--gold); background: var(--gold-soft); }
/* ZVT-Terminal: was das Gerät gerade vom Kunden will, groß – der Punkt pulsiert, solange es arbeitet */
.ks-terminal-stand { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 700; line-height: 1.3; color: var(--text); padding: 4px 0; }
.ks-terminal-stand::before { content: ""; width: 14px; height: 14px; border-radius: 50%; flex: none; background: var(--gold); animation: ks-puls 1.4s ease-in-out infinite; }
@keyframes ks-puls { 50% { opacity: .3; transform: scale(.8); } }
@media (prefers-reduced-motion: reduce) { .ks-terminal-stand::before { animation: none; } }
.ks-zahlen-extra { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
.ks-zahlen-extra button { height: 48px; padding: 0 16px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--text); background: var(--surface); border: 1px solid var(--border2); }
.ks-zahlen-extra button.aktiv { background: var(--grn-soft); border: 2px solid var(--grn); padding: 0 15px; }
.ks-zahlen-extra button:disabled { color: var(--muted); opacity: .55; }
.ks-schublade { position: absolute; top: 0; right: 0; bottom: 0; width: 420px; max-width: 100%; background: var(--surface); box-shadow: -10px 0 40px rgba(0, 0, 0, .18); display: flex; flex-direction: column; padding: 16px 20px; padding-top: calc(16px + env(safe-area-inset-top)); gap: 6px; overflow-y: auto; }
.ks-menue-punkt { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; min-height: 56px; flex: none; padding: 6px 14px; border: 1px solid var(--card); border-radius: 14px; background: var(--surface2); color: var(--text); text-align: left; }
.ks-menue-punkt b { font-size: 16px; font-weight: 600; }
.ks-menue-punkt small { font-size: 13px; color: var(--text3); }
.ks-zweispaltig { display: flex; gap: 18px; height: 100%; min-height: 0; }
.ks-zweispaltig-links { width: 360px; flex: none; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.ks-zweispaltig-liste { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.ks-zweispaltig-rechts { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; border-left: 1px solid var(--line); padding-left: 18px; }
.ks-zweispaltig-rechts h3 { font-size: 22px; font-weight: 700; }
.ks-bonkopf { display: flex; align-items: center; gap: 8px; width: 100%; }
.ks-bonkopf b { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ks-bonkopf em { flex: 1; }
.ks-tischraster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ks-tisch { min-height: 72px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 10px 14px; border-radius: 14px; text-align: left; color: var(--text); background: var(--surface); border: 1px solid var(--border); }
.ks-tisch b { font-size: 17px; font-weight: 700; }
.ks-tisch span { font-size: 13px; color: var(--text2); }
.ks-tisch.belegt { background: var(--gold-soft); border-color: var(--gold); }
.ks-tisch.aktuell { background: var(--grn-soft); border: 2px solid var(--grn); padding: 9px 13px; }
.ks-qr-gross { display: flex; justify-content: center; }
.ks-qr-gross img { width: 220px; height: 220px; background: #fff; padding: 8px; border-radius: 12px; }

/* ── Scanner und Hinweis ───────────────────────────────────────────────── */
.ks-scan { position: fixed; inset: 0; z-index: 60; background: #12160f; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; color: #fff; padding: 20px; }
.ks-scan-titel { font-size: 20px; font-weight: 600; }
.ks-scan-rahmen { position: relative; width: 560px; max-width: 100%; height: 300px; border-radius: 20px; border: 3px solid var(--gold); background: #1d2318; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ks-scan-rahmen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ks-scan-rahmen::after { content: ""; position: relative; width: 82%; height: 2px; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.ks-scan-text { font-size: 14px; color: #d8d2c4; max-width: 560px; text-align: center; line-height: 1.5; }
.ks-scan-ab { height: 56px; padding: 0 24px; border: 1px solid #8a9180; border-radius: 14px; background: transparent; color: #fff; font-size: 16px; font-weight: 600; }
.ks-toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 70; max-width: min(900px, calc(100% - 32px)); background: #1a1510; color: #fff; padding: 12px 20px; border-radius: 12px; font-size: 15px; line-height: 1.4; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); text-align: center; }
.ks-toast.ks-toast-err { background: var(--err); }

/* ── Kleine Bildschirme (Handy, iPad hochkant schmal) ──────────────────── */
@media (max-width: 900px) {
  .ks-kopf { flex-wrap: wrap; gap: 8px; padding-left: 14px; }
  .ks-kopf-marke { font-size: 22px; }
  .ks-korb { width: 340px; }
  .ks-kacheln { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .ks-z { flex-direction: column; overflow-y: auto; }
  .ks-z-rechts { width: auto; }
  .ks-zweispaltig { flex-direction: column; }
  .ks-zweispaltig-links { width: auto; max-height: 45%; }
  .ks-zweispaltig-rechts { border-left: 0; padding-left: 0; }
  .ks-bar { flex-direction: column; }
  .ks-numpad { width: 100%; }
}
@media (max-width: 700px) {
  .ks-kopf-ort, .ks-status { display: none; }
  .ks-aktionsleiste { padding: 4px 12px; }
  .ks-aktionsleiste-titel { display: none; }
  .ks-aktionsleiste-liste button { max-width: 240px; }
  /* Warengruppen als eine Zeile zum Wischen – umbrochen schoben sie die Kacheln unter den Korb */
  .ks-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; flex: none; }
  .ks-chips::-webkit-scrollbar { display: none; }
  .ks-chips > * { flex: none; }
  .ks-verkauf { flex-direction: column; }
  .ks-katalog { padding: 10px 12px 0; }
  .ks-katalog { flex: 1 1 52%; }
  .ks-korb { width: auto; flex: none; max-height: 48%; border-left: 0; border-top: 1px solid var(--border); }
  .ks-korb-zeilen { padding: 0 12px; }
  .ks-korb-fuss { padding: 8px 12px 12px; }
  .ks-summe strong { font-size: 24px; }
  .ks-kacheln { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
  .ks-kachel { min-height: 96px; padding: 10px; }
  .ks-stueckelung { grid-template-columns: 1fr; }
  .ks-tischraster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ks-formular { grid-template-columns: 1fr; }
  .ks-karte-gross { padding: 24px 20px; }
}
