/* Trustview — Actionszenen unter den großen Sätzen.
   Jede Szene startet, wenn sie die Klasse .an bekommt (Trustbots Stichwort
   oder Scrollstand). Nur transform/opacity werden animiert. */

.leitsatz__halter { flex-direction: column; justify-content: center; gap: clamp(16px, 3vh, 36px); }
.saetze { height: 2.3em; font-size: clamp(32px, 5.2vw, 84px); }
.grafikbuehne { contain: layout; will-change: transform; position: relative; width: min(880px, calc(100vw - 32px)); height: clamp(230px, 42vh, 420px); margin: 0 auto; }
.grafikbuehne::after { content: ""; position: absolute; inset: -10%; border-radius: 40px; background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--akzent) 45%, transparent), transparent 70%); opacity: 0; pointer-events: none; }
.grafikbuehne.blitz::after { animation: g-blitz .9s ease-out; }
.grafikbuehne.stoss { animation: g-stoss .9s cubic-bezier(.2,.7,.2,1); }
@keyframes g-blitz { 0% { opacity: .28; } 100% { opacity: 0; } }
@keyframes g-stoss { 0% { transform: scale(1.015); } 100% { transform: none; } }

.grafik { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.9); transition: opacity .35s ease, transform .5s var(--weich); pointer-events: none; }
.grafik.an { opacity: 1; transform: none; }
/* Langsame Kamerafahrt auf die laufende Szene, damit auch nach dem Auftritt nichts stillsteht.
   (Endlos-Animationen dehnt das Skript nicht; alles andere läuft im Tempo der Stimme.) */
.grafik.an > * { animation: g-kamerafahrt 7s ease-in-out .4s infinite alternate; will-change: transform; }
@keyframes g-kamerafahrt { from { transform: none; } to { transform: scale(1.07) translateY(-6px); } }
.grafik.war { opacity: 0; transform: scale(1.08); }
/* Die Uhr vom Anfang bleibt klein in der Ecke stehen */
/* Die Uhr vom Anfang wandert klein in die obere rechte Ecke der Bühne, über die Szenen */
.grafikbuehne--intro.nach-intro .grafik--intro { opacity: .85; place-items: start end; transform: scale(.34); transform-origin: 100% 0; }
html:not(.js) .grafikbuehne { display: none; }

/* gemeinsame Bausteine */
.grafik span, .grafik b { font-family: var(--schrift); }
.g-glas { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 20px 50px rgba(0,0,0,.5); }

/* 1 Uhr ------------------------------------------------------------------------ */
.g-uhr { display: flex; align-items: center; gap: 36px; }
.g-uhr__blatt { position: relative; width: clamp(150px, 22vh, 220px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.1), rgba(255,255,255,.02) 70%); border: 2px solid rgba(255,255,255,.2); box-shadow: 0 0 60px color-mix(in srgb, var(--akzent) 30%, transparent), inset 0 0 30px rgba(0,0,0,.5); }
.g-uhr__blatt b { position: absolute; left: 50%; top: 50%; width: 2px; height: 9%; background: rgba(255,255,255,.55); transform: translate(-50%, -50%) rotate(var(--r)) translateY(-420%); }
.g-uhr__h, .g-uhr__m { position: absolute; left: 50%; bottom: 50%; width: 4px; border-radius: 2px; transform-origin: 50% 100%; background: #fff; translate: -50% 0; }
.g-uhr__h { height: 26%; width: 5px; }
.g-uhr__m { height: 38%; background: var(--akzent); }
.g-uhr__s { position: absolute; left: 50%; bottom: 50%; width: 2px; height: 42%; border-radius: 1px; transform-origin: 50% 100%; translate: -50% 0; background: #ff5a3c; opacity: 0; }
.grafik.an .g-uhr__s { animation: g-einblenden .3s ease 1.3s forwards, g-sekunde 60s steps(60) 1.3s infinite; }
.g-uhr__digital i { font-style: normal; }
.grafik.an .g-uhr__digital i { animation: blink 1s steps(2) 1.4s infinite; }
@keyframes g-sekunde { to { rotate: 360deg; } }
@keyframes g-einblenden { to { opacity: 1; } }
.g-uhr__mitte { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); }
.g-uhr__digital { font-size: clamp(40px, 7vh, 72px); font-weight: 600; letter-spacing: -.02em; color: var(--akzent); font-variant-numeric: tabular-nums; text-shadow: 0 0 30px color-mix(in srgb, var(--akzent) 60%, transparent); }
.grafik.an .g-uhr__h { animation: g-zeiger-h 1.4s cubic-bezier(.2,.8,.2,1) forwards; }
.grafik.an .g-uhr__m { animation: g-zeiger-m 1.4s cubic-bezier(.2,.8,.2,1) forwards; }
.grafik.an .g-uhr__digital { animation: g-flacker 1.4s steps(1) forwards; }
@keyframes g-zeiger-h { from { rotate: 0deg; } to { rotate: 293deg; } }
@keyframes g-zeiger-m { from { rotate: 0deg; } to { rotate: 1002deg; } }
@keyframes g-flacker { 0%, 20%, 40% { opacity: .2; } 10%, 30%, 60%, 100% { opacity: 1; } }

/* 2 Zettel ---------------------------------------------------------------------- */
.g-zettel { position: relative; width: 100%; height: 100%; }
.g-zettel__blatt { position: absolute; left: 50%; top: 50%; width: 170px; height: 120px; padding: 14px 16px; border-radius: 6px; background: #f2efe6; color: #1c1c1c; box-shadow: 0 18px 40px rgba(0,0,0,.55); transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r)); opacity: 0; }
.g-zettel__blatt span { display: block; font: 600 17px/1.2 var(--schrift); margin-bottom: 12px; }
.g-zettel__blatt i { display: block; height: 6px; border-radius: 3px; background: rgba(0,0,0,.14); margin-bottom: 8px; width: 80%; }
.grafik.an .g-zettel__blatt { animation: g-fall .7s cubic-bezier(.3,1.4,.5,1) forwards, g-flattern 2.6s ease-in-out infinite alternate; animation-delay: calc(var(--i) * .3s), calc(.8s + var(--i) * .3s); }
@keyframes g-flattern { from { rotate: -1.5deg; } to { rotate: 1.5deg; } }
@keyframes g-fall { from { opacity: 0; transform: translate(calc(-50% + var(--x) * .3), -260%) rotate(calc(var(--r) * -2.5)) scale(1.15); } to { opacity: 1; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r)); } }

/* 3 Handy -------------------------------------------------------------------------- */
.g-handy__geraet { position: relative; width: 210px; height: clamp(220px, 38vh, 380px); border-radius: 34px; border: 2px solid rgba(255,255,255,.22); background: linear-gradient(180deg, #17181b, #0c0c0e); box-shadow: 0 30px 70px rgba(0,0,0,.6); padding: 40px 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.g-handy__kerbe { position: absolute; top: 12px; left: 50%; width: 64px; height: 16px; border-radius: 10px; background: #000; transform: translateX(-50%); }
.g-handy__meldung { padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); opacity: 0; transform: translateY(-14px) scale(.9); }
.g-handy__meldung b { display: block; font-size: 12px; color: var(--akzent); letter-spacing: .04em; }
.g-handy__meldung span { font-size: 14px; color: #fff; }
.g-handy__zahl { position: absolute; top: -12px; right: -12px; width: 38px; height: 38px; border-radius: 50%; background: #ff3b30; color: #fff; font: 700 17px/38px var(--schrift); text-align: center; font-style: normal; transform: scale(0); box-shadow: 0 0 24px rgba(255,59,48,.6); }
.grafik.an .g-handy__meldung { animation: g-melden .4s cubic-bezier(.2,1.4,.4,1) forwards; animation-delay: calc(.15s + var(--i) * .32s); }
.grafik.an .g-handy__geraet { animation: g-vibrieren .32s linear 4; animation-delay: .15s; }
.grafik.an .g-handy__zahl { animation: g-plopp .4s cubic-bezier(.2,1.6,.4,1) 1.4s forwards; }
@keyframes g-melden { to { opacity: 1; transform: none; } }
@keyframes g-vibrieren { 25% { transform: rotate(-2deg) translateX(-3px); } 75% { transform: rotate(2deg) translateX(3px); } }
@keyframes g-plopp { to { transform: scale(1); } }

/* 4 Dokument ------------------------------------------------------------------------ */
.g-dok { position: relative; }
.g-dok__blatt { width: min(340px, 70vw); padding: 26px 28px 30px; border-radius: 14px; background: #f4f5f7; color: #111; box-shadow: 0 30px 70px rgba(0,0,0,.6); }
.g-dok__blatt > b { display: block; font-size: 22px; font-weight: 700; margin-bottom: 18px; }
.g-dok__zeilen i { display: block; height: 9px; border-radius: 5px; background: #cfd3da; margin-bottom: 12px; width: 0; }
.g-dok__cursor { display: inline-block; width: 2px; height: 18px; background: #111; }
.grafik.an .g-dok__cursor { animation: blink .8s steps(2) infinite; }
.g-dok__marke { position: absolute; top: -18px; right: -26px; padding: 8px 14px; border-radius: 999px; background: #0d0d0f; border: 1px solid color-mix(in srgb, var(--akzent) 60%, transparent); color: var(--akzent); font: 600 16px var(--schrift); box-shadow: 0 0 30px color-mix(in srgb, var(--akzent) 35%, transparent); transform: scale(0) rotate(-10deg); }
.grafik.an .g-dok__zeilen i { animation: g-tippen .5s ease forwards; animation-delay: calc(.2s + var(--i) * .22s); }
.grafik.an .g-dok__marke { animation: g-plopp .45s cubic-bezier(.2,1.6,.4,1) .2s forwards; }
.grafik.an .g-dok__blatt { animation: g-rein .55s var(--weich) both; }
@keyframes g-tippen { to { width: var(--w); } }
@keyframes g-rein { from { transform: translateY(30px) rotate(-3deg); } to { transform: none; } }
.g-dok--alt .g-dok__blatt { background: #d9d4c4; filter: sepia(.4) contrast(.9); }
.g-dok--alt .g-dok__marke { color: #ffb4a0; border-color: rgba(255,120,90,.6); }

/* 5 Ordnen (Finale) ---------------------------------------------------------------- */
.g-ordnen { position: relative; }
.g-ordnen__raster { display: grid; grid-template-columns: repeat(3, 120px); gap: 14px; }
.g-ordnen__kachel { position: relative; height: 96px; border-radius: 16px; padding: 16px; background: rgba(255,255,255,.08); border: 1px solid color-mix(in srgb, var(--akzent) 40%, transparent); box-shadow: 0 16px 40px rgba(0,0,0,.5); transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(.8); opacity: 0; }
.g-ordnen__kachel i { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,.3); margin-bottom: 9px; width: 70%; }
.g-ordnen__kachel i + i { width: 45%; }
.g-ordnen__haken { position: absolute; right: 12px; bottom: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--akzent); transform: scale(0); }
.g-ordnen__haken::after { content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px; border-right: 2.5px solid #0b0b0c; border-bottom: 2.5px solid #0b0b0c; transform: rotate(45deg); }
.g-ordnen__ring { position: absolute; left: 50%; top: 50%; width: 120%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--akzent); transform: translate(-50%, -50%) scale(.2); opacity: 0; }
.grafik.an .g-ordnen__kachel { animation: g-einrasten .6s cubic-bezier(.2,1.2,.3,1) forwards; animation-delay: calc(var(--i) * .1s); }
.grafik.an .g-ordnen__haken { animation: g-plopp .35s cubic-bezier(.2,1.8,.4,1) forwards; animation-delay: calc(.8s + var(--i) * .1s); }
.grafik.an .g-ordnen__ring { animation: g-ring 1s ease-out .75s; }
@keyframes g-einrasten { to { transform: none; opacity: 1; } }
@keyframes g-ring { 0% { opacity: .9; transform: translate(-50%, -50%) scale(.3); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.3); } }

/* 6 Lupe ---------------------------------------------------------------------------- */
.g-lupe { position: relative; }
.g-lupe__seite { width: 200px; height: clamp(220px, 36vh, 340px); border-radius: 28px; border: 2px solid rgba(255,255,255,.2); background: #f3f4f6; padding: 28px 16px; display: flex; flex-direction: column; gap: 9px; }
.g-lupe__seite i { height: 5px; border-radius: 3px; background: #c9ccd3; width: var(--w); }
.g-lupe__fund { margin-top: auto; font: 600 8px var(--schrift); color: #555; }
.g-lupe__glas { position: absolute; left: 0; top: 0; width: 120px; height: 120px; border-radius: 50%; border: 5px solid #fff; background: rgba(255,255,255,.06); box-shadow: 0 10px 30px rgba(0,0,0,.5), inset 0 0 20px rgba(255,255,255,.2); }
.g-lupe__glas::after { content: ""; position: absolute; right: -34px; bottom: -14px; width: 46px; height: 12px; border-radius: 6px; background: #fff; transform: rotate(45deg); }
.grafik.an .g-lupe__glas { animation: g-suchen 2.2s cubic-bezier(.45,0,.3,1) forwards; }
.grafik.an .g-lupe__fund { animation: g-finden .5s ease 2s forwards; }
@keyframes g-suchen { 0% { transform: translate(-90px, -30px); } 30% { transform: translate(90px, 40px); } 55% { transform: translate(-60px, 120px); } 80% { transform: translate(60px, 170px); } 100% { transform: translate(0, 210px) scale(1.15); } }
@keyframes g-finden { to { font-size: 15px; color: var(--akzent); } }

/* 7 Rangliste ------------------------------------------------------------------------- */
.g-rang { width: min(420px, 80vw); }
.g-rang__suche { padding: 12px 18px; border-radius: 999px; background: #fff; color: #444; font: 600 15px var(--schrift); margin-bottom: 14px; }
.g-rang ol { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.g-rang li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: #fff; font-size: 15px; opacity: 0; transform: translateX(-30px); }
.g-rang li b { color: var(--t3); }
.g-rang__eigen { border-color: rgba(255,120,90,.6) !important; color: #ffb4a0 !important; }
.grafik.an .g-rang li { animation: g-melden .35s ease forwards; animation-delay: calc(var(--i) * .12s); }
.grafik.an .g-rang__eigen { animation: g-melden .35s ease forwards .5s, g-sinken .6s ease 1s forwards !important; }
@keyframes g-sinken { to { opacity: .45; transform: translateY(8px); } }
.g-rang--auf .g-rang__eigen { border-color: var(--akzent) !important; color: #fff !important; background: color-mix(in srgb, var(--akzent) 25%, transparent); box-shadow: 0 0 40px color-mix(in srgb, var(--akzent) 40%, transparent); }
.grafik.an .g-rang--auf .g-rang__eigen { animation: g-melden .3s ease forwards, g-aufstieg .9s cubic-bezier(.2,1.2,.3,1) .45s forwards !important; }
@keyframes g-aufstieg { from { opacity: 1; transform: none; } to { opacity: 1; transform: translateY(calc(-3 * (100% + 10px))) scale(1.04); } }
.grafik.an .g-rang--auf li:not(.g-rang__eigen) { animation: g-melden .3s ease forwards, g-ab .9s ease .45s forwards; }
@keyframes g-ab { from { opacity: 1; transform: none; } to { opacity: .6; transform: translateY(calc(100% + 10px)); } }

/* 8 Kalender: das Profil verstaubt ------------------------------------------------------- */
@property --tage { syntax: "<integer>"; inherits: false; initial-value: 0; }
.g-kal { display: grid; grid-template-columns: auto auto; align-items: center; gap: 14px 44px; }
.g-kal__profil { width: 230px; padding: 16px; border-radius: 22px; opacity: 0; transform: translateX(-30px); }
.g-kal__kopf { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; text-align: left; }
.g-kal__bild { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, color-mix(in srgb, var(--akzent) 80%, #fff), color-mix(in srgb, var(--akzent) 30%, #222)); }
.g-kal__kopf b { display: block; font-size: 14px; color: #fff; } .g-kal__kopf small { font-size: 12px; color: var(--t3); }
.g-kal__raster { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.g-kal__raster i { aspect-ratio: 1; border-radius: 6px; background: radial-gradient(80% 70% at 30% 30%, color-mix(in srgb, var(--akzent) 65%, #fff), color-mix(in srgb, var(--akzent) 25%, #1a1a1d)); opacity: 0; transform: scale(.6); }
.g-kal__marke { position: absolute; left: 4px; top: 4px; padding: 3px 7px; border-radius: 6px; background: rgba(0,0,0,.65); color: #fff; font: 600 11px var(--schrift); font-style: normal; opacity: 0; }
.g-kal__rechts { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.g-kal__stapel { position: relative; width: 200px; height: 150px; perspective: 700px; }
.g-kal__blatt { position: absolute; inset: 0; border-radius: 16px; background: #f4f5f7; color: #111; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-top: 26px solid #e5484d; box-shadow: 0 20px 50px rgba(0,0,0,.5); transform-origin: 50% 0; z-index: calc(10 - var(--i)); backface-visibility: hidden; }
.g-kal__blatt small { font-size: 12px; color: #888; } .g-kal__blatt b { font-size: 28px; font-weight: 700; }
.g-kal__zaehler { display: flex; align-items: baseline; gap: 10px; opacity: 0; }
.g-kal__zahl { --tage: 0; counter-reset: tage var(--tage); font-size: 40px; font-weight: 700; letter-spacing: -.02em; color: #ffb4a0; font-variant-numeric: tabular-nums; min-width: 2.2ch; text-align: right; }
.g-kal__zahl::after { content: counter(tage); }
.g-kal__zaehler span { font-size: 15px; color: var(--t2); }
.g-kal__text { grid-column: 1 / -1; justify-self: center; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,120,90,.45); background: rgba(255,90,60,.1); font-size: 16px; color: #ffb4a0; opacity: 0; transform: translateY(10px); }
/* Ablauf (Grundtempo 2,4 s, das Skript dehnt es auf die Länge des Satzes) */
.grafik.an .g-kal__profil { animation: g-melden .5s var(--weich) forwards; }
.grafik.an .g-kal__raster i { animation: g-kachel .35s cubic-bezier(.2,1.4,.4,1) forwards, g-verstauben 1.4s ease forwards; animation-delay: calc(.1s + var(--i) * .04s), .8s; }
.grafik.an .g-kal__marke { animation: g-einblenden .3s ease .55s forwards; }
.grafik.an .g-kal__blatt:not(:last-child) { animation: g-umblaettern .34s cubic-bezier(.5,0,.75,0) forwards; animation-delay: calc(.45s + var(--i) * .33s); }
.grafik.an .g-kal__zaehler { animation: g-einblenden .3s ease .4s forwards; }
.grafik.an .g-kal__zahl { animation: g-zaehlen 1.5s cubic-bezier(.4,0,.3,1) .45s forwards; }
.grafik.an .g-kal__text { animation: g-melden .4s var(--weich) 1.95s forwards; }
@keyframes g-kachel { to { opacity: 1; transform: none; } }
@keyframes g-verstauben { to { filter: grayscale(1) brightness(.55); opacity: .5; } }
@keyframes g-umblaettern { to { transform: rotateX(-105deg); opacity: 0; } }
@keyframes g-zaehlen { to { --tage: var(--tage-ziel); } }
@media (max-width: 719px) { .g-kal { grid-template-columns: auto; } .g-kal__profil { display: none; } }

/* 9 Kamera ------------------------------------------------------------------------------- */
.g-kamera { position: relative; width: min(520px, 84vw); aspect-ratio: 16 / 9; }
.g-kamera__ecke { position: absolute; width: 40px; height: 40px; border: 3px solid #fff; opacity: 0; }
.g-kamera__ecke:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.g-kamera__ecke:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.g-kamera__ecke:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.g-kamera__ecke:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.g-kamera__rec { position: absolute; left: 22px; top: 18px; font: 700 16px var(--schrift); color: #fff; display: flex; align-items: center; gap: 8px; }
.g-kamera__rec i { width: 12px; height: 12px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 14px #ff3b30; }
.g-kamera__zeit { position: absolute; right: 22px; top: 18px; font: 600 15px var(--schrift); color: var(--akzent); font-variant-numeric: tabular-nums; }
.g-kamera__klappe { position: absolute; left: 50%; top: 50%; width: 150px; height: 100px; transform: translate(-50%, -50%); }
.g-kamera__klappe i { position: absolute; left: 0; right: 0; border-radius: 6px; background: repeating-linear-gradient(-45deg, #fff 0 14px, #111 14px 28px); }
.g-kamera__klappe i:first-child { top: 0; height: 26px; transform-origin: 0 100%; transform: rotate(-24deg); }
.g-kamera__klappe i:last-child { top: 30px; bottom: 0; background: #1b1c1f; border: 2px solid rgba(255,255,255,.3); }
.grafik.an .g-kamera__ecke { animation: g-einrasten-ecke .45s cubic-bezier(.2,1.4,.3,1) forwards; }
.grafik.an .g-kamera__klappe i:first-child { animation: g-klappe .3s ease-in .5s forwards, g-klappe-auf .25s ease-out 1.2s forwards, g-klappe .22s ease-in 1.6s forwards; }
@keyframes g-klappe-auf { to { transform: rotate(-24deg); } }
.grafik.an .g-kamera__rec i { animation: blink 1s steps(2) infinite; }
@property --sek { syntax: "<integer>"; inherits: false; initial-value: 0; }
.g-kamera__sek { --sek: 12; counter-reset: sek var(--sek); font-weight: inherit; }
.g-kamera__sek::after { content: counter(sek, decimal-leading-zero); }
@keyframes g-timecode { from { --sek: 12; } to { --sek: 59; } }
.g-kamera__fokus { position: absolute; left: 50%; top: 50%; width: 200px; height: 140px; border: 1.5px solid color-mix(in srgb, var(--akzent) 80%, #fff); border-radius: 10px; transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
.grafik.an .g-kamera__fokus { animation: g-fokus .7s cubic-bezier(.2,1.2,.3,1) .9s forwards, g-atmen 2.4s ease-in-out 1.7s infinite alternate; }
@keyframes g-fokus { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes g-atmen { from { opacity: 1; } to { opacity: .45; } }
@keyframes g-einrasten-ecke { from { opacity: 0; transform: scale(1.6); } to { opacity: 1; transform: none; } }
@keyframes g-klappe { to { transform: rotate(0); } }

/* 10 Karten ------------------------------------------------------------------------------ */
.g-karten { position: relative; width: 210px; height: clamp(220px, 36vh, 320px); }
.g-karten__karte { position: absolute; inset: 0; border-radius: 22px; padding: 10px; background: #18181b; border: 1px solid rgba(255,255,255,.16); display: flex; flex-direction: column; gap: 10px; box-shadow: 0 24px 60px rgba(0,0,0,.6); transform: translateY(calc(var(--i) * -14px)) scale(calc(1 - var(--i) * .05)); z-index: calc(5 - var(--i)); }
.g-karten__karte i { flex: 1; border-radius: 14px; background: radial-gradient(70% 60% at 35% 35%, color-mix(in srgb, var(--akzent) 60%, transparent), rgba(255,255,255,.06) 70%); }
.g-karten__karte span { color: #fff; font-size: 14px; font-weight: 500; padding: 0 4px 4px; }
.g-karten__herz { position: absolute; left: 50%; top: 40%; width: 56px; height: 56px; transform: translate(-50%, -50%) scale(0); }
.g-karten__herz::before, .g-karten__herz::after { content: ""; position: absolute; top: 4px; left: 14px; width: 28px; height: 44px; background: var(--akzent); border-radius: 28px 28px 0 0; transform: rotate(-45deg); transform-origin: 0 100%; }
.g-karten__herz::after { left: 0; transform: rotate(45deg); transform-origin: 100% 100%; }
.grafik.an .g-karten__karte:nth-child(1) { animation: g-wisch-r .55s ease-in .7s forwards; }
.grafik.an .g-karten__karte:nth-child(2) { animation: g-wisch-l .55s ease-in 1.5s forwards; }
.grafik.an .g-karten__karte:nth-child(1) .g-karten__herz { animation: g-herz .7s ease .1s; }
.grafik.an .g-karten__karte:nth-child(2) .g-karten__herz { animation: g-herz .7s ease .9s; }
@keyframes g-wisch-r { to { transform: translate(150%, -10%) rotate(22deg); opacity: 0; } }
@keyframes g-wisch-l { to { transform: translate(-150%, -10%) rotate(-22deg); opacity: 0; } }
@keyframes g-herz { 40% { transform: translate(-50%, -50%) scale(1.2); } 70% { transform: translate(-50%, -50%) scale(1); } 100% { transform: translate(-50%, -50%) scale(0); } }

/* 11 NFC --------------------------------------------------------------------------------- */
.g-nfc { position: relative; width: 340px; height: 260px; }
.g-nfc__karte { position: absolute; left: 30px; bottom: 20px; width: 150px; height: 110px; border-radius: 14px; background: #f4f5f7; color: #111; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.g-nfc__karte b { font-size: 22px; } .g-nfc__karte span { font-size: 13px; color: #555; }
.g-nfc__handy { position: absolute; right: 40px; top: 0; width: 96px; height: 180px; border-radius: 20px; border: 2px solid rgba(255,255,255,.25); background: #111; transform: translate(60px, -40px) rotate(14deg); }
.g-nfc__welle { position: absolute; left: 105px; bottom: 75px; width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--akzent); opacity: 0; }
.grafik.an .g-nfc__handy { animation: g-tippen-handy .7s cubic-bezier(.2,1.1,.3,1) .1s forwards; }
.grafik.an .g-nfc__welle { animation: g-welle 1s ease-out infinite; }
.grafik.an .g-nfc__welle:nth-of-type(2) { animation-delay: .33s; } .grafik.an .g-nfc__welle:nth-of-type(3) { animation-delay: .66s; }
@keyframes g-tippen-handy { to { transform: translate(-80px, 30px) rotate(-6deg); } }
@keyframes g-welle { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.6); } }

/* 12 Glocke ------------------------------------------------------------------------------ */
.g-glocke { position: relative; display: grid; place-items: center; }
.g-glocke__koerper { width: 120px; height: 110px; border-radius: 60px 60px 14px 14px; background: linear-gradient(160deg, #fff, #c9ccd3); box-shadow: 0 20px 50px rgba(0,0,0,.5); transform-origin: 50% 0; position: relative; }
.g-glocke__koerper i { position: absolute; left: 50%; bottom: -16px; width: 26px; height: 26px; border-radius: 50%; background: #e7e9ee; transform: translateX(-50%); }
.g-glocke__welle { position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 2px solid var(--akzent); opacity: 0; }
.g-glocke__meldung { position: absolute; bottom: -70px; padding: 10px 16px; border-radius: 999px; background: color-mix(in srgb, var(--akzent) 25%, #111); border: 1px solid var(--akzent); color: #fff; font-size: 15px; opacity: 0; white-space: nowrap; }
.grafik.an .g-glocke__koerper { animation: g-laeuten .18s ease-in-out 8 alternate; }
.grafik.an .g-glocke__welle { animation: g-welle 1.1s ease-out infinite; }
.grafik.an .g-glocke__welle:nth-of-type(2) { animation-delay: .5s; }
.grafik.an .g-glocke__meldung { animation: g-melden .4s ease 1s forwards; }
@keyframes g-laeuten { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }

/* 13 Telefonkette ----------------------------------------------------------------------- */
.g-kette { position: relative; display: flex; gap: 80px; align-items: center; }
.g-kette__tel { width: 70px; height: 120px; border-radius: 16px; border: 2px solid rgba(255,255,255,.25); background: #111; position: relative; z-index: 1; }
.g-kette__tel i { position: absolute; inset: 10px; border-radius: 8px; background: rgba(255,255,255,.06); }
.grafik.an .g-kette__tel { animation: g-vibrieren .14s linear 6; animation-delay: calc(var(--i) * .55s); }
.grafik.an .g-kette__tel i { animation: g-leuchten .8s ease forwards; animation-delay: calc(var(--i) * .55s); }
@keyframes g-leuchten { 30% { background: var(--akzent); } 100% { background: rgba(255,255,255,.06); } }
.g-kette__linie { position: absolute; top: 50%; height: 2px; width: 80px; background: repeating-linear-gradient(90deg, var(--akzent) 0 8px, transparent 8px 14px); transform: scaleX(0); transform-origin: left; }
.g-kette__linie:nth-of-type(1) { left: 70px; } .g-kette__linie:nth-of-type(2) { left: 220px; }
.grafik.an .g-kette__linie:nth-of-type(1) { animation: g-linie .35s ease .4s forwards; }
.grafik.an .g-kette__linie:nth-of-type(2) { animation: g-linie .35s ease .95s forwards; }
@keyframes g-linie { to { transform: scaleX(1); } }
.g-kette__text { position: absolute; left: 50%; bottom: -60px; transform: translateX(-50%); white-space: nowrap; color: #ffb4a0; font-size: 17px; opacity: 0; }
.grafik.an .g-kette__text { animation: g-melden .4s ease 1.5s forwards; }

/* 14 Welle -------------------------------------------------------------------------------- */
.g-welle { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.g-welle__bild { width: 300px; aspect-ratio: 16 / 9; border-radius: 16px; background: linear-gradient(150deg, #2a2d33, #121316); border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.g-welle__bild b { width: 0; height: 0; border-left: 30px solid #fff; border-top: 18px solid transparent; border-bottom: 18px solid transparent; }
.g-welle__baender { display: flex; gap: 6px; align-items: center; height: 70px; }
.g-welle__baender i { width: 6px; border-radius: 3px; background: var(--akzent); height: 6%; }
.grafik.an .g-welle__baender i { animation: g-band .5s ease forwards, g-pulsband .6s ease-in-out infinite alternate; animation-delay: calc(var(--i) * .05s), calc(.5s + var(--i) * .05s); }
@keyframes g-band { to { height: var(--h); } }
@keyframes g-pulsband { from { transform: none; } to { transform: scaleY(.45); } }

/* 15 Abo ------------------------------------------------------------------------------------ */
.g-abo { position: relative; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.g-abo__beleg { padding: 12px 22px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,120,90,.45); color: #ffb4a0; font: 600 17px var(--schrift); opacity: 0; transform: translateY(-20px); }
.grafik.an .g-abo__beleg { animation: g-melden .35s ease forwards; animation-delay: calc(var(--i) * .22s); }
.g-abo__kehre { position: absolute; right: -90px; top: 50%; width: 70px; height: 70px; border: 4px solid var(--akzent); border-left-color: transparent; border-radius: 50%; opacity: 0; }
.g-abo--weg .g-abo__beleg { opacity: 1; transform: none; }
.grafik.an .g-abo--weg .g-abo__beleg { animation: g-wegfliegen .5s ease-in forwards; animation-delay: calc(.2s + var(--i) * .1s); }
.grafik.an .g-abo--weg .g-abo__kehre { animation: g-kehre .8s cubic-bezier(.2,1.2,.3,1) .3s forwards; }
@keyframes g-wegfliegen { to { opacity: 0; transform: translateX(-140%) rotate(-12deg); } }
@keyframes g-kehre { from { opacity: 0; transform: translate(-80px, -50%) rotate(-200deg) scale(.6); } to { opacity: 1; transform: translate(-200px, -50%) rotate(0) scale(1.6); } }

/* 16 Lizenz --------------------------------------------------------------------------------- */
.g-lizenz__karte { position: relative; width: 320px; padding: 26px; border-radius: 20px; background: linear-gradient(140deg, color-mix(in srgb, var(--akzent) 35%, #141416), #101012); border: 1px solid color-mix(in srgb, var(--akzent) 60%, transparent); box-shadow: 0 0 60px color-mix(in srgb, var(--akzent) 30%, transparent), 0 30px 70px rgba(0,0,0,.6); display: flex; flex-direction: column; gap: 14px; }
.g-lizenz__titel { color: var(--t2); font-size: 15px; }
.g-lizenz__karte b { color: #fff; font-size: 24px; font-weight: 600; }
.g-lizenz__stempel { position: absolute; right: -18px; top: -18px; width: 58px; height: 58px; border-radius: 50%; background: var(--akzent); transform: scale(0) rotate(-30deg); }
.g-lizenz__stempel::after { content: ""; position: absolute; left: 20px; top: 12px; width: 13px; height: 24px; border-right: 4px solid #0b0b0c; border-bottom: 4px solid #0b0b0c; transform: rotate(45deg); }
.grafik.an .g-lizenz__karte { animation: g-rein .6s var(--weich) both; }
.grafik.an .g-lizenz__stempel { animation: g-stempel .45s cubic-bezier(.2,1.8,.4,1) .55s forwards; }
@keyframes g-stempel { to { transform: scale(1) rotate(0); } }

@media (max-width: 719px) {
  .saetze { height: 2.6em; }
  .grafikbuehne--intro.nach-intro .grafik--intro { opacity: 0; }
  .grafikbuehne { height: 34vh; transform-origin: 50% 0; }
  .grafik > * { scale: .72; }
}
@media (prefers-reduced-motion: reduce) {
  .grafik.an *, .grafikbuehne { animation-duration: .01s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
}
