/* Corinto-Projekt – bewusst schlicht gehalten */
:root {
  --gruen: #1f7a1f;
  --gruen-hell: #eaf5e9;
  --orange: #d35400;
  --orange-hell: #fff3e0;
  --blau-hell: #eef6f9;
  --text: #111;
  --muted: #555;
  --line: #cccccc;
  --card: #fff;
  --bg: #fff;
  --ok: #1f7a1f;
  --ok-soft: #eaf5e9;
  --warn: #8a3a00;
  --warn-soft: #fff3e0;
  --err: #b00020;
  --err-soft: #fdecee;
  --accent: #1f7a1f;
  --radius: 6px;
  color-scheme: light;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 Arial, Helvetica, sans-serif;
}
.wrap { max-width: 560px; margin: 0 auto; padding: 0 14px; }
.pad { padding: 20px 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
h1 { font-size: 24px; margin: 20px 0 8px; }
h2 { font-size: 19px; margin: 24px 0 8px; }
p { margin: 6px 0; }
a { color: #0b5cad; }

/* Kopf */
.top { border-bottom: 3px solid #33cc33; background: #fff; }
.top-inner { display: flex; align-items: center; gap: 10px; padding: 8px 14px; }
.logo { width: 52px; height: 52px; }
.brand { font-size: 21px; font-weight: bold; }
.sub { font-size: 14px; color: var(--muted); }
.foot { color: var(--muted); font-size: 14px; padding: 30px 14px 120px; text-align: center; }
.foot a { color: var(--muted); }

/* Knöpfe */
button { font: inherit; cursor: pointer; }
.btn {
  min-height: 48px; padding: 0 16px; border-radius: var(--radius);
  border: 1px solid #888; background: #f4f4f4; color: var(--text); font-weight: bold;
}
.btn-primary, .btn-ok { background: var(--gruen); border-color: var(--gruen); color: #fff; }
.btn-danger { background: #fff; border-color: var(--err); color: var(--err); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { background: none; border: 0; padding: 4px 0; color: #0b5cad; text-decoration: underline; }

/* Hinweise */
.note { border-radius: var(--radius); padding: 10px 12px; margin: 12px 0; font-size: 16px; }
.note-info { background: var(--blau-hell); }
.note-warn { background: var(--orange-hell); color: var(--warn); }
.note-ok { background: var(--gruen-hell); color: var(--ok); }
.note-err { background: var(--err-soft); color: var(--err); }

/* Pfand-Hinweis: groß und nicht zu übersehen */
.pfand { border: 3px solid var(--orange); background: var(--orange-hell); border-radius: var(--radius); padding: 12px 14px; margin: 16px 0; }
.pfand-titel { font-size: 21px; font-weight: bold; color: var(--orange); }
.pfand-text { margin-top: 4px; font-weight: bold; }
.pfand-countdown { display: block; margin-top: 6px; font-weight: bold; }
.pfand.klein { padding: 8px 12px; border-width: 2px; }
.pfand.klein .pfand-titel { font-size: 18px; }

/* Projekt */
.projekt { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; margin-top: 16px; background: var(--gruen-hell); }
.projekt summary { cursor: pointer; color: #0b5cad; }

/* Raum */
.search { width: 100%; min-height: 48px; padding: 0 12px; font: inherit; border: 1px solid #888; border-radius: var(--radius); background: #fff; }
.raum-row { display: flex; gap: 8px; margin-top: 12px; }
.raum-row .raum-input { flex: 1; font-size: 22px; font-weight: bold; }
.raum-row .raum-input::placeholder { font-weight: normal; font-size: 18px; }
.field-err { color: var(--err); font-size: 15px; min-height: 1.4em; margin: 6px 0; }
.roombar { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; margin-top: 14px; }
.roombar .label { font-size: 14px; color: var(--muted); }
.roombar .val { font-weight: bold; font-size: 19px; }

/* Menü */
.item { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin-bottom: 10px; }
.item-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.item-name { font-weight: bold; font-size: 19px; }
.item-price { font-weight: bold; white-space: nowrap; }
.item-desc, .allerg { color: var(--muted); font-size: 14px; }
.pfand-info { display: block; color: var(--orange); font-size: 14px; font-weight: bold; margin-top: 2px; }
.badge { font-size: 14px; font-weight: normal; color: var(--gruen); margin-left: 6px; }
.soldout { color: var(--err); font-weight: bold; }
.opts { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; width: 100%; }
.opt-name { display: block; font-weight: bold; font-size: 15px; margin: 10px 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 42px; padding: 6px 12px; border: 1px solid #888; border-radius: var(--radius); background: #fff; font-size: 16px; text-align: left; }
.chip small { display: block; font-size: 13px; color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--gruen); border-color: var(--gruen); color: #fff; }
.chip[aria-pressed="true"] small { color: #e8f3e8; }
.opts-actions { display: flex; gap: 8px; margin-top: 10px; align-items: center; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; border: 1px solid #888; border-radius: var(--radius); }
.stepper button { width: 46px; height: 46px; border: 0; background: #f4f4f4; font-size: 22px; font-weight: bold; }
.stepper button[disabled] { opacity: .35; }
.stepper output { min-width: 34px; text-align: center; font-weight: bold; }

/* Warenkorb-Leiste */
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 14px; background: #fff; border-top: 1px solid var(--line); }
.cartbar .btn { width: 100%; max-width: 532px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }

/* Kasse */
.lines { border: 1px solid var(--line); border-radius: var(--radius); }
.line { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--line); }
.line:first-child { border-top: 0; }
.line-main { flex: 1; min-width: 0; }
.line-opts { color: var(--muted); font-size: 14px; }
.line-price { font-weight: bold; white-space: nowrap; }
.total { display: flex; justify-content: space-between; font-size: 20px; font-weight: bold; padding: 12px 2px 4px; }
.subtotal { display: flex; justify-content: space-between; color: var(--muted); padding: 8px 2px 0; }
.kommentar { padding: 8px 12px; min-height: 64px; resize: vertical; }

/* Status */
.ticket { border: 2px solid var(--gruen); border-radius: var(--radius); padding: 14px; text-align: center; margin-top: 16px; }
.ticket .lbl { color: var(--muted); font-size: 15px; }
.ticket .nr { font-size: 64px; font-weight: bold; line-height: 1.1; }
.ticket .where { font-size: 20px; font-weight: bold; }
.steps { list-style: none; padding: 0; margin: 14px 0 4px; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; color: var(--muted); }
.steps li.done { color: var(--gruen); }
.steps li.done::before { content: "✓ "; }
.steps li.now { color: var(--text); font-weight: bold; text-decoration: underline; }
.status-text { font-size: 18px; font-weight: bold; margin: 8px 0 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.tab { min-height: 38px; padding: 0 12px; border: 1px solid #888; border-radius: var(--radius); background: #fff; }
.tab[aria-current="true"] { background: var(--gruen); border-color: var(--gruen); color: #fff; }
.actions { display: grid; gap: 8px; margin-top: 16px; }

/* Textseiten */
.prose { padding-bottom: 40px; }
.prose p { line-height: 1.6; }
mark { background: #ffe58a; padding: 0 2px; }
