@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Source+Sans+Pro:wght@300;400;600&display=swap');

:root {
    --blackbean: #2f2a24;
    --bone: #F7f5f0;
    --sage: #d1d3c0;
    --moss: #6b705c;
    --white: #ffffff;
    --grey: #8a8a8a;
    --text: #4a4a4a;
    --accent: #b5835a;
}

body {
    background-color: var(--bone);
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--blackbean);
    font-weight: 600;
}

/* Sticky Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    transition: all 0.3s ease;
}
.navbar a.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--blackbean);
    text-decoration: none;
}
.nav-links {
    display: flex;
    gap: 30px;
}
.nav-links a {
    text-decoration: none;
    color: var(--blackbean);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--accent); }
.burger { display: none; cursor: pointer; font-size: 1.5rem; color: var(--blackbean); }

@media(max-width: 768px){
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.1); padding: 20px 0; }
    .nav-links.active { display: flex; }
    .nav-links a { padding: 15px 40px; }
    .burger { display: block; }
}

/* Banners */
.sticky-banners-container {
    position: sticky;
    top: 0;
    z-index: 1100; /* Stellt sicher, dass die Banner über allen anderen Elementen liegen */
    display: flex;
    flex-direction: column;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#emergency-banner {
    background: #731A1D; /* Sattes, signalwirkendes Weinrot */
    color: white;
    text-align: center;
    padding: 14px 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

#urlaub-banner {
    background: #1F1B18; /* Edler, dunkler Hintergrund */
    color: white;
    text-align: center;
    padding: 14px 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    border-bottom: 3px solid var(--accent); /* Kontrastreiche, farbige untere Border in Akzent-Goldton */
}

#emergency-banner i, #urlaub-banner i {
    margin-right: 8px;
}

/* Hero */
.hero {
    background-image: url('img/background.jpg');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
}
.hero::before {
    content: ''; position: absolute; top:0; left:0; right:0; bottom:0; background: rgba(0,0,0,0.4);
}
.hero-content { position: relative; z-index: 1; }
.hero img.logo { max-width: 250px; margin-bottom: 20px; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); }
.hero h1 { color: white; font-size: 3.5rem; text-shadow: 0 2px 15px rgba(0,0,0,0.5); margin-bottom: 30px; }
@media(max-width: 768px) { .hero h1 { display: none; } }

.btn {
    display: inline-block; padding: 14px 30px; background-color: var(--moss); color: white;
    text-decoration: none; font-family: 'Source Sans Pro', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
    border: none; border-radius: 0; cursor: pointer; transition: 0.3s; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.btn:hover { background-color: var(--blackbean); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid white; }
.btn-outline:hover { background: white; color: var(--blackbean); }
.btn:disabled { opacity:0.5; pointer-events:none; }

/* Containers */
.container { max-width: 1100px; margin: 80px auto; padding: 0 20px; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; position: relative; padding-bottom: 15px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--accent); }

/* News Slider */
.slider-container { position: relative; overflow: hidden; border-radius: 0; box-shadow: 0 10px 30px rgba(0,0,0,0.08); background: white; }
.news-track { display: flex; transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); }
.news-slide { min-width: 100%; border-left: 4px solid var(--accent); display: flex; flex-wrap: wrap;}
.news-img { flex: 1; min-width: 300px; background: #eee; min-height: 250px; background-size: cover; background-position: center; }
.news-content { flex: 1.5; padding: 40px; min-width: 300px; }
.slider-arrows { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; }
.slider-arrow { background: rgba(255,255,255,0.9); border: none; width: 40px; height: 40px; border-radius: 0; cursor: pointer; pointer-events: auto; box-shadow: 0 2px 5px rgba(0,0,0,0.1); transition: 0.3s; font-size: 1.2rem; margin: 0 10px; }
.slider-arrow:hover { background: var(--accent); color: white; }

/* Galleries */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.gallery-grid img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; border-radius: 0; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }

/* Menu */
.menu-filters { display: flex; gap: 15px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.cat-btn { background: transparent; border: 1px solid var(--moss); color: var(--moss); border-radius: 0; padding: 8px 20px; cursor:pointer; font-weight:600;}
.cat-btn.active, .cat-btn:hover { background: var(--moss); color: white; }

.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 768px) { .menu-list { grid-template-columns: 1fr; } }
.menu-item { background: white; padding: 25px; border-radius: 0; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border-top: 3px solid transparent; display: flex; flex-direction: column;}
.menu-item h3 { margin: 0 0 10px 0; display: flex; justify-content: space-between; font-size: 1.3rem; border-bottom: 1px dashed #eee; padding-bottom: 10px; }
.menu-item .price { color: var(--accent); font-family: 'Source Sans Pro', sans-serif; font-weight: 600; }
.menu-item.ausverkauft { opacity: 0.5; filter: grayscale(100%); pointer-events: none; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 15px; }
.badge { font-size: 0.75rem; padding: 4px 10px; border-radius: 0; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-vegetarisch { background: #e8f5e9; color: #2e7d32; }
.badge-vegan { background: #c8e6c9; color: #1b5e20; }
.badge-leicht { background: #e3f2fd; color: #1565c0; }
.badge-alkoholfrei { background: #e0f7fa; color: #00838f; }
.badge-empfehlung { background: #fce4ec; color: #c2185b; }
.badge-mühlenklassiker { background: #efebe9; color: #4e342e; }
.badge-neu { background: #fff3e0; color: #e65100; }
.badge-saisonal { background: #fff8e1; color: #f57f17; }
.badge-regional { background: #f1f8e9; color: #33691e; }
.badge-bio { background: #e8f5e9; color: #1b5e20; }
.badge-hausgemacht { background: #fff3e0; color: #e65100; }
.badge-scharf { background: #ffebee; color: #c62828; }
.badge-sehrscharf { background: #b71c1c; color: white; }
.badge-knoblauch { background: #f3e5f5; color: #6a1b9a; }
.badge-kindermenü, .badge-kindermenue { background: #e1bee7; color: #4a148c; }
.badge-default { background: #f5f5f5; color: #616161; }
.badge-out { background: #ffebee; color: #c62828; }

.review-container { position: relative; display: flex; align-items: center; }
.review-slider-wrapper { display: flex; gap: 30px; overflow-x: auto; padding-bottom: 20px; snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.review-slider-wrapper::-webkit-scrollbar { display: none; }
.review-arrow { background: white; border: 1px solid var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center; border-radius: 0; min-width: 40px; height: 40px; cursor: pointer; position: absolute; z-index: 10; font-size: 1.2rem; transition: 0.3s; }
.review-arrow:hover { background: var(--accent); color: white; }
.review-arrow.left { left: -20px; }
.review-arrow.right { right: -20px; }
.form-step { display: none; background: white; padding: 40px; border-radius: 0; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.form-step.active { display: block; animation: fadeIn 0.4s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes formSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--blackbean); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 0; font-family: inherit; font-size: 1rem; transition: border-color 0.3s; background: #fafafa;}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); outline: none; background: #fff; }
.form-error { color: #d32f2f; font-size: 0.85rem; margin-top: 5px; display: none; }

/* Footer */
footer { background: var(--blackbean); color: var(--bone); padding: 60px 20px 20px 20px; text-align: left; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; max-width: 1400px; margin: 0 auto; margin-bottom: 40px;}
@media(max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
footer h4 { color: white; margin-bottom: 20px; }
footer p, footer a { color: #ccc; text-decoration: none; transition: 0.3s; }
footer a:hover { color: var(--accent); }
.footer-map iframe { width: 100%; height: 350px; border-radius: 0; border: none; box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; color: #888; }

/* Tagesmenü Grid & Card Styles */
.tagesmenue-full-width {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-top: none !important;
}

.tageskarte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
}

.menu-card {
    background: var(--white);
    border: 1px solid #e5e5e5;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.menu-card.featured-card {
    border-top: 4px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.menu-card-header {
    border-bottom: 1px dashed #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.menu-card-date {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.menu-card-title {
    font-size: 1.5rem;
    margin: 0;
    font-family: 'Playfair Display', serif;
    color: var(--blackbean);
}

.menu-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tages-dish {
    display: flex;
    flex-direction: column;
}

.tages-dish.ausverkauft {
    opacity: 0.5;
    filter: grayscale(100%);
    pointer-events: none;
}

.tages-dish-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--blackbean);
    gap: 10px;
}

.tages-dish-name {
    flex-grow: 1;
}

.tages-dish-price {
    color: var(--accent);
    white-space: nowrap;
}

.tages-dish-desc {
    font-size: 0.95rem;
    color: var(--grey);
    margin: 5px 0 0 0;
}

.menu-card-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.tageskarte-footer-preis {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--moss);
    text-align: center;
}

/* Print */
@media print {
    body { background: white; color: black; }
    .navbar, .hero, #aktuelles, #geschäftsführung, #geschichte, #reservierung, footer, .menu-filters, .btn { display: none !important; }
    .menu-item { page-break-inside: avoid; border: 1px solid #ddd !important; box-shadow: none !important; }
    .container { margin: 0; padding: 0; max-width: 100%; }
    .badge-out { display: none !important; } /* Hide ausverkauft badge on print */
}

/* Honeypot Spam Protection */
.b-user-honey {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

