/* Reservation: Schritte links, Sitzplan rechts (auf dem Handy untereinander).
   Farben kommen aus den Tokens in base.css; die Seiten tragen body.night wie die Startseite. */
.bk-tb { height: 64px; display: flex; align-items: center; gap: 24px; padding: 0 clamp(16px, 3vw, 40px); }
.bk-tb .wordmark { margin-right: auto; }
.bk-back { font-size: 15px; color: var(--fg-2); text-decoration: none; }
.bk-back:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

.bk {
  display: grid; min-height: calc(100vh - 65px);
  grid-template-columns: minmax(380px, 500px) minmax(0, 1fr);
  grid-template-areas: "steps plan" "details plan"; grid-template-rows: auto 1fr;
}
.bk-steps { grid-area: steps; padding: 30px clamp(20px, 3vw, 44px) 0; }
.bk-details { grid-area: details; padding: 0 clamp(20px, 3vw, 44px) 90px; }
.bk-plan {
  grid-area: plan; position: sticky; top: 65px; height: calc(100vh - 65px); height: calc(100svh - 65px);
  display: flex; flex-direction: column; gap: 14px; padding: 22px 26px 20px; background: var(--bg-2); border-left: 1px solid var(--line);
}
.bk-steps, .bk-details, .bk-plan { min-width: 0; }

.bk-venue { display: flex; align-items: center; gap: 14px; }
.bk-venue img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--bg-3); }
.bv-name { margin: 0; font-weight: 600; font-size: 16px; }
.bv-addr { margin: 0; font-size: 14px; color: var(--mute); }
.bk-title { font-size: clamp(30px, 3vw, 36px); margin: 22px 0 6px; }
.bk-welcome { margin-top: 14px; }

/* Schritte */
.step { padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.bk-details .step:last-child { border-bottom: 0; }
.step-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.step-h { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 14px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.muted-off { opacity: .3; pointer-events: none; }

/* Personen: zwölf Hocker wie im Sitzplan, nummeriert; so viele leuchten, wie Personen kommen */
.step-val { margin: 0; font-size: 15px; color: var(--fg-2); white-space: nowrap; }
.step-val b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--fg); margin-right: 3px; }
.stools { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; padding: 2px 0; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.stool { min-width: 0; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.stool i { width: 100%; max-width: 32px; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--line-3); display: grid; place-items: center; font: 600 12px/1 var(--sans); font-style: normal; color: var(--mute); transition: background .15s, border-color .15s, color .15s; }
.stool.on i { color: var(--on-velvet); }
.stool.last i { box-shadow: 0 0 0 3px rgba(243, 154, 61, .25); }
.stool:hover i { border-color: var(--fg); }
.stool.on i { background: var(--velvet); border-color: var(--velvet); }
.stool:focus-visible { outline: none; }
.stool:focus-visible i { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .stool.on i { animation: stool-on .28s var(--ease); } }
@keyframes stool-on { from { transform: scale(.72); } }
.party-hint { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 14px; margin: 10px 0 0; color: var(--mute); }
.party-hint .link { font-size: 13px; font-weight: 500; color: var(--fg-2); }
.party-big { margin-top: 14px; }
.party-big p { margin: 0; }

/* Datumsleiste: unter jedem Abend steht, was los ist (Spiel, Event, voll) */
.dstrip-wrap { margin: 0 calc(-1 * clamp(20px, 3vw, 44px)); position: relative; }
.dstrip { display: flex; gap: 4px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px clamp(20px, 3vw, 44px) 6px; scroll-padding-inline: clamp(20px, 3vw, 44px); scrollbar-width: none; }
.dstrip::-webkit-scrollbar { display: none; }
.dd {
  flex: none; width: 56px; padding: 9px 0 8px; border-radius: 12px; border: 0; background: transparent; color: var(--fg);
  display: grid; justify-items: center; gap: 3px; scroll-snap-align: start; transition: background .15s, color .15s;
}
.dd:hover { background: var(--bg-2); }
.dd .w { font-size: 12px; font-weight: 500; color: var(--mute); }
.dd .n { font-size: 20px; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.dd .tag { display: inline-flex; align-items: center; justify-content: center; gap: 3px; height: 14px; max-width: 54px; overflow: hidden; font-size: 10.5px; font-weight: 600; white-space: nowrap; color: var(--mute); }
.dd .tag .ico { width: 12px; height: 12px; stroke-width: 2; }
.dd[data-k="game"] .tag { color: #ffd4a6; }
.dd[data-k="event"] .tag { color: var(--velvet); }
.dd[data-k="few"] .tag { color: var(--warn); }
.dd[data-s="full"] .n { color: var(--mute); text-decoration: line-through; text-decoration-thickness: 1px; }
.dd[aria-selected="true"] { background: var(--fg); color: var(--on-fg); }
.dd[aria-selected="true"] .w, .dd[aria-selected="true"] .tag { color: color-mix(in srgb, var(--on-fg) 70%, transparent); }
.dd[aria-selected="true"] .n { color: var(--on-fg); text-decoration: none; }
.day-line { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--fg-2); }
.day-line:empty { display: none; }
.day-line b { color: var(--fg); font-weight: 600; }
.day-line .dl-i { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: #ffd4a6; font-weight: 500; }
.day-line .dl-ev { color: var(--velvet); }
.day-line .ico { width: 16px; height: 16px; }

/* Kalender */
.cal { margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-month { font-weight: 600; font-size: 16px; }
.cal-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); color: var(--fg); display: grid; place-items: center; }
.cal-nav .ico { width: 18px; height: 18px; }
.cal-nav:hover:not([disabled]) { border-color: var(--fg); }
.cal-nav[disabled] { opacity: .3; cursor: default; }
.cal-wd, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-wd span { text-align: center; font-size: 12px; color: var(--mute); padding: 4px 0; }
.cal-grid button {
  position: relative; aspect-ratio: 1; min-height: 38px; border-radius: 50%; border: 0; background: transparent;
  font-size: 15px; font-weight: 500; color: var(--fg); transition: background .15s, color .15s;
}
.cal-grid button::after { content: ''; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: transparent; }
.cal-grid button[data-s="open"]::after { background: var(--ok); }
.cal-grid button[data-s="few"]::after { background: var(--warn); }
.cal-grid button[data-s="full"] { color: var(--mute); text-decoration: line-through; text-decoration-thickness: 1px; }
.cal-grid button[data-s="closed"], .cal-grid button[data-s="past"], .cal-grid button[data-s="later"] { color: var(--dim); cursor: default; }
.cal-grid button:not([disabled]):hover { background: var(--bg-2); }
.cal-grid button[aria-selected="true"] { background: var(--fg); color: var(--on-fg); }
.cal-grid button[aria-selected="true"]::after { background: var(--on-fg); }
.cal-grid button .ev { position: absolute; top: 5px; right: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--velvet); }
.cal-grid button[data-today] { box-shadow: inset 0 0 0 1px var(--line-2); }
.cal-grid .blank { visibility: hidden; }
.cal-key { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; color: var(--mute); font-size: 13px; }
.cal-key span { display: inline-flex; align-items: center; gap: 6px; }
.cal-key i { width: 7px; height: 7px; border-radius: 50%; }
.k-open { background: var(--ok); } .k-few { background: var(--warn); } .k-full { background: var(--line-2); } .k-ev { background: var(--velvet); }

/* Uhrzeit: Ankunft antippen. Gelber Punkt = nur noch wenig frei, kleiner Bildschirm = Anstoss in dieser halben Stunde */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; }
.slot {
  position: relative; min-height: 44px; border-radius: 10px; border: 1.5px solid var(--velvet); background: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  font-weight: 600; font-size: 15px; color: var(--velvet); transition: background .15s, color .15s, border-color .15s;
}
.slot:hover { background: var(--velvet-50); }
.slot[data-level="few"]::after { content: ''; position: absolute; top: 6px; right: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--warn); }
.slot.full { border: 1px dashed var(--line-2); color: var(--mute); font-weight: 500; }
.slot.full .ico { width: 14px; height: 14px; }
.slot.full:hover { background: var(--bg-2); color: var(--fg); }
.slot[aria-pressed="true"] { background: var(--velvet); border-color: var(--velvet); color: var(--on-velvet); }
.slot[aria-pressed="true"]::after { background: var(--on-velvet); }
.slot .kick { position: absolute; top: -9px; left: -7px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid rgba(255, 212, 166, .7); color: #ffd4a6; }
.slot .kick .ico { width: 12px; height: 12px; stroke-width: 2; }
.slot-group { grid-column: 1 / -1; margin: 8px 0 0; font-size: 13px; font-weight: 500; color: var(--mute); }
.slot-group:first-child { margin-top: 0; }
@media (prefers-reduced-motion: no-preference) { .slot { animation: slot-in .35s var(--ease) both; animation-delay: calc(var(--i, 0) * 16ms); } }
@keyframes slot-in { from { opacity: 0; transform: translateY(5px); } }
.dur { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 20px; }
.wait { margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--bg-2); }
.wait-top { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.wait-top .ico { margin-top: 1px; }
.wait-h { margin: 0; color: var(--fg-2); font-size: 15px; }
.wait-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wait-grid .wide { grid-column: 1 / -1; }

/* Plan-Seite */
.bp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; }
.bp-when { font-size: 17px; font-weight: 600; }
.bp-stage { flex: 1; min-height: 0; position: relative; display: flex; align-items: center; justify-content: center; }
.bp-plan { width: 100%; max-height: 100%; aspect-ratio: 1000 / 720; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--pl-floor); box-shadow: var(--shadow-1); }
.bp-plan .plan { height: 100%; }
@supports (height: 1cqh) { .bp-stage { container-type: size; } .bp-plan { width: min(100cqw, 100cqh * 1000 / 720); } }
.bp-veil { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; text-align: center; background: var(--veil); backdrop-filter: blur(3px); transition: opacity .4s var(--ease), visibility .4s; color: var(--fg); font-size: 16px; font-weight: 500; }
.bp-veil p { max-width: 22em; margin: 0; padding: 14px 18px; border-radius: 12px; background: var(--bg); box-shadow: var(--shadow-2); }
.bp-veil.off { opacity: 0; visibility: hidden; }
.bp-areas { justify-content: center; }

/* Tischwahl */
.pick-card { display: grid; gap: 12px; }
.pick-top { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.pick-name { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.pick-tag { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--velvet-50); color: var(--velvet); white-space: nowrap; }
.pick-tag.mine { background: var(--fg); color: var(--on-fg); }
.pick-desc { color: var(--fg-2); margin: 0; font-size: 15px; }
.pick-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.pick-facts span { font-size: 13px; padding: 5px 10px; border-radius: 8px; background: var(--bg-2); color: var(--fg-2); }
.pick-alt { font-size: 14px; color: var(--mute); margin: 0; }
.pick-alt button { background: none; border: 0; padding: 0; color: var(--fg); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.pick-empty { color: var(--fg-2); margin: 0; }
.pick .btn.primary { min-height: 50px; }

/* Halten und Formular */
.pick-held { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--ok-50); }
.pick-held .ico { color: var(--ok); }
.pick-held p { margin: 0; flex: 1; font-size: 15px; color: var(--fg-2); }
.pick-held b { color: var(--fg); }
.hold { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--velvet-50); margin-bottom: 18px; }
.hold p { margin: 0; font-size: 15px; color: var(--fg-2); line-height: 1.4; }
.hold b { color: var(--fg); font-variant-numeric: tabular-nums; }
.hold-ring { width: 34px; height: 34px; transform: rotate(-90deg); }
.hold-ring circle { fill: none; stroke: var(--velvet-100); stroke-width: 3.5; }
.hold-ring .hold-arc { stroke: var(--velvet); stroke-linecap: round; stroke-dasharray: 97.4; transition: stroke-dashoffset 1s linear; }
.hold.expired { background: var(--warn-50); }
.hold.expired .hold-arc { stroke: var(--warn); }
.sum { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; font-weight: 500; }
.sum li { display: inline-flex; align-items: center; gap: 8px; }
.sum .ico { width: 18px; height: 18px; color: var(--mute); }
.guest { display: grid; gap: 18px; }
.guest .step-h { margin-bottom: 0; }
.guest .hold, .guest .sum { margin-bottom: 0; }
.g-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.occ { border: 0; padding: 0; margin: 0; }
.occ legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 500; color: var(--fg-2); }
.occ-row { display: flex; flex-wrap: wrap; gap: 6px; }
.occ-row button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); color: var(--fg-2); font-size: 14px; font-weight: 500; }
.occ-row button:hover { border-color: var(--fg); color: var(--fg); }
.occ-row button[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--on-fg); }
.pre { border: 1px solid var(--line-2); border-radius: 12px; }
.pre summary { list-style: none; cursor: pointer; padding: 13px 15px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.pre summary::-webkit-details-marker { display: none; }
.pre-t { display: inline-flex; align-items: center; gap: 10px; }
.pre summary em { font-style: normal; font-weight: 400; color: var(--mute); text-align: right; font-size: 14px; }
.pre summary::after { content: ''; flex: none; width: 11px; height: 11px; background: linear-gradient(currentColor, currentColor) center / 11px 1.6px no-repeat, linear-gradient(currentColor, currentColor) center / 1.6px 11px no-repeat; transition: transform .2s; }
.pre[open] summary::after { transform: rotate(45deg); }
.pre-body { padding: 0 15px 15px; display: grid; gap: 14px; }
.flavours { display: flex; flex-wrap: wrap; gap: 6px; }
.fl { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px 0 10px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); font-size: 14px; color: var(--fg-2); }
.fl i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.fl:hover { border-color: var(--fg); }
.fl[aria-pressed="true"] { border-color: var(--fg); background: var(--fg); color: var(--on-fg); }
.fl[disabled] { opacity: .4; }
.pre-opts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.checks { display: grid; gap: 12px; }
.fine { margin: 0; }
.fine a { color: var(--fg-2); }
.form-err { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--bad-50); color: var(--bad); font-size: 15px; font-weight: 500; }
.submit { width: 100%; min-height: 54px; font-size: 16px; }
.house .house-h { font-weight: 600; color: var(--fg); margin-bottom: 2px; }

/* Leiste unten auf dem Handy */
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--sheet-bg); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -14px rgba(29, 25, 23, .22);
  display: flex; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .35s var(--ease);
}
.sheet.show { transform: none; }
.sheet .sh-t { flex: 1; min-width: 0; font-size: 14px; color: var(--mute); line-height: 1.3; }
.sheet .sh-t b { display: block; color: var(--fg); font-size: 16px; font-weight: 600; }

/* ---------- Bestätigung ---------- */
#done { min-height: calc(100vh - 65px); padding: 48px var(--gutter) 80px; background: var(--bg-2); }
.done-in { width: min(100%, 620px); margin: 0 auto; }
.done-check { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: var(--on-ok); display: grid; place-items: center; }
.done-check .ico { width: 30px; height: 30px; stroke-width: 2.4; }
.done-check.req { background: var(--warn); }
.js #done:not([hidden]) .done-check .ico { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw-check .5s .2s var(--ease) forwards; }
@keyframes draw-check { to { stroke-dashoffset: 0; } }
.js #done:not([hidden]) .done-check { animation: pop .45s var(--ease) both; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .js #done:not([hidden]) .done-check, .js #done:not([hidden]) .done-check .ico { animation: none; stroke-dashoffset: 0; } }
#done h1 { margin: 20px 0 8px; font-size: clamp(30px, 4vw, 38px); }
.done-lede { color: var(--fg-2); font-size: 17px; margin: 0 0 26px; }
.rcard { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-2); overflow: hidden; }
.rc-top { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.rc-top img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.rc-top p { margin: 0; }
.rc-top .n { font-weight: 600; }
.rc-top .a { font-size: 14px; color: var(--mute); }
.rc-st { margin-left: auto; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--ok-50); color: var(--ok); white-space: nowrap; }
.rc-st.req { background: var(--warn-50); color: var(--warn); }
.rc-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; padding: 20px; align-items: center; }
.rc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rc-list li { display: flex; gap: 12px; align-items: center; font-size: 16px; }
.rc-list .ico { color: var(--mute); }
.rc-list b { font-weight: 600; }
.rc-qr { text-align: center; }
.rc-qr img { width: 118px; height: 118px; margin: 0 auto; }
.rc-qr .code { margin-top: 6px; font-weight: 700; font-size: 18px; letter-spacing: .14em; }
.rc-qr .cl { font-size: 12px; color: var(--mute); }
.rc-mix { padding: 14px 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--fg-2); display: flex; gap: 10px; align-items: flex-start; text-align: left; }
.rc-mix .ico { flex: none; margin-top: 1px; }
.done-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.done-actions .btn { width: 100%; }
.done-actions .btn.primary { grid-column: 1 / -1; }
#done .note { margin-top: 18px; background: var(--bg); border: 1px solid var(--line); }

/* ---------- schmal ---------- */
@media (min-width: 1021px) { .sheet { display: none; } }
@media (max-width: 1020px) {
  .bk { grid-template-columns: minmax(0, 1fr); grid-template-areas: "steps" "plan" "details"; grid-template-rows: auto; }
  .bk-plan { position: relative; top: 0; height: auto; border-left: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px var(--gutter) 16px; }
  .bp-plan { width: 100%; max-height: none; }
  .bp-stage { display: block; container-type: normal; }
  .bk-steps .step:last-child { border-bottom: 0; }
}
@media (max-width: 720px) {
  .bk-back { display: none; }
  .bk-steps { padding: 22px var(--gutter) 0; }
  .bk-details { padding: 0 var(--gutter) 120px; }
  .dstrip-wrap { margin: 0 calc(-1 * var(--gutter)); }
  .dstrip { padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding-inline: var(--gutter); }
  .bk-plan { padding: 18px 10px 14px; }
  .bp-head { padding: 0 calc(var(--gutter) - 10px); }
  .bp-when { font-size: 16px; }
  .bp-head .plan-legend { gap: 4px 12px; font-size: 12px; }
  .bp-areas { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 0 calc(var(--gutter) - 10px) 4px; scrollbar-width: none; }
  .bp-areas::-webkit-scrollbar { display: none; }
  .bp-areas .chip { flex: none; }
  .g-grid, .wait-grid { grid-template-columns: 1fr; }
  .rc-body { grid-template-columns: 1fr; }
  .done-actions { grid-template-columns: 1fr; }
  .rc-qr { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; text-align: left; padding-top: 16px; border-top: 1px solid var(--line); }
  .rc-qr img { width: 92px; height: 92px; margin: 0; }
  #done { padding-top: 32px; }
}

/* ---------- Handy: kompakt wie eine App ---------- */
@media (max-width: 720px) {
  .bk-tb { height: 56px; }
  .bk-steps { padding-top: 16px; }
  .bk-venue { gap: 12px; }
  .bk-venue img { width: 40px; height: 40px; border-radius: 10px; }
  .bv-name { font-size: 15px; }
  .bv-addr { font-size: 13px; }
  .bk-title { font-size: 27px; margin: 14px 0 0; }
  .bk-welcome { margin-top: 10px; }
  .step { padding: 18px 0; }
  .step-h { font-size: 16px; margin-bottom: 10px; }
  .step-top .link { font-size: 13px; }

  /* Personen */
  .stools { gap: 4px; }
  .step-val b { font-size: 20px; }

  /* Datum */
  .dd { width: 50px; padding: 8px 0 7px; border-radius: 11px; }
  .dd .n { font-size: 18px; }
  .dd .w { font-size: 11px; }
  .day-line { font-size: 13.5px; }

  /* Uhrzeit: vier pro Zeile, alle auf einen Blick */
  .slots { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
  .slot { min-height: 44px; }
  .dur { margin-top: 14px; gap: 8px; }
  .dur > .small { font-size: 13px; }
  .dur .seg { display: flex; width: 100%; }
  .dur .seg button { flex: 1; padding: 0 4px; }

  /* Plan und Tisch */
  .bk-plan { padding: 14px 8px 12px; gap: 10px; }
  .bp-head { padding: 0 calc(var(--gutter) - 8px); }
  .bp-when { font-size: 15px; }
  .bk-details { padding-bottom: 130px; }
  .pick-name { font-size: 21px; }
  .pick-desc { font-size: 14px; }

  /* Angaben: Knopf bleibt unten sichtbar, solange das Formular im Bild ist */
  .guest { gap: 14px; }
  .g-grid { gap: 10px; }
  .field > span { font-size: 13px; }
  .field input { min-height: 46px; }
  .submit { position: sticky; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 5; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .75); }

  /* Leiste unten mit Griff wie ein App-Blatt */
  .sheet { border-radius: 18px 18px 0 0; padding-top: 18px; }
  .sheet::before { content: ''; position: absolute; top: 7px; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: var(--line-2); }

  #done { padding-top: 24px; }
  #done h1 { margin-top: 14px; font-size: 28px; }
  .done-lede { font-size: 15px; margin-bottom: 18px; }
  .done-check { width: 48px; height: 48px; }
}

/* ---------- Reservation verwalten ---------- */
.manage #done { padding-top: 40px; }
.manage #done h1 { margin-top: 0; }
.rc-st.off { background: var(--bg-3); color: var(--mute); }
.rcard.is-off .rc-list { color: var(--mute); }
.rcard.is-off .rc-list b { text-decoration: line-through; text-decoration-thickness: 1px; }
.mg-panel { margin-top: 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.mg-row { display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; padding: 16px 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.mg-panel > .mg-row:first-child { border-top: 0; }
.mg-l { display: flex; gap: 14px; align-items: flex-start; min-width: 0; flex: 1 1 260px; }
.mg-l .ico { margin-top: 2px; color: var(--mute); }
.mg-l b { display: block; font-weight: 600; }
.mg-l span { display: block; font-size: 14px; color: var(--mute); }
.mg-change { padding: 0 20px 18px; display: grid; gap: 12px; }
.mg-change .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mg-change select { appearance: none; -webkit-appearance: none; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b726d' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6.5 9.5l5.5 5.5 5.5-5.5'/%3E%3C/svg%3E") right 10px center / 17px no-repeat; padding-right: 34px; }
.mg-staff { margin-top: 18px; }
.mg-staff a { color: var(--fg); }
dialog.confirm { border: 0; border-radius: 18px; background: var(--bg); color: var(--fg); padding: 26px; max-width: 420px; width: calc(100% - 32px); box-shadow: var(--shadow-3); }
dialog.confirm::backdrop { background: rgba(23, 19, 18, .45); backdrop-filter: blur(3px); }
dialog.confirm h3 { font-size: 20px; margin-bottom: 8px; }
dialog.confirm p { color: var(--fg-2); }
@media (max-width: 720px) {
  .mg-change .g3 { grid-template-columns: 1fr; }
  .mg-row { padding: 14px 16px; }
  .mg-row > .btn, .mg-row > .seg { margin-left: 30px; }
}

/* ---------- bei Nacht (body.night): wie die Startseite ---------- */
.night .slot { border-color: rgba(243, 154, 61, .55); background: rgba(243, 154, 61, .07); color: #ffd4a6; }
.night .slot:hover { background: var(--glow); border-color: var(--glow); color: var(--on-velvet); }
.night .slot[aria-pressed="true"] { background: var(--glow); border-color: var(--glow); color: var(--on-velvet); }
.night .slot.full { border-color: var(--line-2); background: transparent; color: var(--mute); }
.night .slot.full:hover { background: var(--bg-2); color: var(--fg); }
.night .pick-tag { background: rgba(243, 154, 61, .16); color: #ffc58a; }
.night .pick-tag.mine { background: var(--glow); color: var(--on-velvet); }
.night .bk-plan { background: var(--bg-2); }
.night .bp-plan { border-color: rgba(244, 236, 226, .1); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9); }
.night .sheet { box-shadow: 0 -12px 34px -16px rgba(0, 0, 0, .8); }
.night #done { background: var(--bg); }
.night .rcard, .night .mg-panel, .night #done .note { background: var(--bg-2); }
.night .rc-qr img { background: var(--cream); padding: 9px; border-radius: 10px; }
.night dialog.confirm { background: var(--bg-2); border: 1px solid var(--line); }
.night dialog.confirm::backdrop { background: rgba(8, 6, 5, .7); }
.night .bk-venue img { box-shadow: 0 0 0 1px var(--line); }
