/* Bastian Braces – Startseite „moderner“ (02.11.2026, docs/gestaltung-startseite.md). Lädt nur auf der Startseite,
   nach site.css und mix.css. Bewegung: assets/js/start.js.
   · Hero als Bühne in Ebenen: Menge als Video, wandernder Farbverlauf, Licht, Linien, Basti, Dunst; kurz angeheftet (nur mit Bewegung)
   · Wechsel: Über mich bleibt stehen und tritt zurück, Anlässe fährt als Karte darüber hoch und wächst auf volle Breite
   · Look: Fließtext Poppins 400, größer und dunkler; Hero-Titel deutlich kleiner als in „Der Mix“
   Ohne JavaScript oder bei „Bewegung reduzieren“ (Klasse js-bewegung fehlt): ruhige, vollständige Komposition. */

.seite-start { --text-dunkel: #575e94; --hell: #f5f3f8; --aus: cubic-bezier(.23, 1, .32, 1); }
/* Cleaner Look: heller, ruhiger Grund statt der grauen Formen (Handy: statt hintergrund-start-mobil.jpg) */
.seite-start main { background: var(--hell); }
.seite-start a:focus-visible, .seite-start button:focus-visible { outline: 2px solid var(--violett); outline-offset: 4px; }
/* Auf dunklem Grund ist das dunkle Violett als Rahmen kaum zu sehen: dort das helle (Knöpfe: weiß, site.css) */
.seite-start [data-ton="dunkel"] :is(a, button):focus-visible, .seite-start .kopf a:focus-visible { outline-color: var(--violett-hell); }
.seite-start .knopf:focus-visible, .seite-start [data-ton="dunkel"] .knopf:focus-visible { outline-color: #fff; }

/* ---------- Hero: Bühne in Ebenen ---------- */
.seite-start .start-hero { height: auto; overflow: visible; background: var(--nacht); }
.buehne__rahmen { position: relative; height: 100vh; min-height: 620px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 36% 50% at 59% 30%, #ab214a 0%, rgba(171, 33, 74, .85) 28%, rgba(171, 33, 74, .5) 58%, rgba(171, 33, 74, 0) 100%),
    linear-gradient(to bottom, #110a3e 0%, #110a3e 40%, #1e1642 55%, #2a2145 70%, #2a2145 100%); }   /* Palette Ainara 05.11.2026 */
.js-bewegung .seite-start .buehne { height: calc(100vh + 45vh); min-height: calc(620px + 45vh); }
.js-bewegung .buehne__rahmen { position: sticky; top: 0; }

.buehne__ebene, .buehne__basti { position: absolute; pointer-events: none; }
.js-bewegung .buehne__ebene, .js-bewegung .buehne__basti { will-change: transform; }
/* Rand rundum, damit beim Bewegen keine Kante sichtbar wird */
.buehne__ebene { inset: -14% -4% -11% -4%; }
.buehne__ebene img, .buehne__ebene video { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 100%; }
/* Hintergrund des Einstiegs: Farben der alten Live-Seite (05.11.2026, Ainara: „los colores del hintergrund del hero que vamos a usar
   son los de este gradiente“, aus ihrem Screenshot gemessen): Indigo oben, gedämpftes Rosé hinter Bastis Kopf, unten dunkles
   Violett. Licht unter der Maus hellrosa. Vorher Schwarz-Blau, kurz Weiß. Kein Video. */
.buehne__menge { z-index: 0; opacity: var(--menge-deckung, 1); }   /* Publikum (seit 11.11.2026), darüber der wandernde Verlauf; schwächer: --menge-deckung */
.buehne__menge picture { display: contents; }
/* Hände sichtbarer wie auf der alten Seite (11.11.2026, Ainara „se ve muy poco“): Foto groß und so verschoben, dass die
   großen Hände aus der Bildmitte unten links neben der Überschrift stehen statt hinter Basti; Silhouetten kräftiger, Nebel
   darüber leichter. Handy hochkant: eigener Ausschnitt (Hände links von Basti). */
/* Farben aus unserem Verlauf, Licht und Schatten aus dem Foto (Ainara 11.11.: „demasiado rojo o brillante“): „luminosity“
   übernimmt nur die Helligkeit des Fotos (Hände, Dunst); Indigo oben und Rosé hinter Bastis Kopf kommen vom Verlauf.
   Gemessen oben links: Rot-Anteil .36 wie die alte Seite (.37), vorher .57. */
.buehne__menge { mix-blend-mode: luminosity; }
.buehne__menge img { filter: contrast(1.5) brightness(.45); }
@media (orientation: landscape) {
  .buehne__menge { inset: -14% 0 -10% -75%; }
}
.buehne__licht {
  z-index: 1; mix-blend-mode: screen;
  background: radial-gradient(ellipse 24% 32% at 58% 28%, rgba(171, 33, 74, .3), transparent 70%);
}
/* Basti steht auf dem Boden der Bühne (Unterkante = Kontaktpunkt), mittig bei 60 % */
.buehne__basti { z-index: 3; left: 65%; bottom: 5%; height: 88%;   /* 11.11.2026 (Basti über Ainara): etwas höher und ein wenig weiter rechts, vorher left 63 %, bottom 0 */
  aspect-ratio: 2000 / 1688; translate: calc(-50% + var(--basti-dx, 0px)) 0;   /* --basti-dx: editorial.js (Abstand zum Text), über translate statt left, damit nichts springt (PageSpeed, 20.11.2026) */ transform-origin: 50% 100%; }
.buehne__basti img { width: 100%; height: 100%; max-width: none; }
/* Wandernder Farbverlauf über dem Video (Wunsch Ainara): drei weiche Farbflecken ziehen langsam, gleiche Ästhetik */
.buehne__verlauf { position: absolute; inset: -10%; z-index: 1; overflow: hidden; pointer-events: none; opacity: .6; }   /* seit 11.11.2026 .6 statt .8 (über dem Publikum zu hell) */   /* normal gemischt: Rosé bleibt Rosé (aufhellend würde es lila) */
.buehne__verlauf i { position: absolute; display: block; width: 70%; height: 80%; will-change: transform; }
.buehne__verlauf i:nth-child(1) { left: 32%; top: 0; background: radial-gradient(closest-side, rgba(186, 18, 85, .62) 0%, rgba(186, 18, 85, .46) 22%, rgba(186, 18, 85, .26) 48%, rgba(186, 18, 85, .1) 74%, rgba(186, 18, 85, 0) 100%); animation: verlauf-a 17s ease-in-out infinite alternate; }
.buehne__verlauf i:nth-child(2) { left: -12%; top: 25%; background: radial-gradient(closest-side, rgba(45, 30, 110, .4), rgba(45, 30, 110, 0)); animation: verlauf-b 23s ease-in-out infinite alternate; }
.buehne__verlauf i:nth-child(3) { left: 50%; top: 35%; background: radial-gradient(closest-side, rgba(171, 33, 74, .3), rgba(171, 33, 74, 0)); animation: verlauf-c 29s ease-in-out infinite alternate; }
.buehne__verlauf i { transition: translate .9s cubic-bezier(.23, 1, .32, 1); }
/* Folgt dem Mauszeiger (start.js setzt --mx/--my von −1 bis 1): Rosé wie die Glut im Foto der Live-Seite mit der Maus (05.11.2026), Indigo weicht aus, Rosé leicht mit */
.buehne__verlauf i:nth-child(1) { translate: calc(var(--mx, 0) * 58vw) calc(var(--my, 0) * 45vh); }
.buehne__verlauf i:nth-child(2) { translate: calc(var(--mx, 0) * -34vw) calc(var(--my, 0) * -26vh); }
.buehne__verlauf i:nth-child(3) { translate: calc(var(--mx, 0) * 16vw) calc(var(--my, 0) * 12vh); }
@keyframes verlauf-a { to { transform: translate3d(-22%, 12%, 0) scale(1.18); } }
@keyframes verlauf-b { to { transform: translate3d(30%, -14%, 0) scale(.9); } }
@keyframes verlauf-c { to { transform: translate3d(-34%, -6%, 0) scale(1.25); } }
/* Echter Trockeneis-Nebel vorn (Video). Der berechnete WebGL-Rauch ist auf Wunsch Ainara wieder entfernt (wirkte verzerrt). */
.buehne__nebel {
  position: absolute; z-index: 4; left: -4%; right: -4%; bottom: -8%; pointer-events: none; display: none;
  /* Oberkante unter Bastis Kinn: Basti-Unterkante minus 45,5 % seiner Höhe (Werte wie .buehne__basti). Seit 20.11.2026 hier
     statt per Skript (editorial.js), sonst sprang der Nebel nach dem Laden (PageSpeed, Layout-Sprung am Handy) */
  top: calc(95% - 88% * .455);
  isolation: isolate; mix-blend-mode: screen; opacity: .45;   /* dunkler Boden wie die Live-Seite (05.11.2026); seit 11.11. .45 statt .65, damit die Hände durchscheinen */
  -webkit-mask-image: linear-gradient(to top, #000 55%, transparent); mask-image: linear-gradient(to top, #000 55%, transparent);
}
.js-bewegung .buehne__nebel { display: block; }
.buehne__nebel video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 100%; opacity: 0; transition: opacity 1.4s linear; }
.buehne__nebel video.ist-an { opacity: 1; }
/* Färbt den weißen Nebel: Weiß × Farbe = Farbe, Schwarz bleibt Schwarz und verschwindet beim Einblenden */
.buehne__nebel::after { content: ''; position: absolute; inset: 0; z-index: 1; mix-blend-mode: multiply; background: linear-gradient(100deg, #7d72c4 0%, #b88aa6 45%, #c49fb6 70%, #7d72c4 100%); }
/* Schallwellen-Linien zwischen Menge und Basti */
.wellen--buehne { top: 48%; height: 24%; z-index: 2; opacity: .26; }   /* 48 %: über dem Rauch (der beginnt unter Bastis Kinn), Ainara „no se ven con el humo“ */   /* 11.11.2026 zart, etwa 10 % sichtbar (Ainara „menos opacidad, tipo el 10 %“) */ /* seit 11.11.2026 unter der Überschrift statt quer durch (Ainara „sobrecargado detrás del texto“; vorher 36 %) */
/* Linien im Einstieg in Lila und Rosé passend zum Verlauf (die übrigen Linien der Seite bleiben blau, wellen.js) */
.wellen--buehne path { stroke: rgba(170, 140, 255, .38); }
.wellen--buehne path:first-child { stroke: rgba(190, 160, 255, .55); }
.wellen--buehne path[stroke-dasharray] { stroke: #f2a7c6; }
.buehne__dunst {
  z-index: 4; inset: -10% -6% -30% -6%;
  background:
    radial-gradient(ellipse 38% 16% at 18% 74%, rgba(201, 149, 170, .14), transparent 70%),
    radial-gradient(ellipse 34% 14% at 84% 70%, rgba(96, 54, 190, .18), transparent 70%),
    radial-gradient(ellipse 60% 12% at 55% 80%, rgba(215, 19, 98, .08), transparent 70%);
}
/* Boden und Textschatten: Übergang in die Farbe von „Über mich“ und etwas Dichte unter dem Text; steht still über allen Ebenen */
.buehne__schatten { position: absolute; inset: 0; pointer-events: none; }
.buehne__schatten {
  z-index: 5;
  background:
    linear-gradient(to top, var(--nacht) 0, rgba(42, 33, 69, .88) 10%, rgba(42, 33, 69, .5) 22%, rgba(42, 33, 69, 0) 36%),   /* unten dunkel wie die Live-Seite */
    radial-gradient(ellipse 52% 46% at 10% 78%, rgba(42, 33, 69, .55), transparent 72%);
}

/* Text: unten links, ruhig und deutlich kleiner */
.seite-start .start-hero__inhalt { position: absolute; z-index: 6; left: 0; right: 0; bottom: 14vh; padding-top: 0; }
.seite-start .start-hero__ueber { font: 500 18px/1.2 var(--oswald); letter-spacing: .14em; padding-bottom: 16px; }
.seite-start .start-hero__ueber mark { background: linear-gradient(to top, transparent 1px, var(--violett) 1px, var(--violett) 6px, transparent 6px); }
.seite-start .start-hero__titel { font: 700 clamp(52px, 5.4vw, 80px)/.95 var(--oswald); letter-spacing: -.005em; max-width: none; }
.seite-start .start-hero__titel .zeile { display: inline-block; vertical-align: top; padding: .06em .04em .04em 0; margin: -.06em 0 -.04em; overflow: hidden; }
.seite-start .start-hero__titel .zeile > span { display: inline-block; }
.seite-start .start-hero .knopf { margin-top: 40px; }

/* Einstieg: das Licht geht an, die Ebenen setzen sich (Bild im Inneren, damit start.js die Ebene frei bewegen kann) */
.js-bewegung .buehne__menge img, .js-bewegung .buehne__menge video { animation: buehne-menge 2.2s var(--aus) both; }
/* Basti erst, wenn sein Bild geladen ist (Klasse basti-da, editorial.js), und schnell ganz deckend: der Schriftzug steigt
   danach hinter ihm auf und scheint nie durch seinen Kopf (Wunsch Ainara 03.11.) */
.js-bewegung .buehne__basti img { opacity: 0; }
.js-bewegung .buehne.basti-da .buehne__basti img { animation: buehne-basti 1.6s var(--aus) both; }
.js-bewegung .buehne__licht { animation: bb-fade 2.4s var(--aus) .3s both; }
@keyframes buehne-menge { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
@keyframes buehne-basti { 0% { opacity: 0; transform: translate3d(0, 4%, 0); } 22% { opacity: 1; } 100% { opacity: 1; transform: none; } }

/* ---------- Wechsel: Über mich bleibt stehen, Anlässe fährt darüber hoch ---------- */
/* Dahinter Nacht statt Weiß, damit das zurücktretende „Über mich“ keine hellen Ränder zeigt */
.wechsel { position: relative; background: var(--nacht); }
.seite-start .start-hero { background: var(--nacht); }
.seite-start .ueber { padding: clamp(190px, 26vh, 270px) 0 130px; overflow: hidden; background: var(--nacht); } /* Überschrift tiefer, mit Luft zur Hero (Ainara) */
.seite-start .ueber::after { content: ''; position: absolute; inset: 0; z-index: 3; background: var(--nacht); opacity: var(--dimm, 0); /* abdunkeln, im Ton der Nacht */ pointer-events: none; }
.js-bewegung .seite-start .ueber { position: sticky; top: var(--ueber-oben, 0px); z-index: 1; transform-origin: 50% calc(100% - 50vh); }
.seite-start .anlaesse-intro { position: relative; z-index: 2; padding: 120px 0 110px; background: var(--hell); }
.js-bewegung .seite-start .anlaesse-intro {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  clip-path: inset(0 var(--rand, 0px) 0 var(--rand, 0px) round var(--ecke, 0px) var(--ecke, 0px) 0 0);
}
.seite-start .anlaesse-intro > .wrap { width: 100%; }
.seite-start .anlaesse-intro__kopf { max-width: 760px; margin: 0; text-align: left; }
/* Text füllt sich beim Scrollen Wort für Wort (start.js zerlegt ihn nur mit Bewegung in Wörter) */
.seite-start .wort { color: rgba(77, 80, 104, .24); transition: color .35s; }
.seite-start .wort.ist-voll { color: var(--text-dunkel); }

/* Anlässe als große Zeilen: assets/css/anlass-liste.css (auch Seite „Anlässe“) */

/* ---------- Schallwellen-Linien (assets/js/wellen.js) ---------- */
/* Grundregel .wellen steht in editorial.css (auch Galerie-Seite) */
.wellen--uebergang { top: 0; height: 240px; z-index: 0; } /* in der Luft zwischen Hero und „Über mich“ */
.seite-start .ueber__raster { position: relative; z-index: 1; }
.wellen-rahmen { position: relative; }
.wellen--hell { top: 54%; height: 420px; z-index: 0; } /* unter dem Text von „Warum mich“ hinüber zur Kontaktbox */

/* Galerie: assets/css/galerie-wand.css (Scheinwerfer) */

/* ---------- Über mich (Runde 4): riesige Überschrift hinter zwei Fotos, großer Einstieg, Zahlen ---------- */
.ich__bilder { position: relative; } /* seit 03.11. nur ein Foto, ohne Bildunterschrift (Ainara) */
.ich__foto { margin: 0; overflow: hidden; border-radius: var(--ecke-foto); box-shadow: 0 40px 90px rgba(0, 0, 0, .45); }
.ich__foto img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.12); }
.ich__foto--gross { width: 80%; aspect-ratio: 2 / 3; }
.js-bewegung .ich__foto { clip-path: inset(100% 0 0 0 round var(--ecke-foto)); transition: clip-path 1.5s var(--aus); } /* Maske mit derselben Rundung, sonst eckige Ecken */
.js-bewegung .ich__bilder.ist-da .ich__foto { clip-path: inset(0 round var(--ecke-foto)); }
.js-bewegung .ich__foto, .js-bewegung .ich__foto img { will-change: transform; }
/* Zahlen mit zentrierter Beschriftung, drei gleich breite Spalten innerhalb der Linie (Ainara 03.11.) */

/* ---------- Wörter kippen und fallen (start.js, [data-fallen]) ---------- */
.js-bewegung [data-fallen] { will-change: transform; }
.fallen-links { transform-origin: 0% 100%; }
.fallen-rechts { transform-origin: 100% 100%; }
.anlass-zeile__link[data-fallen] { position: relative; }

/* ---------- Look: Fließtext und Abstände ---------- */
.seite-start .anlaesse-intro__kopf p { font: 400 19px/1.65 var(--poppins); color: var(--text-dunkel); max-width: 62ch; margin-left: 0; margin-right: 0; }
.seite-start .warum__text p { font: 400 17px/1.85 var(--poppins); color: var(--text-dunkel); }
.seite-start .kontaktbox p { font: 400 19px/1.6 var(--poppins); color: var(--text-dunkel); }
.seite-start .kontaktbox__box { box-shadow: 0 30px 80px rgba(7, 10, 28, .10), 0 2px 6px rgba(7, 10, 28, .04); }

/* Warum mich: das Bild wird von unten aufgedeckt und setzt sich */
.js-bewegung .seite-start .warum__bild[data-einblenden].ist-sichtbar { animation: start-aufdecken 1.5s var(--aus) both; }
.js-bewegung .seite-start .warum__bild.ist-sichtbar .warum__foto { animation: start-setzen 1.9s var(--aus) both; }
@keyframes start-aufdecken { from { clip-path: inset(100% -50% -50% -50%); } to { clip-path: inset(-50% -50% -50% -50%); } }
@keyframes start-setzen { from { transform: translate3d(0, 6%, 0) scale(1.04); } to { transform: none; } }

/* ---------- Tablet ---------- */
@media (max-width: 1199px) {
  .js-bewegung .seite-start .buehne { height: calc(100vh + 35vh); min-height: calc(620px + 35vh); }
  .buehne__basti { left: 66%; bottom: 4%; height: 80%; }
  .buehne__nebel { top: calc(96% - 80% * .455); }
  .seite-start .start-hero__inhalt { bottom: 11vh; }
  .seite-start .start-hero__titel { font-size: clamp(46px, 6.4vw, 64px); }
}

/* ---------- Handy: eigene Komposition, ohne Heftung ---------- */
@media (max-width: 767px) {
  .js-bewegung .seite-start .buehne { height: auto; min-height: 0; }
  .buehne__rahmen, .js-bewegung .buehne__rahmen { position: relative; height: 92svh; min-height: 560px; max-height: 780px; }
  .buehne__ebene { inset: -10% -6% -8% -6%; }
  .buehne__ebene img, .buehne__ebene video { object-position: 46% 100%; }
  .wellen--buehne { top: 46%; height: 30%; }
  .buehne__basti { left: 58%; bottom: 0; height: 64%; }
  .buehne__nebel { top: calc(100% - 64% * .455); }
  .buehne__schatten {
    background:
      linear-gradient(to top, var(--nacht) 0, rgba(42, 33, 69, .9) 8%, rgba(42, 33, 69, 0) 32%),
      linear-gradient(to bottom, rgba(17, 10, 62, .6) 0, rgba(17, 10, 62, 0) 46%);
  }
  .seite-start .start-hero__inhalt { top: 96px; bottom: auto; padding: 0 20px; }
  .seite-start .start-hero__ueber { font-size: 13px; letter-spacing: .12em; padding-bottom: 12px; }
  .seite-start .start-hero__titel { font-size: clamp(38px, 10.6vw, 46px); max-width: none; }
  .seite-start .start-hero .knopf { margin-top: 26px; }

  .seite-start .anlaesse-intro { padding: 70px 0 50px; }
  .seite-start .anlaesse-intro .wrap { padding: 0 20px; }
  .seite-start .anlaesse-intro__kopf { padding: 0; }
  .wellen--uebergang { top: 0; height: 140px; }

  .wellen--hell { top: 8%; height: 300px; }
  .seite-start .ueber { padding: 130px 0 70px; text-align: left; }
  .seite-start .anlaesse-intro__kopf p { font-size: 17px; line-height: 1.6; }
  .seite-start .warum__text p { font-size: 16px; line-height: 1.75; }
  .seite-start .kontaktbox p { font-size: 17px; }
}

/* Tablet hochkant (03.11.2026): Text oben über Bastis Kopf wie am Handy, Basti kleiner darunter; sonst stand der Text auf
   Kinnhöhe direkt neben dem Gesicht (Ainara: „le toca la cara“). Text: editorial.css, gleiche Abfrage. */
@media (min-width: 768px) and (max-width: 1199px) and (orientation: portrait) {
  .buehne__basti { left: 58%; bottom: 0; height: 60%; }
  .buehne__nebel { top: calc(100% - 60% * .455); }
}
/* Bastian Braces – Galerie „Scheinwerfer“ (02.11.2026, src/components/GalerieWand.astro, Skript assets/js/galerie-wand.js).
   Startseite (bildschirmhoch) und Seite „Galerie & Referenzen“ (.wand--lang, alle Fotos). Dunkle Fotowand, ruhiger Lichtkegel
   an der Maus (ohne Blitzen). Ohne Bewegung (Klasse js-bewegung fehlt): farbige Wand, kein Licht, normaler Mauszeiger.
   Seit 05.11.2026 nur noch auf der Startseite: Die Galerie-Seite zeigt die Fotos hell und farbig ohne Licht (Basti). */

.wand { --aus: cubic-bezier(.23, 1, .32, 1); position: relative; height: 100vh; min-height: 560px; overflow: hidden; background: var(--nacht); isolation: isolate; }
.wand__raster { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(9, 1fr); grid-auto-rows: calc(100% / 5); gap: 0; }   /* Fotos ohne Fugen (Ainara 12.11.2026, vorher 2 px) */
.wand__foto { display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: var(--nacht); overflow: hidden; }
.wand__foto img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
button.wand__foto { cursor: zoom-in; }
button.wand__foto:focus-visible { outline: 3px solid var(--violett-hell); outline-offset: -3px; position: relative; z-index: 2; }

/* Galerie-Seite: alle Fotos, Wand so lang wie nötig */
.wand--lang { height: auto; min-height: 0; }
.wand--lang .wand__raster { grid-template-columns: repeat(5, 1fr); grid-auto-rows: calc(100vw / 5 * .72); gap: 0; } /* große Fotos (Ainara); ohne Abstand (Basti 12.11.2026) */
.wand--lang .wand__dunkel { position: relative; inset: auto; }

/* nur mit Bewegung: unten dunkel, oben farbig im Lichtkegel */
.wand__licht, .wand__dunst, .wand__ring, .wand__tipp { display: none; }
/* dunkle Wand im Nachtblau der Seite statt schwarz (Ainara 03.11.): graue Fotos schwach auf Nachtblau */
.js-bewegung .wand__dunkel img { filter: grayscale(1) contrast(1.15); opacity: .2; }
.js-bewegung .wand__licht {
  display: grid; pointer-events: none; filter: saturate(1.25) brightness(1.08);
  -webkit-mask-image: radial-gradient(circle var(--r, 230px) at var(--x, 50%) var(--y, 50%), #000 35%, rgba(0, 0, 0, .55) 62%, transparent 100%);
  mask-image: radial-gradient(circle var(--r, 230px) at var(--x, 50%) var(--y, 50%), #000 35%, rgba(0, 0, 0, .55) 62%, transparent 100%);
}
.js-bewegung .wand__dunst { display: block; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; background: radial-gradient(circle calc(var(--r, 230px) * 1.6) at var(--x, 50%) var(--y, 50%), rgba(77, 42, 192, .2), transparent 70%); }

/* Galerie-Seite: Fotos hell und farbig, kein Lichtkegel, kein Ring, normaler Mauszeiger (05.11.2026, Basti über Ainara) */
.js-bewegung .wand--lang .wand__dunkel img { filter: none; opacity: 1; }
.js-bewegung .wand--lang .wand__licht, .js-bewegung .wand--lang .wand__dunst, .js-bewegung .wand--lang .wand__ring { display: none; }

/* Titel unten links, frei auf der abgedunkelten Wand (ohne Kasten dahinter, Ainara 03.11.) */
.wand__titel {
  position: absolute; z-index: 5; left: max(6vw, 110px); bottom: 7vh; display: inline-flex; align-items: flex-end; gap: .25em;
  padding: 18px 30px 14px 0;
  font: 700 clamp(44px, 6.4vw, 108px)/1.05 var(--oswald);   /* Zeilenabstand 1,05 statt .86 (Ainara 11.11.: „más interlineado“) */ letter-spacing: -.008em; text-transform: uppercase; color: #fff; transition: color .2s;
}
.wand__titel svg { width: .42em; height: .42em; margin-bottom: .08em; color: var(--violett); transition: transform .3s var(--aus); }
.wand__titel:hover { color: #fff; } /* bleibt immer weiß (Ainara 03.11.) */
.wand__titel:hover svg { transform: rotate(45deg); }
.js-bewegung .wand__tipp { display: block; position: absolute; z-index: 5; right: 5vw; bottom: 7vh; margin: 0; pointer-events: none; font: 500 12px/1 var(--oswald); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }

/* Ring am Mauszeiger (nur mit feiner Maus); über einem Foto zeigt er dessen Titel */
@media (hover: hover) and (pointer: fine) {
  .js-bewegung .wand, .js-bewegung .wand button.wand__foto { cursor: none; }
  .js-bewegung .wand__ring {
    display: grid; place-items: center; position: absolute; z-index: 6; left: 0; top: 0; width: 64px; height: 64px; margin: -32px 0 0 -32px;
    border: 1.5px solid rgba(255, 255, 255, .8); border-radius: 50%; pointer-events: none; opacity: 0;
    transition: width .25s var(--aus), height .25s var(--aus), margin .25s var(--aus), background-color .25s, opacity .25s;
  }
  .wand__ring span { width: max-content; max-width: 150px; text-align: center; overflow-wrap: anywhere; font: 500 10px/1.15 var(--oswald); letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; }
  .js-bewegung .wand.maus-da .wand__ring { opacity: 1; }
  /* Größe nach Titellänge (galerie-wand.js setzt --d), damit lange Titel wie „Hochzeit Fürstenfeldbruck“ im Kreis bleiben */
  .js-bewegung .wand.ueber-foto .wand__ring { width: var(--d, 104px); height: var(--d, 104px); margin: calc(var(--d, 104px) / -2) 0 0 calc(var(--d, 104px) / -2); background: rgba(225, 20, 112, .9); border-color: var(--violett); }
  .js-bewegung .wand.ueber-foto .wand__ring span { opacity: 1; }
  .js-bewegung .wand.ueber-link .wand__ring { opacity: 0; }
  .js-bewegung .wand .wand__titel { cursor: pointer; }
  .js-bewegung .wand--lang { cursor: auto; }
  .js-bewegung .wand--lang button.wand__foto { cursor: zoom-in; }
}

/* Großansicht */
.leuchtkasten { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(7, 10, 28); color: #fff; } /* deckend, die Seite scheint nicht durch */
.leuchtkasten::backdrop { background: transparent; }
/* In der Großansicht wieder normaler Mauszeiger (die Wand blendet ihn für den Ring aus; Ainara 03.11.) */
.js-bewegung .wand .leuchtkasten { cursor: default; }
.js-bewegung .wand .leuchtkasten button { cursor: pointer; }
.leuchtkasten[open] { display: flex; align-items: center; justify-content: center; }
.leuchtkasten figure { margin: 0; text-align: center; }
.leuchtkasten img { max-width: 86vw; max-height: 80vh; margin: 0 auto; border-radius: var(--ecke-foto, 6px); opacity: 0; transform: scale(.96); transition: opacity .45s, transform .7s var(--aus); }
.leuchtkasten img.ist-da { opacity: 1; transform: none; }
.leuchtkasten figcaption { margin-top: 16px; font: 500 12px/1.4 var(--oswald); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.leuchtkasten figcaption small { display: block; margin-top: 6px; font-size: 11px; color: rgba(255, 255, 255, .45); }
/* Schließen und Blättern als runde Glas-Knöpfe (04.11.2026, alle Knöpfe einheitlich) */
.leuchtkasten button { position: absolute; display: grid; place-items: center; width: 56px; height: 56px; padding: 0 0 4px; border: 0; border-radius: 50%; color: #fff; cursor: pointer; font: 300 32px/1 var(--poppins);
  background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); transition: background-color .25s; }
.leuchtkasten button:hover { background: rgba(255, 255, 255, .26); }
.leuchtkasten__zu { top: 18px; right: 18px; }
.leuchtkasten__pfeil--zurueck { left: 18px; top: 50%; transform: translateY(-50%); }
.leuchtkasten__pfeil--weiter { right: 18px; top: 50%; transform: translateY(-50%); }

/* Galerie-Seite: Fotos, die nur eine halbe letzte Reihe füllen würden, je Spaltenzahl ausblenden (GalerieWand.astro) */
@media (min-width: 1200px) { .wand--lang .wand__rest-5 { display: none; } }
@media (min-width: 768px) and (max-width: 1199px) { .wand--lang .wand__rest-3 { display: none; } }
@media (max-width: 767px) { .wand--lang .wand__rest-2 { display: none; } }
@media (max-width: 1199px) {
  .wand--lang .wand__raster { grid-template-columns: repeat(3, 1fr); grid-auto-rows: calc(100vw / 3 * .72); }
}
@media (max-width: 767px) {
  .wand { height: 100svh; }
  .wand__raster { grid-template-columns: repeat(4, 1fr); grid-auto-rows: calc(100% / 7); }
  .wand:not(.wand--lang) .wand__raster > :nth-child(n + 29) { display: none; }
  .wand--lang { height: auto; }
  .wand--lang .wand__raster { grid-template-columns: repeat(2, 1fr); grid-auto-rows: calc(100vw / 2 * .8); }
  .wand__titel { left: 20px; bottom: 6vh; font-size: 44px; }
  .js-bewegung .wand__tipp { display: none; }
}
