/* DMC Studio · Star Colony – Startseite */
:root {
  --bg: #06061a;
  --ink: #eef0ff;
  --muted: #a7acd1;
  --gold: #ffd15a;
  --violet: #9b7bff;
  --cyan: #4fd6ff;
  --pink: #ff5ad1;
  --glass: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.12);
  --display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 var(--display); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- Hintergrund ---------- */
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; }
.nebula { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.nebula span {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55;
  animation: drift 26s ease-in-out infinite alternate;
}
.nebula span:nth-child(1) { width: 55vw; height: 55vw; left: -12vw; top: -10vw; background: radial-gradient(circle, #5b2dff 0%, transparent 70%); }
.nebula span:nth-child(2) { width: 45vw; height: 45vw; right: -10vw; top: 30vh; background: radial-gradient(circle, #0fb8e8 0%, transparent 70%); animation-duration: 32s; opacity: .35; }
.nebula span:nth-child(3) { width: 50vw; height: 50vw; left: 20vw; bottom: -25vw; background: radial-gradient(circle, #d6339c 0%, transparent 70%); animation-duration: 38s; opacity: .3; }
@keyframes drift { to { transform: translate(6vw, 4vh) scale(1.15); } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: linear-gradient(to bottom, rgba(6, 6, 26, .75), rgba(6, 6, 26, .2));
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 28px); font-size: 15px; }
.nav nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav nav a:hover { color: var(--ink); }
.lang {
  font: 600 13px var(--display); color: var(--ink); background: var(--glass);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer;
}
.lang:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px;
  padding: 110px clamp(16px, 6vw, 96px) 60px; max-width: 1320px; margin: 0 auto;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
  padding: 6px 14px; border-radius: 999px; background: rgba(255, 209, 90, .08); border: 1px solid rgba(255, 209, 90, .25);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.6); opacity: .5; } }
.title {
  margin: 0; font-size: clamp(64px, 11vw, 150px); line-height: .9; font-weight: 900; letter-spacing: -.035em;
  background: linear-gradient(100deg, #fff 0%, #cbbcff 25%, #6fd8ff 45%, #fff 55%, #ffd15a 75%, #ff8ad8 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s linear infinite;
  filter: drop-shadow(0 10px 40px rgba(123, 77, 255, .35));
}
@keyframes shimmer { to { background-position: -250% 0; } }
.subtitle { max-width: 34em; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); margin: 26px 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  border-radius: 16px; padding: 14px 24px; font-weight: 700; font-size: 17px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn svg { width: 28px; height: 28px; }
.btn span { display: flex; flex-direction: column; line-height: 1.1; font-size: 21px; }
.btn small { font-size: 11px; font-weight: 500; opacity: .8; letter-spacing: .02em; }
.btn.primary { background: #fff; color: #0b0b1e; box-shadow: 0 10px 40px rgba(155, 123, 255, .45), 0 0 0 1px rgba(255, 255, 255, .5) inset; }
.btn.primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 60px rgba(155, 123, 255, .7); }
.btn.ghost { border: 1px solid var(--line); background: var(--glass); color: var(--ink); }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.btn.big { padding: 18px 34px; }
.btn.big span { font-size: 25px; }
.stats { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: clamp(18px, 4vw, 44px); }
.stats li { display: flex; flex-direction: column; }
.stats b { font-size: 34px; font-weight: 800; background: linear-gradient(180deg, #fff, #b9a8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-size: 14px; }

/* ---------- Telefon & Planet ---------- */
.hero-visual { position: relative; height: min(720px, 82vh); display: grid; place-items: center; perspective: 1400px; }
.orbit { position: absolute; width: min(620px, 90%); aspect-ratio: 1; display: grid; place-items: center; }
.planet {
  position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .55), transparent 28%),
    radial-gradient(circle at 70% 75%, rgba(20, 0, 60, .9), transparent 55%),
    linear-gradient(135deg, #b56bff 0%, #6a3cff 40%, #2a1080 75%, #12053a 100%);
  box-shadow: 0 0 120px rgba(140, 90, 255, .55), inset -40px -40px 90px rgba(0, 0, 0, .6);
}
.planet i {
  position: absolute; inset: -50%;
  background: repeating-linear-gradient(115deg, transparent 0 34px, rgba(255, 255, 255, .06) 34px 60px, transparent 60px 96px);
  animation: spin 40s linear infinite;
}
.ring {
  position: absolute; width: 118%; height: 30%; border-radius: 50%;
  border: 10px solid rgba(111, 216, 255, .55); border-top-color: rgba(111, 216, 255, .12);
  transform: rotate(-18deg); box-shadow: 0 0 30px rgba(111, 216, 255, .35);
}
.moon {
  position: absolute; width: 7%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #aab 60%, #556 100%);
  offset-path: ellipse(59% 15% at 50% 50%); animation: orbit 12s linear infinite;
  transform: rotate(-18deg);
}
@keyframes orbit { to { offset-distance: 100%; } }
@keyframes spin { to { transform: rotate(360deg); } }

.phone {
  position: relative; width: min(300px, 62vw); aspect-ratio: 886 / 1920; border-radius: 48px; padding: 11px;
  background: linear-gradient(145deg, #3b3b55, #12121f 40%, #2b2b40);
  box-shadow: 0 50px 120px rgba(0, 0, 0, .7), 0 0 0 2px rgba(255, 255, 255, .08), 0 0 80px rgba(123, 77, 255, .35);
  transform-style: preserve-3d; transition: transform .2s ease-out; will-change: transform;
}
.screen { width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #000; }
.screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.island { position: absolute; top: 22px; left: 50%; width: 30%; height: 24px; transform: translateX(-50%); background: #000; border-radius: 20px; }
.shine { position: absolute; inset: 0; border-radius: 48px; pointer-events: none; background: linear-gradient(120deg, rgba(255, 255, 255, .18), transparent 35%); }
.float-chip {
  position: absolute; padding: 10px 16px; border-radius: 16px; font-weight: 700;
  background: rgba(20, 16, 50, .7); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .4); animation: bob 5s ease-in-out infinite;
}
.float-chip small { color: var(--gold); font-weight: 800; margin-left: 4px; }
.c1 { top: 16%; left: 0; color: var(--gold); }
.c2 { bottom: 16%; right: 0; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-14px); } }

/* ---------- Laufband ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .025); padding: 18px 0; }
.track { display: flex; gap: 34px; width: max-content; animation: scroll 38s linear infinite; font-size: 22px; font-weight: 700; color: var(--muted); }
.track span { color: var(--ink); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Funktionen ---------- */
section h2 { font-size: clamp(36px, 5.5vw, 68px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 48px; text-align: center; }
section h2 em { font-style: normal; background: linear-gradient(90deg, var(--violet), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.features, .gallery { padding: 120px clamp(16px, 5vw, 64px) 40px; max-width: 1240px; margin: 0 auto; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 30px 28px; border-radius: 26px; background: var(--glass); border: 1px solid var(--line);
  overflow: hidden; transition: transform .3s, border-color .3s, background .3s;
}
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c) 28%, transparent), transparent 45%);
}
.card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.card:hover::before { opacity: 1; }
.ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; margin-bottom: 18px;
  background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); box-shadow: 0 0 30px color-mix(in srgb, var(--c) 30%, transparent);
}
.card h3 { margin: 0 0 8px; font-size: 22px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; position: relative; }

/* ---------- Galerie ---------- */
.shots {
  display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 4px 40px;
  scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.shots::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 auto; width: 250px; margin: 0; scroll-snap-align: center; text-align: center; }
.shot img {
  width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; border-radius: 34px;
  border: 6px solid #1c1c2e; box-shadow: 0 30px 70px rgba(0, 0, 0, .6), 0 0 0 1px var(--line);
  transition: transform .4s;
}
.shot:hover img { transform: translateY(-10px) rotate(-1.5deg); }
.shot figcaption { margin-top: 16px; font-weight: 700; color: var(--muted); }

/* ---------- Abschluss ---------- */
.final { position: relative; text-align: center; padding: 160px 16px 140px; overflow: hidden; }
.final-planet {
  position: absolute; left: 50%; bottom: -55vw; width: 120vw; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 0%, rgba(155, 123, 255, .55), rgba(40, 16, 120, .5) 30%, transparent 60%);
  box-shadow: 0 -20px 120px rgba(111, 216, 255, .25); z-index: -1;
}
.final-icon { width: 120px; height: 120px; border-radius: 28px; margin: 0 auto 28px; box-shadow: 0 20px 70px rgba(123, 77, 255, .6); animation: bob 6s ease-in-out infinite; }
.final h2 { margin-bottom: 14px; }
.final p { color: var(--muted); font-size: 19px; margin: 0 0 34px; }

/* ---------- Fusszeile ---------- */
footer { border-top: 1px solid var(--line); background: rgba(6, 6, 26, .6); }
.foot { max-width: 1240px; margin: 0 auto; padding: 40px clamp(16px, 5vw, 64px); display: grid; gap: 12px; color: var(--muted); }
.foot p { margin: 0; }
.links { display: flex; gap: 22px; flex-wrap: wrap; }
.links a { color: var(--ink); text-decoration: none; }
.links a:hover { color: var(--cyan); }

/* ---------- Einblenden beim Scrollen ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Handy ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 100px; gap: 10px; }
  .eyebrow { margin-inline: auto; }
  .subtitle { margin-inline: auto; }
  .cta, .stats { justify-content: center; }
  .hero-visual { height: 600px; }
  .grid { grid-template-columns: 1fr; }
  .nav nav a:not([href="/sternenkolonie/"]) { display: none; }
  .float-chip { font-size: 14px; }
  .c1 { left: 4%; } .c2 { right: 4%; }
}
@media (max-width: 520px) {
  .stats { gap: 16px; }
  .stats b { font-size: 26px; }
  .btn span { font-size: 18px; }
  .shot { width: 200px; }
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
