/* ==========================================================================
   Das original Spießbratenhaus – Frontend
   Stil: Papier & Tusche passend zum gezeichneten Fachwerk-Logo.
   Keine externen Schriften/CDNs (DSGVO-freundlich).
   ========================================================================== */

:root {
    --paper: #f6f1e7;
    --paper-dark: #ece4d3;
    --ink: #1f1c18;
    --ink-soft: #4a443b;
    --muted: #7a7164;
    --accent: #8a1f1d;          /* Weinrot wie alte Gasthausschilder */
    --accent-dark: #6c1614;
    --line: #cfc4ae;
    --white: #fffdf8;
    --success: #2f6b3a;
    --error: #a12622;

    --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --header-h: 68px;
    --radius: 4px;
    --shadow: 0 1px 2px rgba(31, 28, 24, .08), 0 8px 24px rgba(31, 28, 24, .08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 17px/1.65 var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 820px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: .75em 1.6em;
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    font: 600 .95rem/1.2 var(--font-sans);
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--white); }
.btn-small { padding: .5em 1em; font-size: .8rem; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Header / Navigation ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    height: var(--header-h);
    transition: background-color .3s, box-shadow .3s;
}
.site-header.is-solid {
    background: rgba(246, 241, 231, .97);
    box-shadow: 0 1px 0 var(--line);
}
.legal-page .site-header { position: sticky; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand {
    font: 600 1.2rem/1.1 var(--font-serif);
    color: var(--ink);
    text-decoration: none;
    opacity: 0;
    transition: opacity .3s;
}
.brand small { display: block; font: .72rem/1.3 var(--font-sans); letter-spacing: .06em; color: var(--muted); }
.site-header.is-solid .brand { opacity: 1; }

.main-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
    color: var(--ink);
    text-decoration: none;
    font-size: .9rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.back-link { font-weight: 600; text-decoration: none; }

.nav-toggle { display: none; }

@media (max-width: 820px) {
    .nav-toggle {
        display: flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 44px; height: 44px; padding: 10px;
        background: none; border: 0; cursor: pointer;
    }
    .nav-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

    .main-nav {
        position: absolute; top: var(--header-h); left: 0; right: 0;
        background: var(--paper);
        box-shadow: 0 8px 16px rgba(0,0,0,.08);
        display: none;
    }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
    .main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
    .site-header:has(.main-nav.is-open) { background: var(--paper); }
    .has-hero-image .site-header:not(.is-solid) .main-nav.is-open a { color: var(--ink); text-shadow: none; }
    .has-hero-image .site-header:not(.is-solid):has(.main-nav.is-open) .brand { color: var(--ink); }
    .has-hero-image .site-header:not(.is-solid):has(.main-nav.is-open) .nav-toggle span:not(.sr-only) { background: var(--ink); }
    .brand { opacity: 1; }
}

/* ---------- Hero / Banner ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex; align-items: center;
    padding: calc(var(--header-h) + 24px) 0 64px;
    text-align: center;
    /* Fallback ohne Bannerbild: Papier mit feiner Schraffur */
    background:
        radial-gradient(ellipse at center, rgba(246,241,231,0) 40%, rgba(31,28,24,.08) 100%),
        repeating-linear-gradient(135deg, rgba(31,28,24,.025) 0 1px, transparent 1px 7px),
        var(--paper);
}
.hero--image {
    background-color: #1b1714;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--white);
}
.hero--image::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 45% at 50% 55%, rgba(20,17,14,.55), transparent 100%),
        linear-gradient(rgba(20,17,14,.6), rgba(20,17,14,.35) 40%, rgba(20,17,14,.8));
}
.hero--image .hero-title { text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.hero--image .hero-subtitle, .hero--image .hero-slogan { text-shadow: 0 1px 8px rgba(0,0,0,.7); }

/* Navigation über dem Bannerfoto (noch nicht gescrollt) hell darstellen */
.has-hero-image .site-header:not(.is-solid) .main-nav a { color: var(--white); text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.has-hero-image .site-header:not(.is-solid) .main-nav a:hover,
.has-hero-image .site-header:not(.is-solid) .main-nav a.is-active { color: #f2c27e; border-bottom-color: #f2c27e; }
.has-hero-image .site-header:not(.is-solid) .nav-toggle span:not(.sr-only) { background: var(--white); }
.has-hero-image .site-header:not(.is-solid) .brand { color: var(--white); }
.has-hero-image .site-header:not(.is-solid) .brand small { color: #e0d4bf; }
.hero-inner { position: relative; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }

.hero-logo {
    width: min(460px, 86vw);
    mix-blend-mode: multiply;    /* weißer Logo-Hintergrund verschmilzt mit dem Papier */
    margin-bottom: 8px;
}
.hero--image .hero-logo {
    mix-blend-mode: normal;
    width: min(340px, 72vw);
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,.35);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2rem, 5.5vw, 3.6rem);
    margin: 0;
    letter-spacing: .01em;
}
.hero-subtitle {
    font: 600 clamp(1rem, 2.4vw, 1.35rem)/1.3 var(--font-serif);
    font-style: italic;
    margin: .3em 0 0;
    color: var(--accent);
}
.hero--image .hero-subtitle { color: #f2d9b5; }
.hero-slogan {
    max-width: 36em; margin: 1em auto 0;
    font-size: 1.05rem; color: var(--ink-soft);
}
.hero--image .hero-slogan { color: rgba(255,253,248,.9); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.hero-brand { display: flex; flex-direction: column; align-items: center; }
.hero--image .hero-logo { background: var(--paper); }

/* Ab Desktop-Breite: Marke links, aktuelle Meldung rechts – alles ohne Scrollen sichtbar */
@media (min-width: 960px) {
    .hero-inner--split {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
        gap: 56px;
        align-items: center;
    }
    .hero-inner--split .hero-news { margin-top: 0; width: 100%; flex-direction: column; }
    .hero-inner--split .hero-news-image { width: 100%; height: 170px; }
    .hero-inner--split .hero-logo { width: min(320px, 26vw); }
    .hero-inner--split .hero--image .hero-logo, .hero--image .hero-inner--split .hero-logo { width: min(300px, 24vw); }
}
@media (min-width: 960px) and (max-height: 760px) {
    .hero-inner--split .hero-logo, .hero--image .hero-inner--split .hero-logo { width: min(250px, 22vw); }
    .hero { padding-bottom: 40px; }
}

/* Neueste Meldung im Banner */
.hero-news {
    display: flex; align-items: stretch; gap: 0;
    width: min(560px, 100%);
    margin-top: 36px;
    text-align: left; text-decoration: none;
    color: var(--ink);
    background: rgba(255, 253, 248, .96);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0,0,0,.28);
    transition: transform .2s, box-shadow .2s;
}
.hero-news:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 16px 44px rgba(0,0,0,.34); }
.hero-news-image { width: 120px; flex-shrink: 0; object-fit: cover; }
.hero-news-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px 16px; }
.hero-news-label { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.hero-news-title { font: 600 1.2rem/1.25 var(--font-serif); }
.hero-news-text { font-size: .92rem; line-height: 1.5; color: var(--ink-soft); }
.hero-news-more { font-size: .85rem; font-weight: 700; color: var(--accent); margin-top: 2px; }
@media (max-width: 560px) {
    .hero-news { margin-top: 24px; }
    .hero-news-image { display: none; }
    .hero-news-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
/* Auf kleinen Bildschirmen das Banner kompakter, damit die Meldung sichtbar bleibt */
@media (max-width: 560px) {
    .hero { padding-top: calc(var(--header-h) + 8px); padding-bottom: 32px; }
    .hero-logo { width: min(300px, 70vw); }
    .hero--image .hero-logo { width: min(190px, 50vw); padding: 8px; margin-bottom: 12px; }
    .hero-logo { width: min(240px, 62vw); }
    .hero-slogan { margin-top: .6em; font-size: .98rem; }
    .hero-actions { margin-top: 20px; }
    .hero-actions .btn { padding: .65em 1.2em; }
}

.hero--image .btn-outline { color: var(--white); border-color: var(--white); }
.hero--image .btn-outline:hover { background: var(--white); color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--alt { background: var(--paper-dark); }
.section-title { text-align: center; font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: .2em; }
.ornament {
    width: 140px; height: 14px; margin: 0 auto 40px;
    background:
        linear-gradient(var(--accent), var(--accent)) left center / 52px 1px no-repeat,
        linear-gradient(var(--accent), var(--accent)) right center / 52px 1px no-repeat,
        radial-gradient(circle, var(--accent) 3px, transparent 3.5px) center / 14px 14px no-repeat;
}
.prose { font-size: 1.08rem; color: var(--ink-soft); text-align: center; }
.prose p { margin: 0 0 1em; }
.legal-page .prose { text-align: left; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.news-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: var(--shadow);
}
.news-card.is-hidden { display: none; }
.news-card.is-highlight { animation: newsPulse 1.6s ease; }
@keyframes newsPulse { 0%, 100% { box-shadow: var(--shadow); } 30% { box-shadow: 0 0 0 4px var(--accent), var(--shadow); } }
.news-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.news-body time { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.news-body h3 { font-size: 1.35rem; margin: .35em 0 .5em; }
.news-text { color: var(--ink-soft); font-size: .98rem; }
.news-text p { margin: 0 0 .8em; }
.news-text.is-clamped { max-height: 7.5em; overflow: hidden; position: relative; }
.news-text.is-clamped::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 2.5em;
    background: linear-gradient(rgba(255,253,248,0), var(--white));
}
.news-more {
    align-self: flex-start; margin-top: auto; padding: 4px 0;
    background: none; border: 0; color: var(--accent); font: 600 .9rem var(--font-sans); cursor: pointer;
}
.news-more:hover { text-decoration: underline; }
#news-load-more { margin-top: 36px; }

/* ---------- Speisekarte ---------- */
.menu-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.menu-tab {
    padding: .55em 1.1em;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    font: 600 .88rem var(--font-sans); letter-spacing: .03em;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all .2s;
}
.menu-tab:hover { border-color: var(--accent); color: var(--accent); }
.menu-tab.is-active { background: var(--accent); border-color: var(--accent); color: var(--white); }

.menu-category { display: none; }
.menu-category.is-active { display: block; animation: fadeIn .35s ease; }
.menu-category-title { text-align: center; font-size: 1.7rem; margin-bottom: .1em; }
.menu-category-desc { text-align: center; color: var(--muted); font-style: italic; font-family: var(--font-serif); margin: 0 0 24px; }

.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-item { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.menu-item:last-child { border-bottom: 0; }
.menu-item-head { display: flex; align-items: baseline; gap: 10px; }
.menu-item-name { font: 600 1.15rem/1.3 var(--font-serif); }
.menu-item-dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); min-width: 20px; }
.menu-item-price { font-weight: 700; white-space: nowrap; color: var(--accent); }
.menu-item-codes { font: 500 .62rem var(--font-sans); color: var(--muted); letter-spacing: .02em; vertical-align: super; }
.menu-item-portion { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.menu-item-variant { display: flex; justify-content: flex-end; align-items: baseline; gap: 10px; margin-top: 2px; }
@media (max-width: 520px) {
    .menu-item-head { flex-wrap: wrap; }
    .menu-item-name { flex-basis: 100%; }
    .menu-item-dots { display: none; }
    .menu-item-head .menu-item-portion { margin-right: auto; }
    .menu-item-head .menu-item-price { margin-left: auto; }
}
.menu-item-desc { margin: 4px 0 0; color: var(--ink-soft); font-size: .95rem; }
.menu-item-tags { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
    font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
    padding: 2px 8px; border-radius: 999px;
    background: var(--paper-dark); color: var(--ink-soft); border: 1px solid var(--line);
}
.menu-note { margin-top: 40px; text-align: center; font-size: .88rem; color: var(--muted); }
.menu-note p { margin: 0 0 .5em; }
.allergens { margin: 20px auto 0; max-width: 680px; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.allergens summary { cursor: pointer; text-align: center; font-weight: 600; color: var(--ink-soft); }
.allergens-body { margin-top: 10px; }
.allergens-body p { margin: 0 0 .6em; }

/* ---------- Spießbraten (dunkler Bereich) ---------- */
.section--dark {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(138,31,29,.35), transparent 60%),
        #1b1714;
    color: #e9e1d2;
}
.section--dark .section-title { color: var(--white); }
.ornament--light {
    background:
        linear-gradient(#e0a458, #e0a458) left center / 52px 1px no-repeat,
        linear-gradient(#e0a458, #e0a458) right center / 52px 1px no-repeat,
        radial-gradient(circle, #e0a458 3px, transparent 3.5px) center / 14px 14px no-repeat;
}
.spiess-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.spiess-grid--noimg { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
@media (max-width: 900px) { .spiess-grid { grid-template-columns: 1fr; gap: 28px; } }
.spiess-image { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.spiess-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
@media (max-width: 900px) { .spiess-image { position: static; } .spiess-image img { aspect-ratio: 16 / 9; } }
.prose--left { text-align: left; }
.section--dark .prose { color: #d9cfbd; }
.prose h3 { font-size: 1.45rem; margin: 1.4em 0 .5em; color: inherit; }
.prose h3:first-child { margin-top: 0; }
.section--dark .prose h3 { color: #f2c27e; }

.spiess-menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 24px; margin-top: 64px; }
.spiess-card {
    background: var(--paper);
    color: var(--ink);
    border-radius: var(--radius);
    padding: 28px 28px 16px;
    box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
@media (max-width: 480px) { .spiess-card { padding: 22px 16px 10px; } }

/* Ohne JavaScript alle Kategorien zeigen */
.no-js .menu-category { display: block; margin-bottom: 40px; }
.no-js .menu-tabs { display: none; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h3, .contact-form-wrap h3 { font-size: 1.35rem; }
.contact-info h3:not(:first-child) { margin-top: 1.6em; }
.contact-info address { font-style: normal; margin-bottom: 1em; }
.contact-info p { margin: .3em 0; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { padding: 6px 0; border-bottom: 1px dashed var(--line); }

.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}
@media (max-width: 480px) { .contact-form-wrap { padding: 20px 16px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 4px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
    width: 100%;
    padding: 10px 12px;
    font: inherit; font-size: 1rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(138,31,29,.15); }
.field textarea { resize: vertical; min-height: 130px; }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field-error { display: block; min-height: 0; font-size: .82rem; color: var(--error); margin-top: 3px; }
.field-error:empty { display: none; }
.field-check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--ink-soft); }
.field-check input { margin-top: 4px; accent-color: var(--accent); flex-shrink: 0; }
.form-hint { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-alert { display: none; padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-weight: 600; }
.form-alert.is-visible { display: block; }
.form-alert.is-success { background: #e4efe2; color: var(--success); border: 1px solid #b9d4b4; }
.form-alert.is-error { background: #f6e1df; color: var(--error); border: 1px solid #e3b6b2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9d1c2; padding: 36px 0; font-size: .9rem; }
.footer-inner { text-align: center; }
.footer-inner p { margin: .3em 0; }
.site-footer a { color: #f2d9b5; }

.to-top {
    position: fixed; right: 16px; bottom: 16px; z-index: 40;
    width: 44px; height: 44px; display: grid; place-items: center;
    background: var(--accent); color: var(--white); text-decoration: none; font-size: 1.2rem;
    border-radius: 50%; box-shadow: var(--shadow);
    opacity: 0; pointer-events: none; transition: opacity .3s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { color: var(--white); background: var(--accent-dark); }

/* ---------- Animation ---------- */
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* Sehr niedrige Handy-Bildschirme (z. B. iPhone SE): Logo kleiner, damit die Meldung sichtbar bleibt */
@media (max-width: 560px) and (max-height: 700px) {
    .hero-logo, .hero--image .hero-logo { width: min(150px, 40vw); }
    .hero-title { font-size: 1.75rem; }
}

/* ==========================================================================
   Banner mit Bildwechsler und rundem Logo
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    min-height: min(100svh, 940px);
    align-items: flex-end;
    padding: calc(var(--header-h) + 140px) 0 84px;
}
.hero--image { background: #1b1714; }

/* Bilder */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.4s ease, transform 8s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1.1); }

/* Abdunklung: oben für die Navigation, unten kräftig für Text und Meldung – Gesichter in der Mitte bleiben frei */
.hero--image::before {
    z-index: 1;
    background: linear-gradient(to bottom,
        rgba(20,17,14,.55) 0%,
        rgba(20,17,14,.05) 22%,
        rgba(20,17,14,.05) 45%,
        rgba(20,17,14,.65) 72%,
        rgba(20,17,14,.88) 100%);
}
.hero-inner { z-index: 2; }

/* Rundes Logo oben links, über Kopfzeile und Bannerrand gelegt */
.hero-badge {
    position: absolute;
    z-index: 60;
    top: 10px;
    left: max(16px, calc((100vw - 1140px) / 2 + 16px));
    width: 190px; height: 190px;
    border-radius: 50%;
    background: var(--paper);
    display: grid; place-items: center;
    box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--accent), 0 14px 36px rgba(0,0,0,.45);
    transition: transform .25s ease;
}
.hero-badge::after {
    /* feiner innerer Ring */
    content: ""; position: absolute; inset: 8px; border-radius: 50%;
    border: 1px solid rgba(138,31,29,.45);
    pointer-events: none;
}
.hero-badge:hover { transform: rotate(-2deg) scale(1.03); }
.hero-badge img { width: 86%; height: auto; mix-blend-mode: multiply; transform: translateY(2%); }

/* Solange das Logo sichtbar ist, den Schriftzug in der Kopfzeile ausblenden */
.has-badge .site-header:not(.is-solid) .brand { opacity: 0; pointer-events: none; }

/* Text im Banner */
.hero .hero-brand { align-items: center; text-align: center; }
.hero-title { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.hero--image .hero-title, .hero--image .hero-subtitle, .hero--image .hero-slogan { color: inherit; }
.hero--image .hero-subtitle { color: #f2d9b5; }

@media (min-width: 960px) {
    .hero-inner--split { align-items: end; gap: 48px; }
    .hero-inner--split .hero-brand { align-items: flex-start; text-align: left; }
    .hero-inner--split .hero-slogan { margin-left: 0; }
    .hero-inner--split .hero-actions { justify-content: flex-start; }
    .hero-inner--split .hero-news-image { height: 150px; }
}

/* Pfeile und Punkte */
.hero-arrow {
    position: absolute; z-index: 3; top: 50%;
    width: 48px; height: 48px; margin-top: -24px;
    display: grid; place-items: center;
    font: 400 2rem/1 var(--font-serif); color: var(--white);
    background: rgba(20,17,14,.35);
    border: 1px solid rgba(255,253,248,.45);
    border-radius: 50%;
    cursor: pointer;
    opacity: .75;
    transition: opacity .2s, background-color .2s;
}
.hero-arrow:hover, .hero-arrow:focus-visible { opacity: 1; background: var(--accent); border-color: var(--accent); }
.hero-arrow--prev { left: 16px; }
.hero-arrow--next { right: 16px; }
.hero-dots {
    position: absolute; z-index: 3; left: 0; right: 0; bottom: 24px;
    display: flex; justify-content: center; gap: 10px;
}
.hero-dot {
    width: 12px; height: 12px; padding: 0;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: background-color .2s, transform .2s;
}
.hero-dot.is-active { background: var(--white); transform: scale(1.15); }
.hero-dot:focus-visible, .hero-arrow:focus-visible { outline: 2px solid #f2c27e; outline-offset: 3px; }

/* Tablet & Handy */
@media (max-width: 959px) {
    .hero { padding-top: calc(var(--header-h) + 120px); }
    .hero-badge { width: 150px; height: 150px; }
}
@media (max-width: 820px) {
    .hero-arrow { display: none; }
}
@media (max-width: 560px) {
    .hero { min-height: 100svh; padding: calc(var(--header-h) + 72px) 0 56px; }
    .hero-badge { top: 8px; left: 12px; width: 108px; height: 108px;
        box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--accent), 0 10px 24px rgba(0,0,0,.45); }
    .hero-badge::after { inset: 6px; }
    .hero-dots { bottom: 16px; }
    .hero-title { font-size: 1.9rem; }
}
@media (max-width: 560px) and (max-height: 700px) {
    .hero-badge { width: 92px; height: 92px; }
    .hero { padding-top: calc(var(--header-h) + 40px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide, .hero-slide.is-active { transform: none; transition: opacity .01s; }
}

/* Neuigkeiten im Bereich „Aktuelles“ unter dem Willkommenstext */
.news-wrap { margin-top: 56px; }
.news-heading {
    display: flex; align-items: center; gap: 16px;
    margin: 0 0 24px;
    font: 600 .85rem/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase;
    color: var(--accent);
}
.news-heading::before, .news-heading::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.news-wrap .news-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 360px)); justify-content: center; }

/* Willkommen: Foto neben dem Text */
.welcome {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}
.welcome-image { margin: 0; position: relative; }
.welcome-image img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 18px 44px rgba(31,28,24,.18);
}
.welcome-image::before {
    /* versetzter Rahmen im Weinrot */
    content: ""; position: absolute; inset: 18px -18px -18px 18px;
    border: 2px solid var(--accent); border-radius: var(--radius); opacity: .35; z-index: -1;
}
.welcome-text .section-title { text-align: left; }
.welcome-text .ornament { margin-left: 0; }
.welcome-text .prose { text-align: left; }
@media (max-width: 900px) {
    .welcome { grid-template-columns: 1fr; gap: 36px; max-width: 720px; }
    .welcome-image::before { inset: 12px -12px -12px 12px; }
    .welcome-text .section-title { text-align: center; }
    .welcome-text .ornament { margin-left: auto; }
    .welcome-text .prose { text-align: center; }
}
.site-header.is-solid { background: var(--paper); }

/* Kombiniertes Anfrage-/Reservierungsformular */
.form-intro { margin: -.2em 0 16px; color: var(--ink-soft); font-size: .95rem; }
.type-switch { display: flex; gap: 0; border: 0; padding: 0; margin: 0 0 18px; }
.type-switch legend { font-size: .85rem; font-weight: 600; margin-bottom: 6px; padding: 0; }
.type-option { flex: 1; position: relative; cursor: pointer; }
.type-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.type-option span {
    display: block; text-align: center;
    padding: 11px 10px;
    font-weight: 600; font-size: .95rem;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink-soft);
    transition: background-color .2s, color .2s, border-color .2s;
}
.type-option:first-of-type span { border-radius: var(--radius) 0 0 var(--radius); }
.type-option:last-of-type span { border-radius: 0 var(--radius) var(--radius) 0; border-left: 0; }
.type-option input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--white); }
.type-option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.res-fields { display: none; }
.contact-form.is-reservation .res-fields { display: block; animation: fadeIn .3s ease; }
.no-js .res-fields { display: block; }
.res-only { display: none; }
.contact-form.is-reservation .res-only { display: inline; }
.contact-form.is-reservation .msg-only { display: none; }
.no-js .res-only { display: inline; }
.no-js .res-only::before { content: " / "; }
.field label .res-only { font-weight: 400; color: var(--muted); }
.field select {
    width: 100%; padding: 10px 12px; font: inherit; font-size: 1rem; color: var(--ink);
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(138,31,29,.15); }
.field input[type=date], .field input[type=time], .field input[type=number] {
    width: 100%; padding: 10px 12px; font: inherit; font-size: 1rem; color: var(--ink);
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.field input[type=date]:focus, .field input[type=time]:focus, .field input[type=number]:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(138,31,29,.15);
}
.field.has-error select, .field.has-error input[type=date], .field.has-error input[type=time], .field.has-error input[type=number] { border-color: var(--error); }
.res-note {
    margin: 0 0 18px; padding: 10px 14px;
    font-size: .85rem; line-height: 1.5; color: var(--ink-soft);
    background: #fbf3e4; border-left: 3px solid #e0a458; border-radius: var(--radius);
}
.field label .res-only.res-label { font-weight: 600; color: inherit; }
.no-js .res-only.res-label::before { content: " / "; }

/* Öffnungszeiten */
.hours-today { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 700; color: var(--success); }
.hours-today .dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(47,107,58,.18); }
.hours-today.is-closed { color: var(--error); }
.hours-today.is-closed .dot { box-shadow: 0 0 0 3px rgba(161,38,34,.15); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: 7px 8px; border-bottom: 1px dashed var(--line); text-align: left; font-weight: 400; vertical-align: top; }
.hours-table th { width: 52%; }
.hours-table td { text-align: right; white-space: nowrap; }
.hours-table tr.is-closed td { color: var(--muted); }
.hours-table tr.is-today { background: rgba(138,31,29,.07); }
.hours-table tr.is-today th, .hours-table tr.is-today td { font-weight: 700; }
.hours-note { margin: 8px 0 0; font-size: .9rem; color: var(--ink-soft); }
.hours-exceptions { margin-top: 14px; padding: 12px 14px; background: #fbf3e4; border-left: 3px solid #e0a458; border-radius: var(--radius); }
.hours-exceptions h4 { margin: 0 0 6px; font: 700 .8rem var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.hours-exceptions ul { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.hours-exceptions li { padding: 4px 0; }
.hours-exceptions li + li { border-top: 1px dashed #ecd9b8; }
.muted { color: var(--muted); font-weight: 400; }

/* Hinweis-Karte „Geänderte Öffnungszeiten“ in Aktuelles */
.news-card--notice { border: 2px solid var(--accent); background: #fffaf3; }
.news-badge { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--white); background: var(--accent); padding: 3px 8px; border-radius: 3px; align-self: flex-start; }
/* Spießbraten-Foto: Ausschnitt auf das Fleisch auf dem Rost */
.spiess-image img { object-position: 45% 45%; }

/* Verweis-Knopf „Spießbraten ↑“ in der Speisekarte */
.menu-tab-link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: .55em 1.1em;
    border-radius: 999px;
    font: 600 .88rem var(--font-sans); letter-spacing: .03em;
    text-decoration: none;
    color: var(--white);
    background: #1b1714;
    border: 1px solid #1b1714;
    transition: background-color .2s, border-color .2s;
}
.menu-tab-link:hover, .menu-tab-link:focus-visible { color: var(--white); background: var(--accent); border-color: var(--accent); }
.menu-tab-link span { font-size: .95em; }
