/* #############################################
## HOME.PHP – EXKLUSIVES CSS (optimiert)
############################################# */
#hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
  color: #fff;
}

/* Hintergrundcontainer */
.media-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none; /* Keine Klicks blockieren */
}

/* Zwei Bild-Ebenen + Video für Crossfade */
.hero-layer,
#hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 3s ease-in-out;
  pointer-events: none; /* Wichtig: Klicks nicht blockieren */
  z-index: 0;
}

.hero-layer.active,
#hero-video.active {
  opacity: 1;
}

/* Video-Standarddarstellung */
#hero-video {
  display: block;
  z-index: 0;
}

/* Inhalt */
.hero-box {
  position: relative;
  z-index: 10; /* über Bildern/Videos */
  max-width: 700px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.5s ease, transform 1.5s ease;
  pointer-events: auto; /* Klickbar */
  color: #fff !important;
}
.hero-box.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-box p {
  font-size: clamp(0.6rem, 8vw, 1rem) !important;
}
/* Overlay (z. B. Farbfilter oder Schatten) */
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none; /* Kein Blockieren */
}

/* Dots + Steuerung */
#hero-controls {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15; /* über allem */
  pointer-events: auto;
}
@media (max-width: 991.98px) {
  #hero-controls {
    display: none !important;
  }
}

#hero-dots {
  display: flex;
  gap: 10px;
}

#hero-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

#hero-dots button.active {
  background: #17d68f;
  transform: scale(1.3);
  border-color: #17d68f;
  border: 1px solid #fff;

}

#hero-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid #fff;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

#hero-toggle:hover {
  background: rgba(255,255,255,0.1);
}

/* 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%;
  }
}
.partner-logo {
  max-height: 40px;
  max-width: 200px;
  margin: 0 20px;
  opacity: 0.85;
  filter: grayscale(100%);
  transition: opacity .3s, filter .3s;
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* ===========================================
   USP – Vorteilssektion (Finales Design)
   =========================================== */
   #usp {
    padding-top: 5rem;
    padding-bottom: 5rem;
    cursor: pointer;
  }
  
  #usp .headline-category {
    font-weight: 700;
  }
  
  #usp p {
    color: #444;
    font-size: 1rem;
    max-width: 680px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
  }
  
  /* Karten */
  #usp .icon-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2.2rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-height: 170px;
  }
  
  #usp .icon-box:hover {
    transform: translateY(-8px);
    border-color: #17d68f;
    box-shadow: 0 10px 22px rgba(23, 214, 143, 0.15);
  }
  
  /* Icons */
  #usp i {
    color: #17d68f;
    font-size: 2.4rem;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  #usp .icon-box:hover i {
    transform: scale(1.15);
    color: #13b97c;
  }
  
  /* Titel */
  #usp h5 {
    font-weight: 600;
    color: #111;
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 1.05rem;
  }
  
  #usp .icon-box:hover h5 {
  color: #17d68f;
}
  
  /* Responsive */
  @media (max-width: 767px) {
    #usp .icon-box {
      min-height: 150px;
      padding: 1.8rem 1.2rem;
    }
  
    #usp i {
      font-size: 2rem;
    }
  
    #usp h5 {
      font-size: 1rem;
    }
  }

    /* === Tooltip Farbe === */
    .tooltip-inner {
      background-color: #0a5c3e !important;
      color: #fff !important;
      font-size: .9rem;
      border-radius: .5rem;
      padding: .5rem .75rem;
    }
    .tooltip.bs-tooltip-top .tooltip-arrow::before {
      border-top-color: #0a5c3e !important;
    }