body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #f0f2f5;
    margin: 0;
    padding: 20px;
}

/* Wir umhüllen alles mit einem weißen "Blatt" */
.main-container {
    background-color: white;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

header {
    max-width: 1000px;
    margin: 0 auto 20px auto;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header-left {
    flex: 1;
    text-align: left;
}

.header-left h1 {
    margin: 0;
    font-size: 2.5rem;
}

.header-left h2 {
    color: #208b98;
    margin: 5px 0;
    font-weight: normal;
}

.profile-pic {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #208b98;
    margin: 0 20px;
}

.header-right {
    flex: 1;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
    font-size: 14px;
}

.contact-info li {
    margin-bottom: 5px;
}
.contact-info i {
    margin-right: 10px;
    color: #208b98;
    width: 20px;
    text-align: center;
}
.contact-info a {
    color: inherit;
    text-decoration: none;
}
.contact-info a:hover {
    color: #208b98;
}
.intro-text {
    text-align: left;
    margin-top: 20px;
    padding-bottom: 20px;
}

.content-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    border-top: 2px solid #000000;
    padding-top: 30px;
}

main {
    flex: 7;
}

aside {
    flex: 3;
}

main h2, aside h2 {
    color: #000000;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.skills-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills-list li {
    background-color: #a8b2b6;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

article {
    margin-bottom: 25px;
}

h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

p {
    margin: 5px 0;
}
.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.rating {
    display: flex;
    gap: 5px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #e0e0e0;
    border-radius: 50%;
    display: inline-block;
}

.dot.filled {
    background-color: #208b98;
}

/* Responsive Design für Handys */
@media (max-width: 760px) {
    .header-top {
        flex-direction: column; /* Name, Bild und Kontakte untereinander */
        text-align: center;
    }

    .header-left, .header-right {
        text-align: center;
        flex: none;
        width: 100%;
    }

    .contact-info {
        text-align: center;
        margin-top: 20px;
    }

    .contact-info li {
        justify-content: center; /* Zentriert Icons + Text auf dem Handy */
    }

    .profile-pic {
        margin: 20px 0;
    }

    .content-wrapper {
        flex-direction: column; /* Hauptteil und Seitenleiste untereinander */
        padding: 20px;
    }

    main, aside {
        width: 100%;
    }
    
    .intro-text {
        text-align: center;
    }
}