.about-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; 
    max-width: 1200px;
    margin: 0 auto;
    gap: 3vw;
    box-sizing: border-box;
}

.about-col {
    flex: 1;
}

.about-img-container {
    display: flex;
    flex: 0.5;
    justify-content: center;
    max-width: 100%;
    box-sizing: border-box;
}

.about-img {
    width: 100%;
    max-width: 400px; 
    height: auto; 
    position: relative;
    overflow: hidden; 
}

.about-img img {
    object-fit: cover; 
    object-position: top center; 
    border-radius: 5px;
} 

.about_title {
    text-align: center; 
    margin-bottom: 1rem;
    color: var(--text-color);
}

.intro-text {
    margin-bottom: 2rem;
}

.tab-titles {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
    cursor: pointer;
}

.tab-links {
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.tab-links:hover, .active-link {
    background-color: rgba(255, 255, 255, 0.3);
}

.tab-contents {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0; 
    pointer-events: none;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 5px;
    padding: 20px;
    box-sizing: border-box;
}

.tab-contents:hover {
    transform: scale(1.05);
}

.active-tab {
    position: static;
    opacity: 1;
    pointer-events: auto; 
    z-index: 1; 
}

.about-img-container {
    flex: 0.5;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 20px;
}

.about-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 5px;
}

/* Responsive Anpassungen */
@media screen and (max-width: 550px) {
    aboutDesktop {
        display: none;
    }

    .about-container {
        flex-direction: column;
        align-items: center;
        display: none;
    }

    .about-img-container {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        margin-top: 20px;
    }

    .about-img {
        height: 300px;
        max-width: 300px;
        border-radius: 50%;
    }

    .about-img img {
        width: 100%;
        height: 100%;
    }
    
    .tab-titles {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 0; 
    }

    .tab-links {
        width: 100%;
        text-align: center;
        padding: 3vw 0;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
        transition: background-color 0.3s ease;
        font-weight: bold;
    }

    .tab-links.active-link {
        background-color: rgba(255, 255, 255, 0.3);
    }

    .tab-contents {
        display: none;
        position: static;
        opacity: 1;
        pointer-events: auto;
        z-index: 1;
        border: none;
        padding: 0;
        margin-top: 10px;
    }

    .active-tab {
        display: block;
        padding: 20px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 5px;
        margin-top: 10px;
    }
}