html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.navbar-menu {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.navbar-menu li {
    margin: 0 20px;
    position: relative;
}

.navbar-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 100;
    font-size: 1rem;
    position: relative;
    font-weight: 100;
    cursor: pointer;
}

.navbar-menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.navbar-menu li a:hover::after {
    width: 100%;
}

.navbar ul li:last-child {
    margin-right: 50px;
}

.navbar-logo img {
    margin-left: 50px;
    width: 120px;
    cursor: pointer;
}

.navbar.white {
    background-color: rgba(0, 0, 0, 0.7);
}

.navbar.white .navbar-menu li a {
    color: white;
}

.navbar.white .navbar-menu li a::after {
    background-color: white;
}

.navbar.shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.flag {
    width: 40px;
}

#toggle {
    display: none;
}

#toggle:checked+.hamburger div {
    background-color: white;
}

.hamburger {
    position: absolute;
    top: 5em;
    right: 10%;
    margin-left: -2em;
    margin-top: -65px;
    width: 2em;
    height: 45px;
    z-index: 5;
    margin-right: -10px;
}

.hamburger div {
    position: sticky;
    width: 2.7em;
    height: 8px;
    border-radius: 3px;
    background-color: black;
    margin-top: 7px;
    transition: all 0.3s ease-in-out;
}

.nav {
    position: fixed;
    z-index: 3;
    width: 100%;
    height: 100%;
    background-color: #0f172a;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    transform: scale(0);
    text-align: center;
}

.nav-wrapper {
    position: relative;
    overflow: hidden;
    overflow-y: auto;
    height: 100%;
    margin-top: 40%;
}

.nav-ham a {
    position: relative;
    text-decoration: none;
    color: #FFF;
    font-size: 1.6rem;
    display: inline-block;
    margin-top: 1.25em;
    transition: color 0.2s ease-in-out;
    letter-spacing: 1px;
    font-weight: 100;
}

.nav-ham a:before {
    content: '';
    height: 0;
    position: absolute;
    width: 0.25em;
    background-color: white;
    left: -0.5em;
    transition: all 0.2s ease-in-out;
}

.nav-ham a:hover {
    color: white;
}

.nav-ham a:hover:before {
    height: 100%;
}

.logo-ham {
    margin-left: 200px;
    margin-top: 15px;
    width: 200px;
    cursor: pointer;
    z-index: 3;
    position: absolute;
}

.globe-ham {
    width: 30px;
    margin-bottom: -6px;
    margin-top: 20px;
}

#toggle:checked+.hamburger .top-bun {
    transform: rotate(-45deg);
    margin-top: 25px;
}

#toggle:checked+.hamburger .bottom-bun {
    opacity: 0;
    transform: rotate(45deg);
}

#toggle:checked+.hamburger .meat {
    transform: rotate(45deg);
    margin-top: -7px;
}

#toggle:checked+.hamburger+.nav {
    top: 0;
    transform: scale(1);
}

.hamburger-menü {
    display: none;
}

@media screen and (max-width: 768px) {
    .navbar {
        display: none;
    }

    .hamburger-menü {
        display: block;
    }

    .logo-ham {
        margin-left: 15px;
        width: 130px;
    }
}

@media screen and (min-width:768px) and (max-width:1400px) {
    .navbar {
        display: none;
    }

    .hamburger-menü {
        display: block;
    }

    .logo-ham {
        margin-left: 50px;
        width: 100px;
    }
}

main {
    transform: translateX(-100%);
    transition: transform .5s ease-out;
    margin-top: 10%;
    margin-left: 10%;
    margin-right: 10%;
}


h1 {
    color: #03396C;
    font-size: 2.4rem;
}

.info {
    color: #425466;
    font-weight: 100;
    font-size: 1.125rem;
}

.outer {
    display: flex;
    justify-content: center;
}

.inner {
    width: 100%;
    background: #fff;
    box-shadow: 0px 0px 25px 7px #cffafe;
    border-radius: 20px;
    padding: 30px;
}

.inner-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.muc {
    width: 100%;
    color: #03396C;
}

.ech {
    width: 100%;
    color: #03396C;
}

.ech h3 {
    color: #03396C;
    font-weight: 400;
}

.inner-container h2 {
    font-weight: 400;
}

.inner-container p {
    color: #425466;
    font-size: 1.125rem;
    margin: 0;
    font-weight: 100;
    line-height: 25px;
}

footer {
    background-color: #e0f2fe;
    padding: 40px;
    margin-top: 10%;
}

.footer-container {
    display: flex;
    justify-content: center;
    margin-left: 1%;
    margin-right: 1%;
    gap: 60px;
}

.logo-footer img {
    width: 200px;
    margin-top: 15px;
}

footer h5 {
    font-size: .9rem;
    font-weight: 500;
}

footer a {
    text-decoration: none;
    color: black;
    font-weight: 100;
    font-size: .8rem;
    line-height: 20px;
}

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

footer p {
    color: black;
    font-weight: 100;
    font-size: .8rem;
    margin: 0px;
    padding: 0px;
}

.Elisenhof {
    text-decoration: underline;
}

.rechtliches {
    text-align: center;
    margin-top: 5%;
}

.rechtliches span {
    margin: 10px;
}

hr {
    width: 80%;
}

@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 10px;
    }

    h5 {
        margin-bottom: 15px;
    }

    .logo-footer {
        display: none;
    }

    .rechtliches {
        margin-top: 7%;
    }

    main {
        margin-top: 25%;
        margin-left: 3%;
        margin-right: 3%;
    }
}