
.circle-gallery-wrapper{
    position:relative;
    width: 100%;
    overflow: hidden;
    top: 0%;
    z-index:99;
    height: 100vh;
}

/*
.button_scroll_down{
	line-height: 210%;
	position:absolute;
    font-size: 15pt !important;
    bottom: -10%;
    padding-top: 15px;
    text-transform: uppercase;
}


.button_scroll_down span {
    position: absolute;
    top: -35px;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb05 1.5s infinite;
    animation: sdb05 1.5s infinite;
    box-sizing: border-box;
}
*/

.circle-gallery-wrapper .circle-gallery-wrapper-inner{
    position:relative;
    width: 100%;
    overflow: visible;
    /* padding-top: 16%; */
}

.circle-gallery-wrapper .circle-gallery {
    overflow: visible;
    height: 100vh;
    /* top: 22%; */
    left: 50%;
    position: relative;
    width: 100%;
    transform: translate(-50%, 0);
    opacity:0;
}




.circle-gallery-wrapper .wheel {
  position: absolute;
  top: 120vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* width: 200vw;
  height: 200vw; */
  
  --num: 10;               /* manuell ändern oder per inline-style setzen --> */
  --size: calc(180px + (var(--num) - 10) * 20px);

  /* width:  min(205vmin, 5000px);         
  height: min(205vmin, 5000px); */
  
  max-width: 5000px;
  max-height: 5000px;
  left: 50%;
  /* transform: translateX(-50%); */
  z-index: 2;
  will-change: transform, opacity;
}

.circle-gallery-wrapper .wheel__card {
  	display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    z-index: 1;
    align-content: center;
    justify-content: center;
    align-items: center;
    overflow: visible;
    filter: drop-shadow(6px 13px 32px black); 
}




.circle-gallery-wrapper .wheel__card:hover {
	transform:scale(1.1);
}

/* Caption standardmäßig versteckt */
.circle-gallery-wrapper .wheel__card .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
  color: white;
  opacity: 0;
  top:50%;
  transform: translateY(-50%) scale(1.2);
  transition: all 1s ease;
  padding: 0 0 0.5em 0 !important;
  pointer-events: none;          /* verhindert, dass Caption selbst Events abfängt */
  display:flex;
  flex-direction: column;
  justify-content: center;
  z-index: 9;
  filter:blur(5px);
}

/* Wenn der gesamte Card gehovert wird → Caption zeigen */
.circle-gallery-wrapper .wheel__card.show_caption .caption,
.circle-gallery-wrapper .wheel__card:hover .caption {
  opacity: 1 !important;
  transform: translateY(-50%) scale(1) !important;
  filter:blur(0px);
}


.circle-gallery-wrapper img {
  width: 100%;
  /* pointer-events: none; */
  z-index: 0;
  cursor: pointer;
  position: absolute;
  will-change: transform;
}

.circle-gallery-wrapper .wheel__card img{
  z-index: 0;
}

.circle-gallery-wrapper .wheel__card img.active{
  z-index: 999 !important;
}


.circle-gallery-wrapper .image-layer {
  position: absolute;          /* fixed statt absolute – überlagert wirklich alles */
  inset: 0;
  z-index: 0;
  pointer-events: none;     /* damit Klicks durchgehen, bis .active */
  transition:0.3s ease;
}

.circle-gallery-wrapper .image-layer.no-transition {
  transition:none !important;
}

.circle-gallery-wrapper .image-layer.active {
  pointer-events: auto;
  z-index: 100;
}

.circle-gallery-wrapper .blur-bg {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,0.1);   /* oder was du willst – sonst transparent */
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.circle-gallery-wrapper .image-layer.active .blur-bg {
  opacity: 1;
}

/* .image-zoomed und img bleiben wie bisher – bekommen KEINEN blur mehr */
.circle-gallery-wrapper .image-zoomed img {
  filter: none !important;   /* Sicherheit */
}



.circle-gallery-wrapper .image-zoomed{
    position: relative;
    z-index: 9999;
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}

.circle-gallery-wrapper .image-zoomed img{
    height: auto;
    width: 50%;
    
}

.circle-gallery-wrapper .header {
  position: absolute;
    top: 0;
    z-index: -1;
    left: 0;
    width: 100%;
    height: 51vh;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.circle-gallery-wrapper .header img {
  width: 40vw;
  height: 40vw;
  max-height: 350px;
  max-width: 350px;
}

/* SCROLL DOWN */
.circle-gallery-wrapper .scroll-down {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 0);
  color: white;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 14px;
  overflow: visible;
}

.circle-gallery-wrapper .scroll-down .arrow {
  position: relative;
  top: 0px;
  margin: 0 auto;
  width: 15px;
  height: 15px;
  filter: invert(1);
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj4KPHBhdGggZmlsbD0iYmxhY2siIGQ9Ik00ODMuMiwxOTIuMmMtMjAuNS0yMC41LTUzLjUtMjAuOC03My43LTAuNkwyNTcsMzQ0LjFMMTA0LjUsMTkxLjZjLTIwLjItMjAuMi01My4yLTE5LjktNzMuNywwLjYKCWMtMjAuNSwyMC41LTIwLjgsNTMuNS0wLjYsNzMuN2wxOTAsMTkwYzEwLjEsMTAuMSwyMy40LDE1LjEsMzYuOCwxNWMxMy4zLDAuMSwyNi43LTQuOSwzNi44LTE1bDE5MC0xOTAKCUM1MDMuOSwyNDUuNyw1MDMuNywyMTIuNyw0ODMuMiwxOTIuMnoiLz4KPC9zdmc+);
  background-size: contain;
}


.circle-gallery-wrapper .spacer{
    height:100vh;
    width:100%;
}

.circle-gallery-wrapper .container{
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.circle-gallery-wrapper  .bottom-gradient-layer{
    position: absolute;
    bottom: 253px;
    height: 140px;
    width: 100%;
    background: #000000;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 5;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.circle-gallery-wrapper  .button-originale{
    position: relative;
    bottom: 100px;
    z-index: 6;
}

.circle-gallery-wrapper .button-originale a{
    padding: 25px 45px;
    background-color:white;
    color:black;
    border-radius:50px;
    text-decoration:none;
    transition:0.3s ease;
}

.circle-gallery-wrapper .button-originale a:hover{
    background-color:black;
    color:white;
}