/* ===================================================================
   Gemeinsame Navigation und Footer
   Ausgezogen aus style.css, damit anfrage.html sie nutzen kann, ohne
   das komplette Startseiten-Stylesheet zu laden. Die uebrigen Seiten
   halten davon bislang eigene Kopien - die koennen spaeter hierauf
   umgestellt werden.
   =================================================================== */

/* .header-nav kombiniert width:100% mit seitlichem Padding und braucht
   deshalb border-box. Bewusst nur auf diese Bausteine begrenzt statt als
   globaler Reset, damit das Boxmodell der einbindenden Seite unveraendert
   bleibt (style.css bringt den globalen Reset ohnehin selbst mit). */
.header-nav,
.header-nav *,
.footer,
.footer * {
    box-sizing: border-box;
}

.header-nav {

    --nav-h: 72px;
    position: static;
    width: 100%;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 clamp(16px, 6vw, 56px);
    background: rgba(15, 15, 15, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    z-index: 100;
}


.brand {
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.95rem;
    white-space: nowrap;
    opacity: 0.95;
    padding: 10px 0;
}

.brand:hover {
    opacity: 1;
}


.header-nav ul {
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;

    display: flex;
    align-items: center;
    gap: 18px;
}

.header-nav .nav-link {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.90);
    text-decoration: none;

    padding: 10px 10px;
    border-radius: 10px;
    white-space: nowrap;

    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.header-nav .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.header-nav .nav-link.active {
    color: var(--gold);
}

/* Hamburger (Desktop aus) */
.hamburger {
    display: none;
    margin-left: 12px;

    flex-direction: column;
    justify-content: space-between;

    width: 26px;
    height: 20px;

    cursor: pointer;
    border: 0;
    background: transparent;
    padding: 0;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}


.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}


.header-nav a:focus-visible,
.hamburger:focus-visible {
    outline: 3px solid rgba(201, 162, 63, 0.55);
    outline-offset: 2px;
}


@media (max-width: 900px) {
    .hamburger {
        display: flex;
        margin-left: auto;
    }

    .header-nav ul {
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;

        margin: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 6px;

        padding: 12px 16px 14px;
        background: rgba(0, 0, 0, 0.92);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);

        border-radius: 0 0 16px 16px;
        z-index: 999;
    }

    .header-nav ul.active {
        display: flex;
    }

    .header-nav .nav-link {
        width: 100%;
        padding: 12px 12px;
        border-radius: 12px;
    }
}

.footer {
    background: #16161D;
    color: rgba(255, 255, 255, .86);
    border-top: 1px solid rgba(255, 255, 255, .08);
    width: 100%;
    cursor: default;
}

.footer-inner.slim {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 44px 20px 18px;

    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 26px;
    align-items: start;
}

.footer-title {
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .95rem;
    margin-bottom: 10px;
}

.footer-desc {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, .68);
    max-width: 58ch;
    line-height: 1.6;
    font-size: .95rem;
}

.footer-mail {
    display: inline-block;
    margin-top: 4px;
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    font-weight: 600;
}

.footer-mail:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-legal {
    justify-self: end;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
}

.footer-legal a {
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 10px;
    transition: .2s ease;
    white-space: nowrap;
}

.footer-legal a:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.footer-bottom {
    grid-column: 1 / -1;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .55);
    font-size: .9rem;
}


.footer-bottom {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-bottom .instagram {
    margin-left: auto;
    /* schiebt nach rechts */
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 8px 12px;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom .instagram .vp-icon {
    font-size: 18px;
    line-height: 1;
}

.footer-bottom .instagram a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.footer-bottom .instagram a:hover {
    text-decoration: underline;
}

/* Mobile: sauber umbrechen */
@media (max-width: 560px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom .instagram {
        margin-left: 0;
        align-self: flex-end;
        /* rechts im Column-Layout */
    }
}


@media (max-width: 900px) {
    .footer-inner.slim {
        grid-template-columns: 1fr;
        padding: 38px 16px 16px;
        gap: 18px;
    }

    .footer-legal {
        justify-self: start;
    }
}

@media (max-width: 520px) {
    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .footer-legal a {
        padding: 6px 0;
    }
}


