/* BP Production – design 2026. Ingen eksterne skrifttyper eller scripts.

   TYPOGRAFI – ét system, defineret her og kun her
   -------------------------------------------------
   To skriftfamilier (begge SIL OFL, ligger i /fonts):
     Oswald  = overskrifter og titler (altid versaler, fed)
     Inter   = al anden tekst
   Syv størrelser (--fs-*), tre vægte (--fw-*), tre linjehøjder (--lh-*), to spatieringer (--ls-*).
   Hver tekst på sitet har én af disse roller; brug aldrig andre størrelser, vægte eller spatieringer:
     sidetitel (h1)        Oswald  --fs-3xl  fed       versaler
     sektionstitel (h2)    Oswald  --fs-2xl  fed       versaler
     titel (kort, bokse)   Oswald  --fs-xl   fed       versaler
     mellemrubrik          Inter   --fs-lg   halvfed
     indledning (lead)     Inter   --fs-lg   normal
     brødtekst             Inter   --fs-base normal
     lille tekst / meta    Inter   --fs-sm   normal
     menu                  Inter   --fs-sm   halvfed
     knap                  Inter   --fs-base halvfed
     etiket (label)        Inter   --fs-xs   halvfed   versaler, spatieret
   Versaler bruges kun i Oswald-rollerne og i etiketter.
*/
@font-face { font-family: "Inter"; src: url("/fonts/Inter-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("/fonts/Oswald-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --bg: #08080c;
  --bg-2: #101018;
  --panel: #14141d;
  --line: #262633;
  --text: #f3f1ee;
  --muted: #a7a5b3;
  --pink: #ff2e93;
  --link: #ff8cc4;
  --violet: #8b5cf6;
  --grad: linear-gradient(100deg, var(--pink), var(--violet));
  --radius: 18px;
  --wrap: 1180px;

  --font-text: "Inter", system-ui, sans-serif;
  --font-display: "Oswald", "Inter", system-ui, sans-serif;

  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.2rem, 1.02rem + .8vw, 1.5rem);
  --fs-2xl: clamp(1.6rem, 1.3rem + 1.4vw, 2.25rem);
  --fs-3xl: clamp(2.4rem, 1.5rem + 4.6vw, 4.5rem);

  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-display: 1.08;
  --lh-snug: 1.35;
  --lh-body: 1.65;

  --ls-display: .02em;
  --ls-label: .14em;

  /* Scenelysets samlede styrke (1 = fuld styrke). Skru ned eller op her; gælder alle sektioner. */
  --stage-intensity: .72;

  /* Lodret rytme: afstande er multipla af --space. */
  --space: .5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 130px; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: transparent; color: var(--text);
  font-family: var(--font-text); font-size: var(--fs-base); font-weight: var(--fw-regular); line-height: var(--lh-body); }
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
strong, b { font-weight: var(--fw-semibold); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.tel { white-space: nowrap; }

/* ---------- Typografiske roller ---------- */
h1, .t-page { font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: var(--fw-bold); line-height: var(--lh-display); letter-spacing: var(--ls-display); text-transform: uppercase; text-wrap: balance; }
h2, .t-section { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: var(--fw-bold); line-height: var(--lh-display); letter-spacing: var(--ls-display); text-transform: uppercase; text-wrap: balance; }
.t-title, .rte h2 { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: var(--fw-bold); line-height: var(--lh-display); letter-spacing: var(--ls-display); text-transform: uppercase; text-wrap: balance; }
h3, .t-sub, .rte h3, .rte h4 { font-family: var(--font-text); font-size: var(--fs-lg); font-weight: var(--fw-semibold); line-height: var(--lh-snug); letter-spacing: normal; text-transform: none; }
.t-lead { font-size: var(--fs-lg); font-weight: var(--fw-regular); line-height: var(--lh-snug); }
.t-small { font-size: var(--fs-sm); font-weight: var(--fw-regular); line-height: var(--lh-snug); }
.t-label { font-size: var(--fs-xs); font-weight: var(--fw-semibold); line-height: var(--lh-snug); letter-spacing: var(--ls-label); text-transform: uppercase; }
.t-nav { font-size: var(--fs-sm); font-weight: var(--fw-semibold); line-height: var(--lh-snug); }

/* Links: ét udseende i løbende tekst, ét for handlingslinks. */
.rte a, .link { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.rte a:hover, .link:hover { color: #fff; }
.cta-link { color: var(--pink); font-size: var(--fs-sm); font-weight: var(--fw-semibold); line-height: var(--lh-snug); text-decoration: none; white-space: nowrap; }
.cta-link::after { content: " →"; }

/* Knapper */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; white-space: nowrap;
  font-size: var(--fs-base); font-weight: var(--fw-semibold); line-height: var(--lh-snug); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 28px -10px var(--pink); }
.btn-primary:hover { box-shadow: 0 12px 34px -8px var(--pink); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: var(--text); background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: #fff; }
.btn-lg { padding: 15px 30px; }

/* ---------- Top ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8,8,12,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
/* Logo og menu står som én blok til venstre; ring op-knappen er centreret lodret i hele toppens højde. */
.header-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand cta" "nav cta"; align-items: center; column-gap: 20px; row-gap: 6px; padding-top: 12px; padding-bottom: 12px; }
.brand { grid-area: brand; justify-self: start; }
.main-nav { grid-area: nav; margin-left: -14px; }
.header-cta { grid-area: cta; align-self: center; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand-text { display: grid; gap: 2px; white-space: nowrap; }
.cta-short { display: none; }
.brand-text .t-label { color: var(--muted); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.main-nav a { display: block; padding: 7px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); white-space: nowrap; }
.main-nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.main-nav a[aria-current="page"] { color: #fff; background: color-mix(in srgb, var(--sec-a) 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sec-a) 55%, transparent); }

/* ---------- Forside-hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(72vh, 640px); display: grid; align-items: end; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(1.15) contrast(1.05);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(90% 70% at 85% 10%, rgba(139,92,246,.35), transparent 60%),
  linear-gradient(180deg, rgba(8,8,12,.35) 0%, rgba(8,8,12,.66) 55%, rgba(8,8,12,0) 100%); }
.hero-inner { width: 100%; padding-top: calc(var(--space) * 12); padding-bottom: calc(var(--space) * 8); }
.hero .t-label { color: var(--link); margin-bottom: calc(var(--space) * 2); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero h1 { max-width: 14ch; }
.hero .t-lead { max-width: 52ch; margin: calc(var(--space) * 3) 0 calc(var(--space) * 4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sektioner ---------- */
.section { padding-top: calc(var(--space) * 7); padding-bottom: var(--space); }
.section:last-of-type { padding-bottom: calc(var(--space) * 9); }
.section > h2 { margin-bottom: calc(var(--space) * 3); }
.section > h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--grad); margin-top: calc(var(--space) * 1.5); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }

/* Kategori-fliser */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tile { display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space); min-height: 140px; padding: 20px; border-radius: var(--radius); text-decoration: none; border: 1px solid var(--line);
  background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--sec-a) 42%, transparent), transparent 60%), var(--panel); transition: transform .18s ease, border-color .18s ease; }
.tile:hover { transform: translateY(-3px); border-color: var(--sec-a); }
.tile .t-title { overflow-wrap: anywhere; hyphens: auto; }
.tile .t-small { color: var(--muted); }

/* ---------- Kunstner-kort ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.card:hover, .card:target { transform: translateY(-3px); border-color: color-mix(in srgb, var(--sec-a) 60%, transparent); box-shadow: 0 18px 40px -22px var(--sec-a); }
.card > a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
/* Plakatfelt: kunstnerens navn i samme størrelse på alle kort; lange navne brydes over højst tre linjer. */
.poster { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 16 / 10; overflow: hidden; isolation: isolate; color: #fff; padding: 16px 18px;
  background:
    radial-gradient(85% 110% at 12% 0%, color-mix(in srgb, var(--sec-a) 72%, #17131f), transparent 62%),
    radial-gradient(90% 120% at 100% 100%, color-mix(in srgb, var(--sec-b) 58%, #17131f), transparent 60%),
    #17131f; }
.poster::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background: repeating-linear-gradient(115deg, rgba(255,255,255,.07) 0 1px, transparent 1px 14px); }
/* Samme mørke overlæg nederst på felter med og uden foto, så navnet altid står på mørk bund. */
.poster::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,12,0) 24%, rgba(8,8,12,.62) 58%, rgba(8,8,12,.92) 100%); }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.poster-photo { background: #17131f; }
.poster-photo::before { display: none; }
.poster-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; overflow-wrap: anywhere; hyphens: auto; text-shadow: 0 2px 16px rgba(0,0,0,.55); }
.poster-rule { display: block; width: 36px; height: 3px; border-radius: 3px; background: #fff; opacity: .9; margin-bottom: var(--space); }
.poster-wide { aspect-ratio: auto; min-height: 220px; padding: 28px 30px; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: calc(var(--space) * 4); }
.poster-wide .poster-name { -webkit-line-clamp: 4; line-clamp: 4; }
.card-body { display: flex; flex-direction: column; gap: var(--space); padding: 14px 18px 18px; flex: 1; }
.card-text { color: var(--muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.card-body .cta-link { margin-top: auto; padding-top: var(--space); }

/* ---------- Sidehoved på undersider ---------- */
.page-head { padding: calc(var(--space) * 6) 0 calc(var(--space) * 4.5); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(16,16,24,.35), rgba(16,16,24,.62)); }
.page-head .t-lead { color: var(--muted); margin-top: calc(var(--space) * 1.5); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); margin-bottom: calc(var(--space) * 2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }

/* ---------- Redaktørtekst (rich text) ----------
   Alt indhold fra Umbracos teksteditor vises i .rte, og kun med disse regler. */
.rte > * + * { margin-top: calc(var(--space) * 2.5); }
.rte > h2, .rte > h3, .rte > h4 { margin-top: calc(var(--space) * 5); }
.rte > h2 + *, .rte > h3 + *, .rte > h4 + * { margin-top: calc(var(--space) * 1.5); }
.rte > :first-child { margin-top: 0; }
.rte ul, .rte ol { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 6px 28px; }
.rte li { position: relative; padding-left: 20px; }
.rte li::before { content: ""; position: absolute; left: 0; top: .68em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.rte img { border-radius: 14px; border: 1px solid var(--line); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.intro { margin-bottom: calc(var(--space) * 3.5); }

/* ---------- Kunstnerside ---------- */
.artist-media { width: 100%; max-width: 640px; max-height: 520px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: calc(var(--space) * 4); }
.pager { display: flex; justify-content: space-between; gap: 14px; margin-top: calc(var(--space) * 5); padding-top: calc(var(--space) * 3); border-top: 1px solid var(--line); }
.pager a { display: grid; gap: 2px; text-decoration: none; max-width: 48%; }
.pager a .t-label { color: var(--muted); }
.pager a:hover { color: var(--link); }
.pager-next { margin-left: auto; text-align: right; }

/* ---------- Bookingboks ---------- */
.booking { position: sticky; top: 132px; background: linear-gradient(180deg, rgba(255,46,147,.14), rgba(139,92,246,.08) 60%), var(--panel); border: 1px solid rgba(255,46,147,.35); border-radius: var(--radius); padding: 26px; }
.booking .t-small { color: var(--muted); margin: var(--space) 0 calc(var(--space) * 2.5); }
.booking-actions { display: grid; gap: 10px; }
.booking-people { list-style: none; margin: calc(var(--space) * 3) 0 0; padding: calc(var(--space) * 2.5) 0 0; border-top: 1px solid var(--line); display: grid; gap: calc(var(--space) * 2); }
.booking-people li { display: grid; gap: 2px; }
.booking-people .t-label { color: var(--muted); }

/* ---------- Bund ---------- */
.site-footer { margin-top: calc(var(--space) * 5); border-top: 1px solid var(--line); background: var(--bg-2); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-top: calc(var(--space) * 5.5); padding-bottom: calc(var(--space) * 3.5); }
.footer-grid > div { display: grid; gap: var(--space); align-content: start; }
.site-footer .t-title, .site-footer .t-label { color: var(--text); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.footer-nav { list-style: none; margin: 0; padding: 0; columns: 2; }
.footer-nav li { margin-bottom: 4px; }
.copyright { display: flex; flex-wrap: wrap; gap: 6px 22px; border-top: 1px solid var(--line); padding-top: calc(var(--space) * 2); padding-bottom: calc(var(--space) * 4); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .booking { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  html { scroll-padding-top: 120px; }
}
@media (max-width: 560px) {
  .site-header { position: static; }
  /* Smal skærm: logo og knap på samme linje (knappen centreret i forhold til logoet), menuen nedenunder i fuld bredde. */
  .header-grid { grid-template-areas: "brand cta" "nav nav"; column-gap: 10px; }
  .main-nav { margin-left: -10px; }
  .main-nav ul { gap: 2px; }
  .main-nav a { padding: 6px 10px; }
  .header-cta { padding: 9px 16px; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .brand { gap: 10px; }
  .brand img { height: 40px; }
  .hero-inner { padding-top: calc(var(--space) * 9); padding-bottom: calc(var(--space) * 5.5); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .poster { aspect-ratio: 4 / 3; padding: 12px 14px; }
  .poster-wide { aspect-ratio: auto; min-height: 160px; padding: 20px; }
  .card-body { padding: 12px 14px 14px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { min-height: 110px; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .tile { transition: none; }
}

/* ------------------------------------------------------------------
   Scenelys: fast baggrundslag bag alt indhold.
   Fire bløde spots (.l1-.l4) og svage lyskegler (.beams). Hvert preset sætter
   position (x/y i % af skærmen), størrelse (s), farve (c) og styrke (o) pr. spot.
   --sec-a og --sec-b er sektionens to farver. De bruges både af lyset (spot 1 og 2), af navnefelterne
   på kunstnerkortene, af fliserne på forsiden og af det aktive menupunkt, så de altid hører sammen.
   Farve betyder kun én ting på sitet: hvilken sektion noget hører til. Alle kort i en sektion er ens.
   Nyt preset: kopiér en blok og ret selektoren til sektionens URL-navn,
   f.eks. [data-stage="bryllup"] for /bryllup/. Sektioner uden blok får standardfarverne.
   ------------------------------------------------------------------ */
body {
  --sec-a: #ff2e93; --sec-b: #8b5cf6;
  --l1x: 14; --l1y: 12; --l1s: 1.10; --l1c: var(--sec-a); --l1o: .34;
  --l2x: 86; --l2y: 6;  --l2s: 1.20; --l2c: var(--sec-b); --l2o: .36;
  --l3x: 72; --l3y: 92; --l3s: .95;  --l3c: #ff7a3d; --l3o: .20;
  --l4x: 18; --l4y: 96; --l4s: .85;  --l4c: #d946ef; --l4o: .22;
  --beam-rot: 0deg; --beam-o: .5;
}
[data-stage="musik"] {
  --sec-a: #ff2e93; --sec-b: #7c5cff;
  --l1x: 82; --l1y: 14; --l1s: 1.35; --l1c: var(--sec-a); --l1o: .38;
  --l2x: 8;  --l2y: 30; --l2s: 1.10; --l2c: var(--sec-b); --l2o: .34;
  --l3x: 52; --l3y: 98; --l3s: 1.05; --l3c: #d946ef; --l3o: .26;
  --l4x: 96; --l4y: 78; --l4s: .80;  --l4c: #5b6cff; --l4o: .22;
  --beam-rot: -7deg; --beam-o: .6;
}
[data-stage="stand-up"] {
  --sec-a: #ffb347; --sec-b: #ff3b5c;
  --l1x: 50; --l1y: 0;  --l1s: 1.45; --l1c: var(--sec-a); --l1o: .30;
  --l2x: 6;  --l2y: 62; --l2s: .85;  --l2c: var(--sec-b); --l2o: .24;
  --l3x: 94; --l3y: 72; --l3s: .95;  --l3c: #8b5cf6; --l3o: .26;
  --l4x: 40; --l4y: 104; --l4s: .75; --l4c: #ff7a3d; --l4o: .18;
  --beam-rot: 0deg; --beam-o: .75;
}
[data-stage="festorganisering"] {
  --sec-a: #ff7a3d; --sec-b: #ff2e93;
  --l1x: 14; --l1y: 16; --l1s: 1.20; --l1c: var(--sec-a); --l1o: .30;
  --l2x: 86; --l2y: 24; --l2s: 1.15; --l2c: var(--sec-b); --l2o: .32;
  --l3x: 62; --l3y: 96; --l3s: 1.00; --l3c: #ffb347; --l3o: .18;
  --l4x: 4;  --l4y: 90; --l4s: .90;  --l4c: #d946ef; --l4o: .24;
  --beam-rot: 6deg; --beam-o: .5;
}
[data-stage="deejays"] {
  --sec-a: #5b6cff; --sec-b: #d946ef;
  --l1x: 20; --l1y: 8;  --l1s: 1.25; --l1c: var(--sec-a); --l1o: .36;
  --l2x: 80; --l2y: 10; --l2s: 1.25; --l2c: var(--sec-b); --l2o: .36;
  --l3x: 50; --l3y: 98; --l3s: 1.10; --l3c: #ff2e93; --l3o: .26;
  --l4x: 97; --l4y: 58; --l4s: .80;  --l4c: #8b5cf6; --l4o: .24;
  --beam-rot: 10deg; --beam-o: .7;
}
[data-stage="gaestebartendere"] {
  --sec-a: #ff3b5c; --sec-b: #8b5cf6;
  --l1x: 86; --l1y: 10; --l1s: 1.25; --l1c: var(--sec-a); --l1o: .26;
  --l2x: 10; --l2y: 20; --l2s: 1.10; --l2c: var(--sec-b); --l2o: .34;
  --l3x: 30; --l3y: 98; --l3s: .95;  --l3c: #ff3b5c; --l3o: .20;
  --l4x: 82; --l4y: 90; --l4s: .90;  --l4c: #8b5cf6; --l4o: .26;
  --beam-rot: -10deg; --beam-o: .45;
}
[data-stage="realitystjerner"] {
  --sec-a: #d946ef; --sec-b: #ff7a3d;
  --l1x: 50; --l1y: 4;  --l1s: 1.30; --l1c: var(--sec-a); --l1o: .36;
  --l2x: 4;  --l2y: 70; --l2s: 1.00; --l2c: var(--sec-b); --l2o: .30;
  --l3x: 96; --l3y: 40; --l3s: 1.00; --l3c: #8b5cf6; --l3o: .30;
  --l4x: 60; --l4y: 104; --l4s: .80; --l4c: #ff7a3d; --l4o: .18;
  --beam-rot: 4deg; --beam-o: .6;
}
[data-stage="kontakt"] {
  --sec-a: #8b5cf6; --sec-b: #ff2e93;
  --l1x: 92; --l1y: 0;  --l1s: 1.30; --l1c: var(--sec-a); --l1o: .32;
  --l2x: 0;  --l2y: 100; --l2s: 1.10; --l2c: var(--sec-b); --l2o: .24;
  --l3x: 50; --l3y: 110; --l3s: .80; --l3c: #5b6cff; --l3o: .14;
  --l4x: 10; --l4y: 0;  --l4s: .70;  --l4c: #d946ef; --l4o: .12;
  --beam-rot: -3deg; --beam-o: .3;
}
[data-stage="hvem-er-vi"] {
  --sec-a: #8b5cf6; --sec-b: #ff7a3d;
  --l1x: 8;  --l1y: 2;  --l1s: 1.30; --l1c: var(--sec-a); --l1o: .32;
  --l2x: 92; --l2y: 100; --l2s: 1.15; --l2c: var(--sec-b); --l2o: .20;
  --l3x: 96; --l3y: 10; --l3s: .80;  --l3c: #ff2e93; --l3o: .18;
  --l4x: 0;  --l4y: 96; --l4s: .75;  --l4c: #d946ef; --l4o: .14;
  --beam-rot: 3deg; --beam-o: .35;
}

.stage { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; contain: strict; opacity: var(--stage-intensity); }
.stage .light { position: absolute; left: 0; top: 0; width: 78vmax; height: 78vmax; margin: -39vmax 0 0 -39vmax; will-change: transform, opacity;
  transition: transform 1.3s cubic-bezier(.22,.8,.24,1), opacity 1.3s ease; }
.stage .light::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background-color: var(--c);
  -webkit-mask-image: radial-gradient(closest-side, rgba(0,0,0,.95), rgba(0,0,0,.42) 42%, transparent 100%);
  mask-image: radial-gradient(closest-side, rgba(0,0,0,.95), rgba(0,0,0,.42) 42%, transparent 100%);
  transition: background-color 1.3s ease; animation: stage-drift 46s ease-in-out infinite alternate; }
.stage .l1 { --c: var(--l1c); opacity: var(--l1o); transform: translate3d(calc(var(--l1x) * 1vw), calc(var(--l1y) * 1vh), 0) scale(var(--l1s)); }
.stage .l2 { --c: var(--l2c); opacity: var(--l2o); transform: translate3d(calc(var(--l2x) * 1vw), calc(var(--l2y) * 1vh), 0) scale(var(--l2s)); }
.stage .l3 { --c: var(--l3c); opacity: var(--l3o); transform: translate3d(calc(var(--l3x) * 1vw), calc(var(--l3y) * 1vh), 0) scale(var(--l3s)); }
.stage .l4 { --c: var(--l4c); opacity: var(--l4o); transform: translate3d(calc(var(--l4x) * 1vw), calc(var(--l4y) * 1vh), 0) scale(var(--l4s)); }
.stage .l2::before { animation-duration: 58s; animation-delay: -20s; }
.stage .l3::before { animation-duration: 52s; animation-delay: -35s; animation-direction: alternate-reverse; }
.stage .l4::before { animation-duration: 64s; animation-delay: -8s; animation-direction: alternate-reverse; }
/* Svage lyskegler oppefra, som i røg på en scene. */
.stage .beams { position: absolute; left: -25%; top: -30%; width: 150%; height: 120%; opacity: var(--beam-o); transform-origin: 50% 0; transform: rotate(var(--beam-rot));
  transition: transform 1.3s cubic-bezier(.22,.8,.24,1), opacity 1.3s ease;
  background: conic-gradient(from 180deg at 50% 0%,
    transparent 0deg, transparent 138deg,
    rgba(255,255,255,.050) 146deg, transparent 154deg,
    transparent 166deg, rgba(255,255,255,.060) 176deg, transparent 186deg,
    transparent 198deg, rgba(255,255,255,.045) 207deg, transparent 216deg,
    transparent 360deg);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.5) 45%, transparent 82%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.5) 45%, transparent 82%); }
@keyframes stage-drift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to   { transform: translate3d(4%, 3%, 0) scale(1.08); }
}
/* Første billede efter et sideskift: stil lyset som i forrige sektion uden overgang (se scriptet i _Layout.cshtml). */
body.stage-instant .stage .light, body.stage-instant .stage .light::before, body.stage-instant .stage .beams { transition: none; }

/* Blød overgang mellem sider i browsere, der understøtter det. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

@media (max-width: 700px) {
  .stage { opacity: calc(var(--stage-intensity) * .8); }
  .stage .light { width: 110vmax; height: 110vmax; margin: -55vmax 0 0 -55vmax; }
  .stage .l4, .stage .beams { display: none; }
  .stage .light::before { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .stage .light, .stage .light::before, .stage .beams { transition: none; animation: none; }
  @view-transition { navigation: none; }
}
