/* Luna Interactive – site.css */
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('/assets/fonts/space-grotesk.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }

:root {
  --bg: #07060f;
  --bg-2: #0d0b1c;
  --panel: rgba(22, 19, 44, .62);
  --panel-solid: #14112a;
  --line: rgba(169, 155, 255, .16);
  --line-strong: rgba(169, 155, 255, .32);
  --text: #f6f3ff;
  --muted: #a7a2c3;
  --gold: #f4d58d;
  --gold-2: #d9a24a;
  --lav: #a99bff;
  --cyan: #34d8e8;
  --accent: var(--lav);
  --radius: 20px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --head: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color-scheme: dark;
}
[data-acc="luna"] { --accent: var(--cyan); }
[data-acc="vanguard"] { --accent: var(--lav); }
[data-acc="gold"] { --accent: var(--gold); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: radial-gradient(1200px 700px at 80% -10%, rgba(169, 155, 255, .14), transparent 60%),
              radial-gradient(900px 600px at -10% 30%, rgba(52, 216, 232, .07), transparent 60%),
              var(--bg);
  color: var(--text); font: 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.mt-0 { margin-top: 0; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #1a1405; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 6, 15, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; font-family: var(--head); }
.brand-word b { font-size: 1.05rem; letter-spacing: .32em; font-weight: 700; }
.brand-word small { font-size: .58rem; letter-spacing: .5em; color: var(--lav); margin-top: 4px; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { color: var(--muted); padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: .95rem; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(169, 155, 255, .08); text-decoration: none; }
.nav-links .lang { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 12px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav.open .nav-toggle .i-close { display: block; }
.nav.open .nav-toggle .i-open { display: none; }

/* ---------- Buttons, Badges ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btns.center { justify-content: center; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-primary { background: linear-gradient(135deg, #fff1c4, var(--gold) 45%, var(--gold-2)); color: #1d1606; box-shadow: 0 10px 30px -10px rgba(244, 213, 141, .55); }
.btn-primary:hover { box-shadow: 0 14px 36px -10px rgba(244, 213, 141, .75); }
.btn-ghost { color: var(--text); border-color: var(--line-strong); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--accent); background: rgba(255, 255, 255, .06); }
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; border: 1px solid; }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.badge-live { color: #5ee6a0; border-color: rgba(94, 230, 160, .35); background: rgba(94, 230, 160, .08); }
.badge-live i { animation: pulse 2s infinite; }
.badge-beta { color: var(--cyan); border-color: rgba(52, 216, 232, .35); background: rgba(52, 216, 232, .08); }
.badge-dev, .badge-soon { color: var(--gold); border-color: rgba(244, 213, 141, .35); background: rgba(244, 213, 141, .08); }
@keyframes pulse { 50% { opacity: .35; } }
.kind { font-size: .82rem; color: var(--muted); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 4px 0 18px; }
.chips li { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--muted); padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.chips .ic { color: var(--accent); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 600; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(244, 213, 141, .25); background: rgba(244, 213, 141, .06); margin-bottom: 26px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.grad { background: linear-gradient(100deg, var(--gold) 0%, #f7c9a8 35%, var(--lav) 70%, var(--cyan) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 60ch; }
.hero .lead { margin-bottom: 30px; }
.stats { display: flex; gap: 40px; margin: 44px 0 0; flex-wrap: wrap; }
.stats div { border-left: 2px solid var(--line-strong); padding-left: 16px; }
.stats dt { font-family: var(--head); font-size: 2rem; font-weight: 700; line-height: 1; }
.stats dd { margin: 6px 0 0; color: var(--muted); font-size: .88rem; }

/* Mond */
.moon-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: 460px; justify-self: center; }
.moon-glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(244, 213, 141, .35), rgba(169, 155, 255, .12) 45%, transparent 70%); filter: blur(30px); animation: breathe 7s ease-in-out infinite; }
.moon { position: absolute; inset: 22%; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 35% 30%, #fff8de 0%, #f4d58d 38%, #c8913f 78%, #7a5520 100%);
  box-shadow: inset -28px -22px 50px rgba(40, 20, 60, .55), inset 10px 8px 30px rgba(255, 255, 255, .4), 0 0 80px rgba(244, 213, 141, .35); }
.moon::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 78% 26%, rgba(7, 6, 15, .0) 30%, rgba(7, 6, 15, .0) 31%), linear-gradient(120deg, transparent 55%, rgba(30, 18, 60, .55)); }
.crater { position: absolute; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(120, 80, 30, .35), rgba(255, 240, 200, .15)); box-shadow: inset 2px 2px 4px rgba(90, 55, 20, .35); }
.c1 { width: 22%; height: 22%; left: 22%; top: 50%; }
.c2 { width: 12%; height: 12%; left: 55%; top: 26%; }
.c3 { width: 9%; height: 9%; left: 64%; top: 60%; }
.c4 { width: 15%; height: 15%; left: 38%; top: 20%; }
.orbit { position: absolute; inset: 6%; border-radius: 50%; border: 1px solid rgba(169, 155, 255, .22); animation: spin 26s linear infinite; }
.o1 { transform: rotateX(70deg) rotateZ(0); inset: 4%; border-color: rgba(52, 216, 232, .3); }
.o2 { inset: 12%; animation-duration: 40s; animation-direction: reverse; border-style: dashed; }
.o3 { inset: -2%; animation-duration: 60s; border-color: rgba(244, 213, 141, .14); }
.o1 { animation-name: spin-tilt; }
.sat { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; }
.s-cyan { background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.s-lav { background: var(--lav); box-shadow: 0 0 16px var(--lav); top: auto; bottom: -5px; }
.s-gold { background: var(--gold); box-shadow: 0 0 16px var(--gold); width: 7px; height: 7px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-tilt { from { transform: rotateX(70deg) rotateZ(0); } to { transform: rotateX(70deg) rotateZ(360deg); } }
@keyframes breathe { 50% { transform: scale(1.06); opacity: .8; } }

/* ---------- Sektionen ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 40px 0; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--lav); margin-bottom: 12px; }

/* Projekt-Karten */
.pcard { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow); transition: transform .3s, border-color .3s; overflow: hidden; display: flex; flex-direction: column; }
.pcard::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .7; }
.pcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.pcard p { color: var(--muted); }
.pcard .btns { margin-top: auto; }
.pcard-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pcard-title { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 4px; }
.pcard-tag { color: var(--accent) !important; font-weight: 600; font-family: var(--head); font-size: 1.05rem; }
.pcard-tag.big { font-size: clamp(1.15rem, 2vw, 1.45rem); }
.pcard-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); margin-bottom: 18px; }
.pcard-icon .ic { width: 26px; height: 26px; }
.pcard-featured { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; padding: 40px; margin-bottom: 24px; background: linear-gradient(135deg, rgba(52, 216, 232, .07), rgba(22, 19, 44, .7) 45%); }
.pcard-featured .pcard-title { font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: .02em; }
.pcard-media { position: relative; align-self: center; display: block; }
.pcard-media > img:first-child { border-radius: 14px; border: 1px solid var(--line-strong); box-shadow: 0 30px 70px -20px rgba(52, 216, 232, .3); }
.pcard-phone { position: absolute; width: 26%; right: -10px; bottom: -28px; border-radius: 18px; border: 3px solid #1e1a38; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pcard-soon { border-style: dashed; background: rgba(22, 19, 44, .35); }

/* Werte */
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.vcard, .fcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.vcard p, .fcard p { color: var(--muted); font-size: .95rem; margin: 0; }
.vicon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); margin-bottom: 16px; }
.vicon .ic { width: 22px; height: 22px; }
.vgrid .vcard:nth-child(1) { --accent: var(--gold); }
.vgrid .vcard:nth-child(2) { --accent: var(--lav); }
.vgrid .vcard:nth-child(3) { --accent: var(--cyan); }
.vgrid .vcard:nth-child(4) { --accent: #5ee6a0; }

/* Plattformen */
.platbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: center; padding: 36px 40px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(120deg, rgba(169, 155, 255, .08), rgba(52, 216, 232, .04)); }
.platbar h2 { margin: 0; }
.plats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.plats li { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.plats li .ic { width: 22px; height: 22px; color: var(--lav); }
.plats li span { display: flex; flex-direction: column; line-height: 1.2; }
.plats li small { font-weight: 500; font-size: .72rem; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; }
.plats li.soon { border-style: dashed; color: var(--muted); }
.plats li.soon .ic { color: var(--muted); }

/* CTA */
.cta { text-align: center; padding: 64px 32px; border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(600px 300px at 50% 0%, rgba(244, 213, 141, .12), transparent 70%), var(--panel); }
.cta > img { margin: 0 auto 20px; filter: drop-shadow(0 0 24px rgba(244, 213, 141, .4)); }
.cta h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.cta p { max-width: 560px; margin-left: auto; margin-right: auto; }
.cta .chips { justify-content: center; }
.cta .small { margin-top: 18px; }

/* Projektseite */
.phero { padding: 40px 0 40px; }
.backlink { display: inline-block; color: var(--muted); font-size: .92rem; margin-bottom: 28px; }
.phero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.phero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 8px; }
.phero .lead { margin: 18px 0 26px; }
.phero-media img { border-radius: 18px; border: 1px solid var(--line-strong); box-shadow: 0 30px 80px -20px color-mix(in srgb, var(--accent) 45%, transparent); }
.phero-mark { aspect-ratio: 1.2; border-radius: 28px; border: 1px solid var(--line-strong); display: grid; place-items: center; align-content: center; gap: 22px; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 65%), var(--panel); }
.phero-mark .huge { width: 120px; height: 120px; color: var(--accent); filter: drop-shadow(0 0 30px var(--accent)); }
.slogan { font-family: var(--head); font-size: 1.5rem; font-weight: 700; }
.fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; margin-bottom: 72px; }
.split-rev { grid-template-columns: 1fr .6fr; }
.split-media img { border-radius: 16px; border: 1px solid var(--line-strong); }
.split-media.phone img { max-width: 260px; margin: 0 auto; border-radius: 26px; border: 4px solid #1e1a38; box-shadow: 0 30px 70px -20px rgba(52, 216, 232, .35); }

/* Rechtstexte */
.prose-page { padding: 48px 0 96px; }
.prose { max-width: 820px; }
.prose h1 { font-size: clamp(2.2rem, 4vw, 3rem); }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose p, .prose li { color: #cfcae6; }
.prose .meta { color: var(--muted); margin-bottom: 28px; }
.prose .card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.prose .card h2 { margin-top: 1.2em; }
.prose .card h2.mt-0 { margin-top: 0; }

/* 404 */
.nf { text-align: center; padding: 40px 0 100px; }
.nf .moon-wrap { max-width: 280px; margin: 0 auto 20px; }
.nf .lead { margin: 0 auto 28px; }

/* Footer */
.foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 56px 0 28px; background: rgba(7, 6, 15, .6); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a:not(.brand) { color: var(--text); opacity: .85; }
.foot .brand + p { margin-top: 14px; max-width: 34ch; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* Einblenden */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .vgrid, .fgrid { grid-template-columns: 1fr 1fr; }
  .pcard-featured { grid-template-columns: 1fr; padding: 30px; }
  .pcard-media { order: -1; margin-bottom: 18px; }
  .platbar { grid-template-columns: 1fr; }
  .plats { justify-content: flex-start; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: absolute; top: 72px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; padding: 12px; gap: 4px; border-radius: 18px; background: rgba(13, 11, 28, .97); border: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.open .nav-links { display: flex; }
  .nav.open { background: rgba(7, 6, 15, .92); }
  .nav-links a { padding: 12px 16px; }
  .nav-links .lang { margin: 6px 0 0; justify-content: center; }
  .hero { padding: 24px 0 64px; }
  .hero-grid, .phero-grid, .split, .split-rev { grid-template-columns: 1fr; gap: 32px; }
  .moon-wrap { max-width: 300px; order: -1; }
  .pgrid { grid-template-columns: 1fr; }
  .split-rev .split-media { order: -1; }
  .section { padding: 64px 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .vgrid, .fgrid { grid-template-columns: 1fr; }
  .stats { gap: 18px; }
  .stats div { padding-left: 12px; }
  .stats dd { font-size: .8rem; }
  .pcard, .pcard-featured { padding: 24px; }
  .platbar { padding: 26px 22px; }
  .cta { padding: 44px 20px; }
  .btn-lg { padding: 13px 22px; }
  .hero .btns .btn { flex: 1 1 100%; justify-content: center; }
  .pcard-phone { width: 30%; right: -4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
