body {
  font-family: Arial, sans-serif;
}


 body {
      scroll-behavior: smooth;
    }
    section {
      padding: 80px 0;
    }
    .navbar {
      background-color: #495355;
	  border-bottom: 1px solid rgba(255, 255, 255, 0.8); /* leicht transparentes Weiß */
    }
    .navbar-brand, .nav-link {
      color: #fff !important;
	 
    }
    .gallery img {
      max-width: 100%;
      border-radius: 8px;
      margin-bottom: 15px;
    }

a {
  color: #1a939a; /* ein warmes dunkles Grau, kannst du anpassen */
  text-decoration: underline;
}

a:hover {
  color: #6db2b6; /* beim drüberfahren etwas dunkler */
}

/* Hero + background layers */

.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;               /* volle Höhe des Viewports */
  display: flex;
  align-items: flex-end;       /* Inhalt am unteren Rand ausrichten */
  justify-content: center;     /* horizontal zentrieren */
  text-align: center;
  color: #f8f9fa;
  padding: 0 1rem;             /* kleine horizontale Innenabstände für mobile Geräte */
  box-sizing: border-box;
}

.hero-content {
  margin-bottom: 40vh;         /* Abstand vom unteren Rand: ca. 40% der Hero-Höhe */
  width: 100%;
  max-width: 800px;            /* optional: verhindert zu breite Zeilen auf großen Bildschirmen */
  z-index: 2;
}



.hero-content h1 {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 400;
  font-size: 4rem;
  line-height: 1.2;
  margin: 120px auto;              /* zentriert innerhalb max-width */
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.45); /* leichter Schatten für bessere Lesbarkeit */
}

/* Responsive Anpassung für Tablets / kleine Bildschirme */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.45);
  }
  .hero-content {
    margin-bottom: 35vh;
  }
}

/* Responsive Anpassung für Smartphones */
@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.5rem;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.45);
  }
  .hero-content {
    margin-bottom: 30vh;
    padding: 0 0.5rem;         /* noch engerer Innenabstand */
  }
}



/* zwei absolut positionierte Ebenen */
.hero-bg {
  position: absolute;
  inset: 0;                      /* top/right/bottom/left: 0 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 2s ease-in-out;
  opacity: 0;
  z-index: 0;                    /* unter dem overlay und dem text */
  will-change: opacity, background-image;
}

/* aktive Ebene sichtbar machen */
.hero-bg.show {
  opacity: 1;
}

/* Overlay zwischen Bild und Text (leicht dunkler) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.18), rgba(0,0,0,0.18));
  z-index: 1;
  pointer-events: none;
}

/* Container-Inhalt über den Background-Layern */
.hero > .container {
  position: relative;
  z-index: 2;
}

/* Reduziere Bewegung wenn User das bevorzugt */
@media (prefers-reduced-motion: reduce) {
  .hero-bg { transition: none !important; }
}

/* Navigation & Footer in warmem Anthrazit */
.navbar.bg-dark,
footer.bg-dark {
  background-color: #555 !important; /* hier deinen Wunschton einsetzen */
}



/* Grundschrift für Fließtext */

body {
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  color: #212529; /* Bootstrap-Standard dunkelgrau */
}


/* Überschriften eleganter */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 600; /* kräftiger, damit sie auffallen */
  letter-spacing: 0.5px; /* kleine Laufweite für mehr Eleganz */
  margin-bottom: 0.75rem;
}


/* Optional: Zitate oder Buttons feiner */
blockquote, .btn {
  font-family: 'Raleway', Arial, sans-serif;
}

/* Navigation eleganter */
.navbar .nav-link {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
}



/* Auf allen Geräten: Logo + Burger nebeneinander */



@media (max-width: 480px) {
  .navbar .navbar-container {
    flex-wrap: nowrap;          /* keine Zeilenumbruch */
    justify-content: space-between; 
  }
  
  .navbar .logo {
    flex-shrink: 1;             /* Logo darf bei Platzmangel schrumpfen */
    max-width: 60%;             /* maximal 60% der Navbar-Breite */
  }
  
  .navbar .logo img {
    width: 100%;
    height: auto;
  }

  .navbar .navbar-burger {
    flex-shrink: 0;             /* Burger bleibt sichtbar */
  }
  
  .navbar-brand, .nav-link {
      width: 100px;
    }
	
}


 








/* Hero-Section Text */
.hero {
  color: #f8f9fa;
}

/* Navbar Links */
.navbar .nav-link {
  color: #f8f9fa !important;
}

/* Footer Text */
.footer {
  color: #f8f9fa;
  border-bottom: 1px solid rgba(255, 255, 255, 0.8); /* leicht transparentes Weiß */
}



/* Einfacher, luftiger Abstand zwischen Blöcken */
.ziel-block {
  margin-bottom: 4rem; /* vorher 1-2rem, jetzt deutlich mehr Abstand */
}

.ziel-block h3 {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #222;
}

.ziel-block p {
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: #333;
}


/* Höhe der fixen Navbar */
:root {
  --navbar-height: 70px; /* anpassen, falls deine Navbar anders hoch ist */
}



.downloads a {
  color: #333;          /* gleiche Textfarbe wie Fließtext */
  text-decoration: none;
  font-weight: 500;
}

.downloads a:hover {
  text-decoration: underline;
}

.downloads {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.download-btn {
  display: inline-block;
  background-color: #f2f2f2;   /* helles Grau */
  color: #222;                 /* dunkle Schrift */
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid #ccc;      /* feiner Rand */
  transition: all 0.3s ease;
}

.download-btn:hover {
  background-color: #e0e0e0;   /* etwas dunkler beim Hover */
  border-color: #999;          /* dunklerer Rand beim Hover */
}


/* Aktuelles und Veranstaltungen */

.aktuelles {
  padding: 4rem 0rem;
  background: #fff; /* schlicht, kein Hellblau mehr */
}

.aktuelles h2 {
  margin-bottom: 2rem;
}

.event {
  margin-bottom: 3rem;
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #eaeaea;
}

.event h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.event-date {
  font-weight: 500; /* kräftiger, damit sie auffallen */
  margin-bottom: 0.5rem;
}

.event-location {
  margin-top: 0.5rem;
}

.event ul {
  margin: 0.5rem 0 0 1.2rem;
}


/* Foto Galerien */



 /* ===== Teaser Sektion ===== */
    .galerie-teaser {
	  padding: 5rem 0; /* vertikaler Abstand wie bisher */
	}
    .teaser-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
	}
    .teaser-card {
      background: #f9f9f9;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
      cursor: pointer;
      transition: transform 0.2s;
    }
    .teaser-card:hover { transform: scale(1.02); }
    .teaser-card img { width: 100%; display: block; }
    .teaser-info { padding: 1rem; }
    .mini-previews { display: flex; gap: 0.3rem; margin-top: 0.5rem; }
    .mini-previews img {
      width: 30%;
      border-radius: 6px;
      object-fit: cover;
    }
	
	
	.container {
	  width: 90%;
	  max-width: 1200px;
	  margin: 0 auto; /* zentriert den Container */
	  padding: 0 1rem; /* kleine Innenabstände */
	  box-sizing: border-box;
	}



    /* ===== Overlay allgemein ===== */
    .overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(200,200,200,0.95);
      display: none;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      z-index: 1000;
      overflow-y: auto;
    }
    .overlay.active { display: flex; }

    .close-btn, .prev-btn, .next-btn {
      position: absolute;
      top: 1rem;
      background: rgba(255,255,255,0.8);
      border: none;
      padding: 0.5rem 1rem;
      font-size: 2rem;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.2s;
    }
    .close-btn:hover, .prev-btn:hover, .next-btn:hover {
      background: white;
    }
    .close-btn { right: 1rem; }
    .prev-btn { left: 1rem; top: 50%; transform: translateY(-50%); }
    .next-btn { right: 1rem; top: 50%; transform: translateY(-50%); }

    /* ===== Masonry Grid ===== */
    .masonry-grid {
      column-count: 4;
      column-gap: 1rem;
      padding: 2rem;
      width: 100%;
     /* max-width: 1200px; */
	  
	  
	  
	  
		justify-content: center; /* Spalten mittig ausrichten */
	}
	
    .masonry-item {
      break-inside: avoid;
      margin-bottom: 1rem;
      background: #fff;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
      cursor: pointer;
    }
    .masonry-item img { width: 100%; display: block; }
    .masonry-item p { padding: 0.5rem 1rem; margin: 0; }

    /* ===== Bild-Slider ===== */
    #imageOverlay .image-container {
      max-width: 90%;
      max-height: 80%;
      display: flex;
      flex-direction: column;
      align-items: center;
      margin: auto;
    }
    #overlayImage {
      max-width: 100%;
      max-height: 80vh;
      border-radius: 8px;
    }
    #overlayCaption {
      color: #373a3a;
      margin-top: 0.5rem;
      text-align: center;
    }

	@media (max-width: 992px) {
      .masonry-grid { column-count: 3; }
    }
    @media (max-width: 768px) {
      .masonry-grid { column-count: 2; }
    }
    @media (max-width: 480px) {
      .masonry-grid { column-count: 1; }
    }
	
	
/* Abschitt / Section Kontakt */	
	
.kontakt-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.kontakt-block {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.kontakt-block h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.kontakt-block a {
  color: #444; /* gleiche Akzentfarbe wie deine Links */
  text-decoration: underline;
}

@media (max-width: 768px) {
  .kontakt-wrapper {
    grid-template-columns: 1fr;
  }
}




/* Abschitt / Section Aktuelles - Veranstaltung mit Bild */	
.aktuelles-card {
  background: #eaeaea;
  padding: 1.5rem;
   border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 3rem;
}

.aktuelles-flex {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
}

.aktuelles-flex img {
  max-width: 220px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .aktuelles-flex {
    flex-direction: column;
  }
  .aktuelles-flex img {
    max-width: 100%;
    margin-top: 1rem;
  }
}


/* Navbar beim Galerie-Overlay ausblenden */
body.no-navbar .navbar {
  display: none;
}

/* Body Scroll-Lock bei offenen Overlays */
body.no-scroll {
  overflow: hidden;
}


/* CSS-Ergänzung für fixierte Schließen Buttons */

/* Schließen-Button Overlay / Lightbox fixieren */
.gallery-overlay .close-btn,
#lightbox .close-btn {
  position: fixed;       /* immer an der gleichen Position */
  top: 20px;             /* Abstand vom oberen Rand */
  right: 20px;           /* Abstand vom rechten Rand */
  z-index: 1001;         /* über allen anderen Elementen */
  cursor: pointer;
  
}


/* Um die Reihenfolge der Bilder horizontal anzulegen (vorher vertikal) */
