/* ==========================================================================
   Abschnitt EINSTIEG (Präfix e-) · id hero · Fläche dunkel · Fassung 3
   Besitz: Builder «einstieg». Drei Wege über data-e-weg (einstieg.js):
     still  Grundzustand im HTML (ohne JavaScript, «Bewegung reduzieren», ohne WebGL): ruhiges Schlussbild.
     3d     Computer: klebende Bühne, 400vh Scrollweg, Ebenen über und unter der 3D-Fläche.
     handy  Handy, Tablet hochkant, flache Fenster: kein WebGL, kein Kleben; die echte Handyseite des Kunden
            schrumpft beim Scrollen zur Karte vor «Ihre beste Seite.». Das Handy-Layout gilt auch ohne JavaScript.
   Violett ist nur Licht (Leuchten, Kanten); Text auf Dunkel in Elfenbein, Grau oder Flieder. Gold nur in der 7 (auf dem Glas).
   Änderungen 22.10.: Unterzeile (.e-sub) und Vertrauenszeile (.e-vertrauen) sind gestrichen. Unter Titel oder Pointe
   stehen nur noch Knöpfe und Telefon; das Etikett zum Kundenprojekt steht mittig im freien Raum darunter.
   ========================================================================== */
.e-einstieg {
  --e-gr: clamp(64px, min(10.6vw, 18vh), 172px);       /* «Ihre beste Seite.» */
  --e-flieder-hell: #CDB8FA;
  --licht-x: 74%; --licht-y: 36%; --licht-b: 64%; --licht-h: 60%; --licht-a: .3;
  padding-top: calc(var(--kopf-h) + clamp(36px, 7vh, 88px));
  padding-bottom: var(--luft-l);
}
.e-buehne { position: relative; min-width: 0; }

/* ---------- gemeinsame Schrift ---------- */
.e-titel { font-family: var(--f-display); color: var(--elfenbein); margin: 0; }
.e-titel .e-dach-a { font-weight: 800; letter-spacing: -.045em; }
.e-titel .e-dach-b { font-weight: 200; letter-spacing: -.03em; }
.e-knoepfe { margin-top: clamp(20px, 2.6vh, 28px); }
.e-fuer { font: 500 15px/1.4 var(--f-text); color: var(--flieder); letter-spacing: .005em; }
.e-anrufen { margin-top: 16px; font: 400 16px/1.5 var(--f-text); color: var(--grau-dunkel); }
.e-anrufen a { color: var(--elfenbein); font-weight: 600; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--flieder); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
.e-anrufen a:hover { color: var(--flieder); }
.e-pointe { font-family: var(--f-display); font-size: var(--e-gr); line-height: .92; color: var(--elfenbein); white-space: nowrap; margin: 0; }
.e-pointe .e-ihre { display: block; font-weight: 200; letter-spacing: -.045em; }
.e-pointe .e-seite { display: block; font-weight: 800; letter-spacing: -.05em; }
.e-projekt { display: flex; align-items: baseline; gap: 12px; max-width: 27rem; font: 400 16px/1.5 var(--f-text); color: var(--grau-dunkel); }
.e-projekt-a { font-weight: 600; color: var(--flieder); margin-right: .25em; }
.e-punkt { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--flieder); box-shadow: 0 0 12px rgba(181, 151, 245, .9); transform: translateY(-2px); }
.e-drei-nr { display: block; font: 500 var(--t-etikett)/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--flieder); }
.e-drei-nr b { font-weight: 500; color: var(--grau-dunkel); margin-right: .7em; }
.e-drei-wort { display: block; font: 700 clamp(44px, 5.4vw, 88px)/.98 var(--f-display); letter-spacing: -.04em; color: var(--elfenbein); }
.e-drei-satz { display: block; font: 400 clamp(18px, 1.3vw, 21px)/1.45 var(--f-text); color: var(--elfenbein); max-width: 34rem; }

/* Ebenen, die nur im 3D-Weg leben */
.e-raum, .e-startbild, .e-szene, .e-film, .e-film-dunkel, .e-linie, .e-deckelschatten, .e-korn, .e-naht { display: none; }
.e-handy { display: none; margin: 0; }

/* ---------- STILL (Computer): ruhiges Schlussbild ---------- */
.e-einstieg:not([data-e-weg="3d"]) .e-buehne { display: grid; grid-template-columns: var(--raster); align-items: start; }
.e-einstieg:not([data-e-weg="3d"]) .e-buehne > * { grid-column: inhalt; }
/* Änderungen 22.10.: Die Textspalte ist kürzer als der Laptop daneben. Den Überschuss nimmt nur die Zeile des Etiketts
   (1fr), sonst rückten Dachzeile, Titel und Knöpfe auseinander; das Etikett steht mittig darin, wie im Film.
   Am Handy (unten) wieder ohne feste Zeilen. */
.e-einstieg:not([data-e-weg="3d"]) .e-buehne { grid-template-rows: auto auto auto 1fr auto; }
/* Review 17.10.: «still» am Computer hat dieselbe Anordnung wie der Anfang des Films. Fällt WebGL aus, tauscht sich
   nur das Bild rechts, nie die Überschrift. */
.e-einstieg:not([data-e-weg="3d"]) .e-fuer { grid-row: 1; position: relative; z-index: 3; margin-bottom: 14px; }
.e-einstieg:not([data-e-weg="3d"]) .e-titel { grid-row: 2; position: relative; z-index: 3; font: 400 clamp(52px, min(5.9vw, 10.6vh), 104px)/.92 var(--f-display); color: var(--elfenbein); }
.e-einstieg:not([data-e-weg="3d"]) .e-titel .e-dach-a { display: block; font-weight: 800; letter-spacing: -.045em; }
.e-einstieg:not([data-e-weg="3d"]) .e-titel .e-dach-b { display: block; font-weight: 200; letter-spacing: -.03em; }
.e-einstieg:not([data-e-weg="3d"]) .e-ort { display: none; }
.e-einstieg:not([data-e-weg="3d"]) .e-text { grid-row: 3; margin-top: clamp(22px, 3.6vh, 40px); position: relative; z-index: 3; max-width: min(31rem, 40vw); }
.e-einstieg:not([data-e-weg="3d"]) .e-projekt { grid-row: 4; align-self: center; margin-block: clamp(28px, 4vh, 40px); position: relative; z-index: 3; }
.e-einstieg:not([data-e-weg="3d"]) .e-drei { grid-row: 5; margin-top: var(--luft-l); }
/* rechts der Laptop (vorgerechnetes Bild), wie im Anfang des Films; die Textspalte bleibt frei */
.e-laptop { margin: 0; }
.e-einstieg:not([data-e-weg="3d"]) .e-laptop {
  --e-lb: min(62vw, 1060px);
  grid-column: inhalt-start / voll-end; grid-row: 1 / span 4; align-self: center; justify-self: end;
  z-index: 1; position: relative; pointer-events: none;
  width: var(--e-lb); margin-right: calc(var(--e-lb) * -.05);
  filter: drop-shadow(-24px 16px 24px rgba(8, 2, 12, .55));
}
.e-einstieg:not([data-e-weg="3d"]) .e-laptop::before {   /* das eine Licht hinter dem Gerät */
  content: ""; position: absolute; z-index: -1; left: 10%; top: 0; width: 90%; height: 90%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(122, 59, 216, .3), rgba(122, 59, 216, .1) 55%, rgba(122, 59, 216, 0));
}
.e-laptop img { width: 100%; height: auto; }
.e-einstieg:not([data-e-weg="3d"]) .e-drei { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--spalt); border-top: 1px solid var(--linie); padding-top: clamp(24px, 3vw, 40px); }
.e-einstieg:not([data-e-weg="3d"]) .e-drei-punkt { display: grid; gap: 12px; align-content: start; }
.e-einstieg:not([data-e-weg="3d"]) .e-drei-wort { font-size: clamp(36px, 4vw, 64px); margin-top: 6px; }

/* ---------- 3D: klebende Bühne ---------- */
.e-einstieg[data-e-weg="3d"] { padding: 0; height: 500vh; }
.e-einstieg[data-e-weg="3d"] .e-buehne {
  --e-dach-gr: clamp(52px, min(5.9vw, 10.6vh), 104px);
  --e-gr: min(11.4vw, 19.5vh, 186px);
  --e-oben: calc(var(--kopf-h) + clamp(28px, 8.5vh, 104px));
  --e-pt: calc(var(--kopf-h) + clamp(40px, 8.6vh, 104px));
  display: block; position: sticky; top: 0; align-self: start; height: 100vh; overflow: hidden;
  background: radial-gradient(110% 90% at 50% 44%, #22092a 0%, #190620 40%, #0e0313 74%, #070109 100%);
}
.e-einstieg[data-e-weg="3d"] .e-raum, .e-einstieg[data-e-weg="3d"] .e-startbild, .e-einstieg[data-e-weg="3d"] .e-szene,
.e-einstieg[data-e-weg="3d"] .e-film, .e-einstieg[data-e-weg="3d"] .e-film-dunkel, .e-einstieg[data-e-weg="3d"] .e-linie, .e-einstieg[data-e-weg="3d"] .e-deckelschatten,
.e-einstieg[data-e-weg="3d"] .e-korn { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
/* Das violette Licht im Raum folgt dem Laptop. Glätten 19.10.: ein fester Verlauf auf eigener Ebene, den einstieg.js
   nur verschiebt (--e-gx, --e-gy in px) und abblendet (--e-glow); früher wanderte die Mitte des Verlaufs, und die ganze
   Fläche wurde jedes Bild neu gemalt. Gleiche Form: die Ellipse 36 % x 34 % einer Fläche von 120 % (inset -10 %), also
   86,4 % x 81,6 % der Bühne, mit der Mitte im Ursprung; ohne Wert steht sie wie früher bei 66 % / 44 %. */
.e-einstieg[data-e-weg="3d"] .e-raum::before {
  content: ""; position: absolute; left: -43.2%; top: -40.8%; width: 86.4%; height: 81.6%;
  background: radial-gradient(closest-side, rgba(122, 59, 216, .44) 0%, rgba(106, 47, 196, .14) 46%, rgba(106, 47, 196, 0) 74%);
  opacity: var(--e-glow, .6);
  transform: translate3d(var(--e-gx, 80.09%), var(--e-gy, 52.45%), 0);
  will-change: transform, opacity;
}
/* Naht zum nächsten Abschnitt: am Ende läuft die Bühne unten weich in die Nachtfarbe aus (dort beginnt «Beispiel»).
   Eigenes Element statt ::after der Bühne, damit der Wert nicht an die ganze Bühne vererbt wird. */
.e-einstieg[data-e-weg="3d"] .e-naht { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; z-index: 5; pointer-events: none; background: linear-gradient(180deg, rgba(40, 10, 46, 0), var(--nacht) 92%); opacity: var(--e-o, 0); will-change: opacity; }
.e-einstieg[data-e-weg="3d"] .e-raum::after { content: ""; position: absolute; inset: 0; background: radial-gradient(130% 110% at 50% 45%, rgba(8, 2, 10, 0) 55%, rgba(8, 2, 10, .55) 100%); }
.e-einstieg[data-e-weg="3d"] .e-startbild {
  background: #0b030d image-set(url("/assets/img/digital-v3/einstieg/start-1600.avif") type("image/avif") 1x, url("/assets/img/digital-v3/einstieg/start-1600.webp") type("image/webp") 1x) right center / cover no-repeat;
  transition: opacity .9s var(--kurve);
}
@media (min-width: 1700px), (min-resolution: 1.5dppx) and (min-width: 1100px) {
  .e-einstieg[data-e-weg="3d"] .e-startbild { background-image: image-set(url("/assets/img/digital-v3/einstieg/start-2400.avif") type("image/avif") 1x, url("/assets/img/digital-v3/einstieg/start-2400.webp") type("image/webp") 1x); }
}
.e-einstieg[data-e-weg="3d"].e-3d-bereit .e-startbild { opacity: 0; }
.e-einstieg[data-e-weg="3d"] .e-szene { z-index: 3; opacity: 0; transition: opacity .9s var(--kurve); }
.e-einstieg[data-e-weg="3d"].e-3d-bereit .e-szene { opacity: 1; }
.e-einstieg[data-e-weg="3d"] .e-film { z-index: 4; opacity: var(--e-o, 0); pointer-events: none; will-change: opacity; }
.e-einstieg[data-e-weg="3d"] .e-film-bild { position: absolute; inset: 0; width: 100%; height: 100%; }
.e-einstieg[data-e-weg="3d"] .e-film-dunkel {
  z-index: 5; pointer-events: none; opacity: var(--e-o, 0); will-change: opacity;
  background:
    linear-gradient(90deg, rgba(12, 3, 14, .92) 0%, rgba(18, 4, 22, .78) 28%, rgba(40, 10, 46, .3) 52%, rgba(40, 10, 46, 0) 70%),
    linear-gradient(0deg, rgba(12, 3, 14, .55) 0%, rgba(12, 3, 14, 0) 30%),
    linear-gradient(180deg, rgba(12, 3, 14, .6) 0%, rgba(12, 3, 14, 0) 22%);
}
.e-einstieg[data-e-weg="3d"] .e-korn { z-index: 7; pointer-events: none; background: url("/assets/img/korn.png") 0 0 / 192px 192px repeat; opacity: .085; mix-blend-mode: overlay; }
/* Glätten 19.10.: das Korn der Sektion (.g-korn::after, ganze 500vh, mit Mischmodus) liegt im 3D-Weg ganz unter der
   deckenden Bühne und ist nie zu sehen; ohne es fällt eine grosse Mischebene weg. Die unterste Stufe des Wächters
   (sehr langsame Rechner) lässt auch das Korn der Bühne weg. */
.e-einstieg[data-e-weg="3d"]::after { display: none; }
.e-einstieg[data-e-weg="3d"].e-ohne-korn .e-korn { display: none; }
.e-einstieg[data-e-weg="3d"] .e-deckelschatten { z-index: 2; overflow: visible; pointer-events: none; opacity: var(--e-o, 0); }
.e-deckelschatten polygon { fill: rgba(5, 1, 9, .85); }
.e-einstieg[data-e-weg="3d"] .e-linie { z-index: 6; overflow: visible; pointer-events: none; opacity: var(--e-o, 0); }
.e-linie line { stroke: rgba(181, 151, 245, .62); stroke-width: 1; }
.e-linie circle { fill: var(--flieder); stroke: rgba(20, 5, 24, .7); stroke-width: 2; }

/* Text im 3D-Weg: absolut an der einen linken Kante */
.e-einstieg[data-e-weg="3d"] .e-titel, .e-einstieg[data-e-weg="3d"] .e-text, .e-einstieg[data-e-weg="3d"] .e-projekt,
.e-einstieg[data-e-weg="3d"] .e-drei, .e-einstieg[data-e-weg="3d"] .e-pointe {
  position: absolute; left: var(--kante); z-index: 6;
}
.e-einstieg[data-e-weg="3d"] .e-fuer { display: none; }
.e-einstieg[data-e-weg="3d"] .e-titel {
  top: var(--e-oben); font-size: var(--e-dach-gr); line-height: .92;
  transform: translate3d(0, var(--e-y, 0px), 0);
}
/* «Websites» bleibt blass stehen, während der Bildschirm den Satz ergänzt («für Tischlereien.»), «für Betriebe.» geht */
.e-einstieg[data-e-weg="3d"] .e-titel .e-dach-a { opacity: var(--e-oa, 1); }
.e-einstieg[data-e-weg="3d"] .e-titel .e-dach-b { opacity: var(--e-ob, 1); }
.e-einstieg[data-e-weg="3d"] .e-titel .e-dach-a, .e-einstieg[data-e-weg="3d"] .e-titel .e-dach-b { display: block; }
.e-einstieg[data-e-weg="3d"] .e-text {
  top: calc(var(--e-oben) + var(--e-dach-gr) * 1.84 + clamp(22px, 3.6vh, 40px)); width: min(31rem, 38vw);
  opacity: var(--e-o, 1); transform: translate3d(0, var(--e-y, 0px), 0);
}
.e-einstieg[data-e-weg="3d"] .e-projekt { top: var(--e-top, 72vh); max-width: min(26rem, 33vw); opacity: calc(var(--e-o, 1) * var(--e-platz, 1)); }
.e-einstieg[data-e-weg="3d"] .e-ort { display: contents; }
.e-einstieg[data-e-weg="3d"] .e-pointe {
  z-index: 1; left: calc(var(--kante) - .035em); top: var(--e-pt); font-size: var(--e-gr);
  transform: scale(var(--e-s, 1)); transform-origin: 0 0;
}
.e-einstieg[data-e-weg="3d"] .e-ihre { opacity: var(--e-o, 0); }
.e-einstieg[data-e-weg="3d"] .e-seite { clip-path: inset(-.2em -.3em 0 -.1em); }
.e-einstieg[data-e-weg="3d"] .e-seite-i { display: block; transform: translate3d(0, calc((1 - var(--e-z, 0)) * 1.02em), 0); }
.e-einstieg[data-e-weg="3d"] .e-laptop { display: none; }
/* Schluss: der Titel wird zur Dachzeile über «Ihre beste Seite.», der Text steht darunter */
.e-einstieg[data-e-weg="3d"] .e-buehne[data-e-akt="schluss"] .e-titel {
  top: calc(var(--e-pt) - 2em); font: 500 clamp(16px, 1.25vw, 20px)/1.3 var(--f-display); letter-spacing: -.01em; color: var(--flieder);
}
.e-einstieg[data-e-weg="3d"] .e-buehne[data-e-akt="schluss"] .e-titel .e-dach-a, .e-einstieg[data-e-weg="3d"] .e-buehne[data-e-akt="schluss"] .e-titel .e-dach-b { display: inline; font-weight: 600; letter-spacing: -.01em; }
.e-einstieg[data-e-weg="3d"] .e-buehne[data-e-akt="schluss"] .e-titel .e-dach-b { font-weight: 300; }
.e-einstieg[data-e-weg="3d"] .e-buehne[data-e-akt="schluss"] .e-text { top: calc(var(--e-pt) + var(--e-gr) * 1.84 + clamp(22px, 3.4vh, 40px)); }
/* drei Wörter über dem Film: hinter einer Maske, von unten mit der Kugel */
.e-einstieg[data-e-weg="3d"] .e-drei { top: 50%; transform: translateY(-44%); display: grid; gap: clamp(16px, 3vh, 34px); pointer-events: none; opacity: var(--e-o, 1); }
.e-einstieg[data-e-weg="3d"] .e-drei-punkt { display: grid; gap: 8px; }
.e-einstieg[data-e-weg="3d"] .e-drei-wort {
  font-size: clamp(48px, min(6.2vw, 10vh), 104px); text-shadow: 0 2px 34px rgba(12, 3, 14, .5);
  clip-path: inset(-.06em -.3em -.08em -.1em);
}
.e-einstieg[data-e-weg="3d"] .e-drei-wort-i { display: block; transform: translate3d(0, calc((1 - var(--e-z, 0)) * 1.06em - var(--e-x, 0) * 1.4em), 0); }
.e-einstieg[data-e-weg="3d"] .e-drei-nr { opacity: calc(var(--e-z, 0) * (1 - min(1, var(--e-x, 0) * 3))); }
.e-einstieg[data-e-weg="3d"] .e-drei-satz {
  opacity: calc(var(--e-zs, 0) * (1 - min(1, var(--e-x, 0) * 3))); transform: translate3d(calc((1 - var(--e-zs, 0)) * -14px), 0, 0);
  text-shadow: 0 1px 18px rgba(12, 3, 14, .7);
}

/* ---------- HANDY (auch ohne JavaScript) ---------- */
@media (max-width: 767px), (max-height: 500px), (orientation: portrait) and (max-width: 1099px) {
  .e-einstieg:not([data-e-weg="3d"]) { padding-top: calc(var(--kopf-h) + 22px); padding-bottom: var(--luft-l); }
  .e-einstieg:not([data-e-weg="3d"]) .e-buehne { grid-template-rows: none; }
  .e-einstieg:not([data-e-weg="3d"]) .e-fuer { grid-row: auto; margin-bottom: 12px; }
  .e-einstieg:not([data-e-weg="3d"]) .e-titel { grid-row: auto; font: 400 clamp(40px, 11.2vw, 64px)/.94 var(--f-display); color: var(--elfenbein); }
  .e-einstieg:not([data-e-weg="3d"]) .e-titel .e-dach-a { display: block; font-weight: 800; letter-spacing: -.045em; }
  .e-einstieg:not([data-e-weg="3d"]) .e-titel .e-dach-b { display: block; font-weight: 200; letter-spacing: -.035em; }
  .e-einstieg:not([data-e-weg="3d"]) .e-text { grid-row: auto; margin-top: 18px; max-width: none; }
  .e-einstieg:not([data-e-weg="3d"]) .e-knoepfe { margin-top: 20px; gap: 10px; }
  .e-einstieg:not([data-e-weg="3d"]) .e-knoepfe { gap: 8px; }
  .e-einstieg:not([data-e-weg="3d"]) .e-knoepfe > .g-knopf, .e-einstieg:not([data-e-weg="3d"]) .e-knoepfe > .g-knopf-linie { flex: 0 0 auto; padding: 0 17px; }
  .e-einstieg:not([data-e-weg="3d"]) .e-projekt { grid-row: auto; align-self: start; margin: 20px 0 0; font-size: 16px; }
  .e-einstieg:not([data-e-weg="3d"]) .e-laptop { display: none; }
  /* Die Bühne der Karte: die Handyseite steht zuerst in voller Breite und schrumpft zur Karte vor «Seite.» */
  .e-einstieg:not([data-e-weg="3d"]) .e-ort {
    --e-hw: min(100vw, 30rem); --e-hh: calc(var(--e-hw) * 2.1641); --e-ks: .43;
    --e-gr: clamp(58px, 20.5vw, 100px); --e-pt: clamp(84px, 26vw, 150px);
    --e-kx: calc(100vw - var(--kante) - var(--e-hw) * var(--e-ks) - (100vw - var(--e-hw)) / 2);
    --e-ky: calc(var(--e-pt) + var(--e-gr) * 2.66);
    display: block; grid-column: voll; grid-row: auto; position: relative; margin-top: 26px;
    height: calc(var(--e-ky) + var(--e-hh) * var(--e-ks) + 20px);
  }
  .e-einstieg:not([data-e-weg="3d"]) .e-pointe { position: absolute; left: var(--kante); top: var(--e-pt); font-size: var(--e-gr); z-index: 1; }
  .e-einstieg:not([data-e-weg="3d"]) .e-beste { display: block; }
  .e-einstieg:not([data-e-weg="3d"]) .e-handy {
    display: block; position: absolute; z-index: 2; top: 0; left: calc((100vw - var(--e-hw)) / 2);
    width: var(--e-hw); height: var(--e-hh); overflow: hidden; border-radius: calc(var(--e-hw) * .09);
    background: #0d1220;
    box-shadow: 0 0 0 2px rgba(181, 151, 245, .34), 0 60px 120px -30px rgba(4, 1, 8, .85), 0 30px 160px -40px rgba(122, 59, 216, .55);
    transform-origin: 0 0;
    transform: translate(var(--e-kx), var(--e-ky)) scale(var(--e-ks));
  }
  .e-handy img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
  .e-handy-dunkel { position: absolute; inset: 0; background: #07020a; opacity: 0; pointer-events: none; }
  .e-einstieg:not([data-e-weg="3d"]) .e-drei { grid-row: auto; margin-top: clamp(56px, 14vw, 88px); display: grid; grid-template-columns: minmax(0, 1fr); border-top: 0; padding-top: 0; }
  .e-einstieg:not([data-e-weg="3d"]) .e-drei-punkt { display: grid; gap: 8px; padding: 22px 0 24px; border-top: 1px solid var(--linie); }
  .e-einstieg:not([data-e-weg="3d"]) .e-drei-wort { font-size: clamp(40px, 12vw, 60px); }
}
/* Bewegung: die Karte entsteht beim Scrollen (Scroll-Zeitachse, wo es sie gibt; sonst setzt einstieg.js --e-q) */
@keyframes e-karte {
  from { transform: none; }
  45% { transform: translate(calc(var(--e-kx) * .3), calc(var(--e-ky) * .9)) scale(calc(1 - (1 - var(--e-ks)) * .62)); }
  to { transform: translate(var(--e-kx), var(--e-ky)) scale(var(--e-ks)); }
}
@keyframes e-dunkel { from { opacity: 0; } 30% { opacity: .2; } to { opacity: 0; } }
@keyframes e-zeigen { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) and (max-width: 767px), (prefers-reduced-motion: no-preference) and (max-height: 500px), (prefers-reduced-motion: no-preference) and (orientation: portrait) and (max-width: 1099px) {
  @supports (animation-timeline: scroll()) {
    .e-einstieg:not([data-e-weg="3d"]) .e-handy { animation: e-karte linear both; animation-timeline: scroll(root block); animation-range: 0 var(--e-k-weg, 46svh); }
    .e-einstieg:not([data-e-weg="3d"]) .e-handy-dunkel { animation: e-dunkel linear both; animation-timeline: scroll(root block); animation-range: 0 calc(var(--e-k-weg, 46svh) * .8); }
    .e-einstieg:not([data-e-weg="3d"]) .e-pointe { animation: e-zeigen linear both; animation-timeline: scroll(root block); animation-range: calc(var(--e-k-weg, 46svh) * .25) calc(var(--e-k-weg, 46svh) * .8); }
  }
  .e-einstieg.e-ersatz:not([data-e-weg="3d"]) .e-handy { transform: translate(calc(var(--e-kx) * var(--e-q, 0)), calc(var(--e-ky) * var(--e-q, 0))) scale(calc(1 - (1 - var(--e-ks)) * var(--e-q, 0))); }
  .e-einstieg.e-ersatz:not([data-e-weg="3d"]) .e-handy-dunkel { opacity: 0; }
  .e-einstieg.e-ersatz:not([data-e-weg="3d"]) .e-pointe { opacity: calc((var(--e-q, 0) - .25) * 1.8); }
}
@media (max-width: 380px) {
  .e-einstieg:not([data-e-weg="3d"]) .e-knoepfe > .g-knopf, .e-einstieg:not([data-e-weg="3d"]) .e-knoepfe > .g-knopf-linie { flex: 1 1 100%; }
}
/* Handy quer und flache Fenster: Karte kleiner, damit sie in die Höhe passt */
@media (max-height: 500px) and (orientation: landscape) {
  .e-einstieg:not([data-e-weg="3d"]) .e-ort { --e-hw: min(46vw, 22rem); --e-gr: clamp(56px, 11vw, 96px); --e-pt: 40px; }
  .e-einstieg:not([data-e-weg="3d"]) .e-titel { font-size: clamp(36px, 6vw, 52px); }
}

/* Sonderbilder (nur Werkzeuge): ohne HTML-Text, nur die Bühne */
.e-einstieg.e-sonder .e-titel, .e-einstieg.e-sonder .e-text, .e-einstieg.e-sonder .e-projekt, .e-einstieg.e-sonder .e-linie,
.e-einstieg.e-sonder .e-pointe, .e-einstieg.e-sonder .e-drei, .e-einstieg.e-sonder .e-korn,
.e-einstieg.e-sonder .e-deckelschatten { visibility: hidden !important; }
.e-einstieg.e-sonder-laptop, .e-einstieg.e-sonder-laptop .e-buehne, .e-einstieg.e-sonder-laptop .e-raum { background: transparent !important; }
.e-einstieg.e-sonder-laptop::after { display: none; }
.e-einstieg.e-sonder-laptop .e-raum, .e-einstieg.e-sonder-laptop .e-startbild { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .e-startbild, .e-szene { transition: none !important; }
}
.e-anrufen .e-zeit { display: block; }
