/* Website-Check: Startseiten-Einstieg und Seite /check. Nutzt nur die Variablen aus style.css (hell und dunkel). */

.check-teaser { background: var(--surface); border-block: 1px solid var(--line); }
.check-teaser-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.check-teaser h2 { font-size: clamp(34px, 3.8vw, 52px); }
.check-teaser p { color: var(--muted); font-size: 19px; margin-top: 18px; }

.check-form { display: grid; gap: 14px; }
.check-form label { font-size: 16px; font-weight: 600; }
.check-input-row { display: flex; gap: 12px; }
.check-input-row input { flex: 1; min-width: 0; min-height: 56px; padding: 13px 16px; background: var(--elevated); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font-size: 18px; caret-color: var(--gold); }
.check-input-row input::placeholder { color: var(--muted); opacity: 1; }
.check-input-row input[aria-invalid="true"] { border-color: var(--error); }
.check-input-row .button { flex: none; }
.check-note { font-size: 15px; color: var(--muted); max-width: 60ch; }
.check-error { color: var(--error); font-size: 16px; line-height: 1.4; }
.check-error:empty { display: none; }

/* Seite /check */
.check-main { padding-block: 72px 120px; }
.check-intro { max-width: 820px; display: grid; gap: 22px; margin-bottom: 44px; }
.check-intro h1 { font-size: clamp(42px, 5vw, 68px); }
.check-intro p { color: var(--muted); font-size: 20px; }
.check-status { min-height: 1.7em; margin-top: 18px; color: var(--muted); font-size: 17px; }
.check-looks { margin-top: 56px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; max-width: 920px; border-top: 1px solid var(--line); }
.check-looks li { padding-block: 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 18px; }
.check-looks strong { color: var(--ink); display: block; }

/* Ergebnis */
.check-result { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.check-result-title { font-size: clamp(34px, 4vw, 52px); outline: none; }
.check-top { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: end; margin-block: 32px 40px; }
.check-score { display: flex; align-items: baseline; gap: 14px; }
.check-score-number { font-family: var(--serif); font-size: clamp(96px, 12vw, 168px); line-height: .86; color: var(--gold); letter-spacing: -.04em; }
.check-score-of { font-size: 24px; color: var(--muted); }
.check-result-title + .check-lead { margin-top: 20px; }
.check-lead { font-size: 24px; line-height: 1.4; color: var(--ink); max-width: 36ch; }
.check-small { font-size: 15px; color: var(--muted); margin-top: 10px; max-width: 62ch; }
.check-mock { color: var(--error); }

.check-cats { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 1px solid var(--line); }
.check-cat { padding-block: 16px; border-bottom: 1px solid var(--line); }
.check-cat-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.check-cat-label { font-weight: 600; font-size: 19px; }
.check-cat-value { color: var(--muted); font-size: 16px; margin-right: auto; }
.check-light { font-size: 14px; font-weight: 600; padding: 3px 10px; border-radius: 99px; border: 1px solid currentColor; }
.check-light--green { color: var(--success); }
.check-light--yellow { color: var(--gold); }
.check-light--red { color: var(--error); }
.check-bar { height: 6px; margin-top: 10px; background: var(--line); border-radius: 99px; overflow: hidden; }
.check-bar-fill { display: block; height: 100%; border-radius: 99px; }
.check-bar-fill--green { background: var(--success); }
.check-bar-fill--yellow { background: var(--gold); }
.check-bar-fill--red { background: var(--error); }

.check-levers h3 { font-size: 30px; margin-bottom: 8px; }
.check-lever-list { list-style: none; margin: 0 0 56px; padding: 0; max-width: 820px; counter-reset: hebel; border-top: 1px solid var(--line); }
.check-lever { counter-increment: hebel; padding: 22px 0 22px 56px; border-bottom: 1px solid var(--line); position: relative; }
.check-lever::before { content: counter(hebel); position: absolute; left: 0; top: 18px; width: 38px; height: 38px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: var(--gold); }
.check-lever strong { font-size: 21px; display: block; }
.check-lever p { color: var(--muted); margin-top: 4px; }

.check-shot { margin: 0 0 56px; display: grid; gap: 12px; justify-items: start; }
.check-shot img { width: min(390px, 100%); height: auto; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.check-shot figcaption { font-size: 15px; color: var(--muted); }

.check-cta { padding: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; max-width: 820px; display: grid; gap: 18px; justify-items: start; }
.check-cta p:first-child { font-size: 22px; line-height: 1.45; max-width: 44ch; }

@media (max-width: 899px) {
  .check-teaser-inner { grid-template-columns: 1fr; gap: 36px; }
  .check-top { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .check-cats, .check-looks { grid-template-columns: 1fr; }
  .check-main { padding-block: 48px 96px; }
}
@media (max-width: 599px) {
  .check-input-row { flex-direction: column; }
  .check-input-row .button { width: 100%; }
  .check-cta { padding: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  .check-bar-fill { animation: check-fill .9s var(--ease) both; }
  @keyframes check-fill { from { width: 0 !important; } }
}
