/* PUSH Pre-Launch – gemeinsames Stylesheet (Entwurf "PUSH Passwortseite", Seiten 20–23) */

@font-face {
  font-family: "Archivo Wide";
  src: url("/login/archivo-wide.woff2") format("woff2");
  font-weight: 800 900;
  font-stretch: 125%;
  font-display: block;
}
@font-face {
  font-family: "Inter";
  src: url("/login/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "PUSH Mono";
  src: url("/login/mono.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #f3f2ee;
  --ink: #0a0a0a;
  --muted: #5c5c58;
  --soft: #8d8c87;
  --line: #d3d1cb;
  --tile: #e4e2dc;
  --blue: #2c3bdb;
  --blue-deep: #1f2cb8;
  --error: #c2261b;
  --pad: clamp(20px, 6vw, 44px);
  --col: 560px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

::selection { background: var(--blue); color: #fff; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.display {
  font-family: "Archivo Wide", "Arial Black", sans-serif;
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
}

.mono { font-family: "PUSH Mono", ui-monospace, Menlo, monospace; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Kopfzeilen ---------- */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(var(--pad) + env(safe-area-inset-top, 0px)) var(--pad) 0;
}

.bar {
  width: 100%;
  max-width: calc(var(--col) + 2 * var(--pad));
  margin: 0 auto;
}

.logo {
  font-family: "Archivo Wide", "Arial Black", sans-serif;
  font-weight: 900;
  font-stretch: 125%;
  font-size: 22px;
  letter-spacing: -.02em;
  text-decoration: none;
}

.top .meta { color: var(--muted); }

/* ---------- Spalte für Inhalte ---------- */
.col {
  width: 100%;
  max-width: calc(var(--col) + 2 * var(--pad));
  margin: 0 auto;
  padding: 0 var(--pad) calc(var(--pad) + env(safe-area-inset-bottom, 0px));
}

.grow { flex: 1; }

.h1 {
  font-family: "Archivo Wide", "Arial Black", sans-serif;
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  font-size: clamp(44px, 13.5vw, 76px);
  line-height: .9;
  letter-spacing: -.03em;
}

.lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 40ch;
}

/* ---------- Wortmarke (Startseite) ---------- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(48px, 12vh, 140px) 0 clamp(40px, 8vh, 96px);
}

.mark {
  font-family: "Archivo Wide", "Arial Black", sans-serif;
  font-weight: 900;
  font-stretch: 125%;
  font-size: min(25.5vw, 300px);
  line-height: .8;
  letter-spacing: -.035em;
  margin-right: -.035em;
  white-space: nowrap;
  user-select: none;
}

.mark span {
  display: inline-block;
  transform: translateY(18%);
  opacity: 0;
  animation: rise .9s var(--ease) forwards;
}
.mark span:nth-child(2) { animation-delay: .06s; }
.mark span:nth-child(3) { animation-delay: .12s; }
.mark span:nth-child(4) { animation-delay: .18s; }

.claim {
  margin-top: clamp(22px, 4vh, 40px);
  font-size: clamp(13px, 1.6vw, 15px);
  letter-spacing: .34em;
  margin-right: -.34em;
  opacity: 0;
  animation: fade .8s ease .55s forwards;
}

.enter {
  opacity: 0;
  transform: translateY(12px);
  animation: rise .8s var(--ease) .4s forwards;
}

/* ---------- Felder ---------- */
.combo {
  display: flex;
  border: 1.5px solid var(--ink);
}

.combo input {
  flex: 1;
  min-width: 0;
  height: 58px;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  letter-spacing: .02em;
}
.combo input::placeholder { color: var(--soft); }
.combo:focus-within { box-shadow: 0 0 0 3px rgba(44, 59, 219, .25); }
.combo input:focus { outline: none; }

.line-input {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0;
  border: 0;
  border-bottom: 1.5px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  transition: border-color .2s;
}
.line-input::placeholder { color: var(--soft); }
.line-input:focus { outline: none; border-bottom-color: var(--blue); }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.consent input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 20px; height: 20px;
  margin-top: 1px;
  border: 1.5px solid var(--ink);
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.consent input::after {
  content: "";
  width: 10px; height: 10px;
  background: var(--blue);
  transform: scale(0);
  transition: transform .15s var(--ease);
}
.consent input:checked::after { transform: scale(1); }
.consent input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.msg {
  min-height: 20px;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--error);
}
.msg.info { color: var(--blue); }

.or {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 10px 0 26px;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--soft);
}
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .24em;
  text-indent: .24em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.btn[disabled] { cursor: default; }

.btn-block { width: 100%; height: 60px; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #262626; }
.combo .btn-dark { flex: none; width: clamp(104px, 26%, 140px); }

.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); }

.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--paper); }

.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .85); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }

.btn::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 100%;
  background: currentColor;
  opacity: .8;
  transform: scaleX(0);
  transform-origin: left;
}
.btn.busy::after { animation: load 1.2s var(--ease) infinite; }

.textlink {
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 2px solid currentColor;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  background: none;
  border-top: 0; border-left: 0; border-right: 0;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
}
.foot a, .foot button { color: inherit; text-underline-offset: 3px; }
.foot a:hover { color: var(--ink); }

.small { font-size: 14px; line-height: 1.5; color: var(--muted); }
.small a { text-underline-offset: 3px; }
.small button { font: inherit; color: inherit; background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.center { text-align: center; }

/* ---------- Member-Karte (Seite 22) ---------- */
.card {
  position: relative;
  aspect-ratio: 85.6 / 54;
  background: var(--blue);
  color: #fff;
  padding: clamp(18px, 5.5vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 30px 60px -30px rgba(10, 10, 10, .45);
}
.card .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card .row.end { align-items: flex-end; }
.card .logo { font-size: clamp(24px, 7.5vw, 36px); }
.card .eyebrow { font-size: 11px; font-weight: 700; }
.card .code { font-size: clamp(20px, 6.2vw, 30px); letter-spacing: .1em; margin-top: 6px; white-space: nowrap; }
.card .num { font-size: clamp(14px, 4.2vw, 18px); letter-spacing: .1em; white-space: nowrap; }

.card-in { animation: card-in 1s var(--ease) .15s both; }

/* ---------- Leistungsliste ---------- */
.rows { list-style: none; border-top: 1px solid var(--line); }
.rows li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.rows li span:last-child { color: var(--muted); text-align: right; }

/* ---------- Inside ---------- */
.progress { height: 4px; background: var(--line); margin-top: 12px; }
.progress div { height: 100%; background: var(--blue); width: 0; transition: width 1.4s var(--ease) .3s; }

.gallery-main {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--tile);
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.gallery-cap { display: flex; justify-content: space-between; margin-top: 10px; font-size: 15px; }
.gallery-cap span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.gallery-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.gallery-thumbs button {
  aspect-ratio: 1 / .85;
  background: var(--tile);
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-thumbs button:hover img { transform: scale(1.04); }
.gallery-main:focus-visible, .gallery-thumbs button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.offer { background: var(--blue); color: #fff; padding: clamp(22px, 6vw, 32px); }
.offer .label { color: rgba(255, 255, 255, .85); }
.offer h2 { font-size: clamp(24px, 6.8vw, 34px); line-height: 1; letter-spacing: -.02em; }
.offer p { margin-top: 14px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.offer .btn { margin-top: 12px; height: 56px; }
.offer .btn:first-of-type { margin-top: 24px; }
.offer .note { margin-top: 12px; min-height: 20px; font-size: 14px; color: #fff; }

.rule { height: 1px; background: var(--line); border: 0; }

/* Mail-Symbol (Seite 21) */
.envelope { width: 60px; height: 48px; margin: 0 auto; color: var(--ink); }

/* ---------- Übergang nach richtigem Zugang ---------- */
.wipe {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  clip-path: inset(100% 0 0 0);
  pointer-events: none;
}
.wipe .mark { opacity: 0; transform: scale(.96); }
.wipe.go { animation: wipe .7s var(--ease) forwards; }
.wipe.go .mark { animation: pop .5s var(--ease) .3s forwards; }

.shake { animation: shake .45s cubic-bezier(.36, .07, .19, .97); }

.stack > * + * { margin-top: var(--gap, 24px); }

@media (min-width: 1000px) {
  .mark { font-size: min(22vw, 25vh, 340px); }
  .hero { padding: 4vh 0 6vh; }
}

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes load {
  0% { transform: scaleX(0); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
  50.1% { transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}
@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-8px); }
  40%, 60% { transform: translateX(8px); }
}
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes card-in {
  from { opacity: 0; transform: translateY(24px) rotate(-3deg); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    transition: none !important;
  }
}

/* ---------- Digitale Member-Karte in 3D ---------- */
.card3d {
  position: relative;
  perspective: 1400px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.card3d:active { cursor: grabbing; }
.card3d:focus-visible .card3d-inner { outline: 2px solid var(--blue); outline-offset: 6px; }

.card3d-inner {
  position: relative;
  aspect-ratio: 85.6 / 54;
  transform-style: preserve-3d;
  will-change: transform;
}

.card3d .face {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: none;
  aspect-ratio: auto;
}
.card3d .front { transform: translateZ(.5px); }
.card3d .back {
  transform: rotateY(180deg) translateZ(.5px);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}
.card3d .back .row.start { justify-content: flex-start; gap: clamp(22px, 9vw, 48px); }
.card3d .muted { color: var(--muted); font-size: 10px; }
.card3d .logo.blue { color: var(--blue); font-size: clamp(18px, 5.5vw, 26px); }
.card3d .back-big { font-size: clamp(15px, 4.6vw, 21px); font-weight: 600; letter-spacing: .08em; margin-top: 4px; }
.card3d .back-val { font-size: clamp(13px, 3.8vw, 16px); font-weight: 600; margin-top: 4px; }
.card3d .bc { width: 52%; color: var(--ink); }
.card3d .bc svg { display: block; width: 100%; height: clamp(28px, 9vw, 44px); }
.card3d .bc span { display: block; font-size: 9px; letter-spacing: .1em; color: var(--muted); margin-top: 4px; }
.card3d .url { font-size: 12px; color: var(--muted); }

/* Lichtreflex, wandert mit der Drehung (Variablen setzt card.js) */
.card3d .glare {
  position: absolute;
  inset: -40%;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 48%, rgba(255, 255, 255, .06) 55%, transparent 65%);
  transform: translateX(var(--glare-x, -30%));
  mix-blend-mode: soft-light;
  opacity: var(--glare-o, .9);
}
.card3d .back .glare { mix-blend-mode: multiply; background: linear-gradient(105deg, transparent 38%, rgba(10, 10, 10, .06) 50%, transparent 62%); }

.card3d-shadow {
  position: absolute;
  left: 8%; right: 8%; bottom: -26px;
  height: 30px;
  background: radial-gradient(closest-side, rgba(10, 10, 10, .32), transparent);
  filter: blur(6px);
  transform: scaleX(var(--shadow-s, 1));
  pointer-events: none;
}

.card3d-hint {
  margin-top: 40px;
  text-align: center;
  font-size: 10px;
  color: var(--soft);
  transition: opacity .6s ease;
}
.card3d-hint.gone { opacity: 0; }

/* Erledigt: Platz reserviert / Probetraining angefragt */
.offer .btn[disabled] {
  background: transparent;
  color: #fff;
  border: 1.5px dashed rgba(255, 255, 255, .6);
  cursor: default;
}
.offer .btn[disabled]::before { content: "✓"; margin-right: .6em; letter-spacing: 0; text-indent: 0; }
