/**
 * about_split.css
 * "Warum wir" Split-Layout mit Count-Up Animation
 * Upload nach: /media/css/about_split.css
 */

/* ========== ABOUT SPLIT LAYOUT ========== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  margin: 4rem 0;
  border: 1px solid var(--line);
}

/* ========== LEFT SIDE: TEXT & VALUES ========== */
.about-split .split-left {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-white);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-split .split-left h2 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-split .split-left > p {
  font-family: var(--font-main);
  font-size: 1.3rem;
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: 2rem;
}

/* Value List */
.about-split .value-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-split .value-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  font-size: 1.15rem;
  font-family: var(--font-main);
}

.about-split .value-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ========== RIGHT SIDE: STATS WITH BACKGROUND ========== */
.about-split .split-right {
  position: relative;
  background: url('/images/bilder-allgemein/team.png') center/cover;
  min-height: 600px;
}

.about-split .split-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(23, 86, 140, 0.4), rgba(201, 165, 92, 0.2));
}

/* Stats Overlay Grid */
.about-split .stats-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 4rem;
  align-content: center;
}

/* Stat Box */
.about-split .stat-box {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.3);
}

.about-split .stat-box:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Stat Number */
.about-split .stat-box-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  line-height: 1;
}

/* Stat Label */
.about-split .stat-box-label {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-main);
}

/* ========== DARK MODE ========== */
body.dark-mode .about-split {
  border-color: var(--line);
}

body.dark-mode .about-split .split-left {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

body.dark-mode .about-split .stat-box {
  background: rgba(19, 24, 36, 0.9);
  border-color: var(--line);
}

body.dark-mode .about-split .stat-box-number {
  color: var(--primary-light);
}

body.dark-mode .about-split .stat-box-label {
  color: var(--text-light);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .about-split {
    grid-template-columns: 1fr;
  }

  .about-split .split-left {
    padding: 3rem 2rem;
  }

  .about-split .split-left h2 {
    font-size: 2.5rem;
  }

  .about-split .split-right {
    min-height: 500px;
  }

  .about-split .stats-overlay {
    padding: 3rem 2rem;
  }
}

@media (max-width: 768px) {
  .about-split .stats-overlay {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem;
  }

  .about-split .stat-box {
    padding: 1.5rem;
  }

  .about-split .stat-box-number {
    font-size: 3rem;
  }

  .about-split .split-left h2 {
    font-size: 2rem;
  }

  .about-split .split-left > p {
    font-size: 1.1rem;
  }

  .about-split .value-list li {
    font-size: 1rem;
  }
}
