/* Budge – Webseiten nach Arnes Design-Richtlinie
   Stimmung: Soft Structuralism (hell) / Ethereal Glass (dunkel) */

:root {
  --bg: #EDEFF2;
  --card: #FFFFFF;
  --ink: #0E1116;
  --ink-2: #5A616C;
  --ink-3: #8A919C;
  --line: rgba(14, 17, 22, .06);
  --shell: rgba(14, 17, 22, .035);
  --accent: #2F5BFF;
  --credit: #0E9F6E;
  --shadow: 0 1px 1px rgba(14,17,22,.03), 0 12px 32px -8px rgba(14,17,22,.08), 0 40px 80px -24px rgba(14,17,22,.10);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --radius: 2rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #050505;
    --card: #0C0C0E;
    --ink: #F4F4F5;
    --ink-2: #A1A1AA;
    --ink-3: #71717A;
    --line: rgba(255, 255, 255, .09);
    --shell: rgba(255, 255, 255, .035);
    --accent: #34D399;
    --credit: #34D399;
    --shadow: 0 1px 1px rgba(0,0,0,.4), 0 24px 60px -20px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Lichtfeld bzw. Farbnebel hinter allem */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 50% -10%, rgba(255,255,255,.95), transparent 70%),
    radial-gradient(40rem 30rem at 100% 40%, rgba(47,91,255,.06), transparent 70%);
}
@media (prefers-color-scheme: dark) {
  body::before {
    background:
      radial-gradient(40rem 30rem at 10% 0%, rgba(52,211,153,.10), transparent 70%),
      radial-gradient(40rem 34rem at 100% 55%, rgba(167,139,250,.08), transparent 70%);
  }
}

/* Filmkorn, fixiert */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a { color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 999px; }

.mono {
  font-family: "Geist Mono", ui-monospace, monospace;
}

/* ---------- Navigation: schwebende Glas-Pille ---------- */
.nav {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .375rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 72%, transparent);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: .5px solid var(--line);
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.nav a {
  text-decoration: none;
  font-size: .875rem;
  font-weight: 600;
  padding: .55rem 1rem;
  border-radius: 999px;
  color: var(--ink-2);
  transition: color .5s var(--ease), background .5s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--shell); }
.nav .brand { color: var(--ink); letter-spacing: -.02em; }

/* ---------- Layout ---------- */
main {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 9rem 1.25rem 6rem;
}

section { padding: 6rem 0; }
section:first-child { padding-top: 2rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: var(--shell);
  border: .5px solid var(--line);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--ink-2);
}
.eyebrow::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

h1, h2, h3 { margin: 0; font-weight: 800; }
h1 {
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  line-height: .92;
  letter-spacing: -.06em;
  margin-top: 1.5rem;
}
h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: .95;
  letter-spacing: -.05em;
  margin-top: 1.25rem;
}
h3 { font-size: 1.25rem; letter-spacing: -.02em; font-weight: 700; }
.soft { color: var(--ink-3); }

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--ink-2);
  max-width: 34rem;
  margin: 1.75rem 0 0;
}

/* ---------- Double-Bezel ---------- */
.bezel {
  padding: 6px;
  border-radius: var(--radius);
  background: var(--shell);
  border: .5px solid var(--line);
  box-shadow: var(--shadow);
}
.bezel > .core {
  height: 100%;
  border-radius: calc(var(--radius) - 6px);
  background: var(--card);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.6);
  padding: 1.75rem;
}
@media (prefers-color-scheme: dark) {
  .bezel > .core { box-shadow: inset 0 1px 1px rgba(255,255,255,.08); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: .375rem .375rem .375rem 1.5rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .6s var(--ease);
}
.btn .dot {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 16%, transparent);
  transition: transform .6s var(--ease);
}
.btn:hover .dot { transform: translate(3px, -2px) scale(1.05); }
.btn:active { transform: scale(.98); }
.btn.secondary { background: var(--card); color: var(--ink); border: .5px solid var(--line); }
.btn.secondary .dot { background: var(--shell); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 4rem;
  align-items: center;
}
.hero .actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2.25rem; }

.phone {
  justify-self: center;
  width: min(100%, 22rem);
  transform: rotate(3deg);
}
.phone img {
  display: block;
  width: 100%;
  border-radius: calc(var(--radius) - 6px);
}

/* ---------- Die Karte ---------- */
.card-tray {
  justify-self: center;
  width: min(100%, 30rem);
  transform: rotate(-3deg);
  border-radius: 2.1rem;
}
.wallet {
  aspect-ratio: 1.586;
  border-radius: calc(2.1rem - 6px);
  padding: 1.6rem 1.75rem;
  color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    repeating-radial-gradient(circle at 105% 115%, rgba(255,255,255,.045) 0 1px, transparent 1px 22px),
    linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.02) 45%, rgba(52,211,153,.12)),
    #0E1116;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.25), 0 18px 40px -12px rgba(0,0,0,.35), 0 50px 90px -30px rgba(0,0,0,.35);
  font-family: "Geist Mono", ui-monospace, monospace;
}
.wallet-top, .wallet-bottom { display: flex; justify-content: space-between; align-items: center; }
.wallet-top > span:first-child { font-size: .75rem; letter-spacing: .3em; opacity: .8; font-weight: 600; }
.wallet .pill {
  font-size: .62rem; letter-spacing: .15em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 999px;
  background: rgba(255,255,255,.08); border: .5px solid rgba(255,255,255,.14);
  display: inline-flex; align-items: center; gap: .4rem;
}
.wallet .pill i { width: 5px; height: 5px; border-radius: 50%; background: #34D399; }
.wallet-mid { display: flex; flex-direction: column; }
.wallet .label { font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; opacity: .5; }
.wallet .balance {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 800; font-size: clamp(3rem, 7vw, 4.2rem); letter-spacing: -.05em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.wallet-bottom { font-size: .8rem; letter-spacing: .2em; opacity: .85; }
.wallet-bottom span:last-child { opacity: .6; letter-spacing: .05em; font-size: .7rem; }

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.bento .a { grid-column: span 7; }
.bento .b { grid-column: span 5; }
.bento .c { grid-column: span 5; }
.bento .d { grid-column: span 7; }
.bento .num {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: .75rem;
  color: var(--accent);
  letter-spacing: .1em;
}
.bento h3 { margin-top: 2.5rem; }
.bento p { color: var(--ink-2); margin: .5rem 0 0; font-size: 1rem; }
.bento .big {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  margin-top: 2rem;
  font-variant-numeric: tabular-nums;
}

/* ---------- FAQ ---------- */
.faq { margin-top: 3rem; display: grid; gap: .75rem; }
.faq details .core { padding: 1.25rem 1.5rem; }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: "Geist Mono", ui-monospace, monospace;
  font-weight: 400;
  color: var(--ink-3);
  transition: transform .6s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: .75rem 0 0; font-size: 1rem; }

/* ---------- Fließtext (Datenschutz) ---------- */
.prose { max-width: 42rem; }
.prose h3 { margin: 2.75rem 0 .5rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: .35rem 0; }
.prose dl { margin: 0; }
.prose dt { font-weight: 700; color: var(--ink); margin-top: 1.5rem; }
.prose dd { margin: .3rem 0 0; color: var(--ink-2); }

.tag {
  display: inline-block;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-3);
}

footer {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--ink-3);
  font-size: .85rem;
  border-top: .5px solid var(--line);
}
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* ---------- Eintritt: weicher Fade-up ---------- */
.reveal {
  opacity: 0;
  transform: translateY(2rem);
  filter: blur(8px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .btn, .btn .dot, .card-tray { transition: none; transform: none; }
}

/* ---------- Handy ---------- */
@media (max-width: 767px) {
  main { padding-top: 7rem; }
  section { padding: 4rem 0; }
  .hero { grid-template-columns: 1fr; gap: 3rem; }
  .card-tray { transform: none; }
  .bento { grid-template-columns: 1fr; }
  .bento > * { grid-column: auto !important; }
  .nav a { padding: .55rem .75rem; }
}
