﻿.hero__content h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  margin-bottom: 1rem;
}

.hero__content .lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 48ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.hero__meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero__right {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.hero__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  order: -1;
  position: relative;
  z-index: 2;
  margin-bottom: -3rem;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.hero__pic-roulette {
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px rgba(15, 15, 20, 0.15), 0 10px 20px rgba(15, 15, 20, 0.1);
  position: relative;
  aspect-ratio: 8 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}

:root[data-theme="dark"] .hero__pic-roulette {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 15px 30px rgba(0, 0, 0, 0.3);
}

.hero__pic-roulette-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.hero__pic-roulette-image--active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero__pic-roulette-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--muted);
  font-size: 1rem;
}

.hero__card {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-top: 3.5rem;
}

.hero__card h3 {
  margin: 0.5rem 0 1rem;
}

.hero__card ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.section-grid__header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0;
}

/* Statistiken */
.statistics {
  margin: 4rem 0;
}

.statistics__header {
  margin-bottom: 2.5rem;
}

.statistics__header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0;
}

.statistics__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  padding: 2rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.stat-card__value {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.stat-card__value--error {
  color: #ef4444;
  font-size: 2rem;
  text-transform: lowercase;
}

.stat-card__error-message {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: -0.25rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.stat-card__label {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}

.stat-card__like-btn {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 999px;
  color: white;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(108, 92, 231, 0.3);
  position: relative;
  overflow: hidden;
}

.stat-card__like-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.stat-card__like-btn:hover:not(:disabled) {
  background: var(--accent);
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.5);
}

.stat-card__like-btn:hover:not(:disabled)::before {
  width: 300px;
  height: 300px;
}

.stat-card__like-btn:active:not(:disabled) {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 2px 8px rgba(108, 92, 231, 0.4);
}

.stat-card__like-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--muted);
  border-color: var(--muted);
  box-shadow: none;
}

.stat-card__like-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.stat-card__like-btn:hover:not(:disabled) svg {
  transform: scale(1.1);
}

@media (max-width: 640px) {
  .statistics__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .stat-card__value {
    font-size: 2rem;
  }
}
