/* Stil für die untere Navigationsleiste */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #e63d00; /* Hintergrundfarbe */
    box-shadow: 0 -1px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-evenly; /* Gleichmäßige Verteilung der Links */
    align-items: center;
    padding: 4px 0; /* Schmaler Abstand */
    z-index: 1000;
    display: none; /* Standardmäßig ausblenden */
}

/* Stil für die Links in der Navigationsleiste */
.bottom-nav .nav-link {
    text-align: center;
    color: #fff; /* Weiße Icons */
    text-decoration: none;
    font-size: 12px; /* Kleinere Schriftgröße */
    padding: 8px; /* Schmaler Abstand */
}

.bottom-nav .nav-link i {
    display: block;
    font-size: 16px; /* Kleinere Icons */
    margin-bottom: 3px; /* Weniger Abstand unter den Icons */
}

/* Stil für das Plus-Symbol in der Mitte */
.bottom-nav .nav-link.plus {
    position: absolute;
    bottom: 35px; /* Hebt das Plus-Symbol weiter an */
    left: 52%;
    transform: translateX(-50%);
    background-color: #fff; /* Weißer Hintergrund */
    border-radius: 50%; /* Rundes Symbol */
    padding: 10px; /* Abstand um das Symbol */
    color: #e63d00; /* Farbe des Plus-Symbols */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.bottom-nav .nav-link.plus i {
    font-size: 22px; /* Größeres Plus-Symbol */
    margin-bottom: 0; /* Kein Abstand unter dem Symbol */
}

.bottom-nav .nav-link.plus:hover {
    background-color: #ccc; /* Helleres Grau beim Hover */
    color: #fff; /* Weiße Farbe beim Hover */
}

/* Dropdown-Menü Stil */
.dropdown-container {
    display: none;
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    z-index: 999;
    width: 60%;
    transition: all 0.3s ease-in-out;
}

.dropdown-container a {
    display: block;
    padding: 4px 8px; /* Leicht erhöhte Polsterung */
    margin: 0;
    color: #e63d00;
    font-size: 16px;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.2s, color 0.2s;
    border-radius: 10px; /* Abgerundete Ecken für Links */
}

.dropdown-container a:last-child {
    border-bottom: none;
}

.dropdown-container a:hover {
    background-color: #0059b3; /* Dunkelblau für Hover-Effekt */
    color: #fff; /* Weiß für den Text auf Dunkelblau */
}

/* Navigationsleiste und Abstand nur in der mobilen Ansicht und auf Tablets anzeigen */
@media (max-width: 1024px) and (orientation: portrait), (max-width: 1366px) and (orientation: landscape) {
    .bottom-nav {
        display: flex;
    }

    .col-12 {
        margin-bottom: 60px; /* Angepasster Abstand für die mobile Ansicht */
    }
}

/* Anpassung der Icon-Größe und Platzierung für Tablets */
@media (min-width: 1024px) and (orientation: portrait), (min-width: 1366px) and (orientation: landscape) {
    .bottom-nav .nav-link {
        font-size: 16px; /* Größere Schriftgröße */
        margin: 0 20px; /* Mehr Abstand zwischen den Links */
    }

    .bottom-nav .nav-link i {
        font-size: 24px; /* Größere Icons */
    }

    .bottom-nav .nav-link.plus {
        bottom: 45px; /* Hebt das Plus-Symbol weiter an */
        padding: 15px; /* Größere Fläche um das Symbol */
    }

    .bottom-nav .nav-link.plus i {
        font-size: 28px; /* Noch größeres Plus-Symbol */
    }
}

/* Sicherstellung des mobilen Designs für alle iPads im Portrait- und Landscape-Modus */
@media (min-device-width: 768px) and (max-device-width: 1024px),
       (min-device-width: 820px) and (max-device-width: 1180px),
       (min-device-width: 1024px) and (max-device-width: 1366px),
       (min-device-width: 1080px) and (max-device-width: 2048px) and (min-resolution: 2dppx),
       (min-device-width: 2048px) and (max-device-width: 2732px) and (min-resolution: 2dppx),
       (max-width: 1366px) and (orientation: landscape) {
    .bottom-nav {
        display: flex;
    }

    .col-12 {
        margin-bottom: 60px;
    }

    .bottom-nav .nav-link {
        font-size: 16px;
        margin: 0 20px;
    }

    .bottom-nav .nav-link i {
        font-size: 24px;
    }

    .bottom-nav .nav-link.plus {
        bottom: 45px;
        padding: 15px;
    }

    .bottom-nav .nav-link.plus i {
        font-size: 28px;
    }
}

/* Fügt Abstand zwischen dem Menü und dem Footer nur auf Tablets hinzu */
@media (min-width: 768px) and (max-width: 1024px),
       (min-width: 820px) and (max-width: 1180px),
       (min-width: 1024px) and (max-width: 1366px),
       (min-width: 1080px) and (max-width: 2048px) and (min-resolution: 2dppx),
       (min-width: 2048px) and (max-width: 2732px) and (min-resolution: 2dppx) {
    .bottom-nav {
        position: fixed;
        bottom: 0px; /* Abstand nach oben hinzugefügt */
        width: 100%;
        background-color: #e63d00; /* Hintergrundfarbe */
        box-shadow: 0 -1px 5px rgba(0,0,0,0.1);
        display: flex;
        justify-content: space-evenly; /* Gleichmäßige Verteilung der Links */
        align-items: center;
        padding: 4px 0; /* Schmaler Abstand */
        z-index: 1000;
        display: flex; /* Auf Tablets anzeigen */
    }

    .bottom-nav .nav-link {
        text-align: center;
        color: #fff; /* Weiße Icons */
        text-decoration: none;
        font-size: 12px; /* Kleinere Schriftgröße */
        padding: 8px; /* Schmaler Abstand */
    }

    .bottom-nav .nav-link i {
        display: block;
        font-size: 16px; /* Kleinere Icons */
        margin-bottom: 3px; /* Weniger Abstand unter den Icons */
    }

    .bottom-nav .nav-link.plus {
        position: absolute;
        bottom: 35px; /* Hebt das Plus-Symbol weiter an */
        left: 52%;
        transform: translateX(-50%);
        background-color: #fff; /* Weißer Hintergrund */
        border-radius: 50%; /* Rundes Symbol */
        padding: 10px; /* Abstand um das Symbol */
        color: #e63d00; /* Farbe des Plus-Symbols */
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .bottom-nav .nav-link.plus i {
        font-size: 22px; /* Größeres Plus-Symbol */
        margin-bottom: 0; /* Kein Abstand unter dem Symbol */
    }

    .bottom-nav .nav-link.plus:hover {
        background-color: #ccc; /* Helleres Grau beim Hover */
        color: #fff; /* Weiße Farbe beim Hover */
    }

    .dropdown-container {
        display: none;
        position: fixed;
        bottom: 80px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #fff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        border-radius: 15px;
        z-index: 999;
        width: 60%;
        transition: all 0.3s ease-in-out;
    }

    .dropdown-container a {
        display: block;
        padding: 4px 8px;
        margin: 0;
        color: #e63d00;
        font-size: 16px;
        text-decoration: none;
        border-bottom: 1px solid #ddd;
        transition: background-color 0.2s, color 0.2s;
        border-radius: 10px; /* Abgerundete Ecken für Links */
    }

    .dropdown-container a:last-child {
        border-bottom: none;
    }

    .dropdown-container a:hover {
        background-color: #0059b3; /* Dunkelblau für Hover-Effekt */
        color: #fff; /* Weiß für den Text auf Dunkelblau */
    }

    .col-12 {
        margin-bottom: 80px; /* Erhöhter Abstand für Tablets */
    }
}

