/* ═══════════════════════════════════════════════════════════════════════════
   BRAVO-ARCHIV — Offcanvas Burger-Menü (Zwei-Stufen-Slide)
   Wird von allen Seiten geladen via navbar.php
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Offcanvas Basis ── */
.offcanvas {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 40%, #0f1626 100%) !important;
    width: 360px !important;
    border-left: 1px solid rgba(255,255,255,0.06);
    box-shadow: -8px 0 40px rgba(0,0,0,0.5);
}
.offcanvas-header {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 20px 24px;
    background: rgba(0,0,0,0.15);
}
.offcanvas-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.12em;
    color: #fff;
}

/* ── Zwei-Stufen-Slide ── */
.oc-slider {
    position: relative;
    overflow: hidden;
    height: calc(100vh - 69px);
}
.oc-panel {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow-y: auto;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.oc-panel::-webkit-scrollbar { width: 4px; }
.oc-panel::-webkit-scrollbar-track { background: transparent; }
.oc-panel::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 2px; }

.oc-panel-main { transform: translateX(0); }
.oc-panel-main.oc-slide-out { transform: translateX(-100%); }
.oc-panel-sub { transform: translateX(100%); }
.oc-panel-sub.oc-slide-in { transform: translateX(0); }

/* ── Menü-Liste ── */
.oc-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

/* ── Sektions-Überschriften ── */
.oc-menu-section {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
    padding: 20px 24px 8px;
    margin-top: 4px;
    position: relative;
}
.oc-menu-section::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, rgba(226,0,26,0.3) 0%, transparent 100%);
}

/* ── Menü-Links ── */
.oc-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 24px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    border: none;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
}
.oc-link:hover {
    color: #fff;
    background: linear-gradient(90deg, rgba(226,0,26,0.15) 0%, rgba(226,0,26,0.03) 100%);
    border-left-color: var(--red, #E2001A);
    padding-left: 28px;
}
.oc-link:active {
    background: rgba(226,0,26,0.25);
}

/* Pfeil bei Sub-Menü-Triggern */
.oc-arrow {
    font-size: 1.3rem;
    font-weight: 300;
    color: rgba(255,255,255,0.2);
    transition: transform 0.25s, color 0.2s;
}
.oc-link:hover .oc-arrow {
    transform: translateX(4px);
    color: var(--red, #E2001A);
}

/* ── Zurück-Button ── */
.oc-back {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: rgba(226,0,26,0.06);
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.2s;
}
.oc-back:hover {
    color: #fff;
    background: rgba(226,0,26,0.12);
}

/* ── Sub-Panel Titel ── */
.oc-sub-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.08em;
    color: #fff;
    padding: 18px 24px 6px;
    border-bottom: 2px solid rgba(226,0,26,0.25);
    margin: 0 0 8px;
}

/* ── Dekaden & Jahr-Grid ── */
.oc-decade-group {
    padding: 0 24px 14px;
}
.oc-decade-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.35);
    padding: 12px 0 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 8px;
}
.oc-year-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}
.oc-year {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 4px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    transition: all 0.2s ease;
}
.oc-year:hover {
    background: var(--red, #E2001A);
    border-color: var(--red, #E2001A);
    color: #fff;
    transform: scale(1.06);
    box-shadow: 0 2px 12px rgba(226,0,26,0.3);
}

/* ── Platzhalter ── */
.oc-placeholder {
    padding: 24px;
    color: rgba(255,255,255,0.3);
    font-family: 'Barlow', sans-serif;
    font-style: italic;
    font-size: 0.85rem;
    list-style: none;
}

/* ── Mobile Anpassung ── */
@media (max-width: 576px) {
    .offcanvas { width: 100% !important; }
    .oc-year-grid { grid-template-columns: repeat(4, 1fr); gap: 5px; }
    .oc-link { font-size: 1rem; padding: 13px 20px; }
}