/* ============================================================================
   Projektseite «Hyrox Simulation Thun» (21.10.2026)

   Welt: die Messehalle am Wettkampftag. Dunkles Stahlblau wie die Hallenwände,
   kaltes Hallenlicht und das Gelb der Hyrox-Banden.

   Signatur
   1) Startbild: die ganze Halle von der Tribüne, der Titel sprintet herein.
   Danach ein Album mit vier Spalten und Kontakt auf derselben Halle.
   ========================================================================== */
body.hx {
  --halle: #090D11;
  --halle-2: #111820;
  --stahl: #9DB0BF;
  --gelb: #FFE11B;
  --led: #FFF3A6;
  --start: .3s;               /* wann der Titel loslegt */
  background: var(--halle);
  color: #fff;
}
body.hx ::selection { background: var(--gelb); color: var(--halle); }
body.hx :focus-visible { outline: 3px solid var(--gelb); outline-offset: 3px; }

/* ── Kopfzeile: über dem Startbild durchsichtig, danach Hallenglas ── */
.hx .detail-topbar { background: transparent !important; border-bottom: 0 !important; box-shadow: none !important;
  -webkit-backdrop-filter: none; backdrop-filter: none; transition: background-color .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease; }
.hx .detail-topbar .detail-back { color: #fff !important; }
/* Hover nur über den Grundstil (Pfeil rückt weich ab), kein Sprung in der Deckkraft (Levin 27.10.) */
.hx .detail-topbar.ist-dunkel { background: rgba(9, 13, 17, .78) !important; box-shadow: 0 1px 0 rgba(255,255,255,.06) !important;
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }

/* ── 1) Startbild ─────────────────────────────────────────────────────── */
.hx-op { --p: 0; position: relative; isolation: isolate; overflow: hidden; background: #000;
  height: 100vh; height: 100svh; min-height: 600px; margin-top: -64px; }
.hx-op__bild { position: absolute; inset: 0; display: block;
  transform: translate3d(0, calc(var(--p) * 8%), 0) scale(calc(1.02 + var(--p) * .08)); will-change: transform; }
.hx-op__bild img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%;
  animation: hx-hell 1.4s cubic-bezier(.22, 1, .36, 1) both; }
/* Hallenlicht geht an: das Bild kommt aus dem Dunkeln */
@keyframes hx-hell { from { opacity: 0; filter: brightness(.35) saturate(.6); transform: scale(1.06); } to { opacity: 1; filter: none; transform: none; } }
.hx-op::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(9,13,17,.55) 0%, rgba(9,13,17,0) 20%, rgba(9,13,17,0) 40%, rgba(9,13,17,.7) 68%, var(--halle) 100%),
              linear-gradient(90deg, rgba(9,13,17,.55) 0%, rgba(9,13,17,0) 55%); }

.hx-op__txt { position: absolute; z-index: 2; left: clamp(20px, 5vw, 64px); right: clamp(20px, 5vw, 64px); bottom: clamp(30px, 7vh, 76px);
  transform: translate3d(0, calc(var(--p) * -110px), 0); opacity: calc(1 - var(--p) * 1.6); will-change: transform, opacity; }
.hx-op__meta { margin: 0 0 clamp(10px, 1.4vw, 16px); font-size: clamp(.75rem, 1vw, .84rem); font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.88);
  opacity: 0; animation: hx-auf .8s cubic-bezier(.22, 1, .36, 1) calc(var(--start) + .5s) forwards; }
.hx-op__meta span { color: var(--gelb); padding: 0 .3em; }
.hx-op h1 { margin: 0; line-height: 1; }
.hx-titel { display: block; font-weight: 900; text-transform: uppercase; font-size: clamp(4rem, 15vw, 14.5rem); line-height: .8; letter-spacing: -.045em;
  color: #fff; transform: skewX(-9deg); transform-origin: 0 100%;
  clip-path: inset(0 100% 0 0); animation: hx-sprint .9s cubic-bezier(.7, 0, .2, 1) calc(var(--start) + .2s) forwards; }
/* Der Titel sprintet von links herein */
@keyframes hx-sprint { to { clip-path: inset(-10% -5% -10% 0); } }
.hx-unter { display: block; margin-top: clamp(10px, 1.4vw, 18px); padding-left: .12em; font-size: clamp(1.1rem, 2.8vw, 2.5rem); font-weight: 300; letter-spacing: .32em; text-transform: uppercase; color: #fff;
  opacity: 0; animation: hx-auf .9s cubic-bezier(.22, 1, .36, 1) calc(var(--start) + .8s) forwards; }
@keyframes hx-auf { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }

/* ── Album ───────────────────────────────────────────────── */
.hx-schluss h2 em { font-style: normal; font-weight: 900; letter-spacing: -0.04em; color: var(--gelb); }

.hx-album { padding: 0 clamp(12px, 2.4vw, 32px); }
.hx-album__bilder { max-width: 1600px; margin: 0 auto; columns: 4; column-gap: clamp(12px, 1.6vw, 22px); }
.hx-album__bilder figure { margin: 0 0 clamp(12px, 1.6vw, 22px); break-inside: avoid; }
.hx-album__bilder img { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--halle-2); }
.hx-album__bilder.ist-verteilt { columns: auto; display: grid; grid-template-columns: repeat(var(--spalten, 4), 1fr); gap: clamp(12px, 1.6vw, 22px); align-items: start; }
.hx-spalte { display: flex; flex-direction: column; gap: clamp(12px, 1.6vw, 22px); }
.hx-spalte figure { margin: 0; }
/* Bilder lassen sich gross anschauen */
.hx-album__bilder figure { cursor: pointer; border-radius: 10px; overflow: hidden;
  transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1); }
.hx-album__bilder figure:focus-visible { outline: 3px solid var(--gelb); outline-offset: 3px; }
.hx-album__bilder figure.wartet { opacity: 0; transform: translate3d(0, 22px, 0); }

/* ── 3) Fotos finden: Text, Handy mit Animation, Schritte ─────────────────
   Auf dem Laptop genau eine Bildschirmhöhe. Die Event-Seite im Handy ist
   nachgebaut (Bauteile wie auf vfxmedia.ch/hyrox-thun) und wird auf einer
   festen Fläche von 360 × 780 gezeichnet, die das Skript auf die Handygrösse
   skaliert. Animiert werden nur transform und opacity. */
.hx-demo { min-height: 100vh; min-height: 100svh; display: grid; align-items: center;
  padding: clamp(48px, 7vh, 80px) clamp(20px, 5vw, 48px);
  /* oben weich aus dem Startbild heraus, unten eine feine Kante zum Album */
  background: radial-gradient(60% 55% at 50% 55%, rgba(255, 225, 27, .07), transparent 70%), linear-gradient(180deg, var(--halle), var(--halle-2) 30%);
  border-bottom: 1px solid rgba(255,255,255,.06); }
.hx-demo__inner { width: min(1240px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(40px, 7vw, 120px); align-items: center; }
.hx-demo__eyebrow { margin: 0 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gelb); }
.hx-demo h2 { margin: 0; font-size: clamp(2.2rem, 4.2vw, 4rem); font-weight: 300; letter-spacing: -0.045em; line-height: .95; }
.hx-demo h2 em { font-style: normal; font-weight: 900; letter-spacing: -0.04em; color: var(--gelb); }
.hx-demo__lead { margin: clamp(14px, 1.8vw, 20px) 0 0; max-width: 52ch; text-wrap: pretty; font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.55; color: rgba(255,255,255,.78); }
.hx-demo__punkte { list-style: none; margin: clamp(22px, 3.4vh, 34px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.hx-demo__punkte li { display: grid; align-content: start; gap: 6px; padding-top: 18px; position: relative; }
.hx-demo__punkte li::before { content: ""; position: absolute; left: 0; top: 0; width: 32px; height: 3px; border-radius: 2px; background: var(--gelb); }
.hx-demo__punkte b { font-size: .98rem; font-weight: 700; color: #fff; }
.hx-demo__punkte span { font-size: .92rem; line-height: 1.5; color: rgba(255,255,255,.64); }

/* Handy: Titanrahmen, schwarzer Rand, Tasten an der Seite, Dynamic Island.
   Nicht klickbar, die Animation läuft nur als Schleife. */
.hx-demo__handy { position: relative; justify-self: end; height: min(76vh, 760px); height: min(76svh, 760px); aspect-ratio: 384 / 800; min-height: 500px;
  border-radius: 60px; padding: 3px; pointer-events: none; user-select: none;
  background: linear-gradient(140deg, #8C9198 0%, #3A3E44 18%, #6E747B 38%, #2B2F34 60%, #7D838A 82%, #41454B 100%);
  box-shadow: 0 50px 90px -35px rgba(0,0,0,.95), 0 20px 40px -20px rgba(0,0,0,.7), inset 0 0 0 .5px rgba(255,255,255,.35); }
/* Seitentasten: links Aktionstaste und Lautstärke, rechts Ein/Aus und Kamerataste */
.hx-demo__handy::after { content: ""; position: absolute; right: -3px; top: 26%; height: 11%; width: 3px; border-radius: 0 2px 2px 0; background: linear-gradient(270deg, #2B2F34, #7D838A); }
.dm-taste { position: absolute; left: -3px; width: 3px; border-radius: 2px 0 0 2px; background: linear-gradient(90deg, #2B2F34, #7D838A); }
.dm-glas { position: relative; width: 100%; height: 100%; border-radius: 57px; padding: 11px; background: #050505;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), inset 0 0 2px 1px rgba(0,0,0,.9); }
/* Grund dunkel wie das Glas: an der Rundung blitzt sonst beim Kantenglätten eine helle Linie auf (Levin 27.10.).
   Die Maske zwingt Safari, auch die verschobenen Ansichten sauber in die Rundung zu schneiden. */
.dm-bildschirm { position: relative; width: 100%; height: 100%; border-radius: 46px; overflow: hidden; background: #050505; isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black); }
.dm-skala { position: absolute; left: 0; top: 0; width: 360px; height: 780px; transform-origin: 0 0; transform: scale(var(--k, .8)); }
.dm-s { position: absolute; inset: 0; overflow: hidden; background: #F7F7F5; color: #0A0A0A; font-size: 15px; will-change: transform, opacity; }
.dm-s svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* 1) Event-Seite */
.dm-s--start { background: #0A0A0A; color: #fff; }
.dm-wand { position: absolute; inset: -40px -30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; rotate: -6deg; opacity: .55; }
.dm-wand img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; display: block; }
.dm-s--start::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.55), rgba(10,10,10,.2) 35%, rgba(10,10,10,.85) 68%, #0A0A0A); }
.dm-start__oben, .dm-start__unten { position: absolute; z-index: 1; left: 22px; right: 22px; }
.dm-start__oben { top: 54px; display: flex; justify-content: space-between; align-items: center; }
.dm-logo { font-weight: 900; font-size: 19px; letter-spacing: -.02em; }
.dm-logo i { font-style: normal; font-weight: 400; }
.dm-sprache { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.dm-start__unten { bottom: 34px; display: grid; gap: 0; }
.dm-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: var(--fs-min); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.dm-eyebrow i { width: 16px; height: 1px; background: currentColor; }
.dm-eyebrow--dunkel { color: #6B6B66; }
.dm-start__titel { margin: 0 0 24px; font-size: 62px; font-weight: 800; line-height: .9; letter-spacing: -.04em; }
.dm-knopf { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 56px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 16px; }
.dm-knopf--weiss { background: #fff; color: #0A0A0A; width: 100%; }
.dm-knopf--schwarz { background: #0A0A0A; color: #fff; height: 50px; padding: 0 22px; }
.dm-knopf--breit { width: 100%; margin: 4px 0 16px; }
.dm-link { margin-top: 16px; text-align: center; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; color: rgba(255,255,255,.85); }

/* Gemeinsam für die hellen Ansichten */
.dm-leiste { height: 104px; padding: 50px 18px 0; display: grid; grid-template-columns: 24px 1fr 24px; align-items: center; text-align: center; border-bottom: 1px solid #E6E6E1; background: #fff; }
.dm-leiste b { font-size: 15px; font-weight: 600; }
.dm-leiste--dl { grid-template-columns: 1fr auto; text-align: left; background: #F7F7F5; border: 0; }
.dm-gueltig { font-size: 12px; padding: 6px 12px; border: 1px solid #D9D9D4; border-radius: 999px; color: #3A3A37; }
.dm-inhalt { padding: 22px 18px 0; }
.dm-h { margin: 0 0 14px; font-size: 26px; font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
.dm-h--gross { font-size: 30px; margin-bottom: 16px; }
.dm-klein { margin: 12px 0 0; font-size: 12.5px; color: #6B6B66; text-align: center; }

/* 2) Einwilligung und Selfie */
.dm-ok { display: flex; gap: 11px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #E6E6E1; font-size: 12.5px; line-height: 1.4; color: #3A3A37; }
.dm-box { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid #0A0A0A; display: grid; place-items: center; flex: none; background: #fff; }
.dm-box svg { width: 15px; height: 15px; stroke-width: 2.6; opacity: 0; }
.dm-box.ist-an { background: #0A0A0A; color: #fff; }
.dm-box.ist-an svg { opacity: 1; }
.dm-kamera { position: relative; margin-top: 14px; height: 400px; border-radius: 22px; overflow: hidden; background: #111; }
.dm-kamera img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
/* Oval auf das Gesicht im Selfie gemessen (Mitte, Grösse, Neigung des Kopfs). Ausrichten und Farbe: js/projektseite.js */
.dm-oval { position: absolute; left: 49%; top: 43.5%; width: 43%; height: 56%; translate: -50% -50%; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 999px rgba(0,0,0,.3); will-change: transform; }
.dm-blitz { position: absolute; inset: 0; background: #fff; opacity: 0; }
.dm-ausloeser { display: block; margin: 16px auto 0; width: 70px; height: 70px; border-radius: 50%; background: #0A0A0A; box-shadow: inset 0 0 0 4px #F7F7F5, 0 0 0 2px #0A0A0A; }

/* 3) Suche */
.dm-suche__kopf { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.dm-suche__kopf .dm-h { margin: 0 0 4px; }
.dm-gesicht { position: relative; width: 92px; height: 115px; border-radius: 16px; overflow: hidden; flex: none; background: #111; }
.dm-gesicht img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.dm-rahmen { position: absolute; left: 31%; top: 24%; width: 36%; height: 45%; border: 2px solid var(--gelb); border-radius: 8px; opacity: 0; }
.dm-punkt { position: absolute; left: var(--x); top: var(--y); width: 5px; height: 5px; translate: -50% -50%; border-radius: 50%; background: var(--gelb); box-shadow: 0 0 6px var(--gelb); opacity: 0; }
.dm-zahl { margin: 0; font-size: 13px; color: #6B6B66; font-variant-numeric: tabular-nums; }
.dm-zahl b { color: #0A0A0A; font-weight: 700; }
.dm-raster { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.dm-raster i { display: block; border-radius: 5px; overflow: hidden; aspect-ratio: 4 / 5; background: #DDD; box-shadow: 0 0 0 0 var(--gelb); transition: none; }
.dm-raster i img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dm-raster .dm-scan { position: absolute; left: -6px; right: -6px; top: 0; height: 3px; aspect-ratio: auto; border-radius: 3px; overflow: visible; background: var(--gelb);
  box-shadow: 0 0 16px 3px rgba(255, 225, 27, .7); opacity: 0; }

/* 4) Paket */
.dm-paket { position: relative; height: 470px; border-radius: 22px; overflow: hidden; background: #ddd; box-shadow: 0 10px 30px -14px rgba(0,0,0,.35); }
.dm-paket > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dm-wz { position: absolute; inset: 0; opacity: .5;
  background: repeating-linear-gradient(-28deg, transparent 0 58px, rgba(255,255,255,.0) 58px 60px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='110'%3E%3Ctext x='10' y='60' fill='white' fill-opacity='.55' font-family='Inter,Arial' font-size='20' font-weight='900' transform='rotate(-24 85 55)'%3EVFX MEDIA%3C/text%3E%3C/svg%3E"); }
.dm-chip { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; }
.dm-chip svg { width: 15px; height: 15px; }
/* Wie auf der Event-Seite: unter dem Titelbild die nächsten zwei Fotos des Pakets */
.dm-mini { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; }
.dm-mini img { width: 52px; height: 52px; border-radius: 10px; border: 2px solid #fff; object-fit: cover; display: block; }
.dm-fuss { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px 34px; display: flex; justify-content: space-between; align-items: center; background: #fff; border-top: 1px solid #E6E6E1; }
.dm-fuss b { display: block; font-size: 16px; }
.dm-fuss div span { font-size: 13px; color: #6B6B66; }

/* 5) Download */
.dm-dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.dm-dl span { position: relative; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; }
.dm-dl img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dm-dl i { position: absolute; right: 6px; bottom: 6px; width: 28px; height: 28px; border-radius: 50%; background: #fff
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / 14px no-repeat; }
.dm-toast { position: absolute; left: 14px; right: 14px; top: 52px; display: flex; gap: 10px; align-items: center; padding: 13px 15px; border-radius: 16px; background: #0A0A0A; color: #fff; font-size: 13.5px; font-weight: 600;
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); opacity: 0; }
.dm-toast svg { color: var(--gelb); }

/* Statusleiste und Dynamic Island */
.dm-status { position: absolute; left: 0; right: 0; top: 0; height: 50px; padding: 0 30px 0 40px; z-index: 8; display: flex; justify-content: space-between; align-items: center;
  color: #0A0A0A; transition: color .3s ease; }
.dm-status.ist-hell { color: #fff; }
.dm-status b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.dm-status span { display: flex; align-items: center; gap: 6px; }
.dm-status svg { width: 17px; height: 12px; fill: currentColor; stroke: none; }
.dm-akku { position: relative; width: 25px; height: 12px; border-radius: 4px; border: 1px solid currentColor; opacity: .9; }
.dm-akku::after { content: ""; position: absolute; right: -3.5px; top: 3.5px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: currentColor; }
.dm-akku i { position: absolute; inset: 1.5px; right: 5px; border-radius: 2px; background: currentColor; }
.dm-insel { position: absolute; left: 50%; top: 11px; width: 112px; height: 32px; margin-left: -56px; border-radius: 20px; background: #000; z-index: 9; }

/* Finger: Kreis, der antippt */
.dm-tipp { position: absolute; left: 0; top: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; pointer-events: none; opacity: 0; z-index: 5;
  background: rgba(255, 225, 27, .35); box-shadow: 0 0 0 2px rgba(255, 225, 27, .9); }

.hx-bilder { padding-top: clamp(80px, 10vw, 140px); }

@media (max-width: 1100px) {
  .hx-demo__punkte { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 860px) {
  .hx-demo { min-height: 0; }
  .hx-demo__inner { display: flex; flex-direction: column; align-items: stretch; gap: 36px; }
  .hx-demo__handy { align-self: center; height: auto; width: min(76vw, 340px); min-height: 0; border-radius: 52px; }
  .dm-glas { border-radius: 49px; padding: 9px; }
  .dm-bildschirm { border-radius: 40px; }
}
/* Ältere Browser ohne aspect-ratio (iOS 14): Breite und Höhe ausdrücklich, sonst bleibt das Handy unsichtbar */
@supports not (aspect-ratio: 1 / 1) {
  .hx-demo__handy { width: calc(min(76vh, 760px) * .48); }
  @media (max-width: 860px) { .hx-demo__handy { height: calc(min(76vw, 340px) * 2.0833); } }
}

/* ── 4) Schluss: die Halle als Grund, Kontakt direkt darauf (keine Box) ── */
.hx-schluss { position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(110px, 15vw, 190px);
  min-height: clamp(520px, 78vh, 760px); display: grid; place-items: center; padding: clamp(80px, 12vw, 140px) clamp(20px, 5vw, 48px); text-align: center; }
.hx-schluss__bild { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: saturate(.85); }
.hx-schluss::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(48% 42% at 50% 54%, rgba(9,13,17,.62), rgba(9,13,17,0) 100%),
              linear-gradient(180deg, var(--halle) 0%, rgba(9,13,17,.74) 22%, rgba(9,13,17,.7) 55%, rgba(9,13,17,.84) 82%, #05080A 100%); }
.hx-schluss__inhalt { max-width: 760px; }
.hx-schluss h2 { margin: 0; font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 300; letter-spacing: -0.045em; line-height: .95; color: #fff; }
.hx-schluss p { margin: clamp(18px, 2.4vw, 26px) auto 0; max-width: 46ch; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.6; color: rgba(255,255,255,.8); text-wrap: balance; }
.hx-schluss__knoepfe { margin-top: clamp(28px, 3.6vw, 40px); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hx-knopf { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s ease, background-color .25s ease, border-color .25s ease; }
.hx-knopf svg { flex: none; transition: transform .25s cubic-bezier(.22, 1, .36, 1); }
.hx-knopf--gelb { background: var(--gelb); color: var(--halle); box-shadow: 0 14px 34px -12px rgba(255, 225, 27, .6), inset 0 -2px 0 rgba(0,0,0,.12); }
.hx-knopf--gelb:hover { transform: translateY(-2px); box-shadow: 0 20px 42px -12px rgba(255, 225, 27, .75), inset 0 -2px 0 rgba(0,0,0,.12); }
.hx-knopf--glas { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.26);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hx-knopf--glas:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); transform: translateY(-2px); }
.hx-knopf--glas:hover svg { transform: translateX(3px); }
.hx-knopf:active { transform: translateY(0) scale(.98); }
.hx-knopf:focus-visible { outline: 3px solid var(--gelb); outline-offset: 4px; }
@media (max-width: 520px) { .hx-knopf { width: 100%; justify-content: center; } }

/* ── Footer auf Halle ── */
.hx .footer { background: #05080A; color: rgba(255,255,255,.75); border-top: 1px solid rgba(255,255,255,.06); }
.hx .footer a, .hx .footer h2, .hx .footer h3, .hx .footer p { color: rgba(255,255,255,.75); }
.hx .footer .site-logo__img { filter: invert(1); }

@media (max-width: 1100px) {
  .hx-album__bilder { columns: 3; }
}
@media (max-width: 860px) {
  .hx-album__bilder { columns: 2; }
  }
@media (max-width: 760px) {
  .hx-op__bild img { object-position: 55% 50%; }
  .hx-titel { font-size: clamp(3.6rem, 23vw, 7.5rem); }
  .hx-unter { letter-spacing: .24em; }
}

/* Weniger Bewegung: Bild und Titel stehen sofort */
@media (prefers-reduced-motion: reduce) {
  .hx-op__bild img, .hx-titel, .hx-unter, .hx-op__meta { animation: none; opacity: 1; clip-path: none; }
  .hx-knopf, .hx-knopf svg { transition: none; }
  .hx-album__bilder figure.wartet { opacity: 1; transform: none; }
}

/* Handy: Titel und Unterzeile gleich gross wie auf den anderen Projektseiten mit Startbild
   (Swisscom, Jack Dylan, TST Amerika, Hyrox; Levin 30.10.) */
@media (max-width: 700px) {
  .hx-titel { font-size: clamp(2.4rem, 11.8vw, 3.6rem); }
  .hx-unter { font-size: clamp(.96rem, 4.72vw, 1.44rem); }
}
