/* Nur die Galerien im Bereich 'Weiteres von:' */
html,
body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.weitere-galerien > article .gallery-slider img {
    cursor: pointer !important;
}
.weitere-galerien > article .gallery-slider .zoom-lens {
    display: none !important;
}
/* Untere Galerien horizontal zentrieren und nicht strecken */
.weitere-galerien {
    --gallery-separator-width: 3px;
    --gallery-frame-width: 3px;
    --gallery-corner-radius: 15px;
    --lower-gallery-width: 350px;
    --lower-gallery-height: 490px;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 0 !important;
    flex-wrap: nowrap !important;
    width: 100%;
    max-width: calc(3 * var(--lower-gallery-width));
    margin: 0 auto !important;
    position: relative;
    overflow: hidden !important;
    border: var(--gallery-frame-width) solid transparent;
    border-radius: var(--gallery-corner-radius);
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(180deg, #F9D973, #E7B12C) border-box;
}
.weitere-galerien > .produkt-karte {
    flex: 0 0 var(--lower-gallery-width) !important;
    width: var(--lower-gallery-width) !important;
    max-width: var(--lower-gallery-width) !important;
    height: var(--lower-gallery-height) !important;
    max-height: var(--lower-gallery-height) !important;
    min-width: 0 !important;
    position: relative;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

.weitere-galerien > .produkt-karte:not(:last-child) {
    border-right: var(--gallery-separator-width) solid transparent;
    border-image: linear-gradient(180deg, #F9D973, #E7B12C) 1;
}

.weitere-galerien > .produkt-karte .bildergalerie {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    overflow: visible;
    background: transparent;
}

.weitere-galerien > .produkt-karte .gallery-slider {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    aspect-ratio: 5 / 7 !important;
    height: var(--lower-gallery-height) !important;
    max-height: var(--lower-gallery-height) !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
    overflow: hidden !important;
}

.weitere-galerien > .produkt-karte .gallery-slider .swiper-slide {
    aspect-ratio: 5 / 7 !important;
    height: var(--lower-gallery-height) !important;
    max-height: var(--lower-gallery-height) !important;
    background: #fff !important;
}

.weitere-galerien > .produkt-karte .gallery-slider img {
    aspect-ratio: 5 / 7 !important;
    background: none !important;
}

.weitere-galerien > .produkt-karte:first-child .gallery-slider {
    border-radius: 0 !important;
}

.weitere-galerien > .produkt-karte:last-child .gallery-slider {
    border-radius: 0 !important;
}

.weitere-galerien > .produkt-karte:not(:last-child)::after {
    display: none;
}


/* Verhindert, dass Root/Flex-Messung horizontales Überlaufen erzeugt */
html{
    display: block;
    overflow-x: hidden;
    overscroll-behavior: none;
}
:root {
    --hero-available-height: auto;
    --header-current-height: 30vh;
    --hero-layout-header-height: var(--header-current-height);
    --hero-edge-gap: 6px;
    --hero-side-gap: 0px;
    --hero-scale: 1;
    --hero-product-box-width: 66.6666666667vw;
    --lower-showcase-height: auto;
    --lower-showcase-scale: 1;
    --lower-showcase-inverse-scale: 1;
    --lower-gallery-width: 350px;
    --lower-gallery-height: 490px;
}
/* Inklusive Padding/Borders in Breite einrechnen -> kein Überlaufen durch Padding */
*, *::before, *::after { box-sizing: border-box; }
header{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
    width: 100%;
    height: 30vh;
    position: fixed;
    top: 0;
    overflow: hidden;
    transition: height 0.18s ease-in-out, padding 0.18s ease-in-out;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(180deg, #F9D973, #E7B12C) 1;
    z-index: 5;
}
header:hover{
    height: 35vh;
}
header.scrolled{
    height: 20vh;
    padding: 0 1rem;
}
header.scrolled:hover{
    height: 25vh;
}
#video{
	width: 100%;
	height: 100%;
	position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
	object-fit: cover;
}
body{
    text-align: center;
    font-weight: bolder;
    font-family: "legitima", serif;
    margin: 0;
    width: 100%;
    min-height: 100vh;
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 1;
    overflow-x: hidden;
    overscroll-behavior: none;
}

button,
input,
textarea,
select{
    font-family: "legitima", serif;
}
main{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: 30vh; /* gleiche Hoehe wie der Header im Top-Zustand */
    transition: margin-top 0.18s ease-in-out;
}
h1{
    font-size: 5vh;
    margin: 2%;
}
h2{
    font-size: 4vh;
    margin: 2%;
    font-family: "legitima", serif;
    font-weight: 500;
    font-style: normal;
}
#intro{
    font-size: 3vh;
    margin: 2%;
    text-align: justify;
}
/* Main anpassen wenn gescrollt */
main.scrolled-main {
    margin-top: 20vh;
}

/* Inhalt folgt nur der Header-Hoehe, ohne die Produktbox neu zu berechnen */
header:hover ~ main {
    margin-top: 35vh;
}

header.scrolled:hover ~ main.scrolled-main {
    margin-top: 25vh;
}

.row{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0;
    padding: 0;
    flex: 1 1 0%;  /* drei gleich breite Spalten ohne vw-Überlauf */
    min-width: 0;  /* verhindert Flex-Mindestbreiten-Überlauf */
    height: 100%;
}
#menu{
    font-size: 3vh;
}
#hamburger{
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: visible;
}
.topmenu { 
    height: auto; 
    max-height: 0;
    overflow: hidden; 
    pointer-events: none;
    transition: all 0.1s;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 23%;
    z-index: 30;
}
#hamburg:checked + .hamburg  + .topmenu { 
    height: 100%;
    max-height: 30vh;
    overflow: visible;
    pointer-events: auto;
}
label.hamburg { 
    width: 100%;
    height: 100%; 
    flex-wrap: wrap;
    margin-left: auto; margin-right: auto;
    border-radius: 4px; 
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    overflow: visible;
    background: transparent;
    z-index: 21;
}
.hamburg:hover{
    width: 100%; 
    height: 100%; 
}
 .line:nth-child(1):hover {
    background-color: gold;
    transform: rotate(0deg);
    box-shadow: 0 0 10px rgba(0, 0, 0, 1.0);
}
.line:nth-child(3):hover {
    background-color: gold;
    transform: rotate(0deg);
    box-shadow: 0 0 10px rgba(0, 0, 0, 1.0);
}

input#hamburg {display:none}

.line {
    height: 7px;
    width: 78px;
    background: black;
    border-radius: 8px;
    display: block;
    margin: 7px 0;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
    z-index: 22;
    cursor: pointer;
}
.line:hover {
    background: gold;
    box-shadow: 0 0 10px gold;
}

 .line:nth-child(1) { top: 5%; }
 .line:nth-child(2) { top: 5%; }
 .line:nth-child(3) { top: 5%; }
 

#hamburg:checked + .hamburg .line:nth-child(1) {
    transform: rotate(-45deg) translate(0%, 0%);
}

#hamburg:checked + .hamburg .line:nth-child(2) {
    opacity: 0;
}

#hamburg:checked + .hamburg .line:nth-child(3) {
    transform: rotate(45deg) translate(0%, 0%);
}
#EDZADa, #EDZAD {
    display: flex;
    justify-content: center;
    align-items: center;
}
#EDZADa{
    width: 100%;
    height: 90%;
    z-index: 2;
}
#EDZAD{
    object-fit: contain;
    width: 100%;       /* skaliert innerhalb der Spalte, nicht viewport-basiert */
    max-width: 100%;
    height: 100%;
    transition: transform 0.3s ease-in-out;
}
#EDZAD:hover{
    transform: scale(1.08);
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}
#hover-Knopf{
    width: calc(100vw / 11);
    height: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0;
    padding: 0;
    transition: transform 0.3s ease-in-out;
}
#Anmeldeknopf{
    object-fit: contain;
    width: 31%;
    height: auto;
    cursor: pointer;
    animation: pulse-rotate 5s infinite;
    animation-fill-mode: forwards;
    transition: transform 0.3s ease-in-out;
}
@keyframes pulse-rotate {
  0% { transform: rotate(90deg) scale(1); }
  50% { transform: rotate(90deg) scale(1.15); }
  100% { transform: rotate(90deg) scale(1); }
}
#Abmeldeknopf{
    display: none;
    object-fit: contain;
    max-width: 100%;
    max-height: 31%;
}
#hover-Knopf:hover{
    transform: scale(1.5);
}

/* Bildergalerie Swiper Styles */
.bildergalerie {
    margin: 0;
    padding: 0;
}

.bildergalerie h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 2.5rem;
}

.gallery-slider {
    max-width: 350px;
    width: 100%;
    margin: 0 auto 2rem auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    /* Neu hinzugefügt */
    aspect-ratio: 5 / 7;
}

#bildergalerie1 .gallery-slider {
    border-radius: 15px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    border: 3px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(180deg, #F9D973, #E7B12C) border-box;
}

#bildergalerie1 .gallery-slider .swiper-slide,
#bildergalerie1 .gallery-slider img {
    background: #fff;
}

.gallery-slider {
  position: relative;
}
.gallery-slider .zoom-lens {
  position: absolute;
  pointer-events: none;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid gold;
  background: rgba(255,255,255,0.3);
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  display: none;
  z-index: 10;
}
.gallery-slider.zoom-active .zoom-lens {
  display: block;
}
.gallery-slider img.zoomed {
  transform: scale(2);
  cursor: zoom-out;
  transition: transform 0.3s;
}
.gallery-slider img {
    cursor: grab;
}

.gallery-slider .swiper-wrapper,
.gallery-slider .swiper-slide {
    height: 100%;
}

.gallery-slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: linear-gradient(45deg, #f0f0f0, #fff);
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Swiper Navigation */
.gallery-slider .swiper-button-next,
.gallery-slider .swiper-button-prev {
    color: gold;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: -25px;
}

.gallery-slider .swiper-button-next:hover,
.gallery-slider .swiper-button-prev:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

.gallery-slider .swiper-button-next::after,
.gallery-slider .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* Swiper Pagination */
.gallery-slider .swiper-pagination-bullet {
    background: linear-gradient(180deg, #F9D973, #E7B12C) !important;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.gallery-slider .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

/* Thumbnail Navigation */
.gallery-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.gallery-thumbnails img {
    width: 80px;
    height: 112px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.gallery-thumbnails img:hover {
    border-color: gold;
    opacity: 1;
    transform: scale(1.05);
}

#bildergalerie1 .gallery-thumbnails img {
    border: 2px solid transparent;
    background: none;
    box-shadow: none;
}

#bildergalerie1 .gallery-thumbnails img:hover,
#bildergalerie1 .gallery-thumbnails img:focus {
    border-color: transparent;
    background: none;
    box-shadow: none;
}

#bildergalerie1 .gallery-thumbnails img.is-active,
#bildergalerie1 .gallery-thumbnails img.is-active:hover,
#bildergalerie1 .gallery-thumbnails img.is-active:focus {
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(180deg, #F9D973, #E7B12C) border-box;
    box-shadow: 0 0 12px rgba(231, 177, 44, 0.35);
    opacity: 1;
    transform: scale(1.05);
}

/* Produkt-Galerie und Info nebeneinander */
.produkte-grid {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2em;
}

.produkt-karte {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.bildergalerie {
    height: 100%;
    min-width: 400px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: stretch;
}

.produkt-info {
    --produkt-title-width: 100%;
    --produkt-info-scale: 1;
    --produkt-info-target-width: 100%;
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-left: 0; /* nutzt den gap der Eltern-Flexbox statt vw-Margin, verhindert Überlauf */
    margin-top: 0;
    text-align: left;
    height: 100%;
    position: relative;
}

.produkt-info-scale-target {
    width: var(--produkt-info-target-width);
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: inherit;
    transform: scale(var(--produkt-info-scale));
    transform-origin: top left;
}

.produkt-info h4 {
    font-size: 300%;
    font-weight: bolder;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    margin: 0% 1% 1% 0;
    font-family: "legitima", serif;
    font-weight: 500;
    font-style: normal;
    display: inline-block;
    width: fit-content;
    padding: 0.12em 0;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(180deg, #F9D973, #E7B12C) 1;
}

.produkt-title-lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: max-content;
    max-width: 100%;
    margin: 0;
}

.produkt-title-lockup > .logo-img {
    --title-logo-space-trim: clamp(10px, 1.2vw, 24px);
    margin: calc(-1 * var(--title-logo-space-trim)) auto calc(6px - var(--title-logo-space-trim));
}

.logo-img.marco-logo-box {
    display: block;
    width: 32vw;
    height: auto;
    max-width: 100%;
    max-height: none;
    aspect-ratio: unset;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: clamp(4px, 0.5vw, 10px);
    transition: width 0.25s ease;
}

.produkt-title-lockup > h4 {
    max-width: 100%;
    text-align: center;
}

.produkt-title {
    margin-top: 0;
}

@media (max-width: 900px) {
    .produkte-grid, .produkt-karte {
        flex-direction: column;
        align-items: center;
    }
    .bildergalerie {
        margin: 0 auto 2rem auto;
        min-width: 0;
        max-width: 100%;
        align-items: center;
    }
    .produkt-info {
        margin-left: 0;
        text-align: center;
        align-items: center;
    }
    /* ECRU-Text im Blocksatz auf kleinen Screens */
    #ecru, #ecru li {
        text-align: justify;
        text-align-last: left;
        hyphens: auto;
    }
    /* Zusätzliche seitliche Abstände nur links/rechts um den ECRU-Text */
    .produkt-info { width: 100%; }
    #ecru {
        /* Sichtbarer Abstand seitlich, ohne Gesamtbreite zu sprengen */
        width: calc(100% - 10vw);
        margin-left: 5vw !important;
        margin-right: 5vw !important;
        align-self: stretch;
    }
}
#ecru {
    list-style: none;
    padding: 0;
    margin: 0;
}
#ecru li {
    position: relative;
    margin-bottom: 1.2em;
    padding-left: 2em;
    line-height: 1.4;
    text-indent: 0;
    display: block;
}

#ecru li::before,
#ecru li::after {
    content: "";
    position: absolute;
    pointer-events: none;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

#ecru li::before {
    left: 0;
    top: 0.13em;
    width: 1.05em;
    height: 1.05em;
    background: linear-gradient(180deg, #F9D973, #E7B12C);
    filter: drop-shadow(0 0 3px rgba(249, 217, 115, 0.45));
}

#ecru li::after {
    left: 0.12em;
    top: 0.28em;
    width: 0.66em;
    height: 0.74em;
    background: #fff;
}

.kauf-knopf {
    background: linear-gradient(90deg, #C0C0C0 0%, #E0E0E0 100%);
    color: #222;
    border: 1px solid #aaa;
    border-radius: 6px;
    padding: 0.5em 3em;
    min-width: 200px;
    font-size: 1em;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    margin-top: 0;
    transform: scale(1);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.kauf-knopf:hover {
    background: linear-gradient(90deg, gold 0%, #FFD700 100%);
    color: #800020;
    transform: scale(1.1);
}

.kauf-knopf-icon {
    display: block;
    width: auto;
    height: 48px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: pointer;
    animation: pulse-rotate 5s infinite;
    animation-fill-mode: forwards;
}

/* Galerie Styles */
.produkte-grid {
  display: flex;
  align-items: flex-start;
  gap: 2em;
}
.bildergalerie {
  margin-top: 0;
}
.gallery-slider {
  width: 100%;
  max-width: 350px;
  aspect-ratio: 5 / 7;
  margin: 0;
  height: 525px; /* Höhe wie die Überschrift, anpassbar je nach Schriftgröße */
}

.gallery-slider {
  height: 490px;
}

/* Nur die unteren drei Galerien: Cursor pointer, keine Lupe */
.produkte-grid > article:nth-child(2) .gallery-slider,
.produkte-grid > article:nth-child(3) .gallery-slider,
.produkte-grid > article:nth-child(4) .gallery-slider {
    cursor: pointer !important;
}
.produkte-grid > article:nth-child(2) .gallery-slider .zoom-lens,
.produkte-grid > article:nth-child(3) .gallery-slider .zoom-lens,
.produkte-grid > article:nth-child(4) .gallery-slider .zoom-lens {
    display: none !important;
}
.produkte-grid > article:nth-child(2) .gallery-slider img,
.produkte-grid > article:nth-child(3) .gallery-slider img,
.produkte-grid > article:nth-child(4) .gallery-slider img {
     cursor: pointer !important;
}
.produkte-grid > article:nth-child(2) .gallery-slider .zoom-lens,
.produkte-grid > article:nth-child(3) .gallery-slider .zoom-lens,
.produkte-grid > article:nth-child(4) .gallery-slider .zoom-lens {
    display: none !important;
}
.gallery-slider .swiper-wrapper,
.gallery-slider .swiper-slide {
  height: 100%;
}
.gallery-slider img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Logo Styles */
.logo-img {
  width: 32%;
  max-width: none;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0%;
  transform: none;
  transition: width 0.25s ease;
}
  /* Ab gleichem Breakpoint wie Stack-Layout (<=900px): Marco-Antonio-Logo größer */
  @media (max-width: 900px) {
  .logo-img {
      width: 32%;
    }
  }
#bildPopupModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;  /* 100vw kann horizontales Scrollen durch Scrollbar-Breite auslösen */
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: auto;
}
#bildPopupModal .popup-img-wrapper {
  width: 90vw;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: auto;
  scrollbar-width: none; /* Firefox */
}
#bildPopupModal .popup-img-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
#popupImg {
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  display: block;
  cursor: zoom-in;
}
#popupImg.zoomed {
    width: 180vw;
    height: 180vh;
    cursor: grab;
}
.buttons {
    background-color: #800020; /* klassisches Bordeaux-Rot */
    color: #fff;               /* Weiß für Text/Symbole */
    border: none;
    border-radius: 6px;
    padding: 0.5em 1em;
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.buttons:hover {
    background-color: #a8324a; /* etwas helleres Bordeaux beim Hover */
    transform: scale(1.08);
}
select#groesse {
    background-color: #800020;   /* Bordeaux-Rot */
    color: #fff;                 /* Weißer Text */
    border: 1px solid #800020;
    border-radius: 4px;
    padding: 4px 8px;
    font-weight: bold;
    font-size: 1em;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: background 0.2s;
}

select#groesse:focus {
    outline: 2px solid #a8324a; /* Helleres Bordeaux beim Fokus */
}

select#groesse option {
    background-color: #800020;  /* Bordeaux-Rot */
    color: #fff;                /* Weißer Text */
}
.buttons{
    min-width: 30px;
    min-height: 30px;
    padding: 0;
    text-align: center;
}
.produkte{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    overflow-x: hidden; /* clippt ggf. vergrößertes Logo */
}
.produkte-hero-shell {
    width: 100%;
    height: var(--hero-available-height);
    min-height: var(--hero-available-height);
    display: flex;
    justify-content: center;
    align-items: stretch;
    overflow: visible;
    padding: 0;
    background-image: url("/BILDER/newdesign.jpg");
    background-repeat: repeat;
    background-position: top left;
    background-size: 96px auto;
}
.produkte-hero {
    width: calc(100% - (2 * var(--hero-side-gap)));
    max-width: none;
    height: calc(100% - var(--hero-edge-gap));
    min-height: 0;
    display: flex;
    position: relative;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    align-self: stretch;
    gap: 0;
    overflow: visible;
    transform: scale(var(--hero-scale));
    transform-origin: top center;
    will-change: transform;
}
.produkte-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/BILDER/newdesign.jpg");
    background-repeat: repeat;
    background-position: top left;
    background-size: 96px auto;
    pointer-events: none;
    z-index: 0;
}
.produkte-hero > .logo-img {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 2;
    margin: 0;
    flex: 0 0 auto;
    align-self: flex-start;
    transform: translateX(-50%);
    pointer-events: none;
}
.produkte-hero .produkte-grid {
    position: relative;
    z-index: 1;
    align-items: flex-start;
    align-self: center;
    flex: 1 1 auto;
    width: min(100%, var(--hero-product-box-width));
    max-width: var(--hero-product-box-width);
    height: 100%;
    margin: 0;
    min-width: 0;
    min-height: 0;
    gap: clamp(12px, 1vw, 18px);
}
.produkte-hero .produkte-grid::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.82);
    border-radius: 15px;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    pointer-events: none;
    z-index: 0;
}
.produkte-hero .produkte-grid::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: calc(-1 * clamp(18px, 4.5vh, 58px));
    width: 100%;
    height: clamp(42px, 8vh, 96px);
    background:
        radial-gradient(ellipse at center,
            rgba(249, 217, 115, 0.58) 0%,
            rgba(231, 177, 44, 0.36) 34%,
            rgba(128, 0, 32, 0.2) 58%,
            rgba(0, 0, 0, 0) 76%);
    filter: blur(16px);
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
}
.produkte-hero .produkte-grid > * {
    position: relative;
    z-index: 1;
}
@media (min-width: 901px) {
    .produkte-hero {
        width: calc(100% - (2 * var(--hero-side-gap)));
        max-width: none;
        min-height: calc(100% - var(--hero-edge-gap));
        height: calc(100% - var(--hero-edge-gap));
        justify-content: flex-start;
        --hero-support-scale: 1;
        --hero-logo-scale: 1;
        --hero-logo-clearance: clamp(70px, 9vw, 155px);
        --hero-product-column-start: calc(min(52vw, calc((100vh - var(--hero-layout-header-height, var(--header-current-height, 30vh))) / 1.78)) + var(--hero-edge-gap));
        --hero-logo-optical-offset: clamp(20px, 1.9vw, 42px);
        transform: none;
        will-change: auto;
    }
    .produkte-hero > .logo-img {
        width: 32%;
        max-width: none;
        height: auto;
        margin-bottom: 6px;
        left: 50%;
        transform: translateX(-50%);
        flex: 0 0 auto;
    }
    .produkte-hero .produkte-grid {
        display: grid;
        grid-template-columns: minmax(0, min(52vw, calc((100vh - var(--hero-layout-header-height, var(--header-current-height, 30vh))) / 1.78))) minmax(0, 1fr);
        align-items: flex-start;
        align-self: flex-start;
        width: min(100%, var(--hero-product-box-width));
        height: 100%;
        max-width: var(--hero-product-box-width);
        min-width: 0;
        min-height: 0;
        column-gap: var(--hero-edge-gap);
        row-gap: 0;
    }
    .produkte-hero #bildergalerie1 {
        width: 100%;
        max-width: none;
        min-width: 0;
        justify-self: start;
        align-self: stretch;
        height: 100%;
        min-height: 0;
    }
    .produkte-hero #bildergalerie1 > div {
        height: 100%;
        width: min(100%, calc((100vh - var(--hero-layout-header-height, var(--header-current-height, 30vh))) / 1.78));
        justify-content: flex-start;
        align-items: center !important;
        gap: 0 !important;
    }
    .produkte-hero #bildergalerie1 .gallery-slider {
        width: 100%;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 5 / 7;
        margin: 0 !important;
    }
    .produkte-hero #bildergalerie1 .gallery-thumbnails {
        --hero-thumb-gap: var(--hero-edge-gap);
        display: flex !important;
        width: 100%;
        gap: var(--hero-thumb-gap) !important;
        margin: var(--hero-thumb-gap) 0 0 0 !important;
        padding: 0 !important;
        line-height: 0;
        margin-left: auto !important;
        margin-right: auto !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
    }
    .produkte-hero #bildergalerie1 .gallery-thumbnails img {
        display: block;
        width: calc((100% - (3 * var(--hero-thumb-gap))) / 4) !important;
        height: auto !important;
        aspect-ratio: 5 / 7;
    }
    .produkte-hero .produkt-info {
        width: 100%;
        max-width: none;
        color: #fff;
        font-size: clamp(0.95rem, 1vw, 1.22rem);
        height: 100%;
        min-height: 0;
        min-width: 0;
        padding-top: 0;
        padding-right: var(--hero-edge-gap);
        padding-bottom: var(--hero-edge-gap);
        overflow: visible;
        align-self: stretch;
        justify-self: stretch;
        justify-content: space-between;
        gap: clamp(6px, 0.9vh, 14px);
        box-sizing: border-box;
    }
    .produkte-hero .produkt-info-scale-target {
        width: var(--produkt-info-target-width);
        max-width: none;
        color: inherit;
        gap: inherit;
    }
    .produkte-hero .produkt-info-scale-target > * {
        position: relative;
        z-index: 1;
        margin-top: 0 !important;
        align-self: stretch;
    }
    .produkte-hero .produkt-info-scale-target > .produkt-title-lockup {
        width: 100%;
        max-width: 100%;
        align-self: stretch !important;
        align-items: center;
    }
    .produkte-hero .produkt-info #ecru,
    .produkte-hero .produkt-info .hinweis,
    .produkte-hero .produkt-info .bestell-optionen {
        width: 100% !important;
        max-width: 100% !important;
        align-self: flex-start !important;
    }
    .produkte-hero .produkt-info h4 {
        margin: 0 !important;
        font-size: clamp(2.4rem, 4vw, 5.4rem);
        line-height: 1;
        width: 100%;
        display: block;
        text-align: center;
        align-self: stretch !important;
    }
    .produkte-hero .produkt-title-lockup > h4 {
        align-self: stretch !important;
    }
    .produkte-hero .produkt-info #ecru {
        --ecru-list-edge-gap: clamp(0.75em, 2%, 1.4em);
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        justify-content: space-evenly;
        gap: clamp(4px, 0.55vh, 10px);
        width: clamp(84%, 32em, calc(100% - (2 * var(--ecru-list-edge-gap)))) !important;
        min-height: 0;
        max-width: calc(100% - (2 * var(--ecru-list-edge-gap))) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        align-self: center !important;
        overflow: visible;
    }
    .produkte-hero .produkt-info #ecru li {
        font-size: clamp(1.25rem, 1.45vw, 1.7rem) !important;
        color: #fff !important;
        margin-bottom: 0;
        line-height: 1.18;
    }
    .produkte-hero .produkt-info .hinweis {
        flex: 0 0 auto;
        font-size: clamp(1.08rem, 1.2vw, 1.45rem) !important;
        padding: clamp(12px, 1vw, 18px) !important;
        margin: 0 !important;
        border-radius: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible;
    }
    .produkte-hero .produkt-info .bestell-optionen {
        flex: 0 0 auto;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible;
        align-self: flex-start;
    }
    .produkte-hero .produkt-info #bestellungen {
        margin-top: 0 !important;
        gap: clamp(8px, 0.9vw, 18px) !important;
        width: 100% !important;
        min-width: 0;
        overflow: visible;
        justify-content: flex-start !important;
        align-items: center;
    }
    .produkte-hero .produkt-info #bestellungen > div {
        min-width: 0;
        text-align: left !important;
        justify-content: flex-start !important;
    }
    .produkte-hero .produkt-info #preis-anim {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .produkte-hero .produkt-info #bestellungen > div:last-child {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .produkte-hero .produkt-info #groesse-auswahl-js {
        flex: 0 0 auto !important;
    }
    .produkte-hero .produkt-info #groesse-buttons {
        gap: clamp(8px, 0.9vw, 16px) !important;
    }
    .produkte-hero .produkt-info .groesse-btn,
    .produkte-hero .produkt-info #kauf-knopf {
        padding: clamp(6px, 0.65vw, 10px) clamp(16px, 1.2vw, 26px) !important;
        border-radius: 6px !important;
        font-size: clamp(0.95rem, 0.9vw, 1.1rem) !important;
    }
    .produkte-hero .produkt-info .buttons {
        min-width: clamp(30px, 2vw, 42px);
        min-height: clamp(30px, 2vw, 42px);
        border-radius: 6px;
        font-size: clamp(1rem, 1vw, 1.25rem) !important;
    }
    .produkte-hero .produkt-info #anzahl {
        width: clamp(40px, 2.5vw, 54px) !important;
        height: clamp(34px, 2.1vw, 44px);
        line-height: clamp(34px, 2.1vw, 44px);
        padding: 0 clamp(6px, 0.6vw, 10px);
        margin: 0 clamp(8px, 0.8vw, 14px) !important;
        border-radius: 6px;
        font-size: clamp(0.95rem, 0.9vw, 1.1rem) !important;
    }
    .produkte-hero .produkt-info .groesse-btn {
        padding: clamp(8px, 0.85vw, 13px) clamp(20px, 1.55vw, 34px) !important;
        font-size: clamp(1.15rem, 1.2vw, 1.45rem) !important;
    }
    .produkte-hero .produkt-info .buttons {
        min-width: clamp(40px, 2.6vw, 56px) !important;
        min-height: clamp(40px, 2.6vw, 56px) !important;
        font-size: clamp(1.35rem, 1.45vw, 1.75rem) !important;
    }
    .produkte-hero .produkt-info #anzahl {
        width: clamp(54px, 3.4vw, 72px) !important;
        height: clamp(42px, 2.7vw, 58px) !important;
        line-height: clamp(42px, 2.7vw, 58px) !important;
        font-size: clamp(1.2rem, 1.25vw, 1.55rem) !important;
        background: #fffbe6 !important;
        border: 2px solid #800020 !important;
        color: #800020 !important;
        font-weight: bold;
    }
    .produkte-hero .produkt-info #einzelpreis,
    .produkte-hero .produkt-info #gesamtpreis {
        font-size: clamp(1.35rem, 1.55vw, 1.9rem) !important;
        color: #fff !important;
    }
    .produkte-hero .produkt-info #kauf-knopf {
        background: none !important;
        border: 0 !important;
        box-shadow: none !important;
        color: inherit !important;
        min-height: 0 !important;
        height: auto !important;
        min-width: 0 !important;
        width: auto !important;
        padding: 0 !important;
        font-size: clamp(1.15rem, 1.2vw, 1.45rem) !important;
        transform-origin: center;
        justify-content: center;
    }
    .produkte-hero .produkt-info img#kauf-knopf.kauf-knopf-icon {
        width: clamp(40px, 2.6vw, 56px) !important;
        height: clamp(40px, 2.6vw, 56px) !important;
        max-height: none !important;
        object-fit: contain;
    }
    .produkte-hero .produkt-info #kauf-knopf:hover,
    .produkte-hero .produkt-info #kauf-knopf:focus {
        background: none !important;
        border: 0 !important;
        box-shadow: none !important;
        outline: none;
    }
}
.lower-showcase-shell {
    width: 100%;
    height: var(--lower-showcase-height);
    min-height: var(--lower-showcase-height);
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: visible;
    padding: 0;
    margin-bottom: 0;
    background-image: url("/BILDER/newdesign.jpg");
    background-repeat: repeat;
    background-position: top left;
    background-size: 2160px auto;
}
.lower-showcase-content {
    width: min(100%, calc(3 * var(--lower-gallery-width)));
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    transform: scale(var(--lower-showcase-scale));
    transform-origin: top center;
    will-change: transform;
}
.lower-showcase-content > * {
    position: relative;
    z-index: 1;
}
.lower-showcase-content > #marcoslogo {
    margin: 0;
}
.lower-showcase-content > .weitere-galerien {
    margin: 0 !important;
}
footer {
    position: relative;
    z-index: 1;
}
#bildergalerie1{
    position: relative;
    top: 0;
    transform: translateY(var(--header-align-offset, 0px));
}

#line{
    text-decoration: underline;
}
#bestellungen{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 9.25%;
}
/* Umbrechen erst unter 1400px in zwei Zeilen */
@media (max-width: 1400px) {
    #bestellungen {
        flex-wrap: wrap !important; /* überschreibt inline flex-wrap:nowrap */
        width: 100% !important;     /* überschreibt JS-inline width */
        max-width: 100% !important; /* überschreibt JS-inline maxWidth */
        left: 0 !important;         /* Sicherheit gegen JS-positioning */
        gap: 18px 24px;             /* vertikal | horizontal */
    }
    #bestellungen > div {
        flex: 0 0 calc(50% - 12px) !important; /* zwei Spalten */
        max-width: calc(50% - 12px);
    }
    /* Kaufknopf so breit wie Text */
    #kauf-knopf {
        width: auto !important;
        white-space: nowrap;
        display: inline-flex; /* behält zentrierte Ausrichtung, schrumpft auf Inhalt */
        align-items: center;
    }
    /* Hinweis kompakter, damit kein horizontales Scrollen entsteht */
    .hinweis {
        font-size: 0.95em !important;
        padding: 14px !important;
    }
    /* Thumbnails früher umbrechen, um Overflow zu vermeiden */
    .gallery-thumbnails { flex-wrap: wrap !important; }
}
/* Responsive Zweizeiler unter 1400px: 
   Spalte 1: Optionen über Preis
   Spalte 2: Stückanzahl über Kaufknopf */
@media (max-width: 1400px) {
    #bestellungen {
        flex-wrap: wrap !important; /* überschreibt inline flex-wrap:nowrap */
        justify-content: space-between;
        gap: 18px 24px; /* vertikal | horizontal */
    }
    /* Nur unmittelbare Div-Kinder (ignoriert <style>/<script>) auf zwei Spalten aufteilen */
    #bestellungen > div {
        flex: 0 0 calc(50% - 12px) !important; /* zwei Spalten, überschreibt inline flex:1 */
        max-width: calc(50% - 12px);
    }
    /* Kaufknopf so breit wie Text */
    #kauf-knopf {
        width: auto !important;
        white-space: nowrap;
        display: inline-flex; /* behält zentrierte Ausrichtung, schrumpft auf Inhalt */
        align-items: center;
    }
    .hinweis {
        font-size: 0.9em !important;
        padding: 12px !important;
    }
    .gallery-thumbnails { flex-wrap: wrap !important; }
}

@media (min-width: 901px) and (max-width: 1400px) {
    .produkte-hero .produkt-info #bestellungen {
        flex-wrap: nowrap !important;
        gap: clamp(12px, 1.1vw, 22px) !important;
    }
    .produkte-hero .produkt-info #bestellungen > div {
        flex: 1 1 0 !important;
        max-width: none;
    }
    .produkte-hero .produkt-info #groesse-auswahl-js {
        flex: 0 0 auto !important;
    }
    .produkte-hero .produkt-info #kauf-knopf {
        width: 100% !important;
    }
    .produkte-hero .produkt-info .hinweis {
        font-size: clamp(1.08rem, 1.2vw, 1.45rem) !important;
        padding: clamp(16px, 1.35vw, 26px) !important;
    }
    .produkte-hero #bildergalerie1 .gallery-thumbnails {
        flex-wrap: nowrap !important;
    }
}

/* Unter 400px: alle Bestell-Elemente untereinander (inkl. Kaufknopf) */
@media (max-width: 400px) {
    #bestellungen {
        flex-wrap: wrap !important;
        gap: 12px 0; /* vertikal | horizontal */
        justify-content: center;
    }
    #bestellungen > div {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        text-align: center;
    }
    /* Etwas zusätzlicher Abstand + über den Options liegen (z-index < Header[5]) */
    #bestellungen > div:nth-of-type(2) {
        margin-top: 8px;
        position: relative;
        z-index: 4; /* Header hat z-index: 5 */
    }
    #kauf-knopf {
        width: auto !important; /* Knopf nur so breit wie Text */
        white-space: nowrap;
    }
}

/* Headline-Fallback: Unter/bei 500px sauber umbrechen und Spationierung unverändert lassen */
@media (max-width: 500px) {
  .produkt-info h4 {
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: anywhere;
    line-height: 1.15;
    text-transform: uppercase;
  }
}
/* Entfernt Pfeile bei number-inputs für alle Browser */
#anzahl::-webkit-outer-spin-button,
#anzahl::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#anzahl[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield; /* Firefox */
}

/* Sichtbarer, konsistenter Rahmen und Höhe für das Anzahl-Feld */
#anzahl {
    height: 36px;
    line-height: 36px;
    padding: 0 6px;
    border: 2px solid #800020;
    border-radius: 6px;
    background: #fff;
    box-sizing: border-box;
    display: inline-block;
}

.produkte-hero .produkt-info #bestellungen > #preis-anim {
    position: relative;
    height: 2.35em;
    min-height: 2.35em;
    max-height: 2.35em;
    align-self: center !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    overflow: visible !important;
}

#einzelpreis,
#gesamtpreis {
    display: block;
    line-height: 1;
}

#einzelpreis {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.4s, color 0.3s !important;
    white-space: nowrap;
}

#preis-anim:not(.is-multiple) #einzelpreis {
    transform: translate(-50%, -50%) !important;
}

#preis-anim.is-multiple #einzelpreis {
    transform: translate(-50%, calc(-50% - 0.4em));
}

#gesamtpreis {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 0.4em));
    height: auto !important;
    min-height: 0;
    overflow: visible !important;
    transition: opacity 0.4s !important;
    white-space: nowrap;
}

.produkte-hero .produkt-info .hinweis,
.produkte-hero .produkt-info .groesse-btn,
.produkte-hero .produkt-info .buttons,
.produkte-hero .produkt-info #anzahl {
    border: 3px solid transparent !important;
    background:
        linear-gradient(var(--ee-control-bg, #fffbe6), var(--ee-control-bg, #fffbe6)) padding-box,
        linear-gradient(180deg, #F9D973, #E7B12C) border-box !important;
    box-shadow:
        inset 0 0 0 2px #800020,
        0 0 0 2px #800020;
}

.produkte-hero .produkt-info .hinweis {
    --ee-control-bg: #fffbe6;
    color: #800020 !important;
    box-shadow:
        inset 0 0 0 1px #e2c97a,
        0 0 0 2px #800020;
}

.produkte-hero .produkt-info .buttons {
    --ee-control-bg: #800020;
    color: #fff !important;
}

.produkte-hero .produkt-info .groesse-btn:hover,
.produkte-hero .produkt-info .groesse-btn:focus,
.produkte-hero .produkt-info .groesse-btn.active {
    --ee-control-bg: #800020;
    color: #fff !important;
    border-color: transparent !important;
}

.produkte-hero .produkt-info img#kauf-knopf {
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-width: 0 !important;
    width: 48px !important;
    height: 48px !important;
    max-width: 100% !important;
    object-fit: contain;
    transform-origin: center;
}

/* Unter 800px: in der unteren Produkte-Galerie nur eine Karte pro Zeile */
@media (max-width: 800px) {
    .produkte-grid {
        flex-direction: column !important;
        align-items: center;
    }
    .produkte-grid > article.produkt-karte {
        flex: 0 0 100% !important;
        width: 92vw !important;
        max-width: 92vw !important;
    }
    .weitere-galerien > .produkt-karte {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .weitere-galerien > .produkt-karte::after {
        display: none;
    }
}

/* Unter 800px: Galerie fast vollbreit, mit kleinem Randabstand */
@media (max-width: 800px) {
  .produkte-grid > article.produkt-karte .gallery-slider,
  .bildergalerie .gallery-slider,
  .gallery-slider {
    width: calc(100vw - 6vw) !important;
    max-width: calc(100vw - 6vw) !important;
    margin-left: 3vw !important;
    margin-right: 3vw !important;
    margin-top: 0;
    margin-bottom: 2rem;
    height: auto !important;
    aspect-ratio: 5 / 7;
  }
}

@media (max-width: 900px) {
    .produkte-hero-shell {
        overflow: visible;
        height: var(--hero-available-height);
        min-height: var(--hero-available-height);
        padding: 0;
    }
    .produkte-hero {
        width: calc(100% - (2 * var(--hero-side-gap)));
        max-width: none;
        height: calc(100% - var(--hero-edge-gap));
        min-height: 0;
        transform: none;
        will-change: auto;
    }
    .produkte-hero .produkte-grid {
        width: min(100%, var(--hero-product-box-width));
        max-width: var(--hero-product-box-width);
    }
    .produkte-hero #bildergalerie1 .gallery-slider {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .produkte-hero #bildergalerie1 .gallery-thumbnails {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        justify-content: center !important;
    }
    .lower-showcase-shell {
        overflow: visible;
        height: auto;
        min-height: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .lower-showcase-content {
        width: 100%;
        transform: none;
        will-change: auto;
    }
}

#marcoslogo{
    display: block;
    margin: 0 auto;
    background-color: #fff;
    background-image: linear-gradient(90deg, #F9D973, #E7B12C);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% clamp(4px, 0.5vw, 10px);
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 3;
    transform: scale(var(--lower-showcase-inverse-scale));
    transform-origin: top center;
    translate: -50% 0;
}

.lower-showcase-content {
    justify-content: flex-end !important;
}

/* Einheitliche Header-Control-Groessen */
.line {
    height: 7px !important;
    width: 78px !important;
    border-radius: 8px !important;
    display: block !important;
    margin: 7px 0 !important;
    padding: 0 !important;
}

#Anmeldeknopf {
    width: 31% !important;
}

#Abmeldeknopf {
    max-height: 31% !important;
}

.product-inquiry {
    width: 100%;
    text-align: center;
}

.product-inquiry-form {
    margin-top: 16px;
}

.shipping-summary {
    padding: 14px;
    margin-bottom: 18px;
    border: 1px solid #e2c97a;
    border-radius: 8px;
    background: #fffdf8;
}

.shipping-summary select {
    max-width: 100%;
    padding: 8px;
    font: inherit;
    color: inherit;
    border: 1px solid #800020;
    border-radius: 6px;
}

.shipping-summary dl > div {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.shipping-summary dd { margin: 0; }
.shipping-summary dl > div:last-child { font-weight: bold; }

.product-inquiry-form details {
    margin: 12px 0;
}

.product-inquiry-form summary {
    cursor: pointer;
}

.inquiry-trap {
    display: none;
}

.product-inquiry-link:disabled {
    opacity: 0.65;
    cursor: default;
}

.product-inquiry-fields {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.product-inquiry-fields label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
}

.product-inquiry-fields input,
.product-inquiry-fields select {
    box-sizing: border-box;
    max-width: 100%;
    padding: 8px;
    border: 1px solid #800020;
    border-radius: 6px;
    background: #fffbe6;
    color: #800020;
    font: inherit;
}

.product-inquiry-fields input[type="number"] {
    width: 80px;
}

.product-inquiry-link {
    display: inline-block;
    box-sizing: border-box;
    max-width: 100%;
    padding: 10px 18px;
    border: 2px solid #800020;
    border-radius: 6px;
    background: #fffbe6;
    color: #800020;
    font: inherit;
    font-weight: bold;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.product-inquiry-link:hover,
.product-inquiry-link:focus-visible {
    background: #800020;
    color: #fff;
}

.product-inquiry-note {
    font-size: 0.8em;
    line-height: 1.3;
    margin: 8px 0 0;
}


