.hidden {
  display: none !important;
}



:root {
  --primary-color: #281f17;        /* Dunkles Kaffee-Braun */
  --secondary-color: #e0cbb4;   /* Etwas dunkler für Sektionen */  --accent-color: #a7754d;         /* Rötlich-beiger Akzent */
  --background-color: #f1e7dd;  /* Cremiger, sanfter Grundton */  --font-sans: 'Roboto', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --today-highlight: #f1e6d8;      /* Sanfter Tageshighlight */
  --footer-color: #b5987a;      /* Passender warmer Footer-Ton */  --text-color-light: #f9f6f3;     /* Für Text auf dunklem Grund */
  --text-color-dark: #3c2b21;      /* Für Text auf hellem Grund */
  --background-dark: #5e3a27;      /* Für dunkle Bereiche */
  --background-light: #f6ede5;  /* Für helle Boxen oder Karten */}


*,
*::before,
*::after {
    box-sizing: border-box;
}

.navbar {
  background-color: var(--secondary-color);
}


body {
    font-family: var(--font-sans);
    background-color: var(--background-color);
    color: var(--primary-color);
    margin: 0;
    padding: 0;
  }

/* Header */
header.header {
    background: url('../images/cafe-background.jpg') center/cover no-repeat;
    height: 100vh;
    position: relative;
    color: var(--text-color-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
    overflow: hidden;
}

header.header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

.header-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-content h1 {
    font-family: var(--font-serif);
    font-size: 3.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.header-content p {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.btn {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.5);
    transition: background-color 0.3s ease, color 0.3s ease;
    user-select: none;
}

.btn:hover,
.btn:focus {
    background-color: var(--primary-color);
    color: var(--accent-color);
}

.btn.cta-button {
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.btn.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.5);
}

/* Navigation */

/* Klassische statische Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 999;
  background-color: var(--secondary-color);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
  
  body {
    padding-top: 80px; /* Platz für Navbar beim Scrollen */
    overflow-x: hidden ;
  }


  
  
  .navbar .logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--text-color-light);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.3s ease;
  }
  
  .navbar .logo:hover {
    transform: scale(1.05);
  }
  
  .navbar .nav-menu {
    display: flex;
    gap: 2rem;
  }
  
  .navbar .nav-menu a {
    color: var(--text-color-dark);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    font-size: 1.05rem;
  }
  
  .navbar .nav-menu a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
  }
  
  .navbar .nav-menu a:hover::after {
    width: 100%;
  }
  
  .navbar .nav-menu a:hover {
    color: var(--accent-color);
  }

/* Sections */
.section {
    padding: 4rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
  }

  .section:nth-child(even) {
    flex-direction: row-reverse;
    background-color: var(--background-color);
  }
  .section:nth-child(odd) {
    background-color: var(--secondary-color);
  }

.section-content {
    max-width: 600px;
    padding: 1rem;
  }
  .section img {
    max-width: 400px;
    width: 100%;
    margin: 1rem;
    border-radius: 8px;
  }

.section-light {
    background-color: var(--background-light);
    color: var(--text-color-dark);
}

.section-dark {
    background-color: var(--background-dark);
    color: var(--text-color-dark);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

h2 {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 2.75rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Menü */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.menu-item {
    background-color: var(--background-light);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgb(0 0 0 / 0.1);
    text-align: center;
    color: var(--text-color-dark);
}
.menu-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* zentriert horizontal */
  align-items: center;     /* optional: vertikale Zentrierung */
  gap: 0.75rem;
  margin-bottom: 2rem;
  text-align: center;
}

.tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tab-content:not(.hidden) {
  display: block;
  opacity: 1;
}



.tab-content ul {
  list-style-position: inside; /* Punkte nicht ganz links */
  display: inline-block;       /* Trick zum Zentrieren */
  text-align: left;            /* Aber Text linksbündig */
  margin: 0 auto;
}

.menu-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
    user-select: none;
}

.menu-item h3 {
    margin: 0.5rem 0 1rem 0;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.5rem;
}

.menu-item p {
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.4;
}

/* Kontakt */
address {
    font-style: normal;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.7;
    font-size: 1.1rem;
    text-align: center;
}

address strong {
    font-weight: 700;
}

/* Öffnungszeiten heute-Stil */
.opening-hours td {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #ccc;
    font-family: var(--font-sans);
    position: relative;
    z-index: 1;
  }

  
  
  /* Einheitliche Hervorhebung der gesamten heutigen Zeile */
  .opening-hours tr.today {
    background-color: var(--today-highlight);
    font-weight: bold;
    color: var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    overflow: hidden;
  }
  
  /* Optional: sanfte linke Akzentlinie */
  .opening-hours tr.today td:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 4px 0 0 4px;
    z-index: 0;
  }
  
  .opening-hours-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  

  .hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1001;
  }
  .map-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  .map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
  }
  

  

/* Swiper */
/* neutral: keine Karte auf dem Container */
.swiper-container {
  width: 100%;
}



.swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center; /* wichtig */

}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* GANZES Bild anzeigen */
  object-position: center;
  background-color: #f8f0e5; /* Hintergrund passend zur Karte */
}



.swiper-pagination-bullet {
    background-color: var(--accent-color);
}

/* AOS (Scrollanimationen) */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

/* Footer */
footer {
    background-color: var(--background-dark);
    color: var(--text-color-light);
    padding: 1.5rem 1.5rem;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}
.swiper-slide.menu-item {
  /* height: 450px;  <-- entfernen */
  height: auto;
}

.swiper-slide.menu-item img {
  max-height: 380px;
  width: auto;
  border-radius: 12px;
  object-fit: contain;
}


.social-media a img {
    height: 24px;
    width: 24px;
    filter: brightness(0) invert(1);
  }
  .tab-button {
    background-color: var(--primary-color);
    color: #fff;
    font-family: var(--font-sans);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 9999px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    margin: 0.3rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  }
  
  .tab-button:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
  }
  .tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  .tab-button.bg-active {
    background-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  .nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
  }
  

.social-media a:hover img,
.social-media a:focus img {
    filter: brightness(0) invert(0.8) sepia(1) saturate(5) hue-rotate(30deg);
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .hamburger {
      display: block;
    }
@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

   
    .nav-menu {
      flex-direction: column;
      align-items: flex-start;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: var(--secondary-color);
      width: 100%;
      padding: 1rem 2rem;
      gap: 1rem;
      transform: translateY(-200%);
      transition: transform 0.3s ease;
      z-index: 999;
    }

    body {
      overflow-x: hidden;
    }
    

    .nav-menu.active {
      transform: translateY(0);
    }

    .nav-menu li {
        text-align: left;
    }

    .nav-link {
        font-size: 1.3rem;
    }
}
/* Menübereich */
.menu-section {
  padding: 4rem 1rem;
  background-color: var(--secondary-color);
}

.menu-box {
  max-width: 1000px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  min-height: 800px;
}

.menu-title {
  font-size: 2.5rem;
  font-family: var(--font-serif);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
}

.menu-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}



.menu-content {
  flex: 1;
  overflow-y: auto;
  color: var(--primary-color);
}





.tab-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-serif);
}



.tab-content ul li {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.hidden {
  display: none !important;
}






}

/* Kompakteres Menü-Design */
.menu-paper {
  background: #f8f0e5;
  border-radius: 12px;
  padding: 1.5rem 1.2rem; /* weniger Innenabstand */
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
  max-width: 900px; /* etwas schmaler */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center; /* horizontal zentrieren */
  text-align: center;  /* Text mittig */

}



.menu-heading {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(22px, 3.5vw, 40px); /* kleiner */
  line-height: 1.1;
  text-align: center;
  color: #2b211a;
  margin: 0 0 1.2rem 0;
}

.group-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(15px, 2.2vw, 22px); /* kleiner */
  color: #2b211a;
  margin: 0.9rem 0 .4rem;
}

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "Roboto", system-ui, -apple-system, Arial, sans-serif;
  color: #2b211a;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: .4rem 1rem;
  font-size: clamp(14px, 1.8vw, 17px); /* kompakter */
  line-height: 1.35; /* enger */
  padding: .25rem 0; /* weniger Abstand */
  border-top: 1px solid rgba(0,0,0,.05);
}
.price-row:first-child { border-top: 0; }

.item-name small { opacity: .8; font-size: .85em; }
.item-price { white-space: nowrap; font-variant-numeric: tabular-nums; }

.item-price-duo {
  display: grid;
  gap: .1rem;
  justify-items: end;
  font-variant-numeric: tabular-nums;
}
.item-price-duo span { white-space: nowrap; }

.menu-sep { height: 10px; }


/* Tabs-Box leicht anpassen */
.menu-section { background-color: var(--secondary-color); }
.menu-box {
  margin: 0 auto 3.5rem;  /* unten Abstand für Schatten */
}

#menu.menu-section {
  padding-bottom: 6rem;   /* vorher evtl. 3rem */
}

/* Einheitliche Höhe für alle Menü-Item-Slides im Karussell */
.swiper-slide.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 420px; /* feste Höhe, kannst du anpassen */
  box-sizing: border-box;
}

.swiper-slide.menu-item img {
  flex-shrink: 0;
  max-height: 220px; /* Bildhöhe begrenzen */
  object-fit: cover;
  width: 100%;
}

.swiper-slide.menu-item h3 {
  margin-top: 15px;
  font-family: var(--font-serif);
  font-weight: 700;
  text-align: center;
}

.swiper-slide.menu-item p {
  font-size: 1rem;
  text-align: center;
  margin-top: 5px;
}


/* Wrapper für den ganzen Sliderbereich */
.gallery-wrapper{
  max-width: 1100px;
  margin: 40px auto;
  background: var(--background-light);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  padding: 28px 22px 26px;
}

/* Bilder im Slider */
.swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: 12px; /* weiche Ecken beim Bild */
  display: block;
}

/* Titel und Text mittig */
.swiper-slide h3 {
  text-align: center;
  margin: 12px 0 6px;
}

.swiper-slide p {
  text-align: center;
  margin: 0;
}


/* --- Fix: Galerie-Bilder dürfen wachsen (überschreibt frühere Regeln) --- */
#gallery .swiper-slide img{
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

#gallery .swiper-slide.menu-item img {
  max-height: 420px;                  /* hier Größe anpassen */
  object-fit: contain;                /* nichts wird abgeschnitten */
  border-radius: 12px;
}

#gallery .swiper-slide.menu-item {
  /* height: 520px;  <-- entfernen */
  height: auto;
}

/* --- Fix: Swiper-Dots unter dem Inhalt, nicht über dem Bild/Titel --- */
#gallery .swiper-pagination{
  position: static !important;   /* nicht mehr absolute überlappend */
  margin-top: 24px;              /* Luft zu Titel/Text */
  display: flex;
  justify-content: center;
  gap: 6px;
  transform: none !important;
}

#gallery .swiper-slide.menu-item img{
  margin-bottom: 12px;           /* Platz zwischen Bild und Titel */
}

#gallery .swiper-container{ width:100%; overflow:hidden; }


@media (max-width: 768px) {
  #gallery .swiper-slide.menu-item{ height: auto; }

  #gallery .swiper-slide.menu-item img{
    max-height: 60vh;   /* groß, aber ohne Abschneiden */
    display: block;
    margin: 0 auto 12px;
  }

  #gallery .swiper-pagination{ position: static !important; margin-top: 16px; }

  html, body{ overflow-x: hidden; width:100%; }

/* Sicherheitsnetz für typische Übeltäter */
.section, .container, .navbar, .nav-menu, .swiper-container, .swiper-wrapper, .swiper-slide{
  max-width: 100vw;
}

img, iframe{ max-width: 100%; }

}


