body {
  margin: 0;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  text-align: center;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

/* Offset für Sticky-Header beim Ankern */
#menu,
#theken,
#catering {
  scroll-margin-top: 100px;
}
.sticky-header {
  position: sticky;
  top: 0;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 10;
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}

.header-container {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr; /* Drei-Spalten-Layout: Links, Mitte, Rechts */
  align-items: center;
  padding: 30px 40px; /* Erhöhtes Padding für mehr Höhe */
  max-width: 1400px;
  margin: 0 auto;
}

/* Logo-Styling für ganz links */
.logo {
  font-weight: bold;
  font-size: 24px;
  color: #d32f2f;
  text-align: left;
  grid-column: 1; /* Erste Spalte */
}

/* Desktop Navigation bleibt zentriert */
.desktop-nav {
  grid-column: 2; /* Zweite Spalte (Mitte) */
  justify-self: center; /* Zentriert in der eigenen Spalte */
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.desktop-nav ul li {
  margin: 0 15px;
}

.desktop-nav ul li a,
.mobile-nav ul li a {
  color: #d32f2f;
  text-decoration: none;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 3px;
  transition: all 0.3s;
}

.desktop-nav ul li a:after,
.mobile-nav ul li a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #388e3c;
  transition: width 0.3s;
}

.desktop-nav ul li a:hover,
.mobile-nav ul li a:hover {
  color: #d32f2f;
}

.desktop-nav ul li a:hover:after,
.mobile-nav ul li a:hover:after {
  width: 100%;
}

/* Contact Icons */
.contact-info {
  grid-column: 3; /* Dritte Spalte */
  display: flex;
  gap: 15px;
  justify-self: end; /* Rechtsbündig */
}


.contact-info a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  text-decoration: none;
  position: relative;
}

.contact-info a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #388e3c;
  transition: width 0.3s ease-in-out;
}

.contact-info a:hover::after {
  width: 100%;
}

.contact-info img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1100;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff; /* Vollflächig deckend, nichts schimmert durch */
  transform: translateY(-100%);
  transition: transform 0.35s ease-in-out;
  z-index: 5000;
  padding: 90px 24px 24px 24px;
}
/* Wenn Menü geöffnet ist, alles darunter ausblenden/überlagern */
body.menu-open .hero,
body.menu-open .info-boxes,
body.menu-open .about,
body.menu-open .menu,
body.menu-open .theken-section,
body.menu-open .buffet-section,
body.menu-open .footer {
  pointer-events: none;
}

.mobile-nav.active {
  transform: translateY(0);
  display: block;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 520px;
}

.mobile-nav ul li {
  margin: 12px 0;
  padding: 0;
}

.menu-icon {
  display: block;
  padding: 5px 10px;
}
/* Close-Button oben rechts im Overlay */
.mobile-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #d32f2f;
  color: #d32f2f;
  background: #fff;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 991px) {
  /* Grundlegendes Header-Layout */
  .header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 15px;
  }
  
  /* Desktop Navigation ausblenden */
  .desktop-nav {
    display: none;
  }
  
  /* Logo zentrieren */
  .logo {
    grid-column: 2;
    text-align: center;
    margin: 0 auto;
  }
  
  /* Burger-Menü-Symbol anzeigen */
  .mobile-nav-toggle {
    display: block;
    grid-column: 1;
    cursor: pointer;
    font-size: 1.5rem;
  }
  
  /* Kontakt-Icons rechts */
  .contact-info {
    grid-column: 3;
  }
  
  /* Mobile Menü vollständig ausblenden */
  .mobile-nav,
  .mobile-nav.active,
  .mobile-nav-toggle {
    display: none !important;
  }
  
  /* Mobile Menü als Fullscreen-Overlay über allem (override) */
  .mobile-nav {
    display: block; /* sichtbar, aber per transform aus dem Sichtfeld */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 3000; /* über Hero-Button/Boxen/Header */
    transform: translateX(-100%);
    box-shadow: 5px 0 10px rgba(0,0,0,0.15);
    overflow-y: auto;
    padding-top: 80px;
  }
  
  /* Mobile Menü, wenn aktiv */
  .mobile-nav.active {
    transform: translateX(0);
  }
  
  /* Style der Menüpunkte */
  .mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .mobile-nav ul li {
    border-bottom: 1px solid #f0f0f0;
    padding: 0;
    margin: 0;
  }
  
  .mobile-nav ul li a, .mobile-link {
    display: block;
    padding: 16px 20px;
    color: #d32f2f;
    text-decoration: none;
    font-size: 1.25rem;
    text-align: center;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  
  .mobile-nav ul li a:hover {
    background-color: #f9f9f9;
  }
}
/* ========== HERO ========== */
.hero {
    height: 700px;
    width: 1920px;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    color: white;
    position: relative;
    z-index: 1; /* Stacking-Kontext: Info-Boxen (z-index:2) erscheinen darüber */
    box-sizing: border-box;
    overflow: hidden;
    padding: 0; /* section-Regel überschreiben */
    margin: 0 auto;
}

/* Old overlay removed – new split layout uses hero-left / hero-right */
.hero::before {
    display: none;
}

/* === HERO VOLLBILD-LAYOUT MIT DUNKLEM OVERLAY LINKS === */

/* Bild füllt die volle Breite des Heroes */
.hero-right {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    flex: none;
    background-color: #555; /* Fallback wenn kein Bild */
    z-index: 0;
}

.hero-right .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    display: block;
}

.hero-right .hero-bg-mobile {
    display: none;
}

@media (max-width: 767px) {
    .hero-right .hero-bg-desktop {
        display: none;
    }
    .hero-right .hero-bg-mobile {
        display: block;
    }
}

/* Dunkles Semi-Overlay links – diagonal abgeschnitten (\ Richtung) */
.hero-left {
    position: absolute;
    inset: 0;
    z-index: 2;
    flex: none;
    background: linear-gradient(to right, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.60) 100%);
    /* Knick bei 35% Höhe: oben vertikal (90°), unten diagonal (~120°) */
    clip-path: polygon(0 0, 60% 0, 60% 35%, 40% 100%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 120px 40px 60px;
    box-sizing: border-box;
}

/* Text-Container innerhalb der linken Seite */
.hero-inner {
    text-align: left;
    position: relative;
    z-index: 3;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* H1 – gleicher Stil wie h2 (Lobster) */
.hero-inner h1 {
    font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
    font-weight: normal;
    font-size: 3.5rem;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
    text-align: left;
    margin: 0 0 8px 0;
    color: white;
}

@media (max-width: 767px) {
    .hero-inner h1 {
        font-size: 2.4rem;
    }
}

/* Telefonnummer */
.hero-content {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 20px 0 24px 0;
    letter-spacing: 0.06em;
    position: relative;
    text-align: left;
}

/* Italienische Flagge – folgt exakt der Overlay-Diagonale (60% oben → 50% unten)
   Jeder Streifen ist ein vollbreites Element mit eigenem clip-path (70px / 3 ≈ 23.3px pro Streifen)
   Mittelpunkt der Diagonale: 60% oben / 50% unten → Offsets: -35px bis +35px */
.hero-tricolor {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: block; /* Kinder werden absolut positioniert */
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 88%, transparent 100%);
}

/* Knick bei 35%: oben vertikal (90°), unten diagonal (~120°)
   Oben: Mitte bei 60%, Unten: Mitte bei 40%
   Halbbreite 25px, Drittelpunkte ±8.3px */

/* Grüner Streifen: linkes Drittel */
.tricolor-green {
    position: absolute;
    inset: 0;
    background: #009246;
    clip-path: polygon(
        calc(60% - 25px)  0%,
        calc(60% - 8.3px) 0%,
        calc(60% - 8.3px) 35%,
        calc(40% - 8.3px) 100%,
        calc(40% - 25px)  100%,
        calc(60% - 25px)  35%
    );
}

/* Weißer Streifen: mittleres Drittel */
.tricolor-white {
    position: absolute;
    inset: 0;
    background: #ffffff;
    clip-path: polygon(
        calc(60% - 8.3px) 0%,
        calc(60% + 8.3px) 0%,
        calc(60% + 8.3px) 35%,
        calc(40% + 8.3px) 100%,
        calc(40% - 8.3px) 100%,
        calc(60% - 8.3px) 35%
    );
}

/* Roter Streifen: rechtes Drittel */
.tricolor-red {
    position: absolute;
    inset: 0;
    background: #ce2b37;
    clip-path: polygon(
        calc(60% + 8.3px) 0%,
        calc(60% + 25px)  0%,
        calc(60% + 25px)  35%,
        calc(40% + 25px)  100%,
        calc(40% + 8.3px) 100%,
        calc(60% + 8.3px) 35%
    );
}

/* Schwebende Kontakt-Icons oben rechts wie ursprünglich */
.floating-contact {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 3000;
}

.floating-contact .contact-info {
    display: flex;
    gap: 10px;
}

.floating-contact .contact-info a {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform .2s ease;
}

.floating-contact .contact-info a:hover {
    transform: translateY(-2px);
}

.floating-contact .contact-info img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.hero-content a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
}

.hero-content a:hover {
    color: white;
    text-decoration: underline;
}

@media (max-width: 767px) {
    /* Hero Mobile: kleinerer Bildbereich oben, dann Flagge, dann Text */
    .hero {
        height: 660px;
        min-height: unset;
    }

    /* Dunkler Bereich: oben (~45%), Bild unten sichtbar */
    /* Diagonale: rechts 38%, links 46% → Mittelpunkt 42% */
    .hero-left {
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.70) 100%);
        clip-path: polygon(0 0, 100% 0, 100% 46%, 0 54%);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 72px 24px 0;
        box-sizing: border-box;
        z-index: 2;
    }

    .hero-inner {
        max-width: 100%;
    }

    .hero-content {
        font-size: 1rem;
        margin: 8px 0 14px 0;
    }

    /* Flagge: Mittelpunkt bei 42%, Winkel ≈ -7° */
    .hero-tricolor {
        inset: unset;
        position: absolute;
        top: calc(50% - 18px);
        left: -5%;
        right: unset;
        bottom: unset;
        width: 110%;
        height: 36px;
        transform: rotate(-7deg);
        transform-origin: center center;
        display: flex;
        flex-direction: column;
        -webkit-mask-image: none;
        mask-image: none;
        pointer-events: none;
        z-index: 5;
    }

    /* Mobile: Streifen übereinander (grün oben, weiß mitte, rot unten) */
    .tricolor-green,
    .tricolor-white,
    .tricolor-red {
        position: static;
        inset: unset;
        flex: 1;
        clip-path: none;
    }
}
.info-boxes {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: -200px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2; /* Zwischen Hero-Bild (0) und Hero-Inhalt (3) */
  }
  
  .box, .box2 {
    width: 560px;
    height: 310px;
    background: url("gio1.jpg") no-repeat center center/cover;
    display: flex;
    color: #f8f8f8;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-color: white;
    border-width: 2px;
    border-style: solid;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
  }

.box h2, .box2 h2 {
  margin-top: 10px;
  margin-bottom: 15px;
  font-size: 2.3rem;
}

.box p, .box2 p {
  text-align: center;
  margin: 0 0 20px;
  padding: 0 15px;
}
    .box::before, .box2::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 0;
    }

    .box h2, .box2 h2,
    .box p, .box2 p,
    .box .category-btn, .box2 .category-btn {
      position: relative;
      z-index: 1;
    }

/* ========== INFOBOX (zwei Boxen unter dem Hero) ========== */
.infobox {
  position: relative;
  width: 560px;
  height: 310px;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  color: #f8f8f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
}

.infobox-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.infobox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.infobox-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.infobox-content h2 {
  margin-top: 10px;
  margin-bottom: 15px;
  font-size: 2.3rem;
}

.infobox-content p {
  text-align: center;
  margin: 0 0 20px;
  padding: 0 15px;
}

.infobox .category-btn {
  padding: 12px 25px;
  min-width: 160px;
  margin-top: 5px;
}


/* Mobile Anpassungen für Info-Boxen - nur diese Regeln hinzufügen/ändern */
@media (max-width: 767px) {
    /* Fix for the info-boxes container */
    .info-boxes {
      /* Reset to basic block layout for simplicity */
      display: block;
      margin-top: -100px; /* Positive margin */
      padding: 0 15px; /* Side padding */
      width: 100%;
      box-sizing: border-box; /* Include padding in width calculation */
    }
    
    /* Fix for individual boxes */
    .box, .box2, .infobox {
      display: flex;
      width: 100%;
      max-width: 500px;
      height: auto;
      min-height: 220px;
      margin: 0 auto 25px auto;
      box-sizing: border-box;
      position: relative;
      overflow: hidden;
    }

    .box::before, .box2::before {
      content: "";
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 0;
    }

    .box h2, .box2 h2,
    .box p, .box2 p,
    .box .category-btn, .box2 .category-btn {
      position: relative;
      z-index: 1;
    }
  }
  
  /* Button-Styling anpassen für bessere Touch-Bedienung */
  .box .category-btn, .box2 .category-btn {
    padding: 10px 22px;
    min-width: 140px;
    margin-top: 5px;
  }

/* Noch kleinere Bildschirme */
@media (max-width: 400px) {
  .box h2, .box2 h2 {
    font-size: 1.8rem;
  }
  
  .box p, .box2 p {
    font-size: 0.95rem;
  }
}
section {
  padding: 50px 20px;
}

.specialties, .menu {
  padding: 30px 20px 10px 20px;
  margin-bottom: 0;
}

.about {
  background-color: white;
  margin-top: 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  font-style: italic;
  color: #d32f2f;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 120px;
  height: 4px;
  background-color: #388e3c;
  transform: translateX(-50%);
}

.about-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  padding: 20px;
  text-align: left;
}

.about-social {
  margin-top: 0;
}

.about-img {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  padding: 20px;
}

.about-img img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
}
.category-btn {
  padding: 12px 25px;
  margin: 8px;
  background-color: #fff;
  border: 2px solid #d32f2f;
  color: #d32f2f;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  text-decoration: none;
}

/* Hero-Button über den Info-Boxen platzieren */
.hero .category-btn {
  position: relative;
  z-index: 1000;
}

.category-btn:hover,
.category-btn.active {
  background-color: #d32f2f;
  color: white;
}

.menu {
  background-color: #f8f8f8;
  padding: 40px 20px 10px 0px; /* Oben 40px, Unten nur 10px */
  text-align: center;
}

.menu .container {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: -50px;
}

.menu-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  gap: 10px;
}

.menu-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.menu-item {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  width: 280px;
  margin: 10px;
  display: flex;
  flex-direction: column;
}

.menu-item.hidden {
  display: none;
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.menu-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.menu-item-content {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
}

.menu-item-content h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #d32f2f;
  font-weight: bold;
}

.menu-item-content p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 10px;
}

.price {
  color: #388e3c;
  font-size: 1.2rem;
  font-weight: bold;
}
@media (max-width: 767px) {
  .menu-item {
    width: 90vw;
  }

  .menu-item img {
    height: auto;
    object-fit: contain;
  }
}

.theken-section {
  padding: 40px 20px;
  background: none;
  opacity: 1 !important;
  transform: none !important;
}

/* ========== SALUMERIA ACCORDION LAYOUT ========== */
.theken-accordion-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.theken-accordion-image {
  position: sticky;
  top: 120px;
}

.theken-accordion-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  transition: opacity 0.35s ease;
}

.theken-accordion-items {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
}

.theken-accordion-item {
  border-bottom: 1px solid #d0d0d0;
}

.theken-accordion-item:first-child {
  border-top: 1px solid #d0d0d0;
}

.theken-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}

.theken-accordion-header:hover .theken-accordion-title {
  color: #d32f2f;
}

.theken-accordion-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  transition: color 0.2s ease;
}

.theken-accordion-item.active .theken-accordion-title {
  color: #d32f2f;
}

.theken-accordion-icon {
  font-size: 1.6rem;
  color: #d32f2f;
  font-weight: 300;
  line-height: 1;
  min-width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.theken-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.theken-accordion-body-inner {
  padding: 0 0 28px 0;
}

.theken-accordion-body-inner p {
  color: #444;
  line-height: 1.75;
  text-align: left;
  margin: 0 0 24px 0;
  font-size: 1rem;
}

.theken-accordion-btn {
  display: inline-block;
  padding: 12px 25px;
  margin: 8px 0;
  background-color: #fff;
  border: 2px solid #d32f2f;
  color: #d32f2f;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.theken-accordion-btn:hover {
  background-color: #d32f2f;
  color: #fff;
}

@media (max-width: 991px) {
  .theken-accordion-wrap {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .theken-accordion-image {
    position: static;
  }

  .theken-accordion-image img {
    height: 300px;
    border-radius: 12px;
    margin-bottom: 32px;
  }
}

@media (max-width: 767px) {
  .theken-accordion-image img {
    height: 240px;
    border-radius: 10px;
    margin-bottom: 24px;
  }

  .theken-accordion-title {
    font-size: 1.3rem;
  }

  .theken-accordion-header {
    padding: 18px 0;
  }

  .theken-accordion-body-inner p {
    font-size: 1rem;
    line-height: 1.7;
  }
}
@media (max-width: 991px) {
  /* Allgemeine Section-Paddings reduzieren */
  section {
    padding: 30px 16px;
  }

  /* Header-Offset für kleinere Headerhöhe */
  #menu,
  #theken,
  #catering {
    scroll-margin-top: 70px;
  }

  /* Info-Boxen dichter und ohne zu starkes Überlappen */
  .info-boxes {
    margin-top: -100px;
  }

  /* Menu-Container Margin anpassen */
  .menu .container {
    margin-top: -20px;
  }
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== BUFFET PARALLAX GALERIE ========== */
.buffet-section {
  padding: 60px 0 80px;
  background-color: #f8f8f8;
  overflow: hidden;
}

.buffet-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Einzelnes Galerie-Item */
.buffet-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

/* Eingeblendet-Zustand (per JS gesetzt) */
.buffet-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Bild-Container */
.buffet-item-img {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.4s ease;
}

.buffet-item-img:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.buffet-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.buffet-item-img:hover img {
  transform: scale(1.05);
}

/* Orientation: Querformat */
.buffet-item[data-orientation="quer"] .buffet-item-img {
  aspect-ratio: 16 / 10;
}

/* Orientation: Hochkant */
.buffet-item[data-orientation="hochkant"] .buffet-item-img {
  aspect-ratio: 3 / 4;
}

/* Positionen: versetzte Hoehen fuer Parallax-Effekt */
.buffet-item[data-position="oben"] {
  margin-top: 0;
}

.buffet-item[data-position="mittig"] {
  margin-top: 60px;
}

.buffet-item[data-position="unten"] {
  margin-top: 140px;
}

/* Gestaffeltes Einblenden: jedes n-te Kind etwas versetzt */
.buffet-item:nth-child(1) { transition-delay: 0s; }
.buffet-item:nth-child(2) { transition-delay: 0.15s; }
.buffet-item:nth-child(3) { transition-delay: 0.3s; }
.buffet-item:nth-child(4) { transition-delay: 0.4s; }
.buffet-item:nth-child(5) { transition-delay: 0.5s; }
.buffet-item:nth-child(6) { transition-delay: 0.6s; }
.buffet-item:nth-child(7) { transition-delay: 0.7s; }
.buffet-item:nth-child(8) { transition-delay: 0.8s; }
.buffet-item:nth-child(9) { transition-delay: 0.9s; }

/* Tablet: 2 Spalten */
@media (max-width: 991px) {
  .buffet-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .buffet-item[data-position="mittig"] {
    margin-top: 24px;
  }

  .buffet-item[data-position="unten"] {
    margin-top: 48px;
  }
}

/* Mobile: Swipe-Karussell */
@media (max-width: 767px) {
  .buffet-section {
    padding: 40px 0 10px;
  }

  /* Grid → horizontaler Scroll-Container */
  .buffet-content {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    padding: 0 0 15px 0;
    /* Scrollbar verstecken */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .buffet-content::-webkit-scrollbar {
    display: none;
  }

  /* TYPO3 frame-Wrapper als volle Slide-Breite */
  .buffet-content > .frame {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: center;
    box-sizing: border-box;
    padding: 0 16px;
  }

  /* Jedes Buffet-Item als voller Slide */
  .buffet-item {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: center;
    box-sizing: border-box;
    padding: 0 16px;
    /* Kein Versatz auf Mobile */
    margin-top: 0 !important;
    /* Fade-in deaktivieren fuer Swipe */
    opacity: 1;
    transform: none;
    transition: none;
  }

  .buffet-item[data-position="oben"],
  .buffet-item[data-position="mittig"],
  .buffet-item[data-position="unten"] {
    margin-top: 0;
  }

  .buffet-item-img {
    aspect-ratio: 4 / 3;
  }

  /* Querformat-Bilder auf Mobile vertikal zentrieren */
  .buffet-item[data-orientation="quer"] {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .buffet-item[data-orientation="quer"] .buffet-item-img {
    aspect-ratio: 16 / 10;
    width: 100%;
  }

  /* Swipe-Dots */
  .buffet-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 0 5px 0;
  }

  .buffet-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    transition: background-color 0.3s ease;
    cursor: pointer;
  }

  .buffet-dots .dot.active {
    background-color: #d32f2f;
  }
}

/* Buffet-Dots auf Desktop/Tablet ausblenden */
@media (min-width: 768px) {
  .buffet-dots {
    display: none;
  }
}
.footer {
  background-color: #333;
  color: #f8f8f8;
  padding: 40px 0 20px;
  position: relative;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-columns {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.footer-column {
  margin-bottom: 25px;
  padding: 0 5px;
}

.footer-logo {
  color: #d32f2f;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-heading {
  color: #d32f2f;
  font-size: 1.1rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 8px;
  display: inline-block;
}

.footer-description {
  margin-bottom: 20px;
  line-height: 1.5;
  font-size: 0.9rem;
}

.opening-hours {
  list-style: none;
  padding: 0;
}

.opening-hours li {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

.opening-hours span {
  color: #ccc;
}

.opening-hours .hours {
  color: #fff;
  font-weight: 500;
}

.opening-hours li:hover .hours {
  color: #388e3c;
  transition: color 0.3s ease;
}

.contact-info-footer {
  list-style: none;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-info-footer li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-info-footer span {
  line-height: 1.5;
  border-left: 2px solid transparent;
  padding-left: 8px;
  transition: all 0.3s ease;
  text-align: center;
}

.contact-info-footer li:hover span {
  border-left: 2px solid #388e3c;
}

.footer-bottom {
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-image: linear-gradient(to right, #009246 33.33%, #ffffff 33.33%, #ffffff 66.66%, #ce2b37 66.66%) 1;
  color: #888;
  font-size: 0.9rem;
}

.footer-bottom p span {
  color: #388e3c;
}


.menu-icon {
  display: block;
  padding: 5px 10px;
}

@media (min-width: 768px) {
  .footer-columns {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .footer-column {
    flex: 1;
    min-width: 250px;
  }
  .info-boxes {
    margin-top: -200px;
}
}
  @media (max-width: 767px) {
  /* Info-Boxen mobil: Abstand feintunen */
  .info-boxes {
    margin-top: -40px;
  }
}
/* Footer Social Icons */
.footer-social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 15px;
  }
  
  .footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    text-decoration: none;
    position: relative;
    transition: transform 0.3s ease;
  }
  
  .footer-social-icons a:hover {
    transform: translateY(-3px);
  }
  
  .footer-social-icons img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Macht die Icons weiß für den dunklen Footer */
  }
  
  /* Hover-Effekt mit Farbe */
  .footer-social-icons a:hover img {
    filter: brightness(1) invert(0); /* Zurück zur Originalfarbe bei Hover */
  }

/* Boxen etwas nach oben verschieben, ohne Höhe zu ändern */
.info-boxes .box,
.info-boxes .box2,
.info-boxes .infobox {
  transform: translateY(-50px);
  will-change: transform;
  z-index: 1;
}

/* Kleinere Verschiebung auf schmalen Bildschirmen */
@media (max-width: 600px) {
  .info-boxes .box,
  .info-boxes .box2,
  .info-boxes .infobox {
    transform: translateY(-20px);
  }
}

/* ========== SCROLL-REVEAL PARALLAX EFFEKT ========== */
/* Grundzustand: Sections starten unsichtbar und nach unten versetzt */
.scroll-reveal {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

/* Sichtbarer Zustand: eingeblendet und an Originalposition */
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Info-Boxes: eigener Reveal, behaelt translateY(-50px) bei */
.info-boxes.scroll-reveal {
  transform: translateY(30px);
}

.info-boxes.scroll-reveal.revealed {
  transform: translateY(0);
}

.info-boxes.scroll-reveal.revealed .box,
.info-boxes.scroll-reveal.revealed .box2,
.info-boxes.scroll-reveal.revealed .infobox {
  transform: translateY(-50px);
}

/* Gestaffeltes Einblenden fuer Kinder-Elemente */
.scroll-reveal-child {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

.scroll-reveal-child.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile: Effekt etwas dezenter */
@media (max-width: 767px) {
  .scroll-reveal {
    transform: translateY(50px);
    transition-duration: 0.7s;
  }

  /* Buffet-Swipe: Section + Kinder sofort sichtbar auf Mobile */
  .buffet-section.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .buffet-section .scroll-reveal-child {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* Ueber uns: sofort sichtbar beim Laden auf Mobile (kein Scroll-Reveal) */
  .about.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .about .scroll-reveal-child {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Nutzer bevorzugt reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .scroll-reveal-child {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========== HEADER ONLY (Lobster + Tricolore) ========== */
.header-only {
  text-align: center;
  padding: 40px 20px;
}

.header-only h2 {
  font-family: 'Lobster', cursive;
  font-size: 4rem;
  color: #c41e3a;
  font-weight: normal;
  margin: 0;
}

.tricolore-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.tricolore-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.tricolore-dot:nth-child(1) { background: #009246; }
.tricolore-dot:nth-child(2) { background: #f5f5f5; border: 1px solid #ccc; }
.tricolore-dot:nth-child(3) { background: #ce2b37; }

@media (max-width: 767px) {
  .header-only h2 {
    font-size: 2.8rem;
  }
}

/* ===== IMPRESSUM ===== */

.impressum-banner {
  background-color: #fff;
  text-align: center;
  padding: 60px 20px 30px;
  border-bottom: 3px solid #f0f0f0;
}

.impressum-title {
  font-family: "Lobster", cursive;
  font-size: 2.8rem;
  color: #d32f2f;
  margin: 0 0 16px 0;
}

.impressum-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.impressum-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.impressum-dots .dot-green { background-color: #388e3c; }
.impressum-dots .dot-white { background-color: #ccc; border: 1px solid #ddd; }
.impressum-dots .dot-red   { background-color: #d32f2f; }

.impressum-page {
  background-color: #fff;
  padding: 50px 20px 60px;
}

.impressum-container {
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.75;
  font-size: 1rem;
  color: #333;
}

.impressum-container h1,
.impressum-container h2,
.impressum-container h3 {
  color: #d32f2f;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.impressum-back {
  margin-top: 48px;
  text-align: center;
}