/*
VOICE   warm, plakativ, Weihnachten ohne Kitsch – eine Experience, kein Shop
IDEA    Der Kreis: Fortschrittsring mit dem ce+co-Plus als Stern über der Schule
PICTURE Echtzeit-WebGL: School Hall im Abendlicht, offene Teile als Skizze
COLOUR  Nachthimmel, ce+co-Verlauf (Magenta→Gold), Momella-Coral für Aktionen
TYPE    Funnel Display Bold für Headlines und Zahlen, Inter für Text und UI
*/
:root {
  --night: #0F1530; --ink: #1D1D1B; --paper: #FBF5EC; --coral: #F56F5F; --coral2: #FF8266; --gold: #FBB03B; --chalk: #F6E9DA;
  --grad: linear-gradient(90deg, #9E005D 0%, #ED1C24 40%, #F15A24 60%, #FBB03B 100%);
  --glass: rgba(14, 18, 42, .58); --line: rgba(246, 233, 218, .2);
  --display: 'Funnel Display', 'Inter', system-ui, sans-serif; --text: 'Inter', system-ui, sans-serif;
  --plus: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='4 4 72 72'><path d='M47 33V6c0-.6-.4-1-1-1H34c-.6 0-1 .4-1 1v27H6c-.6 0-1 .4-1 1v12c0 .6.4 1 1 1h27v27c0 .6.4 1 1 1h12c.6 0 1-.4 1-1V47h27c.6 0 1-.4 1-1V34c0-.6-.4-1-1-1H47z'/></svg>");
  --turn: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 12a8 8 0 0 1 14-5.3M20 12a8 8 0 0 1-14 5.3' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/><path d='M19 2.5v4.6h-4.6M5 21.5v-4.6h4.6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  --arrow: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 12h14M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  color-scheme: dark;
}
* { box-sizing: border-box; min-width: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--night); color: var(--paper); font: 16px/1.55 var(--text); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: var(--gold); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
.step { font-family: var(--text); font-weight: 600; font-size: 13px; letter-spacing: .04em; color: rgba(251, 245, 236, .78); }
.gold { color: var(--gold); }
.arrow { display: inline-block; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat; transition: transform .25s; }


/* header: transparent over the hero, a solid, clearly separated bar once you scroll */
.top { position: fixed; z-index: 50; inset: 0 0 auto 0; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 clamp(16px, 4vw, 56px); transition: background .35s, box-shadow .35s, border-color .35s, height .35s; border-bottom: 1px solid transparent; }
.top.solid { height: 68px; background: #080B1F; border-bottom-color: rgba(246, 233, 218, .14); box-shadow: 0 12px 34px rgba(0, 0, 0, .55); }
.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--grad); opacity: 0; transition: opacity .35s; }
.top.solid::after { opacity: 1; }
.brand img { width: clamp(104px, 11vw, 160px); height: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: 15px; font-weight: 500; }
.nav a { color: var(--paper); text-decoration: none; opacity: .88; }
.nav a:hover { opacity: 1; }
.minibar, .topcta { display: none; }
.top.solid .minibar { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(251, 245, 236, .85); }
.minibar b { font-family: var(--display); font-size: 18px; color: var(--paper); }
.minitrack { width: 140px; height: 8px; border-radius: 99px; background: rgba(246, 233, 218, .18); overflow: hidden; }
.minitrack i { display: block; height: 100%; background: var(--grad); }
.top.solid .topcta { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 20px; border: 0; border-radius: 99px; background: var(--paper); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 16px; box-shadow: 0 0 24px rgba(251, 176, 59, .35); }
.topcta .arrow { width: 18px; height: 18px; }

/* hero */
.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; }
#stage, .fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
#stage { cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity 1.2s ease; } #stage.on { opacity: 1; } #stage.dragging { cursor: grabbing; }
.headline p b { font-weight: 700; color: var(--gold); white-space: nowrap; }
/* hint: the school can be turned */
.spinhint { position: absolute; transform: translate(-50%, 0); display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 99px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 14px; font-weight: 500; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .6s; }
.spinhint.on { opacity: 1; }
.spinhint i { width: 26px; height: 26px; border-radius: 50%; background: var(--paper); -webkit-mask: var(--turn) center/18px no-repeat; mask: var(--turn) center/18px no-repeat; animation: wiggle 2.4s ease-in-out infinite; }
@keyframes wiggle { 0%, 100% { transform: rotate(-20deg); } 50% { transform: rotate(20deg); } }
.fallback { object-fit: cover; }
.shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8, 10, 28, .55) 0%, transparent 13%), linear-gradient(90deg, rgba(8, 10, 28, .6) 0%, rgba(8, 10, 28, .25) 34%, transparent 52%), linear-gradient(0deg, rgba(8, 8, 22, .55) 0%, transparent 22%); }
.headline { position: absolute; left: clamp(16px, 4vw, 56px); top: clamp(96px, 16vh, 150px); width: min(620px, 92vw); transition: opacity 1.2s, transform 1.2s; }
.tag { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: clamp(13px, 1.2vw, 16px); letter-spacing: .02em; }
.tag img { height: clamp(32px, 3.6vw, 50px); width: auto; filter: invert(1) brightness(1.05); }
h1 { margin: 16px 0 0; font-size: clamp(56px, 8.4vw, 124px); line-height: .92; font-weight: 800; letter-spacing: -.035em; text-shadow: 0 4px 40px rgba(0, 0, 0, .35); }
.headline p { margin: 20px 0 0; max-width: 470px; font-size: clamp(15px, 1.3vw, 18px); font-weight: 400; line-height: 1.5; opacity: .92; }


/* didactic intro narration */
.caption { position: absolute; left: 50%; bottom: 160px; transform: translateX(-50%); width: min(680px, 90vw); text-align: center; font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.2; text-shadow: 0 2px 24px rgba(0, 0, 0, .6); opacity: 0; transition: opacity .6s; pointer-events: none; }
.caption.on { opacity: 1; }
.skip { position: absolute; right: clamp(16px, 4vw, 56px); bottom: 128px; height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--glass); font-size: 13px; font-weight: 500; transition: opacity .5s; }
body:not(.intro) .skip, body:not(.intro) .caption { opacity: 0; pointer-events: none; }
body.intro .headline { opacity: 0; transform: translateY(16px); }
body.intro .headline.on { opacity: 1; transform: none; }
body.focus .headline { opacity: 0 !important; transform: translateX(-24px); pointer-events: none; transition: opacity .6s, transform .6s; }

/* progress bar + docked CTA */
.bar { position: absolute; left: clamp(16px, 4vw, 56px); right: clamp(16px, 4vw, 56px); bottom: clamp(18px, 4vh, 36px); height: 64px; display: flex; transition: transform 1s cubic-bezier(.2, .8, .2, 1), opacity 1s; }
body.intro .bar:not(.on) { transform: translateY(160%); opacity: 0; }
.goal { position: absolute; left: 4px; bottom: calc(100% + 10px); display: flex; align-items: baseline; gap: 8px; font-size: 15px; font-weight: 500; color: rgba(251, 245, 236, .9); text-shadow: 0 2px 14px rgba(0, 0, 0, .5); white-space: nowrap; }
.goal b { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; color: var(--paper); }
.goal .until { opacity: .75; font-size: 14px; }
body.ended .gap, body.ended .topcta, body.ended #cta2 { display: none !important; }
.track { flex: 1; position: relative; display: flex; container-type: inline-size; border-radius: 99px 0 0 99px; overflow: hidden; background: rgba(251, 245, 236, .1); border: 1px solid var(--line); border-right: 0; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.fill { width: 0; min-width: 76px; background: var(--grad); display: flex; align-items: center; justify-content: flex-end; padding-right: 18px; color: #fff; white-space: nowrap; overflow: hidden; transition: width 2.6s cubic-bezier(.25, .8, .25, 1); }
.fill b { font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1; letter-spacing: -.02em; }
.sum { position: absolute; left: 26px; top: 50%; transform: translateY(-50%); font-size: 15px; font-weight: 600; color: #fff; white-space: nowrap; pointer-events: none; }
.gap { flex: 1; min-width: 118px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: rgba(251, 245, 236, .88); white-space: nowrap; background: linear-gradient(90deg, rgba(251, 176, 59, .22), rgba(251, 176, 59, .06)); }
.bar.done .gap { display: none; }
/* narrow track (tablets, small windows): the percentage at the end of the fill has priority */
@container (max-width: 380px) { .sum { display: none; } }
.cta { position: relative; overflow: hidden; width: 336px; border: 0; border-radius: 0 99px 99px 0; background: var(--paper); color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 9px 0 28px; box-shadow: 0 0 44px rgba(251, 176, 59, .4); transition: background .2s, box-shadow .2s, transform .2s; }
.cta-t { display: flex; flex-direction: column; align-items: flex-start; white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: -.015em; }
.cta-t small { font-family: var(--text); font-weight: 500; font-size: 12px; letter-spacing: 0; margin-top: 5px; opacity: .7; }
.go { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #9E005D 0%, #ED1C24 45%, #F15A24 70%, #FBB03B 100%); box-shadow: 0 4px 14px rgba(237, 28, 36, .45); }
.go .arrow { width: 24px; height: 24px; }
.cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .85) 50%, transparent 65%); transform: translateX(-110%); pointer-events: none; }
.cta:hover { background: #fff; } .cta:hover .arrow, .btn:hover .arrow, .topcta:hover .arrow { transform: translateX(4px); }
.cta.ready { animation: beckon 2.8s ease-in-out infinite; }
.cta.ready::after { animation: shine 5.6s ease-in-out 1.2s infinite; }
@keyframes beckon { 0%, 100% { box-shadow: 0 0 30px rgba(251, 176, 59, .35); } 50% { box-shadow: 0 0 0 6px rgba(251, 176, 59, .22), 0 0 64px rgba(251, 176, 59, .75); } }
@keyframes shine { 0%, 70% { transform: translateX(-110%); } 85%, 100% { transform: translateX(110%); } }

.cookie { position: absolute; left: clamp(16px, 4vw, 56px); bottom: 152px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 6px 6px 18px; border-radius: 30px; background: rgba(251, 245, 236, .96); color: var(--ink); font-size: 14px; max-width: calc(100vw - 32px); }
.cookie a { color: var(--ink); }
.cookie button { height: 44px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; }

/* panel: two clear steps */
.panel { position: fixed; z-index: 40; right: clamp(12px, 3vw, 56px); top: 92px; bottom: 24px; width: min(460px, calc(100vw - 24px)); border-radius: 26px; background: rgba(11, 15, 39, .78); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); transform: translateX(calc(100% + 80px)); transition: transform .6s cubic-bezier(.2, .8, .2, 1); overflow-y: auto; }
.panel.open { transform: none; }
.panel-in { min-height: 100%; padding: 26px 30px 24px; display: flex; flex-direction: column; gap: 12px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; }
.panel-head .step { color: var(--gold); }
.x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 24px; line-height: 1; }
.lede { font-size: 15px; opacity: .8; margin-top: 6px; }
.panel h2 { margin: 0; font-size: clamp(40px, 4.2vw, 56px); line-height: .95; letter-spacing: -.03em; }
.ptext { margin: 0; font-size: 15px; line-height: 1.5; opacity: .88; }
.partbar { padding: 12px 14px; border-radius: 14px; background: rgba(251, 245, 236, .06); }
.pb-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 8px; }
.pb-row b { font-family: var(--display); }
.mini { height: 8px; border-radius: 99px; display: flex; overflow: hidden; background: rgba(251, 245, 236, .14); }
.mini i { display: block; height: 100%; background: var(--grad); transition: width .3s; }
.mini i.mine { background: #FFE2A8; box-shadow: 0 0 16px var(--gold); }
.amounts { border: 0; margin: 4px 0 0; padding: 0; }
.amounts legend { font-family: var(--display); font-weight: 700; font-size: 20px; margin-bottom: 10px; }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.chip { height: 48px; border-radius: 14px; border: 1px solid var(--line); background: rgba(251, 245, 236, .06); font-family: var(--display); font-weight: 700; font-size: 18px; }
.chip.wide { grid-column: 1 / -1; font-family: var(--text); font-weight: 600; font-size: 14px; }
.chip[aria-pressed=true] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.custom { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; font-size: 14px; opacity: .9; }
.custom span { display: flex; align-items: center; gap: 6px; }
.custom input { width: 110px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgba(251, 245, 236, .08); color: var(--paper); padding: 0 12px; font: 600 16px var(--text); }
.preview { padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(251, 176, 59, .45); background: rgba(251, 176, 59, .1); font-size: 14px; line-height: 1.45; }
.preview b { color: var(--gold); }
.preview .imp { display: block; margin-bottom: 6px; padding-bottom: 6px; border-bottom: 1px solid rgba(251, 176, 59, .25); }
.src { margin: -4px 0 0; font-size: 11px; opacity: .55; }
/* private or company */
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(251, 245, 236, .07); border: 1px solid var(--line); }
.who button { height: 40px; border: 0; border-radius: 99px; background: transparent; color: var(--paper); font-weight: 600; font-size: 14px; transition: background .25s, color .25s; }
.who button[aria-checked=true] { background: var(--paper); color: var(--ink); }
.rec { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: rgba(251, 176, 59, .18); color: var(--gold); font-style: normal; font-size: 11px; font-weight: 600; vertical-align: 2px; }
.grow { flex: 1; min-height: 6px; }
.btn { display: flex; align-items: center; justify-content: center; gap: 12px; height: 58px; border-radius: 99px; border: 0; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.btn.coral { background: var(--coral); color: var(--ink); box-shadow: 0 0 40px rgba(245, 111, 95, .4); }
.btn.coral:hover { background: var(--coral2); }
.btn.ghost { background: transparent; border: 1.5px solid rgba(246, 233, 218, .6); }
.btn.wide { width: min(360px, 100%); margin-top: 28px; }
.btn:disabled { opacity: .5; cursor: default; }
.link { background: none; border: 0; color: var(--gold); padding: 10px 0; min-height: 44px; font-weight: 500; }
.nextrow { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.small { font-size: 13px; opacity: .7; }
.fine { font-size: 12px; opacity: .68; text-align: center; }
.pay { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pay legend { font-family: var(--display); font-weight: 700; font-size: 20px; margin-bottom: 10px; }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); cursor: pointer; }
.opt:has(input:checked) { border-color: var(--coral); box-shadow: 0 0 0 1px var(--coral); }
.opt input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--coral); }
.opt small { display: block; font-size: 13px; opacity: .75; }
.receipt { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rfields { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; background: rgba(251, 245, 236, .05); border: 1px solid var(--line); }
.rfields .two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 10px; }
.hint { margin: 0; font-size: 13px; line-height: 1.45; opacity: .75; }
.err { margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(245, 111, 95, .16); border: 1px solid rgba(245, 111, 95, .6); font-size: 14px; }
.field input[aria-invalid=true] { border-color: var(--coral) !important; box-shadow: 0 0 0 1px var(--coral); }
.link.center { align-self: center; }
/* step 3: PayPal is open */
.wait { width: 64px; height: 64px; margin: 6px 0 4px; border-radius: 50%; display: grid; place-items: center; background: rgba(251, 245, 236, .06); border: 1px solid var(--line); }
.wait i { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgba(251, 176, 59, .25); border-top-color: var(--gold); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* step 3: bank transfer with GiroCode */
.bankgrid { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: start; }
.qr { display: flex; flex-direction: column; gap: 8px; }
.qr #giro { width: 150px; height: 150px; border-radius: 12px; overflow: hidden; background: #fff; }
.qr #giro svg { display: block; width: 100%; height: 100%; }
.qr small { font-size: 11px; line-height: 1.35; opacity: .75; }
.bank { margin: 0; display: grid; gap: 10px; font-size: 14px; }
.bank div { display: grid; gap: 2px; }
.bank dt { font-size: 12px; opacity: .65; }
.bank dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; word-break: break-word; }
.bank dd b { font-family: var(--text); font-weight: 600; }
.copy { height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--gold); font-size: 12px; font-weight: 600; }
.copy:hover { border-color: var(--gold); }
.field { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.field.col { flex-direction: column; align-items: stretch; gap: 6px; }
.field input[type=text], .field input[type=email] { height: 48px; border-radius: 12px; border: 1px solid var(--line); background: rgba(251, 245, 236, .08); color: var(--paper); padding: 0 14px; font: 16px var(--text); }
.field input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--coral); }

/* thanks */
.thanks { position: fixed; z-index: 70; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(8, 8, 22, .35); }
.thanks-in { position: relative; width: min(1080px, 100%); max-height: calc(100svh - 40px); overflow-y: auto; padding: 32px clamp(20px, 3vw, 40px) 22px; border-radius: 28px; background: rgba(11, 15, 39, .9); border: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); text-align: center; animation: rise .8s cubic-bezier(.2, .8, .2, 1); }
.thanks-in h2 { margin: 8px 0; font-size: clamp(40px, 5vw, 60px); line-height: .95; letter-spacing: -.03em; }
.thanks-in > p { margin: 0 auto 22px; max-width: 640px; }
.tx { position: absolute; right: 18px; top: 18px; }
.t-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 32px); text-align: left; align-items: start; }
.cert-img { margin: 0; }
.cert-img img { display: block; width: 100%; aspect-ratio: 10 / 7; border-radius: 14px; background: #1A1838; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); transform: rotate(-1deg); }
.cert-img figcaption { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 14px; opacity: .85; }
.t-share { display: flex; flex-direction: column; gap: 12px; }
.t-share h3 { margin: 0; font-size: 28px; }
.t-share textarea { min-height: 150px; resize: vertical; border-radius: 12px; border: 1px solid var(--line); background: rgba(251, 245, 236, .08); color: var(--paper); padding: 12px 14px; font: 14px/1.5 var(--text); }
.btn.li { background: #0A66C2; color: #fff; box-shadow: 0 10px 30px rgba(10, 102, 194, .35); }
.btn.li:hover { background: #0B74DB; }
.btn.li i { width: 26px; height: 26px; border-radius: 6px; background: #fff; color: #0A66C2; font: 800 16px/26px var(--text); font-style: normal; text-align: center; }
.btn.li i::before { content: 'in'; }
.ctarow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; } .ctarow .btn.wide { margin-top: 0; }
.row { display: flex; gap: 12px; } .row .btn { flex: 1; }
@keyframes rise { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* story */
.story { background: linear-gradient(180deg, #120F2B, var(--night)); }
.band { padding: clamp(56px, 8vw, 112px) clamp(16px, 6vw, 96px); max-width: 1320px; margin: 0 auto; border-top: 1px solid var(--line); }
.band h2 { margin: 10px 0 0; font-size: clamp(38px, 5.4vw, 76px); line-height: .95; letter-spacing: -.035em; text-wrap: balance; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.lead { max-width: 720px; font-size: clamp(16px, 1.3vw, 19px); margin: 22px 0 0; opacity: .92; }
.sign { font-family: var(--display); font-weight: 700; font-size: 22px; margin-top: 18px; color: var(--gold); }
.photo { margin: 0; position: relative; border-radius: 22px; overflow: hidden; background: #1A1838; }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 5; }
.photo figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 99px; background: rgba(11, 15, 39, .72); font-size: 13px; }
.split .photo img { aspect-ratio: 4 / 3; }
#hall .photo { margin-top: 28px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.gallery .big { grid-column: 1 / -1; }
.gallery .tall img { aspect-ratio: 3 / 4; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.facts div { padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: rgba(43, 36, 86, .5); }
.facts .hi { background: var(--coral); color: var(--ink); border-color: transparent; }
.facts b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 3.8vw, 54px); line-height: 1; letter-spacing: -.03em; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.steps div { padding: 24px; border-radius: 18px; border: 1px solid var(--line); }
.steps b { font-family: var(--display); font-weight: 800; font-size: 40px; color: var(--gold); }
.steps h3 { margin: 6px 0; font-size: 22px; }
.steps p { margin: 0; opacity: .88; }
.credit { font-size: 12px; opacity: .6; margin-top: 28px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding: 48px clamp(16px, 6vw, 96px) 64px; background: #0A0B1C; }
.foot img { width: 160px; height: auto; margin: 12px 0; }
.foot p { max-width: 520px; font-size: 14px; opacity: .8; margin: 0; }
.foot nav { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 15px; }
.foot nav a, .foot nav .link { color: var(--paper); text-decoration: none; padding: 6px 0; }
.foot nav span { font-size: 13px; opacity: .6; }

/* film in the second viewport */
.film { border-top: 0; }
.film-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: end; }
.film-head .lead { margin: 0; }
.video { position: relative; margin: clamp(24px, 3vw, 40px) 0 0; border-radius: 26px; overflow: hidden; background: #0B0F27; box-shadow: 0 40px 90px rgba(0, 0, 0, .45); }
.video img, .video .player { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.play { position: absolute; left: 62.6%; top: 32.4%; transform: translate(-50%, -50%); display: flex; white-space: nowrap; flex-direction: column; align-items: center; gap: 12px; border: 0; background: none; color: var(--paper); font-weight: 600; font-size: 15px; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.play i { width: clamp(68px, 8vw, 104px); height: clamp(68px, 8vw, 104px); border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 10px rgba(251, 245, 236, .18), 0 10px 40px rgba(0, 0, 0, .45); position: relative; transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s; }
.play i::after { content: ''; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: 15px 0 15px 25px; border-color: transparent transparent transparent var(--ink); }
.play:hover i, .play:focus-visible i { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(251, 245, 236, .16), 0 10px 50px rgba(251, 176, 59, .55); }
.video-note { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; text-align: center; background: rgba(8, 10, 28, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.video-note b { font-family: var(--display); font-size: clamp(24px, 3vw, 40px); }
.video-note span { max-width: 460px; opacity: .85; }
/* gallery: the new school */
.gal { margin-top: 28px; outline: none; }
.gal-stage { position: relative; border-radius: 22px; overflow: hidden; background: #1A1838; touch-action: pan-y; user-select: none; }
.gal-track { display: flex; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.gal-slide { flex: 0 0 100%; margin: 0; position: relative; overflow: hidden; }
.gal-slide img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.gal-slide figcaption { position: absolute; left: 16px; bottom: 16px; right: 120px; padding: 8px 14px; border-radius: 14px; background: rgba(11, 15, 39, .74); font-size: 14px; width: fit-content; }
.gal-btn { position: absolute; top: 50%; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; border: 1px solid var(--line); background: rgba(11, 15, 39, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; transition: background .25s, transform .25s; }
.gal-btn::before { content: ''; width: 22px; height: 22px; background: var(--paper); -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat; }
.gal-btn.prev { left: 16px; } .gal-btn.prev::before { transform: scaleX(-1); } .gal-btn.next { right: 16px; }
.gal-btn:hover { background: var(--coral); }
.gal-count { position: absolute; right: 16px; bottom: 16px; padding: 6px 12px; border-radius: 99px; background: rgba(11, 15, 39, .74); font-size: 13px; font-weight: 600; }
.gal-thumbs { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.gal-thumb { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: #1A1838; opacity: .6; transition: opacity .3s, border-color .3s, transform .5s cubic-bezier(.2, .8, .2, 1); }
.gal-thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gal-thumb[aria-current=true] { opacity: 1; border-color: var(--gold); }
/* motion below the hero: soft zoom on hover (desktop), reveal on scroll (touch) */
@media (hover: hover) and (pointer: fine) {
  .story .photo img, .video > img, .gal-slide img { transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
  .story .photo:hover img, .video:hover > img, .gal-stage:hover .gal-slide img { transform: scale(1.045); }
  .facts > div, .steps > div, .gal-thumb, .video { transition: transform .7s cubic-bezier(.2, .7, .2, 1), box-shadow .7s, border-color .4s, opacity .3s; }
  .facts > div:hover, .steps > div:hover { transform: scale(1.03); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); border-color: rgba(251, 176, 59, .55); }
  .gal-thumb:hover { opacity: 1; transform: scale(1.05); }
}
@media (hover: none) {
  .rv { opacity: 0; transform: translateY(22px) scale(.96); transition: opacity .9s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
  .rv.in { opacity: 1; transform: none; }
  .rv img { transform: scale(1.14); transition: transform 1.8s cubic-bezier(.2, .7, .2, 1); }
  .rv.in img { transform: scale(1); }
  .facts > div:active, .steps > div:active, .gal-thumb:active, .play:active i { transform: scale(.97); transition: transform .15s; }
}

/* tablet / phone */
@media (max-width: 1100px) { .nav a { display: none; } .top.solid .minibar { display: none; } .sum { font-size: 13px; left: 20px; } .fill b { font-size: 26px; } .fill { padding-right: 14px; } }
@media (max-width: 900px) { .split, .film-head { grid-template-columns: minmax(0, 1fr); } }
@media (max-aspect-ratio: 19/20), (max-width: 700px) {
  .shade { background: linear-gradient(180deg, rgba(8, 10, 28, .72) 0%, rgba(8, 10, 28, .15) 40%, transparent 52%), linear-gradient(0deg, rgba(8, 8, 22, .7) 0%, transparent 28%); }
  .headline { top: 88px; }
}
@media (max-width: 700px) {
  .top { height: 64px; } .top.solid { height: 60px; }
  .top.solid .topcta { height: 40px; padding: 0 16px; font-size: 14px; }
  h1 { font-size: 54px; }
  .headline p { font-size: 15px; max-width: 320px; }
  .bar { flex-direction: column; height: auto; bottom: 30px; }
  .goal { left: 2px; bottom: calc(100% + 8px); gap: 6px; font-size: 13px; flex-wrap: wrap; } .goal b { font-size: 21px; } .goal .until { display: none; }
  .track { flex: none; height: 48px; border-radius: 18px 18px 0 0; border-right: 1px solid var(--line); border-bottom: 0; }
  .fill { min-width: 62px; padding-right: 12px; } .fill b { font-size: 23px; } .sum { left: 16px; font-size: 12px; }
  .gap { min-width: 0; font-size: 0; }
  .cta { width: 100%; height: 60px; border-radius: 0 0 18px 18px; padding: 0 7px 0 20px; }
  .cta-t { font-size: 21px; } .go { width: 46px; height: 46px; }
  .caption { bottom: 200px; font-size: 19px; }
  .skip { bottom: auto; top: 76px; right: 14px; height: 36px; }
  .cookie { bottom: 186px; font-size: 13px; }
  .panel { left: 0; right: 0; top: auto; bottom: 0; width: 100%; height: min(86svh, 700px); border-radius: 26px 26px 0 0; transform: translateY(105%); }
  .panel-in { padding: 18px 20px 22px; gap: 10px; }
  .panel h2 { font-size: 40px; }
  .ptext { font-size: 14px; }
  .chips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .chip { height: 44px; font-size: 17px; }
  .panel { height: auto; max-height: 76svh; } .panel-in { min-height: 0; }
  .amounts legend { font-size: 18px; margin-bottom: 8px; }
  .custom { margin-top: 6px; } .preview { font-size: 13px; padding: 10px 12px; } .grow { display: none; }
  .row { flex-direction: column; } .row .btn { flex: none; width: 100%; }
  .t-grid { grid-template-columns: minmax(0, 1fr); } .thanks-in { padding-top: 26px; } .t-share h3 { font-size: 24px; } .ctarow .btn.wide { width: 100%; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps { grid-template-columns: minmax(0, 1fr); }
  .gallery { gap: 8px; } .gallery .photo { border-radius: 14px; } .photo img { aspect-ratio: 16 / 7; } .split .photo img { aspect-ratio: 4 / 3; } .gallery .tall img { aspect-ratio: 3 / 4; }
  .foot nav { align-items: flex-start; }
  .bankgrid { grid-template-columns: minmax(0, 1fr); } .qr { flex-direction: row; align-items: center; } .qr #giro { width: 120px; height: 120px; flex: none; }
  .gal-slide img { aspect-ratio: 16 / 9; } .gal-btn { width: 44px; height: 44px; margin-top: -22px; top: calc(88vw * .28125); } .gal-slide figcaption { position: static; width: auto; margin: 0; padding: 12px 14px 14px; border-radius: 0; background: rgba(11, 15, 39, .9); font-size: 13px; } .gal-thumbs { gap: 6px; } .gal-count { right: 10px; bottom: auto; top: 10px; }
  .play { gap: 8px; } .play span { font-size: 12px; }
  .video { border-radius: 18px; } .play span { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* PayPal: hint while only Momella's ready-made button (with its own preset amounts) is available */
.pphint { margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; background: rgba(251, 176, 59, .14); border-left: 3px solid var(--gold); font-size: 14px; line-height: 1.45; }
.pphint b { white-space: nowrap; }
