
    header{
    background:#c00000;
    color:rgb(255, 255, 255);
    padding:1.0em;
    }

    nav{
    margin-top:1em;
    padding-left:6.5em;
    display: flex;          /* Logo und Menü nebeneinander anordnen */
    justify-content: space-between;
    }
   
   
    nav a{
    color:rgb(255, 255, 255);
    text-decoration:none;
    margin-right:0.5em;     /* Abstand rechts */
    font-weight:bold;       /* Fett */
    font-size: 1.2em;      /* Schriftgröße */
    display: inline-block; /* Sorgt dafür, dass das Padding oben/unten wirkt */
    padding: 0.2em 0.2em;     /* 8px Abstand oben/unten, 16px Abstand links/rechts */
    transition: all 0.3s;  /* Macht den Übergang beim Drüberfahren schön geschmeidig */
    }

    nav a:hover {
    color: #0c34e2; /* Wird beim Drüberfahren eine andere Farbe */
    background:#707070;
    padding: 0.2em 0.2em;
    }
        
    body {
      background:#c4abab;
      background: linear-gradient(75deg,rgb(245, 243, 243),rgb(226, 143, 143)) 
    }

    .header-logo {
    display: flex;
    align-items: center; /* Bild und Text vertikal ausrichten */
    gap: 1.5em;           /* Abstand zwischen Bild und Text */
    }

    .logo {
    font-size: 2em;
    font-weight: bold;
    color: white;
    }

    footer {
    text-align: left;
    font-size: 1.5em;
    padding: 0.5em; 
    background-color: DarkSalmon;
    font-weight:normal;
    line-height: 100%;
    color: white;
    }


/* Neue Zwei Spalten */

/* 2-Spalten-Raster für Einsätze & Aktuelles */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Zwei gleich breite Spalten */
    gap: 30px;                      /* Abstand zwischen den Spalten */
    margin-top: 40px;
    max-width: 1200px;
    min-width: 800px;
    margin: 0 auto;
}

/* Flexbox für die Kacheln (Fahrzeuge / Jugend / Übungen / Ankündigungen) */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    max-width: 1200px;
    min-width: 800px;
    margin: 0 auto;
}

/* Einzelne Karte aufgeteilt in Bild und Text (nebeneinander) */
.feature-card {
    display: flex;                 /* Richtet Bild und Text nebeneinander aus */
    color: white;
    overflow: hidden;
}

.feature-card .card-image {
    flex: 1;                       /* Bild nimmt die Hälfte des Platzes ein */
    background-size: cover;
    background-position: center;
    
    
}

.feature-card .card-content {
    flex: 1;                       /* Text nimmt die andere Hälfte ein */
    padding: 20px;
}

/* Farbige Akzente (Typisches Feuerwehr-Rot) */
.crimson-bg {
    background-color: #b51a1a;
}

.dark-bg {
    background-color: #1a1a1a;
}


.crimson-bg2 {
    background-color: #1a1a1a;
}

.dark-bg2 {
    background-color: #b51a1a;
}


@media (max-width: 768px) {

    /* Navigation untereinanderstapeln */
    .nav {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    nav  {
        flex-direction: column; /* Menüpunkte untereinander statt nebeneinander */
        gap: 15px;
        width: 100%;
        text-align: center;
        line-height: 0;
    }
    
    
    nav a:hover {
    color: #0c34e2; /* Wird beim Drüberfahren eine andere Farbe */
    background:#707070;
    padding: 0.5em 0.2em;
    }




/* 2-Spalten-Raster für Einsätze & Aktuelles */
.content-grid {
    display: grid;
    grid-template-columns: 1fr ; /* Zwei gleich breite Spalten */
    gap: 30px;                      /* Abstand zwischen den Spalten */
    margin-top: 40px;
    max-width: 500px;
    min-width: 300px;
    margin: 0 auto;
}

/* Flexbox für die Kacheln (Fahrzeuge / Jugend / Übungen / Ankündigungen) */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr ;
    gap: 20px;
    margin-top: 40px;
    max-width: 500px;
    min-width: 300px;
    margin: 0 auto;
}

/* Einzelne Karte aufgeteilt in Bild und Text (nebeneinander) */
.feature-card {
    display: flex;                 /* Richtet Bild und Text nebeneinander aus */
    color: white;
    overflow: hidden;
}

.feature-card .card-image {
    flex: 1;                       /* Bild nimmt die Hälfte des Platzes ein */
    background-size: cover;
    background-position: center;
    
    
}

.feature-card .card-content {
    flex: 1;                       /* Text nimmt die andere Hälfte ein */
    padding: 20px;
}

/* Farbige Akzente (Typisches Feuerwehr-Rot) */
.crimson-bg {
    background-color: #b51a1a;
}

.dark-bg {
    background-color: #1a1a1a;
}


.crimson-bg2 {
    background-color: #1a1a1a;
}

.dark-bg2 {
    background-color: #b51a1a;
}



}
