/* ========================================
   HERO STATS OPTIMIERUNG
   Bessere Anpassung der Stat-Items in ihren Kästen
   ======================================== */

/* ========================================
   0. STAT-CONTAINER - 10px nach rechts verschoben
   ======================================== */
.hero .hero-stats {
  margin-left: 10px;
  /* 10px nach rechts verschoben (von 20px auf 10px reduziert = 10px nach links) */
}

/* ========================================
   1. STAT-ITEM CONTAINER
   ======================================== */

.hero .hero-stats .stat-item {
  /* Optimiertes Padding für bessere Ausnutzung */
  padding: 8px 12px;
  gap: 4px;
  /* Größe: 20px länger (230px statt 210px) */
  width: 230px;
  min-width: 230px;
  max-width: 230px;
  height: 92px;
  min-height: 92px;
  max-height: 92px;
  
  /* Flexbox für optimale Ausrichtung */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
  /* Box-Sizing für korrekte Größenberechnung */
  box-sizing: border-box;
  
  /* Overflow verhindern */
  overflow: hidden;
}

/* ========================================
   2. STAT-ICON
   ======================================== */

.hero .hero-stats .stat-item img.stat-icon,
.hero .hero-stats .stat-item .stat-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  max-width: 22px;
  max-height: 22px;
  
  margin: 0;
  margin-bottom: 2px;
  flex-shrink: 0;
  
  display: block;
  object-fit: contain;
}

/* Erstes Stat-Item: Icon größer (Unterstützer) */
.hero .hero-stats .stat-item:nth-child(1) img.stat-icon,
.hero .hero-stats .stat-item:nth-child(1) .stat-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  max-width: 28px;
  max-height: 28px;
}

/* Zweites Stat-Item: Icon größer (Pokal) */
.hero .hero-stats .stat-item:nth-child(2) img.stat-icon,
.hero .hero-stats .stat-item:nth-child(2) .stat-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  max-width: 32px;
  max-height: 32px;
}

/* Drittes Stat-Item: Icon größer (Unendlich) - Mittig ausrichten */
.hero .hero-stats .stat-item:nth-child(3) img.stat-icon,
.hero .hero-stats .stat-item:nth-child(3) .stat-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  max-width: 32px;
  max-height: 32px;
  margin: 0 auto;
  margin-bottom: 8px;
  align-self: center;
  display: block;
}

/* ========================================
   3. STAT-NUMBER
   ======================================== */

.hero .hero-stats .stat-item .stat-number {
  font-size: clamp(1.3rem, 2.2vw + 0.4rem, 1.75rem);
  font-weight: 600;
  line-height: 1;
  margin: 0;
  padding: 0;
  
  /* Zentrierte Ausrichtung */
  text-align: center;
  white-space: nowrap;
  
  /* Flex für optimale Positionierung */
  flex-shrink: 0;
}

/* Unterstützer-Zahl: Etwas kleiner für längere Zahlen und weiß */
.hero .hero-stats .stat-item:nth-child(1) .stat-number {
  font-size: clamp(1.1rem, 2vw + 0.35rem, 1.6rem);
  color: #FFFFFF;
}

/* Drittes Stat-Item: ∞-Symbol ausblenden - HÖCHSTE PRIORITÄT */
.hero .hero-stats .stat-item:nth-child(3) .stat-number,
.hero .hero-stats .stat-item:nth-child(3) span.stat-number {
  display: none;
  visibility: hidden;
  opacity: 0;
  height: 0;
  width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: absolute;
  left: -9999px;
  font-size: 0;
  line-height: 0;
}

/* Zweites Stat-Item: "1" ausblenden */
.hero .hero-stats .stat-item:nth-child(2) .stat-number {
  display: none;
  visibility: hidden;
  opacity: 0;
  height: 0;
  margin: 0;
  padding: 0;
}

/* ========================================
   4. STAT-LABEL
   ======================================== */

.hero .hero-stats .stat-item .stat-label {
  font-size: clamp(0.75rem, 0.9vw + 0.15rem, 0.9rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  margin-top: 1px;
  padding: 0;
  
  /* Zentrierte Ausrichtung */
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: none;
  
  /* Flex für optimale Positionierung */
  flex: 0 0 auto;
  max-width: 100%;
  
  /* Max 2 Zeilen mit Ellipsis */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Zweites Stat-Panel: "Einzigartiges Spiel" - etwas größer */
.hero .hero-stats .stat-item:nth-child(2) .stat-label {
  font-size: clamp(0.8rem, 1vw + 0.2rem, 0.95rem);
  font-weight: 700;
}

/* Erstes Stat-Item: "Unterstützer" Label ausblenden */
.hero .hero-stats .stat-item:nth-child(1) .stat-label {
  display: none;
  visibility: hidden;
  opacity: 0;
  height: 0;
  margin: 0;
  padding: 0;
}

/* Drittes Stat-Item: Label "Möglichkeiten" - gleich groß wie "Einzigartiges Spiel" */
.hero .hero-stats .stat-item:nth-child(3) .stat-label {
  font-size: clamp(0.8rem, 1vw + 0.2rem, 0.95rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 0; /* Kein zusätzlicher Abstand mehr, da ∞ entfernt */
  text-align: center;
}

/* ========================================
   5. RESPONSIVE ANPASSUNGEN
   ======================================== */

@media (max-width: 768px) {
  .hero .hero-stats .stat-item {
    padding: 8px 10px;
    gap: 5px;
    min-height: 85px;
  }
  
  .hero .hero-stats .stat-item img.stat-icon,
  .hero .hero-stats .stat-item .stat-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    margin-bottom: 3px;
  }
  
  /* Responsive: Größere Icons */
  .hero .hero-stats .stat-item:nth-child(1) img.stat-icon,
  .hero .hero-stats .stat-item:nth-child(1) .stat-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    max-width: 24px;
    max-height: 24px;
  }
  
  .hero .hero-stats .stat-item:nth-child(2) img.stat-icon,
  .hero .hero-stats .stat-item:nth-child(2) .stat-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
  }
  
  .hero .hero-stats .stat-item:nth-child(3) img.stat-icon,
  .hero .hero-stats .stat-item:nth-child(3) .stat-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    max-width: 24px;
    max-height: 24px;
  }
  
  .hero .hero-stats .stat-item .stat-number {
    font-size: clamp(1.2rem, 2vw + 0.4rem, 1.6rem);
  }
  
  .hero .hero-stats .stat-item:nth-child(1) .stat-number {
    font-size: clamp(1rem, 1.8vw + 0.3rem, 1.4rem);
  }
  
  .hero .hero-stats .stat-item:nth-child(3) .stat-number {
    display: none;
    visibility: hidden;
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
  }
  
  .hero .hero-stats .stat-item:nth-child(3) img.stat-icon,
  .hero .hero-stats .stat-item:nth-child(3) .stat-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
    margin: 0 auto;
    margin-bottom: 6px;
  }
  
  .hero .hero-stats .stat-item .stat-label {
    font-size: clamp(0.75rem, 0.9vw + 0.15rem, 0.85rem);
  }
  
  .hero .hero-stats .stat-item:nth-child(2) .stat-label {
    font-size: clamp(0.8rem, 1vw + 0.2rem, 0.9rem);
  }
}

@media (max-width: 480px) {
  .hero .hero-stats .stat-item {
    padding: 6px 8px;
    gap: 4px;
    min-height: 80px;
  }
  
  .hero .hero-stats .stat-item img.stat-icon,
  .hero .hero-stats .stat-item .stat-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    max-width: 18px;
    max-height: 18px;
    margin-bottom: 2px;
  }
  
  /* Responsive: Größere Icons */
  .hero .hero-stats .stat-item:nth-child(1) img.stat-icon,
  .hero .hero-stats .stat-item:nth-child(1) .stat-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    max-width: 22px;
    max-height: 22px;
  }
  
  .hero .hero-stats .stat-item:nth-child(2) img.stat-icon,
  .hero .hero-stats .stat-item:nth-child(2) .stat-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    max-width: 24px;
    max-height: 24px;
  }
  
  .hero .hero-stats .stat-item:nth-child(3) img.stat-icon,
  .hero .hero-stats .stat-item:nth-child(3) .stat-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    max-width: 22px;
    max-height: 22px;
  }
  
  .hero .hero-stats .stat-item .stat-number {
    font-size: clamp(1rem, 1.8vw + 0.3rem, 1.4rem);
  }
  
  .hero .hero-stats .stat-item:nth-child(1) .stat-number {
    font-size: clamp(0.9rem, 1.6vw + 0.25rem, 1.2rem);
  }
  
  .hero .hero-stats .stat-item:nth-child(3) .stat-number {
    display: none;
    visibility: hidden;
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
  }
  
  .hero .hero-stats .stat-item:nth-child(3) img.stat-icon,
  .hero .hero-stats .stat-item:nth-child(3) .stat-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    max-width: 26px;
    max-height: 26px;
    margin: 0 auto;
    margin-bottom: 4px;
  }
  
  .hero .hero-stats .stat-item .stat-label {
    font-size: clamp(0.7rem, 0.8vw + 0.1rem, 0.75rem);
  }
  
  .hero .hero-stats .stat-item:nth-child(2) .stat-label {
    font-size: clamp(0.75rem, 0.9vw + 0.15rem, 0.8rem);
  }
}

