/* Grundreset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header & Navigation */
header {
  background: #fff;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo a {
  font-size: 1.5em;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

/* Standard Navigation (Desktop) */
nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  padding: 5px 10px;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #007BFF;
}

/* Hamburger-Menü (wird im Desktop-Modus nicht angezeigt) */
.menu-toggle {
  display: none;
  font-size: 2em;
  cursor: pointer;
}

/* Falls der Header eine spezielle Klasse "single-nav" hat,
   soll das Hamburger-Icon ausgeblendet werden */
header.single-nav .menu-toggle {
  display: none;
}

/* Home Section */
#home {
  background: url('bilder/Banner/Banner_2.png') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px; /* Platz für den fixierten Header */
  color: #000;
}

.hero-container h1 {
  font-size: 3em;
  margin-bottom: 20px;

}

.hero-container {
  background: url("bilder/Banner/Banner_2.png") center/cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  position: relative;
}

/* Angebot Section */
#angebot {
  padding: 80px 0;
  background: #f4f4f4;
}

#angebot h2 {
  text-align: center;
  margin-bottom: 40px;
}

#angebot p {
  word-wrap: break-word;
  margin: 0 auto 20px;
  max-width: 800px;
  text-align: center;
}

/* Button: "zum kalender" (schwarz, blockweise und zentriert) */
.btn {
  display: block;
  background: #000;
  color: #fff;
  padding: 10px 25px;
  text-decoration: none;
  border: none;
  border-radius: 0;
  transition: background 0.3s;
  margin: 20px auto;
  width: fit-content;
}

.btn:hover {
  background: #333;
}

/* Aktuelles Section */
#aktuelles {
  padding: 80px 0;
}

#aktuelles h2 {
  text-align: center;
  margin-bottom: 40px;
}

.news-item {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 20px;
  border-bottom: 1px solid #ddd;
}

.news-item h3 {
  margin-bottom: 10px;
}

.news-item p {
  margin-bottom: 10px;
}

/* Kontakt Section (Kontaktkarte statt Formular) */
.contact-card {
  text-align: center;
  padding: 40px 0;
  background: #f4f4f4;
}

.contact-card h2 {
  margin-bottom: 20px;
}

.contact-card a {
  color: #007BFF;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Kalender Container (flexibles Verhalten) */
.calendar-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 80px auto 40px;  /* 80px Abstand vom Header */
}

.calendar-container::before {
  content: "";
  display: block;
  padding-top: calc(50% + 200px); /* Höhe = 50% der Breite + 200px */
}

.calendar-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer (ohne den Rechtstext) */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

/* Neue Section: Was du bei uns kannst */
#was-bei-uns-kannst {
  /* Gleicher Randabstand wie andere Sektionen */
  padding: 80px 0;
  background: #fff; /* Oder #f4f4f4, wenn Du es absetzen möchtest */
  text-align: center;
}

#was-bei-uns-kannst h2 {
  margin-bottom: 40px; /* gleicher Abstand wie bei anderen h2 */
}

.piktogram-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* Abstand zwischen den Items */
}

.piktogram-item {
  /* feste Breite (z.B. 80px oder 100px), sodass mehrere nebeneinander passen */
  width: 100px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform 0.3s ease;
}

/* Bildgröße anpassen, damit genug Platz für mehrere Piktogramme ist */
.piktogram-item img {
  width: 64px;
  height: 64px;
  transition: transform 0.3s ease;
}

/* Beschriftung standardmäßig unsichtbar */
.caption {
  margin-top: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover-Effekt */
.piktogram-item:hover img {
  transform: scale(1.2);
}
.piktogram-item:hover .caption {
  opacity: 1;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .header-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  /* Hamburger-Menü Icon (nur für Seiten, die es benötigen) */
  .menu-toggle {
    display: block;
    font-size: 2em;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
  }
  
  /* Standard-Navigation: Dropdown-Menü */
  nav ul {
    display: none;
    flex-direction: column;
    width: auto;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 20px;
    text-align: right;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 10px;
  }
  
  nav ul.active {
    display: flex;
  }
  
  nav ul li {
    margin: 10px 0;
  }
  
  /* Bei Seiten mit nur einem Menüpunkt (z. B. kalender.html)
     wird die Navigation immer sichtbar und als horizontale Liste angezeigt */
  nav.single-nav ul {
    display: flex !important;
    flex-direction: row;
    justify-content: flex-end;
    position: static;
    box-shadow: none;
    padding: 0;
    background: none;
  }
}
