/* boonvid — Creator Program page (creators.html). Page-only components; everything else comes from site.css.
   Colours are the site tokens only (--ink, --muted, --hair, --card, --paper, --baby-*, --accent…), so Auto / Light / Dark
   follow the existing theme switch with no rules of its own. Motion runs only under html.motion (set by app.js when the
   visitor has not asked for reduced motion); without it every element is drawn in its final state. */

/* ---------- shared bits ---------- */
.cp-body { color: var(--muted); max-width: 52ch; }
.cp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cp-checks li { position: relative; padding-left: 26px; color: var(--ink); }
.cp-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.cp-meter { position: relative; display: block; height: 6px; border-radius: 999px; background: var(--baby-2); overflow: hidden; }
.cp-meter > i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--baby-deep), var(--accent)); transform-origin: left; }
.cp-logo { height: 13px; width: auto; }
:root[data-theme="dark"] .cp-logo { filter: invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cp-logo { filter: invert(1); } }

/* ---------- hero ---------- */
.cp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: clamp(40px, 6vw, 96px); align-items: center;
  padding: clamp(64px, 9vw, 128px) 0 clamp(24px, 4vw, 56px); }
.cp-hero-copy { display: grid; gap: 22px; justify-items: start; }
.cp-hero-copy .eyebrow { margin-bottom: 0; }
.cp-hero h1 { font-size: clamp(46px, 5.2vw, 80px); }
.cp-hero .lead { max-width: 40ch; }
.cp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }

/* same pattern as .trial-art: .tilt on the wrapper receives --rx/--ry from app.js, the figure inside rotates.
   (.reveal also lives on the wrapper; its transform must not overwrite the rotation.) */
.cp-vis-wrap { perspective: 1400px; min-width: 0; }
.cp-vis { position: relative; margin: 0; padding: 0 0 64px 0; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.cp-win { border: 1px solid var(--hair); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-lg); overflow: hidden; }
.cp-win-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--hair); font-size: 13px; }
.cp-win-title { flex: 1; min-width: 0; font-weight: 600; padding-left: 12px; border-left: 1px solid var(--hair); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-state { position: relative; display: inline-grid; font-size: 12px; font-weight: 600; }
.cp-state i { grid-area: 1 / 1; font-style: normal; padding: 5px 11px; border-radius: 999px; white-space: nowrap; transition: opacity .45s var(--ease); }
.cp-state .s-build { background: var(--paper); color: var(--muted); opacity: 0; }
.cp-state .s-ready { background: var(--baby-2); color: var(--accent-ink); }
.cp-stage { position: relative; aspect-ratio: 16 / 9; background: #0b1218; }
.cp-stage img { width: 100%; height: 100%; object-fit: cover; }
.cp-tc { position: absolute; right: 12px; top: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,.5); color: #fff; font-size: 11px; font-variant-numeric: tabular-nums; }
.cp-build { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.14); }
.cp-build i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(1); }

.cp-chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--hair); border-radius: 16px;
  background: var(--card); box-shadow: var(--shadow-lg); font-size: 13px; line-height: 1.3; }
.cp-chip b { display: block; font-weight: 600; font-size: 14px; }
.cp-chip small { display: block; color: var(--muted); font-size: 12px; }
.cp-pub { left: -28px; bottom: 96px; }
.cp-dot { width: 10px; height: 10px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 4px rgba(52,199,89,.16); flex: none; }
.cp-min { right: -18px; bottom: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 10px; min-width: 250px; }
/* app-icon tile, like the macOS notification in the homepage hero: the b glyph is dark, so it sits on white in both themes */
.cp-ico { width: 32px; height: 32px; border-radius: 9px; background: #fff url(assets/hero/b-256.png) center / 52% no-repeat; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.cp-min .cp-meter { grid-column: 1 / -1; }

/* hero sequence: the video finishes building, gets published, minutes are added. ~2.8 s, once. */
.motion .cp-vis:not(.play) .cp-build i { transform: scaleX(0); }
.motion .cp-vis:not(.play) .s-build { opacity: 1; } .motion .cp-vis:not(.play) .s-ready { opacity: 0; }
.motion .cp-vis:not(.play) .cp-chip { opacity: 0; transform: translateY(14px); }
.motion .cp-vis:not(.play) .cp-min .cp-meter > i { transform: scaleX(0); }
.motion .cp-vis .cp-chip { transition: opacity .7s var(--ease), transform .8s var(--ease); }
.motion .cp-vis.play .cp-build i { animation: cp-fill 1.25s var(--ease) both; }
.motion .cp-vis.play .s-build { animation: cp-out 1.4s steps(1, end) both; }
.motion .cp-vis.play .s-ready { animation: cp-in .45s var(--ease) 1.3s both; }
.motion .cp-vis.play .cp-pub { transition-delay: 1.75s; }
.motion .cp-vis.play .cp-min { transition-delay: 2.3s; }
.motion .cp-vis.play .cp-min .cp-meter > i { animation: cp-fill 1.2s var(--ease) 2.75s both; }
@keyframes cp-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes cp-out { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes cp-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- in short ---------- */
.cp-def { padding: clamp(56px, 7vw, 96px) 0 0; }
.cp-def-card { display: grid; gap: 16px; justify-items: start; padding: clamp(28px, 4.5vw, 56px); border-radius: var(--r); background: var(--paper); }
.cp-def-card .eyebrow { margin-bottom: 0; }
.cp-def-card h2 { max-width: 22ch; }
.cp-def-b { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; letter-spacing: -.01em; max-width: 58ch; }
.cp-def-note { color: var(--muted); max-width: 64ch; }
.cp-def-note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--baby-deep); text-underline-offset: 3px; }
.cp-def-note a:hover { color: var(--accent); }

/* ---------- how it works: four steps on a rail that fills with scroll ---------- */
.cp-how { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 120px); padding: var(--sec) 0 0; align-items: start; }
.cp-how-head { position: sticky; top: 140px; }
.cp-steps { --p: 1; position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(48px, 6vw, 88px); }
.cp-steps::before, .cp-steps::after { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px; }
.cp-steps::before { background: var(--hair); }
.cp-steps::after { background: var(--accent); transform-origin: top; transform: scaleY(var(--p)); }
.cp-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.cp-n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 1px solid var(--hair);
  font: 600 15px/1 var(--display); letter-spacing: -.01em; color: var(--muted); transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease); }
.cp-step.on .cp-n { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.cp-step > div { display: grid; gap: 10px; justify-items: start; padding-top: 12px; }
.cp-step h3 { font-size: clamp(26px, 2.6vw, 36px); }
.cp-step p { color: var(--muted); max-width: 42ch; font-size: 18px; }
.cp-tag { display: inline-flex; margin-top: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--hair); font-size: 13px; font-weight: 600; color: var(--muted); transition: all .5s var(--ease); }
.cp-step.on .cp-tag { border-color: var(--baby-deep); background: var(--baby-3); color: var(--accent-ink); }
.cp-step.on .cp-tag-min { background: var(--baby-2); }
.motion .cp-steps { --p: 0; }
.motion .cp-steps .cp-step:not(.on) .cp-n { background: var(--white); }

/* ---------- partnership ---------- */
.cp-part { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); padding: var(--sec) 0 0; align-items: center; }
.cp-part-copy { display: grid; gap: 20px; justify-items: start; }
.cp-part-copy .eyebrow { margin-bottom: 0; }
.cp-provide { margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--hair); display: grid; gap: 14px; width: 100%; }
.cp-provide h3 { font-size: 17px; font-family: var(--sans); letter-spacing: 0; font-weight: 600; }
.cp-provide .cp-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; font-size: 15px; }

.cp-tl-fig { margin: 0; display: grid; gap: 14px; }
.cp-tl { --p: .45; border: 1px solid var(--hair); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-lg); overflow: hidden; }
.cp-player { position: relative; aspect-ratio: 16 / 9; background: #0b1218; overflow: hidden; }
.cp-player > img, .cp-place-frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.cp-own-frame { object-fit: cover; }
.cp-place-frame { background: #0b1218; opacity: 0; transition: opacity .35s var(--ease); display: grid; grid-template-rows: auto 1fr; padding: 7% 9%; }
.cp-place-frame > img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 0 10px 10px; min-height: 0; }
.cp-mini-top { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #fff; color: #1d1d1f; border-radius: 10px 10px 0 0; font-size: 11px; font-weight: 600; }
.cp-mini-top .cp-logo { filter: none !important; height: 10px; }
.cp-player-tag { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; font-weight: 600; opacity: 0; transition: opacity .35s var(--ease); }
.cp-player-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--baby-deep); }
.cp-tl.in-place .cp-place-frame, .cp-tl.in-place .cp-player-tag { opacity: 1; }

.cp-track { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 12px; padding: 18px 18px 10px; }
.cp-track-lab { font-size: 12px; color: var(--muted); }
.cp-clips { position: relative; height: 26px; display: flex; gap: 3px; }
.cp-clips i:not(.cp-head) { flex: 0 0 calc(var(--w) - 2px); border-radius: 6px; }
.c-own { background: var(--hair); }
.c-bv { background: linear-gradient(180deg, var(--baby), var(--baby-deep)); border: 1px solid var(--baby-deep); transition: box-shadow .35s var(--ease); }
.cp-tl.in-place .c-bv { box-shadow: 0 0 0 4px var(--baby-2); }
.cp-head { position: absolute; top: -6px; bottom: -6px; left: calc(var(--p) * 100%); width: 2px; margin-left: -1px; background: var(--ink); border-radius: 2px; }
.cp-head::before { content: ""; position: absolute; top: -4px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.cp-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 4px 18px 16px 108px; font-size: 12px; color: var(--muted); }
.cp-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.cp-legend i { width: 14px; height: 10px; border-radius: 3px; }
.k-own { background: var(--hair); } .k-bv { background: var(--baby-deep); }
.cp-status { list-style: none; margin: 0; padding: 14px 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid var(--hair); background: var(--baby-3); counter-reset: st; }
.cp-status li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--faint); transition: color .5s var(--ease); }
.cp-status li::before { counter-increment: st; content: counter(st); display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--hair); font-size: 11px; transition: all .5s var(--ease); }
.cp-status li.on { color: var(--ink); }
.cp-status li.on::before { content: "✓"; background: var(--accent); border-color: var(--accent); color: var(--on-ink); }
.cp-status li:last-child.on { color: var(--accent-ink); }
.cp-tl-fig figcaption { padding-inline: 4px; color: var(--muted); }

/* ---------- rewards ---------- */
.cp-rew { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); padding: var(--sec) 0 0; align-items: center; }
.cp-rew-copy { display: grid; gap: 20px; justify-items: start; }
.cp-rew-copy .eyebrow { margin-bottom: 0; }
.cp-rew-card { border: 1px solid var(--hair); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; }
.cp-rew-card h3 { font-size: 15px; font-family: var(--sans); letter-spacing: 0; font-weight: 600; color: var(--muted); }
.cp-factors { list-style: none; margin: 0; padding: 0; display: grid; }
.cp-factors li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--hair); font-weight: 500; }
.cp-factors li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--baby-deep); flex: none; }
.cp-rew-total { display: grid; gap: 4px; padding-top: 6px; }
.cp-rew-plus { font-family: var(--display); font-size: clamp(28px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.03em; }
.cp-rew-sub { font-size: 13px; color: var(--muted); }
.cp-meter-lg { height: 8px; margin-top: 12px; }
.motion .cp-rew-card .cp-meter > i { transform: scaleX(0); transition: transform 1.4s var(--ease) .5s; }
.motion .cp-rew-card.in .cp-meter > i { transform: scaleX(1); }
.motion .cp-factors li::after { transform: scale(0); transition: transform .5s var(--ease); }
.motion .cp-rew-card.in .cp-factors li::after { transform: scale(1); }
.motion .cp-rew-card.in .cp-factors li:nth-child(2)::after { transition-delay: .08s; } .motion .cp-rew-card.in .cp-factors li:nth-child(3)::after { transition-delay: .16s; }
.motion .cp-rew-card.in .cp-factors li:nth-child(4)::after { transition-delay: .24s; } .motion .cp-rew-card.in .cp-factors li:nth-child(5)::after { transition-delay: .32s; }
.motion .cp-rew-card.in .cp-factors li:nth-child(6)::after { transition-delay: .40s; }

/* ---------- who ---------- */
.cp-who { padding: var(--sec) 0 0; display: grid; justify-items: center; gap: clamp(32px, 4vw, 48px); }
.cp-who-head { display: grid; justify-items: center; gap: 20px; }
.cp-who-head .eyebrow { margin-bottom: 0; }
.cp-who-head .lead { max-width: 52ch; }
.cp-niches { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 820px; }
.cp-niches li { padding: 11px 18px; border-radius: 999px; border: 1px solid var(--hair); background: var(--card); font-size: 15px; font-weight: 500; }
.cp-small { display: grid; justify-items: center; gap: 12px; text-align: center; padding: clamp(28px, 4vw, 44px) clamp(24px, 5vw, 64px); border-radius: var(--r);
  background: linear-gradient(180deg, var(--baby-3), transparent 140%); border: 1px solid var(--hair); max-width: 760px; width: 100%; }
.cp-small h3 { font-size: clamp(24px, 2.4vw, 32px); }
.cp-small p { color: var(--muted); max-width: 48ch; }

/* ---------- apply ---------- */
.cp-apply { padding: var(--sec) 0 0; scroll-margin-top: 40px; }
.cp-apply-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--hair); border-radius: calc(var(--r) + 6px); background: var(--card); box-shadow: var(--shadow); }
.cp-apply-main { display: grid; gap: 20px; justify-items: start; align-content: start; }
.cp-apply-main .eyebrow { margin-bottom: 0; }
.cp-apply-main .display { font-size: clamp(36px, 4.2vw, 60px); }
.cp-apply-main .lead { max-width: 40ch; }
.cp-apply-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
#cp-copy::after { content: none; }
.cp-mail-alt { font-size: 14px; color: var(--muted); }
.cp-mail-alt a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--baby-deep); text-underline-offset: 3px; }
.cp-safe { max-width: 50ch; line-height: 1.5; color: var(--muted); }
.cp-apply-list { padding: clamp(22px, 3vw, 32px); border-radius: var(--r); background: var(--baby-3); border: 1px solid var(--hair); display: grid; gap: 16px; align-content: start; }
.cp-apply-list h3 { font-size: 17px; font-family: var(--sans); letter-spacing: 0; font-weight: 600; }
.cp-checks-lg { gap: 12px; font-size: 15px; }
.cp-checks-lg li { padding-bottom: 12px; border-bottom: 1px solid var(--hair); }
.cp-checks-lg li:last-child { border-bottom: 0; padding-bottom: 0; }

/* ---------- after you apply + transparency ---------- */
.cp-next { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 96px); padding: var(--sec) 0 var(--sec); align-items: start; }
.cp-next-main { display: grid; gap: 18px; justify-items: start; }
.cp-next-main .eyebrow { margin-bottom: 0; }
.cp-next-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; width: 100%; counter-reset: nx; }
.cp-next-list li { counter-increment: nx; display: flex; gap: 14px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--hair); font-weight: 500; }
.cp-next-list li::before { content: counter(nx, decimal-leading-zero); font-size: 12px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.cp-disc { display: grid; gap: 12px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r); border: 1px solid var(--hair); }
.cp-disc h3 { font-size: 17px; font-family: var(--sans); letter-spacing: 0; font-weight: 600; }
.cp-disc p { color: var(--muted); font-size: 15px; }
.cp-disc .hint { color: var(--muted); }
.cp-disc .hint a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.cp-disc .hint a:hover { color: var(--accent); }

/* copy-template fallback when the clipboard is unavailable: the text in a selectable block */
.cp-pre { margin: 16px 0 0; white-space: pre-wrap; font: 14px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--paper); color: var(--ink);
  padding: 16px 18px; border-radius: var(--r-s); max-height: 50vh; overflow: auto; user-select: all; -webkit-user-select: all; }

/* ---------- FAQ + closing ---------- */
.cp-faq { padding-top: 0; }
.cp-end-b { color: var(--muted); margin-top: -14px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .cp-hero { grid-template-columns: 1fr; padding-top: clamp(48px, 8vw, 88px); }
  .cp-hero-copy { justify-items: center; text-align: center; }
  .cp-hero .lead { margin-inline: auto; }
  .cp-actions { justify-content: center; }
  .cp-vis-wrap { max-width: 640px; width: 100%; justify-self: center; }
  .cp-pub { left: -10px; }
  .cp-min { right: -10px; }
  .cp-how { grid-template-columns: 1fr; }
  .cp-how-head { position: static; }
  .cp-part, .cp-rew { grid-template-columns: 1fr; }
  .cp-tl-fig { max-width: 680px; }
  .cp-rew-card { max-width: 560px; }
  .cp-apply-card { grid-template-columns: 1fr; }
  .cp-next { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cp-hero h1 { font-size: clamp(42px, 12.5vw, 58px); }
  .cp-actions { flex-direction: column; gap: 18px; width: 100%; }
  .cp-actions .btn { width: 100%; }
  /* long labels (DE „Für das Creator-Programm bewerben", ~400 px) must wrap instead of widening the page (.btn is nowrap
     site-wide; on this page only, and only on phones, the two apply buttons may take a second line) */
  .cp-hero, .closing .wrap { grid-template-columns: minmax(0, 1fr); }
  .cp-hero-copy { min-width: 0; }
  .cp-actions .btn, .closing .btn { white-space: normal; text-align: center; max-width: 100%; }
  .cp-vis { padding-bottom: 118px; }
  .cp-pub { left: 8px; bottom: 118px; transform: translateY(50%); }
  .motion .cp-vis:not(.play) .cp-pub { transform: translateY(calc(50% + 14px)); }
  .cp-min { left: 8px; right: 8px; bottom: 8px; min-width: 0; }
  .cp-steps::before, .cp-steps::after { left: 21px; top: 22px; bottom: 22px; }
  .cp-step { grid-template-columns: 44px 1fr; gap: 18px; }
  .cp-n { width: 44px; height: 44px; font-size: 13px; }
  .cp-step > div { padding-top: 6px; }
  .cp-step p { font-size: 17px; }
  .cp-provide .cp-checks { grid-template-columns: 1fr; }
  .cp-track { grid-template-columns: 1fr; gap: 8px; padding: 16px 14px 8px; }
  .cp-legend { padding: 4px 14px 14px; }
  .cp-status { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
  .cp-niches li { font-size: 14px; padding: 9px 15px; }
  .cp-apply-card { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .cp-apply-actions { flex-direction: column; width: 100%; }
  .cp-apply-actions .btn { width: 100%; }
  .cp-next-list { grid-template-columns: 1fr; }
  .cp-end-b { margin-top: -10px; padding-inline: var(--gutter); }
}
