/* #############################################
## HOME.PHP – EXKLUSIVES CSS
############################################# */
/* REFERENZEN */
.bg-ref {
  background: #1A1A1A;
  max-width: 90%;
  margin: 0 auto
}

.bg-ref img {
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
  border-radius: .5rem
}

.bg-ref h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff
}

.bg-ref h4 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #fff
}

.bg-ref p,
.bg-ref small {
  color: #fff
}

.metrics {
  display: flex;
  gap: 2rem;
  align-items: flex-end
}

.metric-value {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #17d68f, #7ff0c6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent
}

.metric small {
  color: #ccc;
  font-size: .9rem
}

/* Verschiebungen für Referenzen */
.ref-left {
  margin-left: -30px;
  margin-right: auto;
}

.ref-right {
  margin-right: -30px;
  margin-left: auto;
}

/* Mobile wieder normal */
@media (max-width: 991.98px) {

  .ref-left,
  .ref-right {
    margin-left: 0;
    margin-right: 0;
  }
}

/* REVIEWS */
.reviews-kicker {
  color: #17d68f;
  font-weight: 600;
  margin-bottom: .25rem
}

.reviews-title {
  margin: 0 0 1rem;
  font-weight: 800
}

.reviews-slider {
  overflow: hidden;
  position: relative;
  width: 100%
}

.reviews-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: scroll 50s linear infinite
}

.review-card {
  flex: 0 0 300px;
  max-width: 300px;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 1rem;
  height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.review-card p {
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box
}

.review-card .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #17d68f;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center
}

@keyframes scroll {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

@media (max-width: 991.98px) {
  #maincontent .container-fluid {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Scrollbare Kachel-Leiste */
.spectrum-grid-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}

.spectrum-grid-scroll::-webkit-scrollbar {
  height: 6px;
}

.spectrum-grid-scroll::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 4px;
}

.spectrum-grid-scroll .spec-card {
  flex: 0 0 80%; /* Mobile: fast volle Breite */
  scroll-snap-align: start;
}

@media (min-width: 992px) {
  .spectrum-grid-scroll {
    flex-wrap: wrap;
    overflow-x: visible;
  }
  .spectrum-grid-scroll .spec-card {
    flex: 0 0 calc(50% - 1rem); /* Desktop: 2 nebeneinander */
  }
}

 /* Dropdown-Items ohne Rand */
 .dropdown-menu .dropdown-item {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Optionale Anpassung: Hover ohne hässliche Umrandung */
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:hover {
  background-color: #17d68f; /* deine Hauptfarbe */
  color: #fff;
  outline: none;
}

/* NOX-CARDS (Erwartungen) */
.nox-card {
  background: #1A1A1A;
  padding: 1.5rem;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.nox-h {
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem
}

.nox-p {
  margin: .25rem 0 0;
  color: #e6e6e6;
  opacity: .9;
  font-size: .95rem
}

.nox-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block
}
@media (max-width: 767.98px) {
  .nox-card {
    flex: 1 1 100%;
    min-height: 150px;
  }
  .row.g-3 > div {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
