:root{
  /* CIS Farben */
  --bg:#0b0f14;                 /* sehr dunkles Anthrazit */
  --card:#1f2f36;               /* Kartenhintergrund */
  --text:#e5e2d9;               /* warmes Off-White */
  --muted:#b8b1a3;              /* gedecktes Gold-Grau */
  --line:#2a2f3a;

  /* Gold (Logo-nah) */
  --gold-light:#e5e2d9;
  --gold-main:#cebd9e;
  --gold-dark:#b79762;
--gold-text:#b79762;


  /* Akzent */
  --accent:var(--gold-main);
  --accent-soft:rgba(199,164,91,.25);

  /* Chart */
  --chart-bg-top:#d1d1d1;
  --chart-bg-bottom:#8c8c8c;

  /* Navigation / Balken */
  --navy:#0b1d3a;

  --danger:#fb7185;
}


/* ===== CIS Branding ===== */
.brand{
  display:flex;
  align-items:center;
  gap:20px;
}

.logo{
  height:64px;
  width:auto;
}

.brand-text h1{
  margin:0;
}

  /* Chart-Farben (angelehnt an Screenshot) */
  --chart-bg-top:#c9c9c9;
  --chart-bg-bottom:#8a8a8a;
  --gold1:#ffd54a;
  --gold2:#f0b400;
  --gold3:#c89000;
  --navy:#081f4a;
  --label:#e6e6e6;
  --danger:#fb7185;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: #486573;
  color:var(--text);
}
.container{max-width:1040px;margin:0 auto;padding:20px}
.header{padding-top:26px;padding-bottom:8px}
.hero{display:flex;gap:18px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}
h1{margin:0 0 6px 0;font-weight:500;font-size:32px;letter-spacing:.4px}
h2{margin:0}
.sub{margin:6px 0 0 0;color:var(--muted)}
.hint{margin:10px 0 0 0;color:var(--muted);font-size:14px}
.source{color:var(--muted);font-size:13px;max-width:360px;text-align:right}
.source-bottom{margin-top:12px;text-align:left}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  padding:18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  margin:16px 0;
}
.card-head{display:flex;flex-direction:column;gap:10px;margin-bottom:10px}

.progress{height:10px;background:rgba(255,255,255,.06);border-radius:999px;overflow:hidden;border:1px solid rgba(255,255,255,.08)}
.progress-bar{height:100%;background:linear-gradient(90deg,#7dd3fc,#a78bfa)}
.progress-text{font-size:13px;color:var(--muted)}

.questions{display:flex;flex-direction:column;gap:12px}
.q{
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:12px;
  background:rgba(0,0,0,.12);
}
.q-head{display:flex;gap:10px;align-items:flex-start}
.q-num{
  min-width:34px;height:28px;border-radius:8px;
  border:1px solid rgba(255,255,255,.10);
  display:flex;align-items:center;justify-content:center;
  color:var(--muted);font-size:13px;background:rgba(255,255,255,.03)
}
.q-text{flex:1;line-height:1.35}
.scale{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.scale label{
  border:1px solid rgba(255,255,255,.10);
  padding:8px 10px;border-radius:999px;
  cursor:pointer;
  user-select:none;
  font-size:13px;
  color:var(--muted);
  background:rgba(255,255,255,.03)
}
.scale input{display:none}
.scale input:checked + span{
  color: var(--gold-main);
  font-weight:700;
  background: rgba(199,164,91,.25);
  border-color: var(--gold-main);
}
.scale span{display:inline-block}
.scale span{
  display:inline-block;
  min-width:34px;
  text-align:center;
}
.scale label:hover span{
  border-color: var(--gold-light);
}


.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.btn{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  color:var(--text);
  border-radius:12px;
  padding:10px 14px;
  cursor:pointer;
}
.btn.primary{
  border-color:var(--accent);
  background:linear-gradient(180deg,var(--gold-light),var(--gold-main));
  color:#1a1406;
  font-weight:700;
}
.btn.ghost{background:transparent;color:var(--muted)}
.btn:hover{filter:brightness(1.05)}

.error{
  margin-top:12px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(251,113,133,.45);
  background:rgba(251,113,133,.10);
  color:var(--text);
}

/* ===== Chart wie Screenshot ===== */
.chart-wrap{margin-top:10px}
.chart-3d{
  position:relative;
  border-radius:10px 10px 0 0;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, var(--chart-bg-top), #bdbdbd 55%, var(--chart-bg-bottom));
  padding:18px 18px 10px 18px;
  height:260px;
  overflow:hidden;
}
.chart-floor{
  position:absolute;left:0;right:0;bottom:-14px;height:50px;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.35));
  transform: skewX(-18deg);
  transform-origin: left bottom;
  opacity:.55;
}
.chart-grid{
  position:absolute;left:16px;right:16px;top:14px;bottom:38px;
  background:
    repeating-linear-gradient(
      to top,
      rgba(0,0,0,.18) 0px,
      rgba(0,0,0,.18) 1px,
      transparent 1px,
      transparent 28px
    );
  opacity:.35;
}
.columns{
  position:absolute;left:18px;right:18px;bottom:40px;top:16px;
  display:flex;gap:28px;align-items:flex-end;justify-content:space-between;
}
.col{
  width:120px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  position:relative;
}
.cyl{
  width:86px;
  border-radius:60px;
  background: linear-gradient(
  90deg,
  #9f8351,
  #b79762 45%,
  #d8c08c
);

  box-shadow: 0 18px 30px rgba(0,0,0,.25);
  position:relative;
  display:flex;
  align-items:flex-start;
  justify-content:center;
}
.cyl::before{
  display:none;
}
.cyl .value{
  margin-top:28px;
  font-weight:800;
  font-size:26px;
  color:white;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.chart-labels{
  border:1px solid rgba(255,255,255,.10);
  border-top:none;
  border-radius:0 0 10px 10px;
  background: var(--navy);
  padding:10px 14px;
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:10px;
}
.label{
  background: var(--label);
color:var(--gold-text);
  border-radius:6px;
  padding:10px 8px;
  text-align:center;
  font-weight:700;
  font-size:14px;
  line-height:1.2;
}

/* ===== Detailblöcke wie Screenshot ===== */
.result-details{margin-top:16px;display:flex;flex-direction:column;gap:10px}
.detail{
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  overflow:hidden;
  background: rgba(0,0,0,.10);
}
.detail-row{
  display:grid;
  grid-template-columns: 72px 1fr;
}
.scorebox{
  background: var(--navy);
  color:white;
  font-weight:900;
  font-size:22px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:16px;
}
.detail-body{padding:14px 14px 14px 14px}
.detail-title{font-weight:800;margin:0 0 4px 0}
.detail-sub{margin:0 0 10px 0;color:var(--muted);font-weight:600}
.detail-p{margin:0;color:var(--muted);line-height:1.5}

.disclaimer{margin-top:14px;color:var(--muted);font-size:13px}
.footer{margin:20px 0;color:var(--muted);text-align:center}

@media (max-width: 900px){
  .col{width:64px}
  .cyl{width:54px}
  .cyl .value{font-size:18px}
  .chart-labels{grid-template-columns:1fr;gap:8px}
  .source{text-align:left;max-width:none}
}

/* ===== Top-Antreiber hervorheben ===== */
.cyl.is-top{
  background: linear-gradient(
    90deg,
    #bfa56f,
    #d8c08c 45%,
    #ead9b2
  );
}

/* ===== CTA ===== */
.cta{
  margin-top:28px;
  padding:22px;
  border-radius:20px;
  border:1px solid rgba(199,164,91,.35);
  background: linear-gradient(
    180deg,
    rgba(199,164,91,.12),
    rgba(0,0,0,.15)
  );
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.cta h3{
  margin:0 0 10px 0;
  font-weight:600;
  letter-spacing:.2px;
}

.cta p{
  margin:8px 0;
  color:var(--muted);
  line-height:1.5;
}

.cta-btn{
  margin-top:14px;
  display:inline-block;
}


