:root {
  --bodyFontSize: 1rem;
  --bodyFontColor: #343434;
  --primaryFontColor: #009fe3;
  --primaryBackground: #009fe3;
  --primarySvgFill: #00B2EB;
  --menuBackground: rgba(5, 186, 238, 0.9);
  --primaryFont: 'Hind';
  --secondaryFont: 'Hind';
  --logoWidth: 110px;
  --shopWidth: 91em;
  --secondaryFontWeight: 700;
  --secondaryItalic: normal;
}


/* 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: var(--secondaryItalic);}
  .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: var(--secondaryItalic);}
  .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: #ffffff;}
  .cs-articleRightBox .cs-blockPriceVpeLeft {margin-right: 4px;}
  .cs-articleDetail .cs-duration {margin: 0;margin-right: 15px;}
  body .cs-articleDetail .cs-greyBox {background: #ffffff;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: #ffffff;}
  .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: auto;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;}


/* blue background header */
body {font-family: 'Hind', sans-serif;}
.cs-headerBox,
header .cs-topBar,
.cs-checkout header {
  background: rgb(6,62,133);
  background: -moz-linear-gradient(270deg, rgba(6,62,133,1) 0%, rgba(0,159,227,1) 100%);
  background: -webkit-linear-gradient(270deg, rgba(6,62,133,1) 0%, rgba(0,159,227,1) 100%);
  background: linear-gradient(270deg, rgba(6,62,133,1) 0%, rgba(0,159,227,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#063e85",endColorstr="#009fe3",GradientType=1);
}
.cs-topPages > ul > li a,
.cs-miniwk a,
.cs-checkout .cs-shortnav a,
.cs-topPagesBurger span {color: #fff;}
.cs-topPages .cs-svgIcon path,
.cs-miniButtons .cs-svgIcon path {fill: #fff;}
html body .cs-categoriesBox {margin-bottom: 8px !important;}
.cs-checkout .cs-shortnav {padding-bottom: 12px;}
.cs-topPages .cs-svgIcon {width: 21px;}
.cs-categoriesMegaMenu .cs-megaMenu {display: flex;justify-content: center;}
.categoryHeader {display: none;}
.cs-breadCrumb {margin-top: 1em;}

.cs-categoriesMegaMenu .cs-megaMenu > ul > li.cs-activeCat a {color: #009fe3;}

html body.cs-body .cs-withArticles span {color: #00b2eb;}

html body.cs-body span.cs-articleCount {color: #fff;top: 7px;}

footer .cs-footerNewsletterBox.heading {font-weight: 600;}


 /* badges */
  .cs-badgesBox .badgeGreen,
  .cs-badgesBox .badgeYellow  {background: #ea2217;color: #fff;font-family: var(--secondaryFont);text-transform: uppercase;font-weight: var(--secondaryFontWeight);font-style: var(--secondaryItalic);}

/*-------------------- 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 */
}






/* Spenden-Button: weiß, eckig, blaue Schrift */
.btn-spende {
  background-color: #ffffff;
  color: #034385;
  border: 2px solid #034385;
  padding: 10px 24px;
  text-decoration: none;
  display: inline-block;
  border-radius: 0;         /* komplett eckig */
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.btn-spende:hover {
  background-color: #034385;
  color: #ffffff;
}

/* Bereich für die Flip-Karten */
.bb-spenden-flip-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.bb-spenden-flip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

/* Karte */
.bb-spenden-flip-card {
  background-color: transparent;
  flex: 1 1 22%;         /* 4 Spalten */
  max-width: 260px;
  aspect-ratio: 1 / 1;   /* quadratisch */
  perspective: 1000px;
  cursor: pointer;
}

/* Innerer Container wird gedreht */
.bb-spenden-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

/* Zustand: umgedreht */
.bb-spenden-flip-card.is-flipped .bb-spenden-flip-inner {
  transform: rotateY(180deg);
}

/* Vorder- und Rückseite */
.bb-spenden-flip-front,
.bb-spenden-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 0;  /* eckig */
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

/* Vorderseite Bild */
.bb-spenden-flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Pfeil auf der Vorderseite */
.bb-spenden-flip-front::after {
  content: "➜";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(3, 67, 133, 0.9);
  color: #ffffff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Rückseite */
.bb-spenden-flip-back {
  background-color: #034385;
  color: #ffffff;
  transform: rotateY(180deg);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.bb-spenden-flip-back p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .bb-spenden-flip-card {
    flex: 1 1 45%;
    max-width: none;
  }
}

@media (max-width: 600px) {
  .bb-spenden-flip-card {
    flex: 1 1 100%;
  }
}