/* kidsjukebox.likafilm.com. Marken wie in app/Sources/Thema.swift und docs/specs/optik/zimmer.html.
   Schriften liegen auf dieser Domain (SIL OFL 1.1, Lizenztexte in /fonts), nichts wird von
   fremden Servern geladen. */
@font-face { font-family: Petrona; src: url("/fonts/petrona.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Karla; src: url("/fonts/karla.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root { --grund: #0A0D1C; --tinte: #E8E2F0; --leise: #8AD4BA; --linie: #232847; --gold: #FFCE73; }
* { box-sizing: border-box; }
html { background: var(--grund); overflow-x: clip; }
body {
  margin: 0; padding-inline: 20px;
  background:
    radial-gradient(70% 38% at 50% 0%, rgba(126,92,196,.42) 0%, transparent 70%),
    radial-gradient(40% 30% at 8% 40%, rgba(52,132,176,.20) 0%, transparent 70%),
    radial-gradient(40% 30% at 96% 64%, rgba(96,72,168,.18) 0%, transparent 70%),
    linear-gradient(#0A0818 0%, #120E28 40%, #0D0F24 100%);
  background-attachment: scroll;
  color: var(--tinte); font-family: Karla, system-ui, sans-serif; font-size: 17px; line-height: 1.65;
  min-height: 100vh; -webkit-font-smoothing: antialiased;
}
main, footer { max-width: 980px; margin: 0 auto; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: Petrona, Georgia, serif; font-weight: 600; letter-spacing: -.012em; }
h1 { font-size: clamp(2.1rem, 6.4vw, 3.2rem); line-height: 1.08; margin: 0 0 20px; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 400; line-height: 1.25; margin: 0 0 12px; }
h3 { font-size: 1.15rem; margin: 28px 0 8px; }
p { margin: 0 0 16px; }
.leise { color: var(--leise); }

.buehne { --lx: 70%; --ly: 45%; --lr: 0px; position: relative; isolation: isolate; min-height: 100svh; margin: 0 calc(50% - 50vw); overflow: hidden; display: flex; flex-direction: column; }
.buehne::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, var(--grund) 0%, rgba(10,13,28,.9) 30%, rgba(10,13,28,.35) 55%, transparent 75%),
              linear-gradient(180deg, rgba(10,13,28,.4), transparent 20% 70%, var(--grund)); }
.buehne::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .06;
  background-image: linear-gradient(to right, var(--tinte) 1px, transparent 1px), linear-gradient(to bottom, var(--tinte) 1px, transparent 1px);
  background-size: 56px 56px; }
.hero-kunst { position: absolute; z-index: 0; top: 0; bottom: 0; right: 0; width: min(62vw, 900px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%); mask-image: linear-gradient(90deg, transparent, #000 25%); }
.hero-bild, .hero-bild img, .hero-bild video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.hero-nacht img { filter: grayscale(.85) brightness(.38) contrast(1.05); }
.hero-licht { z-index: 1; }
/* Nur mit Maus: das farbige Bild erscheint im Lichtkegel, sonst immer ganz sichtbar. */
.dunkel .hero-licht { pointer-events: none;
  -webkit-mask-image: radial-gradient(circle var(--lr) at calc(var(--lx) - (100vw - min(62vw, 900px))) var(--ly), #000 0%, #000 40%, rgba(0,0,0,.7) 60%, rgba(0,0,0,.3) 80%, transparent 100%);
  mask-image: radial-gradient(circle var(--lr) at calc(var(--lx) - (100vw - min(62vw, 900px))) var(--ly), #000 0%, #000 40%, rgba(0,0,0,.7) 60%, rgba(0,0,0,.3) 80%, transparent 100%);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
@media (prefers-reduced-motion: reduce) { .hero-licht video { display: none; } .hero-licht { background: url("/media/bilder/poster.jpg") center 30% / cover; } }

.kopf { position: relative; z-index: 4; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 84px; padding: 0 clamp(20px, 4vw, 56px); border-bottom: 1px solid rgba(232,226,240,.14); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.marke { display: inline-flex; align-items: center; gap: 10px; color: var(--tinte); text-decoration: none; width: max-content; }
.marke img { width: 28px; height: 28px; border-radius: 8px; }
.kopf-mitte { display: flex; gap: 22px; color: rgba(232,226,240,.7); }
.kopf-mitte span + span { padding-left: 22px; border-left: 1px solid rgba(232,226,240,.22); }
.pille { justify-self: end; display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border: 1px solid rgba(255,206,115,.5); border-radius: 999px; background: rgba(10,13,28,.4); backdrop-filter: blur(12px); color: var(--gold); text-decoration: none; }
.pille i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pille:hover, .pille:focus-visible { background: var(--gold); color: var(--grund); }

.buehne-text { position: relative; z-index: 3; width: min(40rem, 50vw); padding: clamp(40px, 8vh, 110px) 0 64px clamp(20px, 4vw, 56px); }
.zeile { display: flex; gap: 22px; margin-bottom: clamp(24px, 4vh, 48px); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.buehne-text h1 { font-weight: 400; font-size: clamp(3rem, 6.6vw, 6.6rem); line-height: .92; letter-spacing: -.04em; margin: 0 0 clamp(28px, 4vh, 44px); }
.buehne-text h1 span { display: block; margin-left: .3em; font-style: italic; color: var(--gold); }
.buehne-text h1 .klein { margin-left: .3em; font-size: .42em; line-height: 1.2; letter-spacing: -.01em; color: var(--tinte); font-style: normal; margin-top: .4em; }
.lead { font-size: 1.1rem; color: var(--tinte); max-width: 32rem; }
.buehne-text .leise { max-width: 32rem; }
.knopf { display: inline-block; margin-top: 12px; padding: 14px 26px; border-radius: 999px; background: var(--gold); color: var(--grund); font-weight: 700; text-decoration: none; box-shadow: 0 10px 40px rgba(255,206,115,.25); transition: transform .2s; }
.knopf:hover { transform: translateY(-2px); text-decoration: none; }
.hinweis { position: absolute; z-index: 4; right: clamp(20px, 4vw, 56px); bottom: 120px; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(232,226,240,.6); transform: rotate(-90deg) translateX(100%); transform-origin: right bottom; }
.buehne-fuss { position: relative; z-index: 4; margin-top: auto; display: flex; justify-content: space-between; align-items: end; min-height: 84px; padding: 18px clamp(20px, 4vw, 56px); border-top: 1px solid rgba(232,226,240,.14); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.buehne-fuss p { margin: 0; }
.buehne-fuss p > span { display: block; margin-top: 6px; color: rgba(232,226,240,.55); font-size: 9px; }
.fuss-meta { display: flex; gap: 40px; color: rgba(232,226,240,.75); }
@media (hover: none), (pointer: coarse) { .hinweis { display: none; } }
@media (max-width: 760px) {
  .kopf { grid-template-columns: 1fr auto; }
  .kopf-mitte, .fuss-meta { display: none; }
  .hero-kunst { width: 100%; }
  .buehne::before { background: linear-gradient(180deg, rgba(10,13,28,.5) 0%, rgba(10,13,28,.2) 25%, rgba(10,13,28,.85) 55%, var(--grund) 75%); }
  .buehne-text { width: 100%; padding: 38vh 20px 48px; }
  .buehne-text h1 { font-size: clamp(2.4rem, 11.5vw, 4rem); }
}

.mosaik-abschnitt { margin: 0 calc(50% - 50vw); padding-inline: clamp(20px, 4vw, 56px); overflow: hidden; position: relative; }
.mosaik-abschnitt::before { content: ""; position: absolute; left: 50%; top: 55%; width: 90vw; height: 60%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(126,92,196,.28), transparent); pointer-events: none; }
.mosaik-abschnitt h2 { text-align: center; max-width: 18ch; margin-inline: auto; }
.mosaik-abschnitt h2::before { content: "Die Bildwelt"; display: block; margin-bottom: 14px; font-family: Karla, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
:lang(en) .mosaik-abschnitt h2::before { content: "The artwork"; }
.mosaik { position: relative; display: flex; justify-content: center; align-items: center; gap: clamp(10px, 1.6vw, 24px); max-width: 1320px; margin: clamp(36px, 6vh, 64px) auto 0; padding-block: 40px 70px; perspective: 1400px; }
.kachel { position: relative; display: block; flex: 0 1 200px; aspect-ratio: 9 / 16; margin: 0; line-height: 0; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(232,226,240,.16); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 6px rgba(10,13,28,.6);
  transform: translateY(var(--y, 0)) rotateY(var(--dreh, 0deg)) scale(var(--s, 1)); transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .6s, opacity .9s; }
.kachel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,.14), transparent 35%, transparent 70%, rgba(10,13,28,.45)); pointer-events: none; }
.kachel img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.kachel:nth-child(1) { --y: 60px; --dreh: 22deg; --s: .86; }
.kachel:nth-child(2) { --y: 20px; --dreh: 12deg; --s: .94; }
.kachel:nth-child(3) { --y: -10px; --s: 1.06; flex-basis: 240px; }
.kachel:nth-child(4) { --y: -10px; --s: 1.06; flex-basis: 240px; }
.kachel:nth-child(5) { --y: 20px; --dreh: -12deg; --s: .94; }
.kachel:nth-child(6) { --y: 60px; --dreh: -22deg; --s: .86; }
@media (hover: hover) {
  .kachel:hover { --dreh: 0deg; --s: 1.12; --y: -24px; z-index: 2; box-shadow: 0 40px 90px -20px rgba(0,0,0,.8), 0 0 0 6px rgba(10,13,28,.6), 0 0 60px rgba(255,206,115,.28); }
  .kachel:hover img { transform: scale(1.06); }
}
.js .kachel { opacity: 0; --y: 120px; }
.js .mosaik.da .kachel { opacity: 1; }
.js .mosaik.da .kachel:nth-child(1) { --y: 60px; } .js .mosaik.da .kachel:nth-child(2) { --y: 20px; transition-delay: .08s; }
.js .mosaik.da .kachel:nth-child(3), .js .mosaik.da .kachel:nth-child(4) { --y: -10px; transition-delay: .16s; }
.js .mosaik.da .kachel:nth-child(5) { --y: 20px; transition-delay: .08s; } .js .mosaik.da .kachel:nth-child(6) { --y: 60px; }
.js .mosaik.da .kachel:hover { --y: -24px; transition-delay: 0s; }
@media (max-width: 760px) {
  .mosaik { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; perspective: none; padding: 20px 20px 40px; margin-inline: calc(-1 * clamp(20px, 4vw, 56px)); scrollbar-width: none; }
  .mosaik::-webkit-scrollbar { display: none; }
  .kachel, .kachel:nth-child(n) { flex: 0 0 62vw; scroll-snap-align: center; --dreh: 0deg; --s: 1; --y: 0px; }
  .js .kachel { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .kachel, .kachel img { transition: none; } .js .kachel { opacity: 1; } }

section { padding-block: clamp(48px, 9vh, 96px); border-top: 1px solid var(--linie); }
.schritte { list-style: none; padding: 0; margin: 28px 0 24px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.schritte li { display: grid; gap: 12px; align-content: start; padding: 24px; border: 1px solid var(--linie); border-radius: 18px; background: rgba(255,255,255,.03); }
.schritte .zahl { font-family: Petrona, Georgia, serif; font-weight: 600; font-size: 2.4rem; font-style: italic; color: var(--gold); line-height: 1; }
.schritte b { color: var(--tinte); font-weight: 600; }

/* Kein Knopf, solange es nichts zu klicken gibt: Umriss statt goldener Fläche. */
.bald { display: inline-block; margin-top: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,206,115,.55); color: var(--gold); font-weight: 600; font-size: 15px; }

footer { padding-block: 32px 48px; border-top: 1px solid var(--linie); font-size: 15px; color: var(--leise); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 10px; }
footer p { margin: 0; }

/* Rechtstexte */
.text { padding-block: 40px 24px; }
.text h1 { font-size: clamp(1.9rem, 5vw, 2.5rem); }
.text p, .text li { color: var(--tinte); }
.text ul { padding-left: 22px; }
.sprache { display: inline-flex; gap: 4px; padding-left: 22px; border-left: 1px solid rgba(232,226,240,.22); }
.sprache a { padding: 6px 9px; border-radius: 999px; color: rgba(232,226,240,.7); text-decoration: none; }
.sprache a:hover { color: var(--tinte); }
.sprache a[aria-current] { background: rgba(232,226,240,.12); color: var(--tinte); }
@media (max-width: 760px) { .kopf-mitte { display: flex; } .kopf-mitte > span:first-child { display: none; } .sprache { padding-left: 0; border: 0; } .kopf { grid-template-columns: auto 1fr auto; gap: 8px; } .kopf-mitte { justify-self: end; } }
/* Fußleiste der Bühne: lesbar statt Kleingedrucktes */
.buehne-fuss { align-items: center; min-height: 110px; padding-block: 24px; font-size: 13px; letter-spacing: .08em; }
.buehne-fuss > p:first-child { font-family: Petrona, Georgia, serif; font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: 0; text-transform: none; color: var(--gold); }
.buehne-fuss > p:first-child > span { font-family: Karla, sans-serif; font-style: normal; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(232,226,240,.65); margin-top: 8px; }
.fuss-meta { gap: 12px; }
.fuss-meta span { padding: 10px 16px; border: 1px solid rgba(232,226,240,.2); border-radius: 999px; background: rgba(255,255,255,.04); color: var(--tinte); }
.buehne-fuss .fuss-meta > span { display: inline-block; margin-top: 0; font-size: 13px; letter-spacing: .06em; color: var(--tinte); }
