/* DMC PREMIUM - GLOBAL STYLES (Luxury Light Theme v4.0) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;800&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;600&display=swap');

:root {
    /* --- COLOR PALETTE --- */
    --accent: #C5A059;
    /* Liquid Gold */
    --accent-hover: #b08d4b;

    --bg-main: #FFFFFF;
    /* Pure White */
    --bg-soft: #F5F5F7;
    /* Soft Shell */

    --text-main: #0F0F0F;
    /* Deep Onyx */
    --text-muted: #666666;
    --text-light: #FFFFFF;

    /* --- UTILS --- */
    --border-light: rgba(0, 0, 0, 0.08);
    --border-glass: rgba(255, 255, 255, 0.2);

    --shadow-soft: 0 15px 35px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);

    --radius: 16px;
    --font-heading: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- RESET --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 30px;
}

/* --- HEADER --- */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

/* --- HERO SECTION (Matches index.php) --- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    background: var(--text-main);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    background-size: cover;
    background-position: center;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
    transition: transform 10s linear;
}

.hero-section:hover .hero-bg-image {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #000 35%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5%;
    color: var(--text-light);
}

.hero-tagline {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 6vw, 6rem);
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-description {
    max-width: 500px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* --- BUTTONS --- */
.btn-primary {
    display: inline-block;
    padding: 18px 40px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #fff;
    color: var(--text-main);
    transform: translateY(-3px);
}

.btn-outline {
    display: inline-block;
    padding: 18px 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* --- SECTIONS & LAYOUT --- */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5%;
}

.nav-spacer {
    height: 80px;
}

/* Inventory Grid (Global) */
.grid-master {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
    padding: 60px 0;
}

/* Vehicle Card */
.vehicle-card {
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: block;
    position: relative;
}

.vehicle-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.image-box {
    height: 300px;
    overflow: hidden;
    position: relative;
    background: var(--bg-soft);
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

.vehicle-card:hover .image-box img {
    transform: scale(1.05);
}

.price-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--text-main);
    color: #fff;
    padding: 10px 25px;
    font-weight: 700;
    font-size: 1.2rem;
}

.info-box {
    padding: 25px;
}

.info-box .brand {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.info-box .model {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    display: block;
    margin-bottom: 20px;
}

.specs-line {
    display: flex;
    gap: 30px;
    border-top: 1px solid var(--border-light);
    padding-top: 15px;
}

.spec-unit .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #999;
    display: block;
}

.spec-unit .value {
    font-size: 0.95rem;
    font-weight: 600;
}

/* --- FOOTER --- */
footer {
    background: var(--text-main);
    color: rgba(255, 255, 255, 0.5);
    padding: 80px 0 40px;
    margin-top: 100px;
}

footer h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 10px;
}

footer a:hover {
    color: var(--accent);
}

/* --- HELPERS --- */
.text-center {
    text-align: center;
}

.glass-panel {
    /* Generic glass helper if needed outside specific pages */
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--radius);
}

@media (max-width: 900px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-bg-image {
        width: 100%;
        opacity: 0.4;
    }

    .grid-master {
        grid-template-columns: 1fr;
    }

    .container-split {
        grid-template-columns: 1fr;
    }
}

/* --- PREMIUM HEADER REFINEMENT --- */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.header-scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    padding: 12px 0 !important;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-icon-link {
    position: relative;
    font-size: 1.1rem;
    margin-left: 10px;
}

.nav-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent);
    /* Dein Gold-Ton */
    color: white;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.nav-divider {
    width: 1px;
    height: 20px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0 10px;
}

.login-btn {
    border: 1px solid var(--accent);
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 0.85rem;
    color: var(--accent) !important;
}

.login-btn:hover {
    background: var(--accent);
    color: white !important;
}