/* Alto Climbing – Entwurf 2: alpine Dämmerung */
@font-face { font-family: "Montserrat"; src: url(fonts/Montserrat-var.woff) format("woff"); font-weight: 100 900; font-display: swap; }

:root {
  --night: #16181f;
  --night-2: #1c1f27;
  --ridge: #2a2e39;
  --slate: #6b7588;
  --mist: #aab2bf;
  --snow: #f3f4f6;
  --glow: #e3b9ad;
  --line: rgba(243, 244, 246, .14);
  --orange: #e2603a; --oliv: #9aa53a; --sand: #e6d9aa; --blau: #4a84c4;
  --bar-h: 76px;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar-h); background: var(--night); }
body { margin: 0; background: var(--night); color: var(--snow); font: 400 1.0625rem/1.7 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 4px; }
h1, h2, h3 { font-weight: 700; margin: 0; letter-spacing: -0.02em; line-height: 1.08; }
h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.005em; }
p { margin: 0; }
mark.todo { background: rgba(227, 185, 173, .18); color: var(--glow); padding: 0 .2em; font-style: italic; }
.track { letter-spacing: .32em; text-transform: lowercase; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; font: 600 .82rem/1 var(--font); letter-spacing: .16em; text-transform: lowercase;
  padding: 1.05rem 1.6rem; border: 1px solid var(--snow); background: var(--snow); color: var(--night); text-decoration: none; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s; border-radius: 2px; }
.btn:hover { background: transparent; color: var(--snow); }
.btn--line { background: transparent; color: var(--snow); border-color: rgba(243,244,246,.55); }
.btn--line:hover { background: var(--snow); color: var(--night); border-color: var(--snow); }

/* ---------- header ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--bar-h); display: flex; align-items: center; gap: 2.2rem; padding: 0 var(--pad);
  transition: background .35s, border-color .35s; border-bottom: 1px solid transparent; }
.bar.is-solid { background: rgba(22, 24, 31, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.bar__logo img { width: 92px; height: auto; transition: opacity .35s; }
.bar:not(.is-solid) .bar__logo img { opacity: 0; }
.bar__nav { display: flex; gap: 2rem; margin-left: auto; font-size: .8rem; font-weight: 500; letter-spacing: .2em; text-transform: lowercase; }
.bar__nav a { text-decoration: none; opacity: .78; padding: .4rem 0; border-bottom: 1px solid transparent; }
.bar__nav a:hover, .bar__nav a[aria-current="true"] { opacity: 1; border-color: var(--snow); }
.bar__lang { display: flex; align-items: center; gap: .3rem; font-size: .78rem; letter-spacing: .14em; color: var(--mist); }
.bar__lang button { font: 600 .78rem/1 var(--font); letter-spacing: .14em; background: none; border: 0; color: var(--mist); cursor: pointer; padding: .4rem .15rem; }
.bar__lang button[aria-pressed="true"] { color: var(--snow); text-decoration: underline; text-underline-offset: 5px; }
.bar > .btn { padding: .8rem 1.1rem; font-size: .74rem; }

/* ---------- altimeter ---------- */
.alti { position: fixed; right: clamp(.8rem, 2vw, 2rem); top: 22vh; bottom: 16vh; z-index: 20; width: 4rem; pointer-events: none; mix-blend-mode: difference; }
.alti__line { position: absolute; right: 0; top: 0; bottom: 2.4rem; width: 1px; background: rgba(255,255,255,.35); }
.alti__mark { position: absolute; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: #fff; top: 100%; transform: translateY(-50%); }
.alti__val { position: absolute; right: 0; bottom: 0; font-size: .7rem; font-weight: 600; letter-spacing: .2em; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; }
.hero__sky { position: absolute; inset: 0; background: linear-gradient(180deg, #59647a 0%, #77829a 30%, #a3abbb 58%, #cfd2d9 72%, #c9c6cc 100%); }
.hero__brand { position: absolute; left: 50%; top: 36%; transform: translate(-50%, -50%); width: min(42vw, 600px); z-index: 4; will-change: transform, opacity; }
.hero__logo { width: 100%; filter: drop-shadow(0 6px 30px rgba(22,24,31,.18)); }
.peaks { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 72%; z-index: 3; }
.peaks__l { will-change: transform; }
.hero__foot { position: absolute; left: 0; right: 0; bottom: clamp(2rem, 7vh, 4.5rem); z-index: 4; display: grid; justify-items: center; gap: 1.8rem; padding: 0 var(--pad); text-align: center; }
.hero__lead { max-width: 48ch; color: #e4e7ec; text-shadow: 0 0 6px rgba(22,24,31,.85), 0 0 22px rgba(22,24,31,.9), 0 0 40px rgba(22,24,31,.6); font-size: clamp(1rem, 1.25vw, 1.12rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ---------- climb: sticky 3D stage ---------- */
.climb { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: 0 calc(var(--pad) + 3rem) 0 var(--pad);
  background: linear-gradient(180deg, var(--night) 0, var(--night-2) 50%, var(--night) 100%); }
.climb__stage { grid-column: 2; grid-row: 1; align-self: start; position: sticky; top: 0; height: 100vh; height: 100svh; }
.climb__stage::before { content: ""; position: absolute; left: 10%; right: 10%; top: 38%; height: 52%;
  background: radial-gradient(ellipse at 50% 70%, rgba(150, 162, 186, .30), rgba(150,162,186,0) 62%); pointer-events: none; }
#stage { position: absolute; inset: var(--bar-h) 0 0 0; width: 100%; height: calc(100% - var(--bar-h)); cursor: grab; touch-action: pan-y; }
#stage:active { cursor: grabbing; }
.climb__hint { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); font-size: .7rem; letter-spacing: .3em; text-transform: lowercase; color: var(--mist); opacity: .7; }
.swatches { position: absolute; left: 50%; bottom: 4.2rem; transform: translateX(-50%); display: flex; gap: .9rem; opacity: 0; pointer-events: none; transition: opacity .4s; }
.swatches.is-on { opacity: 1; pointer-events: auto; }
.swatch { --sw: conic-gradient(var(--orange) 0 25%, var(--oliv) 0 50%, var(--sand) 0 75%, var(--blau) 0);
  width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 0; background: var(--sw); cursor: pointer; position: relative; }
.swatch[data-color="orange"] { --sw: var(--orange); } .swatch[data-color="oliv"] { --sw: var(--oliv); } .swatch[data-color="sand"] { --sw: var(--sand); } .swatch[data-color="blau"] { --sw: var(--blau); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--night), 0 0 0 4px var(--snow); }
.swatch span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.steps { grid-column: 1; grid-row: 1; }
.step { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 1.3rem; max-width: 27rem;
  opacity: .22; transition: opacity .5s; }
.step.is-active { opacity: 1; }
.step p:not(.step__no) { color: var(--mist); }
.step__no { font-size: .72rem; font-weight: 600; letter-spacing: .3em; color: var(--glow); }
.step .btn { align-self: flex-start; margin-top: .8rem; }

/* ---------- collection: horizontal gallery ---------- */
.coll { position: relative; background: var(--night); border-top: 1px solid var(--line); }
.coll__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; gap: clamp(2rem, 4vw, 4rem); overflow: hidden;
  padding: var(--bar-h) 0 0 var(--pad); }
.coll__head { flex: 0 0 clamp(15rem, 24vw, 22rem); display: grid; gap: 1.2rem; align-self: center; }
.coll__head p { color: var(--mist); }
.coll__count { font-size: .75rem; font-weight: 600; letter-spacing: .3em; color: var(--mist); font-variant-numeric: tabular-nums; }
.coll__cur { color: var(--snow); }
.coll__view { flex: 1; min-width: 0; overflow: hidden; align-self: stretch; display: flex; align-items: center; }
.coll__track { list-style: none; margin: 0; padding: 0 calc(var(--pad) + 3rem) 0 0; display: flex; gap: clamp(1.4rem, 2.4vw, 2.4rem); will-change: transform; }
.card { flex: 0 0 clamp(15rem, 23vw, 20rem); }
.card__pic { margin: 0 0 1.1rem; overflow: hidden; border-radius: 2px; background: var(--ridge); }
.card__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__pic img { transform: scale(1.04); }
.card__no { font-size: .7rem; font-weight: 600; letter-spacing: .3em; color: var(--mist); margin-bottom: .35rem; }
.card__txt { color: var(--mist); font-size: .95rem; margin: .4rem 0 .8rem; }
.card__link { font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: lowercase; text-decoration: none; border-bottom: 1px solid rgba(243,244,246,.4); padding-bottom: .2rem; }
.card__link:hover { border-color: var(--snow); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: center;
  padding: 18vh calc(var(--pad) + 3rem) 18vh var(--pad); border-top: 1px solid var(--line); }
.about__pic { margin: 0; }
.about__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.about__text { display: grid; gap: 1.3rem; max-width: 34rem; }
.about__text p { color: var(--mist); }

/* ---------- contact ---------- */
.contact { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start;
  padding: 16vh calc(var(--pad) + 3rem) 14vh var(--pad);
  background: linear-gradient(180deg, var(--night) 0%, #232733 55%, #3a4150 100%); }
.contact__card { display: grid; gap: 1.3rem; }
.contact__card > p { color: var(--mist); max-width: 30rem; }
.contact__lines { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.contact__lines li { display: flex; align-items: center; gap: 1.1rem; }
.contact__lines a { font-size: .95rem; font-weight: 600; letter-spacing: .26em; text-decoration: none; }
.contact__lines a:hover { color: var(--glow); }
.contact__lines svg { width: 26px; height: 26px; flex: none; color: var(--snow); order: -1; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.6rem; }
.form label { display: grid; gap: .5rem; font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: lowercase; color: var(--mist); }
.form__wide, .form__note, .form__status { grid-column: 1 / -1; }
.form input, .form textarea { font: 400 1rem/1.5 var(--font); color: var(--snow); background: transparent; border: 0; border-bottom: 1px solid rgba(243,244,246,.35);
  padding: .5rem 0; border-radius: 0; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--glow); }
.form__note { font-size: .85rem; color: var(--mist); }
.form .btn { justify-self: start; }
.form__status { min-height: 1.5em; font-size: .9rem; color: var(--glow); }

/* ---------- footer, dialogs ---------- */
.foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 2.4rem calc(var(--pad) + 3rem) 2.6rem var(--pad);
  background: #3a4150; border-top: 1px solid var(--line); font-size: .78rem; letter-spacing: .14em; color: var(--mist); }
.foot img { width: 72px; opacity: .9; }
.foot nav { display: flex; gap: 1.6rem; }
.linklike { font: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-transform: lowercase; }
.linklike:hover { color: var(--snow); }
.sheet { border: 1px solid var(--line); border-radius: 2px; padding: 2.2rem; max-width: 32rem; background: var(--night-2); color: var(--snow); }
.sheet::backdrop { background: rgba(10, 11, 15, .7); }
.sheet p { margin: 1rem 0 1.6rem; color: var(--mist); }

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  :root { --bar-h: 62px; }
  .bar { gap: 1rem; }
  .bar__nav, .bar > .btn { display: none; }
  .bar__lang { margin-left: auto; }
  .alti { right: .55rem; width: 2rem; }
  .alti__val { font-size: .62rem; letter-spacing: .1em; }
  .hero__brand { width: 74vw; top: 27%; }
  .peaks { height: 66%; }
  .hero__foot { bottom: 0; gap: 1.3rem; padding-top: 3rem; padding-bottom: 1.8rem; background: linear-gradient(180deg, rgba(22,24,31,0), rgba(22,24,31,.55) 45%, rgba(22,24,31,.9)); }
  .hero__lead { font-size: .92rem; max-width: 34ch; }
  .hero__cta .btn { padding: .9rem 1.2rem; }
  .climb { display: block; padding: 0 2.6rem 0 var(--pad); }
  .climb__stage { position: sticky; top: 0; height: 58vh; height: 58svh; z-index: 2; margin: 0 -2.6rem 0 calc(-1 * var(--pad));
    background: linear-gradient(180deg, var(--night) 82%, rgba(22,24,31,0)); }
  .climb__hint { display: none; }
  .swatches { bottom: 1.2rem; }
  .steps { position: relative; z-index: 1; }
  .step { min-height: 72vh; justify-content: flex-start; padding-top: 3vh; }
  .coll__pin { flex-direction: column; align-items: stretch; justify-content: center; gap: 1.6rem; padding-left: var(--pad); }
  .coll__head { flex: none; gap: .7rem; padding-right: 2.6rem; }
  .coll__view { flex: none; align-self: auto; }
  .coll__head > p:not(.coll__count) { font-size: .95rem; }
  .card { flex-basis: 68vw; }
  .about, .contact { grid-template-columns: 1fr; padding-right: 2.6rem; }
  .form { grid-template-columns: 1fr; }
  .contact__lines a { font-size: .82rem; letter-spacing: .18em; }
  .foot { padding-right: var(--pad); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .step, .swatches, .card__pic img, .bar { transition: none; }
}
.sheet { max-height: 86vh; overflow-y: auto; max-width: 40rem; }
.legal h3 { font-size: .95rem; font-weight: 600; margin: 1.4rem 0 .3rem; color: var(--snow); }
.legal p { margin: .3rem 0 .8rem; font-size: .9rem; line-height: 1.55; }
.legal a { color: inherit; }
.hero__brand { margin: 0; font-size: inherit; line-height: 0; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mailbox { display: grid; gap: 1.6rem; align-content: start; padding-top: .4rem; }
.mailbox__lead { color: var(--snow); font-size: 1.05rem; max-width: 30rem; margin: 0; }
.mailbox .btn { justify-self: start; }
.mailbox__note { color: var(--mist); font-size: .88rem; max-width: 30rem; margin: 0; }
