* {
    font-family: 'Gilroy' !important;
}

.more-about-us-section h1 {
    color: #fff;
    font-size: 5rem;
    font-family: 'Gilroy';

    display: block;
    text-align: center;
    margin-top: 5rem;
    font-weight: 900;
}

.team-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px;
}

.team-member {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 0;
    min-height: 600px;
    align-items: stretch;
    border-radius: 1rem;
    overflow: hidden;
    margin: 1rem;
}

.member-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-content {
    padding: 60px 50px;
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-content h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.1;
}

.member-content p {
    margin-bottom: 2rem;
}

.member-role {
    font-size: 1.3rem;
    color: #000;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;

}

.member-description {
    font-size: 1.2rem;
    color: #000;
    font-weight: bold;
    line-height: 1.7;
    margin-bottom: 35px;
}

.member-email {
    font-size: 1.1rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    padding-bottom: 3rem;
}

.member-email:hover {
    color: #4f46e5;
    transform: translateX(5px);
}

.member-email::before {
    content: "✉ ";
    margin-right: 8px;
}

/* Abwechselnde Anordnung */
.team-member:nth-child(even) {
    direction: rtl;
}

.team-member:nth-child(even) .member-content {
    direction: ltr;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-member {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .team-member:nth-child(even) {
        direction: ltr;
    }

    .member-image {
        height: 400px;
        order: 1;
    }

    .member-image img {
        object-position: top;

    }

    #meisels-sonderwunsch {
        object-position: center;

    }

    .member-content {
        height: auto;
        padding: 50px 40px;
        order: 2;
    }



}

@media (max-width: 850px) {
    .team-section {
        padding: 60px 15px;
    }

    .member-content {
        padding: 40px 30px;
    }

    .member-content h2 {
        font-size: 2.2rem;
    }

    .member-role {
        font-size: 1.1rem;
    }

    .member-description {
        font-size: 1.1rem;
    }

    .section-title {
        margin-bottom: 60px;
    }

    .section-title h1 {
        font-size: 2.8rem;
    }

    .section-title p {
        font-size: 1.1rem;
    }

    .more-about-us-section h1 {

        font-size: 4rem !important;

    }
}

@media (max-width: 600px) {
    .more-about-us-section h1 {

        font-size: 3rem !important;

    }
}

@media (max-width: 480px) {
    .member-image {
        height: 300px;
    }

    .member-content {
        padding: 30px 20px;
    }

    .member-content h2 {
        font-size: 1.8rem;
    }

    .section-title h1 {
        font-size: 2rem;
    }

    .more-about-us-section h1 {

        font-size: 2.5rem !important;

    }
}