/* ======= Custom: Schwarze Schrift für bestimmte Überschriften und Home ======= */
#main, #home, #main * {
    color: #181818 !important;
}

/* Speisekarte Überschriften (section-divider) */
.section-divider h3,
.section-divider h4,
.section-divider h6 {
    color: #181818 !important;
        font-weight: 600;
}

/* Überschriften Öffnungszeiten und Anfahrt */
#opening-hours h2,
#map h2 {
    color: #181818 !important;
}
/* Datenschutz-Modal gezielt kleiner & scrollbar */
#datenschutz-modal .modal-dialog {
  max-width: 520px;
  width: 95vw;
  max-height: 90vh;
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
}
#datenschutz-modal .modal-content {
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
#datenschutz-modal .modal-body {
  overflow-y: auto;
  max-height: 60vh;
  font-size: 0.85em;
}
/* DSGVO Consent Overlay für Google Maps */
.map-consent-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(24,24,24,0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border-radius: 1.2em;
  box-sizing: border-box;
}
.map-consent-box {
  background: none;
  color: #e0e0e0;
  padding: 1.2em 1.5em 1.2em 1.5em;
  border-radius: 1.2em;
  max-width: 95%;
  max-height: 95%;
  text-align: center;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .map-consent-box {
    padding: 0.7em 0.3em;
    font-size: 0.97em;
  }
  #datenschutz-modal .modal-dialog {
    align-items: flex-end;
    min-height: 100vh;
    margin: 0 auto 0.5rem auto;
  }
}

.map-consent-box button {
  max-width: 500px;
}
/* DSGVO Consent Overlay für Google Maps */
.map-consent-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(24,24,24,0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 1.2em;
}
.map-consent-box {
  background: #232323;
  border-radius: 1.2em;
  padding: 1.2em 1.5em;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  max-width: 420px;
  text-align: center;
}
.map-consent-box button {
  margin-top: 0.7em;
  font-size: 1.08em;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Montserrat:wght@400;700&family=Scheherazade+New:wght@700&family=Vazirmatn:wght@400;700&family=Tajawal:wght@400;700&display=swap');

/* ====== Basis-Variablen & Grundstruktur ====== */
:root {
    --gold: #e0e0e0;
    --gold-dark: #e0e0e0;
    --black: #181818;
    --accent: #fffbe6;
    --gray: #232323;
    --white: #fff;
    --radius: 18px;
    --shadow: 0 4px 24px 0 rgba(0,0,0,0.12);
    --transition: 0.2s cubic-bezier(.4,0,.2,1);
    --vintage-green: #3c4a3e;
    --vintage-red: #a94442;
    --vintage-cream: #f5ecd7;
    --vintage-border: #e0e0e0;
}

body {
    font-family: 'Georgia', Arial, sans-serif;
    background: #f4f4f4;
    background-image: url("Resources/images/background.png");
    background-position: center;
    background-size: 100%;
    color: #fff;
    margin: 0;
    padding: 0;
}

.main-content-wrapper {
    padding-top: 180px;
}

/* ============ Navbar ============= */
.navbar {
    background: #111111;
    border-bottom: 3px solid #9E1B1B;
    border-right: 1px solid #111111;
    border-left: none;
    border-top: none;
    position: fixed !important;
    top: 0 !important;
    z-index: 11000 !important;
    width: 100%;
    height: auto;
    min-height: 120px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.navbar .container-fluid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    min-height: 120px;
    padding: 0 2rem;
}

.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
   color: #e0e0e0 !important;
}

.nav-link-logo {
   color: #9E1B1B !important;
}

.nav-link:hover {
    color: #FFF !important;
}

.navbar-brand {
    color: #e0e0e0 !important;
    width: 100%;
    text-align: center;
    margin-top: 20px !important;
    position: static;
    z-index: 2;
}

.logo {
    height: 100px !important;
    width: auto;
    display: block;
    margin: 0 auto;
}

.navbar-toggler {
    display: none !important;
}

.navbar-collapse,
#navbarNav {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100% !important;
    justify-content: center !important;
    align-items: center;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    margin-top: 0.0rem;
}

/* =========== Social Links ============ */
.social-links {
    margin-left: auto;
    margin-right: 20px;
    margin-top: 20px;
    display: flex;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 3;
}
.social-links a {
    font-size: 1.2rem;
    transition: opacity 0.2s ease-in-out;
}
.social-links a:hover {
    opacity: 0.8;
}
.text-gold {
    color: #000 !important;
}

/* =========== Menü/Drinks Masonry ========== */
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin: 2rem auto 1rem auto;
    max-width: 600px;
    width: 100%;
}

.menu-item,
.drink-card {
    background: #111;
    border-radius: var(--radius);
    border: 2px solid #9E1B1B;
    box-shadow: 0 0 6px #333;
    padding: 1rem 1.2rem 0.9rem 1.2rem;
    margin: 0 0;
    margin-bottom: 0.7rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.09s ease-out, transform 0.09s ease-out, box-shadow var(--transition), transform var(--transition);
    will-change: opacity, transform;
    cursor: pointer;
    position: relative;
}
.menu-item.open {
    box-shadow: 0 8px 32px 0 rgba(212,182,110,0.22), 0 0 6px #000;
    z-index: 3;
}
.menu-item {
    font-size: 0.93rem;
    color: #e0e0e0;
    margin: 0.1rem 0 0.2rem 0;
    font-family: 'Georgia', 'Montserrat', 'Tajawal', Arial, sans-serif;
    font-weight: 400;
    text-align: center;
    line-height: 1.35;
    opacity: 0.92;
    /* Immer sichtbar, keine Collapse/Animation */
    max-height: none;
    overflow: visible;
    transition: none;
    pointer-events: auto;
    display: block;
}
.menu-item .menu-desc {
    /* Positionierung: zwischen Titel und Preis */
    order: 2;
}

.menu-item .menu-title {
    order: 1;
}

.menu-item .menu-price {
    order: 3;
}

/* Hover-Effekt: Menü-Items und Drinks-Karten werden größer und bekommen mehr Schatten */
.menu-item:hover,
.menu-item:focus,
.drink-card:hover,
.drink-card:focus {
    transform: scale(1.135) translateY(-20px);
    box-shadow: 0 4px 24px 0 rgba(212,182,110,0.18), 0 0 6px #000;
    z-index: 2;
    transition: transform 0.18s cubic-bezier(.4,0,.2,1), box-shadow 0.18s cubic-bezier(.4,0,.2,1);
}

/* Animationen */
.menu-item.fade-in,
.drink-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}
.menu-item.fade-out,
.drink-card.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

/* Menü-Text */
.menu-title {
    font-family: 'Georgia', 'Scheherazade New', 'Inter', 'Tajawal', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 0.2rem;
    letter-spacing: 0.03em;
    padding-bottom: 0.1em;
    border-radius: 0 0 12px 12px;
}
.menu-desc {
    font-size: 0.93rem;
    color: #e0e0e0;
    margin: 0.1rem 0 0.2rem 0;
    font-family: 'Montserrat', 'Georgia', 'Tajawal', Arial, sans-serif;
    font-weight: 500;
    text-align: center;
    line-height: 1.35;
    opacity: 0.92;
    /* Immer sichtbar, keine Collapse/Animation */
    max-height: none;
    overflow: visible;
    transition: none;
    pointer-events: auto;
    display: block;
    margin: 10px;
}
.menu-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-top: 0.2rem;
    font-family: 'Georgia', 'Scheherazade New', 'Vazirmatn', 'Inter', sans-serif;
    letter-spacing: 0.06em;
    padding-top: 0.2em;
}

/* Drinks-Spezifisch */
.menu-item.drink-card {
    align-items: flex-start;
    margin-bottom: 0;
}
.drinks-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 0.5rem;
}
.drinks-menu .col {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
}
.drinks-menu .menu-title {
    font-weight: 600;
    color: #e0e0e0;
}
.drinks-menu .menu-price {
    margin-left: auto;
    font-weight: 500;
    color: #fff;
}
/* Flexbox-Lösung für Drinks-Masonry */
.drinks-menu-masonry {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    max-width: 600px;
    margin: auto auto auto auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
    align-items: stretch;
    /* Masonry-Container für mehrere Kategorien: Abstand nach unten */
    box-sizing: border-box;
    clear: both;
    padding-left: 1rem;
    padding-right: 1rem;
}
}
.drink-card {
    background: #333;
    border-radius: 0.7rem;
    color: #fff;
    padding: 1rem 1.2rem;
    box-shadow: 0 0 6px #e0e0e0;
    min-height: 64px;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 0 1 calc(50% - 1rem);
    margin: 0;
    margin-bottom: 5px;
    box-sizing: border-box;
    /* Verhindert, dass leere Plätze entstehen */
    align-self: stretch;
}
.drink-card .menu-title {
    font-weight: 600;
    color: #e0e0e0;
    display: block;
    word-break: break-word;
    margin-bottom: 0.2em;
}
.drink-card .menu-price {
    float: none;
    align-self: flex-end;
    font-weight: 500;
    color: #e0e0e0;
    margin-top: 0.5em;
    word-break: break-word;
}


/* ====== Foto-Galerie Masonry ======= */
.photo-masonry {
    display: flex;
    justify-content: center;
    gap: 2vw;
    margin: 0 auto;
    max-width: 900px;
    padding: 1rem 0;
}
.photo-col {
    display: flex;
    flex-direction: column;
    gap: 2vw;
    width: 48%;
}
.photo-col img {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 0;
    box-shadow: 0 2px 16px 0 rgba(212,182,110,0.10);
    border: 2px solid var(--gold);
    background: var(--accent);
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform var(--transition), box-shadow var(--transition);
}
/* Zusätzlicher Hover-Effekt für Fotogalerie: Bild wird leicht größer und bekommt goldenen Schatten */
.photo-col img:hover,
.photo-col img:focus {
    transform: scale(1.06) rotate(-1.5deg);
    box-shadow: 0 8px 32px 0 rgba(212,182,110,0.22);
    border-color: #bfa133;
    z-index: 2;
}
.photo-col img:hover,
.photo-col img:focus {
    transform: scale(1.04) rotate(-1deg);
    box-shadow: 0 6px 32px 0 rgba(212,182,110,0.18);
    outline: none;
}
.photo-col-offset { margin-top: 3vw; }

/* ========= Footer ========= */
.footer-legal {
    width: 100%;
    background: rgba(0,0,0,0.93);
    color: #bfa133;
    font-size: 0.93rem;
    text-align: center;
    padding: 0.4rem 0 0.45rem 0;
    letter-spacing: 0.01em;
    border-top: 1px solid #232323;
    font-family: 'Tajawal', 'Vazirmatn', 'Inter', Arial, sans-serif;
    opacity: 0.93;
    position: fixed;
    left: 0;
    right: 0;
    bottom: -60px;
    z-index: 100;
    min-height: 32px;
    box-shadow: 0 -2px 12px 0 rgba(0,0,0,0.13);
    pointer-events: none;
    transition: bottom 0.35s cubic-bezier(.4,0,.2,1), opacity 0.2s;
}
.footer-legal.visible {
    bottom: 0;
    pointer-events: auto;
    opacity: 0.97;
}
.footer-legal .footer-link {
    color: #A5A9B4;
    text-decoration: underline dotted;
    margin: 0 0.6em;
    font-size: 0.97em;
    opacity: 0.85;
    transition: color 0.2s, opacity 0.2s;
}
.footer-legal .footer-link:hover,
.footer-legal .footer-link:focus {
    color: #fffbe6;
    opacity: 1;
}
.footer-legal-toggle {
    position: fixed;
    right: 18px;
    bottom: 38px;
    z-index: 120;
    background: rgba(24, 24, 24, 0.28);
    color: #000;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.93;
/* Social-Links: sanfter Farbwechsel und Vergrößerung beim Hover */
.social-links a:hover,
.social-links a:focus {
    color: #bfa133 !important;
    opacity: 1;
    transform: scale(1.18) rotate(-7deg);
    transition: color 0.18s, transform 0.18s, opacity 0.18s;
}
    transition: background 0.2s, color 0.2s, opacity 0.2s, bottom 0.35s cubic-bezier(.4,0,.2,1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-legal.visible + .footer-legal-toggle,
.footer-legal-toggle.open {
    bottom: 58px;
    background: rgba(24,24,24,0.82);
    color: #e0e0e0;
    opacity: 1;
}
.footer-legal-toggle:hover,
.footer-legal-toggle:focus {
    background: rgba(24,24,24,0.92);
    color: #e0e0e0;
    opacity: 1;
}

/* ========== Formulare Fokus ========== */
input:focus,
textarea:focus,
select:focus {
    border-color: var(--vintage-red);
    box-shadow: 0 0 0 2px var(--vintage-red);
    outline: none;
}

/* ===== EINZIGER BREAKPOINT FÜR < 992px / Tablet & Mobile ===== */
@media (max-width: 992px) {
    .main-content-wrapper {
      padding-top: 170px;
    }

    /* Topbar */
    .topbar-info {
        font-size: 0.77rem;
        padding: 0.08rem 1vw 0.06rem 1vw;
        margin: 0;
        letter-spacing: 0.01em;
        z-index: 1000000000;
    }
    .topbar-info span {
        margin-right: 0.7em;
        z-index: 1000000000;
    }

    /* Navbar */
    .navbar {
        padding-top: 0rem !important;
        padding-bottom: 0rem !important;
    }
    .navbar .container-fluid {
        flex-direction: column;
        align-items: center;
        padding: 0 0.5rem;
        min-height: 100px;
    }
    .navbar-brand {
        margin-top: 20px !important;
        width: 100%;
        text-align: center;
        position: static;
    }
    .logo {
        height: 80px !important;
        width: auto;
        display: block;
        margin: 0 auto;
    }
    .social-links {
        margin-top: 20px;
        margin-right: 20px;
        margin-left: auto;
        position: absolute;
        right: 0;
        top: 0;
    }
    .navbar-collapse {
        width: 100%;
        text-align: center;
        margin-top: 0;
    }
    .nav-link {
        font-size: 0.85rem;
        color: #e0e0e0 !important;
    }
    .nav-link:hover {
        font-size: 0.85rem;
        color: #FFF !important;
    }

    /* Social links Abstand */
    .social-links a:first-child {
        margin-right: auto;
    }
    .social-links a:last-child {
        margin-left: auto;
    }

    /* Menüabstände und -größen */
    .menu-list {
        padding: 0 1.5rem;
    }
    .menu-title {
        font-size: 0.9rem;
    }
    .menu-desc {
        font-size: 0.85rem;
    }
    .menu-price {
        font-size: 0.9rem;
    }
    .menu-item {
        margin-bottom: 0px;
        gap: 0;
    }

    /* Drinks-Masonry */
    .drinks-menu-masonry {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        max-width: 100vw;
        padding-top: 1rem;
        padding-bottom: 1rem;
        box-sizing: border-box;
        clear: both;
        /* NEU: Abstand links und rechts auch mobil */
        padding-left: 0.7rem;
        padding-right: 0.7rem;
    }
    .drink-card {
        padding: 0.8rem 0.6rem;
        font-size: 0.97rem;
        flex: 0 1 calc(50% - 0.6rem);
        margin-bottom: 0px;
        align-self: stretch;
    }
    .drinks-menu {
        gap: 0.7rem 0.5rem;
    }
    .drinks-menu .col {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Container Außenabstand */
    main.container {
        padding: 1rem 1rem;
    }

    /* #main .lead.mt-3 Abstand */
    #main .lead.mt-3 {
        margin-left: 20px !important;
        margin-right: 20px !important;
    }
}

/* Smooth Scroll Offset für Ankerlinks */
[id] {
  scroll-margin-top: 190px; /* Höhe der Navbar + Padding, ggf. anpassen */
}

.main-content-wrapper {
    font-size: 8px;
}

/* Ensure anfahrt-box is always relative for overlays */
.anfahrt-box {
  position: relative;
  overflow: visible;
}

.map-consent-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(24,24,24,0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  border-radius: 1.2em;
  box-sizing: border-box;
  pointer-events: auto;
}

.map-consent-box {
  background: #232323;
  color: #e0e0e0;
  padding: 1.2em 1.5em;
  border-radius: 1.2em;
  max-width: 95%;
  max-height: 95%;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.map-consent-box button {
  max-width: 500px;
  min-width: 180px;
  margin: 0 auto;
  display: block;
}

@media (max-width: 600px) {
  .anfahrt-box {
    padding: 1em 0.3em 1em 0.3em !important;
    max-width: 99vw !important;
  }
  .map-consent-box {
    padding: 0.7em 0.3em;
    font-size: 0.97em;
    max-width: 99vw;
  }
  .map-consent-overlay {
    border-radius: 1em;
  }
  .ratio.ratio-16x9 {
    min-height: 220px;
    height: 45vw;
    max-height: 320px;
  }
}

/* Banner für geschlossene Veranstaltungen (z.B. Betriebsferien) */
.closed-event-banner {
  background: #111111 !important;
  color: #e0e0e0 !important;
  border-radius: 0;
  border-bottom: 2px solid #9E1B1B !important;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.85em;
  font-weight: 400;
  letter-spacing: 0.01em;
  z-index: 20000;
  margin-bottom: 0;
  padding: 0.2em 0.1em;
}
@media (max-width: 992px) {
  .closed-event-banner {
    font-size: 0.85em;
    padding: 0.2em 0.2em;
  }
}

.p{
    color: #000;
    }

.topbar-info {
    font-size: 0.77rem;
    padding: 0.08rem 1vw 0.06rem 1vw;
    margin: 20px;
    letter-spacing: 0.01em;
    z-index: 1000000000;
}