/* Made by adict Library (library/build.py, plan library/PLAN.md): hero over the funnel's hero wall, the hero sections as an
   anonymous grid with a before/after popup (~70 % of the screen, a drag slider), the concepts as case cards, the two ways on.
   Measures from the homepage (content 1072 px). Everything is .lb-*. */
.lb { --lb-vl: #c9a8ff; max-width: 1120px; margin: 0 auto; padding: 0 24px 120px; color: #fff; }
.lb a:not(.btn-cta) { color: inherit; text-decoration: none; }
.lb-h2 { font-weight: 500; font-size: 40px; line-height: 1.1; letter-spacing: -.026em; margin: 0; }
.lb-h2 span { display: block; color: rgba(255,255,255,.5); }
.lb-sec { margin-top: 120px; }
.lb-sec-h { display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: start; margin-bottom: 34px; }
.lb-sec-h p { margin: 6px 0 0; color: rgba(255,255,255,.55); font-size: 15px; line-height: 1.55; }
.lb-kind { font-size: 12px; color: var(--lb-vl); }

/* hero over the wall */
.lb-hero { position: relative; height: 760px; margin: 0 calc(50% - 50vw); overflow: hidden; }
.lb-wall { position: absolute; inset: 0; }
/* the hero's picture (Timo 2026-11-05 00:24): our heroes floating in depth like the e-book hero's cards (ressourcen.css
   .fh-space): far ones blurred and dim, near ones sharp, all drifting; behind the text too, the text sits on a soft dark field */
.lb-hero { perspective: 1000px; }
.lb-space { position: absolute; inset: -12%; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.lb-space img { position: absolute; width: var(--w); max-width: none; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; left: var(--x); top: var(--y); border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 50px rgba(0,0,0,.5); transform: translateZ(var(--z)) rotate(var(--r)); filter: blur(var(--b)) brightness(calc(var(--l) * .82)); animation: lbDrift var(--d) ease-in-out infinite alternate; }
@keyframes lbDrift { to { transform: translateZ(var(--z)) rotate(calc(var(--r) * -1)) translateY(-26px); } }
@media (prefers-reduced-motion: reduce) { .lb-space img { animation: none; } }
/* readability (Timo 00:35): a gradient blur behind the text, strongest at the text, fading out to the right */
.lb-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.lb-veil i { position: absolute; inset: 0; }
.lb-veil i:nth-child(1) { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); -webkit-mask-image: radial-gradient(ellipse 760px 560px at 22% 52%, #000 40%, transparent 100%); mask-image: radial-gradient(ellipse 760px 560px at 22% 52%, #000 40%, transparent 100%); }
.lb-veil i:nth-child(2) { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); -webkit-mask-image: radial-gradient(ellipse 620px 460px at 22% 52%, #000 35%, transparent 100%); mask-image: radial-gradient(ellipse 620px 460px at 22% 52%, #000 35%, transparent 100%); }
.lb-veil i:nth-child(3) { -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px); -webkit-mask-image: radial-gradient(ellipse 500px 380px at 21% 52%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 500px 380px at 21% 52%, #000 30%, transparent 100%); }
.lb-veil i:nth-child(4) { background: radial-gradient(ellipse 1050px 640px at 24% 50%, rgba(9,9,9,.95), rgba(9,9,9,.82) 45%, rgba(9,9,9,.4) 75%, transparent), linear-gradient(90deg, rgba(9,9,9,.75) 0%, rgba(9,9,9,.5) 45%, transparent 75%); }   /* darker + wider behind the text (Timo 2026-11-07 "readability") */
/* the storm: a few big cards right in front, above the text's edges, strongly blurred */
.lb-front { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.lb-front img { position: absolute; width: var(--w); max-width: none; aspect-ratio: 16 / 9; object-fit: cover; left: var(--x); top: var(--y); border-radius: 12px; transform: rotate(var(--r)); filter: blur(18px) brightness(.5); opacity: .42; animation: lbDriftF var(--d) ease-in-out infinite alternate; }
@keyframes lbDriftF { to { transform: rotate(calc(var(--r) * -1)) translate(14px, -30px); } }
.lb-hero-in { z-index: 4; } .lb-h1, .lb-lead { text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 2px 18px rgba(0,0,0,.75), 0 4px 48px rgba(0,0,0,.6); }
@media (prefers-reduced-motion: reduce) { .lb-front img { animation: none; } }
@media (max-width: 640px) { .lb-front img { width: calc(var(--w) * .55); } .lb-veil i:nth-child(-n+3) { -webkit-mask-image: none; mask-image: none; } }
.lb-hero-fade { position: absolute; inset: 0; pointer-events: none; z-index: 2; background: linear-gradient(rgba(9,9,9,.45), transparent 16%, transparent 80%, #090909); }
.lb-hero-in { position: absolute; z-index: 2; top: 170px; left: max(24px, calc(50% - 536px)); width: min(640px, calc(100% - 48px)); }
.lb-h1 { font-weight: 500; font-size: clamp(88px, 9.6vw, 148px); white-space: nowrap; width: max-content; line-height: .95; letter-spacing: -.045em;  /* way bigger (Timo 2026-11-11 12:38) */ margin: 22px 0 0; }
.lb-h1 span { display: block; color: rgba(255,255,255,.35); font-size: clamp(34px, 2.9vw, 44px); letter-spacing: -.025em; margin-top: 14px; line-height: 1.12; white-space: nowrap; }
.lb-h1 em { font-family: 'Very Vogue Display', Georgia, serif; font-style: italic; font-weight: 400; color: var(--lb-vl); letter-spacing: 0; }
.lb-lead { color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.55; margin: 24px 0 0; max-width: 520px; }
.lb-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* the grid */
.lb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.lb-chips button { font: inherit; font-size: 13px; color: rgba(255,255,255,.65); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.lb-chips button em { font-style: normal; color: rgba(255,255,255,.4); margin-left: 4px; }
.lb-chips button[aria-pressed="true"] { color: #111; background: #fff; border-color: #fff; } .lb-chips button[aria-pressed="true"] em { color: rgba(0,0,0,.5); }
.lb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lb-card { font: inherit; color: #fff; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; display: grid; gap: 10px; }
.lb-card[hidden] { display: none; }
.lb-shot { display: block; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); padding: 4px; background: rgba(255,255,255,.03); }
.lb-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-radius: 9px; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.lb-card:hover .lb-shot img, .lb-card:focus-visible .lb-shot img { transform: scale(1.03); }
.lb-card:focus-visible { outline: 2px solid var(--lb-vl); outline-offset: 4px; border-radius: 12px; }
.lb-cap { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; } .lb-cap b { font-weight: 500; } .lb-cap i { font-style: normal; font-size: 12px; color: rgba(255,255,255,.45); }

/* concepts */
.lb-cons { display: grid; gap: 28px; }
.lb-con { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; align-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 28px; background: rgba(255,255,255,.02); }
.lb-con:nth-child(even) { grid-template-columns: 1fr 1.25fr; } .lb-con:nth-child(even) .lb-con-pics { order: 2; }
.lb-con-pics { position: relative; aspect-ratio: 16 / 11; }
.lb-con-pics img { position: absolute; width: 74%; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 60px rgba(0,0,0,.55); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.lb-con-pics .p0 { left: 0; top: 0; z-index: 3; } .lb-con-pics .p1 { left: 13%; top: 16%; z-index: 2; opacity: .85; } .lb-con-pics .p2 { left: 26%; top: 32%; z-index: 1; opacity: .7; }
.lb-con-in { display: grid; gap: 14px; justify-items: start; }
.lb-con-in h3 { font-weight: 500; font-size: 32px; line-height: 1.1; letter-spacing: -.02em; margin: 0; }
.lb-con-in p { margin: 0; color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.55; }
.lb-con-in ul { margin: 4px 0 10px; padding: 0; list-style: none; display: grid; gap: 8px; }
.lb-con-in li { font-size: 14px; color: rgba(255,255,255,.8); padding-left: 18px; position: relative; } .lb-con-in li::before { content: ''; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--lb-vl); }

/* the two ways on */
.lb-way { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lb-way-card { display: grid; gap: 12px; align-content: start; border-radius: 20px; padding: 34px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); min-height: 250px; transition: border-color .2s; }
.lb-way-card:hover { border-color: rgba(255,255,255,.3); }
.lb-way-card.dark { background: rgba(152,80,243,.08); border-color: rgba(152,80,243,.35); }
.lb-way-card h3 { font-weight: 500; font-size: 30px; letter-spacing: -.02em; margin: 0; }
.lb-way-card p { margin: 0; color: rgba(255,255,255,.7); line-height: 1.55; max-width: 420px; }
.lb-go { margin-top: auto; font-size: 14px; color: #fff; }

/* the popup: ~70 % of the screen, before | after with a drag slider */
.lb-pop { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.lb-pop[hidden] { display: none; }
.lb-pop-bg { position: absolute; inset: 0; background: rgba(5,5,7,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lb-pop-box { position: relative; width: min(70vw, 1400px); display: grid; gap: 14px; animation: lbIn .35s cubic-bezier(.22,1,.36,1); }
@keyframes lbIn { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.lb-pop-top { display: flex; align-items: center; gap: 14px; color: #fff; font-size: 15px; } .lb-pop-top b { font-weight: 500; } .lb-pop-top span { color: rgba(255,255,255,.5); font-size: 13px; }
.lb-x { margin-left: auto; font: inherit; font-size: 22px; line-height: 1; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; }
.lb-cmp { position: relative; aspect-ratio: 16 / 9; max-height: 70vh; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); background: #111; user-select: none; touch-action: none; }
.lb-cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.lb-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0); }
.lb-before { }   /* unblurred (Timo 2026-11-05 00:02) */
.lb-handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: #fff; transform: translateX(-1px); cursor: ew-resize; }
.lb-handle i { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.lb-handle i::before { content: '‹ ›'; position: absolute; inset: 0; display: grid; place-items: center; color: #111; font-size: 18px; letter-spacing: 2px; }
.lb-handle:focus-visible i { outline: 2px solid var(--lb-vl); outline-offset: 3px; }
.lb-tag { position: absolute; top: 14px; font-size: 12px; padding: 6px 11px; border-radius: 999px; background: rgba(9,9,9,.72); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.lb-tag.l { left: 14px; } .lb-tag.r { right: 14px; }
.lb-none { display: none; position: absolute; left: 14px; bottom: 14px; margin: 0; font-size: 13px; padding: 8px 12px; border-radius: 10px; background: rgba(9,9,9,.72); color: rgba(255,255,255,.8); }
.lb-cmp.solo .lb-before-wrap, .lb-cmp.solo .lb-handle, .lb-cmp.solo .lb-tag.l { display: none; } .lb-cmp.nosite .lb-none { display: block; }   /* only where the company truly had no site */
.lb-pop-nav { display: flex; justify-content: center; gap: 10px; }
.lb-pop-nav button { font: inherit; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; font-size: 16px; }

@media (max-width: 980px) {
  .lb-sec-h { grid-template-columns: 1fr; gap: 14px; }
  .lb-grid { grid-template-columns: 1fr 1fr; }
  .lb-con, .lb-con:nth-child(even) { grid-template-columns: 1fr; } .lb-con:nth-child(even) .lb-con-pics { order: 0; }
  .lb-pop-box { width: 92vw; }
}
@media (max-width: 640px) {
  .lb { padding: 0 16px 80px; } .lb-sec { margin-top: 80px; }
  .lb-hero { height: 760px; } .lb-space img { width: calc(var(--w) * .6); } .lb-hero-in { top: 120px; } .lb-h1 { font-size: 64px; white-space: normal; width: auto; } .lb-h1 span { font-size: 24px; white-space: normal; }
  .lb-hero-fade { background: linear-gradient(rgba(9,9,9,.55), rgba(9,9,9,.85) 50%, #090909); }
  .lb-h2 { font-size: 30px; } .lb-grid { grid-template-columns: 1fr; } .lb-way { grid-template-columns: 1fr; }
  .lb-con { padding: 18px; } .lb-con-in h3 { font-size: 24px; }
  .lb-cmp { aspect-ratio: 9 / 12; }
}
@media (prefers-reduced-motion: reduce) { .lb-pop-box { animation: none; } .lb-shot img { transition: none; } }

/* the field fades into the page at the bottom instead of being cut off (Timo 2026-11-05 00:44): the card layers are masked,
   not the hero (that would fade the buttons too); .lb-space reaches 12 % past the hero, so its fade ends where the hero does */
.lb-hero { height: 860px; }
.lb-space { -webkit-mask-image: linear-gradient(#000 0%, #000 46%, transparent 80%); mask-image: linear-gradient(#000 0%, #000 46%, transparent 80%); }
.lb-front { -webkit-mask-image: linear-gradient(#000 0%, #000 50%, transparent 86%); mask-image: linear-gradient(#000 0%, #000 50%, transparent 86%); }
@media (max-width: 640px) { .lb-hero { height: 820px; } }
.lb-veil { -webkit-mask-image: linear-gradient(#000 0%, #000 74%, transparent 100%); mask-image: linear-gradient(#000 0%, #000 74%, transparent 100%); }   /* its blur ended at the hero's edge as a line */

/* Timo 2026-11-05 00:52 picked A in the calmer lab: the same field, but behind the text only a soft dark area (no blur layers),
   the bottom a plain fade; the blur layers are switched off, the card layers are no longer masked */
.lb-veil i:nth-child(-n+3) { display: none; }
.lb-veil { -webkit-mask-image: none; mask-image: none; }
.lb-veil i:nth-child(4) { background: radial-gradient(ellipse 1050px 640px at 24% 50%, rgba(9,9,9,.95), rgba(9,9,9,.82) 45%, rgba(9,9,9,.4) 75%, transparent), linear-gradient(90deg, rgba(9,9,9,.75) 0%, rgba(9,9,9,.5) 45%, transparent 75%); }   /* darker + wider behind the text (Timo 2026-11-07 "readability") */
.lb-space, .lb-front { -webkit-mask-image: none; mask-image: none; }
.lb-hero-fade { z-index: 3; background: linear-gradient(rgba(9,9,9,.45), transparent 16%, transparent 60%, #090909 100%); }
/* the fade sat under the front cards (same layer, they came later), so they were cut at the hero's edge (Timo 00:53) */
.lb-hero-fade { z-index: 5; background: linear-gradient(rgba(9,9,9,.45), transparent 16%, transparent 52%, rgba(9,9,9,.85) 82%, #090909 96%); }
.lb-hero-in { z-index: 6; }

/* Big screens (Timo 2026-11-12 14:32 "the pages dont use the space"): grows past 1440 like the homepage, see projekt.css. */
@media (min-width: 1441px) {
  .lb { max-width: calc(1120px * var(--z, 1)); }
  .lb > .lb-sec, .lb-hero-in > * { zoom: var(--z, 1); }
  .lb-hero { height: calc(860px * var(--z, 1)); }
  .lb-hero-in { top: calc(170px * var(--z, 1)); left: calc(50% - 536px * var(--z, 1)); width: calc(640px * var(--z, 1)); }
}

/* Hamza's review 2026-11-13 on the phone: "bissl fü black space" under the hero, and the before/after crops of desktop shots */
@media (max-width: 640px) {
  .lb-hero { height: 700px; }
  .lb > .lb-sec:first-of-type { margin-top: 32px; }
  /* the whole first screen, edge to edge, nothing cut away; turned sideways it fills the screen */
  .lb-pop-box { width: 100vw; }
  .lb-pop-top { padding: 0 16px; }
  .lb-cmp { aspect-ratio: 16 / 10; border-radius: 10px; }
  .lb-cmp img { object-fit: contain; background: #0b0b0e; }
  .lb-pop-box::after { content: "Tipp: Handy quer drehen für die volle Ansicht."; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.45); }
}
@media (max-width: 940px) and (orientation: landscape) and (max-height: 500px) {
  .lb-pop-box { width: min(100vw, calc((100dvh - 120px) * 1.6)); }
  .lb-cmp { aspect-ratio: 16 / 10; max-height: calc(100dvh - 120px); }
  .lb-cmp img { object-fit: contain; }
}
