:root {
    --blue: #5B94C5;
    --red: #E05D6F;
    --wa-green: #25D366;
    --dark: #333;
    --light: #f8f9fa;
    --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Montserrat', sans-serif; line-height: 1.6; color: var(--dark); scroll-behavior: smooth; }

/* HEADER & FOOTER SEPARAT */
header { background: var(--white); padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 45px; }
.nav-links { list-style: none; display: flex; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark); margin: 0 10px; font-weight: bold; font-size: 13px; }
.nav-cta { background: var(--red); color: white !important; padding: 8px 15px; border-radius: 5px; }

footer { background: #1a1a1a; color: #bbb; padding: 50px 0; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.footer-col { flex: 1; min-width: 280px; }
footer a { color: white; text-decoration: none; }
.copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid #333; font-size: 13px; text-align: center; }

/* HERO & BUTTONS */
.hero { 
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('assets/images/DSC01935.webp');
    background-size: cover; background-position: center; height: 70vh; display: flex; align-items: center; color: white;
}
.btn-main-whatsapp { background-color: var(--wa-green); color: white; padding: 18px 40px; text-decoration: none; border-radius: 50px; font-weight: bold; font-size: 1.1rem; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; }
.btn-rate { display: inline-block; padding: 12px 30px; border: 2px solid var(--blue); color: var(--blue); text-decoration: none; border-radius: 50px; font-weight: bold; transition: 0.3s; }
.btn-rate:hover { background: var(--blue); color: white; }

/* TEAM & ZEITEN */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.team-card { background: var(--light); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.team-card img { height: 380px; width: 100%; object-fit: cover; }
.team-info { padding: 30px; }
.instructor-quote { font-style: italic; color: #555; margin-bottom: 10px; border-left: 3px solid var(--blue); padding-left: 15px; }

.location-section { background-color: var(--blue) !important; color: white !important; padding: 80px 0; }
.location-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.location-card { border: 1px solid rgba(255,255,255,0.3); padding: 35px; border-radius: 15px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.theory-icon { font-size: 2.5rem; color: white; margin: 10px 0; }

/* ROTER BADGE FIX */
.time-badge { background-color: var(--red) !important; color: white !important; padding: 8px 15px; border-radius: 5px; font-weight: bold; margin-top: 10px; display: inline-block; }

/* FUHRPARK SKALIERUNG */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.gallery-grid a { border-radius: 10px; overflow: hidden; display: block; height: 250px; transition: 0.3s; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }

/* KARTEN */
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 20px; }

/* LIGHTBOX DEZENT & TRANSPARENT */
.lightbox-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(255, 255, 255, 0.75);
    display: flex; justify-content: center; align-items: center;
    z-index: 9999; opacity: 0; visibility: hidden; transition: 0.3s;
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-content { max-width: 65vw; max-height: 65vh; border: 5px solid white; border-radius: 10px; object-fit: contain; background: white; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; color: #333; font-size: 40px; font-weight: bold; cursor: pointer; padding: 20px; z-index: 10000; }
.lightbox-close { top: 10px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background: var(--wa-green); width: 60px; height: 60px; border-radius: 50px; display: flex; align-items: center; justify-content: center; font-size: 30px; color: white; z-index: 2000; text-decoration: none; }

@media (max-width: 768px) { .nav-links { display: none; } .footer-grid { flex-direction: column; } .lightbox-content { max-width: 90vw; } .map-grid { grid-template-columns: 1fr; } }