/* hide number input arrows*/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

a,button,input{
	-webkit-appearance:none !important;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield !important;
	appearance:textfield !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height, 0px);
}


/* Back to top button */
#btn-back-to-top {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 100;
    display: none;
}

/*pointer effect*/
.pointer {
    cursor: pointer;
}

/* FONTS *************************/

@font-face {
    font-family: "The Sans";
    src: url("https://hubertus-reis.de/webshop_images/fonts/sourcesanspro-light-webfont.woff");
    font-weight: 100 300;
}

@font-face {
    font-family: "The Sans";
    src: url("https://hubertus-reis.de/webshop_images/fonts/sourcesanspro-regular-webfont.woff");
    font-weight: 400 600;
}

@font-face {
    font-family: "The Sans";
    src: url("https://hubertus-reis.de/webshop_images/fonts/sourcesanspro-bold-webfont.woff");
    font-weight: 700 900;
}

@font-face {
    font-family: "lunabar";
    src: url("https://hubertus-reis.de/webshop_images/fonts/lunabar_-webfont.woff");
    font-weight: 100 900;
}


@font-face {
    font-family: "caveat";
    src: url("https://hubertus-reis.de/webshop_images/fonts/Caveat-VariableFont_wght.ttf");
    font-weight: 100 900;
}

/***GENERAL***/

body {
    font-family: "The Sans", sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 1.1rem;
}

.top-75{
    top: 75% !important;
}

.luna{
    font-family: "lunabar";
}

.caveat{
    font-family: "caveat";
}

footer {
    margin-top: auto;
    z-index: 2;
}

.desktop {
    display: table-row;
}
.schleife {
  position: relative;
  display: inline-block; /* oder block, je nach Layout */
}
.schleife::after{
    content: "";
    display: block;
    width: 100%;
    padding-bottom: 24.1%; /* Seitenverhältnis vom Bild */
    background-image: url('https://hubertus-reis.de/webshop_images/hubertus-reis-schleife.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center bottom;
}

.contact-button {
    display: block !important;
    position: fixed;
    bottom: 4rem;
    right: 1rem;
    z-index: 1
}

.mobil {
    display: none;
}

.card, .btn, .form-select, .form-control{
    border-radius: 0;
}

.btn-padding0{
    padding: 0;
}

.btn.btn-primary {
    color: var(--background-color);
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.btn-outline-primary {
    color: var(--main-color);
    border-color: var(--main-color);
}

.btn-outline-primary:hover {
    color: var(--background-color);
    border-color: var(--main-color);
    background-color: var(--main-color);
}

.btn-outline-primary:focus, .btn-primary:focus{
    box-shadow: 0 0 0 .25rem rgba(104, 104, 104, .5);
}


.btn.btn-secondary {
    color: var(--text-color);
    background-color: var(--sec-color);
    border-color: var(--text-color);
}

nav .btn-outline-secondary {
    color: var(--sec-color);
    border-color: var(--sec-color);
}

.btn-outline-secondary {
    color: var(--text-color);
    border-color: var(--text-color);
}

.btn-outline-secondary:hover {
    color: var(--text-color);
    border-color: var(--sec-color);
    background-color: var(--sec-color);
}

.btn-warning, .btn-warning:active{
    background-color: var(--wk-color);
    border-color: var(--wk-color);
}

.btn-warning:hover{
    background-color: #b38e4a;
    border-color: #b38e4a;
    color: #fff;
}

.btn-warning:focus, .btn-warning:active:focus{
    background-color: var(--wk-color);
    border-color: var(--wk-color);
    box-shadow: 0 0 0 .25rem rgba(215,181,109,.5);
}


.light {
    color: var(--text-color-light);
}

.link-light:hover,
a:hover {
    color: var(--text-color);
    text-decoration: none;
}

.form-check-input:checked {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.form-check-input:focus,
.form-select:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 0.25rem var(--main-color-25alpha);
}

.input-group > .form-select:focus {
    z-index: 0;
}

.bg-white {
    background-color: white !important;
}

.bg-site {
    background: var(--background-color) !important;
}

.bg-primary {
   background-color:  var(--main-color) !important;
}

.btn{
	radius: 0 !important; 
}

.bg-secondary {
    background-color: var(--sec-color) !important;
}

.form-control:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 0.25rem var(--main-color-25alpha);
}

.text-muted {
    color: var(--text-color-light);
}

.text-light {
    color: var(--light-color);
}

.text-main{
    color: var(--main-color);
}

.letter-spacing {
    letter-spacing: 0.1em;
}

.font-09-rem {
    font-size: 0.9rem;
}

.font-s {
    font-size: small;
}

.font-xs {
    font-size: x-small;
}

.font-m {
    font-size: medium;
}

.font-l {
    font-size: large;
}

.font-xl {
    font-size: x-large;
}

.text-color {
    color: var(--text-color);
}

.text-color-light {
    color: var(--text-color-light);
}

.link-light {
    color: var(--text-color-light);
}

.link-dark {
    color: var(--text-color);
}

.small-hover-shadow {
    transition: box-shadow 0.3s ease;
}

.small-hover-shadow:hover {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); /* Smaller box shadow on hover */
}

.expertise_a {
    color: var(--text-color-light);
    text-decoration: none;
}

.expertise_a:hover,
.expertise_a:active,
.expertise_a:focus {
    text-decoration: none;
    color: var(--text-color-light);
}

.toggle-element {
    display: none;
}

.max-height-420px {
    max-height: 420px;
}

.minilist {
    overflow-y: scroll;
}

/* Navbar */

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar-toggler {
    color: var(--sec-color);
    background-color: var(--sec-color);
    border-color: var(--sec-color);
    border-radius: 0 !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(104, 104, 104, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-brand img {
    min-width: 12em;
    max-width: 14em;
    margin-left: 2em;
    margin-right: 2em;
}

.nav-link {
    color: var(--text-color-light) !important;
}

.border-bottom-shadow {
    /*box-shadow: 0 6px 6px -6px var(--main-color);*/
    border-bottom: 0.01em dotted var(--main-color);
}


#grp_aktiv, #mainMenuActive {
    color: var(--sec-color) !important;
}

#search-input {
    min-width: 8em;
}

.hover-animation {
    transition: 0.2s ease-in-out;
    border-bottom: 1px solid transparent;
}

.hover-animation:hover {
    transform: translateY(-2px);
    border-color: var(--main-color);
}

.versandland {
    max-width: 10ch;
}

.dropdown-menu[data-bs-popper] {
    right: 0;
    left: auto;
    max-height: 12em;
    overflow-y: auto;
    width: fit-content;
    overflow-x: clip;
    height: fit-content;
}


#main-menu .dropdown:hover>.dropdown-menu {
    display: block;
  }

#main-menu .dropdown-menu{
    background-color: var(--sec-color);
    border-color: var(--main-color);
    border-radius: 0;
}

#main-menu .dropdown-toggle::after{
    display: none;
}

#main-menu .dropdown-menu .dropdown-item:hover{
    background-color: var(--main-color);
    color: var(--sec-color);
}

/*NEWS**/
.news-preview-img{
	max-height:15em;

}


/*FILTER*/

/* price  slider */
.slidecontainer {
}

.price-input-container {
    width: 100%;
    display: flex;
}

.price-input-container .price-field {
    display: flex;
    width: 100%;
    height: 35px;
    align-items: center;
}
.price-input-container input {
    width: 100%;
    height: 100%;
    outline: none;
    text-align: center;
    border: 1px solid #999;
    -moz-appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
.price-input-container .separator {
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-container {
    height: 5px;
    position: relative;
    background: #ddd;
    border-radius: 5px;
}
.price-slider {
    height: 100%; 
    right: 25%;
    position: absolute;
    border-radius: 5px;
    background: var(--main-color);
}
.range-input {
    position: relative;
}
.range-input input {
    position: absolute;
    width: 100%;
    height: 5px;
    top: -20px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
input[type="range"]::-webkit-slider-thumb {
    height: 17px;
    width: 17px;
    border-radius: 50%;
    background: var(--main-color);
    pointer-events: auto;
    -webkit-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}
input[type="range"]::-moz-range-thumb {
    height: 17px;
    width: 17px;
    border: none;
    border-radius: 50%;
    background: var(--main-color);
    pointer-events: auto;
    -moz-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

/* Mouse-over effects */
.slider:hover {
    opacity: 1; /* Fully shown on mouse-over */
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.slider::-webkit-slider-thumb {
    border-radius: 0;
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    height: 20px; /* Slider handle height */
    background: var(--main-color); /* Green background */
    cursor: pointer; /* Cursor on hover */
}

.slider::-moz-range-thumb {
    border-radius: 0;
    /*width: 25px; !* Set a specific slider handle width *!*/
    /*height: 25px; !* Slider handle height *!*/
    background: var(--main-color); /* Green background */
    cursor: pointer; /* Cursor on hover */
}



.wine-filter {
    padding: 0.25rem 1.5rem;
    color: var(--background-color);
    background-color: var(--main-color);
    font-size: 1rem;
    border-radius: 2em;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-weight: 400;
    transition: transform 0.4s ease-in-out;
    display: inline-block;
    font-family: "Open Sans", sans-serif;
    line-height: 2.3;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.wine-filter i {
    font-size: 1em !important;
    line-height: unset !important;
}

.filter-cluster-container {
    display: none;
    color: var(--background-color);
}

.filter-cluster-container .row {
    background-color: var(--main-color);
}

.filter-cluster-container .row * {
    color: var(--background-color);
    background-color: var(--main-color);
}

.filter-cluster-container .form-check .form-check-input {
    margin-left: -1rem;
    border: 2px solid var(--main-color);
    margin-right: 0.2rem;
}

.filter-cluster.ancestor, .news-cluster.ancestor {
    display: none;
}

.wine-filter:hover {
    transform: scale(1.1);
}


.list-group {
    display: revert;
    flex-direction: revert;
    padding-left: 0.5em;
}

.list-group-item {
    border: none;
}

.accordion-item {
    border: none;
}

.accordion-button:not(.collapsed) {
    color: var(--background-color);
    background-color: var(--main-color);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:focus {
    box-shadow: var(--main-color-25alpha);
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/*ARTICLE LIST*/
#ausgetrunken_blende {
    visibility: hidden;
}

.article {
    pointer-events: auto;
}

.article a {
    text-decoration: none;
}

.article p {
    margin: 0;
}

.article img {
    max-height: 340px;
    -o-object-fit: contain;
    object-fit: contain;
    min-height: 250px;
}

.article .auszeichnungen_bild, .foerderung_bild{
    min-height: 2.5rem;
    max-height: 4rem !important;
}

.fact {
    background: var(--main-color);
    color: var(--text-color-light);
    font-size: x-small;
    letter-spacing: 0.2em;
    padding: 1em 1em 0.8em;
    width: 100%;
    height: 100%;
    font-weight: bold;
    min-height: 33px;
}

.badge-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.badge {
    position: relative;
    margin-right: 5px;
}

.shopnotiz {
    overflow: hidden;
}

.article .shopnotiz {
    font-size: small;
    color: var(--text-color);
}

.article .pricing-div {
    font-size: small;
}

.article .pricing-div a {
    font-size: small;
}

.article .pricing-div button {
    font-size: x-small;
}

.article .name-div {
    font-size: medium;
}

/** Colors for badges **/

.warengruppen-color-1 {
    background-color: #f8df81;
}

.warengruppen-color-2 {
    background-color: #f6aa90;
}

.warengruppen-color-3 {
    background-color: #f6b4bf;
}

.warengruppen-color-4 {
    background-color: #d5b6d5;
}

.warengruppen-color-5 {
    background-color: #badfda;
}

.warengruppen-color-6 {
    background-color: #9bd0b7;
}


/**DETAIL**/


.beschreibung{
    display: none;
    opacity: 0;
}
.beschreibung.visible {
    display: block;
    animation: fadeIn 1.5s ease, height 1.5s ease;
    opacity: 1;
}


.hidden{
    display: none;
}

@keyframes fadeIn{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
@keyframes height{
    from{
        height: 0%;
    }
    to{
        height: 100%;
    }
}

/* striped table */
.table-striped > div:not([style*="display:none"]):nth-child(odd) {
    background-color: var(--detail-table-background-color);
}

.odd-row-background {
    background-color: var(--detail-table-background-color);
}

.carousel-indicators {
    margin-bottom: 0;
}

.detail img {
    max-height: 48rem;
    -o-object-fit: contain;
    object-fit: contain;
}

.nuancen_bild {
    max-height: 4em !important;
}

.detail .auszeichnungen_bild {
    max-height: 6em !important;
    margin-right: 0.5em;
}

.auszeichnungen_bild {
    max-height: 4em !important;
    margin-right: 0.5em;
}

.target {
    max-width: 100%;
    max-height: 100%;
}

#collapseShopNotizContainer #collapseShopNotiz.collapse:not(.show) {
    display: block;
    height: 5rem;
    overflow: hidden;
}

#collapseShopNotizContainer #collapseShopNotiz.collapsing {
    height: 3rem;
}

#collapseShopNotizContainer a.collapsed::after {
    content: "+ Mehr anzeigen";
}

#collapseShopNotizContainer a:not(.collapsed)::after {
    content: "- Weniger anzeigen";
}

.sortiment-container li {
    cursor: pointer;
    box-shadow: 0 6px 6px -6px var(--main-color);
    margin-bottom: 1em;
}

/*WARENKORB*/

@media screen and (max-width: 768px) {
    .desktop {
        display: none;
    }

    .mobil {
        display: table-row;
    }
}

/*KASSE*/

input[type="checkbox"] {
    height: 1.1rem;
    width: 1.1rem;
}

input[type="date"] {
    text-transform: uppercase;
}

.inp {
    width: 100%;
    margin-top: 0.5rem;
}

.form-label {
    margin-bottom: 0.2rem;
}

.form-floating > label {
    left: unset;
}

.invalid-feedback {
    margin-top: 0;
    margin-bottom: 0.25rem;
}

.back-button {
    bottom: 75%;
}

.shopping-cart-sticky {
    position: sticky;
    z-index: 100;
    top: 10rem;
}

#fsendDoi {
    margin-left: 0;
    width: 25px;
    height: 25px;
}

.errorDiv {
    display: none;
}

@media screen and (max-height: 500px) {
    .startpage.hero{
        background-position: center -15%;
    }
}

/*mobile shopping cart row in detail effectively starts at bootstrap5 breakpoint SM and goes until XS*/
@media only screen and (min-width: 0px) and (max-width: 767.98px) {
    .cart-container {
        position: fixed;
        bottom: 0;
        left: 0;
        background-color: #fff;
        width: 100%;
        z-index: 50;
        border-top: 1px solid #aaa;
        padding: 20px;
        margin-bottom: 0;
    }
}

/*mobile weiter in wk starts at MD breakpoint and goes until XS**/
@media only screen and (min-width: 0px) and (max-width: 992px) {

    #btn-back-to-top {
        bottom: 6rem;
    }

    .shopping-cart-sticky {
        top: unset;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #fff;
        width: 100%;
        z-index: 50;
        border-top: 1px solid #aaa;
        padding: 1em;
        margin-bottom: 0;
    }

    .shopping-cart-sticky .row {
        border: none !important;
    }

    .shopping-cart-sticky .row .bg-site {
        background-color: var(--bs-white);
    }

    .submit-order-container {
        position: fixed;
        bottom: 0;
        left: 0;
        background-color: #fff;
        width: 100%;
        z-index: 50;
        border-top: 1px solid #aaa;
        margin: 0;
    }
}

.flaschenhals{
     transform: translateX(-50%);
     max-height: 100%;
     width: auto;
}

/*@media (max-width: 1199.98px) {
    .flaschenhals{
        transform: translateX(-65%) !important;
    }
}*/

/**BESTELLUNG PRÜFEN*/

#gutscheincode {
    display: none;
}

#gutscheinwert {
    display: none;
}


.zoom-image {
    max-height: 40em !important;
	max-width: 35em !important;
    object-fit: contain;
}

.sterne{
  max-height:16rem;
}

@media (min-width: 768px) {
    .desktop-container {
        background-color: #fff;
    }

  :not(#newsletterModal) > .modal-dialog{
        max-width: 700px;
    }
}

@media (min-width: 1400px) {
  .page2 #sekte .sterne{
     max-height:22rem;
  }
}

@media (min-width: 1200px) {

    .flaschenhals{
        transform: translateX(-50%);
    }
}

/*bootstrap lg breakpoint */

@media (min-width: 992px) {
    .sortiment-minilist {
        max-height: 35% !important;
    }

   :not(#newsletterModal) > .modal-dialog{
        max-width: 900px;
    }

    .zoom-image{
        max-width: 55em !important;
    }

    .foerderung_bild{
            min-height: 4.5rem;
            max-height: 6rem !important;
        }
    .flaschenhals{
        max-height: 100%;
        transform: translateX(-65%);
    }
}

/*bootstrap md breakpoint*/
@media (min-width: 768px) and (max-width: 991.98px) {
    .zoom-image {
        max-width: 55em !important;
    }

    .dropdown-menu[data-bs-popper] {
        left: 50%;
        transform: translateX(-50%);
    }

    .sortiment-minilist {
        max-height: 35% !important;
    }
    .flaschenhals{
        max-height: 75%;
        transform: translateX(-45%);
    }
}

/*bootstrap 5 sm breakpoint */
@media (min-width: 576px) and (max-width: 767.98px) {
    .zoom-image {
        max-height: 32em !important;
    }

    .navbar-nav.container-sm {
        padding-left: var(--bs-gutter-x, 0.75rem);
    }

    .dropdown-menu[data-bs-popper] {
        left: 50%;
        transform: translateX(-50%);
    }

    .sortiment-minilist {
        max-height: 70% !important;
    }

     .flaschenhals{
        max-height: 50%;
        transform: translateX(-50%);
    }

}

/*bootstrap 5 xs breakpoint */
@media (max-width: 575.98px) {
    .dropdown-menu[data-bs-popper] {
        left: 50%;
        transform: translateX(-50%);
    }

    .zoom-image {
        max-height: 30em !important;
    }

    #imageModal {
        height: 80%;
    }

    .navbar-nav.container-sm {
        padding-left: var(--bs-gutter-x, 0.75rem);
    }

    .sortiment-minilist {
        max-height: 60% !important;
    }

    .contact-button {
        bottom: 9rem;
    }
  
  .navbar-brand img {
    min-width: 7em;
    max-width: 11em;

}


}


    .fullwidth-section {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  transform: translateX(-50%);
  padding-left: 1rem;  /* optional, für Abstand */
  padding-right: 1rem; /* optional, für Abstand */
}

.page1-wrapper .hero, .page2 .hero {
      background-size: cover;
      color: white;
      text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
    }

.page1-wrapper .image-wrapper{
    height: 280px;
    overflow: hidden;
}

.page1-wrapper .image-wrapper img{
    object-fit: cover;
}

.page2-wrapper .image-wrapper{
    overflow: hidden;
}

.page2-wrapper .image-wrapper.full-height{
    height: 100%;
    max-height: 720px;
}

.page2-wrapper .image-wrapper.half-height{
    height: 360px;
}

.page2-wrapper .image-wrapper img{
    object-fit: cover;
}


.page3 .news-container .blog-card {
    border-radius: 0.75rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease-in-out;
}   

.page3 .news-container .blog-card:hover {
  transform: translateY(-3px);
}

.page3 .news-container .blog-card img {
  height: 260px;
  object-fit: contain;
  width: 100%;
}

.page3 .news-container .news-detail-link:hover {
  text-decoration: underline !important;
}

.blog-title{
    max-width: 100vw;
}

.news-main-bild{
    max-width: 100vw;
    height: auto;
}


:root {
    /*COLORS*/
    --main-color: #686868;
    --main-color-25alpha: rgba(104, 104, 104, 0.25);
    --detail-table-background-color: rgba(164, 164, 164, 0.2);
    --button-secondary-color: #6c757d;
    --sec-color: #f2e8db;
    --wk-color: #d7b56d;
    --light-color: #fff;
    --background-color: #f2e8db;
    --text-color: #000;
    --text-color-light: #ffff;
    --swiper-theme-color:#fff;
    --swiper-pagination-bullet-width:15px;
    --swiper-pagination-bullet-height:3px;
    --swiper-pagination-bullet-border-radius:0;
    --swiper-pagination-bottom:20px;
    --swiper-pagination-bullet-inactive-color:#fff;
    --swiper-pagination-bullet-inactive-opacity: 1;
    --swiper-pagination-color:#f2e8db;
}
