/* Gasthof Zum Dampfl – Designsystem nach der Bildschirm-Gestaltung am Eingang
 * (Creme, Braun, Playfair Display + Lora, Wortmarke in Marcellus).
 * Referenz: .private/redesign/entwurf/, Kontrastwerte im Briefing. */
@font-face { font-family: 'Marcellus'; src: url('../fonts/marcellus.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('../fonts/playfair-display.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('../fonts/lora.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('../fonts/lora-italic.woff2') format('woff2'); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
    --creme: #F4F4DA;      /* helle Schrift auf dunklen Flächen und Bildern */
    --grund: #F7DDA9;      /* Papiergrund (Struktur aus dem Digital-Signage-Hintergrund) */
    --grund-tiefer: rgba(122, 74, 34, .075);   /* abgesetzte Abschnitte – Struktur scheint durch */
    --creme-dunkel: #EFD39E;
    --papier: #FCF3DE;
    --braun: #5B3013;
    --braun-hover: #43230D;
    --tinte: #22303A;
    --grau: #46535D;
    --dachzeile: #7A4A22;
    --nacht: #261A0F;
    --karamell: #E4B483;
    --linie: rgba(91, 48, 19, .22);
    --schrift-titel: 'Playfair Display', Georgia, serif;
    --schrift-text: 'Lora', Georgia, serif;
    --schrift-marke: 'Marcellus', Georgia, serif;

    /* Namen, die die Modul-Bausteine der Vorlage erwarten */
    --c-accent: var(--braun);
    --c-ink: var(--tinte);
    --c-muted: var(--grau);
    --c-bg: var(--grund);
    --c-line: var(--linie);
    --c-ok: #2E6B34;
    --c-warn: #9A5B00;
    --c-bad: #A32A1E;
    --nach-oben-akzent: var(--braun);
    --nach-oben-akzent-dunkel: var(--karamell);
}

* { box-sizing: border-box; }

/* hidden-Attribut muss auch gegen display:grid/flex auf Komponenten gewinnen */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--schrift-text);
    font-size: 18px;
    line-height: 1.6;
    color: var(--tinte);
    background: var(--grund) url('../img/papier.webp') repeat;
}

a { color: var(--braun); }
a:hover { color: var(--tinte); }
img { max-width: 100%; height: auto; }
/* Zweifarbig: bleibt auf hellem und dunklem Grund sichtbar */
:focus-visible { outline: 3px solid var(--braun); outline-offset: 2px; box-shadow: 0 0 0 2px var(--creme); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.wrap-breit { max-width: 1440px; }
main.seite { max-width: 1240px; margin: 0 auto; padding: 72px 40px 96px; min-height: 40vh; }

.zum-inhalt {
    position: absolute; left: 12px; top: -80px; z-index: 100;
    padding: 12px 20px; background: var(--braun); color: var(--creme); border-radius: 2px;
}
.zum-inhalt:focus { top: 12px; color: var(--creme); }

/* Typografie */
h1, h2, h3 { font-family: var(--schrift-titel); color: var(--braun); line-height: 1.15; font-weight: 700; }
.h2 {
    font-family: var(--schrift-titel); font-weight: 700; color: var(--braun);
    text-transform: uppercase; letter-spacing: .06em;
    font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.15; margin: 0 0 26px;
}
.kicker {
    font-weight: 600; font-size: .82rem; letter-spacing: .24em; text-transform: uppercase;
    color: var(--dachzeile); margin: 0 0 14px;
}

/* Knöpfe */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 26px; border-radius: 2px; border: 2px solid var(--braun);
    background: var(--braun); color: var(--creme);
    font-family: var(--schrift-text); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--braun-hover); border-color: var(--braun-hover); color: var(--creme); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-line { background: transparent; color: var(--braun); }
.btn-line:hover { background: var(--braun); border-color: var(--braun); color: var(--creme); }
.btn-hell { background: var(--creme); border-color: var(--creme); color: var(--braun); }
.btn-hell:hover { background: #fff; border-color: #fff; color: var(--braun); }
.btn-glas { background: rgba(20, 12, 6, .28); border-color: rgba(244, 244, 218, .85); color: var(--creme); }
.btn-glas:hover { background: var(--creme); border-color: var(--creme); color: var(--braun); }
.btnreihe { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* Kopf */
.kopf { position: relative; z-index: 20; background: transparent; border-bottom: 2px solid var(--linie); color: var(--braun); }
.kopf-in {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    max-width: 1440px; margin: 0 auto; padding: 16px 40px;
}
body.kopf-transparent .kopf { position: absolute; top: 0; left: 0; right: 0; background: none; border-bottom: 0; color: var(--creme); }
body.kopf-transparent .kopf-in { padding-top: 22px; padding-bottom: 22px; }
/* Sichtbarer Hinweis-Banner schiebt den Kopf in den Fluss, sonst läge er darüber */
body.kopf-transparent .hinweis-banner:not([hidden]) + .kopf { position: relative; background: var(--nacht); }

.marke { display: inline-flex; flex-direction: column; align-items: flex-end; flex: none; text-decoration: none; color: inherit; line-height: 1; }
.marke:hover { color: inherit; }
.marke b { font-family: var(--schrift-marke); font-weight: 400; font-size: 2.1rem; letter-spacing: .08em; }
.marke i { font-style: normal; font-size: .68rem; letter-spacing: .42em; margin-top: 6px; text-transform: uppercase; }

.haupt-nav { display: flex; align-items: center; gap: 4px; }
.haupt-nav > a:not(.btn), .nav-gruppe > summary {
    display: flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; border-radius: 2px;
    color: inherit; font-size: .98rem; font-weight: 500; text-decoration: none; cursor: pointer;
}
.nav-gruppe > summary { list-style: none; }
.nav-gruppe > summary::-webkit-details-marker { display: none; }
.nav-gruppe > summary svg { width: 16px; height: 16px; transition: transform .15s; }
.nav-gruppe[open] > summary svg { transform: rotate(180deg); }
.haupt-nav > a:not(.btn):hover, .nav-gruppe > summary:hover { background: rgba(91, 48, 19, .1); color: inherit; }
body.kopf-transparent .haupt-nav > a:not(.btn):hover, body.kopf-transparent .nav-gruppe > summary:hover { background: rgba(244, 244, 218, .16); }
.haupt-nav > a[aria-current], .nav-gruppe.ist-aktiv > summary { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-gruppe { position: relative; }
.nav-gruppe-liste {
    position: absolute; top: 100%; left: 0; min-width: 230px; margin-top: 6px; padding: 8px;
    background: var(--papier); border-radius: 3px; box-shadow: 0 14px 40px rgba(20, 12, 6, .25);
}
.nav-gruppe-liste a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 2px; color: var(--braun); font-size: .98rem; text-decoration: none; font-weight: 500; }
.nav-gruppe-liste a:hover { background: var(--creme-dunkel); color: var(--braun); }
.nav-gruppe-liste a[aria-current] { font-weight: 700; }
a.nav-reservieren { min-height: 46px; margin-left: 10px; white-space: nowrap; }

.nav-knopf {
    display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
    background: none; border: 2px solid currentColor; border-radius: 2px; color: inherit;
    font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
}
.nav-knopf svg { width: 22px; height: 22px; }

@media (max-width: 1040px) {
    .kopf-in { flex-wrap: wrap; }
    .js .nav-knopf { display: inline-flex; }
    .haupt-nav { flex-wrap: wrap; }
    .js .haupt-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px;
        background: var(--grund); color: var(--braun); box-shadow: 0 18px 40px rgba(20, 12, 6, .28);
    }
    .js .haupt-nav.offen { display: flex; }
    .js body.kopf-transparent .haupt-nav > a:not(.btn):hover,
    .js body.kopf-transparent .nav-gruppe > summary:hover { background: rgba(91, 48, 19, .1); }
    .js .nav-gruppe-liste { position: static; margin: 0 0 6px 12px; padding: 0; background: none; box-shadow: none; }
    .js a.nav-reservieren { margin: 12px 0 0; background: var(--braun); border-color: var(--braun); color: var(--creme); }
}

/* Slider (reines CSS-Crossfade: 24 s Zyklus, 6 s je Bild) */
.hero { position: relative; height: 820px; max-height: 100vh; min-height: 620px; overflow: hidden; background: var(--nacht); color: var(--creme); }
.hb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: hbFade 24s infinite; }
.hb:nth-of-type(2) { animation-delay: 6s; }
.hb:nth-of-type(3) { animation-delay: 12s; }
.hb:nth-of-type(4) { animation-delay: 18s; }
@keyframes hbFade {
    0% { opacity: 0; transform: scale(1.07); }
    4% { opacity: 1; }
    25% { opacity: 1; }
    29% { opacity: 0; transform: scale(1); }
    100% { opacity: 0; }
}
.scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24, 15, 7, .76) 0%, rgba(24, 15, 7, .50) 38%, rgba(24, 15, 7, 0) 66%), linear-gradient(180deg, rgba(24, 15, 7, .62) 0%, rgba(24, 15, 7, .12) 26%, rgba(24, 15, 7, .10) 50%, rgba(24, 15, 7, .70) 100%); }
.hero-text { position: absolute; left: 0; right: 0; bottom: 118px; z-index: 3; }
.hero-text .kicker { color: var(--creme); }
.hero h1 { color: var(--creme); font-size: clamp(2.8rem, 5.4vw, 4.8rem); line-height: 1.04; margin: 0 0 18px; max-width: 820px; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.claim { font-size: 1.3rem; max-width: 620px; margin: 0; }
.slides { position: absolute; right: 40px; bottom: 46px; z-index: 3; display: flex; gap: 18px; }
.sl { width: 112px; font: inherit; font-size: .84rem; font-weight: 500; text-align: left; color: rgba(244, 244, 218, .62); background: none; border: 0; padding: 0 0 4px; cursor: pointer; animation: slName 24s linear infinite; }
.sl:hover { text-shadow: 0 0 1px rgba(244, 244, 218, .9); }   /* Farbe steuert die Animation, daher Schein + hellerer Balken */
.sl:hover i { background: rgba(244, 244, 218, .55); }
.sl:focus-visible { outline: 2px solid var(--creme); outline-offset: 6px; border-radius: 2px; }
.sl i { display: block; height: 2px; margin-bottom: 9px; background: rgba(244, 244, 218, .3); overflow: hidden; }
.sl i::after { content: ""; display: block; height: 100%; background: var(--creme); transform: scaleX(0); transform-origin: left; animation: slLauf 24s linear infinite; }
.sl:nth-child(2), .sl:nth-child(2) i::after { animation-delay: 6s; }
.sl:nth-child(3), .sl:nth-child(3) i::after { animation-delay: 12s; }
.sl:nth-child(4), .sl:nth-child(4) i::after { animation-delay: 18s; }
@keyframes slLauf { 0% { transform: scaleX(0); opacity: 1; } 25% { transform: scaleX(1); opacity: 1; } 27%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes slName { 0%, 25% { color: var(--creme); } 27%, 100% { color: rgba(244, 244, 218, .62); } }
@media (prefers-reduced-motion: reduce) {
    .hb { animation: none; }
    .hb:nth-of-type(1) { opacity: 1; }
    .sl, .sl i::after { animation: none; }
    /* Ohne Bewegung: gewähltes Bild steht (dampfl.js setzt .wahl / .an) */
    .hero.wahl .hb { opacity: 0; }
    .hero.wahl .hb.an { opacity: 1; }
    .hero.wahl .sl.an { color: var(--creme); }
    .hero.wahl .sl.an i::after { transform: scaleX(1); }
}

/* Leiste unter dem Slider */
.leiste { background: var(--braun); color: var(--creme); }
.leiste-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; }
.lz { padding: 26px 28px; border-left: 1px solid rgba(244, 244, 218, .2); }
.lz:first-child { border-left: 0; }
.lz b { display: block; font-family: var(--schrift-titel); font-size: 1.12rem; letter-spacing: .02em; }
.lz span { font-size: .95rem; opacity: .9; }

/* Sektionen */
.sek { padding: 110px 0; }
.sek-dunkel { background: var(--grund-tiefer); }
.zwei { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; align-items: center; }
.text p { margin: 0 0 16px; }
.aquarell img { display: block; width: 100%; }
.signatur { font-family: var(--schrift-marke); font-size: 1.25rem; color: var(--braun); margin: 22px 0 0; letter-spacing: .04em; text-align: right; }

/* Fuß */
.fuss { background: var(--nacht); color: #E9E4CC; padding: 72px 0 36px; font-size: .95rem; }
.fuss-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.fuss h2 { font-size: 1.05rem; color: var(--karamell); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.fuss p { margin: 0 0 6px; }
.fuss a { color: #E9E4CC; }
.fuss a:hover { color: var(--karamell); }
.fuss .marke { align-items: flex-start; color: var(--karamell); }
.fuss-claim { margin-top: 20px !important; }
.fuss-links { list-style: none; margin: 0; padding: 0; }
.fuss-unten { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(233, 228, 204, .18); font-size: .84rem; }

/* Feste Leiste am Handy – bewusst ohne Anruf-Knopf */
.schnellleiste { display: none; }

@media (max-width: 900px) {
    .zwei { grid-template-columns: minmax(0, 1fr); gap: 44px; }
    .leiste-in, .fuss-grid { grid-template-columns: minmax(0, 1fr); }
    .lz { border-left: 0; border-top: 1px solid rgba(244, 244, 218, .2); }
    .lz:first-child { border-top: 0; }
    .sek { padding: 72px 0; }
    .slides { display: none; }
    .hero-text { bottom: 56px; }
}
@media (max-width: 760px) {
    .wrap { padding: 0 20px; }
    .kopf-in { padding-left: 20px; padding-right: 20px; }
    main.seite { padding: 48px 20px 72px; }
    .marke b { font-size: 1.7rem; }
    .claim { font-size: 1.12rem; }
    .hero { height: 100vh; height: 100svh; max-height: none; min-height: 660px; }
    .hero-text { bottom: 96px; }
    .scrim { background: linear-gradient(180deg, rgba(24, 15, 7, .62) 0%, rgba(24, 15, 7, .44) 22%, rgba(24, 15, 7, .62) 58%, rgba(24, 15, 7, .82) 100%); }
    .hero-text .kicker { font-size: .72rem; letter-spacing: .16em; }
    .btnreihe .btn { flex: 1 1 100%; }
    .hero .btnreihe .btn-glas { flex: 1 1 0; }
    .hero .btnreihe .slider-pause { flex: 0 0 52px; }
    html { scroll-padding-bottom: 92px; }
    body { padding-bottom: 76px; }
    .schnellleiste {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
        display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: center; gap: 8px;
        height: 76px; padding: 0 10px; background: var(--grund); border-top: 2px solid var(--linie);
    }
    .schnellleiste a {
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
        min-height: 56px; border-radius: 2px; color: var(--braun); font-size: .78rem; font-weight: 600; text-decoration: none;
    }
    .schnellleiste a.haupt { flex-direction: row; gap: 8px; background: var(--braun); color: var(--creme); font-size: .92rem; }
    .schnellleiste svg { width: 22px; height: 22px; }
    body .nach-oben { bottom: calc(92px + var(--consent-hoehe, 0px)); }
}

/* ── Modul-Bausteine aus der Vorlage (CMS v0.80.3) ── */
/* Hinweis-Banner */
.hinweis-banner {
    text-align: center;
    padding: 11px 18px;
    font-size: .92rem;
    font-weight: 600;
}
.hinweis-banner a { color: inherit; text-decoration: underline; }
.hinweis-banner-hinweis { background: color-mix(in srgb, var(--c-accent) 10%, #fff); color: var(--c-accent); }
.hinweis-banner-wichtig { background: var(--c-warn); color: #fff; }

/* Lightbox (Hook data-lightbox in app.js) */
[data-lightbox] img { cursor: zoom-in; }
/* Lupe beim Hover (Hülle .lightbox-thumb legt app.js an) */
.lightbox-thumb { position: relative; display: block; cursor: zoom-in; }
.lightbox-thumb::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 44px; height: 44px;
    margin: -22px 0 0 -22px;
    border-radius: 50%;
    background: rgba(13, 19, 16, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
    opacity: 0;
    transition: opacity .18s;
    pointer-events: none;
}
.lightbox-thumb:hover::after { opacity: 1; }
@media (hover: none) { .lightbox-thumb::after { display: none; } }
html.lightbox-offen { overflow: hidden; }
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 14, 13, .94);
}
@media (prefers-reduced-motion: no-preference) {
    .lightbox { animation: lightbox-auf .18s ease-out; }
    @keyframes lightbox-auf { from { opacity: 0; } }
}
.lightbox figure { margin: 0; max-width: min(92vw, 1500px); text-align: center; }
.lightbox figure img { max-width: 100%; max-height: 82vh; object-fit: contain; display: block; margin: 0 auto; cursor: default; }
.lightbox figcaption { color: rgba(255, 255, 255, .85); padding: 12px 8px 0; font-size: .92rem; }
.lightbox-zaehler { opacity: .6; margin-left: 10px; }
.lightbox-schliessen {
    position: absolute;
    top: 12px;
    right: 18px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    opacity: .8;
}
.lightbox-pfeil {
    background: none;
    border: 0;
    color: #fff;
    font-size: 3.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 24px 20px;
    opacity: .75;
    user-select: none;
}
.lightbox-schliessen:hover, .lightbox-pfeil:hover { opacity: 1; }
@media (max-width: 600px) { .lightbox-pfeil { padding: 18px 8px; font-size: 2.4rem; } }

/* Galerie: Alben-Übersicht */
.alben-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}
.album-karte { display: block; text-decoration: none; color: inherit; }
.album-karte img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.album-karte .album-titel { display: block; font-weight: 700; margin-top: 8px; }
.album-karte:hover .album-titel { color: var(--c-accent); }
.album-karte .album-anzahl { color: var(--c-muted); font-size: .85rem; }

/* Galerie */
.galerie {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    padding: 0;
    list-style: none;
}
.galerie img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }

/* Masonry-Variante: natürliche Bildhöhen in versetzten Spalten (kein Beschnitt) */
.galerie-masonry { display: block; column-count: 3; column-gap: 14px; }
.galerie-masonry li { break-inside: avoid; margin: 0 0 14px; }
.galerie-masonry img { aspect-ratio: auto; height: auto; object-fit: fill; }
@media (max-width: 820px) { .galerie-masonry { column-count: 2; } }
@media (max-width: 480px) { .galerie-masonry { column-count: 1; } }

/* Formulare */
form .field { margin-bottom: 16px; }
form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 5px; }
form input[type="text"], form input[type="email"], form input[type="tel"],
form input[type="date"], form input[type="time"], form input[type="number"], form textarea {
    width: 100%;
    padding: 11px 12px;
    font: inherit;
    border: 1px solid var(--c-line);
    border-radius: 8px;
}
form .check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
form .check input { margin-top: 4px; }
.btn:disabled { opacity: .6; }
[data-form-error] { color: var(--c-bad); font-weight: 500; margin-bottom: 14px; }
.form-success { padding: 22px; border-radius: 10px; background: color-mix(in srgb, var(--c-ok) 8%, #fff); }
.form-success h3 { margin: 0 0 6px; color: var(--c-ok); }

/* Honeypot: für Menschen unsichtbar */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }


/* Kategorie-Filter (Shop-Chips rendert shop.js; gleiche Optik für
   server-gerenderte Filter-Links, z. B. bei Aktuelles) */
.shop-filter, .kategorie-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.kategorie-filter + .kategorie-filter { margin-top: -12px; }
.shop-filter-chip, .kategorie-filter a {
    display: inline-block;
    padding: 7px 16px;
    font: inherit;
    font-size: .9rem;
    font-weight: 600;
    color: var(--c-muted);
    background: none;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
}
.shop-filter-chip:hover, .kategorie-filter a:hover { color: var(--c-accent); border-color: var(--c-accent); }
.shop-filter-chip.active, .kategorie-filter a.active {
    color: #fff;
    background: var(--c-accent);
    border-color: var(--c-accent);
}


/* OSM-Karte (lädt erst nach Einwilligung – Hook data-osm-karte in app.js) */
.osm-karte { border-radius: 10px; overflow: hidden; background: color-mix(in srgb, var(--c-ink) 4%, #fff); aspect-ratio: 16/10; margin-top: 14px; }
.osm-karte iframe { width: 100%; height: 100%; border: 0; display: block; }
.osm-platzhalter { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.osm-platzhalter p { margin: 0 0 8px; font-size: .9rem; color: var(--c-muted); max-width: 420px; }
.osm-platzhalter .osm-fineprint { font-size: .78rem; margin-bottom: 14px; }
.osm-copyright { font-size: .78rem; color: var(--c-muted); margin-top: 8px; }


/* Serientermine: Datumsleiste auf der Detailseite */
.serie-termine { display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; margin: 14px 0 18px; }
.serie-termine a { text-decoration: none; border: 1px solid var(--c-line, #ddd); border-radius: 99px; padding: 4px 12px; font-size: .9rem; }
.serie-termine a.active { background: var(--c-accent, #555); color: #fff; border-color: var(--c-accent, #555); }

/* Anmeldungen mit Platz-Limit */
.anmeldung-status { font-size: 1.05rem; }
.anmeldung-voll { color: #9c3f2c; }

/* ── Consent-Banner (Tracking / Consent Mode v2) ──────────── */
.consent-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
    background: #fff; border-top: 1px solid #e2e8f3; box-shadow: 0 -4px 24px rgba(0,0,0,.15); }
.consent-banner[hidden] { display: none; }
.consent-inner { max-width: 1100px; margin: 0 auto; padding: 18px 20px;
    display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.consent-text { flex: 1 1 320px; font-size: .92rem; line-height: 1.5; color: #14213d; }
.consent-text strong { display: block; margin-bottom: 3px; }
.consent-text p { margin: 0; color: #5b6678; }
.consent-btns { display: flex; gap: 10px; flex: 0 0 auto; }
.consent-btn { cursor: pointer; border: 0; border-radius: 8px; padding: 11px 20px; font: inherit; font-weight: 640; }
.consent-btn-sekundaer { background: #eef2f9; color: #14213d; }
.consent-btn-primaer { background: #22386f; color: #fff; }
@media (max-width: 560px) { .consent-btns { width: 100%; } .consent-btn { flex: 1; } }


/* ═══ „Nach oben"-Knopf mit Fortschrittsring (Snippet „nach-oben") ═══
   Deckende Flaeche → auf jedem Untergrund lesbar, auch ueber Fotos.
   app.js schaltet je nach Helligkeit des Untergrunds auf .auf-dunkel um. */
.nach-oben {
    position: fixed; bottom: calc(22px + var(--consent-hoehe, 0px)); z-index: 50;
    width: 48px; height: 48px; padding: 0;
    display: grid; place-items: center;
    border: 0; border-radius: 50%; cursor: pointer;
    background: #fff; color: #23262b;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .18), 0 0 0 1px rgba(0, 0, 0, .07);
    opacity: 0; transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease, background .2s ease, color .2s ease;
}
.nach-oben-links  { left: 22px; }
.nach-oben-rechts { right: 22px; }
.nach-oben.ist-da { opacity: 1; transform: none; }
.nach-oben:hover  { transform: translateY(-2px); }
.nach-oben:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

/* Ring: volle Knopfgroesse, startet oben (12 Uhr) */
.nach-oben-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.nach-oben-ring circle { fill: none; stroke-width: 2.5; }
.nach-oben-spur { stroke: currentColor; opacity: .18; }
.nach-oben-fortschritt { stroke: var(--nach-oben-akzent, currentColor); stroke-linecap: round; transition: stroke-dashoffset .1s linear; }

.nach-oben-pfeil { position: relative; width: 20px; height: 20px; }
.nach-oben-pfeil path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Variante fuer dunklen Untergrund */
.nach-oben.auf-dunkel { background: #23262b; color: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .14); }
.nach-oben.auf-dunkel .nach-oben-fortschritt { stroke: var(--nach-oben-akzent-dunkel, var(--nach-oben-akzent, currentColor)); }

@media (max-width: 640px) {
    .nach-oben { width: 44px; height: 44px; bottom: calc(16px + var(--consent-hoehe, 0px)); }
    .nach-oben-links  { left: 16px; }
    .nach-oben-rechts { right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .nach-oben { transition: opacity .01ms; transform: none; }
    .nach-oben:hover { transform: none; }
    .nach-oben-fortschritt { transition: none; }
}

/* Feld mit Validierungsfehler (app.js setzt .ist-fehlerhaft + aria-invalid).
   Doppelte Klasse hebt die Spezifitaet, damit die Site-eigene Feld-Regel
   (border-Kurzform) den roten Rahmen nicht ueberschreibt – ohne !important. */
.ist-fehlerhaft.ist-fehlerhaft,
[aria-invalid="true"][aria-invalid] {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .14);
}



/* ── Kernseiten ── */
.sr-only { position: absolute; left: -9999px; }
.nur-js { display: none; }
.js .nur-js { display: block; }
.nur-handy { display: none; }
.rich p { margin: 0 0 16px; }
.rich p:last-child { margin-bottom: 0; }
.h2-eng { margin-bottom: 8px; }
.h2-luft { margin-bottom: 40px; }
.beispiel {
    display: inline-block; margin: 0 0 10px; padding: 3px 9px; border-radius: 2px;
    background: #F2D9A6; color: #5A3B00; font-family: var(--schrift-text); font-size: .72rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; vertical-align: 3px;
}
.seiten-h1, .intro h1, .buehne h1 {
    font-family: var(--schrift-titel); font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.05; margin: 0 0 14px;
}
.res-klein { font-size: .95rem; color: var(--grau); }

/* Icons in der Leiste */
.lz { display: flex; align-items: center; gap: 16px; }
.lz svg { width: 30px; height: 30px; flex: none; color: var(--karamell); }

/* Öffnungszeiten-Box */
.oz {
    position: absolute; top: 118px; left: 40px; z-index: 4; width: 320px; border-radius: 3px;
    background: rgba(247, 221, 169, .96); color: var(--tinte); box-shadow: 0 14px 40px rgba(20, 12, 6, .3);
}
.oz-kopf { display: flex; align-items: center; gap: 12px; padding: 14px 18px 10px; }
.oz-txt { flex: 1; min-width: 0; }
.oz-status { display: block; font-family: var(--schrift-titel); font-weight: 700; font-size: 1.12rem; color: var(--braun); line-height: 1.2; }
.oz-sub { display: block; font-size: .88rem; color: var(--grau); margin-top: 2px; }
.punkt { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.oz-mehr {
    display: none; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 44px;
    padding: 0 18px; border: 0; border-top: 1px solid rgba(91, 48, 19, .16); background: none; cursor: pointer;
    font: inherit; font-size: .92rem; font-weight: 600; color: var(--braun); text-decoration: underline; text-underline-offset: 3px;
}
.js .oz-mehr { display: flex; }
.oz-mehr:hover { background: rgba(91, 48, 19, .07); }
.oz-mehr svg { width: 18px; height: 18px; flex: none; transition: transform .15s; }
.oz.offen .oz-mehr svg { transform: rotate(180deg); }
.oz-liste { padding: 4px 18px 14px; }
.js .oz:not(.offen) .oz-liste { display: none; }
.oz-tag { display: flex; justify-content: space-between; gap: 16px; font-size: .95rem; padding: 5px 0; border-top: 1px solid rgba(91, 48, 19, .14); }
.oz-tag.heute { font-weight: 700; color: var(--braun); }
.oz-kueche { font-size: .88rem; color: var(--grau); margin: 12px 0 0; }
.oz-link { display: inline-block; margin-top: 8px; font-weight: 600; font-size: .95rem; min-height: 28px; }
@media (min-width: 901px) {
    /* Aufgeklappt rechts neben der Box: überdeckt den Slidertext nicht */
    .oz { top: 100px; }
    .oz-liste { position: absolute; left: calc(100% + 10px); top: 0; width: min(620px, calc(100vw - 420px)); padding: 14px 18px; border-radius: 3px; background: rgba(244, 244, 218, .96); box-shadow: 0 14px 40px rgba(20, 12, 6, .3); }
    .oz-tage { columns: 2; column-gap: 28px; }
    .oz-tag { break-inside: avoid; }
}

/* Aufgeklappt deckend: der Slidertext darf nicht durchscheinen */
.oz.offen, .oz.offen .oz-liste { background: var(--grund); }
.oz-pause { margin: 0 0 8px; padding: 8px 12px; border-radius: 2px; background: var(--braun); color: var(--creme); font-size: .92rem; }
.oz-regulaer { margin: 0 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dachzeile); }
.oz-unten { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; margin-top: 10px; }
.oz-unten .oz-kueche { margin: 0; }
.oz-unten .oz-link { margin: 0; }
.fuss-pause { font-weight: 700; color: var(--karamell); }
@media (min-width: 1200px) {
    .oz-liste { width: min(740px, calc(100vw - 420px)); }
    .oz-tage { columns: 3; column-gap: 24px; }
}

/* Bereichsseiten (Gastgarten, Bar) */
.bereich-text { align-items: start; }
.bereich-bild, .block-bild { display: block; width: 100%; height: auto; border-radius: 3px; }
.bereich-bild { max-height: 760px; object-fit: cover; }
.block-bild { max-height: 520px; object-fit: cover; }
.bereich-galerie { padding: 0 0 90px; }
.bereich-galerie .galerie { margin: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bereich-galerie .galerie img { aspect-ratio: 4 / 5; }
@media (max-width: 900px) { .bereich-galerie .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bereich-galerie { padding-bottom: 60px; } }
.galerie img { border-radius: 3px; }
.fakten-hell .fakt b { color: var(--braun); }
.team-kopf { max-width: 760px; margin-bottom: 34px; }
.team-galerie { padding-bottom: 0; }
.team-galerie .galerie { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.team-galerie .galerie img { object-position: center 25%; }
@media (max-width: 900px) { .team-galerie .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Aktuelles */
.beitraege { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 34px; }
.beitrag-karte { overflow: hidden; border-radius: 3px; background: var(--papier); box-shadow: 0 1px 0 rgba(91, 48, 19, .14); }
.beitrag-karte img { display: block; width: 100%; height: 230px; object-fit: cover; }
.beitrag-karte > div { padding: 20px 24px 26px; }
.beitrag-karte time { font-size: .86rem; color: var(--grau); }
.beitrag-karte h2, .beitrag-karte h3 { font-size: 1.35rem; margin: 6px 0 8px; }
.beitrag-karte h2 a, .beitrag-karte h3 a { color: inherit; text-decoration: none; }
.beitrag-karte h2 a:hover, .beitrag-karte h3 a:hover { text-decoration: underline; }
.beitrag-karte p { margin: 0; font-size: .98rem; color: var(--grau); }
/* Startseite mit genau einem Beitrag: Karte quer statt einzelner schmaler Kachel */
.beitraege-start > .beitrag-karte:only-child { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.beitraege-start > .beitrag-karte:only-child > a { display: block; }
.beitraege-start > .beitrag-karte:only-child img { height: 100%; min-height: 280px; }
.beitraege-start > .beitrag-karte:only-child > div { align-self: center; padding: 30px 34px; }
.beitrag-detail { max-width: 780px; }
.beitrag-bild { display: block; width: 100%; height: auto; margin: 10px 0 26px; border-radius: 3px; }
.beitrag-teaser { font-size: 1.14rem; font-weight: 600; }

/* Häufige Fragen */
.faq-seite { max-width: 860px; }
.faq-liste { margin-top: 30px; border-bottom: 2px solid var(--linie); }
.faq-liste details { border-top: 2px solid var(--linie); }
.faq-liste summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 60px; padding: 12px 0; font-family: var(--schrift-titel); font-size: 1.22rem; font-weight: 700; color: var(--braun); cursor: pointer; list-style: none; }
.faq-liste summary::-webkit-details-marker { display: none; }
.faq-liste summary::after { content: "+"; flex: none; font-size: 1.6rem; font-weight: 400; line-height: 1; }
.faq-liste details[open] summary::after { content: "–"; }
.faq-liste .rich { padding: 0 0 20px; }
.faq-weiter { margin-top: 26px; }

/* Offene Stellen */
.stellen-leer { font-size: 1.14rem; margin: 0 0 40px; }
.stelle { padding: 26px 0; border-top: 2px solid var(--linie); }
.stelle h2 { font-size: 1.5rem; margin: 0 0 6px; }
.initiativ { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; margin-top: 30px; padding: 44px; border-radius: 3px; background: var(--creme-dunkel); }
@media (max-width: 900px) {
    .beitraege, .initiativ { grid-template-columns: minmax(0, 1fr); }
    .beitraege-start > .beitrag-karte:only-child { grid-column: auto; display: block; }
    .beitraege-start > .beitrag-karte:only-child img { height: 230px; min-height: 0; }
    .beitraege-start > .beitrag-karte:only-child > div { padding: 20px 24px 26px; }
    .initiativ { padding: 26px 20px; gap: 26px; }
    .initiativ .h2 { font-size: clamp(1.2rem, 5.6vw, 2.2rem); letter-spacing: .03em; overflow-wrap: anywhere; }
}

/* Rechtstexte */
.rechtstext { max-width: 820px; }
.rechtstext h2 { font-size: 1.4rem; margin: 34px 0 10px; }
.rechtstext ul { padding-left: 22px; }
.rechtstext li { margin-bottom: 8px; }
/* Noch offene Angaben: vor dem Livegang ausfüllen */
.luecke { padding: 1px 7px; border-radius: 2px; background: #F2D9A6; color: #5A3B00; font-size: .9em; font-weight: 600; }

/* Bildwechsel anhalten */
.slider-pause { width: 52px; padding: 0; }
.js .hero .slider-pause { display: inline-flex; }
.slider-pause { display: none; }
.slider-pause[aria-pressed="true"] { background: var(--creme); border-color: var(--creme); color: var(--braun); }
.hero.pausiert .hb, .hero.pausiert .sl, .hero.pausiert .sl i::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .js .hero .slider-pause { display: none; } }

/* Pflichtfelder */
.feld:has(:required) > label::after, .stube-feld legend::after { content: " *"; }
.pflicht-hinweis { margin: 0; font-size: .86rem; color: var(--grau); }

/* Sichtbarer Hinweis-Banner: der Kopf liegt dann im Fluss, das Startbild beginnt darunter */
.hinweis-banner:not([hidden]) ~ main .oz { top: 24px; }
@media (max-width: 760px) {
    .hinweis-banner:not([hidden]) ~ main .hero { height: calc(100vh - 170px); height: calc(100svh - 170px); min-height: 640px; }
    .hinweis-banner:not([hidden]) ~ main .hero-text .kicker { display: none; }
}

/* Woche auf der Startseite */
.woche { position: relative; overflow: hidden; }
.woche-deko { position: absolute; left: -90px; top: 60px; width: 300px; height: auto; pointer-events: none; }
.woche-wrap { padding-left: 230px; max-width: 1400px; }
.woche-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 56px; align-items: start; }
.woche-sub { margin: 0 0 24px; color: var(--grau); }
.wt { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; align-items: baseline; padding: 14px 0; border-top: 2px solid rgba(91, 48, 19, .16); }
.wt b { font-family: var(--schrift-titel); font-size: 1.6rem; color: var(--braun); }
.wt span { font-size: 1.06rem; font-weight: 600; }
.wt.heute { background: var(--papier); margin: 0 -18px; padding: 14px 18px; border-top-color: transparent; box-shadow: inset 4px 0 0 var(--braun); }
.wt.ruhe span { font-weight: 400; font-style: italic; color: var(--grau); }
.heute-chip { display: inline-block; margin-left: 10px; padding: 3px 8px; border-radius: 2px; background: var(--braun); color: var(--creme); font-size: .72rem; font-weight: 700; font-style: normal; letter-spacing: .14em; text-transform: uppercase; vertical-align: 3px; }
.woche-mehr { margin-top: 26px; }

/* Newsletter-Kasten */
.nl { background: var(--braun); color: var(--creme); padding: 32px 30px; border-radius: 3px; }
.nl h2, .nl h3 { color: var(--creme); font-size: 1.5rem; margin: 0 0 8px; line-height: 1.2; }
.nl p { margin: 0 0 18px; font-size: .98rem; opacity: .94; }
.nl label { display: block; font-size: .86rem; font-weight: 600; margin: 0 0 6px; }
.nl input[type="email"], .nl input[type="text"] {
    width: 100%; height: 50px; margin-bottom: 12px; padding: 0 14px; border: 0; border-radius: 2px;
    background: var(--papier); color: var(--tinte); font: inherit; font-size: 1rem;
}
.nl-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: .9rem; line-height: 1.45; }
.nl-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--karamell); }
.nl-check label { margin: 0; font-weight: 400; font-size: inherit; }
.nl-check a { color: var(--creme); }
.nl-klein { font-size: .84rem; }
.nl-listen { border-top: 1px solid rgba(244, 244, 218, .25); padding-top: 14px; margin: 4px 0 4px; }
.nl .btn { width: 100%; }
.nl [data-form-error] { color: #FFD9C7; margin-bottom: 12px; }
.nl-klebt { position: sticky; top: 24px; }

/* Teaser Speisen */
.kopfzeile { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.kopfzeile-luft { margin-bottom: 34px; }
.btnreihe-eng { margin-top: 0; }
.teaser { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 46px; }
.teaser-karte { display: flex; flex-direction: column; overflow: hidden; border-radius: 3px; background: var(--papier); color: var(--tinte); text-decoration: none; box-shadow: 0 1px 0 rgba(91, 48, 19, .12); }
.teaser-karte:hover { color: var(--tinte); box-shadow: 0 14px 40px rgba(91, 48, 19, .16); }
.teaser-karte img { display: block; width: 100%; height: 250px; object-fit: cover; }
.teaser-karte div { padding: 22px 24px 26px; }
.teaser-karte h3 { font-size: 1.35rem; margin: 0 0 6px; text-transform: uppercase; letter-spacing: .05em; }
.teaser-karte p { margin: 0; font-size: .98rem; color: var(--grau); }

/* Termine als Zeile (Startseite) */
.ev-zeile { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 24px 0; border-top: 2px solid rgba(91, 48, 19, .16); color: var(--tinte); text-decoration: none; }
.ev-zeile:hover { color: var(--tinte); background: rgba(91, 48, 19, .04); }
.ev-zeile h3 { font-size: 1.45rem; margin: 0 0 4px; }
.ev-zeile p { margin: 0; color: var(--grau); font-size: .98rem; }
.ev-hinweis { font-size: .86rem; font-weight: 600; color: var(--braun); white-space: nowrap; }
.datum { background: var(--braun); color: var(--creme); text-align: center; padding: 12px 0 10px; border-radius: 2px; line-height: 1.05; }
.datum b { display: block; font-family: var(--schrift-titel); font-size: 2.2rem; }
.datum span { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }

/* Stuben */
.stuben { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 560px; }
.stuben > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.stuben-text { display: flex; flex-direction: column; justify-content: center; padding: 84px 72px; background: var(--nacht); color: var(--creme); }
.stuben-text .h2, .stuben-text .kicker { color: var(--karamell); }
.stuben-absatz { margin: 22px 0 0; max-width: 520px; }
.fakten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 30px 0 34px; }
.fakt b { display: block; font-family: var(--schrift-titel); font-size: 2.4rem; color: var(--karamell); line-height: 1; }
.fakt span { font-size: .92rem; opacity: .9; }

/* Kacheln Gastgarten + Bar */
.kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.kachel { position: relative; display: block; height: 440px; overflow: hidden; border-radius: 3px; color: var(--creme); text-decoration: none; }
.kachel:hover { color: #fff; }
.kachel img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kachel div { position: absolute; left: 0; right: 0; bottom: 0; padding: 90px 32px 28px; background: linear-gradient(180deg, rgba(24, 15, 7, 0) 0%, rgba(24, 15, 7, .78) 70%); }
.kachel h3 { color: inherit; font-size: 1.9rem; margin: 0 0 4px; text-transform: uppercase; letter-spacing: .05em; }
.kachel p { margin: 0; font-size: 1rem; }

/* Reservierung */
.res { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.consent { padding: 44px 40px; border: 2px dashed rgba(91, 48, 19, .35); border-radius: 3px; background: var(--papier); text-align: center; }
.consent svg { width: 44px; height: 44px; color: var(--braun); }
.consent h3 { font-size: 1.4rem; margin: 12px 0 8px; }
.consent p { font-size: .92rem; color: var(--grau); margin: 0 auto 22px; max-width: 460px; }

.res-wichtig { margin: 18px 0; padding: 14px 18px; border-left: 4px solid var(--braun); background: var(--papier); font-weight: 600; }
.tably-rahmen { display: block; width: 100%; height: 700px; border: 0; }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; }
.k-zeile { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid rgba(91, 48, 19, .16); }
.k-zeile > svg { width: 22px; height: 22px; flex: none; margin-top: 4px; color: var(--braun); }
.k-klein { font-size: .88rem; color: var(--grau); margin: 6px 0 0; }
.k-zeiten { flex: 1; }
.k-zeiten div { display: flex; justify-content: space-between; gap: 16px; font-size: .96rem; }
.k-zeiten div.heute { font-weight: 700; color: var(--braun); }
.k-karte { min-width: 0; }
.k-karte .osm-karte { position: relative; width: 100%; min-height: 420px; aspect-ratio: auto; }
/* Karte füllt den Rahmen (ohne feste Rahmenhöhe fiele das iframe auf 150 px zurück) */
.k-karte .osm-karte iframe { position: absolute; inset: 0; }

/* Speisekarte */
.intro { position: relative; padding: 64px 0 40px; overflow: hidden; }
.intro p:not(.kicker) { max-width: 640px; margin: 0; color: var(--grau); }
.intro-ill { position: absolute; right: 40px; top: 26px; width: 250px; height: auto; }
.filter { position: sticky; top: 0; z-index: 15; background: rgba(247, 221, 169, .97); border-top: 2px solid var(--linie); border-bottom: 2px solid var(--linie); }
.filter-in { display: flex; flex-direction: column; gap: 14px; max-width: 1240px; margin: 0 auto; padding: 18px 40px; }
.zeile { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.suche { position: relative; flex: 1 1 260px; max-width: 380px; margin-left: auto; }
.suche input { width: 100%; height: 46px; padding: 0 14px 0 42px; border: 2px solid rgba(91, 48, 19, .35); border-radius: 2px; background: var(--papier); color: var(--tinte); font: inherit; font-size: 1rem; }
.suche svg { position: absolute; left: 13px; top: 13px; width: 20px; height: 20px; color: var(--braun); }
.chipreihe { display: flex; flex-direction: column; gap: 8px; }
.chipzeile { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.gruppe { flex: 0 0 92px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dachzeile); }
.chip {
    display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 16px; border-radius: 22px;
    border: 2px solid rgba(91, 48, 19, .35); background: var(--papier); color: var(--tinte);
    font: inherit; font-size: .94rem; font-weight: 500; cursor: pointer;
}
.chipzeile .chip { min-height: 44px; padding: 0 13px; font-size: .9rem; }
.chip:hover { border-color: var(--braun); }
.chip[aria-pressed="true"] { background: var(--braun); border-color: var(--braun); color: var(--creme); }
.chip[aria-pressed="true"]::before { content: "✓"; font-weight: 700; }
.anzahl, .filterhinweis { font-size: .9rem; color: var(--grau); }
.reset { min-height: 44px; margin-left: auto; padding: 0 6px; border: 0; background: none; color: var(--braun); font: inherit; font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.reset:hover { color: var(--tinte); }
.bereich { scroll-margin-top: 250px; }
.bereich-kopf { display: flex; align-items: center; gap: 22px; padding: 46px 0 6px; }
.bereich-kopf h2 { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 2.4rem; margin: 0; white-space: nowrap; }
.bereich-kopf span { flex: 1; height: 2px; background: rgba(91, 48, 19, .3); }
.spalten { columns: 2; column-gap: 72px; padding: 46px 0 30px; }
.kat { break-inside: avoid; margin: 0 0 46px; }
.kat h3 { font-size: 1.75rem; text-transform: uppercase; letter-spacing: .06em; margin: 0; padding-bottom: 10px; border-bottom: 2px solid rgba(91, 48, 19, .25); }
.kat-hin { font-size: .95rem; color: var(--grau); margin: 10px 0 0; font-style: italic; }
.pos { padding: 14px 0 12px; border-bottom: 1px solid rgba(91, 48, 19, .13); }
.pos-kopf { display: flex; align-items: baseline; gap: 14px; }
.pos-name { flex: 1; font-weight: 600; font-size: 1.14rem; }
.pos-preis, .var b { font-family: var(--schrift-titel); font-weight: 700; color: var(--braun); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pos-preis { font-size: 1.18rem; }
.pos-text { font-size: .96rem; color: var(--grau); margin-top: 2px; }
.veg-marke { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 2px; background: #E3E8C8; color: #3D5A1E; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
.var { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0 0 22px; font-size: 1rem; }
.leer { text-align: center; padding: 80px 0; color: var(--grau); }
.hinweise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 34px 0 90px; border-top: 2px solid var(--linie); }
.hinweis b { display: block; font-family: var(--schrift-titel); color: var(--braun); font-size: 1.1rem; margin-bottom: 4px; }
.hinweis p { margin: 0; font-size: .95rem; color: var(--grau); }

/* Wochenkarte */
.buehne-woche { position: relative; padding: 70px 0 110px; overflow: hidden; }
.deko { position: absolute; left: -60px; top: 90px; width: 300px; height: auto; pointer-events: none; }
.raster { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .75fr); gap: 64px; align-items: start; padding-left: 240px; max-width: 1400px; }
.sub { color: var(--grau); margin: 0; }
.kw { display: flex; align-items: center; gap: 10px; margin: 30px 0 22px; flex-wrap: wrap; }
.kw-knopf { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 2px; border: 2px solid rgba(91, 48, 19, .35); background: var(--papier); color: var(--braun); }
a.kw-knopf:hover { border-color: var(--braun); color: var(--braun); }
.kw-knopf.ist-aus { opacity: .4; }
.kw-knopf svg { width: 18px; height: 18px; }
.kw-label { font-family: var(--schrift-titel); font-weight: 700; font-size: 1.3rem; padding: 0 8px; }
.kw-zeit { color: var(--grau); font-size: .95rem; }
.wtag { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 26px; align-items: center; padding: 22px 0; border-top: 2px solid rgba(91, 48, 19, .18); }
.wtag:last-child { border-bottom: 2px solid rgba(91, 48, 19, .18); }
.wtag-k b { display: block; font-family: var(--schrift-titel); font-size: 2.6rem; line-height: 1; color: var(--braun); }
.wtag-k span { font-size: .86rem; color: var(--grau); }
.gericht { font-size: 1.34rem; font-weight: 600; line-height: 1.35; }
.wtag-preis { font-family: var(--schrift-titel); font-weight: 700; color: var(--braun); margin-top: 2px; }
.zusatz { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.pill { padding: 3px 9px; border-radius: 2px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.p-veg { background: #E3E8C8; color: #3D5A1E; }
.p-heute { background: var(--braun); color: var(--creme); }
.wtag.heute { margin: 0 -24px; padding: 22px 24px; background: var(--papier); box-shadow: inset 5px 0 0 var(--braun); border-top-color: transparent; }
.wtag.ruhe .gericht { font-weight: 400; font-style: italic; color: var(--grau); }
.wtag.ruhe .wtag-k b { color: #7D6B57; }
.vorrat { font-size: .95rem; color: var(--grau); margin-top: 18px; }
.woche-leer { padding: 46px 30px; border: 2px dashed rgba(91, 48, 19, .3); border-radius: 3px; text-align: center; color: var(--grau); }
.extra { margin-top: 22px; padding: 22px 24px; border-radius: 3px; background: var(--creme-dunkel); font-size: .95rem; }
.extra b { font-family: var(--schrift-titel); color: var(--braun); }
.link-knopf { padding: 8px 0; border: 0; background: none; color: var(--braun); font: inherit; text-align: left; text-decoration: underline; cursor: pointer; }

/* Veranstaltungen */
.sek-kurz { padding: 80px 0; }
.buehne { position: relative; height: 380px; overflow: hidden; color: var(--creme); background: var(--nacht); }
.buehne > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.buehne-klein { height: 320px; }
/* Restaurant, Gastgarten, Bar: Bild wächst mit der Bildschirmbreite (max. 2/3 der Fensterhöhe) */
.buehne-hoch { height: clamp(380px, 36vw, 640px); max-height: 66vh; }
.buehne-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 120px 0 42px; background: linear-gradient(180deg, rgba(24, 15, 7, 0) 0%, rgba(24, 15, 7, .78) 75%); }
.buehne h1 { color: var(--creme); margin-bottom: 8px; }
.buehne p:not(.kicker) { margin: 0; max-width: 640px; font-size: 1.1rem; }
.buehne .kicker { color: var(--creme); }
.monat { font-size: 1.25rem; letter-spacing: .14em; text-transform: uppercase; margin: 46px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--linie); }
.monat:first-child { margin-top: 0; }
.ev-karte { display: grid; grid-template-columns: 300px minmax(0, 1fr) 250px; gap: 32px; align-items: stretch; margin-bottom: 22px; overflow: hidden; border-radius: 3px; background: var(--papier); box-shadow: 0 1px 0 rgba(91, 48, 19, .14); }
.ev-bild { position: relative; min-height: 230px; background: var(--creme-dunkel); }
.ev-bild img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.ev-bild .datum { position: absolute; left: 16px; top: 16px; padding: 10px 14px 8px; }
.ev-bild .datum b { font-size: 2rem; }
.ev-bild .datum span { font-size: .74rem; }
.ev-info { padding: 26px 0; }
.ev-info h3 { font-size: 1.6rem; margin: 0 0 6px; line-height: 1.2; }
.ev-info h3 a { color: inherit; text-decoration: none; }
.ev-info h3 a:hover { text-decoration: underline; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .95rem; color: var(--grau); margin-bottom: 10px; }
.serie { display: inline-block; margin: 0 6px 10px 0; padding: 3px 8px; border-radius: 2px; background: var(--creme-dunkel); color: var(--braun); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ev-aktion { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 26px 26px 26px 0; }
.plaetze { font-size: .92rem; font-weight: 600; color: var(--braun); }
.balken { height: 8px; border-radius: 4px; background: var(--creme-dunkel); overflow: hidden; }
.balken i { display: block; height: 100%; background: var(--braun); }
.ev-aktion small { font-size: .86rem; color: var(--grau); }

/* Formulare */
.form-raster { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.feier-bild { display: block; width: 100%; height: 280px; object-fit: cover; margin-top: 30px; border-radius: 3px; }
.form { padding: 34px 34px 30px; border-radius: 3px; background: var(--papier); }
.felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.feld { display: flex; flex-direction: column; gap: 6px; }
.breit { grid-column: 1 / -1; }
.feld label, .legende { margin: 0; font-size: .9rem; font-weight: 600; color: var(--tinte); }
.form .feld input, .form .feld select, .form .feld textarea {
    width: 100%; min-height: 50px; padding: 0 14px; border: 2px solid rgba(91, 48, 19, .3); border-radius: 2px;
    background: #fff; color: var(--tinte); font: inherit; font-size: 1rem;
}
.form .feld textarea { min-height: 110px; padding: 12px 14px; resize: vertical; }
.form .feld input:focus, .form .feld select:focus, .form .feld textarea:focus { outline: 3px solid rgba(91, 48, 19, .35); outline-offset: 1px; border-color: var(--braun); }
.stube-feld { border: 0; padding: 0; margin: 0; min-width: 0; }
.stube-feld legend { padding: 0; margin-bottom: 6px; }
.stube-wahl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feld label.stube { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid rgba(91, 48, 19, .25); border-radius: 3px; background: #fff; font-size: .98rem; font-weight: 400; cursor: pointer; }
.form .feld label.stube input { width: 20px; min-height: 0; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--braun); }
.stube b { display: block; color: var(--braun); }
.stube small { color: var(--grau); font-size: .86rem; }
.cb { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; line-height: 1.45; color: var(--grau); }
.cb input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--braun); }
.cb label { margin: 0; font-weight: 400; font-size: inherit; }
.stepper { display: inline-flex; align-items: center; width: max-content; border: 2px solid rgba(91, 48, 19, .3); border-radius: 2px; background: #fff; }
.stepper button { width: 50px; height: 46px; border: 0; background: none; color: var(--braun); font: inherit; font-size: 1.4rem; cursor: pointer; }
.form .feld .stepper input { width: 56px; min-height: 46px; padding: 0; border: 0; text-align: center; font-weight: 700; font-size: 1.1rem; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.auswahl { padding: 24px 28px; margin-bottom: 20px; border-radius: 3px; background: var(--braun); color: var(--creme); scroll-margin-top: 24px; }
.auswahl .kicker { color: var(--karamell); margin-bottom: 8px; }
.plaetze-hell { margin: 0; font-size: .98rem; }
.form-success { background: var(--papier); }

@media (max-width: 1200px) {
    .woche-wrap, .raster { padding-left: 40px; }
    .woche-deko, .deko { display: none; }
    .raster { padding-right: 40px; }
    .ev-karte { grid-template-columns: 240px minmax(0, 1fr); }
    .ev-aktion { grid-column: 2; padding: 0 26px 26px 0; }
}
@media (max-width: 900px) {
    .woche-grid, .res, .kontakt, .stuben, .form-raster, .raster { grid-template-columns: minmax(0, 1fr); }
    .teaser, .kacheln, .hinweise { grid-template-columns: minmax(0, 1fr); }
    .spalten { columns: 1; }
    .intro-ill { display: none; }
    .suche { max-width: none; margin-left: 0; }
    .gruppe { flex-basis: 100%; }
    .stuben-text { padding: 56px 28px; }
    .ev-zeile { grid-template-columns: 84px minmax(0, 1fr); }
    .ev-hinweis { grid-column: 2; white-space: normal; }
    .ev-karte { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .ev-info { padding: 22px 22px 0; }
    .ev-aktion { grid-column: 1; padding: 16px 22px 24px; }
    .nl-klebt { position: static; }
    .kachel { height: 340px; }
    .oz { left: 20px; right: 20px; width: auto; top: 88px; }
}
@media (max-width: 760px) {
    .woche-wrap, .raster { padding-left: 20px; padding-right: 20px; }
    .nur-handy { display: block; }
    .handy-start { padding: 26px 20px 30px; }
    .heute-box { margin-bottom: 14px; padding: 18px; border-radius: 3px; background: var(--braun); color: var(--creme); }
    .heute-box small { display: block; margin-bottom: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--karamell); }
    .heute-box b { display: block; font-family: var(--schrift-titel); font-size: 1.25rem; line-height: 1.25; }
    .heute-box a { display: inline-block; margin-top: 10px; color: var(--creme); font-size: .9rem; }
    .schnellkacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .schnellkacheln a { display: flex; flex-direction: column; justify-content: flex-end; min-height: 92px; padding: 14px; border-radius: 3px; background: var(--papier); color: var(--tinte); text-decoration: none; box-shadow: 0 1px 0 rgba(91, 48, 19, .14); }
    .schnellkacheln svg { width: 24px; height: 24px; margin-bottom: auto; color: var(--braun); }
    .schnellkacheln b { margin-top: 10px; font-family: var(--schrift-titel); font-size: 1.02rem; color: var(--braun); }
    .seiten-h1, .intro h1, .buehne h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
    .filter { position: static; }
    .bereich { scroll-margin-top: 16px; }
    .filter-in { padding: 16px 20px; }
    .bereich-kopf h2 { font-size: 1.8rem; }
    .wtag { grid-template-columns: 76px minmax(0, 1fr); gap: 16px; }
    .wtag-k b { font-size: 2rem; }
    .wtag.heute { margin: 0 -12px; padding: 22px 12px; }
    .wt.heute { margin: 0 -12px; padding: 14px 12px; }
    .gericht { font-size: 1.14rem; }
    .felder, .stube-wahl { grid-template-columns: minmax(0, 1fr); }
    .form { padding: 24px 20px; }
    .buehne { height: 340px; }
    .consent { padding: 32px 20px; }
}

/* Drucken (Speise- und Wochenkarte) */
@media print {
    .kopf, .fuss, .schnellleiste, .nach-oben, .filter, .nur-kein-druck, .hinweis.nur-js, .deko, .intro-ill, .zum-inhalt, .hinweis-banner { display: none !important; }
    body { background: #fff; padding: 0; font-size: 12pt; }
    .raster { display: block; padding: 0; }
    .spalten { columns: 2; padding: 12pt 0; }
    .bereich { break-before: auto; }
    .buehne-woche, .intro { padding: 0 0 12pt; }
    .wrap { padding: 0; max-width: none; }
    .wtag.heute { background: none; box-shadow: none; margin: 0; padding: 12pt 0; }
    .kat { margin-bottom: 18pt; }
}

/* Sehr schmale Handys (320 px): lange Ueberschriften wie VERANSTALTUNGEN duerfen nicht ueberlaufen */
@media (max-width: 360px) {
    .h2 { font-size: 1.55rem; letter-spacing: .04em; }
}
