/* VEZ Initia · Landschaft und echte Produktansichten
 * Die Seite bleibt durchgehend auf Papier (Nutzerwunsch 2026-10-12: Initia ohne den Wechsel ins Schwarze; Tag und Nacht gibt es nur auf der Startseite).
 * Akzent der Seite ist das Initia-Grün (Knöpfe, Marken, Punktfigur); das VEZ-Gelb bleibt der Leiste. */
:root { --initia: #0FCE90; --initia-ink: #0A3D2C; }
.initia .btn--primary::before { background: var(--initia); }                 /* Hauptknöpfe der Initia-Seite malen sich grün aus */

/* A · Einstieg: Text als echte Inhalte über der Bühne */
.ihero__copy { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border-bottom: 1px solid var(--rule); }
.ihero__copy > * { padding: 30px 24px 30px; }
.ihero__l { border-right: 1px solid var(--rule); }
.ihero__l h1 { margin-top: 10px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: -.04em; line-height: .92; font-size: clamp(32px, 4.2vw, 58px); max-width: 15ch; text-wrap: balance; }
.ihero__r { display: grid; align-content: space-between; gap: 18px; }
.ihero__r p { color: var(--ink-2); font-size: 18px; max-width: 32em; }
.ini { display: inline-flex; align-items: center; gap: 8px; }
.ini img { width: 18px; height: auto; }

/* Startseite: gleiche Bühne als Sektion, h2 wie h1 gesetzt */
.ihero--home { border-bottom: 1px solid var(--rule); }
.ihero--home .ihero__l h2 { margin-top: 10px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: -.04em; line-height: .92; font-size: clamp(30px, 3.8vw, 52px); max-width: 15ch; text-wrap: balance; }

/* Bühne: nicht gepinnt, Ausmalung läuft mit dem ersten Scrollweg.
   Das Flusstal läuft randlos über die ganze Seitenbreite (aus dem 1440er-Raster heraus) und ist unten verankert,
   damit Fels und Marke stehen bleiben; bei niedrigen Fenstern fällt nur Himmel weg. Die Höhe passt in ein Fenster,
   bleibt aber mindestens 31,5 % der Breite, damit die große Ansicht die Marke nie verdeckt. */
.ihero .scene__stage { display: block; min-height: 0; }
.art--initia { aspect-ratio: 16 / 9; }
.art--initia .art__box { overflow: visible; }

/* Drei Originalansichten als Webebenen: Position/Breite in % der Bühne, Höhe aus dem Original */
.shots { position: absolute; inset: 0; pointer-events: none; }

@media (min-width: 861px) {
  .art--initia { --stage-h: clamp(max(420px, 31.5vw), calc(100svh - var(--nav) - 40px), min(56.25vw, 1000px)); aspect-ratio: auto; height: var(--stage-h); overflow: visible; }
  .art--initia .art__svg { position: absolute; top: 0; left: 50%; width: 100vw; height: 100%; max-width: none; max-height: none; margin-left: -50vw;
    -webkit-mask: linear-gradient(to bottom, transparent, #000 12%, #000 94%, transparent); mask: linear-gradient(to bottom, transparent, #000 12%, #000 94%, transparent); }
  /* Die Ansichten sitzen in einem 16:9-Feld in der Bühnenmitte (höchstens Rasterbreite); das Bild läuft dahinter weiter */
  .shots { inset: auto; top: 50%; left: 50%; width: min(100%, calc(var(--stage-h) * 16 / 9)); aspect-ratio: 16 / 9; transform: translate(-50%, -50%); }
}
/* Die Ansichten liegen in drei Tiefen (--t). Bewegt sich der Zeiger über die Bühne, verschieben sie sich leicht gegeneinander (initia.js setzt --px, --py von −1 bis 1):
   die vorderen weiter als die hintere. Die Ansicht unter dem Zeiger kommt nach vorn. */
.shot { --t: 0px; position: absolute; left: var(--x); top: var(--y); width: var(--w); z-index: var(--z); pointer-events: auto; display: block; border-radius: 8px; border: 1px solid rgba(30, 30, 28, .22); background: #fff; box-shadow: 0 1px 2px rgba(30, 30, 28, .12), 0 18px 40px -18px rgba(30, 30, 28, .45); overflow: hidden; }
.shot img { display: block; width: 100%; height: auto; }
.shot--1 { --x: 23%; --y: 8%; --w: 58%; --z: 20; --t: 7px; } .shot--2 { --x: 4.5%; --y: 37%; --w: 36%; --z: 30; --t: 16px; } .shot--3 { --x: 64%; --y: 49%; --w: 32%; --z: 40; --t: 24px; }
.shot--2 { box-shadow: 0 1px 2px rgba(30, 30, 28, .14), 0 26px 48px -20px rgba(30, 30, 28, .55); }
.shot:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* Auftritt nach dem Poster: vor dem Auftritt unsichtbar und 16 px tiefer (0.985), dann in 500 ms versetzt an die Endlage — als Übergang, kein Sprung */
.shot { opacity: 0; transform: translateY(16px) scale(.985); transition: opacity 500ms cubic-bezier(.2, .7, .2, 1), transform 500ms cubic-bezier(.2, .7, .2, 1), box-shadow 300ms ease; }
.shots.is-in .shot { opacity: 1; transform: translate(calc(var(--px, 0) * var(--t)), calc(var(--py, 0) * var(--t) * .7)); }
.shots.is-in .shot--2 { transition-delay: 90ms; } .shots.is-in .shot--3 { transition-delay: 160ms; }
.shots.is-frei .shot { transition: opacity 500ms cubic-bezier(.2, .7, .2, 1), transform 260ms cubic-bezier(.2, .7, .2, 1), box-shadow 300ms ease; transition-delay: 0ms; }   /* nach dem Auftritt folgen sie dem Zeiger ohne Verzug */
.shots.is-in .shot:hover { z-index: 50; transform: translate(calc(var(--px, 0) * var(--t)), calc(var(--py, 0) * var(--t) * .7 - 4px)) scale(1.025); transition-delay: 0ms; box-shadow: 0 1px 2px rgba(30, 30, 28, .14), 0 30px 56px -22px rgba(30, 30, 28, .6); }

/* Marke im Fels: Originalzeichen an der Felsfläche, grün ab Erreichen der Ausmalkante */
.inlay { --x: 47%; --y: 87%; --w: 10%; position: absolute; left: var(--x); top: var(--y); width: var(--w); transform: translate(-50%, -50%); pointer-events: none; z-index: 10; }
.inlay__green { display: block; width: 100%; height: auto; opacity: 0; transition: opacity 500ms ease; }
.inlay__green.is-on { opacity: 1; }

/* „Erfahre mehr“ malt sich beim Darüberfahren aus (Startseite) */
.paint { position: relative; display: inline-grid; grid-template-columns: auto auto; align-items: center; gap: 12px; min-width: 200px; height: 54px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 2px; background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; overflow: hidden; isolation: isolate; }
.paint__fill { position: absolute; inset: 0; background: var(--initia); z-index: 0; clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
.paint__label, .paint__arrow { position: relative; z-index: 1; }
.paint__arrow { transition: transform 360ms ease; }
.paint.is-full .paint__arrow, .paint.is-filling .paint__arrow { transform: translateX(3px); }
.paint:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.paint--yellow .paint__fill { background: var(--yellow); }   /* Loop-Gelb fuer die Leistungs-Sektion */
@media (hover: none) { .paint__fill { clip-path: none !important; } }

/* C · Einblicke
   Grundform (ohne Skript, schmale Fenster): die drei Ansichten stehen untereinander, je Text und Bild.
   Mit Skript ab 981 px: eine Bühne, die ein Fenster füllt. Links die drei Ansichten als Wortliste (die gewählte klappt auf), rechts ihr Bild; der Wechsel
   malt das neue Bild über das alte. Ein Stichwort holt seine Stelle heran: das Bild fährt hinein, ein gezeichneter Rahmen (.rahmen, heron.css) markiert
   sie, der Rest tritt zurück. */
.einblicke { border-bottom: 1px solid var(--rule); scroll-margin-top: var(--nav); }
.einblicke__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; padding: 18px 24px 16px; border-bottom: 1px solid var(--rule); }
.einblicke__head h2 { font-weight: 400; }
.einblicke__hint::before { content: "↳ "; color: var(--ink); }
.kap { border-bottom: 1px solid var(--rule); scroll-margin-top: calc(var(--nav) + 8px); }
.kap:last-child { border-bottom: 0; }
.kap__text { padding: 26px 24px 20px; }
.kap__kopf { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: baseline; }
.kap__no { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .12em; color: var(--ink-2); transition: color 200ms ease; }
.kap__w { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.045em; line-height: .92; font-size: clamp(28px, 3.3vw, 48px); transition: color 200ms ease, transform 320ms cubic-bezier(.2, .7, .2, 1); }
.kap__pfeil { display: none; font-size: 22px; font-weight: 400; line-height: 1; }
.kap__in > * { margin-left: 44px; }
.kap__in p { margin-top: 12px; color: var(--ink-2); max-width: 30em; }
.kap__in strong { color: var(--ink); font-weight: 600; }
.belege { display: grid; justify-items: start; margin-top: 10px; }
.belege button { display: inline-flex; align-items: center; gap: 10px; min-height: 30px; margin: 0; padding: 0; border: 0; background: none; color: var(--ink-2); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; text-align: left; cursor: pointer; transition: color 160ms ease; }
.belege button::before { content: ""; flex: none; width: 7px; height: 7px; border: 1px solid var(--initia); border-radius: 50%; transition: background-color 160ms ease, transform 260ms cubic-bezier(.3, 1.5, .5, 1); }
.belege button:is(:hover, :focus-visible, .is-on) { color: var(--ink); }
.belege button.is-on::before { background: var(--initia); transform: scale(1.3); }
.belege button:focus-visible { outline-offset: 4px; }
.einblicke:not(.is-js) .belege button { cursor: default; }
.kap__shot { padding: 0 24px 26px; }
.kap__bild { position: relative; aspect-ratio: 1671 / 882; border: 1px solid rgba(30, 30, 28, .22); box-shadow: 0 1px 2px rgba(30, 30, 28, .1), 0 26px 52px -26px rgba(30, 30, 28, .42); }   /* helle Ansicht auf Papier: feiner Rand und ein Schatten heben sie ab (wie die Ansichten im Einstieg) */
.kap__wisch { position: absolute; inset: 0; overflow: hidden; background: #F6F7F9; }                    /* Ausschnitt des Bildes; auf der Bühne die Fläche, die sich beim Wechsel ausmalt */
.einblicke.is-js .kap__bild { cursor: zoom-in; }
.kap__zug { --zs: 1; --tx: 0%; --ty: 0%; position: absolute; inset: 0; transform-origin: 0 0; transform: translate(var(--tx), var(--ty)) scale(var(--zs)); transition: transform 760ms cubic-bezier(.3, 0, .1, 1); }
.kap__zug img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.kap__marke { --c: var(--initia); --d: calc(1.7px / var(--zs)); --o: calc(9px / var(--zs)); z-index: 2; transition-duration: 760ms, 760ms, 760ms, 760ms, 260ms; transition-timing-function: cubic-bezier(.3, 0, .1, 1), cubic-bezier(.3, 0, .1, 1), cubic-bezier(.3, 0, .1, 1), cubic-bezier(.3, 0, .1, 1), cubic-bezier(.6, 0, .8, .4); }
.kap__marke.is-da { transition-duration: 760ms, 760ms, 760ms, 760ms, 620ms; transition-timing-function: cubic-bezier(.3, 0, .1, 1), cubic-bezier(.3, 0, .1, 1), cubic-bezier(.3, 0, .1, 1), cubic-bezier(.3, 0, .1, 1), cubic-bezier(.3, .7, .1, 1); transition-delay: 0ms, 0ms, 0ms, 0ms, 220ms; }
.kap__dunkel { --x: 0%; --y: 0%; --w: 100%; --h: 100%; position: absolute; z-index: 1; left: var(--x); top: var(--y); width: var(--w); height: var(--h); box-shadow: 0 0 0 300vmax rgba(30, 30, 28, .42); opacity: 0; pointer-events: none;
  transition: left 760ms cubic-bezier(.3, 0, .1, 1), top 760ms cubic-bezier(.3, 0, .1, 1), width 760ms cubic-bezier(.3, 0, .1, 1), height 760ms cubic-bezier(.3, 0, .1, 1), opacity 320ms ease; }
.kap.is-nah .kap__dunkel { opacity: 1; }
.kap__zoom { display: block; margin: 10px 0 0 auto; padding: 4px 0; border: 0; background: none; color: var(--ink-2); cursor: pointer; transition: color 160ms ease; }
.kap__zoom::after { content: " ↗"; }
.kap__zoom:hover { color: var(--ink); }

@media (min-width: 981px) {
  .einblicke.is-js { display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: min(calc(100svh - var(--nav)), 58vw, 835px); }   /* füllt ein Fenster, aber nie höher, als das Bild trägt (hohe oder schmale Fenster blieben sonst halb leer) */
  .is-js .einblicke__buehne { display: grid; align-self: center; grid-template-columns: minmax(0, 36fr) minmax(0, 64fr); grid-template-rows: auto auto auto minmax(0, 1fr); column-gap: 44px; padding: 18px 24px 20px; }
  .is-js .kap { display: contents; }
  .is-js .kap__text { grid-column: 1; padding: 0; border-top: 1px solid var(--rule); }
  .is-js .kap:nth-child(1) .kap__text { grid-row: 1; } .is-js .kap:nth-child(2) .kap__text { grid-row: 2; } .is-js .kap:nth-child(3) .kap__text { grid-row: 3; border-bottom: 1px solid var(--rule); }
  .is-js .kap__text { container-type: inline-size; }
  .is-js .kap__kopf { column-gap: 12px; grid-template-columns: 32px minmax(0, 1fr) auto; padding: 16px 0 14px; cursor: pointer; outline-offset: 2px; }
  .is-js .kap__w { font-size: clamp(22px, calc((100cqw - 96px) / 8.9), 46px); white-space: nowrap; }   /* das längste Wort („Auswertungen" ≈ 8,7 em) passt immer neben Nummer und Pfeil */
  .is-js .kap__pfeil { display: block; align-self: center; opacity: 0; transform: translateX(-10px); transition: opacity 200ms ease, transform 320ms cubic-bezier(.2, .7, .2, 1); }
  .is-js .kap__w { color: var(--ink-2); }
  .is-js .kap.is-on .kap__w { color: var(--ink); }
  .is-js .kap.is-on .kap__no { color: var(--ink); }
  .is-js .kap.is-on .kap__pfeil { opacity: 1; transform: none; }
  .is-js .kap__mehr { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 460ms cubic-bezier(.3, 0, .2, 1); }
  .is-js .kap.is-on .kap__mehr { grid-template-rows: 1fr; }
  .is-js .kap__in { min-height: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity 200ms ease, visibility 0s linear 460ms; }
  .is-js .kap.is-on .kap__in { opacity: 1; visibility: visible; transition: opacity 380ms ease 160ms, visibility 0s; }
  .is-js .kap__in p { margin-top: 0; }
  .is-js .kap__in > :last-child { margin-bottom: 18px; }
  /* rechts liegen die drei Bilder übereinander; das gewählte malt sich von links über das vorige (das bleibt stehen, bis es verdeckt ist) */
  .is-js .kap__shot { grid-column: 2; grid-row: 1 / -1; align-self: start; justify-self: end; width: min(100%, calc((100svh - var(--nav) - 150px) * 1.895)); padding: 0; z-index: 1; visibility: hidden; pointer-events: none; transition: visibility 0s linear 660ms; }
  .is-js .kap.is-vor .kap__shot { z-index: 2; }
  .is-js .kap.is-on .kap__shot { z-index: 3; visibility: visible; pointer-events: auto; transition: visibility 0s; }
  .is-js .kap__wisch { clip-path: polygon(0 0, 0 0, 0 50%, 0 100%, 0 100%); transition: clip-path 0s linear 660ms; }
  .is-js .kap.is-on .kap__wisch { clip-path: polygon(0 0, 114% 0, 106% 50%, 114% 100%, 0 100%); transition: clip-path 640ms cubic-bezier(.3, 0, .2, 1); }
  .is-js .kap:not(.is-on) .kap__zoom { visibility: hidden; }                                             /* nur die Zeile der gewählten Ansicht */
}

/* D · Stand: Aussage und Einordnung links, rechts das Zeichen als Punktfigur (punkte.js, Figur „initia", hier in Tinte auf Papier; steht still und bewegt sich nur unter dem Zeiger) */
.stand { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: min(calc(100svh - var(--nav) - 102px), 44vw, 620px); border-bottom: 1px solid var(--rule); }   /* mit dem Seitenfuß (rund 102 px) zusammen höchstens ein Fenster */
.stand__l { display: grid; align-content: center; justify-items: start; gap: 18px; padding: 32px 24px; }
.stand__l h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.045em; line-height: .92; font-size: clamp(26px, 2.9vw, 44px); }
.stand__l .punkte { font-size: 16px; }
.stand__l .copy__row { margin-top: 6px; }
.stand__r { position: relative; min-height: 300px; border-left: 1px solid var(--rule); }
.stand__fig { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; transform: scale(.97); transition: opacity 760ms ease 140ms, transform 1000ms cubic-bezier(.16, 1, .3, 1) 140ms;
  -webkit-mask: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent); -webkit-mask-composite: source-in;
  mask: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent); mask-composite: intersect; }
.stand__r.is-live .stand__fig { opacity: 1; transform: none; }                                      /* erscheint, wenn der Abschnitt ins Fenster kommt */
.stand__hint { position: absolute; right: 24px; bottom: 16px; }
.stand__hint::before { content: "↳ "; color: var(--ink); }

/* Vergrößerte Ansicht */
.zoom { border: 1px solid var(--ink); border-radius: 8px; padding: 0; background: var(--paper); color: var(--ink); max-width: min(96vw, 1720px); width: 96vw; }
.zoom::backdrop { background: rgba(30, 30, 28, .55); }
.zoom__bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--rule); }
.zoom img { display: block; width: 100%; height: auto; max-height: calc(100svh - 120px); object-fit: contain; }

@media (max-width: 860px) {
  .ihero__copy { grid-template-columns: 1fr; }
  .ihero__l { border-right: 0; border-bottom: 1px solid var(--rule); }
  .art--initia { aspect-ratio: 4 / 5; max-height: none; min-height: 0; }
  .art--initia .art__box { overflow: hidden; }
  .shot--1 { --x: 9%; --y: 10%; --w: 82%; } .shot--2 { --x: 3%; --y: 46%; --w: 55%; } .shot--3 { --x: 47%; --y: 56%; --w: 50%; }   /* Inlay im unteren Felsbereich bleibt frei */
  .inlay { --x: 20%; --y: 86%; --w: 18%; }
  .einblicke__head { padding: 16px 20px 14px; }
  .kap__text { padding: 22px 20px 18px; }
  .kap__kopf { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .kap__in > * { margin-left: 34px; }
  .belege button { min-height: 40px; }
  .kap__shot { padding: 0 20px 22px; }
  .stand { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .stand__l { padding: 40px 20px 28px; }
  .stand__r { min-height: 0; aspect-ratio: 4 / 3; border-left: 0; border-top: 1px solid var(--rule); }
  .stand__hint { right: 20px; bottom: 12px; }
}
@media (min-width: 861px) and (max-height: 700px) {
  .stand__l { gap: 13px; padding: 24px 24px; }
  .stand__l .punkte { font-size: 15px; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .shot { opacity: 1; transform: none; transition: none; }
  .paint__fill { transition: clip-path 1ms; }
  .inlay__green { transition: none; }
  .kap__zug, .kap__dunkel, .kap__wisch, .kap__mehr, .kap__in, .kap__shot, .kap__w, .kap__pfeil, .stand__fig { transition: none !important; }
}
