/* Grundkonfiguration */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
}

/* Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
/* Grundstyling */
.menu { display: flex; }
.hamburger { display: none; } /* Auf Desktop verstecken */
#menu-toggle { display: none; } /* Checkbox verstecken */

/* Mobile Ansicht (z.B. unter 768px) */
@media (max-width: 768px) {
  .menu {
    display: none; /* Menü ausblenden */
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px; /* Höhe der Navbar */
    left: 0;
    background-color: #333;
  }
  
  .hamburger {
    display: block; /* Hamburger Icon zeigen */
    cursor: pointer;
    font-size: 24px;
  }
  
  /* Wenn Checkbox angeklickt, Menü anzeigen */
  #menu-toggle:checked ~ .menu {
    display: flex;
    background-color: #f0edd8;
  }
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 15px;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #222;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover {
    color: #c7a86b;
}

/* Hero Section */
   .hero {
    position: relative;
    height: 100vh;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;

    top: 0;
    left: 0;

    background-size: cover;
    background-position: center;

    opacity: 0;

    animation: heroSlider 18s infinite;
}

.slide1 {
    background-image: url('images/IMG_1601_C-1.jpg');
    animation-delay: 0s;
}

.slide2 {
    background-image: url('images/IMG_1604_C-1.jpg');
    animation-delay: 6s;
}

.slide3 {
    background-image: url('images/IMG_1572_C-1.jpg');
    animation-delay: 12s;
}

@keyframes heroSlider {

    0% {
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.overlay-box {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.6);
    padding: 40px;
    text-align: center;
    max-width: 700px;
    border-radius: 2px;
}

.logo {
    width: 100px;
    margin-bottom: 20px;
}

.overlay-box h1 {
    font-size: clamp(24px, 5vw, 36px);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.opening {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

/* Layout Container */
section {
    padding: 80px 5%;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.gray-bg {
    background-color: #f9f9f9;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #c7a86b;
    display: block;
}

.section-title h2 {
    font-size: 32px;
    letter-spacing: 2px;
}

/* Spezialitäten & Menü */
.responsive-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.menu-box {
    background: #fff;
    padding: 20px;
}

.dish-item {
    margin-bottom: 20px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 10px;
}

.dish-header {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    color: #222;
}

.dish-item p {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* Galerie */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 80px;
    justify-content: center;
}

.gallery-grid img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.15);
}
/* Lightbox Overlay */
.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 0; height: 0;
  background: rgba(0,0,0,0);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: background 0.5s ease;
  z-index: 999;
}
.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border: 4px solid #fff;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
  transform: scale(0,0);
  transition: transform 1s ease-in-out;
}
/* Sichtbar, wenn Ziel */
.lightbox:target {
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
}
.lightbox:target img {
  transform: scale(1,1);
}

.lightbox-title {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 26px;
  background: rgba(0,0,0,0.5);
  padding: 15px 8px;
  border-radius: 4px;
}
/* Close-Button */
.lightbox a.close {
  position: absolute;
  width: 5em;
  height: 5em;
  top: 70px;
  right: 20px;
  color: white;
  font-size: 30px;
  text-decoration: none;
  font-weight: bold;
}

/* Navigation */
.lightbox a.prev,
.lightbox a.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 20px;
  text-decoration: none;
  font-weight: bold;
  padding: 10px;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  z-index: 10;
}
.lightbox a.prev:hover {
   background: rgba(0,0,0,0.6);
}
.lightbox a.next:hover {
  background: rgba(0,0,0,0.6);
}
.lightbox a.prev { left: 20px; }
.lightbox a.next { right: 20px; }


/* Maps */
.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    filter: grayscale(0.2);
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 80px 5% 40px;
    text-align: center;
}

.footer-logo img {
    width: 80px;
    margin-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

footer h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-bottom a {
    color: #c7a86b;
    text-decoration: none;
}

/* Impressum Content Style */
.legal-content {
    max-width: 800px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

.legal-content h2 {
    margin: 30px 0 15px;
    font-family: 'Playfair Display', serif;
}
footer-impressum {
    background: #fff;
    color: #1a1a1a;
    padding: 80px 5% 40px;
    text-align: center;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    nav ul {
        gap: 15px;
        font-size: 11px;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 50px 5%;
    }

    .hero {
        height: auto;
        padding: 120px 20px 60px;
    }
}
/* 1. Der äußere, dunkle Hintergrund */
.lightbox-foot {
    display: none; /* Wichtig: Versteckt die Box standardmäßig! */
    position: fixed ; /* Erzwingt das Schweben über der Seite */
    top: 0 ;
    left: 0 ;
    width: 100vw ;
    height: 100vh ;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999 ; /* Setzt die Box über Ihre Navigation */
    justify-content: center;
    align-items: center;
}

/* Wird aktiv, wenn der Link geklickt wird */
.lightbox-foot:target {
    display: flex ;
}

/* 2. Das weiße Inhaltsfenster */
.lightbox-foot-inhalt {
    background: #ffffff ;
    padding: 45px 15px 15px 15px;
    border-radius: 12px;
    width: 85%;
    height: 85%;
    max-width: 1100px;
    position: relative ; /* Wichtig für die Position des X-Buttons */
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* 3. Das iframe innerhalb der Box */
.lightbox-foot-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 4. Schließen-Button oben rechts IM weißen Fenster */
.schliessen-foot-btn {
    position: absolute ;
    top: 10px ;
    right: 20px ;
    font-size: 36px ;
    color: #333 ;
    text-decoration: none ;
    z-index: 100000 ;
    line-height: 1;
}
