
/* ==========================================
   NORTHBEAT EXPERIENCE
   APP HEADER – NBX-HEADER-001
   ========================================== */

.nbx-header {
    position: sticky;
    top: 0;
    z-index: 100;

    width: 100%;

    background: rgba(16, 23, 34, 0.94);
    border-bottom: 1px solid var(--nbx-border);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nbx-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    max-width: 1200px;
    min-height: 76px;

    margin: 0 auto;
    padding: 12px 24px;
}

.nbx-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: var(--nbx-text);
    text-decoration: none;
}

.nbx-brand__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    background: var(--nbx-cyan);
    color: var(--nbx-text-on-accent);

    border-radius: var(--nbx-radius-md);

    font-size: 26px;
    font-weight: 700;
}

.nbx-brand__text {
    display: flex;
    flex-direction: column;

    line-height: 1.15;
}

.nbx-brand__text strong {
    color: var(--nbx-text);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.nbx-brand__text small {
    margin-top: 4px;

    color: var(--nbx-cyan);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.nbx-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nbx-header__action {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    background: var(--nbx-surface);
    border: 1px solid var(--nbx-border);
    border-radius: 50%;

    color: var(--nbx-text-secondary);
    text-decoration: none;

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

.nbx-header__action:hover,
.nbx-header__action:focus-visible {
    background: var(--nbx-cyan);
    color: var(--nbx-text-on-accent);
}

@media (max-width: 600px) {
    .nbx-header__inner {
        min-height: 68px;
        padding: 10px 16px;
    }

    .nbx-brand__icon {
        width: 40px;
        height: 40px;
    }

    .nbx-brand__text strong {
        font-size: 15px;
    }

    .nbx-header__action {
        width: 38px;
        height: 38px;
    }
}


/* ==========================================
   NORTHBEAT EXPERIENCE
   MOBILE NAVIGATION – NBX-NAV-001
   ========================================== */

.nbx-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;

    display: flex;
    align-items: stretch;
    justify-content: space-around;

    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));

    background: rgba(16, 23, 34, 0.97);
    border-top: 1px solid var(--nbx-border);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nbx-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;

    flex: 1;
    min-width: 0;
    min-height: 52px;

    color: var(--nbx-text-muted);
    text-decoration: none;

    transition: color 0.2s ease;
}

.nbx-bottom-nav__icon {
    font-size: 23px;
    line-height: 1;
}

.nbx-bottom-nav__label {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.nbx-bottom-nav__item:hover,
.nbx-bottom-nav__item:focus-visible,
.nbx-bottom-nav__item.is-active {
    color: var(--nbx-cyan);
}

.nbx-bottom-nav__item.is-active .nbx-bottom-nav__icon {
    transform: translateY(-2px);
}

.nbx-bottom-nav__item:focus-visible {
    outline: 2px solid var(--nbx-cyan);
    outline-offset: -2px;
    border-radius: var(--nbx-radius-sm);
}

/* Platz für die feste Navigation */
body.nbx-app {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
}

/* Auf Desktop vorerst ausblenden */
@media (min-width: 769px) {
    .nbx-bottom-nav {
        display: none;
    }

    body.nbx-app {
        padding-bottom: 0;
    }
}


/* ==========================================
   NBX-NAV-002
   SVG ICONS & DESKTOP NAVIGATION
   ========================================== */

.nbx-bottom-nav__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
}

.nbx-bottom-nav__icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.nbx-desktop-nav {
    display: none;
    align-items: center;
    gap: 6px;
}

.nbx-desktop-nav__link {
    padding: 11px 14px;
    border-radius: var(--nbx-radius-sm);

    color: var(--nbx-text-secondary);
    font-size: var(--nbx-font-sm);
    font-weight: 600;
    text-decoration: none;

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

.nbx-desktop-nav__link:hover,
.nbx-desktop-nav__link:focus-visible {
    background: var(--nbx-surface);
    color: var(--nbx-text);
}

.nbx-desktop-nav__link.is-active {
    background: var(--nbx-surface);
    color: var(--nbx-cyan);
}

@media (min-width: 900px) {
    .nbx-desktop-nav {
        display: flex;
    }
}

@media (min-width: 769px) and (max-width: 899px) {
    .nbx-bottom-nav {
        display: flex;
    }

    body.nbx-app {
        padding-bottom: calc(84px + env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    .nbx-bottom-nav__item,
    .nbx-desktop-nav__link {
        transition: none;
    }
}

/* NBX-HEADER-002 – Northbeat Markenlogo */

.nbx-brand__icon {
    overflow: hidden;
}

.nbx-brand__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}



/* ==========================================
   NBX-EVENT-009 – Veranstaltungshinweis
   ========================================== */
.nbx-event-detail__notice {
    margin-top: 22px;
    padding: 16px 18px;
    border: 1px solid rgba(155, 168, 184, 0.20);
    border-left: 3px solid var(--nbx-cyan, #25D0E8);
    border-radius: 10px;
    background: rgba(23, 32, 45, 0.60);
    color: var(--nbx-text-secondary, #C4CED9);
    font-size: 13px;
    line-height: 1.65;
}
.nbx-event-detail__notice-title {
    display: block;
    margin-bottom: 6px;
    color: var(--nbx-text, #F7F9FC);
    font-size: 13px;
    font-weight: 700;
}
.nbx-event-detail__notice p { margin: 0; }
@media (max-width: 600px) {
    .nbx-event-detail__notice { padding: 14px; }
}
