/* landing.css — öffentliche Startseite (Mockup .impeccable/p6/landing2.html, Plan P6 Task 6).
   Tokens aus tokens.css, Bausteine b-* aus brand.css; alles Landing-eigene heisst lp-*.
   Farben nur über var(--…) / color-mix(); Literale nur #fff, rgba(0,0,0,…), rgba(255,255,255,…). */
.lp {
  --lp-gutter: clamp(16px, 4vw, 48px);
  --lp-col: 1180px;
  --lp-ease: cubic-bezier(.16, 1, .3, 1);
  --lp-radius-2xl: 28px;
}
html { scroll-behavior: smooth; }
body.lp {
  background-image: none; background-color: var(--background);
  font-size: 16px; line-height: 1.6; overflow-x: hidden;
  -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent;
}
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp ::selection { background: var(--text); color: var(--background); }
.lp :where(h1, h2, h3, p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }
.lp :where(ul, ol) { list-style: none; }
.lp :where(h1, h2, h3) { text-wrap: balance; }
.lp img { max-width: 100%; height: auto; display: block; }
.lp a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
:where(.lp) :focus-visible { outline: 2px solid transparent; outline-offset: 2px; box-shadow: 0 0 0 3px var(--focus-ring); border-radius: 6px; }
/* Sprunglink: ausserhalb des Bildes, bis er den Tastaturfokus hat */
.lp-skip { position: absolute; top: 12px; left: var(--lp-gutter); z-index: 40; transform: translateY(-200%); }
.lp-skip:focus { transform: none; }
.lp-wrap { width: 100%; max-width: calc(var(--lp-col) + 2 * var(--lp-gutter)); margin-inline: auto; padding-inline: var(--lp-gutter); }

/* Knöpfe: Bausteine b-btn, hier nur Grösse und Landing-Schatten */
.lp-cta { height: 52px; padding: 0 24px; font-size: 16px; line-height: 1; border-radius: var(--radius-md); gap: 9px;
  transition: background-color .2s ease, border-color .2s ease, transform .2s var(--lp-ease); }
.lp-cta:active { transform: scale(.98); }
.lp-cta.b-btn--primary { box-shadow: 0 10px 30px -10px rgba(255,255,255,.35); }
.lp-cta.b-btn--ghost { background: color-mix(in srgb, var(--background) 40%, transparent); }
.lp-cta--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.lp-cta--sm.b-btn--primary { box-shadow: none; }
.lp-cta:focus-visible { outline: 2px solid transparent; outline-offset: 2px; box-shadow: 0 0 0 3px var(--focus-ring); }

/* Kopfzeile */
.lp-top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--background) 72%, transparent);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--hairline); padding-top: env(safe-area-inset-top, 0px); }
.lp-top__bar { display: flex; align-items: center; gap: 28px; height: 64px; }
.lp-top .b-wordmark { font-size: 18px; font-weight: 700; flex-shrink: 0; }
/* -18px = gewünschte 10px minus Leisten-gap 28px; ersetzt die 12px/auto-Ränder von .b-beta--inline (eingefügt von _brand_head.html) */
.lp-top .b-beta { margin: 0 0 0 -18px; }
.lp-nav { display: flex; gap: 26px; margin-left: 8px; }
.lp-nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.lp-nav a:hover { color: var(--text); }
.lp-top__end { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.lp-signin { font-size: 14px; font-weight: 500; text-decoration: none; }
.lp-menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--hairline); color: var(--text); cursor: pointer; padding: 0; }
#lp-menu[hidden], .lp-menu-btn [hidden] { display: none; }
.lp-sheet-menu { padding-block: 4px 20px; }
.lp-sheet-menu a { display: flex; align-items: center; justify-content: space-between; min-height: 54px; font-size: 18px; font-weight: 500;
  text-decoration: none; border-bottom: 1px solid var(--hairline); }
.lp-sheet-menu a .b-icon { color: var(--faint); }

/* Hero */
.lp-hero { position: relative; isolation: isolate; padding-block: 64px 40px; overflow: clip; }
.lp-hero__light { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 60% at 72% 42%, color-mix(in srgb, var(--glow-teal) 30%, transparent), transparent 70%),
    radial-gradient(38% 50% at 88% 70%, color-mix(in srgb, var(--glow-blue) 26%, transparent), transparent 70%),
    radial-gradient(40% 50% at 8% 100%, color-mix(in srgb, var(--glow-blue) 12%, transparent), transparent 70%); }
.lp-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; min-height: 620px; }
.lp-hero h1 { font-size: clamp(48px, 7.4vw, 92px); line-height: .98; font-weight: 700; letter-spacing: -0.045em; }
.lp-hero__sub { margin-top: 28px; font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 30em; }
.lp-hero__sub strong { color: var(--text); font-weight: 500; }
.lp-hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.lp-hero__micro { margin-top: 14px; font-size: 14px; color: var(--faint); }
.lp-hero__grid > div:first-child { position: relative; z-index: 2; }
.lp-hero__device { position: relative; z-index: 1; margin-right: calc(-1 * var(--lp-gutter) - 6vw); margin-block: -40px -60px; }
.lp-hero__device img { width: 116%; max-width: none; height: auto; margin-left: -4%;
  -webkit-mask-image: radial-gradient(closest-side at 50% 50%, rgba(0,0,0,1) 72%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 50%, rgba(0,0,0,1) 72%, transparent 100%);
  animation: lp-float 7s ease-in-out infinite alternate; transform-origin: 50% 50%; }
@keyframes lp-float { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(0, -14px, 0) rotate(-.6deg); } }
.lp-facts { position: relative; margin-top: 8px; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--hairline); }
.lp-facts li { padding: 22px 24px 22px 0; display: grid; gap: 4px; }
.lp-facts li + li { padding-left: 24px; border-left: 1px solid var(--hairline); }
.lp-facts b { font: 500 22px/1.2 var(--font-mono); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lp-facts span { color: var(--muted); font-size: 14px; }
.lp-facts b.lp-t { font: 500 17px/1.35 var(--font-sans); letter-spacing: -0.01em; align-self: center; }
.lp-origin { margin-top: 18px; font-size: 14px; color: var(--faint); display: flex; align-items: center; gap: 10px; }
.lp-origin::before { content: ""; width: 24px; height: 1px; background: var(--hairline-strong); }

/* Abschnitte */
.lp-sec { position: relative; padding-block: 128px; scroll-margin-top: 64px; }
.lp-sec h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; font-weight: 700; letter-spacing: -0.04em; max-width: 14em; }
.lp-lead { margin-top: 22px; font-size: 18px; color: var(--muted); max-width: 36em; }

/* 20 → 3 */
.lp-minutes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: end; }
.lp-big { display: flex; align-items: baseline; gap: 28px; font-weight: 700; letter-spacing: -0.06em; line-height: .8; }
.lp-big__from { font-size: clamp(120px, 17vw, 240px); color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--text) 32%, transparent); }
.lp-big__arrow { display: flex; align-self: center; color: var(--faint); }
.lp-big__arrow .b-icon { width: clamp(40px, 6vw, 84px); height: auto; }
.lp-big__to { font-size: clamp(120px, 17vw, 240px); color: var(--text); text-shadow: 0 0 60px color-mix(in srgb, var(--glow-teal) 45%, transparent); }
.lp-big__unit { display: block; margin-top: 18px; font: 500 15px/1.3 var(--font-mono); letter-spacing: 0; color: var(--muted); }
.lp-compare { margin-top: 72px; display: grid; gap: 22px; }
.lp-row { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; }
.lp-row h3 { font-size: 16px; font-weight: 600; }
.lp-row h3 small { display: block; color: var(--faint); font-weight: 400; font-size: 13px; margin-top: 2px; }
.lp-bar { height: 44px; border-radius: 12px; background: var(--elevated); border: 1px solid var(--hairline); position: relative; overflow: hidden; }
.lp-bar i { position: absolute; inset: 0 auto 0 0; display: flex; align-items: center; padding-inline: 14px; font: 500 14px/1 var(--font-mono); font-style: normal; white-space: nowrap; }
.lp-bar--hand i { width: 100%; background: var(--surface-2); }
.lp-bar--sheet i { width: 15%; background: var(--cta-fill); color: var(--cta-label); box-shadow: 0 0 30px rgba(255,255,255,.25); }
.lp-bar--sheet span { position: absolute; left: calc(15% + 14px); top: 50%; transform: translateY(-50%); font: 500 14px/1 var(--font-mono); }
.lp-axis { margin-left: 200px; display: flex; justify-content: space-between; font: 12px/1 var(--font-mono); color: var(--faint); }

/* Vier Schritte, beim Scrollen erzählt */
.lp-how { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; margin-top: 64px; }
.lp-how__steps li { min-height: 46vh; display: grid; align-content: center; padding-block: 24px; }
.lp-js .lp-how__steps li { opacity: .38; transition: opacity .5s var(--lp-ease); }
.lp-js .lp-how__steps li.is-on { opacity: 1; }
.lp-how__n { font: 500 14px/1 var(--font-mono); color: var(--faint); display: flex; align-items: center; gap: 12px; }
.lp-how__n::after { content: ""; flex: 0 0 40px; height: 1px; background: var(--hairline-strong); }
.lp-how__steps h3 { margin-top: 16px; font-size: 32px; letter-spacing: -0.03em; font-weight: 700; }
.lp-how__steps p { margin-top: 12px; color: var(--muted); font-size: 17px; max-width: 26em; }
.lp-how__steps img { display: none; }
.lp-how__screen { position: sticky; top: 96px; align-self: start; height: min(76vh, 720px); perspective: 1600px; }
.lp-screen { position: relative; height: 100%; aspect-ratio: 820 / 1120; margin-left: auto; border-radius: var(--lp-radius-2xl); padding: 12px;
  background: linear-gradient(160deg, var(--light-bottom), var(--background) 70%); border: 1px solid var(--hairline-strong);
  transform: rotateY(-10deg) rotateX(4deg); transform-style: preserve-3d;
  box-shadow: 0 60px 100px -40px rgba(0,0,0,.8), -30px 30px 80px -40px color-mix(in srgb, var(--glow-teal) 50%, transparent); }
.lp-screen__in { position: relative; height: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--background); }
.lp-screen__in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.03); transition: opacity .6s var(--lp-ease), transform .9s var(--lp-ease); }
.lp-screen__in img.is-on { opacity: 1; transform: none; }

/* Merkmale: Papier-Ausschnitte aus dem echten Sheet */
.lp-plates { margin-top: 72px; display: grid; gap: 28px; }
.lp-plate { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.lp-plate:nth-child(even) { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.lp-plate:nth-child(even) .lp-plate__txt { order: 2; }
.lp-plate__txt h3 { font-size: 28px; line-height: 1.12; font-weight: 700; letter-spacing: -0.03em; display: grid; gap: 14px; }
.lp-plate__txt h3 .b-icon { color: var(--muted); }
.lp-plate__txt p { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 28em; }
.lp-paper { position: relative; background: #fff; border-radius: var(--radius-sm); padding: 14px; overflow: hidden;
  box-shadow: 0 2px 0 rgba(255,255,255,.6) inset, 0 40px 80px -30px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(-1deg); transition: transform .6s var(--lp-ease); }
.lp-plate:nth-child(even) .lp-paper { transform: rotate(.8deg); }
.lp-paper:hover { transform: rotate(0) scale(1.01); }
.lp-paper img { width: 100%; height: auto; image-rendering: auto; }
.lp-paper--raim { max-width: 300px; margin-inline: auto; }
.lp-more { margin-top: 96px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--hairline); }
.lp-more li { padding: 32px 32px 0 0; display: grid; gap: 10px; align-content: start; }
.lp-more li + li { padding-left: 32px; border-left: 1px solid var(--hairline); }
.lp-more .b-icon { color: var(--muted); }
.lp-more h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.lp-more p { color: var(--muted); font-size: 15.5px; }
.lp-small-things { margin-top: 48px; color: var(--muted); font-size: 15.5px; max-width: 52em; }
.lp-small-things strong { color: var(--text); font-weight: 500; }

/* Fragen */
.lp-qa { margin-top: 64px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--hairline); }
.lp-qa > div { padding: 32px 40px 32px 0; border-bottom: 1px solid var(--hairline); }
.lp-qa > div:nth-child(even) { padding-left: 40px; border-left: 1px solid var(--hairline); padding-right: 0; }
.lp-qa dt { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.lp-qa dd { margin-top: 10px; color: var(--muted); font-size: 16px; max-width: 34em; }
.lp-after-qa { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 520px); gap: 24px; }
.lp-soon { padding: 28px; border-radius: var(--radius-xl); background: var(--elevated); border: 1px solid var(--hairline); }
.lp-soon h3 { font-size: 17px; font-weight: 600; }
.lp-soon ul { margin-top: 14px; display: grid; gap: 10px; }
.lp-soon li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.lp-soon .b-icon { color: var(--faint); }

/* Schluss */
.lp-final__box { position: relative; isolation: isolate; overflow: hidden; border-radius: 36px; border: 1px solid var(--hairline); padding: 88px 72px;
  background:
    radial-gradient(60% 90% at 85% 10%, color-mix(in srgb, var(--glow-teal) 45%, transparent), transparent 70%),
    radial-gradient(60% 80% at 10% 100%, color-mix(in srgb, var(--glow-blue) 40%, transparent), transparent 70%),
    linear-gradient(180deg, var(--light-top), var(--light-bottom)); }
.lp-final__box h2 { font-size: clamp(36px, 5vw, 64px); }
.lp-final__box .lp-lead { color: color-mix(in srgb, var(--text) 78%, transparent); }
.lp-final__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.lp-final__code { margin-top: 20px; font-size: 15px; color: var(--muted); }
.lp-final__code a { color: var(--text); }
.lp-trust { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--hairline-strong); display: grid; gap: 6px; font-size: 13.5px; color: color-mix(in srgb, var(--text) 70%, transparent); }

/* Einblenden aus sichtbarem Ruhezustand */
.lp-rise { transition: transform 1s var(--lp-ease); }
.lp-js .lp-rise:not(.is-in) { transform: translateY(28px); }

@supports (animation-timeline: scroll()) {
  .lp-hero__device { animation: lp-tilt linear both; animation-timeline: scroll(root); animation-range: 0 700px; }
  @keyframes lp-tilt { to { transform: translate3d(-4%, 60px, 0) rotate(4deg) scale(.94); opacity: .55; } }
}

@media (max-width: 1000px) {
  .lp-nav { display: none; }
  .lp-js .lp-menu-btn { display: inline-flex; }
  .lp-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .lp-hero__device { margin: -30px calc(-1 * var(--lp-gutter)) -50px; }
  .lp-hero__device img { width: 128%; margin-left: -14%; }
  .lp-minutes { grid-template-columns: 1fr; gap: 40px; }
  .lp-how { grid-template-columns: 1fr; gap: 0; }
  .lp-how__screen { display: none; }
  .lp-how__steps li { min-height: 0; padding-block: 28px; }
  .lp-js .lp-how__steps li { opacity: 1; }
  .lp-how__steps img { display: block; margin-top: 22px; width: min(100%, 460px); border-radius: var(--radius-lg); border: 1px solid var(--hairline-strong); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
  .lp-plate, .lp-plate:nth-child(even) { grid-template-columns: 1fr; gap: 28px; }
  .lp-plate:nth-child(even) .lp-plate__txt { order: 0; }
  .lp-more { grid-template-columns: 1fr; }
  .lp-more li, .lp-more li + li { padding: 28px 0 0; border-left: 0; }
}
@media (min-width: 1001px) {
  #lp-menu { display: none; }
}
@media (max-width: 640px) {
  .lp-top__bar { gap: 12px; height: 60px; }
  .lp-top .b-beta, .lp-signin { display: none; }
  .lp-top__end { gap: 10px; }
  .lp-top__end .lp-cta { height: 44px; padding: 0 16px; }
  .lp-hero { padding-block: 36px 24px; }
  .lp-hero h1 { font-size: 50px; }
  .lp-hero__sub { font-size: 17px; margin-top: 20px; }
  .lp-hero__actions .lp-cta { width: 100%; }
  .lp-facts { grid-template-columns: 1fr; }
  .lp-facts li, .lp-facts li + li { padding: 16px 0; border-left: 0; }
  .lp-facts li + li { border-top: 1px solid var(--hairline); }
  .lp-sec { padding-block: 88px; }
  .lp-big { gap: 14px; }
  .lp-big__from, .lp-big__to { font-size: 128px; }
  .lp-compare { margin-top: 48px; }
  .lp-row { grid-template-columns: 1fr; gap: 10px; }
  .lp-axis { margin-left: 0; }
  .lp-how__steps h3 { font-size: 26px; }
  .lp-plate__txt h3 { font-size: 24px; }
  .lp-qa { grid-template-columns: 1fr; }
  .lp-qa > div, .lp-qa > div:nth-child(even) { padding: 26px 0; border-left: 0; }
  .lp-final__box { padding: 44px 22px; border-radius: 24px; }
  .lp-final__actions .lp-cta { width: 100%; }
}
@media (forced-colors: active) {
  .lp-bar i { forced-color-adjust: none; background: CanvasText; color: Canvas; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-hero__device, .lp-hero__device img { animation: none !important; }
  .lp-rise, .lp-screen__in img, .lp-js .lp-how__steps li, .lp-paper, .lp-cta { transition: none; }
  .lp-js .lp-rise:not(.is-in) { transform: none; }
}
