/*==================================
 1. GRUNDLEGENDE EINSTELLUNGEN
 Hier werden alle grundlegenden Variablen und
 Basis-Styles definiert, die auf der gesamten
 Website verwendet werden.
===================================*/

/* Farbvariablen und Design-Konstanten 
   CSS-Variablen ermöglichen es uns, Werte zentral
   zu definieren und später einfach zu ändern */
:root {
    /* Hauptfarben - Basis des Farbschemas */
    --primary-color: #155179;    /* Dunkles Blau für Header und Footer - Hauptfarbe der Website */
    --primary-light: #3b82f6;    /* Helles Blau für Buttons und Akzente - für interaktive Elemente */
    --secondary-color: #fbbf24;   /* Gold für wichtige Buttons - für Call-to-Action Elemente */
    
    /* Text und Hintergrund - für optimale Lesbarkeit */
    --text-color: #1f2937;       /* Dunkles Grau für Text - nicht ganz schwarz für angenehmeres Lesen */
    --background-color: #f8fafc;  /* Heller Hintergrund - sehr helles Grau für weniger Kontrast */
    --card-background: #ffffff;   /* Weiß für Karten - für bessere Abhebung vom Hintergrund */
    --nav-hover: rgba(255, 255, 255, 0.15); /* Hover-Effekt in der Navigation - subtil aber sichtbar */
    
    /* Schatten-Effekte für Tiefenwirkung */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);        /* Leichter Schatten - für subtile Erhebung */
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);    /* Mittlerer Schatten - für Buttons und Karten */
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);  /* Starker Schatten - für Hover-Effekte */
}

/* Grundlegendes Reset 
   Entfernt Standard-Browser-Styles für konsistentes Aussehen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;  /* Verhindert, dass Padding die Elementgröße verändert */
}

/* Basis-HTML-Einstellungen 
   Grundlegende Typografie und Scroll-Verhalten */
html {
    font-size: 16px;          /* Basis-Schriftgröße - Standard für moderne Websites */
    scroll-behavior: smooth;   /* Sanftes Scrollen bei Anker-Links */
}

/* Grundlegende Body-Styles 
   Definiert das grundlegende Erscheinungsbild der Website */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;  /* Moderne, gut lesbare Schriftart */
    line-height: 1.6;         /* Optimaler Zeilenabstand für gute Lesbarkeit */
    background-color: var(--background-color);
    color: var(--text-color);
}

/*==================================
 2. HEADER UND NAVIGATION
 Der Header bleibt immer sichtbar und enthält
 die wichtigsten Navigationselemente
===================================*/

/* Header-Bereich 
   Sticky Header, der beim Scrollen oben bleibt */
header {
    background-color: var(--primary-color);
    padding: 0.75rem 2rem;
    position: sticky;         /* Bleibt oben fixiert beim Scrollen */
    top: 0;
    z-index: 1000;           /* Stellt sicher, dass der Header über allem anderen liegt */
    box-shadow: var(--shadow-md);  /* Schatten für visuelle Trennung vom Content */
    min-height: 5rem;        /* Garantiert ausreichend Platz für Logo und Navigation */
    display: flex;
    align-items: center;     /* Vertikale Zentrierung aller Elemente */
}

/* Header-Container für maximale Breite 
   Begrenzt die Breite des Headers auf Desktop-Bildschirmen */
.header-container {
    max-width: 1200px;       /* Maximale Breite für große Bildschirme */
    margin: 0 auto;          /* Zentriert den Container */
    display: flex;
    justify-content: space-between;  /* Verteilt Elemente gleichmäßig */
    align-items: center;
    position: relative;      /* Referenzpunkt für absolute positionierte Elemente */
    width: 100%;
    height: 100%;
}

/* Logo-Bereich 
   Enthält das Logo und den Seitentitel */
.logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;             /* Moderner Abstand zwischen Logo und Text */
}

/* Logo-Bild mit Hover-Effekt */
.logo img {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;   /* Leicht abgerundete Ecken */
    transition: transform 0.3s ease;  /* Sanfte Animation für Hover */
    object-fit: contain;     /* Behält Bildverhältnis bei */
}

.logo img:hover {
    transform: scale(1.05);  /* Leichte Vergrößerung bei Hover für Interaktivität */
}

/* Titel im Logo-Bereich */
.logo h2, .logo h5 {
    color: #ffffff;
    margin: 0;
}

.logo h2 {
    font-size: 1.4rem;        /* Reduziert von 1.75rem */
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.2;
}

.logo h5 {
    font-size: 0.85rem;      /* Reduziert von 1rem */
    font-weight: 400;
    opacity: 0.9;
}

/* Hauptnavigation 
   Enthält die Hauptmenüpunkte */
nav {
    margin-left: auto;       /* Schiebt Navigation nach rechts */
    height: 100%;
    display: flex;
    align-items: center;     /* Vertikale Zentrierung */
}

/* Navigationsliste */
nav ul {
    display: flex;
    gap: 2rem;              /* Gleichmäßiger Abstand zwischen Menüpunkten */
    list-style: none;
    justify-content: flex-end;  /* Rechtsbündige Ausrichtung */
    align-items: center;
    height: 100%;
}

/* Einzelne Menüpunkte */
nav ul li {
    height: 100%;
    display: flex;
    align-items: center;     /* Vertikale Zentrierung der Links */
}

/* Navigations-Links */
nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;      /* Reduziert von 1.1rem */
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

/* Hover-Effekt für Navigation */
nav ul li a:hover {
    background-color: var(--nav-hover);  /* Subtiler Hover-Effekt */
}

/* Mobile Menü Button */
.mobile-menu-btn {
    display: none;           /* Standardmäßig ausgeblendet */
    background: none;
    border: none;
    color: white;
    font-size: 1.75rem;     /* Größeres Icon für bessere Touch-Bedienung */
    cursor: pointer;
    padding: 0.75rem;
    z-index: 1002;          /* Über der Navigation */
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

.burger-icon {
    display: block;
    transition: transform 0.3s ease;
}

.mobile-menu-btn.active .burger-icon {
    transform: rotate(90deg);
}

/*==================================
 3. BANNER-BEREICH
===================================*/

.banner_home {
    height: 60vh;           /* 60% der Viewport-Höhe */
    min-height: 400px;      /* Minimale Höhe */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 2rem;
    transition: background-image 1s ease-in-out;
}

/* Banner-Überblendung */
.banner_home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
    background-image: var(--current-image);
}

.banner_home.transitioning::before {
    opacity: 1;
}

.banner-text {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 1rem;
    backdrop-filter: blur(8px);  /* Glaseffekt */
}

.banner-text h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);  /* Reduziert von clamp(2rem, 5vw, 3.5rem) */
    margin-bottom: 1rem;
    font-weight: 700;
}

.banner-text p {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);  /* Reduziert von clamp(1rem, 2vw, 1.25rem) */
    max-width: 600px;
    margin: 0 auto;
}

/*==================================
 4. HAUPTINHALT
===================================*/

/* Fahrtenberichte */
.fahrtenbericht {
    background: var(--card-background);
    border-radius: 1rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    overflow: hidden;
}

.fahrtenbericht-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--primary-color);
    cursor: pointer;
}

.preview-image {
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-text {
    flex-grow: 1;
    color: white;
}

.preview-text h3 {
    margin: 0;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.fahrtenbericht-datum {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.preview-text p {
    margin: 0;
    font-size: 0.85rem;
    -webkit-line-clamp: 1;
    -moz-line-clamp: 1;
    line-clamp: 1;
    max-height: 1.4em; /* Fallback für Browser ohne line-clamp Unterstützung */
}

@supports (-webkit-line-clamp: 1) {
    .preview-text p {
        max-height: none; /* Entfernt die Fallback-Höhe wenn line-clamp unterstützt wird */
    }
}

.fahrtenbericht-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.fahrtenbericht.active .fahrtenbericht-toggle {
    transform: rotate(180deg);
}

.fahrtenbericht-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.fahrtenbericht.active .fahrtenbericht-content {
    padding: 2rem;
    max-height: 2000px;
    opacity: 1;
}

.fahrtenbericht.active .preview-text p {
    display: none;  /* Blendet den Preview-Text aus, wenn der Bericht aktiv ist */
}

/* Bildergalerie */
.fahrtenbericht-bilder {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-items: start;
}

/* Bildcontainer mit verschiedenen Formaten */
.bild-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.bild-container:hover {
    transform: scale(1.02);
}

/* Bildformat 3:2 */
.format-3-2 {
    aspect-ratio: 3/2;
}

/* Bildformat 2:3 */
.format-2-3 {
    aspect-ratio: 2/3;
}

/* Bilder innerhalb der Container */
.bild-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* Füllt den Container optimal aus */
    transition: transform 0.3s ease;
}

.bild-container:hover img {
    transform: scale(1.05); /* Leichter Zoom-Effekt beim Hover */
}

/* Textbereich */
.fahrtenbericht-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.fahrtenbericht-text h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.fahrtenbericht-text p {
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

/* Responsive Anpassungen */
@media (max-width: 1024px) {
    .fahrtenbericht-content {
        grid-template-columns: 1fr;  /* Einspaltiges Layout auf kleineren Bildschirmen */
    }

    .fahrtenbericht-bilder {
        order: -1;                   /* Bilder kommen zuerst */
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .fahrtenbericht-content {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .preview-image {
        width: 60px;
        height: 60px;
    }

    .preview-text h3 {
        font-size: 1.1rem;
    }

    .preview-text p {
        font-size: 0.85rem;
        display: -webkit-box;
        display: -moz-box;
        display: box;
        -webkit-line-clamp: 1;
        -moz-line-clamp: 1;
        line-clamp: 1;
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 1.4em; /* Fallback für Browser ohne line-clamp Unterstützung */
    }

    @supports (-webkit-line-clamp: 1) {
        .preview-text p {
            max-height: none; /* Entfernt die Fallback-Höhe wenn line-clamp unterstützt wird */
        }
    }
}

@media (max-width: 480px) {
    .fahrtenbericht-preview {
        padding: 0.75rem;
    }

    .preview-image {
        width: 50px;
        height: 50px;
    }

    .preview-text h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .preview-text p {
        font-size: 0.8rem;
    }

    .fahrtenbericht-bilder {
        gap: 0.5rem;
    }

    .fahrtenbericht-content {
        padding: 1rem;
    }
}

/* Hauptcontainer */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Container für Inhaltsblöcke */
.content-container {
    background: var(--card-background);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    animation: fadeIn 0.6s ease-out;
}

/* Grid-Layout für Flex-Gruppen */
.flex-gruppen {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

/* Einzelne Flex-Items */
.flexbox-item {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.flexbox-item:hover {
    transform: translateY(-5px);     /* Leichte Anhebung bei Hover */
    box-shadow: var(--shadow-lg);
}

.flexbox-item a {
    color: var(--text-color);
    text-decoration: none;
}

/*==================================
 5. BUTTONS
===================================*/

.Start-button,
.Podcast-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.Start-button {
    background: var(--secondary-color);
    color: var(--text-color);
}

.Podcast-button {
    background: var(--primary-light);
    color: white;
}

.Start-button:hover,
.Podcast-button:hover {
    transform: translateY(-2px);    /* Leichte Anhebung bei Hover */
    box-shadow: var(--shadow-md);
}

/*==================================
 6. FOOTER
===================================*/

footer {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;          /* Reduziertes Padding */
    margin-top: 2rem;       /* Reduzierter Abstand von oben */
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 1rem;              /* Reduzierter Abstand zwischen Elementen */
}

footer a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;    /* Kleinerer Klickbereich */
    border-radius: 0.25rem;  /* Kleinere Abrundung */
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
    font-size: 0.9rem;      /* Kleinere Schriftgröße */
}

footer a:hover {
    background-color: var(--nav-hover);
    transform: translateY(-2px);
}

/* Mobile Anpassungen für Footer */
@media (max-width: 480px) {
    footer {
        padding: 0.75rem;    /* Noch kleineres Padding auf Mobilgeräten */
    }
    
    footer a {
        padding: 0.4rem 0.8rem;
        width: 100%;
        text-align: center;
        font-size: 0.85rem;  /* Noch kleinere Schrift auf Mobilgeräten */
    }
}

/*==================================
 7. RESPONSIVE DESIGN
===================================*/

/* Tablet und kleinere Bildschirme */
@media (max-width: 768px) {
    /* Header Anpassungen */
    header {
        padding: 0.75rem 1rem;
        position: relative;     /* Für absolute Positionierung der Navigation */
        flex-wrap: wrap;       /* Erlaubt Umbruch der Elemente */
    }

    .logo {
        max-width: calc(100% - 60px);  /* Platz für den Burger-Button */
    }

    .logo h2 {
        font-size: 1.1rem;
        white-space: normal;   /* Erlaube Zeilenumbrüche */
        word-wrap: break-word;
    }

    .logo h5 {
        font-size: 0.8rem;
    }

    /* Mobile Navigation */
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 1rem;
        top: 1rem;
        background: var(--primary-color);
        padding: 0.5rem;
        border-radius: 0.5rem;
        z-index: 1002;
    }

    nav {
        display: none;
        position: fixed;       /* Fixierte Position statt absolute */
        top: 0;               /* Startet vom oberen Rand */
        left: 0;
        width: 100%;
        height: 100vh;        /* Volle Viewport-Höhe */
        background: var(--primary-color);
        padding: 4rem 1rem 1rem; /* Platz für Header oben */
        box-shadow: var(--shadow-md);
        z-index: 1001;
        overflow-y: auto;     /* Scrollbar wenn nötig */
    }

    nav.active {
        display: block;
        animation: slideIn 0.3s ease-out;
    }

    nav ul {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        padding: 0;
    }

    nav ul li {
        width: 100%;
        opacity: 0;
        animation: fadeInUp 0.3s ease-out forwards;
    }

    nav.active ul li {
        opacity: 1;
    }

    nav ul li a {
        width: 100%;
        padding: 1rem;
        justify-content: center;
        text-align: center;
        border-radius: 0.5rem;
        font-size: 1.1rem;
        background: rgba(255, 255, 255, 0.1);
    }

    nav ul li a:hover {
        background: var(--nav-hover);
        transform: translateY(-2px);
    }

    /* Animationen für mobile Navigation */
    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(100%);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Verzögerte Animation für Menüpunkte */
    nav ul li:nth-child(1) { animation-delay: 0.1s; }
    nav ul li:nth-child(2) { animation-delay: 0.2s; }
    nav ul li:nth-child(3) { animation-delay: 0.3s; }
    nav ul li:nth-child(4) { animation-delay: 0.4s; }
    nav ul li:nth-child(5) { animation-delay: 0.5s; }
    nav ul li:nth-child(6) { animation-delay: 0.6s; }

    /* Content Anpassungen */
    .banner_home {
        min-height: 300px;
    }

    .content-container {
        padding: 1.5rem;
    }

    .flex-gruppen {
        grid-template-columns: 1fr;  /* Einzelne Spalte */
    }
}

/* Smartphone-spezifische Anpassungen */
@media (max-width: 480px) {
    header {
        padding: 0.5rem;
    }

    .logo {
        max-width: calc(100% - 50px);
    }

    .logo h2 {
        font-size: 0.95rem;
    }

    .logo h5 {
        font-size: 0.7rem;
    }

    .mobile-menu-btn {
        right: 0.5rem;
        top: 0.5rem;
    }

    nav {
        padding: 4rem 0.5rem 0.5rem;
    }

    nav ul li a {
        padding: 0.875rem;
        font-size: 1rem;
    }

    .banner-text h2 {
        font-size: 1.75rem;    /* Reduziert von 2rem */
    }

    .banner-text p {
        font-size: 0.9rem;     /* Reduziert von 1rem */
    }

    .content-container {
        padding: 1rem;
    }
}

/*==================================
 8. ANIMATIONEN
===================================*/

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*==================================
 9. DRUCK-STYLES
===================================*/

@media print {
    header {
        position: static;
    }

    .banner_home {
        height: auto;
        min-height: auto;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    pointer-events: none;
}

.lightbox-nav button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 4rem;
    height: 8rem;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: background-color 0.3s ease;
    pointer-events: auto;
}

.lightbox-nav button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
    z-index: 1001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive Anpassungen für die Lightbox */
@media (max-width: 768px) {
    .lightbox-nav {
        padding: 0 1rem;
    }

    .lightbox-nav button {
        width: 3rem;
        height: 6rem;
        font-size: 1.5rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 1.5rem;
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .lightbox-nav button {
        width: 2.5rem;
        height: 5rem;
        font-size: 1.25rem;
    }
}

/* Jahresübersicht */
.jahre-uebersicht {
    background: var(--card-background);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
}

.jahre-uebersicht h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.jahr-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.jahr-link {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.jahr-link:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Responsive Anpassungen für die Jahresübersicht */
@media (max-width: 480px) {
    .jahre-uebersicht {
        padding: 1rem;
    }
    
    .jahr-links {
        gap: 0.5rem;
    }
    
    .jahr-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Jahres-Separator */
.jahr-separator {
    height: 1px;
    background-color: #e0e0e0;
    margin: 3rem 0;
    position: relative;
}

.jahr-separator::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 0;
    right: 0;
    height: 1rem;
}

.jahr-separator::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    right: 0;
    height: 1rem;
}

/* Kommende Abenteuer */
.kommende-abenteuer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.abenteuer-karte {
    background: var(--card-background);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.abenteuer-karte:hover {
    transform: translateY(-5px);
}

.abenteuer-datum {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    font-weight: 500;
    text-align: center;
    width: 100%;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abenteuer-bild {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.abenteuer-bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abenteuer-info {
    padding: 1.5rem;
}

.abenteuer-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.abenteuer-info p {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.abenteuer-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.abenteuer-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
    min-height: 1.5rem;
}

.abenteuer-details i {
    color: var(--primary-color);
    width: 1.2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .kommende-abenteuer {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .abenteuer-info {
        padding: 1.25rem;
    }

    .abenteuer-info h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .abenteuer-datum {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .abenteuer-info {
        padding: 1rem;
    }

    .abenteuer-info h3 {
        font-size: 1.1rem;
    }

    .abenteuer-info p {
        font-size: 0.9rem;
    }
}




