:root {
  --ink: #0b0e14;
  --ink-soft: #141a24;
  --text: #f4f1ec;
  --muted: rgba(244, 241, 236, 0.68);
  --blue: #00b7e4;
  --magenta: #c218a8;
  --rose: #ff6b8a;
  --gold: #ffd54f;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --page-pad: clamp(1rem, 4vw, 2.5rem);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--ink);
}

img,
svg,
canvas {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.wash {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: drift 16s ease-in-out infinite alternate;
}

.wash-a {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  left: -8%;
  top: 8%;
  background: radial-gradient(circle, rgba(0, 183, 228, 0.55), transparent 68%);
}

.wash-b {
  width: min(50vw, 480px);
  height: min(50vw, 480px);
  right: -6%;
  top: 40%;
  background: radial-gradient(circle, rgba(194, 24, 168, 0.48), transparent 68%);
  animation-delay: -4s;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(3%, -2%, 0) scale(1.06); }
}

/* ——— Hero (erste Viewport) ——— */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding:
    max(0.75rem, env(safe-area-inset-top))
    var(--page-pad)
    max(0.5rem, env(safe-area-inset-bottom));
}

.hero-inner {
  flex: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  min-height: 0;
}

.brand-block {
  max-width: 34rem;
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.live-users {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  margin: 0 0 0.75rem;
  font-size: clamp(0.82rem, 1.4vw, 0.98rem);
  font-weight: 500;
  color: rgba(244, 241, 236, 0.88);
}

.live-dot {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55);
  flex-shrink: 0;
  animation: livePulse 2.2s ease-out infinite;
}

.live-count {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--text);
  min-width: 4ch;
}

.live-label {
  color: var(--muted);
  font-weight: 400;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.5); transform: scale(1); }
  55% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); transform: scale(1.05); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); transform: scale(1); }
}

.brand,
.closing-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 0.9;
  color: var(--text);
}

.brand {
  font-size: clamp(3rem, 8vw, 5.4rem);
  margin-bottom: 0.5rem;
}

.brand .c-l,
.closing-brand .c-l { color: var(--blue); }

.brand .c-u,
.closing-brand .c-u {
  display: inline-block;
  background: linear-gradient(90deg, var(--blue) 0%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.brand .c-v,
.closing-brand .c-v { color: var(--magenta); }

.headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 3.6vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.lede {
  color: var(--muted);
  font-size: clamp(0.92rem, 1.6vw, 1.08rem);
  line-height: 1.55;
  max-width: 36ch;
  margin-bottom: 1.25rem;
}

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.download {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(135deg, #f7f3ee, #ffe8f4 55%, #dff7ff);
  padding: 0.9rem 1.3rem;
  border-radius: 1.05rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 18px 40px rgba(0, 0, 0, 0.35);
  transition: transform 220ms ease, box-shadow 220ms ease;
  animation: pulse-cta 2.8s ease-in-out infinite;
}

.download.download-play {
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
}

.download-play .play-ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.download-play .play-ico svg {
  display: block;
}

.download-play .download-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08rem;
}

.download:hover {
  transform: translateY(-2px) scale(1.02);
}

.download-label {
  font-weight: 700;
  font-size: 1.02rem;
}

.download-meta {
  font-size: 0.76rem;
  opacity: 0.65;
  font-weight: 500;
}

.download-lg {
  padding: 1.05rem 1.6rem;
}

.download-lg .play-ico {
  width: 2.75rem;
  height: 2.75rem;
}

.phones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.6rem);
  min-height: 0;
  min-width: 0;
  animation: rise 1100ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  transform-origin: center bottom;
  min-width: 0;
}

.phone-him { animation: float-a 5.5s ease-in-out infinite; }
.phone-her {
  animation: float-b 6s ease-in-out infinite;
  margin-top: clamp(8px, 2.5vh, 32px);
}

@keyframes float-a {
  0%, 100% { transform: translateY(0) rotate(-2.5deg); }
  50% { transform: translateY(-8px) rotate(-1.5deg); }
}

@keyframes float-b {
  0%, 100% { transform: translateY(0) rotate(2.8deg); }
  50% { transform: translateY(-10px) rotate(1.8deg); }
}

.phone-bezel {
  width: clamp(7.5rem, 16vw, 12.25rem);
  max-width: 42vw;
  aspect-ratio: 9 / 19.2;
  padding: clamp(5px, 0.7vw, 8px);
  border-radius: clamp(1.1rem, 2.2vw, 1.75rem);
  background: linear-gradient(160deg, #2a3140, #12161e 40%, #0a0c10);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 7%;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 3.2%;
  border-radius: 999px;
  background: #050608;
  z-index: 3;
}

.screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: clamp(0.85rem, 1.8vw, 1.35rem);
  overflow: hidden;
}

.screen-blue {
  background: linear-gradient(165deg, #19c8ef, #0099c4 55%, #007aa0);
}

.screen-magenta {
  background: linear-gradient(165deg, #de2fbc, #b01596 55%, #8a0f74);
}

.draw {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hand {
  position: absolute;
  width: 18%;
  color: rgba(255, 236, 220, 0.95);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
  z-index: 4;
  opacity: 0;
  pointer-events: none;
}

.spark {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 16px #fff;
  opacity: 0;
  z-index: 3;
  pointer-events: none;
}

.phone-caption {
  font-size: clamp(0.65rem, 1.2vw, 0.72rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.45);
  font-weight: 600;
}

.sync-pulse {
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0.55;
  flex-shrink: 0;
}

.sync-pulse span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: blink 1.4s ease-in-out infinite;
}

.sync-pulse span:nth-child(2) { animation-delay: 0.2s; }
.sync-pulse span:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
  0%, 100% { opacity: 0.2; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  margin: 0.35rem auto 0.15rem;
  padding: 0.55rem 1rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 180ms ease;
  z-index: 2;
}

.scroll-cue:hover {
  color: var(--text);
}

.scroll-cue-arrow {
  width: 1.1rem;
  height: 1.1rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.75;
  animation: bounceDown 1.8s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.55; }
  50% { transform: rotate(45deg) translate(3px, 3px); opacity: 1; }
}

/* ——— Explore ——— */
.explore {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding:
    clamp(3rem, 8vh, 5.5rem)
    var(--page-pad)
    clamp(2.5rem, 6vh, 4rem);
}

.explore-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.explore-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.explore-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.explore-lede {
  color: var(--muted);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.55;
}

/* Screenshot-Galerie in Phone-Frames */
.shot-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 3.25rem) clamp(1.25rem, 3vw, 2.25rem);
  margin-bottom: clamp(3.5rem, 9vh, 5.5rem);
  align-items: start;
}

.shot-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  min-width: 0;
}

.shot-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.25rem, 4vw, 2.75rem);
  align-items: center;
}

.shot-featured .device {
  justify-self: center;
}

.shot-featured figcaption {
  text-align: left;
  max-width: 28rem;
}

.device {
  width: min(100%, 15.5rem);
}

.shot-featured .device {
  width: min(100%, 17.5rem);
}

.device-bezel {
  position: relative;
  padding: 0.55rem;
  border-radius: 1.65rem;
  background: linear-gradient(160deg, #2a3140, #12161e 45%, #0a0c10);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.device-notch {
  position: absolute;
  top: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 0.55rem;
  border-radius: 999px;
  background: #050608;
  z-index: 2;
  pointer-events: none;
}

.device-bezel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.2rem;
  background: #0b0e14;
}

.shot-card figcaption {
  text-align: center;
  max-width: 22rem;
}

.shot-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 0.35rem;
}

.shot-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 600;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.shot-card p {
  color: var(--muted);
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  line-height: 1.55;
}

.features-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  text-align: center;
  margin-bottom: 1.75rem;
}

.feature-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem) clamp(0.85rem, 2vw, 1.25rem);
}

.feature-grid li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  padding: 0.15rem 0.1rem;
}

.f-ico {
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 0.15rem;
}

.feature-grid strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.feature-grid span:last-child {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.closing {
  margin-top: clamp(3.5rem, 9vh, 5.5rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: clamp(2rem, 5vh, 3rem) 0 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.closing-brand {
  font-size: clamp(2.4rem, 7vw, 3.6rem);
}

.closing-line {
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  max-width: 28ch;
  line-height: 1.5;
}

.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 1rem var(--page-pad) calc(1.25rem + env(safe-area-inset-bottom));
}

.impressum-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(244, 241, 236, 0.42);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
}

.impressum-link:hover {
  color: rgba(244, 241, 236, 0.82);
  background: rgba(255, 255, 255, 0.06);
}

.impressum-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  max-width: min(92vw, 360px);
}

.impressum-dialog::backdrop {
  background: rgba(5, 7, 12, 0.72);
  backdrop-filter: blur(6px);
}

.impressum-card {
  background: linear-gradient(160deg, #171c24, #10141c);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  padding: 1.35rem 1.4rem 1.15rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.impressum-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.impressum-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.impressum-card a {
  color: var(--text);
  text-decoration: none;
}

.impressum-card a:hover { color: var(--rose); }

.impressum-close {
  appearance: none;
  border: 0;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.75rem 1rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.impressum-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.18), 0 18px 40px rgba(0,0,0,0.35); }
  50% { box-shadow: 0 0 0 1px rgba(255,255,255,0.28), 0 18px 44px rgba(0, 183, 228, 0.22); }
}

/* ——— Breakpoints ——— */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0.75rem;
    padding-top: 0.25rem;
  }

  .brand-block {
    text-align: center;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .lede { max-width: 38ch; }

  .cta-row { align-items: center; }

  .phones {
    align-self: stretch;
    justify-content: center;
  }

  .phone-bezel {
    width: clamp(6.75rem, 32vw, 9.5rem);
    max-width: none;
  }

  .shot-gallery {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .shot-featured {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .shot-featured figcaption {
    text-align: center;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .live-label { width: 100%; text-align: center; }

  .brand {
    font-size: clamp(2.5rem, 14vw, 3.2rem);
    letter-spacing: 0.14em;
  }

  .headline {
    font-size: clamp(1.28rem, 6.2vw, 1.55rem);
  }

  .lede {
    font-size: 0.92rem;
    margin-bottom: 1rem;
  }

  .phone-bezel {
    width: clamp(6.2rem, 36vw, 8.25rem);
  }

  .phone-her { margin-top: 1rem; }

  .sync-pulse { transform: scale(0.85); }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .feature-grid li {
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.65rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .feature-grid li .f-ico { margin: 0; }
  .feature-grid li strong { flex: 1; }
  .feature-grid li span:last-child {
    flex: 1 1 100%;
    padding-left: 2rem;
  }
}

@media (max-height: 720px) and (min-width: 901px) {
  .lede { font-size: 0.92rem; margin-bottom: 0.85rem; }
  .phone-bezel { width: clamp(6.5rem, 14vw, 10rem); }
  .brand { font-size: clamp(2.6rem, 6vw, 4rem); }
}

@media (max-height: 680px) and (max-width: 900px) {
  .hero { min-height: auto; padding-bottom: 0.25rem; }
  .lede { display: none; }
  .phone-bezel { width: clamp(5.5rem, 28vw, 7.5rem); }
  .scroll-cue { padding-top: 0.15rem; }
}

@media (min-width: 1400px) {
  :root { --max: 1200px; }
  .phone-bezel { width: clamp(10rem, 14vw, 13rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wash,
  .phone-him,
  .phone-her,
  .download,
  .sync-pulse span,
  .scroll-cue-arrow,
  .live-dot {
    animation: none !important;
  }
}
