/* =========================================================================
   easy-lappen · Coming-Soon One-Pager
   Reines CSS, keine Abhängigkeiten. Alles auf einen Blick (kein Scrollen).
   Farben aus der App-Palette (Oliv): #556B2F / #6B8E23 / #BCB88A / #F5F5EE.
   ========================================================================= */

/* --- Lokale Schriften (Variable Fonts, keine externe Verbindung) ---------- */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/sora-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
}

:root {
  --bg: #11140b;
  --bg-2: #161a0e;
  --text: #f3f4ea;
  --muted: #b3b89a;
  --line: rgba(188, 184, 138, 0.16);
  --glass: rgba(245, 245, 238, 0.04);
  --glass-strong: rgba(245, 245, 238, 0.07);

  /* App-Oliv */
  --olive-dark: #556b2f;
  --olive: #6b8e23;
  --olive-bright: #9bb04a;
  --sand: #bcb88a;
  --grad: linear-gradient(100deg, var(--olive), var(--olive-bright) 50%, var(--sand));

  --radius: 18px;
  --maxw: 1100px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  /* One-Pager: fixe Höhe, kein Scrollen. */
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 4vh, 44px) clamp(20px, 5vw, 56px);
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.07;
  margin: 0;
}

/* --- Animierter Hintergrund ----------------------------------------------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1100px 700px at 75% -15%, #1b2110 0%, transparent 60%),
    var(--bg);
}

/* langsam rotierender Schimmer hinter der Bühne */
.glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 130vmax; height: 130vmax;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(107, 142, 35, 0.10) 60deg,
    transparent 140deg,
    rgba(188, 184, 138, 0.08) 230deg,
    transparent 320deg
  );
  animation: spin 40s linear infinite;
  opacity: 0.8;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Spotlight folgt dem Mauszeiger (per JS gesetzte --mx/--my). */
.spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px 420px at var(--mx, 50%) var(--my, 32%),
    rgba(155, 176, 74, 0.14),
    transparent 70%
  );
  transition: background 0.18s ease-out;
  opacity: 0;
  animation: fade-in 1.2s ease 0.3s forwards;
}
@keyframes fade-in { to { opacity: 1; } }

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  mix-blend-mode: screen;
  will-change: transform;
}
.aurora--1 {
  width: 44vw; height: 44vw; top: -12vw; left: -8vw;
  background: radial-gradient(circle at 30% 30%, var(--olive), transparent 65%);
  animation: drift-1 24s ease-in-out infinite;
}
.aurora--2 {
  width: 50vw; height: 50vw; top: 6vh; right: -16vw;
  background: radial-gradient(circle at 60% 40%, var(--sand), transparent 65%);
  animation: drift-2 28s ease-in-out infinite;
}
.aurora--3 {
  width: 40vw; height: 40vw; bottom: -16vw; left: 30vw;
  background: radial-gradient(circle at 50% 50%, var(--olive-dark), transparent 60%);
  animation: drift-3 32s ease-in-out infinite;
}
@keyframes drift-1 { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(7vw,6vh) scale(1.12);} }
@keyframes drift-2 { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(-6vw,7vh) scale(1.08);} }
@keyframes drift-3 { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(5vw,-6vh) scale(1.15);} }

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(800px 600px at 50% 38%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(800px 600px at 50% 38%, #000 25%, transparent 78%);
  opacity: 0.45;
}

.grain {
  position: absolute;
  inset: -150%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.03;
  animation: grain 8s steps(6) infinite;
  pointer-events: none;
}
@keyframes grain {
  0%,100% { transform: translate(0,0);} 20% { transform: translate(-5%,4%);}
  40% { transform: translate(3%,-6%);} 60% { transform: translate(-4%,2%);} 80% { transform: translate(5%,5%);}
}

/* --- Kopfzeile ------------------------------------------------------------ */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 18px;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 11px;
  background: var(--grad);
  color: #14180b;
  box-shadow: 0 8px 22px rgba(107, 142, 35, 0.35);
}
.brand__mark svg {
  width: 21px; height: 21px;
  transform-origin: center;
  animation: steer 5s ease-in-out infinite;
}
@keyframes steer {
  0%, 100% { transform: rotate(-13deg); }
  50%      { transform: rotate(13deg); }
}

/* --- Bühne (zentriert, füllt den Rest) ------------------------------------ */
.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(14px, 2.6vh, 26px);
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  min-height: 0;
}

.stage h1 {
  font-size: clamp(2.3rem, 6.4vw, 4.7rem);
  font-weight: 800;
}
.grad {
  background: var(--grad);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 6s linear infinite, glow 4.5s ease-in-out infinite;
}
@keyframes sheen { to { background-position: 220% center; } }
@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(155, 176, 74, 0)); }
  50%      { filter: drop-shadow(0 4px 22px rgba(155, 176, 74, 0.45)); }
}

.lead {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 2vw, 1.18rem);
}

/* Feature-Reihe */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
  margin-top: clamp(4px, 1.5vh, 14px);
}
.feature {
  padding: clamp(14px, 2vh, 22px) 16px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(360px 130px at 50% -20%, rgba(107,142,35,0.22), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature:hover {
  transform: translateY(-5px);
  border-color: rgba(155,176,74,0.4);
  background: var(--glass-strong);
}
.feature:hover::before { opacity: 1; }
.feature__icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(107,142,35,0.22), rgba(188,184,138,0.14));
  border: 1px solid var(--line);
  color: var(--olive-bright);
  margin-bottom: 12px;
  animation: float 4.5s ease-in-out infinite;
}
.feature:nth-child(2) .feature__icon { animation-delay: 0.5s; }
.feature:nth-child(3) .feature__icon { animation-delay: 1s; }
.feature:nth-child(4) .feature__icon { animation-delay: 1.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
.feature:hover .feature__icon {
  color: var(--sand);
  box-shadow: 0 8px 20px rgba(107, 142, 35, 0.3);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.04rem; margin-bottom: 5px; }
.feature p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.45; }

/* Store-Badges (coming soon, nicht klickbar) */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.store {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 13px;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  font-weight: 600;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
/* durchlaufender Licht-Schimmer */
.store::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(245, 245, 238, 0.14), transparent);
  transform: skewX(-18deg);
  animation: shimmer 4.5s ease-in-out infinite;
}
.store:nth-child(2)::after { animation-delay: 2.25s; }
@keyframes shimmer {
  0%   { left: -60%; }
  55%  { left: 120%; }
  100% { left: 120%; }
}
.store:hover { transform: translateY(-2px); border-color: rgba(155,176,74,0.4); }
.store svg { width: 22px; height: 22px; }
.store span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; font-size: 15px; }
.store span small { font-size: 10px; font-weight: 500; color: var(--muted); }

/* --- Fußzeile ------------------------------------------------------------- */
.footer {
  flex: none;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.heart { color: #c66b4f; }

/* --- Lade-Animation (gestaffelt, da kein Scroll) -------------------------- */
.animate {
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--d, 0s);
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* --- Responsiv ------------------------------------------------------------ */
@media (max-width: 720px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature p { display: none; }            /* kompakt halten, damit alles passt */
  .feature__icon { margin-bottom: 8px; }
}
@media (max-width: 420px) {
  .brand__name { display: none; }
}

/* --- Reduzierte Bewegung -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .animate { opacity: 1; transform: none; }
}
