/* LinkUpHQ Webseite: Black/Chrom, passend zur App */
:root {
  --bg: #050506;
  --text: #f2f3f5;
  --muted: #8d919a;
  --faint: #5c6068;
  --line: rgba(255, 255, 255, 0.08);
  --line-hi: rgba(255, 255, 255, 0.18);
  --chrome: linear-gradient(180deg, #f6f7f9 0%, #d9dce1 46%, #c3c7cd 54%, #e7e9ec 100%);
  --chrome-text: linear-gradient(100deg, #9da1a8 0%, #ffffff 25%, #c9ccd2 50%, #ffffff 75%, #9da1a8 100%);
  --good: #9fe0b0;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Hintergrund */
.network {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.aurora {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -2;
  pointer-events: none;
}
.a1 {
  width: 620px; height: 620px; left: -200px; top: -220px;
  background: radial-gradient(circle, rgba(200, 206, 216, 0.22), transparent 65%);
  animation: wander1 20s ease-in-out infinite alternate;
}
.a2 {
  width: 560px; height: 560px; right: -220px; top: 30%;
  background: radial-gradient(circle, rgba(150, 158, 175, 0.18), transparent 65%);
  animation: wander2 26s ease-in-out infinite alternate;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 5, 6, 0.7);
  backdrop-filter: blur(16px);
  border-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; }
.nav nav { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); }
.nav nav a { transition: color 0.3s; }
.nav nav a:hover { color: var(--text); }
.nav-cta {
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid var(--line-hi);
  color: var(--text) !important;
  transition: background-color 0.3s, border-color 0.3s !important;
}
.nav-cta:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.3); }

/* Start */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(40px, 8vh, 100px) clamp(20px, 5vw, 64px) 80px;
  min-height: calc(100vh - 72px);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #c9ccd2;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.badge i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(159, 224, 176, 0.6);
  animation: ping 2s ease-out infinite;
}
h1 {
  margin: 22px 0 0;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.shine {
  background: var(--chrome-text);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 8s ease-in-out infinite;
}
.lead {
  max-width: 470px;
  margin: 24px 0 32px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { margin: 18px 0 0; font-size: 13px; color: var(--faint); line-height: 1.6; }
.fine b { color: var(--muted); font-weight: 600; }

/* Buttons */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.4s var(--spring), box-shadow 0.4s var(--ease), background-color 0.3s, border-color 0.3s;
}
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-chrome {
  background: var(--chrome);
  color: #0d0e10;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(0, 0, 0, 0.15), 0 12px 30px -10px rgba(0, 0, 0, 0.8);
}
.btn-chrome::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.55) 50%, transparent 62%);
  transform: translateX(-130%);
  animation: sweep 7s ease-in-out 2s infinite;
}
.btn-chrome:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(0, 0, 0, 0.15), 0 20px 40px -12px rgba(0, 0, 0, 0.9), 0 0 0 5px rgba(255, 255, 255, 0.05);
}
.btn-chrome:hover svg { animation: nudge 0.9s var(--ease) infinite; }
.btn-ghost { border: 1px solid var(--line-hi); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.3); }
.btn.big { height: 58px; padding: 0 28px; font-size: 16px; }

/* App-Vorschau */
.hero-visual { position: relative; perspective: 1400px; }
.glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 65%);
  filter: blur(40px);
  animation: breathe 6s ease-in-out infinite;
}
.window {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-hi);
  background: #0b0b0d;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.8s var(--ease);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c2e33; }
.window-bar span { margin-left: 8px; font-size: 12px; color: var(--faint); }

/* Abschnitte */
.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 100px clamp(20px, 5vw, 64px);
  scroll-margin-top: 60px;
}
.section-head { max-width: 620px; margin-bottom: 52px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
h2 { margin: 12px 0 14px; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; }
.section-head p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); }

/* Feature-Karten mit Lichtschein, der der Maus folgt */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative;
  padding: 28px 26px 26px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.5s var(--spring), border-color 0.4s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.09), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-hi); }
.card:hover::before { opacity: 1; }
.card .icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line-hi);
}
.card .icon svg { width: 22px; height: 22px; fill: none; stroke: #e6e8ec; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.tag {
  position: absolute;
  top: 24px;
  right: 22px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.tag.soon { color: var(--muted); border: 1px solid var(--line-hi); }
.tag.live { color: #0c0d0f; background: var(--good); }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li { padding: 28px 26px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--chrome);
  color: #0d0e10;
  font-weight: 800;
}
.steps h3 { margin: 0 0 8px; font-size: 19px; }
.steps p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* Download-Bereich */
.download {
  position: relative;
  text-align: center;
  padding: 64px 32px;
  border-radius: 28px;
  border: 1px solid var(--line-hi);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(255, 255, 255, 0.08), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}
.download-logo { width: 84px; height: 84px; margin: 0 auto 10px; animation: float 6s ease-in-out infinite; }
.download p { max-width: 520px; margin: 0 auto 28px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.download .fine { margin-top: 22px; margin-bottom: 0; font-size: 13px; }

/* Fusszeile */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px clamp(20px, 5vw, 64px) 48px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
}
.brand.small { font-size: 15px; color: var(--muted); }
.brand.small img { width: 24px; height: 24px; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(24px); filter: blur(4px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* Handy & kleine Fenster */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav nav a:not(.nav-cta) { display: none; }
  .grid, .steps { grid-template-columns: 1fr; }
  .footer { flex-direction: column; gap: 12px; }
}

/* Animationen */
@keyframes sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@keyframes sweep { 0% { transform: translateX(-130%); } 25%, 100% { transform: translateX(130%); } }
@keyframes nudge { 50% { transform: translateY(2px); } }
@keyframes breathe { 0%, 100% { opacity: 0.6; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes ping { from { box-shadow: 0 0 0 0 rgba(159, 224, 176, 0.6); } to { box-shadow: 0 0 0 9px rgba(159, 224, 176, 0); } }
@keyframes wander1 { to { transform: translate(140px, 100px) scale(1.15); } }
@keyframes wander2 { to { transform: translate(-120px, -80px) scale(0.9); } }

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