/* Veranstaltungen Eckenradius */
.event {
  border-radius: 8pt;
}


/* Info i ausblenden */
a.v-btn[href="/about"] {
  display: none !important;
}



/* Logo über der Überschrift */
.centered-site-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 25px auto 15px;
}

/* Logo-Größe und Darstellung */
.centered-site-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 370px;
  max-height: 240px;
  object-fit: contain;
}





/* Header: dunkles Overlay statt Weiß */
nav#AppBar {
  background-image:
    linear-gradient(
      180deg,
      rgba(186,170,212,0.97),
      rgba(186,170,212,0.97)
    ),
    var(--v39e67786) !important;

  background-position: top;
  background-size: cover;
} 









/* =========================================
   BACKBORD – BARRIEREFREIES BURGER-MENÜ
   ========================================= */

/* Menücontainer */
.custom-navbar-menu {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: auto;
  z-index: 10000;
}

/* =========================================
   BURGER-BUTTON
   ========================================= */

.custom-menu-toggle {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;

  width: auto;
  min-width: 44px;
  min-height: 44px;

  padding: 0 12px;

  border: none;
  border-radius: 8px;

  background: transparent;
  color: inherit;

  font-size: 25px;
  line-height: 1;

  cursor: pointer;

  transition: background 0.2s ease;
}

/* Hover */
.custom-menu-toggle:hover {
  background: rgba(128,128,128,0.14);
}

/* Tastaturfokus */
.custom-menu-toggle:focus-visible {
  outline: 3px solid #1976d2;
  outline-offset: 3px;
}

/* =========================================
   DROPDOWN
   ========================================= */

.custom-menu-links {
  display: none;

  position: absolute;

  top: calc(100% + 8px);
  left: 0;
  right: auto;

  width: 240px;
  max-width: calc(100vw - 32px);

  max-height: calc(100vh - 100px);
  max-height: calc(100dvh - 100px);

  box-sizing: border-box;

  overflow-x: hidden;
  overflow-y: auto;

  padding: 8px;

  flex-direction: column;
  align-items: stretch;
  gap: 3px;

  background: #222;
  color: #fff;

  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;

  box-shadow: 0 8px 28px rgba(0,0,0,0.24);

  z-index: 99999;
}

/* Geöffnet */
.custom-navbar-menu.menu-open .custom-menu-links {
  display: flex !important;
}

/* =========================================
   MENÜEINTRÄGE
   ========================================= */

.custom-menu-link {
  display: block;
  width: 100%;

  box-sizing: border-box;
  padding: 12px 14px;

  color: #fff !important;
  text-decoration: none;

  white-space: normal;

  border-radius: 7px;

  transition:
    background 0.18s ease,
    color 0.18s ease;
}

/* Hover */
.custom-menu-link:hover {
  background: rgba(255,255,255,0.13);
  color: #fff !important;
}

/* Aktiv */
.custom-menu-link:active {
  background: rgba(255,255,255,0.2);
}

/* Tastaturfokus */
.custom-menu-link:focus-visible {
  outline: 2px solid #64b5f6;
  outline-offset: -2px;
  background: rgba(255,255,255,0.13);
}

/* =========================================
   DESKTOP / LAPTOP
   ========================================= */

@media (min-width: 769px) {

  .custom-menu-toggle::after {
    content: "Menü";
    font-size: 15px;
    font-weight: 600;
  }

  .custom-menu-links {
    left: 0;
    right: auto;
  }

}

/* =========================================
   SMARTPHONE
   ========================================= */

@media (max-width: 768px) {

  /* Nur Burger-Icon */
  .custom-menu-toggle::after {
    display: none !important;
    content: none !important;
  }

  /* Dropdown links am Bildschirmrand */
  .custom-menu-links {
    position: fixed;

    top: 70px;
    left: 12px;
    right: auto;

    width: 240px;
    max-width: calc(100vw - 24px);

    max-height: calc(100dvh - 90px);
  }

}

/* =========================================
   REDUZIERTE ANIMATIONEN
   ========================================= */

@media (prefers-reduced-motion: reduce) {

  .custom-menu-toggle,
  .custom-menu-link {
    transition: none !important;
  }

}





/* =========================================
   ORIGINALE RECHTE NAVIGATION FIXIEREN
   ========================================= */

.d-flex.pa-3.pa-sm-4 {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  box-sizing: border-box;
}

/* Linkes eigenes Menü */
.d-flex.pa-3.pa-sm-4 > .custom-navbar-menu {
  flex: 0 0 auto !important;
  margin-right: 12px !important;
}

/* Ersten Spacer flexibel machen */
.d-flex.pa-3.pa-sm-4 > .v-spacer:first-of-type {
  flex: 1 1 auto !important;
}

/* Rechten Icon-Container stabil halten */
.d-flex.pa-3.pa-sm-4 > .v-spacer:last-child {
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin-left: auto !important;
  white-space: nowrap;
}

/* Rechte Buttons nicht umbrechen */
.d-flex.pa-3.pa-sm-4 > .v-spacer:last-child > .v-btn {
  flex: 0 0 auto !important;
}






/* Veranstaltung hinzufügen – Desktop im header*/

.custom-event-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;
  margin-left: 10px;
  padding: 10px 14px;

  background: rgb(var(--v-theme-info));
  color: #fff !important;

  border-radius: 8px;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;

  transition: background 0.2s ease;
}

.custom-event-button:hover {
  filter: brightness(0.9);
}

/* Smartphone: Button ausblenden */

@media (max-width: 768px) {
  .custom-event-button {
    display: none !important;
  }
}


/* Abstand zwischen Veranstaltungsbutton und Logo */
.d-flex.pa-3.pa-sm-4 > .custom-event-button {
  margin-right: 20px !important;
  flex-shrink: 0 !important;
}

/* Logo nicht an den Button heranschieben lassen */
.d-flex.pa-3.pa-sm-4 > a.v-btn:has(img[src="/logo.png"]) {
  margin-left: 0 !important;
  flex-shrink: 0 !important;
}




/* Backbord – Seitentitel */

#title {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  text-decoration: none !important;
}







/* Tooltip regelmäßige Veranstaltungen */

#show_recurrent_switch {
  cursor: pointer;
}

.v-input:has(#show_recurrent_switch) {
  position: relative;
}

.v-input:has(#show_recurrent_switch):hover::after {
  content: "Regelmäßige Termine Ein/Ausblenden";
  position: absolute;
  top: +50px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 14px;
  white-space: nowrap;
  z-index: 99999;
  pointer-events: none;
}





/* Bereich Filter Barrieren*/

/* Barriere-Filter Hauptbereich */
.barrier-filter {
    display: block;
    width: 100%;
    margin-top: 12px;
    margin-bottom: 8px;
}

/* Überschrift des ausklappbaren Bereichs */
.barrier-filter summary {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    list-style: none;
    user-select: none;

    padding: 5px 12px;
    border: 1px solid rgb(var(--v-theme-primary));
    border-radius: 6px;

    color: rgb(var(--v-theme-primary));
    font-size: 15px;
    font-weight: 500;
}

/* Browser-Standardpfeil entfernen */
.barrier-filter summary::-webkit-details-marker {
    display: none;
}

/* Pluszeichen */
.barrier-filter summary::after {
    content: "＋";
    margin-left: 12px;
}

/* Minuszeichen im geöffneten Zustand */
.barrier-filter[open] summary::after {
    content: "−";
}

/* Button-Bereich */
.barrier-filter-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin-top: 8px;
    padding: 4px 0;
}

/* Abstand der Buttons */
.barrier-filter-content .v-btn {
    margin-right: 8px;
    margin-top: 8px;
}



/** no custom.css file **/