/* ==========================================================================
   header-public.css – Styles für den öffentlichen Header
   /css/ | MoAktor

   Ausgelagert aus _includes/header-public.php im August 2026.
   Enthält die Farbwerte, Navigation, Mobile‑Menü und Logo.

   IDX: 678 | V: 1.0.0 | L: 0
   CHK: idx-marker

   Teil des MoAktor‑Ökosystems | Lizenz: Lichtarchitekt‑Lizenz #7
   ========================================================================== */

:root {
    --nacht: #0b1a2f;
    --gold: #d4af37;
    --schwan: #f5f0e8;
    --pfau: #1a8a8a;
    --kraehe: #1a1a2e;
    --text: #e0e0e0;
    --dim: #aaa;
}

/* ── Header‑Container ─────────────────────────────────────────────── */
.garden-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 26, 47, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.9rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Logo ─────────────────────────────────────────────────────────── */
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--gold);
    text-decoration: none;
    line-height: 1.2;
}

.logo span {
    font-size: 0.7rem;
    color: var(--dim);
    font-family: 'Inter', sans-serif;
    display: block;
}

/* ── Navigation ───────────────────────────────────────────────────── */
.nav-links {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--schwan);
}

.nav-highlight {
    background: rgba(26, 138, 138, 0.15);
    padding: 6px 18px;
    border-radius: 20px;
    border: 1px solid var(--pfau);
    color: var(--schwan) !important;
}

.nav-highlight:hover {
    background: rgba(26, 138, 138, 0.25);
}

/* ── Mobile Toggle ────────────────────────────────────────────────── */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    margin: 5px 0;
    transition: 0.3s;
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Responsive Navigation ────────────────────────────────────────── */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(11, 26, 47, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 0.8rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}