/* ================= RESET ================= */

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

/* ================= BASIS ================= */

body {
    background-color: #0f172a;
    font-family: Arial, sans-serif;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ================= NAVBAR ================= */

#menu {
    width: 100%;
    background: #020617;
    padding: 20px;
    border-bottom: 2px solid #22c55e;
    border-image: linear-gradient(to right, transparent, #22c55e, transparent) 1;
    box-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

/* GRID LAYOUT */
.menu-inner {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}

/* BRAND */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-name {
    font-size: 22px;
    font-weight: bold;
    color: #22c55e;
    letter-spacing: 1px;
}

/* LOGO */
.logo {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    /*border: 2px solid #22c55e;  Das macht es rund hier! */
    object-fit: cover;
    transition: all 0.3s ease;
}

/* LOGO GLOW */
.logo:hover {
    box-shadow: 0 0 15px #22c55e;
    transform: scale(1.05);
}

/* NAV LINKS */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    justify-self: end;
}

/* LINKS */
.nav-links li a {
    position: relative;
    text-decoration: none;
    color: #cbd5f5;
    font-size: 15px;
    transition: all 0.25s ease;
}

/* HOVER */
.nav-links li a:hover {
    color: #22c55e;
    transform: translateY(-2px);
}

/* UNDERLINE ANIMATION */
.nav-links li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #22c55e;
    transition: 0.3s;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* ================= MAIN ================= */

main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

/* ================= FOOTER ================= */

.footer {
    width: 100%;
    background: #020617;
    padding: 60px 20px 50px 20px;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.5);
    margin-top: 80px;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #22c55e, transparent);
}

/* FOOTER GRID */
.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* FOOTER COLUMN */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #22c55e;
}

/* LINKS */
.footer-column a {
    text-decoration: none;
    color: #cbd5f5;
    margin-bottom: 8px;
    transition: all 0.25s ease;
}

.footer-column a:hover {
    color: #22c55e;
    transform: translateX(5px);
}

/* NEWSLETTER */
.footer-column input {
    padding: 10px;
    border: none;
    border-radius: 6px;
    margin-bottom: 10px;
    outline: none;
    background: #0f172a;
    color: #fff;
}

.footer-column button {
    padding: 10px;
    background: #22c55e;
    color: #020617;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-weight: bold;
}

.footer-column button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34,197,94,0.4);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer {
        margin-top: 60px;
        padding: 50px 20px 40px 20px;
    }
    
    .footer-column {
        align-items: center;
    }
}