/* V4 – gezielte Überarbeitung nach Yvonnes Bild- und Textkritik, 4.11.2026. */
.logo-run{display:flex;width:max-content;animation:logos-laufen 38s linear infinite}
.logo-group{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0 12px}
.logo-group .ref-logo{width:185px;min-width:185px;height:100px;min-height:100px;padding:18px;background:#fff;border-radius:4px;display:flex;align-items:center;justify-content:center}
.logo-group img{width:auto;max-width:100%;height:auto;max-height:64px;object-fit:contain}
.logo-run.is-paused,.refs-mask:hover .logo-run{animation-play-state:paused}
.logo-run-actions{display:flex;gap:24px;align-items:center;justify-content:center;margin-top:22px}
.logo-run-actions .more{margin-top:0}
.text-control{font:inherit;font-size:.9rem;background:none;color:var(--stein);border:0;text-decoration:underline;text-underline-offset:5px;cursor:pointer}
@keyframes logos-laufen{to{transform:translateX(-50%)}}
.home-work-gallery .pic:first-child img{object-position:50% 43%}
.home-work-gallery .pic:nth-child(2) img{object-position:50% 35%}
.home-work-gallery .pic:nth-child(3) img{object-position:50% 48%}
.home-work-gallery .pic:last-child img{object-position:50% 42%}
.home-machine-photo{width:100%;max-width:390px;justify-self:center;border-radius:4px;overflow:hidden}
.home-machine-photo img{width:100%;height:auto;display:block}
.page-index .automaten-standortvideo{max-width:440px}
.machine-video{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.automaten-hero h1{font-size:clamp(2.25rem,4.2vw,4.5rem);max-width:19ch}
.partner-story{max-width:790px;margin-inline:auto;display:flex;flex-direction:column;gap:24px}
.partner-story h2{margin:0}
.partner-story p{max-width:68ch}
.partner-story .note{color:var(--stein)}
.machine-bouquet-detail{width:100%;max-width:430px;aspect-ratio:4/5;overflow:hidden;border-radius:4px;position:relative;justify-self:center}
.machine-bouquet-detail img{position:absolute;left:0;top:0;width:112%;height:auto;max-width:none;filter:brightness(1.035)}
.purchase-how{padding-top:20px;border-top:1px solid var(--linie);color:var(--elfenbein)}
.machine-purchase{align-items:start}
.machine-purchase .automaten-standortvideo{max-width:500px}
.editorial-intro{max-width:850px;margin-inline:auto;display:flex;flex-direction:column;gap:26px}
.editorial-intro p{max-width:64ch}
.sub .page-hero.has-img.events-hero .poster{filter:brightness(1.12);object-position:var(--pos,50% 55%)}
.sub .page-hero.has-img.events-hero::after{background:linear-gradient(90deg,rgba(11,18,20,.96) 0%,rgba(11,18,20,.84) 32%,rgba(11,18,20,.17) 64%,rgba(11,18,20,.04) 100%),linear-gradient(0deg,var(--nacht),transparent 26%)}
.gallery-open img{filter:var(--photo-light,none);object-position:var(--photo-pos,50% 50%)}
.gallery-open:has(img[src*="munster"]){--photo-pos:50% 80%;--photo-light:brightness(1.1) contrast(.96)}
.gallery-open:has(img[src*="sms-group"]){--photo-pos:50% 65%}
.gallery-open:has(img[src*="staatskanzlei"]){--photo-pos:50% 46%;--photo-light:brightness(1.06)}
.gallery-open:has(img[src*="weihnachtsfoyer-fertig"]){--photo-pos:50% 25%;--photo-light:brightness(1.07) contrast(.96)}
.gallery-open:has(img[src*="riva"]){--photo-light:brightness(1.1) contrast(.96)}
.gallery-open:has(img[src*="20260128"]){--photo-light:brightness(1.08) contrast(.96)}
#gallery-dialog img{filter:var(--lightbox-light,none)}
.quote-title{font-size:clamp(2rem,3.3vw,3rem);line-height:1.2;font-style:italic;font-weight:400}
.portrait-caption{font-family:var(--f-display);font-size:clamp(1.35rem,2.1vw,1.8rem);line-height:1.3;max-width:29ch;color:var(--elfenbein)}
.signature-examples{gap:18px}
.signature-examples figure{aspect-ratio:1;align-self:center}
.signature-examples img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover}
.signature-yellow img{object-position:50% 0%;filter:brightness(1.05) contrast(.97)}
.signature-calla img{object-position:50% 60%;filter:brightness(1.18) contrast(.94)}
.interview-heading{max-width:760px}
.interview-pause{grid-column:1/-1;max-width:450px;width:100%;margin:20px auto 24px}
.interview-pause img{width:100%;height:auto;border-radius:4px}
.interview-pause figcaption{font-size:.95rem;color:var(--stein);margin-top:12px;text-align:center}
.sub .page-hero.has-img.reference-hero .poster{left:39%;width:61%;object-position:50% 50%;mask-image:none;-webkit-mask-image:none}
.sub .page-hero.has-img.reference-hero::after{background:linear-gradient(90deg,var(--nacht) 0%,rgba(11,18,20,.96) 28%,rgba(11,18,20,.62) 44%,rgba(11,18,20,.04) 62%,transparent 100%),linear-gradient(0deg,var(--nacht),transparent 20%)}
.reference-hero h1{max-width:16ch}
.reference-hero .lead{max-width:35ch}
.names-subtitle{margin-top:24px;font-family:var(--f-text);font-weight:400;color:var(--stein)}
.reference-logos-secondary{margin-top:52px;padding-top:30px;border-top:1px solid var(--linie)}
.reference-logos-secondary h3{font-family:var(--f-text);font-weight:400;font-size:1.1rem;color:var(--stein)}
.reference-logos-secondary .ref-grid{background:none;padding:0;margin-top:22px;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}
.reference-logos-secondary .ref-logo{min-height:86px;padding:14px}
.reference-logos-secondary img{max-height:45px;max-width:100%}
.page-events .cta-band{background:linear-gradient(115deg,#203b32,#335747)}
.page-lutz-smits .cta-band{background:linear-gradient(115deg,#3c2c24,#604636)}
.page-referenzen .cta-band{background:linear-gradient(115deg,#3c2028,#60313f)}
.page-kontakt .hero .wrap{padding-bottom:50px}
@media(max-width:880px){.page-index .automaten-standortvideo{max-width:500px}.reference-logos-secondary .ref-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){
 .sub .page-hero.has-img.events-hero .poster{left:0;width:100%;object-position:60% 22%}
 .sub .page-hero.has-img.events-hero::after{background:linear-gradient(0deg,rgba(11,18,20,.98) 0%,rgba(11,18,20,.88) 35%,rgba(11,18,20,.2) 68%,rgba(11,18,20,.02) 100%)}
 .sub .page-hero.has-img.events-hero .wrap{padding-top:clamp(230px,60vw,320px)}
 .sub .page-hero.has-img.reference-hero .poster{left:0;width:100%;height:64%;object-position:50% 50%}
 .sub .page-hero.has-img.reference-hero::after{background:linear-gradient(0deg,var(--nacht) 0%,rgba(11,18,20,.99) 30%,rgba(11,18,20,.62) 48%,rgba(11,18,20,.02) 72%,transparent 100%)}
 .sub .page-hero.has-img.reference-hero .wrap{padding-top:clamp(270px,68vw,380px)}
 .reference-hero h1{font-size:clamp(2.3rem,7.5vw,3.2rem);max-width:16ch}
}
@media(max-width:560px){.logo-group{gap:14px;padding-inline:7px}.logo-group .ref-logo{width:150px;min-width:150px;height:86px;min-height:86px}.logo-run-actions{gap:18px;flex-wrap:wrap}.automaten-hero h1{font-size:2.25rem}.signature-examples{gap:12px}.reference-logos-secondary .ref-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-logos-secondary .ref-logo:last-child{grid-column:1/-1}.interview-pause{max-width:360px;margin-block:8px 18px}}
@media(prefers-reduced-motion:reduce){.logo-run{animation:none}.refs-mask{overflow-x:auto;mask-image:none;-webkit-mask-image:none}.logo-group[aria-hidden="true"]{display:none}#logo-run-toggle{display:none}}

.page-index #events,.page-index #referenzen,.page-index #neuss,.page-lutz-smits #h-haltung{scroll-margin-top:115px}
#floristik{scroll-margin-top:180px}
@media(max-width:560px){#floristik{scroll-margin-top:145px}}

#gallery-dialog img[src*="weihnachtsfoyer-fertig"]{width:min(100%,650px);height:auto;aspect-ratio:1;object-fit:cover;object-position:50% 26%}

#lutz-im-interview{scroll-margin-top:110px}
@media(min-width:701px){.sub .page-hero.has-img.reference-hero .poster{-webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.35) 14%,#000 42%);mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.35) 14%,#000 42%)}}
footer.foot .grid.foot-slim{grid-template-columns:1fr auto;align-items:end}
footer.foot .addr .nw{white-space:nowrap;display:inline;padding:0}
footer.foot .foot-legal{display:flex;gap:28px}
@media(max-width:560px){footer.foot .grid.foot-slim{grid-template-columns:1fr;align-items:start}}
@media(max-width:360px){footer.foot .addr span.nw{white-space:normal}footer.foot .addr{font-size:.92em}}
.page-kontakt dl,.page-kontakt dd{min-width:0;overflow-wrap:anywhere}
header.top .logo img{height:58px;transition:height .3s ease}
header.top .wrap{transition:padding .3s ease}
header.top.is-compact .logo img{height:40px}
header.top.is-compact .wrap{padding-block:10px}
@media(max-width:700px){header.top .logo img{height:44px}header.top.is-compact .logo img{height:36px}}
@media(prefers-reduced-motion:reduce){header.top .logo img,header.top .wrap{transition:none}}
@media(max-width:700px){.page-index .hero::after,.hero::after{background:linear-gradient(0deg,rgba(11,18,20,.97) 0%,rgba(11,18,20,.88) 42%,rgba(11,18,20,.62) 72%,rgba(11,18,20,.45) 100%)}}
/* 24.11. Logo und Menü größer */
header.top .logo img{height:72px}
header.top.is-compact .logo img{height:48px}
nav.main{font-size:1.125rem;gap:30px}
nav.main a{color:rgba(239,230,210,.86);font-weight:500}
header.top .tel{font-size:1.125rem}
@media(max-width:700px){header.top .logo img{height:52px}header.top.is-compact .logo img{height:40px}}
@media(max-width:700px){.menu-btn{font-size:1.0625rem;padding:10px 18px}}
@media(max-width:1179px){header.top .tel{display:none}}
.logo-run{animation-duration:48s}
.ds-check{display:flex;flex-direction:row;gap:12px;align-items:flex-start;font-size:.95rem;line-height:1.5;color:var(--stein);cursor:pointer}
.ds-check input{width:20px;height:20px;min-width:20px;margin-top:2px;accent-color:var(--messing)}
.ds-check a{color:var(--messing)}
.reference-groups>*{min-width:0}
.reference-group li,.reference-group p,.reference-group h3{overflow-wrap:break-word}
h1,h2,h3{overflow-wrap:break-word}
@media(max-width:420px){h1,h2,h3,.legal p{hyphens:auto;-webkit-hyphens:auto}}
/* Räume: fünf Bilder im Mosaik */
.gallery.raeume-5{grid-template-columns:1.15fr 1fr 1fr;grid-template-rows:240px 240px}
.gallery.raeume-5 .a{grid-column:1;grid-row:1/3}
.gallery.raeume-5 .b{grid-column:2;grid-row:1}
.gallery.raeume-5 .c{grid-column:3;grid-row:1}
.gallery.raeume-5 .d{grid-column:2;grid-row:2}
.gallery.raeume-5 .e{grid-column:3;grid-row:2}
.home-work-gallery.raeume-5 .pic img{object-position:50% 50%}
.home-work-gallery.raeume-5 .a img{object-position:50% 46%}
.home-work-gallery.raeume-5 .d img{object-position:40% 50%}
.home-work-gallery.raeume-5 .e img{object-position:50% 42%}
@media(max-width:760px){
 .gallery.raeume-5{grid-template-columns:1fr 1fr;grid-template-rows:260px 170px 170px}
 .gallery.raeume-5 .a{grid-column:1/3;grid-row:1}
 .gallery.raeume-5 .b{grid-column:1;grid-row:2}
 .gallery.raeume-5 .c{grid-column:2;grid-row:2}
 .gallery.raeume-5 .d{grid-column:1;grid-row:3}
 .gallery.raeume-5 .e{grid-column:2;grid-row:3}
}
.reference-logos-band{margin-top:40px}
.reference-logos-band h3{margin-bottom:6px}
.reference-logos-band .refs{padding-block:18px 0}
.logo-group .ref-logo img,.logo-group .ref-logo.long img,.logo-group .ref-logo.wide img,.logo-group .ref-logo.mid img{max-width:100%;max-height:64px}
.logo-group .ref-logo.square img{max-height:64px}
.legal p,.legal li,.legal dd{overflow-wrap:break-word}
/* Sprungmarken nicht unter die Kopfleiste schieben */
[id]{scroll-margin-top:92px}
@media(max-width:700px){[id]{scroll-margin-top:84px}}
