/* ================================================================
   ORGANE – Vereinsorgane / Organigramm
   ================================================================ */

/* ── Header ── */
.organe-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 3.5rem 0 1.5rem;
    position: relative;
}
.organe-header__title {
    color: #fff;
    font-weight: 800;
    font-size: 2.4rem;
    margin-bottom: 0.25rem;
}
.organe-header__subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin-bottom: 0;
}

/* ── Ehrenvorsitzende ── */
.ehren-section {
    padding: 2rem 0 1rem;
}
.section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.ehren-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    margin-right: 0.75rem;
    margin-bottom: 0.5rem;
}
.ehren-badge__icon {
    color: #d97706;
    font-size: 1rem;
}
.ehren-badge__name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #92400e;
}

/* ── Org Chart ── */
.org-section {
    padding: 2rem 0 3rem;
}

/* Tier 1: Präsident */
.org-tier {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}
.org-tier::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    width: 2px;
    height: 1.5rem;
    background: #cbd5e0;
    transform: translateX(-50%);
}
.org-tier:last-child::after {
    display: none;
}

.org-card--president {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    border-radius: 14px;
    padding: 1.5rem 2.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.org-card--president .org-card__icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}
.org-card--president .org-card__name {
    font-weight: 800;
    font-size: 1.2rem;
}
.org-card--president .org-card__role {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 0.15rem;
}

/* Connector */
.org-connector {
    text-align: center;
    position: relative;
    height: 2.5rem;
}
.org-connector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #cbd5e0;
    transform: translateX(-50%);
}
.org-connector--spread::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16.67%;
    right: 16.67%;
    height: 2px;
    background: #cbd5e0;
}

/* Tier 2: Vorstände */
.org-tier--vorstand {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
}
.org-tier--vorstand::after {
    display: none;
}

.org-card--vorstand {
    background: #fff;
    border: 2px solid var(--highlight-color);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    flex: 1 1 0;
    min-width: 0;
    max-width: 280px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: relative;
}
.org-card--vorstand::before {
    content: '';
    position: absolute;
    top: -1.25rem;
    left: 50%;
    width: 2px;
    height: 1.25rem;
    background: #cbd5e0;
    transform: translateX(-50%);
}
.org-card--vorstand .org-card__icon {
    color: var(--highlight-color);
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}
.org-card--vorstand .org-card__name {
    font-weight: 700;
    font-size: 1rem;
}
.org-card--vorstand .org-card__role {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.15rem;
}
.org-card--vorstand .org-card__dept {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--highlight-color);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

/* ── Abteilungen ── */
.dept-section {
    padding: 2rem 0;
    border-top: 1px solid #e2e8f0;
}
.dept-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.dept-header__icon {
    width: 32px;
    height: 32px;
    background: var(--highlight-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
}
.dept-header__title {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.dept-lead {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 2px solid var(--highlight-color);
    border-radius: 10px;
    padding: 0.65rem 1rem;
    margin-bottom: 0.75rem;
}
.dept-lead__avatar {
    width: 36px;
    height: 36px;
    background: #ebf4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--highlight-color);
    font-size: 0.9rem;
    flex-shrink: 0;
}
.dept-lead__name {
    font-weight: 700;
    font-size: 0.95rem;
}
.dept-lead__role {
    font-size: 0.78rem;
    color: var(--highlight-color);
    font-weight: 600;
}

.member-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.5rem 0.85rem;
    margin: 0 0.4rem 0.4rem 0;
    font-size: 0.9rem;
}
.member-chip__avatar {
    width: 28px;
    height: 28px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--highlight-color);
    font-size: 0.7rem;
    flex-shrink: 0;
}
.member-chip__name {
    font-weight: 600;
}
.member-chip__role {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-left: 0.15rem;
}
.member-chip__role::before {
    content: '\00b7';
    margin-right: 0.3rem;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .organe-header__title {
        font-size: 1.8rem;
    }
    .org-connector--spread::after {
        left: 5%;
        right: 5%;
    }
    .org-card--vorstand {
        min-width: 160px;
        flex: 0 1 100%;
    }
    .org-card--vorstand::before {
        display: none;
    }
    .org-tier--vorstand {
        gap: 0.75rem;
    }
}
