* { box-sizing: border-box; }
:root { color-scheme: dark; --edge: clamp(24px,5.4vw,94px); --first:1; --last:0; }
html { scroll-behavior:smooth; background:#000; }
body { margin:0; background:#000; color:#f5f5f4; font-family:Inter,Arial,Helvetica,sans-serif; }
a, button { color:inherit; font:inherit; }
a { text-decoration:none; }
:focus-visible { outline:2px solid #a8d9ff; outline-offset:5px; }
header,footer { display:flex; align-items:center; justify-content:space-between; padding:20px var(--edge); }
header { position:absolute; inset:0 0 auto; z-index:3; }
.brand { display:inline-flex; align-items:center; gap:14px; font-size:clamp(24px,2.4vw,36px); font-weight:550; letter-spacing:-.055em; }
.brand i { width:41px; height:13px; border:1px solid #ccc; border-radius:50%; transform:rotate(-28deg); position:relative; }
.brand i::after { content:""; position:absolute; right:2px; top:0; width:4px; height:4px; background:white; border-radius:50%; }
.pill { background:#080808; border:1px solid #aaa; border-radius:30px; padding:10px 22px; cursor:pointer; }
.pill:hover { background:#242424; }
main { position:relative; }
.stage { position:relative; }
.space { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.space img { display:block; position:absolute; height:auto; }
#rocket { width:min(73vw,110vh); right:1%; top:4%; }
#planet { width:min(62vw,100vh); left:-3%; bottom:3%; }
.copy { min-height:100svh; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; position:relative; padding:0 var(--edge); }
.copy h1,.copy h2 { font-size:clamp(56px,7.25vw,144px); line-height:.94; letter-spacing:-.067em; margin:0; font-weight:550; }
.copy p { margin:24px 0; font-size:clamp(16px,1.6vw,26px); line-height:1.4; }
.scroll-link { border-bottom:1px solid #aaa; padding:4px 0; }
.invitation { padding-left:57%; }
footer { position:relative; color:#c4c4c4; font-size:14px; }
footer .brand { font-size:20px; }
dialog { width:min(400px,90vw); background:#101114; color:#f5f5f4; border:1px solid #434448; border-radius:12px; padding:28px; }
dialog h2 { margin:0; } dialog p { line-height:1.55; } dialog::backdrop { background:#000b; }
.animated main { height:230svh; }
.animated .stage { position:sticky; top:0; height:100svh; overflow:hidden; }
.animated .copy { position:absolute; inset:0; min-height:0; }
.animated .intro { opacity:var(--first); }
.animated .invitation { opacity:var(--last); pointer-events:none; }
.animated #rocket { top:50%; transform:translateY(-46%); }
.animated #planet { bottom:auto; top:50%; transform:translateY(-46%); }
canvas { position:absolute; inset:0; width:100%; height:100%; }
#zugang { position:absolute; bottom:0; height:100svh; pointer-events:none; }
@media(max-width:700px){
  header { padding-top:18px; }
  .copy { justify-content:flex-start; padding-top:100px; }
  .copy h1,.copy h2 { font-size:clamp(50px,12.5vw,85px); }
  .copy p { font-size:17px; margin:16px 0; }
  .invitation { justify-content:flex-end; padding:0 var(--edge) 7svh; }
  #rocket { width:min(109vw,76svh); top:21%; right:-3%; }
  #planet { width:min(97vw,67svh); bottom:17%; }
  .animated #rocket { top:auto; bottom:3%; transform:none; }
  .animated #planet { top:9%; bottom:auto; transform:none; }
}
@media(prefers-reduced-motion:reduce){ html { scroll-behavior:auto; } }
@media(prefers-reduced-motion:no-preference){
 .animated #rocket { animation:drift 9s ease-in-out infinite alternate; }
 .animated #planet { animation:drift 15s ease-in-out infinite alternate-reverse; }
 @keyframes drift { from { translate:0 0; } to { translate:3px -6px; } }
}
