/* ====================================
   CONTACT PAGE - CSS
   ==================================== */

/* Contact Hero Section */
.contact-hero {
    background: white;
    padding: 64px 0;
}

.contact-hero .section-badge {
    display: inline-block;
    background: rgba(64, 184, 178, 0.25);
    padding: 8px 24px;
    border-radius: 24px;
    margin-bottom: 24px;
    color: #1d8279;
    font-size: 14px;
    font-weight: 600;
}

.contact-hero .section-badge p {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.contact-hero h1 {
    font-size: 80px;
    font-weight: 900;
    color: #1d8279;
    margin-bottom: 24px;
    line-height: 1.2;
}

.contact-hero p {
    font-size: 18px;
    font-weight: 600;
    color: #3b3b3a;
    max-width: 1100px;
    line-height: 1.55;
}

.contact-hero p strong {
    font-weight: 700;
}

/* Contact Sections */
.contact-section {
    background: #1d8279;
    padding: 80px 0;
    color: white;
}

.contact-section h2 {
    font-size: 40px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.contact-section .section-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 8px 24px;
    border-radius: 24px;
    margin-bottom: 24px;
}

.contact-section .section-badge p {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.section-header {
    margin-bottom: 48px;
    text-align: left;
}

.section-header2 {
    text-align: left;
    margin-top: 48px;
    margin-bottom: 48px;
}
.section-org {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 1);
    line-height: 1.6;
    margin-top: 8px;
}

.section-org a {
    color: white;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.5);
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    font-weight: 600;
    transition: text-decoration-color 0.3s ease;
}

.section-org a:hover {
    text-decoration-color: white;
}

/* Contact Box */
.contact-box {
    background: white;
    border-radius: 16px;
    padding: 40px;
    color: #3b3b3a;
}

.contact-box h3 {
    font-size: 18px;
    font-weight: 700;
    color: #3b3b3a;
    margin-bottom: 32px;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.contact-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* Contact Person Card */
.contact-person {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #1d8279;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

/* Avatar Farben (Placeholder) */
.avatar-01 { background: linear-gradient(135deg, #1d8279 0%, #40b8b2 100%); }
.avatar-02 { background: linear-gradient(135deg, #40b8b2 0%, #1d8279 100%); }
.avatar-03 { background: linear-gradient(135deg, #1d8279 0%, #40b8b2 100%); }
.avatar-04 { background: linear-gradient(135deg, #40b8b2 0%, #1d8279 100%); }
.avatar-05 { background: linear-gradient(135deg, #1d8279 0%, #40b8b2 100%); }
.avatar-06 { background: linear-gradient(135deg, #40b8b2 0%, #1d8279 100%); }
.avatar-07 { background: linear-gradient(135deg, #1d8279 0%, #40b8b2 100%); }
.avatar-08 { background: linear-gradient(135deg, #40b8b2 0%, #1d8279 100%); }

.contact-details {
    flex: 1;
}

.contact-details h4 {
    font-size: 16px;
    font-weight: 700;
    color: #3b3b3a;
    margin-bottom: 4px;
    line-height: 1.2;
}

.position {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
    font-weight: 500;
    line-height: 1.2;
}

.contact-email {
    display: block;
    margin-top: 4px;
    align-items: center;
    gap: 6px;
    color: #1d8279;
    text-decoration: underline;
    text-decoration-color: #1d8279;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.contact-email:hover {
    color: #166359;
    text-decoration-color: #166359;
}

.email-icon {
    font-size: 14px;
    display: none;
}

/* Coordinator vs Dissemination Sections */
.coordinator-section {
    background: #1d8279;
}

.dissemination-section {
    background: transparent;
    padding: 0;
}

.communication-section {
    background: transparent;
    padding: 0;
}

.dissemination-section .contact-box {
    background: white;
    margin-top: 48px;
}

.dissemination-section .contact-box h3 {
    color: #3b3b3a;
}

.communication-section .contact-box {
    background: white;
    margin-top: 48px;
}

.communication-section .contact-box h3 {
    color: #3b3b3a;
}

.dissemination-section .section-header {
    margin-top: 48px;
    margin-bottom: 32px;
    color: white;
}

.communication-section .section-header {
    margin-top: 48px;
    margin-bottom: 32px;
    color: white;
}

.dissemination-section .section-header h2,
.communication-section .section-header h2 {
    color: white;
    margin-bottom: 16px;
}

/* Dreispaltig für Dissemination und Communication */
.dissemination-section .contact-grid,
.communication-section .contact-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-hero {
        padding: 64px 0;
    }

    .contact-hero .section-badge {
        display: inline-block;
        background: rgba(64, 184, 178, 0.25);
        padding: 8px 24px;
        border-radius: 24px;
        margin-bottom: 16px;
        font-size: 12px;
        font-weight: 600;
    }

    .contact-hero .section-badge p {
        font-size: 12px;
        font-weight: 600;
        margin: 0;
    }

    .contact-hero h1 {
        font-size: 48px;
    }

    .contact-hero p {
        font-size: 16px;
    }

    .contact-section {
        padding: 40px 0;
    }

    .contact-section .section-badge {
        display: inline-block;
        background: rgba(255, 255, 255, 0.25);
        padding: 8px 24px;
        border-radius: 24px;
        margin-bottom: 16px;
    }

    .contact-section .section-badge p {
        color: white;
        font-size: 12px;
        font-weight: 600;
        margin: 0;
    }

    .contact-box {
        padding: 24px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .dissemination-section .contact-grid,
    .communication-section .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-person {
        flex-direction: row;
        gap: 16px;
    }

    .contact-avatar {
        width: 64px;
        height: 64px;
        font-size: 14px;
        flex-shrink: 0;
    }
    
    .contact-email {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .contact-hero {
        padding: 80px 32px;
    }

    .contact-hero .section-badge {
        display: inline-block;
        background: rgba(64, 184, 178, 0.25);
        padding: 8px 24px;
        border-radius: 24px;
        margin-bottom: 24px;
        font-size: 20px;
        font-weight: 600;
    }

    .contact-hero .section-badge p {
        font-size: 20px;
        font-weight: 600;
        margin: 0;
    }

    .contact-hero h1 {
        font-size: 48px;
    }

    .contact-hero p {
        font-size: 24px;
        font-weight: 600;
        line-height: 1.5;
    }

    .contact-section {
        padding: 80px 32px;
    }

    .contact-section h2 {
        font-size: 36px;
    }

    .contact-section .section-badge {
        display: inline-block;
        background: rgba(255, 255, 255, 0.25);
        padding: 8px 24px;
        border-radius: 24px;
        margin-bottom: 28px;
    }

    .contact-section .section-badge p {
        color: white;
        font-size: 20px;
        font-weight: 600;
        margin: 0;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dissemination-section .contact-grid,
    .communication-section .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1024px) {
    .contact-hero {
        padding: 96px 0;
    }

    .contact-hero .section-badge {
        display: inline-block;
        background: rgba(64, 184, 178, 0.25);
        padding: 10px 28px;
        border-radius: 24px;
        margin-bottom: 32px;
        font-size: 24px;
        font-weight: 600;
    }

    .contact-hero .section-badge p {
        font-size: 24px;
        font-weight: 600;
        margin: 0;
    }

    .contact-hero h1 {
        font-size: 80px;
    }

    .contact-hero p {
        font-size: 32px;
        font-weight: 600;
        line-height: 1.45;
        max-width: 1100px;
    }

    .contact-section {
        padding: 100px 0;
    }

    .contact-section h2 {
        font-size: 40px;
    }

    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .dissemination-section .contact-grid,
    .communication-section .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1440px) {
    .contact-hero {
        padding: 120px 0;
    }

    .contact-hero .section-badge {
        display: inline-block;
        background: rgba(64, 184, 178, 0.25);
        padding: 10px 28px;
        border-radius: 24px;
        margin-bottom: 40px;
        font-size: 26px;
        font-weight: 600;
    }

    .contact-hero .section-badge p {
        font-size: 26px;
        font-weight: 600;
        margin: 0;
    }

    .contact-hero h1 {
        font-size: 80px;
    }

    .contact-hero p {
        font-size: 36px;
        font-weight: 600;
        line-height: 1.45;
    }

    .contact-section {
        padding: 120px 0;
    }

    .contact-section .section-badge {
        display: inline-block;
        background: rgba(255, 255, 255, 0.25);
        padding: 10px 28px;
        border-radius: 24px;
        margin-bottom: 40px;
    }

    .contact-section .section-badge p {
        color: white;
        font-size: 26px;
        font-weight: 600;
        margin: 0;
    }

    .contact-section h2 {
        font-size: 48px;
    }

    .contact-box {
        padding: 48px;
    }

    .contact-grid {
        gap: 48px;
    }

    .dissemination-section .contact-grid,
    .communication-section .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-avatar {
        width: 64px;
        height: 64px;
        font-size: 16px;
    }

    .contact-details h4 {
        font-size: 18px;
    }
}