/* =========================================
   GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --ff-red: #C8102E;
    --ff-dark: #1F2937;
    --ff-light: #F3F4F6;
    --ff-grey: #e5e7eb;
    --ff-gold: #c5a059;
    --ff-green: #16a34a;
    --ff-orange: #f97316;
    --ff-yellow: #FACC15;
}

/* Scroll-Verhalten */
html {
    scroll-behavior: smooth;
}

/* WICHTIG: Overflow nur hier, um horizontales Scrollen zu vermeiden */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f9f9f9;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
    /* FIX: Platzhalter für das fixierte Menü oben */
    padding-top: 80px; 
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; display: block; }

/* FIX: Keine Silbentrennung, fließende Schriftgrößen */
h1, h2, h3, h4 {
    word-wrap: normal;      /* Kein hartes Umbrechen */
    hyphens: none;          /* Keine Bindestriche! */
    -webkit-hyphens: none;
    -ms-hyphens: none;
}

/* =========================================
   HEADER & NAVIGATION (FIXED)
   ========================================= */
header {
    background-color: var(--ff-dark);
    color: white;
    padding: 1rem 0;
    /* FIX: Position Fixed zwingt das Menü an den oberen Rand */
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000; /* Sehr hoch, damit es über allem liegt */
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.4rem;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
}

.logo span { color: var(--ff-red); }

.nav-links { display: flex; align-items: center; }

.nav-links > a {
    color: white;
    margin-left: 20px;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
}

.nav-links > a:hover,
.nav-links > a.active {
    color: var(--ff-red);
    border-bottom: 2px solid var(--ff-red);
}

/* Dropdown */
.dropdown { position: relative; display: inline-block; margin-left: 20px; }

.dropbtn {
    background-color: transparent;
    color: white;
    padding: 10px 0;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-family: inherit;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--ff-dark);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 2001;
    top: 100%;
    left: 0;
    padding-top: 10px;
    border-top: 2px solid var(--ff-red);
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    display: block;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-left: 0;
}

.dropdown:hover .dropdown-content { display: block; }
.dropdown:hover .dropbtn { color: var(--ff-red); }
.dropdown-content a:hover { background-color: #374151; color: var(--ff-red); }
.dropdown-content a.active { color: var(--ff-red); font-weight: bold; background-color: #374151; }

.menu-toggle { display: none; font-size: 1.8rem; color: white; cursor: pointer; }

/* Mobile Navigation */
@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%; /* Das ist jetzt relativ zum fixierten Header */
        left: 0;
        background-color: var(--ff-dark);
        padding: 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
        align-items: flex-start;
        max-height: 80vh; /* Damit man scrollen kann wenn Menü zu lang */
        overflow-y: auto;
    }
    .nav-links.active { display: flex; }
    .nav-links > a {
        margin: 0;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
    }
    .dropdown { width: 100%; margin: 0; display: block; }
    .dropbtn {
        width: 100%;
        text-align: left;
        padding: 15px 20px;
        border-bottom: none;
        background: rgba(0,0,0,0.2);
    }
    .dropdown-content {
        display: block;
        position: static;
        box-shadow: none;
        border-top: none;
        width: 100%;
        background: transparent;
    }
    .dropdown-content a {
        padding-left: 40px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* =========================================
   COMMON ELEMENTS
   ========================================= */
.hero {
    height: 350px;
    background: linear-gradient(rgba(31, 41, 55, 0.7), rgba(31, 41, 55, 0.7)), url('/img/hero.jpg');
    background-color: #444;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}
/* Fluid Typography für Überschriften: Passt sich stufenlos an */
.hero h1 { 
    /* Min: 1.5rem, Ideal: 5vw, Max: 3rem */
    font-size: clamp(1.5rem, 5vw, 3rem); 
    margin: 0; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7); 
    line-height: 1.2;
}
.hero p { 
    font-size: clamp(1rem, 3vw, 1.3rem); 
    margin-top: 10px; 
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7); 
}

.page-header { background: #fff; padding: 40px 0; border-bottom: 1px solid #eee; margin-bottom: 30px; text-align: center; }
.page-header h1 { margin: 0; color: var(--ff-dark); }
.page-header p { color: #666; margin-top: 10px; }

.section-title { text-align: center; margin: 50px 0 30px 0; }
.section-title h2 { 
    font-size: clamp(1.5rem, 4vw, 2.2rem); 
    color: var(--ff-dark); 
    margin-bottom: 10px; 
}
.divider { height: 4px; width: 60px; background: var(--ff-red); margin: 0 auto; }

.card { 
    background: white; 
    padding: 30px; 
    border-radius: 8px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

footer {
    background: var(--ff-dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: auto;
    position: relative; 
    z-index: 100;
}
footer a { color: white; text-decoration: underline; margin: 0 5px; }
footer a:hover { color: var(--ff-red); }

/* =========================================
   PAGE SPECIFIC: INDEX / HOME
   ========================================= */
.home-hero { height: 80vh; min-height: 500px; }

/* Startseite Text: Groß, aber flexibel */
.home-hero h1 { 
    /* Min: 1.8rem, Ideal: 6vw, Max: 4rem */
    font-size: clamp(1.8rem, 6vw, 4rem); 
    line-height: 1.1; 
    font-weight: 800; 
    max-width: 1000px; 
    margin: 0 auto; 
}
.home-hero p { 
    font-size: clamp(1.1rem, 3vw, 1.6rem); 
    font-weight: 300; 
    margin-bottom: 2.5rem; 
}
.hero-text-container { transition: opacity 0.5s ease-in-out; opacity: 1; padding: 0 20px; width: 100%; }
.fade-out { opacity: 0; }

.btn-primary { background-color: var(--ff-red); color: white; padding: 15px 40px; border-radius: 5px; font-weight: bold; font-size: 1.1rem; box-shadow: 0 4px 10px rgba(0,0,0,0.3); display: inline-block; }
.btn-primary:hover { background-color: #a00d25; transform: translateY(-2px); }

.features { padding: 4rem 0; background-color: var(--ff-light); flex-grow: 1; }

.grid, .home-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
}

.home-card { 
    background: white; 
    padding: 2rem; 
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
    text-align: center; 
    border-top: 5px solid var(--ff-red); 
    transition: transform 0.3s; 
    display: flex;
    flex-direction: column;
    align-items: center; 
    height: 100%;
}
.home-card:hover { transform: translateY(-5px); }

.home-card i {
    display: block;
    font-size: 3.5rem;
    color: var(--ff-red);
    margin-bottom: 1.5rem;
}
.home-card h3 { margin-bottom: 1rem; color: var(--ff-dark); font-size: 1.5rem; }
.home-card p { flex-grow: 1; margin-bottom: 1.5rem; }
.home-card a { color: var(--ff-red); font-weight: bold; text-transform: uppercase; font-size: 0.9rem; }

/* =========================================
   PAGE SPECIFIC: EINSÄTZE
   ========================================= */
.mission-list { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; flex-grow: 1; }
.mission-card { background: white; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); overflow: hidden; display: flex; border-left: 5px solid #ccc; transition: transform 0.2s; }
.mission-card:hover { transform: translateX(5px); }
.type-brand { border-left-color: #C8102E; }
.type-th { border-left-color: #2563eb; }
.type-uebung { border-left-color: #f59e0b; }
.type-sonstiges { border-left-color: #64748b; }
.type-bma { border-left-color: #9333ea; }

.date-box { background: #f3f4f6; padding: 20px; display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 90px; text-align: center; border-right: 1px solid #eee; }
.date-day { font-size: 1.5rem; font-weight: bold; color: var(--ff-dark); line-height: 1; }
.date-month { font-size: 0.9rem; text-transform: uppercase; color: #666; }
.date-year { font-size: 0.8rem; color: #999; }

.mission-content { padding: 20px; flex-grow: 1; }
.mission-meta { font-size: 0.85rem; color: #666; margin-bottom: 5px; display: flex; flex-wrap: wrap; gap: 15px; }
.mission-meta i { color: var(--ff-red); margin-right: 5px; }
.mission-title { margin: 5px 0 10px 0; font-size: 1.3rem; color: var(--ff-dark); }
.mission-desc { color: #555; font-size: 0.95rem; margin-bottom: 15px; line-height: 1.5; }

/* =========================================
   PAGE SPECIFIC: AKTUELLES
   ========================================= */
.page-layout { 
    display: grid; 
    grid-template-columns: 2fr 1fr; 
    gap: 40px; 
    margin-bottom: 60px; 
    margin-top: 50px; 
}

.news-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.news-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: transform 0.3s; display: flex; flex-direction: column; border-top: 4px solid var(--ff-red); }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px rgba(0,0,0,0.1); }

.card-image { height: 250px; background-size: cover; background-position: center; position: relative; background-color: #eee; }
.category-tag { position: absolute; top: 15px; left: 15px; background: var(--ff-red); color: white; padding: 5px 12px; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.3); }

.card-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.category-inline { display: inline-block; background: var(--ff-red); color: white; padding: 5px 12px; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; border-radius: 4px; margin-bottom: 15px; align-self: flex-start; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.news-date { font-size: 0.85rem; color: #888; margin-bottom: 10px; display: block; font-weight: 500; }
.news-date i { color: var(--ff-red); margin-right: 5px; }
.card-content h2 { font-size: 1.4rem; margin: 0 0 10px 0; color: var(--ff-dark); }
.card-content p { font-size: 1rem; color: #555; margin-bottom: 20px; line-height: 1.6; flex-grow: 1; }

.load-more-container { text-align: center; margin-top: 30px; }
.btn-load { background: white; border: 2px solid var(--ff-red); color: var(--ff-red); padding: 10px 25px; font-weight: bold; cursor: pointer; transition: 0.3s; border-radius: 50px; font-size: 1rem; }
.btn-load:hover { background: var(--ff-red); color: white; }
.btn-load:disabled { border-color: #ccc; color: #ccc; cursor: default; background: white; }

.sidebar-section { background: white; padding: 30px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); height: fit-content; position: sticky; top: 100px; }
.sidebar-section h3 { margin-top: 0; color: var(--ff-dark); border-bottom: 2px solid var(--ff-red); padding-bottom: 10px; font-size: 1.3rem; }
.event-list { list-style: none; padding: 0; margin: 0; }
.event-item { padding: 15px 0; border-bottom: 1px solid #eee; display: flex; flex-direction: column; gap: 5px; }
.event-item:last-child { border-bottom: none; }
.event-name { font-weight: 600; color: #333; font-size: 1.05rem; }
.event-date { color: var(--ff-red); font-weight: bold; font-size: 0.9rem; display: flex; align-items: center; }
.event-date i { margin-right: 8px; }

/* =========================================
   PAGE SPECIFIC: FAHRZEUGE
   ========================================= */
.vehicle-section { background: white; margin-bottom: 40px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-radius: 8px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.vehicle-img { background-color: #ddd; min-height: 400px; background-size: cover; background-position: center; }
.vehicle-info { padding: 40px; }
.vehicle-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.ruf-badge { background: var(--ff-dark); color: white; padding: 5px 10px; border-radius: 4px; font-weight: bold; font-size: 0.9rem; }
.vehicle-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.vehicle-table td { padding: 8px 0; border-bottom: 1px solid #eee; vertical-align: top; }
.vehicle-table td:first-child { font-weight: bold; color: #555; width: 35%; }

/* =========================================
   PAGE SPECIFIC: FÖRDERVEREIN
   ========================================= */
.mission-box { 
    background: white; padding: 40px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    margin-top: 30px; margin-bottom: 50px; position: relative; z-index: 10; 
}
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.highlight { color: var(--ff-red); font-weight: bold; }
.impact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.impact-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: transform 0.3s; }
.impact-card:hover { transform: translateY(-5px); }
.impact-header { background: var(--ff-dark); color: white; padding: 20px; display: flex; align-items: center; gap: 15px; }
.impact-header i { font-size: 1.5rem; color: var(--ff-red); }
.impact-header h3 { margin: 0; font-size: 1.2rem; }
.impact-body { padding: 25px; }
.impact-body p { margin: 0; color: #666; line-height: 1.6; }
.membership-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.info-list { list-style: none; padding: 0; }
.info-list li { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #eee; display: flex; align-items: flex-start; }
.info-list i { color: var(--ff-green); margin-right: 15px; margin-top: 5px; font-size: 1.2rem; }
.board-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.board-card { background: white; padding: 20px; text-align: center; border-radius: 8px; border-top: 3px solid var(--ff-red); box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.board-role { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: #888; display: block; margin-bottom: 5px; }
.board-name { font-weight: bold; font-size: 1.1rem; color: var(--ff-dark); }
.membership-cta { background: var(--ff-dark); color: white; padding: 40px; border-radius: 8px; text-align: center; background-image: linear-gradient(45deg, #1F2937 0%, #374151 100%); }
.btn-join { background: var(--ff-red); color: white; padding: 12px 30px; border-radius: 5px; text-decoration: none; font-weight: bold; display: inline-block; margin-top: 20px; transition: 0.3s; }
.btn-join:hover { background: white; color: var(--ff-red); }
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; }
.sponsor-item { background: white; padding: 15px; text-align: center; border: 1px solid #eee; border-radius: 4px; font-weight: 500; color: #555; display: flex; align-items: center; justify-content: center; min-height: 60px; transition: 0.3s; }
.sponsor-item:hover { border-color: var(--ff-red); color: var(--ff-red); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

/* =========================================
   PAGE SPECIFIC: KOMMANDO & GRUPPEN
   ========================================= */
.kommando-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; margin-bottom: 60px; }
.kommando-card { background: white; border-left: 5px solid var(--ff-red); padding: 30px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); display: flex; align-items: center; gap: 20px; }
.kommando-img {
    width: 100px;
    height: 100px;
    background: #ddd;
    border-radius: 50%;
    flex-shrink: 0;
    background-image: url('img/portrait_placeholder.jpg');
    background-size: cover;
    background-position: center;
}
.kommando-info h3 { margin: 5px 0; color: var(--ff-dark); }
.kommando-info p { margin: 0; color: #555; }
.groups-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; margin-bottom: 60px; }
.group-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-top: 4px solid var(--ff-dark); display: flex; flex-direction: column; }
.card-header { background: var(--ff-grey); padding: 15px 20px; font-weight: bold; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.group-img { width: 100%; height: 200px; background: #ddd; object-fit: cover; display: block; }
.card-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.group-lead-title { text-transform: uppercase; font-size: 0.85rem; color: #666; font-weight: bold; margin-bottom: 15px; display: block; border-bottom: 2px solid #eee; padding-bottom: 5px; }
.leader-list { list-style: none; padding: 0; margin: 0; margin-bottom: 20px; }
.leader-list li { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid #f0f0f0; font-size: 1.05rem; color: var(--ff-dark); }
.leader-list li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.dienst-box { margin-top: auto; background: #fff3cd; border-left: 4px solid #ffc107; padding: 15px; font-size: 0.95rem; color: #856404; line-height: 1.4; }
.dienst-box i { margin-right: 5px; }
.dienst-box strong { display: block; margin-bottom: 5px; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }
.funktion-table { width: 100%; border-collapse: collapse; background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border-radius: 8px; overflow: hidden; margin-bottom: 40px; }
.funktion-table th { background: var(--ff-dark); color: white; padding: 15px; text-align: left; width: 50%; }
.funktion-table td { padding: 12px 15px; border-bottom: 1px solid #eee; }
.funktion-table tr:last-child td { border-bottom: none; }

/* =========================================
   PAGE SPECIFIC: GESCHICHTE
   ========================================= */
.timeline-container { max-width: 1000px; margin: 60px auto; position: relative; padding: 0 20px; flex-grow: 1; }
.timeline-container::after { content: ''; position: absolute; width: 4px; background-color: #eee; top: 0; bottom: 0; left: 50%; margin-left: -2px; }
.timeline-item { padding: 10px 40px; position: relative; width: 50%; box-sizing: border-box; }
.left { left: 0; } .right { left: 50%; }
.timeline-content { padding: 25px; background: white; border-radius: 6px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); border-top: 3px solid var(--ff-red); }
.year-badge { background: var(--ff-dark); color: var(--ff-gold); padding: 5px 15px; border-radius: 50px; font-weight: bold; display: inline-block; margin-bottom: 15px; }

/* =========================================
   PAGE SPECIFIC: ALTERSABTEILUNG
   ========================================= */
.content-section { margin: 40px auto; flex-grow: 1; }
.highlight-box { background: var(--ff-light); padding: 15px 20px; border-radius: 4px; margin-top: 20px; border-left: 4px solid var(--ff-red); }
.founding-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 20px; }
.founding-col h3 { color: var(--ff-red); font-size: 1.3rem; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.member-list { list-style: none; padding: 0; }
.member-list li { padding: 10px 0; border-bottom: 1px solid #eee; font-size: 1.05rem; }
.member-list li:last-child { border-bottom: none; }
.history-box { border-left: 4px solid var(--ff-gold); padding-left: 25px; margin-top: 30px; position: relative; }
.history-item { margin-bottom: 30px; position: relative; }
.history-item::before { content: ''; position: absolute; left: -34px; top: 5px; width: 14px; height: 14px; background: white; border: 3px solid var(--ff-gold); border-radius: 50%; }
.timeline-date { color: var(--ff-gold); font-size: 0.9rem; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 5px; }
.timeline-text strong { color: var(--ff-dark); font-size: 1.1rem; }

/* =========================================
   PAGE SPECIFIC: JUGEND & KINDER
   ========================================= */
.grid-2col { 
    display: grid; 
    grid-template-columns: 2fr 1fr; 
    gap: 30px; 
    margin-top: 40px; 
    margin-bottom: 60px; 
    align-items: start; 
}

.btn-download { 
    background-color: var(--ff-red); 
    color: white; 
    padding: 12px 25px; 
    text-decoration: none; 
    border-radius: 5px; 
    display: inline-block; 
    margin-top: 20px; 
    font-weight: bold; 
    transition: background 0.3s; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    width: fit-content; 
    align-self: center;
}
.btn-download:hover { background-color: #a00d25; transform: translateY(-2px); }
.btn-download i { margin-right: 8px; }

.grid-2col .card {
    text-align: center;
    align-items: center;
}

.activity-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px; }
.activity-list li { display: flex; align-items: center; font-weight: 500; }
.activity-list i { color: var(--ff-orange); margin-right: 10px; font-size: 1.2rem; }
.btn-external { background: var(--ff-dark); color: white; padding: 15px 20px; text-decoration: none; border-radius: 5px; display: block; text-align: center; margin-top: 20px; transition: background 0.3s; border-left: 5px solid var(--ff-orange); }
.btn-external:hover { background: #333; }

/* =========================================
   MOBILE RESPONSIVENESS & FIXES
   ========================================= */
@media (max-width: 1024px) {
    .home-hero h1 { font-size: 2.5rem; }
    .home-hero p { font-size: 1.3rem; }
    .home-grid, .grid { gap: 1.5rem; }
}

@media (max-width: 768px) {
    /* 1. STARTSEITE FIX */
    .home-hero h1, .hero h1 { 
        font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
        line-height: 1.2;
        padding: 0 10px;
    }
    .home-hero p, .hero p { 
        font-size: 1.1rem !important; 
        padding: 0 15px;
    }
    .hero-text-container {
        width: 100% !important;
        box-sizing: border-box;
    }

    /* 2. GRID FIX: Flex-Column */
    .grid, .home-grid, .grid-2col, .mission-grid, .membership-grid, .groups-grid, .page-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important; 
    }

    /* 3. KARTEN FIX */
    .card, .home-card, .mission-card, .impact-card {
        width: 100%;
        max-width: 100%;
        margin: 0 0 30px 0; 
        box-sizing: border-box;
    }
    .card:last-child, .home-card:last-child {
        margin-bottom: 0;
    }

    /* 4. FÖRDERVEREIN FIX */
    .mission-box {
        padding: 20px; 
        margin-top: 20px;
    }

    /* 5. EINSÄTZE FIX */
    .mission-card { flex-direction: column; }
    .date-box { 
        flex-direction: row; gap: 10px; 
        border-right: none; border-bottom: 1px solid #eee; 
        padding: 10px; justify-content: flex-start; 
        width: 100%; 
    }
    .date-month, .date-year { font-size: 1rem; align-self: center; }

    /* 6. FAHRZEUGE FIX */
    .vehicle-section { display: flex; flex-direction: column; }
    .vehicle-img { height: 250px; min-height: auto; order: 1; width: 100%; }
    .vehicle-info { order: 2; padding: 25px; }

    /* 7. GESCHICHTE FIX */
    .timeline-container::after { left: 31px; } 
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 0; } 
    .left, .right { left: 0; }

    /* 8. ALTERSABTEILUNG FIX */
    .founding-grid { display: flex; flex-direction: column; gap: 30px; }

    /* 9. JUGEND FIX */
    .activity-list { display: flex; flex-direction: column; }
    .grid-2col { margin-top: 20px; }
}