.container-fluid {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    /* url("img/hgb/hindergrund1.jpg"); */
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  width: 100%;
  padding: 0 0 28px 0;
  overflow-x: hidden;
}

.p-slider {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 50px auto;
    width: 95%;

}

.produkt-slider-heading {
    font-size: 28px;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    margin: 0px;
}

.produkt-box {
    display: flex;
    flex-direction: column;
    width: 300px;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    margin: 0px 20px;
    position: relative;
}

.p-img-container {
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
   
}

.p-img a,
.p-img {
    width: 100%;
    height: 300px;
    display: flex;
}

.p-img a img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: contain;
    animation: fade 0.6s;
}

.p-img-back {
    display: none;

}

.p-img-container:hover .p-img-back {
    display: block;
}

.p-img-container:hover .p-img-front {
    display: none;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.p-box-text {
    margin: 5px;
    width: 100%;
}

.produkt-kategorie {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.produkt-kategorie span {
    color: #fff;
    font-size: 0.9rem;
    margin: 5px 0px;
}

.produkt-title {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all ease 0.3s;
}

.produkt-title:hover {
    color: #ffffff;
    opacity: 0.7;
    transition: all ease 0.3s;

}

.preis-verkauf {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.preis-verkauf .p-preis {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 700;
}

.preis-verkauf .mehr-btn {
    color: #e63b3b;
    margin: 0px 5px;
    font-weight: 600;
}

.preis-verkauf .mehr-btn:hover {
    text-decoration: underline;
}

.p-discount {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 65px;
    height: 24px;
    color: #ffffff;
    background-color: #e63b3b;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    letter-spacing: 1px;
    z-index: 100;
    border-radius: 3px;
}

.slider-btns {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin: 30px auto 10px auto;
    padding: 0px 10px;
}

.slider-btns button {
    position: static !important;
    transform: translate(0, 0);
    background-color: #f3f3f3;
    width: 80px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
}

.slider-btns button span {
    font-weight: bold;
    padding: 10px 15px 10px 10px;
    position: relative;
    text-decoration: none;
}

.slider-btns button span::before,
.slider-btns button span::after {
    border-right: 2px solid;
    display: block;
    height: 8px;
    margin-top: -6px;
    position: absolute;
    transform: rotate(135deg);
    right: 10px;
    top: 50%;
    width: 0;
    content: '';
}

.slider-btns button span::after {
    margin-top: -1px;
    transform: rotate(45deg);
}

.slider-btns .glider-prev span {
    transform: rotate(-180deg);
}

@media(max-width:500px) {
    .produkt-box {
        margin: 0px 10px;
    }

    .p-slider {
        width: 100%;
    }

    .produkt-slider-heading {
        text-align: center;
        font-size: 1.3rem;
        display: flex;
    }

    .p-img a,
    .p-img {
        height: 200px;
    }

    .preis-verkauf .p-preis {
        font-size: 1.1rem;
    }

    .p-img-container:hover .p-img-back {
        display: none;
    }

    .p-img-container:hover .p-img-front {
        display: block;
    }

}

@media(max-width:320px) {

    .p-img a,
    .p-img {
        height: 190px;
    }

    .slider-btns {
        padding: 0px;
    }
}