.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    flex-wrap: wrap;
    z-index: 1;
}

.header * {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: transparent;
}

.Logo {
    height: 6rem;
}


nav li[aria-current]:not([aria-current="false"]) a {
    color: #B8327A;
}

.nav-item {
    margin: 0 0.5rem;
    align-items: center;
    white-space: nowrap;
}

.nav-item a {
    font-size: 1.35rem;
    font-weight: 500;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer * {
    display: flex;
    background-color: transparent;
}

.footer nav {
    flex: 0 0 auto;
    align-items: center;
}

.footer-item {
    align-items: center;
    margin: 0 0.5rem;
}

.footer-item a {
    font-size: 0.75rem;
    color: #000000;
}

.footer-item a:hover {
    color: #B54E9B;
}

.navigation-mobile {
    display: none;
}

/* Menue-Button (Handy): drei schlanke pinke Striche, werden beim Oeffnen zum X */
label.hamburg {
    display: block;
    width: 44px;
    height: 44px;
    position: relative;
    cursor: pointer;
}

input#hamburg {
    display: none
}

.line {
    position: absolute;
    left: 9px;
    height: 3px;
    width: 26px;
    background: #B8327A;
    border-radius: 2px;
    display: block;
    transition: 0.3s;
    transform-origin: center;
}

.line:nth-child(1) {
    top: 13px;
}

.line:nth-child(2) {
    top: 21px;
}

.line:nth-child(3) {
    top: 29px;
}

#hamburg:checked+.hamburg .line:nth-child(1) {
    transform: translateY(8px) rotate(-45deg);
}

#hamburg:checked+.hamburg .line:nth-child(2) {
    opacity: 0;
}

#hamburg:checked+.hamburg .line:nth-child(3) {
    transform: translateY(-8px) rotate(45deg);
}

.mobile-header {
    justify-content: start;
    display: flex;
    transition: all 0.2s linear;
    flex-direction: row;
}

.menu {
    padding-left: 0;
    margin-left: 0;
}

.menu li:first-child {
    padding-left: 0;
}

.menu>li>a {
    color: #2E2E2E;
}

.menu>li>a:hover {
    color: #B54E9B
}

.navigation-socials ul {
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.navigation-socials a img {
  width: 36px;
  height: 36px;
  transition: transform 0.2s ease;
}

.navigation-socials a img:hover {
  transform: scale(1.1);
}

/* Kleine Laptops / Tablets quer: Menue und Logo etwas kleiner, damit alles in eine Zeile passt */
@media screen and (min-width: 1001px) and (max-width: 1250px) {
    .nav-item a {
        font-size: 1.2rem;
    }

    .Logo {
        height: 6rem;
    }
}

/* Bis 1000px Breite: Menue-Button statt Menueleiste, Menue als Vollbild im Farbverlauf */
@media screen and (max-width: 1000px) {
    .navigation-desktop {
        display: none;
    }

    .navigation-mobile {
        display: flex;
    }

    /* Kopfleiste: Logo links, Menue-Button rechts (4rem Logo + Abstand = 4.5rem hoch) */
    .header {
        justify-content: space-between;
        padding: .25rem 1.25rem;
    }

    .navigation-logo {
        order: -1;
    }

    .Logo {
        height: 4rem;
    }

    .mobile-header {
        position: fixed;
        top: 4.5rem;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
        justify-content: center;
        padding: 1rem 0;
        /* Scrollen nur, wenn das Menue nicht auf den Bildschirm passt */
        overflow-y: auto;
        background: linear-gradient(180deg, #D6F0FA 0%, #E4F4FB 55%, #F7E4EF 100%);
    }

    /* Vertikal mittig; passt das Menue nicht, beginnt es oben statt abgeschnitten zu werden */
    .mobile-header>nav {
        width: 100%;
        margin: auto 0;
    }

    .menu {
        margin: 0;
        padding: 0;
        width: 100%;
        text-align: center;
    }

    .menu>.nav-item {
        margin: 0;
        justify-content: center;
    }

    .nav-item a.mobile-navigation-link {
        display: block;
        padding: .8rem 1rem;
        font-size: 1.8rem;
    }

    .mobile-header li[aria-current]:not([aria-current="false"]) a {
        text-decoration: underline;
        text-decoration-thickness: 3px;
        text-underline-offset: 8px;
    }

    .navigation-socials ul {
        padding: 0;
        margin: 0;
    }
}

/* Handy: Social-Icons mittig ueber Impressum/Datenschutz, sonst ist der Footer breiter als der Bildschirm */
@media screen and (max-width: 767px) {
    .footer {
        flex-direction: column;
        gap: .75rem;
        padding: 1rem 0;
    }

    .footer nav {
        justify-content: center;
    }

    /* Standard-Einzug von Listen entfernen, sonst sitzen die Links rechts neben der Mitte */
    .footer ul {
        margin: 0;
        padding: 0;
    }
}
