/* ═══════════════════════════════════════════════════════════
   Hotel Gasthof Reiter Bräu — hotel-reiter.bayern
   Design System: Bayerisch-Elegant (Dunkel/Gold)
   ═══════════════════════════════════════════════════════════ */

:root {
    --gold: #C5A047;
    --gold-light: #D4B86A;
    --gold-dark: #A68635;
    --cream: #FAF6EE;
    --dark: #1A1714;
    --dark-warm: #2C2620;
    --brown: #4A3F35;
    --text-light: #E8E0D4;
    --text-muted: #9A8E80;
    --danger: #D4544A;
    --success: #5A9A6A;
    --radius: 12px;
    --nav-height: 70px;
}

/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    background: var(--dark);
    color: var(--text-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-light); }

/* ── TYPOGRAPHY ────────────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 600; color: var(--cream); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.subtitle {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ── ORNAMENT ──────────────────────────────────────── */
.ornament { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 1.5rem 0; opacity: 0.6; }
.ornament-line { width: 60px; height: 1px; background: var(--gold); }
.ornament-diamond { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

/* ── NAVIGATION ────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: rgba(26,23,20,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197,160,71,0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}
.nav-logo img { height: 45px; width: auto; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s;
    position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 2px;
    background: var(--gold);
}
.nav-lang { font-size: 0.75rem; color: var(--text-muted); border-left: 1px solid rgba(197,160,71,0.2); padding-left: 1.5rem; margin-left: 0.5rem; }
.nav-lang a { color: var(--text-muted); }
.nav-lang a.active { color: var(--gold); font-weight: 700; }

/* Mobile menu */
.nav-toggle { display: none; background: none; border: none; color: var(--gold); font-size: 1.5rem; cursor: pointer; padding: 0.5rem; }
.nav-mobile { display: none; }

@media (max-width: 900px) {
    .nav-links, .nav-lang { display: none; }
    .nav-toggle { display: block; }
    .nav-mobile {
        position: fixed;
        top: var(--nav-height); left: 0; right: 0; bottom: 0;
        background: rgba(26,23,20,1);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 999;
    }
    .nav-mobile.open { display: flex; }
    .nav-mobile a {
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.5rem;
        color: var(--text-light);
    }
    .nav-mobile a:hover { color: var(--gold); }
    .nav-mobile .nav-lang { display: block; border-left: none; padding-left: 0; margin-left: 0; margin-top: 1rem; font-size: 1rem; }
    .nav-mobile .nav-lang a { font-family: "Lato", sans-serif; font-size: 1rem; }
}

/* ── HERO ──────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-height) + 2rem) 2rem 4rem;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.3) saturate(0.7);
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(197,160,71,0.08) 0%, transparent 60%),
                linear-gradient(180deg, rgba(26,23,20,0.3) 0%, rgba(26,23,20,0.6) 70%, var(--dark) 100%);
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }

/* Page hero (smaller, for subpages) */
.hero-page {
    min-height: 50vh;
    padding: calc(var(--nav-height) + 3rem) 2rem 3rem;
}

/* ── SECTIONS ──────────────────────────────────────── */
.section { padding: 5rem 2rem; }
.section-dark { background: var(--dark); }
.section-warm { background: var(--dark-warm); }
.container { max-width: 1100px; margin: 0 auto; }
.container-narrow { max-width: 800px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p { color: var(--text-muted); font-size: 0.95rem; }

/* ── BUTTONS ───────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 2rem;
    border: 1px solid var(--gold);
    border-radius: 50px;
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.btn:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.btn-filled { background: var(--gold); color: var(--dark); }
.btn-filled:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--dark); }
.btn-phone {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    border: none;
    text-transform: none;
}

/* GloriaFood buttons override */
.glf-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.glf-button { display: inline-block !important; padding: 0.8rem 2rem !important; border: 1px solid var(--gold) !important; border-radius: 50px !important; }
.glf-button { font-family: "Lato",sans-serif !important; font-size: 0.85rem !important; letter-spacing: 0.15em !important; text-transform: uppercase !important; }
.glf-button { color: var(--gold) !important; background: transparent !important; cursor: pointer; transition: all 0.3s; text-decoration: none !important; }
.glf-button:hover { background: var(--gold) !important; color: var(--dark) !important; border-color: var(--gold) !important; }

/* ── BADGE ─────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.8rem;
    border: 1px solid var(--gold);
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    animation: pulse-border 3s ease-in-out infinite;
}
.badge-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: blink 2s ease-in-out infinite; }
@keyframes pulse-border {
    0%, 100% { border-color: var(--gold); box-shadow: 0 0 0 0 rgba(197,160,71,0); }
    50% { border-color: var(--gold-light); box-shadow: 0 0 20px rgba(197,160,71,0.15); }
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ── CARDS ─────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: brightness(0.65) saturate(0.8);
}
.card:hover img { transform: scale(1.08); filter: brightness(0.5) saturate(0.9); }
.card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    background: linear-gradient(0deg, rgba(26,23,20,0.85) 0%, transparent 60%);
}
.card-label { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: var(--cream); }

/* ── PRICE CARDS ───────────────────────────────────── */
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.price-card {
    border: 1px solid rgba(197,160,71,0.2);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}
.price-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.price-card h3 { margin-bottom: 0.5rem; }
.price-amount { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 700; color: var(--gold); }
.price-period { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.price-features { list-style: none; margin-bottom: 2rem; }
.price-features li { padding: 0.4rem 0; color: var(--text-muted); font-size: 0.9rem; border-bottom: 1px solid rgba(197,160,71,0.08); }

/* ── GALLERY ───────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.5rem; }
.gallery img {
    width: 100%; height: 200px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s, filter 0.3s;
    filter: brightness(0.8);
}
.gallery img:hover { transform: scale(1.03); filter: brightness(1); }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 8px; }
.lightbox-close {
    position: absolute;
    top: 1.5rem; right: 2rem;
    background: none; border: none;
    color: var(--cream); font-size: 2rem;
    cursor: pointer;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(197,160,71,0.2);
    border: none;
    color: var(--cream);
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ── REVIEWS ───────────────────────────────────────── */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.review {
    background: var(--dark-warm);
    border: 1px solid rgba(197,160,71,0.1);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.review-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 0.8rem; }
.review-text { font-style: italic; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; line-height: 1.6; }
.review-author { font-size: 0.8rem; color: var(--text-muted); opacity: 0.7; }

/* ── WIRT SECTION ──────────────────────────────────── */
.wirt { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.wirt-text p { margin-bottom: 1rem; }
.wirt-text .signature { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-style: italic; color: var(--gold); margin-top: 1.5rem; }
.wirt-image img { border-radius: var(--radius); width: 100%; object-fit: cover; }
@media (max-width: 768px) { .wirt { grid-template-columns: 1fr; } }

/* ── FORMS ─────────────────────────────────────────── */
.form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(197,160,71,0.2);
    border-radius: 8px;
    color: var(--text-light);
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
}
.form-group textarea { min-height: 150px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-honeypot { position: absolute; left: -9999px; }
.form-status { text-align: center; padding: 1rem; border-radius: 8px; margin-top: 1rem; display: none; }
.form-status.success { display: block; background: rgba(90,154,106,0.15); color: var(--success); }
.form-status.error { display: block; background: rgba(212,84,74,0.15); color: var(--danger); }

/* ── GOOGLE MAPS ───────────────────────────────────── */
.map-container { border-radius: var(--radius); overflow: hidden; height: 350px; margin-top: 2rem; }
.map-container iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.5) contrast(1.1); }

/* ── CONTACT BAR ───────────────────────────────────── */
.contact-bar { background: var(--dark-warm); border-top: 1px solid rgba(197,160,71,0.15); padding: 3rem 2rem; }
.contact-inner {
    max-width: 900px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    text-align: center;
}
.contact-block h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: var(--gold); margin-bottom: 0.6rem; }
.contact-block p, .contact-block a { color: var(--text-muted); font-size: 0.9rem; font-weight: 300; line-height: 1.7; text-decoration: none; }
.contact-block a:hover { color: var(--gold-light); }
.phone-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1.3rem !important; font-weight: 400 !important; color: var(--cream) !important; margin-top: 0.3rem; }
.phone-link:hover { color: var(--gold) !important; }
.social-links { display: flex; justify-content: center; gap: 1rem; margin-top: 0.5rem; }
.social-links a {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid rgba(197,160,71,0.3);
    border-radius: 50%;
    color: var(--gold);
    font-size: 0.85rem;
    transition: all 0.3s;
}
.social-links a:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

/* ── FOOTER ────────────────────────────────────────── */
footer {
    background: var(--dark);
    border-top: 1px solid rgba(197,160,71,0.08);
    padding: 1.5rem 2rem;
    text-align: center;
}
.footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 0.8rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { color: rgba(154,142,128,0.5); font-size: 0.7rem; }

/* ── ANIMATIONS ────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeUp 0.8s ease-out both; }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 600px) {
    .cards { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
    .card { aspect-ratio: 1; }
    .contact-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .ornament-line { width: 40px; }
    .gallery { grid-template-columns: 1fr 1fr; }
    .reviews { grid-template-columns: 1fr; }
    .price-cards { grid-template-columns: 1fr; }
}

/* Cookie Consent */
#cc-bar{position:fixed;bottom:0;left:0;right:0;background:rgba(26,23,20,0.97);border-top:1px solid rgba(197,160,71,0.3);padding:1rem 2rem;display:flex;align-items:center;justify-content:center;gap:1.5rem;z-index:9999;flex-wrap:wrap}
#cc-bar p{color:var(--text-muted);font-size:.85rem;margin:0}
#cc-bar a{color:var(--gold)}
#cc-bar button{padding:.5rem 1.5rem;border-radius:50px;font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;cursor:pointer;border:1px solid var(--gold);font-family:Lato,sans-serif}
#cc-bar button{background:var(--gold);color:var(--dark)}
#cc-bar button.s{background:transparent;color:var(--gold)}

/* Footer Credit */
.footer-credit{color:rgba(154,142,128,0.6);font-size:.7rem;margin-top:.4rem;letter-spacing:.05em}
.footer-credit a{color:rgba(197,160,71,0.55);text-decoration:none;transition:color .3s}
.footer-credit a:hover{color:var(--gold)}
