/* DartScan Warteliste – gleiche Farbwelt wie die App: Graphit, Sisal-Creme, Rot/Grün aus der Scheibe, Messing für Coins. */
@font-face { font-family: 'Inter'; src: url('fonts/Inter-Regular.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/Inter-SemiBold.woff') format('woff'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/Inter-Bold.woff') format('woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter Display'; src: url('fonts/InterDisplay-Black.woff') format('woff'); font-weight: 900; font-display: swap; }

:root {
  --bg: #131518;
  --surface: #1c1f23;
  --surface-2: #262a30;
  --line: #353a42;
  --text: #ece0bf;
  --dim: #a19a86;
  --red: #e5322b;
  --red-deep: #8f201c;
  --green: #17a35f;
  --brass: #d8b04a;
  --display: 'Inter Display', 'Arial Black', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.5;
  background:
    radial-gradient(1100px 620px at 105% -8%, rgba(229, 50, 43, 0.13), transparent 60%),
    radial-gradient(900px 520px at -15% 45%, rgba(23, 163, 95, 0.07), transparent 60%),
    var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--text); }
button, input { font: inherit; color: inherit; }
.hidden { display: none !important; }
.muted { color: var(--dim); }
.small { font-size: .875rem; }
.center { text-align: center; }
.brass { color: var(--brass); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.08; }
h2 { font-family: var(--display); font-weight: 900; font-size: clamp(1.7rem, 4.4vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.06rem; font-weight: 700; }

/* Kopfzeile */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right));
  background: rgba(19, 21, 24, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(53, 58, 66, .6); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 900; font-size: 1.35rem; letter-spacing: -.01em; }
.brand img { border-radius: 9px; }
.top-cta { text-decoration: none; font-weight: 700; font-size: .92rem; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }

main { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px; border: 0; border-radius: 12px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .12s ease, filter .12s ease, background .12s ease; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled] { opacity: .55; cursor: default; }
.btn-red { background: var(--red); color: #fff7e8; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); border-radius: 0; padding-inline: 28px; }
.btn-red:hover { filter: brightness(1.08); }
.btn-ghost { background: var(--surface-2); border: 1px solid var(--line); }
.btn-ghost:hover { background: #2e333a; }
.btn-google { width: 100%; background: #f4efe2; color: #1b1c1f; }
.btn-google:hover { background: #fff; }
.btn-wa { background: #1f8f4e; color: #fff; }
.btn-wa:hover { filter: brightness(1.08); }
.btn-wide { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }

/* Start */
.hero { display: grid; gap: 28px; padding: 34px 0 20px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brass);
  padding: 6px 12px; border: 1px solid rgba(216, 176, 74, .35); border-radius: 999px; background: rgba(216, 176, 74, .07); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 1.8s infinite; }
.kicker-green { color: #4fd18f; border-color: rgba(23, 163, 95, .45); background: rgba(23, 163, 95, .1); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(216, 176, 74, .5); } 70% { box-shadow: 0 0 0 8px rgba(216, 176, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(216, 176, 74, 0); } }
h1 { font-family: var(--display); font-weight: 900; font-size: clamp(2.9rem, 11vw, 5.4rem); line-height: .98; letter-spacing: -.025em; margin: 18px 0 18px; }
.plate { display: inline-block; background: var(--red); color: #fff7e8; padding: .02em .22em .08em; margin-top: .08em; clip-path: polygon(.18em 0, 100% 0, calc(100% - .18em) 100%, 0 100%); }
.lead { font-size: 1.1rem; color: #d9cfb2; max-width: 34rem; margin: 0 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bonus-line { display: flex; align-items: center; gap: 10px; margin-top: 20px; color: #d9cfb2; font-size: .95rem; }
.bonus-line b { color: var(--text); }

.coin-ic { display: inline-block; flex: none; width: 1.25em; height: 1.25em; vertical-align: -.22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-10 -10 20 20'%3E%3Ccircle r='9.4' fill='%23d8b04a' stroke='%238a6418' stroke-width='1.2'/%3E%3Ccircle r='6.6' fill='%23e8c25a' stroke='%23a37a22' stroke-width='.8'/%3E%3Ccircle r='4.2' fill='none' stroke='%238a6418' stroke-width='1.1'/%3E%3Ccircle r='1.6' fill='%23e5322b'/%3E%3C/svg%3E") center/contain no-repeat; }

.hero-visual { position: relative; height: 470px; max-width: 420px; width: 100%; margin: 0 auto; }
.phone { position: absolute; width: 205px; border-radius: 30px; padding: 7px; background: #0a0b0d; border: 1px solid #3a3f47;
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(255, 255, 255, .04); }
.phone img { border-radius: 23px; width: 100%; height: auto; }
.phone-back { left: 6%; top: 34px; transform: rotate(-7deg); filter: brightness(.72); }
.phone-front { right: 6%; top: 0; transform: rotate(4deg); }
.tag { position: absolute; z-index: 3; font-size: .85rem; font-weight: 600; padding: 8px 12px; border-radius: 10px; background: rgba(28, 31, 35, .94); border: 1px solid var(--line);
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .7); white-space: nowrap; }
.tag b { color: #4fd18f; }
.tag-1 { left: 0; top: 248px; }
.tag-2 { right: 0; bottom: 6px; color: var(--brass); }

/* Karten */
.card { background: linear-gradient(180deg, rgba(38, 42, 48, .55), rgba(28, 31, 35, .92)); border: 1px solid var(--line); border-radius: 20px; }

/* Warteliste */
.join { padding: 12px 0 40px; scroll-margin-top: 70px; }
.join-card { max-width: 520px; margin: 0 auto; padding: 26px 20px 22px; box-shadow: 0 30px 80px -40px rgba(229, 50, 43, .45); }
.join-card h2 { margin-bottom: 8px; }
.view > p { margin: 0 0 14px; }
.ref-banner { margin: -4px 0 16px; padding: 10px 12px; border-radius: 12px; background: rgba(23, 163, 95, .12); border: 1px solid rgba(23, 163, 95, .4); font-size: .92rem; }

.counter { margin: 18px 0 18px; padding: 12px 14px; border-radius: 14px; background: rgba(19, 21, 24, .6); border: 1px solid var(--line); }
.counter-top { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; margin-bottom: 8px; }
.counter-top b { color: var(--text); }
#count-right { color: var(--brass); font-weight: 700; white-space: nowrap; }
.bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brass), #f0cf6e); border-radius: 99px; transition: width .8s ease; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: #cfc5a9; margin: 0 0 16px; cursor: pointer; line-height: 1.45; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green); cursor: pointer; }
.check.shake { animation: shake .4s; }
.check.shake span { color: #ff8a80; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }

.or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--dim); font-size: .85rem; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.field em { font-style: normal; color: var(--dim); font-weight: 400; }
.field input { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #15171a; font-size: 1rem; }
.field input:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(216, 176, 74, .18); }
form .btn { margin-top: 6px; }
.err { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(229, 50, 43, .12); border: 1px solid rgba(229, 50, 43, .45); color: #ffb4ae; font-size: .92rem; }
.view .small.center { margin: 14px 0 0; }

.big-ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(216, 176, 74, .12); border: 1px solid rgba(216, 176, 74, .35); }
.big-ic svg { width: 32px; height: 32px; fill: none; stroke: var(--brass); stroke-width: 1.8; stroke-linejoin: round; }
.wait { display: flex; align-items: center; gap: 10px; margin: 18px 0; color: var(--dim); font-size: .92rem; }
.wait-big { justify-content: center; padding: 40px 0; font-size: 1rem; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--brass); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Dabei */
#v-done h2 { margin: 14px 0 18px; }
.pos-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pos, .wallet { padding: 14px; border-radius: 14px; background: rgba(19, 21, 24, .6); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wallet { border-color: rgba(216, 176, 74, .45); background: rgba(216, 176, 74, .07); }
.pos-label { font-size: .8rem; color: var(--dim); font-weight: 600; }
.pos-num, .wallet-num { font-family: var(--display); font-weight: 900; font-size: 2.4rem; line-height: 1; display: flex; align-items: center; gap: 8px; }
.pos-num { color: var(--dim); gap: 2px; }
.pos-num b { color: var(--text); }
.wallet-num { color: var(--brass); }
.wallet-num .coin-ic { width: .8em; height: .8em; }
.breakdown { list-style: none; margin: 12px 0 0; padding: 0; font-size: .92rem; }
.breakdown li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 2px; border-bottom: 1px dashed var(--line); }
.breakdown li > b { color: var(--brass); }
.invite { margin-top: 22px; padding-top: 4px; }
.invite h3 { font-size: 1.12rem; margin-bottom: 6px; }
.invite p { margin: 0 0 12px; }
.linkbox { display: flex; gap: 8px; }
.linkbox input { flex: 1; min-width: 0; min-height: 50px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: #15171a; font-size: .92rem; color: var(--text); }
.share-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
#d-mail { margin-top: 18px; }

/* Abschnitte */
.sec { padding: 46px 0; }
.sec-title { margin-bottom: 22px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { position: relative; padding: 20px 20px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 34px; margin-bottom: 12px; font-family: var(--display); font-weight: 900; font-size: 1.2rem;
  background: var(--red); color: #fff7e8; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.steps h3 { margin-bottom: 6px; }
.steps p, .feat p { margin: 0; color: #cfc5a9; font-size: .95rem; }

.features { display: grid; gap: 12px; }
.feat { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.feat svg { width: 30px; height: 30px; fill: none; stroke: var(--brass); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.feat h3 { margin-bottom: 6px; }

.coins-card { padding: 24px 20px; display: grid; gap: 20px; border-color: rgba(216, 176, 74, .35);
  background: radial-gradient(600px 300px at 100% 0, rgba(216, 176, 74, .12), transparent 70%), linear-gradient(180deg, rgba(38, 42, 48, .55), rgba(28, 31, 35, .92)); }
.coins-card p { margin: 0 0 10px; color: #d9cfb2; }
.bonus-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: center; }
.bonus { padding: 16px 14px; border-radius: 16px; background: rgba(19, 21, 24, .65); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: .9rem; color: #cfc5a9; }
.bonus-n { font-family: var(--display); font-weight: 900; font-size: 2.3rem; line-height: 1; color: var(--brass); display: flex; align-items: center; gap: 8px; }
.bonus-n .coin-ic { width: .75em; height: .75em; }

.faq { display: grid; gap: 10px; max-width: 780px; }
.faq details { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--brass); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0; padding: 0 18px 18px; color: #cfc5a9; }

.final { text-align: center; padding-bottom: 64px; }
.final h2 { margin-bottom: 22px; }

.foot { border-top: 1px solid var(--line); padding: 26px 16px calc(26px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.small-brand { font-size: 1.05rem; }
.small-brand img { border-radius: 6px; }
.foot nav { display: flex; gap: 20px; }
.foot nav a { color: var(--dim); }
.foot p { margin: 0; }

/* Dialog + Hinweis */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .6); }
.modal-box { width: 100%; max-width: 400px; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.modal-box h3 { font-size: 1.2rem; margin-bottom: 8px; }
.modal-box p { margin: 0 0 18px; color: #cfc5a9; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; max-width: calc(100% - 32px);
  padding: 12px 16px; border-radius: 12px; background: #f4efe2; color: #1b1c1f; font-weight: 600; font-size: .92rem; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .7); }

/* Rechtstexte */
.legal { max-width: 760px; margin: 0 auto; padding: 34px 16px 60px; }
.legal h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); margin: 0 0 22px; }
.legal h2 { font-size: 1.3rem; margin: 30px 0 10px; }
.legal p, .legal li { color: #d9cfb2; }
.legal ul { padding-left: 1.2em; }
.legal .fill { background: rgba(229, 50, 43, .18); border: 1px dashed var(--red); padding: 0 6px; border-radius: 6px; color: #ffb4ae; }

@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(3, 1fr); }
  .join-card { padding: 32px 30px 26px; }
}
@media (min-width: 940px) {
  .hero { grid-template-columns: 1.1fr .9fr; padding: 64px 0 40px; }
  .hero-visual { height: 560px; max-width: 470px; }
  .phone { width: 240px; }
  .tag-1 { top: 300px; }
  .coins-card { grid-template-columns: 1.2fr 1fr; padding: 34px; align-items: center; }
}
@media (max-width: 380px) {
  .hero-visual { height: 420px; }
  .phone { width: 180px; }
  .tag-1 { top: 220px; }
  .pos-num, .wallet-num { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kicker .dot, .spinner { animation: none; }
}
