/* ============================================================
   EIGHTERS BASEBALL CLUB - Vorstand Grid (Verbesserter Kontrast)
   ============================================================ */

.board-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 600px) {
    .board-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 960px) {
    .board-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
}

.board-card {
    position: relative;
    /* WEISSLICHER HINTERGRUND fuer Kontrast auf Blau */
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--color-gold);
    border-radius: var(--radius-card);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Hover-Effekt */
@media (hover: hover) {
    .board-card:hover {
        transform: translateY(-4px);
        border-color: var(--color-accent);
        box-shadow: 0 10px 32px rgba(197, 179, 88, 0.4);
    }
}

/* Bildflaeche: quadratisch, 1:1 */
.board-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Hellerer Verlauf fuer bessere Sichtbarkeit der Initialen */
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-blue-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.board-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 800;
    color: var(--color-gold);
    width: 100%;
    height: 100%;
}

.board-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: none; /* Temporaer: Bilder ausblenden */
}

/* Rolle als Badge (wie Jersey-Nummer) */
.board-card__role-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-blue);
    background: var(--color-gold);
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    max-width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Name unter dem Bild */
.board-card__name {
    padding: 0.7rem 0.8rem 0.8rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-blue); /* Dunkler Text auf weissem Karten-Hintergrund */
    flex: 1;
    line-height: 1.3;
}

/* Kontakt-Links (nicht mehr aktiv, da keine e-Mail/Phone in DB) */
.board-card__contacts {
    display: none;
}

/* Platzhalter-Box (keine Vorstand-Mitglieder) */
.org-placeholder {
    text-align: center;
    padding: 3rem 1rem;
    border: 2px dashed var(--color-white);
    border-radius: var(--radius-card);
    color: var(--color-white-90);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
}

.org-placeholder code {
    display: block;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--color-gold);
}

/* Anpassung fuer Sektion--blue Hintergrund */
.section--blue .section__title::after {
    background: var(--color-gold);
}

.section--blue .section__subtitle {
    color: var(--color-white-90);
}

@media (prefers-reduced-motion: reduce) {
    .board-card {
        transition: none;
    }
}