/*══════════════════════════════════════════════════════════════════════
  SC Carousel / Karten-Grid  |  Main Stylesheet
  Autor: André Kaufmann
══════════════════════════════════════════════════════════════════════*/

/******************************************/
/* 1) GRUNDSTRUKTUR                       */
/******************************************/
#revolver {
  position: relative;
  padding: 3em 5em 3em 3em !important;
  overflow: visible;
  background-color: #C8005A;
  text-align: center;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease-in-out;
}

/******************************************/
/* 2) DIAGRAMM (Knoten-Bereich)           */
/******************************************/
.diagram {
  position: relative;
  width: 100%;
  max-width: 475px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

/******************************************/
/* 3) ZENTRALE NODE & ÄUSSERE NODES       */
/******************************************/

.central-node,
.node {
  position: absolute;
  border-radius: 50%;
  display: flex;
  flex-direction: column; 
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.central-node {
  width: 22%;
  height: 22%;
  background-color: #FF4E50;
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.node {
  width: 22%;
  height: 22%;
  background-color: rgba(247, 85, 73, 0.3);
  color: #fff;
  border-radius: 50%;
  z-index: 1;
}
.block:hover .node {
  background-color: #FF4E50;
  color: #fff;
}

.node:hover {
  background-color: #FF4E50;
  color: #fff;
}

.node.selected,
.central-node.selected {
  background-color: #FF4E50 !important;
  color: #fff !important;
}

/******************************************/
/* 4) NODE-POSITIONEN (KREIS)             */
/******************************************/

.node.a { top: 12%;  left: 50%; transform: translate(-50%, -50%); }
.node.b { top: 25%;  left: 75%; transform: translate(-50%, -50%); }
.node.c { top: 50%;  left: 90%; transform: translate(-50%, -50%); }
.node.d { top: 75%;  left: 75%; transform: translate(-50%, -50%); }
.node.e { top: 88%;  left: 50%; transform: translate(-50%, -50%); }
.node.f { top: 75%;  left: 25%; transform: translate(-50%, -50%); }
.node.g { top: 50%;  left: 10%; transform: translate(-50%, -50%); }
.node.h { top: 25%;  left: 25%; transform: translate(-50%, -50%); }

/******************************************/
/* 5) ICON + LABEL IN DER NODE            */
/******************************************/
.node .icon-wrapper {
  width: 60%;  
  height: auto;
}
.node .icon-wrapper svg {
  width: 100%;
  height: auto;
}

  .node span,
  .central-node span {
  margin-top: 10px;
  font-size: 0.7rem;  
  line-height: 1;
}

/******************************************/
/* 6) RESPONSIVE TYPOGRAFIE               */
/******************************************/
@media (max-width: 991px) {
  #revolver h1,
  #revolver .h1 {
    font-size: 2.5rem;
  }

  #revolver h2,
  #revolver .h2 {
    font-size: 1.25rem!important;
    font-weight: 200!important;
  }
}  
/******************************************/
/* 7) RECHTE SEITE – CONTENT-PILL         */
/******************************************/
.dynamic-content {
  display: none;
  width: 100%;
}

.dynamic-content.show {
  display: flex;
  align-items: center;
  justify-content: center; 
  height: clamp(300px, 24vw, 350px);
  position: relative; 
  overflow: hidden; 
}

.revolver-pill {
  background-color: #FF4E50;
  border-radius: 350px; 
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(300px, 24vw, 350px);
  position: relative;
  overflow: hidden;
  color: #fff;
  transition: background-color 0.3s ease-in-out;
}

.revolver-image {
  flex: 0 0 auto;
  height: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.revolver-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.revolver-text {
  color: white;
  text-align: left;
  padding: 0 2em;
  flex: 1;
}
.revolver-text h3 {
  font-size: 1.15em;
}
.revolver-text p {
  font-size: 0.9em;
  line-height: 1.2;
}

/******************************************/
/* 8) RECHTECK-LINIE (rect-box)           */
/******************************************/
.rect-box {
  position: absolute;
  border: 4px solid #FF4E50;
  background-color: transparent;
  display: none;
  z-index: 1;
  pointer-events: none;
  border-radius: 100px;
  transform-origin: center left;
  transition: transform 0.4s ease-in-out, width 0.4s ease-in-out;
}

/******************************************/
/* 9) SUBTHEME „REVOLVER-GREEN“           */
/******************************************/
.revolver-green #revolver {
  background-color: #e6f2ef !important;
}
.revolver-green .revolver-pill {
  background-color: #058550 !important;
}
.revolver-green .rect-box {
  border-color: #058550 !important;
}
.revolver-green .node {
  background-color: #cce5df !important;
  color: #058550 !important;
}
.revolver-green .block:hover .node {
  background-color: #058550 !important;
  color: #fff !important;
}
.revolver-green .hover-icon path,
.revolver-green .hover-icon circle {
  stroke: #058550 !important;
  transition: stroke 0.3s ease-in-out;
}
.revolver-green .hover-icon path:not([fill="none"]),
.revolver-green .hover-icon circle:not([fill="none"]) {
  fill: #058550 !important;
  transition: fill 0.3s ease-in-out;
}
.revolver-green .node:hover .hover-icon path,
.revolver-green .node:hover .hover-icon circle {
stroke: #fff !important;
transition: stroke 0.3s ease-in-out;
}
.revolver-green .node.selected,
.revolver-green .central-node.selected {
  background-color: #058550 !important;
  color: #fff !important;
}
.revolver-green .node.selected .hover-icon path,
.revolver-green .node.selected .hover-icon circle,
.revolver-green .central-node.selected .hover-icon path,
.revolver-green .central-node.selected .hover-icon circle {
  stroke: #fff !important;
}
.revolver-green .node.selected .hover-icon path:not([fill="none"]),
.revolver-green .node.selected .hover-icon circle:not([fill="none"]),
.revolver-green .central-node.selected .hover-icon path:not([fill="none"]),
.revolver-green .central-node.selected .hover-icon circle:not([fill="none"]) {
  fill: #fff !important;
}
.revolver-green h1,
.revolver-green .card-inner h3 {
  color: #058550 !important;
  transition: color 0.3s ease-in-out;
}
.revolver-green .mea-green h3 {
  color: #fff!important;
}
.revolver-green .card-inner {
  background-color: #e6f2ef;
  transition: background-color 0.3s ease-in-out;
}
.revolver-green .icon-arrow-right {
  background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iS29tcG9uZW50ZV82NF83MiIgZGF0YS1uYW1lPSJLb21wb25lbnRlIDY0IOKAkyA3MiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCI+CiAgPHBhdGggaWQ9Il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SkiIGZpbGw9IiNmZmYiLz4KPC9zdmc+Cg==) no-repeat #058550;
}
.revolver-green .product-details span {
  color: #058550!important;
}
.revolver-green .mea-green .icon-arrow-right {
  background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iS29tcG9uZW50ZV82NF83MiIgZGF0YS1uYW1lPSJLb21wb25lbnRlIDY0IOKAkyA3MiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCI+CiAgPHBhdGggaWQ9IlBmYWRfMTcwIiBkYXRhLW5hbWU9IlBmYWQgMTcwIiBkPSJNNDUwLjg2NiwxMzYuNjY3bC4wMTctLjAyM2MuMDE5LS4wMjQuMDM3LS4wNDguMDU0LS4wNzNsLjAxMy0uMDIxYy4wMTctLjAyNy4wMzQtLjA1My4wNDktLjA4MWwuMDA3LS4wMTNjLjAxNi0uMDMxLjAzMS0uMDYyLjA0NC0uMDk0bDAtLjAwOWMuMDE0LS4wMzMuMDI2LS4wNjguMDM3LS4xbDAtLjAxMWMuMDEtLjAzNC4wMTktLjA2OS4wMjYtLjEsMC0uMDEsMC0uMDE5LDAtLjAyOS4wMDUtLjAyOS4wMS0uMDU5LjAxMy0uMDg5YTEuMiwxLjIsMCwwLDAsMC0uMjQyYzAtLjAzLS4wMDgtLjA1OS0uMDEzLS4wODksMC0uMDEsMC0uMDIsMC0uMDI5LS4wMDctLjAzNS0uMDE2LS4wNy0uMDI2LS4xbDAtLjAxMWMtLjAxMS0uMDM1LS4wMjMtLjA2OS0uMDM3LS4xbDAtLjAwOWMtLjAxMy0uMDMyLS4wMjgtLjA2My0uMDQ0LS4wOTRsLS4wMDctLjAxNGMtLjAxNS0uMDI4LS4wMzItLjA1NS0uMDQ5LS4wODFsLS4wMTMtLjAyMWMtLjAxNy0uMDI1LS4wMzUtLjA0OS0uMDU0LS4wNzNsLS4wMTctLjAyM3EtLjAzNy0uMDQ1LS4wNzgtLjA4NmwwLDAtNy4wMzEtNy4wMzFhMS4yMTQsMS4yMTQsMCwwLDAtMS43MTYsMS43MTZMNDQ3LDEzNC42ODRINDMzLjM2M2ExLjIxMywxLjIxMywwLDEsMCwwLDIuNDI3SDQ0N2wtNC45NTksNC45NTlhMS4yMTMsMS4yMTMsMCwwLDAsMS43MTYsMS43MTZsNy4wMzEtNy4wMzEsMCwwUTQ1MC44MjksMTM2LjcxMiw0NTAuODY2LDEzNi42NjdaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDIyLjgyOSAtMTE1Ljk3NSkiIGZpbGw9IiNmZmYiLz4KPC9zdmc+Cg==);
  border: 1px solid #fff;
}
.revolver-green .mea-green .product-details span {
  color: #fff!important;
}
.revolver-green #revolver h2 {
  color: #058550!important;
  transition: color 0.3s ease-in-out;
}
/******************************************/
/* 10) ICONS                              */
/******************************************/
.hover-icon path,
.hover-icon circle {
  stroke: #fff;
  transition: stroke 0.3s ease-in-out;
}
.hover-icon path:not([fill="none"]),
.hover-icon circle:not([fill="none"]) {
  fill: #fff;
  transition: fill 0.3s ease-in-out;
}

/******************************************/
/* 11) CARDS + FILTER-BEREICH             */
/******************************************/
#filters {
  padding-top: 90px;
  padding-bottom: 90px;
}
.card-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  color: #c8005a;
  text-decoration: none;
}
.card-link:hover .card-inner {
  transform: scale(1.02);
  transition: transform 0.3s ease-in-out;
}
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.card {
  display: flex;
  flex-direction: column;
  flex:0 0 calc( (100% - 2 * 1.5rem) / 3 );
  margin:0; 
  border: 0;
}
.card-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  height: auto;
  background-color: #D1D7FF;
  padding: 1rem;
}
.card-inner.white {
  background-color: #fff;
  border: 1px solid #e2e2e2;
}
.card-inner.mea-green {
  background-color: #058550;
  border: 1px solid #058550;
}
.imgBox {
  position: relative;
  height: 230px;
  margin: -50px auto 20px;
  overflow: hidden;
  z-index: 1;
}
.imgBox img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}
.imgBox-wrapper {
  position: relative;
  width: fit-content;
  margin: auto;
}
.imgBox-wrapper .badge {
  position: absolute;
  top: -30px;
  right: 0;
  transform: translateX(-40px)!important; 
  z-index: 10;
  background-color: #058550 !important;
  color: #fff;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 6px 14px 5px 14px;
}  
picture img {
  -webkit-transform: none;
  transform: none;
}
.content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  margin: 1em;
}
.content > p {
  color: #000;
  padding: 20px 0;
}
.content .product-details{
  margin-top:auto;         
}
.card-inner{
  height: var(--card-h, auto);
  transition: height .6s ease;
}


.hidden-card   { display:none !important; }
.fade-visible  { opacity:1; transform:translateY(0); }

.grid-item{
  opacity:0;
  transform:translateY(20px);
  transition:opacity 1s ease,transform 1s ease;
  padding-left: 0;
  padding-right: 0;
}

.grid-item.fade-visible{
  opacity:1;
  transform:translateY(0);
}

.grid-item{
  display:flex;
}

.card-inner{
  flex:1;
  display:flex;
  flex-direction:column;
}

.content{
  display:flex;flex-direction:column;flex:1;
  margin:1em;
}
.content .product-details{ margin-top:auto; }

/* Filter-Listen */
.filters ul li {
  cursor: pointer;
  padding: 10px 20px;
  background-color: #f8f9fa;
  border-radius: 5px;
  transition: background-color 0.3s;
}
.filters ul li:hover,
.filters ul li.is-checked {
  background-color: #c8005a;
  color: white;
}
.form-control {
  padding: 10px 20px;
  font-size: 24px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: #c8005a !important;
  background-color: transparent;
}
.form-control::placeholder {
  color: #c8005a;
  opacity: 1;
}
.form-control:focus {
  outline: none;
  box-shadow: none;
  color: #c8005a;
  background-color: transparent;
}
button:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}
.product-details {
  display: flex;
  align-items: center;
  gap: 8px;
  margin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MS4yMTQsMCwwLDAtMS43MTYsMS43MTZMNDQ3LDEzNC42ODRINDMzLjM2M2ExLjIxMywxLjIxMywwLDEsMCwwLDIuNDI3SDQ0N2wtNC45NTksNC45NTlhMS4yMTMsMS4yMTMsMCwwLDAsMS43MTYsMS43MTZsNy4wMzEtNy4wMzEsMCwwUTQ1MC44MjksMTM2LjcxMiw0NTAuODY2LDEzNi42NjdaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDIyLjgyOSAtMTE1Ljk3NSkiIGZpbGw9IiNmZmYiLz4KPC9zdmc+Cg==) no-repeat #c8005a;
  border-radius: 50%;
  position: relative;
  background-size: contain;
}

.card-inner .content > a > h3 {
  color: #000;
  text-decoration: none;
  transition: none;
}

.card h3 {
  font-family: "Sharp Grotesk Book 20", sans-serif;
}

/* Filter-Badges */
#active-filters .badge {
  background-color: white;
  color: black;
  border: 1px solid #e2e2e2;
  border-radius: 20px;
  padding: 8px 15px;
  margin-right: 5px;
  display: inline-block;
}

/******************************************/
/* 12) MEDIA QUERIES                      */
/******************************************/
@media (max-width: 991px) {
  #revolver {
    padding: 4em 0 0!important;
  }
  .revolver-text {
    text-align: center;
    padding: 1em;
    font-size: 1.35rem;
  }
  .revolver-pill {
    margin-top:40px;
    border-radius: 0px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 1199px) {
  .revolver-text {
    text-align: center;
    font-size: 1.35rem;
  }
}

@media (min-width: 1600px) {
  .revolver-text {
    padding: 0 2.75em;
  }
  .revolver-text h3 {
    font-size: 1.2em;
  }
  .revolver-text p {
    font-size: 1.15em;
    line-height: 1.5;
  }
}  

@media (max-width: 991px) {
  #revolver {
    padding: 3em 0em 0em 0em !important;
  }

  .revolver-pill {
    border-radius: 0;
    width: 100%;
    margin: 0 auto;
  }
  .revolver-text h3 {
    font-size: 1.25em;
  }
}

@media (min-width: 1200px) {
  #revolver-container {
    max-width: 1350px;
  }
}

/* responsive Cards */
/* ─────────  576 – 991 px → 2 Spalten  ───────── */
@media (max-width:991.98px){
  .card{
    flex:0 0 calc((100% - 1.5rem) / 2);
  }
}

/* ─────────  < 576 px → 1 Spalte  ───────── */
@media (max-width:575.98px){
  .card{
    flex:0 0 100%;
  }
}


/******************************************/
/* 13) FADE IN CARDS                      */
/******************************************/
 .grid-item{
  opacity:0;
  transition:
        opacity   1.5s cubic-bezier(.25,.1,.3,1),
        transform 1.5s cubic-bezier(.25,.1,.3,1);
}

.grid-item.fade-visible{
  opacity:1;
  transform:translateY(0);
}
