/* =================================================================
   VORSTAND-KOMPONENTEN CSS
   Spielmannszug Rhede 2025 - Team & Mitglieder-Darstellung
   ================================================================= */

/* === VORSTAND HEADER === */
.vorstand-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .vorstand-header {
    text-align: left;
  }
  
  .vorstand-header .section__badge {
    display: inline-block;
    margin: 0 0 var(--space-4) 0;
  }

  .vorstand-header h1 {
    text-align: left;
  }
}

.vorstand-subtitle {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  max-width: 700px;
  margin: var(--space-4) auto 0;
  line-height: var(--leading-relaxed);
}

@media (min-width: 768px) {
  .vorstand-subtitle {
    margin: var(--space-4) 0 0;
  }
}

/* === SECTIONS === */
.vorstand-section {
  margin-bottom: var(--space-16);
}

/* === GRID LAYOUTS === */
.vorstand-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .vorstand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .vorstand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Spezielle Grids für bestimmte Sections */
  .vorstand-grid--leaders {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
  }
  
  .vorstand-grid--dual {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0; /* Links ausgerichtet statt zentriert */
  }
  
  .vorstand-grid--single {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0; /* Links ausgerichtet statt zentriert */
  }
}

/* === CONTACT LINKS === */

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary-pale);
  color: var(--color-primary-dark);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  transition: all var(--transition-fast);
}

.contact-link:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px);
  text-decoration: none;
}

.contact-link i {
  font-size: var(--text-xs);
}

/* === TEAM MEMBERS (Vergnügungsausschuss) === */
.member-card__team-members {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.member-card__team-members span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-gray-700);
}

.member-card__team-members i {
  color: var(--color-primary);
  font-size: var(--text-xs);
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 767px) {
  
  .contact-link {
    font-size: var(--text-xs);
  }
  
  .section-title {
    font-size: var(--text-xl);
  }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  
  .contact-link {
    transition: none;
  }
}

/* === FOCUS STATES === */
.contact-link:focus {
  outline: 3px solid rgba(52, 98, 63, 0.3);
  outline-offset: 2px;
}

/* === PRINT STYLES === */
@media print { 
  .vorstand-cta {
    display: none;
  }
  
  .contact-link {
    text-decoration: underline;
  }
}