/* lucoris landing page. Rules and their order as in the prototype (later rules override earlier ones). */

/* ---------- Hero: 200vh, content sticky; static phone ---------- */
.hero { position: relative; height: 200vh; background: #9db4f0; z-index: 0 }
.hero .stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden }
.sky { position: absolute; inset: -4% -2% 0; background: linear-gradient(180deg, rgba(62, 98, 210, .62) 0%, rgba(92, 130, 230, .38) 45%, rgba(255, 255, 255, 0) 100%), url(../a/soft.webp) center/cover no-repeat; will-change: transform }
/* Cloud layer: hidden in the prototype, still moved by the hero script. */
.cloudfront { display: none; position: absolute; left: -2%; right: -2%; bottom: -2%; height: 46%; background: url(../a/sky2.webp) center bottom/cover no-repeat; -webkit-mask-image: linear-gradient(transparent 0%, #000 55%); mask-image: linear-gradient(transparent 0%, #000 55%); z-index: 3; pointer-events: none; will-change: transform }
.hero .copy { position: relative; z-index: 4; text-align: center; color: #fff; padding-top: clamp(108px, 15vh, 160px) }
.hero h1 { font-size: clamp(46px, 7vw, 96px); line-height: 1; letter-spacing: -.04em; text-shadow: 0 2px 40px rgba(20, 40, 110, .18) }
.hero p { margin: 20px auto 0; max-width: 28em; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.4; opacity: .95 }
/* Availability line in place of store buttons (no store links yet). */
.hero .avail { margin-top: 30px; font-size: clamp(16px, 1.3vw, 18px); font-weight: 600; letter-spacing: -.01em }
/* Line breaks only between the two sentences. */
.nw { white-space: nowrap }
.hero .note { font-size: 12.5px; opacity: .82; margin-top: 14px }
.hl { display: block; will-change: transform }
/* Static phone (the first pose of the former 3D phone, same box, a bit higher so the screen shows). The
   wrapper covers the stage and fades the phone out towards the bottom edge, like the renders. */
.heroph { position: absolute; inset: 0; z-index: 2; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%) }
.heroph img { position: absolute; left: 50%; bottom: 0; height: min(102vh, 1020px); width: auto; aspect-ratio: 9/16; transform: translate(-50%, 36%); filter: drop-shadow(0 50px 60px rgba(20, 40, 110, .3)) }

/* ---------- Statement with word-by-word lighting ---------- */
.state { padding-block: clamp(120px, 14vw, 180px) clamp(90px, 11vw, 140px); text-align: center }
.stmt { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.14; font-weight: 600; letter-spacing: -.032em; max-width: 17em; margin: 0 auto }
.stmt .w { color: #d2d2d7; transition: color .25s }
.stmt .w.lit { color: var(--ink) }
.icons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 820px; margin: 64px auto 0 }
.icons figure { margin: 0 }
.icons img { width: 64px; height: 64px; filter: drop-shadow(0 12px 14px rgba(120, 90, 200, .18)); object-fit: contain; margin: 0 auto 16px; transition: transform .6s var(--ease) }
.icons figure:hover img { transform: translateY(-6px) scale(1.04) }
.icons figcaption { font-size: 17px; font-weight: 600 }
.icons figcaption small { display: block; font-weight: 400; color: var(--ink3); font-size: 15px; margin-top: 2px }

/* ---------- Frosted stack "Was dein Depot bewegen kann" ---------- */
.gstack { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); width: min(460px, 92%); padding: 10px; border-radius: 30px; background: rgba(255, 255, 255, .34); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 30px 60px -30px rgba(20, 30, 80, .35); display: grid; gap: 7px; text-align: left }
.gstack > small { font-size: 12.5px; font-weight: 600; color: #3b4472; padding: 2px 8px 0 }
.gr { display: flex; gap: 12px; align-items: center; padding: 9px 14px; border-radius: 18px; background: rgba(255, 255, 255, .9); box-shadow: 0 1px 2px rgba(0, 0, 0, .04) }
.gr img { width: 34px; height: 34px; object-fit: contain; flex: none }
.gr span { font-size: 13.5px; line-height: 1.35; color: #5b5f72 }
.gr b { display: block; font-size: 15px; color: var(--ink); letter-spacing: -.01em }

/* ---------- Rendered phones (.rph); --py is the scroll parallax set by js/index.js ---------- */
.rph { position: absolute; display: block; filter: drop-shadow(0 40px 46px rgba(20, 30, 80, .28)) drop-shadow(0 8px 12px rgba(20, 30, 80, .12)) }
.panel .rph { left: 50%; top: 5%; height: 108%; transform: translateX(-50%) translateY(var(--py, 0px)); will-change: transform }
/* Depot screen fades out downwards (hides the lower card on purpose; keep the mask). */
.rph.fade { -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 66%); mask-image: linear-gradient(180deg, #000 50%, transparent 66%) }
.tstage .rph { top: 9%; height: 112%; transform: translateY(var(--py, 0px)); will-change: transform }
.tstage .rb { left: 50%; margin-left: -330px }
/* Scroll parallax as a scroll-driven animation where supported: it runs on the compositor in
   step with the scroll, also during native touch scrolling, where a JS update always lags one
   frame behind (visible as jitter on phones). Same curve as the JS fallback: linear over the
   stage's whole pass through the viewport, +amp/2 to -amp/2 (46px, trend overview 70px). The
   range is 26px late because ScrollTrigger measures the stages in their .rv start offset. */
@keyframes py-panel { from { transform: translateX(-50%) translateY(23px) } to { transform: translateX(-50%) translateY(-23px) } }
@keyframes py-stage { from { transform: translateY(23px) } to { transform: translateY(-23px) } }
@keyframes py-stage-rb { from { transform: translateY(35px) } to { transform: translateY(-35px) } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .panel, .tstage { view-timeline-name: --stage }
    .panel .rph { animation: py-panel linear both; animation-timeline: --stage; animation-range: cover 26px cover calc(100% + 26px) }
    .tstage .rph { animation: py-stage linear both; animation-timeline: --stage; animation-range: cover 26px cover calc(100% + 26px) }
    .tstage .rb { animation-name: py-stage-rb }
  }
}
.tstage .rf { left: 50%; margin-left: -20px }
.rfeed { display: block; width: min(470px, 100%); margin: auto auto 0; -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 74%); mask-image: linear-gradient(180deg, #000 50%, transparent 74%); margin-bottom: -140px }

/* ---------- Bento "Lernen, wie Märkte funktionieren" ---------- */
.more { padding-block: clamp(100px, 11vw, 150px); text-align: center }
.bento { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 20px; max-width: 1080px; margin: 56px auto 0; text-align: left }
.bt { background: #fff; border-radius: 28px; padding: 32px 32px 30px; box-shadow: 0 1px 2px rgba(0, 0, 0, .03); overflow: hidden; position: relative }
.bt .eyebrow { margin-bottom: 8px }
.bt h3 { margin: 0; font-size: clamp(22px, 2vw, 26px); line-height: 1.15; letter-spacing: -.025em; font-weight: 600; text-wrap: balance }
.bt p { color: var(--ink2); font-size: 16px; line-height: 1.5; margin: 10px 0 0; max-width: 30em }
.bt-news { grid-row: 1/3; display: flex; flex-direction: column; padding-bottom: 0 }
.bt-news .tx { margin-bottom: 34px }
.evs { margin-top: 22px; border-top: 1px solid #e8e8ed }
.ev { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid #e8e8ed }
.ev img { width: 38px; height: 38px; object-fit: contain; flex: none; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .12)) }
.ev span { flex: 1 }
.ev b { display: block; font-size: 16px }
.ev small { color: var(--ink3); font-size: 13.5px }
.ev em { font-style: normal; font-weight: 600; font-size: 15px; color: #d33a4e; font-variant-numeric: tabular-nums }
.qz { margin-top: 18px }
.qz .q { display: flex; gap: 12px; align-items: center; color: var(--ink); font-weight: 600; font-size: 16px; margin: 0 0 12px }
.qz .q img { width: 38px; height: 38px; object-fit: contain; flex: none }
.qz button { display: block; width: 100%; text-align: left; font: inherit; font-size: 15px; color: var(--ink); background: #f5f5f7; border: 1px solid transparent; border-radius: 14px; padding: 11px 14px; margin-top: 8px; cursor: pointer; transition: background .25s, border-color .25s, color .25s }
.qz button:hover { background: #edeef2 }
.qz button.ok { background: #e8f6ee; border-color: #9ed8b6; color: #14663e }
.qz button.no { background: #fcecee; border-color: #f2b3bd; color: #9b2335 }
.qz .ex { font-size: 14.5px; margin-top: 12px }

/* ---------- Trends ---------- */
.trends { padding-block: clamp(100px, 11vw, 150px) clamp(110px, 11vw, 160px); text-align: center }
.trends p.big { font-size: clamp(20px, 2vw, 25px); line-height: 1.4; letter-spacing: -.02em; color: var(--ink2); max-width: 30em; margin: 22px auto 0; font-weight: 500 }
.tstage { position: relative; max-width: 1080px; height: min(78vh, 660px); margin: 64px auto 0; border-radius: 36px; overflow: hidden; background: #e3eaf8 url(../a/soft.webp) center/cover no-repeat }
.tstage .t-chip { left: auto; right: 6%; bottom: 12%; transform: none; text-align: left }

/* ---------- Von der Meldung zur Wirkung ---------- */
.news { padding-block: clamp(100px, 11vw, 150px) clamp(120px, 12vw, 170px); text-align: center }
.news p.big { font-size: clamp(20px, 2vw, 25px); line-height: 1.4; letter-spacing: -.02em; color: var(--ink2); max-width: 30em; margin: 22px auto 0; font-weight: 500 }
.ncomp { position: relative; max-width: 1040px; height: 440px; margin: 76px auto 0; text-align: left }
.nc { position: absolute; background: #fff; border-radius: 26px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 34px 70px -38px rgba(30, 45, 110, .32) }
.nc small { display: block; font-size: 13px; color: var(--ink3) }
.nc b { display: block; letter-spacing: -.02em }
.n-main { left: 50%; width: 460px; margin-left: -230px; top: 0; padding: 26px 28px 28px; z-index: 2; font-size: 16px; line-height: 1.55; color: var(--ink2) }
.n-main .hd { display: flex; gap: 16px; align-items: center; padding-bottom: 20px; margin-bottom: 18px; border-bottom: 1px solid #e8e8ed }
.n-main .hd img { width: 46px; height: 46px; object-fit: contain; flex: none; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .12)) }
.n-main .hd b { font-size: 19px; line-height: 1.28; color: var(--ink); margin-top: 2px }
.n-main p { margin: 0 }
.n-main p + p { margin-top: 12px }
.n-main .lbl { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink3) }
.n-main .lbl img { width: 20px; height: 20px; border-radius: 6px }
.n-main .con b { display: inline; color: var(--ink) }
.n-side { width: 270px; padding: 22px 22px 24px; font-size: 15px; line-height: 1.5; color: var(--ink2) }
.n-side img { width: 40px; height: 40px; object-fit: contain; display: block; margin-bottom: 14px; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .12)) }
.n-side b { font-size: 17px; color: var(--ink); margin: 3px 0 6px }
.n-side i { font-style: normal; font-weight: 600 }
.n-up { left: 0; top: 110px }
.n-up i { color: #1e8e57 }
.n-dn { right: 0; top: 170px }
.n-dn i { color: #d33a4e }

/* ---------- Split sections (Szenarien, Depot) ---------- */
.split { padding-block: clamp(100px, 10vw, 140px) }
.split .grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 100px); align-items: center }
.split .grid.rev > .panel { order: 2 }
.panel { position: relative; border-radius: 32px; height: min(80vh, 640px); overflow: hidden; background: #e3eaf8 url(../a/soft.webp) center/cover no-repeat }
.panel.right-top { background-position: right top }
.chipf { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 20px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(22px) saturate(1.8); -webkit-backdrop-filter: blur(22px) saturate(1.8); box-shadow: 0 22px 44px -20px rgba(20, 28, 69, .35), inset 0 0 0 1px rgba(255, 255, 255, .7); white-space: nowrap }
.chipf img { width: 38px; height: 38px; object-fit: contain }
.chipf b { display: block; font-size: 15px }
.chipf small { display: block; font-size: 12.5px; color: #6e6e73 }

/* ---------- Warum es lucoris gibt ---------- */
.why { padding-block: clamp(100px, 11vw, 150px); text-align: center }
.why p.big { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; letter-spacing: -.02em; color: var(--ink); max-width: 30em; margin: 22px auto 0; font-weight: 500 }
.why .three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; max-width: 980px; margin: 72px auto 0; text-align: left }
.why .three div { border-top: 1px solid var(--line); padding-top: 28px }
.why .three img { width: 60px; height: 60px; object-fit: contain; margin: 0 0 18px; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .12)); transition: transform .6s var(--ease) }
.why .three div:hover img { transform: translateY(-5px) scale(1.04) }
.why .three b { display: block; font-size: 19px; margin-bottom: 6px; letter-spacing: -.02em }
.why .three span { color: var(--ink2); font-size: 15.5px }

/* ---------- Closing section on sky ---------- */
.cta { position: relative; padding-block: clamp(130px, 14vw, 200px) clamp(220px, 22vw, 320px); text-align: center; overflow: hidden; color: #fff; background: linear-gradient(180deg, rgba(62, 98, 210, .62) 0%, rgba(92, 130, 230, .38) 45%, rgba(255, 255, 255, 0) 100%), url(../a/soft.webp) center/cover no-repeat }
.cta h2 { font-size: clamp(42px, 6vw, 80px); line-height: 1; letter-spacing: -.04em; text-shadow: 0 2px 40px rgba(20, 40, 110, .18) }
/* Own layer: the 40px text shadow is rasterised once instead of every frame of the reveal. */
.cta h2 { will-change: transform }
.cta p { margin: 18px 0 0; font-size: 19px; opacity: .95 }

/* ---------- Tablet and phone ---------- */
@media (max-width:900px) {
  .split .grid { grid-template-columns: 1fr }
  .split .grid.rev > .panel { order: 0 }
  .why .three { grid-template-columns: 1fr; gap: 24px }
  .icons { grid-template-columns: 1fr; gap: 20px; max-width: 340px; margin-top: 48px }
  .icons figure { display: flex; align-items: center; gap: 16px; text-align: left }
  .icons img { width: 60px; height: 60px; margin: 0; flex: none }
  .hero { height: 150vh }
  .heroph img { height: min(92svh, 860px); transform: translate(-50%, 27%) }
  .bento { grid-template-columns: 1fr }
  .bt-news { grid-row: auto }
  .bt { padding: 26px 22px }
  .tstage { height: 520px }
  .tstage .rb { display: none }
  .tstage .rf { margin-left: 0; transform: translateX(-50%) translateY(var(--py, 0px)); height: 118% }
  .rfeed { margin-bottom: -90px }
  .tstage .t-chip { right: 50%; transform: translateX(50%); bottom: 6% }
  .ncomp { height: auto; display: grid; gap: 16px; margin-top: 48px }
  .nc { position: relative; left: auto; right: auto; top: auto; margin: 0; width: auto }
  .n-main { width: auto }
}
@media (prefers-reduced-motion:reduce) { .stmt .w { color: var(--ink) } }

/* ---------- Glass look on sky (overrides the plain variants above) ---------- */
.more { background: linear-gradient(180deg, rgba(245, 246, 250, .2), rgba(245, 246, 250, .55)), url(../a/soft.webp) center/cover no-repeat }
.bt { background: rgba(255, 255, 255, .52); backdrop-filter: blur(26px) saturate(1.5); -webkit-backdrop-filter: blur(26px) saturate(1.5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75), 0 30px 60px -36px rgba(30, 45, 120, .35) }
.bt p { color: #4a4f63 }
.evs { border-top-color: rgba(255, 255, 255, .8) }
.ev { border-bottom-color: rgba(255, 255, 255, .8) }
.qz button { background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 1px 2px rgba(20, 30, 80, .05) }
.qz button:hover { background: rgba(255, 255, 255, .85) }
.qz button.ok { background: rgba(52, 199, 120, .16); border-color: rgba(52, 170, 110, .45); color: #11623b }
.qz button.no { background: rgba(255, 80, 100, .12); border-color: rgba(220, 70, 90, .4); color: #9b2335 }

/* ---------- Hover lift (only devices with a mouse) ---------- */
.rph, .rfeed { transition: translate .7s cubic-bezier(.2, .9, .25, 1), scale .7s cubic-bezier(.2, .9, .25, 1), filter .7s ease }
@media (hover:hover) {
  .bt-news:hover .rfeed { translate: 0 -16px; scale: 1.02 }
  .panel:hover .rph, .tstage .rph:hover { translate: 0 -16px; scale: 1.02; filter: drop-shadow(0 60px 60px rgba(20, 30, 80, .32)) drop-shadow(0 12px 16px rgba(20, 30, 80, .14)) }
}

.news { background: linear-gradient(180deg, rgba(245, 246, 250, .15), rgba(245, 246, 250, .5)), url(../a/soft.webp) center/cover no-repeat }
.nc { background: rgba(255, 255, 255, .55); backdrop-filter: blur(26px) saturate(1.5); -webkit-backdrop-filter: blur(26px) saturate(1.5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .78), 0 34px 70px -40px rgba(30, 45, 120, .38) }
.n-main .hd { border-bottom-color: rgba(255, 255, 255, .85) }
.news p.big { color: #4a4f63 }
/* !important: GSAP writes inline translate/scale "none" on the cards it animates (reveal, parallax),
   which in the prototype silently disabled this lift. */
@media (hover:hover) { .nc:hover { translate: 0 -10px !important; scale: 1.02 !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 50px 80px -40px rgba(30, 45, 120, .42) } }
.nc { transition: translate .7s cubic-bezier(.2, .9, .25, 1), scale .7s cubic-bezier(.2, .9, .25, 1), box-shadow .7s ease }
/* Calmer but slightly tighter split spacing */
.split { padding-block: clamp(80px, 8vw, 115px) }
@media (max-width:480px) { .hero h1 { font-size: 10vw } .cta h2 { font-size: 10vw } }

/* Cards and trend phones come to the front on click. */
.nc, .tstage .rph { cursor: pointer }
.bt-news { position: relative }
.bsp { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: 12px; color: #8a8fa3; letter-spacing: .01em }

/* Depot section: a plain (non-sheet) section above the bento sheet. */
.split.plain { background: var(--bg); position: relative; z-index: 1 }
