/* Globale Stile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #333;
    padding: 15px 20px;
    color: white;
    position: relative;
    z-index: 10;
}

header .logo img {
    max-height: 50px;
}

header .hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
    background: none;
    border: none;
    z-index: 11;
}

/* Menü */
header .menu {
    display: flex;
    gap: 20px;
}

header .menu ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

header .menu ul li {
    position: relative;
}

header .menu ul li a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.3s ease, color 0.3s ease;
}

header .menu ul li a:hover {
    background: #ff9800;
    color: #fff;
}

header .menu ul .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #444;
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
    list-style: none;
}

header .menu ul li:hover .dropdown-menu {
    display: block;
}

header .menu ul .dropdown-menu li a {
    display: block;
    padding: 8px;
    color: white;
    text-align: left;
    transition: background 0.3s ease;
}

header .menu ul .dropdown-menu li a:hover {
    background: #ff9800;
}

/* Hero-Bereich */
.hero {
    height: calc(100vh - 85px); /* Bildschirmhöhe minus Header */
    background: url('../pics/body_bg_image_1024x1024px.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero-content .cta {
    display: inline-block;
    padding: 10px 20px;
    background: #ff9800;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.hero-content .cta:hover {
    background: #e68a00;
}

/* Hauptinhalt */
main {
    height: calc(100vh - 70px); /* Gleich hoch wie der Hero-Bereich */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #b08d57;
}

/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #333;
    color: white;
    text-align: center;
}

footer .footer-section {
    flex: 1;
    text-align: center;
}

/* Styling für die Bilder im Footer */
footer .footer-logo {
    height: 40px; /* Einheitliche Höhe für alle Logos */
    width: auto; /* Breite proportional zur Höhe */
    display: block;
    margin: 0 auto; /* Zentrierung innerhalb des Containers */
}

/* Styling für Links */
footer a {
    color: #ff9800;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

/* Mobile Ansicht */
@media (max-width: 768px) {
    header .hamburger {
        display: block; /* Hamburger sichtbar */
    }

    header .menu {
        display: none;
        flex-direction: column;
        background: #333;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        padding: 20px;
    }

    header .menu.active {
        display: flex; /* Menü sichtbar */
    }

    header .menu ul {
        flex-direction: column;
        gap: 10px;
    }

    header .menu ul li a {
        text-align: right;
    }

    header .menu ul .dropdown-menu {
        display: none;
        background-color: #444;
    }

    header .menu ul li.open .dropdown-menu {
        display: block;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

    footer .footer-section {
        margin-bottom: 10px;
    }
}