/* Kundenkonto-Panel (Overlay über jeder Seite) – 2026-11-04 */
html.cdkp-open, html.cdkp-open body { overflow: hidden; }
.cdkp { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; }
.cdkp[hidden] { display: none; }
.cdkp__scrim { position: absolute; inset: 0; background: rgba(3, 5, 9, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .18s ease; }
.cdkp__box {
  position: relative; display: flex; flex-direction: column; width: min(1180px, calc(100vw - 48px)); height: min(860px, calc(100vh - 48px)); height: min(860px, calc(100dvh - 48px));
  background: #0a0d13; border: 1px solid rgba(94, 200, 255, .22); border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 0 60px rgba(61, 158, 255, .12);
  transform: translateY(10px) scale(.985); opacity: 0; transition: transform .2s ease, opacity .2s ease;
}
.cdkp.is-open .cdkp__scrim { opacity: 1; }
.cdkp.is-open .cdkp__box { transform: none; opacity: 1; }
.cdkp__bar { display: flex; align-items: center; gap: .7rem; flex: 0 0 auto; height: 56px; padding: 0 .6rem 0 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .07); background: linear-gradient(180deg, rgba(61, 158, 255, .08), rgba(61, 158, 255, 0)); }
.cdkp__logo { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #5ec8ff, #3d9eff 55%, #a98bff); box-shadow: 0 0 12px rgba(94, 200, 255, .7); }
.cdkp__title { margin: 0; font: 700 1.02rem/1.2 Outfit, "DM Sans", system-ui, sans-serif; color: #fff; letter-spacing: .01em; }
.cdkp__x { margin-left: auto; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: rgba(255, 255, 255, .03); color: #dbe7f5; cursor: pointer; }
.cdkp__x:hover { border-color: rgba(94, 200, 255, .45); color: #fff; }
.cdkp__x:focus-visible { outline: 2px solid #5ec8ff; outline-offset: 2px; }
.cdkp__x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cdkp__body { position: relative; flex: 1 1 auto; min-height: 0; }
.cdkp__frame { display: block; width: 100%; height: 100%; border: 0; background: #07090d; opacity: 0; transition: opacity .15s ease; }
.cdkp.is-ready .cdkp__frame { opacity: 1; }
.cdkp__load { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .7rem; color: #9fb0c4; font: 500 .95rem/1.4 "DM Sans", system-ui, sans-serif; }
.cdkp.is-ready .cdkp__load { display: none; }
.cdkp__load span { width: 18px; height: 18px; border: 2px solid rgba(94, 200, 255, .25); border-top-color: #5ec8ff; border-radius: 50%; animation: cdkp-spin .8s linear infinite; }
@keyframes cdkp-spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .cdkp__box { width: 100vw; height: 100vh; height: 100dvh; border: 0; border-radius: 0; padding-top: env(safe-area-inset-top, 0px); }
  .cdkp__bar { height: 52px; }
}
@media (prefers-reduced-motion: reduce) { .cdkp__scrim, .cdkp__box, .cdkp__frame { transition: none; } .cdkp__load span { animation: none; } }
