body {
    font-family: 'helvetica', sans-serif;
    color: #cc6383;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.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: 5rem;
    font-weight: bold;
    margin-left: 25rem;
    color: #1C3478;
    -webkit-text-stroke: 2px rgb(255, 255, 255);
    text-decoration: none;
}

/* 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; /* Der Abstand zwischen den Buttons */
    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; /* Hier habe ich den Wert auf 0px gesetzt. Du kannst ihn auch auf 4px oder einen anderen Wert anpassen. */
}

/* 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;
}

.main-content {
    padding-left: 0.5rem;
}

.hero-section {
    padding-left: 3rem;
    max-width: 1000px;
    background-color: #ffffff;
    padding-bottom: 2rem;
    padding-top: 2rem;
    margin-bottom: 10rem;
    margin-top: 5rem;
}

.hero-content {
    flex: 1;
    max-width: 800px;
}

h1 {
    font-size: 2.5em;
    color: #cc6383;
    max-width: 650px;
}

.hero-content p {
    max-width: 650px;
    text-align: justify;
    hyphens: auto;
    font-size: 1.3rem;
    width: 100%;
}

footer {
    background-color: #1C3478;
    padding: 40px; /* Entfernt das seitliche Padding */
    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: #dab154;
    margin-bottom: 15px;
    text-decoration: none;
}

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

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

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

.footer-info a {
    color: #ffffff;
    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: #e66b93;
    transition: color 0.3s ease;
}

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

/* ---------------------------------------------------- */
/* MEDIA QUERIES für responsive Darstellung */
/* ---------------------------------------------------- */

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

@media (max-width: 768px) {
    /* ----- Header und Logo ----- */
    .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);
    }
    
    /* Versteckt die Desktop-Navigation und zeigt das mobile Menü */
    .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; /* Fügt einen Abstand zum rechten Rand hinzu */
    }

    /* Stile für den Menü-Button */
    .menu-button {
        display: inline-block; /* Sorgt dafür, dass der Button zentriert werden kann */
        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;
    }

    @media (max-width: 480px) {
        .logoname a {
            font-size: 2.5rem;
        }
        .hero-section {
            margin-bottom: 5rem;
        }
        .hero-content p {
            font-size: 0.9rem;
        }
    }

