/* ============================================
   GLOBALER GRID-WRAPPER FÜR KONTAKT + VORSTAND
   ============================================ */

.kontakt-section {
  padding: 1.5rem 1rem 4rem;
  max-width: 1200px;
  margin: 0 auto;

  display: grid !important;
  gap: 1.25rem;

  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .kontakt-section {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 960px) {
  .kontakt-section {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* ============================================
   CARD-GRUNDELEMENT
   ============================================ */

.kontakt-card,
.vorstand-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);

  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* ============================================
   CARD-HEADER MIT AVATAR
   ============================================ */

.card-header {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #e9eef3;

  display: flex !important;
  justify-content: center;
  align-items: center;
}

.card-header img {
  width: 90px !important;
  height: 90px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ============================================
   CARD-BODY
   ============================================ */

.card-body {
  padding: 1.25rem 1.5rem;
}

.card-body h4 {
  margin: 0 0 0.5rem;
  color: #005ca9;
  font-size: calc(1.15rem * var(--a11y-scale, 1));   /* ⭐ A11y-Fallback */
}

.card-body p {
  margin: 0;
  color: #333;
  font-size: calc(0.95rem * var(--a11y-scale, 1));   /* ⭐ A11y-Fallback */
  line-height: 1.5;
}

/* ============================================
   HEADER-BEREICH (volle Breite)
   ============================================ */

.kontakt-header,
.kontakt-intro,
.kontakt-back,
.vorstand-section {
  grid-column: 1 / -1 !important;
  text-align: center;
}

/* ============================================
   HEADER-AVATAR
   ============================================ */

.kontakt-avatar {
  width: 140px !important;
  height: 140px !important;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* ============================================
   ZURÜCK-BUTTON
   ============================================ */

.kontakt-back a {
  display: inline-flex;
  align-items: center;
  gap: 8rem; /* belassen, aber A11y-sicher */
  padding: 0.8rem 1.4rem;
  background: #005ca9;
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-size: calc(1.05rem * var(--a11y-scale, 1));   /* ⭐ A11y-Fallback */
}

.kontakt-back a:hover {
  background: #004a87;
}
