/* RESET */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* CONTAINER */
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    margin: 0;
}

.logo h4 {
    margin: 0;
    font-weight: normal;
    font-size: 14px;
}

/* HEADER */
header {
    background: white;
    border-bottom: 1px solid #ccc;
}

/* NAVIGATION */
nav {
    background-color: white;
    padding: 0;
    position: relative;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav a {
    text-decoration: none;
    color: grey;
    font-weight: bold;
    display: block;
    padding: 14px 20px;
    font-size: 16px;
}

nav a:hover {
    background-color: white;
}

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 180px;
    z-index: 2000;
}

.dropdown-content a {
    padding: 12px 16px;
    color: black;
}

nav li.open .dropdown-content {
    display: block;
}

/* DESKTOP Hover */
li:hover .dropdown-content,
li:focus-within .dropdown-content {
    display: block;
}

/* Hamburger Button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: rgb(0, 0, 0);
}

/* MOBILE */
@media (max-width: 768px) {

    /* Hamburger sichtbar */
    .nav-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 15px;
        z-index: 3000;
    }

    /* Desktop Hover deaktivieren */
    li:hover .dropdown-content {
        display: none;
    }

    /* Menü geschlossen */
    nav ul {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 60px;
        right: 0;
        width: 75%;
        padding: 20px;
        box-shadow: 0 0 10px rgba(0,0,0,0.15);
        border-radius: 0 0 0 10px;
        z-index: 2000;
    }

    /* Menü geöffnet */
    nav ul.open {
        display: flex;
    }

    /* Links im mobilen Menü: schwarz und größer */
    nav ul a {
        color: black;
        padding: 16px 10px;
        font-size: 18px;
    }

    nav ul a:hover {
        background: #eee;
        color: red;
    }

    /* Dropdowns mobil: sichtbar im Fluss, heller Hintergrund */
    .dropdown-content {
        position: static;
        background-color: #f5f5f5;
        min-width: auto;
        margin-top: 5px;
        padding-left: 15px;
    }

    .dropdown-content a {
        color: black;
        padding: 10px 5px;
        font-size: 16px;
    }

    nav li.open .dropdown-content {
        display: block;
    }
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px;
}

.card img {
    width: 100%;
    border-radius: 10px;
    transition: 0.3s;
}

.card img:hover {
    transform: scale(1.05);
}

/* CTA */
.cta {
    text-align: center;
    padding: 60px 20px;
}

.btn-main {
    display: inline-block;
    padding: 15px 30px;
    background: red;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 6px;
    transition: 0.3s;
}

.btn-main:hover {
    background: darkred;
    transform: scale(1.05);
}

/* Bild Vergrößerung */
.zoom {
    transform: scale(1.4);
    transition: 0.3s;
    z-index: 10;
}
