/* ==========================================================================
   GLOBAL RESET & BASE STYLES
   ========================================================================== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Inter',sans-serif;
    background:#fff;
    color:#111;
}

.container{
    width:90%;
    max-width:1400px;
    margin:auto;
}

/* Gemeinsame Button-Grundlage (falls benötigt) oder Direkt-Klassen */
.btn-primary{
    background:#b6d61d;
    color:#000;
    padding:15px 28px;
    text-decoration:none;
    font-weight:700;
    border-radius:4px;
    display: inline-block; /* Verhindert Layout-Verschiebungen */
}

.center{
    text-align:center;
    margin-top:50px;
}


/* ==========================================================================
   NAVBAR (Auf jeder Seite gleich)
   ========================================================================== */
.navbar{
    background:#071018;
    padding:20px 0;
    position:sticky;
    top:0;
    z-index:999;
}

.nav-wrapper{
    display:flex;
    align-items:center;
    justify-content:space-between;
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-img {
    height: 85px;     /* Passt sich genau der Höhe der Navbar an */
    width: auto;      /* Verhindert Verzerrungen */
    display: block;
}

.logo-text h2{
    color:#fff;
    font-size:28px;
    font-family:'Oswald',sans-serif;
    letter-spacing:1px;
}

.logo-text h2 span{
    color:#b6d61d;
}

.logo-text p{
    color:#fff;
    font-size:11px;
    letter-spacing:3px;
}

nav{
    display:flex;
    gap:35px;
}

nav a{
    text-decoration:none;
    color:#fff;
    font-size:14px;
    font-weight:600;
    transition:0.3s;
}

nav a:hover,
nav a.active{
    color:#b6d61d;
}


/* ==========================================================================
   FOOTER (Auf jeder Seite gleich)
   ========================================================================== */
.footer{
    background:#050b12;
    color:#fff;
    padding-top:80px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:60px;
    padding-bottom:60px;
}

.footer h4{
    margin-bottom:25px;
    color:#b6d61d;
}

.footer ul{
    list-style:none;
}

.footer li{
    margin-bottom:14px;
    color:#c7c7c7;
}

.footer-text{
    margin-top:25px;
    color:#c7c7c7;
    line-height:1.8;
}

.footer-btn{
    margin-top:20px;
    display:inline-block;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,0.1);
    padding:25px 0;
    text-align:center;
    color:#aaa;
}


/* ==========================================================================
   GLOBAL RESPONSIVE & BURGER MENU
   ========================================================================== */

/* Burger-Button (Standardmäßig unsichtbar auf Desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Mobile & Tablet Ansicht */
@media(max-width:1200px){
    .footer-grid{
        grid-template-columns:repeat(2,1fr);
    }

    /* Zeige den Burger-Button an */
    .menu-toggle {
        display: flex;
    }

    /* Desktop-Button in der Navbar mobil verstecken */
    .nav-wrapper .btn-primary {
        display: none;
    }

    /* Das Nav-Menü wird zum Vollbild-Overlay */
    nav {
        position: fixed;
        top: 0;
        right: -100%; /* Versteckt sich außerhalb des Bildschirms */
        width: 100%;
        height: 100vh;
        background: #071018;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 35px;
        transition: right 0.4s cubic-bezier(0.1, 0.9, 0.2, 1);
        z-index: 998;
    }

    /* Klasse wird per JS hinzugefügt, wenn offen */
    nav.open {
        right: 0;
    }

    nav a {
        font-size: 24px;
        font-family: 'Oswald', sans-serif;
        letter-spacing: 1px;
    }
}

/* Burger-Animation zum "X" wenn geöffnet */
.menu-toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: #b6d61d;
}
.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: #b6d61d;
}

/* Reine Smartphone-Ansicht */
@media(max-width:768px){
    .footer-grid{
        grid-template-columns:1fr;
    }
    
    .logo-img {
        height: 65px; /* Etwas kompakter auf Handys */
    }

    .logo-text h2 {
        font-size: 22px;
    }

    .logo-text p {
        font-size: 9px;
        letter-spacing: 2px;
    }
}