/* =========================
   0) Webfont
   ========================= */
@font-face {
  src: url("../fonts/33024f503b98e8c48e99476ac919ddd3.eot");
  src: url("../fonts/33024f503b98e8c48e99476ac919ddd3.eot?#iefix") format("embedded-opentype"),
       url("../fonts/33024f503b98e8c48e99476ac919ddd3.woff2") format("woff2"),
       url("../fonts/33024f503b98e8c48e99476ac919ddd3.woff") format("woff"),
       url("../fonts/33024f503b98e8c48e99476ac919ddd3.ttf") format("truetype"),
       url("../fonts/33024f503b98e8c48e99476ac919ddd3.svg#Sophisto OT W01 DGauge") format("svg");
  font-family: "Sophisto OT W01 DGauge";
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* =========================
   1) Basis-Typografie
   ========================= */
body, p, li, a, input, textarea, button {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: #000000;
}

/* Überschriften */
h1, h2, h3, h4, h5, h6,
.sp-module-title {
  font-family: 'Sophisto OT W01 DGauge', 'Open Sans', Arial, sans-serif !important;
  font-weight: normal;
}

/* =========================
   2) Hauptmenü (Desktop)
   ========================= */
.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
  font-family: "Sophisto OT W01 DGauge", "Open Sans", Arial, sans-serif !important;
  font-weight: normal;
  font-size: 20px;
  letter-spacing: .5px;
  line-height: 1.2;
  padding: 10px 15px;
  border-bottom: 2px solid transparent;
  text-transform: none;
  display: inline-block;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}

/* Hover/Active */
.sp-megamenu-parent > li > a:hover,
.sp-megamenu-parent > li.active > a {
  color: #4CAF50;
  border-color: #4CAF50;
  background-color: transparent;
}

/* Fokus (A11y) */
.sp-megamenu-parent > li > a:focus {
  outline: 2px solid #7ac943;
  background-color: #eef8ea;
}

/* Gleichmäßige Abstände und Zentrierung */
#sp-menu {
  display: flex !important;
  justify-content: center !important;
  text-align: center !important;
}
#sp-menu .sp-megamenu-parent {
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.sp-megamenu-parent > li { margin: 0; }

/* Dezenter Hover-Hintergrund & aktive Farbe */
#sp-header .sp-megamenu-parent > li:hover > a,
#sp-header .sp-megamenu-parent > li:focus-within > a {
  background: rgba(8,153,1,0.06);
}
#sp-header .sp-megamenu-parent > li.active > a,
#sp-header .sp-megamenu-parent > li.current-item > a {
  color: #089901;
  font-weight: 100;
}

/* =========================
   3) Dropdown-Menüs
   ========================= */
.sp-dropdown {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.sp-megamenu-parent > li:hover > .sp-dropdown,
.sp-megamenu-parent > li:focus-within > .sp-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sp-dropdown a {
  display: block !important;
  padding: 12px 18px !important; /* etwas mehr Luft */
  font-size: 18px !important;
  color: #333 !important;
  white-space: nowrap;
  line-height: 1.5 !important;
  border-left: 4px solid transparent;
  text-decoration: none;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
  font-family: "Sophisto OT W01 DGauge", "Open Sans", Arial, sans-serif;
}
.sp-dropdown a:hover {
  background-color: #f5f5f5;
  color: #228B22;
  border-left: 4px solid #228B22;
}
.sp-dropdown a:focus {
  outline: 2px solid #7ac943;
  background-color: #eef8ea;
}

/* =========================
   4) Responsive Typo (Menü)
   ========================= */
@media (max-width: 1199px) {
  .sp-megamenu-parent > li > a { font-size: 18px; }
}
@media (max-width: 991px) {
  .sp-megamenu-parent > li > a { font-size: 17px; }
}

/* =========================
   5) Off-Canvas (Mobile)
   ========================= */
.offcanvas-menu .mod-menu > li > a {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.offcanvas-menu .mod-menu .menu-child a {
  padding: 8px 0 8px 24px;
  font-size: .95rem;
}

/* Eigene mobile Seitenleiste (falls genutzt) */
#mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 280px; height: 100vh;
  background: #121212; color: #fff;
  z-index: 1002; padding: 40px 20px;
  transform: translateX(-100%); opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
  font-family: "Sophisto OT W01 DGauge", "Open Sans", sans-serif;
}
#mobile-menu.active { transform: translateX(0); opacity: 1; animation: bounceIn .6s ease; }
#mobile-menu ul { list-style: none; padding: 0; margin-top: 50px; }
#mobile-menu li { margin: 20px 0; }
#mobile-menu a { color: #fff; text-decoration: none; font-size: 18px; display: block; padding: 10px; transition: background .3s; }
#mobile-menu a:hover { background: #1e1e1e; color: #7AC943; }
#menu-toggle { width: 30px; height: 22px; cursor: pointer; position: fixed; top: 20px; right: 20px; z-index: 1001; display: flex; flex-direction: column; justify-content: space-between; }
#menu-toggle span { height: 4px; background: #fff; border-radius: 2px; display: block; }
#menu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; opacity: 0; pointer-events: none; transition: opacity .4s ease; }
#menu-overlay.active { opacity: 1; pointer-events: all; }
@keyframes bounceIn { 0% { transform: translateX(-100%); } 60% { transform: translateX(10px); } 80% { transform: translateX(-5px); } 100% { transform: translateX(0); } }

/* =========================
   6) Topbar / Header
   ========================= */

/* Logo mittig in der Topzeile */
#sp-logo { text-align: center !important; justify-content: center !important; display: flex !important; }

/* Rechts oben: Menü ohne Punkte (für Login/Icon) */
#sp-top3, #sp-top3 ul.mod-menu, #sp-top3 ul.mod-menu li { list-style: none !important; }
#sp-top3 ul.mod-menu li::before, #sp-top3 ul.mod-menu li::after, #sp-top3 ul.mod-menu li::marker { content: none !important; display: none !important; }
#sp-top3 { text-align: right !important; display: flex; justify-content: flex-end; align-items: center; }

/* =========================
   7) Footer
   ========================= */
/* Nur Footer-Menü stylen – verhindert Doppel-Icons anderswo */
#sp-footer .menufooter-menu { list-style: none; margin: 0; padding: 0; }
#sp-footer .menufooter-menu > li {
  margin: 8px 0;
  position: relative;
  padding-left: 1.6em;      /* Platz fürs Icon */
  line-height: 1.5;
}

/* Ganz wichtig: globale .mod-menu-Pfeile im Footer aus */
#sp-footer .mod-menu li::before { content: none !important; }

/* Footer-Links & Hover */
#sp-footer .menufooter-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 200;
  line-height: 1.4;
  transition: color .25s ease, padding .25s ease;
}
#sp-footer .menufooter-menu a:hover { color: #eeeeee; padding-left: 2px; }

/* Footer-Icons (FA5) – IDs aus deinem HTML: 181, 182, 384 */
#sp-footer .menufooter-menu .item-181 > a::before,  /* Impressum */
#sp-footer .menufooter-menu .item-182 > a::before,  /* Datenschutz */
#sp-footer .menufooter-menu .item-384 > a::before { /* Anmelden */
  font-family: "Font Awesome 5 Free";
  font-weight: 300;
  position: absolute;
  left: 0;
  top: .08em;               /* feine vertikale Ausrichtung */
  width: 1.2em;
  text-align: center;
  color: #fff;
}

/* =========================
   8) Sonstiges
   ========================= */
.speasyimagegallery-album-meta small { display: none; }


/* Riesige DPCalendar-Uhr verkleinern */

/* 1. Das konkrete SVG mit der Uhr-ID begrenzen */
#dp-icon-clock {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  display: inline-block !important;
}

/* 2. Sicherheitshalber auch den Wrapper klein halten */
.dp-icon,
.dp-icon_clock {
  font-size: 1rem !important;
  line-height: 1 !important;
}

/* 3. SVG generell innerhalb des dp-icon-Containers klein */
.dp-icon svg {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  vertical-align: middle !important;
}


.sp-dropdown, 
.sp-dropdown-main {
    position: relative;
    z-index: 9999;
}

.leaflet-container, 
.gm-style, 
.mapboxgl-map {
    z-index: 1 !important;
}

.alert.alert-error {
    display: none !important;
}



/* Gesamter Kalendereintrag */
.dp-calendar {
  padding: 0.25rem 0;
  border-bottom: 1px solid #e6e6e6;
  font-size: 0.85rem;
}

/* Label: alles in eine Zeile */
.dp-calendar__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

/* Checkbox kleiner */
.dp-calendar__input {
  margin: 0;
  transform: scale(0.9);
}

/* Farbpunkt kleiner */
.dp-calendar__title-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Kalendername */
.dp-calendar__title {
  font-weight: 500;
  white-space: nowrap;
}

/* Event-Text ausblenden (leer bei dir) */
.dp-calendar__event-text {
  display: none;
}




/* Label: Checkbox + Punkt + Titel */
.dp-calendar__label {
  display: inline-flex;
  align-items: center;
  gap: 4px;          /* sehr eng */
}

/* Titel ohne Extra-Abstand */
.dp-calendar__title {
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

/* Links direkt an den Titel ziehen */
.dp-calendar__links {
  display: inline-flex;
  gap: 2px;          /* Abstand zwischen [Abonnieren] und [iCal] */
  margin-left: 2px;  /* Abstand zum Titel */
  font-size: 0.95em; /* optional: etwas ruhiger */
}

/* Beschreibung aus */
.dp-calendar__description {
  display: none;
}
