/* ===========================
   Globale Variablen & Reset
   =========================== */

   :root {
    --navbar-height: 80px; /* Definiert eine CSS-Variable für die Höhe der Navigationsleiste */
  }
  
  * {
    margin: 0;               /* Entfernt Standardabstand außen für alle Elemente */
    padding: 0;              /* Entfernt Standardabstand innen für alle Elemente */
    box-sizing: border-box;  /* Sorgt dafür, dass Padding und Border in der Gesamtbreite/Höhe enthalten sind */
  }
  
  html {
    scroll-behavior: smooth; /* Aktiviert weiches Scrollen bei Sprüngen zu Ankern */
  }
  
  body {
    font-family: 'Barlow', sans-serif; /* Definiert die globale Schriftart */
    background-color: #002D6E;         /* Setzt den Hintergrund des gesamten Dokuments auf dunkelblau */
    color: white;                      /* Standard-Textfarbe ist weiß */
    overflow-x: hidden;                /* Verhindert horizontales Scrollen */
  }
  
  a {
    color: #ffffff;           /* Alle Links erscheinen zunächst weiß */
    text-decoration: none;    /* Entfernt Unterstreichung bei Links */
    transition: color 0.3s ease; /* Sanfter Übergang beim Farbwechsel */
  }
  
  a:hover {
    color: #73BE00; /* Beim Darüberfahren (Hover) werden Links grün */
  }
  
  /* ===============================
     Canvas für den Sternenhimmel
     =============================== */
  
  #starCanvas {
    position: fixed;   /* Fixiert das Element relativ zum Viewport */
    top: 0;            /* Startet am oberen Rand */
    left: 0;           /* Startet am linken Rand */
    width: 100%;       /* Breite: voller Bildschirm */
    height: 100%;      /* Höhe: voller Bildschirm */
    z-index: -1;       /* Hinter allen anderen Elementen positionieren */
  }
  
  /* ===============================
     Listen ohne Standardformatierung
     =============================== */
  
  ul {
    list-style: none; /* Entfernt Standard-Punkte/Nummerierung bei Listen */
    margin: 0;        /* Kein Außenabstand */
    padding: 0;       /* Kein Innenabstand */
  }

/* Navigation (Navbar) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: var(--navbar-height);
  background-color: #002D6E;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 1;
  transition: opacity 0.4s ease;
  z-index: 1600; /* nach Vorhangöffnung über allem */
}

.navbar.hidden {
  opacity: 0;
  pointer-events: none;
  z-index: 100; /* ganz unten beim Start */
}

.navbar.open {
  z-index: 2000; /* nach Öffnen des Vorhangs in den Vordergrund */
}
.nav-left, .nav-right {
  display: flex;
  align-items: center;
}
.nav-left .logo {
  padding-left: 20px;
  margin-right: 20px;
}

.navbar .logo img {
  max-height: 120px;
  width: auto;
}
/* Standard (Desktop) */
.nav-links {
  display: flex;
  gap: 10px;
  align-items: center;
}


.nav-links li a {
  display: inline-block;
  font-size: 14px;
  font-family: 'Barlow', sans-serif; /* Schriftart wie überall */
  font-weight: 700; /* FETT */
  padding: 6px 14px;
  color: #002D6E;
  background-color: #ffffff;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

.nav-links li a:hover {
  background-color: #E60073;
  color: #ffffff;
}

.download-button {
  display: inline-block;
  margin-top: 30px;
  font-size: 14px;
  font-family: 'Barlow', sans-serif; /* Schriftart wie überall */
  font-weight: 700; /* FETT */
  padding: 10px 18px;
  color: #002D6E;
  background-color: #ffffff;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
}

.download-button:hover {
  background-color: #E60073;
  color: #ffffff;
}





.nav-links li {
  margin: 0 5px;
}
#menu-toggle {
  display: none;
  color: white;
  font-size: 26px;
  cursor: pointer;
  margin-left: 20px;
}


.keyfacts-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-top: 40px;
}

.keyfacts-columns .column {
  flex: 0 1 calc(33.333% - 20px);
  min-width: 220px;
  text-align: center;
}

@media (max-width: 900px) {
  .keyfacts-columns {
    flex-direction: column;
  }

  .keyfacts-columns .column {
    width: 100%;
  }
}

.map-container {
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}


.sponsor-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-top: 40px;
}

.sponsor-columns .column {
  flex: 0 1 calc(50% - 20px);
  min-width: 280px;
  text-align: justify;
}

@media (max-width: 900px) {
  .sponsor-columns {
    flex-direction: column;
  }

  .sponsor-columns .column {
    width: 100%;
  }
}




.partner-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-top: 40px;
}

.partner-columns .column {
  flex: 0 1 calc(33.333% - 20px);
  min-width: 220px;
  text-align: justify;
}



@media (max-width: 900px) {
  .partner-columns .column {
    flex: 1 1 100%;
  }
}





.text-green {
  color: #73BE00;       /* dein definiertes Grün */
  font-weight: bold;    /* optional: fett */
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 20px; /* statt margin-left, da sie rechts sind */
  margin-left: 20px;
}
.nav-icons li a {
  color: white;
  font-size: 22px;
}
.nav-icons li a:hover {
  color: #73BE00;
}

/* Hauptbereich */
main {
  width: 100%;
  padding-top: var(--navbar-height);
  text-align: center;
}
/* Hero-Bereich */
.hero-container {
  padding-top: 5px;
  min-height: calc(100vh - var(--navbar-height)); /* nimmt gesamte Höhe */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
}

.hero-image {
  width: 100%;
  max-width: 900px;       /* auf großen Screens nicht größer als 900px */
  min-width: 280px;       /* auf kleinen Geräten nicht kleiner als 280px */
  height: auto;
  transition: transform 0.4s ease;
  padding: 0 10px;

  /* Weiche Kanten links und rechts */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.hero-image:hover {
  transform: scale(1.03); /* sanftes Vergrößern bei Hover */
}


.image-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px; /* Abstand zwischen Bildern */
  margin: 60px auto;
  width: 100%;
  max-width: 1000px;
  padding: 0 20px;
}

.image-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.image-gallery img:hover {
  transform: scale(1.02); /* leichtes Zoom beim Hover */
}


.event-date-image {
  margin-top: 20px;
  width: 100%;
  max-width: 500px;
}

.event-date-image img {
  width: 100%;
  height: auto;
  display: block;
}
section {
  background: transparent;
  border-radius: 0;
  margin: 30px auto;
  padding: 20px;
  border: 0px solid rgba(255, 255, 255, 0.2);
  width: 85%;
  max-width: 900px;
  scroll-margin-top: var(--navbar-height);
  font-size: 1rem;
}
@media (max-width: 1024px) {
  section {
    font-size: 1.1rem;
  }
}
@media (max-width: 768px) {
  section {
    font-size: 1.25rem;
  }
}
@media (max-width: 480px) {
  section {
    font-size: 1.5rem;
  }
}


/* ============================
   Vorhang-Bilder (Curtains)
   ============================ */

/* Grundstil für beide Vorhänge (links + rechts) */
.curtain {
  position: fixed; /* Immer sichtbar, unabhängig vom Scrollen */
  top: 0;          /* Am oberen Rand des Bildschirms */
  width: 50%;      /* Jeweils die Hälfte des Bildschirms */
  height: 100%;    /* Ganze Höhe des Viewports */
  background: linear-gradient(to bottom, #002D6E, rgba(80, 80, 80, 0.95)); /* Verlaufseffekt */
  z-index: 1500;   /* Oberhalb fast aller anderen Elemente */
  transition: transform 2.2s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Weiche Öffnungsanimation */
}

/* Positionierung des linken Vorhangs */
#curtain-left {
  left: 0;
}

/* Positionierung des rechten Vorhangs */
#curtain-right {
  right: 0;
}

/* Animation: linker Vorhang fährt nach links raus */
.curtain.open-left {
  transform: translateX(-98%);
}

/* Animation: rechter Vorhang fährt nach rechts raus */
.curtain.open-right {
  transform: translateX(98%);
}

/* ============================
   Button zum Öffnen des Vorhangs
   ============================ */

#curtainButton {
  position: fixed;                    /* Fester Button auf dem Bildschirm */
  top: 50%;                           /* Vertikal mittig */
  left: 50%;                          /* Horizontal mittig */
  transform: translate(-50%, -50%);  /* Exakte Zentrierung */
  width: 220px;
  max-width: 80%;                    /* Auf kleinen Geräten responsiv */
  height: auto;
  z-index: 1600;                     /* Oberhalb des Vorhangs */
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth Animation */
  box-shadow: 0 0 0 #002D6E;         /* Kein sichtbarer Schatten */
}

/* Hover-Effekt für Button: leichtes Vergrößern */
#curtainButton:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

/* Button ausblenden (nach Klick) */
#curtainButton.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Bild im Button (z.B. Vorhang öffnen) */
#curtainButton img {
  width: 100%;
  height: auto;
  display: block;
  border: none;
}


/* ============================
   Sonstige Elemente
   ============================ */

/* Allgemeines Verstecken von Elementen */
.hidden {
  display: none !important;
}

/* Einfache Fade-In-Animation (für z.B. Texte) */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================
   Cookie-Hinweis
   ============================ */

   .cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    width: 90%;
    background: #002D6E;
    color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    text-align: left;
    z-index: 99999;
    font-family: Arial, sans-serif;
  }
  .cookie-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
  }
  
  .cookie-options {
    margin: 15px 0;
  }
  
  .cookie-buttons button {
    margin-right: 10px;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    background-color: #73BE00;
    color: white;
    cursor: pointer;
  }
  
  #cookie-settings-button {
    background: #002D6E;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    display: none;
  }
  

/* ============================
   Überschriften
   ============================ */

section h2,
footer h3 {
  color: #73BE00 !important; /* Grüne Farbe für Sektionen und Footer-Titel */
  margin-bottom: 15px;
}

/* Fließtext (Absätze) in Sections */
section p {
  line-height: 1.6; /* Etwas größerer Zeilenabstand für bessere Lesbarkeit */
}


/* Mobile (Burger-Menü & vertikale Navigation) */
@media (max-width: 1100px) {
  #menu-toggle {
    display: block;
  }
  .nav-center nav .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #002D6E;
    width: 100%;
    position: absolute;
    top: var(--navbar-height);
    left: 0;
    z-index: 1100;
    padding: 10px 0;
  }

  .nav-center nav .nav-links.active {
    display: flex;
  }

  .nav-center nav .nav-links li {
    margin: 10px 0;
  }
  main {
    padding-top: 100px;
  }
}
/* ===========================
   Footer Bereich – 6 Spalten
   =========================== */
   .site-footer {
    background-color: #73BE00;              /* Grüner Hintergrund */
    color: #002D6E;                          /* Dunkelblauer Text */
    padding: 40px 20px;
    font-family: 'Barlow', sans-serif;
    font-size: 0.95rem;
    margin-top: 80px;
    width: 100vw;                            /* Volle Breite */
    margin-left: calc(-50vw + 50%);         /* Zentrierung trotz Viewport */
    position: relative;
    z-index: 0;
  }
  
  .footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    gap: 30px;                               /* Abstand zwischen Spalten */
  }
  
  .footer-column {
    flex: 1 1 calc(16.66% - 20px);           /* 6 Spalten nebeneinander */
    min-width: 150px;
  }
  
  .footer-column h3 {
    color: #002D6E;                          /* Überschriften ebenfalls Dunkelblau */
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-column li {
    margin-bottom: 8px;
  }
  
  .footer-column a {
    color: #002D6E;                          /* Linkfarbe ebenfalls Blau */
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-column a:hover {
    color: white;                            /* Hover: Weiß */
  }
  
  /* ========== RESPONSIVE ========== */
  
  /* Tablet: 2–3 Spalten */
  @media (max-width: 992px) {
    .footer-column {
      flex: 1 1 45%;
    }
  }
  
  /* Smartphone: Nur 1 Spalte + zentriert */
  @media (max-width: 600px) {
    .footer-columns {
      flex-direction: column;
      text-align: center;
    }
  
    .footer-column {
      flex: 1 1 100%;
      margin-bottom: 30px;
    }
  }
  
  @media (max-width: 480px) {
    .cookie-banner {
      padding: 10px;
    }
    .cookie-buttons {
      flex-direction: column;
    }
  }
  .spendenbild {
    max-width: 78%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  
  @media (max-width: 600px) {
    .spendenbild {
      max-width: 99%; /* auf Mobil größer anzeigen */
    }
  }
  
  

