section {
    padding: 2rem;
}

a {
    color: green; /* Link-Farbe */
    text-decoration: none; /* Entfernt Unterstreichung */
}

a:hover {
    text-decoration: underline; /* Unterstreicht den Link beim Darüberfahren */
}

h2 {
    text-align: center;
    margin-top: 20px;
}


.wrapper {
      text-align: center;
      margin-top: 50px;
    }

.intro-section {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
                url('Bilder/Willkommen am Schlienkamp.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem;
    color: white;
}

.hinweis-box {
    background-color: #c0392b; /* kräftiges Rot */
    color: white;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 1rem;
    font-weight: bold;
    text-align: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.image-text-container_lage {
    display: flex;
    gap: 1.5rem; /* Abstand zwischen Bild und Text */
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 100%;
    padding: 2rem;
    box-sizing: border-box;
}

.liste-container,
.map-container {
    flex: 1 1 45%;
    max-width: 100%;
    box-sizing: border-box;
}

.standort-list {
    list-style: none; 
    margin: 0;
}

.standort-list li {
    display: grid;
    grid-template-columns: 400px auto; /* Linke Spalte hat feste Breite */
    gap: 20px;
    padding: 6px 0;
    align-items: baseline;
}

.zeitangabe {
    color: #555;
    font-weight: normal;
    white-space: nowrap;
    text-align: left; /* damit's schön an der Spalte anliegt */
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 400px;
    box-sizing: border-box;
}

#googleMap {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 0;
    display: none;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    color: white;
    z-index: 2;
}

    .map-overlay a {
            color: #ffcc00;
            text-decoration: none;
        }
    .map-overlay button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 20px;
            font-size: 16px;
            cursor: pointer;
            margin-top: 10px;
        }
    .map-overlay button:hover {
            background-color: #0056b3;
        }


@media (max-width: 768px) {
    .image-text-container_lage {
        flex-direction: column;
        gap:0; 
    }

.map-container {
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 400px;
    position: relative;
    box-sizing: border-box;
}

.liste-container,
.map-container {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
}

#googleMap {
    width: 100%;
    height: 100%;
    border: 0;
    display: none;
    }

    .standort-list li {
        grid-template-columns: 1fr auto; /* Linke Spalte nimmt verfügbaren Platz */
    }
}



body {
    font-family: Calibri, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

b  {
    font-family: Calibri, sans-serif;
    margin: 0;
    padding: 0;
    font-weight: bold;
    font-size: 1.2rem;
    color: darkblue;
}





h4 {
    font-family: Calibri, sans-serif;
    margin: 0;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 0;
}

h3 {
    font-family: Calibri, sans-serif;
    margin: 0;
    font-weight: bold;
    padding: 0;
    background-color: #f4f4f4;
}


/* Header als Flexbox-Container */
header {
    display: flex;             /* Flexbox aktivieren */
    justify-content: center;   /* Horizontal zentrieren */
    align-items: center;       /* Vertikal zentrieren */
    background-color: #186D1B; /* Hintergrundfarbe */
    padding: 0.8rem 1rem;          /* Feste Höhe für den Header */
}

/* Stil für den Titel */
header h1 {
  font-size: 2rem;
  margin: 0;
  line-height: 1.2;
  color: white;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
  header {
    padding: 0.8rem 1rem;
  }

  header h1 {
    font-size: 1rem;
    color: white;
  }
}


.burger {
  display: none;
  font-size: 1rem;
  background: none;
  border: none;
  color: white;
  padding: 0.8 rem 1rem;
  width: 100%;
  text-align: center;
  background-color: #04B404;
  border-bottom: 1px solid #555;
}

/* Navigation */
/* Navigation */
nav {
    display: flex;
    justify-content: center;
    background-color: #04B404;
    align-items: center;
}

nav a {
    color: white;
    padding: 1rem;
    text-decoration: none;
    text-align: center;
}

nav a:hover {
    background-color: #088A08;
    text-decoration: none;
}

/* Dropdown-Menü */
.dropdown {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center; /* Zentriert das Dropdown horizontal unter dem Button */
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    margin-top: 5px;
    background-color: #444;
    min-width: 150px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
}

.dropdown-content a {
    display: block;
    padding: 10px;
    color: white;
}

.dropdown-content a:hover {
    background-color: #666;
    text-decoration: none;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .burger {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    align-items: center;
  }

  nav.open {
    display: flex;
  }

  nav a,
  .dropdown {
    width: 100%;
    text-align: center;
}

  .dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

.dropdown-content {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: static;
  background-color:#008000;
  width: 100%;
  text-align: center;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  box-sizing: border-box
}

  .dropdown-content a {
    display: inline-block;       /* <<< statt block/max-content */
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    margin: 0.25rem 0;
    text-align: center;
  }
}






footer {
    text-align: center;
    padding: 0.8rem;
    background-color: #186D1B;
    color: white;
    bottom: 0;
}

footer a {
    color: #FFFAFA;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

        
.container {
    display: flex;
    justify-content: space-between; /* Verteilt die Kacheln gleichmäßig */
    gap: 10px; /* Abstand zwischen den Kacheln */
    padding: 20px;
}


.kachel {
    width: calc(20% - 10px);
    height: auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    text-decoration: none;
    color: black;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
}

.kachel:hover {
    transform: scale(1.05);
}

.kachel img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.kachel-text {
    padding: 10px;
    font-size: 16px;
    text-align: center;
    line-height: 1.6;
}

.kachel-text span {
    display: block;
    font-weight: bold;
}


@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .kachel {
        width: 100%; /* volle Breite auf kleineren Geräten */
    }
}




/* Container für Bild und Text */
.image-text-container {
    display: flex;
    align-items: flex-start; /* Stellt sicher, dass das Bild und der Text auf gleicher Höhe sind */
    gap: 5%; /* Abstand zwischen Bild und Text */
}

/* Bild */
.image {
    width: 50%; /* Bildbreite anpassen */
    height: auto; /* Höhe automatisch anpassen */
}

.text-and-second-image {
    display: flex;
    flex-direction: column;
    gap: 3%; /* Abstand zwischen Text und zweitem Bild */
}

.second-image {
    width: 100%;       /* Nimmt die volle Breite des umgebenden Containers */
    height: auto;      /* Höhe passt sich proportional an */
    max-width: 100vw;  /* Verhindert, dass es über die Bildschirmbreite hinausgeht */
}

/* Text */
.text {
    max-width: 500px; /* Maximale Breite für den Text */
}


@media (max-width: 768px) {
    .image-text-container {
        flex-direction: column; /* Stapelt Text und Bild untereinander */
    }

    .image {
        width: 100%; /* Bild nimmt die volle Breite ein */
        margin-top: 20px; /* optionaler Abstand nach dem Text */
    }
}

/* Unternutzung für Listen */
ul {
    list-style-type: disc; /* Standard-Aufzählungszeichen */
    margin-top: 10px; /* Abstand nach dem Text */
    padding-left: 20px; /* Einrückung der Liste */
}

li {
    margin-bottom: 8px; /* Abstand zwischen den Unterpunkten */
    font-size: 16px; /* Schriftgröße der Unterpunkte */
}


.image2 {
    width: 80%;
    height: auto;
}


.image-container-impressionen {
      display: flex;
      flex-direction: column;  /* Bilder untereinander anordnen */
      justify-content: center; /* Bilder vertikal zentrieren */
      align-items: center;     /* Bilder horizontal zentrieren */
      gap: 20px;               /* Abstand zwischen den Bildern */
    }