html, body {
  font-family: "Montserrat", sans-serif;
  font-weight: 200; /* ExtraLight */
}

/* Optional: auch Buttons, Links, Überschriften */
button, a, h1, h2, h3, h4, h5, h6, p, div, span {
  font-family: "Montserrat", sans-serif;
  font-weight: 200;
}
/* Grundlegende Stile */
body {
    margin: 0;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    padding-right: 10px; /* Mehr Platz für Menü */
    z-index: 1000; /* Sicherstellen, dass die Navbar immer oben bleibt */
}

/* Links in der Navbar */
.navbar a {
    text-decoration: none;
    color: black;
    font-size: 18px;
}

/* Menü Button */
.menu-button {
    color: black;
    font-size: 18px;
    cursor: pointer;
    border: none;
    background: none;
    white-space: nowrap; /* Verhindert Zeilenumbruch */
    padding: 10px; /* Mehr Platz um Button */
}

/* Menü (wird über den Bildern eingeblendet) */
.menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: white;
    overflow: hidden;
    transition: height 0.3s ease-in-out;
    z-index: 999; /* Menü wird über den Bildern angezeigt */
}

/* Menü ist aktiv (erweitert) */
.menu.active {
    height: 100vh;
}

/* Links im Menü */
.menu a {
    text-decoration: none;
    color: black;
    font-size: 24px;
    padding: 15px;
}











.image {
    flex: 1 1 100%; /* Bilder nehmen die volle Breite auf kleinen Bildschirmen */
    max-width: 100%;
}



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








.container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.bild-box {
    text-align: center;
    width: 200px;
}
.bild-box img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.datum {
    text-align: left;
    font-size: 12px;
    color: gray;
}
.beschreibung {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    margin-top: 5px;
}

/* Galerie Container */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    justify-content: center;
    margin-top: 100px; /* Abstand nach der Navigation */
}

/* Bildcontainer */
.image-item {
    position: relative; /* Für die Positionierung der Unterschrift */
    flex: 1 1 45%; /* Jedes Bild nimmt 45% der Breite des Containers ein */
    max-width: 45%; /* Maximale Breite von 45% */
    box-sizing: border-box;
}

/* Bilder Styling */
.image-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Bildunterschrift Styling */
.caption {
    display: block; /* Standardmäßig unsichtbar */
    text-align: left; /* Zentriert die Unterschrift */
    margin-top: 5px; /* Abstand zwischen Bild und Unterschrift */
    font-size: 14px;
    color: #333; /* Dunkle Schriftfarbe */
}


/* Für kleinere Bildschirme */
@media (max-width: 768px) {
    .image-item {
        flex: 1 1 100%; /* Bilder nehmen die volle Breite auf kleinen Bildschirmen */
        max-width: 100%;
    }
}





/* Impressum Link */
.impressum-link {
  position: static; /* statt fixed → normal im Dokumentfluss */
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.6);
  padding: 6px 10px;
  border-radius: 6px;
  z-index: auto; /* kein Layering nötig */
  margin-top: 40px; /* etwas Abstand nach oben */
}

.impressum-link:hover {
  text-decoration: underline;
}

.impressum-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: 0.15em;
}