body {
  font-family: sans-serif;
  margin: 0;
 
  color: #222;
}

  .hero {
  background: url('assets/icons/background.png') no-repeat center center;
  background-size: cover;
  color: white;
}

    .hero {
  height: 600px;
}

.container {
  max-width: 800px;
  margin: auto;
  background: white;
  padding: 2rem;
  padding-bottom: 5rem;
  border-radius: 16px;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
}
h1 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}
.badge {
  display: inline-block;
  padding: 0.3em 0.8em;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: bold;
}
.badge.Geheimtipp { background: #0074D9; color: white; }
.badge.Favorit { background: #FF851B; color: white; }
.badge.Legendär { background: #2ECC40; color: white; }

.meta { font-size: 0.95rem; margin-bottom: 1rem; }
.score span { font-weight: bold; }
.score { margin: 1rem 0; font-size: 1.1rem; }
.section { margin-top: 2rem; }
.section h2 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.tipp-box {
  background: #f4f7fa;
  border-left: 5px solid #0074D9;
  padding: 1rem;
  margin-top: 0.5rem;
}
.table { margin-top: 1rem; }
.table table { border-collapse: collapse; width: 100%; }
.table th, .table td {
  text-align: left;
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid #ddd;
}
.maps-link {
  margin-top: 1rem;
  display: inline-block;
  background: #0070f3;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
}
.maps-link:hover {
  background: #005ec4;
}
.nav-top {
  background: #333;
  border-bottom: 2px solid #0074D9;
  padding: 1rem;
}
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-links {
  display: flex;
  gap: 1rem;
}
.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 0.95rem;
}
.nav-links a i {
  margin-right: 0.4rem;
}
.burger {
  display: none;
  font-size: 1.4rem;
  color: white;
  cursor: pointer;
}
.mobile-only { display: none; }

.prev-next {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  font-size: 0.95rem;
  background: #f0f0f0;
  padding: 1rem;
  border-radius: 8px;
  position: sticky;
  bottom: 0;
  background-color: #f0f0f0;
  z-index: 100;
}

@media (max-width: 768px) {
  .burger { display: block; }
  .nav-links { display: none; flex-direction: column; gap: 0.5rem; padding-top: 1rem; }
  .nav-links.show { display: flex; }
  .mobile-only { display: block; }
}

.menu details summary {
  cursor: pointer;
  padding: 4px;
}

.menu ul {
  list-style: none;
  padding-left: 1em;
}

.menu a {
  text-decoration: none;
  display: block;
  padding: 2px 6px;
}

.menu .hidden {
  display: none;
}


/* ==== Mobile Navigation Fix & Verbesserung ==== */

/* Standard: Menü ist versteckt */
.nav-links {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
}

/* Sichtbar wenn via JS die Klasse "open" hinzugefügt wird */
.nav-links.open {
  display: flex;
}

/* Burger-Menü sichtbar auf kleineren Screens */
@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav-links {
    background-color: #333;
    padding: 1rem;
    border-top: 1px solid #0074D9;
  }

  .nav-links a {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}

@media (max-width: 600px) {
  .prev-next {
    flex-direction: column;
    align-items: stretch;
  }

  .prev-next .button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .menu {
    background: #fff;
    padding: 10px;
    font-size: 16px;
  }

  .menu summary {
    font-weight: bold;
    cursor: pointer;
    padding: 5px 0;
  }

  .menu ul {
    padding-left: 1em;
  }

  .menu a {
    display: block;
    padding: 6px 8px;
    border-radius: 4px;
  }

  .menu a:hover {
    background: #f0f0f0;
  }

  .menu button#menu-toggle {
    font-size: 18px;
    background: none;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
  }

  #menu-list.hidden {
    display: none;
  }
}

/* Desktop: Menü ist immer sichtbar */
@media (min-width: 3769px) {
  .nav-links {
    display: flex !important;
    flex-direction: row;
    background: none;
    padding: 0;
  }

  .burger {
    display: none;
  }
}
