/* ============================================
   ÜBER UNS PAGE STYLES
   ============================================ */

/* Page Hero */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-16);
  background: linear-gradient(135deg, 
    hsl(210 50% 96%) 0%, 
    hsl(210 60% 92%) 50%,
    hsl(210 70% 88%) 100%
  );
  overflow: hidden;
}

/* Optionaler Hintergrund-Pattern für mehr Tiefe */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, hsl(210 80% 85% / 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, hsl(200 70% 90% / 0.4) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, hsl(220 60% 88% / 0.3) 0%, transparent 50%);
  z-index: 0;
}

/* Oder mit Bild-Hintergrund (falls du ein Bild hast) */
.page-hero--with-image {
  background: 
    linear-gradient(135deg, 
      hsl(210 40% 30% / 0.85) 0%, 
      hsl(210 50% 20% / 0.9) 100%
    );
  background-size: cover;
  background-position: center;
}

.page-hero--with-image .page-hero__title,
.page-hero--with-image .page-hero__text,
.page-hero--with-image .section-header__label {
  color: white;
  text-shadow: 0 2px 4px hsl(0 0% 0% / 0.2);
}

.page-hero__content {
  position: relative;
  max-width: 720px;
  z-index: 1;
}

.page-hero__title {
  margin-bottom: var(--space-4);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  line-height: 1.1;
}

.page-hero__text {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin-inline: auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-neutral-300);
}

@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline__item {
  position: relative;
  padding-left: 64px;
  padding-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .timeline__item {
    padding-left: 0;
    padding-right: 0;
    display: grid;
    grid-template-columns: 1fr 48px 1fr;
    gap: var(--space-4);
    align-items: center;
  }
  
  .timeline__item:nth-child(odd) .timeline__content {
    grid-column: 1;
    text-align: right;
  }
  
  .timeline__item:nth-child(odd) .timeline__marker {
    grid-column: 2;
  }
  
  .timeline__item:nth-child(even) .timeline__content {
    grid-column: 3;
  }
  
  .timeline__item:nth-child(even) .timeline__marker {
    grid-column: 2;
    grid-row: 1;
  }
}

.timeline__marker {
  position: absolute;
  left: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  z-index: 1;
  box-shadow: 0 4px 12px hsl(210 80% 50% / 0.3);
}

@media (min-width: 768px) {
  .timeline__marker {
    position: relative;
  }
}

.timeline__content {
  background: var(--surface-card);
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.timeline__content:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.timeline__year {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
}

.timeline__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  font-weight: 700;
}

.timeline__text {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* Team Section Title */
.team-section-title {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-top: var(--space-8);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

.team-section-title:first-of-type {
  margin-top: 0;
}

/* Team Grid */
.team-grid {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.team-grid:last-child {
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  text-align: center;
  padding: var(--space-6);
  background: var(--surface-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.team-card__image {
  width: 120px;
  height: 120px;
  margin-inline: auto;
  margin-bottom: var(--space-4);
  background: linear-gradient(135deg, var(--color-primary-subtle) 0%, var(--color-neutral-200) 100%);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.team-card__image svg {
  width: 56px;
  height: 56px;
  color: var(--color-primary);
}

.team-card__name {
  font-size: var(--text-xl);
  margin-bottom: var(--space-1);
  font-weight: 700;
}

.team-card__role {
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
}

.team-card__text {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-style: italic;
  line-height: 1.6;
}

/* Values Grid */
.values-grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  padding: var(--space-6);
  background: var(--surface-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-accent);
  transition: all var(--transition-base);
}

.value-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--color-primary);
}

.value-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-4);
  color: var(--color-accent);
}

.value-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
  font-weight: 700;
}

.value-card__text {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  text-align: center;
  padding: var(--space-6);
  background: hsl(0 0% 100% / 0.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(8px);
  transition: all var(--transition-base);
}

.stat-card:hover {
  background: hsl(0 0% 100% / 0.15);
  transform: translateY(-2px);
}

.stat-card__value {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
  line-height: 1;
}

.stat-card__label {
  font-size: var(--text-sm);
  color: hsl(0 0% 100% / 0.9);
}

/* Partners Logos */
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-8);
}

.partner-logo {
  padding: var(--space-4) var(--space-6);
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.partner-logo:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
}

/* CTA Section */
.cta-section {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
}

.cta-section__title {
  margin-bottom: var(--space-4);
  font-size: var(--text-3xl);
}

.cta-section__text {
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.cta-section__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}
