/* ============================================================
   CHECKJEAUTO.NL — Startpagina Stijlen
   Spense-stijl: schoon wit, grote typografie, grijze kaarten
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 96px 0 80px;
}

.hero-badge { display: none; }

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-text);
  line-height: 1.1;
  margin: 0 auto 20px;
  max-width: 680px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.65;
  font-weight: 400;
}

/* ---------- Hero Search ---------- */
.hero-search {
  display: flex;
  gap: 10px;
  align-items: stretch;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto;
}

.hero-kenteken-plate {
  display: flex;
  align-items: stretch;
  background: #f7c948;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid #d4a800;
  flex: 1;
  box-shadow: 0 2px 12px rgba(212, 168, 0, 0.18);
  transition: box-shadow 0.2s ease;
}

.hero-kenteken-plate:focus-within {
  box-shadow: 0 4px 24px rgba(212, 168, 0, 0.40);
}

.plate-nl-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #003da5;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0 13px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.hero-kenteken-input {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 16px;
  width: 100%;
  outline: none;
  font-family: var(--font-sans);
  color: var(--color-text);
  text-align: center;
  min-width: 0;
}

.hero-kenteken-input::placeholder {
  color: #c0960a;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.btn-hero {
  padding: 14px 24px;
  font-size: 1rem;
  border-radius: 12px;
  gap: 6px;
  flex-shrink: 0;
}

.btn-hero-arrow {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}
.btn-hero:hover .btn-hero-arrow { transform: translateX(3px); }

.hero-error {
  color: var(--color-error);
  font-size: 0.85rem;
  margin-top: 12px;
  font-weight: 500;
}

/* ---------- Trust Signals ---------- */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.trust-item {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.trust-dot {
  color: var(--color-border);
  font-size: 1.1rem;
  line-height: 1;
}

/* ---------- Tools Sectie ---------- */
.tools-section { padding: 24px 0 96px; }
.tools-intro { display: none; }

/* ---------- Tool Cards Grid ---------- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  padding: 28px;
  border-radius: 20px;
  background: var(--color-muted);
  border: none;
  box-shadow: none;
  transition: transform 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.tool-card:hover {
  transform: translateY(-3px);
  background: #e4e8ed;
}

html.dark .tool-card { background: var(--color-muted); }
html.dark .tool-card:hover { background: #162032; }

/* ---------- Cirkeliconen ---------- */
.tool-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(1, 104, 231, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.tool-icon-wrap-lg {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tool-icon { font-size: 1.5rem; line-height: 1; }

.tool-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--color-text);
  line-height: 1.3;
}

.tool-description {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  flex: 1;
}

.tool-cta {
  margin-top: 20px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.tool-card:hover .tool-cta { gap: 8px; }

/* ---------- Featured Card (Auto Check — donker navy) ---------- */
.tool-card-featured {
  grid-column: 1 / -1;
  padding: 36px 40px;
  background: var(--color-text);
  color: #fff;
}

.tool-card-featured:hover {
  background: #1a2537;
  transform: translateY(-2px);
}

html.dark .tool-card-featured { background: #1a2537; }
html.dark .tool-card-featured:hover { background: #213048; }

.tool-featured-inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.tool-card-featured .tool-icon-wrap,
.tool-card-featured .tool-icon-wrap-lg {
  background: rgba(255, 255, 255, 0.12);
}

.tool-featured-content { flex: 1; min-width: 0; }

.tool-featured-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.tool-featured-top .tool-title {
  font-size: 1.3rem;
  margin-bottom: 0;
  flex: 1;
  color: #fff;
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 3px;
}

.tool-card-featured .tool-description {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.tool-card-featured .tool-cta {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin-top: 16px;
}

.tool-card-featured:hover .tool-cta { color: #fff; }

/* ---------- Waarom-sectie (Spense Problems-stijl) ---------- */
.waarom-section { padding: 80px 0 96px; }

.waarom-heading {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.15;
}

.waarom-sub {
  text-align: center;
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 56px;
  line-height: 1.6;
}

.waarom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.waarom-item { text-align: center; }

/* Cirkelicoon voor waarom (Spense Problems-stijl) */
.waarom-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(1, 104, 231, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  line-height: 1;
}

.waarom-titel {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.waarom-tekst {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ---------- Responsive (Tablet) ---------- */
@media (max-width: 768px) {
  .hero { padding: 64px 0 56px; }
  .hero-title { font-size: 2.8rem; }
  .hero-subtitle { font-size: 1rem; }
  .tool-card-featured { padding: 28px 28px; }
  .waarom-heading { font-size: 1.9rem; }

  /* Waarom grid: 1 kolom, icon links + tekst rechts */
  .waarom-grid { grid-template-columns: 1fr; gap: 28px; }
  .waarom-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
    column-gap: 20px;
    row-gap: 4px;
    text-align: left;
  }
  .waarom-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    margin: 0;
  }
  .waarom-titel {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
  }
  .waarom-tekst {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (max-width: 640px) {
  .hero-search { flex-direction: column; }
  .btn-hero { width: 100%; justify-content: center; }
}

/* ---------- Responsive (Mobiel) ---------- */
@media (max-width: 480px) {
  .hero { padding: 48px 0 40px; }
  .hero-title { font-size: 2.2rem; letter-spacing: -0.03em; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 28px; }
  .hero-kenteken-input { font-size: 1.2rem; padding: 12px; }
  .plate-nl-hero { padding: 0 10px; font-size: 0.65rem; }

  .tools-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tools-section { padding: 16px 0 64px; }

  .tool-card-featured { grid-column: 1 / -1; padding: 22px 20px; }
  .tool-featured-inner { flex-direction: column; gap: 12px; }
  .tool-icon-wrap-lg { width: 48px; height: 48px; }

  .tool-card { padding: 18px 16px; }
  .tool-icon-wrap { width: 44px; height: 44px; margin-bottom: 14px; }
  .tool-icon { font-size: 1.3rem; }
  .tool-description { display: none; }
  .tool-cta { margin-top: 10px; font-size: 0.82rem; }

  .waarom-section { padding: 48px 0 64px; }
  .waarom-heading { font-size: 1.6rem; }
  .waarom-sub { margin-bottom: 36px; font-size: 0.95rem; }
}
