/* LAIN · Künstlerseite. Ein Film aus echten Fotos (WebGL), danach ruhige, harte Flächen.
   Baut auf lain.css auf. Gold ist Licht, nie Fläche. */
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
main > section, .fuss { position: relative; z-index: 2; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Bühne: eine Leinwand hinter Start und Story ---------- */
.leinwand { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100vh; height: 100lvh; display: block; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--weich); }
.gl .leinwand.an { opacity: 1; }
.leinwand.weg { visibility: hidden; }
.film { position: relative; z-index: 1; }
.film > section { position: relative; z-index: 2; }

/* ---------- Start ---------- */
.start { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.start .rueck { position: absolute; inset: 0; }
.start .rueck img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.1) brightness(.82); }
.gl .start .rueck { opacity: 0; transition: opacity 1.4s var(--weich); }
.start::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(9,9,13,.5), rgba(9,9,13,0) 24%, rgba(9,9,13,0) 55%, rgba(9,9,13,.75)); }
.start .oben { position: absolute; z-index: 3; top: calc(var(--kopf) + 14px); left: var(--rand); right: var(--rand); display: flex; justify-content: space-between; gap: 12px; }
.start .oben .tag { color: rgba(236,232,223,.78); }
.start .unten { position: absolute; z-index: 3; left: var(--rand); right: var(--rand); bottom: clamp(18px, 3.4vh, 36px); }
.start .reihe { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: clamp(10px, 1.6vh, 18px); flex-wrap: wrap; }
.start .reihe .tag:first-child { color: var(--bone); }
.hinweis { position: absolute; z-index: 3; left: 50%; bottom: calc(clamp(18px, 3.4vh, 36px) + 2px); transform: translateX(-50%); width: 1px; height: 46px; background: linear-gradient(var(--gold), rgba(202,175,62,0)); overflow: hidden; }
.hinweis::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--bone); animation: rinnen 2.2s var(--weich) infinite; }
@keyframes rinnen { to { top: 110%; } }
@media (max-width: 860px) { .hinweis { display: none; } }

/* Der Name mit Tiefe: geschichtete Schnitte, hinten Goldkante */
.name { position: relative; margin: 0; line-height: .8; perspective: 900px; perspective-origin: 50% -60%; }
.name .schicht { display: block; width: max-content; white-space: nowrap; font: 900 1em/.8 var(--breit); font-variation-settings: "wdth" 125; letter-spacing: -.035em; text-transform: uppercase; }
.name .schicht + .schicht { position: absolute; left: 0; top: 0; pointer-events: none; }
.name .vorn { color: var(--bone); position: relative; z-index: 2; }
.name .hinten { color: transparent; -webkit-text-stroke: 1px var(--gold); }
.name .leer { visibility: hidden; }
.name .koerper { display: block; position: relative; transform-style: preserve-3d; will-change: transform; }

/* ---------- Story: gepinnter Film ---------- */
.story { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.story .kap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--kopf) + 24px) var(--rand) clamp(40px, 9vh, 96px); }
.story .kap-bild { position: absolute; inset: 0; z-index: -1; opacity: 0; }
.story .kap-bild img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.7); }
.gl .story .kap-bild { display: none; }
.story .kap-text { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(12px, 2vw, 32px); row-gap: 18px; align-items: end; }
.story .kopfzeile { grid-column: 1 / -1; display: flex; gap: 18px; align-items: baseline; }
.story .kap-wort { grid-column: 1 / span 9; margin: 0; font: 900 clamp(48px, min(15vw, 16.5svh), 200px)/.94 var(--breit); font-variation-settings: "wdth" 125; letter-spacing: -.035em; text-transform: uppercase; color: var(--bone); perspective: 800px; }
.story .kap-wort .wz { display: inline-block; white-space: nowrap; }
.story .kap-wort .bz { display: inline-block; transform-origin: 50% 100% -0.2em; will-change: transform, opacity; }
.story .kap-wort .gold .bz, .story .kap-wort .bz.gold { color: var(--gold); }
.story .kap-neben { grid-column: 10 / span 3; display: flex; flex-direction: column; gap: 14px; padding-bottom: .6em; }
.story .kap-neben .text { color: rgba(236,232,223,.84); }
.story .lauf { position: absolute; left: var(--rand); right: var(--rand); bottom: clamp(18px, 4vh, 40px); height: 1px; background: var(--linie); z-index: 3; }
.story .lauf i { position: absolute; inset: 0 auto 0 0; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: var(--gold); }
/* V7: Rollhinweis im ersten, dunklen Bild von «D Gass», gleiche rinnende Goldlinie wie auf der Plattenbühne */
.story .story-roll { position: absolute; z-index: 3; left: var(--rand); bottom: 96px; display: flex; align-items: center; gap: 12px; }
.story .story-roll i { display: block; width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); transform-origin: top; animation: story-rinnen 2.2s var(--weich) infinite; }
@keyframes story-rinnen { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.ruhig .story .story-roll { display: none; }
.story .zahl { font: 500 11px/1 var(--mono); letter-spacing: .16em; color: var(--bone); }
.story .schleier { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(9,9,13,.45) 0%, rgba(9,9,13,0) 26%, rgba(9,9,13,0) 46%, rgba(9,9,13,.7) 100%); }
@media (max-width: 860px) {
  .story .kap-wort, .story .kap-neben { grid-column: 1 / -1; }
  .story .kap-neben { padding-bottom: 8px; }
  .story .kap-neben .text { font-size: 15px; }
}
/* ruhige Fassung: Kapitel untereinander, ohne Pin */
.ruhig .story { height: auto; overflow: visible; }
.ruhig .story .kap { position: relative; min-height: 100svh; }
.ruhig .story .kap-bild { display: block !important; opacity: 1; }
.ruhig .leinwand { display: none; }
.ruhig .start .rueck { opacity: 1 !important; }

/* ---------- Haltung ---------- */
.haltung { padding-top: clamp(96px, 14vw, 200px); }
.haltung .zeile { font-size: clamp(42px, 8.4vw, 150px); line-height: .96; max-width: 15ch; }
.haltung .zeile .wz { display: inline-block; white-space: nowrap; }
.haltung .zeile .bz { display: inline-block; }
.haltung .unter { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(12px, 2vw, 32px); margin-top: clamp(36px, 6vw, 80px); row-gap: 20px; }
.haltung .unter .tag { grid-column: 1 / span 4; }
.haltung .unter .text { grid-column: 7 / span 6; }
@media (max-width: 860px) { .haltung .unter .tag, .haltung .unter .text { grid-column: 1 / -1; } }

/* ---------- Single ---------- */
.single { overflow: hidden; }
.single .raster { row-gap: 48px; align-items: center; }
.single .buehne3d { grid-column: 1 / span 6; perspective: 1100px; }
.single .info { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 30px; }
.single .titel { font-size: clamp(50px, 7.4vw, 128px); }
.single .titel .zl { display: block; overflow: hidden; padding-bottom: .04em; }
.single .titel .zl > span { display: block; }
@media (max-width: 860px) { .single .buehne3d, .single .info { grid-column: 1 / -1; } }
.platte { position: relative; aspect-ratio: 1; transform-style: preserve-3d; will-change: transform; }
.platte img { width: 100%; height: 100%; object-fit: cover; display: block; }
.platte .licht { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(circle at var(--lx, 30%) var(--ly, 20%), rgba(226,201,106,.75), rgba(202,175,62,.12) 32%, rgba(9,9,13,0) 60%); }
.platte .kante { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(202,175,62,.35); }
.single .platte { box-shadow: 0 60px 120px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(236,232,223,.06); }
.single .boden { height: 1px; margin-top: 28px; background: linear-gradient(90deg, rgba(202,175,62,0), rgba(202,175,62,.7), rgba(202,175,62,0)); }
.single .uhr b { color: var(--bone); }
.single .uhr div:first-child b { color: var(--gold); }

/* ---------- Diskografie ---------- */
.platten { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); margin-top: clamp(40px, 6vw, 80px); }
.platten figure { margin: 0; display: flex; flex-direction: column; gap: 12px; perspective: 800px; }
.platten .platte { cursor: default; box-shadow: 0 24px 50px -24px rgba(9,9,13,.55); }
.platten .titel { font: 800 15px/1.2 var(--breit); font-variation-settings: "wdth" 110; text-transform: uppercase; }
@media (max-width: 860px) { .platten { grid-template-columns: 1fr 1fr; } }

/* ---------- Tore ---------- */
.tore { display: flex; height: 100vh; height: 100svh; min-height: 560px; background: var(--ink); gap: 2px; }
.tor { position: relative; display: block; flex: 1 1 0; container-type: inline-size; overflow: hidden; transition: flex-grow .9s var(--weich); }
.tor .bild { position: absolute; inset: 0; }
.tor .bild img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); will-change: transform; }
.tor::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,9,13,.35) 0%, rgba(9,9,13,0) 30%, rgba(9,9,13,.15) 55%, rgba(9,9,13,.92)); pointer-events: none; }
.tor .worte { position: absolute; z-index: 2; left: var(--rand); right: var(--rand); bottom: clamp(24px, 5vw, 56px); display: flex; flex-direction: column; gap: 14px; }
.tor .wort { font-size: min(11cqw, 120px); }
.tor .oben { position: absolute; z-index: 2; top: calc(var(--kopf) + 18px); left: var(--rand); right: var(--rand); display: flex; justify-content: space-between; }
.tor .oben .tag { color: rgba(236,232,223,.8); }
.tor .linie { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--weich); z-index: 2; }
.tor:hover .linie, .tor:focus-visible .linie { transform: scaleX(1); }
.tor:focus-visible { outline-offset: -4px; }
@media (hover: hover) and (min-width: 761px) { .tore:hover .tor { flex-grow: .72; } .tore .tor:hover { flex-grow: 1.4; } }
@media (max-width: 760px) { .tore { flex-direction: column; height: auto; } .tor { flex: none; height: 78svh; min-height: 480px; } }

/* Übergang beim Durchschreiten eines Tors */
.durchgang { position: fixed; inset: 0; z-index: 90; pointer-events: none; visibility: hidden; display: grid; place-items: center; }
.durchgang .blatt { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); transform: scaleY(0); }
.durchgang .blatt.o { top: 0; transform-origin: 50% 0; }
.durchgang .blatt.u { bottom: 0; transform-origin: 50% 100%; }
.durchgang .naht { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gold); transform: scaleX(0); }
.durchgang .wort { position: relative; font-size: clamp(40px, 11vw, 180px); opacity: 0; }

/* ---------- Presse ---------- */
.presse .raster { row-gap: 48px; }
.presse .links { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 28px; }
.presse .rechts { grid-column: 8 / span 5; }
.fakten { margin: 0; }
.fakten div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid var(--linie-d); }
.fakten dt { font: 500 11px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #6b675f; }
.fakten dd { margin: 0; font-weight: 700; text-align: right; }
.laden { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (max-width: 860px) { .presse .links, .presse .rechts { grid-column: 1 / -1; } }

/* ---------- Booking ---------- */
.anfragen .raster { row-gap: 48px; }
.anfragen .links { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 24px; }
.anfragen form { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 30px; }
@media (max-width: 860px) { .anfragen .links, .anfragen form { grid-column: 1 / -1; } }
.wahl { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.wahl label { position: relative; }
.wahl input { position: absolute; opacity: 0; }
.wahl span { display: inline-block; padding: 11px 16px; border: 1px solid var(--linie); font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.wahl input:checked + span { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.wahl input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 3px; }
.feld { display: flex; flex-direction: column; gap: 8px; }
.feld input, .feld textarea { font: 400 20px/1.4 var(--breit); color: var(--bone); background: none; border: 0; border-bottom: 1px solid var(--linie); padding: 6px 0 12px; outline: none; border-radius: 0; transition: border-color .2s; }
.feld textarea { min-height: 110px; resize: vertical; font-size: 18px; }
.feld input:focus, .feld textarea:focus { border-color: var(--gold); }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 560px) { .zwei { grid-template-columns: 1fr; } }
.zustimmung { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: rgba(236,232,223,.7); }
.zustimmung input { margin-top: 3px; accent-color: var(--gold); }
.meldung { font: 500 12px/1.6 var(--mono); letter-spacing: .06em; color: var(--gold); min-height: 1.6em; }
.vorschau { display: inline-block; align-self: flex-start; padding: 6px 9px; border: 1px solid rgba(202,175,62,.5); color: var(--gold) !important; }

/* ---------- Fuss ---------- */
.fuss { background: var(--ink); }
.fuss .passend { color: transparent; -webkit-text-stroke: 1px rgba(202,175,62,.55); }

@media (prefers-reduced-motion: reduce) {
  .hinweis::after { animation: none; }
  .tor, .tor .linie { transition: none; }
  .tor .bild img { transform: none; }
}
