:root {
  --bg: #0b0b0b;
  --bg-2: #121212;
  --ink: #f4f6fa;
  --muted: #95a0b4;
  --accent: #c9a84c;
  --accent-hot: #e0c57a;
  --line: rgba(244, 246, 250, 0.1);
  --font-display: "Syne", sans-serif;
  --font-body: "Instrument Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--bg);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(160deg, #080c16 0%, var(--bg) 42%, var(--bg-2) 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 14s ease-in-out infinite alternate;
}

.glow-a {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  top: -12%;
  right: -8%;
  background: rgba(45, 95, 150, 0.35);
}

.glow-b {
  width: min(40vw, 380px);
  height: min(40vw, 380px);
  bottom: 8%;
  left: -10%;
  background: rgba(212, 160, 23, 0.14);
  animation-delay: -4s;
}

.chart-plane {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.chart-line {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: draw-line 2.4s ease-out forwards 0.35s;
}

.pulse-dot {
  opacity: 0;
  animation: pop-dot 0.6s ease-out forwards 2.4s, pulse 2.2s ease-in-out infinite 3s;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
}

.top-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.top-logo,
.top-mark-img {
  display: block;
  height: 36px;
  width: auto;
  background: transparent;
}

.hero-logo {
  display: block;
  width: min(100%, 22rem);
  height: auto;
  margin: 0 0 1.25rem;
  background: transparent;
}

.app-icon-lg {
  border-radius: 0;
  flex-shrink: 0;
  background: transparent;
  height: auto;
  width: 5.5rem;
}

.top-nav {
  display: flex;
  gap: 1.25rem;
}

.top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.top-nav a:hover {
  color: var(--ink);
}

.hero {
  min-height: calc(100vh - 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem clamp(1.25rem, 5vw, 4rem) 4rem;
  max-width: 44rem;
  animation: rise 0.9s ease-out both;
}

.hero-split {
  max-width: 1100px;
  margin: 0 auto;
  gap: clamp(1.5rem, 4vw, 3rem);
}

@media (min-width: 900px) {
  .hero-split {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-copy {
    flex: 1 1 48%;
    max-width: 32rem;
  }

  .hero-phone {
    flex: 1 1 42%;
    max-width: 22rem;
  }
}

.hero-phone {
  margin: 0;
  width: min(100%, 22rem);
}

.hero-phone img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.2rem, 16vw, 7.5rem);
  letter-spacing: -0.05em;
  line-height: 0.88;
}

.brand::after {
  content: "";
  display: block;
  width: 4rem;
  height: 3px;
  margin-top: 1rem;
  background: var(--accent);
  transform-origin: left;
  animation: grow-bar 0.8s ease-out 0.45s both;
}

h1 {
  margin: 1.1rem 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  letter-spacing: -0.02em;
}

.tagline {
  margin: 0 0 1.8rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 2.2vw, 1.15rem);
  line-height: 1.55;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.3rem;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #1a1200;
}

.btn.primary:hover {
  background: var(--accent-hot);
  transform: translateY(-1px);
}

.btn.ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn.ghost:hover {
  border-color: var(--muted);
}

.panel {
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem);
  max-width: 40rem;
  border-top: 1px solid var(--line);
}

.showcase {
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  max-width: 1100px;
}

.showcase h2,
.panel h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
}

.phone-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: clamp(1rem, 3vw, 1.75rem);
  margin-top: 1.75rem;
}

.phone-card {
  margin: 0;
}

.phone-card img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.phone-card figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.features-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.app-icon-lg {
  border-radius: 16px;
  flex-shrink: 0;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.foot-brand img {
  border-radius: 5px;
}

.lead {
  margin: 0 0 1.4rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 32rem;
}

.points {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.points li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.15rem;
  border-top: 1px solid var(--line);
  line-height: 1.5;
}

.points li:last-child {
  border-bottom: 1px solid var(--line);
}

.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--accent);
}

.points strong {
  display: block;
  margin-bottom: 0.15rem;
  font-weight: 600;
}

.store-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 5vw, 4rem) 2.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.foot-links {
  display: flex;
  gap: 1rem;
}

.foot a {
  color: var(--muted);
  text-decoration: none;
}

.foot a:hover {
  color: var(--ink);
}

/* Unsichtbarer Login – unten rechts, treffbar, ohne sichtbaren Hinweis */
.ghost-login {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 50;
  width: 48px;
  height: 48px;
  opacity: 0;
  cursor: default;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes grow-bar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes pop-dot {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%,
  100% {
    r: 5;
    opacity: 1;
  }
  50% {
    r: 8;
    opacity: 0.55;
  }
}

@keyframes drift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-18px, 22px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero,
  .chart-line,
  .pulse-dot,
  .brand::after,
  .glow {
    animation: none !important;
  }

  .chart-line {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }

  .pulse-dot {
    opacity: 1;
  }
}
