/* Shared design vocabulary; each independently deployable app has its own copy. */
[hidden] { display: none !important; }
/* Sichtbarer Tastaturfokus auch auf dynamischen Rückmeldungen. */
:focus-visible { outline: 3px solid #245b87; outline-offset: 4px; }
.error-panel { width: min(900px, calc(100% - 32px)); margin: 24px auto; padding: 20px; overflow-wrap: anywhere; }
.error-panel .btn { margin: 8px 8px 8px 0; }
#meldung:not(:empty) { width: min(900px, calc(100% - 32px)); margin: 16px auto; padding: 16px; border: 2px solid var(--accent-color); border-radius: 8px; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
body { line-height: 1.55; }
.site-header { min-height: 70px; padding-block: 12px; }
.header-logo { width: min(420px, 85vw); height: auto; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 24px 16px; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.welcome-note h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
.skip-link { position: fixed; top: -120px; left: 12px; padding: 12px; z-index: 100; background: white; }
.skip-link:focus { top: 12px; }
.category-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: 12px; }
/* Die Seitennavigation bleibt bewusst im Footer und funktioniert ohne JavaScript. */
.footer-bottom { flex-wrap: wrap; }
.footer-bottom .footer-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; min-width: 0; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.table-list ul { padding: 0; list-style: none; }
.table-list li { padding: 16px; margin-block: 12px; border: 1px solid var(--accent-color); border-radius: 8px; overflow-wrap: anywhere; }
.table-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
/* Hält mehrere Aktionen innerhalb einer Startseitenkarte mit ausreichend Abstand zusammen. */
.card-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; }
/* Zentriert die Kontokarte in der zweiten Zeile bei unveränderter Kartenbreite. */
@media (min-width: 901px) {
    .home-grid > .link-card:last-child { grid-column: 1 / -1; justify-self: center; width: calc((100% - clamp(12px, 2vw, 20px)) / 2); }
}
[aria-current="page"] { font-weight: bold; text-decoration-thickness: 3px; }
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.btn-primary, button.btn-primary { background: var(--accent-color); color: white; }
.booking-summary { display: grid; grid-template-columns: minmax(70px, 1fr) minmax(0, 2fr); gap: 8px 16px; text-align: left; padding: 16px; border: 1px solid var(--accent-color); border-radius: 8px; }
.booking-summary dt { font-weight: bold; }
.booking-summary dd { margin: 0; overflow-wrap: anywhere; }
.input-card input[type="checkbox"] { width: 24px; min-height: 24px; margin: 8px; vertical-align: middle; }
/* Zentriert den Kontohinweis oberhalb des jeweiligen Formulars. */
.account-hint { text-align: center; }
.menu-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); max-width: 1100px; }
.menu-grid .speise-card { border: 1px solid var(--accent-color); border-radius: 12px; }
.menu-tools, .legal-content { width: min(900px, calc(100% - 32px)); margin: 24px auto; }
.category-nav a { padding: 8px 12px; border: 1px solid var(--accent-color); border-radius: 20px; }
[data-menu-group] { scroll-margin-top: 80px; }
/* Zentriert nur die Kategorieüberschriften der Speisekarte, nicht die Gerichtkarten. */
[data-menu-group] > .hero > h2 { text-align: center; }
.field-error { color: #8b2020; font-weight: bold; }
[aria-invalid="true"] { border: 2px solid #8b2020 !important; }
.legal-content { overflow-wrap: anywhere; text-align: left; }
.legal-content address { font-style: normal; }
.input-card details, .input-card section { width: 100%; }
.site-header a { display: block; }
summary { cursor: pointer; padding: 12px; min-height: 44px; }
@media print {
    .site-header, nav, .site-footer, #laden, #meldung, .btn, .preview-notice, .skip-link, noscript { display: none !important; }
    body { background: white; color: black; }
    .input-grid { display: block; margin: 0; }
    .alert { color: black; background: white; border: 1px solid black; }
    h1, h2 { font-size: 18pt; }
}