/* --- Hero Banner --- */
.hero-banner {
    height: 400px;
    overflow: hidden;
    position: relative;
}

    .hero-banner .hero-img {
        height: 100%;
        object-fit: cover;
        filter: brightness(70%); /* etwas dunkler, damit Text lesbar ist */
    }

    .hero-banner .hero-text {
        z-index: 2;
    }

    .hero-banner h1, .hero-banner p {
        color: #ffffff;
        text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    }


    .hero video {
        position: absolute;
        top: 80%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        z-index: 0;
        transform: translate(-50%, -50%);
        object-fit: cover;
    }

.btn-hero {
    background-color: #F6C332; 
    color: #000000; 
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
    border-radius: 4px;
}

    .btn-hero:hover {
        background-color: #e0b12b;
        color: #f6c332;
    }

/* --- Farbanpassung --- */

/* Navigation */
.navbar {
    background-color: #f6c332 !important; 
}

    .navbar .nav-link,
    .navbar .navbar-brand {
        color: #000000 !important;
        font-size: 20px;
        font-weight: bold;
    }

        .navbar .nav-link:hover {
            /*color: #F6C332 !important; */
        }

        .navbar-logo {
            width: 163px;
            height: 111px;
        }
/* Buttons */
.btn-primary {
    background-color: #F6C332; 
    border-color: #F6C332;
    color: #000000;
}

    .btn-primary:hover {
        background-color: #e0b12b;
        border-color: #e0b12b;
    }

.btn-secondary {
    background-color: #FFFFFF;
    border: 2px solid #000000;
    border-radius: 0px;
    border-color: #000000;
    color: #000000 !important;
    font-size: 20px;
    font-weight: bold;
    margin: 0px 20px 0px 20px;
    padding: 10px 20px 10px 20px;
}
    .btn-secondary:hover {
        background-color: #F6C332 !important;
    }

.btn-success {
    background-color: #f6c332;
    border-color: #f6c332;
    color: #ffffff;
}

    .btn-success:hover {
        background-color: #244226;
        border-color: #244226;
    }
    
/* Kategorie - Menü auf Products.php*/
.category-scroll {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.category-scroll::-webkit-scrollbar {
    display: none; /* Safari/Chrome */
}

/* Produktkarten, Rahmen etc. */
.card img {
    height: 200px;
    object-fit: cover;
}

.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-in-out;
}

    .card:hover {
        transform: translateY(-4px);
    }

/* Preis-Badge auf dem Produktbild */
.price-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: rgba(10, 10, 10, 0.4); 
    color: #FFFFFF; 
    padding: 6px 10px;
    border-radius: 0px 8px 0px 8px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
/* Location-Badge auf dem Produktbild */
.location-badge {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: rgba(10, 10, 10, 0.4); 
    color: #FFFFFF; 
    padding: 6px 10px;
    border-radius: 8px 0px 8px 0px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
/* Kontingent-Badge auf dem Produktbild */
.contingent-badge {
    position: absolute;
    bottom: 0px;
    left: 0px;
    background-color: rgba(10, 10, 10, 0.4); 
    color: #FFFFFF; 
    padding: 6px 10px;
    border-radius: 8px 0px 8px 0px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.card select.form-select {
    font-size: 0.9rem;
    border-radius: 6px;
    border: 1px solid #ccc;
}


/* Texte & Überschriften */
h1, h2, h3, h4 {
    font-weight: 600;
    color: #f6c332;
}

.text-red {
    color: #FF0000;
}

/* Tabellen etc. Warenkorb */
.table th {
    background-color: #f4f4f4;
}

.table {
    background-color: #ffffff;
}
/* Mainansicht */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1; /* nimmt den restlichen Platz ein */
}
/* Footer */
footer {
    background-color: #f6c332;
    color: #ffffff;
}

    footer a {
        color: #F6C332;
    }

        footer a:hover {
            color: #e0b12b;
        }


/* Sidebar-Kategorien */
.list-group-item.active {
    background-color: #F6C332 !important; 
    border-color: #F6C332 !important;
}

    .list-group-item.active a {
        color: #2e4a33 !important; 
    }

.list-group-item a {
    color: #2e4a33;
}

    .list-group-item a:hover {
        text-decoration: none;
        color: #F6C332;
    }

.form {

}
    .form div {
        display: grid;
        grid-template-columns: 150px auto;
        align-items: center;
        margin-bottom: 15px;
        gap: 10px;
    }
    .form div label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
    }
    .form div input, select {
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 16px;
    }
    .form error {
        color: red;
        font-size: 0.9em;
        display: none;
        margin-top: 5px;
    }
.form-group {
    display: grid;
    grid-template-columns: 150px auto;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}
.form-inline {
    display: grid;
    grid-template-columns: 150px 1fr 150px 1fr;
    align-items: center;
    gap: 10px;
}

.form-inline-tel {
    display: grid;
    grid-template-columns: 150px 150px auto;
    align-items: center;
    gap: 10px;
}