/* Küstencode Base Styles */
/* Gemeinsame Styles für alle Seiten */

:root {
    /* Primärfarben */
    --primary: #0F2A3D;
    --primary-light: #1A3D55;
    --primary-super-light: #4A6B85;
    --primary-dark: #081820;

    /* Sekundärfarben */
    --secondary: #2E3440;
    --secondary-light: #3E4450;

    /* Akzentfarbe */
    --accent: #3FA796;
    --accent-light: #5BB5A6;
    --accent-dark: #358C7E;

    /* Hintergrund */
    --background: #F4F6F8;
    --background-gray: #E8ECEF;
    --surface: #FFFFFF;

    /* Text */
    --text-primary: #1A1A1A;
    --text-secondary: #6B7280;
    --text-disabled: #9CA3AF;

    /* Divider */
    --divider: #E5E7EB;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header & Navigation */
header {
    background-color: var(--primary);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--surface);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--surface);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--surface);
    padding: var(--spacing-md) 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: var(--surface);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

/* Responsive Navigation */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 64px;
        flex-direction: column;
        background-color: var(--primary);
        width: 100%;
        text-align: center;
        transition: right 0.3s ease;
        padding: var(--spacing-md) 0;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        right: 0;
    }

    .burger {
        display: block;
    }

    .burger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.active .line2 {
        opacity: 0;
    }

    .burger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    footer .container {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
}
