:root {
  --black: #000;
  --ink: #1d1d1f;
  --gray: #6e6e73;
  --gray-dark: #86868b;
  --line: #d2d2d7;
  --silver: #f5f5f7;
  --white: #fff;
  --graphite: #1d1d1f;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-dark: #2997ff;
  --vip: #30d158;
  --premium: #ff9f0a;
  --legende: linear-gradient(100deg, #5b8cff 10%, #b65bff 90%);
  --red: #ff3b30;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --wrap: 1024px;
  --nav: 48px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav) + 12px);
  background: var(--black);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
}

body.locked { overflow: hidden; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.88em; background: rgba(127, 127, 127, 0.16); padding: 1px 6px; border-radius: 6px; }

:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.6); outline-offset: 3px; border-radius: 10px; }

[hidden] { display: none !important; }

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

.wrap { width: min(var(--wrap), 100% - 44px); margin: 0 auto; }
.wrap.narrow { width: min(720px, 100% - 44px); }

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--nav);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: background 0.3s;
}

.nav.solid { background: rgba(22, 22, 23, 0.82); }

.nav-in {
  width: min(var(--wrap), 100% - 32px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo { display: flex; align-items: center; gap: 8px; color: #f5f5f7; font-weight: 600; font-size: 15px; }
.logo:hover { text-decoration: none; }
.logo img { border-radius: 6px; }

.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { color: rgba(245, 245, 247, 0.8); font-size: 12px; letter-spacing: -0.01em; }
.nav nav a:hover { color: #fff; text-decoration: none; }

.who {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 11px 3px 3px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #f5f5f7;
  font: 500 12px var(--font);
  cursor: pointer;
}

.who img { border-radius: 50%; image-rendering: pixelated; }
.who:hover { background: rgba(255, 255, 255, 0.22); }

.hero { height: 200vh; height: 200svh; background: var(--black); color: #f5f5f7; position: relative; }

.hero-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 100%;
  place-items: center;
}

.hero-gems {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-pin::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(to bottom, transparent, #000 92%);
  pointer-events: none;
}

.hero-text {
  --p: 0;
  position: relative;
  z-index: 2;
  width: min(760px, 100vw - 40px);
  text-align: center;
  margin-top: 44vh;
  opacity: calc(1 - var(--p) * 1.7);
  transform: translateY(calc(var(--p) * -60px)) scale(calc(1 - var(--p) * 0.06));
}

.eyebrow { margin: 0 0 6px; font-size: 21px; font-weight: 600; color: #a1a1a6; letter-spacing: 0.004em; }

.hero h1 {
  margin: 0;
  font-size: clamp(32px, 5.2vw, 64px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.015em;
  background: linear-gradient(180deg, #fff 30%, #c8c8d0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { margin: 18px auto 0; max-width: 600px; font-size: clamp(17px, 2vw, 21px); line-height: 1.38; color: #a1a1a6; }

.name-form {
  margin: 30px auto 0;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 420px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: border-color 0.2s, background 0.2s;
}

.name-form:focus-within { border-color: rgba(41, 151, 255, 0.85); background: rgba(255, 255, 255, 0.14); }
.name-form.busy button { opacity: 0.6; pointer-events: none; }

.name-head { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); image-rendering: pixelated; flex: none; }

.name-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: 400 17px var(--font);
  letter-spacing: -0.02em;
}

.name-form input::placeholder { color: rgba(255, 255, 255, 0.45); }

.name-form button {
  flex: none;
  border: 0;
  border-radius: 999px;
  padding: 9px 20px;
  background: var(--accent);
  color: #fff;
  font: 500 15px var(--font);
  cursor: pointer;
}

.name-form button:hover { background: var(--accent-hover); }

.name-hint { min-height: 22px; margin: 12px 0 0; font-size: 14px; color: #86868b; }
.name-hint.ok { color: #30d158; }
.name-hint.error { color: #ff6961; }

.headline {
  margin: 0;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.012em;
}

.headline.small { font-size: clamp(32px, 4.4vw, 48px); }

.intro { margin: 14px 0 0; max-width: 640px; font-size: clamp(19px, 2vw, 24px); line-height: 1.3; color: var(--gray); font-weight: 500; letter-spacing: 0.002em; }

.fine { margin: 18px 0 0; font-size: 12px; line-height: 1.4; color: var(--gray); letter-spacing: -0.01em; }
.fine.center { text-align: center; }

.ranks-band { background: var(--silver); padding: 110px 0 100px; position: relative; z-index: 1; }

.rank-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rank-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 28px 32px;
  border-radius: 28px;
  background: var(--white);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
}

.rank-card:hover { transform: scale(1.015); box-shadow: 2px 6px 24px rgba(0, 0, 0, 0.08); }

.rank-gem { width: 100%; aspect-ratio: 1 / 0.9; }

.rank-card h3 { margin: 4px 0 0; font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: 0.002em; }
.look-vip h3, th.look-vip { color: #1a9e4b; }
.look-premium h3, th.look-premium { color: #e07a00; }
.look-legende h3, th.look-legende { background: var(--legende); -webkit-background-clip: text; background-clip: text; color: transparent; }

.rank-card .tagline { margin: 6px 0 0; font-size: 17px; color: var(--gray); }
.rank-card .price { margin: 14px 0 0; font-size: 17px; font-weight: 600; }
.rank-card .price s { color: var(--gray-dark); font-weight: 400; margin-right: 4px; }

.rank-card ul {
  list-style: none;
  margin: 22px 0 26px;
  padding: 20px 0 0;
  width: 100%;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  flex: 1;
}

.rank-card li + li { margin-top: 8px; }

.buy {
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  background: var(--accent);
  color: #fff;
  font: 400 17px var(--font);
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.buy:hover { background: var(--accent-hover); }
.buy:active { transform: scale(0.97); }
.buy:disabled { background: #e8e8ed; color: var(--gray); cursor: default; transform: none; }
.buy.small { font-size: 14px; padding: 8px 16px; }

.owned .buy:disabled::before { content: "✓ "; color: #1a9e4b; }

.compare-band { background: var(--white); padding: 100px 0; }

.compare-scroll { margin-top: 40px; overflow-x: auto; -webkit-overflow-scrolling: touch; }

.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 15px 10px; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 19px; font-weight: 600; vertical-align: bottom; border-bottom-color: var(--ink); }
.compare thead th small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--gray); -webkit-text-fill-color: var(--gray); }
.compare tbody th { text-align: left; font-weight: 400; color: var(--gray); }
.compare .yes { color: var(--accent); font-size: 12px; }
.compare .no { color: #c7c7cc; }

.trails-band { background: var(--black); color: #f5f5f7; padding: 110px 0; }
.trails-band .intro { color: #86868b; }

.trail-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trail-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: var(--graphite);
  overflow: hidden;
}

.trail-card.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; }

.trail-preview { width: 100%; height: 180px; display: block; background: radial-gradient(ellipse at 50% 70%, #2a2a2e 0%, #1d1d1f 70%); }
.trail-card.wide .trail-preview { width: 52%; height: 200px; }

.trail-text { padding: 18px 22px 0; flex: 1; }
.trail-card h3 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: 0.01em; }
.trail-card p { margin: 6px 0 0; font-size: 15px; color: #a1a1a6; }
.trail-card .buy { margin: 18px 22px 22px; align-self: flex-start; }
.trail-card.wide .trail-text { padding: 28px 24px; }
.trail-card.wide .buy { margin: 0 32px 0 0; align-self: center; }
.trail-card .buy:disabled { background: #333336; color: #a1a1a6; }
.trail-card.owned .buy:disabled::before { color: #30d158; }

.goal-band { background: var(--silver); padding: 90px 0; text-align: center; }
.goal-band .intro { margin-inline: auto; }
.goal-bar { margin: 34px auto 0; height: 8px; border-radius: 999px; background: #e3e3e8; overflow: hidden; max-width: 520px; }
.goal-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--legende); transition: width 1.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.goal-band .fine { font-size: 14px; }

.faq-band { background: var(--white); padding: 100px 0 110px; }
.faq-band .headline { margin-bottom: 26px; }

details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 34px 22px 0;
  position: relative;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 300;
  color: var(--gray);
  transition: transform 0.3s;
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { margin: -6px 0 24px; color: var(--gray); max-width: 620px; }

.foot { background: var(--silver); padding: 26px 0 40px; font-size: 12px; color: var(--gray); }
.foot .wrap { border-top: 1px solid var(--line); padding-top: 18px; }
.foot p { margin: 0 0 8px; }
.disclaimer { font-size: 11px; letter-spacing: 0.02em; }
.legal { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; }
.legal a { color: var(--ink); }

.closed .buy:not(:disabled) { background: #e8e8ed; color: var(--gray); }
.closed .trail-card .buy:not(:disabled) { background: #333336; color: #a1a1a6; }
.demo::before {
  content: "Vorschau – es wird nichts verkauft";
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 159, 10, 0.95);
  color: #000;
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
  white-space: nowrap;
}

.load-error { grid-column: 1 / -1; color: var(--red); }

.sheet-wrap { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; }

.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.26s;
}

.sheet {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 18px 30px 26px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  text-align: center;
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition: opacity 0.26s, transform 0.36s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sheet-wrap.open .sheet-backdrop { opacity: 1; }
.sheet-wrap.open .sheet { opacity: 1; transform: none; }

.sheet-x {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #e8e8ed;
  color: var(--gray);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.sheet-gem { width: 190px; height: 170px; margin: 0 auto; }
.sheet-trail { margin: 26px -30px 4px; }
.sheet-trail canvas { width: 100%; height: 150px; display: block; background: #000; }
.sheet h2 { margin: 2px 0 0; font-size: 32px; font-weight: 700; letter-spacing: 0.002em; }
.sheet-for { margin: 6px 0 0; display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--gray); }
.sheet-for img { border-radius: 4px; image-rendering: pixelated; }
.sheet-price { margin: 14px 0 22px; }
.sheet-price span { display: block; font-size: 28px; font-weight: 600; }
.sheet-price small { display: block; margin-top: 2px; font-size: 13px; color: var(--gray); }

.field { display: block; text-align: left; margin-bottom: 16px; }
.field span { display: block; font-size: 13px; color: var(--gray); margin: 0 0 6px 4px; }
.field input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: 400 17px var(--font);
  letter-spacing: -0.02em;
  background: var(--white);
  color: var(--ink);
}
.field input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.16); }

.check { display: flex; gap: 10px; align-items: flex-start; text-align: left; font-size: 13px; line-height: 1.4; color: var(--ink); margin-bottom: 12px; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }

.sheet-error { min-height: 18px; margin: 4px 0 10px; font-size: 13px; color: var(--red); text-align: left; }

.pay {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 15px;
  background: var(--accent);
  color: #fff;
  font: 500 17px var(--font);
  cursor: pointer;
}
.pay:hover { background: var(--accent-hover); }
.pay:disabled { background: #e8e8ed; color: var(--gray); cursor: default; }

@media (max-width: 900px) {
  .rank-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .trail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .nav nav a:not([href^="#"]) { display: none; }
  .nav nav { gap: 18px; }
  .nav-in { gap: 14px; }
  .hero-text { margin-top: 40vh; }
  .eyebrow { font-size: 17px; }
  .ranks-band, .trails-band { padding: 80px 0; }
  .compare-band, .faq-band { padding: 72px 0; }
  .trail-grid { grid-template-columns: 1fr; }
  .trail-card.wide { flex-direction: column; align-items: stretch; }
  .trail-card.wide .trail-preview { width: 100%; height: 180px; }
  .trail-card.wide .trail-text { padding: 18px 22px 0; }
  .trail-card.wide .buy { margin: 18px 22px 22px; align-self: flex-start; }
  .sheet-wrap { place-items: end center; padding: 0; }
  .sheet { width: 100%; border-radius: 26px 26px 0 0; padding-bottom: calc(26px + env(safe-area-inset-bottom)); transform: translateY(100%); max-height: 92vh; }
}

@media (max-width: 420px) {
  .nav nav { display: none; }
  .who { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero { height: auto; }
  .hero-pin { position: relative; }
}

.plain { background: var(--white); }
.plain .nav { background: rgba(251, 251, 253, 0.8); }
.plain .logo, .plain .nav nav a { color: var(--ink); }

.doc { padding: calc(var(--nav) + 70px) 0 90px; }
.doc h1 { margin: 0 0 8px; font-size: clamp(36px, 5vw, 48px); line-height: 1.08; font-weight: 700; }
.doc h2 { margin: 40px 0 8px; font-size: 21px; font-weight: 600; }
.doc p, .doc li { color: #3a3a3c; font-size: 16px; }
.doc .todo { background: #fff4d6; padding: 1px 6px; border-radius: 6px; color: #8a5a00; }
.doc .stand { color: var(--gray); font-size: 14px; }

.thanks { min-height: 100vh; min-height: 100svh; background: var(--black); color: #f5f5f7; display: grid; place-items: center; text-align: center; padding: calc(var(--nav) + 30px) 22px 60px; }
.thanks-in { width: min(560px, 100%); }
.thanks-gem { width: 260px; height: 230px; margin: 0 auto; }
.thanks-trail { width: 100%; height: 170px; margin: 0 auto 10px; border-radius: 24px; background: radial-gradient(ellipse at 50% 70%, #2a2a2e 0%, #000 75%); }
.thanks h1 { margin: 6px 0 0; font-size: clamp(34px, 6vw, 56px); line-height: 1.07; font-weight: 700; }
.thanks .lead { margin-top: 14px; }
.steps { list-style: none; padding: 0; margin: 34px auto 0; max-width: 360px; text-align: left; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: #6e6e73; border-bottom: 1px solid #2a2a2e; font-size: 16px; }
.steps li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #3a3a3c; }
.steps li.done { color: #f5f5f7; }
.steps li.done::before { border-color: #30d158; background: #30d158 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.steps li.now { color: #f5f5f7; }
.steps li.now::before { border-color: var(--accent-dark); border-top-color: transparent; animation: spin 0.9s linear infinite; }
.steps li.fail { color: #ff6961; }
.steps li.fail::before { border-color: #ff6961; }
.thanks .back { display: inline-block; margin-top: 34px; color: var(--accent-dark); font-size: 17px; }
.thanks .fine { color: #86868b; }
@keyframes spin { to { transform: rotate(360deg); } }

.sheet-note { margin: 0 0 6px; font-size: 14px; line-height: 1.45; color: var(--gray); }

.countdown { display: flex; justify-content: center; gap: 12px; margin: 32px auto 0; }
.countdown div { min-width: 76px; padding: 14px 10px 10px; border-radius: 18px; background: #1d1d1f; display: grid; gap: 2px; }
.countdown b { font-size: 34px; font-weight: 600; font-variant-numeric: tabular-nums; color: #f5f5f7; }
.countdown span { font-size: 12px; color: #86868b; }
.dark-foot { background: #000; color: #86868b; }
.dark-foot .wrap { border-top-color: #2a2a2e; }
.dark-foot .legal a { color: #a1a1a6; }
@media (max-width: 420px) { .countdown { gap: 8px; } .countdown div { min-width: 64px; } .countdown b { font-size: 26px; } }
