/* ═══════════════════════════════════════════════════════════════
   MEMOBONUS v2 — „Ticket-Office“
   Tiefes Petrol, Creme-Tickets, Koralle als einziger Akzent.
   Unbounded (Display) · Manrope (Text) · IBM Plex Mono (Labels)
   Motiv: Poker-Chip (aus dem Logo-O) + Ticket-Perforation.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --bg:     #071418;
  --bg-2:   #0b1b20;
  --panel:  #0e2229;
  --paper:  #f4efe4;
  --paper-2:#eae3d5;
  --ink:    #0f1c20;
  --ink-2:  #3c4a4f;
  --ink-mut:#6d7b80;
  --cream:  #f4efe4;
  --mut:    #9fb3b8;
  --line:   rgba(244,239,228,.12);
  --line-ink: rgba(15,28,32,.14);
  --coral:  #ff5a47;
  --coral-2:#ff7f70;
  --coral-deep:#d9402f;
  --mint:   #2fcf85;
  --disp: "Unbounded", "Manrope", system-ui, sans-serif;
  --sans: "Manrope", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --col: min(1120px, calc(100vw - 32px));
  --r: 22px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--cream); font: 500 16px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: rgba(255,90,71,.45); }
a { color: inherit; }
img { display: block; max-width: 100%; }
.col { width: var(--col); margin: 0 auto; }

/* ── Typo-Bausteine ── */
.eyebrow { font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow--ink { color: var(--ink-mut); }
.fine { font: 500 12px/1.5 var(--mono); color: var(--mut); letter-spacing: .02em; }
.fine--center { text-align: center; margin-top: 28px; }
.sec { text-align: center; margin-bottom: 34px; }
.sec__title { font: 900 clamp(26px, 4vw, 40px)/1.08 var(--disp); letter-spacing: -.02em; }
.sec__title em { font-style: normal; color: var(--coral); }
.sec__sub { color: var(--mut); margin-top: 10px; font-size: 15px; }

/* ── Chip-Motiv ── */
.chip { --s: 44px; width: var(--s); height: var(--s); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; position: relative; background: var(--coral); color: #fff; font: 800 13px/1 var(--mono); box-shadow: 0 6px 18px rgba(255,90,71,.35); }
.chip::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.75); }
.chip i { font-style: normal; position: relative; }
.chip--big { --s: 84px; font-size: 22px; }
.chip--big::before { inset: 7px; border-width: 3px; }
.chip--sm { --s: 36px; font-size: 12px; flex: none; }
.chip--xs { --s: 14px; box-shadow: none; }
.chip--xs::before { inset: 2px; border-width: 1.5px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 14px 24px; border: 0; border-radius: 14px; font: 800 14px/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s; will-change: transform; }
.btn--coral { background: var(--coral); color: #fff; box-shadow: 0 10px 26px -8px rgba(255,90,71,.7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--coral:hover { background: var(--coral-2); transform: translateY(-2px); box-shadow: 0 16px 32px -8px rgba(255,90,71,.8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--coral:active { transform: translateY(0) scale(.98); background: var(--coral-deep); }
.btn--coral:focus-visible { outline: 3px solid rgba(255,90,71,.45); outline-offset: 2px; }
.btn--line { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px rgba(244,239,228,.4); }
.btn--sm { padding: 10px 16px; font-size: 13px; border-radius: 10px; }
.btn--xl { padding: 18px 32px; font-size: 15px; border-radius: 16px; }
.btn--full { width: 100%; }

/* ── Age-Gate ── */
.gate { position: fixed; inset: 0; z-index: 100; background: rgba(7,20,24,.92); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.gate[hidden] { display: none; }
.gate__card { width: min(520px, 100%); background: var(--paper); color: var(--ink); border-radius: 28px; padding: 36px 34px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); }
.gate__card p { color: var(--ink-2); font-size: 15px; }
.gate__title { font: 900 26px/1.1 var(--disp); letter-spacing: -.02em; }
.gate__actions { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 6px; }
.gate .btn--line { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-ink); }
.gate .fine { color: var(--ink-mut); }

/* ── Topbar ── */
.top { position: sticky; top: 0; z-index: 40; height: 66px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 20px; background: rgba(7,20,24,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top__brand { grid-column: 2; }
.top__brand img { height: 30px; width: auto; }
.top__cta { grid-column: 3; justify-self: end; }

/* ── Hero: zentriertes Poster ── */
.hero { position: relative; overflow: hidden; min-height: 640px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 20px 0; isolation: isolate; }
.hero__glow { position: absolute; left: 50%; top: 42%; width: 820px; height: 820px; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(255,90,71,.55) 0%, rgba(255,90,71,.22) 28%, rgba(255,90,71,0) 62%); filter: blur(10px); z-index: -3; }
.hero__word { position: absolute; left: 50%; top: 54px; transform: translateX(-50%); font: 900 clamp(150px, 26vw, 330px)/1 var(--disp); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(244,239,228,.16); z-index: -2; user-select: none; white-space: nowrap; }
.hero__memo { position: relative; width: min(560px, 90vw); height: auto; z-index: -1; margin-bottom: -150px; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }
.hero__text { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 180px 0 48px; max-width: 760px; }
.hero__text::before { content: ""; position: absolute; inset: 120px -200px 0; background: linear-gradient(180deg, rgba(7,20,24,0) 0%, rgba(7,20,24,.92) 26%, var(--bg) 60%); z-index: -1; }
.hero__h1 { font: 900 clamp(34px, 6vw, 68px)/1.02 var(--disp); letter-spacing: -.03em; }
.hero__h1 .ln { display: block; }
.hero__h1 .ln--coral { color: var(--coral); }
.hero__h1 i { font-style: normal; display: inline-block; }
.hero__sub { color: var(--mut); font-size: clamp(15px, 1.6vw, 18px); max-width: 560px; }
.hero__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.hero__count { font: 500 13px/1 var(--mono); color: var(--mut); letter-spacing: .04em; }
.hero__count b { color: var(--cream); font-weight: 600; }

/* ── Deals / Tickets ── */
.deals { padding: 40px 0 70px; position: relative; }
.deals--single { padding-top: 56px; }
.tickets { display: flex; flex-direction: column; gap: 36px; }

.ticket { position: relative; display: grid; grid-template-columns: 200px 26px 1fr 236px; background: var(--paper); color: var(--ink); border-radius: var(--r); min-height: 220px; box-shadow: 0 30px 60px -36px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.06) inset; }
.ticket--top { grid-template-columns: 224px 26px 1fr 250px; background: linear-gradient(180deg, #fbf7ee, var(--paper)); outline: 2px solid var(--coral); outline-offset: 4px; }
.ticket:hover .tile img { transform: scale(1.04); }

.rank { position: absolute; left: -12px; top: -12px; z-index: 3; }
.ticket--top .rank { --s: 50px; font-size: 15px; }

.stamp { position: absolute; right: 28px; top: -16px; z-index: 3; display: inline-flex; flex-direction: column; align-items: center; line-height: 1; padding: 8px 14px 9px; border: 2.5px solid var(--coral); color: var(--coral); border-radius: 10px; transform: rotate(-6deg); background: rgba(244,239,228,.9); font-family: var(--mono); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; font-size: 10px; box-shadow: 0 10px 22px -12px rgba(255,90,71,.8); }
.stamp b { font: 900 14px/1 var(--disp); letter-spacing: -.01em; margin-top: 3px; }

.ticket__stub { padding: 26px 0 22px 26px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.tile { width: 100%; aspect-ratio: 1.42; border-radius: 16px; background: var(--ink); display: flex; align-items: center; justify-content: center; padding: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.tile img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.tile--flat { padding: 0; }
.tile--flat img { width: 100%; height: 100%; }
.tile__word { font: 900 18px/1 var(--disp); color: var(--cream); text-align: center; letter-spacing: -.02em; }
.stub__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stub__meta span { display: flex; flex-direction: column; gap: 3px; padding: 9px 10px; border-radius: 10px; background: rgba(15,28,32,.06); }
.stub__meta b { font: 800 14px/1 var(--sans); letter-spacing: -.01em; white-space: nowrap; }
.stub__meta small { font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mut); }

/* Perforation: gestrichelte Linie (Background, content-box) + zwei Kerben in Seitenfarbe */
.ticket__perf { position: relative; padding: 22px 0; background: repeating-linear-gradient(180deg, rgba(15,28,32,.26) 0 7px, transparent 7px 14px); background-size: 2px 100%; background-position: center; background-repeat: no-repeat; background-clip: content-box; }
.ticket__perf::before, .ticket__perf::after { content: ""; position: absolute; left: 50%; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); transform: translate(-50%, -50%); top: 0; box-shadow: inset 0 2px 4px rgba(0,0,0,.35); }
.ticket__perf::after { top: 100%; }

.ticket__body { padding: 28px 26px 24px 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ticket__name { font: 900 clamp(22px, 2.4vw, 30px)/1.05 var(--disp); letter-spacing: -.025em; }
.ticket__bonus { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; margin-top: 2px; }
.ticket__bonus .pct { font: 900 clamp(34px, 4vw, 48px)/1 var(--disp); letter-spacing: -.04em; color: var(--coral); }
.ticket__bonus .amt { font: 800 clamp(18px, 2vw, 24px)/1 var(--sans); letter-spacing: -.02em; }
.ticket__bonus .fs { font: 600 12px/1 var(--mono); padding: 7px 10px; border-radius: 999px; background: var(--ink); color: var(--cream); letter-spacing: .06em; }
.ticket__line { color: var(--ink-2); font-size: 14px; }
.pros { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-top: 4px; }
.pros li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-2); font-weight: 600; }
.pros li::before { content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: var(--mint); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.pros li::after { content: ""; position: absolute; left: 6px; top: 7.5px; width: 5px; height: 8px; border: solid #fff; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.pros__hot { color: var(--ink) !important; }
.pros__hot::before { background: var(--coral) !important; }
.pays { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.pays i { height: 26px; min-width: 40px; padding: 0 7px; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-ink); display: inline-flex; align-items: center; justify-content: center; }
.pays i img { height: 15px; width: auto; max-width: 44px; }
.pays__more { font: 600 11px/1 var(--mono); color: var(--ink-mut); }

.ticket__act { padding: 28px 26px 24px 10px; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; }
.act__legal { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mut); text-align: center; }
.code { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 12px; border: 2px dashed rgba(15,28,32,.3); background: transparent; color: var(--ink); cursor: pointer; font-family: var(--mono); transition: border-color .15s, background .15s, transform .15s; }
.code small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mut); font-weight: 600; }
.code b { font-size: 15px; letter-spacing: .12em; font-weight: 600; }
.code:hover { border-color: var(--coral); background: rgba(255,90,71,.06); }
.code:active { transform: scale(.98); }
.code.is-copied { border-style: solid; border-color: var(--mint); background: rgba(47,207,133,.1); }
.code--none { cursor: default; border-color: rgba(15,28,32,.16); }
.more { background: none; border: 0; font: 700 12.5px/1 var(--sans); color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px; }
.more svg { transition: transform .25s; }
.more:hover { color: var(--coral); }
.ticket.is-open .more svg { transform: rotate(180deg); }

/* Details (Accordion über die volle Breite) */
.ticket__det { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.2,.8,.2,1); }
.ticket.is-open .ticket__det { grid-template-rows: 1fr; }
.det__in { overflow: hidden; }
.det__in > * { margin: 0 26px; }
.ticket.is-open .det__in { border-top: 2px dashed rgba(15,28,32,.18); margin: 0 26px 26px; padding-top: 22px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; }
.det__col { display: flex; flex-direction: column; gap: 10px; }
.pros--all li { font-weight: 500; }
.facts { display: grid; gap: 6px; }
.facts div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line-ink); font-size: 14px; }
.facts dt { color: var(--ink-mut); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.facts dd { font-weight: 800; text-align: right; }

/* ── So testet Memo ── */
.how { padding: 60px 0 40px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.how__head { text-align: center; margin-bottom: 40px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps li { position: relative; padding: 26px 22px 24px; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.steps li:nth-child(odd) { transform: translateY(18px); }
.steps__n { display: block; font: 900 48px/1 var(--disp); color: transparent; -webkit-text-stroke: 1.5px var(--coral); letter-spacing: -.04em; margin-bottom: 18px; }
.steps h3 { font: 800 17px/1.2 var(--sans); margin-bottom: 8px; letter-spacing: -.01em; }
.steps p { color: var(--mut); font-size: 14px; }

/* ── Regeln-Strip ── */
.rules { padding: 50px 0 70px; }
.rules__strip { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); color: var(--ink); border-radius: var(--r); overflow: hidden; }
.rules__item { display: flex; gap: 14px; padding: 26px 24px; border-right: 2px dashed rgba(15,28,32,.18); }
.rules__item:last-child { border-right: 0; }
.rules__item h3 { font: 800 15px/1.25 var(--sans); margin-bottom: 6px; }
.rules__item p { font-size: 13.5px; color: var(--ink-2); }

/* ── Footer ── */
.foot { border-top: 1px solid var(--line); padding: 40px 0 36px; }
.foot .col { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.foot__brand img { height: 22px; width: auto; opacity: .85; }
.foot__nav { display: flex; gap: 22px; font: 700 13px/1 var(--sans); }
.foot__nav a { text-decoration: none; color: var(--mut); }
.foot__nav a:hover { color: var(--cream); }
.foot__rg { display: flex; gap: 14px; align-items: flex-start; max-width: 760px; text-align: left; color: var(--mut); font-size: 13px; padding: 18px; border-radius: 16px; background: var(--bg-2); }
.foot__rg a { color: var(--cream); }

/* ── Toast ── */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: var(--mint); color: #062015; font: 700 13px/1 var(--mono); letter-spacing: .06em; padding: 12px 18px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 90; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── GSAP-Initialzustände (nur wenn JS+GSAP aktiv) ── */
html.gsap .hero__h1 i, html.gsap .hero__sub, html.gsap .hero__cta, html.gsap .hero .fine, html.gsap .hero .eyebrow { opacity: 0; }
html.gsap .hero__memo { opacity: 0; }
html.gsap .ticket { opacity: 0; }
@media (prefers-reduced-motion: reduce) { html.gsap .hero__h1 i, html.gsap .hero__sub, html.gsap .hero__cta, html.gsap .hero .fine, html.gsap .hero .eyebrow, html.gsap .hero__memo, html.gsap .ticket { opacity: 1; } }

/* ── Responsive ── */
@media (max-width: 1020px) {
  .ticket, .ticket--top { grid-template-columns: 180px 26px 1fr; }
  .ticket__act { grid-column: 1 / -1; flex-direction: row; align-items: center; padding: 0 26px 24px; }
  .ticket__act .btn { width: auto; flex: 1; }
  .act__legal { order: 3; }
  .ticket__body { padding-right: 26px; }
}
@media (max-width: 720px) {
  :root { --r: 20px; }
  .top { grid-template-columns: 1fr auto; height: 60px; padding: 0 14px; }
  .top__brand { grid-column: 1; justify-self: start; }
  .top__brand img { height: 24px; }
  .top__cta { grid-column: 2; }
  .hero { min-height: 0; }
  .hero__word { top: 30px; font-size: 42vw; }
  .hero__memo { width: min(420px, 92vw); margin-bottom: -120px; }
  .hero__text { padding: 130px 0 38px; gap: 12px; }
  .hero__h1 { font-size: clamp(30px, 9.4vw, 44px); }
  .hero__cta { flex-direction: column; gap: 12px; }
  .hero__cta .btn { width: 100%; max-width: 360px; }
  .deals { padding-top: 26px; }
  .sec { margin-bottom: 24px; }
  .tickets { gap: 26px; }
  .ticket, .ticket--top { grid-template-columns: 1fr; }
  .rank { left: 12px; top: -14px; }
  .stamp { right: 14px; top: -14px; }
  .ticket__stub { padding: 30px 20px 0; flex-direction: row; align-items: center; gap: 14px; }
  .tile { width: 42%; min-width: 130px; aspect-ratio: 1.35; }
  .stub__meta { flex: 1; }
  .ticket__perf { height: 26px; padding: 0 20px; background: repeating-linear-gradient(90deg, rgba(15,28,32,.26) 0 7px, transparent 7px 14px); background-size: 100% 2px; background-position: center; background-repeat: no-repeat; background-clip: content-box; }
  .ticket__perf::before, .ticket__perf::after { top: 50%; left: 0; transform: translate(-50%, -50%); }
  .ticket__perf::after { left: 100%; }
  .ticket__body { padding: 4px 20px 16px; }
  .ticket__act { flex-direction: column; align-items: stretch; padding: 0 20px 22px; gap: 10px; }
  .ticket__act .btn { width: 100%; }
  .act__legal { order: 0; }
  .ticket.is-open .det__in { grid-template-columns: 1fr; margin: 0 20px 22px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(odd) { transform: none; }
  .rules__strip { grid-template-columns: 1fr; }
  .rules__item { border-right: 0; border-bottom: 2px dashed rgba(15,28,32,.18); }
  .rules__item:last-child { border-bottom: 0; }
  .foot__rg { text-align: left; }
}
@media (max-width: 420px) { .steps { grid-template-columns: 1fr; } .stub__meta b { font-size: 13px; } }
