/* ---------- Fonts (lokal, SIL OFL) ---------- */
@font-face {
  font-family: "Anton";
  src: url("fonts/anton-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0b0b0c;
  --bg-2: #141416;
  --ink: #f4f4f0;
  --muted: #a3a39c;
  --line: #2a2a2e;

  --volt: #d4ff3a;        /* Gym-Akzent */
  --volt-deep: #a9d400;
  --ember: #ff7a33;       /* Essens-Akzent */
  --ember-soft: #ffb27a;
  --food-bg: #1b120c;

  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --text: "Inter", "Segoe UI", Roboto, sans-serif;

  --gutter: 20px;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

::selection { background: var(--volt); color: #000; }

:focus-visible {
  outline: 3px solid var(--volt);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Typo-Helfer ---------- */
.kicker {
  margin: 0 0 12px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--volt);
}

.section-title {
  margin: 0 0 32px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 13vw, 88px);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.hl-gym  { color: var(--volt); font-weight: 800; }
.hl-food { color: var(--ember); font-weight: 800; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(56px + env(safe-area-inset-top)) var(--gutter) 28px;
  isolation: isolate;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,.25) 35%, rgba(11,11,12,.92) 78%, var(--bg) 100%),
    url("images/hero-gym.webp") center 30% / cover no-repeat;
  transform: scale(1.06);
  animation: hero-zoom 14s ease-out forwards;
}

@keyframes hero-zoom { to { transform: scale(1); } }

.hero__inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.hero__title {
  margin: 0 0 28px;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .9;
}

.hero__line { display: block; }
.hero__line:first-child {
  font-size: clamp(36px, 11vw, 72px);
  color: #d8d8d0;
}
.hero__line:last-child {
  font-size: clamp(46px, 14.5vw, 110px);
  hyphens: manual;
  overflow-wrap: break-word;
}

/* Ticket mit gezackten Kanten und Perforation */
.ticket {
  --scallop: 7px;
  display: grid;
  grid-template-columns: 1fr 74px;
  background: var(--volt);
  color: #0b0b0c;
  border-radius: 6px;
  filter: drop-shadow(0 18px 40px rgba(212,255,58,.18));
  -webkit-mask:
    radial-gradient(circle at 0 50%, #0000 var(--scallop), #000 calc(var(--scallop) + .5px)) 0 0 / 51% 18px repeat-y,
    radial-gradient(circle at 100% 50%, #0000 var(--scallop), #000 calc(var(--scallop) + .5px)) 100% 0 / 51% 18px repeat-y;
          mask:
    radial-gradient(circle at 0 50%, #0000 var(--scallop), #000 calc(var(--scallop) + .5px)) 0 0 / 51% 18px repeat-y,
    radial-gradient(circle at 100% 50%, #0000 var(--scallop), #000 calc(var(--scallop) + .5px)) 100% 0 / 51% 18px repeat-y;
}

.ticket__main {
  padding: 22px 18px 20px 28px;
}

.ticket__label {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .7;
}

.ticket__name {
  margin: 2px 0 14px;
  font-family: var(--display);
  font-size: clamp(64px, 21vw, 120px);
  line-height: .9;
  text-transform: uppercase;
}

.ticket__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0;
  padding: 12px 0 0;
  list-style: none;
  border-top: 2px solid rgba(0,0,0,.85);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ticket__facts strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  margin-right: 3px;
  vertical-align: -2px;
}

.ticket__stub {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: var(--volt-deep);
  writing-mode: vertical-rl;
  text-transform: uppercase;
}
/* Perforation */
.ticket__stub::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: -1px;
  width: 2px;
  background: repeating-linear-gradient(180deg, #0b0b0c 0 6px, transparent 6px 12px);
}
.ticket__no {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: .04em;
}
.ticket__admit {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .3em;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
.scroll-cue svg { animation: bob 1.8s ease-in-out infinite; color: var(--volt); }
@keyframes bob { 50% { transform: translateY(4px); } }

/* ---------- Intro ---------- */
.intro {
  padding: 56px var(--gutter) 24px;
  max-width: 720px;
  margin: 0 auto;
}
.intro__text {
  margin: 0;
  font-size: clamp(22px, 6vw, 30px);
  line-height: 1.35;
  font-weight: 600;
}

/* ---------- Timeline ---------- */
.plan {
  padding: 56px var(--gutter) 72px;
  max-width: 720px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 40px;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 13px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--volt) 0%, var(--volt) 40%, var(--ember) 60%, var(--ember) 100%);
}

.station { position: relative; }

.station__dot {
  position: absolute;
  top: 0;
  left: -40px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-family: var(--display);
  font-size: 13px;
  color: #000;
  box-shadow: 0 0 0 5px var(--bg);
}
.station--gym  .station__dot { background: var(--volt); }
.station--food .station__dot { background: var(--ember); }

.station__card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.station--food .station__card {
  background: linear-gradient(180deg, var(--food-bg), #140e0a);
  border-color: #3a2618;
}

.station__media {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.station__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.station__card:hover .station__media img { transform: scale(1.04); }
.station__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55));
}

.station__tag {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #000;
}
.station--gym  .station__tag { background: var(--volt); }
.station--food .station__tag { background: var(--ember); }

.station__body { padding: 22px 20px 24px; }

.station__title {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 9vw, 44px);
  line-height: 1;
  text-transform: uppercase;
}
.station--food .station__title { color: var(--ember-soft); }

.station__text { margin: 0 0 18px; color: #d6d6cf; }

.station__address {
  margin: 0 0 20px;
  padding-left: 14px;
  border-left: 3px solid var(--volt);
  font-style: normal;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.station--food .station__address { border-left-color: var(--ember); }

.interlude {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
  padding: 0;
}
.interlude span {
  padding: 6px 12px;
  border: 1px dashed #4a4a4e;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.interlude span:not(:last-child)::after { content: " →"; color: #6b6b66; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font: 600 15px/1.2 var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }

.btn--ghost {
  border: 1.5px solid currentColor;
  background: transparent;
}
.station--gym  .btn--ghost { color: var(--volt); }
.station--food .btn--ghost { color: var(--ember); }
.station--gym  .btn--ghost:hover { background: var(--volt); color: #000; }
.station--food .btn--ghost:hover { background: var(--ember); color: #000; }

.btn--primary {
  min-height: 64px;
  padding: 18px 40px;
  border: 0;
  background: var(--volt);
  color: #000;
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 0 0 0 rgba(212,255,58,.5);
  animation: pulse 2.4s ease-out infinite;
}
.btn--primary:hover { box-shadow: 0 10px 40px rgba(212,255,58,.35); }
.btn--primary.is-done {
  animation: none;
  background: var(--ink);
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(212,255,58,.45); }
  70%  { box-shadow: 0 0 0 18px rgba(212,255,58,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,255,58,0); }
}

/* ---------- Details / Gutschein ---------- */
.details {
  position: relative;
  padding: 88px var(--gutter) 96px;
  isolation: isolate;
  overflow: hidden;
}
.details > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.details__bg {
  position: absolute;
  inset: -1px 0;
  z-index: -1;
  max-width: none;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(11,11,12,.62) 30%, rgba(11,11,12,.7) 70%, var(--bg) 100%),
    url("images/flames.webp") center / cover no-repeat;
}

.voucher {
  position: relative;
  padding: 28px 22px 22px;
  border-radius: var(--radius);
  border: 2px dashed rgba(255,178,122,.55);
  background: rgba(20,14,10,.82);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.voucher__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
  margin: 0;
}
.voucher__row--full { grid-column: 1 / -1; }

.voucher__row dt {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ember);
}
.voucher__row dd {
  margin: 0;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
}

.packlist {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.packlist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
}
.packlist__icon { font-size: 22px; line-height: 1; }

.voucher__fine {
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,178,122,.25);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- CTA ---------- */
.cta {
  padding: 72px var(--gutter) 96px;
  text-align: center;
}
.cta__title {
  margin: 0 0 28px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 12vw, 76px);
  line-height: .95;
  text-transform: uppercase;
}
.cta__reply {
  min-height: 1.6em;
  margin: 22px auto 0;
  max-width: 28ch;
  font-weight: 600;
  color: var(--volt);
}

.confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
}

/* ---------- Footer ---------- */
.footer {
  padding: 32px var(--gutter) calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.footer p { max-width: 560px; margin: 0 auto; }
.footer__love { margin-bottom: 10px !important; font-size: 16px; color: var(--ink); }
.footer__love strong { color: var(--volt); }
.footer__credits { font-size: 12px; line-height: 1.6; }
.footer__credits a { color: var(--muted); text-underline-offset: 2px; }
.footer__credits a:hover { color: var(--ink); }

/* ---------- Scroll-Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Größere Screens ---------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .hero { align-items: center; }
  .ticket { grid-template-columns: 1fr 96px; }
  .ticket__main { padding: 30px 28px 26px 40px; }
  .station__body { padding: 28px 30px 30px; }
  .voucher { padding: 36px 40px 28px; }
  .packlist { grid-template-columns: repeat(3, 1fr); }
  .timeline { padding-left: 56px; }
  .timeline::before { left: 18px; }
  .station__dot { left: -56px; width: 40px; height: 40px; font-size: 16px; }
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero__bg { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}
