*,
*::before,
*::after {
    box-sizing: border-box;
}

.header-nav {
    max-width: 100%;
}

html,
body {
    overflow-x: hidden;
}




@font-face {
    font-family: "Montserrat";
    src: url("/fonts/static/Montserrat-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("/fonts/static/Montserrat-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("/fonts/static/Montserrat-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


:root {
    --gold: #c9a23f;
    --text-dark: #222;
    --text-light: #f7f7f7;
    --light-bg: #f9f9f9;
    --white-bg: #ffffff;
    --dark-bg: #111;
    --currency: "CHF";
}

body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    background-color: #f7f7f7;
    color: #222;

}

.header-nav {
    --nav-h: 72px;

    position: relative;
    /* wichtig: nicht fixed/sticky */
    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: 20;
}

/* Brand */
.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;
}

/* Desktop-Menü */
.header-nav ul {
    margin: 0 0 0 auto;
    /* Menü rechts */
    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 -> X */
.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);
}

/* Fokus sichtbar */
.header-nav a:focus-visible,
.hamburger:focus-visible {
    outline: 3px solid rgba(201, 162, 63, 0.55);
    outline-offset: 2px;
}

/* =========================
   Mobile Dropdown volle Breite
========================= */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
        margin-left: auto;
        /* rechts */
    }

    .header-nav ul {
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;

        margin: 0;
        display: none;
        /* per .active */
        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;
}

/* Rechts: Links */
.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;
}

/* Bottom line */
.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;
}

/* Zurück-Link */
.zurueck-link {
    text-align: center;
    margin-top: 60px;
}

.zurueck-link a {
    color: darkgoldenrod;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.zurueck-link a:hover {
    color: #a57c1b;
    transform: scale(1.05);
}

/* Responsive */
@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;
    }
}

.impressum {
    max-width: 900px;
    margin: 100px auto;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    line-height: 1.7;
}

.impressum h1 {
    text-align: center;
    color: var(--gold);
    margin-bottom: 30px;
}

.impressum h2 {
    margin-top: 40px;
    color: #333;
    font-size: 22px;
}

.impressum p {
    color: #555;
    font-size: 16px;
    margin-bottom: 15px;
}

.impressum a {
    color: inherit;
    text-decoration: none;
}

.impressum a:hover {
    text-decoration: underline;
}

.impressum .stand {
    margin-top: 40px;
    text-align: right;
    font-style: italic;
    color: #777;
}