/* ========================================
   TEAM-SEITE "UNSER TEAM" – ZUSÄTZLICHE STYLES
   (auf Basis von main.css)
   
   HINWEIS: Hero-Bereich nutzt .page-hero aus main.css
======================================== */

/* Team-Seite – Hauptbereich */
.section-team-page {
    background: linear-gradient(to bottom, var(--white), var(--gray-50));
}

/* Filterzeile über der Grid-Liste */
.team-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.team-filter-pill {
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
    padding: 0.4rem 0.9rem;
    font-size: var(--text-sm);
    color: var(--gray-700);
    background: var(--white);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.team-filter-pill:hover {
    background: var(--gray-50);
    border-color: var(--petrol-light);
    transform: translateY(-1px);
}

.team-filter-pill.is-active {
    background: var(--petrol-main);
    color: var(--white);
    border-color: var(--petrol-main);
    font-weight: 600;
}

.team-filter-pill.is-active:hover {
    background: var(--petrol-dark);
    border-color: var(--petrol-dark);
}

/* Abschnittsüberschriften innerhalb der Team-Seite */
.list-section {
    margin-top: var(--space-8);
}

.list-section-title {
    font-size: var(--text-2xl);
    color: var(--petrol-dark);
    margin-bottom: var(--space-2);
}

.list-section-description {
    color: var(--gray-600);
    margin-bottom: var(--space-3);
}

/* Team-Grid – nur in dieser Sektion spezieller layouten */
.section-team-page .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-4);
}

/* Karten-Styling für Personen (überschreibt globales .team-card nur in dieser Section) */
.section-team-page .team-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.section-team-page .team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--petrol-main);
}

.section-team-page .team-photo {
    height: 220px;
    background: linear-gradient(135deg, var(--petrol-light), var(--petrol-main));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-4xl);
    color: var(--white);
    font-weight: 700;
}

.section-team-page .team-info {
    padding: var(--space-4);
}

.section-team-page .team-name {
    font-size: var(--text-xl);
    color: var(--petrol-dark);
    margin-bottom: 0.3rem;
}

.section-team-page .team-role {
    font-size: var(--text-sm);
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.section-team-page .team-meta {
    font-size: var(--text-xs);
    color: var(--gray-600);
    margin-bottom: var(--space-2);
}

.section-team-page .team-bio {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: var(--text-sm);
}

.team-tagline {
    margin-top: var(--space-2);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    color: var(--petrol-main);
}

/* CTA-Bereich unten ("Mitmachen") */
.section-cta {
    background: var(--petrol-dark);
    color: var(--white);
}

.section-cta .section-container {
    max-width: var(--container-max);
}

.cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
    gap: var(--space-6);
    align-items: center;
}

.cta-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-3);
}

.cta-text {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin-bottom: var(--space-4);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.cta-btn {
    background: var(--white);
    color: var(--petrol-dark);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--text-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-2xl);
    padding: var(--space-4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-card h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
}

.cta-card p {
    font-size: var(--text-sm);
    opacity: 0.95;
    line-height: 1.7;
}

/* ========================================
   RESPONSIVE – NUR FÜR TEAM-SEITE
======================================== */

@media (max-width: 1024px) {
    .cta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-team-page .team-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: var(--text-3xl);
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}