/* EEG-Style Button */
body .eeg-style.vc_btn3-container .vc_btn3,
body .vc_btn3.eeg-style {
    display: inline-block;
    padding: 12px 24px;

    background: #2AA9E0;
    background-color: #2AA9E0;
    background-image: none;

    color: #ffffff;
    border: none;
    border-radius: 980px;

    opacity: 1;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;

    text-decoration: none;
    box-shadow: none;

    transition: background-color 0.2s ease, transform 0.2s ease;
}

/* Hover */
body .eeg-style.vc_btn3-container .vc_btn3:hover,
body .eeg-style.vc_btn3-container .vc_btn3:focus,
body .vc_btn3.eeg-style:hover,
body .vc_btn3.eeg-style:focus {
    background: #1C90C9;
    background-color: #1C90C9;
    background-image: none;

    color: #ffffff;
    opacity: 1;

    border-color: #1C90C9;
    transform: translateY(-1px);
}

/* Beim Anklicken */
body .eeg-style.vc_btn3-container .vc_btn3:active,
body .vc_btn3.eeg-style:active {
    background: #1C90C9;
    background-color: #1C90C9;
    background-image: none;

    color: #ffffff;
    opacity: 1;

    transform: translateY(0);
}

/* Smartphone */
@media (max-width: 767px) {
    body .eeg-style.vc_btn3-container .vc_btn3,
    body .vc_btn3.eeg-style {
        padding: 11px 22px;
        font-size: 15px;
    }
}

/* --------------------------------------------------
   FAQ Akkordeon
   -------------------------------------------------- */

.eeg-faq-accordion {
  display: grid;
  gap: 14px;
  margin: 30px 0;
}


/* Einzelne FAQ-Box */
.eeg-faq-accordion details {
  background-color: #ffffff;
  border: 1px solid rgba(147, 145, 142, 0.18);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  overflow: hidden;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}


/* --------------------------------------------------
   Frage
   -------------------------------------------------- */

.eeg-faq-accordion summary {
  position: relative;

  padding: 20px 58px 20px 24px;

  cursor: pointer;
  list-style: none;
  user-select: none;

  background-color: #ffffff;
  color: #1f2933;

  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.4;

  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}


/* Standard-Pfeil des Browsers entfernen */
.eeg-faq-accordion summary::-webkit-details-marker {
  display: none;
}


/* --------------------------------------------------
   Eigener Pfeil rechts
   -------------------------------------------------- */

.eeg-faq-accordion summary::after {
  content: "";

  position: absolute;
  right: 24px;
  top: 50%;

  width: 9px;
  height: 9px;

  border-right: 2px solid #2aa9e0;
  border-bottom: 2px solid #2aa9e0;

  transform: translateY(-65%) rotate(45deg);

  transition: transform 0.25s ease;
}


/* Pfeil bei geöffneter Antwort nach oben drehen */
.eeg-faq-accordion details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}


/* --------------------------------------------------
   Hover der Frage
   -------------------------------------------------- */

.eeg-faq-accordion summary:hover {
  color: #2aa9e0;
  background-color: rgba(42, 169, 224, 0.04);
}


/* --------------------------------------------------
   Geöffnete FAQ
   -------------------------------------------------- */

.eeg-faq-accordion details[open] {
  border-color: rgba(42, 169, 224, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
}


/* Geöffnete Frage
   Wichtig: Padding bleibt unverändert,
   dadurch bewegt sich die Frage nicht.
*/
.eeg-faq-accordion details[open] summary {
  background-color: #ffffff;
  color: #1f2933;
  font-weight: 800;
}


/* --------------------------------------------------
   Antwort
   -------------------------------------------------- */

.eeg-faq-antwort {
  padding: 26px 28px 28px;

  background-color: #ffffff;
  color: #2f3438;

  line-height: 1.7;

  border-left: 4px solid #2aa9e0;
}


/* Absätze */
.eeg-faq-antwort p {
  margin-top: 0;
  margin-bottom: 16px;
}


/* Letzter Absatz */
.eeg-faq-antwort p:last-child {
  margin-bottom: 0;
}


/* Listen innerhalb der Antworten */
.eeg-faq-antwort ul {
  margin-top: 12px;
  margin-bottom: 18px;
  padding-left: 24px;
}


/* Fettschrift innerhalb der Antwort */
.eeg-faq-antwort strong {
  color: #1f2933;
  font-weight: 700;
}


/* Links innerhalb der Antwort */
.eeg-faq-antwort a {
  color: #2aa9e0;
  font-weight: 600;
  text-decoration: none;
}

.eeg-faq-antwort a:hover {
  color: #1c90c9;
  text-decoration: underline;
}


/* --------------------------------------------------
   Smartphone
   -------------------------------------------------- */

@media (max-width: 640px) {

  .eeg-faq-accordion {
    gap: 12px;
  }

  .eeg-faq-accordion summary {
    padding: 18px 50px 18px 18px;
    font-size: 1rem;
  }

  .eeg-faq-accordion summary::after {
    right: 20px;
  }

  .eeg-faq-antwort {
    padding: 22px 20px 24px;
    border-left-width: 3px;
  }
}

/* --------------------------------------------------
   EEG WPBakery News Grid
   -------------------------------------------------- */

/* Gesamte News-Karte */
.eeg-wpb-news .vc_grid-item-mini {
  background-color: #ffffff;
  border: 1px solid rgba(147, 145, 142, 0.20);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Karte beim Darüberfahren */
.eeg-wpb-news .vc_grid-item-mini:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.11);
}


/* --------------------------------------------------
   Beitragsbild
   -------------------------------------------------- */

.eeg-wpb-news .vc_gitem-zone-a {
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

/* Bild leicht animieren */
.eeg-wpb-news .vc_gitem-zone-a img {
  transition: transform 0.4s ease;
}

.eeg-wpb-news .vc_grid-item-mini:hover .vc_gitem-zone-a img {
  transform: scale(1.03);
}


/* --------------------------------------------------
   Inhaltsbereich
   -------------------------------------------------- */

.eeg-wpb-news .vc_gitem-zone-c {
  background-color: #ffffff;
}


/* --------------------------------------------------
   Überschrift
   -------------------------------------------------- */

.eeg-wpb-news .vc_gitem-post-data-source-post_title h4 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #1f2933;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
}

/* Link der Überschrift */
.eeg-wpb-news .vc_gitem-post-data-source-post_title a {
  color: #1f2933;
  text-decoration: none;
}

/* Hover der Überschrift */
.eeg-wpb-news .vc_gitem-post-data-source-post_title a:hover {
  color: #2AA9E0;
  text-decoration: none;
}

.eeg-wpb-news .vc_gitem-post-data-source-post_title a:hover h4 {
  color: #2AA9E0;
}


/* --------------------------------------------------
   Kurzbeschreibung
   -------------------------------------------------- */

.eeg-wpb-news .vc_gitem-post-data-source-post_excerpt {
  color: #5f676d;
  font-size: 0.98rem;
  line-height: 1.6;
}


/* --------------------------------------------------
   Weiterlesen Button
   -------------------------------------------------- */

body .eeg-wpb-news .vc_btn3-container .vc_btn3 {
  display: inline-block;

  padding: 10px 20px;

  background-color: #2AA9E0;
  color: #ffffff;

  border: none;
  border-radius: 999px;

  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;

  text-decoration: none;

  box-shadow: none;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

/* Bereits besuchter Link bleibt weiß */
body .eeg-wpb-news .vc_btn3-container .vc_btn3:visited {
  background-color: #2AA9E0;
  color: #ffffff;
  text-decoration: none;
}

/* Maus über Weiterlesen */
body .eeg-wpb-news .vc_btn3-container .vc_btn3:hover {
  background-color: #1C90C9;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Klick */
body .eeg-wpb-news .vc_btn3-container .vc_btn3:active {
  background-color: #1C90C9;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(0);
}

/* Tastatur-Fokus */
body .eeg-wpb-news .vc_btn3-container .vc_btn3:focus {
  background-color: #1C90C9;
  color: #ffffff;
  text-decoration: none;
  outline: 2px solid #2AA9E0;
  outline-offset: 3px;
}


/* --------------------------------------------------
   Datum auf dem Bild
   Falls im Grid Builder ein Datum eingefügt wurde
   -------------------------------------------------- */

.eeg-wpb-news .eeg-news-datum {
  position: absolute;
  left: 0;
  bottom: 16px;
  z-index: 10;

  padding: 7px 16px;

  background-color: rgba(255, 255, 255, 0.88);
  color: #1f2933;

  border-left: 4px solid #2AA9E0;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;

  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}


/* --------------------------------------------------
   Abstand zwischen den Karten
   -------------------------------------------------- */

.eeg-wpb-news .vc_grid-item {
  padding-bottom: 26px;
}


/* --------------------------------------------------
   Smartphone
   -------------------------------------------------- */

@media (max-width: 640px) {

  .eeg-wpb-news .vc_grid-item-mini {
    border-radius: 14px;
  }

  .eeg-wpb-news .vc_gitem-zone-a {
    border-radius: 14px 14px 0 0;
  }

  body .eeg-wpb-news .vc_btn3-container .vc_btn3 {
    padding: 9px 18px;
    font-size: 13px;
  }

  .eeg-wpb-news .eeg-news-datum {
    bottom: 12px;
    padding: 6px 14px;
    font-size: 13px;
  }
}

/* --------------------------------------------------
   Sponsoren – Endlos Slider
   -------------------------------------------------- */

.sponsor-slider {
  width: 100%;
  overflow: hidden;
  position: relative;

  padding: 28px 0;

  background-color: #ffffff;
}


/* --------------------------------------------------
   Bewegliche Spur
   -------------------------------------------------- */

.sponsor-track {
  display: flex;

  width: max-content;

  animation: sponsor-scroll 15s linear infinite;
}


/* --------------------------------------------------
   Sponsorengruppe
   -------------------------------------------------- */

.sponsor-group {
  display: flex;

  align-items: center;

  gap: 56px;

  flex-shrink: 0;

  padding-right: 56px;
}


/* --------------------------------------------------
   Sponsor Links
   -------------------------------------------------- */

.sponsor-group a {
  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  text-decoration: none;
}


/* --------------------------------------------------
   Sponsor Logos
   -------------------------------------------------- */

.sponsor-group img {
  display: block;

  width: auto;
  height: 72px;

  max-width: 180px;

  object-fit: contain;

  opacity: 1;

  filter: none;

  transition: transform 0.25s ease;
}


/* --------------------------------------------------
   Hover Effekt
   Slider läuft trotzdem weiter
   -------------------------------------------------- */

.sponsor-group a:hover img {
  transform: scale(1.05);
}


/* --------------------------------------------------
   Endlose Bewegung
   -------------------------------------------------- */

@keyframes sponsor-scroll {

  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }

}


/* --------------------------------------------------
   Smartphone
   -------------------------------------------------- */

@media (max-width: 640px) {

  .sponsor-slider {
    padding: 22px 0;
  }

  .sponsor-group {
    gap: 36px;

    padding-right: 36px;
  }

  .sponsor-group img {
    height: 52px;

    max-width: 140px;
  }

  .sponsor-track {
    animation-duration: 12s;
  }

}


/* --------------------------------------------------
   Barrierefreiheit
   -------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  .sponsor-track {
    animation: none;
  }

}

/* ==================================================
   EEG Bilder-Slider Startseite
   ================================================== */


/* --------------------------------------------------
   Gesamter Slider
   -------------------------------------------------- */

.eeg-home-slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background-color: #eef1f3;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
}


/* --------------------------------------------------
   Bilderbereich
   -------------------------------------------------- */

.eeg-home-slider-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.eeg-home-slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 0.8s ease;
}

.eeg-home-slider-slide.eeg-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.eeg-home-slider-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* --------------------------------------------------
   Ladebalken oben
   -------------------------------------------------- */

.eeg-home-slider-progress {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  height: 4px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.30);
}

.eeg-home-slider-progress-bar {
  width: 0;
  height: 100%;
  background-color: rgba(31, 41, 51, 0.82);
}


/* --------------------------------------------------
   Pfeile
   -------------------------------------------------- */

.eeg-home-slider .eeg-home-slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.84);
  color: #1F2933;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  transform: translateY(-50%);
  transition: opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.eeg-home-slider:hover .eeg-home-slider-arrow {
  opacity: 1;
}

.eeg-home-slider .eeg-home-slider-prev {
  left: 18px;
}

.eeg-home-slider .eeg-home-slider-next {
  right: 18px;
}

.eeg-home-slider .eeg-home-slider-arrow:hover {
  background-color: #2AA9E0;
  color: #ffffff;
}

.eeg-home-slider .eeg-home-slider-arrow:focus {
  outline: 2px solid #2AA9E0;
  outline-offset: 3px;
}


/* --------------------------------------------------
   Punkte unten
   -------------------------------------------------- */

.eeg-home-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
}

.eeg-home-slider .eeg-home-slider-dot {
  display: block;
  width: 10px;
  height: 10px;
  min-width: 10px;
  padding: 0;
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background-color: rgba(31, 41, 51, 0.35);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.eeg-home-slider .eeg-home-slider-dot.eeg-active {
  background-color: #ffffff;
  transform: scale(1.18);
}

.eeg-home-slider .eeg-home-slider-dot:hover {
  background-color: #2AA9E0;
}


/* --------------------------------------------------
   Tablet
   -------------------------------------------------- */

@media (max-width: 980px) {

  .eeg-home-slider {
    height: 320px;
    border-radius: 16px;
  }

  .eeg-home-slider .eeg-home-slider-arrow {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

}


/* --------------------------------------------------
   Smartphone
   -------------------------------------------------- */

@media (max-width: 640px) {

  .eeg-home-slider {
    height: 280px;
    border-radius: 14px;
  }

  .eeg-home-slider-progress {
    height: 3px;
  }

  .eeg-home-slider .eeg-home-slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 18px;
    opacity: 0.90;
  }

  .eeg-home-slider .eeg-home-slider-prev {
    left: 10px;
  }

  .eeg-home-slider .eeg-home-slider-next {
    right: 10px;
  }

  .eeg-home-slider-dots {
    bottom: 12px;
  }

  .eeg-home-slider .eeg-home-slider-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
  }

}


/* --------------------------------------------------
   Sehr kleine Smartphones
   -------------------------------------------------- */

@media (max-width: 420px) {

  .eeg-home-slider {
    height: 240px;
  }

}


/* --------------------------------------------------
   Reduzierte Animation
   -------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  .eeg-home-slider-slide {
    transition: none;
  }

}