/*!
 * Theme Name: Motocross Nachwuchsförderung
 * Theme URI: https://bmv-mx-nlk-bayern.de/
 * Description: Ein modernes, klassisches WordPress-Theme für die Motocross-Nachwuchsförderung mit modernem Dark-Design.
 * Version: 1.0.0
 * Author: ConCuServ Digital
 * Author URI: https://bmv-mx-nlk-bayern.de/
 * License: GPL v2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: cc-bmvm
 * Domain Path: /languages
 * Requires at least: 5.9
 * Requires PHP: 7.4
 * Template:
 * Status: active
 */

/* ===== Design Tokens ===== */
:root {
    --black: #0a0a0a;
    --surface: #141414;
    --card: #1e1e1e;
    --primary: #0165b9;
    --primary-dark: #0165b9;
    --secondary: #fdb404;
    --text: #f0f0f0;
    --text-muted: #8a8a8a;
    --border: #2a2a2a;

    --ff-display: 'Bebas Neue', sans-serif;
    --ff-body: 'Inter', sans-serif;

    --max-width: 1200px;
    --section-gap: 100px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--text);
    font-family: var(--ff-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--ff-display);
    letter-spacing: 0.02em;
    line-height: 1.1;
}

p {
    margin-bottom: 1em;
}

/* ===== Utilities ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    font-family: var(--ff-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
}

.section-title {
    font-size: clamp(42px, 6vw, 80px);
    line-height: 1;
    color: var(--text);
    margin-top: 8px;
}

.section-title span {
    color: var(--primary);
}

.lead {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 560px;
    margin-top: 20px;
    line-height: 1.7;
}

/* ===== Button Styles ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--ff-body);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition:
        background 0.2s,
        transform 0.15s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: #fff !important;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--text) !important;
    text-decoration: none !important;
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), transparent);
    backdrop-filter: blur(4px);
    transition: background 0.3s;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.97);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 52px;
    flex-shrink: 0;
}

.nav-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-cta {
    font-family: var(--ff-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 20px;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.nav-cta:hover {
    background: var(--primary-dark);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-inner {
        gap: 20px;
    }

    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: clamp(24px, 5vw, 42px);
    }
}
