/* frontend/public/css/styles.css */
/* 🧼 Reset & Basis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    /* Platz für den fest stehenden Footer, damit er den Inhalt nicht überdeckt.
       Wert etwas großzügig, da der Footer je nach Umbruch unterschiedlich hoch ist. */
    padding-bottom: 120px;
}

body {
    line-height: 1.6;
    background-color: #fff;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.home-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(to right, #7e7f80, #e3e3e4);
    color: rgb(250, 226, 6);
}

.home-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.home-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: white;
    color: #004080;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: #f0f0f0;
}

.home-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 3rem 2rem;
    background-color: #f9f9f9;
}

.feature {
    flex: 1 1 300px;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.btn-secondary {
    display: inline-block;
    margin-top: 1rem;
    background-color: #004080;
    color: white;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: 4px;
}

.btn-secondary:hover {
    background-color: #0066cc;
}


/* 📱 Responsive Anpassung */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background-color: #004080;
        width: 100%;
        display: none;
        padding: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .burger {
        display: flex;
    }
}
