/* =============================================================================
   WerkendWeb — Gratis website check
   Bouwt verder op /styles.css — hergebruikt .contact-form, .form-group,
   .form-consent en de .oo-hero-achtige donkere introsectie. Enkel de
   formulierstatus-classes (honeypot/foutmelding/statusmelding) staan hier
   opnieuw, omdat die normaal in app.css (homepage-only) staan.
   ============================================================================= */

.nav-link--active {
  color: var(--ink) !important;
  font-weight: 500;
}

/* ── Formulierstatus (zie app.css voor het origineel op de homepage) ────────── */
.honeypot-wrapper { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-error { margin: 6px 0 0; font-size: 0.8rem; line-height: 1.5; color: #b02a1a; }
.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] { border-color: #b02a1a; }
.form-status { margin: 12px 0 0; padding: 11px 14px; border-radius: var(--radius, 6px); font-size: 0.85rem; line-height: 1.55; }
.form-status--info { background: rgba(15,15,14,0.04); border: 1px solid rgba(15,15,14,0.12); color: #52514e; }
.form-status--error { background: #fdf3f1; border: 1px solid rgba(176,42,26,0.28); color: #b02a1a; }
.form-status--success { background: var(--accent-light, #dcf0e9); border: 1px solid rgba(47,174,134,0.35); color: var(--accent-text, #1b7f5e); }

/* =============================================================================
   1. HERO + FORMULIER
   ============================================================================= */
.wc-hero {
  background: var(--ink);
  padding: 120px 6vw 80px;
  position: relative;
  overflow: hidden;
}
.wc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(47,174,134,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(47,174,134,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.wc-hero__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.wc-hero__label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.wc-hero__title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--paper);
  margin-bottom: 20px;
}
.wc-hero__title em { font-style: italic; color: var(--accent); }
.wc-hero__sub {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: rgba(247,244,239,0.65);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 28px;
}
.wc-hero__list { display: flex; flex-direction: column; gap: 14px; }
.wc-hero__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(247,244,239,0.78);
  font-size: 0.92rem;
  line-height: 1.5;
}
.wc-hero__list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 7px;
}
.wc-form-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 18px 50px rgba(15,15,14,0.18);
}

/* =============================================================================
   2. RESULTAAT
   ============================================================================= */
.wc-result {
  padding: 80px 6vw;
  /* var(--muted) (#7a7670) op var(--paper) haalt ~4.1:1 — net onder de AA-eis
     van 4.5:1 voor kleine tekst (score-labels, tips). Zelfde scoped override
     als .contact-section elders in styles.css. */
  --muted: #5f5b55;
}
.wc-result__inner { max-width: 900px; margin: 0 auto; }
.wc-result__url {
  font-size: 0.85rem;
  color: var(--muted);
  word-break: break-all;
  margin-bottom: 8px;
}
.wc-result__title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.wc-scores {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.wc-score {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 12px;
  text-align: center;
}
.wc-score--overall { background: var(--ink); border-color: var(--ink); }
.wc-score--overall .wc-score__label { color: rgba(247,244,239,0.55); }
.wc-score__value {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}
.wc-score--overall .wc-score__value { color: var(--paper); }
.wc-score__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
/* Kleur is nooit het enige signaal: het cijfer en label staan er altijd bij. */
.wc-score--good .wc-score__value  { color: var(--accent-dark); }
.wc-score--ok   .wc-score__value  { color: #b8860b; }
.wc-score--bad  .wc-score__value  { color: #b02a1a; }

.wc-tips {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 30px;
  margin-bottom: 36px;
}
.wc-tips h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.wc-tips ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.wc-tips li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.92rem; line-height: 1.55; color: var(--muted);
}
.wc-tips li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 8px;
}

.wc-cta {
  background: var(--accent);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.wc-cta p {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 700;
  color: var(--on-accent);
  max-width: 480px;
}
.wc-cta .btn-primary { background: var(--ink); color: var(--paper); flex-shrink: 0; white-space: nowrap; }
.wc-cta .btn-primary:hover { background: #2c2c2a; color: var(--paper); }

.wc-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  font-size: 0.9rem;
  color: var(--muted);
}
.wc-spinner {
  width: 18px; height: 18px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: wc-spin 0.8s linear infinite;
  flex-shrink: 0;
}
@keyframes wc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .wc-spinner { animation: none; }
}

/* ── Tablet ────────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .wc-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .wc-scores { grid-template-columns: repeat(3, 1fr); }
}

/* ── Mobiel ────────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .wc-hero { padding: 104px 5vw 56px; }
  .wc-form-card { padding: 26px 22px; }
  .wc-result { padding: 56px 5vw; }
  .wc-scores { grid-template-columns: repeat(2, 1fr); }
  .wc-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .wc-cta .btn-primary { justify-content: center; }
}
