/* Globaler, urban-dunkler Look */
html, body {
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #eee;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 300;
  font-size: 100%;
}

/* Vollbild-iFrame: Karte im Hintergrund */
iframe#map-frame {
  width: 100%;
  height: 100%;
  border: none;
  background-color: #000;
}

/* Responsive iFrame: Bei mobilen Geräten Navbar-Höhe berücksichtigen */
@media screen and (max-width: 1024px) {
  iframe#map-frame {
    height: 100vh;
  }
}

/* Overlay für das Formular: Zentriert, halbtransparent */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.75);
  padding: 1rem;
  box-sizing: border-box;
}

/* Formular-Box – keine Border-Radius, blockig, mehr Padding */
.form-box {
  background: rgba(0, 0, 0, 0.9);
  padding: 3rem;
  border-radius: 0;
  width: 100%;
  max-width: 400px;
}

/* Navbar: Feste Top-Leiste */

.navbar {
  background-color: #000 !important;
  border-bottom: 1px solid #fff;
  padding: 0.6em;
}
.navbar .navbar-item,
.navbar .navbar-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1rem;
}

/* Nav-Links (linke Seite der Navbar) */
.nav-left {
  white-space: nowrap;
}
.nav-left a.nav-link {
  color: #eee;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s;
}
.nav-left a.nav-link:hover {
  color: #FFB400;
}

/* Einheitlicher Button-Stil: Akzentfarbe #FFB400 */
.button.is-primary, .button.is-link {
  background-color: #FFB400 !important;
  border-color: #FFB400 !important;
  color: #000 !important;
  font-family: 'IBM Plex Mono', monospace;
  border-radius: 0 !important;
}

/* Spezifisch: Den "change-date-btn" in der Navbar standardmäßig ausblenden (Desktop) */
.navbar-item.change-date-btn {
  display: none;
}

/* Navbar Layout: Zwei Bereiche (links & rechts) */
.navbar-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-left, .nav-right {
  display: flex;
  align-items: center;
}

/* Spinner */
.spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #FFB400;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  display: none;
  margin: 0 auto;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Placeholder-Bild komplett über die Seite */
.placeholder {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #000;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0) brightness(2.5) contrast(2);
}

/* Fehlermeldung (Placeholder Message) zentriert über dem Bild */
.placeholder-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: #FFB400;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  text-align: center;
  /* Kein Border-Radius, da wir blockige Flächen wollen */
  border-radius: 0;
}

/* Responsive Anpassungen */
@media screen and (max-width: 1024px) {
  .navbar-menu {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-left {
    margin-bottom: 0.5rem;
  }
  /* In mobiler Ansicht soll der Button immer sichtbar sein */
  .navbar-item.change-date-btn {
    display: block;
    margin-top: 0.5rem;
  }
  iframe#map-frame {
    height: 100vh;
  }
  .form-box {
    margin: 1rem;
    padding: 1.5rem;
  }
}

strong {
    color: #ffB400;
}

@media screen and (max-width: 1024px) {
  .navbar-menu {
    display: none;
  }
  .navbar-menu.is-active {
    display: block;
  }
}



.centered-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20; /* Muss höher als die Navbar sein (Navbar z.B. z-index 10) */
  max-width: 90%;
}

@media screen and (max-width: 1024px) {
  /* Im zusammengeklappten Zustand: Verstecke alle zusätzlichen Links in der linken Navbar,
     sodass nur das <strong> (Titel) sichtbar bleibt */
  .navbar-menu:not(.is-active) .nav-left a.nav-link {
    display: none;
  }
  /* Ebenso: Verstecke den rechten Bereich (z. B. den "ABHOLDATUM ÄNDERN"-Button) */
  .navbar-menu:not(.is-active) .navbar-end {
    display: none;
  }

  /* Wenn das mobile Menü aufgeklappt ist: */
  .navbar-menu.is-active {
    display: block; /* Sicherstellen, dass es block-level ist */
    background-color: #000; /* Gleiche Hintergrundfarbe wie die Navbar */
    width: 100%;
    padding: 1rem 1rem 1rem 0rem;
  }
  /* Anordnung der linken Seite: Alle Elemente untereinander */
  .navbar-menu.is-active .nav-left {
    display: block;
  }
  /* Gestalte den Titel als Blockelement */
  .navbar-menu.is-active .nav-left strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #eee; /* Gleiche Schriftfarbe wie normal */
  }
  /* Die übrigen Links jeweils als Blockelement unter dem Titel */
  .navbar-menu.is-active .nav-left a.nav-link {
    display: block;
    margin: 0.5rem 0;
    white-space: normal;
    color: #eee; /* Gleiche Schriftfarbe */
  }
  /* Auch den rechten Bereich (Button) im aufgeklappten Zustand anzeigen */
  .navbar-menu.is-active .navbar-end {
    display: block;
    margin-top: 0.5rem;
  }
}

@media screen and (max-width: 1024px) {
  /* In mobilen Ansichten: Titel im Menü ausblenden */
  .brand-title-desktop {
    display: none;
  }
  /* Zusätzlich: In der zusammengeklappten mobilen Navbar (burger closed)
     sollen alle Links außer dem Titel in .navbar-brand verborgen sein */
  .navbar-menu:not(.is-active) .nav-left a.nav-link {
    display: none;
  }
  .navbar-menu:not(.is-active) .navbar-end {
    display: none;
  }
}

@media screen and (min-width: 1025px) {
  /* In Desktop-Ansichten: Den mobilen Titel ausblenden */
  .brand-title-mobile {
    display: none;
  }
}

/* Hilfe Overlay – vollflächig, mittig, mit viel Padding */
.help-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.99); /* dunkler Overlay-Hintergrund */
  display: flex; /* initial versteckt */
  z-index: 40; /* höher als alle anderen Elemente */
  justify-content: center;
  align-items: center;
  padding: 2rem;
  box-sizing: border-box;
}

.help-content {
  background: rgba(0, 0, 0, 0);
  padding: 3rem;  /* viel Padding für den Inhalt */
  border-radius: 0; /* blockiger Look */
  text-align: center;
  color: #eee;
  max-width: 800px;
  width: 100%;
}

.help-content .button {
    margin-top: 1rem;
}

.help-content h3 {
    font-weight: 700;
    font-size: 1.6 rem;
        color: #ffB400;

}

.help-content h3, .help-content p {
    margin-bottom: 1rem;
}
