/* Additions scoped to the HTMX pages; the original restaurant styles remain. */
.gericht-details { width: min(900px, calc(100% - 32px)); margin: 24px auto; overflow-wrap: anywhere; }
.speise-preis { font-size: 1.2rem; font-weight: bold; }
.speise-card { overflow-wrap: anywhere; }
.speise-card a:focus-visible, .gericht-details a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
#meldung, #laden { width: min(100% - 32px, 900px); margin: 8px auto; }
.alert { padding: 16px; border: 1px solid currentColor; border-radius: 6px; margin: 12px 0; }
.alert-success { color: #215b32; background: #edf8ee; }
.alert-error { color: #8b2020; background: #fff0f0; }
.alert-warning { color: #715200; background: #fff8da; }
.table-plan { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.table-card { padding: 16px; border: 2px solid #888; border-radius: 12px; }
.table-card.frei { border-color: #397b45; }
.table-card.reserviert { border-color: #ac3434; }
.table-card.in_nutzung { border-color: #987700; }
.table-card.blockiert { border-color: #9ca3af; }
button:disabled { opacity: .5; cursor: not-allowed; }
.account-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; padding: 16px; }
.account-nav form { margin: 0; }
.input-card select { box-sizing: border-box; width: 100%; max-width: 100%; padding: 12px; font: inherit; }
:is(a, button, input, select):focus-visible { outline: 3px solid #397b45; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.input-card label { margin-bottom: 8px; }
/* Exact tabletop hotspots on the original, unchanged restaurant plan. */
.belegung-legende { display: flex; flex-wrap: wrap; gap: 16px; }
.belegung-legende .frei { color: #215b32; }
.belegung-legende .reserviert { color: #8b2020; }
.belegung-legende .in_nutzung { color: #715200; }
.belegung-legende .blockiert, .belegung-legende .unbekannt { color: #555; }
#tische { width: min(1100px, calc(100vw - 32px)); justify-self: center; }
.belegung-plan { position: relative; width: 100%; }
.belegung-hintergrund { display: block; width: 100%; height: auto; border-radius: 12px; }
.bild-tisch { --status-rahmen: #ddd; position: absolute; padding: 0; border: 3px solid var(--status-rahmen); border-radius: 5px; cursor: pointer; font: inherit; background: transparent; box-shadow: 0 0 0 1px rgba(0,0,0,.65); }
.bild-tisch.frei { --status-rahmen: #3bdf64; background: rgba(25,190,60,.22); }
.bild-tisch.reserviert { --status-rahmen: #ff5757; background: rgba(225,20,20,.22); }
.bild-tisch.in_nutzung { --status-rahmen: #ffcc39; background: rgba(250,190,0,.22); }
.bild-tisch.blockiert { --status-rahmen: #9ca3af; background: rgba(30,30,30,.45); }
.bild-tisch.unbekannt { border-color: #ddd; border-style: dashed; background: rgba(0,0,0,.12); }
.bild-tisch span { position: absolute; top: -8px; left: -5px; padding: 1px 3px; border-radius: 3px; background: #fff; color: #222; font: bold clamp(8px,1.2vw,13px) Arial,sans-serif; }
.bild-tisch:hover, .bild-tisch:focus-visible, .bild-tisch.is-selected { outline: 2px solid var(--status-rahmen); outline-offset: 3px; box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(0,0,0,.6); z-index: 2; }
.tisch-details { margin: 20px 0; scroll-margin-top: 16px; }
/* Hidden boat Easter egg; the hit area scales with the original picture. */
.boot-auswahl { position: absolute; left: 57.09%; top: 75.22%; width: 7.09%; height: 16.09%; padding: 0; border: 0; background: transparent; cursor: default; clip-path: polygon(0 0,25% 2%,73% 37%,100% 79%,100% 100%,72% 100%,32% 62%,3% 25%); }
.boot-auswahl:focus-visible { background: rgba(255,255,255,.4); outline: 3px solid white; outline-offset: -3px; }
