:root{
	--golden:1.618;
	--pi:3.14159;
	--euler:2.71828;
	
	
	/* Abstände */
    --gap-xs:  calc(1rem / var(--golden));           /* 0.618rem  */
    --gap-s:   calc(1rem * 1);                       /* 1rem      */
    --gap-m:   calc(1rem * var(--golden));           /* 1.618rem  */
    --gap-l:   calc(1rem * var(--golden) * var(--golden));  /* 2.618rem  */
    --gap-xl:  calc(1rem * var(--euler));            /* 2.718rem  */
    --gap-xxl: calc(1rem * var(--pi));               /* 3.141rem  */

    /* Animation */
    --duration-fast:   618ms;
    --duration-normal: 1618ms;   /* φ */
    --duration-slow:   2618ms;   /* φ² */
	
	--row-gap:calc(1rem * var(--golden));
	--row-gap-large:calc(1rem * var(--golden) * var(--euler) * var(--pi));
	
	--caption_crop_amount: clamp(4rem, 5vw, 6.2rem);
	
	--filter_art_shadow: drop-shadow(5px 5px 10px rgba(0,0,0,0.2));
	--filter_art_shadow_active: drop-shadow(10px 10px 30px rgba(0,0,0,0.5));
	
}


body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

body.toggle-display-title .scroll_wrapper .caption
{
  opacity: 1 !important;
  filter:blur(0px) !important;
}




.gallery-section {
  position: relative;
  height: 125vh; /* Oder 120vh / 150vh – je nach gewünschtem Scrollweg */
  overflow: hidden;
  background: #000000;
	background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

/* Mask-Wrapper – für Positioning des Layers */
.gallery-section .mask-wrapper {
  position: relative;
  height: 100%;
}


/* Button – wird jetzt sichtbar, wenn gescrollt wird */
.gallery-section .button {
  opacity: 0; /* Start: unsichtbar */
  transform: translateY(60px); /* Start: 60px weiter unten */
  transition: box-shadow 0.4s ease; /* Nur für Hover */
}



/* Mask-Layer bleibt über der Galerie */
.gallery-section .mask-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.row-gallery {
	z-index:1;
    height: 100vh;
    /* overflow: hidden; */
    position: relative;
    /* background: #000; */
    display: flex;
    align-items: center;
  }
  
  /* Button-Wrapper – zentriert und darunter */
.row-gallery .button-wrapper {
  text-align: center;
  padding: 5vh 0 1vh !important; /* Abstand oben/unten – passt den Scroll-Timing an */
  width: 100%;
  
}

  .gallery-container {
    height: 100%;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 0vh 0;
  }

  .gallery-row-wrapper {
    width: 100%;
    overflow:hidden;
    display: flex;
    justify-content: center;
  }
  
  .gallery-row-wrapper:has(.card.active) {
    overflow:visible;
    z-index:99;
  }

  .gallery-row {
    display: flex;
    height: 28vh;
    align-items: center;
    width: max-content;
    gap: 0; /* Ersetzt margin-right für bessere Kontrolle */
  }

  /* Card mit Caption */
  .gallery-row .card {
    position: relative;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0);
    flex-shrink: 0;
    /* transition:calc(1s * var(--golden)) ease; */
    margin-right:2.2rem;
    z-index:0;
    font-size:12pt;
  }
  
  
  .gallery-row .card.active {
    position: relative;
    height: 100%;
    border-radius: 12px;
    overflow: visible !important;
    /* box-shadow: 0 15px 40px rgba(0,0,0,0.6); */
    flex-shrink: 0;
    /* transition:0.5 ease; */
    z-index: 99999;
  }
  
  
  .gallery-row .card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  }

  
  .gallery-row .card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }


    .gallery-row .card .caption {
	    z-index: 9;
	    height: auto;
	    position: absolute;
	    bottom: 0;
	    left: 0;
	    right: 0;
	    color: white;
	    opacity: 0;
	    transform: translateY(30px);
	    transition: all calc(1s * var(--golden)) cubic-bezier(0.25, 0.46, 0.45, 0.94);
	    padding: 0 0 0.5em 0 !important;
	    mix-blend-mode: hard-light;
	    backdrop-filter:blur(3px);
  	}
  
  
  
    /* NEU: extra Wrapper nur für den visuellen Effekt */
	.card .caption .button-blur-wrapper {
	  display: inline-flex;
	  align-items: center;
	  justify-content: center;
	}
	
	/*
	.art_item .caption {
		backdrop-filter:blur(0px) !important;
		mix-blend-mode:hard-light;
	}
	
	.art_item .caption{
	    translate: none;
	    rotate: none;
	    scale: none;
	    display: flex;
	    will-change: transform;
	    transform: translate3d(0px, 0px, 0px);
	    flex-direction: column;
	    justify-content: center;
	    align-items: center;
	}
	*/
	
	.circle-gallery-wrapper .wheel__card .caption,
	.art_item .caption {
	  font-family:var(--font-display);
	  position: absolute;
	  bottom: 0;
	  /* left: 0;
	  right: 0; */
	  padding: 80px 40px 40px;
	  /* background: linear-gradient(0deg, rgba(0,0,0,0.6), transparent); */
	  color: white;
	  text-align: center;
	  opacity: 0;
	  /* transform: translateY(30px); */
	  transition: all 0.8s ease;
	}
	
	
	.art_item .caption,
	.art_item .caption a{
	  width:auto;
	  height:auto;
	}
	
	
	.art_item .caption.center{
		opacity: 0;
		transform: translateY(-50%) scale(1.1);
		top:50%;
	}
	
	
	.detail_wrapper .caption {
	  font-family:var(--font-display);
	  position: relative;
	  /* left: 0;
	  right: 0; */
	  padding: 0px 0px 20px;
	  background: transparent;
	  color: white;
	  text-align: center;
	  opacity: 1;
	  transform: translateY(0px);
	  transition: all 0.8s ease;
	}

	
	
	.caption.pointer-events-all{
	    pointer-events:inherit !important;
	    cursor:pointer !important;
	}
	
	
	.art_item .caption_button{
		display: inline-flex;
	    padding: 1rem 2rem;
	    font-size: 1.2rem;
	    background-color: rgb(255 255 255);
    	color: #222222;
	    margin: 8px auto 8px auto;
	    border-radius: 50px;
	    text-transform: uppercase;
	    transition: calc(1s * calc(var(--golden) - 1)) ease;
	    font-family:var(--font-display);
	    will-change: backdrop-filter, background, transform, opacity;
	    overflow: hidden;
	    filter: drop-shadow(0px 3px 5px rgba(0,0,0,0.75));
	    
	  }
	  
	  
	  .art_item .caption_button .bottom{
		transform:translate3d(0, 0, 0) scale(1);
	  }
	  
	  
	  	/* BUTTON TEXT DURCHSCIHTIG */
		.art_item .caption:hover .caption_button{
	    	color: rgb(166 166 166);
	   		transform:translateY(-3px)  scale(1.025);
	   		filter: drop-shadow(0px 6px 20px rgba(0,0,0,0.5));
  		}  
  
  		/* WEISSER BUTTON TEXT */
		.art_item  .caption_button:hover{
	   	    background-color: rgb(0 0 0);
	    	color: rgb(255,255,255) !important;
	   		transform:translateY(-3px), scale(1);
		}
  
  
  /* Pseudo-Element für den Shine/Gradient */
.art_item .caption .caption_button::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        circle 100px at var(--x) var(--y),
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.08) 40%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.25s ease;
    mix-blend-mode: screen;       /* oder overlay / soft-light – probiere aus */
    z-index: 1;
}



.art_item{
	overflow: visible; 
	width: 100%;
	
	display: flex;
    justify-content: center;
    align-items: center;
}

.art_item .overflow-wrapper{
	position: relative;
	overflow: hidden; 
	
	width:100%;
	height:100%;
}

.art_item .overflow-wrapper.show_overflow{
	overflow: visible !important; 
}

/* Bei Hover sichtbar machen */
.art_item .caption  .caption_button:hover::before {
    opacity: 1;
}

.art_item .caption.no-event{
	pointer-events:none;
}

.image_div .title{
	transition:0.5s ease;
}

.image_div:hover .title{

	transform:translateY(-10px);
}


  .detail_wrapper .caption p  ,
  .art_item .caption p {
    margin: 0.3rem 0;
    /* font-size: 0.85rem; 
    opacity: 0.9; */
  }
  
  
  
  /*
  .art_item .caption .size {
    font-size: 1.618rem;
    text-transform:none;
    
  }
  
  .art_item .caption .price {
    font-size: 1.618rem;
    font-weight: bold;
    margin-top: 0px;
  }
  */
  
  .detail_wrapper .caption .size  ,
  .art_item .caption .size {
	  font-size: calc(1rem * 1.5);
	  font-weight: 400;
	  letter-spacing: 0.15em;
	  color: rgba(255, 255, 255, 0.8);
	  margin: 0 !important;
	  text-transform: none;
	}
	
	.detail_wrapper .caption .price  ,
	.art_item .caption .price {
	  font-size: calc(1.618rem * 1.5);
	  font-weight: 900;
	  letter-spacing: -0.02em;
	  color: #ffffff;
	  margin: 0 !important;
	  line-height: 1;
	}
	
	
	.detail_wrapper .caption .caption-bottom   ,
	.art_item .caption .caption-bottom {
	  	display: flex;
	    align-items: center;
	    justify-content: space-between;
	    margin-top: 0.8rem;
	    padding-top: 0.8rem;
	    border-top: 1px solid rgba(255, 255, 255, 0.12);
	    gap: 1.618rem;
	}
	
	.detail_wrapper .caption .caption-bottom {
	    border-top: 1px solid rgba(255, 255, 255, 0.24);
	}


/*
.art_item .caption .sub_title {
    margin: 0px;
    margin-bottom: 15px;
    font-family: var(--font-primary);
    font-size: calc(1.618rem * 0.5);
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: calc(0.314rem * 1.618);
    padding: 0px;
  }
  */
  
  
  .detail_wrapper .caption .sub_title  ,
  .art_item .caption .sub_title {
	  font-size: 0.7rem;
	  font-weight: 600;
	  letter-spacing: 0.35em;
	  text-transform: uppercase;
	  color: rgba(201, 169, 110, 0.8); /* Gold gedimmt */
	  margin: 0 0 1rem !important;
	}
	
	
	.detail_wrapper .caption .sub_title{
	    font-size: 0.7rem;
	    font-weight: 600;
	    letter-spacing: 0.55em;
	    text-transform: uppercase;
	    padding-top: 0.168rem;
	    color: rgba(201, 169, 110, 0.8);
	    margin: 0 0 1rem !important;
	}
  
  /*
  .art_item .caption .title {
    margin: 0px;
    margin-bottom: calc(0.5rem * 1.618);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-size: calc(1.618rem * 2);
    font-weight: 600;
    white-space: nowrap;
    padding: 0px;
  }
  */
  .detail_wrapper .caption .title  ,
  .art_item .caption .title {
	  	font-size: clamp(2rem, 4vw, 3.2rem);
	    font-weight: 900;
	    letter-spacing: -0.05rem;
	    line-height: 0.9;
	    line-height: 1;
	    margin: 0 0 0.5rem !important;
	    color: #ffffff;
	}
	
	
	.detail_wrapper .caption .title.title_small  ,
    .art_item .caption .title.title_small {
	  	font-size: clamp(0.5rem, 3vw, 1.5rem) !important;
	}
	
	
	.art_item .caption.caption_title_mega .product_type.title{
		font-size: calc(1.618rem * 2);
    	letter-spacing: 0.2rem;
	}
	
	.art_item .caption.caption_title_mega .product_type.title.large_text{
		font-size: clamp(2rem, 1rem + 3vw, 5rem);
	    font-weight: 700;
	    letter-spacing: 0.4rem;
	}
	
  	.art_item .caption.caption_title_mega .title {
	  	font-size: clamp(5rem, 7vw, 8.2rem);
	}
	
	.art_item .caption.caption_title_mega{
	  	top:0px;
	}
	
	.art_item .caption.caption_title_mega .button_scroll_down{
	  	bottom:-20%;
	}
	


   /*
   .art_item .caption .product_type.title  {
    font-size: 2.5rem !important;
    margin: 0px;
    margin-bottom: 0px !important;
    letter-spacing: calc(0.14rem * 1.618);
    padding: 0px;
    line-height: calc(2.5rem * 1.168);
    margin: 0px;
   
  }
  */
  
  .detail_wrapper .caption .product_type.title ,
  .art_item .caption .product_type.title {
	  font-size: calc(1.618rem * 0.8 ) ;
	  font-weight: 700;
	  letter-spacing: 0.4em;
	  text-transform: uppercase;
	  color: #c9a96e; /* dein Gold */
	  margin: 0 0 0.5rem !important;
	  line-height: 1;
	  opacity: 1;
	  padding:0px;
	  padding-left: 0.5rem;
	}
	
	
	.art_item .caption .product_type.title.large_text{
		font-size: clamp(2rem, 1rem + 3vw, 5rem);
	    font-weight: 700;
	    letter-spacing: 0.2rem;
	}
	
  .detail_wrapper .caption .product_type.title {
	  font-size: 1.618rem !important;
	}
	


  .detail_wrapper .caption .line,
  .art_item .caption .line {
    height: 1px;
    background: rgba(255,255,255,0.3);
    margin: 1rem 0 0.8rem;
  }

  /* Hover Effekt – Card + Caption */
  
  .art_item .card:hover img {
    transform: scale(1.06);
  }

  .art_item .card:hover .caption {
    opacity: 1;
    transform: translateY(0);
    mix-blend-mode: hard-light;
  }
  
  /*
  .art_item .caption{
  	mix-blend-mode:difference;
  }
  
  
  .art_item:hover .caption{
  	mix-blend-mode:unset;
  }
*/

  .background-gradient{
  	position: absolute;
    z-index: 3;
    bottom: 0px;
    height: 33%;
    width: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1), transparent);
  }
  
  .caption.transparent{
  	background:transparent;
  }

	/*
  .content {
    height: 150vh;
    background: transparent;
    padding: 100px;
    font-size: 2rem;
  }
  */
  
  
  
  
  
/* DETAIL GALLERY */
#detail_wrapper {
  position: fixed;
  width: 100%;
  height:100%;
  /* */ backdrop-filter:blur(10px);
  background-color: rgba(0, 0, 0, 0.7) !important; 
  font-size: 0;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  max-height: 100%;
  overflow-x: hidden;
  z-index: 99999;
  transition:0s ease;
  
  overscroll-behavior: contain; /* ← verhindert dass Scroll auf Body durchläuft */
  
  overflow-y: auto;   /* ← Layer selbst scrollbar */
  -webkit-overflow-scrolling: touch; /* iOS momentum scroll */
  
}

#detail_wrapper.active {
  visibility: visible;
  backdrop-filter:blur(10px);
}

#detail_wrapper .wrapper_close{
    top: -80px;
    width: 100%;
    position: absolute;
    display: flex;
    gap: 0.5em;
    height: auto;
    color: white;
    font-size: 12pt;
    text-transform: uppercase;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: flex-end;
    transition:0.3s ease;
    opacity:0;
    
}

#detail_wrapper .wrapper_close .icon{
    font-size: 2em;
    background-color: rgba(255,255,255, 0.7);
    color:black;
    width: 1.5em;
    height: 1.5em;
    display: flex;
    align-content: center;
    justify-content: center;
}

#detail_wrapper .wrapper_close:hover .icon{
    background-color: rgba(255,255,255, 0.9);
}

#detail_wrapper.active .wrapper_close{
    right: 20px;
    width: auto;
    top: -20px;
    z-index: 999999;
    opacity: 1 !important;
}

#detail_wrapper .detail {
  overflow:visible;
  position: relative;
  top: calc(50vh + 5vh);
  left: 50%;
  transform: translate(-50%, -50vh);
  width: 90vw;
  font-size: 0;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  max-height: calc(95vh);
}

#detail_wrapper.active .detail{
  visibility: visible;
}

#detail_wrapper .detail .detail-inner {
    display:flex;
  flex-direction: row;
  height: 90vh !important;
} 

#detail_wrapper .detail > img {
  position: relative;
    z-index: 2;
    height: 70vh;
    width: auto;
    object-fit: contain;
    max-height: 70vh;
}

#detail_wrapper .content {
    overflow-y: auto;
    max-height: 100%;
    background: none !important;
    padding: 30px;
    font-size: 1rem;
    box-sizing: border-box;
    flex-grow: 1;
    background-color: transparent !important;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-direction: row;
    align-items: flex-start;
    align-content: flex-start;
    opacity:0;
}


#detail_wrapper.active .content {
    opacity:1;
}


#detail_wrapper .detail .detail-inner .content .content-inner {
  max-width: 400px;
  width:100%;
}

#detail_wrapper .detail .detail-inner .content .size-price-wrapper{
    display: flex;
    justify-content: space-between;
}


#detail_wrapper .detail .detail-inner .content .title {
  margin-bottom: 0px;
}


#detail_wrapper .detail .detail-inner .content > * {
  margin-bottom: 1rem;
}

#detail_wrapper .detail .detail-inner .title {
  font-size: 4rem;
  text-transform: uppercase;
}

#detail_wrapper .detail .detail-inner .secondary {
  color: lightgray;
}

#detail_wrapper .detail .detail-inner .description {
  line-height: 1.5;
}

/*
#detail_wrapper .detail .detail-inner .content .content-inner .secondary,
#detail_wrapper .detail .detail-inner .content .content-inner .price,
#detail_wrapper .detail .detail-inner .content .content-inner .size {
  font-size:2rem;
}


#detail_wrapper .detail .detail-inner .content .content-inner .price {
}
*/

#detail_wrapper .detail .detail-inner .content .content-inner .button-like{
    display: flex;
    color: white;
    /* margin: 1em 0 1em 0; */
    /* padding: 1em 0; */
    overflow: hidden;
    text-transform: uppercase;
    /* font-weight: bold; */
    justify-content: center;
    align-content: center;
    align-items: center;
    flex-direction: column;
}


#detail_wrapper .detail .detail-inner .content .content-inner .button-like button.icon{
  margin: 0em 1em;
  background: transparent;
}

#detail_wrapper .detail .detail-inner .content .content-inner .button-like .button-like-label{
  padding: 0px;
  margin: 0px;
  top: -10px;
  position: relative;
}

#detail_wrapper .detail .detail-inner .content .content-inner .button-like button.icon{
  margin: 0em 1em;
  background: transparent;
}

#detail_wrapper .svg_icon_box svg.svg_like_icon path{
  fill:white;
}



#detail_wrapper .detail .detail-inner .content .content-inner .button-cart{
  display: flex;
    
    margin-bottom: 1.5em;
    border-radius: 50px;
    overflow: hidden;
    text-transform: uppercase;
    font-weight: bold;
    justify-content: center;
    align-content: center;
    
}

#detail_wrapper .button-wrapper{
    padding-top: 0 !important;
    
}

#detail_wrapper .button-detail-transparent{
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.2) !important;
    text-align: center;
    display: flex !important;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    padding: 10px 15px 10px 15px;
    color: white;
    /* backdrop-filter: blur(5px); */
    width:100%;
    font-size:1rem;
    font-weight: 400;
}

#detail_wrapper .button-detail-transparent:hover{
    background-color: rgba(255, 255, 255, 0.3) !important;
}


#detail_wrapper  .button_ar.layer {
    width: 100%;
    display: flex !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    text-transform: unset;
    border: 0px;
    backdrop-filter: unset;
}

#detail_wrapper  .button_ar.layer:hover {
    background-color: rgba(255, 255, 255, 0.3) !important;
}


#detail_wrapper  .accordion-container .accordion-title{
	display: flex;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    margin: 0;
    padding: 20px 50px 20px 20px;
    background-color: rgba(0,0,0,0.5);
    font-size: 1rem;
    color: #fff !important;
    cursor: pointer;
    text-align: left;
    align-content: center;
    align-items: center;
    border-radius: 50px;
    transition:0.5s ease;
}

#detail_wrapper  .accordion-container .accordion-title.open{
    border-radius: 50px 50px 0 0;
    background-color: rgba(0,0,0,0.8) !important;
}



#detail_wrapper .detail-gallery{
    width: 50vw;
    display: flex;
    flex-direction: column;
    overflow: auto;
    overflow-x: hidden;
    gap:20px;
}

#detail_wrapper .detail-gallery .main_image{
    /**/
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center; 
    width: 100%;
}


#detail_wrapper .detail-gallery .main_image.portrait{
    min-height:calc(90vh - 5vh);
    justify-content: center;
    width: 100%;
}


#detail_wrapper .detail-gallery .main_image.landscape{
    width: 100%;
}


#detail_wrapper .detail-gallery .main_image.portrait,
#detail_wrapper .detail-gallery .main_image.portrait img{
    width: auto;
    height: 100%;
   
}

#detail_wrapper .detail-gallery .main_image.portrait img{
    margin:0 auto;
}

#detail_wrapper .detail-gallery .main_image.landscape,
#detail_wrapper .detail-gallery .main_image.landscape img{
    width: 100%;
    height: auto; 
    /* height:100%; */
}

#detail_wrapper .sub_images{
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    gap: 20px;
}



#detail_wrapper .detail-gallery .image{
	
}

#detail_wrapper .button-wrapper{
	display: flex;
    position: relative;
    text-align: center;
    padding: 20px 0 20px;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


#detail_wrapper .detail-gallery .image {
  height:100%;
  width: 100%;
  aspect-ratio: 4/3;   /* ← dein gewünschtes Verhältnis */
  /* overflow: hidden; */ /* ← macht probleme mei portrait mobile. bild collapst zusammen */
  background: transparent;    /* ← Placeholder-Farbe während Laden */
}


#detail_wrapper .detail-gallery .image img{
	position: relative;
    top: 0px;
    max-width: 70vw;
    max-height: 100vh;
    height: 100%;
    width: 100%;
    object-fit: contain;
    
    /* ── Thumbnail füllt Container während es lädt ── */
	min-width: 100%;
	min-height: 100%;
  
}


#detail_wrapper .detail-gallery .image:last-child {
  padding-bottom: 0 !important;
}


#detail_wrapper .dot_art_sold{
    bottom: unset;
    position: relative;
    margin: unset;
    top: 3px;
    
}






#detail_wrapper .price.sold{
	gap: 10px;
    display: flex;
    align-content: center;
    align-items: center;
}


.layer_item .active{
	z-index:999;
	overflow:visible;
}

.details-table-modern {
      width: 100%;
      max-width: 620px;
      margin: 1.2rem auto 0.8rem;
      font-family: system-ui, -apple-system, BlinkMacOSystemFont, 'Segoe UI', Roboto, sans-serif;
      color: #f0f0f5;
      font-size: 0.98rem;
      line-height: 1.55;
      border-collapse: separate;
      border-spacing: 0 0.5em;
}

.details-table-modern tr {
      background: rgba(30, 30, 45, 0.45);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 2px 12px rgba(0,0,0,0.25);
      transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.details-table-modern tr:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.details-table-modern td {
      padding: 1.1em 1.4em;
      border: none;
}

.details-table-modern .label {
      width: 110px;
      font-weight: 500;
      color: #bbbbcc;
      text-align: right;
      white-space: nowrap;
      padding-right: 1.6em;
}

.details-table-modern .value {
      color: #ffffff;
      font-weight: 400;
}

.details-table-modern .highlight .value {
      color: #d0c0ff;
      font-weight: 600;
}

.details-table-modern .price-row .value {
      font-size: 1.28rem;
      font-weight: 700;
      background: linear-gradient(90deg, #b794f4, #9f7aea);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
}

/* Mobile Anpassung */
@media (max-width: 480px) {
	
	#detail_wrapper .content{
		padding: 15px;
	}
	
	
	.details-table-modern {
	  border-spacing: 0 0.7rem;
	}
	.details-table-modern td {
	  /* display: block; */
	  padding: 0.9rem 1.2rem;
	}
	.details-table-modern .label {
	  width: auto;
	  text-align: left;
	  color: #cccccc;
	  font-size: 0.92rem;
	  padding-bottom: 0.3rem;
	}
	.details-table-modern .price-row .value {
	  font-size: 1.38rem;
	}
}
    
    
.details-table-modern tr:first-child,
.details-table-modern tr:last-child {
  background: rgba(30, 30, 45, 0.45);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

/* Erste und letzte Zeile ohne zusätzlichen vertikalen Abstand nach außen */
.details-table-modern tr:first-child {
  margin-top: 0;
}

.details-table-modern tr:last-child {
  margin-bottom: 0;
}

#underlayer_blur{
	position:absolute;
	height:200vh;
	width:100vw;
	backdrop-filter:blur(10px);
	background-color:rgba(0,0,0,0.5);
	opacity:0;
	transition:1s ease;
	z-index:-100;
}

#underlayer_blur.active{
	opacity:1;
	z-index:99;
}

.on_top{
	z-index:999999 !important;
}

.dot_art_sold{
	opacity: 0.9;
    width: 17px;
    right: 0px;
    height: 17px;
    position: absolute;
    z-index: 999;
    background-color: #e00000;
    border-radius: 50px;
    /* margin: 10px; */
    backdrop-filter: blur(10px);
    bottom: -34px;
}



/* in Cart box */
.label_sold{
    width: 100%; margin-bottom:25px; 
	color: rgb(255 105 105 / 80%);
	font-size:14pt;
}

.label_sold .dot_art_sold {
    width: 15px;
    height: 15px;
    display: inline-block;
    margin-right: 5px;
    position:relative;
    bottom: 0px;
    top: 2px;
}



/* Damit dein Content über dem Logo liegt */
.scroll_wrapper {
  top:0px; /* wegen title in der  box*/
  position: relative;
  z-index: 1;
}

#pins{
  opacity:1;
  min-height:150vh;
  /* transition:1s ease; */
}


#pins.no-gsap{
  opacity:1;
  transition:1s ease;
}

#pins.initialized {
  opacity:1;
}

#pins.no-transition {
  transition:none;
}

/*
.scroll_wrapper .pin_row {
  height: auto;
  display: flex;
  position: relative;
  overflow:visible;
}

.scroll_wrapper .row_inner {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2vw;
  padding: 3rem;
  transform:translate(0%, 0%);
  overflow:visible;
  margin: auto;
}
*/


.scroll_wrapper .art_scroll {
	display: flex;
	flex: 0 0 48%;
	/* max-width: 700px; */
	background: transparent;
	will-change: transform, widht, height, opacity, filter;
	transform-style: preserve-3d;
	position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-direction: column;
    max-height: 80vh;
    margin: auto;
    padding: 10px;
    opacity:0;
   /*  max-width: 100vw !important; */ 
}



.scroll_wrapper.no-gsap .art_scroll {
	transform: translate3d(0,0,0);
}


/*
.scroll_wrapper.gsap .art_scroll {
	transform: unset;
}
*/

/*
.gsap *{
	transition:none !important;
}
*/

.scroll_wrapper .grid-container{
	row-gap:10rem;
}


.grid-container.scroll_wrapper.scroll_gallery .art_scroll img,
/* .grid-container.scroll_wrapper.scroll_gallery .art_scroll .art_inner, */
.grid-container.scroll_wrapper.scroll_gallery .art_item
/*.grid-container.scroll_wrapper.scroll_gallery .art_item a */
{
	max-height:80vh;
	height:100%;
	width:auto;
	max-width:100%;
	width:100%;
}


.grid-container.scroll_wrapper.scroll_gallery .art_scroll{
	height:80vh;
}

.scroll_gallery{
	overflow:visible;
}

.grid-container.scroll_gallery{
	gap: 3rem;
    padding: 0px;
	row-gap: 15vh; 
}

/* Entfernt den oberen Abstand NUR bei den ersten 2 Elementen (erste Reihe) */
.grid-container.scroll_gallery:nth-child(-n + 2) {
  margin-top: -25vh !important; 
}

/* INFINITE SCOLL PADDING GRID FIX */
#pinwall_box .top-padding, 
#pinwall_box .bottom-padding {
  grid-column: 1 / -1;   /* Spannt über alle Spalten (egal ob 2, 3, 4...) */
  width: 100%;           /* Vollbreite */
  height: auto;          /* Höhe wird durch JS gesetzt */
  margin: 0;             /* Kein extra Margin */
  padding: 0;            /* Kein Padding */
  background: transparent; /* Unsichtbar */
}


#pinwall_box #sentinel-top, 
#pinwall_box #sentinel-bottom {
  grid-column: 1 / -1;   /* Spannt über alle Spalten (egal ob 2, 3, 4...) */
  width: 100%;           /* Vollbreite */
  height: 1px;          /* Höhe wird durch JS gesetzt */
}


.scroll_wrapper .art_scroll .art_inner {
	display: flex;
    width: 100%;
    align-content: center;
    align-items: center;
    justify-content: center;
    height:100%;
}

.scroll_wrapper .art_scroll img {
  width: 100%;
  height: auto;
}


.art_item .room-view{
	object-fit:cover !important;
}

.scroll_wrapper .art_scroll .art_item{
	/* position:absolute; */
	position:relative;
	transition: 1s ease; 
}





.art_scroll.wheel__card .art_item{
	transition:none !important;
}

.scroll_wrapper .art_scroll h3{
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13pt;
    font-weight: normal;
}


.art_item .caption {
  position: absolute;
  font-family: var(--font-display);
  bottom: 0;
  /* left: 0;
  right: 0; */
  padding: 0px;
  background:transparent;
  color: white;
  text-align: center;
  opacity: 0;
  transform: scale(1.1);
  bottom:40px;
  transition: all calc(1s * var(--golden)) ease;
  pointer-events:none;
  /* filter: blur(5px), drop-shadow(2px -1px 3px rgba(0,0,0,0.2)); */ 
  filter: blur(5px) drop-shadow(0px 0px 22px rgba(0,0,0,0.2)); 
}


.art_item .caption {
  /* Flex statt block — gibt dir volle Kontrolle */
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1.5rem;
  
  /* Glassmorphism statt reines Schwarz 
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.7) 60%,
    transparent 100%
  ); */
  
  /* Smooth Fade-in von unten */
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s cubic-bezier(.23,1,.32,1),
              transform 0.4s cubic-bezier(.23,1,.32,1);
  justify-content: center;
  align-items: center;
    
}



.art_item:hover .caption.hard-light{
  mix-blend-mode: hard-light;
}

.art_item:hover .caption {
  opacity: 1;
  
  transform: scale(1) ;
  /* filter: drop-shadow(7px -3px 12px black); */
  filter: blur(0px) drop-shadow(0px 0px 8px rgba(0,0,0,0.4));
}



.art_item:hover .caption.center{
	opacity:1;
	transform: translateY(-50%) scale(1);
	top:50%;
}

/*
.pinwall_box.shop .caption {
  opacity: 1 !important;
  filter: blur(0px) drop-shadow(0px 0px 8px rgba(0,0,0,0.4)) !important;
  transform: scale(1);
}
*/

.art_item .caption {
    opacity: 0;
    filter: blur(4px);
    /* transform: scale(0.8) translateY(100px); */
    transform: scale(1.2);
    transition: calc(1s * var(--golden)) ease;
                /* ↑ duration  ↑ easing ↑ delay */
}

.show_caption .caption {
  opacity: 1 !important;
  transition: calc(1s * var(--golden)) ease;
  filter: blur(0px) drop-shadow(0px 0px 8px rgba(0,0,0,0.4)) !important;
  transform: scale(1) translateY(0px);
}

.pinwall_box.shop .overflow-wrapper {
  border-radius: 15px;
}

.pinwall_box.shop .grid-container.scroll_gallery {
  row-gap: 10vh;
}

.pinwall_box.shop .art_item img {
	transition:0.5s ease;
	transform:scale(1);
}

.pinwall_box.shop .art_item:hover img {
	transform:scale(1.025);
}





.art_item .background-gradient{
	position:absolute;
	bottom:0px;
	transform: scale(1.3);
	opacity:0;
	z-index:2;
	width:100%;
	height:100%;
	transition: all 0.8s ease;
	background: linear-gradient(0deg, rgba(0,0,0,0.6), transparent);
	mask: linear-gradient(transparent, black);
}

.art_item:hover .background-gradient {
  	opacity: 1;
}


.art_item {
  position: relative;
  /* overflow: hidden;  visible wichtig für flip item, klasse erstellen für visible! */
  --mouse-x: 50%;
  --mouse-y: 50%;
  --shift: 0%;
  --shine-opacity: 0.16;
}

.art_item img {
  display: block;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* LINEAR SHINE (Gradient Sweep) */
.art_item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 9;
  pointer-events: none;

  background: linear-gradient(
    120deg,
    transparent calc(-16% + var(--shift, 0px)),
    rgba(255,255,255,0.08) calc(25%  + var(--shift, 0px)),
    rgba(255,255,255,0.2)  calc(32%  + var(--shift, 0px)),
    rgba(255,255,255,0.08) calc(49%  + var(--shift, 0px)),
    transparent            calc(70%  + var(--shift, 0px))
  );
  opacity: var(--shine-opacity, 0.16);
  transition:1s ease;
}

/* RADIAL SPOTLIGHT (Mouse) */
.art_item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 9;
  pointer-events: none;

  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255,255,255,0.2),
    transparent 60%
  );

  opacity: 0;
  transition: opacity 1s ease;
}

.art_item:hover::before,
.art_item:hover::after {
  opacity: var(--shine-opacity, 0);
}


.scroll_wrapper .art_scroll .overflow-wrapper{
	/* overflow:hidden; */
}



.grid-2-2-2-1-1 .grid-container {
    grid-template-columns: repeat(2, 1fr) !important;
}

@media (max-width: 900px) and (orientation: portrait) {
    .grid-container.scroll_wrapper.scroll_gallery .art_scroll {
        height: 60vh;
        max-width: 100vw;
    }
    
    .grid-container.scroll_gallery {
	    gap: 0rem;
	    padding: 0px !important;
	    row-gap: var(--row-gap);
	    max-width: 100vw;
	}
	
	.art_scroll * {
	    max-width: 100vw !important;
	}
	
	
	.scroll_gallery .art_scroll .art_item.portrait img, 
	.scroll_gallery .art_scroll .art_item.portrait .art_inner, 
	.scroll_gallery .art_scroll .art_item.portrait, 
	.scroll_gallery .art_scroll .art_item.portrait > .overflow-wrapper a.item_link {
	    height: 60vh;
	    max-height: 60vh;
	}
	
	.scroll_gallery .art_scroll .art_item.portrait img{
	    padding:5px;
	}
	
	
	.scroll_gallery .art_scroll .art_item.portrait img{
		width:100%;
		max-width:100vw;
	}
	
	
	.grid-2-2-2-1-1 .grid-container {
	    grid-template-columns: repeat(1, 1fr) !important;
	}	
	
	.scroll_gallery .art_scroll .art_item.portrait img, 
	.scroll_gallery .art_scroll .art_item.portrait .art_inner, 
	.scroll_gallery .art_scroll .art_item.portrait, 
	.scroll_gallery .art_scroll .art_item.portrait > .overflow-wrapper a.item_link {
	    max-width: 100vw;
	}

}


@media (min-width: 900px) {
    .grid-container.scroll_gallery {
	    gap: calc(1rem * var(--euler));
	    padding: calc(1rem * var(--euler));
	    row-gap:var(--row-gap-large);
	}
	
	.grid-container.scroll_gallery.room_view {
	    gap: calc(1rem * var(--golden));
	    padding: calc(1rem * var(--golden));
	}
	
	.pinwall_box.shop .grid-container.scroll_gallery{
		row-gap: var(--row-gap-large);
	}
	
}






/*
.grid-container.scroll_wrapper.scroll_gallery .art_scroll .art_inner{
	width:100%;
	height:100%;
}
*/

/*
.art_scroll .art_inner{
	width:100%;
	height:100%;
}
*/


/* ────────────────────────────────────────────────
   Generische Begrenzung (hohe Spezifität, kommt zuerst)
───────────────────────────────────────────────── */
.grid-container.scroll_wrapper.scroll_gallery .art_scroll img,
/* .grid-container.scroll_wrapper.scroll_gallery .art_scroll .art_inner, */
.grid-container.scroll_wrapper.scroll_gallery .art_item {
  max-height: 80vh;
  height: 100%;
  width: auto;
  max-width: 100%;
}

/*
.art_scroll img,
.art_scroll .art_inner,
.art_item {
  max-height: 80vh;
  height: 100%;
  width: auto;
  max-width: 100%;
}
*/

/* ────────────────────────────────────────────────
   Orientierungs-Regeln – spezifischer + später = Vorrang
   (kommen NACH den generischen Regeln!)
───────────────────────────────────────────────── */

/* Landscape ────────────────────────────────────── */
.scroll_gallery .art_scroll .art_item.landscape img,
/* .scroll_gallery .art_scroll .art_item.landscape .art_inner, */
.scroll_gallery .art_scroll .art_item.landscape,
.scroll_gallery .art_scroll .art_item.landscape a.item_link {
  width: 100%;
  height: auto;
  max-height: none;               /* killt die 80vh von oben */
  max-width: 100%;
  object-fit: contain;            /* meist das, was man bei landscape will */
}

.art_scroll .art_item.landscape img,
.art_scroll .art_item.landscape .art_inner,
.art_scroll .art_item.landscape,
.art_scroll .art_item.landscape a.item_link {
  width: 100%;
  height: auto;
  max-height: none;               /* killt die 80vh von oben */
  max-width: 100%;
  object-fit: contain;            /* meist das, was man bei landscape will */
}





/* Portrait ─────────────────────────────────────── */
.scroll_gallery .art_scroll .art_item.portrait img,
.scroll_gallery .art_scroll .art_item.portrait .art_inner,
.scroll_gallery .art_scroll .art_item.portrait,
.scroll_gallery .art_scroll .art_item.portrait > .overflow-wrapper a.item_link  {
  width: auto;
  height: 80vh;
  max-height: 80vh;
  max-width: 100%;
  object-fit: contain;
}

.art_scroll .art_item.portrait img,
.art_scroll .art_item.portrait .art_inner,
.art_scroll .art_item.portrait,
.art_scroll .art_item.portrait > .overflow-wrapper a.item_link {
  width: auto;
  height: 80vh;
  max-height: 80vh;
  max-width: 100%;
  object-fit: contain;
}

/* Portrait Room ────────────────────────────────── */
.scroll_gallery .art_scroll .art_item.portrait_room img,
.scroll_gallery .art_scroll .art_item.portrait_room .art_inner,
.scroll_gallery .art_scroll .art_item.portrait_room,
.scroll_gallery .art_scroll .art_item.portrait_room > .overflow-wrapper a.item_link  {
  width: auto;
  height: 80vh;
  max-height: 80vh;
  max-width: 100%;
  object-fit: cover;
  border-radius: 10px;
  width:100%;
}


.scroll_gallery .art_scroll .art_item.portrait_room{
    width: auto;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    border-radius: 10px;
    width: 100%;
}


.art_scroll .art_item.portrait_room img,
/* .art_scroll .art_item.portrait_room .art_inner, */
.art_scroll .art_item.portrait_room,
.art_scroll .art_item.portrait_room > .overflow-wrapper a.item_link  {
  width: auto;
  height: 80vh;
  max-height: 80vh;
  max-width: 100%;
  object-fit: cover;
  border-radius: 10px;
  width:100%;
}

.scroll_gallery .art_scroll .art_item.is_animating *{
	overflow:visible !important;
	z-index:999;
}

.scroll_gallery .art_scroll .art_item .layer_item{
	transition:0.5s ease;
}


.art_scroll .art_inner{
  transition:0.75s ease;
}

/* */
.art_inner.gsap{
	transition:unset !important;
}



.grid-container.scroll_wrapper.scroll_gallery .art_scroll .art_inner.landscape{
  height: auto !important;
  width: 100% !important;
}

.grid-container.scroll_wrapper.scroll_gallery .art_scroll .art_inner.portrait{
  height: 100% !important;
  width: auto !important;
}


.art_scroll.loading .art_inner{
  backdrop-filter:blur(20px) !important;
}

.scroll_gallery .art_scroll.loading{
	backdrop-filter:unset !important;
	filter:unset !important;
	will-change:unset !important;
	opacity: unset !important;
}


#detail_wrapper .detail-gallery .image.skeleton,
.art_item a.skeleton,
.art_item.skeleton {
    animation: skeleton-loading 1s linear infinite alternate;
    color: transparent;
    width: auto;
    height: auto;
}

#detail_wrapper .detail-gallery .image.skeleton_full{
    animation: skeleton-loading 1s linear infinite alternate;
    color: transparent;
    width: 100%;
    height: 100%;
}


.art_item img.loading {
    opacity:0;
    transition:1s ease;
}

.art_item img{
    opacity:1;
    transition:1s ease;
}

@keyframes skeleton-loading {
    0% {
        background-color: rgba(255,255,255,0.1); /* FROM Color 1 */
    }
    100% {
        background-color: rgba(255,255,255,0.05); /* TO Color 2 */
    }
}

#product_amount_count{
	z-index:99;
	color: white;
    font-size: 1.15rem;
    position: fixed;
    left: 50%;
    bottom: 0%;
    transform: translateX(-50%);
    display: flex;
    text-transform: uppercase;
    opacity: 0;
    transition: calc(1s * var(--phi)) ease;
    align-items: center;
    flex-direction: column;
    pointer-events:none;
}


#product_amount_count.lifted{
    bottom: 6%;
}

#product_amount_count .inner{
	display: flex;
	background-color: rgb(0 0 0 / 10%);
    opacity: 1;
    border-radius: 10px;
    padding: 5px;
    backdrop-filter: blur(3px);
    align-items: center;
    flex-direction: column;
}

.loader,
#product_amount_count .loader{
	z-index: 1;
	border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top: 4px solid #00b8b6;
    width: 40px;
    height: 40px;
    
    -webkit-animation: spin 0.8s linear infinite;
    animation: spin 0.8s linear infinite;
    position: relative;
    margin-bottom: 10px;
    transition:0.3s ease;
    opacity:0;
    display:block;
}

#product_amount_count .loader.hidden{
    display:none;
}

#product_amount_count .loader.visible{
    opacity:1;
}

body.filter_open #product_amount_count{
	left: calc(50% + (var(--filter_width) / 2));
}


.odometer.odometer-auto-theme {
  font-family: "Antonio", 
             "Bahnschrift",             
             "DIN Alternate",           
             "Arial Narrow", 
             "Helvetica Condensed",    
             Arial, 
             sans-serif;
  font-weight: 600;
  font-size: 2.5rem;
  color: white;
  background: transparent;
  text-shadow: none;
  padding-bottom: 4px;
}

.odometer.odometer-auto-theme .odometer-digit {
  background: transparent;
}

.odometer.odometer-auto-theme .odometer-value {
  line-height: 1.2;
}


.odometer-scroll-hint {
    opacity: 0;
    transition: opacity 0.618s ease;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.odometer-scroll-hint.visible {
    opacity: 1;
}

.odometer-scroll-hint span {
    top: -16px;
    display: block;
    width: 24px;
    height: 24px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(-45deg);
    position: relative;
    animation: sdb05 1.618s infinite;
}


/* velocity glow .. lool. */
@keyframes odometerGlow {
    0%   { text-shadow: 0 0 0px rgba(255,255,255,0); }
    100% { text-shadow: 0 0 20px rgba(255,255,255,0.9), 0 0 40px rgba(255,255,255,0.4); }
}

.odometer-container {
    transition: filter 0.382s ease;
}

.odometer-container.velocity-low    { filter: brightness(1); }
.odometer-container.velocity-medium { filter: brightness(1.3) drop-shadow(0 0 8px rgba(255,255,255,0.4)); }
.odometer-container.velocity-high   { filter: brightness(1.8) drop-shadow(0 0 20px rgba(255,255,255,0.8)); }


a.load_crop_gallery{
	height: auto !important;
}


.art_scroll{
	/* filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.2)); 
	transition:0.1s ease; */
}




.image_zoom_wrapper {
	position:absolute;
    width: 100%;
    height: 100%;
    transform:scale(1);
    overflow: hidden; /* ← wichtig! */
    transition: transform 0.382s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.art_item:hover .image_zoom_wrapper {
    transform: scale(1.05);
}

.art_item:hover .caption {
    transform: scale(1.0618);
}
	

/*
.art_scroll.gsap{
	transition:none !important;
}
*/

.art_scroll *{
	/* max-width: 100vw !important; */
}

/* Mobile = 1 pro Reihe */
@media (max-width: 900px) {
  .scroll_wrapper .art_scroll {
    flex: none;
    /* width: 90vw;
    max-width: 500px; */
  }
  
  .grid-container.scroll_gallery {
	    gap: 1rem;
	    padding: 1rem;
	    row-gap:25vh;
	}
	
}

/* MOBILE PORTRAIT */
@media (max-width: 900px) and (orientation: portrait) {
    #detail_wrapper .detail .detail-inner {
	    display: flex;
	    flex-direction: column;
	    height: 90vh !important;
	}
	
	#detail_wrapper .detail-gallery {
	    width: 100%;
	    display: flex;
	    overflow: auto;
	    gap: 20px;
	    flex-direction: row;
	    height: 50vh;
	    overflow-y: hidden;
	    overflow-x: auto;
	    min-height: 40vh;
	}
	
	
	#detail_wrapper .detail {
	    width: 100%;
	    max-height: calc(95vh);
	}
	
	#detail_wrapper .detail .detail-inner {
	    height: 100vh !important;
	}
	
	#detail_wrapper .sub_images {
	    flex-direction: row;
	}
	

	#detail_wrapper .detail-gallery .main_image.landscape, 
	#detail_wrapper .detail-gallery .main_image.landscape img {
	    width: 100%;
	    width: 85vw;
	    height: auto;
	}
	
	
	
	
	
	
	
	.content {
	    margin: 0 5px !important;
	}
	
	#detail_wrapper {
	    overflow:hidden;
	    width: 100vw;
	}
	
	#detail_wrapper .detail-gallery .image {
        width: auto;
    }
    
    #detail_wrapper .detail-gallery .image img {
	    width:unset;
	}
	
	#detail_wrapper .detail-gallery .main_image.portrait {
	    min-height: 100%; 
	    justify-content: center;      
	}
	
	

}

@media (max-width: 900px) and (orientation: portrait) {
	.grid-container.scroll_gallery {
        row-gap: 7.5vh;
    }
}


.collage-slider{
	z-index:9;	
}

.art_scroll{
	z-index:1;
}

.art_scroll:hover {
	z-index:9;
}

/*
.art_scroll .art_inner{
	transition:0.5s ease;
	filter:var(--filter_art_shadow);
}

.art_scroll:hover .art_inner{
	filter:var(--filter_art_shadow_active);
}
*/


.art_item .caption .caption_crop_amount{
	font-size: var(--caption_crop_amount) !important;
}


#gallery-progress {
    position: fixed;
    bottom: 0px;
    left: 0px;
    right:10px;
    height: 5px;
    width: 0%;
    opacity:0.682;
    background: var(--color-brand);
    z-index: 9999;
    transition: width 0.618s ease; /* ← NUR width, kein background! */
    pointer-events: none;
    backdrop-filter:blur(10px);
	border-radius: 10px;
}

body.filter_open #gallery-progress{
	left:var(--filter_width);
}

#gallery-progress::before {
    content: attr(data-progress)'%';
    position: absolute;
    right: 0;
    bottom: 12px;
    transform: translateX(50%);
    font-size: 10px;
    font-family: var(--font-display);
    color: white;
    white-space: nowrap;
    opacity: 0.8;
}


#gallery-progress[data-progress="100"]::before {
    /* content: '✦';  oder ein eigenes SVG Symbol */
    color:black;
    padding:5px;
    border-radius:20px;
    margin-right: 13px;
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728);
}


#gallery-progress[data-progress="100"],
#gallery-progress[data-progress="100"]::after{
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728);
}


#toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(0, 0, 0, 0.85);
    color: #F7EF8A;
    font-family: var(--font-display);
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 100px;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.382s ease, transform 0.382s ease;
    pointer-events: none;
    border: 1px solid #AE8625;
}

#toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


@keyframes progressLabelPop {
    0%   { transform: translateX(50%) scale(1); }
    50%  { transform: translateX(50%) scale(1.382); }
    100% { transform: translateX(50%) scale(1); }
}

#gallery-progress.progress-tick::before {
    animation: progressLabelPop 0.382s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

#gallery-progress::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-brand);
    box-shadow: 0 0 8px var(--color-brand), 0 0 16px var(--color-brand);
    /* ← kein transition hier! */
}


#gallery-progress.milestone {
    animation: goldShimmer 1.618s ease forwards;
}

@keyframes goldShimmer {
    0%   { opacity:0.682; }
    50%   { opacity:1; }
    100% { opacity:0.682; }
    
}

#gallery-progress.milestone::after {
    background: #F7EF8A;
    box-shadow: 0 0 8px #EDC967, 0 0 24px #AE8625;
    animation: dotPulse 1.618s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}


@keyframes dotPulse {
    0%   { transform: translateY(-50%) scale(1);     filter: blur(0px); }
    50%  { transform: translateY(-50%) scale(1.618); filter: blur(1px); }
    80% { background: #F7EF8A; }
    100% { transform: translateY(-50%) scale(1); filter: blur(0px); background: #F7EF8A; }
}

