:root {
  --bg: #03040a;
  --ink: #eef0f7;
  --muted: #9aa0b4;
  --faint: #626880;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .2);
  --glass: rgba(14, 17, 32, .5);
  --accent: #a9b8ff;
  --ok: #5ef0a0;
  --bad: #ff7282;
  --radius: 22px;
  --max: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sans: "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--bg); }

#space { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .footer { position: relative; z-index: 1; }

/* Navigation */
.nav { position: fixed; z-index: 10; top: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(8, 10, 20, .45); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.nav a { padding: .45rem 1rem; border-radius: 999px; color: var(--muted); font-size: .875rem; text-decoration: none; transition: color .25s, background .25s; }
.nav a:hover, .nav a.active { color: var(--ink); background: rgba(255, 255, 255, .08); }
.nav .brand { color: var(--ink); font-weight: 600; }

/* Typografie */
.eyebrow { margin: 0; color: var(--accent); font: 500 .75rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-weight: 700; }
h2 { font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1.02; letter-spacing: -.04em; }
.soft { color: var(--faint); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 7rem 1.25rem 6rem; text-align: center; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 40vh; background: linear-gradient(transparent, rgba(3, 4, 10, .6)); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { margin: 1.25rem 0 1.5rem; font-size: clamp(3.75rem, 14vw, 10.5rem); line-height: .88; letter-spacing: -.055em; background: linear-gradient(180deg, #fff 35%, rgba(255, 255, 255, .5)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.lead { max-width: 32rem; margin: 0 auto; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2.5rem; }
.btn { display: inline-flex; align-items: center; padding: .85rem 1.5rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--ink); font-size: .95rem; font-weight: 500; text-decoration: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .3s var(--ease), background .3s, border-color .3s; }
.btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .09); border-color: var(--line-strong); }
.btn.primary { background: var(--ink); border-color: transparent; color: var(--bg); }
.btn.primary:hover { background: #fff; }
.warp-hint { display: none; margin: 2rem 0 0; color: var(--faint); font: .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
@media (hover: hover) and (pointer: fine) { .warp-hint { display: block; } }
.scroll-hint { position: absolute; z-index: 1; bottom: 1.75rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .7rem; color: var(--faint); font: .68rem var(--mono); letter-spacing: .22em; text-decoration: none; text-transform: uppercase; }
.scroll-hint i { width: 1px; height: 42px; background: linear-gradient(var(--accent), transparent); transform-origin: top; animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Abschnitte – kein harter Hintergrund, nur weiche Nebel-Glows, damit alles ineinander fließt */
.section { position: relative; padding: clamp(6rem, 14vw, 10rem) 1.25rem; }
.section::before { content: ""; position: absolute; inset: -25% 0; z-index: -1; pointer-events: none; background: radial-gradient(45% 35% at var(--gx) 50%, var(--glow), transparent 70%); }
.garage { --glow: rgba(255, 140, 70, .11); --gx: 15%; }
.servers { --glow: rgba(110, 120, 255, .14); --gx: 85%; }
.connect { --glow: rgba(70, 200, 255, .09); --gx: 30%; }
.wrap { max-width: var(--max); margin: 0 auto; }
.section-head { display: grid; gap: 1.1rem; max-width: 42rem; margin-bottom: 3.5rem; }
.section-head > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 1.1rem; }

/* Garage */
.zoom { display: block; overflow: hidden; border-radius: inherit; cursor: zoom-in; }
.zoom img { display: block; width: 100%; height: auto; background: var(--glass); transition: transform 1.2s var(--ease), filter .6s; }
.zoom:hover img { transform: scale(1.035); }
.subhead { display: grid; gap: .9rem; margin: clamp(5rem, 10vw, 7.5rem) 0 2rem; }
.subhead h3 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); line-height: 1.1; letter-spacing: -.035em; }

.feature { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); }
.feature .zoom { border-radius: 0; }
.feature .zoom img { height: 100%; min-height: 420px; object-fit: cover; object-position: 50% 70%; }
.feature-copy { align-self: center; padding: clamp(1.5rem, 4vw, 3rem); }
.feature-copy h3 { margin: .9rem 0 .6rem; font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1; letter-spacing: -.045em; }
.feature-copy > p:not(.eyebrow) { margin: 0; color: #c9cddb; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.chips li { padding: .35rem .85rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(3, 4, 10, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .8rem; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare figure, .masonry figure { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.compare .zoom img { aspect-ratio: 4 / 3; object-fit: cover; }
.compare figcaption { position: absolute; top: 1rem; left: 1rem; padding: .35rem .85rem; border-radius: 999px; background: rgba(3, 4, 10, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .8rem; pointer-events: none; }

.masonry { columns: 3 260px; column-gap: 14px; }
.masonry figure { margin-bottom: 14px; break-inside: avoid; }
.masonry figcaption { position: absolute; inset: auto 0 0; padding: 2.5rem 1.1rem 1rem; background: linear-gradient(transparent, rgba(3, 4, 10, .85)); font-size: .85rem; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); pointer-events: none; }
.masonry figure:hover figcaption { opacity: 1; transform: none; }
@media (hover: none) { .masonry figcaption { opacity: 1; transform: none; } }

.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; top: .55rem; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong) 15%, var(--line-strong) 85%, transparent); }
.year { position: relative; display: inline-flex; align-items: center; gap: .7rem; color: var(--muted); font: .8rem var(--mono); letter-spacing: .12em; }
.year i { width: 12px; height: 12px; border: 2px solid var(--faint); border-radius: 50%; background: var(--bg); }
.step.now .year { color: var(--accent); }
.step.now .year i { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.step-photo { position: relative; margin-top: 1.5rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.step-photo .zoom img { aspect-ratio: 4 / 3; object-fit: cover; }
.more { position: absolute; right: .8rem; bottom: .8rem; padding: .25rem .7rem; border-radius: 999px; background: rgba(3, 4, 10, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .75rem; pointer-events: none; }
.step h4 { margin: 1.25rem 0 .35rem; font-size: 1.3rem; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Vollbildansicht */
.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(3, 4, 10, .94); color: var(--ink); }
.lightbox[open] { display: grid; place-items: center; animation: fade .3s var(--ease); }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(94vw, 1800px); max-height: 84vh; border-radius: 14px; object-fit: contain; }
.lightbox-caption { position: absolute; left: 0; right: 0; bottom: 1.5rem; margin: 0; color: var(--muted); font-size: .9rem; text-align: center; }
.lightbox button { position: absolute; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, .06); color: var(--ink); font-size: 1.1rem; cursor: pointer; transition: background .25s; }
.lightbox button:hover { background: rgba(255, 255, 255, .15); }
.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-prev { left: 1.25rem; top: calc(50% - 24px); }
.lightbox-next { right: 1.25rem; top: calc(50% - 24px); }
.lightbox.single .lightbox-prev, .lightbox.single .lightbox-next { display: none; }
@keyframes fade { from { opacity: 0; } }

/* Server */
.server-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.card { position: relative; overflow: hidden; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color .4s, transform .4s var(--ease); }
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(169, 184, 255, .1), transparent 60%); transition: opacity .4s; }
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card:hover::after { opacity: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.game { color: var(--muted); font: .75rem var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.status { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .8rem; transition: color .4s, border-color .4s, background .4s; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.status[data-state="checking"] i { animation: blink 1s infinite alternate; }
.status[data-state="online"] { color: var(--ok); border-color: rgba(94, 240, 160, .3); background: rgba(94, 240, 160, .08); }
.status[data-state="online"] i { background: var(--ok); animation: pulse 2s infinite; }
.status[data-state="offline"] { color: var(--bad); border-color: rgba(255, 114, 130, .3); background: rgba(255, 114, 130, .07); }
.status[data-state="offline"] i { background: var(--bad); }
@keyframes blink { to { opacity: .2; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(94, 240, 160, .55); } 100% { box-shadow: 0 0 0 9px rgba(94, 240, 160, 0); } }
.card h3 { margin: 2rem 0 .5rem; font-size: 2rem; line-height: 1.1; letter-spacing: -.03em; }
.card p { margin: 0; color: var(--muted); }
.address { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.75rem; padding: .4rem .4rem .4rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(0, 0, 0, .35); }
.address code { overflow: hidden; font: .95rem var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.copy { flex: none; padding: .55rem .95rem; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .08); color: var(--ink); font: 500 .8rem var(--sans); cursor: pointer; transition: background .25s; }
.copy:hover { background: rgba(255, 255, 255, .15); }
.card .howto { margin-top: 1rem; color: var(--faint); font-size: .85rem; }
.card.soon { display: grid; place-items: center; min-height: 260px; border-style: dashed; background: transparent; color: var(--faint); font: .75rem var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.card.soon:hover { transform: none; }

/* Kontakt */
.links { display: grid; border-top: 1px solid var(--line); }
.link { display: flex; align-items: center; gap: 1.25rem; padding: 1.75rem .25rem; border-bottom: 1px solid var(--line); font-size: clamp(1.5rem, 4.5vw, 2.75rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; text-decoration: none; transition: padding .5s var(--ease), color .3s; }
.link svg { flex: none; width: .85em; height: .85em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); transition: color .3s, transform .5s var(--ease); }
.link small { margin-left: auto; color: var(--faint); font: .8rem var(--mono); letter-spacing: .04em; }
.link .arrow { width: .6em; height: .6em; }
.link:hover { padding-left: 1rem; color: #fff; }
.link:hover svg { color: var(--accent); }
.link:hover .arrow { transform: translate(3px, -3px); }

/* Footer */
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; max-width: var(--max); margin: 0 auto; padding: 3rem 1.25rem 2.5rem; color: var(--faint); font-size: .85rem; }
.footer a { margin-left: 1.5rem; text-decoration: none; transition: color .25s; }
.footer a:first-child { margin-left: 0; }
.footer a:hover { color: var(--ink); }
.visits { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; }
.visits i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* Rechtliche Seiten */
.legal { max-width: 46rem; margin: 0 auto; padding: 9rem 1.25rem 4rem; }
.legal h1 { margin: 1rem 0 3rem; font-size: clamp(2.5rem, 7vw, 4rem); line-height: 1; letter-spacing: -.04em; }
.legal h2 { margin: 2.75rem 0 .75rem; font-size: 1.2rem; letter-spacing: -.01em; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--accent); }

/* Einblenden beim Scrollen */
.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .card.reveal.in { transition: opacity 1.1s var(--ease), transform .4s var(--ease), filter 1.1s var(--ease), border-color .4s; }

@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; }
  .feature .zoom img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .compare, .timeline { grid-template-columns: 1fr; }
  .timeline { gap: 3rem; }
  .timeline::before { display: none; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 4rem; }
  .link small { display: none; }
  .card { padding: 1.5rem; }
}
@media (max-width: 420px) {
  .nav .brand { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .scroll-hint i, .status i { animation: none !important; }
}
