
:root {
    --fire-red: #d32f2f;
    --dark-blue: #1a237e;
    --text-main: #2c3e50;
    --light-bg: #f4f7f6;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo { font-weight: 800; color: var(--fire-red); font-size: 1.2rem; }
.nav-links { display: flex; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-main); padding: 0 15px; font-weight: 600; transition: 0.3s; }
.nav-links a:hover { color: var(--fire-red); }

/* Hero mit Hintergrundbild-Funktion */
.hero {
    height: 100vh;
    /* ERSETZE 'hero.jpg' durch dein Bild-Dateinamen */
    background: #333 url('start2.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dunkelt das Bild ab für Lesbarkeit */
}

.hero-content { position: relative; z-index: 1; padding: 0 10%; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 1rem; }
.badge { background: var(--fire-red); padding: 4px 12px; border-radius: 4px; font-size: 0.8rem; }

/* Sektionen */
.section { padding: 80px 0; }
.bg-light { background: var(--light-bg); }
.section-header { text-align: center; margin-bottom: 50px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

/* Karten */
.card, .vehicle-card, .highlight-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.img-placeholder {
    height: 200px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    margin: -30px -30px 20px -30px;
    border-radius: 8px 8px 0 0;
}

/* Buttons */
.btn {
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
}
.primary { background: var(--fire-red); color: white; }
.secondary { border: 2px solid white; color: white; margin-left: 10px; }

/* Jugend-Sektion */
.highlight-card { background: var(--dark-blue); color: white; text-align: center; }
.custom-list { list-style: none; margin-top: 20px; }
.custom-list li { margin-bottom: 10px; }

/* Footer */
footer { background: #222; color: #ccc; padding: 50px 0; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; }
.footer-links ul { list-style: none; }
.footer-links a { color: #999; text-decoration: none; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 2.2rem; }
}

.vehicle-img {
    width: 100%; /* Nutzt die volle Breite der Karte */
    height: 250px; /* Hier stellst du die gewünschte feste Höhe ein */
    object-fit: cover; /* Das Bild wird skaliert und beschnitten, damit es passt */
    object-position: center; /* Das Zentrum des Bildes bleibt immer sichtbar */
}



/* Styling für Mitglied Werden */
.bg-dark-red {
    background: darkgray; /* Ein etwas dunkleres Rot für Kontrast */
    color: white;
}

.white-text h2, .white-text p {
    color: white !important;
}

.join-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.join-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.join-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.join-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.join-card p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.btn.outline {
    border: 2px solid white;
    color: white;
    background: transparent;
    transition: all 0.3s;
}

.btn.outline:hover {
    background: white;
    color: #a51d1d;
}


/* Styling für das reine Jugend-Bild rechts */
.jugend-pure-image {
    width: 100%;
    min-height: 450px; /* Schön groß für maximale Wirkung */
    border-radius: 12px;
    background: #333 url('jf2.jpg') center/cover no-repeat;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.text-block h3 {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.custom-list {
    list-style: none;
    margin: 25px 0;
}

.custom-list li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

/* Responsiv: Auf dem Handy schrumpft das Bild etwas */
@media (max-width: 768px) {
    .jugend-pure-image {
        min-height: 300px;
        margin-top: 40px;
    }
}


/* Styling für das Mannschaftsfoto */
.team-photo-container {
    width: 100%;
    margin-bottom: 50px; /* Abstand zu den Karten darunter */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.team-img {
    width: 100%;
    height: auto;
    max-height: 500px; /* Begrenzt die Höhe bei sehr breiten Monitoren */
    object-fit: cover; /* Sorgt für einen sauberen Beschnitt, falls das Bild zu hoch ist */
    display: block;
}

/* Responsiv-Anpassung */
@media (max-width: 768px) {
    .team-photo-container {
        margin-bottom: 30px;
    }
}




/* Social Media Sektion Styling */
.social-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap; /* Wichtig für die mobile Ansicht */
}

.social-text {
    flex: 1;
    min-width: 300px;
}

.social-text h2 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Gemeinsames Button-Styling */
.social-btn {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-btn .icon {
    margin-right: 12px;
    font-size: 1.2rem;
}

/* Markenspezifische Farben */
.facebook {
    background-color: #1877F2;
}

.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Responsiv: Text zentrieren auf kleinen Bildschirmen */
@media (max-width: 768px) {
    .social-wrapper {
        text-align: center;
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }
}









