/* Shop Kebap Haus. Optik aus der neuen Karte 2026: Papier, Weinrot, Dunkelgrün, Gold; Oswald und Fira Sans Condensed (lokal in /fonts). */
@font-face { font-family: "Oswald"; src: url(/fonts/oswald.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Fira Sans Condensed"; src: url(/fonts/fira-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fira Sans Condensed"; src: url(/fonts/fira-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fira Sans Condensed"; src: url(/fonts/fira-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --grund: #f2efe7;
  --flaeche: #fffdf8;
  --text: #2a2523;
  --leise: #6d655d;
  --linie: #e3dccd;
  --wein: #8f1f2b;
  --wein-dunkel: #6c1520;
  --gruen: #2c3a24;
  --gold: #f0a531;
  --rot: var(--wein);
  --rot-dunkel: var(--wein-dunkel);
  --schatten: 0 10px 30px rgba(42, 37, 35, .12);
  --rund: 14px;
  --schrift: "Fira Sans Condensed", "Arial Narrow", system-ui, sans-serif;
  --titel: "Oswald", "Arial Narrow", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 150px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--text); font: 16px/1.45 var(--schrift); -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.knopf { border: 2px solid var(--text); background: transparent; border-radius: 999px; padding: .8em 1.4em; font-weight: 700; touch-action: manipulation; }
.knopf.haupt { background: var(--rot); border-color: var(--rot); color: #fff; }
.knopf.haupt:hover:not(:disabled) { background: var(--rot-dunkel); border-color: var(--rot-dunkel); }
.knopf:disabled { opacity: .45; cursor: not-allowed; }
.knopf.voll { width: 100%; }
.knopf:active:not(:disabled) { transform: scale(.98); }

/* Kopf */
.kopf { display: flex; align-items: center; gap: 16px 24px; padding: 14px max(16px, calc((100vw - 1320px) / 2)); background: var(--flaeche); border-bottom: 1px solid var(--linie); flex-wrap: wrap; }
.kopf-logo { text-decoration: none; font-size: 34px; }
/* Logo wie auf der Karte: KEBAP weinrot, Spieß, HAUS grün */
.logo { display: inline-grid; grid-template-columns: auto auto auto; align-items: end; column-gap: .08em; font: 600 1em/.86 var(--titel); text-transform: uppercase; }
.logo .k { color: var(--wein); }
.logo .h { color: var(--gruen); }
.logo img { height: 1.24em; width: auto; align-self: center; margin-bottom: -.06em; }
.status { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; font-size: 15px; }
.punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--leise); }
.status.offen .punkt { background: #1f9d55; box-shadow: 0 0 0 0 rgba(31, 157, 85, .5); animation: puls 2.4s ease-out infinite; }
@keyframes puls { 70% { box-shadow: 0 0 0 7px rgba(31, 157, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 157, 85, 0); } }
.art { margin-left: auto; display: inline-flex; background: #e7e1d3; border-radius: 999px; padding: 4px; }
.art button { border: 0; background: transparent; color: var(--text); padding: .55em 1.2em; border-radius: 999px; font-weight: 700; }
.art button[aria-checked="true"] { background: var(--gruen); color: #fff; }
.hinweis-leiste { margin: 0; padding: 10px 16px; background: var(--gruen); color: #fff; text-align: center; font-weight: 600; }

/* Leiste mit Suche, Rubriken, Warenkorb */
.leiste { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
  padding: 10px max(16px, calc((100vw - 1320px) / 2)); background: rgba(247, 244, 236, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linie); }
.suche { margin-bottom: 20px; max-width: 420px; }
.suche input { width: 100%; border: 1px solid var(--linie); background: var(--flaeche); border-radius: 999px; padding: .6em 1em; font-size: 16px; }
.reiter { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.reiter::-webkit-scrollbar { display: none; }
.reiter a { flex: none; text-decoration: none; padding: .45em .9em; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--leise); }
.reiter a.an { background: var(--wein); color: #fff; }
.korb-knopf { display: inline-flex; align-items: center; gap: 10px; border: 0; background: var(--gruen); color: #fff; border-radius: 999px; padding: .6em 1.1em .6em .6em; font-weight: 700; white-space: nowrap; }
.korb-zahl { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--text); font-size: 14px; }
.korb-knopf.hupf { animation: hupf .3s cubic-bezier(.23, 1, .32, 1); }
@keyframes hupf { 40% { transform: scale(1.08); } }

/* Karte und Warenkorb nebeneinander */
.rahmen { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; max-width: 1320px; margin: 0 auto; padding: 24px 16px 64px; align-items: start; }
.rubrik { margin-bottom: 28px; }
.rubrik h2 { font: 600 clamp(26px, 3vw, 34px)/1.1 var(--titel); letter-spacing: .01em; color: var(--wein); text-transform: uppercase; margin: 0 0 6px; }
.rubrik-text { margin: 0 0 12px; color: var(--leise); text-wrap: pretty; }
.rubrik ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gericht-knopf { width: 100%; height: 100%; display: grid; grid-template-columns: 38px 1fr auto 34px; gap: 4px 10px; align-items: start; text-align: left;
  border: 1px solid var(--linie); background: var(--flaeche); border-radius: var(--rund); padding: 14px 12px 14px 14px; transition: border-color .15s, box-shadow .15s, transform .15s; touch-action: manipulation; }
@media (hover: hover) { .gericht-knopf:hover:not(:disabled) { border-color: var(--text); box-shadow: var(--schatten); } }
.gericht-knopf:active:not(:disabled) { transform: scale(.99); }
.nr { font-size: 13px; color: var(--leise); font-variant-numeric: tabular-nums; padding-top: 2px; }
.gericht-text { display: grid; gap: 3px; }
.name { font-weight: 700; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.beschreibung { color: var(--leise); font-size: 14px; text-wrap: pretty; }
.groessen { font-size: 13px; color: var(--leise); }
.preis { font-weight: 700; color: var(--wein); white-space: nowrap; font-variant-numeric: tabular-nums; padding-top: 1px; }
.plus { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--wein); color: #fff; font-weight: 700; font-size: 20px; line-height: 1; }
.gericht.aus .gericht-knopf { opacity: .5; cursor: not-allowed; }
.gericht.aus .plus { visibility: hidden; }
.marke { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; border-radius: 999px; }
.marke-veg { background: #e3efe7; color: var(--gruen); }
.marke-scharf { background: #fbe3e3; color: var(--rot-dunkel); }
.leer { color: var(--leise); padding: 24px 0; }

/* Warenkorb */
.korb { position: sticky; top: 76px; }
.korb-innen { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: 18px; max-height: calc(100vh - 100px); overflow: auto; }
.korb-kopf, .wahl-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.korb-kopf h2, .wahl-kopf h2 { font: 600 26px/1.1 var(--titel); color: var(--wein); text-transform: uppercase; margin: 0; }
.zu { border: 0; background: transparent; font-size: 30px; line-height: 1; padding: 4px 8px; }
.korb-kopf .zu { display: none; }
.korb-liste { list-style: none; margin: 12px 0; padding: 0; }
.korb-liste li { padding: 12px 0; border-bottom: 1px solid var(--linie); display: grid; gap: 6px; }
.korb-zeile { display: flex; justify-content: space-between; gap: 12px; }
.korb-name { border: 0; background: none; padding: 0; text-align: left; font-weight: 700; }
.korb-extras { margin: 0; font-size: 14px; color: var(--leise); }
.menge { display: inline-flex; align-items: center; border: 1px solid var(--linie); border-radius: 999px; width: max-content; }
.menge button { border: 0; background: none; width: 40px; height: 40px; font-size: 20px; }
.menge output { min-width: 24px; text-align: center; font-weight: 700; }
.menge.klein button { width: 34px; height: 34px; font-size: 16px; }
.summen { display: grid; grid-template-columns: 1fr auto; gap: 6px 0; margin: 12px 0; }
.summen dt, .summen dd { margin: 0; }
.summen dd { padding-left: 12px; }
.summen dd { text-align: right; font-variant-numeric: tabular-nums; }
.summen .gesamt { font-weight: 800; font-size: 18px; padding-top: 6px; border-top: 1px solid var(--linie); }
.mindest { background: #fff6cc; border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 0 0 12px; }

/* Dialoge */
.wahl { border: 0; border-radius: 20px; padding: 0; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); color: var(--text); }
.wahl::backdrop { background: rgba(23, 20, 15, .55); }
.wahl[open] { animation: auf .22s cubic-bezier(.2, .9, .3, 1); }
@keyframes auf { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.wahl form { padding: 20px; display: grid; gap: 16px; }
.wahl-text { margin: -8px 0 0; color: var(--leise); }
.wahl-text:empty { display: none; }
#wahl-felder { display: grid; gap: 18px; }
#wahl-felder:empty { display: none; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
fieldset[hidden] { display: none; }
legend { font-weight: 800; padding: 0; margin-bottom: 8px; }
legend small, .feld small { font-weight: 400; color: var(--leise); }
.optionen { display: grid; gap: 6px; }
.option { display: flex; align-items: center; gap: 10px; border: 1px solid var(--linie); border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.option:has(input:checked) { border-color: var(--wein); background: #fbf1ee; }
.option input { width: 20px; height: 20px; accent-color: var(--rot); margin: 0; flex: none; }
.option span { flex: 1; }
.option span small { display: block; color: var(--leise); font-size: 14px; line-height: 1.35; margin-top: 2px; }
.option b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.optionen.viele { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.optionen.viele .option { padding: 8px 9px; gap: 8px; font-size: .94em; line-height: 1.2; }
.feld { display: grid; gap: 4px; }
.feld > span { font-weight: 600; font-size: 14px; }
.feld input, .feld select, .kasse select { width: 100%; border: 1px solid var(--linie); border-radius: 10px; padding: .7em .8em; background: #fff; font-size: 16px; }
.feld input:focus, .feld select:focus, .suche input:focus, .kasse select:focus { outline: 2px solid var(--text); outline-offset: 1px; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zwei .breit { grid-column: auto; }
#kasse-adresse .zwei { grid-template-columns: 1fr 110px; }
.wahl-fuss { display: flex; gap: 12px; align-items: center; position: sticky; bottom: -20px; background: #fff; padding: 12px 0 0; margin-bottom: -8px; }
.wahl-fuss .knopf { flex: 1; }
.fehler { margin: 0; color: var(--rot-dunkel); font-weight: 600; }
.klein { font-size: 13px; color: var(--leise); margin: 0; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.fuss { text-align: center; padding: 28px 16px 40px; color: var(--leise); font-size: 14px; border-top: 1px solid var(--linie); }
.fuss p { margin: 4px 0; }

@media (max-width: 1100px) {
  .rahmen { grid-template-columns: 1fr; }
  .korb { position: fixed; inset: 0; z-index: 50; background: rgba(23, 20, 15, .55); display: none; top: 0; }
  .korb.offen { display: block; }
  .korb-innen { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); max-height: none; border-radius: 0; animation: rein .25s cubic-bezier(.2, .9, .3, 1); }
  @keyframes rein { from { transform: translateX(30px); opacity: 0; } }
  .korb-kopf .zu { display: block; }
  body.korb-offen { overflow: hidden; }
}
@media (max-width: 820px) {
  .rubrik ul { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .kopf { padding-block: 10px; gap: 10px; }
  .kopf { flex-wrap: wrap; }
  .kopf-logo { font-size: 26px; }
  .art { margin-left: 0; width: 100%; }
  .art button { flex: 1; padding-block: .45em; }
  .status { margin-left: auto; font-size: 13px; }
  .leiste { gap: 8px; padding-block: 8px; }
  .suche input { padding-block: .5em; }
  .korb-knopf span:nth-child(2) { display: none; }
  .gericht-knopf { grid-template-columns: 30px 1fr auto; padding: 12px; }
  .plus { display: none; }
  .zwei { grid-template-columns: 1fr; }
  .wahl { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print { .leiste, .korb, .kopf .art { display: none; } }

.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.nw { white-space: nowrap; }
