
.kg-drv {
  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-drv__flaeche {
  position: absolute; left: 20cqw; top: 12cqw; right: 1cqw; bottom: 3cqw; z-index: -1; overflow: hidden;
  border-radius: var(--radius-l); background: var(--gradient-diag); box-shadow: var(--shadow-l);
}
.kg-drv__flaeche .kachelfeld { right: 0; bottom: 0; --spalten: 12; --zeilen: 6; --blende: linear-gradient(315deg, #000 10%, transparent 70%); }

.kg-drv__fenster {
  position: absolute; left: 0; top: 0; width: 74cqw; overflow: hidden;
  border-radius: 3.2cqw; background: var(--white); box-shadow: var(--shadow-l);
}
.kg-drv__leiste {
  display: flex; align-items: center; gap: 2.4cqw; height: 9cqw; padding: 0 2.6cqw 0 3cqw;
  border-bottom: 1px solid var(--line); background: var(--bg);
}
.kg-drv__punkte { display: flex; gap: 1cqw; }
.kg-drv__punkte i { display: block; width: 1.7cqw; aspect-ratio: 1; min-width: 6px; border-radius: 50%; background: #c9d6ec; }
.kg-drv__titel { display: flex; align-items: center; gap: 1.4cqw; color: var(--ink); font-size: max(10px, 2.8cqw); font-weight: 700; white-space: nowrap; }
.kg-drv__titel .icon { width: 3.8cqw; height: 3.8cqw; min-width: 13px; min-height: 13px; color: var(--accent); }
.kg-drv__sync {
  position: relative; display: grid; place-items: center; width: 5.6cqw; aspect-ratio: 1; margin-left: auto;
  border-radius: 50%; background: var(--accent); color: var(--white);
}
.kg-drv__sync > span { position: absolute; inset: 0; display: grid; place-items: center; }
.kg-drv__sync .icon { width: 50%; height: 50%; }
.kg-drv__dreh { opacity: 0; }
.kg-drv__werkzeug { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; padding: 3cqw 3cqw 0; }
.kg-drv__pfad { color: var(--muted); font-size: max(9.5px, 2.5cqw); font-weight: 600; white-space: nowrap; }
.kg-drv__hochladen {
  display: flex; align-items: center; gap: 1.2cqw; padding: 1.2cqw 2.4cqw; border-radius: 99px;
  background: var(--primary); color: var(--white); font-size: max(9px, 2.3cqw); font-weight: 600; white-space: nowrap;
}
.kg-drv__hochladen .icon { width: 3.2cqw; height: 3.2cqw; min-width: 11px; min-height: 11px; }
.kg-drv__dateien { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4cqw; padding: 3cqw; }
.kg-drv__dateien li {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6cqw;
  height: 17cqw; border-radius: 2.4cqw; background: var(--tile-hell);
  color: var(--text); font-size: max(9px, 2.3cqw); font-weight: 600; white-space: nowrap;
}
.kg-drv__dateien li > .icon { width: 6cqw; height: 6cqw; color: var(--primary); }
.kg-drv__dateien li:nth-child(even) > .icon { color: var(--accent-700); }
.kg-drv__dateien i { display: block; width: 50%; height: 1.2cqw; min-height: 4px; border-radius: 99px; background: #c9d6ec; }
.kg-drv__geteilt::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--accent); border-radius: inherit; }
.kg-drv__plakette {
  position: absolute; right: -1cqw; top: -1cqw; z-index: 1; display: grid; place-items: center; width: 5cqw; aspect-ratio: 1;
  border: .5cqw solid var(--white); border-radius: 50%; background: var(--accent); color: var(--white);
}
.kg-drv__plakette .icon { width: 55%; height: 55%; }

.kg-drv__handy {
  position: absolute; left: 71cqw; top: 25cqw; width: 25cqw; height: 50cqw; padding: 1.3cqw;
  border-radius: 4.6cqw; background: var(--secondary); box-shadow: var(--shadow-l);
}
.kg-drv__schirm { display: flex; flex-direction: column; gap: 2cqw; height: 100%; padding: 2.2cqw 2cqw; overflow: hidden; border-radius: 3.4cqw; background: var(--white); }
.kg-drv__schirm::before { content: ""; align-self: center; width: 6cqw; height: 1cqw; border-radius: 99px; background: var(--line); }
.kg-drv__handy-kopf { display: flex; align-items: center; gap: 1.2cqw; color: var(--accent); }
.kg-drv__handy-kopf .icon { width: 3.6cqw; height: 3.6cqw; }
.kg-drv__handy-kopf i { display: block; flex: 1; height: 1.3cqw; border-radius: 99px; background: #c9d6ec; }
.kg-drv__mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4cqw; }
.kg-drv__mini li { display: grid; place-items: center; aspect-ratio: 1; border-radius: 1.8cqw; background: var(--tile-hell); color: var(--primary); }
.kg-drv__mini li:nth-child(even) { color: var(--accent-700); }
.kg-drv__mini .icon { width: 42%; height: 42%; }
.kg-drv__handy .kg-drv__sync { position: absolute; right: -2.6cqw; top: -2.6cqw; width: 7.4cqw; border: .6cqw solid var(--white); }

.kg-drv__link {
  position: absolute; left: 6cqw; bottom: 0; width: max-content; padding: 2.6cqw 3.2cqw 2.6cqw 2.6cqw;
  border-radius: 3cqw; background: var(--white); box-shadow: var(--shadow-l);
}
.kg-drv__link-kopf { display: flex; align-items: center; gap: 2.2cqw; }
.kg-drv__link-icon {
  display: grid; place-items: center; width: 8cqw; aspect-ratio: 1; flex: none;
  border-radius: 50%; background: var(--gradient); color: var(--white);
}
.kg-drv__link-icon .icon { width: 46%; height: 46%; }
.kg-drv__link-kopf strong { display: block; color: var(--ink); font-size: max(10.5px, 3cqw); font-weight: 700; white-space: nowrap; }
.kg-drv__link-kopf i { display: block; width: 18cqw; height: 1.2cqw; min-height: 4px; margin-top: 1.2cqw; border-radius: 99px; background: #dde6f4; }
.kg-drv__tags { display: flex; gap: 1.4cqw; margin-top: 2cqw; }
.kg-drv__tags span {
  display: flex; align-items: center; gap: 1cqw; padding: 1cqw 2cqw; border-radius: 99px;
  background: var(--tile-2); color: var(--primary); font-size: max(9px, 2.3cqw); font-weight: 600; white-space: nowrap;
}
.kg-drv__tags .icon { width: 2.8cqw; height: 2.8cqw; min-width: 10px; min-height: 10px; }

@media (prefers-reduced-motion: no-preference) {
  .kg-drv__flaeche { animation: kg-drv-auf .7s var(--ease) both; }
  .kg-drv__fenster { animation: kg-drv-rein .7s var(--ease) .15s both; }
  .kg-drv__hochladen { animation: kg-drv-druck .45s ease-in-out .7s both; }
  .kg-drv__dateien li { animation: kg-drv-ablegen .5s var(--ease) calc(.9s + var(--i) * .18s) both; }
  .kg-drv__fenster .kg-drv__dreh { animation: kg-drv-drehen .8s linear 1s 2 both; }
  .kg-drv__fenster .kg-drv__ok { animation: kg-drv-pop .45s var(--ease) 2.6s both; }
  .kg-drv__handy { animation: kg-drv-hoch .7s var(--ease) .9s both; }
  .kg-drv__mini li { animation: kg-drv-pop .4s var(--ease) calc(2.1s + var(--i) * .12s) both; }
  .kg-drv__handy .kg-drv__dreh { animation: kg-drv-drehen .8s linear 1.7s 2 both; }
  .kg-drv__handy .kg-drv__ok { animation: kg-drv-pop .45s var(--ease) 3.3s both; }
  .kg-drv__geteilt::after { animation: kg-drv-markieren .5s var(--ease) 3.6s both; }
  .kg-drv__plakette { animation: kg-drv-pop .45s var(--ease) 3.8s both; }
  .kg-drv__link { animation: kg-drv-gleiten .7s var(--ease) 4s both; }
  .kg-drv__link-icon { animation: kg-drv-wippen .8s ease-in-out 4.6s 2; }
  .kg-drv__tags span { animation: kg-drv-pop .4s var(--ease) 4.5s both; }
  .kg-drv__tags span + span { animation-delay: 4.65s; }
}
@keyframes kg-drv-auf { from { opacity: 0; scale: .94; } }
@keyframes kg-drv-rein { from { opacity: 0; translate: 0 3cqw; } }
@keyframes kg-drv-druck { 50% { scale: .9; } }
@keyframes kg-drv-ablegen { from { opacity: 0; translate: 0 -3cqw; scale: .85; } }
@keyframes kg-drv-drehen { 0% { opacity: 1; rotate: 0deg; } 99% { opacity: 1; rotate: 360deg; } 100% { opacity: 0; rotate: 360deg; } }
@keyframes kg-drv-pop { from { opacity: 0; scale: .5; } }
@keyframes kg-drv-hoch { from { opacity: 0; translate: 0 6cqw; } }
@keyframes kg-drv-markieren { from { opacity: 0; scale: 1.1; } }
@keyframes kg-drv-gleiten { from { opacity: 0; translate: 0 -5cqw; } }
@keyframes kg-drv-wippen { 25% { rotate: -14deg; } 75% { rotate: 14deg; } }
