/* ═══════════════════════════════════════════════════════════════════════════
   BRAVO-ARCHIV — Preisentwicklung
   CSS für n_bravo_preisentwicklung.php
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
    --emerald:    #2D8F6F;
    --emerald-dk: #1E6B50;
    --emerald-lt: #4DB892;
    --dark:       #1A1A1A;
    --dark2:      #212529;
    --blue:       #467999;
    --gray:       #848395;
    --cream:      #F5F2E9;
    --cream2:     #EDE9DC;
    --white:      #FFFFFF;
    --shadow:     0 4px 24px rgba(0,0,0,0.10);
    --shadow-lg:  0 12px 48px rgba(0,0,0,0.18);
    --radius:     10px;
    --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
}

/* ─── BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Barlow', sans-serif;
    background-color: var(--cream);
    color: var(--dark2);
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
}

/* ─── UTILITY ─── */
.font-display { font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.04em; }
.font-cond    { font-family: 'Barlow Condensed', sans-serif; }

/* ═══════════════════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════════════════ */
.navbar {
    background-color: var(--dark2) !important;
    padding: 0;
    height: 64px;
    box-shadow: 0 2px 12px rgba(0,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: 0.06em; }
.brand-dash  { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: var(--emerald); }
.brand-rest  { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: #fff; letter-spacing: 0.06em; }
.brand-tag   { font-family: 'Barlow Condensed', sans-serif; font-size: 0.7rem; color: #888; margin-left: 8px; letter-spacing: 0.12em; text-transform: uppercase; }

.nav-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: #bbb !important; padding: 20px 14px !important;
    position: relative; transition: color var(--transition);
}
.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(--emerald) !important; border-radius: 1px;
}

.dropdown-menu {
    background: var(--dark2); border: 1px solid #333; border-radius: 6px;
    margin-top: 0; padding: 6px 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.dropdown-item {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.82rem; font-weight: 500;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: #bbb; padding: 8px 20px;
    transition: background 0.15s, color 0.15s;
}
.dropdown-item:hover { background: var(--emerald) !important; color: #fff; }

.burger-btn { background: none; border: none; padding: 8px; color: #ccc; cursor: pointer; transition: color var(--transition); margin-left: 12px; }
.burger-btn:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════════════════════════
   OFFCANVAS — Akzentfarbe
   ═══════════════════════════════════════════════════════════════════════════ */
.oc-link:hover { border-left-color: var(--emerald) !important; background: linear-gradient(90deg, rgba(45,143,111,0.18) 0%, rgba(45,143,111,0.03) 100%) !important; }
.oc-year:hover { background: var(--emerald) !important; border-color: var(--emerald) !important; box-shadow: 0 2px 12px rgba(45,143,111,0.3) !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   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(--emerald); }
.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 0.2s; }
.footer-nav a:hover { color: var(--emerald); }
.footer-divider { border-color: #333; margin: 30px 0; }
.footer-copy { font-size: 0.75rem; color: #555; }

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }

/* ═══════════════════════════════════════════════════════════════════════════
   PAGE — Scoped under .page-preisentwicklung
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.page-preisentwicklung .hero-section {
    background: linear-gradient(135deg, var(--dark) 0%, #102a20 60%, var(--emerald-dk) 100%);
    padding: 56px 0 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-preisentwicklung .hero-section::before {
    content: '▲';
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
    font-size: 9rem;
    color: rgba(201,162,39,0.06);
    pointer-events: none;
    line-height: 1;
}
.page-preisentwicklung .hero-section::after {
    content: '';
    position: absolute; right: 0; top: 0;
    width: 60%; height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(45,143,111,0.08) 100%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}
.page-preisentwicklung .hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #fff;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}
.page-preisentwicklung .hero-title span { color: var(--emerald-lt); }
.page-preisentwicklung .hero-subtitle {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

/* ── Stat Pills ── */
.page-preisentwicklung .stat-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}
.page-preisentwicklung .stat-pill {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 14px 24px;
    text-align: center;
    min-width: 130px;
}
.page-preisentwicklung .stat-pill .stat-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--emerald-lt);
    letter-spacing: 0.04em;
    line-height: 1;
}
.page-preisentwicklung .stat-pill .stat-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* ── Info Card ── */
.page-preisentwicklung .info-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 32px;
    border-top: 3px solid var(--emerald);
    margin-bottom: 36px;
}
.page-preisentwicklung .info-card p {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.7;
}
.page-preisentwicklung .info-card strong { color: var(--dark2); }

/* ── Section Heading ── */
.page-preisentwicklung .section-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.06em;
    color: var(--dark2);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--emerald);
    display: inline-block;
}

/* ── Price Timeline ── */
.page-preisentwicklung .price-timeline {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 36px;
}
.page-preisentwicklung .price-row {
    display: grid;
    grid-template-columns: 100px 1fr 100px;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f0ede6;
    transition: background 0.15s;
    gap: 16px;
}
.page-preisentwicklung .price-row:last-child { border-bottom: none; }
.page-preisentwicklung .price-row:hover { background: rgba(45,143,111,0.03); }

.page-preisentwicklung .price-row.euro-start {
    border-top: 3px solid var(--emerald);
    background: rgba(45,143,111,0.04);
}

.page-preisentwicklung .price-amount {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.35rem;
    color: var(--emerald);
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.page-preisentwicklung .price-details {
    min-width: 0;
}
.page-preisentwicklung .price-period {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark2);
}
.page-preisentwicklung .price-issues {
    font-family: 'Barlow', sans-serif;
    font-size: 0.78rem;
    color: #999;
}
.page-preisentwicklung .price-note {
    font-size: 0.76rem;
    color: var(--emerald);
    font-style: italic;
    margin-top: 2px;
}

.page-preisentwicklung .price-bar-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.page-preisentwicklung .price-bar {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--emerald-lt), var(--emerald));
    transition: width 0.6s ease;
    min-width: 6px;
}

/* ── Currency Label ── */
.page-preisentwicklung .currency-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    background: var(--emerald);
    padding: 6px 20px;
    display: inline-block;
}

/* ── Responsive ── */
@media (max-width: 576px) {
    .page-preisentwicklung .price-row {
        grid-template-columns: 80px 1fr 60px;
        padding: 10px 14px;
        gap: 10px;
    }
    .page-preisentwicklung .price-amount { font-size: 1.1rem; }
    .page-preisentwicklung .price-period { font-size: 0.8rem; }
    .page-preisentwicklung .stat-pill { min-width: 100px; padding: 10px 16px; }
    .page-preisentwicklung .stat-pill .stat-value { font-size: 1.4rem; }
}

/* ─── 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); }


