/* ------------------------------
   Grunddesign – hell & luftig
--------------------------------*/

:root {
    --primary: #127485; /* Logo-Farbe */
    --text: #333;
    --light: #f7f7f7;
    --white: #ffffff;
    --max-width: 1100px;
    --radius: 6px;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

/* ------------------------------
   Header
--------------------------------*/

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e5e5;
    background: var(--white);
}

header img {
    height: 90px;
}

nav a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--primary);
    font-weight: bold;
}

nav a:hover {
    opacity: 0.7;
}

/* ------------------------------
   Hero
--------------------------------*/

.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: var(--light);
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: #555;
}

.cta {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.4rem;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: bold;
}

/* ------------------------------
   Content Sections
--------------------------------*/

section {
    max-width: var(--max-width);
    margin: 2.5rem auto;
    padding: 0 1rem;
}

h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* ------------------------------
   Footer
--------------------------------*/

footer {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--light);
    margin-top: 3rem;
    color: #666;
}

/* ------------------------------
   Mobile Navigation
--------------------------------*/

@media (max-width: 700px) {
    nav {
        display: none;
    }
}

/* Hamburger Icon */
.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary);
}

/* Mobile Navigation */
@media (max-width: 700px) {

    .nav-links {
        display: none;
        flex-direction: column;
        background: var(--white);
        position: absolute;
        top: 80px;
        right: 20px;
        padding: 1rem 1.5rem;
        border: 1px solid #ddd;
        border-radius: var(--radius);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .nav-links a {
        margin: 0.5rem 0;
        font-size: 1.1rem;
    }

    .hamburger {
        display: block;
    }
}

/* Wenn das Menü geöffnet ist */
.nav-open {
    display: flex !important;
}
