:root{
  --bg:#0b0d14;
  --card:rgba(255,255,255,.07);
  --stroke:rgba(255,255,255,.12);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.72);
  --muted2:rgba(255,255,255,.58);
  --accent:#8b5cf6;
  --accent2:#38bdf8;
}
*{box-sizing:border-box}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: var(--bg);
  color:var(--text);
}
a{color:inherit; text-decoration:none}
a:hover{opacity:.95}
.container{max-width:1100px; margin:0 auto; padding:28px 18px}
.nav{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(14px);
  background: rgba(11,13,20,.55);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.navInner{display:flex; align-items:center; justify-content:space-between; gap:14px}
.brand{display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:.2px}
.logo{
  width:34px; height:34px; border-radius:12px;
  background: linear-gradient(180deg, rgba(139,92,246,.95), rgba(56,189,248,.9));
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.navlinks{
  display:flex;
  gap:10px;
  align-items:center;
  color:var(--muted);
  flex-wrap:nowrap;           /* verhindert Umbruch / Verschieben */
  justify-content:flex-end;
  white-space:nowrap;         /* hält Reihenfolge stabil */
}

.navlinks a{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid transparent; /* reserviert Platz für active-State */
}

.navlinks a.active{
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
}
.navlinks{display:flex; gap:10px; align-items:center; color:var(--muted); flex-wrap:wrap; justify-content:flex-end}
.navlinks a{padding:10px 10px; border-radius:12px}
.navlinks a:hover{background:rgba(255,255,255,.06)}
.hero{
  display:grid; grid-template-columns: 1.2fr .8fr; gap:24px; align-items:center;
  padding:42px 0 8px;
}
@media (max-width: 900px){ .hero{grid-template-columns:1fr; padding-top:22px} }
.kicker{color:rgba(255,255,255,.78); font-weight:700; letter-spacing:.2px; margin:0 0 10px}
.h1{font-size: clamp(34px, 4.2vw, 52px); line-height:1.05; margin:0 0 14px}
.lead{font-size:18px; line-height:1.55; color:var(--muted); margin:0 0 18px; max-width:68ch}
.badges{display:flex; flex-wrap:wrap; gap:10px; margin:18px 0 22px}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  padding:8px 12px; border-radius:999px;
  color:var(--muted);
  font-size:13px;
}
.ctaRow{display:flex; flex-wrap:wrap; gap:12px; align-items:center}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px; border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:var(--text);
  font-weight:700;
}
.btn.primary{
  background: linear-gradient(180deg, rgba(139,92,246,.95), rgba(56,189,248,.85));
  border-color: rgba(255,255,255,.20);
  box-shadow: 0 18px 45px rgba(0,0,0,.32);
}
.note{margin-top:10px; color:rgba(255,255,255,.70); font-size:12px; line-height:1.5}
.phoneCard{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  padding:18px;
}
.phoneWrap{
  aspect-ratio: 9 / 19.5;
  border-radius:28px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  overflow:hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.phoneWrap img{width:100%; height:100%; object-fit:cover; display:block}
.section{padding:30px 0}
.h2{font-size: clamp(22px, 2.4vw, 30px); margin:0 0 12px}
.p{color:var(--muted); line-height:1.6; margin:0 0 14px; max-width:80ch}
.grid{display:grid; gap:14px; grid-template-columns: repeat(3, 1fr)}
@media (max-width: 980px){ .grid{grid-template-columns: repeat(2, 1fr)} }
@media (max-width: 620px){ .grid{grid-template-columns: 1fr} }
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;
  padding:16px;
}
.card h3{margin:0 0 8px; font-size:16px}
.card p{margin:0; color:var(--muted2); line-height:1.55; font-size:14px}
.video{position:relative; width:100%; aspect-ratio:16/9; background: rgba(255,255,255,.04)}
.video video, .video iframe{position:absolute; inset:0; width:100%; height:100%; border:0}
.footer{padding:26px 0 44px; border-top:1px solid rgba(255,255,255,.08); color:var(--muted2); font-size:13px}
.footerLinks{display:flex; flex-wrap:wrap; gap:14px; margin-top:10px}
code{background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.10); padding:2px 6px; border-radius:8px}
.hr{height:1px; background:rgba(255,255,255,.08); border:0; margin:18px 0}
/* -----------------------------
   FIX: Größenanpassung Assets
   ----------------------------- */
.video video {
  animation: videoFade .6s ease;
}

@keyframes videoFade {
  from { opacity: 0 }
  to   { opacity: 1 }
}
/* Logo oben links */
.logoImg {
  width: 45px;
  height: 45px;
  object-fit: contain;
  border-radius: 10px;
}

/* App Store Badge */
.appStoreBadge img {
  height: 120px;
  width: auto;
  display: block;
}

/* Hero iPhone / Screenshot */
.phoneWrap {
  max-width: 300px;
  margin: 0 auto;
}

/* Screenshots Grid unten */
.mediaGrid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* Einzelne Screenshots */
.media {
  background: transparent;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
}

.media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 32px;
}
.pageBg {
  min-height: 100vh;
  background:
    radial-gradient(1200px 800px at 20% 10%, rgba(139,92,246,.25), transparent 55%),
    radial-gradient(900px 700px at 90% 15%, rgba(56,189,248,.22), transparent 60%),
    linear-gradient(180deg, #0b0d14 0%, #070812 100%);
}
/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 12, 0.88);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(92vw, 420px);
  max-height: 90vh;
  border-radius: 24px;
  box-shadow: 0 40px 120px rgba(0,0,0,.6);
}
