/* Candola homepage: full-width responsive product grid and slider background layers. */
body.home #Produkte.candol-branch-mainwrapper {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
}
body.home #Produkte > .wpb_column {
  float: none !important;
}
body.home #Produkte .candol-branch-wrap {
  width: 100%;
  max-width: none;
  min-width: 0;
  max-height: none;
  min-height: 0;
  height: auto;
  aspect-ratio: 3 / 2;
  margin: 0 auto clamp(20px, 2vw, 36px);
  background-position: center center;
  background-size: cover;
}
body.home #Produkte .candol-branch-title {
  box-sizing: border-box;
  min-width: 0;
  max-width: none;
  width: 100%;
  height: auto;
  min-height: 50px;
  max-height: none;
  padding: 10px 8px;
  top: auto;
  bottom: 0;
  transform: none;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.2;
  font-size: clamp(15px, 1.25vw, 20px);
}
body.home .candol-phil-grid.candol-phil-no-image {
  display: block;
  box-sizing: border-box;
  width: min(100% - 32px, 1100px);
  margin: 0 auto;
}
body.home .candol-phil-no-image .candol-content {
  box-sizing: border-box;
  height: auto;
  min-height: 270px;
  padding: 26px 44px 36px;
}
body.home .candol-phil-no-image .candol-phil-text {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
}
@media (min-width: 900px) {
  body.home #Produkte.candol-branch-mainwrapper { flex-wrap: nowrap !important; }
  body.home #Produkte > .wpb_column {
    flex: 0 0 33.333333% !important;
    width: 33.333333% !important;
    max-width: none !important;
    min-width: 0;
  }
  body.home #Produkte > .wpb_column > .vc_column-inner {
    padding-left: clamp(12px, 1.1vw, 28px);
    padding-right: clamp(12px, 1.1vw, 28px);
  }
}
@media (max-width: 899px) {
  body.home #Produkte.candol-branch-mainwrapper {
    flex-wrap: wrap !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  body.home #Produkte > .wpb_column {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 560px !important;
  }
  body.home #Produkte .candol-branch-wrap {
    width: calc(100% - 24px);
    margin-bottom: 24px;
  }
  body.home .candol-phil-no-image .candol-content { padding: 24px 18px 28px; }
  body.home .candol-phil-no-image .candol-phil-text { font-size: 16px; }
}

/* Slider Revolution 6/7: make the three hero photo layers fill the whole slide.
   This also covers browsers that render an old slider layer at half-size. */
body.home sr7-module[data-alias="homeintro-2023-11"]
sr7-slide[data-key="198"] sr7-img#SR7_94_1-198-11,
body.home sr7-module[data-alias="homeintro-2023-11"]
sr7-slide[data-key="196"] sr7-img#SR7_94_1-196-11,
body.home sr7-module[data-alias="homeintro-2023-11"]
sr7-slide[data-key="195"] sr7-img.candol_homeslider_image {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  left: 0 !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}


/* Candola: mobile/tablet layout for the red "Unsere Produkte sind" section.
   Desktop presentation above 1023px is intentionally unchanged. */
@media (max-width: 1023px) {
  body.home .candol-annonce-BIG-wrapperMAIN {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    padding: 0 0 20px;
    box-sizing: border-box;
  }
  body.home .candol-annonce-BIG-wrapper1,
  body.home .candol-annonce-BIG-wrapper2 {
    float: none;
    width: 100%;
    height: auto;
    min-width: 0;
    box-sizing: border-box;
  }
  body.home .candol-annonce-BIG-wrapper1 {
    padding: 25px 0 0;
  }
  body.home .candol-annonce-BIG-TeaserWrapperLeft {
    float: none;
    width: 100%;
    box-sizing: border-box;
    padding: 0 clamp(18px, 4vw, 36px) !important;
  }
  body.home .candol-annonce-BIG-TeaserHeadingLeft h1,
  body.home .candol-annonce-BIG-wrapperMAIN h1 {
    font-size: clamp(21px, 5vw, 27px) !important;
    line-height: 1.22;
    text-align: left;
    margin: 0 0 22px;
    color: #e9a18a !important;
  }
  body.home .candol-annonce-BIG-TeaserContentLeft {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 14px;
    padding: 0;
    font-size: clamp(15px, 3.8vw, 17px);
    font-weight: 500;
    line-height: 1.45;
    color: #eeb9a6;
    text-align: left;
  }
  body.home .candol-annonce-BIG-TeaserContentLeft > svg,
  body.home .candol-annonce-BIG-TeaserContentLeft > img {
    display: block;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    max-width: 20px;
    flex: 0 0 20px;
    padding: 0 !important;
    margin: 3px 0 0;
    transform: none !important;
  }
  body.home .candol-annonce-BIG-TeaserContentLeftSpan {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    line-height: inherit;
    overflow-wrap: break-word;
  }
  body.home .candol-annonce-BIG-wrapper2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
    padding: 16px clamp(18px, 4vw, 36px) 8px;
  }
  body.home .candol-annonce-BIG-TeaserWrapperRight {
    display: contents;
  }
  body.home .candol-annonce-BIG-TeaserContentRight {
    float: none;
    width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
    padding: 8px 5px;
    margin: 0;
    text-align: center;
  }
  body.home .candol-annonce-BIG-TeaserContentRight > p:first-child {
    margin: 0 0 9px;
    padding: 0;
    line-height: 1;
  }
  body.home .candol-annonce-BIG-TeaserContentRight svg,
  body.home .candol-annonce-BIG-TeaserContentRight img {
    display: inline-block;
    width: clamp(56px, 15vw, 78px) !important;
    height: clamp(56px, 15vw, 78px) !important;
    max-width: 100%;
    max-height: 78px;
  }
  body.home .candol-annonce-BIG-TeaserContentRightP {
    margin: 0 !important;
    padding: 0;
    font-size: clamp(12px, 3.1vw, 14px) !important;
    line-height: 1.32;
    white-space: normal;
    overflow-wrap: break-word;
    font-weight: 600;
    color: #eeb9a6;
  }
}
@media (min-width: 600px) and (max-width: 1023px) {
  body.home .candol-annonce-BIG-wrapper2 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

