/* Product-specific composition on the shared HXA / ONEO product layer. */
.hxa-sparo .sparo-hero{position:relative;overflow:hidden}
.hxa-sparo .sparo-hero .centered-wrapper-background{background-position:75% center;background-size:cover;opacity:1;mask-image:linear-gradient(90deg,transparent 20%,#000 65%);-webkit-mask-image:linear-gradient(90deg,transparent 20%,#000 65%);}
.hxa-sparo .sparo-hero .slider-callout{position:relative;max-width:610px;padding:36px;background:linear-gradient(90deg,rgba(5,5,5,.82),rgba(5,5,5,.58) 65%,rgba(5,5,5,.18))}
.hxa-sparo .sparo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 32px;margin:24px 0 0}
.hxa-sparo .sparo-grid:before,.hxa-sparo .sparo-grid:after,.hxa-sparo .sparo-split:before,.hxa-sparo .sparo-split:after{display:none}
.hxa-sparo .sparo-grid>.rs-column{float:none;width:auto;margin:0;display:grid;grid-row:span 2;grid-template-rows:subgrid;gap:18px;min-width:0}
.hxa-sparo .sparo-grid h3,.hxa-sparo .sparo-grid p{margin:0}
.hxa-sparo #integration .sparo-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:40px}
.hxa-sparo .sparo-split{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;margin:0}
.hxa-sparo .sparo-split>.rs-column{float:none;width:auto;margin:0;min-width:0}
.hxa-sparo .sparo-screen{margin:0;justify-self:center;text-align:center}
.hxa-sparo .sparo-screen img{width:240px;max-width:100%;height:auto}
.hxa-sparo .sparo-screen figcaption{margin-top:16px;font-size:12px;color:#9a9a94}
.hxa-sparo .sparo-text{max-width:850px}
.hxa-sparo .sparo-downloads{margin-top:36px;display:flex;gap:16px;flex-wrap:wrap;align-items:center}
.hxa-sparo .sparo-downloads p{margin:0 12px 0 0}
.hxa-sparo .sparo-downloads img{object-fit:contain;display:block}
.hxa-sparo h1,.hxa-sparo h2,.hxa-sparo h3{overflow-wrap:anywhere}
@media(max-width:900px){.hxa-sparo .sparo-grid,.hxa-sparo #integration .sparo-grid{grid-template-columns:1fr;gap:28px}.hxa-sparo .sparo-grid>.rs-column{grid-row:auto;grid-template-rows:auto;gap:12px}.hxa-sparo .sparo-split{grid-template-columns:1fr;gap:32px}.hxa-sparo .sparo-hero .slider-callout{max-width:560px}.hxa-sparo .sparo-hero .centered-wrapper-background{mask-image:linear-gradient(0deg,transparent,#000);-webkit-mask-image:linear-gradient(0deg,transparent,#000)}}
@media(max-width:599px){.hxa-sparo .sparo-hero .slider-callout{padding:24px}.hxa-sparo .sparo-downloads p{flex-basis:100%}}

/* iPhone mockup: preserve aspect ratio and blend the dark studio edges. */
.hxa-sparo #funktionen{isolation:isolate}
.hxa-sparo .sparo-screen{mix-blend-mode:lighten;max-width:100%}
.hxa-sparo .sparo-screen img{width:360px;max-width:100%;height:auto;-webkit-mask-image:linear-gradient(transparent,#000 3%,#000 97%,transparent);mask-image:linear-gradient(transparent,#000 3%,#000 97%,transparent)}

/* Keep the photographed phone in the right-hand third beside the hero copy. */
@media(min-width:901px){
.hxa-sparo .sparo-hero .centered-wrapper-background{left:28%;right:0;width:72%;background-position:55% center;background-size:cover;background-repeat:no-repeat;mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.08) 8%,rgba(0,0,0,.3) 18%,rgba(0,0,0,.65) 30%,rgba(0,0,0,.9) 42%,#000 54%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.08) 8%,rgba(0,0,0,.3) 18%,rgba(0,0,0,.65) 30%,rgba(0,0,0,.9) 42%,#000 54%);}
.hxa-sparo .sparo-hero .slider-callout{max-width:min(610px,48%)}
}

/* Original image brightness; only the intentional edge fade remains. */
.hxa-sparo main>section.sparo-hero:first-child .centered-wrapper-background{filter:none;opacity:1}

/* Sparo hero: light backing and readable copy without black overlays. */
.hxa-sparo main>section.sparo-hero{background-color:#b8b8b4;color:#171717}
.hxa-sparo .sparo-hero .slider-callout{background:transparent;color:#171717}
.hxa-sparo .sparo-hero .slider-callout h1{color:#171717}
.hxa-sparo .sparo-hero .slider-callout p,.hxa-sparo .sparo-hero .slider-callout>p:first-child{color:#333}
.hxa-sparo .sparo-hero .slider-callout p a{color:#171717}
.hxa-sparo .sparo-hero .slider-callout p a:hover{color:#e0061c}
.hxa-sparo .sparo-hero a:focus-visible{outline-color:#171717}

/* Muted mobile backing keeps copy legible without a bright rectangular panel. */
@media(max-width:900px){.hxa-sparo .sparo-hero .slider-callout{background:linear-gradient(90deg,rgba(184,184,180,.95),rgba(184,184,180,.78) 70%,rgba(184,184,180,.35))}}

/* Visible, lightly translucent hero copy panel on desktop and mobile. */
.hxa-sparo .sparo-hero .slider-callout{background:rgba(255,255,255,.84);border:1px solid rgba(255,255,255,.2)}

/* Let the hero photograph show through on phones while retaining dark text contrast. */
@media(max-width:599px){.hxa-sparo .sparo-hero .slider-callout{background:rgba(255,255,255,.76)}}

/* Actual product screenshots: preserve device proportions on the dark product canvas. */
.hxa-sparo .sparo-feature-image{margin:32px 0 0;text-align:center;min-width:0}
.hxa-sparo .sparo-feature-image img{display:block;max-width:100%;height:auto;margin:0 auto}
.hxa-sparo .sparo-feature-floor img{width:100%;mix-blend-mode:lighten}
.hxa-sparo .sparo-feature-bookings{margin:0}
.hxa-sparo .sparo-feature-bookings img{width:300px}
.hxa-sparo .sparo-feature-image figcaption{margin-top:16px;font-size:12px;color:#9a9a94}
.hxa-sparo #raumplan{isolation:isolate}
.hxa-sparo #buchungen h3{margin-top:28px}

/* iPhone housing around the unchanged booking screenshot. */
.hxa-sparo .sparo-iphone-frame{position:relative;box-sizing:border-box;width:320px;max-width:calc(100% - 12px);margin:0 auto;padding:9px;border:2px solid #72726f;border-radius:46px;background:#111;box-shadow:inset 0 0 0 2px #292929,0 20px 40px rgba(0,0,0,.35)}
.hxa-sparo .sparo-iphone-frame:before,.hxa-sparo .sparo-iphone-frame:after{content:"";position:absolute;width:3px;background:linear-gradient(90deg,#383838,#858582);border-radius:2px}
.hxa-sparo .sparo-iphone-frame:before{left:-4px;top:110px;height:44px;box-shadow:0 56px 0 #626260}
.hxa-sparo .sparo-iphone-frame:after{right:-4px;top:142px;height:68px}
.hxa-sparo .sparo-iphone-screen{position:relative;overflow:hidden;border-radius:34px;background:#fff}
.hxa-sparo .sparo-iphone-screen img{width:100%;max-width:100%;height:auto;margin:0}
.hxa-sparo .sparo-iphone-island{position:absolute;top:1.8%;left:50%;transform:translateX(-50%);width:28%;height:3.3%;border-radius:30px;background:#080808;pointer-events:none}
.hxa-sparo .sparo-iphone-island:after{content:"";position:absolute;right:12%;top:29%;width:10%;aspect-ratio:1;border-radius:50%;background:#121c2b;box-shadow:inset 0 0 2px #34425b}

/* Detail cards use the supplied screenshots, cropped only for presentation. */
/* Phone: 320px outer width minus 22px bezel; card occupies 810/850 of screen. */
.hxa-sparo .sparo-action-card{margin:20px 0 30px;width:calc((min(320px, 100% - 12px) - 22px) * 0.9529411765);max-width:100%}
.hxa-sparo .sparo-card-crop{overflow:hidden;border-radius:8px;background:#fff;position:relative}
.hxa-sparo .sparo-card-crop img{display:block;max-width:none;height:auto;margin:0}
.hxa-sparo .sparo-card-checkin{aspect-ratio:810/264}
.hxa-sparo .sparo-card-checkin img{width:104.9383%;transform:translate(-2.35294%,-27.35135%)}
/* Crisp text over the screenshot button; green sampled from the original asset. */
.hxa-sparo .sparo-checkin-label{position:absolute;right:0;bottom:1.5%;width:24%;height:27.3%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:4px;border-radius:12px 0 7px 0;background:#00dd3d;color:#fff;font-family:Inter,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:11px;font-weight:400;line-height:1;white-space:nowrap;pointer-events:none}
.hxa-sparo .sparo-iphone-screen .sparo-checkin-label{top:37.5135%;bottom:auto;right:2.7059%;width:22.5882%;height:3.8919%}
.hxa-sparo .sparo-checkin-label:before{content:"⇥";font-size:14px;font-weight:400}
.hxa-sparo .sparo-card-extend{aspect-ratio:1260/410}
.hxa-sparo .sparo-card-extend img{width:104.7619%;transform:translate(-2.27273%,-5.81395%)}
.hxa-sparo #buchungen .sparo-split{align-items:start}

/* User-supplied check-in and check-out cards; original image files retained. */
.hxa-sparo .sparo-card-checking-in{aspect-ratio:1260/410}
.hxa-sparo .sparo-card-checking-in img{width:104.7619%;transform:translate(-2.27273%,-46.23431%)}
.hxa-sparo .sparo-card-checkout{aspect-ratio:1260/408}
.hxa-sparo .sparo-card-checkout img{width:104.7619%;transform:translate(-2.27273%,-5.20607%)}

/* Two-step check-in demo: 2.5s ready, then 6s checking in. */
.hxa-sparo .sparo-sequence-images{display:grid}
.hxa-sparo .sparo-sequence-step{grid-area:1/1;min-width:0}
.hxa-sparo .sparo-sequence-pending{animation:sparo-checkin-pending 8.5s linear infinite;visibility:hidden}
.hxa-sparo .sparo-sequence-ready{animation:sparo-checkin-ready 8.5s linear infinite}
.hxa-sparo .sparo-sequence-caption{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin-top:12px;font-size:11px;line-height:1.4;color:#aaa}
.hxa-sparo .sparo-sequence-label-ready{animation:sparo-label-ready 8.5s linear infinite}
.hxa-sparo .sparo-sequence-label-pending{animation:sparo-label-pending 8.5s linear infinite}
.hxa-sparo .sparo-sequence-track{height:2px;margin-top:5px;background:#333;overflow:hidden}
.hxa-sparo .sparo-sequence-track span{display:block;width:100%;height:100%;background:#aaa;transform-origin:left;animation:sparo-checkin-progress 8.5s linear infinite}
.hxa-sparo [data-checkin-sequence] *{animation-play-state:paused}
.hxa-sparo [data-checkin-sequence][data-running="true"] *{animation-play-state:running}
@keyframes sparo-checkin-ready{0%,29.4117%{visibility:visible}29.4118%,100%{visibility:hidden}}
@keyframes sparo-checkin-pending{0%,29.4117%{visibility:hidden}29.4118%,100%{visibility:visible}}
@keyframes sparo-label-ready{0%,29.4117%{color:#f4f4f0}29.4118%,100%{color:#777}}
@keyframes sparo-label-pending{0%,29.4117%{color:#777}29.4118%,100%{color:#f4f4f0}}
@keyframes sparo-checkin-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){
.hxa-sparo [data-checkin-sequence] *{animation:none!important}
.hxa-sparo .sparo-sequence-images{gap:12px}
.hxa-sparo .sparo-sequence-step{grid-area:auto;visibility:visible}
.hxa-sparo .sparo-sequence-track{display:none}
}

/* Desktop dashboard widgets, with original proportions and aligned image rows. */
.hxa-sparo #planung .sparo-grid>.rs-column{grid-row:span 3}
.hxa-sparo .sparo-widget-stage{margin:6px 0 0;aspect-ratio:534/264;display:flex;justify-content:flex-start;align-items:start;min-width:0}
.hxa-sparo .sparo-widget-crop{overflow:hidden;border-radius:8px;background:#fff;width:100%;aspect-ratio:534/264}
.hxa-sparo .sparo-widget-crop img{display:block;max-width:none;height:auto;margin:0}
.hxa-sparo .sparo-widget-news img{width:308.42696629%;transform:translate(-33.81906497%,-37.59162304%);}
.hxa-sparo .sparo-widget-people img{width:626.23574144%;transform:translate(-66.72738312%,-37.59162304%);}
.hxa-sparo .sparo-widget-daily img{width:308.42696629%;transform:translate(-0.85003036%,-37.59162304%);}
.hxa-sparo .sparo-widget-people{width:49.25094%;aspect-ratio:263/264}
@media(max-width:900px){.hxa-sparo #planung .sparo-grid>.rs-column{grid-row:auto}.hxa-sparo .sparo-widget-stage{width:100%;max-width:534px}}

/* Desktop PWA and mobile dashboard with matching example appointments. */
.hxa-sparo .sparo-platform-views{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:48px;align-items:center;margin-top:48px}
.hxa-sparo .sparo-platform-views figure{margin:0;min-width:0}
.hxa-sparo .sparo-platform-views figcaption{margin-top:18px;color:#9a9a94;font-size:13px;text-align:left}
.hxa-sparo .sparo-desktop-frame{border:8px solid #222;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 0 0 1px #555}
.hxa-sparo .sparo-desktop-frame img{display:block;width:100%;height:auto}
.hxa-sparo .sparo-mobile-view .sparo-iphone-frame{width:260px;max-width:100%}
@media(max-width:900px){.hxa-sparo .sparo-platform-views{grid-template-columns:1fr;gap:36px}.hxa-sparo .sparo-mobile-view{max-width:260px}.hxa-sparo .sparo-mobile-view .sparo-iphone-frame{margin-left:0}}
