/* Restrained black, platinum and silver palette for the BezPerformance draft. */
:root {
  color-scheme: dark;
  --bg: #090a0c;
  --panel: #111316;
  --panel2: #17191c;
  --line: #292c30;
  --line2: #393d42;
  --text: #f1f2f3;
  --muted: #b3b6ba;
  --soft: #888d92;
  --accent: #d18a55;
  --accent-dark: #35251a;
  --warn: #b9bdc1;
  --shadow: 0 28px 70px #0008, 0 1px 0 #ffffff06 inset;
}

body {
  background: #0b0c0e;
}

.prototype-banner { background: #151719; color: #b9bdc1; }
.prototype-banner span { color: #c4c8cc; }
.eyebrow,
.trust-number,
.summary-item strong { color: var(--accent); }

.brand-mark {
  color: #111315;
  background: linear-gradient(145deg, #f0f1f2, #aeb3b8);
  box-shadow: 0 6px 22px #c9cdd21b, 0 1px 0 #ffffffd9 inset;
}

.trust-grid article,
.journey-card,
.analysis-card { background: linear-gradient(150deg, #181a1d, #111315); }

.draft-notice { background: #17191b; border-color: #46494d; color: #c4c7ca; }
.draft-notice strong { color: #d1d4d7; }

.button-primary {
  background: linear-gradient(135deg, #eceeef, #b8bdc2);
  border-color: #f4f5f6;
  color: #111315;
  box-shadow: 0 8px 24px #d9dde214, 0 1px 0 #ffffffd9 inset;
}
.button-primary:disabled { filter: grayscale(1); }

.answer-input:focus,
.answer-select:focus,
.answer-area:focus,
.custom-entry:focus { border-color: #c5c9cd; box-shadow: 0 0 0 3px #c5c9cd20; }

.choice.selected { border-color: #ff8738; background: linear-gradient(115deg, #27180f, #191513 72%); box-shadow: 0 0 0 1px #ff87385c inset, 0 0 23px #ff87382b, inset 0 0 20px #ff87380c; }
.scale-choice:hover,
.scale-choice.selected { border-color: #ff8738; background: #29221d; color: #f0e8e1; box-shadow: 0 0 0 1px #ff873824 inset, 0 0 16px #ff873812; }
.progress-bar { background: linear-gradient(90deg, #e76d22, #ff9a55); box-shadow: 0 0 15px #ff873833; }

.save-state i { background: #c6cacf; box-shadow: 0 0 10px #d5d8dc45; }
.live-tag i { background: #ff8738; box-shadow: 0 0 10px #ff87385c; }
.live-tag { border-color: #67452f; color: #edc1a1; }
.process-list:before { background: linear-gradient(#d2a17a, #62676c66); }
.process-node { background: #28211c; border-color: #ff8738; box-shadow: 0 0 12px #ff87383b; }
.dot-current { background: #ff8738; box-shadow: 0 0 11px #ff87385c; }
.analysis-card { background: linear-gradient(135deg, #1a1c1f, #121416); }
.analysis-icon { background: #292c30; color: #e1e3e5; }
.summary-item { background: #111315; }

.summary-group h2,
.example-details summary,
.info-icon,
.add-tool-button,
.order-button { color: #d0d3d6; }
.info-icon { border-color: #8b9095; }
.example-details p { border-left-color: #858b90; background: #17191b; color: #c4c7ca; }
.order-button { border-color: #45494e; background: #1b1d20; }

/* Cleaner product finish: quiet surfaces, consistent geometry and restrained depth. */
.shell { max-width: 1360px; }
.prototype-banner { height: 30px; background: #101113; border-bottom-color: #ffffff0a; }
.brand { gap: 11px; letter-spacing: .025em; }
.brand-mark { border: 1px solid #ffffff68; border-radius: 10px; }
.consent-screen { column-gap: clamp(52px, 8vw, 124px); padding-top: clamp(42px, 6vh, 72px); }
.consent-copy h1,
.complete-card h1 { letter-spacing: -.045em; }
.lead { color: #b9bdc1; }
.trust-grid { gap: 10px; margin: 30px 0; }
.trust-grid article {
  border-color: #292c30;
  border-radius: 15px;
  background: #121416;
  box-shadow: 0 12px 28px #0002;
  transform: none;
}
.trust-grid h2 { margin-top: 14px; }
.draft-notice { border-radius: 12px; }
.check-row { border-bottom-color: #282a2d; }
.button { border-radius: 11px; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.button:not(:disabled):hover { transform: none; }
.button-primary:not(:disabled):hover { border-color: #ff8738; box-shadow: 0 0 0 3px #ff87381c, 0 0 20px #ff873812; }
.button-secondary { background: #151719; border-color: #303337; color: #d5d7d9; }
.button-secondary:hover { border-color: #65696d; }
.topbar { border-bottom-color: #ffffff12; }
.progress-wrap { margin-top: 26px; }
.progress-track { height: 4px; background: #242629; }
.question-card {
  border-color: #2a2d30;
  border-radius: 20px;
  padding: clamp(30px, 4vw, 48px);
  background: linear-gradient(145deg, #151719, #111214 72%);
  box-shadow: 0 24px 60px #0005, 0 1px 0 #ffffff08 inset;
  transform: none;
}
.question-card:before { background: linear-gradient(90deg, transparent, #ffffff16, transparent); }
.question-index { margin-bottom: 20px; letter-spacing: .12em; }
.question-card h1 { letter-spacing: -.03em; }
.question-hint { color: #adb1b5; }
.example-details { border-bottom-color: #ffffff12; }
.example-details summary { gap: 8px; }
.info-icon { background: #1a1511; border-color: #a65727; color: #ff9b5b; }
.example-details p { border-left-color: #ff8738; background: #171513; }
.answer-wrap { gap: 10px; }
.answer-input,
.answer-select,
.answer-area,
.custom-entry {
  border-color: #303337;
  border-radius: 11px;
  background: #0e0f11;
}
.answer-input:focus,
.answer-select:focus,
.answer-area:focus,
.custom-entry:focus { border-color: #ff8738; box-shadow: 0 0 0 3px #ff87381a; }
.choice-grid { gap: 8px; }
.choice {
  min-height: 52px;
  align-items: center;
  border-color: #2c2f32;
  border-radius: 11px;
  background: #121416;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.choice:hover { border-color: #55585b; transform: none; }
.choice.selected { border-color: #ff8738; background: linear-gradient(115deg, #27180f, #191513 72%); box-shadow: 0 0 0 1px #ff87385c inset, 0 0 23px #ff87382b, inset 0 0 20px #ff87380c; }
.scale-choice { border-color: #303337; border-radius: 9px; background: #111315; }
.nav-row { margin-top: 20px; }
.journey-column { gap: 12px; }
.journey-card,
.analysis-card {
  border-color: #292c30;
  border-radius: 16px;
  background: #121416;
  box-shadow: 0 16px 38px #0003, 0 1px 0 #ffffff06 inset;
  transform: none;
  padding: 20px;
}
.journey-heading h2 { letter-spacing: -.02em; }
.journey-intro { color: #aeb2b6; }
.live-tag { border-radius: 8px; letter-spacing: .08em; }
.process-list li { padding-bottom: 14px; }
.process-step { color: #e1e3e5; }
.analysis-card { background: #141515; }
.analysis-icon { border: 1px solid #49301f; border-radius: 8px; background: #211811; color: #ff9b5b; }
.role-box,
.rating-row,
.order-row { border-color: #2d3033; border-radius: 11px; background: #121416; }
.order-button { border-color: #383a3d; border-radius: 7px; background: #191a1c; }
.complete-card { border-color: #2a2d30; border-radius: 20px; background: #121416; }
.summary-item { border-color: #2b2e31; border-radius: 10px; }

/* Make the orange state unmistakable while keeping the card surface dark. */
.choice.selected,
.choice:has(input:checked) {
  border-color: #ff8738;
  outline: 1px solid #ff873866;
  outline-offset: -1px;
  background: linear-gradient(115deg, #2a180e, #191513 72%);
  box-shadow: 0 0 24px #ff87383b, inset 0 0 18px #ff873817;
}
.scale-choice.selected { box-shadow: 0 0 0 1px #ff873866 inset, 0 0 18px #ff87382b; }
.process-node { box-shadow: 0 0 15px #ff873855; }

@media (max-width: 900px) {
  .consent-screen { gap: 38px; }
  .journey-card { padding: 18px; }
}
@media (max-width: 620px) {
  .question-card { padding: 25px 20px; border-radius: 17px; }
  .trust-grid { gap: 9px; }
}

@media print {
  .summary-group h2,
  .summary-item strong { color: #4b5055; }
}


/* Ordered, continuously updated process path. */
.process-list { counter-reset: bp-process-step; padding-left: 0; }
.process-list:before { left: 11px; top: 11px; bottom: 11px; }
.process-list li { counter-increment: bp-process-step; grid-template-columns: 23px minmax(0, 1fr); gap: 12px; padding-bottom: 15px; }
.process-node { width: 23px; height: 23px; margin-top: 0; display: grid; place-items: center; border-width: 1px; color: #ff9b5b; font: 700 10px/1 'DM Sans', sans-serif; }
.process-node:after { content: counter(bp-process-step); }
.process-step small.process-meta { margin-top: 4px; line-height: 1.45; overflow-wrap: anywhere; }


/* Softer metallic copper and robust, non-overflowing scale layout. */
.choice.selected,
.choice:has(input:checked) {
  border-color: #d18a55;
  outline: 1px solid #d18a5542;
  outline-offset: -1px;
  background: linear-gradient(145deg, #29231e, #191817 72%);
  box-shadow: 0 0 0 1px #d18a5533 inset, 0 0 12px #d18a5512;
}
.scale-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 7px; min-width: 0; }
.scale-choice { min-width: 0; padding: 0; border-color: #343639; background: linear-gradient(145deg, #151719, #111214); }
.scale-choice:hover,
.scale-choice.selected { border-color: #d18a55; background: linear-gradient(145deg, #39322c, #242321); color: #f3e8de; box-shadow: 0 0 0 1px #d18a5540 inset, 0 0 9px #d18a5514; }
.scale-choice[aria-label="Nicht einschätzbar"] { grid-column: 1 / -1; justify-self: start; width: auto; min-width: 0; min-height: 42px; aspect-ratio: auto; padding: 0 15px; white-space: nowrap; }
.progress-bar { background: linear-gradient(90deg, #a9714e, #d18a55 62%, #e3b48d); box-shadow: 0 0 8px #d18a5518; }
.live-tag i { background: #d18a55; box-shadow: 0 0 6px #d18a552b; }
.live-tag { border-color: #55483d; color: #d6b195; }
.process-list:before { background: linear-gradient(#c69873, #68696a66); }
.process-node { background: linear-gradient(145deg, #38332e, #1d1e1f); border-color: #bd8256; color: #e5b48d; box-shadow: 0 0 7px #d18a5518; }
.dot-current { background: #d18a55; box-shadow: 0 0 6px #d18a5526; }
.info-icon { border-color: #977052; color: #d8a276; background: #1c1916; }
.analysis-icon { border-color: #554335; background: linear-gradient(145deg, #33281f, #211b17); color: #dfaa7d; }
.answer-input:focus,
.answer-select:focus,
.answer-area:focus,
.custom-entry:focus { border-color: #bd8359; box-shadow: 0 0 0 2px #d18a5514; }
@media (max-width: 620px) { .scale-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Final polish: restrained platinum/copper accents and a quiet atmospheric backdrop. */
body {
  background:
    radial-gradient(ellipse 74% 56% at 8% -12%, #b98b6815, transparent 70%),
    radial-gradient(ellipse 62% 54% at 96% 12%, #aeb7c010, transparent 72%),
    linear-gradient(145deg, #101113 0%, #0a0b0d 52%, #101113 100%);
  background-attachment: fixed;
}

.prototype-banner { background: #101113; }
.question-card {
  background: linear-gradient(145deg, #17191b 0%, #121416 58%, #101214 100%);
}
.journey-card,
.analysis-card,
.trust-grid article,
.complete-card {
  background: linear-gradient(145deg, #17191b 0%, #121416 72%, #101214 100%);
}
.button-primary:not(:disabled):hover {
  border-color: #d8b89f;
  box-shadow: 0 0 0 2px #d18a5512, 0 5px 18px #0004, 0 1px 0 #ffffffd9 inset;
}
.choice.selected,
.choice:has(input:checked) {
  border-color: #c58b62;
  outline-color: #c58b6240;
  background: linear-gradient(145deg, #29231f, #191817 72%);
  box-shadow: 0 0 0 1px #c58b622b inset;
}
.scale-choice:hover,
.scale-choice.selected {
  border-color: #c58b62;
  background: linear-gradient(145deg, #302a25, #201f1d);
  color: #f0e7e0;
  box-shadow: 0 0 0 1px #c58b6238 inset;
}
.answer-input:focus,
.answer-select:focus,
.answer-area:focus,
.custom-entry:focus {
  border-color: #b99173;
  box-shadow: 0 0 0 2px #c58b6218;
}
.example-details p { border-left-color: #b98b68; }
.process-node { box-shadow: 0 0 5px #d18a5510; }
.save-state i,
.live-tag i,
.dot-current { box-shadow: none; }

@media (max-width: 620px) {
  body { background-attachment: scroll; }
}

@media (min-width: 621px) and (max-width: 1200px) {
  .consent-screen {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 38px clamp(24px, 5.5vw, 64px);
  }
  .consent-screen > .brand { position: static; }
  .consent-copy { width: 100%; max-width: 960px; justify-self: center; }
  .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* One-question image-card prototype for the analysis entry choice. */
.visual-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.visual-choice {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-width: 0;
  min-height: 94px;
  padding: 15px;
  border: 1px solid #3b3e42;
  border-radius: 13px;
  color: var(--text);
  text-align: left;
  background: linear-gradient(145deg, #1a1c1f, #121416 72%, #101214);
  box-shadow: 0 1px 0 #ffffff08 inset;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, transform .16s ease, box-shadow .16s ease;
}
.visual-choice:hover {
  border-color: #77736f;
  background: linear-gradient(145deg, #202123, #151617 72%, #121314);
  transform: translateY(-1px);
}
.visual-choice:focus-visible {
  outline: 2px solid #d18a55;
  outline-offset: 3px;
}
.visual-choice.selected {
  border-color: #c58b62;
  background: linear-gradient(145deg, #28231f, #191817 76%);
  box-shadow: 0 0 0 1px #c58b622b inset;
}
.visual-choice > svg {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 6px;
  border: 1px solid #484440;
  border-radius: 10px;
  color: #c8a184;
  background: linear-gradient(145deg, #292521, #1d1c1a);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.visual-choice.selected > svg {
  border-color: #765b47;
  color: #e0b18d;
  background: linear-gradient(145deg, #382b22, #211c18);
}
.visual-choice-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding-top: 1px;
}
.visual-choice-copy strong {
  font: 650 14px/1.35 'Manrope', sans-serif;
  color: #ececed;
}
.visual-choice-copy small {
  font: 12px/1.45 'DM Sans', sans-serif;
  color: #a9abad;
}
.visual-answer-sentinel {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.guided-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.choice.guided-choice {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 14px;
  border-color: #3b3e42;
  background: linear-gradient(145deg, #1a1c1f, #121416 72%, #101214);
  box-shadow: 0 1px 0 #ffffff08 inset;
}
.choice.guided-choice:hover {
  border-color: #77736f;
  background: linear-gradient(145deg, #202123, #151617 72%, #121314);
}
.choice.guided-choice.selected {
  border-color: #c58b62;
  background: linear-gradient(145deg, #28231f, #191817 76%);
  box-shadow: 0 0 0 1px #c58b622b inset;
}
.guided-choice .choice-symbol {
  width: 36px;
  height: 36px;
  padding: 5px;
  border: 1px solid #484440;
  border-radius: 10px;
  color: #c8a184;
  background: linear-gradient(145deg, #292521, #1d1c1a);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.guided-choice.selected .choice-symbol {
  border-color: #765b47;
  color: #e0b18d;
}
.guided-choice-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.guided-choice-copy strong {
  color: #ececed;
  font: 650 14px/1.35 'Manrope', sans-serif;
}
.guided-choice-copy small {
  color: #a9abad;
  font: 12px/1.45 'DM Sans', sans-serif;
}
.choice.guided-choice input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #d18a55;
}
.process-step-input-list {
  display: grid;
  gap: 9px;
}
.process-step-entry {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid #36393d;
  border-radius: 13px;
  background: linear-gradient(145deg, #181a1d, #121416);
  box-shadow: 0 1px 0 #ffffff08 inset;
}
.process-step-entry-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #6c5746;
  border-radius: 9px;
  color: #dfb28f;
  background: linear-gradient(145deg, #2a241f, #1d1b19);
  font: 650 13px 'Manrope', sans-serif;
}
.process-step-entry .process-step-input {
  min-width: 0;
  border-color: #34383c;
  background: #101214;
}
.process-step-remove {
  padding: 8px;
  color: #aeb0b3;
  font-size: 12px;
}
.process-step-remove:hover { color: #f0d2be; }
.process-step-remove:disabled { opacity: .35; cursor: not-allowed; }
.add-process-step-button {
  justify-self: start;
  margin-top: 2px;
  border-color: #55483d;
  color: #dfb28f;
  background: linear-gradient(145deg, #1d1b19, #151617);
}
.add-process-step-button:not(:disabled):hover { border-color: #9a7659; }
.add-process-step-button:disabled { opacity: .4; cursor: not-allowed; }
@media (max-width: 620px) {
  .visual-choice-grid { gap: 8px; }
  .visual-choice { min-height: 118px; padding: 12px; flex-direction: column; gap: 9px; }
  .visual-choice > svg { width: 34px; height: 34px; flex-basis: 34px; }
  .visual-choice-copy strong { font-size: 13px; }
  .visual-choice-copy small { font-size: 11px; }
  .guided-choice-grid { gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice.guided-choice { grid-template-columns: 30px minmax(0, 1fr) 16px; gap: 8px; min-height: 104px; padding: 10px; }
  .guided-choice .choice-symbol { width: 30px; height: 30px; padding: 4px; }
  .guided-choice-copy strong { font-size: 12px; }
  .guided-choice-copy small { font-size: 10px; }
  .process-step-entry { grid-template-columns: 30px minmax(0, 1fr); gap: 8px; }
  .process-step-entry-number { width: 28px; height: 28px; }
  .process-step-entry .process-step-input { grid-column: 2; }
  .process-step-remove { grid-column: 2; justify-self: end; }
}
@media (max-width: 420px) {
  .guided-choice-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .visual-choice { transition: none; }
}
