.check-page { padding: 42px var(--gutter) 64px; }
.check-intro { max-width: 850px; margin-bottom: 28px; }
.check-intro .section-kicker { margin: 0 0 12px; font-size: .875rem; }
.check-intro h1 { font: 750 clamp(2rem,3.3vw,3.3rem)/1.12 var(--heading); letter-spacing: -.04em; }
.check-intro h1 span { color: var(--green-dark); }
.check-intro > p:last-child { color: var(--muted); margin: 18px 0 0; }
.check-layout { display: grid; grid-template-columns: minmax(0,1fr) 245px; gap: 28px; align-items: start; }
.check-card { min-width: 0; border: 1px solid var(--line); border-radius: 6px; padding: 32px; background: white; }
.check-card [hidden] { display: none !important; }
.check-card h2 { font: 700 clamp(1.4rem,2vw,1.8rem)/1.25 var(--heading); letter-spacing: -.025em; margin: 28px 0 10px; }
.check-card h3 { font: 700 1.25rem/1.35 var(--heading); }
.check-card h4 { font-size: 1rem; margin: 0; }
.check-card p { overflow-wrap: anywhere; }
.check-card :is(input,select,textarea,button) { font: inherit; }
.check-card :is(input,select,textarea) { accent-color: var(--green-dark); }
.check-progress-label { display: flex; justify-content: space-between; gap: 16px; color: var(--green-dark); font-size: .875rem; font-weight: 600; }
.check-card progress { display: block; width: 100%; height: 6px; margin-top: 12px; border: 0; border-radius: 6px; overflow: hidden; accent-color: var(--green-dark); background: var(--soft); }
.check-card progress::-webkit-progress-bar { background: var(--soft); }
.check-card progress::-webkit-progress-value { background: var(--green-dark); }
.check-muted { margin: 0 0 24px; color: var(--muted); }
.check-kinds { padding: 0; border: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.check-kinds legend { font-weight: 600; margin-bottom: 10px; }
.check-choice { display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 50px; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.check-choice:has(input:checked) { background: #edf4df; border-color: var(--green-dark); }
.check-choice input, .check-checkbox input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; }
.check-field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.check-field { min-width: 0; }
.check-field > label { display: block; font-size: .9375rem; font-weight: 600; margin-bottom: 9px; }
.check-field > label span { color: var(--muted); font-size: .875rem; font-weight: 400; }
.check-field select, .check-unit, .check-details textarea { width: 100%; border: 1px solid #a6b19c; border-radius: 4px; background: white; color: var(--ink); }
.check-field select { min-height: 50px; padding: 12px 9px; text-overflow: ellipsis; }
.check-unit { display: flex; align-items: center; min-height: 50px; padding-right: 12px; }
.check-unit input { width: 100%; min-width: 0; padding: 12px; background: transparent; border: 0; color: var(--ink); }
.check-unit span { white-space: nowrap; font-size: .875rem; color: var(--muted); }
.check-note, .check-privacy { color: var(--muted); font-size: .875rem; line-height: 1.6; }
.check-privacy { border-top: 1px solid var(--line); padding-top: 18px; margin: 24px 0 0; }
.check-parts { display: grid; gap: 24px; }
.check-part, .check-tip { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 14px; }
.check-number { color: var(--green-dark); font-size: .875rem; font-weight: 600; }
.check-part .check-number { padding-top: 2px; }
.check-certificate { background: var(--soft); padding: 22px; margin-top: 28px; border-radius: 4px; }
.check-checkbox { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.check-checkbox small { display: block; font-size: .875rem; color: var(--muted); }
#certificate-fields { display: grid; gap: 20px; margin-top: 24px; }
.check-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 26px; }
.check-actions > :last-child { margin-left: auto; }
.check-card .button { white-space: normal; text-align: center; border-radius: 4px; }
.check-secondary { color: var(--ink); background: white; border: 1px solid #a6b19c; }
.check-secondary:hover { background: var(--soft); }
.check-errors { color: #872415; background: #fff1ec; border-left: 3px solid #a33420; padding: 12px 18px; margin-top: 22px; }
.check-errors p { margin: 5px 0; }
.check-advisor { padding: 25px; border-top: 4px solid var(--green); background: var(--soft); }
.check-advisor .section-kicker { margin: 0 0 12px; font-size: .875rem; }
.check-advisor h2 { font: 700 1.5rem/1.3 var(--heading); }
.check-advisor p { color: var(--muted); font-size: .9375rem; }
.check-advisor a { overflow-wrap: anywhere; }
.check-advisor .text-link { font-size: .9375rem; }
.check-kicker { font-size: .875rem; font-weight: 600; color: var(--green-dark); letter-spacing: .06em; }
.check-result { padding: 22px; border-left: 4px solid #66745a; background: var(--soft); }
.check-result p { margin: 0; font-size: .875rem; }
.check-result h2 { margin: 8px 0 0; }
.check-green { background: #edf4df; border-color: #476321; }
.check-amber { background: #fff4d9; border-color: #9b761b; }
.check-orange { background: #fff0e6; border-color: #a65821; }
.check-completeness { color: var(--muted); font-size: .875rem; }
.check-grade { margin: 28px 0; padding: 24px 0; border-block: 1px solid var(--line); }
.check-scale { display: flex; gap: 3px; margin: 20px 0; }
.check-scale > span { background: var(--grade-color); color: white; flex: 1; text-align: center; padding: 7px 0; font-size: .875rem; position: relative; min-width: 0; }
.check-scale .current { outline: 2px solid var(--ink); outline-offset: 2px; font-weight: 700; }
.check-scale b { display: block; font-size: .75rem; line-height: 1; }
.check-tips { margin-top: 28px; }
.check-tip { border-bottom: 1px solid var(--line); padding: 20px 0; }
.check-tip p { margin: 7px 0 0; color: var(--muted); }
.check-enquiry { background: var(--soft); padding: 24px; margin-top: 28px; border-radius: 4px; }
.check-enquiry p { margin: 12px 0; }
.check-details { border-top: 1px solid var(--line); padding: 14px 0; }
.check-details summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.check-details p { color: var(--muted); }
.check-details textarea { margin-top: 16px; padding: 14px; font-size: .9375rem; line-height: 1.6; resize: vertical; }
@media (max-width: 1200px) { .check-layout { grid-template-columns: minmax(0,1fr); } .check-advisor { display: none; } }
@media (max-width: 700px) { .check-page { padding: 28px var(--gutter) 40px; } .check-card { padding: 22px 18px; } .check-field-grid { grid-template-columns: 1fr; } .check-certificate, .check-enquiry { padding: 18px; } .check-card .button { width: 100%; } .check-actions > :last-child { margin-left: 0; } }

.check-page { background: #f3f6ee; padding-top: 30px; }
.check-intro { margin-bottom: 22px; }
.check-intro h1 { font-size: clamp(2rem,3vw,2.8rem); }
.check-intro > p:last-child { max-width: 620px; margin-top: 12px; }
.check-layout { grid-template-columns: minmax(0,850px) minmax(190px,245px); gap: 24px; }
.check-card { border-top: 5px solid var(--green); }
.check-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; list-style: none; margin: 0 0 20px; padding: 0; }
.check-steps li { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: .875rem; color: var(--muted); }
.check-steps li > span { display: grid; place-items: center; height: 30px; width: 30px; flex-shrink: 0; border-radius: 50%; border: 1px solid #a6b19c; }
.check-steps li[aria-current="step"] { color: #263b16; font-weight: 700; }
.check-steps li[aria-current="step"] > span { background: var(--green); border-color: var(--green); }
.check-steps .done > span { background: #476321; border-color: #476321; color: white; }
.check-progress-label { padding-top: 18px; border-top: 1px solid var(--line); }
.check-card h2 { margin-top: 22px; }
.check-kinds { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.check-kinds legend { grid-column: 1 / -1; }
.check-choice { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 12px; font-size: .9375rem; line-height: 1.4; }
.check-choice:has(input:checked) { border-width: 2px; padding: 15px 11px; }
.check-card select { font-size: 1rem; }
.check-card .check-actions > .button-primary { min-width: 175px; }
.check-result h2 { margin-top: 8px; }
@media (max-width: 1300px) { .check-layout { grid-template-columns: minmax(0,850px); } .check-advisor { display: none; } }
@media (max-width: 700px) {
  .check-page { padding-top: 24px; }
  .check-card { padding: 20px 16px; }
  .check-intro .section-kicker { margin-bottom: 8px; }
  .check-steps { gap: 6px; }
  .check-steps li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .check-kinds { grid-template-columns: 1fr; }
  .check-choice { flex-direction: row; align-items: center; min-height: 52px; }
}

/* Persönlicher Ergebnisbericht */
.check-layout:has(.report-profile) { grid-template-columns: minmax(0,1040px); }
.check-layout:has(.report-profile) .check-advisor { display: none; }
.report-profile { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .875rem; padding-bottom: 20px; }
.check-result .report-explanation { font-size: 1rem; line-height: 1.65; margin-top: 16px; }
.report-counts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 22px 0 10px; }
.report-counts > div { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 6px; border: 1px solid var(--line); border-top: 3px solid #91a080; border-radius: 4px; padding: 14px; }
.report-counts .report-count-poor { border-top-color: #a65821; }
.report-counts .report-count-partial { border-top-color: #9b761b; }
.report-counts .report-count-good { border-top-color: #476321; }
.report-counts .report-count-unknown { border-top-color: #73796f; }
.report-counts dt { font-size: .875rem; line-height: 1.4; }
.report-counts dd { margin: 0; font: 700 2rem/1 var(--heading); }
.report-data-note { font-size: .875rem; color: var(--muted); }
.report-first { background: #eaf2dc; border: 1px solid #c2d3a5; border-radius: 5px; padding: 24px; margin-top: 24px; }
.report-first .check-kicker { margin: 0 0 10px; }
.report-first > p { margin: 12px 0 0; }
.report-first .text-link { margin-top: 8px; }
.report-section { padding-top: 34px; margin-top: 34px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.report-section-heading { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.report-section-heading > span { font-size: .875rem; color: var(--green-dark); border: 1px solid var(--line); padding: 5px 9px; border-radius: 3px; }
.report-section-heading p { margin: 6px 0 0; color: var(--muted); font-size: .9375rem; }
.report-parts-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.report-part { min-width: 0; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.report-part-heading { padding: 20px 20px 16px; background: #f5f7f1; border-bottom: 1px solid var(--line); }
.report-part-heading h4 { font-size: 1.0625rem; margin-bottom: 10px; }
.report-badge { display: inline-flex; padding: 3px 8px; font-size: .875rem; border-radius: 3px; background: #e7e9e3; color: #46503f; }
.report-badge-poor { background: #ffe8d8; color: #823f10; }
.report-badge-partial { background: #fff0c7; color: #745408; }
.report-badge-good { background: #e3efcf; color: #345113; }
.report-part dl { margin: 0; padding: 18px 20px 20px; }
.report-part dl > div + div { margin-top: 18px; }
.report-part dt { font-size: .875rem; font-weight: 700; color: var(--muted); margin-bottom: 5px; }
.report-part dd { margin: 0; font-size: 1rem; }
.report-part-action { border-top: 1px solid var(--line); padding-top: 16px; }
.report-part-action dt { color: var(--green-dark); }
.report-heating > p:first-child { margin-top: 0; }
.report-task { border-left: 3px solid var(--green-dark); padding: 14px 18px; background: #f2f5ec; margin-top: 20px; }
.report-task p { margin: 8px 0 0; }
.report-certificate-value { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.report-certificate-value > strong { font: 700 2rem/1.3 var(--heading); }
.report-certificate-value small { font: 400 .9375rem/1.5 "Segoe UI", Arial, sans-serif; }
.report-certificate-value > span { font-size: 1rem; background: var(--soft); padding: 9px 16px; border-radius: 4px; }
.report-certificate-value b { font-size: 1.5rem; margin-left: 6px; }
.report-certificate .check-scale > span { background: white; color: var(--ink); border-top: 7px solid var(--grade-color); }
.report-zero-note { padding: 14px 18px; background: #fff0e6; border-left: 3px solid #a65821; }
.report-missing { border: 1px dashed #a6b19c; border-radius: 4px; padding: 18px 22px; background: #f8f9f5; }
.report-missing p { margin: 8px 0; }
.report-connections { display: grid; gap: 18px; margin-top: 20px; }
.report-connections article { padding-left: 20px; border-left: 3px solid #a6b19c; }
.report-connections p { margin: 8px 0 0; }
.report-preparation { padding: 24px; background: #f2f5ec; border-radius: 5px; margin-top: 34px; }
.report-preparation ul { padding-left: 22px; margin-bottom: 0; }
.report-preparation li + li { margin-top: 12px; }
.report-method { margin-top: 28px; }
.report-method li { padding-block: 5px; }
@media (max-width: 1000px) { .report-section { scroll-margin-top: calc(var(--mobile-header-height) + 20px); } }
@media (max-width: 700px) {
  .report-counts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .report-parts-grid { grid-template-columns: 1fr; }
  .report-first, .report-preparation { padding: 20px 18px; }
  .report-section { margin-top: 26px; padding-top: 26px; }
}
