/* ==========================================
   FBH Lead — Main CSS
   Bootstrap 5 Overrides + Custom Styles
   ========================================== */

/* ─── Variables ──────────────────────────── */
:root {
    --orange: #fd7e14;
    --dark: #212529;
}

/* ─── Typography ─────────────────────────── */
html, body {
    font-size: 18px;
    font-optical-sizing: auto;
    font-style: normal;
}
@media (max-width: 992px) {
    html, body { font-size: 16px; }
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, 
#topbar, nav {
    font-family: "Red Hat Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 900;
}

h2, .h2 { font-size: 2rem; }
h3, .h3 { font-size: 1.5rem; }
h4, .h4 { font-size: 1.25rem; }

/* ─── Topbar ─────────────────────────────── */
#topbar {
    font-weight: 700;
    font-family: "Red Hat Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
#topbar a {
    color: inherit;
    text-decoration: none;
}
#topbar a:hover {
    color: var(--orange);
}

/* ─── Navbar ─────────────────────────────── */
nav {
    font-weight: 700;
    font-family: "Red Hat Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--dark) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.navbar-brand {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--dark) !important;
}
.nav-link {
    color: var(--dark) !important;
}
.nav-link:hover,
.nav-link.active {
    color: var(--orange) !important;
}

/* ─── Dropdown ───────────────────────────── */
.dropdown-menu {
    border-radius: 0;
    border: none;
    background-color: #f8f9fa;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.dropdown-item.active, 
.dropdown-item:active {
    background-color: var(--orange);
}
/* Hover öffnet Dropdown */
@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    .dropdown-menu {
        margin-top: 0;
    }
}

/* ─── Hero ───────────────────────────────── */
#hero {
    min-height: 400px;
}
#hero h1 {
    line-height: 1.2;
}

/* ─── Content Area ───────────────────────── */
.content-area h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}
.content-area h3 { font-size: 1.5rem; }
.content-area h4 { font-size: 1.25rem; }
.content-area a {
    color: var(--orange);
    text-decoration: none;
}
.content-area a:hover {
    text-decoration: underline;
}

/* ─── Cards / Teaser ─────────────────────── */
.hover-shadow {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.hover-shadow:hover {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
    transform: translateY(-2px);
}

/* ─── Buttons ────────────────────────────── */
.btn-warning {
    background-color: var(--orange);
    border-color: var(--orange);
    color: #fff;
}
.btn-warning:hover {
    background-color: #e06b00;
    border-color: #e06b00;
    color: #fff;
}

/* ─── Quiz ───────────────────────────────── */
#quiz-container .quiz-step {
    transition: opacity 0.3s ease;
}

/* ─── Footer ─────────────────────────────── */
#footer a:hover {
    color: var(--orange) !important;
}

/* ─── Utilities ──────────────────────────── */
.text-warning { color: var(--orange) !important; }
.bg-warning { background-color: var(--orange) !important; }
