/* Öffentliche Seiten: Online-Buchung, Termin, Warteliste, digitaler Bon — Blau / Weiß / Rot wie die Kasse */
:root{
  --blue:#1d4ed8; --blue-dark:#1e3a8a; --blue-soft:#eef4ff; --blue-line:#c7dbff;
  --red:#dc2626; --red-soft:#fef2f2; --ink:#0f172a; --muted:#64748b; --line:#e3e9f2;
  --bg:#f4f7fc; --card:#fff; --ok:#0f9d58;
  --font:-apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial,
         "Noto Naskh Arabic", "Geeza Pro", "Segoe UI Arabic", Tahoma, sans-serif;
}
*{box-sizing:border-box}
[hidden]{display:none !important}
body{margin:0; font-family:var(--font); color:var(--ink); background:var(--bg); font-size:16px; -webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit; color:inherit}
.top{display:flex; align-items:center; gap:12px; padding:14px 16px; background:#fff; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:5}
.pole{width:10px; height:34px; border-radius:6px; flex:none;
  background:repeating-linear-gradient(135deg,var(--red) 0 6px,#fff 6px 12px,var(--blue) 12px 18px,#fff 18px 24px)}
.shop{display:flex; flex-direction:column; min-width:0; flex:1}
.shop b{font-size:17px}
.shop span{font-size:12.5px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.lang{display:flex; gap:4px}
.lang button{border:1px solid var(--line); background:#fff; border-radius:8px; padding:6px 9px; font-size:13px; cursor:pointer}
.lang button.active{background:var(--blue); border-color:var(--blue); color:#fff}
main{max-width:640px; margin:0 auto; padding:18px 16px 60px}
h1{font-size:22px; margin:6px 0 4px}
h2{font-size:15px; margin:22px 0 10px; color:var(--blue-dark); text-transform:uppercase; letter-spacing:.05em}
.muted{color:var(--muted)}
.center{text-align:center}
.card{background:var(--card); border:1px solid var(--line); border-radius:14px; padding:16px; box-shadow:0 1px 2px rgba(15,23,42,.05)}
.list{display:flex; flex-direction:column; gap:8px}
.opt{display:flex; align-items:center; gap:12px; width:100%; text-align:start; background:#fff; border:1.5px solid var(--line);
  border-radius:12px; padding:13px 14px; cursor:pointer}
.opt:hover{border-color:var(--blue-line); background:var(--blue-soft)}
.opt.sel{border-color:var(--blue); background:var(--blue-soft)}
.opt .n{flex:1; font-weight:650}
.opt .s{font-size:13px; color:var(--muted); display:block; font-weight:400}
.opt .p{font-weight:750; color:var(--blue-dark); direction:ltr; unicode-bidi:isolate}
.dot{width:12px; height:12px; border-radius:50%; flex:none}
.days{display:flex; gap:8px; overflow-x:auto; padding-bottom:6px; scroll-snap-type:x mandatory}
.day{flex:none; width:64px; padding:9px 0; border:1.5px solid var(--line); background:#fff; border-radius:12px; text-align:center; cursor:pointer; scroll-snap-align:start}
.day b{display:block; font-size:19px}
.day span{font-size:12px; color:var(--muted)}
.day.sel{border-color:var(--blue); background:var(--blue); color:#fff}
.day.sel span{color:#dbe7ff}
.day:disabled{opacity:.4; cursor:default}
.slots{display:grid; grid-template-columns:repeat(auto-fill,minmax(74px,1fr)); gap:8px}
.slot{padding:11px 0; border:1.5px solid var(--line); background:#fff; border-radius:10px; cursor:pointer; font-weight:650; direction:ltr}
.slot:hover{border-color:var(--blue-line)}
.slot.sel{background:var(--blue); border-color:var(--blue); color:#fff}
.field{display:flex; flex-direction:column; gap:5px; margin-bottom:12px}
.field span{font-size:12px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.05em}
.field input,.field textarea{border:1px solid var(--line); border-radius:10px; padding:12px; background:#fff; width:100%}
.field input:focus,.field textarea:focus{outline:2px solid var(--blue-line); border-color:var(--blue)}
.hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden}
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; border:1.5px solid var(--line); background:#fff;
  border-radius:12px; padding:13px 18px; font-weight:700; cursor:pointer; text-decoration:none; color:inherit}
.btn.primary{background:var(--blue); border-color:var(--blue); color:#fff}
.btn.danger{color:var(--red); border-color:#f3c6c6}
.btn.wide{width:100%}
.btn:disabled{opacity:.5; cursor:default}
.summary{display:grid; grid-template-columns:auto 1fr; gap:6px 14px; margin:0}
.summary dt{color:var(--muted)}
.summary dd{margin:0; font-weight:650}
.ok-big{font-size:46px; color:var(--ok); text-align:center; margin:4px 0}
.err{color:var(--red); font-weight:650}
.note{background:var(--blue-soft); border:1px solid var(--blue-line); border-radius:12px; padding:12px 14px; font-size:14px}
.sticky-foot{position:sticky; bottom:0; background:linear-gradient(transparent,var(--bg) 30%); padding-top:18px; margin-top:12px}
/* Bon */
.receipt{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size:14px; background:#fff; border:1px solid var(--line);
  border-radius:12px; padding:18px; direction:ltr; text-align:left}
.receipt .r{display:flex; justify-content:space-between; gap:10px}
.receipt .line{border-top:1px dashed #cbd5e1; margin:9px 0}
.receipt .big{font-size:17px; font-weight:800}
.receipt h3{text-align:center; margin:0 0 4px; font-family:var(--font)}
.receipt .c{text-align:center}
.stamp{color:var(--red); text-align:center; font-weight:800; border:2px solid var(--red); border-radius:8px; padding:4px; margin:8px 0}
/* Warteliste-Bildschirm */
body[data-page="warteliste"]{background:var(--blue-dark); color:#fff}
body[data-page="warteliste"] .top{background:var(--blue-dark); border-color:#2b4aa8}
body[data-page="warteliste"] .shop span{color:#c7dbff}
body[data-page="warteliste"] main{max-width:1100px}
.wl-grid{display:grid; grid-template-columns:1fr 1fr; gap:22px}
.wl-col h2{color:#c7dbff; font-size:18px}
.wl-item{display:flex; align-items:center; gap:16px; background:rgba(255,255,255,.08); border-radius:16px; padding:16px 20px; margin-bottom:10px; font-size:24px}
.wl-item .num{font-size:40px; font-weight:800; min-width:70px; direction:ltr}
.wl-item .who{flex:1}
.wl-item .eta{font-size:18px; color:#c7dbff}
.wl-item.called{background:#fff; color:var(--blue-dark)}
.wl-item.called .eta{color:var(--red); font-weight:800}
.wl-empty{color:#c7dbff; font-size:20px}
@media (max-width:700px){.wl-grid{grid-template-columns:1fr}}
@media (prefers-reduced-motion:no-preference){.wl-item.called{animation:pulse 2s ease-in-out 3}}
@keyframes pulse{50%{transform:scale(1.02)}}
@media print{.top .lang,.no-print{display:none !important} body{background:#fff}}
body[data-page="warteliste"] .lang button{color:var(--ink)}
body[data-page="warteliste"] .lang button.active{color:#fff}
.top .logo{height:38px; width:auto; flex:none}
body[data-page="warteliste"] .top .logo{filter:invert(1)}

/* Edel: Marineblau / feines Rot / Weiß */
:root{--blue:#1d3461; --blue-dark:#132545; --blue-soft:#eef2f9; --blue-line:#ccd7ea; --red:#b4232f; --ink:#142036; --muted:#6b7487; --line:#e2e7f0; --bg:#f5f7fb}
h1,h2,.shop b{font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif; font-weight:600}
.top{box-shadow:inset 0 -1px 0 var(--line); border-bottom:0; position:sticky}
.top::after{content:""; position:absolute; left:0; right:0; bottom:0; height:3px; background:repeating-linear-gradient(135deg,var(--red) 0 7px,#fff 7px 14px,var(--blue) 14px 21px,#fff 21px 28px)}
.pole{display:none}

:root{--blue:#2f5fb3; --blue-dark:#264f96; --blue-soft:#f1f5fc; --blue-line:#d5e1f4; --red:#d23a45; --ink:#24324a; --muted:#7a8496; --line:#eaeef5; --bg:#fbfcfe}
