:root {
    --bodyFontSize: 1rem;
    --bodyFontColor: #232326;
    --primaryFontColor: #004e2b;
    --primaryBackground: #004e2b;
    --primarySvgFill: #004e2b;
    --menuBackground: rgba(0, 78, 43, 0.9);
    --primaryFont: 'Lexend HM';
    --secondaryFont: 'Lexend HM Bold';
    --secondaryFont: 'Lexend HM Bold'; /*Exo 2*/
    --logoWidth: 375px;
    --shopWidth: 91em;
    --secondaryFontWeight: 800;
    /* --secondaryItalic: italic; */
  }

/* Markenlogos mittig anzeigen bei Zusatzseite "Markenartikel" */
.categoryPicture img {
    display: inline-block;
    text-align: center;
}

/* SERVICE X BUTTON GROESER ERSCHEINEN LASSEN */
.cs-closeOverlay .cs-svgIcon {
  width: 30px !important;
  height: 30px !important;
}

.cs-closeOverlay {
  cursor: pointer;
}



  /* Warenkorbanzeige in der selben Schriftart wie Shop */
  html body.cs-body .ui-dialog {max-height: 100vh;overflow: hidden;font-family: var(--primaryFont) !important;}


  /* searchbar */
  .cs-topsearch input {border: 0;max-width: 100%;border-radius: 24px;padding-left: 19px;width: 500px;border: 1px solid #dadadd;width: 100%;}



 /* header */
  header .cs-topBar {background: #ffffff;}
  .cs-topPages > ul > li a {font-size: 1rem;color: #777;font-weight: 300;}
  .cs-lang {padding-top: 13px;margin-right: 0.4em;margin-left: 0.5em;}
  .cs-miniwk a {color: var(--primaryFontColor);}
  .cs-miniwk svg path {fill: var(--primarySvgFill);}
  .cs-topPages .cs-svgIcon {width: 10px;}
  body .cs-startSlider {width: 100%;}

  /* brands */
  .cs-brands {display: flex;flex-wrap: wrap;gap: 10px;justify-content: flex-start;align-content: space-between;}
  .cs-brands .cs-brandItem {width: calc(100%/6 - 10px);display: flex;justify-content: center;align-items: center;border: 1px solid #dadadd;cursor: pointer;padding: 0 10px;}
  .cs-brands .cs-brandItem img {display: block;}
  .cs-brandText {background: var(--primaryBackground);color: #fff;font-size: 24px;font-weight: 600;font-style: italic;padding: 1em 1em;margin-bottom: 2em;}
  .cs-articleDetailBoxing {display: flex;justify-content: space-between;}
  .cs-articleDetailBoxing .cs-articleBrand img {cursor: pointer;max-height: 64px;display: block;width: 100%;}
  .cs-articleDetailBoxing .cs-articleDetailInfos {width: 85%;}
  .cs-articleDetailBoxing .cs-articleBrand {width: 15%;display: flex;justify-content: right;}
  .cs-categoryHeader .categoryPicture img {max-height: 136px;max-width: 272px;}
  .cs-brands .cs-brandItem img {display: block;max-height: 136px;max-width: 100%;height: 100%;width: 100%;}

  /* main */
  .cs-logo {max-width: var(--logoWidth);}
  .cs-container,  .cs-box {max-width: var(--shopWidth);}
  .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6,
  footer .cs-footerBox .cs-footerBoxHeader,
  footer .cs-footerNewsletterBox.heading,
  .ui-dialog .ui-dialog-title {font-family: var(--secondaryFont);text-transform: none!important; font-weight: var(--secondaryFontWeight);font-style: normal; color: #004e2b}
  .cs-subtitle {display: none;}
  .cs-infoBox {background: #f6f6f6;}
  .cs-bannerRow {margin-top: 2em;}
  article.cs-articlePreview .cs-hoverlay {display: none !important;}
  .ui-button .ui-icon {filter: brightness(0) invert(1);}
  h2.cs-betHeading {margin: 2em 0 2em 0;}
  h2.cs-betHeading:before {height: 0px;}
  h3.cs-siteHeading:before {height: 0;}
  .cs-startseitenArtikel {background: #E6E6DF ;padding: 3em 0 3em 0;margin-top: 0em;}
  h2.cs-betHeading span {background-color: rgba(0,0,0,0);}
  .cs-categoryView h1.categoryHeader {text-align: center;}

  .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {font-family: 'LexendExaBold';}

  /* preview */
  article.cs-articlePreview h3 .cs-artPreviewName {font-family: var(--secondaryFont);font-size: 20px;color: var(--primaryFontColor);font-weight: var(--secondaryFontWeight);}
  article.cs-articlePreview .cs-previewBottomBox {display: flex;justify-content: space-between;}
  article.cs-articlePreview .cs-previewBottomBox .cs-badgesBox.cs-right {right: auto;top: auto;z-index: 2;left: auto;position: relative;display: flex;}
  article.cs-articlePreview .artnamBox {margin-top: 20px;}
  article.cs-articlePreview .cs-shortDesc {margin: -10px 0 10px 0;color: #777;font-weight: 300;overflow: hidden;position: relative;}
  article.cs-articlePreview .cs-auszeichnungenItem {margin-right: 10px;}
  article.cs-articlePreview .priceBox .priceRow .price {font-family: var(--secondaryFont);font-size: 20px;font-weight: var(--secondaryFontWeight);color: var(--primaryFontColor);font-style: normal;}
  article.cs-articlePreview .priceBox .priceRow .price span {color: var(--primaryFontColor);font-size: 20px;}
  article.cs-articlePreview .cs-previewBox .cs-informations {margin-left: auto;}
  article.cs-articlePreview .cs-previewBox {font-weight: 300;color: #777;justify-content: space-between;}
  article.cs-articlePreview .cs-previewBox a {color: #777;text-decoration: underline;}
  article.cs-articlePreview .cs-seperator {margin: 0 7px;}
  article.cs-articlePreview .cs-hoverlay .cs-actionButton {border-radius: 0;}
  article.cs-articlePreview .priceBox .priceRow {float: right;}
  article.cs-articlePreview .priceBox .cs-priceFormat {text-align: right;}
  article.cs-articlePreview .priceBox .basePrice {color: #777;}
  article.cs-articlePreview .priceBox .priceRow .price span {font-size: 25px;}
  article.cs-articlePreview .rentals-hint-rentable {display: none;}
  article.cs-articlePreview .cs-priceFormat .priceRow .price span.priceFrom {font-size: 20px;}


  /* menu */
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li .cs-megaMenuContainer {background: var(--menuBackground);border: 0;color: #fff !important;padding: 2em;}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li .cs-megaMenuContainer a {color: #fff !important;font-size: 1.1rem;}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li .cs-megaMenuContainer .cs-megamenu {font-size: 1.1rem;}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li .cs-megaMenuContainer .cs-megamenu > div > ul {display: flex;flex-wrap: wrap;}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li .cs-megaMenuContainer .cs-megamenu > div > ul > li {width: calc(100%/6);}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li > a {text-transform: none!important;padding: 0em 28px 1em 0;font-family: var(--secondaryFont);font-weight: var(--secondaryFontWeight);font-style: normal;}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li:hover > a {color: var(--primaryFontColor);text-decoration: underline;text-decoration-color: #06dd38; text-decoration-thickness: 3px; /* Dicke des Unterstrichs */ text-underline-offset: 3px; /* Abstand des Unterstrichs vom Text */}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li:hover svg path {fill: var(--primarySvgFill);}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li .cs-megaMenuContainer ul li ul li a {font-size: 1.1rem;padding-left: 1em;}
  html body .cs-categoriesBox {margin-bottom: 1em !important;}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li .cs-megaMenuContainer a {padding: 1em 1em;}
  .cs-categoriesBox {background: #ffffff !important;}
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li.activeRub > a > span {color: var(--primaryFontColor);}  
/* --- Navigation einzeilig, kompakt & ohne Scrollbar --- */
.cs-categoriesMegaMenu .cs-megaMenu > ul {
  display: flex;
  flex-wrap: nowrap;              /* keine zweite Zeile */
  justify-content: space-between; /* gleichmäßige Verteilung */
  align-items: center;
  gap: 10px;                      /* kompakter Abstand */
  overflow: visible;              /* nichts wird abgeschnitten */
  white-space: nowrap;            /* kein Umbruch im Text */
}

/* Rubriken kompakter und gleichmäßiger */
.cs-categoriesMegaMenu .cs-megaMenu > ul > li {
  flex: 1 1 auto;                 /* erlaubt flexibles Schrumpfen */
  text-align: center;             /* gleichmäßige Verteilung */
  min-width: 0;                   /* wichtig, damit Flexbox richtig schrumpft */
}

.cs-categoriesMegaMenu .cs-megaMenu > ul > li > a {
  font-size: 0.9rem;              /* leicht kleinere Schrift */
  padding: 0 8px 0.6em 8px;       /* engerer Abstand */
  line-height: 1.2;
  white-space: nowrap;            /* keine Worttrennung */
}

/* Menübox kompakt */
.cs-categoriesBox {
  padding: 0.25em 0;
}

/* Aktive Rubrik */
.cs-categoriesMegaMenu .cs-megaMenu > ul > li.activeRub > a > span {
  font-weight: 700;
}


/* =======================================================
   📱 RESPONSIVE ANPASSUNG
   ======================================================= */

/* Tablet */
@media (max-width: 1100px) {
  .cs-categoriesMegaMenu .cs-megaMenu > ul > li > a {
    font-size: 0.8rem;      /* kleinere Schrift für mehr Platz */
    padding: 0 6px 0.4em 6px;
  }
}

/* Mobil */
@media (max-width: 768px) {
  .cs-categoriesMegaMenu .cs-megaMenu > ul {
    flex-wrap: wrap;        /* darf jetzt umbrechen */
    justify-content: flex-start;
  }

  .cs-categoriesMegaMenu .cs-megaMenu > ul > li {
    flex: 0 1 auto;
    margin-bottom: 0.5em;
  }

  .cs-categoriesMegaMenu .cs-megaMenu > ul > li > a {
    font-size: 0.95rem;
  }
}







  /* slider Original
  .theme-default .nivo-controlNav a.active {background: #DB011C !important;}
  .theme-default .nivo-controlNav a {background: #000000 !important;}
  html body .theme-default .nivo-caption .cs-captionWrapper {float: right;display: flex;height: auto;color: var(--primaryFontColor);padding: 2em;max-width: 33%;flex-direction: column;justify-content: center;background: rgb(255 255 255 / 95%);top: 30%;position: relative;}
  html body .theme-default .nivo-caption {opacity: 1;}
  .cs-body .slider-wrapper .nivoSlider .nivo-caption {max-width: var(--shopWidth);left: 0;}
  .theme-default .nivo-caption {font-family: var(--primaryFont), sans-serif !important;}
  .cs-sliderButton {background: var(--primaryBackground);color: #fff;display: inline-block;width: 200px;text-align: center;padding: 10px;margin: 0 auto;margin-top: 2em;}
  html body.cs-body .slider-wrapper .nivoSlider .cs-sliderButton a {text-decoration: none !important;color: #fff;border: 0;}
  .nivo-caption p {text-align: center;}
  .cs-captionWrapper > div {text-align: center;}
  .cs-sliderHeader {font-family: var(--secondaryFont);font-size: 25px;font-weight: var(--secondaryFontWeight);font-style: var(--secondaryItalic);}
  .cs-sliderContent {max-width: 100%;margin-top: 2em;font-size: 18px;}
  body .cs-startSlider {margin-bottom: 1em;} */


  /* Slider Mein Code */
.theme-default .nivo-controlNav a.active {background: #004e2b !important;}

.theme-default .nivo-controlNav a {background: #000000 !important;}

.theme-default .nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
	display:none;
	border-bottom-right-radius: 200px;
}

html body .theme-default .nivo-caption .cs-captionWrapper {
    float: right;
    display: flex;
    height: auto;
    color: #ffffff; /* Weiße Schrift */
    padding: 2em;
    max-width: 33%;
    flex-direction: column;
    justify-content: center;
    background:#FF644E;
 /*    background: rgba(0, 78, 43, 0.8); Transparente Hintergrundfarbe */
    top: 30%;
    position: relative;
    border-bottom-left-radius: 100px; 
    
}


html body .theme-default .nivo-caption {opacity: 1;}
.cs-body .slider-wrapper .nivoSlider .nivo-caption {max-width: var(--shopWidth);left: 0;}
.theme-default .nivo-caption {;font-family: var(--primaryFont), sans-serif !important;}
.cs-sliderButton {
    background: #00dd38; /* Standard Hintergrundfarbe des Buttons */
    color: #004e2b; /* Schriftfarbe des Buttons */
    display: inline-block;
    width: 200px;
    text-align: center;
    padding: 10px;
    margin: 0 auto;
    margin-top: 2em;
    transition: background-color 0.1s ease; /* Sanfter Übergang beim Hover */
}

.cs-sliderButton:hover {
    background: #03C732; /* Hover Hintergrundfarbe des Buttons */
}


html body.cs-body .slider-wrapper .nivoSlider .cs-sliderButton a {text-decoration: none !important;color: #004e2b; /* Schriftfarbe des Buttons */border: 0;}
.nivo-caption p {text-align: center;}
.cs-captionWrapper > div {text-align: center;}
.cs-sliderHeader {
    font-family: var(--secondaryFont);
    font-size: 10px;
    font-weight: var(--secondaryFontWeight);
    font-style: normal;

}


.cs-sliderContent {max-width: 100%;margin-top: 2em;font-size: 18px; }
body .cs-startSlider {margin-bottom: 1em;}



/* detail */
  .cs-articleDetail .cs-auszeichnungenItem {width: auto;}
  .cs-articlePictureBox .cs-addPicBox .cs-galleryImageBox {width: calc(100%/4 - 0.3em);max-height: none;}
  .cs-newDetailbox .cs-articleDetailMiddleBox .cs-articleRightBox {max-width: 45%;width: 100%;margin-left: 3%;}
  .cs-newDetailbox .cs-articleDetailMiddleBox .cs-articleLeftBox {max-width: 37%;}
  .cs-newDetailbox .cs-articleDetailMiddleBox .cs-articleRightBox h1 {font-family: var(--secondaryFont);font-size: 2.2rem;color: var(--primaryFontColor);font-weight: var(--secondaryFontWeight);font-style: normal;}
  .cs-articleDetail .cs-articleDetailMiddleBox .cs-articleRightBox .cs-inner {max-width: 87%;}
  .cs-articleDetail .cs-galleryContainer .cs-gallerySidebar .cs-galleryNavi {display: flex;}
  .cs-hr {width: 100%;background: var(--primaryBackground);height: 1px;margin: 24px 0;}
  #mengenEingabeContainer .cs-articleAmountBox svg {display: none;}
  #mengenEingabeContainer .cs-articleAmountBox input {width: 50px;}
  #mengenEingabeContainer .cs-articleAmountBox #wkmenge {text-align: center;margin-right: 5px;border-color: #00b2eb;}
  .cs-merklisteDetail input {display: none;}
  .cs-merklisteDetail svg {width: 2em;height: 2em;cursor: pointer;}
 ⁠ .cs-merklisteDetail svg path {fill: var(--primarySvgFill);}
  .cs-newPriceRow {display: flex;flex-wrap: wrap;justify-content: space-between;align-items: center;margin-bottom: 10px;}
  .cs-newPriceRow svg {width: 2em;height: 2em;}
  .articlePriceBoxPrice {width: 45%;}
  .articlePriceBoxPrice .cs-priceFormat .price {font-family: var(--secondaryFont);font-size: 2.2rem;color: var(--primaryFontColor);font-weight: var(--secondaryFontWeight);font-style: normal;}
  .cs-bestellButtons .cs-button1 {padding: 15px 1em;}
  .cs-newDetailbox {background: #e8e8e8;border-top: 2px solid var(--primaryFontColor);padding-bottom: 0;}
  .cs-newDetailbox .cs-articleDetailMiddleBox {max-width: var(--shopWidth);margin: 0 auto;justify-content: flex-start;}
  .cs-newDesc {padding-bottom: 0;}
  .cs-newDesc h4 {font-size: 21px;margin: 0;}
  .cs-newDesc p {margin: 0;}
  .cs-newBestand {display: flex;gap: 0;}
  .cs-newLiefer {display: flex;gap: 10px;font-weight: bold;}
  .cs-articleDetailTopBox {display: none;}
  .cs-inStock {color: #111;border-radius: 0;margin-bottom: 0;background: none;display: inline-block;font-size: initial;padding: 0;}
  .cs-newDetailbox .cs-articleAwards {margin-bottom: 1em;}
  .cs-newDetailbox .cs-graduation {margin: 1em 0 0 0;}
  .cs-newDetailbox .cs-graduation .cs-articleBlockBasePrice {font-size: inherit;margin-left: 0.3em;position: relative;top: 1px;}
  .cs-newDetailbox .cs-graduation .cs-price {font-weight: 600;}
  .blockPriceCalc {display: none;}
  #tabs .tabs span {font-size: 20px;}
  .cs-articleDetail .cs-articleDetailMiddleBox .cs-articleRightBox {padding-top: 1em;max-width: 52%;background: #E6E6DF ;}
  .cs-articleRightBox .cs-blockPriceVpeLeft {margin-right: 4px;}
  .cs-articleDetail .cs-duration {margin: 0;margin-right: 15px;}
  body .cs-articleDetail .cs-greyBox {background: #E6E6DF ;position: absolute;height: 100%;width: 100vw;left: calc((-100vw + 1419px) / 2);top: 0;right: 0;z-index: -1;display: table;}
  .cs-articleDetail .cs-articleDetailMiddleBox {position: relative;background: #E6E6DF ;}
  .cs-articleDetail .cs-articlePictureBox #cs-mainpicBox {width: 100%;}
  .cs-articleDetail .cs-newLiefer {display: none;}
  .cs-articleDetail .cs-newBestand.cs-onlyNumber {margin-left: 0;}
  .cs-articleDetail .cs-articleDetailMiddleBox .cs-articleRightBox h1 {color: var(--primaryFontColor);/*height: 48px;*/overflow: hidden;font-size: 2.3rem;}
  .cs-articleDetail .cs-detailIcons {display: flex;gap: 12px;}
  .cs-articleDetail .cs-detailIcons img {width: 30px;height: 30px;cursor: pointer;}

  .cs-articleDetail .cs-newContainer {display: flex;flex-wrap: wrap;}
  .cs-articleDetail .cs-newContainer > div {width: 50%;}
  .cs-articleDetail .cs-newContainer .cs-newContainerLeft.cs-markenLogo {text-align: right;}

  .cs-articleDetail .cs-articlePriceInfo {font-size: initial;text-decoration: none;}

  .cs-articleDetail .cs-executionBox {margin: 0;display: flex;flex-wrap: wrap;gap: 10px;margin: 0;}
  .cs-articleDetail .cs-executionBox .cs-execution {width: calc(50% - 5px);margin: 0;}
  .cs-articleDetail .cs-executionBox .cs-execution select {width: 100%;}

  .cs-newdetailTopBox {display: flex;flex-wrap: wrap;gap: 10px;}
  .cs-newdetailTopBox .cs-newExecutionBox {width: calc(60% - 5px);margin: 0;}
  .cs-newdetailTopBox #mengenEingabeContainer {width: calc(40% - 5px);margin: 0;gap: 10px;}
  .cs-newdetailTopBox #mengenEingabeContainer .cs-articleAmountBox {width: calc(30% - 5px);}
  .cs-newdetailTopBox #mengenEingabeContainer .cs-articleAmountBox input {width: 100%;}
  .cs-newdetailTopBox #mengenEingabeContainer .cs-bestellButtons {width: calc(70% - 5px);}
  html body .cs-articleDetail .cs-newdetailTopBox input,
  html body .cs-articleDetail .cs-newdetailTopBox select {padding: 10px;}
  html body .cs-articleDetail .cs-newdetailTopBox .cs-button1 {width: 100%;}

  .cs-articleDetail .cs-articleAwards {margin-bottom: 10px;}

  .cs-accessories, .cs-crossSelling {margin-bottom: 8em;}

  html body .blockPriceCalc {border-top: 0px solid #dadadd;}
  html body .nichtBestellbar {display: none;color: #ff4747;line-height: 36px;padding-left: 1em;}



  /* preview */
  article.cs-articlePreview h3 .cs-artPreviewName {font-family: var(--secondaryFont);font-size: 20px;color: var(--primaryFontColor);font-weight: var(--secondaryFontWeight);font-style: normal;}
  article.cs-articlePreview .cs-previewBottomBox {display: flex;justify-content: space-between;}
  article.cs-articlePreview .cs-previewBottomBox .cs-badgesBox.cs-right {right: auto;top: auto;z-index: 2;left: auto;position: relative;display: flex;}
  article.cs-articlePreview .artnamBox {margin-top: 20px;}
  article.cs-articlePreview .cs-shortDesc {margin: 10px 0 10px 0;color: #777;font-weight: 300;overflow: hidden;position: relative;}
  article.cs-articlePreview .cs-auszeichnungenItem {margin-right: 10px;}
  article.cs-articlePreview .priceBox .priceRow .price {font-family: var(--secondaryFont);font-size: 20px;font-weight: var(--secondaryFontWeight);color: var(--primaryFontColor);font-style: normal;}
  article.cs-articlePreview .priceBox .priceRow .price span {color: var(--primaryFontColor);font-size: 20px;}
  article.cs-articlePreview .cs-previewBox {font-weight: 300;color: #777;}
  article.cs-articlePreview .cs-previewBox a {color: #777;text-decoration: underline;}
  article.cs-articlePreview .cs-seperator {margin: 0 7px;}
  article.cs-articlePreview .cs-hoverlay .cs-actionButton {border-radius: 0;}
  article.cs-articlePreview .priceBox .priceRow {float: right;}
  article.cs-articlePreview .priceBox .cs-priceFormat {text-align: right;}
  article.cs-articlePreview .priceBox .basePrice {color: #777;}
  article.cs-articlePreview .priceBox .priceRow .price span {font-size: 25px;font-weight: 800;}
  article.cs-articlePreview .rentals-hint-rentable {display: none;}
  article.cs-articlePreview .cs-priceFormat .priceRow .price span.priceFrom {font-size: 20px;}
  article.cs-articlePreview .cs-lagerBox {font-size: 12px;}
  article.cs-articlePreview .cs-lagerBox .cs-stock1 {color: #16b339;}
  article.cs-articlePreview .cs-lagerBox .cs-stock2 {color: #f58820;}
  article.cs-articlePreview .cs-lagerBox .cs-stock3 {color: #E05048;}

  /* demand articles */
  .cs-demandContainer {background: #ffffff;width: 100%;height: 40px;margin-bottom: 5em;position: relative;}
  .cs-demandContainer .cs-demandArrows {display: flex;justify-content: space-around;position: absolute;width: 100%;bottom: -40px;}
  .cs-demandContainer .cs-demandArrows .cs-demandQuantity {position: relative;text-align: right;top: -49px;position: absolute;left: 0;}
  .cs-demandContainer .cs-demandArrows .cs-demandQuantity svg {max-width: 40px;position: relative;right: -18px;top: 5px;}
  .cs-demandContainer .cs-demandArrows .cs-demandQuantity .cs-demandQuantAb {position: relative;top: -13px;}
  .cs-demandContainer .cs-demandArrows .cs-demandQuantity .cs-demandQuantPrice {position: relative;top: -21px;font-weight: 800;font-size: 20px;}
  .cs-demandContainer .cs-extraWidth {min-width: 100px;}
  .cs-demandBox {margin: 3em 0 4em 0;}
  .cs-demandProgress {background: #004e2b;position: absolute;top: 0;height: 40px;width: 100px;color: #fff;display: flex;align-items: center;justify-content: right;padding-right: 1em;font-weight: 500;text-transform: uppercase;}
  .cs-demandNextStep {font-size: 19px;font-weight: 600;line-height: 25px;position: relative;top: 13px;}
  .cs-greyHr {width: 100%;background: #d8d8d8;height: 1px;margin: 24px 0;}
  .cs-demandProgressBar {
      background-image: -webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
      background-image: -o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
      background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
      -webkit-background-size: 40px 40px;
      background-size: 40px 40px;
        -webkit-animation: cs-progressBar 2s linear infinite;
      -o-animation: cs-progressBar 2s linear infinite;
      animation: cs-progressBar 2s linear infinite;
  }
  @-webkit-keyframes cs-progressBar {
    0% {
      background-position: 0 40px;
    }
    100% {
      background-position: 0 0;
    }
  }

  @-moz-keyframes cs-progressBar {
    0% {
      background-position: 0 40px;
    }
    100% {
      background-position: 0 0;
    }
  } 


/* BADGE NEW */
.cs-badgesBox .badgeGreen,
.cs-badgesBox .badgeYellow {
  background:#00DD38;
  color:#fff;
  font-family:var(--secondaryFont);
  text-transform:uppercase;
  font-weight:var(--secondaryFontWeight);
  font-style: none;
  /* NEU / WICHTIG FÜR "LAST CHANCE: */
  width:60px;              /* Kreisgröße anpassen */
  height:60px;
  border-radius:50%;
  display:flex;            /* Inhalt sauber zentrieren */
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:6px 10px;        /* etwas Innenabstand für 2 Zeilen */
  line-height:1.1;         /* engeres Zeilenmaß */
  letter-spacing:-0.01em;
  font-size:12px;          /* Text kleiner – bei Bedarf 11/13 px testen */
  white-space:normal;      /* Umbruch erlauben */
  overflow:hidden;         /* Sicherheit, falls Minimal-Überstand */
}

/* BADGE LAST CHANCE */
.cs-badgesBox .badgeYellow {
  background:#E50C62;
  color:#fff;
  font-family:var(--secondaryFont);
  text-transform:uppercase;
  font-weight:var(--secondaryFontWeight);
  font-style: none;
  /* NEU / WICHTIG FÜR "LAST CHANCE: */
  width:60px;              /* Kreisgröße anpassen */
  height:60px;
  border-radius:50%;
  display:flex;            /* Inhalt sauber zentrieren */
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:6px 10px;        /* etwas Innenabstand für 2 Zeilen */
  line-height:1.1;         /* engeres Zeilenmaß */
  letter-spacing:-0.01em;
  font-size:12px;          /* Text kleiner – bei Bedarf 11/13 px testen */
  white-space:normal;      /* Umbruch erlauben */
  overflow:hidden;         /* Sicherheit, falls Minimal-Überstand */
}


/* detailansicht picture scroll */
  html body .cs-articleDetail .cs-articleDetailMiddleBox .cs-articleLeftBox {flex: 1;position: sticky;top: 2em;height: 100%;overflow: hidden;padding-bottom: 2em;z-index: 99;padding-top:2em;}

  /* merkliste */
  html body.cs-body .cs-withArticles {color: #000;}
  html body.cs-body .cs-withArticles img {width: 34px;top: 7px;}
  html body.cs-body span.cs-articleCount {position: relative;top: 10px;}
  html body.cs-body .cs-merklisteTop img,
  html body.cs-body .cs-merklisteTop svg {display: none;}
  html body.cs-body .cs-merklisteTop.cs-withArticles img {display: inline-block;}
  html body.cs-body .cs-merklisteTop.cs-withoutArticles svg {display: inline-block;}
  html body.cs-body .cs-merklisteTop.cs-withoutArticles svg path {fill: #00de39;}



/* Startseitentextcode: Tabelle zentrieren + steuerbarer Abstand zwischen Icons */
.hm-icons{
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: var(--gap, 24px); /* Abstand zwischen den Icons */
  text-align: center;
  overflow: visible;                 /* wichtig, damit Tooltips nicht abgeschnitten werden */
}

/* Jeder „Hotspot“ */
.hm-tip{
  position: relative;               /* Bezugsfläche für die Box */
  display: inline-block;
  line-height: 0;                   /* verhindert Extraabstände */
}

/* Bild */
.hm-tip img{ display:block; }

/* Die Box (standardmäßig versteckt) */
.hm-pop{
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);        /* Abstand vom Icon nach oben */
  transform: translateX(-50%);
  width: min(720px, 92vw);
  background: #f2f2f2;
  padding: 22px 28px;
  text-align: center;
  z-index: 9999;

  display: none !important;         /* HIDDEN */
}

/* kleiner Pfeil unter der Box */
.hm-pop::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 14px solid #f2f2f2;
}

/* Sichtbar nur beim Hover / Tastatur-Fokus */
.hm-tip:hover .hm-pop,
.hm-tip:focus-within .hm-pop{
  display: block !important;        /* SHOW */
}

/* Typo in der Box – gern anpassen */
.hm-pop h4{
  margin: 0 0 14px 0;
  color: #004E2B;
  font-weight: 800;
  text-transform: uppercase;
  font-style: none;
  letter-spacing: -0.01em;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.2;
}
.hm-pop p{
  margin: 0;
  color: #1a1a1a;
  font-weight: 700;
  font-style: none;
  letter-spacing: -0.01em;
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.35;
}

.hm-tip a{ display:block; }          /* Klickfläche = ganzes Icon */
.hm-pop{ pointer-events:none; }      /* Tooltip blockiert keine Klicks */


/* FÜR ZUSAZINFO WYSIWYG EDITOR */

/* --- Icons v2 (nur für diesen Block) --- */
.hm2-icons{
  margin:0 auto;
  border-collapse:separate;
  border-spacing:var(--gap,24px); /* Abstand steuerbar */
  text-align:center;
  overflow:visible;
}
.hm2-icons img{display:block}

.hm2-td{position:relative}

/* Tooltip-Box aus data-Attributen */
.hm2-td::before{
  content: attr(data-title) "\A\A" attr(data-text);
  white-space: pre-line;
  position:absolute;
  left:50%;
  bottom:calc(100% + 14px);
  transform:translateX(-50%);
  width:min(720px,92vw);
  background:#e6e6df;
  padding:22px 28px;
  text-align:center;
  z-index:9999;
  display:none;
  color:#1a1a1a;
  font-weight:700;
  letter-spacing:-.01em;
  line-height:1.35;
  font-size:clamp(16px,1.6vw,22px);
}

/* Pfeil */
.hm2-td::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:100%;
  transform:translateX(-50%);
  border-left:14px solid transparent;
  border-right:14px solid transparent;
  border-top:14px solid #e6e6df;
  display:none;
}

/* Sichtbar bei Hover/Focus */
.hm2-td:hover::before,
.hm2-td:focus-within::before,
.hm2-td:hover::after,
.hm2-td:focus-within::after{display:block}

.hm2-td a{display:block;pointer-events:auto}


/* Standard: ARIBA Hinweis NICHT anzeigen */
.cs-topText .hm-topnotice { display: none; }

  body {overflow-x: hidden;}


/*-------------------- CODE VOM MASTER -------------------*/

/* Artikel download Button in der Artikelansicht */
.cs-newPriceRow svg path { fill: var(--primarySvgFill);}

/* Artikelansicht Warenkorbanzeige auf gleiche höhe gesetzt */
  html body #mengenEingabeContainer .cs-articleAmountBox #wkmenge {border-color: var(--primaryFontColor);padding-bottom: 8px;}


/* "NEWSLETTER ABONNIEREN" auf gleicher höhe im Footer */
footer .cs-footerNewsletterBox.heading{
    font-family: var(--secondaryFont);
    text-transform: none;
    font-weight: var(--secondaryFontWeight);
    font-style: var(--secondaryItalic);
    margin-bottom: 19px;
}


/* Nachweis dropdown menü + buttons bei den Nachweispflichtigen Positionen in unser Style verändert */
.nachweis-eingabe-head-frontend {
    cursor: pointer;
    border: 1px solid #afafaf;
    display: inline-block;
    padding: 0.1em 0.6em;
    border-radius: 0px;
    background: #f7f7f7;
    margin-top: 1em;
}
.ui-button .ui-icon {
    background-image: none !important;
}
.nachweisOverviewFilterForm .cs-nachweisFilterRow button {
    display: block;
    margin: 1em 0 !important;
    padding: 0.3em 0.6em !important; /* Abstand */
    background-color: #f7f7f7 !important; /* Hintergrundfarbe */
    border: 1px solid #afafaf !important; /* Rand */
    font-size: 17px !important; /* Schriftgröße */
    text-align: left; /* Text links ausrichten */
    color: #000 !important; /* Textfarbe */
    font-family: Cambria, serif !important; 
    position: relative !important;
}
.nachweisOverviewFilterForm .cs-nachweisFilterRow button::before {
    content: "\e8cc"; /* Ersetze dies durch den Unicode deines Icons */
    font-family: cs; /* Stelle sicher, dass die Font-Family "cs" korrekt eingebunden ist */
    font-size: 1.2em;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;

    font-style: normal;
    font-weight: 400;
    speak: none;

    text-decoration: inherit;
    width: auto;
    margin-right: .2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
}



/* Checkout boxen werden bei Auswahl in Firmenfarben angezeigt */
.checkoutStep4 .cs-paymentBox,.checkoutStep4 .cs-shippingBox {
    border: 1px solid #000;
    border-radius: 0.2em;
    margin-right: 1em;
    position: relative;
    margin-bottom: 0.5em;
}
.checkoutStep4 .cs-paymentBox.active:after, 
.checkoutStep4 .cs-shippingBox.active:after {
    content: "";
    display: none; /* Versteckt den Punkt */
}
.checkoutStep4 .cs-paymentBox.active, 
.checkoutStep4 .cs-shippingBox.active {
    border: 3px solid var(--primaryBackground) !important; /* Dynamische Umrandungsfarbe */
}

/* Schließen-Button bei "Ähnliche Artikel"*/
html body.cs-body .ui-dialog .ui-dialog-titlebar-close {
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
html body.cs-body .ui-dialog .ui-dialog-titlebar-close::before {
    content: "×"; /* schönes X */
    font-size: 28px;
    color: #ffffff;
    text-indent: 0; /* ::before bleibt sichtbar */
}

/**/