/* Grundlayout */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #1a1a1a; /* Anthrazit */
    color: #e5e5e5;
    text-align: center; /* Seite mittig */
}

/* Skip-Link */
.skip-link {
    position: absolute;
    left: -999px;
    top: -999px;
}
.skip-link:focus {
    left: 10px;
    top: 10px;
    background: #000;
    color: #fff;
    padding: 10px;
    z-index: 3000;
}

/* Top Navigation */
.top-nav {
    background: #b30000; /* Rot wie Fahrzeuge */
    padding: 10px;
}
.top-nav a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}
.top-nav a:hover {
    text-decoration: underline;
}

/* Mobile Navigation */
.hamburger {
    display: none;
    position: fixed;
    top: 10px;
    left: 10px;
    background: #b30000;
    color: #fff;
    border: none;
    padding: 10px 14px;
    font-size: 22px;
    z-index: 2600;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: #222;
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    padding-top: 60px;
    z-index: 2500;
}
.mobile-nav.open {
    display: flex;
}
.mobile-nav a {
    color: #fff;
    padding: 15px;
    text-decoration: none;
    border-bottom: 1px solid #444;
}

/* Logo */
.logo-wrapper {
    width: 100%;
    margin: 20px 0 30px;
    position: relative;
    z-index: 2000;
}

.site-logo {
    max-width: 320px;
    height: auto;
    display: inline-block;
    filter: drop-shadow(0 0 12px rgba(255,0,0,0.35));
}

@media (max-width: 600px) {
    .site-logo {
        max-width: 240px;
    }
}

/* Hero-Bereich */
.hero-with-images {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #b30000; /* Rot */
    padding: 0 20px 10px; /* Header flacher */
    flex-wrap: wrap;
    gap: 20px;
}

.hero-image img {
    width: 100%;
    max-width: 280px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: -30px; /* Bilder weiter nach oben */
}

.hero-center {
    flex: 1 1 300px;
    color: #fff;
}

/* Karten */
.card {
    max-width: 900px;      /* gleiche Breite wie Startseite */
    margin: 20px auto;     /* zentriert */
    background: #2a2a2a;   /* dunkle Karte */
    color: #fff;           /* weiße Schrift */
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    text-align: left;      /* Inhalt linksbündig */
}

/* Grids */
.grid,
.grid-2 {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center; /* Tiles mittig */
}

.tile {
    flex: 1 1 200px;
    text-align: left; /* Inhalt links */
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #111;
    color: #fff;
}

.legal-nav {
    text-align: center;
    padding: 10px;
    background: #000;
}
.legal-nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
}

/* Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 6px;
}

/* Mobile Anpassungen */
@media (max-width: 900px) {
    .hamburger {
        display: block;
    }
    .top-nav {
        display: none;
    }
    .hero-with-images {
        flex-direction: column;
    }
}
