html {
    box-sizing: border-box;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'helvetica', sans-serif;
    overflow-x: hidden;
}

/* Header-Styles (Desktop) */
.site-header {
    position: relative;
    padding: 2rem 1.5rem 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    z-index: 10;
}

.logoname a {
    font-size: 2rem;
    font-weight: bold;
    margin-left: 35rem;
    color: #dab154;
    text-decoration: none;
}

.desktop-navigation {
    top: 40%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 2;
    padding-right: 0.8rem;
    position: fixed;
}

.desktop-navigation a {
    color: #1C3478;
    text-decoration: none;
    font-size: 2.5rem;
    display: flex;
    justify-content: flex-end;
    font-weight: bold;
    padding: 6px;
    margin: 8px;
    background-color: #ffffff;
    border-color: #1C3478;
    border-style: solid;
    border-radius: 40px;
}

.desktop-navigation a:hover {
    background: linear-gradient(90deg, #C0F6F9 60%, transparent 100%);
    color: #1C3478;
}

.desktop-navigation .main-nav-items,
.desktop-navigation .language-switcher {
    list-style: none;
    padding: 0;
    margin: 0;
}

.desktop-navigation .language-switcher {
    margin-top: 0px;
}

.desktop-navigation .language-switcher li a {
    font-weight: lighter;
    color: #cc6383;
    justify-content: flex-end;
}

.desktop-navigation .language-switcher li a[aria-current="page"] {
    background: linear-gradient(90deg, #C0F6F9 60%, transparent 100%);
    font-weight: lighter;
}

/* Mobile Navigation (Desktop-Ansicht) */
.mobile-navigation {
    display: none;
}

/* Content-Styles (Desktop) */
.main-content {
    width: 100%;
    color: #1C3478;
}

.hero-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 6rem;
    padding-bottom: 2rem;
    background-color: #ffffff;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: left;
    position: relative;
}

.hero-content h1 {
    font-size: 2.5em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-top: -1.5rem;
    padding: 0.1em 0;
    color: #cc6383;
}

.hero-content h2 {
    font-weight: initial;
}

.hero-content p {
    text-align: left;
    font-size: 14pt;
    margin-bottom: 1em;
    margin-top: 0;
    text-align: justify;
    hyphens: auto;
}

.bio-columns-wrapper {
    display: flex;
    gap: 3rem;
    width: 100%;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.bio-left-column {
    flex: 1;
    min-width: 300px;
    max-width: 40%;
}

.bio-right-column {
    flex: 1;
    min-width: 300px;
    max-width: 40%;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    position: relative;
    margin-top: 15em;
}

.about-content {
    text-align: center;
    position: absolute;
    width: 350px;
    height: 350px;
}

.about-content img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    margin-top: -5rem;
}

.cv-section {
    width: 100%;
}

.cv-section h2 {
    text-align: left;
    margin-top: 0;
    font-weight: bold;
    color: #cc6383;
}

.cv-columns-wrapper {
    display: flex;
    gap: 3rem;
    width: 100%;
    flex-wrap: wrap;
}

.cv-column {
    flex: 1;
    min-width: 300px;
    max-width: 40%;
}

.cv-column h3 {
    font-size: 1.3em;
    margin-bottom: 0.5em;
    margin-left: 0;
    padding-left: 0;
}

.cv-column ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2em;
    margin-top: 0;
    margin-left: 0;
}

.cv-column ul li {
    font-size: 14pt;
    line-height: 1.6;
}

footer {
    background-color: #e66b93;
    padding: 40px 20px;
    border: 1px solid #1C3478;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 150px;
    margin: 10px;
}

.footer-ueberschrift {
    font-size: 20pt;
    font-weight: bold;
    color: #C0F6F9;
    margin-bottom: 15px;
}

.footer-social-ueberschrift {
    font-size: 16pt;
    color: #1C3478;
}

.footer-vertrauen-uberschrift {
    font-size: 16pt;
    color: #1C3478;
}

.footer-info {
    font-size: 12pt;
    color: #1C3478;
    margin-bottom: 5px;
}

.footer-info a {
    color: #1C3478;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon i {
    font-size: 28px;
    color: #C0F6F9;
    transition: color 0.3s ease;
}

.social-icon i:hover {
    color: #c0c0c0;
}

/* ---------------------------------------------------- */
/* Allgemeine Stile für die Seite */
/* ---------------------------------------------------- */

body {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'helvetica', sans-serif;
    overflow-x: hidden;
}

/* Header-Styles (Desktop) */
.site-header {
    position: relative;
    padding: 2rem 1.5rem 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    z-index: 10;
}

.logoname a {
    font-size: 2rem;
    font-weight: bold;
    color: #dab154;
    text-decoration: none;
    /* Der feste margin-left wurde hier entfernt, da er nicht responsiv ist */
}

/* Stile für die Desktop-Navigation */
.desktop-navigation {
    top: 40%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 2;
    padding-right: 0.8rem;
    position: fixed;
}

/* Allgemeine Stile für alle Navigationslinks */
.desktop-navigation a {
    color: #1C3478;
    text-decoration: none;
    font-size: 2.5rem;
    display: flex;
    justify-content: flex-end;
    font-weight: bold;
    padding: 6px;
    margin: 8px;
    background-color: #ffffff;
    border-color: #1C3478;
    border-style: solid;
    border-radius: 40px;
}

.desktop-navigation a:hover {
    background: linear-gradient(90deg, #C0F6F9 60%, transparent 100%);
    color: #1C3478;
}

/* Entfernt Standard-Listenabstände für beide Listen */
.desktop-navigation .main-nav-items,
.desktop-navigation .language-switcher {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Reduziert den oberen Rand des Sprachumschalters für einen geringeren Abstand */
.desktop-navigation .language-switcher {
    margin-top: 0px;
}

/* Anpassungen für die Sprachbuttons, um das gleiche Layout zu erhalten */
.desktop-navigation .language-switcher li a {
    font-weight: lighter;
    color: #cc6383;
    justify-content: flex-end;
}

.desktop-navigation .language-switcher li a[aria-current="page"] {
    background: linear-gradient(90deg, #C0F6F9 60%, transparent 100%);
    font-weight: lighter;
}

/* Verstecke das mobile Menü standardmäßig */
.mobile-navigation {
    display: none;
}

/* Content-Styles (Desktop) */
.main-content {
    width: 100%;
    color: #1C3478;
    padding: 0 1.5rem; /* Seitlicher Abstand für Desktop-Inhalt */
}

.hero-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 6rem;
    padding-bottom: 2rem;
    background-color: #ffffff;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
    position: relative;
    hyphens: none;
}

.hero-content h1 {
    font-size: 2.5em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-top: -1.5rem;
    padding: 0.1em 0;
    color: #cc6383;
}

.hero-content h2 {
    font-weight: initial;
}

.hero-content p {
    text-align: left;
    font-size: 14pt;
    margin-bottom: 1em;
    margin-top: 0;
}

.bio-columns-wrapper {
    display: flex;
    gap: 3rem;
    width: 100%;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.bio-left-column {
    flex: 1;
    min-width: 300px;
    max-width: 40%;
}

.bio-right-column {
    flex: 1;
    min-width: 300px;
    max-width: 40%;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    position: relative;
    margin-top: 15em;
}

.about-content {
    text-align: center;
    position: absolute;
    margin-top: 2rem;
    right: 20rem;
    width: 350px;
    height: 350px;
}

.about-content img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.cv-section {
    width: 100%;
}

.cv-section h2 {
    text-align: left;
    margin-top: 0;
    font-weight: bold;
    color: #cc6383;
}

.cv-columns-wrapper {
    display: flex;
    gap: 3rem;
    width: 100%;
    flex-wrap: wrap;
}

.cv-column {
    flex: 1;
    min-width: 300px;
    max-width: 40%;
}

.cv-column h3 {
    font-size: 1.3em;
    margin-bottom: 0.5em;
    padding-left: 0;
}

.cv-column ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2em;
    margin-top: 0;
}

.cv-column ul li {
    font-size: 14pt;
    line-height: 1.6;
}

footer {
    background-color: #e66b93;
    padding: 40px 20px;
    border: 1px solid #1C3478;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 150px;
    margin: 10px;
}

.footer-ueberschrift a {
    font-size: 20pt;
    font-weight: bold;
    color: #C0F6F9;
    margin-bottom: 15px;
    text-decoration: none;
}

.footer-social-ueberschrift {
    font-size: 16pt;
    color: #1C3478;
}

.footer-vertrauen-uberschrift {
    font-size: 16pt;
    color: #1C3478;
}

.footer-info {
    font-size: 12pt;
    color: #1C3478;
    margin-bottom: 5px;
}

.footer-info a {
    color: #1C3478;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon i {
    font-size: 28px;
    color: #C0F6F9;
    transition: color 0.3s ease;
}

.social-icon i:hover {
    color: #c0c0c0;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
/* ---------------------------------------------------- */
/* MEDIA QUERIES für responsive Darstellung */
/* ---------------------------------------------------- */

@media (max-width: 1200px) {
    .logoname a {
        font-size: 4rem;
        margin-left: 15rem;
    }
}

@media (max-width: 768px) {
    /* --- Allgemeine Responsive-Einstellungen --- */
    body {
        width: 100%;
        overflow-x: hidden;
    }

    /* --- Header- und Navigations-Anpassungen --- */
    .site-header {
        flex-direction: column;
        align-items: center; /* Zentriert das Logo und die Navigation horizontal */
        padding: 1.5rem;
    }
    .logoname a {
        font-size: 3rem;
        margin-left: 0;
        -webkit-text-stroke: 1.5px rgb(255, 255, 255);
    }
    .desktop-navigation {
        display: none;
    }
    .mobile-navigation {
        display: block;
        width: 100%;
        text-align: right; /* Zentriert den Menü-Button horizontal */
        position: relative;
        margin-top: 1rem;
        padding-right: 1rem;
    }
    .menu-button {
        display: inline-block;
        color: #1C3478;
        text-decoration: none;
        font-size: 1.5rem;
        font-weight: bold;
        padding: 6px;
        margin: 8px;
        background-color: #ffffff;
        border-color: #1C3478;
        border-style: solid;
        border-radius: 40px;
        cursor: pointer;
    }
    .menu-toggle {
        display: none;
    }
    .main-nav-items {
        display: none;
        flex-direction: column;
        z-index: 9;
        list-style-type: none;
        padding: 0;
        
        /* Zentrierung des Dropdown-Menüs */
        position: absolute;
        top: 100%; /* Platziert das Menü unter dem Menü-Button */
        left: 50%; /* Startet die Positionierung von der Mitte */
        right: 0;
    }
    .menu-toggle:checked ~ .main-nav-items {
        display: flex;
    }
    .main-nav-items li {
        width: 100%;
    }
    .main-nav-items li a {
        display: block;
        text-align: center;
        font-size: 1.5rem;
        font-weight: bold;
        padding: 6px;
        margin: 5px;
        background-color: #ffffff;
        border-color: #1C3478;
        border-style: solid;
        border-radius: 40px;
        color: #1C3478;
        text-decoration: none;
    }
    .main-nav-items li a:hover {
        background: linear-gradient(90deg, #C0F6F9 60%, transparent 100%);
        color: #1C3478;
    }
    .main-nav-items li:nth-last-child(2) a,
    .main-nav-items li:last-child a {
        font-weight: lighter;
        color: #cc6383;
        justify-content: center;
        text-align: center;
    }
    .main-nav-items li:nth-last-child(2) a[aria-current="page"] {
        background: linear-gradient(90deg, #C0F6F9 60%, transparent 100%);
        font-weight: lighter;
    }

    /* --- Anpassungen für die Bio-Seite --- */
    .hero-section {
        padding-top: 2rem;
        padding-bottom: 1rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .main-content {
        padding: 0; /* Entfernt den seitlichen Padding, der auf Desktop gesetzt war */
    }
    .hero-content {
        padding: 0; /* Entfernt den seitlichen Padding */
        text-align: left;
        
    }
    .hero-content p {
        text-align: left;
        padding: 0 0.5rem; /* Fügt hier einen minimalen seitlichen Abstand hinzu */
        text-align: justify;
        hyphens: auto;
    }
    .hero-content h1, .hero-content h2 {
        padding: 0 0.5rem; /* Auch für die Überschriften */
    }
    .hero-content h1 {
        font-size: 1.8em;
        margin-top: 0;
    }
    .hero-content h2 {
        font-size: 1.1em;
    }
    .bio-columns-wrapper, .cv-columns-wrapper {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1rem;
        padding: 0 0.5rem; /* Fügt hier seitlichen Abstand hinzu */
    }
    .bio-left-column, .bio-right-column, .cv-column {
        min-width: 100%;
        max-width: 100%;
    }
    .bio-right-column {
        margin-top: 1rem;
    }
    .about-content {
        position: relative;
        margin-top: 0;
        right: auto;
        width: 100%;
        height: auto;
    }
    .about-content img {
        width: 100%;
        height: auto;
    }
    .cv-section {
        padding: 0.5rem;
    }
    .cv-column h3 {
        font-size: 1.2em;
    }

    /* --- Footer-Anpassungen --- */
    footer {
        padding: 20px; /* Vertikales Padding reduzieren, seitliches auf 0 */
        width: 100%;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    .footer-section {
        margin-bottom: 15px;
        text-align: center;
        
    }
}

@media (max-width: 400px) {
    .logoname a {
        font-size: 2.5rem;
    }
    .hero-content p, .hero-content h1, .hero-content h2,
    .bio-columns-wrapper, .cv-columns-wrapper, .cv-section,
    .footer-section {
        padding: 0 0.2rem; /* Seitlichen Abstand für sehr kleine Bildschirme weiter reduzieren */
    }
    .hero-content p {
        font-size: 12pt;
        hyphens: auto;
        text-align: justify;
    }
}