:root {
  --bg: #f1f5f9; /* koel lichtgrijs */
  --card: #ffffffcc;
  --ink: #0a1224;
  --muted: #5b647a;
  --border: #e5eaf1;
  --accent: #0ea5a5; /* teal */
  --accent-2: #06b6d4; /* aqua */
  --radius: 16px;
  --wolf-opacity: .08;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(
      1200px 600px at 10% -20%,
      rgba(124, 58, 237, 0.08),
      transparent 60%
    ),
    radial-gradient(
      1000px 500px at 110% 10%,
      rgba(6, 182, 212, 0.1),
      transparent 60%
    );
}
body::after{
  content:"";
  position:fixed; inset:0; pointer-events:none; z-index:0;
  background: url("https://upload.wikimedia.org/wikipedia/commons/2/29/Wolf.svg") no-repeat bottom center / 540px auto;
  opacity: var(--wolf-opacity);
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 80px;
}
header {
  padding: 32px 0 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.logo img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: invert(1); /*  invert(1) maakt zwart → wit als je donkere logo wilt */
  opacity: 0.9;
}
h1 {
  margin: 0;
  font-size: clamp(22px, 2.2vw + 12px, 32px);
  font-family: "Roboto Slab", serif;
  letter-spacing: -0.02em;
  color:var(--ink);
}
.muted {
  color: var(--muted);
}
.stats {
  text-align: right;
}
/* voortgangsbalk */
.progress {
  height: 10px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.progress > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  width: 0%;
}
.privacy-note {
  font-size: 0.8rem;
  color: #666;
  text-align: left;
  margin-top: 0.75rem;
}
.card {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px); /* optioneel: zacht glas-effect */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.btn {
  appearance: none;
  border: 1px solid var(--border);
  background: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
}
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn {
  border: 1px solid var(--border);
  background: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.05s ease, box-shadow 0.2s ease;
}
.btn:hover {
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.12);
}
.btn:active {
  transform: translateY(1px);
}
.btn.primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  border-color: transparent;
}

.grid {
  display: grid;
  gap: 12px;
}
.options button {
  text-align: left;
}
.options button.active {
  border-color: transparent;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--accent) 12%, #fff),
    color-mix(in srgb, var(--accent-2) 12%, #fff)
  );
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
}
/* nummer-pills */
nav.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
nav.pills .pill {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
}
nav.pills .pill.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
nav.pills .pill.answered:not(.active) {
  background: #f8fafc;
}

.axis-badge {
  display: inline-block;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #f8fafc;
  margin-right: 6px;
}

.kpi {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}
.bar {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
}
.bar > i {
  display: block;
  height: 100%;
  background: var(--accent);
  width: 0%;
  border-radius: 999px;
}

footer {
  color: var(--muted);
  font-size: 14px;
  padding: 24px 0;
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.row .right {
  display: flex;
  gap: 8px;
}

a.link {
  color: var(--ink);
}

.party-logo {
  width: 40px;            /* vaste breedte */
  height: 40px;           /* vaste hoogte */
  object-fit: contain;    /* behoud verhoudingen (geen rek) */
  background: #fff;       /* witte achtergrond voor transparante logo's */
  padding: 4px;           /* wat ruimte rondom */
  border-radius: 6px;     /* lichte afronding */
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* simpele gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.gallery figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 6px 18px rgba(11, 16, 33, 0.06);
}
.gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.gallery figcaption {
  font-size: 12px;
  color: var(--muted);
  padding: 6px 10px;
}
