/* =============================================
   Kattenbakplaza.nl — Gedeelde stijlen
   ============================================= */

/* Reset & base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --kleur-wit:        #ffffff;
  --kleur-tekst:      #1f2937;
  --kleur-subtekst:   #6b7280;
  --kleur-accent:     #1d7a8a;
  --kleur-accent-dk:  #155f6e;
  --kleur-cta:        #e55a3c;
  --kleur-cta-dk:     #c94a30;
  --kleur-bg-licht:   #f8fafc;
  --kleur-border:     #e2e8f0;
  --max-breedte:      1100px;
  --radius:           10px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--kleur-tekst);
  background: var(--kleur-wit);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--kleur-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =============================================
   Container
   ============================================= */
.container {
  max-width: var(--max-breedte);
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   Header & navigatie
   ============================================= */
.site-header {
  background: var(--kleur-wit);
  border-bottom: 1px solid var(--kleur-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 96px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 32px;
  list-style: none;
}

.site-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--kleur-tekst);
  text-decoration: none;
  transition: color 0.15s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--kleur-accent);
}

/* =============================================
   Page hero (niet homepage)
   ============================================= */
.page-hero {
  background: var(--kleur-bg-licht);
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--kleur-border);
}

.page-hero h1 {
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.0625rem;
  color: var(--kleur-subtekst);
  max-width: 600px;
}

/* =============================================
   Secties
   ============================================= */
.sectie {
  padding: 64px 0;
}

.sectie--bg {
  background: var(--kleur-bg-licht);
}

.sectie h2 {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 700;
  margin-bottom: 24px;
}

.sectie h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.sectie p + p {
  margin-top: 12px;
}

/* =============================================
   Kaartenraster
   ============================================= */
.kaarten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.kaart {
  background: var(--kleur-wit);
  border: 1px solid var(--kleur-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.kaart:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}

/* Afbeelding placeholder met 4:3 verhouding */
.kaart__afbeelding {
  aspect-ratio: 4 / 3;
  background: var(--kleur-bg-licht);
  overflow: hidden;
}

.kaart__afbeelding img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kaart__afbeelding--placeholder {
  background: var(--kleur-bg-licht);
  border-bottom: 1px solid var(--kleur-border);
}

.kaart__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.kaart__meta {
  font-size: 0.8125rem;
  color: var(--kleur-subtekst);
  margin-bottom: 8px;
}

.kaart__titel {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--kleur-tekst);
}

.kaart__excerpt {
  font-size: 0.9rem;
  color: var(--kleur-subtekst);
  flex: 1;
  margin-bottom: 16px;
}

.kaart__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--kleur-accent);
  text-decoration: none;
}

.kaart__link:hover {
  text-decoration: underline;
}

/* Sterrenrating */
.rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.rating__sterren {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 1px;
}

.rating__cijfer {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--kleur-tekst);
}

/* =============================================
   Knoppen
   ============================================= */
.knop {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  cursor: pointer;
}

.knop--cta {
  background: var(--kleur-cta);
  color: var(--kleur-wit);
}

.knop--cta:hover {
  background: var(--kleur-cta-dk);
  text-decoration: none;
  transform: translateY(-1px);
}

.knop--accent {
  background: var(--kleur-accent);
  color: var(--kleur-wit);
}

.knop--accent:hover {
  background: var(--kleur-accent-dk);
  text-decoration: none;
}

.knop--outline {
  border: 2px solid var(--kleur-accent);
  color: var(--kleur-accent);
  background: transparent;
}

.knop--outline:hover {
  background: var(--kleur-accent);
  color: var(--kleur-wit);
  text-decoration: none;
}

/* =============================================
   Koopgids-specifiek: types sectie
   ============================================= */
.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.type-kaart {
  background: var(--kleur-wit);
  border: 1px solid var(--kleur-border);
  border-radius: var(--radius);
  padding: 24px;
}

.type-kaart h3 {
  margin-bottom: 8px;
}

.type-kaart p {
  font-size: 0.9rem;
  color: var(--kleur-subtekst);
}

/* Checklist stijl */
.checklist {
  list-style: none;
  margin-top: 12px;
}

.checklist li {
  padding: 8px 0;
  border-bottom: 1px solid var(--kleur-border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li::before {
  content: "✓";
  color: var(--kleur-accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* Aanbeveling blok */
.aanbeveling {
  background: var(--kleur-bg-licht);
  border-left: 4px solid var(--kleur-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.aanbeveling__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--kleur-accent);
  margin-bottom: 6px;
}

.aanbeveling__naam {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.aanbeveling__desc {
  font-size: 0.9rem;
  color: var(--kleur-subtekst);
  margin-bottom: 16px;
}

/* Twee-koloms layout voor koopgids secties */
.twee-kolommen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 640px) {
  .twee-kolommen {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   Blogartikel inhoud
   ============================================= */

/* Artikel hero-afbeelding */
.artikel-img {
  width: 100%;
  max-width: 680px;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0 auto 40px;
  display: block;
}

/* Leeskolom: smal en gecentreerd */
.artikel-inhoud {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 0 80px;
  font-size: 1.0625rem;
  line-height: 1.78;
}

.artikel-datum {
  font-size: 0.875rem;
  color: var(--kleur-subtekst);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--kleur-border);
}

.artikel-inhoud h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 52px 0 16px;
  color: var(--kleur-tekst);
  line-height: 1.3;
}

.artikel-inhoud h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 36px 0 12px;
  color: var(--kleur-tekst);
}

.artikel-inhoud p {
  margin-bottom: 20px;
  color: var(--kleur-tekst);
}

.artikel-inhoud ul,
.artikel-inhoud ol {
  padding-left: 28px;
  margin-bottom: 20px;
}

.artikel-inhoud li {
  margin-bottom: 10px;
  line-height: 1.72;
}

.artikel-inhoud a {
  font-weight: 500;
}

/* Openingsparagraaf iets groter voor leescomfort */
.artikel-inhoud > p:first-of-type {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--kleur-tekst);
}

.artikel-tip {
  background: var(--kleur-bg-licht);
  border-left: 4px solid var(--kleur-accent);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 36px 0;
  font-size: 1rem;
  line-height: 1.72;
}

.artikel-tip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--kleur-accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Gerelateerde artikelen */
.artikel-nav {
  border-top: 2px solid var(--kleur-bg-licht);
  padding-top: 36px;
  margin-top: 64px;
}

.artikel-nav h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--kleur-subtekst);
  margin-bottom: 16px;
}

.artikel-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--kleur-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.artikel-nav li {
  border-bottom: 1px solid var(--kleur-border);
}

.artikel-nav li:last-child {
  border-bottom: none;
}

.artikel-nav a {
  display: block;
  padding: 14px 18px;
  font-size: 0.9375rem;
  color: var(--kleur-tekst);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}

.artikel-nav a:hover {
  background: var(--kleur-bg-licht);
  color: var(--kleur-accent);
  text-decoration: none;
}

/* =============================================
   Blog categorie-navigatie
   ============================================= */
.cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.cat-nav__item {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--kleur-border);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--kleur-tekst);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.cat-nav__item:hover {
  background: var(--kleur-accent);
  border-color: var(--kleur-accent);
  color: #fff;
  text-decoration: none;
}

/* Blog categorie sectie */
.blog-categorie {
  padding: 48px 0 32px;
  border-top: 1px solid var(--kleur-border);
}

.blog-categorie:first-child {
  border-top: none;
  padding-top: 0;
}

.blog-categorie h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--kleur-tekst);
}

/* Compact article cards (no image) */
.kaart--tekst {
  border-radius: var(--radius);
}

.kaart--tekst .kaart__body {
  padding: 20px;
}

/* =============================================
   CTA-blok
   ============================================= */
.cta-blok {
  background: var(--kleur-accent);
  color: var(--kleur-wit);
  padding: 64px 0;
  text-align: center;
}

.cta-blok h2 {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-blok p {
  opacity: 0.85;
  margin-bottom: 28px;
  font-size: 1.0625rem;
}

/* =============================================
   Footer
   ============================================= */
.site-footer {
  background: var(--kleur-tekst);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
  font-size: 0.875rem;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-nav {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-nav a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-nav a:hover {
  color: #fff;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 768px) {
  .site-nav {
    gap: 20px;
  }

  .sectie {
    padding: 48px 0;
  }

  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 500px) {
  .site-header .container {
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    gap: 16px;
  }
}

/* =============================================
   Review kaarten (reviews/index.html)
   ============================================= */
.review-kaart {
  background: var(--kleur-wit);
  border: 1px solid var(--kleur-border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 32px;
  scroll-margin-top: 80px;
}

.review-kaart__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.review-kaart__naam {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--kleur-tekst);
  margin-bottom: 4px;
}

.review-kaart__type {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--kleur-accent);
  margin-bottom: 4px;
}

.review-kaart__prijs {
  font-size: 0.9rem;
  color: var(--kleur-subtekst);
}

.review-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.review-score__cijfer {
  font-size: 2rem;
  font-weight: 700;
  color: var(--kleur-accent);
  line-height: 1;
}

.review-score__label {
  font-size: 0.75rem;
  color: var(--kleur-subtekst);
  margin-top: 4px;
}

.review-score__sterren {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-top: 6px;
}

.review-kaart__samenvatting {
  color: var(--kleur-tekst);
  line-height: 1.7;
  margin-bottom: 24px;
}

.review-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .review-pros-cons {
    grid-template-columns: 1fr;
  }
}

.review-pros,
.review-cons {
  border-radius: var(--radius);
  padding: 16px 20px;
}

.review-pros {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.review-cons {
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.review-pros h4,
.review-cons h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.review-pros h4 { color: #166534; }
.review-cons h4 { color: #9a3412; }

.review-pros ul,
.review-cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.review-pros li,
.review-cons li {
  font-size: 0.9rem;
  padding: 5px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.review-pros li::before {
  content: "✓";
  color: #16a34a;
  font-weight: 700;
  flex-shrink: 0;
}

.review-cons li::before {
  content: "✗";
  color: #ea580c;
  font-weight: 700;
  flex-shrink: 0;
}

.review-oordeel {
  background: var(--kleur-bg-licht);
  border-left: 4px solid var(--kleur-accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--kleur-tekst);
}

.review-oordeel strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--kleur-accent);
  margin-bottom: 6px;
}

/* Reviews vergelijkingstabel */
.review-tabel {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-top: 24px;
}

.review-tabel thead tr {
  background: var(--kleur-accent);
  color: #fff;
}

.review-tabel th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
}

.review-tabel td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--kleur-border);
  vertical-align: middle;
}

.review-tabel tbody tr:nth-child(even) {
  background: var(--kleur-bg-licht);
}

.review-tabel .score-cel {
  font-weight: 700;
  color: #f59e0b;
  text-align: center;
}

/* Koopgids categorieënlijst */
.categorie-lijst {
  list-style: none;
  counter-reset: categorie-teller;
  padding: 0;
  margin-top: 32px;
}

.categorie-lijst > li {
  counter-increment: categorie-teller;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--kleur-border);
  align-items: start;
}

.categorie-lijst > li:last-child {
  border-bottom: none;
}

.categorie-lijst > li::before {
  content: counter(categorie-teller);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--kleur-accent);
  opacity: 0.4;
  line-height: 1.4;
  min-width: 28px;
  text-align: right;
}

.categorie-lijst > li > * {
  grid-column: 2;
}

.categorie-lijst__header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.categorie-lijst__naam {
  font-size: 1rem;
  font-weight: 700;
  color: var(--kleur-tekst);
}

.categorie-lijst__prijs {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--kleur-accent);
  background: rgba(29, 122, 138, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.categorie-lijst > li p {
  font-size: 0.9375rem;
  color: var(--kleur-subtekst);
  line-height: 1.65;
}

/* Koopgids keuzehulp categorieën (blokken, ongebruikt) */
.categorie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.categorie-kaart {
  background: var(--kleur-wit);
  border: 1px solid var(--kleur-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.2s;
}

.categorie-kaart:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.categorie-kaart h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--kleur-tekst);
  margin-bottom: 8px;
}

.categorie-kaart__prijs {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--kleur-accent);
  margin-bottom: 10px;
}

.categorie-kaart p {
  font-size: 0.875rem;
  color: var(--kleur-subtekst);
  line-height: 1.6;
}

.keuzehulp-tabel {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 24px;
}

.keuzehulp-tabel th {
  padding: 11px 16px;
  background: var(--kleur-accent);
  color: #fff;
  font-weight: 600;
  text-align: left;
}

.keuzehulp-tabel td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--kleur-border);
}

.keuzehulp-tabel tr:nth-child(even) td {
  background: var(--kleur-bg-licht);
}

.keuzehulp-tabel td:first-child {
  font-weight: 600;
}
