/* umlauf.css – Ring aus 3D-Kacheln um eine Zahl (siehe umlauf.js). Nur transform und opacity bewegen sich. */
.u { position: relative; height: clamp(300px, 88vw, 430px); touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; cursor: grab; }
.u:active { cursor: grabbing; }
.u-mitte { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.u-k { position: absolute; left: 50%; top: 50%; width: var(--g, 84px); height: var(--g, 84px); margin: calc(var(--g, 84px) / -2) 0 0 calc(var(--g, 84px) / -2); padding: 0; border: 0; background: none; border-radius: 22%; will-change: transform; opacity: 0; }
.u.bereit .u-k { transition: none; }
.u-k img { display: block; width: 100%; height: 100%; pointer-events: none; transition: filter 520ms ease; filter: drop-shadow(0 10px 10px rgba(3, 5, 20, 0.45)); }
.u-k.hinten img { filter: blur(1.4px); }
.u-k[data-z="grau"] img, .u-k[data-z="offen"] img { filter: grayscale(1) brightness(0.62) contrast(0.9); }
.u-k.hinten[data-z="grau"] img, .u-k.hinten[data-z="offen"] img { filter: grayscale(1) brightness(0.5) blur(1.4px); }
.u-k[data-z="fehlt"]::after { content: "!"; position: absolute; right: -4%; top: -4%; width: 30%; height: 30%; border-radius: 50%; background: #4353ff; color: #fff; font: 800 clamp(11px, 3.4vw, 15px)/1 Archivo, sans-serif; display: grid; place-items: center; box-shadow: 0 0 0 2px #11163a; }
.u-k.pop img { animation: u-pop 620ms cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes u-pop { 0% { transform: scale(0.7); } 50% { transform: scale(1.28); } 100% { transform: none; } }
.u-zahl { font-family: Archivo, sans-serif; font-stretch: 62%; font-weight: 900; line-height: 0.8; letter-spacing: -0.012em; white-space: nowrap; color: #fff; font-size: clamp(150px, 46vw, 250px); font-variant-numeric: tabular-nums; margin: 0; }
.u-zahl small { font-size: 1em; font-weight: 900; color: #8f9aff; }
.u-wort { margin: 12px 0 0; font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #c3c9ee; }
@media (prefers-reduced-motion: reduce) { .u-k img { transition: none; } .u-k.pop img { animation: none; } }
.u-pille { display: grid; grid-template-columns: 30px auto; align-items: center; gap: 12px; height: 76px; padding: 0 26px 0 20px; border-radius: 22px; background: rgba(27, 33, 80, 0.92); border: 1px solid rgba(205, 211, 243, 0.26); transition: background-color 500ms ease, border-color 500ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1); max-width: 78vw; }
.u-pille i { font-style: normal; font-family: Archivo, sans-serif; font-stretch: 75%; font-weight: 800; font-size: 28px; color: rgba(205, 211, 243, 0.5); transition: color 500ms ease; }
.u-pille u { display: block; width: 150px; height: 13px; border-radius: 7px; background: rgba(205, 211, 243, 0.24); text-decoration: none; grid-column: 2; grid-row: 1; transition: opacity 300ms ease; }
.u-pille b { grid-column: 2; grid-row: 1; font-family: Archivo, sans-serif; font-stretch: 85%; font-weight: 800; font-size: 28px; letter-spacing: -0.02em; color: #11163a; opacity: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 500ms ease 150ms; }
[data-z="nachher"] .u-pille { background: #fff; border-color: #fff; transform: scale(1.08); }
[data-z="nachher"] .u-pille i { color: #4353ff; }
[data-z="nachher"] .u-pille u { opacity: 0; }
[data-z="nachher"] .u-pille b { opacity: 1; }
