/* RYVN – kleine Webseite. Schwarz mit rot-orangem Licht oben rechts (wie die App), silberne Schrift, Glas-Karten. Alles vom eigenen Server. */

@font-face {
  font-family: "RYVN Display";
  src: url("archivo-black.woff") format("woff");
  font-weight: 900;
  font-display: swap;
}

:root {
  --silver: linear-gradient(180deg, #ffffff 0%, #e6eaf2 45%, #a3acbb 100%);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, .68);
  --line: rgba(255, 255, 255, .14);
  --glass: rgba(255, 255, 255, .07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #000;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
/* Hintergrund wie in der App (Farbe „Standard“): Schwarz, oben rechts ein rot-oranges Licht.
   Die Bewegung zeichnet assets/stage.js – das hier ist der ruhige Stand, falls kein JavaScript läuft. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(70% 55% at 100% 0%, rgba(255, 120, 72, .95) 0%, rgba(232, 72, 36, .78) 16%, rgba(150, 40, 14, .5) 40%, rgba(72, 9, 5, .22) 66%, rgba(0, 0, 0, 0) 100%),
    #000;
}

a { color: inherit; }
.wrap { width: min(100% - 40px, 760px); margin: 0 auto; }

/* Kopf */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: max(20px, env(safe-area-inset-top)) 0 8px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 26px; height: 31px; }
.brand span { font: 900 20px/1 "RYVN Display", sans-serif; letter-spacing: .06em; }
.nav { display: flex; gap: 6px; }
.nav a {
  font-size: 13px; font-weight: 600; text-decoration: none; color: var(--muted);
  padding: 8px 12px; border-radius: 999px;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: var(--glass); }

/* Titel */
.display {
  font-family: "RYVN Display", sans-serif; font-weight: 900; text-transform: uppercase;
  letter-spacing: -.01em; line-height: .98;
  background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .24em; color: #c9d1e0; text-transform: uppercase; }

/* Startseite */
.hero { text-align: center; padding: 64px 0 40px; }
.hero .mark { width: 92px; height: 109px; margin: 0 auto 30px; filter: drop-shadow(0 14px 40px rgba(255, 106, 74, .4)); }
.hero h1 { font-size: clamp(38px, 10vw, 66px); }
.hero p { max-width: 440px; margin: 18px auto 0; font-size: 17px; color: var(--muted); }
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 28px;
  padding: 12px 20px; border-radius: 999px; background: #fff; color: #000;
  font-weight: 700; font-size: 15px; text-decoration: none;
}
.badge svg { width: 16px; height: 16px; }

/* Startseite wie die App: oben RYVN, in der Mitte das schwenkende Glas-R mit Punkten, unten ein Sheet */
.landing { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; overflow-x: hidden; }
.land-top { text-align: center; padding: max(22px, env(safe-area-inset-top)) 0 0; display: grid; gap: 6px; }
.land-top .word {
  font: 900 34px/1 "RYVN Display", sans-serif; letter-spacing: .02em;
  background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.land-top .sub { font-size: 11px; font-weight: 700; letter-spacing: .24em; color: #e5e5ea; }

.stage { position: relative; flex: 1; min-height: 260px; display: grid; place-items: center; perspective: 700px; }
/* Punkte: groß, in der Mitte dicht, nach außen weich auslaufend – Wellen laufen langsam nach außen */
@property --r { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.dots, .dots::before, .dots::after {
  background-image: radial-gradient(circle, rgba(255, 255, 255, .34) 1.7px, transparent 2.1px);
  background-size: 12px 12px;
  background-position: center;
}
.dots {
  position: absolute; width: 620px; height: 620px; left: 50%; top: 50%; transform: translate(-50%, -50%);
  -webkit-mask-image: radial-gradient(circle, #000 0%, rgba(0, 0, 0, .9) 18%, rgba(0, 0, 0, .45) 40%, transparent 68%);
          mask-image: radial-gradient(circle, #000 0%, rgba(0, 0, 0, .9) 18%, rgba(0, 0, 0, .45) 40%, transparent 68%);
}
.dots::before, .dots::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .95) 1.9px, transparent 2.3px);
  -webkit-mask-image: radial-gradient(circle, transparent calc(var(--r) - 7%), #000 var(--r), transparent calc(var(--r) + 7%));
          mask-image: radial-gradient(circle, transparent calc(var(--r) - 7%), #000 var(--r), transparent calc(var(--r) + 7%));
  animation: wave 4.8s cubic-bezier(.25, .6, .35, 1) infinite;
}
.dots::after { animation-delay: 2.4s; }
@keyframes wave {
  0%   { --r: 4%;  opacity: 1; }
  100% { --r: 72%; opacity: 0; }
}
.intro { position: relative; width: 170px; height: 200px; perspective: 700px; }

.swing {
  position: relative; width: 170px; height: 200px; transform-style: preserve-3d;
  /* erst ruhig frontal, dann sanft in den Schwenk */
  animation: swingIn 1.2s ease-in-out .6s both, swing 7s ease-in-out 1.8s infinite alternate;
}
@keyframes swingIn { from { transform: rotateY(0deg); } to { transform: rotateY(-28deg); } }
.swing svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.swing .edge { color: rgba(255, 255, 255, calc(.42 - var(--i) * .04)); transform: translateZ(calc(var(--i) * -3px)); }
.swing .front { filter: drop-shadow(0 0 10px rgba(255, 255, 255, .35)); }
@keyframes swing { from { transform: rotateY(-28deg); } to { transform: rotateY(28deg); } }

/* RYVN-Badge oben mittig – wie das RYVN+-Badge, nur ohne Plus */
@property --edge { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.badge-top { display: flex; justify-content: center; padding: max(26px, env(safe-area-inset-top)) 0 0; }
.roam-badge {
  position: relative; display: flex; align-items: center; gap: 7px;
  height: 64px; padding: 0 28px; border-radius: 999px; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .04) 50%, rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
  animation: badgeIn .8s cubic-bezier(.2, 1.2, .4, 1) .1s both, float 6s ease-in-out 1.2s infinite;
}
/* Lichtrand, der langsam um das Badge wandert */
.roam-badge::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--edge), transparent 0deg, rgba(255, 255, 255, .95) 28deg, transparent 72deg, transparent 180deg, rgba(255, 255, 255, .7) 208deg, transparent 252deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: edge 6s linear infinite, fadeIn 1s ease 1.1s both;
}
/* Glanz, der ab und zu darüberläuft */
.roam-badge::after {
  content: ""; position: absolute; top: -50%; bottom: -50%; width: 22%; left: -40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: rotate(22deg);
  animation: sheen 5s ease-in-out 1.4s infinite;
}
.b-r { width: 27px; height: 32px; animation: rIn .7s cubic-bezier(.2, 1.3, .4, 1) .25s both; }
.b-oam {
  font: 900 44px/1 "RYVN Display", sans-serif; letter-spacing: -.01em; margin-top: 2px;
  background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: oamIn .7s cubic-bezier(.2, 1, .4, 1) .3s both;
}
@keyframes badgeIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes rIn { from { opacity: 0; transform: translateX(-40px) rotate(-20deg); } to { opacity: 1; transform: none; } }
@keyframes oamIn { from { opacity: 0; transform: translateX(40px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes edge { to { --edge: 360deg; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheen { 0% { left: -40%; } 45%, 100% { left: 130%; } }

.sheet {
  position: relative; margin: 0 8px 8px; padding: 12px 24px max(20px, env(safe-area-inset-bottom));
  /* Liquid Glass wie in der App: klar, stark verschwommen, Lichtkante oben links und unten rechts */
  background:
    radial-gradient(120% 60% at 15% 0%, rgba(255, 255, 255, .16), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03) 45%, rgba(255, 255, 255, .02));
  -webkit-backdrop-filter: blur(34px) saturate(190%) brightness(1.08); backdrop-filter: blur(34px) saturate(190%) brightness(1.08);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .55),
    inset 0 -1px 1px rgba(255, 255, 255, .12),
    inset 0 0 40px rgba(255, 255, 255, .05),
    0 -8px 28px rgba(0, 0, 0, .28);
  color: #fff; border-radius: 40px; text-align: center;
  animation: sheetIn .8s cubic-bezier(.2, .9, .3, 1) both;
}
/* Lichtkante: oben links hell, unten rechts ein zweiter Glanz, dazwischen fast unsichtbar */
.sheet::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .18) 22%, rgba(255, 255, 255, .04) 50%, rgba(255, 255, 255, .14) 78%, rgba(255, 255, 255, .55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
@media (min-width: 640px) { .sheet { width: 520px; margin: 0 auto 24px; } }
.handle { width: 36px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .5); margin: 0 auto 22px; }
.display.dark { font-size: clamp(30px, 8.4vw, 40px); }
.pitch { margin: 12px auto 0; max-width: 360px; font-size: 15px; color: rgba(255, 255, 255, .75); }
.store {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 0 22px; height: 52px;
  border-radius: 999px; background: #fff; color: #000; font-weight: 700; font-size: 16px;
}
.store svg { width: 17px; height: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 18px; }
.chips span { font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .14); }
.sheet-foot { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
.sheet-foot a { font-size: 13px; color: rgba(255, 255, 255, .7); text-decoration: none; }
.sheet-foot a:hover { color: #fff; }
@keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .swing, .sheet, .dots::before, .dots::after { animation: none; }
  .roam-badge, .roam-badge *, .roam-badge::before, .roam-badge::after { animation: none !important; }
  .dots::before, .dots::after { display: none; }
}

/* Rechtliches */
.legal { padding: 44px 0 20px; }
.legal h1 { font-size: clamp(34px, 8vw, 50px); }
.legal .lead { margin-top: 12px; color: var(--muted); font-size: 15px; }
.legal .block { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal h2 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.legal h2:not(:first-child) { margin-top: 24px; }
.legal p, .legal li { font-size: 15px; color: rgba(255, 255, 255, .82); }
.legal p + p { margin-top: 8px; }
.legal ul { margin: 6px 0 0 18px; }
.legal li + li { margin-top: 4px; }
.legal address { font-style: normal; font-size: 15px; color: rgba(255, 255, 255, .82); }
.legal .glance { list-style: none; margin: 0; }
.legal .glance li { position: relative; padding-left: 22px; }
.legal .glance li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: #fff; }

/* Fuß */
.foot {
  display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: space-between; align-items: center;
  margin-top: 40px; padding: 22px 0 max(26px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); font-size: 13px; color: var(--muted);
}
.foot nav { display: flex; gap: 16px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }

@media (max-width: 560px) {
  .hero { padding-top: 44px; }
  .nav a { padding: 8px 9px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .mark { animation: rise .9s cubic-bezier(.2, 1.3, .4, 1) both; }
  @keyframes rise { from { transform: translateY(14px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* Hinweis zu Eyns: rote Karte rechts oben, fährt herein, nach dem Wegklicken zusammen */
.eyns-notice {
  position: fixed; z-index: 50; top: max(16px, env(safe-area-inset-top)); right: 16px; width: min(340px, calc(100vw - 32px));
  padding: 16px 16px 14px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, #f25a5d 0%, rgb(237, 66, 69) 45%, #c92f33 100%);
  color: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
  transform: translateX(calc(100% + 32px)); opacity: 0;
  transition: transform .7s cubic-bezier(.2, 1.1, .3, 1), opacity .4s ease;
}
.eyns-notice.is-in { transform: none; opacity: 1; }
.eyns-notice.is-out {
  transform: translateX(30px) scale(.92); opacity: 0;
  max-height: 0 !important; padding-top: 0; padding-bottom: 0;
  transition: transform .5s ease, opacity .4s ease, max-height .55s cubic-bezier(.5, 0, .3, 1), padding .55s cubic-bezier(.5, 0, .3, 1);
}
.en-head { display: flex; align-items: center; gap: 10px; }
.en-head strong { flex: 1; font-size: 15px; font-weight: 800; }
.en-mark {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: #fff; color: rgb(237, 66, 69); font: 900 18px/1 -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}
.en-x {
  width: 30px; height: 30px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .18); color: #fff; display: grid; place-items: center;
}
.en-x svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.eyns-notice p { margin-top: 10px; font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, .92); }
.en-ok {
  margin-top: 12px; width: 100%; height: 42px; border: 0; border-radius: 999px; cursor: pointer;
  background: #fff; color: rgb(201, 47, 51); font: 700 14px/1 -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}
.en-x:hover, .en-ok:hover { filter: brightness(.96); }
@media (prefers-reduced-motion: reduce) {
  .eyns-notice, .eyns-notice.is-out { transition: opacity .2s ease; }
}
