:root {
    --ee-gold-dark: #E1A52A;
    --ee-gold-mid: #EDBD3C;
    --ee-gold-light: #F0C84D;
    --ee-gallery-gold-gradient: linear-gradient(45deg, var(--ee-gold-dark) 0%, var(--ee-gold-light) 50%, var(--ee-gold-dark) 100%);
    --gold-light-wave: -35%;
    --gold-light-wave-2: 50%;
    --gold-light-alpha-strong: 1;
    --gold-light-alpha-mid: 0.88;
    --gold-light-alpha-soft: 0.58;
    --gold-light-alpha-strong-2: 0.76;
    --gold-light-alpha-mid-2: 0.62;
    --gold-light-alpha-soft-2: 0.42;
    --gold-light-saturate: 3.15;
    --gold-light-contrast: 1.2;
    --gold-light-glow-a: 44px;
    --gold-light-glow-b: 118px;
    --ee-gold-laser-core-gradient:
        linear-gradient(45deg, rgba(255, 221, 72, 0) calc(var(--gold-light-wave) - 11%), rgba(246, 190, 30, var(--gold-light-alpha-soft)) calc(var(--gold-light-wave) - 6%), rgba(255, 203, 35, var(--gold-light-alpha-mid)) calc(var(--gold-light-wave) - 2%), rgba(255, 221, 72, var(--gold-light-alpha-strong)) var(--gold-light-wave), rgba(255, 203, 35, var(--gold-light-alpha-mid)) calc(var(--gold-light-wave) + 2%), rgba(246, 190, 30, var(--gold-light-alpha-soft)) calc(var(--gold-light-wave) + 6%), rgba(255, 221, 72, 0) calc(var(--gold-light-wave) + 11%)),
        linear-gradient(45deg, rgba(255, 221, 72, 0) calc(var(--gold-light-wave-2) - 11%), rgba(246, 190, 30, var(--gold-light-alpha-soft-2)) calc(var(--gold-light-wave-2) - 6%), rgba(255, 203, 35, var(--gold-light-alpha-mid-2)) calc(var(--gold-light-wave-2) - 2%), rgba(255, 221, 72, var(--gold-light-alpha-strong-2)) var(--gold-light-wave-2), rgba(255, 203, 35, var(--gold-light-alpha-mid-2)) calc(var(--gold-light-wave-2) + 2%), rgba(246, 190, 30, var(--gold-light-alpha-soft-2)) calc(var(--gold-light-wave-2) + 6%), rgba(255, 221, 72, 0) calc(var(--gold-light-wave-2) + 11%));
    --ee-gold-sweep-gradient:
        linear-gradient(45deg, rgba(225, 165, 42, 0) calc(var(--gold-light-wave) - 28%), rgba(225, 165, 42, var(--gold-light-alpha-soft)) calc(var(--gold-light-wave) - 18%), rgba(246, 190, 30, var(--gold-light-alpha-mid)) calc(var(--gold-light-wave) - 7%), rgba(255, 207, 45, var(--gold-light-alpha-strong)) var(--gold-light-wave), rgba(246, 190, 30, var(--gold-light-alpha-mid)) calc(var(--gold-light-wave) + 7%), rgba(225, 165, 42, var(--gold-light-alpha-soft)) calc(var(--gold-light-wave) + 18%), rgba(225, 165, 42, 0) calc(var(--gold-light-wave) + 28%)),
        linear-gradient(45deg, rgba(225, 165, 42, 0) calc(var(--gold-light-wave-2) - 28%), rgba(225, 165, 42, var(--gold-light-alpha-soft-2)) calc(var(--gold-light-wave-2) - 18%), rgba(246, 190, 30, var(--gold-light-alpha-mid-2)) calc(var(--gold-light-wave-2) - 7%), rgba(255, 207, 45, var(--gold-light-alpha-strong-2)) var(--gold-light-wave-2), rgba(246, 190, 30, var(--gold-light-alpha-mid-2)) calc(var(--gold-light-wave-2) + 7%), rgba(225, 165, 42, var(--gold-light-alpha-soft-2)) calc(var(--gold-light-wave-2) + 18%), rgba(225, 165, 42, 0) calc(var(--gold-light-wave-2) + 28%));
    --header-gallery-gradient-y: 0px;
    --header-gallery-gradient-height: 100%;
}

html,
body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

.produkte-grid {
    --gallery-separator-width: 3px;
    --gallery-frame-width: 3px;
    --gallery-row-gap: 0px;
    --gallery-stack-height: 100%;
    --gallery-gradient-y: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    column-gap: 0;
    row-gap: var(--gallery-row-gap);
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
}

.produkt-karte {
    --card-width-default: 25%;
    flex: 0 0 var(--card-width, var(--card-width-default));
    width: var(--card-width, var(--card-width-default));
    max-width: var(--card-width, var(--card-width-default));
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    position: relative;
}

.produkt-karte:nth-child(odd) {
    padding-right: 0;
}

.produkt-karte:nth-child(even) {
    padding-left: 0;
}

body.home .produkt-karte:nth-child(odd):not(:last-child)::after {
    content: none;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(50%);
    width: var(--gallery-separator-width);
    height: 100%;
    background: var(--ee-gallery-gold-gradient);
    background-size: 100% var(--gallery-stack-height);
    background-position: 0 var(--gallery-gradient-y);
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 2;
}

body.home .edel-hoodie-viewport {
    min-height: var(--home-viewport-height, 80vh);
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(52vw, calc(var(--home-viewport-height, 80vh) - 32px), 820px) minmax(0, 1fr);
    gap: clamp(12px, 2vw, 32px);
    place-items: center;
    padding: 16px;
    box-sizing: border-box;
}

body.home .edel-hoodie-welcome {
    min-width: 0;
    margin: 0;
    font-family: "macula-solid", sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 3.2rem);
    font-weight: 500;
    font-style: normal;
    line-height: 1.2;
    text-align: center;
    overflow-wrap: anywhere;
}

body.home .edel-hoodie-brand {
    font-size: clamp(1.2rem, 2.1vw, 2.8rem);
}

body.home .edel-hoodie-frame {
    --gallery-frame-width: 3px;
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    margin: 0;
    padding: var(--gallery-frame-width);
    box-sizing: border-box;
    border-radius: 15px;
    overflow: hidden;
    background: var(--ee-gallery-gold-gradient);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

body.home .edel-hoodie-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

body.home .edel-hoodie-frame .gold-light-overlay {
    opacity: 1;
    border-radius: inherit;
    padding: var(--gallery-frame-width);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
}

@media (max-width: 760px) {
    body.home .edel-hoodie-viewport {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        align-content: center;
    }

    body.home .edel-hoodie-frame {
        width: min(100%, max(120px, calc(var(--home-viewport-height, 80vh) - 180px)));
    }
}

/* Keep anchor coordinates stable while the fixed header changes height. */
body.home main,
body.home main.scrolled-main,
body.home header:hover ~ main,
body.home header.scrolled:hover ~ main.scrolled-main {
    margin-top: 30vh;
}

body.home header.scrolled:hover {
    height: 20vh;
}

body.home .headline-row {
    transition: transform 300ms ease-out;
}

body.home main > section:first-child {
    padding-bottom: 2vh;
}

body.home header:not(.scrolled):hover ~ main .headline-row {
    transform: translateY(var(--headline-rest, 5vh));
    animation: headline-header-bounce 650ms ease-out;
}

@keyframes headline-header-bounce {
    0% { transform: translateY(0); }
    45% { transform: translateY(var(--headline-lower-bounce, 6.5vh)); }
    70% { transform: translateY(var(--headline-upper-bounce, 4.4vh)); }
    100% { transform: translateY(var(--headline-rest, 5vh)); }
}

@media (prefers-reduced-motion: reduce) {
    body.home .headline-row { transition: none; }
    body.home header:not(.scrolled):hover ~ main .headline-row { animation: none; }
}

#edel{
    width: 100%;
    box-sizing: border-box;
    font-size: 1.16em;
    min-height: var(--home-viewport-height, 80vh);
    height: var(--home-viewport-height, 80vh);
    margin-top: 0;
    padding: 1.2vh 0 2.4vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#edel .edel-stefan {
    display: block;
    flex: 0 0 auto;
    align-self: center;
    width: auto;
    height: min(20vh, 225px);
    max-height: 27%;
    max-width: 80%;
    object-fit: contain;
    margin: 12px auto 0;
}

#edel h3{
    flex: 0 0 auto;
    width: 100%;
    margin: 0 0 0.4em 0;
    text-align: center;
    font-size: clamp(2.2rem, 5.8vh, 3.4rem);
    line-height: 1;
}

#edeltext{
    width: 100%;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    align-items: stretch;
}

#edeltext ul{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin: 0;
    padding: 0 clamp(18px, 3.2vw, 56px);
    box-sizing: border-box;
    list-style: none;
    gap: clamp(18px, 2vw, 36px);
    min-height: 100%;
}

#edeltext li{
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0 clamp(4px, 0.5vw, 10px);
    box-sizing: border-box;
}

#edeltext h4{
    margin: 0;
    text-align: center;
    font-weight: 700;
    font-size: clamp(1.12rem, 1.9vw, 1.5rem);
    line-height: 1.15;
}

#edeltext .edel-copy{
    width: 100%;
    text-align: justify;
    hyphens: auto;
    line-height: 1.3;
    font-size: clamp(0.92rem, 1.1vw, 1.12rem);
    overflow-wrap: break-word;
}

@media (max-width: 1000px) {
    #edeltext ul { flex-wrap: wrap; }
    #edeltext li { flex: 1 1 calc(50% - 36px); }
}

@media (max-width: 600px) {
    #edeltext ul { flex-direction: column; }
    #edeltext li { flex: 1 1 auto; width: 100%; }
}
body.home #produkteGridPrimary,
body.home #produkteGridSecondary {
    overflow: hidden;
}

body.home #produkteGridPrimary::before,
body.home #produkteGridSecondary::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    background: var(--ee-gallery-gold-gradient);
    background-size: 100% var(--gallery-stack-height);
    background-position: 0 var(--gallery-gradient-y);
    background-repeat: no-repeat;
    -webkit-mask:
        linear-gradient(#000 0 0) left / var(--gallery-frame-width) 100% no-repeat,
        linear-gradient(#000 0 0) center / var(--gallery-separator-width) 100% no-repeat,
        linear-gradient(#000 0 0) right / var(--gallery-frame-width) 100% no-repeat;
    mask:
        linear-gradient(#000 0 0) left / var(--gallery-frame-width) 100% no-repeat,
        linear-gradient(#000 0 0) center / var(--gallery-separator-width) 100% no-repeat,
        linear-gradient(#000 0 0) right / var(--gallery-frame-width) 100% no-repeat;
}

body.home #produkteGridPrimary::after,
body.home #produkteGridSecondary::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    background: var(--ee-gallery-gold-gradient);
    background-size: 100% var(--gallery-stack-height);
    background-position: 0 var(--gallery-gradient-y);
    background-repeat: no-repeat;
    -webkit-mask:
        linear-gradient(#000 0 0) top / 100% var(--gallery-frame-width) no-repeat;
    mask:
        linear-gradient(#000 0 0) top / 100% var(--gallery-frame-width) no-repeat;
}

body.home #produkteGridPrimary {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

body.home #produkteGridSecondary {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

body.home #produkteGridSecondary::after {
    -webkit-mask:
        linear-gradient(#000 0 0) top / 100% var(--gallery-frame-width) no-repeat,
        linear-gradient(#000 0 0) bottom / 100% var(--gallery-frame-width) no-repeat;
    mask:
        linear-gradient(#000 0 0) top / 100% var(--gallery-frame-width) no-repeat,
        linear-gradient(#000 0 0) bottom / 100% var(--gallery-frame-width) no-repeat;
}

.produkte-grid {
    padding-top: 0 !important;
}
.produkte-grid {
    margin-top: 0 !important;
}
/* Abstand Galerie zu Marco Antonio Logo wie Abstand intro zu Logo */
.produkte {
    margin-top: 1px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

body.home .produkte-viewport {
    width: 100%;
    min-height: var(--home-viewport-height, auto);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 0 clamp(16px, 2vw, 28px);
    box-sizing: border-box;
}

body.home .produkte-viewport-primary {
    min-height: var(--home-primary-viewport-height, auto);
    gap: 0;
}

body.home .produkte-viewport-secondary {
    min-height: var(--home-secondary-viewport-height, auto);
    justify-content: flex-start;
    gap: 0;
}

body.home .produkte-snap-anchor {
    width: 100%;
    height: 0;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}

body.home .produkte-secondary-header-shell {
    width: 100%;
    height: var(--secondary-header-shell-height, auto);
    max-height: var(--secondary-header-shell-height, none);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;
    padding-top: var(--secondary-header-shell-space-top, 0px);
    padding-bottom: var(--secondary-header-shell-space-bottom, 0px);
}

body.home .produkte-secondary-header-logo {
    display: block;
    width: auto;
    height: var(--secondary-header-logo-height, auto);
    max-height: var(--secondary-header-logo-height, none);
    object-fit: contain;
    margin: 0 auto;
    transition: height 0.25s ease;
}
/* H1 mit Logo rechts daneben */
.headline-row {
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 4vh;
    margin-bottom: 2vh;
}
h1 {
    margin: 0;
    font-size: 5vh;
    font-weight: bolder;
    font-family: "filosofia-grand", serif;
    font-weight: 700;
    font-style: normal;
}
.headline-logo {
    height: 5vh;
    width: auto;
    object-fit: contain;
    display: block;
}
/* Marco Antonio Logo extra groß */
.logo-marco {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    aspect-ratio: unset;
    object-fit: contain;
}
/* Einheitliche Größe für Logos Marco Antonio und Gruibinger */
/* Remove .logo-gross restrictions for Gruibinger logo, use natural size */
.logo-gross {
    display: block;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    aspect-ratio: unset;
}
/* Große Galerie (fullwidth-slider) größer machen */
.fullwidth-slider {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
    box-shadow: 0 16px 48px rgba(0,0,0,0.22);
}

.fullwidth-slider .swiper-slide img {
    width: 100vw !important;
    height: 80vh;
    object-fit: cover;
    aspect-ratio: unset;
    background: linear-gradient(45deg, #f0f0f0, #fff);
    display: block;
}

@media (max-width: 1200px) {
    .fullwidth-slider {
        max-width: 100vw;
        aspect-ratio: 16 / 8;
    }
    .fullwidth-slider .swiper-slide img {
        height: 55vh;
        aspect-ratio: 16 / 8;
    }
}

@media (max-width: 800px) {
    .fullwidth-slider {
        max-width: 100vw;
        aspect-ratio: 16 / 10;
    }
    .fullwidth-slider .swiper-slide img {
        height: 40vh;
        aspect-ratio: 16 / 10;
    }
}

#menu ul {
    list-style-type: none;
    padding-left: 0;
}
#menu li::before {
    content: "► ";
    color: #800020;
    margin-right: 10px;
}
html{
    display: flex;
    overflow-x: hidden;
    overscroll-behavior: none;
}
body.home header.home-image-header {
    background-color: #f3f1ec;
    background-image: url("BILDER/elegantes licht.jpeg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

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;
    z-index: 100;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: height;
}

header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    pointer-events: none;
    z-index: 3;
    background: var(--ee-gallery-gold-gradient);
    background-size: 100% var(--header-gallery-gradient-height);
    background-position: 0 var(--header-gallery-gradient-y);
    background-repeat: no-repeat;
    transition: background-position 620ms ease, background-size 620ms ease;
}

header::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    pointer-events: none;
    z-index: 4;
    background: var(--ee-gold-laser-core-gradient), var(--ee-gold-sweep-gradient);
    background-size: 100vw 100vh;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: saturate(var(--gold-light-saturate)) contrast(var(--gold-light-contrast)) drop-shadow(0 0 8px rgba(255, 215, 72, 1)) drop-shadow(0 0 var(--gold-light-glow-a) rgba(246, 213, 106, 1)) drop-shadow(0 0 var(--gold-light-glow-b) rgba(237, 189, 60, 0.95)) drop-shadow(0 0 calc(var(--gold-light-glow-b) * 1.65) rgba(240, 200, 77, 0.52));
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: filter, background;
}

body.home.is-gallery-primary {
    --header-gallery-gradient-y: var(--header-gallery-primary-y, 0px);
}

body.home.is-gallery-secondary {
    --header-gallery-gradient-y: var(--header-gallery-secondary-y, 0px);
}

.gold-light-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    background: var(--ee-gold-laser-core-gradient), var(--ee-gold-sweep-gradient);
    background-size: 100vw 100vh;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: saturate(var(--gold-light-saturate)) contrast(var(--gold-light-contrast)) drop-shadow(0 0 8px rgba(255, 215, 72, 1)) drop-shadow(0 0 var(--gold-light-glow-a) rgba(246, 213, 106, 1)) drop-shadow(0 0 var(--gold-light-glow-b) rgba(237, 189, 60, 0.95)) drop-shadow(0 0 calc(var(--gold-light-glow-b) * 1.65) rgba(240, 200, 77, 0.52));
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: filter, background;
}

.gold-light-overlay.gold-light-vertical {
    -webkit-mask:
        linear-gradient(#000 0 0) left / var(--gallery-frame-width) 100% no-repeat,
        linear-gradient(#000 0 0) center / var(--gallery-separator-width) 100% no-repeat,
        linear-gradient(#000 0 0) right / var(--gallery-frame-width) 100% no-repeat;
    mask:
        linear-gradient(#000 0 0) left / var(--gallery-frame-width) 100% no-repeat,
        linear-gradient(#000 0 0) center / var(--gallery-separator-width) 100% no-repeat,
        linear-gradient(#000 0 0) right / var(--gallery-frame-width) 100% no-repeat;
}

.gold-light-overlay.gold-light-horizontal {
    -webkit-mask:
        linear-gradient(#000 0 0) top / 100% var(--gallery-frame-width) no-repeat;
    mask:
        linear-gradient(#000 0 0) top / 100% var(--gallery-frame-width) no-repeat;
}

#produkteGridSecondary .gold-light-overlay.gold-light-horizontal {
    -webkit-mask:
        linear-gradient(#000 0 0) top / 100% var(--gallery-frame-width) no-repeat,
        linear-gradient(#000 0 0) bottom / 100% var(--gallery-frame-width) no-repeat;
    mask:
        linear-gradient(#000 0 0) top / 100% var(--gallery-frame-width) no-repeat,
        linear-gradient(#000 0 0) bottom / 100% var(--gallery-frame-width) no-repeat;
}

body.home:not(.is-gallery-secondary) #produkteGridPrimary .gold-light-overlay,
body.home.is-gallery-secondary #produkteGridSecondary .gold-light-overlay {
    opacity: 1;
}
header:hover{
    height: 35vh;
}
header.scrolled{
    height: 20vh;
    padding: 0;
}
header.scrolled:hover{
    height: 25vh;
}
#video{
	width: 100%;
	height: 100%;
	position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
	object-fit: cover;
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: paint;
    will-change: transform, opacity;
}
body{
    text-align: center;
    font-weight: bolder;
    font-family: "legitima", serif;
    margin: 0;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    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; /* Startwert */
    transition: margin-top 0.18s ease-in-out; /* Smooth Animation */
}
h1{
    font-size: 5vh;
    margin: 2%;
    transition: font-size 0.25s ease;
    font-family: "legitima", serif;
    font-weight: 500;
    font-style: normal;
}
body.home main > h2 {
    font-size: clamp(1.5rem, min(4.5vh, 5vw), 3.3rem) !important;
}

h2{
    font-size: 5vh;
    margin: 2%;
    transition: font-size 0.25s ease;
    font-family: "legitima", serif;
    font-weight: 500;
    font-style: normal;
}


#intro{
    font-size: 3.7vh;
    margin: 1%;
    margin-bottom: 0%;
    margin-left: 2%;
    margin-right: 2%;
    text-align: justify;
    transition: font-size 0.25s ease;
    font-family: "legitima", serif;
    font-weight: 500;
    font-style: normal;
}
/* Main anpassen wenn gescrollt */
main.scrolled-main {
    margin-top: 20vh;
}

/* Main anpassen wenn Header gehovered wird */
header:hover ~ main {
    margin-top: 35vh; /* +5vh beim Header-Hover */
}

/* Main anpassen wenn gescrollter Header gehovered wird */
header.scrolled:hover ~ main.scrolled-main {
    margin-top: 25vh; /* +5vh beim gescrollten Header-Hover */
}
.row{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0;
    padding: 0;
    width: calc(100vw / 3);
    height: 100%;
}
#menu{
    font-size: 3vh;
    list-style-type: none;
    padding-left: 0;
}
#menu li {
    color: #800020;
}
#menu a {
    color: #800020;
    text-decoration: none;
}
#hamburger{
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: visible;
    background: none;
    z-index: 20;
}
.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}

/* Make hamburger lines more visible */
.line {
    height: 7px;
    width: 78px;
    background: black;
    border-radius: 8px;
    display: block;
    margin: 7px 0;
    position: relative;
    overflow: hidden;
    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::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: var(--ee-gold-laser-core-gradient), var(--ee-gold-sweep-gradient);
    background-size: 100vw 100vh;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: saturate(var(--gold-light-saturate)) contrast(var(--gold-light-contrast)) drop-shadow(0 0 8px rgba(255, 215, 72, 1)) drop-shadow(0 0 var(--gold-light-glow-a) rgba(246, 213, 106, 1)) drop-shadow(0 0 var(--gold-light-glow-b) rgba(237, 189, 60, 0.95)) drop-shadow(0 0 calc(var(--gold-light-glow-b) * 1.65) rgba(240, 200, 77, 0.52));
    transform: translateZ(0);
    backface-visibility: hidden;
}
.line:hover {
    background: var(--ee-gallery-gold-gradient);
    box-shadow: 0 0 10px gold;
}
.line:hover::after {
    opacity: 1;
}
main{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: 30vh; /* Startwert */
    transition: margin-top 0.18s ease-in-out; /* Smooth Animation */
    margin-left: auto;
    margin-right: auto;
}

 .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: calc(100vw / 9);
    height: 90%;
    z-index: 2;
}
#EDZAD{
    object-fit: contain;
    width: calc(100vw / 3);
    height: 100%;
    transition: transform 0.3s ease-in-out;
}
#EDZAD:hover{
    transform: scale(1.08);
}
@keyframes pulse-rotate {
    0% { transform: rotate(90deg) scale(1); }
    50% { transform: rotate(90deg) scale(1.15); }
    100% { transform: rotate(90deg) 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;
}
#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;
    width: 100%;
    height: 100%;
}

.bildergalerie h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 2.5rem;
}

.produkt-karte {
    --card-h: auto;
    --card-w: 100%;
}

.gallery-slider {
      width: 100%;
      max-width: 100%;
      min-width: 100%;
      aspect-ratio: 5 / 7;
      height: var(--card-h, 100%);
      max-height: var(--card-h, 100%);
      margin: 0;
      box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    background: #fff;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Abgerundete Ecken je Galerie-Paar */
.produkt-karte .gallery-slider {
    border-radius: 0;
}

.produkt-karte:nth-child(odd) .gallery-slider {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.produkt-karte:nth-child(even) .gallery-slider {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

.produkt-karte:nth-child(odd):last-child .gallery-slider {
    border-radius: 15px;
}

body.home #produkteGridPrimary .produkt-karte:nth-child(odd) .gallery-slider {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 0;
}

body.home #produkteGridPrimary .produkt-karte:nth-child(even) .gallery-slider {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 0;
}

body.home #produkteGridSecondary .produkt-karte:nth-child(odd) .gallery-slider {
    border-top-left-radius: 0;
    border-bottom-left-radius: 15px;
}

body.home #produkteGridSecondary .produkt-karte:nth-child(even) .gallery-slider {
    border-top-right-radius: 0;
    border-bottom-right-radius: 15px;
}

.gallery-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 5 / 7;
    background: none;
    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 {
    display: none !important;
}

.gallery-slider .swiper-button-next:hover,
.gallery-slider .swiper-button-prev:hover {
    display: none !important;
}

.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;
    aspect-ratio: 5 / 7;
    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);
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-slider {
        max-width: 100%;
        aspect-ratio: 5 / 7;
        margin: 0 1rem 2rem 1rem;
    }
    .gallery-slider .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 5 / 7;
    }
    .gallery-thumbnails img {
        width: 40px;
        height: 56px;
        aspect-ratio: 5 / 7;
    }
    .slide-caption {
        font-size: 1rem;
        padding: 0.5rem;
    }
}

/* Unter 600px: H1 etwas größer für bessere Lesbarkeit */
@media (max-width: 600px) {
    .headline-row h1 {
        font-size: 6.5vh;
    }
}
#ecru{
    list-style-type: none;
    text-align: justify;

}
#ecru li::before {
    content: "► ";
    color: #800020;
    margin-right: 10px;
}

#MarcoL{
    width: 32%;
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
    display: block;
    margin-left: auto;
    transition: width 0.25s ease;
    margin-right: auto;
}
#gruibinger{
    margin: 2%;
    margin-bottom: 1%;
}
.gallery-slider,
.gallery-slider .swiper-wrapper,
.gallery-slider .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    aspect-ratio: 5 / 7;
    height: var(--card-h, 100%) !important;
    max-height: var(--card-h, 100%) !important;
    margin: 0 !important;
}

body.home .gallery-slider,
body.home .gallery-slider .swiper-wrapper,
body.home .gallery-slider .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

body.home .produkte-viewport .produkte-grid {
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 0 !important;
    row-gap: 0 !important;
    width: min(100%, var(--gallery-row-width, 1500px)) !important;
    max-width: min(100%, var(--gallery-row-width, 1500px)) !important;
    margin: 0 auto !important;
    height: var(--card-h, auto);
    max-height: var(--card-h, auto);
}

body.home .produkte-viewport .produkt-karte {
    flex: 0 0 var(--card-w, 50%) !important;
    width: var(--card-w, 50%) !important;
    max-width: var(--card-w, 50%) !important;
    height: var(--card-h, auto);
    max-height: var(--card-h, auto);
}

body.home .produkte-viewport .gallery-slider,
body.home .produkte-viewport .gallery-slider .swiper-wrapper,
body.home .produkte-viewport .gallery-slider .swiper-slide {
    aspect-ratio: auto;
    height: var(--card-h, auto) !important;
    max-height: var(--card-h, auto) !important;
    min-height: var(--card-h, auto) !important;
}

body.home .gallery-slider img {
    width: 100%;
    height: 100% !important;
    object-fit: contain;
}

/* Einheitliche Header-Control-Groessen wie auf ecruselvedgedenim.php */
.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;
}

.floating-music-player {
    --floating-music-info-gap: 10px;
    --floating-music-icon-size: 28px;
    --floating-music-speaker-inset: calc(var(--floating-music-icon-size) * 0.122);
    position: fixed;
    right: clamp(14px, 2vw, 24px);
    bottom: clamp(14px, 2vw, 24px);
    width: 34px;
    height: 34px;
    z-index: 100001;
    display: grid;
    place-items: center;
}

.floating-music-now-playing {
    position: absolute;
    right: calc(50% + (var(--floating-music-icon-size) / 2) - var(--floating-music-speaker-inset) + var(--floating-music-info-gap));
    top: 50%;
    width: min(178px, calc(100vw - 70px));
    min-height: 42px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    column-gap: var(--floating-music-info-gap);
    opacity: 0;
    transform: translate(10px, -50%) scale(0.96);
    transform-origin: right center;
    pointer-events: none;
    transition: opacity 0.32s ease, transform 0.32s ease;
}

.floating-music-cover {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.floating-music-copy {
    min-width: 0;
    max-width: 128px;
    width: 100%;
    text-align: center;
}

.floating-music-band,
.floating-music-song {
    color: #050505;
    font-weight: 700;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 1px 5px rgba(255, 255, 255, 0.5);
}

.floating-music-band {
    font-size: 10px;
    line-height: 1.1;
}

.floating-music-song {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.12;
}

.floating-music-song span {
    display: inline-block;
    max-width: 100%;
    vertical-align: top;
}

.floating-music-song span[aria-hidden="true"] {
    display: none;
}

.floating-music-song.is-overflowing {
    text-overflow: clip;
}

.floating-music-song.is-overflowing span {
    max-width: none;
    padding-right: var(--floating-music-marquee-gap, 28px);
    animation: floatingMusicMarquee var(--floating-music-marquee-duration, 9s) linear infinite;
}

.floating-music-song.is-overflowing span[aria-hidden="true"] {
    display: inline-block;
}

@keyframes floatingMusicMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-1 * var(--floating-music-marquee-distance, 0px)));
    }
}

.floating-music-player.is-playing .floating-music-now-playing {
    opacity: 1;
    transform: translate(0, -50%) scale(1);
}

.floating-music-toggle {
    position: relative;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #050505;
    cursor: pointer;
    padding: 0;
    font: inherit;
    line-height: 1;
    text-shadow: none;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.floating-music-toggle:hover,
.floating-music-toggle:focus-visible {
    transform: scale(1.06);
    filter: saturate(1.25) brightness(1.08);
    outline: none;
}

.floating-music-icon {
    --floating-music-playing-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='white' d='M3.9 12.35c0-.9.58-1.5 1.48-1.5h4.88l7.42-6.08c.88-.72 2.2-.1 2.2 1.04v20.38c0 1.14-1.32 1.76-2.2 1.04l-7.42-6.08H5.38c-.9 0-1.48-.6-1.48-1.5z'/%3E%3Cpath d='M22.35 11.5c1.52 2.42 1.52 6.58 0 9' fill='none' stroke='white' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M25.7 8.35c3.48 4.28 3.48 10.98 0 15.3' fill='none' stroke='white' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    position: relative;
    display: block;
    width: 28px;
    height: 28px;
}

.floating-music-black-icon,
.floating-music-gradient-icon {
    display: block;
    width: 100%;
    height: 100%;
}

.floating-music-black-icon {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.42));
}

.floating-music-speaker-shape {
    fill: #050505;
}

.floating-music-strike-shape {
    fill: none;
    stroke: #050505;
    stroke-width: 3.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.floating-music-wave-shape {
    display: none;
    fill: none;
    stroke: #050505;
    stroke-width: 3.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.floating-music-gradient-icon,
.floating-music-light-icon {
    position: absolute;
    inset: 0;
    display: none;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-mask: var(--floating-music-playing-mask) center / contain no-repeat;
    mask: var(--floating-music-playing-mask) center / contain no-repeat;
    transform: translateZ(0);
    backface-visibility: hidden;
    pointer-events: none;
    will-change: filter, background;
}

.floating-music-gradient-icon {
    background: var(--ee-gallery-gold-gradient);
    background-size: 100vw 100vh;
    background-position: 0 0;
    z-index: 1;
}

.floating-music-light-icon {
    opacity: 1;
    z-index: 2;
    background: var(--ee-gold-laser-core-gradient), var(--ee-gold-sweep-gradient);
    background-size: 100vw 100vh;
    background-position: 0 0;
    filter: saturate(var(--gold-light-saturate)) contrast(var(--gold-light-contrast)) drop-shadow(0 0 8px rgba(255, 215, 72, 1)) drop-shadow(0 0 var(--gold-light-glow-a) rgba(246, 213, 106, 1)) drop-shadow(0 0 var(--gold-light-glow-b) rgba(237, 189, 60, 0.95)) drop-shadow(0 0 calc(var(--gold-light-glow-b) * 1.65) rgba(240, 200, 77, 0.52));
}

.floating-music-player.is-playing .floating-music-black-icon {
    opacity: 0;
}

.floating-music-player.is-playing .floating-music-strike-shape {
    display: none;
}

.floating-music-player.is-playing .floating-music-wave-shape {
    display: block;
}

.floating-music-player.is-playing .floating-music-gradient-icon,
.floating-music-player.is-playing .floating-music-light-icon {
    display: block;
}

@media (max-width: 600px) {
    .floating-music-player {
        --floating-music-icon-size: 26px;
        width: 32px;
        height: 32px;
        right: 12px;
        bottom: 12px;
    }

    .floating-music-toggle {
        width: 32px;
        height: 32px;
    }

    .floating-music-icon {
        width: var(--floating-music-icon-size);
        height: var(--floating-music-icon-size);
    }
}

/* Usable gallery layout before JavaScript initializes, including narrow screens. */
body.home main > section:first-child { width: 100%; box-sizing: border-box; padding-inline: 12px; }
body.home .headline-row { gap: clamp(6px, 2vw, 24px); }
body.home .headline-row h1 { min-width: 0; overflow-wrap: anywhere; font-size: clamp(22px, 5vw, 45px); line-height: 1.2; }
body.home .headline-row .headline-logo { width: clamp(32px, 8vw, 90px); height: auto; min-width: 0; flex: 0 1 auto; }
body.home .produkte-viewport .produkt-karte { --card-w: 50%; }
/* Gold cores with hoodie-red edges and a soft lightsaber glow. */
body.home header .hamburg .line {
    box-sizing: border-box;
    border: 1px solid #a60032;
    background: linear-gradient(#fff0b5, #edbd3c) !important;
    box-shadow:
        inset 0 0 1px #fff8dc,
        0 0 3px #ffb0bc,
        0 0 8px #ff315fcc,
        0 0 17px #b6004680 !important;
}
body.home header .hamburg .line::after { opacity: 0 !important; }
@media (hover: hover) {
    body.home header .hamburg:hover .line {
        box-shadow: inset 0 0 1px #fff8dc, 0 0 4px #ffd0d8, 0 0 11px #ff315fee, 0 0 22px #b6004699 !important;
    }
}
@media (max-width: 700px) {
    body.home .produkte-viewport .produkte-grid { flex-direction: column !important; height: auto !important; max-height: none !important; }
    body.home .produkte-viewport .produkt-karte { flex: 0 0 auto !important; width: 100% !important; max-width: 100% !important; height: auto !important; max-height: none !important; }
    body.home .produkte-viewport .gallery-slider { width: 100% !important; height: auto !important; min-height: 0 !important; max-height: none !important; aspect-ratio: 5 / 7; }
    body.home .produkte-viewport .gallery-slider .swiper-wrapper,
    body.home .produkte-viewport .gallery-slider .swiper-slide { height: 100% !important; min-height: 0 !important; max-height: none !important; }
}
