/* ═══════════════════════════════════════════════════════════════════════════
   BRAVO-ARCHIV — Galerie: Titelbilder anderer Zeitschriften
   Gemeinsames Stylesheet für alle n_titelbilder_*.php
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
    --teal:       #2A7A8C;
    --teal-dk:    #1D5B6A;
    --teal-lt:    #4FA8BA;
    --dark:       #1A1A1A;
    --dark2:      #212529;
    --dark3:      #161616;
    --card-bg:    #222;
    --cream:      #F5F2E9;
    --radius:     8px;
    --transition: 0.25s ease;
}

/* ─── BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Barlow', sans-serif;
    background: var(--dark3);
    color: #ddd;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ─── NAVBAR ─── */
.navbar {
    background-color: var(--dark2) !important;
    padding: 0; height: 64px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.5);
    z-index: 1050;
}
.navbar-brand {
    display: flex; align-items: center; gap: 0;
    font-family: 'Bebas Neue', sans-serif;
    text-decoration: none;
}
.brand-bravo { font-size: 1.75rem; color: var(--teal-lt); letter-spacing: 0.04em; }
.brand-dash  { font-size: 1.75rem; color: var(--teal-lt); opacity: 0.5; }
.brand-rest  { font-size: 1.75rem; color: var(--cream); letter-spacing: 0.06em; }
.brand-tag   {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem; color: rgba(245,242,233,0.4);
    margin-left: 8px; letter-spacing: 0.12em; text-transform: uppercase;
}
.nav-link {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 0.95rem;
    color: var(--cream) !important; opacity: 0.7; padding: 20px 14px !important;
    transition: opacity var(--transition); text-transform: uppercase; letter-spacing: 0.04em;
}
.nav-link:hover, .nav-link.active { opacity: 1; }
.nav-link.active { border-bottom: 2px solid var(--teal-lt); }
.dropdown-menu {
    background: var(--dark2); border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius); margin-top: 0 !important;
}
.dropdown-item {
    font-family: 'Barlow Condensed', sans-serif; font-size: 0.92rem;
    color: var(--cream) !important; padding: 8px 20px;
}
.dropdown-item:hover { background: rgba(42,122,140,0.12); }
.burger-btn {
    background: none; border: none; padding: 8px; color: #ccc;
    cursor: pointer; transition: color var(--transition); margin-left: 12px;
}
.burger-btn:hover { color: #fff; }

/* ─── PAGE HEADER ─── */
.page-header {
    background: linear-gradient(135deg, #0d1f27 0%, #111 55%, #0d2020 100%);
    padding: 80px 0 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: attr(data-label);
    position: absolute;
    right: 3%; top: 50%;
    transform: translateY(-50%) rotate(-6deg);
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(5rem, 16vw, 13rem);
    color: rgba(255,255,255,0.025);
    line-height: 1;
    pointer-events: none; user-select: none;
}
.page-breadcrumb {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
    display: flex; align-items: center; gap: 6px;
}
.page-breadcrumb a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color .2s; }
.page-breadcrumb a:hover { color: var(--teal-lt); }
.page-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 0.9; color: #fff;
    letter-spacing: 0.03em; margin-bottom: 6px;
}
.page-title span { color: var(--teal-lt); }
.page-tagline {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.88rem; color: rgba(255,255,255,0.38);
    letter-spacing: 0.06em; text-transform: uppercase;
    margin-bottom: 18px; font-style: italic;
}
.page-header-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.meta-pill {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6); padding: 3px 10px; border-radius: 20px;
}
.meta-pill.accent {
    background: rgba(79,168,186,0.1); border-color: rgba(79,168,186,0.3); color: var(--teal-lt);
}

/* ─── YEAR ANCHOR TABS ─── */
.year-tabs {
    display: flex; gap: 6px; margin: 36px 0 32px; flex-wrap: wrap;
}
.year-tab {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.92rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
    padding: 7px 18px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.6); text-decoration: none; transition: all .2s;
}
.year-tab:hover {
    background: rgba(79,168,186,0.15); border-color: rgba(79,168,186,0.4); color: var(--teal-lt);
}

/* ─── MAIN SECTION ─── */
.main-section { padding: 0 0 64px; }

/* ─── YEAR SECTION ─── */
.year-section { padding: 32px 0 16px; }
.year-section + .year-section {
    border-top: 1px solid rgba(255,255,255,0.07);
    margin-top: 12px; padding-top: 40px;
}
.year-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: #fff; letter-spacing: 0.04em;
    margin-bottom: 4px;
    display: flex; align-items: baseline; gap: 14px;
}
.year-heading-sub {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem; font-weight: 400;
    color: rgba(255,255,255,0.38); letter-spacing: 0.04em;
}
.year-note {
    font-size: 0.88rem; color: rgba(255,255,255,0.5);
    margin-bottom: 20px; line-height: 1.5; max-width: 720px;
    background: rgba(255,255,255,0.04);
    border-left: 3px solid var(--teal);
    padding: 10px 16px; border-radius: 0 4px 4px 0;
}

/* ─── COVER GRID ─── */
.cover-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px; margin-top: 20px; margin-bottom: 12px;
}
@media (max-width: 1199px) { .cover-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 991px)  { .cover-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px)  { .cover-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media (max-width: 479px)  { .cover-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* ─── COVER CARD ─── */
.cover-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius); overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cover-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.55);
    border-color: rgba(79,168,186,0.3);
}
.cover-thumb {
    position: relative; aspect-ratio: 3/4;
    overflow: hidden; cursor: pointer; background: #111;
}
.cover-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; transition: transform .35s;
}
.cover-card:hover .cover-thumb img { transform: scale(1.05); }
.cover-badge {
    position: absolute; top: 7px; left: 7px;
    background: rgba(0,0,0,0.75); color: var(--teal-lt);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em;
    padding: 2px 6px; border-radius: 4px; backdrop-filter: blur(4px);
}
.cover-card-body { padding: 8px 10px 10px; }
.cover-motiv {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.88rem; font-weight: 600; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 2px;
}
.cover-monat {
    font-size: 0.72rem; color: var(--teal-lt);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600; letter-spacing: 0.03em;
}
.cover-preis {
    font-size: 0.68rem; color: rgba(255,255,255,0.28);
    font-family: 'Barlow Condensed', sans-serif; margin-top: 1px;
}

/* ─── CLOSING NOTE ─── */
.closing-note {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 3px solid rgba(79,168,186,0.45);
    border-radius: 0 6px 6px 0;
    padding: 14px 18px; margin-top: 24px;
    font-size: 0.88rem; color: rgba(255,255,255,0.52);
    line-height: 1.65; max-width: 780px;
}
.closing-note strong { color: rgba(255,255,255,0.75); }

/* ─── MODAL ─── */
.cover-modal .modal-content {
    background: #111; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
}
.cover-modal .btn-close {
    filter: invert(1) grayscale(1) brightness(2);
    position: absolute; top: 12px; right: 12px; z-index: 10;
}
.cover-modal .modal-body { padding: 20px; text-align: center; }
.cover-modal .modal-body img {
    max-width: 100%; max-height: 55vh; border-radius: 4px; display: inline-block;
}
.cover-modal .modal-footer {
    background: transparent; border-top: 1px solid rgba(255,255,255,0.08);
    justify-content: center; padding: 10px 20px 16px;
}
.modal-motiv {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem; font-weight: 700; color: #fff; letter-spacing: 0.03em;
}
.modal-meta { font-size: 0.8rem; color: #777; margin-top: 3px; }

/* ─── FOOTER ─── */
footer {
    background: var(--dark); color: #aaa;
    padding: 50px 0 30px; margin-top: 60px; font-size: 0.85rem;
}
.footer-brand { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; color: #fff; letter-spacing: 0.08em; }
.footer-brand span { color: var(--teal-lt); }
.footer-tagline { font-family: 'Barlow Condensed', sans-serif; font-size: 0.85rem; color: #777; letter-spacing: 0.06em; margin-top: 2px; }
.footer-col-heading { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; color: #fff; margin-bottom: 12px; }
.footer-nav { list-style: none; padding: 0; }
.footer-nav li { margin-bottom: 6px; }
.footer-nav a { color: #888; text-decoration: none; font-size: 0.82rem; transition: color .2s; }
.footer-nav a:hover { color: var(--teal-lt); }
.footer-divider { border-color: #333; margin: 30px 0; }
.footer-copy { font-size: 0.75rem; color: #555; }

/* ─── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── SCROLL-TO-TOP ─── */
#scrollTopBtn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--teal-lt, #3abfbf);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background .2s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
#scrollTopBtn svg { width: 22px; height: 22px; }
#scrollTopBtn.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#scrollTopBtn:hover { background: var(--teal, #2a9d9d); transform: translateY(-3px); }

/* ─── BILDSCHUTZ ─── */
.cover-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}
img {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}


