.check-page {
  min-height: 100svh;
  color: var(--white);
  background:
    radial-gradient(circle at 74% 10%, rgba(200, 164, 106, .1), transparent 28%),
    var(--black);
}
.check-page .skip-link { color: var(--ink); }
.check-header {
  position: sticky;
  z-index: 10;
  top: 0;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(200, 164, 106, .22);
  background: rgba(5, 5, 5, .94);
  backdrop-filter: blur(12px);
}
.check-header .mark {
  width: max-content;
  margin: 0 auto;
  color: var(--white);
  text-decoration: none;
}
.check-header .mark__crown { width: 42px; }
.check-shell {
  width: min(900px, calc(100% - 40px));
  min-height: calc(100svh - 100px);
  margin: 0 auto;
  padding: clamp(52px, 8vw, 92px) 0 86px;
}
.check-screen {
  scroll-margin-top: 98px;
  animation: check-in .35s ease both;
}
.check-screen h1 {
  max-width: 14ch;
  font-size: clamp(2.25rem, 7vw, 4.8rem);
}
.check-screen h2 {
  max-width: 20ch;
  color: var(--white);
  font-size: clamp(1.8rem, 5vw, 3.3rem);
}
.check-screen h3 { color: var(--white); }
.check-copy {
  max-width: 660px;
  margin: 26px 0 0;
  color: #cfc8bd;
  font-size: 1rem;
}
.check-trust,
.check-note {
  max-width: 650px;
  color: #9f998f;
  font-size: .78rem;
}
.check-trust {
  margin: 26px 0 0;
  letter-spacing: .06em;
}
.check-note { margin: 15px 0 0; }
.check-page .eyebrow { color: var(--gold-light); }
.check-intro-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 760px;
  margin: 38px 0 0;
  border-top: 1px solid rgba(200, 164, 106, .55);
  border-bottom: 1px solid rgba(200, 164, 106, .55);
}
.check-intro-list div {
  min-height: 108px;
  padding: 22px;
  border-right: 1px solid rgba(200, 164, 106, .2);
  border-bottom: 1px solid rgba(200, 164, 106, .2);
}
.check-intro-list div:nth-child(2n) { border-right: 0; }
.check-intro-list div:nth-last-child(-n + 2) { border-bottom: 0; }
.check-intro-list strong {
  display: block;
  color: var(--gold-light);
  font-size: .72rem;
  letter-spacing: .14em;
}
.check-intro-list span {
  display: block;
  margin-top: 8px;
  color: #bdb6ab;
  font-size: .82rem;
}
.check-progress {
  margin-bottom: 52px;
}
.check-progress__meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #8e887f;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.check-progress__track {
  height: 2px;
  overflow: hidden;
  background: #282622;
}
.check-progress__bar {
  width: 0;
  height: 100%;
  background: var(--gold);
  transition: width .3s ease;
}
.check-question {
  min-height: 390px;
}
.check-question__count {
  margin: 0 0 18px;
  color: var(--gold-light);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.check-question__intro {
  max-width: 650px;
  margin: 16px 0 0;
  color: #aca59b;
  font-size: .86rem;
}
.check-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}
.check-option {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  padding: 15px 18px;
  border: 1px solid #302d28;
  color: var(--white);
  background: #121110;
  cursor: pointer;
}
.check-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.check-option span {
  font-size: .8rem;
  font-weight: 600;
}
.check-option:has(input:checked) {
  border-color: var(--gold);
  box-shadow: inset 4px 0 0 var(--gold);
}
.check-option:has(input:focus-visible) {
  outline: 3px solid rgba(200, 164, 106, .5);
  outline-offset: 2px;
}
.check-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.check-fields--single { grid-template-columns: 1fr; }
.check-page fieldset.immo-step {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.check-page .immo-step__legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.check-field {
  display: grid;
  gap: 9px;
  color: #d9d2c8;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.check-field input,
.check-field select,
.check-field textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid #3b3832;
  border-radius: 0;
  padding: 13px 14px;
  color: var(--white);
  background: #121110;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
}
.check-field textarea { min-height: 100px; resize: vertical; }
.check-field input:focus,
.check-field select:focus,
.check-field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.check-subquestion {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #302d28;
}
.check-subquestion--first {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.check-subquestion > p {
  max-width: 650px;
  margin: 0;
  font-weight: 700;
}
.check-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 42px;
}
.check-actions .button { margin-top: 0; }
.check-page .button--text { color: var(--white); }
.check-error {
  min-height: 1.5em;
  margin: 24px 0 0;
  color: #efaaa4;
  font-size: .84rem;
  font-weight: 600;
}
.check-transition {
  max-width: 730px;
  padding: 34px 0;
  border-top: 1px solid rgba(200, 164, 106, .6);
  border-bottom: 1px solid rgba(200, 164, 106, .6);
}
.check-transition p {
  color: #c8c1b7;
  font-size: 1.05rem;
}
.quick-result {
  margin-top: 42px;
}
.pillar-list {
  display: grid;
  gap: 24px;
  margin-top: 34px;
}
.pillar-row__meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pillar-row__status {
  color: #aaa399;
  font-size: .72rem;
  text-align: right;
}
.pillar-line {
  height: 3px;
  margin-top: 11px;
  overflow: hidden;
  background: #2b2925;
}
.pillar-line span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
  transition: width .8s ease;
}
.pillar-row--partial {
  padding: 18px;
  border: 1px solid #302d28;
  background: #0f0e0d;
}
.pillar-row__note {
  max-width: 680px;
  margin: 10px 0 0;
  color: #aaa399;
  font-size: .78rem;
}
.result-section {
  max-width: 740px;
  margin-top: 46px;
  padding-top: 34px;
  border-top: 1px solid rgba(200, 164, 106, .4);
}
.result-section p { color: #c8c1b7; }
.result-section--quiet {
  padding: 25px;
  border: 1px solid #302d28;
  background: #0f0e0d;
}
.fhs-contact {
  max-width: 720px;
}
.marketing-choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 26px;
  color: #c7c0b6;
  font-size: .82rem;
}
.marketing-choice input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  accent-color: var(--gold);
}
.local-data-note {
  margin-top: 24px;
  padding: 18px;
  border-left: 2px solid var(--gold);
  color: #aaa399;
  background: #0e0d0c;
  font-size: .78rem;
}
.check-scope {
  max-width: 42rem;
  margin: 28px 0 0;
  color: #cfc8bd;
  font-size: .92rem;
  line-height: 1.55;
}
.check-scope dt {
  margin-top: 18px;
  color: var(--gold-light);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.check-scope dd {
  margin: 6px 0 0;
}
.check-scope ul {
  margin: 8px 0 0;
  padding-left: 1.15em;
}
.check-scope li + li { margin-top: 6px; }
.check-file-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.check-file-slot {
  display: grid;
  gap: 8px;
  padding: 16px 16px 14px;
  border: 1px solid #302d28;
  background: #121110;
}
.check-file-slot strong {
  color: var(--white);
  font-size: .82rem;
}
.check-file-slot span {
  color: #9f998f;
  font-size: .74rem;
}
.check-file-slot input[type="file"] {
  color: #d9d2c8;
  font: inherit;
  font-size: .8rem;
}
.check-file-slot input[type="file"]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.check-file-slot .button--text {
  justify-self: start;
  margin-top: 2px;
}
.check-more {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #302d28;
  color: #cfc8bd;
}
.check-more > summary {
  cursor: pointer;
  color: var(--white);
  font-weight: 700;
}
.check-more > summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.check-choice-list {
  display: grid;
  gap: 4px;
  margin-top: 12px;
}
.kfz-summary,
.zahn-summary {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
#kfz-steps .check-progress__meta,
#zahn-steps .check-progress__meta,
#riester-steps .check-progress__meta {
  flex-wrap: wrap;
  gap: 6px 16px;
}
.kfz-summary__block,
.zahn-summary__block {
  min-width: 0;
  padding: 16px;
  border: 1px solid #302d28;
  background: #121110;
}
.kfz-summary__head,
.zahn-summary__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.kfz-summary__block h3,
.zahn-summary__block h3 {
  margin: 0;
  color: var(--white);
  font-size: .82rem;
}
.kfz-summary__block dl,
.zahn-summary__block dl {
  margin: 0;
  display: grid;
  gap: 10px;
}
.kfz-summary__block dt,
.zahn-summary__block dt {
  color: var(--gold-light);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.kfz-summary__block dd,
.zahn-summary__block dd {
  margin: 2px 0 0;
  color: #d9d2c8;
  overflow-wrap: anywhere;
}
.kfz-pending { color: var(--gold-light); }
.zahn-wish-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.zahn-wish-list li {
  padding: 14px 0;
  border-bottom: 1px solid #302d28;
  color: #d9d2c8;
}
@media (max-width: 700px) {
  #zahn-intro h1,
  #riester-intro h1,
  #riester-result h1,
  #riester-done h1 {
    max-width: 16ch;
    overflow-wrap: normal;
    font-size: clamp(1.7rem, 6.8vw, 2.4rem);
  }
}
.riester-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 6.5rem;
  gap: 10px;
  align-items: center;
}
.riester-pair input[type="range"] { width: 100%; accent-color: var(--gold); }
.check-field select {
  width: 100%;
  min-height: 46px;
  padding: 8px 10px;
  color: var(--white);
  background: #121110;
  border: 1px solid #302d28;
  font: inherit;
}
.riester-row { align-items: end; }
.riester-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 14px;
  margin-top: 28px;
}
.riester-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid #302d28;
  background: #121110;
}
.riester-card h3 {
  margin: 0;
  color: var(--gold-light);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.riester-card__value {
  margin: 10px 0 0;
  color: var(--white);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.riester-card__note {
  margin: 8px 0 0;
  color: #9f998f;
  font-size: .78rem;
}
.riester-advice { margin-top: 48px; padding-top: 28px; border-top: 1px solid #302d28; }
#riester-result,
#riester-result .riester-advice,
#riester-result .check-file-list,
#riester-result .check-file-slot {
  min-width: 0;
  max-width: 100%;
}
#riester-result .check-file-slot input[type="file"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.kfz-driver {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #302d28;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.score-hero {
  display: grid;
  grid-template-columns: minmax(270px, .72fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 80px);
  align-items: center;
  margin-top: 34px;
}
.score-hero--partial {
  grid-template-columns: minmax(0, 760px);
}
.score-hero--partial .score-summary {
  padding: 28px;
  border-left: 2px solid var(--gold);
  background: #0f0e0d;
}
.score-ring {
  position: relative;
  width: min(330px, 82vw);
  aspect-ratio: 1;
  margin: 0 auto;
}
.score-ring svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.score-ring__track,
.score-ring__value {
  fill: none;
  stroke-width: 7;
}
.score-ring__track { stroke: #27241f; }
.score-ring__value {
  stroke: url("#score-gold");
  stroke-linecap: round;
  stroke-dasharray: 552.92;
  stroke-dashoffset: 552.92;
  filter: drop-shadow(0 0 8px rgba(230, 211, 163, .35));
  transition: stroke-dashoffset 1.8s cubic-bezier(.22, .72, .25, 1);
}
.score-ring__spark {
  opacity: 0;
  transform-origin: 100px 100px;
}
.score-ring.is-animating .score-ring__spark {
  animation: score-spark 1.8s ease-out;
}
.score-ring__spark circle {
  fill: var(--gold-light);
  filter: drop-shadow(0 0 4px var(--gold));
}
.score-ring__content {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.score-ring__label {
  max-width: 16ch;
  margin: 0 auto 8px;
  color: #aaa399;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.score-ring__number {
  display: block;
  font-size: clamp(3.4rem, 10vw, 5.4rem);
  font-weight: 800;
  line-height: .9;
}
.score-ring__total {
  color: #918a80;
  font-size: .8rem;
}
.score-summary h1 { max-width: 13ch; }
.score-summary h2 {
  margin-top: 18px;
  color: var(--gold-light);
  font-size: clamp(1.45rem, 4vw, 2.35rem);
}
.score-summary p { color: #c8c1b7; }
.fhs-flags {
  display: grid;
  gap: 1px;
  margin-top: 24px;
  border: 1px solid #302d28;
  background: #302d28;
}
.fhs-flag {
  padding: 24px;
  background: #0f0e0d;
}
.fhs-flag h3 { font-size: 1.05rem; }
.fhs-flag p { margin-bottom: 0; color: #bdb6ab; }
.fhs-disclaimer {
  max-width: 760px;
  margin-top: 48px;
  padding: 28px;
  border-left: 2px solid var(--gold);
  background: #0e0d0c;
}
.fhs-disclaimer strong { display: block; color: var(--white); }
.fhs-disclaimer p { margin: 8px 0 0; color: #aaa399; }

@keyframes check-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes score-spark {
  0%, 8% { opacity: 0; }
  20%, 78% { opacity: .75; }
  100% { opacity: 0; }
}

@media (max-width: 700px) {
  .check-screen h1,
  .check-screen h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .check-header { padding-top: 12px; }
  .check-shell { width: min(100% - 32px, 900px); padding-top: 48px; }
  .check-intro-list,
  .check-options,
  .check-fields,
  .score-hero {
    grid-template-columns: 1fr;
  }
  .check-intro-list div {
    min-height: auto;
    border-right: 0;
  }
  .check-intro-list div:nth-last-child(2) { border-bottom: 1px solid rgba(200, 164, 106, .2); }
  .check-question { min-height: 330px; }
  .check-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  .check-actions .button { width: 100%; }
  .pillar-row__meta { align-items: flex-start; flex-direction: column; gap: 4px; }
  .pillar-row__status { text-align: left; }
  .score-summary { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .check-screen { animation: none; }
  .score-ring__value,
  .pillar-line span { transition: none; }
  .score-ring__spark { display: none; }
}
