/* ----- IMPORT ----- */
/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&display=block');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700&display=block');



/* ----- ROOT ----- */
:root {
  --weiss: #fff;
  --hellgrau: #f7f7f7; /* #f4f4ea */
  --mittelgrau: #ccc;
  --schwarz: #2B2C2E;
  --produkt-farbe: #f4f4ea;
  --bs-light: var(--hellgrau); /* #f4f4ea */
  --bs-dark: var(--schwarz);
}
.bg-light,
.bs-light {
  background-color: var(--bs-light) !important;
}
.bg-dark,
.bs-dark {
  background-color: var(--bs-dark) !important;
}



/* ----- TYPOGRAFIE ----- */
p,
a,
a:link,
a:visited,
a:hover,
a:active {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 300;
}
a,
a:link,
a:visited,
a:hover,
a:active {
  color: var(--schwarz);
  text-decoration: none;
}
.lead {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.display-5,
.display-7 {
  font-family: 'Cinzel', serif;
  font-weight: 500 !important;
}
.h5,
h5 {
  font-size: 1.25rem;
}
b, strong {
  font-weight: 500;
}
.fw-bold {
  font-weight: 500 !important;
}
.text-white,
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.text-white .h1,
.text-white .h2,
.text-white .h3,
.text-white .h4,
.text-white .h5,
.text-white .h6,
.text-white p,
.text-white a,
.text-white a:link,
.text-white a:visited,
.text-white a:hover,
.text-white a:active
.text-white .display-5,
.text-white .display-7,
.btn.btn-primary {
  color: var(--weiss);
}
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  p,
  a,
  a:link,
  a:visited,
  a:hover,
  a:active {
    font-size: 1.2rem;
  }
  .lead {
    font-size: 1.4rem;
  }
}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
}
/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}
/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
}




/* ----- RATIO ----- */
/*
.ratio,
.ratio > img {
  width: auto;
  min-width: 100%;
}
.ratio > img {
  width: auto;
  min-width: 100%;
}
*/
.ratio > img,
.ratio > img.cover {
  object-fit: cover;
}
.ratio > img.contain {
  object-fit: contain;
}
.ratio-9x21 {
  --bs-aspect-ratio: calc(21 / 9 * 100%);
}
.ratio-9x16 {
  --bs-aspect-ratio: calc(16 / 9 * 100%);
}
.ratio-3x5 {
  --bs-aspect-ratio: calc(5 / 3 * 100%);
}
.ratio-3x4 {
  --bs-aspect-ratio: calc(4 / 3 * 100%);
}
.ratio-1x1 {
  --bs-aspect-ratio: 100%;
}
.ratio-4x3 {
  --bs-aspect-ratio: calc(3 / 4 * 100%);
}
.ratio-16x9 {
  --bs-aspect-ratio: calc(9 / 16 * 100%);
}
.ratio-21x9 {
  --bs-aspect-ratio: calc(9 / 21 * 100%);
}
.ratio-3x1 {
  --bs-aspect-ratio: calc(1 / 3 * 100%);
}
.ratio-7x2 {
  --bs-aspect-ratio: calc(2 / 7 * 100%);
}
.ratio-4x1 {
  --bs-aspect-ratio: calc(1 / 4 * 100%);
}
.ratio-5x1 {
  --bs-aspect-ratio: calc(1 / 5 * 100%);
}
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .ratio-sm-9x21 {
    --bs-aspect-ratio: calc(21 / 9 * 100%);
  }
  .ratio-sm-9x16 {
    --bs-aspect-ratio: calc(16 / 9 * 100%);
  }
  .ratio-sm-3x5 {
    --bs-aspect-ratio: calc(5 / 3 * 100%);
  }
  .ratio-sm-3x4 {
    --bs-aspect-ratio: calc(4 / 3 * 100%);
  }
  .ratio-sm-1x1 {
    --bs-aspect-ratio: 100%;
  }
  .ratio-sm-4x3 {
    --bs-aspect-ratio: calc(3 / 4 * 100%);
  }
  .ratio-sm-16x9 {
    --bs-aspect-ratio: calc(9 / 16 * 100%);
  }
  .ratio-sm-21x9 {
    --bs-aspect-ratio: calc(9 / 21 * 100%);
  }
  .ratio-sm-3x1 {
    --bs-aspect-ratio: calc(1 / 3 * 100%);
  }
  .ratio-sm-7x2 {
    --bs-aspect-ratio: calc(2 / 7 * 100%);
  }
  .ratio-sm-4x1 {
    --bs-aspect-ratio: calc(1 / 4 * 100%);
  }
  .ratio-sm-5x1 {
    --bs-aspect-ratio: calc(1 / 5 * 100%);
  }
}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .ratio-md-9x21 {
    --bs-aspect-ratio: calc(21 / 9 * 100%);
  }
  .ratio-md-9x16 {
    --bs-aspect-ratio: calc(16 / 9 * 100%);
  }
  .ratio-md-3x5 {
    --bs-aspect-ratio: calc(5 / 3 * 100%);
  }
  .ratio-md-3x4 {
    --bs-aspect-ratio: calc(4 / 3 * 100%);
  }
  .ratio-md-1x1 {
    --bs-aspect-ratio: 100%;
  }
  .ratio-md-4x3 {
    --bs-aspect-ratio: calc(3 / 4 * 100%);
  }
  .ratio-md-16x9 {
    --bs-aspect-ratio: calc(9 / 16 * 100%);
  }
  .ratio-md-21x9 {
    --bs-aspect-ratio: calc(9 / 21 * 100%);
  }
  .ratio-md-3x1 {
    --bs-aspect-ratio: calc(1 / 3 * 100%);
  }
  .ratio-md-7x2 {
    --bs-aspect-ratio: calc(2 / 7 * 100%);
  }
  .ratio-md-4x1 {
    --bs-aspect-ratio: calc(1 / 4 * 100%);
  }
  .ratio-md-5x1 {
    --bs-aspect-ratio: calc(1 / 5 * 100%);
  }
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .ratio-lg-9x21 {
    --bs-aspect-ratio: calc(21 / 9 * 100%);
  }
  .ratio-lg-9x16 {
    --bs-aspect-ratio: calc(16 / 9 * 100%);
  }
  .ratio-lg-3x5 {
    --bs-aspect-ratio: calc(5 / 3 * 100%);
  }
  .ratio-lg-3x4 {
    --bs-aspect-ratio: calc(4 / 3 * 100%);
  }
  .ratio-lg-1x1 {
    --bs-aspect-ratio: 100%;
  }
  .ratio-lg-4x3 {
    --bs-aspect-ratio: calc(3 / 4 * 100%);
  }
  .ratio-lg-16x9 {
    --bs-aspect-ratio: calc(9 / 16 * 100%);
  }
  .ratio-lg-21x9 {
    --bs-aspect-ratio: calc(9 / 21 * 100%);
  }
  .ratio-lg-3x1 {
    --bs-aspect-ratio: calc(1 / 3 * 100%);
  }
  .ratio-lg-7x2 {
    --bs-aspect-ratio: calc(2 / 7 * 100%);
  }
  .ratio-lg-4x1 {
    --bs-aspect-ratio: calc(1 / 4 * 100%);
  }
  .ratio-lg-5x1 {
    --bs-aspect-ratio: calc(1 / 5 * 100%);
  }
}
/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .ratio-xl-9x21 {
    --bs-aspect-ratio: calc(21 / 9 * 100%);
  }
  .ratio-xl-9x16 {
    --bs-aspect-ratio: calc(16 / 9 * 100%);
  }
  .ratio-xl-3x5 {
    --bs-aspect-ratio: calc(5 / 3 * 100%);
  }
  .ratio-xl-3x4 {
    --bs-aspect-ratio: calc(4 / 3 * 100%);
  }
  .ratio-xl-1x1 {
    --bs-aspect-ratio: 100%;
  }
  .ratio-xl-4x3 {
    --bs-aspect-ratio: calc(3 / 4 * 100%);
  }
  .ratio-xl-16x9 {
    --bs-aspect-ratio: calc(9 / 16 * 100%);
  }
  .ratio-xl-21x9 {
    --bs-aspect-ratio: calc(9 / 21 * 100%);
  }
  .ratio-xl-3x1 {
    --bs-aspect-ratio: calc(1 / 3 * 100%);
  }
  .ratio-xl-7x2 {
    --bs-aspect-ratio: calc(2 / 7 * 100%);
  }
  .ratio-xl-4x1 {
    --bs-aspect-ratio: calc(1 / 4 * 100%);
  }
  .ratio-xl-5x1 {
    --bs-aspect-ratio: calc(1 / 5 * 100%);
  }
}
/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .ratio-xxl-9x21 {
    --bs-aspect-ratio: calc(21 / 9 * 100%);
  }
  .ratio-xxl-9x16 {
    --bs-aspect-ratio: calc(16 / 9 * 100%);
  }
  .ratio-xxl-3x5 {
    --bs-aspect-ratio: calc(5 / 3 * 100%);
  }
  .ratio-xxl-3x4 {
    --bs-aspect-ratio: calc(4 / 3 * 100%);
  }
  .ratio-xxl-1x1 {
    --bs-aspect-ratio: 100%;
  }
  .ratio-xxl-4x3 {
    --bs-aspect-ratio: calc(3 / 4 * 100%);
  }
  .ratio-xxl-16x9 {
    --bs-aspect-ratio: calc(9 / 16 * 100%);
  }
  .ratio-xxl-21x9 {
    --bs-aspect-ratio: calc(9 / 21 * 100%);
  }
  .ratio-xxl-3x1 {
    --bs-aspect-ratio: calc(1 / 3 * 100%);
  }
  .ratio-xxl-7x2 {
    --bs-aspect-ratio: calc(2 / 7 * 100%);
  }
  .ratio-xxl-4x1 {
    --bs-aspect-ratio: calc(1 / 4 * 100%);
  }
  .ratio-xxl-5x1 {
    --bs-aspect-ratio: calc(1 / 5 * 100%);
  }
}


/* ----- LAYOUT ----- */
.py-custom {
  padding-top: 5rem;
  padding-bottom: 5rem;
}



/* ----- NAVBAR ----- */
.navbar {
  z-index: 1000;
}
.navbar > .container,
.navbar > .container-fluid,
.navbar > .container-lg,
.navbar > .container-md,
.navbar > .container-sm,
.navbar > .container-xl,
.navbar > .container-xxl {
  display: block;
}
main::before {
  display: none;
}


/* ----- BUTTONS ----- */
.btn-rund {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
}
.btn-artikel-hinzufuegen {
  width: 2.75rem;
  height: 2.75rem;
  background-image: url("/media/artikel-hinzufuegen.png");
  background-position: center;
  background-size: cover;
  background-color: transparent !important;
  border: none !important;
  transition: all 0.5s ease-out;
}
.btn-artikel-hinzufuegen:hover {
  background-image: url("/media/artikel-hinzufuegen_hover.png");
}



/* ----- CARDS ----- */
.produkt.card {
  overflow: hidden;
}
.produkt.card.bg-farbwechsel::before {
  content: " ";
  background-color: var(--bs-light);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 100%;
  transition: all 0.5s ease-out;
}
.produkt.card.bg-farbwechsel:hover::before {
  top: 57%;
}
.produkt.card .card-img-top {
  transition: all 0.5s ease-out;
}
.produkt.card:hover .card-img-top {
  transform: translateY(-1rem);
}
.produkt.card .card-body {
  z-index: 5;
}

a.card,
a.card h1,
a.card h2,
a.card h3,
a.card h4,
a.card h5,
a.card h6,
a.card p,
a.card .card-title {
  color: var(--schwarz);
  text-align: center;
}



/* ----- ACCORDION ----- */
.accordion-item {
  border: 1px solid #ced4da !important;
  box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
  margin-bottom: 0.5rem;
}
.accordion-button {
  font-size: 1.25rem;
  font-weight: 500;
}
.accordion-button::before {
  content: ' ';
  width: 6rem;
  height: 1px;
  left: 20px;
  bottom: -0.5px;
  background-color: #ced4da;
  position: absolute;
}
.accordion-button:not(.collapsed) {
  color: inherit !important;
  background-color: transparent !important;
  box-shadow: none !important;
}



/* ----- MAIN ----- */
main {
  background: none;
}
main::before {
  display: block;
  height: 9rem;
  /*
  background: url(https://logonovo.it-publishing.ch/media/ratio_7x2_xxl/gallery_it_vignetopallinamerlot.jpg?buster=1648222787);
  background-position: center;
  */
}
main section {
  margin-bottom: 0rem;
}



main:nth-child(2) > section:nth-child(1) > div.hero:nth-child(1) {
  margin-top: -9rem;
}
main:nth-child(2) > section:nth-child(1) > div.hero:nth-child(1) .row {
  padding-top: 9rem;
  padding-bottom: 9rem;
}
.hero {
  height: 100vh;
  overflow: hidden;
}
.hero::before {
  content: ' ';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background: linear-gradient(0deg, rgba(0,0,0,0.6) 10%, rgba(0,0,0,0.2) 35%);
}
.hero .text-white {
  text-shadow: 0px 1px 7px #22222263;
}
/* Den ersten Titel unter das Logo stellen */
/*
#inhalt-bereich > main:nth-child(2) > section:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) {
  margin-top: 6rem;
}
*/
@media (min-height: 40rem) {
  .hero {
    height: inherit;
    min-height: 35rem;
  }
}
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
}
/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}
/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .hero {
    height: 30vw;
  }
}



/* ----- KURZPORTRAIT ----- */
.kurzportrait {
  background: url("/media/weinlager_1.jpg");
  background-position: center;
  background-size: cover;
}
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .cardgruppe > div:nth-child(2) {
    top: 16rem;
  }
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
}
/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .cardgruppe > div:nth-child(1),
  .cardgruppe > div:nth-child(2),
  .cardgruppe > div:nth-child(3) {
    top: 0rem;
  }
  .cardgruppe > div:nth-child(1) {
    padding-top: 6rem; /* 3rem */
  }
  .cardgruppe > div:nth-child(2) {
    padding-top: 12rem; /* 6rem */
  }
  .cardgruppe > div:nth-child(3) {
    padding-top: 0rem;
  }
}
/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
}



/* ----- TITELSLIDER/PRODUKT-DETAIL ----- */
.titelslider {
  margin-top: -8rem;
}
/*
.detailansicht {
  margin-top: 8rem;
}
*/
.detailansicht .row,
.titelslider .row {
  max-width: 100vw;
}
.bildbereich::before {
  background: var(--produkt-farbe);
  background-position: center;
  background-size: cover;
  width: 50%;
}
.trennlinie {
  height: 1px;
  width: 6rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
.trennlinie::before {
  content: " ";
  background: var(--produkt-farbe);
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 100%;
  display: block;
}
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .titelslider {
    min-height: 52rem;
  }
  .detailansicht {
    min-height: 100vh;
  }
  .textbereich {
    position: absolute;
    transform: translateX(-50%) !important;
    left: 50% !important;
    top: 0 !important;
  }
  .titelslider .textbereich {
    margin-top: 12rem !important;
  }
  .detailansicht .textbereich {
    margin-top: 3rem !important;
  }
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .titelslider {
    min-height: 52rem;
  }
}
@media (min-height: 1000px) {
}
/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .titelslider {
    min-height: 62rem;
  }
}
/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .titelslider {
    min-height: 52rem;
  }
  .detailansicht .textbereich {
    margin-top: 10vw !important;
  }
}


/* ----- GALLERY ----- */
.gallery img {
  transition: all 0.5s ease-out;
}
.gallery img:hover {
  transform: scale(1.05);
}

/* ----- FOOTER ----- */
.hintergrundbild {
  background-image: url("/media/trauben_1.jpg");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: cover;
}



/* ----- WARENKORB ----- */
#warenkorb-inhalt > form:nth-child(1) > div:nth-child(1) {
  border-top: 1px solid var(--mittelgrau) !important;
}
#warenkorb-inhalt .card {
  border-bottom: 1px solid var(--mittelgrau) !important;
}
#warenkorb-inhalt .card:hover {
  background-color: var(--bs-light);
}
/*
#warenkorb-inhalt .card {
  border-radius: 10px;
}
*/


/* ----- WENN WARENKORB GEÖFFNET ----- */
#inhalt-bereich .container,
#inhalt-bereich .container-lg,
#inhalt-bereich .container-md,
#inhalt-bereich .container-sm,
#inhalt-bereich .container-xl,
#inhalt-bereich .container-xxl {
  transition: all 0.5s ease-out;
}
@media (min-width: 1400px) {
  #inhalt-bereich.sichtbar .container,
  #inhalt-bereich.sichtbar .container-lg,
  #inhalt-bereich.sichtbar .container-md,
  #inhalt-bereich.sichtbar .container-sm,
  #inhalt-bereich.sichtbar .container-xl,
  #inhalt-bereich.sichtbar .container-xxl {
    max-width: calc(1320px - 310px);
  }
}
@media (min-width: 1710px) {
  #inhalt-bereich.sichtbar .container,
  #inhalt-bereich.sichtbar .container-lg,
  #inhalt-bereich.sichtbar .container-md,
  #inhalt-bereich.sichtbar .container-sm,
  #inhalt-bereich.sichtbar .container-xl,
  #inhalt-bereich.sichtbar .container-xxl {
    max-width: 1320px;
  }
}
