/* Verein — Page-specific styles (body and global styles in style.css) */

/* Zentrierter Seiteninhalt */
.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Prevent overlap: ensure first container after fixed header has enough top padding */
.site-header + .container {
    padding-top: calc(var(--header-offset, 80px) + 1rem);
}

/* Weiße Content-Box */
.content-box {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Überschrift */
.content-box h1 {
    margin-top: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #b30000;
    border-bottom: 3px solid #b30000;
    padding-bottom: 10px;
}

/* Text */
.content-box p {
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 20px;
}

/* Aufzählung */
.info-list {
    padding-left: 20px;
    margin-bottom: 25px;
}

.info-list li {
    margin-bottom: 12px;
}

/* Links */
a {
    color: #b30000;
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    text-decoration: underline;
}

/* Hervorgehobener Text */
.highlight {
    font-weight: bold;
    background-color: #f4f4f4;
    padding: 15px;
    border-left: 5px solid #b30000;
}

/* Call to Action */
.cta {
    font-size: 18px;
    font-weight: bold;
}

/* Zwischenüberschriften */
.content-box h2 {
    margin-top: 40px;
    font-size: 24px;
    color: #48535d;
    border-left: 5px solid #b30000;
    padding-left: 10px;
}

/* Kontaktzeile */
.contact {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Grid für Vorstand/Kommando (mobile-first: 2 Spalten) */
.board-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

/* Spezielle Zeile nur für die beiden Vorstände (gleiche Kartengröße wie Rest) */
.board-grid-leaders {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .board-grid-leaders {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Responsive für Tablets und größer */
@media (min-width: 768px) {
    .board-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* Einzelne Karte */
.board-card {
    background-color: #48535d;
    color: #ffffff;
    padding: 20px;
    min-height: 120px;
    border-radius: 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.board-card strong {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
}

.board-card span {
    display: block;
    font-weight: normal;
}

.board-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

/* Mobile */
@media (max-width: 600px) {
    .content-box {
        padding: 1.25rem;
    }

    .container {
        margin: 20px auto;
        padding: 0 10px;
    }

    .content-box h2 {
        font-size: 1.2rem;
        margin-top: 1.5rem;
    }
}
