/* ═══════════════════════════════════════════════════════════
   VORSTAND PAGE — page-vorstand.php
   Add this block to the bottom of style.css
═══════════════════════════════════════════════════════════ */

/* Hero variant */
.vorstand-hero .page-hero__title span { color: var(--zvis-blue-light); }

/* Section wrapper */
.vorstand-section {
    padding: 72px 0 80px;
    background: var(--zvis-grey-light);
}

/* ── FORMATION LAYOUT ── */
.zvis-formation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.zvis-formation__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 68%;
}

.zvis-formation__bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

/* Connector between rows */
.zvis-formation__connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    width: 68%;
}
.zvis-formation__connector-line {
    width: 1px;
    height: 24px;
    background: linear-gradient(to bottom, var(--zvis-blue), rgba(0,99,166,0.2));
}
.zvis-formation__connector-dot {
    width: 6px; height: 6px;
    background: var(--zvis-blue);
    border-radius: 50%;
}
.zvis-formation__connector-h {
    width: 50%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--zvis-blue), transparent);
    margin-top: -1px;
}

/* ── MEMBER CARD ── */
.zvis-board-card {
    background: var(--zvis-white);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s, border-bottom-color 0.3s;
    border-bottom: 3px solid transparent;
}

.zvis-board-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.14);
    border-bottom-color: var(--zvis-blue);
}

.zvis-board-card.is-co:hover {
    border-bottom-color: var(--zvis-accent);
}

/* Top accent line */
.zvis-board-card__accent {
    position: absolute;
    top: 0; left: 0;
    height: 3px;
    width: 52px;
    background: var(--zvis-blue);
    transition: width 0.45s ease;
    z-index: 2;
}
.zvis-board-card.is-co .zvis-board-card__accent {
    background: var(--zvis-accent);
    width: 72px;
}
.zvis-board-card:hover .zvis-board-card__accent { width: 100%; }

/* Photo container — fixed 4:5 ratio */
.zvis-board-card__photo {
    position: relative;
    width: 100%;
    padding-bottom: 125%;
    overflow: hidden;
}

.zvis-board-card__photo-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Real photo */
.zvis-board-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Initials placeholder */
.zvis-board-card__initials {
    font-family: var(--zvis-font-display);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    transition: color 0.3s, transform 0.3s;
}
.zvis-board-card:hover .zvis-board-card__initials {
    color: rgba(255, 255, 255, 0.22);
    transform: scale(1.05);
}

/* Geometric corner accent */
.zvis-board-card__photo-geo {
    position: absolute;
    bottom: 0; right: 0;
    width: 60px; height: 60px;
    background: rgba(0, 99, 166, 0.2);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    transition: width 0.3s, height 0.3s;
    z-index: 2;
}
.zvis-board-card.is-co .zvis-board-card__photo-geo {
    background: rgba(255, 107, 0, 0.2);
}
.zvis-board-card:hover .zvis-board-card__photo-geo {
    width: 80px; height: 80px;
}

/* Photo overlay on hover */
.zvis-board-card__photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 99, 166, 0.55), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 3;
}
.zvis-board-card.is-co .zvis-board-card__photo-overlay {
    background: linear-gradient(to top, rgba(255, 107, 0, 0.45), transparent 50%);
}
.zvis-board-card:hover .zvis-board-card__photo-overlay { opacity: 1; }

/* LinkedIn link */
.zvis-board-card__linkedin {
    position: absolute;
    bottom: 48px; right: 14px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    width: 30px; height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--zvis-white);
    font-family: var(--zvis-font-display);
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s, transform 0.3s, background 0.2s;
    text-decoration: none;
}
.zvis-board-card:hover .zvis-board-card__linkedin {
    opacity: 1;
    transform: translateY(0);
}
.zvis-board-card__linkedin:hover {
    background: #0077B5;
}

/* Role badge */
.zvis-board-card__badge {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 10px 14px;
    z-index: 4;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
}
.zvis-board-card__badge-tag {
    display: inline-block;
    background: var(--zvis-blue);
    color: var(--zvis-white);
    font-family: var(--zvis-font-display);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 10px;
}
.zvis-board-card.is-co .zvis-board-card__badge-tag {
    background: var(--zvis-accent);
}

/* Card body */
.zvis-board-card__body {
    padding: 18px 18px 22px;
}

.zvis-board-card__name {
    font-family: var(--zvis-font-display);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--zvis-dark);
    line-height: 1;
    margin-bottom: 3px;
    font-size: clamp(16px, 2vw, 22px);
    transition: color 0.2s;
}
.zvis-board-card.is-co .zvis-board-card__name {
    font-size: clamp(18px, 2.5vw, 26px);
}
.zvis-board-card:hover .zvis-board-card__name { color: var(--zvis-blue); }
.zvis-board-card.is-co:hover .zvis-board-card__name { color: var(--zvis-accent); }

.zvis-board-card__responsibility {
    font-family: var(--zvis-font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--zvis-blue);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.zvis-board-card.is-co .zvis-board-card__responsibility { color: var(--zvis-accent); }
.zvis-board-card__responsibility::before {
    content: '';
    width: 14px; height: 1px;
    background: currentColor;
    flex-shrink: 0;
}

.zvis-board-card__divider {
    height: 1px;
    background: var(--zvis-grey-light);
    margin-bottom: 10px;
}

.zvis-board-card__bio {
    font-size: 12px;
    color: var(--zvis-grey-text);
    line-height: 1.65;
    margin-bottom: 12px;
}

/* Tags */
.zvis-board-card__tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.zvis-board-card__tag {
    font-family: var(--zvis-font-display);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--zvis-blue-pale);
    color: var(--zvis-blue);
    padding: 3px 8px;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s;
}
.zvis-board-card:hover .zvis-board-card__tag {
    background: var(--zvis-blue);
    color: var(--zvis-white);
}
.zvis-board-card.is-co:hover .zvis-board-card__tag {
    background: var(--zvis-accent);
    color: var(--zvis-white);
}

/* ── STATS STRIP ── */
.vorstand-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-top: 64px;
    background: var(--zvis-blue);
}
.vorstand-stat {
    background: rgba(0, 0, 0, 0.12);
    padding: 28px 20px;
    text-align: center;
    transition: background 0.2s;
}
.vorstand-stat:hover { background: rgba(0, 0, 0, 0.22); }
.vorstand-stat__num {
    font-family: var(--zvis-font-display);
    font-size: 44px;
    font-weight: 900;
    color: var(--zvis-white);
    line-height: 1;
    margin-bottom: 4px;
}
.vorstand-stat__num sup {
    font-size: 26px;
    color: rgba(255, 255, 255, 0.6);
}
.vorstand-stat__lbl {
    font-family: var(--zvis-font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

/* ── CONTACT CTA ── */
.vorstand-cta {
    background: var(--zvis-dark);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.vorstand-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 99, 166, 0.2), transparent 70%);
    pointer-events: none;
}
.vorstand-cta__inner {
    position: relative;
    z-index: 2;
    text-align: center;
}
.vorstand-cta__title {
    font-family: var(--zvis-font-display);
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--zvis-white);
    margin-bottom: 10px;
}
.vorstand-cta__desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 28px;
}
.vorstand-cta__btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .zvis-formation__top { width: 80%; }
}
@media (max-width: 900px) {
    .zvis-formation__top { width: 100%; }
    .zvis-formation__bottom { grid-template-columns: repeat(2, 1fr); }
    .vorstand-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
    .zvis-formation__top {
        grid-template-columns: 1fr;
        width: 80%;
    }
    .zvis-formation__bottom { grid-template-columns: repeat(2, 1fr); }
    .zvis-formation__connector { width: 100%; }
    .vorstand-cta__btns { flex-direction: column; align-items: center; }
}
