:root{
  --purple:#b84acfff;
  --yellow:#fbbf00ff;

  --bg: var(--yellow);
  --text: var(--purple);

  --glass: rgba(255,255,255,0.60);
  --glass2: rgba(255,255,255,0.40);
  --stroke: rgba(184,74,207,0.35);
  --shadow: 0 18px 50px rgba(80, 12, 110, 0.22);
  --r: 24px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:"Ubuntu", system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
}

/* Hintergrund: subtiler lila “print” */
body::before{
  content:"";
  position:fixed;
  inset:-20%;
  pointer-events:none;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(184,74,207,0.28), transparent 60%),
    radial-gradient(700px 450px at 90% 20%, rgba(184,74,207,0.18), transparent 55%),
    radial-gradient(900px 650px at 60% 95%, rgba(184,74,207,0.22), transparent 55%),
    repeating-linear-gradient(45deg,
      rgba(184,74,207,0.08) 0px,
      rgba(184,74,207,0.08) 2px,
      rgba(0,0,0,0) 2px,
      rgba(0,0,0,0) 10px
    );
  filter: saturate(1.05);
}

/* Topbar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  padding: calc(10px + env(safe-area-inset-top)) 14px 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background: rgba(184,74,207,0.20);
  border-bottom: 2px solid rgba(184,74,207,0.22);
  backdrop-filter: blur(8px);
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color: var(--text);
}

.brandmark{
  width:44px;
  height:44px;
  border-radius:16px;
  display:grid;
  place-items:center;
  font-weight:900;
  background: rgba(184,74,207,0.18);
  border: 2px solid rgba(184,74,207,0.35);
  box-shadow: 0 10px 20px rgba(80,12,110,0.18);
}

.brandtitle{font-weight:900; line-height:1}
.brandsub{font-size:12px; font-weight:700; opacity:0.85}

.nav{display:flex; gap:10px}
.navlink{
  text-decoration:none;
  color: var(--purple);
  background: rgba(255,255,255,0.45);
  border: 2px solid rgba(184,74,207,0.28);
  padding: 10px 12px;
  border-radius: 16px;
  font-weight:900;
}

/* Layout */
.wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 14px 40px;
}

.hero{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 8px;
}

@media (min-width: 900px){
  .hero{ grid-template-columns: 1.15fr 0.85fr; align-items:stretch; }
}

.hero-left{
  background: var(--glass);
  border: 2px solid var(--stroke);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 18px;
}

.kicker{
  font-weight:900;
  letter-spacing:0.3px;
  opacity:0.9;
}

.headline{
  margin: 10px 0 16px;
  font-size: 34px;
  line-height:1.05;
  font-weight: 1000;
}

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tile{
  border-radius: 22px;
  border: 2px solid rgba(184,74,207,0.30);
  background: rgba(255,255,255,0.55);
  padding: 14px 12px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  min-height: 90px;
  box-shadow: 0 10px 22px rgba(80,12,110,0.14);
}

.tile.big{ min-height: 120px; }
.tile.small{ background: rgba(255,255,255,0.42); }

.num{
  font-size: 44px;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 0.5px;
}
.tile.big .num{ font-size: 54px; }

.lbl{
  margin-top: 6px;
  font-weight: 900;
  opacity: 0.85;
}

.meta{
  margin-top: 14px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(184,74,207,0.12);
  border: 2px solid rgba(184,74,207,0.24);
  font-weight: 800;
}
.pill.ghost{
  background: rgba(255,255,255,0.35);
}
.dot{
  width:10px;height:10px;border-radius:999px;
  background: rgba(184,74,207,0.70);
  box-shadow: 0 0 0 4px rgba(184,74,207,0.14);
}

/* rechte Spalte: Deko + Statuskarte */
.hero-right{
  position:relative;
  border-radius: var(--r);
  overflow:hidden;
  min-height: 280px;
  background: rgba(184,74,207,0.10);
  border: 2px solid rgba(184,74,207,0.18);
  box-shadow: 0 18px 50px rgba(80,12,110,0.14);
}

.badge{
  position:absolute;
  top: 16px; left: 16px;
  background: rgba(255,255,255,0.55);
  border: 2px solid rgba(184,74,207,0.25);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 10px 22px rgba(80,12,110,0.14);
}
.badge-title{font-weight:1000; font-size:18px}
.badge-sub{font-weight:900; font-size:12px; opacity:0.85}

.orb{
  position:absolute;
  border-radius:999px;
  filter: blur(0.2px);
  opacity: 0.95;
}
.orb-1{
  width: 240px; height: 240px;
  right: -70px; top: -60px;
  background: radial-gradient(circle at 30% 30%, rgba(184,74,207,0.55), rgba(184,74,207,0.10));
  animation: float1 7.5s ease-in-out infinite;
}
.orb-2{
  width: 210px; height: 210px;
  left: -80px; bottom: -60px;
  background: radial-gradient(circle at 30% 30%, rgba(184,74,207,0.35), rgba(184,74,207,0.08));
  animation: float2 8.5s ease-in-out infinite;
}
.orb-3{
  width: 160px; height: 160px;
  right: 40px; bottom: -50px;
  background: radial-gradient(circle at 30% 30%, rgba(184,74,207,0.28), rgba(184,74,207,0.06));
  animation: float3 9.5s ease-in-out infinite;
}

@keyframes float1{ 0%,100%{transform:translate(0,0)} 50%{transform:translate(-10px,10px)} }
@keyframes float2{ 0%,100%{transform:translate(0,0)} 50%{transform:translate(14px,-8px)} }
@keyframes float3{ 0%,100%{transform:translate(0,0)} 50%{transform:translate(-8px,-12px)} }

.card{
  position:absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(255,255,255,0.60);
  border: 2px solid rgba(184,74,207,0.25);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 14px 40px rgba(80,12,110,0.18);
}

.card-title{
  font-weight: 1000;
  margin-bottom: 10px;
}

.card-line{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom: 10px;
}

.smalltxt{ font-weight: 800; opacity: 0.9; }

.spark{
  width: 40px;
  height: 10px;
  border-radius: 999px;
  background: rgba(184,74,207,0.20);
  position: relative;
  overflow: hidden;
}
.spark::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, transparent, rgba(184,74,207,0.85), transparent);
  transform: translateX(-80%);
  animation: sweep 1.4s linear infinite;
}
@keyframes sweep{ to{ transform: translateX(80%);} }

.progress{
  height: 14px;
  border-radius: 999px;
  background: rgba(184,74,207,0.14);
  border: 2px solid rgba(184,74,207,0.22);
  overflow:hidden;
}
.bar{
  height:100%;
  width: 0%;
  background: rgba(184,74,207,0.65);
  border-radius: 999px;
}

.card-foot{
  margin-top: 10px;
  display:flex;
  justify-content:flex-end;
}

/* Info cards */
.info{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 900px){
  .info{ grid-template-columns: 1fr 1fr; }
}
.info-card{
  background: var(--glass2);
  border: 2px solid rgba(184,74,207,0.25);
  border-radius: var(--r);
  padding: 14px;
  box-shadow: 0 12px 30px rgba(80,12,110,0.12);
}
.info-title{ font-weight: 1000; margin-bottom: 8px; }
.info-text{ font-weight: 700; opacity: 0.92; }
code{
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(184,74,207,0.25);
  padding: 2px 6px;
  border-radius: 10px;
}
