/* PST: exact original CSS order; no minification. */
/* Launch accessibility and resilient layout */
:focus-visible{outline:3px solid #e7ae43;outline-offset:5px}
img{max-width:100%} .contact-form fieldset{min-width:0}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Shared paragraph and action rhythm. */
:root{--copy-gap:24px;--copy-action-gap:28px}
main p:not(.eyebrow)+p:not(.eyebrow){margin-top:var(--copy-gap)}
main p:has(+ :is(.service-button,.hero-project,.final-primary,.text-link,.pst-clear-button,.button)){margin-bottom:0}
main p+ :is(.service-button,.hero-project,.final-primary,.text-link,.pst-clear-button,.button){margin-top:var(--copy-action-gap)}
.service-page #naturstein-details .service-media-copy>.service-button{margin-top:var(--copy-action-gap)}
/* Align introductory copy to its actual content column. */
.service-page .watertech-intro{grid-template-columns:1fr 1fr;column-gap:clamp(50px,7vw,115px)}
.service-page .watertech-intro>p{justify-self:start;max-width:420px;text-align:left}
@media(min-width:701px){
 .service-page .pool-newbuild-intro>div:last-child{padding-top:42px}
}
@media(min-width:701px) and (max-width:1000px){.service-page .watertech-intro{column-gap:45px}}
@media(max-width:700px){.service-page .watertech-intro{grid-template-columns:1fr}}
/* A continuous hover hit area bridges the dropdown's visual gap. */
.services-panel::before{content:"";position:absolute;left:0;right:0;top:-15px;height:15px}
/* Restore the original blue image shading. */
#leistungen .service-card .image-shade{background:linear-gradient(rgba(5,47,69,.25),transparent 35%,rgba(5,47,69,.79))}
#leistungen .care-service.poolservice-photo:after{background:linear-gradient(180deg,rgba(9,39,47,.3),rgba(9,39,47,.05) 30%,rgba(9,39,47,.88))}
/* Geometric close icon shares the label's center instead of a font baseline. */
.gallery-close{line-height:1.5;align-items:center}
.gallery-close svg{display:block;width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}

.gallery-close .gallery-close-label{font-size:inherit;line-height:inherit}
/* A quieter homepage title, preserving its deliberate two-line composition. */
.pst-new-hero h1{font-size:clamp(47px,4.9vw,77px)}
@media(max-width:600px){.pst-new-hero h1{font-size:clamp(35px,8.2vw,47px)}}

/* Match the established service-page hero type system. */
.pst-new-hero h1{line-height:1.12;letter-spacing:-.05em}
/* Full-row feedback without changing the submenu's resting appearance. */
.services-panel a{transition:background .2s ease;isolation:isolate}
.services-panel a::after{content:"";position:absolute;inset:0 -14px;z-index:-1;background:transparent;transition:background .2s ease;pointer-events:none}
.services-panel a:is(:hover,:focus-visible)::after{background:rgba(255,255,255,.08)}
/* Balanced card widths and one identical heading/copy/action grid. */
@media(min-width:801px){#leistungen .service-grid{grid-template-columns:1.18fr 1fr .92fr}}
#leistungen .service-card .card-bottom{margin-top:auto;display:grid!important;grid-template-columns:minmax(0,1fr) 54px;column-gap:18px!important;row-gap:0!important;align-items:center!important;width:100%;flex-wrap:nowrap!important}
#leistungen .service-card .card-bottom>div{display:contents}
#leistungen .service-card .card-bottom h3{grid-column:1/-1;grid-row:1}
#leistungen .service-card .card-bottom p{overflow-wrap:anywhere;grid-column:1;grid-row:2;max-width:none;margin:18px 0 0;line-height:1.5}
#leistungen .service-card .card-bottom .round{grid-column:2;grid-row:2;align-self:center;margin:18px 0 0!important;width:54px;height:54px;display:flex;align-items:center;justify-content:center}
@media(max-width:800px){#leistungen .service-card .card-bottom{grid-template-columns:minmax(0,1fr) 48px;column-gap:16px!important}#leistungen .service-card .card-bottom .round{width:48px;height:48px}}
.services-panel a{position:relative}
#leistungen .service-card .card-bottom h3{min-height:2.3em}

/* Move the copy as a unit so H1 is centered between the header CTA and footer rule. */
.pst-fullscreen{max-height:none}
.pst-fullscreen .pst-hero-copy{transform:translateY(var(--hero-center-shift,0px))}
.pst-fullscreen .pst-hero-copy{transition-property:opacity}

/* Final editorial layout: readable copy width and explicit action rhythm. */
.care-page .watertech-intro>p{max-width:none;width:100%;justify-self:stretch}
.care-page .service-dark .service-section-head{display:block}
.care-page .service-dark .service-section-head>p{max-width:760px;margin:28px 0 0;text-align:left}
.service-page main p+ :is(.service-button,.hero-project,.text-link,.pst-clear-button,.button){margin-top:32px!important}
.service-page .service-split .service-button{margin-top:32px!important}
@media(min-width:1001px){.care-page .watertech-intro{grid-template-columns:1fr 1fr;column-gap:60px}}

.care-page .service-dark .service-section-head>p{justify-self:start}

