/* Oeffentliche Seite, easymoney.detail.lu
 *
 * Haltung: kein Poster, kein Verlauf, keine Illustration. Nur Typografie und
 * Zahlen, zentriert, viel Luft. Was aussieht wie ein Branding-System, wirkt
 * ernster als jedes gerenderte Motiv, und es laedt in einem Bruchteil.
 *
 * Farben aus dem Media-Paket, damit Seite, Karten und Stat-Grafiken
 * zusammengehoeren. Kein Ortsname auf der Seite, auf ausdrueckliche Anweisung.
 */

/* Lokal eingebunden statt von Google geladen: die Seite muss auf einer Wiese
   mit schlechtem Netz sofort richtig aussehen, und der Look lebt von der
   schmalen Schrift. Drei Schnitte, zusammen 43 kB. */
@font-face {
  font-family: "Barlow Condensed"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("/fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed"; font-style: normal; font-weight: 700;
  font-display: swap; src: url("/fonts/barlow-condensed-700.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed"; font-style: normal; font-weight: 800;
  font-display: swap; src: url("/fonts/barlow-condensed-800.woff2") format("woff2");
}

:root {
  --tinte:  #0E0E10;   /* Media-Paket */
  --papier: #F7F5F0;
  --gelb:   #F5B920;
  --rot:    #E8471C;   /* aus dem Last-Soul-Ultra-Logo */
  --blau:   #1A47D6;   /* Koenigsblau, Media-Paket */
  --line:   rgba(247, 245, 240, .14);
  --dim:    rgba(247, 245, 240, .42);
}

* { box-sizing: border-box; }
/* Blauer Schimmer oben hinter dem Zeichen, nach unten ins Schwarz.
   Kein Bild, nur ein Verlauf: kostet nichts und laedt sofort.
   Bewusst auf html statt body und OHNE background-attachment: fixed,
   sonst reisst der Verlauf auf iOS beim Scrollen ab. */
html {
  margin: 0; padding: 0;
  min-height: 100%;
  background:
    radial-gradient(95% 21% at 50% 0%, rgba(26, 71, 214, .38) 0%, transparent 100%),
    var(--tinte);
  background-repeat: no-repeat;
}
body { margin: 0; padding: 0; background: transparent; }

body.live {
  color: var(--papier);
  font-family: "Barlow Condensed", "Archivo Narrow", Poppins,
               -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

.sheet {
  min-height: 100svh;
  max-width: 40rem;
  margin: 0 auto;
  padding: 3.2rem 1.6rem calc(2.6rem + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ── Kopf: nur das Zeichen ─────────────────────────────────────────────── */

.head { display: block; }
.mark {
  display: block;
  width: clamp(64px, 9vw, 84px);
  height: auto;
  margin-inline: auto;
}

/* ── Held ──────────────────────────────────────────────────────────────── */

.hero { padding-top: 3.6rem; width: 100%; }

.eyebrow {
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .34em;
  color: var(--rot);
}
.live-dot::before {
  content: "";
  display: inline-block;
  width: .5em; height: .5em;
  margin-right: .7em;
  border-radius: 50%;
  background: var(--rot);
  vertical-align: middle;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }
@media (prefers-reduced-motion: reduce) { .live-dot::before { animation: none } }

.title {
  margin: .7rem 0 0;
  font-size: clamp(2.8rem, 14vw, 5rem);
  line-height: .86;
  font-weight: 800;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

/* ── Zaehler ───────────────────────────────────────────────────────────── */

.clock {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .4rem;
  align-items: end;
}
.clock.two { grid-template-columns: repeat(2, 1fr); max-width: 22rem; margin-inline: auto; }

.unit { display: flex; flex-direction: column; align-items: center; }
.unit b {
  font-size: clamp(3rem, 16vw, 5.2rem);
  line-height: .82;
  font-weight: 800;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.unit.wide b { font-size: clamp(3.6rem, 20vw, 6.2rem); }
.unit span {
  margin-top: .6rem;
  font-size: .6rem;
  letter-spacing: .24em;
  color: var(--dim);
  font-weight: 600;
}

.stamp {
  margin: 2.2rem 0 0;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--papier);
}
.stamp .sub { color: var(--dim); font-weight: 600; }

.lsu-mark {
  display: block;
  margin: 2.2rem auto 0;
  width: min(38%, 8.5rem);
  height: auto;
}

/* Luft zwischen dem Schriftzug und der Trennlinie darunter: sonst kleben
   die Pinselstriche von ULTRA auf der Linie. */
.hero { padding-bottom: 2.6rem; }

.note {
  margin: 1.4rem 0 0;
  font-size: .92rem;
  color: var(--dim);
  letter-spacing: .04em;
}

/* ── Fakten ────────────────────────────────────────────────────────────── */

.facts {
  margin-top: auto;
  padding-top: 2.2rem;
  width: 100%;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.9rem 1rem;
}
.fact.span { grid-column: 1 / -1; }

.label {
  margin: 0;
  font-size: .6rem;
  letter-spacing: .24em;
  color: var(--dim);
  font-weight: 600;
}
.value {
  margin: .4rem 0 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -.01em;
}


.rule {
  margin: .55rem 0 0;
  font-size: clamp(1.35rem, 6.4vw, 2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
}
.hi { color: var(--gelb); }

body.mode-finished .live-dot::before { animation: none; }


/* ── Merch: Katalog, Bildansicht, Warteliste ───────────────────────────────
   Sitzt bewusst ganz unten: wer die Seite waehrend des Rennens aufmacht,
   will die Rundenzahl sehen, nicht einen Shop. */

.merch {
  width: 100%;
  margin-top: 3rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
}
.merch-head {
  margin: .5rem 0 1.8rem;
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

/* Katalog */
.cat {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.6rem;
  max-width: 30rem;
  margin: 0 auto 2.4rem;
}
.cat-item { margin: 0; }

.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(247, 245, 240, .04);
  cursor: pointer;
  position: relative;
}
.shot img { display: block; width: 100%; height: auto; }
.shot:focus-visible { outline: 2px solid var(--gelb); outline-offset: 2px; }
.shot-count {
  position: absolute;
  right: .55rem;
  bottom: .55rem;
  padding: .2rem .5rem;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--papier);
  background: rgba(14, 14, 16, .72);
  border-radius: 4px;
}

.cat-name {
  margin: .8rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.cat-line { margin: .2rem 0 0; font-size: .85rem; color: rgba(247, 245, 240, .62); }
.cat-note { margin: .15rem 0 0; font-size: .74rem; letter-spacing: .1em; color: var(--dim); }

/* Bildansicht */
.viewer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem;
  background: rgba(8, 9, 11, .95);
}
.viewer[hidden] { display: none; }
body.viewer-open { overflow: hidden; }

.viewer-fig { margin: 0; max-width: min(90vw, 34rem); text-align: center; }
.viewer-fig img {
  display: block;
  max-width: 100%;
  max-height: 78svh;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}
.viewer-fig figcaption {
  margin-top: .9rem;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
}

.viewer-close,
.viewer-nav {
  flex: 0 0 auto;
  width: 2.8rem;
  height: 2.8rem;
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--papier);
  background: rgba(247, 245, 240, .08);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.viewer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
}
.viewer-close:focus-visible,
.viewer-nav:focus-visible { outline: 2px solid var(--gelb); outline-offset: 2px; }

@media (max-width: 30rem) {
  .viewer-nav { position: absolute; bottom: 1.4rem; }
  .viewer-nav.prev { left: 1.4rem; }
  .viewer-nav.next { right: 1.4rem; }
}

/* Warteliste */
.wl { max-width: 26rem; margin-inline: auto; }
.wl-lead {
  margin: 0 0 1.2rem;
  font-size: .95rem;
  line-height: 1.5;
  color: rgba(247, 245, 240, .74);
}
.merch-form {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
}
.merch-form input[type="email"] {
  flex: 1 1 13rem;
  min-width: 0;
  padding: .8rem .9rem;
  font: inherit;
  font-size: .95rem;
  color: var(--papier);
  background: rgba(247, 245, 240, .06);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.merch-form input[type="email"]::placeholder { color: rgba(247, 245, 240, .35); }
.merch-form input[type="email"]:focus-visible { outline: 2px solid var(--gelb); outline-offset: 1px; }
.merch-form button {
  padding: .8rem 1.3rem;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tinte);
  background: var(--gelb);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
.merch-consent {
  flex: 1 1 100%;
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  text-align: left;
  font-size: .78rem;
  line-height: 1.45;
  color: rgba(247, 245, 240, .5);
}
.merch-consent input { margin-top: .15rem; flex: 0 0 auto; }

.merch-note { margin: 0 0 1rem; font-size: .88rem; letter-spacing: .02em; }
.merch-note.ok { color: var(--gelb); }
.merch-note.warn { color: var(--rot); }
