*,
*::before,
*::after {
    box-sizing: border-box;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

html {
    scrollbar-width: none;
    height: 100%;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    color: white;
    background-color: #000000;
}

.background-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hintergrund.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.main-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    cursor: default;
    position: relative;
    z-index: 1;
}

.main-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    cursor: pointer;
}

.navbar {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

.navbar li {
    margin: 0 15px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}

.navbar a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.content-box {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 20px;
}

.content-box h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2em;
    color: #6a6e50;
}

.content-box p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.content-box strong {
    color: #6a6e50;
}

.content-box a {
    color: white;
    text-decoration: none;
}

.content-box a:hover {
    text-decoration: underline;
}

.footer {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 10px 0;
    text-align: center;
    width: 100%;
    font-size: 0.9em;
}

.footer p {
    margin: 5px 0;
}

.footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

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

.service-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.service-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-item img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 25px;
    flex-shrink: 0;
}

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-item.reverse img {
    margin-right: 0;
    margin-left: 25px;
}

.service-item h3 {
    color: #6a6e50;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5em;
}

.service-item p {
    font-size: 1em;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .navbar {
        justify-content: flex-end;
        padding-right: 15px;
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .navbar ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px 0;
        text-align: center;
    }

    body.menu-expanded .navbar ul {
        display: flex;
    }

    .navbar li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
        position: static;
        margin-left: auto;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
    }

    .service-item img {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .service-item.reverse {
        flex-direction: column;
    }

    .service-item.reverse img {
        margin-left: 0;
        margin-bottom: 15px;
    }

    .content-box {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .content-box {
        padding: 15px;
    }
    .footer {
        font-size: 0.8em;
    }
}