:root {
    /* === Primärfarbe (Warmes Mauve/Pflaume) === */
    --primary-color: #7a5268;
    --primary-hover: #5e3d50;
    --primary-light: #f0e6ee;

    /* === Warme Akzentfarbe (Dusty Rose) === */
    --accent: #b5706b;
    --accent-hover: #9a5c57;
    --accent-light: #faeae9;

    /* === Hintergrundfarben (warm, nicht steril weiß) === */
    --bg-color: #faf5f0;          /* Warmes Creme-Weiß */
    --bg-alt: #f4ece5;            /* Etwas dunkleres Beige für Abwechslung */
    --bg-rose: #fdf1ef;           /* Sehr helles Rosa für Sektionen */
    --card-bg: #fffef9;           /* Warme Kartenfarbe */
    --warm-cream: #f7ede6;        /* Sattes Creme für Akzentsektionen */

    /* === Textfarben === */
    --text-color: #3a3232;        /* Warm-Dunkel statt Schwarz */
    --text-light: #7a6b68;        /* Warmes Grau */

    /* === Schatten (mit Warmton) === */
    --shadow: 0 8px 28px rgba(90, 50, 40, 0.09);
    --shadow-hover: 0 16px 40px rgba(90, 50, 40, 0.14);
    --shadow-soft: 0 4px 16px rgba(90, 50, 40, 0.06);

    /* === Übergänge === */
    --transition: all 0.3s ease;
    --radius: 20px;
    --radius-lg: 28px;
    --spacing-section: 70px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Optima', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    padding-bottom: 14px;
    font-weight: 400;
    letter-spacing: 0.6px;
    color: var(--primary-color);
    line-height: 1.3;
}

p {
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.75;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

/* Dekorative Akzentworte in der Primärfarbe */
.decorationswords {
    color: var(--accent);
    font-weight: 600;
}

/* ===== HEADER ===== */
#head {
    background-color: rgba(250, 245, 240, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(90, 50, 40, 0.07);
    border-bottom: 1px solid rgba(181, 112, 107, 0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
}

#head .logo {
    text-align: center;
    padding: 14px 0 8px;
}

#head .logo img {
    height: 85px;
    width: auto;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

#head .logo img:hover {
    transform: scale(1.02);
}

#head .navigation {
    text-align: center;
    padding-bottom: 14px;
}

#head .navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 15px;
}

#head .navigation li {
    display: inline-block;
}

#head .navigation a {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-color);
    transition: var(--transition);
    white-space: nowrap;
}

#head .navigation a:hover {
    background-color: var(--accent-light);
    color: var(--accent);
}

#head .navigation a.active-page {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 14px rgba(181, 112, 107, 0.3);
}

/* ===== MOBILE MENU TOGGLE ===== */
#toggle-button {
    display: none;
}

label[for="toggle-button"] {
    display: none;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

label[for="toggle-button"] span {
    font-size: 30px;
    color: var(--accent);
    line-height: 1;
    display: inline-block;
    transition: transform 0.3s ease;
}

#toggle-button:checked + label[for="toggle-button"] span {
    transform: rotate(90deg);
}

/* ===== FOOTER ===== */
#footer {
    background: linear-gradient(135deg, #3d2e2a, #5c4040);
    color: white;
    text-align: center;
    padding: 55px 20px 25px;
    margin-top: var(--spacing-section);
}

#footer .logo_footer img {
    height: 70px;
    width: auto;
    margin: 0 auto 28px;
    filter: brightness(0) invert(1);
    opacity: 0.88;
}

#footer .menu {
    margin-bottom: 28px;
}

#footer .menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px 15px;
}

#footer .menu a {
    display: inline-block;
    font-size: 12px;
    padding: 8px 10px;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: var(--transition);
}

#footer .menu a:hover {
    color: white;
}

#footer .copyright p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

/* ===== TABLET (≤ 900px) ===== */
@media (max-width: 900px) {
    :root {
        --spacing-section: 50px;
    }

    #head .logo img {
        height: 75px;
    }

    #head .navigation a {
        font-size: 12px;
        padding: 7px 15px;
    }
}

/* ===== MOBILE (≤ 600px) ===== */
@media (max-width: 600px) {
    :root {
        --spacing-section: 35px;
    }

    #head {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 8px 15px 0;
    }

    #head .logo {
        text-align: center;
        padding: 8px 0 4px;
    }

    #head .logo img {
        height: 85px;
        margin: 0 auto;
    }

    #head .navigation {
        width: 100%;
        text-align: center;
        padding-bottom: 0;
    }

    label[for="toggle-button"] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: var(--accent-light);
        border: 1px solid rgba(181, 112, 107, 0.2);
        transition: background 0.3s ease;
        margin: 4px auto 6px;
        position: static;
    }

    label[for="toggle-button"]:hover {
        background: rgba(181, 112, 107, 0.15);
    }

    nav {
        display: flex;
        flex-direction: column;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease, margin 0.35s ease;
        background: var(--card-bg);
        border-radius: 16px;
        padding: 0 10px;
        margin: 0;
        gap: 4px;
        box-shadow: none;
    }

    #toggle-button:checked + label + ul {
        max-height: 400px;
        padding: 10px;
        margin: 6px 0 12px;
        box-shadow: var(--shadow);
    }

    nav ul li {
        list-style: none;
    }

    #head .navigation a {
        display: block;
        width: 100%;
        padding: 12px 18px;
        font-size: 14px;
        border-radius: 10px;
        text-align: center;
    }

    /* Footer mobil */
    #footer {
        padding: 35px 15px 20px;
        margin-top: var(--spacing-section);
    }

    #footer .logo_footer img {
        height: 55px;
        margin-bottom: 20px;
    }

    #footer .menu ul {
        flex-direction: column;
        gap: 4px;
    }

    #footer .menu a {
        font-size: 11px;
    }
}