/* Landingpage get.easy-lappen.de – eigenständig, Farben und Schriften wie die Website */
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 500 800; font-display: swap; src: url('/fonts/bricolage-grotesque-latin.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 400 700; font-display: swap; src: url('/fonts/figtree-latin.woff2') format('woff2'); }

:root {
  --night: #1B230F;
  --olive: #3F5324;
  --ink: #1F2614;
  --sun: #F4C542;
  --sage: #E3EBCB;
  --cream: #F7F3E8;
  --paper: #FFFDF7;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Figtree', system-ui, sans-serif; background: var(--cream); color: var(--ink); line-height: 1.55; overflow-x: hidden; }
main { overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.top { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px var(--gutter); color: var(--paper); }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 20px; text-decoration: none; }
.logo img { border-radius: 11px; }
.top__link { font-size: 14px; font-weight: 700; text-decoration: none; padding: 9px 18px; border: 1.5px solid rgba(255, 253, 247, 0.35); border-radius: 999px; }
.top__link:hover { background: var(--paper); color: var(--ink); }

/* ---------------------------------------------------------------- Hero */
.hero {
  --mx: 0; --my: 0;
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 32px;
  padding: 108px var(--gutter) 120px;
  background: radial-gradient(120% 90% at 80% 20%, #4A6128 0%, var(--night) 62%);
  color: var(--paper);
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(rgba(255, 253, 247, 0.13) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(#000, transparent 80%); mask-image: linear-gradient(#000, transparent 80%);
}
.hero__glow {
  position: absolute; z-index: -1; width: 62vmax; height: 62vmax; right: -18vmax; top: -16vmax; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(244, 197, 66, 0.38), transparent);
  animation: breathe 7s ease-in-out infinite;
}
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 6.4vw, 104px); line-height: 0.94; letter-spacing: -0.045em; margin: 0 0 24px; }
h1 span { display: block; animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
h1 span:nth-child(2) { animation-delay: 0.12s; }
h1 span:nth-child(3) { animation-delay: 0.24s; }
.sun { color: var(--sun); }
.lead { max-width: 44ch; font-size: clamp(17px, 1.5vw, 21px); color: var(--sage); animation: rise 0.7s 0.34s both; }

/* Download-Knöpfe: je nach Gerät */
.dl { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.badge { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; min-width: 214px; padding: 14px 28px 14px 24px; border-radius: 20px; background: var(--sun); color: var(--ink); text-decoration: none; border: 2px solid var(--ink); box-shadow: 0 14px 34px -10px rgba(244, 197, 66, 0.55); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.badge:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -12px rgba(244, 197, 66, 0.7); }
.badge::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent); animation: shine 4.5s ease-in-out infinite; pointer-events: none; }
.badge svg { width: 30px; height: 30px; fill: currentColor; flex: none; }
.badge small { display: block; font-size: 12px; font-weight: 600; line-height: 1.2; }
.badge strong { display: block; font-family: var(--display); font-size: 25px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
[data-os='ios'] .badge--android, [data-os='android'] .badge--ios { display: none; }
[data-os='ios'] .dl .badge, [data-os='android'] .dl .badge { flex: 1 1 100%; max-width: 420px; justify-content: center; padding-block: 18px; }
.other { display: none; margin-top: 16px; font-size: 14px; color: var(--sage); }
.other a { font-weight: 700; }
[data-os='ios'] .other--ios, [data-os='android'] .other--android { display: block; }

.qr { display: none; align-items: center; gap: 18px; margin-top: 30px; padding: 14px 22px 14px 14px; max-width: 420px; border-radius: 22px; background: rgba(255, 253, 247, 0.09); border: 1px solid rgba(255, 253, 247, 0.2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.qr img { border-radius: 12px; flex: none; width: 118px; height: 118px; }
.qr p { font-size: 14px; color: var(--sage); }
.qr strong { display: block; font-family: var(--display); font-size: 19px; color: var(--paper); }
[data-os='desktop'] .qr { display: flex; }

/* Telefone */
.phone { width: min(280px, 100%); padding: 9px; border-radius: 46px; background: linear-gradient(150deg, #3A4229, #0C1006 55%); box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.55), inset 0 0 0 1.5px rgba(255, 255, 255, 0.16); }
.phone__screen { position: relative; overflow: hidden; border-radius: 38px; background: #F5F5EE; aspect-ratio: 1080 / 2340; }
.phone__screen img { width: 100%; height: auto; }
/* Statusleiste des Aufnahmegeräts abdecken, darin sitzt die Kamera-Insel */
.phone__screen::after { content: ''; position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: 5.3%; background: #F5F5EE; }
.phone__screen::before { content: ''; position: absolute; z-index: 2; top: 1.2%; left: 50%; width: 30%; height: 3.3%; transform: translateX(-50%); border-radius: 999px; background: #0C1006; }
.stage { position: relative; height: min(680px, 76vh); min-height: 500px; perspective: 1200px; }
.stage .phone { position: absolute; top: 50%; left: 50%; width: min(272px, 56%); }
.stage .phone--m { z-index: 2; transform: translate(-50%, -50%) rotateY(calc(var(--mx) * 18deg)) rotateX(calc(var(--my) * -12deg)); animation: float 6s ease-in-out infinite; }
.stage .phone--l { transform: translate(calc(-96% + var(--mx) * -34px), calc(-46% + var(--my) * -22px)) rotate(-11deg) scale(0.86); animation: float 7s -2s ease-in-out infinite; filter: brightness(0.86); }
.stage .phone--r { transform: translate(calc(-4% + var(--mx) * -34px), calc(-54% + var(--my) * -22px)) rotate(11deg) scale(0.86); animation: float 8s -4s ease-in-out infinite; filter: brightness(0.86); }
.chip { position: absolute; z-index: 3; padding: 11px 20px; border-radius: 16px; font-family: var(--display); font-weight: 800; font-size: 18px; border: 2px solid var(--ink); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.chip--a { left: 2%; top: 24%; background: var(--paper); animation: float 5s -1s ease-in-out infinite; }
.chip--b { right: 2%; bottom: 20%; background: var(--sun); animation: float 5.5s -3s ease-in-out infinite; }

/* Fahrbahnmarkierung */
.road { position: absolute; left: 0; right: 0; bottom: 38px; height: 8px; background: repeating-linear-gradient(90deg, var(--sun) 0 56px, transparent 56px 112px); animation: drive 1.4s linear infinite; opacity: 0.85; }

/* Laufband */
.ticker { position: relative; z-index: 3; overflow: hidden; margin: -18px -3vw 0; transform: rotate(-1.4deg); background: var(--sun); border-block: 2px solid var(--ink); padding: 14px 0; }
.ticker__run { display: flex; width: max-content; animation: run 36s linear infinite; }
.ticker span { display: flex; align-items: center; white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.6vw, 32px); }
.ticker span::after { content: '✦'; margin: 0 28px; font-size: 0.7em; }

/* ---------------------------------------------------------------- Inhalte */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; justify-items: center; gap: 48px; padding: clamp(72px, 9vw, 130px) var(--gutter); }
.feature--flip .feature__text { order: 2; }
.feature--sage { background: var(--sage); }
.feature__text { max-width: 480px; }
.num { display: inline-block; font-family: var(--display); font-weight: 800; padding: 4px 14px; border-radius: 999px; background: var(--olive); color: var(--sun); transform: rotate(-4deg); }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 70px); line-height: 0.98; letter-spacing: -0.035em; margin: 22px 0 20px; }
.feature p { font-size: 19px; }
.feature .phone { border: 0; }

.final { text-align: center; padding: clamp(88px, 11vw, 160px) var(--gutter); background: radial-gradient(90% 100% at 50% 0%, #4A6128, var(--night) 70%); color: var(--paper); }
.final__icon { margin: 0 auto; border-radius: 28px; box-shadow: 0 18px 50px -10px rgba(244, 197, 66, 0.5); }
.final h2 { font-size: clamp(52px, 9vw, 128px); line-height: 0.92; }
.final p { color: var(--sage); font-size: 19px; }
.final .dl { justify-content: center; }
[data-os='ios'] .final .badge, [data-os='android'] .final .badge { flex-grow: 0; flex-basis: 420px; }
.badge span { text-align: left; }

.foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom)); background: var(--night); color: var(--sage); font-size: 14px; border-top: 1px solid rgba(255, 253, 247, 0.12); }

.bar { display: none; position: fixed; z-index: 10; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 20px; background: var(--paper); border: 2px solid var(--ink); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.45); transform: translateY(160%); visibility: hidden; transition: transform 0.3s ease, visibility 0.3s; }
.bar img { border-radius: 11px; }
.bar span { flex: 1; font-size: 13px; line-height: 1.3; }
.bar strong { display: block; font-family: var(--display); font-size: 17px; }
.bar__btn { display: none; padding: 12px 24px; border-radius: 999px; background: var(--sun); border: 2px solid var(--ink); font-weight: 700; text-decoration: none; }
[data-os='ios'] .bar, [data-os='android'] .bar { display: flex; }
[data-os='ios'] .bar__btn--ios, [data-os='android'] .bar__btn--android { display: block; }
.bar.on { transform: none; visibility: visible; }

.js .reveal { opacity: 0; translate: 0 36px; transition: opacity 0.7s ease, translate 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.in { opacity: 1; translate: 0 0; }

@keyframes rise { from { opacity: 0; translate: 0 28px; } }
@keyframes float { 50% { translate: 0 -16px; } }
@keyframes breathe { 50% { scale: 1.14; opacity: 0.75; } }
@keyframes shine { 0%, 60% { left: -60%; } 90%, 100% { left: 130%; } }
@keyframes drive { to { background-position: -112px 0; } }
@keyframes run { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 96px; text-align: center; gap: 20px; }
  .lead { margin-inline: auto; }
  h1 { font-size: clamp(44px, 13.5vw, 82px); }
  .dl { justify-content: center; margin-top: 28px; }
  .qr { margin-inline: auto; text-align: left; }
  .stage { height: 520px; min-height: 0; }
  .stage .phone { width: min(222px, 56%); }
  .chip { font-size: 15px; padding: 8px 14px; }
  .chip--a { left: -6px; top: 14%; }
  .chip--b { right: -6px; bottom: 14%; }
  .feature { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 40px; }
  .feature--flip .feature__text { order: 0; }
  .feature p { font-size: 17px; }
}

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