/* =========================
   BASE = MOBILE FIRST
========================= */

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: #FAFAF7;
}

/* =========================
   HEADER
========================= */

.header {
    position: sticky;
    top: -1px;
    z-index: 1000;
    background-color: #FAFAF7;
    border-bottom: 1px solid #242182;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}

/* LOGO */
.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo .name {
    font-size: 20px;
    font-weight: 600;
    color: #242182;
    white-space: nowrap;
}

.logo-img {
    height: 32px;
}

/* NAV + CTA (not visible on mobile) */
.nav-desktop,
.cta-desktop {
    display: none;
}

/* BURGER */
.burger {
    font-size: 24px;
    background: none;
    border: none;
}

/* =========================
   OVERLAY MENU
========================= */

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    justify-content: flex-end;
    align-items: flex-start;
    z-index: 1050;
}

.logo, .burger {
    position: relative;
    z-index: 1100;
}

.menu-overlay.active {
    display: flex;
}

.menu-content {
    background: #FAFAF7;
    width: 100%;
    padding: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    max-height: 90vh;
}

/* =========================
   MOBILE MENU
========================= */

.icon-close {
    display: none;
}

.menu-open .icon-open {
    display: none;
}

.menu-open .icon-close {
    display: inline;
}

.nav-mobile ul {
    list-style: none;
    padding: 0;
    margin-top: 40px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.nav-mobile a {
    font-size: 18px;
    font-weight: 600;
    color: #242182;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
}

/* =========================
   CTA SYSTEM (NEU & CLEAN)
========================= */

/* BASE */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 12px 18px;

    border-radius: 999px;
    text-decoration: none;

    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;

    white-space: nowrap;
    cursor: pointer;

    transition: all 0.2s ease;
}

/* ICON */
.btn .icon {
    font-size: 16px;
}

/* VARIANTS */
.btn-primary {
    background: #242182;
    color: white;
}

.btn-secondary {
    background: #398FA7;
    color: white;
}

/* HOVER */
.btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

/* MOBILE MENU CTA */
.cta-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
}

.cta-mobile .btn {
    width: 90%;
    margin: 0 auto;
}

/* =========================
   TYPO
========================= */

h1, h2, h3 {
    font-weight: 600;
}

/* =========================
   SECTIONS
========================= */

section {
    padding: 10px 20px 0px;
    scroll-margin-top: 70px;

}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* =========================
   FOOTER
========================= */

.footer {
    border-top: 1px solid #242182;
    padding: 10px 10px;
}
/* Links im Footer */
.footer a {
    color: inherit;
    text-decoration: underline;
}
.footer a:hover {
    opacity: 0.5;
}
.footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.separator {
    display: inline;
}
@media (max-width: 500px) {
    .footer-inner {
        flex-direction: column;
    }
    .separator {
        display: none;
    }
}

/* =========================
   DESKTOP
========================= */

@media (min-width: 1000px) {


    .nav-desktop {
        display: flex;
        margin: 0 auto;
    }

    .nav-desktop ul {
        display: flex;
        gap: 20px;
        list-style: none;
        padding: 0;
        margin: 0;
        padding-left: 16px;
        padding-top: 5px;
        text-transform: uppercase;
    }

    .nav-desktop a {
        font-size: 16px;
        font-weight: 600;
        color: #242182;
        text-decoration: none;
    }

    .cta-desktop {
        display: flex;
        gap: 12px;
        margin-left: auto;
        padding-left: 16px;
    }
    .cta-desktop .btn {
        font-size: 16px;
        padding: 8px 14px;
    }
    .burger {
        display: none;
    }

}