.vorstand-container {
    flex-direction: column;
}

.vorstand-content {
    width: 100%;
}

.vorstand-content h2 {
    margin-bottom: 0.5rem;
    color: var(--color1);
}

.vorstand-content p {
    margin-bottom: 2rem;
    font-size: 1rem;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.profile-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(26, 61, 47, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid rgba(207, 207, 207, 0.5);
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(26, 61, 47, 0.18);
}

.profile-image {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    overflow: hidden;
    background: var(--color2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.profile-name {
    color: var(--color1);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.profile-position {
    color: var(--color3);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-contact {
    color: var(--color1);
    font-size: 0.9rem;
    line-height: 1.2;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.profile-contact a {
    color: var(--color3);
    text-decoration: none;
    transition: color 0.2s ease;
}

.profile-contact a:hover {
    color: var(--color1);
    text-decoration: underline;
}

.former-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.former-card {
    width: 100%;
    display: block;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    padding: 0;
    box-shadow: none;
}

.former-card figcaption {
    width: 100%;
    margin: 0 0 0.6rem 0;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color1);
    padding: 0.6rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-sizing: border-box;
}

.former-card img {
    width: 100%;
    max-width: 100%;
    margin: 0 0 1rem 0;
    display: block;
    height: auto;
    border-radius: 6px;
}

@media (max-width: 1000px) {
    .profiles-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 700px) {
    .profiles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .former-card figcaption {
        font-size: 1.05rem;
        background: transparent;
        padding: 0.4rem 0;
    }
}
