.hero-slides{position:absolute;inset:0;overflow:hidden}.hero-slides .hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1.6s ease;pointer-events:none}.hero-slides .hero-slide.is-active{opacity:1}.hero-slides .hero-slide:nth-child(2){object-position:55% 48%}.hero-slides .hero-slide:nth-child(3){object-position:50% 42%}.hero-bottom .hero-pause{position:absolute;right:0;bottom:39px;border:1px solid rgba(255,255,255,.5);background:rgba(15,32,45,.45);color:#fff;border-radius:2px;padding:7px 10px;font:inherit;cursor:pointer}.hero-pause span{margin-left:6px}.hero-pause:focus-visible{outline:2px solid white;outline-offset:3px}@media(max-width:700px){.hero-bottom .hero-pause{bottom:35px}.hero-pause span{font-size:9px}.hero-slides .hero-slide:nth-child(2){object-position:49% center}}
@media(prefers-reduced-motion:reduce){.hero-slides .hero-slide{transition:none}}
/* Keep the opening headline words intact on narrow screens. */
.hero h1{-webkit-hyphens:none;hyphens:none;overflow-wrap:normal;word-break:normal}
@media(max-width:400px){.hero h1{font-size:clamp(25px,8.1vw,33px)}}
/* Fallback colour correction for legacy hero layouts. */
.hero-slides .hero-slide:first-child{filter:brightness(1.18) saturate(.83) sepia(.08)}
/* Display each complete panorama, with a soft background filling the remaining space. */
.hero-slides .hero-slide{overflow:hidden;animation:none}
.hero-slides .hero-slide::before{content:"";position:absolute;inset:-24px;background-position:center;background-size:cover;filter:blur(18px) brightness(.65);transform:scale(1.05)}
.hero-slides .hero-slide:nth-child(1)::before{background-image:url('/assets/hero-zuerich.webp')}
.hero-slides .hero-slide:nth-child(2)::before{background-image:url('/assets/hero-schaffhausen.webp')}
.hero-slides .hero-slide:nth-child(3)::before{background-image:url('/assets/hero-toggenburg.webp')}
.hero-slides .hero-slide .hero-scene{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;display:block}
/* Full-bleed panoramas with a focal position for each region. */
.hero-slides .hero-slide::before{content:none}
.hero-slides .hero-slide .hero-scene{object-fit:cover}
.hero-slides .hero-slide:nth-child(1) .hero-scene{object-position:50% 0%}
.hero-slides .hero-slide:nth-child(2) .hero-scene{object-position:50% 0%}
.hero-slides .hero-slide:nth-child(3) .hero-scene{object-position:50% 15%}
@media(min-width:701px){.hero{height:clamp(520px,38vw,730px);max-height:none}}
@media(max-width:700px){.hero-slides .hero-slide:nth-child(1) .hero-scene{object-position:67% 48%}.hero-slides .hero-slide:nth-child(2) .hero-scene{object-position:48% 0%}.hero-slides .hero-slide:nth-child(3) .hero-scene{object-position:55% 15%}}

/* Minimal homepage: keep the panorama open and anchor the two actions above the region line. */
.hero-minimal .hero-copy{top:auto;left:7.5%;right:7.5%;bottom:100px;display:flex;justify-content:flex-start}
.hero-minimal .hero-actions{display:flex;flex-direction:row;align-items:center;gap:28px;margin:0;padding:12px 16px;background:rgba(235,238,238,.86);border-radius:4px;max-width:100%;box-sizing:border-box}
.hero-minimal .hero-primary{background:#37505C;color:#fff;border:1px solid #37505C}
.hero-minimal .hero-primary:hover{background:#29424e;border-color:#29424e}
.hero-minimal .hero-actions .text-link{color:#37505C;border-color:#748b95;margin:0;white-space:nowrap}
.hero-minimal .hero-actions a:focus-visible{outline:2px solid #37505C;outline-offset:4px}
.hero-minimal .hero-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:700px){
.hero-minimal .hero-copy{left:7%;right:7%;bottom:112px}
.hero-minimal .hero-actions{width:100%;max-width:430px;gap:16px;padding:12px;flex-wrap:wrap}
.hero-minimal .hero-actions a{min-height:44px;box-sizing:border-box;font-size:12px}
.hero-minimal .hero-primary{justify-content:space-between;gap:18px;padding:14px 16px;flex:1 1 150px}
.hero-minimal .hero-actions .text-link{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 4px;flex:1 1 150px}
}
/* Let the regional photographs retain their natural colours. */
.hero-minimal .hero-shade{background:linear-gradient(90deg,rgba(0,0,0,.12),rgba(0,0,0,.02)),linear-gradient(0deg,rgba(0,0,0,.30),transparent 38%)}
.hero-minimal .hero-slides .hero-slide:first-child{filter:none}

/* Experience medal balances the actions at the bottom of the opening photograph. */
.hero-minimal .hero-experience-medal{position:absolute;right:7.5%;bottom:74px;width:120px;height:auto;object-fit:contain;z-index:2}
.hero-minimal .hero-bottom .hero-pause{right:150px}
@media(max-width:700px){.hero-minimal .hero-experience-medal{width:86px;right:7%;bottom:230px}.hero-minimal .hero-bottom .hero-pause{right:0}}

.hero-minimal .hero-bottom .hero-pause{right:0;bottom:36px;width:44px;height:44px;padding:12px;display:flex;align-items:center;justify-content:center;border:0;background:transparent;box-shadow:none;border-radius:0;color:#fff;filter:drop-shadow(0 1px 3px rgba(0,0,0,.65))}
.hero-minimal .hero-bottom .hero-pause:hover{opacity:.75}
.hero-minimal .hero-bottom .hero-pause:focus-visible{outline:2px solid white;outline-offset:2px}

.hero-slides .hero-slide{transition:opacity 1.8s ease-in-out}.hero-slides .hero-slide.is-outgoing{opacity:1;z-index:1;transition:none}.hero-slides .hero-slide.is-active{z-index:2}.hero-slides{isolation:isolate}@media(prefers-reduced-motion:reduce){.hero-slides .hero-slide{transition:none}}
