:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2.1rem, 1.2rem + 3vw, 3.75rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.25rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem; --space-20: 5rem;

  /* SCC-Logo-Palette */
  --cube-yellow: #f2d872;
  --cube-orange: #dc9a5c;
  --cube-red: #b9473a;
  --cube-green: #6f9a3f;
  --cube-violet: #7479e2;
  --cube-white: #f4f4f2;

  --color-bg: #0a0a0b;
  --color-surface: #131315;
  --color-surface-2: #1a1a1d;
  --color-surface-offset: #232327;
  --color-border: rgba(255, 255, 255, 0.12);
  --color-divider: rgba(255, 255, 255, 0.07);
  --color-text: #f2f1ee;
  --color-text-muted: #a7a5a0;
  --color-text-faint: #6f6d69;
  --color-text-inverse: #0a0a0b;

  --color-primary: var(--cube-orange);
  --color-primary-hover: #e8ad74;
  --color-primary-active: #c98848;
  --color-primary-soft: rgba(220, 154, 92, 0.22);
  --color-primary-highlight: rgba(220, 154, 92, 0.12);
  --color-accent: var(--cube-violet);

  --c-no: #2b2b30;
  --c-empty: #1c1c20;

  --radius-sm: .375rem; --radius-md: .5rem; --radius-lg: .75rem; --radius-xl: 1rem; --radius-full: 9999px;
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.6);

  --font-display: 'Clash Display', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', Arial, sans-serif;
  --content-wide: 1200px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: none; text-size-adjust: none; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: var(--space-20); }
body { min-height: 100dvh; line-height: 1.6; font-family: var(--font-body); font-size: var(--text-base); color: var(--color-text); background: var(--color-bg); display: flex; flex-direction: column; }
main { flex: 1; }
img, svg, canvas { display: block; max-width: 100%; }
input, button, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; line-height: 1.12; }
p, li { text-wrap: pretty; }
ul[role='list'], ol[role='list'] { list-style: none; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }
::selection { background: var(--color-primary-soft); }
a, button, input, select, textarea { transition: color var(--transition-interactive), background var(--transition-interactive), border-color var(--transition-interactive), box-shadow var(--transition-interactive), transform var(--transition-interactive); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--color-text); color: var(--color-text-inverse); padding: var(--space-2) var(--space-4); z-index: 100; }
.skip:focus { left: var(--space-4); top: var(--space-4); }

.wrap { width: 100%; max-width: var(--content-wide); margin-inline: auto; padding-inline: clamp(var(--space-4), 4vw, var(--space-10)); }
.narrow { max-width: 780px; }
.muted { color: var(--color-text-muted); }
.small { font-size: var(--text-sm); }
.eyebrow { font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-primary); }
.page-title { font-family: var(--font-display); font-weight: 600; font-size: var(--text-2xl); letter-spacing: -0.01em; margin-block: var(--space-3) var(--space-4); }

/* Topbar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(10, 10, 11, 0.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-divider); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: var(--space-4); }
.brand { display: flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.topnav { display: flex; align-items: center; gap: var(--space-1); }
.link { display: inline-flex; align-items: center; font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted); padding: var(--space-2) var(--space-3); min-height: 44px; border-radius: var(--radius-md); text-decoration: none; }
.link:hover { color: var(--color-text); background: var(--color-surface-offset); }
.link.is-active { color: var(--color-text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: var(--space-3) var(--space-6); border-radius: var(--radius-md); font-size: var(--text-sm); font-weight: 700; text-decoration: none; white-space: nowrap; }
.btn-sm { min-height: 40px; padding: var(--space-2) var(--space-4); margin-left: var(--space-2); }
.btn-lg { min-height: 56px; padding: var(--space-4) var(--space-8); font-size: var(--text-base); }
.btn-primary { background: var(--color-primary); color: var(--color-text-inverse); }
.btn-primary:hover { background: var(--color-primary-hover); }
.btn-primary:active { background: var(--color-primary-active); transform: translateY(1px); }
.btn-ghost { border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text); }
.btn-ghost:hover { border-color: rgba(255,255,255,.28); background: var(--color-surface-2); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius-md); color: var(--color-text-muted); }
.icon-btn:hover { background: var(--color-surface-offset); color: var(--color-text); }

/* Views */
.view { padding-block: clamp(var(--space-8), 5vw, var(--space-16)); animation: fadeIn 320ms cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Start */
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }
#start-title { font-family: var(--font-display); font-weight: 600; font-size: var(--text-2xl); letter-spacing: -0.015em; margin-block: var(--space-3) var(--space-5); }
.lead { font-size: var(--text-base); color: var(--color-text-muted); max-width: 60ch; }
.small-lead { margin-top: var(--space-3); }
.facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: var(--space-8); margin-block: var(--space-8); padding-block: var(--space-5); border-block: 1px solid var(--color-divider); }
.facts li { display: flex; flex-direction: column; }
.facts strong { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; line-height: 1.1; white-space: nowrap; }
.facts span { font-size: var(--text-xs); color: var(--color-text-muted); }
.start-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field { display: flex; flex-direction: column; gap: var(--space-1); }
.field label { font-size: var(--text-xs); font-weight: 700; color: var(--color-text-muted); }
.opt { font-weight: 400; color: var(--color-text-faint); }
.req { font-weight: 500; color: var(--color-primary); font-size: .85em; }
.field input, .field select, .field textarea, .search input { min-height: 48px; padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-2); font-size: var(--text-sm); width: 100%; }
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; padding-block: var(--space-3); }
.field input::placeholder, .field textarea::placeholder, .search input::placeholder { color: var(--color-text-faint); }
.field input:focus, .field select:focus, .field textarea:focus, .search input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-soft); }
.field.has-error input { border-color: #e06a5a; }
.start-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.start-visual { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); }
.start-visual figcaption { font-size: var(--text-xs); color: var(--color-text-muted); text-align: center; max-width: 44ch; }

.how { margin-top: clamp(var(--space-12), 7vw, var(--space-20)); }
.how h2, .offer h2, .software h2, .workshop h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); margin-bottom: var(--space-6); }
.how-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.how-list li { display: flex; gap: var(--space-4); padding: var(--space-6); background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); }
.how-list li:nth-child(1) .num { color: var(--cube-yellow); }
.how-list li:nth-child(2) .num { color: var(--cube-green); }
.how-list li:nth-child(3) .num { color: var(--cube-violet); }
.how-list .num { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; line-height: 1; }
.how-list strong { display: block; margin-bottom: var(--space-1); }
.how-list p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* Workshop */
.workshop { margin-top: clamp(var(--space-12), 7vw, var(--space-20)); }
.ws-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-8); padding: clamp(var(--space-6), 4vw, var(--space-12)); border-radius: var(--radius-xl); background: linear-gradient(135deg, #1d1712 0%, #141416 60%); border: 1px solid rgba(220, 154, 92, 0.35); }
.ws-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--cube-yellow), var(--cube-orange), var(--cube-red), var(--cube-green), var(--cube-violet)); }
.ws-card h2 { font-size: var(--text-2xl); margin-block: var(--space-3) var(--space-4); }
.ws-list { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.ws-list li { display: grid; grid-template-columns: 120px 1fr; gap: var(--space-4); font-size: var(--text-sm); padding-top: var(--space-3); border-top: 1px solid var(--color-divider); }
.ws-list strong { color: var(--color-primary); }
.ws-list span { color: var(--color-text-muted); }
.ws-buy { display: flex; flex-direction: column; justify-content: center; gap: var(--space-5); padding: var(--space-8); background: rgba(0,0,0,.35); border-radius: var(--radius-lg); border: 1px solid var(--color-divider); }
.price { display: flex; flex-direction: column; }
.price-num { font-family: var(--font-display); font-size: clamp(2.75rem, 2rem + 3vw, 4.25rem); font-weight: 600; line-height: 1; }
.price-sub { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-2); }
.ws-buy .muted a { color: var(--color-text); }

/* Software */
.software { margin-top: clamp(var(--space-12), 7vw, var(--space-20)); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }
.software h2 { margin-block: var(--space-3) var(--space-4); font-size: var(--text-2xl); }
.sw-points { list-style: none; display: grid; gap: var(--space-2); margin-block: var(--space-6); }
.sw-points li { position: relative; padding-left: var(--space-6); font-size: var(--text-sm); }
.sw-points li::before { content: ''; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 2px; background: var(--cube-violet); transform: skewX(-12deg); }
.sw-points li:nth-child(2)::before { background: var(--cube-green); }
.sw-points li:nth-child(3)::before { background: var(--cube-yellow); }
.sw-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.browser { display: block; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); box-shadow: var(--shadow-lg); background: #fff; text-decoration: none; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1); }
.browser:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #1f1f23; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a40; }
.browser-bar i:nth-child(1) { background: var(--cube-red); }
.browser-bar i:nth-child(2) { background: var(--cube-yellow); }
.browser-bar i:nth-child(3) { background: var(--cube-green); }
.browser-url { flex: 1; margin-left: 10px; padding: 4px 12px; border-radius: var(--radius-full); background: #2b2b31; color: var(--color-text-muted); font-size: var(--text-xs); text-align: center; }
.browser img { width: 100%; height: auto; }

/* Offer */
.offer { margin-top: clamp(var(--space-12), 7vw, var(--space-20)); display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-8) clamp(var(--space-8), 5vw, var(--space-16)); align-items: start; padding-top: clamp(var(--space-8), 5vw, var(--space-12)); border-top: 1px solid var(--color-divider); }
.offer h2 { margin-block: var(--space-3) var(--space-4); }
.offer-list { display: grid; gap: var(--space-3); }
.offer-list li { display: flex; flex-direction: column; padding: var(--space-5) var(--space-6); background: var(--color-surface); border: 1px solid var(--color-divider); border-left: 3px solid var(--cube-orange); border-radius: var(--radius-md); }
.offer-list li:nth-child(2) { border-left-color: var(--cube-green); }
.offer-list li:nth-child(3) { border-left-color: var(--cube-violet); }
.offer-list span { font-size: var(--text-sm); color: var(--color-text-muted); }
.offer > .btn { grid-column: 2; justify-self: start; }

/* Cube net */
.cube-holder { width: 100%; max-width: 560px; }
.cube-holder.small { max-width: 300px; }
.cube-holder svg { width: 100%; height: auto; overflow: visible; }
.face-bg { fill: #050506; stroke: #2a2a2f; stroke-width: 1; }
.face.is-solved .face-bg { stroke: var(--color-primary); stroke-width: 2; }
.face-label { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .08em; fill: var(--color-text-muted); text-transform: uppercase; }
.face.is-solved .face-label { fill: var(--color-primary); }
.st { transition: opacity 200ms ease; cursor: default; }
.st rect.base { transition: fill 260ms ease; }
.st.is-current rect.base { stroke: #fff; stroke-width: 2.5; }
.cube.has-focus .st:not(.is-hl) { opacity: .16; }
.cube.clickable .st { cursor: pointer; }
.cube.clickable .st:hover { opacity: .8; }
.cube-big { font-family: var(--font-display); font-weight: 600; font-size: 54px; fill: var(--color-text); }
.cube-sub { font-size: 12px; font-weight: 700; letter-spacing: .1em; fill: var(--color-text-muted); text-transform: uppercase; }
.cube-sub2 { font-size: 12px; fill: var(--color-text-faint); }

/* Check */
.check-grid { display: grid; grid-template-columns: 1fr 320px; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: start; }
.progress { height: 4px; background: var(--color-surface-offset); border-radius: var(--radius-full); overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--cube-yellow), var(--cube-orange), var(--cube-red), var(--cube-green), var(--cube-violet), var(--cube-white)); background-size: 1200px 100%; transition: width 300ms cubic-bezier(0.16, 1, 0.3, 1); }
.check-meta { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); margin-block: var(--space-6) var(--space-4); }
.count { font-size: var(--text-sm); color: var(--color-text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.q-card { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-xl); padding: clamp(var(--space-6), 4vw, var(--space-12)); box-shadow: var(--shadow-md); min-height: 380px; display: flex; flex-direction: column; }
.q-card.swap { animation: qswap 260ms cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes qswap { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.q-level { font-size: var(--text-xs); color: var(--color-text-muted); font-weight: 500; margin-bottom: var(--space-3); display: flex; align-items: center; gap: var(--space-2); }
.q-level i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.q-text { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); line-height: 1.25; margin-bottom: auto; padding-bottom: var(--space-8); max-width: 30ch; }
.answers { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.answer { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); padding: var(--space-4); min-height: 88px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface-2); text-align: left; font-size: var(--text-sm); font-weight: 700; }
.answer:hover { border-color: var(--color-primary); background: var(--color-primary-highlight); }
.answer.is-picked { border-color: var(--color-primary); background: var(--color-primary); color: var(--color-text-inverse); }
.answer.is-picked kbd { border-color: rgba(0,0,0,.3); color: var(--color-text-inverse); }
kbd { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700; min-width: 24px; height: 24px; display: inline-grid; place-items: center; border: 1px solid var(--color-border); border-radius: var(--radius-sm); color: var(--color-text-muted); }
.check-nav { display: flex; justify-content: space-between; align-items: center; margin-top: var(--space-4); }
.check-side { position: sticky; top: 104px; display: flex; flex-direction: column; gap: var(--space-6); align-items: center; }
.side-clusters { width: 100%; display: flex; flex-direction: column; gap: var(--space-1); }
.side-clusters li { display: flex; justify-content: space-between; font-size: var(--text-xs); color: var(--color-text-muted); padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm); }
.side-clusters li.is-current { background: var(--color-surface-2); color: var(--color-text); font-weight: 700; }
.side-clusters li.is-done { color: var(--color-text); }

/* Result */
.r-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-6); flex-wrap: wrap; margin-bottom: var(--space-8); }
#r-title { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); margin-block: var(--space-2); }
.r-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.notice { background: var(--color-primary-highlight); color: var(--color-primary-hover); border: 1px solid var(--color-primary-soft); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); font-size: var(--text-sm); margin-bottom: var(--space-6); }
.kpis { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--space-4); margin-bottom: var(--space-10); }
.kpi { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-6); }
.kpi:first-child { background: var(--color-primary); color: var(--color-text-inverse); border-color: transparent; }
.kpi:first-child .kpi-label, .kpi:first-child .kpi-sub { color: rgba(10,10,11,.72); }
.kpi-label { font-size: var(--text-xs); font-weight: 700; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .06em; }
.kpi-val { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; line-height: 1.15; margin-block: var(--space-2); font-variant-numeric: tabular-nums; }
.kpi-sub { font-size: var(--text-xs); color: var(--color-text-muted); }
.r-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: start; }
.r-cube { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); position: sticky; top: 100px; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); font-size: var(--text-xs); color: var(--color-text-muted); }
.legend span { display: inline-flex; align-items: center; gap: var(--space-2); }
.sw { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.sw-yes { background: var(--cube-orange); }
.sw-partial { background: linear-gradient(135deg, rgba(220,154,92,.25) 50%, var(--cube-orange) 50%); }
.sw-no { background: var(--c-no); border: 1px solid var(--color-border); }
.sw-unknown { background: repeating-linear-gradient(45deg, #55555c 0 2px, var(--c-no) 2px 5px); }
.r-clusters h2, .levers h2, .detail h2, .cta-band h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); }
.r-clusters > p { margin-block: var(--space-2) var(--space-4); }
.cl-list { display: flex; flex-direction: column; }
.cl-item { display: grid; grid-template-columns: 26px 1fr 100px 64px; gap: var(--space-4); align-items: center; width: 100%; text-align: left; padding: var(--space-3) var(--space-2); border-bottom: 1px solid var(--color-divider); border-radius: var(--radius-sm); min-height: 56px; }
.cl-item:hover, .cl-item:focus-visible { background: var(--color-surface); }
.pos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; width: 26px; height: 26px; }
.pos i { background: var(--color-surface-offset); border-radius: 1px; }
.pos i.on { background: var(--color-primary); }
.cl-name { font-size: var(--text-sm); font-weight: 700; }
.cl-name small { display: block; font-weight: 400; font-size: var(--text-xs); color: var(--color-text-muted); }
.bar { height: 8px; background: var(--color-surface-offset); border-radius: var(--radius-full); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--color-primary); border-radius: var(--radius-full); width: 0; transition: width 700ms cubic-bezier(0.16, 1, 0.3, 1); }
.cl-pct { font-size: var(--text-sm); font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.cl-pct small { display: block; font-weight: 400; font-size: var(--text-xs); color: var(--color-text-muted); }

.levers { margin-top: clamp(var(--space-12), 7vw, var(--space-20)); }
.levers > p { margin-block: var(--space-2) var(--space-6); font-size: var(--text-sm); }
.lever-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.lever { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
.lever:first-child { border-color: var(--color-primary-soft); }
.lever-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); }
.badge { font-size: var(--text-xs); font-weight: 700; padding: 2px var(--space-2); border-radius: var(--radius-full); background: var(--color-surface-offset); color: var(--color-text-muted); white-space: nowrap; }
.badge.b-no { background: #3a2622; color: #f0b3a8; }
.badge.b-partial { background: var(--color-primary-soft); color: var(--color-primary-hover); }
.badge.b-unknown { background: var(--color-surface-offset); color: var(--color-text); }
.badge.b-yes { background: rgba(111,154,63,.25); color: #b7d68f; }
.lever h3 { font-size: var(--text-lg); font-weight: 700; line-height: 1.25; }
.lever .rank { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; color: var(--color-primary); line-height: 1; }
.kv { font-size: var(--text-sm); }
.kv dt { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--color-text-muted); margin-top: var(--space-3); }
.kv dd { color: var(--color-text); }
.question { margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--color-divider); font-family: var(--font-display); font-size: var(--text-base); font-weight: 500; color: var(--cube-yellow); }
.question.plain { border: 0; padding-top: 0; }
.lever-why { font-size: var(--text-xs); color: var(--color-text-muted); }

.cta-band { margin-top: clamp(var(--space-10), 6vw, var(--space-16)); display: flex; justify-content: space-between; align-items: center; gap: var(--space-6); flex-wrap: wrap; padding: var(--space-8); border-radius: var(--radius-xl); background: linear-gradient(135deg, #1d1712, #141416 70%); border: 1px solid var(--color-primary-soft); }
.cta-band h2 { margin-block: var(--space-2); }
.cta-band p:not(.eyebrow) { color: var(--color-text-muted); font-size: var(--text-sm); max-width: 60ch; }
.cta-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

.detail { margin-top: clamp(var(--space-12), 7vw, var(--space-20)); }
.detail-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-4); }
.filters { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.chip { min-height: 40px; padding: var(--space-2) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: 500; background: var(--color-surface); }
.chip:hover { border-color: var(--color-text-faint); }
.chip.is-on { background: var(--color-text); color: var(--color-text-inverse); border-color: var(--color-text); }
.tabs { display: flex; gap: var(--space-1); overflow-x: auto; padding-bottom: var(--space-2); margin-bottom: var(--space-4); border-bottom: 1px solid var(--color-divider); scrollbar-width: thin; }
.tab { white-space: nowrap; min-height: 44px; padding: var(--space-2) var(--space-4); font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted); border-radius: var(--radius-md); }
.tab:hover { color: var(--color-text); background: var(--color-surface-offset); }
.tab[aria-selected='true'] { color: var(--color-text); background: var(--color-surface-2); font-weight: 700; box-shadow: inset 0 -2px 0 var(--color-primary); }
.detail-cards, .k-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.mini { display: flex; flex-direction: column; gap: var(--space-2); text-align: left; padding: var(--space-5); background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); }
.mini:hover { background: var(--color-surface-2); border-color: var(--color-border); }
.mini-top { display: flex; justify-content: space-between; gap: var(--space-2); align-items: center; }
.mini-id { font-size: var(--text-xs); font-weight: 700; color: var(--color-text-muted); font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: var(--space-2); }
.mini-id i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.mini h3 { font-size: var(--text-base); font-weight: 700; line-height: 1.3; }
.mini p { font-size: var(--text-sm); color: var(--color-text-muted); }
.empty-state { grid-column: 1 / -1; padding: var(--space-10); text-align: center; color: var(--color-text-muted); background: var(--color-surface); border: 1px dashed var(--color-border); border-radius: var(--radius-lg); }
.k-cluster { grid-column: 1 / -1; display: flex; align-items: baseline; gap: var(--space-3); margin-top: var(--space-6); }
.k-cluster h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); }
.k-cluster span { font-size: var(--text-xs); color: var(--color-text-muted); }
.search { margin-block: var(--space-6) var(--space-2); max-width: 560px; }
.search input { width: 100%; }

/* Level colour dots */
.lv1 { background: var(--cube-yellow); } .lv2 { background: var(--cube-orange); } .lv3 { background: var(--cube-red); }
.lv4 { background: var(--cube-green); } .lv5 { background: var(--cube-violet); } .lv6 { background: var(--cube-white); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: start; }
.contact-intro { position: sticky; top: 104px; display: flex; flex-direction: column; gap: var(--space-4); }
.contact-intro .page-title { font-size: var(--text-xl); }
.contact-facts { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2) var(--space-4); font-size: var(--text-sm); padding-top: var(--space-4); border-top: 1px solid var(--color-divider); }
.contact-facts dt { color: var(--color-text-muted); }
.contact-form { display: flex; flex-direction: column; gap: var(--space-6); }
.block { border: 1px solid var(--color-divider); border-radius: var(--radius-lg); padding: var(--space-6); background: var(--color-surface); display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.block legend { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); padding-inline: var(--space-2); margin-left: calc(-1 * var(--space-2)); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.questions { display: flex; flex-direction: column; gap: var(--space-6); }
.qf { border: 0; display: flex; flex-direction: column; gap: var(--space-2); padding-top: var(--space-5); border-top: 1px solid var(--color-divider); min-width: 0; }
.qf:first-child { border-top: 0; padding-top: 0; }
.qf legend, .qf > label.qlabel { font-size: var(--text-sm); font-weight: 700; display: flex; gap: var(--space-3); margin-bottom: var(--space-2); }
.qf .qnr { color: var(--color-primary); font-variant-numeric: tabular-nums; flex: none; }
.qf .hint { font-weight: 400; color: var(--color-text-faint); }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-2); }
.opt-item { position: relative; display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-2); font-size: var(--text-sm); cursor: pointer; min-height: 48px; }
.opt-item:hover { border-color: rgba(255,255,255,.28); }
.opt-item input { accent-color: var(--color-primary); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.opt-item:has(input:checked) { border-color: var(--color-primary); background: var(--color-primary-highlight); }
.check { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-sm); color: var(--color-text-muted); cursor: pointer; }
.check input { accent-color: var(--color-primary); width: 20px; height: 20px; margin-top: 2px; flex: none; }
.check a { color: var(--color-text); }
.check small { display: block; color: var(--color-text-faint); }
.check.has-error span { color: #f0a497; }
.form-foot { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.form-status { font-size: var(--text-sm); color: var(--color-text-muted); }
.form-status.ok { color: #b7d68f; }
.form-status.err { color: #f0a497; }
.form-done { padding: var(--space-10); text-align: center; border: 1px solid rgba(111,154,63,.4); border-radius: var(--radius-lg); background: rgba(111,154,63,.08); }
.form-done h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); margin-bottom: var(--space-3); }
.form-done p { color: var(--color-text-muted); }

/* Legal */
.legal h2 { font-size: var(--text-base); font-weight: 700; margin-top: var(--space-8); margin-bottom: var(--space-2); }
.legal p { color: var(--color-text-muted); font-size: var(--text-sm); max-width: 72ch; }
.legal p + p { margin-top: var(--space-3); }

/* Dialog */
.dialog-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.7); display: grid; place-items: center; padding: var(--space-4); animation: fadeIn 200ms ease; }
.dialog-backdrop[hidden] { display: none; }
.dialog { width: 100%; max-width: 680px; max-height: calc(100dvh - 2rem); overflow: auto; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.dialog-head { position: sticky; top: 0; background: var(--color-surface); display: flex; justify-content: space-between; gap: var(--space-4); align-items: flex-start; padding: var(--space-6) var(--space-6) var(--space-4); border-bottom: 1px solid var(--color-divider); }
.dialog-head h2 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; margin-top: var(--space-1); }
.dialog-body { padding: var(--space-4) var(--space-6) var(--space-6); }
.dialog-body .statement { background: var(--color-surface-2); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); font-size: var(--text-sm); margin-bottom: var(--space-2); display: flex; justify-content: space-between; gap: var(--space-3); align-items: flex-start; }
.rel { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.rel button { font-size: var(--text-xs); font-weight: 700; padding: var(--space-1) var(--space-3); min-height: 32px; border-radius: var(--radius-full); border: 1px solid var(--color-border); background: var(--color-surface-2); }
.rel button:hover { border-color: var(--color-primary); color: var(--color-primary); }
.src { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-4); }

.foot { border-top: 1px solid var(--color-divider); padding-block: var(--space-8); margin-top: var(--space-12); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4) var(--space-6); flex-wrap: wrap; font-size: var(--text-xs); color: var(--color-text-muted); }
.foot-logo { height: 34px; width: auto; }
.foot-nav { display: flex; gap: var(--space-4); }
.foot-nav a { color: var(--color-text-muted); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.foot-nav a:hover { color: var(--color-text); }

/* Responsive */
@media (max-width: 1040px) {
  .hide-sm { display: none; }
}
@media (max-width: 960px) {
  .start-grid, .r-grid, .check-grid, .software, .contact-grid, .ws-card, .offer { grid-template-columns: 1fr; }
  .offer > .btn { grid-column: 1; }
  .start-visual { order: -1; }
  .start-visual .cube-holder { max-width: 440px; }
  .check-side { position: static; order: -1; }
  .check-side .side-clusters { display: none; }
  .cube-holder.small { max-width: 220px; }
  .r-cube, .contact-intro { position: static; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .lever-grid, .how-list { grid-template-columns: 1fr; }
  .browser { transform: none; }
}
@media (max-width: 640px) {
  .topbar-inner { min-height: 60px; }
  .brand img { height: 32px; }
  .topnav .link[data-nav="karten"] { display: none; }
  .btn-sm { padding-inline: var(--space-3); margin-left: 0; }
  .facts { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .start-form, .grid-2 { grid-template-columns: 1fr; }
  .answers { grid-template-columns: 1fr 1fr; }
  .answer { min-height: 72px; }
  .q-card { min-height: 0; }
  .detail-cards, .k-list { grid-template-columns: 1fr; }
  .cl-item { grid-template-columns: 22px 1fr 56px 54px; gap: var(--space-3); }
  .r-actions { width: 100%; }
  .r-actions .btn { flex: 1 1 100%; }
  .ws-list li { grid-template-columns: 1fr; gap: var(--space-1); }
  .ws-buy { padding: var(--space-5); }
  .block { padding: var(--space-4); }
  .check-meta { flex-direction: column; gap: var(--space-1); }
}
@media (max-width: 640px) {
  .start-visual { order: 0; }
}
@media (max-width: 480px) {
  .topnav .link[data-nav="start"] { display: none; }
}
@media (max-width: 400px) {
  .topnav .link { padding-inline: var(--space-2); }
  .brand img { height: 28px; }
}
