/* ═══════════════════════════════════════════════════
   BRAVO OTTO-Sieger – Stylesheet
   Konsistent mit n_style_titelbilder.css
═══════════════════════════════════════════════════ */

:root {
    --otto-gold:        #D4AF37;
    --otto-gold-light:  #FFF3B0;
    --otto-gold-mid:    #FFD700;
    --otto-gold-dark:   #9A7B20;
    --otto-silber:      #A8A9AD;
    --otto-silber-light:#EFEFEF;
    --otto-silber-dark: #7A7B7F;
    --otto-bronze:      #CD7F32;
    --otto-bronze-light:#F0C890;
    --otto-bronze-dark: #8B5523;

    --crimson:   #C8102E;
    --dark:      #1a1a2e;
    --dark-2:    #0f172a;
    --mid:       #334155;
    --light-bg:  #f9f7f3;
    --border-col:rgba(0,0,0,0.09);
    --text-main: #1e293b;
    --text-muted:#64748b;
    --radius:    12px;
    --radius-sm: 8px;
}

/* ── BODY ── */
body { background:#f9f7f3; color:var(--text-main); }

/* ══════════════════════════════════
   PAGE HEADER
══════════════════════════════════ */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, #2d1a2e 40%, var(--crimson) 100%);
    padding: 52px 0 44px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(212,175,55,0.18) 0%, transparent 60%);
    pointer-events: none;
}
.page-header::after {
    content: '★';
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%) rotate(-10deg);
    font-size: 9rem;
    color: rgba(255,255,255,0.04);
    pointer-events: none;
    line-height: 1;
}
.page-header-content { position: relative; z-index: 1; }

.page-breadcrumb {
    font-size: .78rem;
    letter-spacing: .04em;
    margin-bottom: 14px;
    opacity: .75;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.page-breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.page-breadcrumb a:hover { color: #fff; }

.page-header h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.8rem, 6vw, 4.4rem);
    line-height: 1;
    letter-spacing: .04em;
    margin: 0 0 18px;
}
.page-header h1 span { color: var(--otto-gold); }

.page-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.meta-pill {
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .03em;
}
.meta-pill.gold   { background: rgba(212,175,55,.25); border-color: rgba(212,175,55,.5); color: var(--otto-gold-light); }
.meta-pill.accent { background: rgba(200,16,46,.35);  border-color: rgba(200,16,46,.5); }

/* ══════════════════════════════════
   MAIN SECTION
══════════════════════════════════ */
.main-section { padding: 40px 0 64px; }

/* ── YEAR NAV ── */
.year-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 28px;
}
.year-nav a {
    background: var(--dark);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 24px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.year-nav a:hover { background: var(--crimson); transform: translateY(-1px); }
.year-nav .current-year {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--dark);
    letter-spacing: .05em;
    line-height: 1;
}

/* ── INFO CARD ── */
.info-card {
    background: #fff;
    border: 1px solid var(--border-col);
    border-left: 4px solid var(--crimson);
    border-radius: var(--radius);
    padding: 18px 24px;
    margin-bottom: 32px;
    font-size: .93rem;
    line-height: 1.65;
    color: var(--text-muted);
}
.info-card a { color: var(--crimson); font-weight: 600; text-decoration: none; }
.info-card p:last-child { margin-bottom: 0; }

/* ══════════════════════════════════
   STATS GRID
══════════════════════════════════ */
.otto-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 36px;
}
.otto-stat-card {
    background: #fff;
    border: 1px solid var(--border-col);
    border-radius: var(--radius);
    padding: 16px 18px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.otto-stat-card .stat-icon {
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 6px;
}
.otto-stat-card .stat-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.7rem;
    letter-spacing: .04em;
    line-height: 1;
    color: var(--dark);
}
.otto-stat-card .stat-label {
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin-top: 4px;
}
.otto-stat-card.gold-card   { border-top: 3px solid var(--otto-gold); }
.otto-stat-card.crimson-card{ border-top: 3px solid var(--crimson); }
.otto-stat-card.dark-card   { border-top: 3px solid var(--dark); }

/* ══════════════════════════════════
   WAHL-INFO BOX
══════════════════════════════════ */
.wahl-info {
    background: linear-gradient(135deg, var(--dark) 0%, #2d1a2e 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 22px 28px;
    margin-bottom: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}
.wahl-info-item { text-align: center; }
.wahl-info-item .wi-label {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .6;
    margin-bottom: 3px;
}
.wahl-info-item .wi-value {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--otto-gold-light);
    letter-spacing: .02em;
}
.wahl-info-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,.15);
}

/* ══════════════════════════════════
   TROPHY TABLE
══════════════════════════════════ */
.otto-table-wrap {
    background: #fff;
    border: 1px solid var(--border-col);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    margin-bottom: 32px;
}
.otto-table-title {
    background: var(--dark);
    color: #fff;
    padding: 14px 24px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: .07em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.otto-table-title .trophy-icon { font-size: 1.5rem; }

.otto-table {
    width: 100%;
    border-collapse: collapse;
}
.otto-table thead th {
    background: var(--mid);
    color: #fff;
    padding: 10px 16px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    text-align: left;
}
.otto-table thead th:first-child { border-radius: 0; }

/* Category column */
.otto-table td.td-cat {
    background: var(--light-bg);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: .02em;
    padding: 12px 16px;
    border-right: 2px solid var(--border-col);
    white-space: nowrap;
    width: 22%;
}

/* Winner cells */
.otto-table td.td-winner {
    padding: 10px 14px;
    font-size: .9rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(0,0,0,.05);
}
.otto-table tr:last-child td { border-bottom: none; }
.otto-table tr:nth-child(even) td.td-winner { background: rgba(0,0,0,.015); }

/* Gold cell */
.otto-table td.td-gold {
    background: linear-gradient(to right, rgba(255,215,0,.12), rgba(212,175,55,.06));
}
.otto-table td.td-silber {
    background: linear-gradient(to right, rgba(192,192,192,.1), transparent);
}
.otto-table td.td-bronze {
    background: linear-gradient(to right, rgba(205,127,50,.1), transparent);
}

/* Medal badges */
.medal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}
.medal-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.medal-dot.gold   { background: radial-gradient(circle, var(--otto-gold-mid) 0%, var(--otto-gold-dark) 100%); box-shadow: 0 0 4px rgba(212,175,55,.6); }
.medal-dot.silber { background: radial-gradient(circle, #e8e8e8 0%, var(--otto-silber-dark) 100%); }
.medal-dot.bronze { background: radial-gradient(circle, var(--otto-bronze-light) 0%, var(--otto-bronze-dark) 100%); }

.medal-label {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: 700;
}
.medal-label.gold   { color: var(--otto-gold-dark); }
.medal-label.silber { color: var(--otto-silber-dark); }
.medal-label.bronze { color: var(--otto-bronze-dark); }

.winner-name {
    font-size: .92rem;
    color: var(--text-main);
}
.winner-name.gold-name {
    font-weight: 700;
    color: var(--dark);
    font-size: .97rem;
}

/* ══════════════════════════════════
   IMAGE GALLERY / PLACEHOLDER
══════════════════════════════════ */
.img-section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: .06em;
    color: var(--dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.img-section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, var(--border-col), transparent);
}

.img-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    margin-bottom: 32px;
}
.img-placeholder {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #f1ede4 0%, #e8e2d8 100%);
    border: 2px dashed #ccc4b0;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    color: #aaa;
    transition: border-color .2s, background .2s;
    cursor: default;
}
.img-placeholder:hover {
    border-color: var(--otto-gold);
    background: linear-gradient(135deg, #fdf9ee 0%, #f5efd8 100%);
}
.img-placeholder .ph-icon { font-size: 1.8rem; margin-bottom: 6px; opacity: .5; }
.img-placeholder .ph-label { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; line-height: 1.3; }

/* When real images are added */
.img-placeholder.has-img {
    border: none;
    background: transparent;
    padding: 0;
    overflow: hidden;
}
.img-placeholder.has-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: transform .3s, box-shadow .3s;
}
.img-placeholder.has-img img:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

/* ══════════════════════════════════
   DECADE GRID (Hauptseite)
══════════════════════════════════ */
.decade-block { margin-bottom: 36px; }
.decade-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: .06em;
    color: var(--dark);
    border-bottom: 3px solid var(--crimson);
    padding-bottom: 4px;
    margin-bottom: 14px;
    display: inline-block;
}
.year-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.year-btn {
    background: #fff;
    border: 1px solid var(--border-col);
    color: var(--dark);
    padding: 8px 16px;
    border-radius: 24px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .03em;
    transition: all .2s;
    box-shadow: 0 2px 6px rgba(0,0,0,.04);
}
.year-btn:hover {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,.15);
}
.year-btn.special {
    background: linear-gradient(135deg, var(--otto-gold-light), rgba(212,175,55,.15));
    border-color: var(--otto-gold);
    color: var(--otto-gold-dark);
}
.year-btn.special:hover {
    background: var(--otto-gold);
    color: var(--dark);
}

/* ══════════════════════════════════
   SHOP HINT
══════════════════════════════════ */
.shop-hint {
    background: linear-gradient(135deg, var(--dark) 0%, var(--mid) 100%);
    color: rgba(255,255,255,.85);
    border-radius: var(--radius);
    padding: 18px 24px;
    font-size: .88rem;
    margin: 32px 0;
    text-align: center;
}
.shop-hint a { color: var(--otto-gold-mid); font-weight: 700; text-decoration: none; }
.shop-hint a:hover { text-decoration: underline; }
.shop-hint strong { color: #fff; }

/* ══════════════════════════════════
   REVEAL ANIMATION
══════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* ══════════════════════════════════
   NAVBAR
══════════════════════════════════ */
.navbar {
    background-color: #212529 !important;
    padding: 0;
    height: 64px;
    box-shadow: 0 2px 12px rgba(0,0,0,.4);
    z-index: 1050;
}
.navbar-brand {
    display: flex; align-items: center; gap: 2px;
    text-decoration: none; white-space: nowrap;
}
.brand-bravo { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: #fff; letter-spacing: .06em; }
.brand-dash  { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: var(--crimson); }
.brand-rest  { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: #fff; letter-spacing: .06em; }
.brand-tag   { font-family: 'Barlow Condensed', sans-serif; font-size: .7rem; color: #888; margin-left: 8px; letter-spacing: .12em; text-transform: uppercase; }

.nav-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: .85rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    color: #bbb !important; padding: 20px 14px !important;
    position: relative; transition: color .28s;
}
.nav-link:hover, .nav-link.active { color: #fff !important; }
.nav-link.active::after {
    content: ''; position: absolute; bottom: 16px; left: 14px; right: 14px;
    height: 2px; background: var(--crimson); border-radius: 1px;
}

.dropdown-menu {
    background: #212529; border: 1px solid #333; border-radius: 6px;
    margin-top: 0; padding: 6px 0;
    box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.dropdown-item {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: .82rem; font-weight: 500;
    letter-spacing: .08em; text-transform: uppercase;
    color: #bbb; padding: 8px 20px;
    transition: background .15s, color .15s;
}
.dropdown-item:hover { background: var(--crimson) !important; color: #fff; }

.burger-btn {
    background: none; border: none; padding: 8px;
    color: #ccc; cursor: pointer; transition: color .28s; margin-left: 12px;
}
.burger-btn:hover { color: #fff; }

/* Offcanvas accent – OTTO-Rot */
.oc-link:hover  { border-left-color: var(--crimson) !important; background: linear-gradient(90deg, rgba(200,16,46,.18) 0%, rgba(200,16,46,.03) 100%) !important; }
.oc-year:hover  { background: var(--crimson) !important; border-color: var(--crimson) !important; box-shadow: 0 2px 12px rgba(200,16,46,.3) !important; }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
footer {
    background: var(--dark-2);
    color: #aaa;
    padding: 50px 0 30px;
    margin-top: 60px;
    font-size: .85rem;
}
.footer-brand { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; color: #fff; letter-spacing: .08em; }
.footer-brand span { color: var(--crimson); }
.footer-tagline { font-family: 'Barlow Condensed', sans-serif; font-size: .85rem; color: #777; letter-spacing: .06em; margin-top: 2px; }
.footer-col-heading { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .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: .82rem; transition: color .2s; }
.footer-nav a:hover { color: var(--crimson); }
.footer-divider { border-color: #333; margin: 30px 0; }
.footer-copy { font-size: .75rem; color: #555; }

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 768px) {
    .page-header { padding: 36px 0 32px; }
    .wahl-info { flex-direction: column; gap: 12px; text-align: center; }
    .wahl-info-divider { display: none; }
    .otto-table { font-size: .82rem; }
    .otto-table td.td-cat { font-size: .82rem; padding: 10px 10px; white-space: normal; min-width: 100px; }
    .otto-table td.td-winner { padding: 9px 10px; }
    .img-placeholder-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}
@media (max-width: 480px) {
    .otto-table td.td-cat { display: none; }
    .otto-table thead th:first-child { display: none; }
}

/* ─── 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); }


