@charset "UTF-8";

/* ═══════════════════════════════════════════════
   SITE HEADER  –  travel2africa
   ═══════════════════════════════════════════════ */

/* Outer rail: volle Breite, kein eigener Hintergrund */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 999;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    pointer-events: none;
}

/* Inner: hier sitzt der Hintergrund – IMMER sichtbar */
.site-header__inner {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    pointer-events: auto;
    border-radius: 0 0 16px 16px;
    background: rgba(247, 242, 234, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 24px rgba(59, 36, 13, 0.10);
}

/* ── Logo ── */
.site-header__logo {
    display: flex; align-items: center; gap: 0.5rem;
    text-decoration: none; flex-shrink: 0;
}
.site-header__logo img.logo-icon { height: 52px; width: auto; display: block; }
.site-header__logo img.logo-text { height: 36px; width: auto; display: block; }

/* ── Desktop nav ── */
.site-header__nav {
    display: flex; align-items: center; list-style: none;
    gap: 0.25rem; margin: 0; padding: 0;
}
.site-header__nav li a {
    display: block; padding: 0.4rem 0.85rem;
    font-family: "Manrope", sans-serif; font-size: 0.875rem; font-weight: 600;
    color: #3b240d; text-decoration: none;
    border-radius: 9999px;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
}
.site-header__nav li a:hover,
.site-header__nav li a.active {
    background: rgba(59, 36, 13, 0.09); color: #7a3a0e;
}
.site-header__nav li a.nav-cta {
    background: #3b240d; color: #fff;
    padding: 0.45rem 1.1rem; border-radius: 9999px;
    margin-left: 0.5rem; font-weight: 600;
}
.site-header__nav li a.nav-cta:hover { background: #5c3a1a; }
.site-header__nav li a.lang-switch {
    margin-left: 0.5rem; border: 1px solid rgba(59, 36, 13, 0.25);
    padding: 0.35rem 0.75rem;
}
.site-header__nav li a.lang-switch:hover { background: rgba(59, 36, 13, 0.09); }

/* ── Dropdown ── */
.has-dropdown { position: relative; }
.has-dropdown > a { display: flex; align-items: center; gap: 0.3rem; }
.has-dropdown > a::after {
    content: ''; display: inline-block;
    width: 0.45rem; height: 0.45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s; flex-shrink: 0;
}
.has-dropdown:hover > a::after,
.has-dropdown:focus-within > a::after { transform: rotate(-135deg) translateY(-2px); }

.dropdown {
    display: none; position: absolute;
    top: calc(100% + 8px); left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 160px;
    background: rgba(247, 242, 234, 0.97);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(59, 36, 13, 0.12);
    border-radius: 14px; box-shadow: 0 8px 32px rgba(59, 36, 13, 0.12);
    padding: 0.4rem; list-style: none; z-index: 1000;
    opacity: 0; pointer-events: none;
    transition: opacity 0.18s, transform 0.18s;
}
.dropdown::before {
    content: ''; position: absolute;
    top: -12px; left: 0; right: 0; height: 12px;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    display: block; opacity: 1; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.dropdown li a {
    display: block; padding: 0.55rem 1rem;
    font-family: "Manrope", sans-serif; font-size: 0.85rem; font-weight: 600;
    color: #3b240d; text-decoration: none; border-radius: 9px;
    white-space: nowrap; transition: background 0.15s;
}
.dropdown li a:hover { background: rgba(59, 36, 13, 0.09); color: #7a3a0e; }

/* ── Hamburger ── */
.hamburger {
    display: none; flex-direction: column; justify-content: center;
    gap: 5px; cursor: pointer; background: none; border: none;
    padding: 0.4rem; border-radius: 8px; transition: background 0.15s;
}
.hamburger:hover { background: rgba(59,36,13,0.08); }
.hamburger span {
    display: block; width: 24px; height: 2px;
    background: #3b240d; border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Nav ── */
.mobile-nav {
    display: none; position: fixed; inset: 0; z-index: 998;
    background: rgba(247, 242, 234, 0.97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    flex-direction: column; align-items: center; justify-content: flex-start;
    gap: 0; list-style: none;
    padding: calc(72px + 1rem) 2rem 2rem;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.mobile-nav.open { display: flex; }
.mobile-nav li a {
    display: block; padding: 0.7rem 2rem;
    font-family: "Playfair Display", serif; font-size: 1.25rem; font-weight: 600;
    color: #3b240d; text-decoration: none; text-align: center;
    border-radius: 12px; transition: background 0.15s;
}
.mobile-nav li a:hover      { background: rgba(59,36,13,0.08); }
.mobile-nav .mobile-nav__sub { color: #7a4a1e; padding: 0.45rem 2rem; }
.mobile-nav li a.nav-cta {
    margin-top: 1.5rem; margin-bottom: 1rem; background: #3b240d; color: #fff;
    font-family: "Playfair Display", serif;
    border-radius: 9999px; padding: 0.8rem 2rem;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .site-header__nav { display: none; }
    .hamburger        { display: flex; }
}

body { padding-top: 0; }
