.kg-web { position: relative; isolation: isolate; width: 100%; max-width: 540px; aspect-ratio: 6 / 5; margin-inline: auto; container-type: inline-size; color: var(--ink); }
.kg-web .icon { width: 1em; height: 1em; }

.kg-web__flaeche { position: absolute; inset: 20% 24% 0 0; z-index: -1; overflow: hidden; border-radius: var(--radius-l); background: var(--gradient-diag); box-shadow: var(--shadow-l); }
.kg-web__flaeche .kachelfeld { left: 0; bottom: 0; --spalten: 12; --zeilen: 9; --blende: linear-gradient(45deg, #000 10%, transparent 70%); }

.kg-web__browser {
  position: absolute; right: 0; top: 3%; width: 82%;
  overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-l);
}
.kg-web__leiste { position: relative; display: flex; align-items: center; gap: 2.4cqi; padding: 2.4cqi 3cqi; background: var(--tile-hell); }
.kg-web__punkte { display: flex; gap: 1.1cqi; }
.kg-web__punkte i { width: 1.8cqi; aspect-ratio: 1; border-radius: 50%; background: #c9d6ec; }
.kg-web__adresse {
  display: flex; flex: 1; align-items: center; gap: 1.4cqi; min-width: 0; padding: 1.2cqi 2.2cqi;
  border-radius: 99px; background: var(--white);
  font-size: clamp(.6875rem, 2.7cqi, .875rem); font-weight: 600; line-height: 1.2; white-space: nowrap;
}
.kg-web__adresse b { color: var(--accent-700); font-weight: 700; }
.kg-web__url { overflow: hidden; color: var(--text); }
.kg-web__status { position: relative; display: grid; width: 1.15em; height: 1.15em; flex: none; }
.kg-web__status > .icon { grid-area: 1 / 1; width: 100%; height: 100%; }
.kg-web__globus { color: var(--lavender); opacity: 0; }
.kg-web__schloss { color: var(--accent); }
.kg-web__haken { position: absolute; right: -.45em; bottom: -.35em; display: grid; place-items: center; width: .8em; height: .8em; border-radius: 50%; background: var(--primary); color: var(--white); box-shadow: 0 0 0 1.5px var(--white); }
.kg-web__haken .icon { width: .5em; height: .5em; }
.kg-web__laden { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gradient); transform-origin: left; opacity: 0; }

.kg-web__seite { display: grid; gap: 2.6cqi; padding: 3.4cqi; }
.kg-web__nav { display: flex; align-items: center; gap: 1.6cqi; }
.kg-web__logo { width: 4.6cqi; aspect-ratio: 1; border-radius: 1.4cqi; background: var(--gradient); }
.kg-web__nav > i { width: 12cqi; height: 1.6cqi; margin-right: auto; border-radius: 99px; background: #9fb3d6; }
.kg-web__nav > b { width: 7cqi; height: 1.4cqi; border-radius: 99px; background: #c9d6ec; }
.kg-web__buehne {
  position: relative; overflow: hidden; display: grid; align-content: center; gap: 1.6cqi; min-height: 21cqi; padding: 3.6cqi 4cqi;
  border-radius: 2.6cqi; background: var(--gradient-diag);
}
.kg-web__buehne i { display: block; height: 2.2cqi; border-radius: 99px; background: var(--white); }
.kg-web__buehne i:nth-child(1) { width: 62%; }
.kg-web__buehne i:nth-child(2) { width: 44%; height: 1.5cqi; opacity: .6; }
.kg-web__buehne b { width: 15cqi; height: 4.6cqi; margin-top: 1cqi; border-radius: 99px; background: var(--white); box-shadow: 0 6px 14px -6px rgba(0, 20, 50, .5); }
.kg-web__buehne::after { content: ""; position: absolute; right: 4cqi; bottom: -6cqi; width: 22cqi; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .28), transparent); }
.kg-web__karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqi; }
.kg-web__karten span { display: grid; gap: 1.2cqi; padding: 2.2cqi; border-radius: 2.2cqi; background: var(--bg); }
.kg-web__karten span::before { content: ""; width: 4.6cqi; aspect-ratio: 1; border-radius: 1.4cqi; background: var(--tile-2); }
.kg-web__karten i { display: block; height: 1.3cqi; border-radius: 99px; background: #c9d6ec; }
.kg-web__karten i + i { width: 70%; background: #dde6f4; }

.kg-web__wp {
  position: absolute; left: 0; top: 28%;
  display: flex; align-items: center; gap: 1.8cqi; padding: 1.5cqi 3.4cqi 1.5cqi 1.5cqi;
  border-radius: 99px; background: var(--white); box-shadow: var(--shadow-l);
  font-size: clamp(.6875rem, 2.9cqi, .9375rem); font-weight: 600; line-height: 1.2; white-space: nowrap;
}
.kg-web__wp-icon { display: grid; place-items: center; width: 7cqi; aspect-ratio: 1; border-radius: 50%; background: var(--primary); color: var(--white); font-size: 4.4cqi; }

.kg-web__puls {
  position: absolute; left: 4%; bottom: 3%; width: 48%;
  padding: 2.6cqi 3cqi 2cqi; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-l);
}
.kg-web__puls-kopf { display: flex; align-items: center; gap: 1.8cqi; font-size: clamp(.6875rem, 2.8cqi, .9375rem); font-weight: 600; line-height: 1.2; white-space: nowrap; }
.kg-web__puls-punkt { position: relative; width: 2.2cqi; aspect-ratio: 1; flex: none; border-radius: 50%; background: var(--accent); }
.kg-web__puls-punkt::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); opacity: 0; }
.kg-web__puls svg { display: block; width: 100%; height: auto; margin-top: 1.6cqi; overflow: visible; }
.kg-web__puls polyline { fill: none; stroke: url(#kg-web-verlauf); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }

@media (prefers-reduced-motion: no-preference) {
  .kg-web__flaeche { animation: kg-web-auf .8s var(--ease) both; }
  .kg-web__browser { animation: kg-web-rein .8s var(--ease) .15s both; }
  .kg-web__url { animation: kg-web-tippen .9s steps(23, end) .6s both; }
  .kg-web__laden { animation: kg-web-laden 1.8s var(--ease) 1.4s both; }
  .kg-web__seite > * { animation: kg-web-block .55s var(--ease) calc(1.6s + var(--i) * .3s) both; }
  .kg-web__karten span { animation: kg-web-block .5s var(--ease) calc(2.2s + var(--k) * .18s) both; }
  .kg-web__globus { animation: kg-web-weg .3s ease 2.9s both; }
  .kg-web__schloss { animation: kg-web-pop .5s var(--ease) 3s both; }
  .kg-web__haken { animation: kg-web-pop .4s var(--ease) 3.3s both; }
  .kg-web__wp { animation: kg-web-pop .6s var(--ease) 3.1s both, kg-web-schweben 2.4s ease-in-out 3.7s 2 alternate; }
  .kg-web__puls { animation: kg-web-pop .6s var(--ease) 3.4s both; }
  .kg-web__puls polyline { animation: kg-web-linie 1.6s ease-out 3.8s both; }
  .kg-web__puls-punkt::after { animation: kg-web-ring 1.2s ease-out 4s 3; }
}
@keyframes kg-web-auf { from { opacity: 0; scale: .94; } }
@keyframes kg-web-rein { from { opacity: 0; translate: 18px -18px; } }
@keyframes kg-web-tippen { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes kg-web-laden { 0% { opacity: 1; transform: scaleX(0); } 75% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
@keyframes kg-web-block { from { opacity: 0; translate: 0 10px; scale: .96; } }
@keyframes kg-web-weg { from { opacity: 1; } to { opacity: 0; scale: .6; } }
@keyframes kg-web-pop { from { opacity: 0; scale: .5; } 70% { scale: 1.1; } }
@keyframes kg-web-schweben { to { translate: 0 -6px; } }
@keyframes kg-web-linie { from { stroke-dashoffset: 1; } }
@keyframes kg-web-ring { from { opacity: .6; scale: 1; } to { opacity: 0; scale: 3; } }
