body.website-tester-page {
  --wt-bg: #f8f7f3;
  --wt-surface: #ffffff;
  --wt-surface-soft: #f3f1ea;
  --wt-text: #1f2728;
  --wt-muted: #596568;
  --wt-accent: #c44e2f;
  --wt-accent-strong: #9b361d;
  --wt-border: rgba(24, 37, 40, 0.12);
  --wt-shadow: 0 14px 34px rgba(36, 29, 25, 0.08);

  background:
    radial-gradient(circle at 8% -2%, rgba(196, 78, 47, 0.18), transparent 35%),
    radial-gradient(circle at 90% 4%, rgba(243, 201, 176, 0.3), transparent 32%),
    var(--wt-bg);
  color: var(--wt-text);
}

.website-tester-page main,
.website-tester-page main * {
  box-sizing: border-box;
}

.wt-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.2rem 3.5rem;
}

.wt-hero {
  padding: clamp(2rem, 5vw, 3.6rem) 0 1.2rem;
}

.wt-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.wt-hero-copy,
.wt-form-card,
.wt-panel,
.wt-check-card,
.wt-category-card,
.wt-priorities,
.wt-sitefacts,
.wt-cta-card,
.wt-result-header {
  background: var(--wt-surface);
  border: 1px solid var(--wt-border);
  border-radius: 24px;
  box-shadow: var(--wt-shadow);
}

.wt-hero-copy {
  padding: clamp(1.2rem, 3vw, 2.2rem);
}

.wt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 78, 47, 0.25);
  background: rgba(196, 78, 47, 0.11);
  color: var(--wt-accent-strong);
  font-weight: 600;
  padding: 0.44rem 0.8rem;
}

.wt-hero-copy h1 {
  margin: 0.9rem 0 0;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.wt-lead {
  margin-top: 0.9rem;
  color: var(--wt-muted);
  line-height: 1.65;
  max-width: 66ch;
}

.wt-pill-list {
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.wt-pill-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  padding: 0.56rem 0.72rem;
  border: 1px solid var(--wt-border);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  background: var(--wt-surface-soft);
}

.wt-pill-list i,
.wt-check-card i {
  color: var(--wt-accent-strong);
}

.wt-form-card {
  padding: clamp(1rem, 2vw, 1.4rem);
}

.wt-form-card h2 {
  margin: 0;
  line-height: 1.15;
  font-size: clamp(1.24rem, 2.6vw, 1.7rem);
}

.wt-form-card p {
  margin: 0.65rem 0 0;
  color: var(--wt-muted);
}

.wt-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  margin-top: 1rem;
}

.wt-context-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-top: 1rem;
}

.wt-form-row input {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--wt-border);
  border-radius: 14px;
  padding: 0 0.86rem;
  font-size: 1rem;
  color: var(--wt-text);
}

.wt-context-grid input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--wt-border);
  border-radius: 12px;
  padding: 0 0.82rem;
  font-size: 0.96rem;
  color: var(--wt-text);
}

.wt-form-row input:focus {
  outline: 3px solid rgba(196, 78, 47, 0.18);
  border-color: rgba(196, 78, 47, 0.6);
}

.wt-context-grid input:focus {
  outline: 3px solid rgba(196, 78, 47, 0.18);
  border-color: rgba(196, 78, 47, 0.6);
}

.wt-button,
.wt-button-secondary,
.wt-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  max-width: 100%;
}

.wt-button {
  min-height: 56px;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--wt-accent), var(--wt-accent-strong));
  padding: 0 1.2rem;
}

.wt-button-secondary {
  min-height: 46px;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(196, 78, 47, 0.35);
  background: rgba(196, 78, 47, 0.11);
  color: var(--wt-accent-strong);
}

.wt-form-note {
  font-size: 0.93rem;
}

.wt-section {
  padding-top: 1.2rem;
}

.wt-panel {
  padding: 1rem;
}

.wt-panel h3 {
  margin: 0;
}

.wt-progress {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.46rem;
}

.wt-progress li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.52rem 0.7rem;
  border-radius: 12px;
  border: 1px solid var(--wt-border);
  background: var(--wt-surface-soft);
}

.wt-progress li i {
  color: var(--wt-muted);
}

.wt-progress li.is-active i {
  color: var(--wt-accent-strong);
}

.wt-progress li.is-done {
  border-color: rgba(45, 132, 79, 0.35);
}

.wt-progress li.is-done i {
  color: #2d844f;
}

.wt-error {
  margin-top: 1rem;
  border: 1px solid rgba(176, 36, 36, 0.25);
  background: rgba(176, 36, 36, 0.09);
  color: #7b1f1f;
  border-radius: 14px;
  padding: 0.8rem;
}

.wt-results {
  margin-top: 1rem;
}

.wt-result-header {
  padding: 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
}

.wt-score-ring {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  padding: 8px;
  background:
    conic-gradient(var(--wt-accent) calc(var(--score, 0) * 1%), rgba(196, 78, 47, 0.15) 0);
}

.wt-score-content {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--wt-surface);
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid var(--wt-border);
}

.wt-score-content strong {
  font-size: 2rem;
  line-height: 1;
}

.wt-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.wt-tag {
  min-height: 34px;
  padding: 0.25rem 0.72rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
}

.wt-tag[data-tone="gut"] {
  background: rgba(45, 132, 79, 0.12);
  border-color: rgba(45, 132, 79, 0.28);
  color: #1f6a3f;
}

.wt-tag[data-tone="mittel"] {
  background: rgba(206, 120, 33, 0.12);
  border-color: rgba(206, 120, 33, 0.28);
  color: #925112;
}

.wt-tag[data-tone="kritisch"] {
  background: rgba(176, 36, 36, 0.12);
  border-color: rgba(176, 36, 36, 0.25);
  color: #902020;
}

.wt-result-list,
.wt-priority-list,
.wt-category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wt-result-list {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.42rem;
}

.wt-results-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 0.9rem;
}

.wt-result-section h3 {
  margin: 0 0 0.65rem;
}

.wt-category-list {
  display: grid;
  gap: 0.75rem;
}

.wt-category-card {
  padding: 0.86rem;
}

.wt-category-card > header {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
}

.wt-category-score {
  text-align: right;
  font-weight: 700;
  font-size: 1.02rem;
}

.wt-details {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.58rem;
}

.wt-detail {
  border: 1px solid var(--wt-border);
  border-radius: 12px;
  background: var(--wt-surface-soft);
  padding: 0.62rem;
}

.wt-detail p {
  margin: 0.35rem 0 0;
}

.wt-detail small {
  display: block;
  margin-top: 0.35rem;
  color: var(--wt-muted);
}

.wt-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.wt-badge-ok,
.wt-badge-warn {
  font-size: 0.8rem;
  border-radius: 999px;
  padding: 0.1rem 0.58rem;
}

.wt-badge-ok {
  background: rgba(45, 132, 79, 0.13);
  color: #1f6a3f;
}

.wt-badge-warn {
  background: rgba(206, 120, 33, 0.15);
  color: #925112;
}

.wt-priorities,
.wt-sitefacts {
  padding: 0.9rem;
}

.wt-priority-list {
  display: grid;
  gap: 0.52rem;
}

.wt-scanned-pages li {
  border: 1px solid var(--wt-border);
  border-radius: 10px;
  padding: 0.5rem;
  background: var(--wt-surface-soft);
}

.wt-scanned-pages a {
  font-weight: 600;
  word-break: break-all;
}

.wt-scanned-pages small {
  display: block;
  margin-top: 0.28rem;
  color: var(--wt-muted);
}

.wt-scan-failures {
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--wt-border);
}

.wt-scan-failures h4 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
}

.wt-sitefacts dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.58rem;
}

.wt-sitefacts dt {
  color: var(--wt-muted);
}

.wt-sitefacts dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
}

.wt-cta-card {
  margin-top: 1rem;
  padding: 1rem;
}

.wt-cta-card h2 {
  margin: 0;
  line-height: 1.2;
}

.wt-cta-card p {
  margin-top: 0.58rem;
  color: var(--wt-muted);
}

.wt-cta-actions {
  margin-top: 0.72rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.wt-next-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.wt-next-card {
  border: 1px solid var(--wt-border);
  border-radius: 16px;
  background: var(--wt-surface-soft);
  padding: 0.9rem;
}

.wt-next-card h3 {
  margin: 0;
  font-size: 1.06rem;
}

.wt-next-card p {
  margin: 0.58rem 0 0;
}

.wt-lead-form {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.55rem;
}

.wt-lead-form input[type="text"],
.wt-lead-form input[type="email"] {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--wt-border);
  border-radius: 12px;
  padding: 0 0.72rem;
  background: var(--wt-surface);
  color: var(--wt-text);
}

.wt-lead-form input[type="text"]:focus,
.wt-lead-form input[type="email"]:focus {
  outline: 3px solid rgba(196, 78, 47, 0.18);
  border-color: rgba(196, 78, 47, 0.6);
}

.wt-lead-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.48rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--wt-muted);
}

.wt-lead-consent input {
  margin-top: 0.16rem;
}

.wt-lead-state {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  border-radius: 10px;
  padding: 0.48rem 0.6rem;
}

.wt-lead-state.is-success {
  background: rgba(45, 132, 79, 0.12);
  color: #1f6a3f;
  border: 1px solid rgba(45, 132, 79, 0.28);
}

.wt-lead-state.is-error {
  background: rgba(176, 36, 36, 0.12);
  color: #8f2020;
  border: 1px solid rgba(176, 36, 36, 0.24);
}

.wt-check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.wt-check-card {
  padding: 0.85rem;
}

.wt-check-card h3 {
  margin: 0.54rem 0 0;
  font-size: 1.02rem;
}

.wt-check-card p {
  margin: 0.4rem 0 0;
  color: var(--wt-muted);
}

@media (max-width: 1080px) {
  .wt-hero-grid,
  .wt-results-grid,
  .wt-next-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .wt-check-grid {
    grid-template-columns: 1fr 1fr;
  }

  .wt-result-header {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .wt-form-row {
    grid-template-columns: 1fr;
  }

  .wt-check-grid {
    grid-template-columns: 1fr;
  }

  .wt-sitefacts dl {
    grid-template-columns: 1fr;
  }

  .wt-sitefacts dd {
    text-align: left;
  }
}
