:root{color-scheme:light;--ink:#202b25;--muted:#5b675e;--line:#dce3da;--green:#245a40;--green-bg:#e1f0e5;--cream:#f6f6ef;--white:#fff;--gold:#b0833b}
*{box-sizing:border-box}
body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.site-header{background:#234733;color:#fff;border-bottom:3px solid #b99a59}
.header-inner{max-width:1180px;margin:auto;padding:15px clamp(16px,4vw,42px);display:flex;align-items:center;gap:13px;font-weight:650;letter-spacing:.02em}
main{max-width:1180px;margin:0 auto;padding:clamp(20px,5vw,52px) clamp(12px,3.6vw,42px) 48px}
.intro-block{margin-bottom:26px}
h1{font:700 clamp(32px,5vw,52px)/1.12 Georgia,"Times New Roman",serif;letter-spacing:-.035em;margin:0 0 12px;color:#234733}
.intro{color:var(--muted);max-width:720px;margin:0;font-size:1.02rem}
.poll{background:#fff;border:1px solid var(--line);border-radius:14px;padding:clamp(12px,2.5vw,28px);box-shadow:0 5px 22px #243b2510}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:9px}
table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:280px}
th,td{padding:13px 10px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);text-align:center;overflow-wrap:anywhere}
th:last-child,td:last-child{border-right:0}
thead th{background:#f0f3eb;vertical-align:top;font-weight:600;padding:20px 13px}
thead th:first-child{vertical-align:bottom}
th:first-child,td:first-child{text-align:left;width:24%}
.dish-full{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:9px}
.dish-number{font-size:.74rem;font-weight:700;letter-spacing:.05em;color:var(--green);text-transform:uppercase}
.dish-title{font-size:1.05rem;line-height:1.3}
.dish-description{font-size:.86rem;font-weight:400;color:var(--muted);line-height:1.5}
.dish-price{display:block;font-size:1.2rem;color:var(--green);font-variant-numeric:tabular-nums;margin-top:4px}
.dish-short,.mobile-menu{display:none}
tbody th{font-weight:550}tbody tr:nth-child(even){background:#fafbf8}
.vote-row td,.vote-row th{background:#edf4eb}
.mark{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:7px;background:var(--green-bg);color:var(--green);font-size:22px;font-weight:750}
.empty{color:#a2aba3}
tfoot th,tfoot td{border-bottom:0;font-weight:750;background:#f0f3eb;color:#234733}
.name{width:100%;min-width:0;padding:11px 10px;border:1px solid #9aa99a;border-radius:7px;font:inherit;color:var(--ink);background:#fff}
.name:focus{outline:2px solid var(--green);outline-offset:2px}
.pick{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;cursor:pointer;position:relative}
.pick input{position:absolute;opacity:0;width:1px;height:1px}
.pick span{width:28px;height:28px;border:2px solid #869a88;border-radius:5px;background:white;display:grid;place-items:center}
.pick input:checked+span{border-color:var(--green);color:white;background:var(--green)}
.pick input:checked+span::after{content:'✓';font-size:21px;font-weight:700;line-height:1}
.pick input:focus-visible+span{outline:3px solid #b0833b;outline-offset:3px}
.actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-top:20px}
.total{display:flex;flex-direction:column;gap:0}.total>span{font-size:.8rem;color:var(--muted)}.total strong{font-size:1.65rem;line-height:1.2;color:var(--green);font-variant-numeric:tabular-nums}.total small{font-size:.9rem;font-weight:600}
button{border:0;border-radius:8px;background:var(--green);color:#fff;font:inherit;font-weight:650;padding:13px 22px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:24px;min-height:48px}
button:hover{background:#193e2c}button:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.notice{padding:12px 14px;border-radius:7px;margin:0 0 16px;background:var(--green-bg);color:#135737}.error{background:#fff0ee;color:#9f2922}
.privacy{color:var(--muted);font-size:.8rem;margin:20px 0 0;line-height:1.5}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){.dish-full{display:none}.dish-short{display:inline}.mobile-menu{display:grid;gap:9px;margin:0 0 18px;padding:0;list-style:none;counter-reset:meal}.mobile-menu li{counter-increment:meal;display:grid;grid-template-columns:26px 1fr auto;gap:3px 9px;padding:12px;background:#f0f3eb;border-radius:8px;align-items:start}.mobile-menu li::before{content:counter(meal);grid-column:1;grid-row:1 / span 2;display:grid;place-items:center;background:var(--green);color:#fff;border-radius:50%;width:25px;height:25px;font-weight:700;font-size:.8rem}.mobile-menu strong{grid-column:2;font-size:.94rem;line-height:1.35}.mobile-menu span{grid-column:2 / 4;grid-row:2;font-size:.84rem;color:var(--muted)}.mobile-menu b{grid-column:3;grid-row:1;font-size:.9rem;color:var(--green);white-space:nowrap}thead th{vertical-align:middle;padding:11px 5px;font-size:.8rem}th:first-child,td:first-child{width:40%}}
@media(max-width:480px){main{padding:22px 9px 28px}.poll{padding:10px}.header-inner{padding:12px 15px}.header-inner svg{width:32px;height:32px}th,td{padding:8px 3px}tbody th{font-size:.84rem}.name{padding:9px 5px;font-size:16px}.actions button{width:100%}.mark{width:27px;height:27px}.pick{width:40px}}

.page-footer{text-align:right;padding:16px 2px;font-size:.85rem}.page-footer a{color:var(--green);text-decoration:underline;text-underline-offset:3px}.login-form{display:grid;gap:12px;max-width:360px}.login-form label{font-weight:650}.admin-top{display:flex;flex-wrap:wrap;align-items:center;gap:24px;justify-content:space-between}.metric-label{display:block;color:var(--muted);font-size:.85rem}.metric{display:block;color:var(--green);font-size:1.7rem}.poll h2{font-size:1.2rem;margin:26px 0 12px}.admin-table th:first-child,.admin-table td:first-child{width:auto}.summary-table th:first-child{width:40%}.admin-table thead th{padding:12px 8px;vertical-align:middle}.list-table th:first-child,.list-table td:first-child{width:9%;text-align:center}.list-table th:nth-child(2){width:34%;text-align:left}.export-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.button-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:8px;background:var(--green);color:#fff;text-decoration:none;font-weight:650;border:1px solid var(--green)}.secondary{background:white;color:var(--green);border:1px solid var(--green)}.secondary:hover{background:var(--green-bg);color:var(--green)}.button-link:not(.secondary):hover{background:#193e2c}.button-link:focus-visible{outline:3px solid var(--gold);outline-offset:3px}@media(max-width:480px){.admin-table{font-size:.8rem}.admin-table th,.admin-table td{padding:8px 4px}.export-actions .button-link{width:100%}.admin-top{gap:12px}.metric{font-size:1.25rem}}

/* Administration – einzelne Bestellungen löschen */
.list-table{min-width:490px}.list-table th:nth-child(2){width:30%}.list-table th:last-child{width:105px}.delete-button{color:#9f2922;background:#fff;border:1px solid #c9827c;padding:7px 9px;font-size:.83rem;min-height:38px;margin:0 auto}.delete-button:hover{color:#84201b;background:#fff0ee}.delete-confirm{border:1px solid #c9827c;border-radius:9px;background:#fff5f3;padding:16px;margin:0 0 15px}.delete-confirm h3{margin:0 0 8px;color:#84201b}.delete-confirm p{margin:6px 0}.delete-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}.danger{background:#a32b24}.danger:hover{background:#7b1c17}
