/* ====================  css/held.css  ====================
   Einstieg der Startseite (René, 17.11.2026): „ganz oben einen bildschirmfüllenden Header mit dem aktuellsten
   Shop immer … die Animation im Background mit den Kugeln soll erst darunter starten."

   Der Shop kommt aus der ersten Karte in „Ausgewählte Projekte" (bau/held.py, teile/held-neuester-shop.html).

   Was hier passiert, in der Reihenfolge des Auftritts:
     1. Die Bühne steigt aus der Tiefe auf, der Bildschirm zeigt nur den Bauplan des Shops.
     2. Ein Scan läuft von oben nach unten und „rendert" aus dem Bauplan den echten Shop.
     3. Handy und Messwerte treten nach vorn (eigene Tiefe, 3D), Seobility zählt hoch.
     4. Der Shop scrollt im Bildschirm wie unter der Hand eines Besuchers, Abschnitt für Abschnitt.
     5. Die Linse: wo die Maus über dem Shop steht, sieht man den Bauplan darunter. Ohne Maus wandert sie allein.
   Das Licht auf der Bühne kommt aus dem Shop selbst (weichgezeichnete Kopie hinter dem Bildschirm).

   Bewusste Ausnahme von „Kein Abschnitt bekommt je einen Deckel" (welt.css): Die Bühne ist deckend. Die Punktwolke
   beginnt darunter — welt.js rechnet nicht, solange die Bühne den Bildschirm füllt, und holt die Kugel aus der
   Ferne (Pose „anfang"), wenn man herausscrollt.

   3D: .held-raum (Perspektive) > .held-buehne (preserve-3d, Neigung aus held.js) > .held-aufbau (preserve-3d,
   Auftritt). Dazwischen nie opacity, filter, overflow oder mask — das legt die Tiefe flach. Durchsichtig werden nur
   die Blätter (Bildschirm, Handy, Messwerte). */

@property --scan{ syntax: '<percentage>'; inherits: true; initial-value: 100% }

.held{
  position: relative; z-index: 1;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  column-gap: clamp(28px, 4.4vw, 88px);
  padding: calc(var(--kopf-h) + clamp(28px, 7vh, 84px)) max(var(--rand), (100vw - 1760px) / 2) clamp(118px, 17vh, 168px);
  /* Deckend bis kurz vor dem Ende, dann läuft der Grund in die Punktwolke aus. */
  background: linear-gradient(to bottom, var(--raum) calc(100% - 20vh), rgba(5,6,12,0) 100%);
  overflow: clip;
}

/* ---------- Grund: Werkbank-Raster, Lichtkegel der Maus, Schein in Logo- und Shopfarben, Korn ---------- */
.held-grund{
  position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  /* läuft unten mit dem Grund aus — sonst schnitte die Unterkante Nebel und Raster hart ab */
  -webkit-mask: linear-gradient(to bottom, #000 calc(100% - 34vh), transparent calc(100% - 4vh));
          mask: linear-gradient(to bottom, #000 calc(100% - 34vh), transparent calc(100% - 4vh));
}
.held-grund::before{            /* Punktraster, zur Mitte hin sichtbar */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(150,180,255,.20) 1px, transparent 1.6px);
  background-size: 28px 28px; background-position: 14px 14px;
  -webkit-mask: radial-gradient(85% 75% at 62% 46%, #000 0%, rgba(0,0,0,.35) 55%, transparent 88%);
          mask: radial-gradient(85% 75% at 62% 46%, #000 0%, rgba(0,0,0,.35) 55%, transparent 88%);
}
.held-grund::after{             /* Korn: einmal gerastert, nie neu gezeichnet */
  content: ""; position: absolute; inset: 0; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23k)'/%3E%3C/svg%3E");
}
.held-nebel{ position: absolute; border-radius: 50%; pointer-events: none; will-change: transform }
.held-nebel--blau{
  width: 62vmax; height: 62vmax; left: -18vmax; top: -26vmax;
  background: radial-gradient(closest-side, rgba(0,144,252,.20), rgba(48,96,240,.08) 55%, transparent);
  animation: held-treiben 26s ease-in-out infinite alternate;
}
.held-nebel--violett{
  width: 58vmax; height: 58vmax; right: -20vmax; bottom: -30vmax;
  background: radial-gradient(closest-side, rgba(156,24,252,.17), rgba(48,96,240,.06) 60%, transparent);
  animation: held-treiben 32s ease-in-out -9s infinite alternate-reverse;
}
/* Der Lichtkegel folgt der Maus (held.js setzt transform), sonst ruht er rechts der Mitte. */
.held-kegel{
  position: absolute; left: 0; top: 0; width: 760px; height: 760px; margin: -380px 0 0 -380px;
  border-radius: 50%; pointer-events: none; will-change: transform;
  background: radial-gradient(closest-side, rgba(70,130,255,.13), rgba(70,130,255,.05) 50%, transparent);
  transform: translate3d(66vw, 46vh, 0);
}
@keyframes held-treiben{ to{ transform: translate3d(9vmax, 6vmax, 0) scale(1.12) } }

/* ---------- Text ---------- */
.held-satz{ position: relative; z-index: 3; max-width: 680px; min-width: 0 }
.held-satz > * + *{ margin-top: 1.15em }
.held-satz .knopf-reihe{ margin-top: 1.8em }
.held h1{
  font-size: clamp(2.4rem, 3.9vw, 5.2rem);     /* „Shopify-Shops," muss in die Spalte passen: 8,6 em breit */
  line-height: .98; letter-spacing: -.034em;
  text-wrap: balance;
}
.held h1 em{
  background-image: linear-gradient(96deg, var(--blau), var(--blau-tief) 22%, var(--violett) 45%, var(--blau-tief) 70%, var(--blau));
  background-size: 220% 100%;
  animation: held-schimmer 9s ease-in-out infinite alternate;
}
@keyframes held-schimmer{ from{ background-position: 0% 50% } to{ background-position: 100% 50% } }
.held .vorspann{ max-width: 50ch; font-size: clamp(1rem, 1.12vw, 1.14rem) }
.held .marke-zeile::before{          /* kein Flex: „Shopify" ist ein eigenes span (Grün) und bliebe sonst mit Abstand stehen */
  content: ""; display: inline-block; vertical-align: middle; width: 28px; height: 1px; margin: -2px 12px 0 0;
  background: linear-gradient(90deg, var(--blau), var(--violett));
}

/* ---------- Bühne ---------- */
.held-werk{ margin: 0; min-width: 0 }          /* bewusst ohne position: die Leiste unten richtet sich an .held aus */
.held-raum{
  position: relative; perspective: 2300px; perspective-origin: 28% 38%;
  margin-right: calc(-.55 * var(--rand));        /* der Bildschirm darf über die Satzkante hinaus */
}
.held-buehne, .held-aufbau{ transform-style: preserve-3d }
.held-buehne{ transform: rotateY(-14deg) rotateX(6deg); will-change: transform }
/* 88 % breit und etwas angehoben: das Unterteil (Tastatur) ragt nach vorn unten und braucht Platz über der Leiste */
.held-aufbau{ position: relative; width: 88%; margin: -7vh 0 0 auto }

/* ---------- MacBook (René, 17.11.2026: „geschlossen und drehend reingeworfen, dann aufklappen“) ----------
   .held-mac hat die Größe des Deckels. Der Deckel klappt um seine Unterkante (Scharnier). Das Unterteil liegt waagerecht
   davor (rotateX 90° um seine Oberkante), 4 px tiefer — sonst lägen geschlossener Deckel und Tastatur in einer Ebene
   und flackerten. Tiefe ≈ Deckelhöhe wie beim echten Gerät. Vorder- und Rückseiten mit backface-visibility: hidden. */
.held-mac{
  position: relative; z-index: 1; transform-style: preserve-3d;
  transform-origin: 50% 100% calc(var(--tiefe, 26vw) / 2);     /* Mitte des zugeklappten Geräts (--tiefe setzt held.js) */
}
.held-mac-deckel{
  position: relative; transform-style: preserve-3d; transform-origin: 50% 100%;
  transition: transform 1.05s cubic-bezier(.3, 1.2, .5, 1);
}
.held-mac-deckel::after{          /* Scharnier: füllt die 4 px bis zum Unterteil */
  content: ""; position: absolute; left: 11%; right: 11%; top: 100%; height: 6px;
  background: linear-gradient(#24272f, #0c0d11); border-radius: 0 0 6px 6px;
}
.held-mac-front{
  position: relative; padding: 1.6% 1.6% 2.2%;
  border-radius: 2.4% 2.4% 1.2% 1.2% / 3.6% 3.6% 1.8% 1.8%;
  background: #07080c;
  box-shadow: 0 0 0 1px #2d313c, inset 0 0 0 2px #121419,
    0 60px 120px -40px rgba(0,0,0,.9), 0 30px 90px -40px color-mix(in srgb, var(--akzent) 40%, transparent);
  backface-visibility: hidden;
}
.held-mac-ruecken{                /* Rückseite: dunkles Aluminium, Logo — gedreht, damit es zugeklappt von vorn lesbar ist */
  position: absolute; inset: 0; transform: rotateY(180deg); backface-visibility: hidden;
  display: grid; place-items: center;
  border-radius: 2.4% 2.4% 1.2% 1.2% / 3.6% 3.6% 1.8% 1.8%;
  background: linear-gradient(140deg, #3b404d, #23262e 46%, #2e323c);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.held-mac-ruecken img{ width: 30%; height: auto; opacity: .62; rotate: 180deg }
.held-mac-display{
  position: relative; overflow: hidden; border-radius: .9% / 1.4%; background: #05060c;
  container-type: inline-size;                 /* Menüleiste, Notch und Browserleiste wachsen mit dem Display */
  --menue-h: clamp(9px, 2.9cqw, 22px);
}
.held-desktop{
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 80% at 18% 8%, rgba(0,144,252,.55), transparent 60%),
    radial-gradient(90% 90% at 96% 100%, rgba(156,24,252,.55), transparent 62%),
    linear-gradient(160deg, #0b1236, #150b2b);
}
.held-menue{
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 1.8%; height: var(--menue-h); padding: 0 2.4%;
  background: rgba(8,10,20,.5); color: rgba(255,255,255,.86);
  font-size: clamp(.3rem, 1.45cqw, .6rem); line-height: 1; white-space: nowrap; overflow: hidden;
}
.held-menue-app{ font-weight: 700 }
.held-menue .held-uhr{ margin-left: auto; font-variant-numeric: tabular-nums }
.held-mac-notch{
  position: absolute; z-index: 5; top: 0; left: 50%; translate: -50% 0;
  width: 12%; height: var(--menue-h); background: #07080c; border-radius: 0 0 9px 9px;
}
.held-mac-aus{                    /* ausgeschaltet: schwarz mit leichtem Glanz */
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,.07), transparent 38%), #030306;
  opacity: 0; transition: opacity .7s ease;
}
.held-mac-basis{
  position: absolute; left: -1.2%; right: -1.2%; top: calc(100% + 4px); height: 96%;
  transform-origin: 50% 0; transform: rotateX(90deg); transform-style: preserve-3d;
}
.held-mac-deck{
  position: absolute; inset: 0; backface-visibility: hidden;
  display: grid; grid-template-columns: 11% 1fr 11%; grid-template-rows: 56% 1fr; gap: 0 2.4%; padding: 5% 3.6% 3.6%;
  border-radius: 1% 1% 4% 4% / 1.4% 1.4% 6% 6%;
  background: linear-gradient(#2b2f39, #1e2129);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
}
.held-mac-tasten{
  border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(100% / 15 - 2px), #252832 calc(100% / 15 - 2px) calc(100% / 15)),
    repeating-linear-gradient(180deg, transparent 0 calc(100% / 6 - 2px), #252832 calc(100% / 6 - 2px) calc(100% / 6)),
    #0a0b0f;
}
.held-mac-lautsprecher{
  border-radius: 6px; opacity: .85;
  background-image: radial-gradient(#0b0c10 32%, transparent 42%); background-size: 6px 6px;
}
.held-mac-pad{
  grid-column: 2; justify-self: center; width: 44%; height: 76%; margin-top: 5%;
  border-radius: 4% / 7%; background: linear-gradient(#262a33, #20232b);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09);
}
.held-mac-boden{
  position: absolute; inset: 0; transform: rotateX(180deg); backface-visibility: hidden;
  border-radius: 4% 4% 1% 1% / 6% 6% 1.4% 1.4%; background: #15171d;
}
.held-mac-kante{                  /* Vorderkante des Unterteils mit Griffmulde */
  position: absolute; left: 0; right: 0; top: 100%; height: 2.6%;
  transform-origin: 50% 0; transform: rotateX(-90deg);
  border-radius: 0 0 10px 10px; background: linear-gradient(#3b3f4a, #1b1d24);
}
.held-mac-kante::after{
  content: ""; position: absolute; left: 50%; top: 0; translate: -50% 0; width: 13%; height: 55%;
  border-radius: 0 0 50% 50%; background: #14161c;
}

/* Tisch: eine unsichtbare Ebene auf Höhe der Tischplatte (Unterteil + Vorderkante). Sie trägt die Schatten,
   und das Handy steht auf ihr — so gibt es keine Schnitte mit dem Unterteil. */
.held-tisch{
  position: absolute; left: -30%; right: -30%; top: calc(100% + 4px + 2.5%); height: 140%;
  transform-origin: 50% 0; transform: rotateX(90deg); transform-style: preserve-3d;
  pointer-events: none;
}
.held-tisch::before, .held-tisch::after{ content: ""; position: absolute; transition: opacity .5s ease }
.held-tisch::before{              /* unter dem MacBook */
  left: 15%; right: 15%; top: -6%; height: 84%;
  background:
    radial-gradient(closest-side, rgba(0,0,0,.62), rgba(0,0,0,.3) 55%, transparent),
    radial-gradient(closest-side, rgba(48,96,240,.22), transparent);
}
.held-tisch::after{               /* unter dem Handy */
  left: 23.5%; width: 14%; bottom: 21.5%; height: 9%;
  background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent);
}

/* Licht aus dem Shop: kleines, weichgezeichnetes Abbild, groß gezogen (kein Filter in jedem Bild) */
.held-licht{
  position: absolute; inset: -16% -14% -22%;
  transform: translateZ(-190px);
  opacity: .56; pointer-events: none;
  -webkit-mask: radial-gradient(closest-side, #000 45%, transparent 100%);
          mask: radial-gradient(closest-side, #000 45%, transparent 100%);
}
.held-licht-seite{ position: absolute; inset: 0 0 auto 0; background-size: 100% 100% }

/* Der Browser: maximiert unter der Menüleiste */
.held-schirm{
  position: relative; z-index: 1; margin-top: var(--menue-h);
  overflow: hidden; background: #0c0f1a;
  transform-origin: 50% 100%;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1), opacity .3s ease;
}
/* ---------- Safari (macOS, dunkle Darstellung) — René 17.11.2026: „der Browser muss 1:1 aussehen wie Safari“ ----------
   Maße in --pt: ein Punkt des 14-Zoll-Displays (1512 pt breit), 1,5-fach, damit man das Tippen noch sieht. */
.held-mac-display{ --pt: calc(100cqw / 1512 * 1.5) }
.held-safari{
  position: relative; z-index: 3;
  display: flex; align-items: center; gap: calc(var(--pt) * 10);
  height: calc(var(--pt) * 52); padding: 0 calc(var(--pt) * 14) 0 calc(var(--pt) * 18);
  background: #2d2d2f; border-bottom: 1px solid #1a1a1c;
  color: rgba(255,255,255,.62); font-size: calc(var(--pt) * 13); line-height: 1;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", var(--schrift);
}
.held-ampel{ display: flex; gap: calc(var(--pt) * 8); margin-right: calc(var(--pt) * 10) }
.held-ampel i{ width: calc(var(--pt) * 12); height: calc(var(--pt) * 12); border-radius: 50%; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.25) }
.held-ampel i:nth-child(1){ background: #ff5f57 }
.held-ampel i:nth-child(2){ background: #febc2e }
.held-ampel i:nth-child(3){ background: #28c840 }
.held-sym{
  width: calc(var(--pt) * 19); height: calc(var(--pt) * 19); flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.held-sym--klein{ width: calc(var(--pt) * 12); margin-left: calc(var(--pt) * -8) }
.held-sym--aus{ opacity: .35 }
.held-safari-pfeile, .held-safari-rechts{ display: flex; gap: calc(var(--pt) * 14); flex: none }
.held-safari-rechts{ margin-left: auto; gap: calc(var(--pt) * 18) }
.held-feld{
  position: relative; flex: 0 1 46%; margin-left: auto;
  display: flex; align-items: center; justify-content: center; gap: calc(var(--pt) * 6);
  height: calc(var(--pt) * 32); padding: 0 calc(var(--pt) * 9); border-radius: calc(var(--pt) * 9);
  background: rgba(255,255,255,.09); color: #e8e8ea;
  transition: background .2s, box-shadow .2s;
}
.held-feld-sym{
  position: absolute; left: calc(var(--pt) * 9); width: calc(var(--pt) * 16); height: calc(var(--pt) * 16);
  fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.held-feld-neu{ left: auto; right: calc(var(--pt) * 9) }
.held-feld-text{ display: flex; align-items: center; gap: calc(var(--pt) * 4); min-width: 0; white-space: nowrap }
.held-schloss{
  width: calc(var(--pt) * 11); height: calc(var(--pt) * 11); flex: none;
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .75;
}
.held-adresse-text{ overflow: hidden; text-overflow: ellipsis }
.held-adresse-text:empty::before{ content: "Suchen oder Website-Namen eingeben"; opacity: .45 }
.held-feld-balken{                /* Safari lädt: blaue Linie am Fuß des Adressfelds */
  position: absolute; left: calc(var(--pt) * 4); right: calc(var(--pt) * 4); bottom: 0; height: calc(var(--pt) * 2.5);
  border-radius: 9px; background: #0a84ff; transform-origin: 0 50%; transform: scaleX(0); opacity: 0;
}
/* Tippen: Feld hell, blauer Fokusring, Text links, Top-Treffer darunter */
.held-vorschlag{
  position: absolute; left: calc(var(--pt) * -4); right: calc(var(--pt) * -4); top: calc(100% + var(--pt) * 6);
  display: grid; gap: calc(var(--pt) * 6); padding: calc(var(--pt) * 8);
  border-radius: calc(var(--pt) * 10); background: rgba(40,40,42,.97);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 calc(var(--pt) * 12) calc(var(--pt) * 30) rgba(0,0,0,.5);
  text-align: left; opacity: 0; visibility: hidden; transition: opacity .15s;
}
.held-vorschlag small{ font-size: calc(var(--pt) * 11); font-weight: 600; color: rgba(255,255,255,.45); padding-left: calc(var(--pt) * 4) }
.held-vorschlag-zeile{
  display: flex; align-items: center; gap: calc(var(--pt) * 8); padding: calc(var(--pt) * 6) calc(var(--pt) * 8);
  border-radius: calc(var(--pt) * 6); background: #0a5bd6; color: #fff; white-space: nowrap; overflow: hidden;
}
.held-vorschlag-zeile i{ width: calc(var(--pt) * 16); height: calc(var(--pt) * 16); border-radius: calc(var(--pt) * 4); background: var(--akzent); flex: none }
.held--tippt .held-feld{ justify-content: flex-start; background: #1d1d1f; box-shadow: 0 0 0 calc(var(--pt) * 3.5) rgba(10,132,255,.75) }
.held--tippt .held-feld-sym, .held--tippt .held-schloss{ display: none }
.held--tippt .held-feld-text{ padding-left: calc(var(--pt) * 2) }
.held--tippt .held-vorschlag{ opacity: 1; visibility: visible }
.held--markiert .held-safari .held-adresse-text{ background: #0a5bd6; color: #fff }
.held--tippt .held-adresse-text::after{
  content: ""; display: inline-block; width: 1px; height: 1.15em; margin-left: 1px; vertical-align: -.22em;
  background: currentColor; animation: held-strich .9s steps(1) infinite;
}
@keyframes held-strich{ 50%{ opacity: 0 } }

.held-fenster{
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: #fff;
  animation: held-scan 2s cubic-bezier(.72, 0, .24, 1) .75s both;
  touch-action: pan-y;
}
@keyframes held-scan{ from{ --scan: 0% } to{ --scan: 100% } }

.held-seite{
  position: absolute; inset: 0 0 auto 0;
  will-change: transform;
  animation: held-scrollen 48s cubic-bezier(.65, 0, .35, 1) 2.9s infinite both;
}
.held-seite img{ display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none }
/* Wie ein Besucher: scrollen, lesen, weiter — am Ende zurück nach oben. --ende kommt aus dem Bau (Seitenlänge). */
@keyframes held-scrollen{
  0%, 8%   { transform: translate3d(0, 0, 0) }
  20%, 28% { transform: translate3d(0, calc(var(--ende) * .2), 0) }
  40%, 48% { transform: translate3d(0, calc(var(--ende) * .45), 0) }
  60%, 68% { transform: translate3d(0, calc(var(--ende) * .7), 0) }
  80%, 89% { transform: translate3d(0, var(--ende), 0) }
  100%     { transform: translate3d(0, 0, 0) }
}

/* Der Bauplan des ersten Bildschirms liegt deckungsgleich darüber, sichtbar unterhalb der Scanlinie (beim Laden). */
.held-maske{
  position: absolute; inset: 0;
  background: #060a1a;
  -webkit-mask: linear-gradient(to bottom, transparent var(--scan), #000 var(--scan));
          mask: linear-gradient(to bottom, transparent var(--scan), #000 var(--scan));
}

.held-scan{
  position: absolute; left: 0; right: 0; top: var(--scan); height: 2px; margin-top: -1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #59b6ff 10%, #fff 50%, #b47dff 90%, transparent);
  box-shadow: 0 0 16px 2px rgba(0,144,252,.8), 0 0 70px 10px rgba(156,24,252,.32);
  animation: held-weg .45s ease 2.7s both;
}
.held-scan::before{
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 110px;
  background: linear-gradient(to top, rgba(0,144,252,.26), rgba(0,144,252,0));
}
@keyframes held-weg{ to{ opacity: 0; visibility: hidden } }

/* Ladebalken nach „Enter“ */
.held-ladebalken, .held-handy-ladebalken{
  position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, var(--blau), var(--violett));
  transform-origin: 0 50%; transform: scaleX(0); opacity: 0;
}
@keyframes held-laden{ 0%{ transform: scaleX(0); opacity: 1 } 80%{ transform: scaleX(1); opacity: 1 } 100%{ transform: scaleX(1); opacity: 0 } }

/* ---------- Highlights (René, 17.11.2026: statt der Linse „die Highlights des Shops mit kurzen Erklärungen“) ----------
   Der Rahmen legt sich um das Highlight und dunkelt den Rest ab (riesiger Schatten); die Karte erklärt es.
   Lage und Größe setzt js/held.js in px; Rahmen und Seite gleiten in derselben Zeit. */
.held-spot{
  position: absolute; z-index: 4; left: 0; top: 0; width: 40%; height: 40%;
  border-radius: 1.1cqw; pointer-events: none;
  box-shadow: 0 0 0 2px rgba(80,170,255,.95), 0 0 28px 4px rgba(0,144,252,.5), 0 0 0 300vmax rgba(4,6,16,.5);
  opacity: 0;
  transition: opacity .5s ease, transform 1.25s cubic-bezier(.65, 0, .35, 1),
              width 1.25s cubic-bezier(.65, 0, .35, 1), height 1.25s cubic-bezier(.65, 0, .35, 1);
}
.held--spot .held-spot{ opacity: 1 }
.held-spot-nr{
  position: absolute; left: -1.2cqw; top: -1.2cqw; width: 3cqw; height: 3cqw; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blau), var(--violett)); color: #fff;
  font: 700 clamp(7px, 1.5cqw, 12px)/1 var(--schrift);
  box-shadow: 0 0 0 3px rgba(4,6,16,.6);
}
.held-karte{
  position: absolute; z-index: 5; left: 0; top: 0; width: 36%;
  display: grid; gap: .45em; padding: 1.1em 1.2em 1.25em;
  border-radius: 1cqw; background: rgba(10,13,27,.94);
  box-shadow: 0 0 0 1px rgba(150,180,255,.22), 0 20px 50px -18px rgba(0,0,0,.85);
  color: var(--text); font-size: clamp(8px, 1.6cqw, 13px); line-height: 1.38;
  opacity: 0; translate: 0 10px; pointer-events: none;
  transition: opacity .45s ease, translate .6s cubic-bezier(.16, 1, .3, 1);
  overflow: hidden;
}
.held--karte .held-karte{ opacity: 1; translate: 0 0 }
.held-karte-nr{ font-size: .72em; letter-spacing: .18em; text-transform: uppercase; color: #8fb8ff }
.held-karte-titel{ font-size: 1.28em; font-weight: 600; letter-spacing: -.01em; line-height: 1.15 }
.held-karte-text{ color: var(--text-leise) }
.held-karte-zeit{                 /* wie lange die Karte noch steht */
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--blau), var(--violett)); transform-origin: 0 50%; transform: scaleX(0);
}
.held--karte .held-karte-zeit{ transform: scaleX(1); transition: transform var(--verweil, 4s) linear }

/* Handy: steht auf dem Tisch vor dem MacBook (Kind von .held-tisch, um seine Unterkante aufgerichtet).
   .held-handy-flug trägt den Wurf. Maße im Schirm in cqw = Anteil der Schirmbreite. */
.held-handy{
  position: absolute; z-index: 4; left: 25.5%; bottom: 26%; width: 9.4%;
  transform-origin: 50% 100%; transform: rotateX(-90deg) rotateY(14deg);
  transform-style: preserve-3d;
}
.held-handy-flug{ transform-style: preserve-3d }
.held-handy-rahmen{
  position: relative; padding: 3.6%; border-radius: 15% / 7%;
  background: linear-gradient(150deg, #23283a, #0a0b12 40%);
  box-shadow: 0 0 0 1px rgba(200,215,255,.16), inset 0 0 0 3px #05060b;
}
.held-handy-schirm{
  position: relative; overflow: hidden; container-type: inline-size;
  border-radius: 12% / 5.6%; aspect-ratio: 600 / 1300; background: #fff;
}
.held-handy-sperre{                /* Sperrbildschirm mit Uhrzeit */
  position: absolute; inset: 0; display: grid; justify-items: center; align-content: start; padding-top: 24cqw;
  background:
    radial-gradient(120% 60% at 20% 0%, rgba(0,144,252,.7), transparent 60%),
    radial-gradient(120% 70% at 90% 100%, rgba(156,24,252,.7), transparent 62%),
    linear-gradient(170deg, #0b1236, #150b2b);
  color: #fff; font-size: 17cqw; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.held-handy-browser{
  position: absolute; inset: 0; background: #fff;
  transform-origin: 50% 92%;
  transition: transform .55s cubic-bezier(.16, 1, .3, 1), opacity .3s ease;
}
.held-handy-seite{
  position: absolute; inset: 0 0 auto 0; will-change: transform;
  animation: held-handy-scrollen 40s cubic-bezier(.65, 0, .35, 1) 3.6s infinite both;
}
.held-handy-seite img{ display: block; width: 100%; height: auto }
@keyframes held-handy-scrollen{
  0%, 10%  { transform: translate3d(0, 0, 0) }
  30%, 40% { transform: translate3d(0, calc(var(--ende-handy) * .35), 0) }
  60%, 70% { transform: translate3d(0, calc(var(--ende-handy) * .7), 0) }
  85%, 91% { transform: translate3d(0, var(--ende-handy), 0) }
  100%     { transform: translate3d(0, 0, 0) }
}
/* Seite lädt von oben nach unten — nur der sichtbare Teil (1 + --ende-handy), danach ohne Ausschnitt */
@keyframes held-handy-laden{
  from{ clip-path: inset(0 0 100% 0) }
  to{ clip-path: inset(0 0 calc(-1 * var(--ende-handy)) 0) }
}
/* ---------- iOS-Safari: Statusleiste, Adressleiste unten, Symbolleiste, Tastatur ---------- */
.held-handy-browser{ background: var(--handy-farbe, #fff) }
.held-handy-browser .held-handy-seite{ top: 13.7cqw }      /* unter der Statusleiste (wie held.py STATUS) */
.held-handy-ladebalken{ top: auto; bottom: 30.5cqw; left: 9cqw; right: 9cqw; height: .9cqw; border-radius: 9px; background: #0a84ff }
.held-ios-status{
  position: absolute; z-index: 4; left: 0; right: 0; top: 0; height: 13.7cqw;
  display: flex; align-items: center; justify-content: space-between; padding: 1.5cqw 7cqw 0 9.5cqw;
  color: #fff; mix-blend-mode: difference;           /* schwarz auf heller, weiß auf dunkler Seite — wie iOS */
  font: 600 4.3cqw/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--schrift); letter-spacing: -.01em;
  pointer-events: none;
}
.held-ios-zeichen{ display: flex; align-items: center; gap: 1.4cqw }
.held-ios-balken4{ display: flex; align-items: flex-end; gap: .5cqw; height: 3cqw }
.held-ios-balken4 i{ width: .9cqw; background: currentColor; border-radius: .3cqw }
.held-ios-balken4 i:nth-child(1){ height: 35% } .held-ios-balken4 i:nth-child(2){ height: 55% }
.held-ios-balken4 i:nth-child(3){ height: 78% } .held-ios-balken4 i:nth-child(4){ height: 100% }
.held-ios-wlan{ width: 4.2cqw; height: 4.2cqw; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round }
.held-ios-akku{ position: relative; width: 6.4cqw; height: 3cqw; border-radius: .9cqw; box-shadow: inset 0 0 0 .3cqw currentColor; opacity: .95 }
.held-ios-akku::after{ content: ""; position: absolute; right: -.9cqw; top: 1cqw; width: .5cqw; height: 1cqw; border-radius: 0 .3cqw .3cqw 0; background: currentColor }
.held-ios-akku i{ position: absolute; inset: .6cqw; right: 1.6cqw; border-radius: .4cqw; background: currentColor }

.held-ios-unten{                   /* Adressleiste und Symbolleiste, durchscheinend über der Seite */
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  display: grid; gap: 2cqw; padding: 2.4cqw 4cqw 6cqw;
  background: rgba(248,248,250,.86); box-shadow: 0 -1px 0 rgba(0,0,0,.08);
  color: #111; transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.held-ios-feld{
  position: relative; display: flex; align-items: center; justify-content: center; gap: 1.6cqw;
  height: 11.5cqw; padding: 0 3.6cqw; border-radius: 3.4cqw;
  background: #fff; box-shadow: 0 .4cqw 2cqw rgba(0,0,0,.08), 0 0 0 .25cqw rgba(0,0,0,.05);
  font: 400 4.3cqw/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--schrift); white-space: nowrap;
}
.held-ios-aa{ position: absolute; left: 3.6cqw; font-size: 3.6cqw; font-weight: 600 }
.held-ios-aa span{ font-size: 4.8cqw }
.held-ios-text{ display: flex; align-items: center; gap: 1cqw; min-width: 0 }
.held-ios-text .held-schloss{ width: 3.2cqw; height: 3.2cqw }
.held-ios-neu{ position: absolute; right: 3.4cqw; width: 4.4cqw; height: 4.4cqw; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round }
.held-ios-x{ position: absolute; right: 3cqw; display: none; width: 4.6cqw; height: 4.6cqw; border-radius: 50%; place-items: center; background: #c7c7cc; color: #fff; font-size: 2.6cqw }
.held-ios-werkzeuge{ display: flex; justify-content: space-between; padding: 0 3cqw; color: #0a84ff }
.held-ios-werkzeuge .held-sym{ width: 6.2cqw; height: 6.2cqw; stroke-width: 2 }
.held-ios-tastatur{
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  display: grid; gap: 2.6cqw; padding: 2cqw .8cqw 0;
  background: #d1d3d9; transform: translateY(101%); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  font: 400 5.6cqw/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--schrift); color: #000;
}
.held-ios-reihe{ display: flex; justify-content: center; gap: 1.5cqw }
.held-ios-reihe:nth-child(2){ padding: 0 2cqw }
.held-taste{
  position: relative; flex: 0 0 7.6cqw; height: 10.8cqw; border-radius: 1.4cqw;
  display: grid; place-items: center; background: #fff; box-shadow: 0 .3cqw 0 #898a8d;
}
.held-taste--grau{ background: #acb0b9; font-size: 4.4cqw }
.held-taste--weit{ flex-basis: 11cqw }
.held-ios-reihe:nth-child(4) .held-taste{ flex: 1 1 0; font-size: 4.4cqw }
.held-ios-reihe:nth-child(4) .held-taste--weit{ flex: 0 0 12cqw }
.held-taste--los{ flex: 0 0 22cqw !important; background: #0a84ff; color: #fff }
.held-taste.ist-an{ background: #e9eaee }
.held-taste.ist-an[data-k]:not([data-k="↵"]):not([data-k="."]):not([data-k="/"])::after{   /* Vorschau-Blase über der Taste */
  content: attr(data-k); position: absolute; left: 50%; bottom: 60%; translate: -50% 0;
  width: 11cqw; height: 13cqw; border-radius: 2.4cqw 2.4cqw 3cqw 3cqw; display: grid; place-items: center;
  background: #fff; box-shadow: 0 .6cqw 2cqw rgba(0,0,0,.25); font-size: 8.4cqw;
}
.held-ios-fuss{ display: flex; justify-content: space-between; padding: 1.4cqw 5cqw 4.6cqw; color: #50535a }
.held-ios-fuss .held-sym{ width: 6.4cqw; height: 6.4cqw }
/* Tippen am Handy: Tastatur hoch, Adressleiste sitzt darüber, Text links, Löschknopf */
.held--tippt .held-ios-tastatur{ transform: none }
.held--tippt .held-ios-unten{ transform: translateY(calc(-1 * var(--tastatur, 68cqw))); padding-bottom: 2.4cqw }
.held--tippt .held-ios-werkzeuge, .held--tippt .held-ios-aa, .held--tippt .held-ios-neu, .held--tippt .held-ios-text .held-schloss{ display: none }
.held--tippt .held-ios-feld{ justify-content: flex-start }
.held--tippt .held-ios-x{ display: grid }
.held--markiert .held-ios-text .held-adresse-text{ background: rgba(10,132,255,.28) }

.held-handy-aus{
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,.08), transparent 40%), #030306;
  opacity: 0; transition: opacity .6s ease .2s;
}
.held-insel{
  position: absolute; z-index: 4; top: 2.6cqw; left: 50%; translate: -50% 0;
  width: 31cqw; height: 9cqw; border-radius: 99px; background: #000;
}

/* Messwerte vor dem Bildschirm */
.held-chip{
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(10,13,27,.93);
  box-shadow: 0 0 0 1px rgba(150,180,255,.2), 0 26px 56px -22px rgba(0,0,0,.85);
  color: var(--text); font-size: .82rem; line-height: 1.2; white-space: nowrap;
}
.held-chip small{ display: block; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-fern) }
.held-chip--seo{ left: -7%; top: 11%; transform: translateZ(120px) }
.held-chip--seo svg{ width: 46px; height: 46px; rotate: -90deg; flex: none }
.held-ring-grund{ fill: none; stroke: rgba(150,180,255,.14); stroke-width: 9 }
.held-ring-wert{
  fill: none; stroke: url(#held-verlauf); stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 326.73; stroke-dashoffset: calc(326.73 * (1 - var(--ziel)));
}
.held-chip-zahl{ font-size: 1.7rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums }
.held-chip-zahl small{ display: inline; font-size: .9rem; letter-spacing: 0; text-transform: none; color: var(--text-leise); margin-left: 2px }
.held-chip-text{ font-weight: 600 }
.held-chip-text small{ margin-top: 4px; font-weight: 400 }
.held-chip--titel{ right: 4%; top: 47%; transform: translateZ(160px); flex-direction: column; align-items: flex-start; gap: 5px; font-size: .95rem; font-weight: 600 }
.held-chip--marken{ right: 2%; top: 76%; transform: translateZ(130px); gap: 6px; padding: 9px 10px }
.held-chip--marken span{
  padding: 5px 10px; border-radius: 99px; font-size: .7rem;
  background: rgba(150,180,255,.08); box-shadow: 0 0 0 1px rgba(150,180,255,.16) inset; color: var(--text-leise);
}

/* ---------- Rundgang durch die Shops (held--tour, js/held.js) ----------
   Die Seite gleitet zu jedem Highlight (Übergang statt Endlos-Scrollen), beim Shopwechsel blenden Messwerte und
   Leiste kurz aus (held--wechsel). Der Bauplan zeigt immer nur den ersten Bildschirm. */
.held-seite--plan{ animation: none !important }
.held--tour .held-fenster > .held-seite, .held--tour .held-licht-seite{
  animation: none; transition: transform 1.25s cubic-bezier(.65, 0, .35, 1);
}
.held--tour .held-licht{ transition: opacity 1.2s ease }
.held-chip, .held-neu-kunde, .held-neu-titel, .held-neu-wege, .held-neu-marke{ transition: opacity .35s ease }
.held--wechsel .held-chip{ opacity: 0 !important }
.held--spot .held-chip--titel, .held--spot .held-chip--marken{ opacity: 0 !important }   /* nicht über dem Highlight */
.held--wechsel .held-neu-kunde, .held--wechsel .held-neu-titel, .held--wechsel .held-neu-wege, .held--wechsel .held-neu-marke{ opacity: 0 }
.held-chip--leer{ display: none !important }

/* ---------- Leiste unten: der neueste Shop beim Namen ---------- */
.held-neu{
  position: absolute; z-index: 4;
  left: max(var(--rand), (100vw - 1760px) / 2); right: max(var(--rand), (100vw - 1760px) / 2);
  bottom: clamp(28px, 5vh, 52px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px;
  padding-top: 18px; border-top: 1px solid var(--linie);
  font-size: .86rem; line-height: 1.3; color: var(--text-leise);
}
.held-neu-marke{
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text);
}
.held-neu-marke i{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--akzent); animation: held-puls-akzent 2.4s ease-out infinite;
}
@keyframes held-puls-akzent{
  0%{ box-shadow: 0 0 0 0 color-mix(in srgb, var(--akzent) 70%, transparent) }
  70%, 100%{ box-shadow: 0 0 0 10px transparent }
}
.held-neu-kunde{ display: inline-flex; align-items: center; gap: 9px }
.held-neu-name{ color: var(--text); font-weight: 600 }
.held-neu-titel::before{ content: "— "; color: var(--text-fern) }
@media (min-width: 1101px){       /* steht nebeneinander schon im Messwert „Projekt" — Platz für den KI-Berater rechts */
  .held-neu-titel{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
}
.held-neu-wege{ display: inline-flex; flex-wrap: wrap; gap: 8px 22px }   /* nicht nach rechts: dort sitzt der KI-Berater */
.held-fall, .held-shop{ text-decoration: none; white-space: nowrap; transition: color .2s }
.held-fall{
  color: var(--text); padding-bottom: 3px;
  background: linear-gradient(90deg, var(--blau), var(--violett)) left bottom / 100% 1px no-repeat;
}
.held-fall span{ display: inline-block; transition: transform .25s cubic-bezier(.16,1,.3,1) }
.held-fall:hover span, .held-fall:focus-visible span{ transform: translateX(5px) }
.held-shop{ color: var(--text-leise) }
.held-punkte-reihe{ display: none; align-items: center; gap: 6px }
.held--js .held-punkte-reihe{ display: inline-flex }            /* ohne Skript würden die Striche nichts tun */
.held-punkte-reihe:empty{ display: none !important }
.held-punkt{                      /* ein Strich je Shop; der aktive ist lang und im Logoverlauf, Klick springt hin */
  width: 20px; height: 24px; padding: 10px 0; border: 0; cursor: pointer;
  background: rgba(150,180,255,.28); background-clip: content-box; border-radius: 99px;
  transition: width .4s cubic-bezier(.16, 1, .3, 1), background .3s;
}
.held-punkt:hover, .held-punkt:focus-visible{ background-color: rgba(150,180,255,.55) }
.held-punkt.ist-an{ width: 36px; background-image: linear-gradient(90deg, var(--blau), var(--violett)) }
.held-shop:hover, .held-shop:focus-visible{ color: var(--text) }

/* ---------- Auftritt ohne Intro (kein JavaScript): Bühne aus der Tiefe, Scan gleich beim Laden ---------- */
@media (prefers-reduced-motion: no-preference){
  .held-satz > *:not(h1){ animation: held-hoch 1s cubic-bezier(.16, 1, .3, 1) both }
  .held-satz > .marke-zeile{ animation-delay: .05s }
  .held-satz > .vorspann{ animation-delay: .35s }
  .held-satz > .knopf-reihe{ animation-delay: .5s }
  .held-satz > .gebiet{ animation-delay: .65s }
  @keyframes held-hoch{ from{ opacity: 0; translate: 0 24px } }

  .held:not(.held--intro) .held-aufbau{ animation: held-auftritt 1.8s cubic-bezier(.16, 1, .3, 1) .1s both }
  @keyframes held-auftritt{ from{ transform: translate3d(0, 10vh, -320px) rotateX(18deg) } }
  .held:not(.held--intro) .held-licht{ animation: held-licht-an 2.2s ease 1.9s both }
  .held:not(.held--intro) .held-handy-rahmen{ animation: held-hell 1.1s ease 1.6s both }
  .held:not(.held--intro) .held-chip{ animation: held-chip-rein .9s cubic-bezier(.16, 1, .3, 1) 2.55s both }
  .held:not(.held--intro) .held-chip--titel{ animation-delay: 2.75s }
  .held:not(.held--intro) .held-chip--marken{ animation-delay: 2.95s }
  .held:not(.held--intro) .held-ring-wert{ animation: held-ring 1.6s cubic-bezier(.16, 1, .3, 1) 2.7s both }
  .held-neu{ animation: held-hoch 1s cubic-bezier(.16, 1, .3, 1) 3s both }
  @keyframes held-hell{ from{ opacity: 0 } }
  @keyframes held-licht-an{ from{ opacity: 0 } }
  @keyframes held-chip-rein{ from{ opacity: 0; translate: 0 16px; scale: .9 } }
  @keyframes held-ring{ from{ stroke-dashoffset: 326.73 } }
}

/* ---------- Intro (René, 17.11.2026) ----------
   .held--intro setzt das Inline-Skript am Anfang von <section class="held">, bevor etwas gezeichnet wird.
   js/held.js schaltet die Stufen als Klassen, im Takt des Wurfs:
     held--auf      Deckel klappt auf             held--an     Bildschirme gehen an (Desktop, Sperrbildschirm)
     held--browser  Browser öffnen sich           held--tippt  Adresse wird getippt (Strich blinkt)
     held--laden    „Enter“, Ladebalken           held--scan   Mac: Bauplan + Scan, Handy: Seite baut sich auf
     held--fertig   Linse, Messwerte, Zähler; danach scrollen die Seiten wie bisher
   Läuft held.js nicht an, nimmt das Inline-Skript held--intro nach 4 s wieder weg: dann steht alles fertig da. */
@media (prefers-reduced-motion: no-preference){
  /* Wurf: MacBook zugeklappt von rechts oben, dreht sich (Oberseite mit Logo zur Kamera: rotateX negativ), landet, federt nach */
  .held--intro .held-mac{ animation: held-wurf 1.5s both }
  @keyframes held-wurf{
    0%  { transform: translate3d(46vw, -78vh, -900px) rotateX(-62deg) rotateY(-560deg) rotateZ(34deg); animation-timing-function: cubic-bezier(.22, .6, .36, 1) }
    66% { transform: translate3d(0, 0, 0) rotateX(-7deg) rotateY(-9deg) rotateZ(-2deg); animation-timing-function: cubic-bezier(.3, 0, .5, 1) }
    81% { transform: translate3d(0, -4vh, 0) rotateX(-13deg) rotateY(3deg) rotateZ(1deg); animation-timing-function: cubic-bezier(.5, 0, .75, 0) }
    92% { transform: translate3d(0, 0, 0) rotateX(1deg) rotateY(-1deg) rotateZ(0deg); animation-timing-function: ease-out }
    100%{ transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg) }
  }
  .held--intro:not(.held--auf) .held-mac-deckel{ transform: rotateX(-90deg) }

  /* Handy: von links, wirbelnd, etwas später */
  .held--intro .held-handy-flug{ animation: held-handy-wurf 1.55s .3s both }
  @keyframes held-handy-wurf{
    0%  { transform: translate3d(-60vw, -46vh, -500px) rotateX(36deg) rotateY(-720deg) rotateZ(-80deg); animation-timing-function: cubic-bezier(.22, .6, .36, 1) }
    66% { transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(-10deg) rotateZ(3deg); animation-timing-function: cubic-bezier(.3, 0, .5, 1) }
    81% { transform: translate3d(0, -8%, 0) rotateX(0deg) rotateY(4deg) rotateZ(-1.5deg); animation-timing-function: cubic-bezier(.5, 0, .75, 0) }
    92% { transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(-1deg) rotateZ(.5deg); animation-timing-function: ease-out }
    100%{ transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg) }
  }
  /* Schatten erst, wenn die Geräte unten sind */
  .held--intro .held-tisch::before{ animation: held-hell .5s ease .85s both }
  .held--intro .held-tisch::after{ animation: held-hell .5s ease 1.2s both }

  /* Aus, bis held--an */
  .held--intro:not(.held--an) .held-mac-aus, .held--intro:not(.held--an) .held-handy-aus{ opacity: 1 }

  /* Browser zu, bis held--browser — der Mac aus dem Dock (unten), das Handy aus dem Symbol */
  .held--intro:not(.held--browser) .held-schirm{ opacity: 0; transform: translateY(40%) scale(.18) }
  .held--intro:not(.held--browser) .held-handy-browser{ opacity: 0; transform: scale(.2) }
  .held--intro:not(.held--scan) .held-handy-browser{ background: #f2f2f7 }    /* leerer Tab, bis die erste Seite lädt */

  /* Leerer Tab bis zum Laden */
  .held--intro:not(.held--laden) .held-schloss{ display: none }
  .held--intro:not(.held--scan) .held-fenster > .held-seite,
  .held--intro:not(.held--scan) .held-maske,
  .held--intro:not(.held--scan) .held-scan,
  .held--intro:not(.held--scan) .held-handy-seite{ visibility: hidden }
  .held--intro:not(.held--scan) .held-fenster{ background: #f4f5f8 }
  .held--intro:not(.held--scan) .held-seite, .held--intro:not(.held--scan) .held-licht-seite{ animation: none }

  .held--laden .held-feld-balken{ animation: held-laden .75s cubic-bezier(.3, .7, .2, 1) both }
  .held--laden .held-handy-ladebalken{ animation: held-laden .7s cubic-bezier(.3, .7, .2, 1) .1s both }

  /* Scan erst mit held--scan (ohne Intro läuft er gleich beim Laden, siehe .held-fenster) */
  .held--intro .held-fenster{ animation: none; --scan: 0% }
  .held--intro.held--scan .held-fenster{ animation: held-scan 2s cubic-bezier(.72, 0, .24, 1) both }
  .held--intro .held-scan{ animation: none }
  .held--intro.held--scan .held-scan{ animation: held-weg .45s ease 1.95s both }
  .held--intro.held--scan .held-handy-seite{
    animation: held-handy-laden 1.1s cubic-bezier(.65, 0, .35, 1) backwards,
               held-handy-scrollen 40s cubic-bezier(.65, 0, .35, 1) 4.6s infinite both;
  }

  /* Licht aus dem Shop, sobald er da ist */
  .held--intro .held-licht{ opacity: 0; transition: opacity 2.4s ease .4s }
  .held--intro.held--scan .held-licht{ opacity: .56 }

  /* Messwerte mit held--fertig */
  .held--intro .held-chip{ transition: opacity .8s ease, translate 1s cubic-bezier(.16, 1, .3, 1), scale 1s cubic-bezier(.16, 1, .3, 1) }
  .held--intro:not(.held--fertig) .held-chip{ opacity: 0; translate: 0 16px; scale: .9 }
  .held--intro .held-chip--titel{ transition-delay: .2s }
  .held--intro .held-chip--marken{ transition-delay: .4s }
  .held--intro.held--fertig .held-ring-wert{ animation: held-ring 1.6s cubic-bezier(.16, 1, .3, 1) .1s both }
}

/* Unsichtbar? Dann ruhen die Endlosläufe (held.js setzt .held--ruht). */
.held--ruht .held-seite, .held--ruht .held-handy-seite, .held--ruht .held-licht-seite,
.held--ruht .held-nebel, .held--ruht h1 em, .held--ruht .held-neu-marke i{ animation-play-state: paused }

/* ---------- Ausgang beim Scrollen (nur nebeneinander): Text bleibt zurück, die Bühne kippt in die Tiefe ---------- */
@supports (animation-timeline: scroll()){
@media (prefers-reduced-motion: no-preference) and (min-width: 1101px){   /* schmaler steht alles untereinander */
  .held-satz{
    animation: held-satz-raus linear both;
    animation-timeline: scroll(root); animation-range: 0 85vh;
  }
  .held-raum{
    animation: held-raum-raus linear both;
    animation-timeline: scroll(root); animation-range: 0 105vh;
  }
  .held-neu{                       /* eigene Einblendung beim Laden behalten, darum zweite Animation */
    animation: held-hoch 1s cubic-bezier(.16, 1, .3, 1) 3s both, held-leiste-raus linear both;
    animation-timeline: auto, scroll(root); animation-range: normal, 0 45vh;
  }
  @keyframes held-satz-raus{ to{ translate: 0 -14vh; opacity: 0 } }
  @keyframes held-raum-raus{ to{ transform: perspective(1600px) translate3d(0, 16vh, -120px) rotateX(24deg) scale(.86); opacity: .1 } }
  @keyframes held-leiste-raus{ to{ opacity: 0 } }
}
}

/* ---------- Schmalere Fenster ---------- */
@media (max-width: 1280px){
  .held-chip--seo{ left: -4% }
}
@media (max-width: 1100px){
  .held{
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    padding-top: calc(var(--kopf-h) + clamp(28px, 6vh, 64px));
    padding-bottom: clamp(36px, 6vh, 64px);
  }
  /* Tablet und Telefon: der Shop gehört in den ersten Bildschirm — Überschrift, Shop, Knopf, dann der Vorspann.
     .held-satz löst sich dafür auf (display: contents), seine Kinder ordnen sich im Raster von .held. */
  .held-satz{ display: contents }
  .held-satz > *{ margin: 0; max-width: 720px }
  .held .marke-zeile{ order: 1 }
  .held h1{ order: 2; margin-top: 18px }
  .held-werk{ order: 3; margin: clamp(34px, 5vw, 56px) 0 0 }
  .held-satz .knopf-reihe{ order: 4; margin-top: 30px }
  .held .vorspann{ order: 5; margin-top: 26px }
  .held .gebiet{ order: 6; margin-top: 22px }
  .held-raum{ max-width: 900px; margin-inline: auto; padding-inline: 4% 2% }
  .held-aufbau{ margin-top: 0; width: 86% }
  .held-buehne{ transform: rotateY(-7deg) rotateX(4deg) }
  .held-neu{ position: relative; left: auto; right: auto; bottom: auto; margin-top: clamp(64px, 11vw, 110px) }
}
@media (max-width: 760px){
  .held{ min-height: 0 }
  .held h1{ font-size: clamp(1.85rem, 9.4vw, 3.1rem) }   /* „Shopify-Shops," in einer Zeile, auch bei 320 px */
  .held-handy{ width: 12% }
  .held-chip{ padding: 8px 11px; border-radius: 11px; gap: 8px; font-size: .72rem }
  .held-chip--seo{ left: auto; right: -1%; top: 9% }
  .held-chip--seo svg{ width: 34px; height: 34px }
  .held-chip-zahl{ font-size: 1.25rem }
  .held-chip--titel, .held-chip--marken{ display: none }
  /* Telefon: Karte oben rechts (links unten steht das Handy davor), Seobility weicht solange */
  .held-karte{ left: 28% !important; top: 4% !important; width: 69% !important; font-size: 8px; padding: .75em .95em .9em }
  .held--spot .held-chip--seo{ opacity: 0 !important }
  .held-neu{ gap: 8px 16px; font-size: .82rem }
  .held-neu-titel{ flex-basis: 100% }
  .held-neu-titel::before{ content: none }
  .held-neu-wege{ margin-left: 0 }
}

/* ---------- Ruhig gewünscht: alles steht, der Shop ist sofort echt ---------- */
@media (prefers-reduced-motion: reduce){
  .held-seite, .held-handy-seite, .held-licht-seite, .held-nebel, .held-fenster,
  .held h1 em, .held-neu-marke i{ animation: none }
  .held-scan{ display: none }
}
