/* Purzel – Webseite. Farben und Schriften wie in der App (Holz-Look). */

@font-face {
  font-family: "Unbounded";
  src: url("fonts/unbounded.woff") format("woff");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope.woff") format("woff");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --felt: #132a25;
  --felt-2: #1f3f38;
  --card: #24443c;
  --card-2: #1a342e;
  --line: rgba(255, 240, 215, 0.16);
  --cream: #f7ecd9;
  --mute: #b6c4b0;
  --honey: #ffd27a;
  --wood: #e9bf83;
  --wood-dark: #c48f58;
  --ink: #2a1c0e;
  --red: #c6463b;
  --yellow: #f0b43c;
  --green: #3f9659;
  --blue: #3b7fbd;
  --purple: #8a58a6;
  --radius: 22px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  font: 500 17px/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--cream);
  background:
    radial-gradient(1100px 700px at 50% -10%, rgba(255, 214, 150, 0.16), transparent 70%),
    radial-gradient(900px 600px at 50% 120%, rgba(0, 0, 0, 0.35), transparent 70%),
    linear-gradient(180deg, var(--felt-2), var(--felt) 60%);
  background-color: var(--felt);
  overflow-x: clip;
}

h1, h2, h3 { font-family: "Unbounded", system-ui, sans-serif; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.1rem, 6.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3.6vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--honey); text-underline-offset: 3px; }
a:hover { color: #ffe3a6; }
strong { color: var(--cream); }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* top bar */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.mini-mark { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-family: "Unbounded", sans-serif; font-weight: 750; font-size: 1.05rem; letter-spacing: 0.02em; }
.mini-mark img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35); }
.lang-link { color: var(--mute); text-decoration: none; font-weight: 700; font-size: 0.92rem; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.lang-link:hover { color: var(--cream); border-color: rgba(255, 240, 215, 0.35); }

/* hero */
.hero { display: grid; gap: 36px; align-items: center; padding: 26px 0 56px; }
@media (min-width: 860px) { .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); padding-top: 40px; } }
.eyebrow { display: inline-block; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--honey); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--mute); max-width: 34em; }
.hero h1 span { white-space: nowrap; background: linear-gradient(90deg, #ffb36b, #ffe08a 35%, #a6e2ae 70%, #9acfff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fine { color: var(--mute); font-size: 0.92rem; margin-top: 14px; }

.board-frame { position: relative; width: min(100%, 440px); margin-inline: auto; }
.board-frame::before { content: ""; position: absolute; inset: -10% 0; background: radial-gradient(closest-side, rgba(255, 214, 150, 0.22), transparent); z-index: -1; }
@media (min-width: 860px) { .board-frame::before { inset: -12% -10%; } }
canvas.purzel-board { display: block; width: 100%; aspect-ratio: 6 / 7; }

/* store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 20px 10px 16px; border-radius: 16px; text-decoration: none; color: var(--ink); background: linear-gradient(#f6cf86, #e0a95a); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5); font-weight: 800; line-height: 1.15; }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-weight: 700; font-size: 0.74rem; opacity: 0.75; letter-spacing: 0.02em; }
.store.soon { cursor: default; background: rgba(255, 240, 215, 0.08); color: var(--cream); box-shadow: none; border: 1px solid var(--line); }
.store.soon small::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--honey); margin-right: 6px; vertical-align: 1px; }
.store.live:hover { filter: brightness(1.05); }
.store.badge { padding: 0; background: none; box-shadow: none; border: 0; min-height: 0; }

/* sections */
section { padding: 34px 0; }
.section-head { max-width: 40em; margin-bottom: 26px; }
.section-head p { color: var(--mute); }

.cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { background: linear-gradient(160deg, var(--card), var(--card-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22); }
.card p { color: var(--mute); margin-bottom: 0.4em; font-size: 0.98rem; }
.card h3 { display: flex; align-items: center; gap: 10px; }
.chip { width: 26px; height: 26px; border-radius: 7px; flex: none; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.25), 0 2px 5px rgba(0, 0, 0, 0.3); }
.chip.red { background: var(--red); } .chip.yellow { background: var(--yellow); } .chip.green { background: var(--green); }
.chip.blue { background: var(--blue); } .chip.purple { background: var(--purple); } .chip.wood { background: var(--wood-dark); }

.steps { counter-reset: step; display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li { counter-increment: step; background: rgba(255, 240, 215, 0.05); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 16px 64px; position: relative; color: var(--mute); }
.steps li strong { display: block; color: var(--cream); margin-bottom: 2px; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-family: "Unbounded", sans-serif; font-weight: 800; color: var(--ink); background: linear-gradient(#e9bf83, #c48f58); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 3px 8px rgba(0, 0, 0, 0.3); }

.chapters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chapters span { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); background: linear-gradient(#e9bf83, #c48f58); border-radius: 8px; padding: 4px 10px; }

.promise { text-align: center; background: linear-gradient(160deg, rgba(255, 210, 122, 0.12), rgba(255, 210, 122, 0.03)); border: 1px solid rgba(255, 210, 122, 0.35); border-radius: calc(var(--radius) + 6px); padding: 34px 22px; }
.promise p { color: var(--mute); max-width: 36em; margin-inline: auto; }
.promise .big { font-family: "Unbounded", sans-serif; font-weight: 750; color: var(--cream); font-size: clamp(1.15rem, 3vw, 1.5rem); }

/* legal + help pages */
.legal { max-width: 46em; padding: 18px 0 56px; }
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
.legal h1, .legal h2, .legal h3 { hyphens: auto; -webkit-hyphens: auto; }
.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }
.legal h3 { margin-top: 1.4em; }
.legal p, .legal li { color: #e4dccb; }
.legal .stand { color: var(--mute); font-size: 0.95rem; }
.legal address { font-style: normal; margin-bottom: 1em; }
.legal address p { margin: 0; }
.legal ul { padding-left: 1.2em; }

.faq h2 { margin-top: 1.6em; }
.faq details { background: rgba(255, 240, 215, 0.05); border: 1px solid var(--line); border-radius: 16px; margin: 10px 0; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--honey); font-family: "Unbounded", sans-serif; font-weight: 700; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > *:not(summary) { color: #e4dccb; }
.faq details > p:last-child, .faq details > ul:last-child { margin-bottom: 16px; }

/* footer */
.footer { border-top: 1px solid var(--line); margin-top: 30px; padding: 26px 0 40px; color: var(--mute); font-size: 0.92rem; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer a { color: var(--mute); text-decoration: none; }
.footer a:hover, .footer a[aria-current="page"] { color: var(--cream); }

.center-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.center-page img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); margin-bottom: 18px; }

:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
