/* =============================== */
/*   SYCA Counter Panel – Styling  */
/*   Optimiert für .section.dark   */
/*   Version: 2025-08              */
/* =============================== */

.section.dark .syca-counter-panel {
  width: 90vw;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  border-radius: 24px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

.section.dark .syca-counter-panel .counter-box {
  padding: 1.5rem 1rem;
  transition: all 0.3s ease-in-out;
}

.section.dark .syca-counter-panel .counter-box:hover {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  transform: translateY(-4px);
}

/* =============================== */
/*   Text- und Farbanpassungen     */
/* =============================== */

.section.dark .syca-counter-panel i {
  color: #e5f1ff;
}

.section.dark .syca-counter-panel .counter {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.section.dark .syca-counter-panel h5 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.section.dark .syca-counter-panel h5 a {
  color: #f0f0f0;
  font-weight: 600;
  text-decoration: none;
}

.section.dark .syca-counter-panel h5 a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.section.dark .syca-counter-panel .small {
  font-size: 0.95rem;
  color: #d0d8e0;
  max-width: 90%;
  margin: 0 auto;
}

/* =============================== */
/*   Responsive Feintuning         */
/* =============================== */

@media screen and (max-width: 768px) {
  .section.dark .syca-counter-panel .counter {
    font-size: 2.2rem;
  }

  .section.dark .syca-counter-panel .small {
    font-size: 0.9rem;
    color: #e0e8f0;
  }
}

/* =============================== */
/*   SYCA Counter Panel – Fixes   */
/*   Klickbarkeit & Textfarbe     */
/* =============================== */

/* Z-Index-Fix: Counter-Panel über Overlay */
.section.dark .syca-counter-panel {
  position: relative;
  z-index: 10;
}

/* Helle Schrift explizit durchsetzen */
.section.dark .syca-counter-panel,
.section.dark .syca-counter-panel h5,
.section.dark .syca-counter-panel h5 a,
.section.dark .syca-counter-panel .counter,
.section.dark .syca-counter-panel .small {
  color: #f8f8f8 !important;
}

/* Optional: Icons etwas heller */
.section.dark .syca-counter-panel i {
  color: #eaf6ff !important;
}

/* Optional: Hover-Farbe der Links */
.section.dark .syca-counter-panel h5 a:hover {
  color: #ffffff !important;
}
