/* Cyber Breach – E136 Anleitung als „Film“ (anleitung.js).
   Rahmen (Untertitel, Punkte, Knöpfe, Vollbild) im Stil von docs/STIL.md mit den gemeinsamen Tokens.
   Die NACHGEBAUTE Telefonoberfläche (.al-tel) sieht dagegen bewusst wie iPhone bzw. Android aus: Systemfarben und
   Systemschrift des Geräts, keine fremden Logos, keine Bilddateien außer unserem App-Symbol. Maße im Gerät in
   „Gerätepunkten“ (Bildschirm 300×650); das ganze Gerät wird per --k auf die Bühne skaliert.
   Glas im Nachbau ohne backdrop-filter (STIL §2.6: höchstens drei Blur-Flächen) – nur halbdurchsichtige Farbe. */

/* ------------------------------------------------------------------------------------------ Rahmen */
.al-film { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; width: 100%;
  color: var(--t1); font-family: var(--ui); }
.al-buehne { position: relative; height: var(--al-hoehe, min(60vh, 520px)); min-height: 220px; overflow: hidden; contain: layout paint; }
.al-skala { position: absolute; left: 50%; top: 50%; width: 320px; height: 670px;
  transform: translate(-50%, -50%) scale(var(--k, .5)); transform-origin: 50% 50%; }

.al-punkte { display: flex; justify-content: center; gap: 6px; min-height: 8px; }
.al-punkte i { width: 7px; height: 7px; border-radius: 4px; background: var(--t4); transition: width var(--d-zustand) var(--weich), background var(--d-zustand); }
.al-punkte i.vorbei { background: var(--t3); }
.al-punkte i.an { width: 22px; background: var(--verlauf); }

/* feste Höhe für zwei Zeilen Untertitel und zwei Zeilen Hinweis, damit das Gerät zwischen den Schritten nicht springt */
.al-unter { min-height: 94px; display: flex; flex-direction: column; gap: 4px; padding: 0 2px; }
.al-zeile { display: flex; align-items: flex-start; gap: 10px; }
.al-nr { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--verlauf); color: #fff; font: 700 15px/1 var(--ui); font-variant-numeric: tabular-nums; box-shadow: var(--glut-pille); }
.al-nr.fertig { background: var(--ok-flaeche); color: var(--ok-text, var(--ok)); box-shadow: none; }
.al-nr svg { width: 18px; height: 18px; }
.al-text { font: 620 18px/1.35 var(--ui); letter-spacing: -.01em; padding-top: 3px; min-width: 0; overflow-wrap: anywhere; }
.al-text b { font-weight: 760; }
.al-inline-ik { display: inline-grid; place-items: center; vertical-align: -5px; width: 28px; height: 24px; margin: 0 1px;
  border-radius: 8px; background: var(--f2); border: 1px solid var(--rand); }
.al-inline-ik svg { width: 17px; height: 17px; }
.al-hinweis { margin: 0 0 0 40px; font: 400 13px/1.4 var(--ui); color: var(--t2); }

.al-steuerung { display: flex; justify-content: center; align-items: center; gap: 10px; }
.al-knopf { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; cursor: pointer;
  background: var(--f1); border: 1px solid var(--rand); color: var(--t1); padding: 0;
  transition: transform var(--d-druck) var(--feder); }
.al-knopf:active { transform: scale(.9); }
.al-knopf svg { width: 20px; height: 20px; }
.al-knopf.haupt { width: 54px; height: 54px; background: var(--verlauf); border-color: transparent; color: #fff; box-shadow: var(--glut-knopf); }
.al-knopf.haupt svg { width: 24px; height: 24px; }
.al-knopf:focus-visible, .al-anders:focus-visible, .al-option:focus-visible { outline: 2px solid var(--ma-text); outline-offset: 3px; }

.al-ansichtzeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 8px; }
.al-ansicht { font: 500 12.5px/1.3 var(--ui); color: var(--t3); }
.al-anders { min-height: 44px; padding: 0 14px; border: 0; border-radius: var(--r-pille); background: transparent; cursor: pointer;
  color: var(--ma-text); font: 600 14.5px/1.2 var(--ui); text-decoration: underline; text-underline-offset: 3px; }

/* Wahl der Ansicht: legt sich über den Film */
.al-wahl { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; gap: 10px; padding: 4px 2px 2px;
  background: var(--f0); overflow-y: auto; overscroll-behavior: contain; }
.al-wahl[hidden] { display: none; }
.al-wahl-titel { font: 700 18px/1.3 var(--ui); letter-spacing: -.01em; }
.al-wahl-liste { display: flex; flex-direction: column; gap: 8px; }
.al-option { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 8px 12px 8px 8px; text-align: left; cursor: pointer;
  border-radius: var(--r-l); background: var(--karte); border: 1px solid var(--rand); color: var(--t1); font: inherit; }
.al-option[aria-checked="true"] { border-color: var(--ma-text); box-shadow: 0 0 0 1px var(--ma-text) inset; }
.al-option-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.al-option-tx b { font: 620 14.5px/1.3 var(--ui); }
.al-option-tx span { font: 400 12.5px/1.35 var(--ui); color: var(--t2); }
.al-wahl-zu { margin-top: auto; flex: none; }
.al-film.wahl-offen > :not(.al-wahl):not(.al-sr) { visibility: hidden; }

/* Vorschau der Leiste in der Wahl: Ausschnitt 300×100 auf halber Größe */
.al-mini { flex: none; position: relative; width: 108px; height: 44px; border-radius: 12px; overflow: hidden; border: 1px solid var(--rand); }
.al-mini .al-mini-tel { position: absolute; left: 0; bottom: 0; width: 300px; height: 122px; transform: scale(.36); transform-origin: 0 100%;
  border-radius: 0; --al-oben: 8px; }
.al-mini.oben .al-mini-tel { top: 0; bottom: auto; transform-origin: 0 0; }
.al-mini-tel > * { font-family: var(--al-sf); }
.al-mini-grund { position: absolute; inset: 0; }
.al-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: 0; padding: 0; }

/* Bildschirmfüllend mit „Verstanden“ */
.al-vollbild { position: fixed; inset: 0; z-index: var(--z-dialog, 95); display: flex; flex-direction: column; gap: 10px;
  padding: max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: var(--f0); color: var(--t1); opacity: 0; transition: opacity .25s ease; overflow: hidden; }
.al-vollbild.an { opacity: 1; }
.al-vollbild > * { width: 100%; max-width: 480px; margin: 0 auto; }
.al-vb-kopf { display: flex; flex-direction: column; gap: 2px; flex: none; }
.al-vb-titel { margin: 0; font: 700 20px/1.25 var(--ui); letter-spacing: -.02em; }
.al-vollbild .al-film { flex: 1; min-height: 0; }
.al-vollbild .al-buehne { height: auto; flex: 1; min-height: 160px; }
.al-vb-fuss { flex: none; }
.al-verstanden { min-height: 52px; }
@media (max-height: 640px) {
  .al-vb-titel { font-size: 18px; }
  .al-vollbild .kicker { display: none; }
  .al-text { font-size: 16.5px; }
  .al-unter { min-height: 80px; }
  .al-hinweis { font-size: 12.5px; }
  .al-film { gap: 8px; }
  .al-knopf.haupt { width: 48px; height: 48px; }
}

/* ------------------------------------------------------------------------------------------ Nachbau: Gerät */
.al-tel {
  --al-sf: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif;
  --al-oben: 44px;
  /* iOS dunkel */
  --i-grund: #000; --i-zelle: #1c1c1e; --i-zelle2: #2c2c2e; --i-text: #fff; --i-text2: rgba(235,235,245,.6); --i-trenn: rgba(84,84,88,.6);
  --i-blau: #0A84FF; --i-gruen: #30D158; --i-glas: rgba(44,44,48,.88); --i-glas-rand: rgba(255,255,255,.16); --i-glanz: rgba(255,255,255,.12);
  --i-blatt: #1c1c1e; --i-menue: rgba(44,44,48,.97); --i-druck: rgba(255,255,255,.16); --i-schleier: rgba(0,0,0,.4);
  --i-tastatur: #2b2b2d; --i-taste: #6a6a6e; --i-taste2: #464649; --i-leiste18: rgba(24,24,26,.97); --i-feld: #3a3a3c; --i-alert: rgba(44,44,46,.98); --i-alert-knopf: rgba(255,255,255,.12);
  /* Android/Chrome dunkel */
  --a-flaeche: #1f1f1f; --a-feld: #303134; --a-text: #e3e3e3; --a-text2: #c4c7c5; --a-blau: #a8c7fa; --a-knopf-text: #062e6f; --a-menue: #2d2f31;
  /* unsere Seite im Nachbau */
  --w-grund: #0a0a10; --w-text: #fff; --w-text2: rgba(255,255,255,.62); --w-karte: rgba(255,255,255,.07); --w-rand: rgba(255,255,255,.1);
  --w-schein: radial-gradient(70% 40% at 15% 8%, rgba(123,67,151,.8), transparent 65%), radial-gradient(60% 36% at 95% 30%, rgba(220,36,48,.5), transparent 62%), radial-gradient(80% 45% at 50% 105%, rgba(38,20,70,.9), transparent 65%);
  position: relative; width: 320px; height: 670px; font-family: var(--al-sf); color: var(--i-text);
  -webkit-font-smoothing: antialiased; user-select: none; -webkit-user-select: none; }
.al-tel.al-hell {
  --i-grund: #f2f2f7; --i-zelle: #fff; --i-zelle2: #e5e5ea; --i-text: #000; --i-text2: rgba(60,60,67,.6); --i-trenn: rgba(60,60,67,.22);
  --i-blau: #007AFF; --i-gruen: #34C759; --i-glas: rgba(252,252,253,.9); --i-glas-rand: rgba(0,0,0,.07); --i-glanz: rgba(255,255,255,.9);
  --i-blatt: #f2f2f7; --i-menue: rgba(250,250,251,.98); --i-druck: rgba(0,0,0,.09); --i-schleier: rgba(0,0,0,.22);
  --i-tastatur: #d1d3d9; --i-taste: #fff; --i-taste2: #abb0ba; --i-leiste18: rgba(248,248,248,.97); --i-feld: #e3e3e8; --i-alert: rgba(242,242,244,.98); --i-alert-knopf: rgba(0,0,0,.07);
  --a-flaeche: #fff; --a-feld: #eef1f6; --a-text: #1f1f1f; --a-text2: #444746; --a-blau: #0b57d0; --a-knopf-text: #fff; --a-menue: #fff;
  --w-grund: #f1f1f6; --w-text: #0a0a12; --w-text2: rgba(0,0,0,.62); --w-karte: #fff; --w-rand: rgba(0,0,0,.08);
  --w-schein: radial-gradient(70% 40% at 15% 8%, rgba(123,67,151,.35), transparent 65%), radial-gradient(60% 36% at 95% 30%, rgba(220,36,48,.25), transparent 62%), radial-gradient(80% 45% at 50% 105%, rgba(255,122,69,.22), transparent 65%);
}
.al-tel.android { --al-sf: Roboto, 'Google Sans', 'Inter', system-ui, sans-serif; }
.al-rahmen { position: absolute; inset: 0; border-radius: 52px; padding: 10px; background: #0b0b0e;
  box-shadow: 0 0 0 2px #3a3a40 inset, 0 0 0 1px #1a1a1e, 0 30px 60px -20px rgba(0,0,0,.65); }
.al-tel.android .al-rahmen { border-radius: 40px; }
.al-schirm { position: relative; width: 300px; height: 650px; border-radius: 42px; overflow: hidden; background: var(--i-grund);
  transition: opacity .3s ease; isolation: isolate; }
.al-tel.android .al-schirm { border-radius: 30px; }
.al-schirm.al-blende { opacity: 0; }
.al-ik { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.al-ik .voll { fill: currentColor; stroke: none; }
.al-ebenen { position: absolute; inset: 0; }
.al-ebenen > * { position: absolute; inset: 0; }
.al-ebene-voll { position: absolute; inset: 0; }

/* Statusleiste */
.al-status-platz { position: absolute; inset: 0 0 auto 0; z-index: 30; pointer-events: none; }
.al-status { position: absolute; inset: 0 0 auto 0; height: 46px; display: flex; align-items: center; justify-content: space-between;
  padding: 2px 24px 0 34px; color: var(--i-text); font: 600 15px/1 var(--al-sf); }
.al-schirm[data-status="weiss"] .al-status { color: #fff; }
.al-insel { position: absolute; left: 50%; top: 11px; width: 90px; height: 26px; margin-left: -45px; border-radius: 14px; background: #000; }
.al-status-rechts { display: flex; align-items: center; gap: 5px; }
.al-status .al-ik { width: 16px; height: 16px; stroke-width: 2.2; }
.al-akku { position: relative; display: inline-flex; }
.al-akku .al-ik { width: 24px; height: 18px; stroke-width: 1.6; opacity: .45; }
.al-akku-fuell { position: absolute; left: 4px; top: 6.5px; width: 13px; height: 5.5px; border-radius: 1.5px; background: currentColor; }
.al-status-android { height: 32px; padding: 0 18px; font: 500 13px/1 var(--al-sf); color: var(--a-text); }
.al-status-android .al-akku .al-ik { width: 20px; }
.al-status-android .al-akku-fuell { left: 3.5px; top: 6.8px; width: 11px; height: 4.8px; }
.al-loch { position: absolute; left: 50%; top: 10px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #000; }
.al-homebalken { position: absolute; left: 50%; bottom: 7px; width: 112px; height: 5px; margin-left: -56px; border-radius: 3px;
  background: var(--i-text); opacity: .85; z-index: 31; pointer-events: none; }
.al-schirm[data-status="weiss"] .al-homebalken { background: #fff; }
.al-schirm.android .al-homebalken { width: 90px; height: 4px; margin-left: -45px; bottom: 6px; background: var(--a-text); opacity: .6; }

/* Tipp-Kreis */
.al-finger { position: absolute; left: 0; top: 0; z-index: 40; width: 46px; height: 46px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.75) 0 38%, rgba(255,255,255,.4) 62%);
  border: 2px solid rgba(255,255,255,.95); box-shadow: 0 0 0 1.5px rgba(0,0,0,.35), 0 8px 18px rgba(0,0,0,.4);
  transform: translate(calc(var(--x, 150px) - 23px), calc(var(--y, 600px) - 23px));
  opacity: 0; transition: transform .7s var(--weich), opacity .25s ease; }
.al-finger.sofort { transition: opacity .25s ease; }
.al-finger.sicht { opacity: 1; }
.al-finger.wischt { transition: transform 1s cubic-bezier(.45,0,.2,1), opacity .25s; }
.al-finger::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid #FFD60A; opacity: 0; }
.al-finger.tippt { animation: al-druck .42s var(--feder); }
.al-finger.tippt::after { animation: al-welle .6s ease-out; }
.al-finger.zeigt::after { animation: al-welle 1.3s ease-out infinite; }
/* Wisch-Schritt im Standbild: Spur nach oben zeigt die Richtung */
.al-finger::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: 8px; height: 0; margin-left: -4px; border-radius: 4px;
  background: linear-gradient(to top, rgba(255,214,10,.9), rgba(255,214,10,0)); opacity: 0; transition: height .3s, opacity .3s; }
.al-finger.hoch::before { height: 120px; opacity: 1; }
@keyframes al-druck { 40% { transform: translate(calc(var(--x) - 23px), calc(var(--y) - 23px)) scale(.72); } }
@keyframes al-welle { 0% { opacity: .95; transform: scale(.8); } 100% { opacity: 0; transform: scale(2.1); } }
.al-tel .al-markiert { outline: 3px solid #FFD60A; outline-offset: 2px; }
.al-tel .al-gedrueckt { filter: brightness(.82); box-shadow: inset 0 0 0 999px var(--i-druck); }

/* Übergänge der Ebenen */
.al-rein { animation: al-ein .3s ease both; }
.al-rein .al-schleier { animation: al-ein .35s ease both; }
.al-rein .al-blatt { animation: al-blatt-ein .45s var(--weich) both; }
.al-rein .al-menue, .al-rein .al-a-menue { animation: al-pop .32s var(--feder) both; }
.al-rein .al-dialog { animation: al-dialog .3s var(--weich) both; }
.al-rein .al-mitteilung { animation: al-fallen .5s var(--feder) both; }
.al-rein.al-app { animation: al-app-auf .45s var(--weich) both; transform-origin: 48px 262px; }
.al-rein.al-wechsel { animation: al-rechts .45s var(--weich) both; }
.al-rein.al-home { animation: al-heim .45s var(--weich) both; }
.al-rein.al-home .al-neu { animation: al-neu .55s var(--feder) .35s both; }
.al-raus { animation: al-aus .28s ease both; pointer-events: none; }
.al-raus .al-blatt { transition: transform .3s ease; transform: translateY(680px) !important; }
@keyframes al-ein { from { opacity: 0; } }
@keyframes al-aus { to { opacity: 0; } }
@keyframes al-blatt-ein { from { transform: translateY(680px); } }
@keyframes al-pop { from { opacity: 0; transform: scale(.35); } }
@keyframes al-dialog { from { opacity: 0; transform: translate(-50%, -50%) scale(1.12); } }
@keyframes al-fallen { from { transform: translateY(-140%); } }
@keyframes al-app-auf { from { opacity: 0; transform: scale(.18); border-radius: 40px; } }
@keyframes al-rechts { from { transform: translateX(100%); } }
@keyframes al-heim { from { opacity: 0; transform: scale(1.08); } }
@keyframes al-neu { from { opacity: 0; transform: scale(.3); } }

/* ------------------------------------------------------------------------------------------ Nachbau: unsere Seite */
.al-web { position: absolute; inset: 0; background: var(--w-grund); color: var(--w-text); overflow: hidden; font-family: 'Inter', system-ui, sans-serif; }
.al-w-schein { position: absolute; inset: 0; background: var(--w-schein); }
.al-w-inhalt { position: absolute; inset: var(--oben, 54px) 0 var(--unten, 30px) 0; padding: 8px 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; overflow: hidden; }
.al-w-kopf { align-self: stretch; display: flex; align-items: center; gap: 8px; }
.al-w-zeichen { width: 22px; height: 22px; object-fit: contain; }
.al-w-marke { font: 700 10.5px/1 'Chakra Petch', 'Inter', sans-serif; letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(120deg, #9b62c9, #e0507a 60%, #ff5a5f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.al-w-ruhe { position: relative; width: 78px; height: 78px; display: grid; place-items: center; margin-top: 8px; }
.al-w-puls { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(185,138,224,.55); box-shadow: 0 0 0 12px rgba(123,67,151,.12); }
.al-w-zeichen.gross { width: 46px; height: 46px; }
.al-w-titel { font: 700 23px/1.2 'Inter', system-ui, sans-serif; letter-spacing: -.02em; }
.al-w-pille { font: 600 12px/1 'Inter', sans-serif; padding: 7px 12px; border-radius: 99px; background: var(--w-karte); border: 1px solid var(--w-rand); color: var(--w-text2); }
.al-w-karte { align-self: stretch; margin-top: 8px; padding: 12px; border-radius: 18px; background: var(--w-karte); border: 1px solid var(--w-rand);
  display: flex; flex-direction: column; gap: 10px; }
.al-w-kk { display: flex; align-items: center; gap: 10px; }
.al-w-kachel { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #dc2430, #7b4397); }
.al-w-kachel svg { width: 18px; height: 18px; }
.al-w-kachel.ok { background: rgba(61,220,132,.18); color: #3ddc84; }
.al-hell .al-w-kachel.ok { color: #0a8f3c; }
.al-w-tx { display: flex; flex-direction: column; gap: 1px; font: 400 11px/1.3 'Inter', sans-serif; color: var(--w-text2); }
.al-w-tx b { font: 650 13px/1.25 'Inter', sans-serif; color: var(--w-text); }
.al-w-knopf { display: flex; align-items: center; justify-content: center; gap: 6px; height: 38px; border-radius: 12px; font: 600 12.5px/1 'Inter', sans-serif;
  background: var(--w-karte); border: 1px solid var(--w-rand); color: var(--w-text); }
.al-w-knopf svg { width: 15px; height: 15px; }
.al-w-knopf.primaer { background: linear-gradient(135deg, #7B4397, #DC2430); border-color: transparent; color: #fff; box-shadow: 0 10px 22px -10px rgba(220,36,48,.7); }

/* ------------------------------------------------------------------------------------------ Nachbau: Safari */
.al-glas { background: var(--i-glas); border: .5px solid var(--i-glas-rand);
  box-shadow: 0 8px 22px -6px rgba(0,0,0,.35), inset 0 1px 0 var(--i-glanz); color: var(--i-text); }
.al-rund { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.al-rund.aus .al-ik { opacity: .35; }
.al-rund.klein { width: 34px; height: 34px; background: var(--i-zelle2); }
.al-rund.klein .al-ik { width: 17px; height: 17px; stroke-width: 2.3; }
.al-kapsel { flex: 1; min-width: 0; height: 46px; border-radius: 23px; display: flex; align-items: center; gap: 2px; padding: 0 6px; }
.al-kap-ik { display: grid; place-items: center; width: 28px; height: 30px; border-radius: 50%; flex: none; }
.al-kap-ik .al-ik { width: 18px; height: 18px; }
.al-domain { flex: 1; min-width: 0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 500 12.5px/1 var(--al-sf); letter-spacing: -.01em; }
.al-s26 { position: absolute; left: 10px; right: 10px; bottom: 24px; display: flex; align-items: center; gap: 8px; }
.al-sl { position: absolute; left: 0; right: 0; bottom: 0; height: 134px; }
.al-sl .al-kapsel { position: absolute; left: 12px; right: 12px; bottom: 80px; height: 42px; }
.al-sl-leiste { position: absolute; left: 12px; right: 12px; bottom: 24px; height: 48px; border-radius: 24px; display: flex; justify-content: space-around; align-items: center; }
.al-sl-ik, .al-s18-ik, .al-ci-ik { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.al-sl-ik.aus .al-ik, .al-s18-ik.aus .al-ik, .al-ci-ik.aus .al-ik { opacity: .35; }
.al-s18 { position: absolute; left: 0; right: 0; bottom: 0; height: 122px; background: var(--i-leiste18); border-top: .5px solid var(--i-trenn); }
.al-s18-feld { position: absolute; left: 12px; right: 12px; top: 8px; height: 38px; border-radius: 11px; background: var(--i-feld);
  display: flex; align-items: center; padding: 0 6px 0 12px; gap: 4px; }
.al-s18-aa { font: 600 13px/1 var(--al-sf); letter-spacing: -.02em; }
.al-s18-aa::first-letter { font-size: 10px; }
.al-s18-schloss .al-ik { width: 12px; height: 12px; margin-right: 3px; vertical-align: -1px; opacity: .6; }
.al-s18-leiste { position: absolute; left: 8px; right: 8px; top: 52px; height: 44px; display: flex; justify-content: space-around; align-items: center; color: var(--i-blau); }
.al-s18-ik .al-ik { width: 24px; height: 24px; stroke-width: 2; }

/* Menü-Popover (iOS 26/27) */
.al-menue { position: absolute; bottom: 80px; width: 262px; padding: 8px 0; border-radius: 26px; background: var(--i-menue);
  border: .5px solid var(--i-glas-rand); box-shadow: 0 20px 50px -10px rgba(0,0,0,.55); }
.al-menue-rechts { right: 10px; transform-origin: 90% 110%; }
.al-menue-links { left: 16px; transform-origin: 10% 110%; }
.al-mz { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 16px; font: 400 15px/1 var(--al-sf); white-space: nowrap; }
.al-mz .al-ik { width: 20px; height: 20px; }
.al-mz + .al-mz { border-top: .5px solid var(--i-trenn); }

/* Teilen-Blatt */
.al-schleier { position: absolute; inset: 0; background: var(--i-schleier); }
.al-schleier.dunkel { background: rgba(0,0,0,.45); }
.al-blatt { position: absolute; left: 0; right: 0; top: 0; height: 680px; transform: translateY(var(--al-y, 300px));
  transition: transform .45s var(--weich); background: var(--i-blatt); color: var(--i-text); }
.al-teilen { border-radius: 38px 38px 0 0; padding: 16px 14px; }
.halb .al-teilen { --al-y: 286px; }
.voll .al-teilen { --al-y: 52px; }
.al-teilen18 { border-radius: 14px 14px 0 0; padding: 14px 12px; }
.halb .al-teilen18 { --al-y: 318px; }
.voll .al-teilen18 { --al-y: 58px; }
.al-t-kopf { display: flex; align-items: center; gap: 10px; padding: 0 2px 12px; }
.al-t-bild { width: 44px; height: 44px; border-radius: 11px; }
.al-t-seitenbild { width: 50px; height: 50px; border-radius: 9px; background: #0a0a10; display: grid; place-items: center; }
.al-t-seitenbild img { width: 28px; height: 28px; }
.al-t-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font: 400 12.5px/1.2 var(--al-sf); color: var(--i-text2); }
.al-t-tx b { font: 600 15px/1.2 var(--al-sf); color: var(--i-text); }
.al-t-optionen { color: var(--i-blau); font-weight: 500; }
.al-t-x { width: 30px; height: 30px; border-radius: 50%; background: var(--i-zelle2); display: grid; place-items: center; color: var(--i-text2); flex: none; }
.al-t-x .al-ik { width: 15px; height: 15px; stroke-width: 2.6; }
.al-t-reihe { display: flex; justify-content: space-between; padding: 6px 0 10px; }
.al-t-eintrag { width: 54px; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.al-t-person { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font: 600 20px/1 var(--al-sf); color: #fff;
  background: linear-gradient(180deg, #a3a8b3, #858a94); }
.al-t-app { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.al-t-app .al-ik { width: 28px; height: 28px; }
.al-t-name { font: 400 10.5px/1.2 var(--al-sf); text-align: center; color: var(--i-text); }
.al-t-aktionen { display: flex; justify-content: space-between; padding: 4px 4px 12px; }
.al-t-aktion { width: 62px; display: flex; flex-direction: column; align-items: center; gap: 5px; border-radius: 14px; }
.al-t-kreis { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--i-zelle); color: var(--i-text); }
.al-t-kreis .al-ik { width: 22px; height: 22px; }
.al-t-aktion .auf { display: none; }
.voll .al-t-aktion .auf { display: inline; }
.voll .al-t-aktion .zu { display: none; }
.al-t-gruppe { border-radius: 16px; background: var(--i-zelle); margin-bottom: 12px; overflow: hidden; }
.al-teilen18 .al-t-gruppe { border-radius: 11px; }
.al-lz { display: flex; align-items: center; gap: 13px; height: 44px; padding: 0 14px; font: 400 15px/1 var(--al-sf); }
.al-lz + .al-lz { border-top: .5px solid var(--i-trenn); }
.al-lz .al-ik { width: 21px; height: 21px; }
.al-lz.rechts { justify-content: space-between; }

/* Farben der Symbolkacheln (neutrale Flächen, keine fremden Logos) */
.blau { background: linear-gradient(180deg, #3aa0ff, #0a6cf1); }
.blau2 { background: linear-gradient(180deg, #4fc3ff, #1a7ef5); }
.gruen { background: linear-gradient(180deg, #5df27a, #1fb83f); }
.gruen2 { background: linear-gradient(180deg, #62d17e, #2f9e57); }
.weiss { background: #fff; color: #ff9500 !important; }
.gelb { background: linear-gradient(180deg, #ffe35a, #ffc400); color: #6b5200 !important; }
.grau { background: linear-gradient(180deg, #a1a6ae, #6e737b); }
.schwarz { background: #111; }
.himmel { background: linear-gradient(180deg, #4ab3ff, #1e6fd9); }
.rot { background: linear-gradient(180deg, #ff6b81, #e8254a); }
.bunt { background: conic-gradient(from 20deg, #ffcc00, #ff6b3d, #e8254a, #9b59d0, #2f8cff, #34c759, #ffcc00); }

/* Blatt „Zum Home-Bildschirm“ */
.al-hinzu { --al-y: 42px; border-radius: 38px 38px 0 0; background: var(--i-grund); padding: 12px 14px; }
.al-tel:not(.al-hell) .al-hinzu { background: #1c1c1e; }
.al-hinzu-18 { border-radius: 12px 12px 0 0; padding: 0 12px; }
.al-h-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 48px; font: 400 16px/1 var(--al-sf); }
.al-h-nav b { font: 600 14px/1.2 var(--al-sf); text-align: center; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.al-h-nav > * { flex-shrink: 0; }
.al-h-nav > b { flex-shrink: 1; }
.al-h-kapsel { height: 34px; padding: 0 11px; border-radius: 17px; display: grid; place-items: center; background: var(--i-blau); color: #fff; font: 600 14px/1 var(--al-sf); }
.al-h-text { color: var(--i-blau); font: 400 16px/1 var(--al-sf); padding: 6px 2px; border-radius: 8px; }
.al-h-text.fett { font-weight: 600; }
.al-hinzu-18 .al-h-nav b { font-size: 13px; }
.al-hinzu-18 .al-h-text { font-size: 15px; }
.al-hinzu-18 .al-h-nav { border-bottom: .5px solid var(--i-trenn); margin: 0 -12px 18px; padding: 0 14px; }
.al-h-zelle { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px; border-radius: 24px; background: var(--i-zelle); }
.al-tel:not(.al-hell) .al-hinzu .al-h-zelle { background: #2c2c2e; }
.al-hinzu-18 .al-h-zelle { border-radius: 11px; margin-top: 0; }
.al-h-zelle.zeile { justify-content: space-between; padding: 10px 14px; font: 400 15.5px/1 var(--al-sf); min-height: 50px; }
.al-h-icon { width: 58px; height: 58px; border-radius: 14px; flex: none; }
.al-h-felder { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.al-h-name { display: flex; align-items: center; height: 36px; border-bottom: .5px solid var(--i-trenn); font: 400 16px/1 var(--al-sf); }
.al-h-cursor { width: 2px; height: 20px; margin-left: 1px; background: var(--i-blau); border-radius: 1px; animation: al-cursor 1s steps(1) infinite; }
.al-h-loeschen { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--i-text2); color: var(--i-zelle); display: grid; place-items: center; }
.al-h-loeschen .al-ik { width: 11px; height: 11px; stroke-width: 3; }
.al-h-url { padding-top: 8px; font: 400 13px/1.2 var(--al-sf); color: var(--i-text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.al-h-fuss { display: block; margin: 8px 14px 0; font: 400 12px/1.35 var(--al-sf); color: var(--i-text2); }
@keyframes al-cursor { 50% { opacity: 0; } }
.al-schalter { position: relative; width: 51px; height: 31px; border-radius: 16px; background: var(--i-zelle2); flex: none; }
.al-schalter.an { background: var(--i-gruen); }
.al-schalter-knopf { position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.25); }
.al-schalter.an .al-schalter-knopf { left: 22px; }
.al-tastatur { position: absolute; left: 0; right: 0; bottom: 0; height: 228px; padding: 8px 3px 40px; background: var(--i-tastatur);
  display: flex; flex-direction: column; gap: 10px; }
.al-rein .al-tastatur { animation: al-blatt-ein .45s var(--weich) both; }
.al-tz { display: flex; justify-content: center; gap: 5px; }
.al-taste { flex: 1; max-width: 23px; height: 36px; border-radius: 6px; background: var(--i-taste); box-shadow: 0 1px 0 rgba(0,0,0,.3);
  display: grid; place-items: center; font: 400 17px/1 var(--al-sf); color: var(--i-text); }
.al-taste.sonder { max-width: 34px; background: var(--i-taste2); font-size: 14px; }
.al-taste.breit { max-width: 62px; font-size: 13px; }
.al-taste.leer { max-width: 150px; font-size: 13px; }

/* Home-Bildschirm */
.al-home { position: absolute; inset: 0; color: #fff;
  background: radial-gradient(80% 50% at 20% 15%, #6d4bd8, transparent 70%), radial-gradient(70% 50% at 90% 60%, #d9486d, transparent 70%), linear-gradient(170deg, #26215e, #6b2a6d 55%, #e0764e); }
.al-hell .al-home { background: radial-gradient(80% 50% at 20% 15%, #8fa8ff, transparent 70%), radial-gradient(70% 50% at 90% 60%, #ff9fb6, transparent 70%), linear-gradient(170deg, #5a79e8, #b178d0 55%, #ffb27a); }
.al-home-raster { position: absolute; top: 62px; left: 18px; right: 18px; display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 16px; justify-items: center; }
.al-hs { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 66px; border-radius: 14px; }
.al-hs-kachel { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,.18); overflow: hidden; }
.al-hs-kachel .al-ik { width: 30px; height: 30px; }
.al-hs-kachel.rundes { border-radius: 50%; }
img.al-hs-kachel { object-fit: cover; }
.al-hs-name { font: 500 11px/1.1 var(--al-sf); text-shadow: 0 1px 3px rgba(0,0,0,.45); white-space: nowrap; }
.al-hs-kachel.kal { background: #fff; color: #111; display: flex; flex-direction: column; gap: 0; }
.al-kal-tag { font: 600 10px/1 var(--al-sf); color: #ff3b30; margin-top: 7px; }
.al-kal-zahl { font: 300 30px/1 var(--al-sf); }
.al-home-unten { position: absolute; left: 10px; right: 10px; bottom: 14px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.al-home-suchen { display: flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 14px; background: rgba(255,255,255,.22); font: 600 12px/1 var(--al-sf); }
.al-home-suchen .al-ik { width: 13px; height: 13px; stroke-width: 2.6; }
.al-home-dock { align-self: stretch; height: 84px; border-radius: 32px; display: flex; justify-content: space-around; align-items: center; }
.al-home .al-home-dock.al-glas { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.3); box-shadow: none; }
.al-home-android .al-home-raster { top: 70px; }
.al-home-android .al-home-dock { height: 64px; }
.al-home-suche { align-self: stretch; height: 46px; border-radius: 23px; background: rgba(255,255,255,.9); color: #444; display: flex; align-items: center; gap: 10px; padding: 0 16px; }
.al-home-suche-tx { flex: 1; font: 400 14px/1 var(--al-sf); }
.al-home-suche .al-ik { width: 20px; height: 20px; }

/* Systemabfrage und Mitteilung (iOS) */
.al-alert { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 262px; text-align: center; color: var(--i-text);
  display: flex; flex-direction: column; gap: 6px; font: 400 13px/1.35 var(--al-sf); }
.al-alert b { font: 600 16.5px/1.3 var(--al-sf); }
.al-alert-glas { padding: 20px 16px 14px; border-radius: 30px; background: var(--i-alert); box-shadow: 0 24px 60px -12px rgba(0,0,0,.6); }
.al-alert-glas .al-alert-knoepfe { display: flex; gap: 8px; margin-top: 10px; }
.al-alert-glas .al-alert-knopf { flex: 1; height: 44px; border-radius: 22px; display: grid; place-items: center; background: var(--i-alert-knopf); font: 500 15.5px/1 var(--al-sf); }
.al-alert-knopf.fett { font-weight: 650; }
.al-alert-klassisch { padding: 18px 14px 0; border-radius: 14px; background: var(--i-alert); }
.al-alert-klassisch .al-alert-knoepfe { display: flex; margin: 12px -14px 0; border-top: .5px solid var(--i-trenn); }
.al-alert-klassisch .al-alert-knopf { flex: 1; height: 44px; display: grid; place-items: center; color: var(--i-blau); font: 400 16.5px/1 var(--al-sf); }
.al-alert-klassisch .al-alert-knopf + .al-alert-knopf { border-left: .5px solid var(--i-trenn); }
.al-alert-klassisch .al-alert-knopf.fett { font-weight: 600; }
.al-mitteilung { position: absolute; left: 8px; right: 8px; top: 50px; padding: 11px 13px; border-radius: 24px; display: flex; gap: 10px; align-items: center;
  background: var(--i-menue); color: var(--i-text); box-shadow: 0 16px 40px -10px rgba(0,0,0,.55); }
.al-m-icon { width: 38px; height: 38px; border-radius: 9px; flex: none; }
.al-m-icon.rundes { border-radius: 50%; }
.al-m-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.al-m-kopf { display: flex; justify-content: space-between; font: 400 12px/1.2 var(--al-sf); color: var(--i-text2); }
.al-m-kopf b { font: 600 14px/1.2 var(--al-sf); color: var(--i-text); }
.al-m-text { font: 400 14px/1.3 var(--al-sf); }
.al-mitteilung.android { top: 38px; border-radius: 20px; background: var(--a-menue); color: var(--a-text); }
.al-mitteilung.android .al-m-kopf b { color: var(--a-text); }

/* ------------------------------------------------------------------------------------------ Nachbau: Chrome iOS, Android */
.al-ci-oben { position: absolute; left: 0; right: 0; top: 44px; height: 50px; background: var(--a-flaeche); padding: 6px 12px; }
.al-ci-feld { height: 38px; border-radius: 19px; background: var(--a-feld); color: var(--a-text); display: flex; align-items: center; padding: 0 4px 0 12px; gap: 6px; }
.al-ci-ik .al-ik, .al-ci-feld .al-ik { width: 20px; height: 20px; }
.al-ci-ik { color: var(--a-text2); }
.al-ci-teilen { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.al-ci-unten { position: absolute; left: 0; right: 0; bottom: 0; height: 84px; background: var(--a-flaeche); border-top: .5px solid var(--i-trenn);
  display: flex; justify-content: space-around; align-items: flex-start; padding-top: 8px; color: var(--a-text); }
.al-ci-tabs, .al-a-tabs { display: grid; place-items: center; width: 22px; height: 22px; margin: 9px; border: 2px solid currentColor; border-radius: 6px; font: 700 11px/1 var(--al-sf); }
.al-ca { position: absolute; left: 0; right: 0; top: 32px; height: 54px; background: var(--a-flaeche); color: var(--a-text); display: flex; align-items: center; gap: 2px; padding: 0 4px; }
.al-a-ik { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none; }
.al-a-ik .al-ik { width: 22px; height: 22px; }
.al-a-ik.klein { width: 26px; height: 26px; }
.al-a-ik.klein .al-ik { width: 16px; height: 16px; }
.al-a-ik.aus .al-ik { opacity: .38; }
.al-ca-feld, .al-sa-feld, .al-fa-feld { flex: 1; min-width: 0; height: 42px; border-radius: 21px; background: var(--a-feld); display: flex; align-items: center; gap: 4px; padding: 0 12px 0 6px; }
.al-ca .al-domain, .al-sa .al-domain, .al-fa .al-domain { text-align: left; font-family: var(--al-sf); font-size: 14px; font-weight: 400; }
.al-a-tabs { margin: 0 8px; flex: none; }
.al-sa-oben { position: absolute; left: 0; right: 0; top: 32px; height: 54px; background: var(--a-flaeche); display: flex; align-items: center; padding: 0 10px; color: var(--a-text); }
.al-sa-unten { position: absolute; left: 0; right: 0; bottom: 18px; height: 52px; background: var(--a-flaeche); display: flex; justify-content: space-around; align-items: center; color: var(--a-text); }
.al-sa::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: var(--a-flaeche); }
.al-fa { position: absolute; left: 0; right: 0; bottom: 0; height: 80px; padding: 8px 6px 24px 10px; background: var(--a-flaeche); color: var(--a-text);
  display: flex; align-items: center; gap: 2px; border-top: .5px solid var(--i-trenn); }
.al-ia { position: absolute; left: 0; right: 0; top: 0; height: 96px; padding: 46px 6px 0; background: var(--i-zelle); color: var(--i-text);
  display: flex; align-items: center; gap: 6px; border-bottom: .5px solid var(--i-trenn); }
.al-tel.android .al-ia { height: 84px; padding-top: 32px; }
.al-ia-ik { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none; }
.al-ia-titel { flex: 1; min-width: 0; text-align: center; display: flex; flex-direction: column; gap: 1px; font: 400 11px/1.2 var(--al-sf); color: var(--i-text2); }
.al-ia-titel b { font: 600 14px/1.2 var(--al-sf); color: var(--i-text); }

/* Statuszeile in der Farbe der Browserleiste (Chrome, Samsung) */
.al-ci::before, .al-ca::before, .al-sa::before { content: ''; position: absolute; left: 0; right: 0; background: var(--a-flaeche); }
.al-ci::before { top: 0; height: 44px; }
.al-ca::before { top: -32px; height: 32px; }
.al-sa::before { top: 0; height: 32px; }
.al-mini-tel .al-ci::before, .al-mini-tel .al-ca::before, .al-mini-tel .al-sa::before { display: none; }

/* Android-Menüs, Blätter, Dialoge (Material) */
.al-a-menue { position: absolute; top: 36px; right: 6px; width: 214px; padding: 4px 0 8px; border-radius: 16px; background: var(--a-menue); color: var(--a-text);
  box-shadow: 0 12px 36px -6px rgba(0,0,0,.5); transform-origin: 92% 0; }
.al-am-kopf { display: flex; justify-content: space-around; height: 46px; align-items: center; color: var(--a-text2); border-bottom: .5px solid var(--i-trenn); margin-bottom: 4px; }
.al-am-kopf .al-ik { width: 20px; height: 20px; }
.al-am-zeile { display: flex; align-items: center; gap: 16px; height: 40px; padding: 0 16px; font: 400 14px/1 var(--al-sf); color: var(--a-text); white-space: nowrap; }
.al-am-zeile .al-ik { width: 20px; height: 20px; color: var(--a-text2); }
.al-a-blatt { top: auto; bottom: 0; height: auto; transform: none; border-radius: 28px 28px 0 0; background: var(--a-menue); color: var(--a-text); padding: 8px 8px 30px; }
.al-a-griff { display: block; width: 32px; height: 4px; margin: 4px auto 12px; border-radius: 2px; background: var(--a-text2); opacity: .5; }
.al-a-blatt-titel { display: block; padding: 0 16px 8px; font: 500 16px/1.3 var(--al-sf); }
.al-im.ios { background: var(--i-zelle); color: var(--i-text); border-radius: 22px 22px 0 0; }
.al-im.ios .al-am-zeile { color: var(--i-text); }
.al-sm-raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 4px; padding: 4px 4px 8px; }
.al-sm-kachel { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font: 400 11px/1.2 var(--al-sf); border-radius: 12px; padding: 4px 0; }
.al-sm-ik { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--a-feld); color: var(--a-text); }
.al-a-dialog { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 268px; padding: 22px 22px 14px; border-radius: 28px;
  background: var(--a-menue); color: var(--a-text); box-shadow: 0 24px 60px -12px rgba(0,0,0,.6); display: flex; flex-direction: column; gap: 14px; }
.al-a-dialog-titel { font: 400 20px/1.3 var(--al-sf); }
.al-a-dialog-titel.mitte { text-align: center; font-size: 18px; }
.al-a-dialog-ik { align-self: center; color: var(--a-blau); }
.al-a-dialog-ik .al-ik { width: 26px; height: 26px; }
.al-a-app { display: flex; align-items: center; gap: 12px; }
.al-a-app-icon { width: 44px; height: 44px; border-radius: 50%; }
.al-a-app-tx { display: flex; flex-direction: column; gap: 2px; font: 400 12.5px/1.2 var(--al-sf); color: var(--a-text2); min-width: 0; }
.al-a-app-tx b { font: 500 15px/1.2 var(--al-sf); color: var(--a-text); }
.al-a-dialog-knoepfe { display: flex; justify-content: flex-end; gap: 6px; }
.al-a-text { padding: 10px 12px; border-radius: 20px; color: var(--a-blau); font: 500 14.5px/1 var(--al-sf); }
.al-a-dialog-stapel { display: flex; flex-direction: column; gap: 8px; }
.al-a-knopf { height: 42px; border-radius: 21px; display: grid; place-items: center; font: 500 14.5px/1 var(--al-sf); }
.al-a-knopf.voll { background: var(--a-blau); color: var(--a-knopf-text); }
.al-a-knopf.leise { background: var(--a-feld); color: var(--a-text); }

/* Vorschau in der Wahl: Leisten ohne Statuszeile */
.al-mini-tel .al-ca, .al-mini-tel .al-sa-oben { top: 6px; }
.al-mini-tel .al-ci-oben { top: 4px; }
.al-mini-tel .al-ia { top: 0; height: 56px; padding-top: 6px; }
.al-mini-tel .al-sa-unten, .al-mini-tel .al-sa::after { display: none; }
.al-mini.oben .al-mini-tel { height: 64px; }

/* Reduzierte Bewegung: nichts gleitet; der Tipp-Kreis steht (STIL §2.7) */
@media (prefers-reduced-motion: reduce) {
  .al-finger, .al-blatt, .al-punkte i, .al-schirm { transition: none !important; }
  .al-finger.zeigt::after { animation: none !important; opacity: .9; transform: scale(1.25); }
  .al-h-cursor { animation: none !important; }
}
.sparsam .al-finger.zeigt::after { animation: none; opacity: .9; transform: scale(1.25); }
