/* Mobile-Optimierung für Hauptseite */
@media only screen and (max-width: 767px),
       only screen and (max-device-width: 767px) {
    /* Globale Mobile-Anpassungen */
    body {
        font-size: 16px;
        line-height: 1.6;
        padding-top: 70px; /* Platz für fixen Header */
    }

    /* Mobile Header Anpassungen */
    .mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
        display: flex;
        justify-content: center; /* Zentrieren der Logos */
        align-items: center;
        padding: 10px 15px;
        height: 70px;
    }

    /* Logo-Bereich im mobilen Header */

.mobile-header-logos {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Änderung: von center zu flex-start */
    overflow-x: auto;
    width: 80%; /* Gibt Platz für den Menü-Button */
    padding-right: 15px;
}

.mobile-header-logos .logo-item {
    margin: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Änderung: Hinzufügen von linksbündiger Ausrichtung */
    padding: 0;
}

.mobile-header-logos .logo-item:first-child {
    width: 82px; /* oder eine spezifische Breite wie 80px */
    margin-left: 0;
    justify-content: flex-start;
}

.mobile-header-logos .logo-divider {
    height: 40px;
    width: 1px;
    background-color: #dee2e6;
    margin: 0 5px; /* 5px Abstand auf jeder Seite der Trennlinie */
}

.mobile-logo {
    max-height: 50px;
    max-width: 80px;
    object-fit: contain;
    margin-left: 0; /* Stellt sicher, dass das Logo linksbündig ist */
}

    .mobile-menu-toggle {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        font-size: 32px; /* Größer */
        cursor: pointer;
        color: #333;
        padding: 5px 10px;
    }

    /* Mobile Navigation Overlay */
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background-color: white;
        transition: left 0.3s ease;
        z-index: 1100;
        padding-top: 60px;
    }

    .mobile-nav-overlay.active {
        left: 0;
    }

    .mobile-nav-close {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 30px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-nav-list {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center; /* Zentrieren */
    }

    .mobile-nav-list li {
        border-bottom: 1px solid #eee;
    }

    .mobile-nav-list li:first-child {
        border-top: 1px solid #eee;
    }

    .mobile-nav-list a {
        display: block;
        padding: 12px;
        text-decoration: none;
        color: #333;
        font-size: 18px;
        transition: background-color 0.3s ease;
    }

    .mobile-nav-list a.active {
        background-color: #f0f0f0;
        font-weight: bold;
        color: #ca4a33; /* Hervorhebungsfarbe */
    }

    /* Logo Header Anpassungen */
    .logo-header {
        display: none;
    }

    /* Entfernen der Tabs für mobile Ansicht */
    .sticky-tabs {
        display: none;
    }

    /* Aktionen-Karten */
    .card {
        margin-bottom: 20px;
    }

    .action-image-container {
        height: 200px;
    }

    /* Überschriften und Texte */
    .gold-heading {
        font-size: 24px;
    }

    .heading-subtext {
        font-size: 18px;
    }

    .text-columns {
        column-count: 1;
    }

    /* Standorte */
    .location-image-container,
    .mobile-standort-image {
        height: 250px;
        width: 100%;
    }

    .mobile-standort-info {
        flex-direction: column;
    }

    .mobile-standort-info img {
        margin-bottom: 15px;
        align-self: center;
    }

    /* Responsive Buttons */
    .btn {
        padding: 10px 15px;
        font-size: 16px;
    }

    /* Footer-Anpassungen */
    footer {
        padding: 15px;
        font-size: 14px;
    }
    
    /* Anpassung des Hauptcontainers */
    .container {
        margin-top: 20px;
    }
}

/* Übergangseffekte für bessere Benutzerfreundlichkeit */
.mobile-nav-overlay,
.mobile-header,
.sticky-tabs .nav-tabs {
    transition: all 0.3s ease;
}