/* Magic Sports: one stylesheet for every page.
   Calm by design: one width, one grid, one photo ratio (4:3), one accent (the logo's petrol), plenty of air. */

:root {
  --bg: #fbfbf9;
  --surface: #f2f3f0;
  --ink: #1d2427;
  --muted: #5a6266;
  --line: #e2e4df;
  --accent: #1b5656;
  --accent-hover: #154646;
  --radius: 8px;
  --wrap: 1120px;
  --gutter: 24px;
  --section: 112px;
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pink: #d8127e;   /* logo star */
  --teal: #009f95;   /* logo box, decorative only (too light for small text) */
}
@media (max-width: 767px) { :root { --section: 72px; --gutter: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.015em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(36px, 4.4vw, 54px); line-height: 1.1; }
h2 { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.18; }
h3 { font-size: 20px; line-height: 1.3; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.footer :focus-visible { outline-color: #fff; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 30; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 6px; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 6px; font: 500 16px/1 var(--font); text-decoration: none; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); touch-action: manipulation; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); }
.btn:active { transform: scale(.98); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--accent); text-decoration: none; }
.more::after { content: "→"; transition: transform .2s var(--ease); }
.more:hover::after { transform: translateX(3px); }
.textlink { color: var(--accent); text-underline-offset: 3px; text-decoration-color: color-mix(in oklab, var(--accent) 40%, transparent); }

/* header */
.header { position: sticky; top: 0; z-index: 20; transition: transform .45s var(--ease); background: color-mix(in oklab, var(--bg) 97%, transparent); will-change: transform; border-bottom: 1px solid var(--line); }
.header__bar { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo img { height: 48px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { position: relative; padding: 6px 0; font-size: 16px; color: var(--muted); text-decoration: none; transition: color .2s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); border-radius: 2px; }
.header .btn { min-height: 44px; padding: 0 18px; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); cursor: pointer; }
/* 8 menu items: full row from 1100px, tighter until 1439px, the burger menu below */
@media (min-width: 1100px) and (max-width: 1439px) { .header__bar { gap: 20px; } .nav { gap: 18px; } .nav a { font-size: 15px; } }
.nav a, .header .btn { white-space: nowrap; }
@media (max-width: 1099px) {
  .header__bar { gap: 12px; height: 64px; }
  .logo img { height: 36px; }
  .menu-toggle { display: grid; place-items: center; }
  .header .btn { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { display: inline-flex; margin-top: 16px; color: #fff; border: 0; }
}
@media (min-width: 1100px) { .nav .btn { display: none; } }

/* page head: words left, one photograph right */
.intro { padding: 72px 0 var(--section); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.eyebrow { margin-bottom: 16px; font-size: 15px; font-weight: 500; color: var(--accent); }
.intro h1 { margin-bottom: 20px; }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 34em; }
.intro .actions { margin-top: 32px; }
.season { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-size: 15px; color: var(--muted); }
.season__dot { width: 8px; height: 8px; border-radius: 50%; background: #2f8a57; }
.season.is-off .season__dot { background: var(--muted); }
.photo { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--surface); isolation: isolate; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--pos, 50% 50%); }

/* sections */
.section { padding: var(--section) 0; }
.section--tint { background: var(--surface); }
.section + .section:not(.section--tint) { border-top: 1px solid var(--line); }
.section--tint + .section { border-top: 0; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; margin-bottom: 56px; }
.head p { color: var(--muted); max-width: 34em; }
.head--solo { grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 720px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split--top { align-items: start; }
.prose > * + * { margin-top: 16px; }
.prose p { max-width: 36em; }
.prose h2 + p { margin-top: 20px; }

/* cards: one image ratio, one padding, one link */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.card .photo { margin-bottom: 20px; }
.card .photo img { transition: transform .5s var(--ease); }
.card:hover .photo img { transform: scale(1.03); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }
.card .more { margin-top: 16px; }

/* numbered list (services, steps) */

/* plain checklist */

/* checklist item that folds out (rental page: which skiing level fits) */

/* tags in the range */
.tags { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--muted); background: #fff; }
.tags--brands { margin: 0; gap: 12px; }
.tags--brands li { padding: 10px 20px; font-size: 17px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }

/* visit and contact */
.contact { display: grid; gap: 28px; }
.contact h3 { margin-bottom: 8px; font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.contact address { font-style: normal; font-size: 19px; line-height: 1.6; }
.contact a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--line); }
.hours { display: grid; grid-template-columns: max-content 1fr; gap: 6px 32px; margin: 0; font-size: 17px; font-variant-numeric: tabular-nums; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; }
.note { font-size: 15px; color: var(--muted); }

/* brand logos: a quiet static row on the start page */

/* brand slider (marken.html) */

/* footer */
.footer { background: var(--accent); color: #e6efed; padding: 80px 0 40px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; }
.footer__logo { display: inline-block; padding: 8px 12px; background: #fff; border-radius: 6px; }
.footer__logo img { height: 40px; width: auto; }
.footer__about { margin-top: 20px; max-width: 26em; }
.footer h2 { margin-bottom: 14px; font-size: 15px; font-weight: 500; letter-spacing: 0; color: #a9c6c2; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer address { font-style: normal; line-height: 1.7; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 14px; color: #a9c6c2; }

/* responsive */
@media (max-width: 899px) {
  .intro { padding-top: 40px; }
  .intro__grid, .split, .head { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .head { margin-bottom: 40px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  
  
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  
}
@media (max-width: 599px) {
  body { font-size: 16px; }
  .lead { font-size: 18px; }
  
  
  
  
  
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
.photo img[src*="f179978142"] { transform: scale(1.04); }

/* brand overview (marken.html): grouped, every brand with logo, name and one line */

.brandgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.brand { display: flex; flex-direction: column; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.brand__logo { display: grid; place-items: center; height: 72px; margin-bottom: 16px; }
.brand__word { font-size: 22px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.brand__logo img { max-height: 56px; max-width: 70%; width: auto; object-fit: contain; }
.brand h4 { margin: 0 0 4px; font-size: 17px; font-weight: 500; }
.brand p { font-size: 15px; line-height: 1.55; color: var(--muted); }
@media (max-width: 899px) { .brandgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .brand { padding: 16px; } }
@media (max-width: 399px) { .brandgrid { grid-template-columns: minmax(0, 1fr); } }

/* start page: a slow, endless band of all brand logos (pauses on hover, focus and with the button) */
.marquee__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.marquee__list { display: flex; gap: 16px; margin: 0; padding: 0 16px 0 0; list-style: none; }
.marquee__list li { display: grid; place-items: center; width: 168px; height: 96px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.marquee__word { font-size: 19px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: color .3s var(--ease); }
.marquee__list li:hover .marquee__word { color: var(--ink); }
.marquee__list img { max-height: 48px; max-width: 100%; width: auto; filter: grayscale(1); opacity: .7; transition: filter .3s var(--ease), opacity .3s var(--ease); }
.marquee__list li:hover img { filter: none; opacity: 1; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; }

@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 599px) { .marquee__list li { width: 128px; height: 76px; padding: 14px; } .marquee__list img { max-height: 38px; } .marquee__track { animation-duration: 70s; } }
/* reduced motion: no movement, the logos become a row you can scroll yourself */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee__list[aria-hidden="true"] { display: none; }
}

/* logo band, script-driven: arrows left and right, the logo in the middle grows and takes its colour */
.marquee__row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 16px; align-items: center; }
.marquee__viewport { padding: 14px 0; }
.marquee__track { animation: none; will-change: transform; }
.marquee__list li { --t: 0; transform: scale(calc(.86 + .18 * var(--t))); border-color: color-mix(in oklab, var(--accent) calc(var(--t) * 100%), var(--line)); box-shadow: 0 calc(var(--t) * 10px) calc(var(--t) * 24px) -12px rgba(29, 36, 39, calc(var(--t) * .35)); transition: none; }
.marquee__list img { filter: grayscale(calc(1 - var(--t))); opacity: calc(.55 + .45 * var(--t)); transition: none; }
.marquee__list li:hover img { filter: grayscale(calc(1 - var(--t))); opacity: calc(.55 + .45 * var(--t)); }
.marquee__word, .marquee__list li:hover .marquee__word { color: var(--ink); opacity: calc(.55 + .45 * var(--t)); transition: none; }
.marquee__arrow { width: 48px; height: 48px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); cursor: pointer; transition: border-color .2s var(--ease), transform .15s var(--ease); touch-action: manipulation; }
.marquee__arrow:hover { border-color: var(--ink); }
.marquee__arrow:active { transform: scale(.94); }
.marquee__arrow svg { width: 18px; height: 18px; }
.marquee__name { margin-top: 12px; text-align: center; font-size: 17px; font-weight: 500; min-height: 1.6em; transition: opacity .25s var(--ease); }
.marquee__name.is-fading { opacity: 0; }
@media (max-width: 599px) {
  .marquee__row { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 8px; }
  .marquee__arrow { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__viewport { overflow: hidden; }
  .marquee__list[aria-hidden="true"] { display: flex; }
  
}
.marquee__track { position: relative; }

/* logo carousel, final: standing still, all logos in colour, the middle one gently emphasised */
.marquee__viewport { -webkit-mask-image: none; mask-image: none; touch-action: pan-y; }
.marquee__list li { transform: scale(calc(.94 + .06 * var(--t))); border-color: color-mix(in oklab, var(--accent) calc(var(--t) * 100%), var(--line)); box-shadow: none; opacity: calc(.6 + .4 * var(--t)); }
.marquee__list img, .marquee__list li:hover img { filter: none; opacity: 1; }
.marquee__foot { justify-content: center; margin-top: 20px; }
.marquee__name { margin-top: 16px; }
@media (prefers-reduced-motion: reduce) { .marquee__viewport { overflow: hidden; } }

/* motion layer (assets/motion.js): Lenis smooth scroll + GSAP scroll moments */
.header.is-hidden { transform: translateY(-100%); }
.intro h1 .word { display: inline-block; }
.count { display: inline-block; font-variant-numeric: tabular-nums; text-align: start; }
/* hold the opening title until the script has set it up; a fallback timer in the page head releases it */
html.js:not(.motion-ready) .intro h1 { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .header { transition: none; } .header.is-hidden { transform: none; } }

/* start page trial: the logo large in the opening, the shop photo as a wide band right below */

.intro__band { margin-top: 72px; }
.intro__band img { aspect-ratio: 21 / 9; object-position: 50% 45%; }
@media (max-width: 899px) {
  
  
  .intro__band { margin-top: 48px; }
  .intro__band img { aspect-ratio: 4 / 3; }
}

/* Aktuelles: event flyer, shown whole (portrait), links to the full-size image */
.flyer { margin: 0; justify-self: center; width: min(100%, 400px); }
.flyer a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px -24px rgba(29, 36, 39, .45); }
.flyer img { width: 100%; height: auto; }

/* footer: legal links side by side; legal pages: calm reading column */
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.legal { max-width: 46em; }
.legal h2 { margin-top: 48px; font-size: clamp(22px, 2vw, 26px); }
.legal h3 { margin-top: 28px; font-size: 18px; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 4px; }

/* ===== Pepp: Startseite, Logo-Farben, Bewegung ===== */
.eyebrow { color: var(--pink); }
.btn--light { background: #fff; color: var(--accent); }
.btn--light:hover { background: #e9f3f1; }

/* opening scene: mountains, cable car, logo, 30-years badge */
.intro--home .intro__grid { align-items: center; }
.scene { position: relative; }
.scene__art { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 30px 60px -40px rgba(29, 54, 70, .55); }
.scene__logo { position: absolute; left: 50%; bottom: 7%; width: 64%; height: auto; transform: translateX(-50%); filter: drop-shadow(0 10px 18px rgba(29, 36, 39, .18)); }
.gondola__swing { animation: swing 3.2s ease-in-out infinite alternate; transform-origin: 0 0; transform-box: view-box; }
#gondola2 .gondola__swing { animation-delay: -1.6s; }
@keyframes swing { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
.scene__snow circle { animation: snow var(--d) linear var(--dl) infinite; }
@keyframes snow { to { transform: translate(-30px, 560px); } }
.badge { position: absolute; right: -18px; top: -22px; width: 124px; height: 124px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-content: center; text-align: center; box-shadow: 0 14px 30px -14px rgba(216, 18, 126, .7); }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge text { font: 500 10.5px var(--font); fill: #fff; letter-spacing: .04em; }
.badge__num { font-size: 40px; font-weight: 500; line-height: .9; }
.badge__unit { font-size: 13px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 899px) {
  .scene { order: -1; }
  .badge { width: 96px; height: 96px; right: -6px; top: -16px; }
  .badge__num { font-size: 30px; }
}

/* ticker band in the logo pink */
.ticker { overflow: hidden; background: var(--pink); color: #fff; padding: 18px 0; }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; font-size: clamp(20px, 2.4vw, 28px); font-weight: 500; white-space: nowrap; will-change: transform; }
.ticker__track i { width: 18px; height: 18px; flex: none; background: #fff; clip-path: polygon(50% 0, 61% 38%, 100% 38%, 68% 61%, 80% 100%, 50% 76%, 20% 100%, 32% 61%, 0 38%, 39% 38%); }

/* four service cards */

/* five offers on the homepage: three above, two wider ones below */
.cards--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 28px; }
.cards--5 > .card { grid-column: span 2; }
.cards--5 > .card:nth-child(n+4) { grid-column: span 3; }
.cards--5 > .card:nth-child(n+4) .photo img { aspect-ratio: 16 / 9; }
@media (max-width: 1099px) { .cards--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards--5 > .card, .cards--5 > .card:nth-child(n+4) { grid-column: auto; } .cards--5 > .card:nth-child(n+4) .photo img { aspect-ratio: 4 / 3; } .cards--5 > .card:last-child { grid-column: 1 / -1; } }
@media (max-width: 599px) { .cards--5 { grid-template-columns: minmax(0, 1fr); } }

.card { transition: transform .35s var(--ease); }
.card:hover { transform: translateY(-6px); }
.card .photo { position: relative; }
.card .photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover .photo::after { transform: scaleX(1); }
.card:hover .photo img { transform: scale(1.06); }

/* 30 years band */
.anniv { position: relative; overflow: hidden; background: var(--accent); color: #fff; padding: var(--section) 0; }
.anniv::before { content: ""; position: absolute; right: -80px; top: -60px; width: 420px; height: 420px; background: var(--teal); opacity: .35; clip-path: polygon(50% 0, 61% 38%, 100% 38%, 68% 61%, 80% 100%, 50% 76%, 20% 100%, 32% 61%, 0 38%, 39% 38%); }
.anniv__grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: end; }
.anniv h2 { font-size: clamp(36px, 5.2vw, 68px); line-height: 1.05; }
.anniv h2 .count { color: #ffd3ea; }
.anniv__text p { color: #d7e6e3; font-size: 18px; max-width: 30em; }
.anniv__text .btn { margin-top: 28px; }
@media (max-width: 899px) { .anniv__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* horizontal photo strip (pinned and scrolled sideways on wide screens) */
.strip { padding: var(--section) 0; overflow: hidden; }
.strip__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.strip__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gutter), (100vw - var(--wrap)) / 2); }
.strip__viewport::-webkit-scrollbar { display: none; }
.strip__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; width: max-content; }
.strip__track li { width: clamp(220px, 24vw, 300px); scroll-snap-align: start; }
.strip__track li:nth-child(even) { margin-top: 48px; }
.strip__track a { display: block; overflow: hidden; border-radius: 14px; }
.strip__track img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s var(--ease); }
.strip__track a:hover img { transform: scale(1.05); }
html.strip-pinned .strip__viewport { overflow: visible; }

/* two teasers side by side: next event, team */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 899px) { .duo { grid-template-columns: minmax(0, 1fr); } }
.teaser { display: grid; grid-template-columns: 38% 1fr; gap: 24px; align-items: center; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: inherit; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.teaser:hover { transform: translateY(-4px); border-color: var(--pink); box-shadow: 0 24px 40px -30px rgba(216, 18, 126, .55); }
.teaser__img { margin: 0; overflow: hidden; border-radius: 10px; }
.teaser__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; }
.teaser h3 { margin-bottom: 8px; }
.teaser p { color: var(--muted); }
.teaser__date { font-weight: 500; color: var(--ink) !important; }
.teaser .more { margin-top: 14px; }
.teaser .eyebrow { margin-bottom: 8px; }
@media (max-width: 499px) { .teaser { grid-template-columns: minmax(0, 1fr); } }

/* image reveal (set by motion.js) */

@media (prefers-reduced-motion: reduce) {
  .gondola__swing, .scene__snow circle, .badge svg { animation: none; }
  .scene__snow { display: none; }
  .card, .card:hover, .teaser:hover { transform: none; }
}

/* ===== new building blocks: services, contact band, team, gallery, lightbox, video ===== */

.services__more { margin-top: 28px; }

.photo figcaption, .media figcaption { padding: 12px 2px 0; font-size: 14px; color: var(--muted); background: var(--bg); }

.cta { background: linear-gradient(120deg, var(--accent) 0%, #146b66 60%, var(--teal) 140%); color: #fff; padding: 72px 0; }
.cta__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.cta h2 { margin-bottom: 12px; }
.cta p { color: #d7e6e3; max-width: 36em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.btn--outline-light { border: 1px solid rgba(255, 255, 255, .6); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
@media (max-width: 899px) { .cta__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; } .cta__actions { justify-content: flex-start; } }

.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 760px; }
.person { display: flex; align-items: center; gap: 18px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.person__initials { display: grid; place-items: center; width: 60px; height: 60px; flex: none; border-radius: 50%; background: var(--pink); color: #fff; font-size: 20px; font-weight: 500; }
.person p { color: var(--muted); }
@media (max-width: 599px) { .people { grid-template-columns: minmax(0, 1fr); } }

.intro--short { padding-bottom: 48px; }
.intro--short .lead { margin-top: 0; }
.section--flush { padding-top: 0; }
.section + .section--flush { border-top: 0; }

/* gallery: masonry columns, photos keep their own format */
.gallery { list-style: none; margin: 0; padding: 0; columns: 4 240px; column-gap: 16px; }
.gallery__item { break-inside: avoid; margin-bottom: 16px; }
.gallery__item a { display: block; overflow: hidden; border-radius: 12px; background: var(--surface); }
.gallery__item img { width: 100%; height: auto; transition: transform .6s var(--ease), filter .4s var(--ease); }
.gallery__item a:hover img { transform: scale(1.05); }
.gallery__item a:focus-visible { outline-offset: 3px; }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 18, 20, .94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox__img { max-width: min(92vw, 1100px); max-height: 82vh; width: auto; height: auto; border-radius: 10px; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: 15px; color: #cfd8da; padding: 0 72px; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .16); }
.lightbox__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 599px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 56px; transform: none; } }

/* event media: video and photo side by side */
.media-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.media { margin: 0; }
.media video, .media img { display: block; width: 100%; height: auto; aspect-ratio: 848 / 478; object-fit: cover; border-radius: 12px; background: #111; }
.section--tint .media figcaption { background: transparent; }
@media (max-width: 899px) { .media-duo { grid-template-columns: minmax(0, 1fr); } }

/* photo shown whole in its own format (no cropping), e.g. the Boot Fitting motif */
.photo--natural img { aspect-ratio: auto; height: auto; }

/* Skischuh page: text on top, two photos side by side below */
.intro__text { max-width: 760px; }
.intro__duo { margin-top: 56px; }
.intro__duo .photo img { aspect-ratio: 1200 / 824; }
@media (max-width: 899px) { .intro__duo { margin-top: 32px; } }
.tags__title { margin: 48px 0 20px; }
/* Team page: Stefan (landscape) and Kathleen (portrait) shown whole at the same height */
@media (min-width: 900px) { .intro__duo--team { grid-template-columns: 925fr 468fr; } }
.intro__duo--team .photo:first-child img { aspect-ratio: 925 / 642; height: auto; }
@media (min-width: 900px) { .intro__duo--team .photo:last-child img { aspect-ratio: auto; height: 100%; } }
@media (max-width: 899px) { .intro__duo--team .photo:last-child img { aspect-ratio: 1000 / 1368; height: auto; } }
