:root{--ink:#16231f;--muted:#65716c;--paper:#f5f2e9;--surface:#fffdfa;--forest:#143c31;--forest-2:#1d5544;--gold:#e4ad43;--red:#b84b3d;--line:#ddd9ce;--shadow:0 12px 32px rgba(25,42,35,.1);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
[hidden]{display:none!important}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 80% 0,rgba(228,173,67,.12),transparent 28rem),var(--paper)}button,input,select,textarea{font:inherit}button{cursor:pointer}.offline-banner{position:fixed;z-index:99;top:0;left:0;right:0;padding:.65rem;text-align:center;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:#fff;background:var(--red)}.offline-banner:not([hidden])~.app-header{top:2.55rem}.app-header{position:sticky;z-index:20;top:0;display:flex;align-items:center;justify-content:space-between;min-height:74px;padding:.7rem clamp(1rem,3vw,2rem);background:rgba(255,253,250,.92);border-bottom:1px solid var(--line);backdrop-filter:blur(14px)}.brand{display:flex;gap:.75rem;align-items:center;padding:0;border:0;color:var(--ink);background:none;text-align:left}.brand-mark{display:grid;place-items:center;width:47px;height:47px;border-radius:14px;color:#fff;background:var(--forest);font-weight:950;letter-spacing:-.04em}.brand strong,.brand small{display:block}.brand strong{font-size:1.1rem}.brand small{margin-top:.1rem;color:var(--muted);font-size:.72rem}.header-actions{display:flex;align-items:center;gap:.65rem}.connection-dot{width:10px;height:10px;border-radius:50%;background:#9da49f;box-shadow:0 0 0 4px rgba(157,164,159,.16)}.connection-dot.online{background:#3b9b64;box-shadow:0 0 0 4px rgba(59,155,100,.16)}.operator-chip{padding:.65rem .85rem;border:1px solid #cbd4ce;border-radius:999px;background:#edf3ef;color:var(--forest);font-weight:850}.app-shell{width:min(1500px,100%);margin:auto;padding:clamp(1rem,3vw,2rem)}.screen{min-height:calc(100vh - 145px)}.auth-screen{display:grid;place-items:center}.auth-card{width:min(460px,100%);padding:clamp(1.4rem,5vw,2.5rem);border:1px solid var(--line);border-radius:28px;background:var(--surface);box-shadow:var(--shadow)}.eyebrow{margin:0 0 .35rem;color:var(--forest-2);font-size:.72rem;font-weight:950;letter-spacing:.13em;text-transform:uppercase}h1,h2,p{margin-top:0}h1{margin-bottom:.55rem;font-size:clamp(1.7rem,5vw,2.65rem);line-height:1.05;letter-spacing:-.045em}h2{margin-bottom:.6rem;letter-spacing:-.03em}.lede{color:var(--muted);line-height:1.55}label{display:grid;gap:.42rem;margin:1rem 0;font-weight:750}label span{font-size:.83rem}input,select,textarea{width:100%;border:1px solid #c9cec9;border-radius:12px;padding:.85rem;background:#fff;color:var(--ink)}input:focus,select:focus,textarea:focus{outline:3px solid rgba(228,173,67,.3);border-color:#bd8720}.primary,.quiet,.settle-button,.back-button,.chef-entry,.danger-quiet{min-height:48px;border:0;border-radius:12px;padding:.75rem 1rem;font-weight:900}.primary{color:#fff;background:var(--forest)}.primary:disabled{background:#aeb6b2;cursor:not-allowed}.full{width:100%}.form-message{min-height:1.4rem;margin:.8rem 0 0;color:var(--red);font-weight:750}.screen-heading,.order-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.2rem}.screen-heading h1,.order-toolbar h1{margin:0}.quiet,.back-button{border:1px solid var(--line);background:var(--surface);color:var(--ink)}.operator-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:.85rem}.operator-button{min-height:116px;padding:1rem;border:2px solid transparent;border-radius:20px;background:var(--surface);box-shadow:0 5px 18px rgba(30,45,38,.08);color:var(--forest);font-size:1.2rem;font-weight:950}.operator-button small{display:block;margin-top:.4rem;color:var(--muted);font-size:.8rem}.operator-button:active{transform:scale(.98);border-color:var(--gold)}.chef-entry{display:flex;justify-content:space-between;width:100%;margin-top:1rem;background:#242b28;color:#fff;text-align:left}.chef-entry span{color:#c9d0cc;font-weight:600}.status-legend{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1rem;color:var(--muted);font-size:.82rem;font-weight:750}.status-legend span{display:flex;align-items:center;gap:.4rem}.status-legend i{width:10px;height:10px;border-radius:50%}.status-legend .free{background:#8ca096}.status-legend .open{background:var(--gold)}.status-legend .partial{background:#6d74bf}.table-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.table-card{position:relative;min-height:112px;padding:.9rem;border:1px solid var(--line);border-radius:17px;background:var(--surface);box-shadow:0 3px 13px rgba(33,45,39,.05);text-align:left}.table-card::after{content:"";position:absolute;top:.75rem;right:.75rem;width:11px;height:11px;border-radius:50%;background:#8ca096}.table-card.open{border-color:#dbb15e;background:#fffaf0}.table-card.open::after{background:var(--gold)}.table-card.partial{border-color:#9da2d4;background:#f8f8ff}.table-card.partial::after{background:#6d74bf}.table-number{display:block;font-size:1.08rem;font-weight:950}.table-status{display:block;margin-top:.45rem;color:var(--muted);font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.table-amount{display:block;margin-top:.2rem;font-size:1.1rem;font-weight:950}.order-toolbar{position:sticky;z-index:10;top:75px;padding:.65rem 0;background:linear-gradient(var(--paper) 80%,transparent)}.settle-button{background:#e8dbbf;color:#3d321c}.order-layout{display:grid;gap:1rem}.category-tabs{display:flex;gap:.45rem;overflow:auto;padding-bottom:.65rem;scrollbar-width:none}.category-tab{flex:0 0 auto;min-height:45px;padding:.65rem .9rem;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-weight:850}.category-tab.active{border-color:var(--forest);background:var(--forest);color:#fff}.article-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.article-button{position:relative;min-height:112px;padding:.85rem;border:1px solid var(--line);border-radius:17px;background:var(--surface);text-align:left}.article-button strong,.article-button small,.article-button em{display:block}.article-button strong{padding-right:1.4rem;font-size:1rem;line-height:1.16}.article-button small{margin:.35rem 0 .6rem;color:var(--muted);line-height:1.25}.article-button em{color:var(--forest);font-style:normal;font-weight:950}.article-button .station-tag{position:absolute;top:.75rem;right:.7rem;font-size:.7rem}.article-button:disabled{opacity:.52;cursor:not-allowed}.sold-out{position:absolute;inset:auto .65rem .65rem;padding:.25rem .5rem;border-radius:6px;background:var(--red);color:#fff;font-size:.68rem;font-weight:900}.cart-panel{display:flex;flex-direction:column;min-height:420px;border:1px solid var(--line);border-radius:22px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden}.cart-heading{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid var(--line)}.cart-heading h2{margin:0}.cart-count{display:grid;place-items:center;min-width:34px;height:34px;border-radius:999px;background:#edf2ee;font-weight:900}.cart-empty{display:grid;place-items:center;align-content:center;flex:1;min-height:180px;padding:2rem;color:var(--muted);text-align:center}.cart-empty span{display:grid;place-items:center;width:50px;height:50px;margin-bottom:.7rem;border:1px dashed #aeb8b2;border-radius:50%;font-size:1.7rem}.cart-empty small{margin-top:.3rem}.cart-list{flex:1}.cart-row{display:grid;grid-template-columns:1fr auto;gap:.5rem;padding:.9rem 1rem;border-bottom:1px solid #ece9df;background:none;cursor:pointer}.cart-row strong,.cart-row small{display:block}.cart-row small{margin-top:.2rem;color:var(--muted)}.cart-comment{color:#7e5811!important}.cart-price{font-weight:900}.cart-footer{padding:1rem;border-top:1px solid var(--line);background:#fbfaf6}.cart-total{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:.8rem}.cart-total strong{font-size:1.45rem}.submit-order{min-height:58px;font-size:1.03rem}.submit-hint{min-height:1rem;margin:.55rem 0 0;color:var(--red);font-size:.78rem;text-align:center}.version-footer{padding:.6rem 1rem 1.2rem;color:#7b8580;font-size:.7rem;text-align:center}.app-dialog{width:min(500px,calc(100% - 1.2rem));border:0;border-radius:24px;padding:1.35rem;background:var(--surface);box-shadow:0 30px 80px rgba(0,0,0,.25)}.app-dialog::backdrop{background:rgba(9,20,16,.62);backdrop-filter:blur(3px)}.dialog-close{float:right;width:42px;height:42px;border:0;border-radius:50%;background:#edf0ed;font-size:1.4rem}.variant-grid{display:grid;gap:.65rem;margin-top:1rem}.variant-button{min-height:70px;border:1px solid var(--line);border-radius:15px;padding:.8rem;background:#fff;text-align:left;font-weight:900}.variant-button span{float:right;color:var(--forest)}.quantity-editor{display:grid;grid-template-columns:64px 1fr 64px;align-items:center;margin:1.1rem 0;border:1px solid var(--line);border-radius:16px;overflow:hidden}.quantity-editor button{height:58px;border:0;background:#edf2ee;font-size:1.35rem}.quantity-editor strong{text-align:center;font-size:1.3rem}.dialog-actions{display:flex;justify-content:space-between;gap:.65rem;margin-top:1rem}.danger-quiet{color:var(--red);background:#f8e9e6}.message-dialog{max-width:420px}.message-dialog h2{padding-right:2rem}.message-dialog p{color:var(--muted);line-height:1.5}
@media(min-width:700px){.table-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.article-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.order-layout{grid-template-columns:minmax(0,1fr) 360px}.cart-panel{position:sticky;top:152px;height:calc(100vh - 175px)}.order-screen{padding-bottom:0}}
@media(min-width:1100px){.table-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:.85rem}.table-card{min-height:130px}.article-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.app-shell{padding-top:1.5rem}}
@media(max-width:699px){.brand small{display:none}.app-shell{padding:.8rem}.screen-heading{align-items:flex-end}.order-toolbar{top:73px}.order-toolbar .eyebrow{display:none}.order-toolbar h1{font-size:1.35rem}.settle-button,.back-button{padding:.6rem .7rem}.cart-panel{margin-top:.3rem}.cart-footer{position:sticky;bottom:0}.version-footer{padding-bottom:calc(1.2rem + env(safe-area-inset-bottom))}}
.settlement-dialog{max-width:620px}.settlement-list{display:grid;gap:.55rem;max-height:48vh;overflow:auto;margin:1rem 0}.settlement-row{display:grid;grid-template-columns:1fr auto;gap:.7rem;align-items:center;padding:.8rem;border:1px solid var(--line);border-radius:14px}.settlement-row strong,.settlement-row small{display:block}.settlement-row small{margin-top:.22rem;color:var(--muted)}.settlement-qty{display:grid;grid-template-columns:38px 38px 38px;align-items:center;border:1px solid var(--line);border-radius:10px;overflow:hidden}.settlement-qty button{height:38px;border:0;background:#edf2ee;font-weight:950}.settlement-qty span{text-align:center;font-weight:950}.settlement-total{padding-top:.85rem;border-top:1px solid var(--line)}.payment-methods{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}.payment-methods button{min-height:58px}
.terminal-choices{display:grid;grid-template-columns:1fr 1fr;gap:.55rem;margin-top:.7rem;padding:.7rem;border-radius:14px;background:#f0ece2}.terminal-button{min-height:54px;border:1px solid var(--line);border-radius:12px;background:#fff;font-weight:900}.terminal-button:disabled{opacity:.5}.card-live-status{display:flex;align-items:center;gap:.8rem;margin:1rem 0 1.3rem;padding:1rem;border-radius:14px;background:#edf2ee;color:var(--forest)}.card-spinner{width:24px;height:24px;flex:0 0 auto;border:3px solid #b8c9c1;border-top-color:var(--forest);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}

/* Interaktiver Saalplan nach SCC Saalsitzplan 2025, 180 Plätze */
.hall-plan{width:min(1120px,100%);margin:0 auto;padding:.7rem;border:1px solid var(--line);border-radius:22px;background:#ebe7dc;box-shadow:var(--shadow)}
.hall-stage{display:flex;align-items:center;justify-content:center;position:relative;width:82%;min-height:58px;margin:0 0 .55rem;padding:.5rem;border:2px solid var(--forest);border-radius:8px;background:var(--surface);color:var(--forest)}
.hall-stage strong{font-size:clamp(1rem,4vw,1.65rem)}.hall-stage span{position:absolute;left:calc(100% + .55rem);width:20%;font-size:.55rem;font-weight:900;text-align:center;text-transform:uppercase;writing-mode:vertical-rl}
.hall-orientation{display:flex;align-items:center;justify-content:space-between;margin:.2rem .2rem .55rem;color:var(--muted);font-size:.62rem;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.hall-orientation span::before{content:"↑ ";color:var(--forest)}
.hall-plan .table-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(0,.92fr);grid-template-rows:repeat(3,88px) 34px repeat(3,88px);gap:.42rem .28rem;align-items:stretch}
.hall-plan .table-card{grid-column:var(--hall-column);grid-row:var(--hall-row);min-height:0;height:100%;margin-inline:6px;padding:.38rem .15rem;border-width:2px;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-shadow:0 2px 8px rgba(33,45,39,.08)}
.hall-plan .table-card.hall-edge{margin-left:11px}.hall-plan .table-card::after{top:.3rem;right:.3rem;width:8px;height:8px}
.hall-plan .table-number{font-size:1.18rem;line-height:1}.hall-plan .table-number small{display:block;margin-bottom:.12rem;color:var(--muted);font-size:.5rem;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
.hall-plan .table-status{margin-top:.28rem;font-size:.51rem;line-height:1.05;letter-spacing:.025em;overflow-wrap:anywhere}.hall-plan .table-amount{margin-top:.16rem;max-width:100%;font-size:.61rem;line-height:1.05;white-space:nowrap}
.seat-bank{position:absolute;top:10%;bottom:10%;display:flex;flex-direction:column;justify-content:space-around;pointer-events:none}.seat-left{left:-7px}.seat-right{right:-7px}.seat-bank i{display:block;width:7px;height:13px;border:1.5px solid #68746e;border-radius:3px;background:#f9f7f0}
.hall-landmarks{display:grid;grid-template-columns:1.35fr 1fr .85fr;align-items:end;gap:.6rem;margin-top:.65rem;color:var(--forest);font-size:.65rem;font-weight:900;text-align:center}.hall-landmarks span{display:grid;place-items:center;min-height:31px;padding:.35rem;border:2px solid #7b837f;border-radius:5px;background:var(--surface)}.hall-bar{justify-self:end;width:100%}
@media(min-width:700px){.hall-plan{padding:1.15rem}.hall-stage{min-height:76px;margin-bottom:.85rem}.hall-stage span{font-size:.7rem}.hall-orientation{font-size:.72rem}.hall-plan .table-grid{grid-template-rows:repeat(3,116px) 52px repeat(3,116px);gap:.8rem .65rem}.hall-plan .table-card{margin-inline:10px;padding:.7rem .25rem;border-radius:13px}.hall-plan .table-card.hall-edge{margin-left:22px}.hall-plan .table-number{font-size:1.6rem}.hall-plan .table-number small{font-size:.6rem}.hall-plan .table-status{font-size:.68rem}.hall-plan .table-amount{font-size:.83rem}.seat-left{left:-11px}.seat-right{right:-11px}.seat-bank i{width:10px;height:18px}.hall-landmarks{font-size:.8rem}.hall-landmarks span{min-height:44px}}
@media(min-width:1100px){.hall-plan{padding:1.4rem}.hall-plan .table-grid{grid-template-rows:repeat(3,132px) 62px repeat(3,132px);gap:1rem .9rem}.hall-plan .table-card{margin-inline:14px}.hall-plan .table-card.hall-edge{margin-left:32px}.hall-plan .table-number{font-size:1.85rem}.hall-plan .table-status{font-size:.74rem}.hall-plan .table-amount{font-size:.95rem}.seat-left{left:-15px}.seat-right{right:-15px}.seat-bank i{width:13px;height:21px}}

.terminal-chip{padding:.65rem .8rem;border:1px solid #d8bd82;border-radius:999px;background:#fff6df;color:#76520e;font-weight:900}.terminal-screen{max-width:760px;margin:auto}.terminal-login-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;margin:1.3rem 0}.terminal-login-button{min-height:145px;padding:1.2rem;border:2px solid transparent;border-radius:22px;background:var(--surface);box-shadow:0 6px 20px rgba(30,45,38,.09);color:var(--forest);text-align:left}.terminal-login-button span,.terminal-login-button small{display:block}.terminal-login-button span{font-size:1.25rem;font-weight:950}.terminal-login-button small{margin-top:.55rem;color:var(--muted);font-size:.78rem;line-height:1.35}.terminal-login-button.selected{border-color:var(--gold);background:#fff9ec}.terminal-login-button:active{transform:scale(.98)}.terminal-back{margin-top:.3rem}
@media(max-width:699px){.terminal-login-grid{grid-template-columns:1fr}.terminal-login-button{min-height:110px}.terminal-chip,.operator-chip{padding:.55rem .65rem;font-size:.75rem}.header-actions{gap:.35rem}}
@media(max-width:480px){.brand>span:last-child{display:none}}

.hall-view-switch{display:grid;grid-template-columns:1fr 1fr;width:min(360px,100%);margin:0 0 .8rem;padding:.25rem;border:1px solid var(--line);border-radius:14px;background:#ebe7dc}.hall-view-switch button{min-height:44px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-weight:900}.hall-view-switch button.active{background:var(--surface);color:var(--forest);box-shadow:0 2px 8px rgba(25,42,35,.1)}
.hall-plan.quick-mode{padding:.65rem;background:transparent;border:0;box-shadow:none}.hall-plan.quick-mode .hall-stage,.hall-plan.quick-mode .hall-orientation,.hall-plan.quick-mode .hall-landmarks{display:none}.hall-plan.quick-mode .table-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;gap:.65rem}.hall-plan.quick-mode .table-card{grid-column:auto;grid-row:auto;min-height:108px;height:auto;margin:0;padding:.75rem;border-radius:16px}.hall-plan.quick-mode .table-card.hall-edge{margin:0}.hall-plan.quick-mode .seat-bank{display:none}.hall-plan.quick-mode .table-number{font-size:1.35rem}.hall-plan.quick-mode .table-number small{font-size:.58rem}.hall-plan.quick-mode .table-status{font-size:.64rem}.hall-plan.quick-mode .table-amount{font-size:.82rem}
.mobile-cart-button{display:none}
@media(max-width:699px){.hall-view-switch{position:sticky;z-index:9;top:82px;margin-inline:auto;background:rgba(235,231,220,.94);backdrop-filter:blur(8px)}.hall-plan.quick-mode{padding-inline:0}.hall-plan.quick-mode .table-grid{gap:.55rem}.hall-plan.quick-mode .table-card{min-height:104px}.category-tabs{position:sticky;z-index:8;top:136px;padding:.4rem 0 .65rem;background:var(--paper)}.order-screen{padding-bottom:5.5rem}.cart-panel{scroll-margin-top:145px}.mobile-cart-button{position:fixed;z-index:30;left:.8rem;right:.8rem;bottom:calc(.8rem + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;min-height:58px;padding:.8rem 1rem;border:0;border-radius:17px;background:var(--forest);color:#fff;box-shadow:0 12px 35px rgba(12,34,28,.34);font-weight:900}.mobile-cart-button strong{font-size:.95rem}.article-button{min-height:104px}.article-grid{gap:.55rem}}
