/* ============================================================
   Staigers Waldhorn – Design nach Vorbild der Original-Website
   Kanit (Überschriften, leicht) + Nunito Sans (Text)
   Dunkler Header, helle Flächen, oranger Akzent
   ============================================================ */

:root {
    --c-bg: #ffffff;
    --c-bg-alt: #f5f5f5;
    --c-dark: #1c1c1c;
    --c-dark-soft: #2b2b2b;
    --c-head: #4e4e4e;
    --c-text: #5a5a5a;
    --c-muted: #9d9597;
    --c-line: #e4e4e4;
    --c-accent: #ffa500;
    --c-accent-deep: #cc8400;
    --c-accent-soft: #f7b683;
    --c-on-dark: #f0ebeb;
    --font-head: 'Kanit', 'Segoe UI', sans-serif;
    --font-body: 'Nunito Sans', 'Segoe UI', sans-serif;
    --maxw: 1200px;
    --header-h: 78px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.65;
    color: var(--c-text);
    background: var(--c-bg);
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 300;
    color: var(--c-head);
    line-height: 1.2;
    margin: 0 0 .6em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.6rem); }

p { margin: 0 0 1.1em; }

a { color: var(--c-accent-deep); text-decoration: none; transition: color .15s; }
a:hover { color: var(--c-accent); }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 72px 0; }
.section.alt { background: var(--c-bg-alt); }
.section.dark { background: var(--c-dark); color: var(--c-on-dark); }
.section.dark h2, .section.dark h3 { color: #fff; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head .kicker {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 400;
    font-size: .85rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--c-accent-deep);
    margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 400;
    font-size: .95rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 13px 34px;
    border: 2px solid var(--c-accent);
    color: var(--c-head);
    background: linear-gradient(90deg, var(--c-accent) 50%, transparent 50%) right / 200% 100% no-repeat;
    transition: background-position .25s ease, color .25s ease;
    cursor: pointer;
}
.btn:hover { background-position: left; color: #fff; }
.btn.on-dark { color: #fff; }
.btn.solid { background: var(--c-accent); color: #fff; }
.btn.solid:hover { background: var(--c-accent-deep); border-color: var(--c-accent-deep); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(20, 20, 20, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.site-header .bar {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 22px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.logo { flex-shrink: 0; }
.logo img { height: 40px; width: auto; max-width: none; }
@media (max-width: 420px) {
    .logo img { height: 30px; }
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
    font-family: var(--font-head);
    font-weight: 300;
    font-size: .98rem;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .82);
    padding: 8px 13px;
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    left: 13px; right: 13px; bottom: 2px;
    height: 2px;
    background: var(--c-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s;
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

/* Hervorgehobener Reservierungs-Button in der Navigation */
.main-nav a.nav-reserve {
    margin-left: 12px;
    padding: 9px 20px;
    border: 2px solid var(--c-accent);
    color: #fff;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .85rem;
    background: linear-gradient(90deg, var(--c-accent) 50%, transparent 50%) right / 200% 100% no-repeat;
    transition: background-position .25s ease, color .25s ease;
}
.main-nav a.nav-reserve:hover { background-position: left; color: #1c1c1c; }
.main-nav a.nav-reserve::after { display: none; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    padding: 6px 10px;
}

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(20, 20, 20, .98);
        padding: 12px 0 18px;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 26px; font-size: 1.1rem; }
    .main-nav a::after { display: none; }
}

/* ---------- Hinweisbanner ---------- */
.notice-banner {
    background: var(--c-accent);
    color: #1c1c1c;
    text-align: center;
    padding: 10px 20px;
    font-weight: 600;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: min(78vh, 720px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--c-dark);
}
.hero .slides { position: absolute; inset: 0; }
.hero .slides img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.4s ease;
}
.hero .slides img.show { opacity: 1; }
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,15,15,.55), rgba(15,15,15,.35) 45%, rgba(15,15,15,.65));
}
.hero .inner { position: relative; z-index: 2; padding: 90px 22px; max-width: 860px; }
.hero h1 {
    color: #fff;
    font-size: clamp(2.3rem, 6vw, 4rem);
    text-shadow: 0 2px 18px rgba(0,0,0,.45);
    margin-bottom: .3em;
}
.hero .sub {
    color: rgba(255,255,255,.92);
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    font-family: var(--font-head);
    font-weight: 300;
    letter-spacing: .1em;
    margin-bottom: 2em;
}
.hero .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero.small { min-height: 320px; }
.hero.small .inner { padding: 60px 22px; }

/* ---------- Karten / Teaser-Grids ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.teaser-card {
    background: #fff;
    border: 1px solid var(--c-line);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.teaser-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.teaser-card .pic { aspect-ratio: 3 / 2; overflow: hidden; }
.teaser-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.teaser-card:hover .pic img { transform: scale(1.05); }
.teaser-card .body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.teaser-card h3 { margin-bottom: .4em; }
.teaser-card p { flex: 1; font-size: .98rem; }
.teaser-card .btn { align-self: flex-start; padding: 10px 24px; font-size: .85rem; }

/* ---------- Split (Bild + Text) ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 54px;
    align-items: center;
}
.split .pic img { width: 100%; object-fit: cover; box-shadow: 0 22px 50px rgba(0,0,0,.18); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Speisekarte ---------- */
.menu-card-nav { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 50px; }
.menu-section { max-width: 860px; margin: 0 auto 56px; }
.menu-section > h2 {
    text-align: center;
    padding-bottom: 14px;
    position: relative;
}
.menu-section > h2::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 64px; height: 2px;
    background: var(--c-accent);
}
.menu-section .sec-intro { text-align: center; color: var(--c-muted); font-size: .95rem; margin-bottom: 28px; }
.dish { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--c-line); }
.dish:last-child { border-bottom: none; }
.dish .txt { flex: 1; }
.dish .name { font-family: var(--font-head); font-weight: 400; font-size: 1.08rem; color: var(--c-head); }
.dish .desc { font-size: .95rem; color: var(--c-text); }
.dish .price {
    font-family: var(--font-head);
    font-weight: 400;
    white-space: nowrap;
    color: var(--c-accent-deep);
    font-size: 1.05rem;
    text-align: right;
}
.allergens { color: var(--c-muted); font-size: .78rem; margin-left: 6px; }
.allergens abbr { text-decoration: none; cursor: help; }
.menu-intro { max-width: 860px; margin: 0 auto 40px; color: var(--c-text); font-size: .98rem; }
.allergen-legend { max-width: 860px; margin: 30px auto 0; font-size: .82rem; color: var(--c-muted); }

/* ---------- Wochenkarte ---------- */
.week-head { text-align: center; margin-bottom: 44px; }
.week-day { max-width: 760px; margin: 0 auto 14px; background: #fff; border: 1px solid var(--c-line); }
.week-day .day-title {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 1.05rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    background: var(--c-dark-soft);
    padding: 10px 22px;
}
.week-day.closed .day-title { background: #8c8c8c; }
.week-day .day-body { padding: 8px 22px; }
.week-note { text-align: center; color: var(--c-muted); font-size: .9rem; margin-top: 26px; }

/* ---------- Galerie ---------- */
.gal-filter { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 38px; }
.gal-filter button {
    font-family: var(--font-head);
    font-weight: 300;
    font-size: .92rem;
    letter-spacing: .08em;
    background: none;
    border: 1px solid var(--c-line);
    color: var(--c-text);
    padding: 8px 18px;
    cursor: pointer;
    transition: all .2s;
}
.gal-filter button:hover, .gal-filter button.active {
    border-color: var(--c-accent);
    color: var(--c-accent-deep);
}
.gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}
.gal-grid a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-bg-alt); }
.gal-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.gal-grid a:hover img { transform: scale(1.06); }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(10,10,10,.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 4vmin;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 90vh; box-shadow: 0 10px 60px rgba(0,0,0,.6); }
.lightbox .close {
    position: absolute;
    top: 18px; right: 26px;
    font-size: 2.4rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* ---------- DISH Reservierungswidget ---------- */
.dish-widget {
    border: 1px solid var(--c-line);
    background: #fff;
    padding: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,.07);
}
.dish-widget iframe { display: block; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-block h3 { margin-bottom: .5em; }
.contact-block .big-tel {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 1.7rem;
    color: var(--c-accent-deep);
}

/* ---------- Inhaltsseiten ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.3em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-dark); color: rgba(255,255,255,.75); font-size: .95rem; }
.site-footer .cols {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 60px 22px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}
.site-footer h4 {
    color: #fff;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 1em;
}
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--c-accent); }
.site-footer .legal {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px 22px;
    text-align: center;
    font-size: .85rem;
    color: rgba(255,255,255,.45);
}
.site-footer .legal a { color: rgba(255,255,255,.55); margin: 0 8px; }
.site-footer .flogo img { height: 44px; width: auto; margin-bottom: 18px; }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero .slides img { transition: none; }
}

/* ---------- Druck (Speisekarte) ---------- */
@media print {
    .site-header, .site-footer, .hero, .menu-card-nav, .notice-banner { display: none !important; }
    body { font-size: 12px; }
    .dish { break-inside: avoid; }
}
