
.kg-bak {
  position: relative; isolation: isolate; width: 100%; max-width: 540px; aspect-ratio: 6 / 5; margin-inline: auto;
  container-type: inline-size; line-height: 1.2;
}

.kg-bak__tresor {
  position: absolute; left: 34cqw; top: 4cqw; right: 2cqw; bottom: 8cqw; overflow: hidden;
  border-radius: var(--radius-l); background: var(--gradient-diag); box-shadow: var(--shadow-l);
}
.kg-bak__tresor .kachelfeld { right: 0; top: 0; --spalten: 10; --zeilen: 8; --blende: linear-gradient(225deg, #000 10%, transparent 70%); }
.kg-bak__ring { position: absolute; left: calc(50% - 21cqw); top: calc(50% - 21cqw); width: 42cqw; aspect-ratio: 1; }
.kg-bak__ring::before {
  content: ""; position: absolute; inset: -12%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent);
}
.kg-bak__ring::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--white); border-radius: 50%; opacity: 0; }
.kg-bak__ring > svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; overflow: visible; }
.kg-bak__ring > svg circle { fill: none; stroke-width: 6; }
.kg-bak__spur { stroke: rgba(255, 255, 255, .2); }
.kg-bak__fuellung { stroke: var(--white); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.kg-bak__kern {
  position: absolute; inset: 19%; display: grid; place-items: center;
  border-radius: 50%; background: var(--white); box-shadow: var(--shadow-l); color: var(--primary);
}
.kg-bak__wolke { width: 46%; height: 46%; opacity: 0; }
.kg-bak__fertig {
  position: absolute; inset: 9%; display: grid; place-items: center;
  border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--primary)); color: var(--white);
}
.kg-bak__fertig .icon { width: 44%; height: 44%; }
.kg-bak__schild {
  position: absolute; right: 2%; bottom: 2%; display: grid; place-items: center; width: 10cqw; aspect-ratio: 1;
  border: .7cqw solid var(--white); border-radius: 50%; background: var(--secondary); color: var(--hell);
}
.kg-bak__schild .icon { width: 48%; height: 48%; }

.kg-bak__paket {
  --dx: 25.5cqw; --dy: calc(18.67cqw - var(--i) * 18cqw);
  position: absolute; left: 3cqw; top: calc(13.5cqw + var(--i) * 18cqw);
  display: grid; place-items: center; width: 7cqw; aspect-ratio: 1;
  border-radius: 50%; background: var(--white); box-shadow: var(--shadow); color: var(--accent-700); opacity: 0;
}
.kg-bak__paket .icon { width: 50%; height: 50%; }

.kg-bak__dateien { position: absolute; left: 0; top: 14cqw; width: 44cqw; display: grid; gap: 4cqw; }
.kg-bak__dateien li {
  display: flex; align-items: center; gap: 2.4cqw; height: 14cqw; padding: 0 2.6cqw;
  border-radius: 3cqw; background: var(--white); box-shadow: var(--shadow);
}
.kg-bak__icon {
  display: grid; place-items: center; width: 8.4cqw; aspect-ratio: 1; flex: none;
  border-radius: 2.2cqw; background: var(--tile-2); color: var(--primary);
}
.kg-bak__icon .icon { width: 50%; height: 50%; }
.kg-bak__name { display: grid; gap: 1.3cqw; min-width: 0; flex: 1; color: var(--ink); font-size: max(10px, 2.9cqw); font-weight: 600; white-space: nowrap; }
.kg-bak__name i { display: block; width: 78%; height: 1.1cqw; min-height: 4px; border-radius: 99px; background: #dde6f4; }

.kg-bak__meldung {
  position: absolute; left: 12cqw; bottom: 0; display: flex; align-items: center; gap: 2.4cqw;
  padding: 2.2cqw 4cqw 2.2cqw 2.2cqw; border-radius: 3cqw; background: var(--white); box-shadow: var(--shadow-l);
}
.kg-bak__meldung-icon {
  display: grid; place-items: center; width: 8.4cqw; aspect-ratio: 1; flex: none;
  border-radius: 50%; background: var(--gradient); color: var(--white);
}
.kg-bak__meldung-icon .icon { width: 46%; height: 46%; }
.kg-bak__meldung strong { display: block; color: var(--ink); font-size: max(10.5px, 3.1cqw); font-weight: 700; white-space: nowrap; }
.kg-bak__meldung small { display: block; margin-top: .3em; color: var(--muted); font-size: max(9.5px, 2.5cqw); white-space: nowrap; }
.kg-bak__wieder {
  position: absolute; right: 0; top: 0; display: flex; align-items: center; gap: 1.6cqw;
  padding: 1.8cqw 3cqw 1.8cqw 2.2cqw; border-radius: 99px; background: var(--white); box-shadow: var(--shadow);
  color: var(--primary); font-size: max(10px, 2.6cqw); font-weight: 600; white-space: nowrap; rotate: 3deg;
}
.kg-bak__wieder .icon { width: 3.6cqw; height: 3.6cqw; min-width: 12px; min-height: 12px; color: var(--accent); }

@media (prefers-reduced-motion: no-preference) {
  .kg-bak__tresor { animation: kg-bak-auf .7s var(--ease) both; }
  .kg-bak__dateien li { animation: kg-bak-rein .6s var(--ease) calc(.25s + var(--i) * .15s) both; }
  .kg-bak__icon { animation: kg-bak-senden .7s var(--ease) calc(1.05s + var(--i) * .9s) both; }
  .kg-bak__paket { animation: kg-bak-flug 1s cubic-bezier(.45, 0, .3, 1) calc(1.1s + var(--i) * .9s) both; }
  .kg-bak__fuellung { animation: kg-bak-fuellen 3s linear 1.1s both; }
  .kg-bak__schild { animation: kg-bak-pop .5s var(--ease) .8s both; }
  .kg-bak__wolke { animation: kg-bak-weg .3s ease 3.75s both; }
  .kg-bak__fertig { animation: kg-bak-haken .55s var(--ease) 3.85s both; }
  .kg-bak__ring::after { animation: kg-bak-welle 1.3s ease-out 4s 2; }
  .kg-bak__meldung { animation: kg-bak-hoch .6s var(--ease) 4.3s both; }
  .kg-bak__wieder { animation: kg-bak-pop .5s var(--ease) 4.8s both; }
  .kg-bak__wieder .icon { animation: kg-bak-drehen 1s var(--ease) 5.1s 2; }
}
@keyframes kg-bak-auf { from { opacity: 0; scale: .94; } }
@keyframes kg-bak-rein { from { opacity: 0; translate: -4cqw 0; } }
@keyframes kg-bak-senden { 35% { scale: 1.12; background-color: var(--accent); color: var(--white); } }
@keyframes kg-bak-flug {
  0% { opacity: 0; translate: 0 0; scale: .5; }
  20% { opacity: 1; translate: 2.5cqw 0; scale: 1; }
  80% { opacity: 1; translate: var(--dx) var(--dy); scale: .85; }
  100% { opacity: 0; translate: var(--dx) var(--dy); scale: .4; }
}
@keyframes kg-bak-fuellen {
  0%, 25% { stroke-dashoffset: 100; stroke-opacity: 0; }
  26% { stroke-dashoffset: 99; stroke-opacity: 1; }
  33%, 55% { stroke-dashoffset: 67; }
  63%, 85% { stroke-dashoffset: 34; }
  93%, 100% { stroke-dashoffset: 0; }
}
@keyframes kg-bak-weg { from { opacity: 1; } }
@keyframes kg-bak-haken { from { opacity: 0; scale: .3; } 60% { scale: 1.12; } }
@keyframes kg-bak-welle { from { opacity: .7; scale: 1; } to { opacity: 0; scale: 1.3; } }
@keyframes kg-bak-hoch { from { opacity: 0; translate: 0 4cqw; } }
@keyframes kg-bak-pop { from { opacity: 0; scale: .6; } }
@keyframes kg-bak-drehen { to { rotate: -360deg; } }
