: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;
}

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

#edel h3{
    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;
    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;
}
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 {
    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;
}
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 */
}

#atolelocologo {
    display: block;
    width: clamp(7.5rem, 17vw, 14.25rem);
    max-width: 51%;
    height: auto;
    margin: clamp(1.125rem, 4vh, 3rem) auto clamp(1.625rem, 5vh, 4rem);
    object-fit: contain;
}

.atole-loco-gallery {
    --card-width: min(72vw, 62rem);
    --atole-gallery-aspect: 3 / 2;
    --atole-gallery-resize-duration: 720ms;
    --atole-gallery-resize-ease: cubic-bezier(0.22, 1, 0.36, 1);
    transition:
        width var(--atole-gallery-resize-duration) var(--atole-gallery-resize-ease),
        max-width var(--atole-gallery-resize-duration) var(--atole-gallery-resize-ease),
        flex-basis var(--atole-gallery-resize-duration) var(--atole-gallery-resize-ease);
    will-change: width, max-width, flex-basis;
}

body.home #produkteGridPrimary:has(.atole-loco-gallery) {
    transition:
        width var(--atole-gallery-resize-duration, 720ms) var(--atole-gallery-resize-ease, cubic-bezier(0.22, 1, 0.36, 1)),
        max-width var(--atole-gallery-resize-duration, 720ms) var(--atole-gallery-resize-ease, cubic-bezier(0.22, 1, 0.36, 1));
    will-change: width, max-width;
}

.atole-loco-gallery .gallery-slider,
.atole-loco-gallery .gallery-slider .swiper-wrapper,
.atole-loco-gallery .gallery-slider .swiper-slide {
    aspect-ratio: var(--atole-gallery-aspect) !important;
}

.atole-loco-gallery .gallery-slider img {
    aspect-ratio: var(--atole-gallery-aspect);
    object-fit: cover;
}

body.home #produkteGridPrimary:has(.atole-loco-gallery) {
    align-items: stretch !important;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    overflow: hidden;
}

body.home #produkteGridPrimary:has(.atole-loco-gallery)::before,
body.home #produkteGridPrimary:has(.atole-loco-gallery)::after,
body.home #produkteGridPrimary:has(.atole-loco-gallery) .gold-light-overlay {
    border-radius: inherit;
}

body.home #produkteGridPrimary:has(.atole-loco-gallery)::before,
body.home #produkteGridPrimary:has(.atole-loco-gallery) .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) 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) right / var(--gallery-frame-width) 100% no-repeat;
}

body.home #produkteGridPrimary:has(.atole-loco-gallery)::after,
body.home #produkteGridPrimary:has(.atole-loco-gallery) .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;
}

h1{
    font-size: 5vh;
    margin: 2%;
    transition: font-size 0.25s ease;
    font-family: "legitima", serif;
    font-weight: 500;
    font-style: normal;
}
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;
}

.atole-live-intro {
    width: 100%;
    box-sizing: border-box;
}

.atole-video-embed {
    --atole-video-frame-width: clamp(0.12rem, 0.25vw, 0.2rem);
    width: min(
        calc(100% - clamp(1rem, 4vw, 3rem)),
        calc(var(--atole-video-fit-height, 80vh) * 16 / 9)
    );
    max-width: none;
    aspect-ratio: 16 / 9;
    max-height: var(--atole-video-fit-height, 80vh);
    margin: clamp(1.2rem, 3vh, 2.4rem) auto 0;
    border: var(--atole-video-frame-width) solid transparent;
    border-radius: 0.45rem;
    background:
        linear-gradient(#050505, #050505) padding-box,
        var(--ee-gallery-gold-gradient) border-box;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
}

.atole-video-embed iframe {
    display: block;
    width: calc(100% + (var(--atole-video-frame-width) * 2));
    height: calc(100% + (var(--atole-video-frame-width) * 2));
    border: 0;
    position: absolute;
    inset: calc(var(--atole-video-frame-width) * -1);
    z-index: 1;
    pointer-events: none;
}

.atole-video-embed.is-video-interactive {
    cursor: auto;
}

.atole-video-embed.is-video-interactive iframe {
    pointer-events: auto;
}

.atole-video-embed::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    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));
    -webkit-mask:
        linear-gradient(#000 0 0) top / 100% var(--atole-video-frame-width) no-repeat,
        linear-gradient(#000 0 0) bottom / 100% var(--atole-video-frame-width) no-repeat,
        linear-gradient(#000 0 0) left / var(--atole-video-frame-width) 100% no-repeat,
        linear-gradient(#000 0 0) right / var(--atole-video-frame-width) 100% no-repeat;
    mask:
        linear-gradient(#000 0 0) top / 100% var(--atole-video-frame-width) no-repeat,
        linear-gradient(#000 0 0) bottom / 100% var(--atole-video-frame-width) no-repeat,
        linear-gradient(#000 0 0) left / var(--atole-video-frame-width) 100% no-repeat,
        linear-gradient(#000 0 0) right / var(--atole-video-frame-width) 100% no-repeat;
}

.atole-booking-button {
    --atole-booking-frame-width: clamp(0.12rem, 0.25vw, 0.2rem);
    --atole-booking-bg: #fff;
    --atole-booking-color: #050505;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.45rem, 1vw, 0.8rem);
    margin: clamp(1rem, 2.5vh, 2rem) auto;
    padding: clamp(0.55rem, 1.4vh, 0.85rem) clamp(1rem, 2.6vw, 1.8rem);
    border: var(--atole-booking-frame-width) solid transparent;
    border-radius: 0.35rem;
    background:
        linear-gradient(var(--atole-booking-bg), var(--atole-booking-bg)) padding-box,
        var(--ee-gallery-gold-gradient) border-box;
    color: var(--atole-booking-color);
    font-family: "legitima", serif;
    font-size: clamp(1.05rem, 2.2vh, 1.45rem);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    isolation: isolate;
}

.atole-booking-button:hover,
.atole-booking-button:focus-visible {
    --atole-booking-bg: #800020;
    --atole-booking-color: #fff;
    background:
        linear-gradient(var(--atole-booking-bg), var(--atole-booking-bg)) padding-box,
        var(--ee-gallery-gold-gradient) border-box;
    outline: none;
}

.atole-booking-button > span {
    position: relative;
    z-index: 2;
}

.atole-booking-button::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    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));
    -webkit-mask:
        linear-gradient(#000 0 0) top / 100% var(--atole-booking-frame-width) no-repeat,
        linear-gradient(#000 0 0) bottom / 100% var(--atole-booking-frame-width) no-repeat,
        linear-gradient(#000 0 0) left / var(--atole-booking-frame-width) 100% no-repeat,
        linear-gradient(#000 0 0) right / var(--atole-booking-frame-width) 100% no-repeat;
    mask:
        linear-gradient(#000 0 0) top / 100% var(--atole-booking-frame-width) no-repeat,
        linear-gradient(#000 0 0) bottom / 100% var(--atole-booking-frame-width) no-repeat,
        linear-gradient(#000 0 0) left / var(--atole-booking-frame-width) 100% no-repeat,
        linear-gradient(#000 0 0) right / var(--atole-booking-frame-width) 100% no-repeat;
}

.atole-pdf-mark {
    --atole-pdf-frame-width: 0.12em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.35em;
    min-height: 1.55em;
    padding: 0 0.25em;
    border: var(--atole-pdf-frame-width) solid currentColor;
    border-radius: 0.18em;
    font-size: 0.72em;
    letter-spacing: 0.04em;
    line-height: 1;
    overflow: hidden;
    background: transparent;
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.atole-pdf-mark:hover,
.atole-booking-button:focus-visible .atole-pdf-mark {
    background: var(--ee-gold-laser-core-gradient), var(--ee-gold-sweep-gradient), var(--ee-gallery-gold-gradient);
    background-size: 100vw 100vh, 100vw 100vh, 100vw 100vh;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-color: transparent;
    color: #050505;
}

body.home footer {
    padding-top: 0 !important;
}

/* 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);
    }
}

/* Atole Loco: photo background across all header sizes. */
header.atole-photo-header {
    background-image: url("BILDER/ADOBE.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.atole-story { box-sizing: border-box; width: min(980px, calc(100% - 40px)); margin: 24px auto 36px; text-align: left; padding: clamp(20px, 3vw, 40px); background: #292018; color: #fff3d6; border-right: 2px solid #edbd3c; }
.atole-story #intro, .atole-story > p:not(.atole-kicker) { margin: 16px 0; font: 400 clamp(17px, 1.8vw, 21px)/1.8 Arial,sans-serif; color: #fff3d6; text-align: left; }
.atole-kicker { font: 700 14px/1.6 Arial,sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #f0c84d; }
.atole-story-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.atole-story-facts span { padding: 8px 12px; border: 1px solid #8c7035; color: #f0c84d; font: 400 14px/1.5 Arial,sans-serif; }
.atole-discover { width: min(1180px, calc(100% - 32px)); margin: 60px auto; text-align: left; min-width: 0; }
.atole-discover-heading { max-width: 720px; margin-bottom: 32px; }
.atole-discover-heading .atole-kicker { color: #800020; }
.atole-discover h2 { margin: 12px 0 24px; color: #800020; font-size: clamp(30px, 4vw, 50px); line-height: 1.15; }
.atole-discover p:not(.atole-kicker) { font: 400 17px/1.8 Arial,sans-serif; }
.atole-discover-heading p { color: #352923; }
.atole-discover-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.atole-music-card, .atole-social-card { min-width: 0; background: #292018; color: #fff3d6; border-top: 2px solid #edbd3c; }
.atole-music-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #211a14; }
.atole-music-card > div, .atole-social-card { padding: clamp(22px, 3vw, 38px); }
.atole-discover h3 { margin: 14px 0 20px; font-size: clamp(26px, 3vw, 36px); color: #f0c84d; line-height: 1.2; }
.atole-discover-grid a { display: block; width: fit-content; max-width: 100%; margin-top: 20px; padding: 10px 0; color: #f0c84d; font: 700 16px/1.6 Arial,sans-serif; text-underline-offset: 5px; overflow-wrap: anywhere; }
.atole-social-card hr { border: 0; border-top: 1px solid #8c7035; margin: 36px 0; }
.atole-discover .atole-source { color: #615142; font-size: 14px; margin-top: 24px; }
.atole-source a { color: #800020; }
.atole-discover a:focus-visible { outline: 3px solid #edbd3c; outline-offset: 4px; }
@media (max-width: 700px) { .atole-discover-grid { grid-template-columns: minmax(0, 1fr); } }

/* Native document scrolling for the entire band page. */
html { height: auto; min-height: 100%; overflow-x: clip; overflow-y: auto; overscroll-behavior-y: auto; scroll-snap-type: none; }
body.home { display: block; width: 100%; height: auto; max-height: none; overflow: visible; overscroll-behavior-y: auto; }
body.home main { height: auto; max-height: none; overflow: visible; }
body.home main > * { flex-shrink: 0; }

.atole-live-intro .headline-row h1 {
    font-family: "macula-solid", sans-serif;
    font-weight: 500;
    font-style: normal;
    line-height: 1.2;
}

/* Atole Loco navigation typography. */
header.atole-photo-header #menu,
header.atole-photo-header #menu a {
    font-family: "macula-line", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Quieter, responsive navigation text. */
header.atole-photo-header #menu,
header.atole-photo-header #menu a {
    font-size: clamp(16px, 1.45vw, 21px) !important;
    line-height: 1.6;
}


/* A playful sporting rhythm, only while the Atole menu is closed. */
header.atole-photo-header #hamburg:not(:checked) + .hamburg .line {
    width: 58px !important;
    height: 6px !important;
    border-radius: 999px;
    background: linear-gradient(100deg, #800020, #d24939 65%, #f0c84d) !important;
    box-shadow: 0 1px 0 #ffe8a2, 0 3px 8px #0005;
    transform: skewX(-18deg);
    transition: transform .2s ease, box-shadow .2s ease;
}
header.atole-photo-header #hamburg:not(:checked) + .hamburg .line:nth-child(1) { transform: translateX(5px) skewX(-18deg); }
header.atole-photo-header #hamburg:not(:checked) + .hamburg .line:nth-child(2) { width: 46px !important; transform: translateX(-5px) skewX(-18deg); }
header.atole-photo-header #hamburg:not(:checked) + .hamburg .line:nth-child(3) { width: 52px !important; transform: translateX(2px) skewX(-18deg); }
@media (hover: hover) {
    header.atole-photo-header #hamburg:not(:checked) + .hamburg:hover .line {
        transform: translateX(0) skewX(-10deg);
        box-shadow: 0 1px 0 #ffe8a2, 0 0 12px #f0c84d88;
    }
}
@media (prefers-reduced-motion: reduce) {
    header.atole-photo-header #hamburg:not(:checked) + .hamburg .line { transition: none; }
}

/* A gilt concert-title plaque, in keeping with the site's ornaments. */
.atole-live-intro .headline-row {
    position: relative;
    box-sizing: border-box;
    width: min(980px, calc(100% - 40px));
    margin: clamp(28px, 5vw, 56px) auto 24px;
    padding: clamp(24px, 4vw, 42px) clamp(16px, 3vw, 30px);
    gap: clamp(12px, 2vw, 24px);
    border-top: 1px solid #b58120;
    border-bottom: 1px solid #b58120;
    background: radial-gradient(ellipse at center, #edbd3c16, transparent 75%), #fffaf0;
}
.atole-live-intro .headline-row::before {
    content: "";
    position: absolute;
    inset: 7px;
    pointer-events: none;
    background:
        linear-gradient(#b58120, #b58120) left top / 24px 1px no-repeat,
        linear-gradient(#b58120, #b58120) left top / 1px 14px no-repeat,
        linear-gradient(#b58120, #b58120) right top / 24px 1px no-repeat,
        linear-gradient(#b58120, #b58120) right top / 1px 14px no-repeat,
        linear-gradient(#b58120, #b58120) left bottom / 24px 1px no-repeat,
        linear-gradient(#b58120, #b58120) left bottom / 1px 14px no-repeat,
        linear-gradient(#b58120, #b58120) right bottom / 24px 1px no-repeat,
        linear-gradient(#b58120, #b58120) right bottom / 1px 14px no-repeat;
}
.atole-live-intro .headline-row::after {
    content: "◆";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 14px;
    background: #fffaf0;
    color: #b58120;
    font: 16px/18px Georgia, serif;
    pointer-events: none;
}
.atole-live-intro .headline-row h1 {
    min-width: 0;
    color: #800020;
    font-size: clamp(25px, 4vw, 50px);
    text-align: center;
    overflow-wrap: anywhere;
    text-shadow: 0 1px 0 #f9df8a;
}
.atole-live-intro .headline-row .headline-logo {
    width: clamp(36px, 7vw, 72px);
    height: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px #b5812026);
}

/* A closer transition from the photo gallery into the live introduction. */
body.home .produkte-viewport-primary { min-height: 0; padding-bottom: 0; }
.atole-live-intro .headline-row { margin-top: 24px; margin-bottom: 16px; }
.atole-live-intro .atole-story { margin-top: 0; }
@media (max-width: 700px) {
    .atole-live-intro .headline-row { margin-top: 16px; margin-bottom: 12px; }
}
