:root {
  --teal-900: #063b3a;
  --teal-700: #0f766e;
  --teal-600: #14a89b;
  --teal-500: #2dd4bf;
  --mint-100: #e6fbf8;
  --mint-50: #f4fefc;
  --lime-500: #84cc16;
  --ink-900: #10231f;
  --ink-700: #33473f;
  --ink-500: #5c716a;
  --paper: #ffffff;
  --line: #d9efea;
  --warn-bg: #fff4e5;
  --warn-text: #7a4a00;
  --avoid-bg: #fdeaea;
  --avoid-text: #8c2b2b;
  --ok-bg: #e6fbf3;
  --ok-text: #0f6e52;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(6, 59, 58, 0.08);
  --font-head: "Poppins", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: linear-gradient(180deg, var(--mint-50) 0%, #ffffff 320px);
  line-height: 1.55;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--teal-900); margin: 0 0 .5em; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.9); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.brand { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--teal-900); display: flex; align-items: center; gap: 8px; }
.brand:hover { text-decoration: none; }
.brand__icon { color: var(--lime-500); }
.header-strap { margin: 0; color: var(--ink-500); font-size: .9rem; }

/* Hero + search */
.hero { padding: 56px 0 24px; text-align: center; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.hero-sub { color: var(--ink-500); max-width: 560px; margin: 0 auto 28px; }
.search-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}
.search-row { display: flex; gap: 10px; flex-wrap: wrap; }
.autocomplete-wrap { position: relative; flex: 1; min-width: 220px; }
.autocomplete-wrap input { width: 100%; }
.autocomplete-list {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 20;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow); list-style: none; margin: 0; padding: 4px;
  max-height: 280px; overflow-y: auto;
}
.autocomplete-list li {
  padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: .92rem;
  display: flex; align-items: baseline; gap: 6px;
}
.autocomplete-list li:hover, .autocomplete-list__item--active {
  background: var(--mint-100);
}
.autocomplete-alias { color: var(--ink-500); font-size: .78rem; }
.search-row input[type="text"] {
  flex: 1 1 260px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  font-size: 1rem;
  font-family: var(--font-body);
}
.search-row select {
  padding: 14px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  font-family: var(--font-body);
  background: var(--mint-50);
  min-width: 180px;
}
.search-row input:focus, .search-row select:focus { outline: 2px solid var(--teal-500); outline-offset: 1px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: none; border-radius: 12px; padding: 14px 22px; font-weight: 600; font-family: var(--font-body); cursor: pointer; font-size: .95rem; }
.btn--primary { background: var(--teal-700); color: #fff; }
.btn--primary:hover { background: var(--teal-900); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--teal-700); border: 1.5px solid var(--line); }
.btn--ghost:hover { background: var(--mint-100); text-decoration: none; }
.btn--small { padding: 8px 14px; font-size: .85rem; }

.filter-chips { display: flex; gap: 8px; margin-top: 14px; }
.chip { border: 1.5px solid var(--line); background: var(--mint-50); color: var(--ink-700); padding: 8px 16px; border-radius: 999px; font-size: .85rem; cursor: pointer; font-family: var(--font-body); }
.chip--active { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }

/* Results */
.results-section { padding: 36px 0 10px; }
.results-heading { font-size: 1.3rem; }
.empty-state { color: var(--ink-500); }
.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 16px; }
.result-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.result-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.result-card__head h3 { margin: 0; font-size: 1.1rem; }
.badge { font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; background: var(--mint-100); color: var(--teal-700); padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.result-card__intro { color: var(--ink-500); font-size: .9rem; margin: 0; }
.result-card__methods { display: flex; flex-direction: column; gap: 6px; }
.method { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 10px; font-size: .85rem; }
.method--chemisch { background: #eef4ff; }
.method--natuurlijk { background: var(--ok-bg); }
.method--advies { background: var(--mint-100); }
.method__label { font-weight: 600; }
.method__middel { color: var(--ink-700); text-align: right; }
.result-card__link { font-size: .85rem; font-weight: 600; margin-top: auto; }
.result-card__warning { background: var(--warn-bg); color: var(--warn-text); padding: 8px 12px; border-radius: 10px; font-size: .82rem; margin: 0; }

/* Ad slots */
.ad-slot { max-width: 1080px; margin: 20px auto; text-align: center; }
.ad-slot__label { display: block; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 6px; }
.ad-slot__placeholder {
  border: 1.5px dashed #b9d8d2;
  background: repeating-linear-gradient(45deg, #f4fefc, #f4fefc 10px, #eafaf5 10px, #eafaf5 20px);
  color: var(--ink-500);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.ad-slot--leaderboard .ad-slot__placeholder { height: 90px; }
.ad-slot--rectangle .ad-slot__placeholder { height: 250px; }
.ad-slot--in-feed { grid-column: 1 / -1; }
.ad-slot--in-feed .ad-slot__placeholder { height: 120px; }
.sidebar-ad { margin-top: 8px; }

/* Detail page */
.detail { padding: 30px 0 60px; }
.breadcrumb { font-size: .85rem; color: var(--ink-500); margin-bottom: 10px; }
.detail h1 { font-size: 2rem; }
.detail-intro { color: var(--ink-500); max-width: 640px; }
.detail-columns { display: grid; grid-template-columns: 1fr 280px; gap: 30px; margin-top: 20px; }
.method-block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-bottom: 20px; }
.method-block--chemisch { border-left: 4px solid #3b82f6; }
.method-block--natuurlijk { border-left: 4px solid var(--teal-600); }
.method-block__middel { margin-top: 0; }
.method-steps { padding-left: 20px; }
.method-steps li { margin-bottom: 6px; }
.materiaal-tags { font-size: .85rem; margin: 10px 0; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; margin: 2px 4px 2px 0; }
.tag--ok { background: var(--ok-bg); color: var(--ok-text); }
.tag--avoid { background: var(--avoid-bg); color: var(--avoid-text); }
.warning { background: var(--warn-bg); color: var(--warn-text); padding: 10px 14px; border-radius: 10px; font-size: .88rem; }
.materiaal-advies dt { font-weight: 600; color: var(--teal-900); margin-top: 10px; }
.materiaal-advies dd { margin: 2px 0 0; color: var(--ink-700); }
.disclaimer-box { font-size: .8rem; color: var(--ink-500); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 10px; }
.hard-surface-block { border-left: 4px solid #92400e; background: #fdf8f3; }
.hard-surface { border-top: 1px dashed #e6d5c3; padding-top: 14px; margin-top: 14px; }
.hard-surface:first-of-type { border-top: none; margin-top: 4px; padding-top: 0; }
.hard-surface h3 { font-size: 1rem; margin-bottom: 8px; }
.method-block--nested { background: transparent; box-shadow: none; border: none; padding: 10px 0 10px 14px; margin-bottom: 8px; }
.method-block__label-small { font-weight: 600; margin: 0 0 4px; font-size: .85rem; color: var(--ink-700); }
.result-card__hard-note { font-size: .78rem; background: #fdf8f3; color: #92400e; padding: 6px 10px; border-radius: 8px; margin: 0; }
.materiaal-banner { font-size: .9rem; background: var(--mint-100); color: var(--teal-900); padding: 10px 16px; border-radius: 10px; margin: 16px 0; }
.materiaal-banner__clear { margin-left: 8px; font-size: .82rem; }
.materiaal-callout { background: var(--mint-50); border: 1.5px solid var(--teal-500); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 20px; }
.materiaal-callout h2 { margin-top: 0; font-size: 1.1rem; }
.materiaal-callout__note { font-size: .82rem; color: var(--ink-500); margin-bottom: 0; }
.materiaal-status { display: inline-block; font-size: .7rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; margin-left: 10px; vertical-align: middle; }
.materiaal-status--ok { background: var(--ok-bg); color: var(--ok-text); }
.materiaal-status--avoid { background: var(--avoid-bg); color: var(--avoid-text); }
.method-block--afgeraden { opacity: .6; }
.method-block--afgeraden:hover { opacity: 1; }
.detail-sidebar { display: flex; flex-direction: column; gap: 18px; }
.related-box { background: var(--mint-100); border-radius: var(--radius); padding: 18px; }
.related-box ul { padding-left: 18px; margin: 8px 0 0; font-size: .9rem; }

@media (max-width: 820px) {
  .detail-columns { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer { margin-top: 60px; background: var(--teal-900); color: #d8f3ee; padding: 40px 0 10px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr; gap: 30px; }
.brand--footer { color: #fff; }
.footer-tagline { color: #9fd6cb; font-size: .9rem; }
.site-footer h4 { color: #fff; font-size: .95rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-links a { color: #b9e6dd; }
.footer-disclaimer { font-size: .78rem; color: #9fd6cb; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 24px; padding: 14px 20px; font-size: .78rem; color: #7fb9ad; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

/* Cookie consent */
.cookie-consent { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 520px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); padding: 16px 18px; z-index: 50; font-size: .88rem; }
.cookie-consent__actions { display: flex; gap: 10px; margin-top: 10px; justify-content: flex-end; }

.not-found { padding: 80px 0; text-align: center; }

/* Legal pagina's (disclaimer, privacy) */
.legal-page { padding: 40px 0 60px; max-width: 760px; }
.legal-page h1 { margin-bottom: 4px; }
.legal-updated { color: var(--ink-500); font-size: .85rem; margin-bottom: 30px; }
.legal-page h2 { font-size: 1.15rem; margin-top: 28px; }
.legal-page p { color: var(--ink-700); }
.legal-contact { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 18px; }

/* Contactformulier */
.contact-page .detail-intro { margin-bottom: 24px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.contact-field { display: flex; flex-direction: column; gap: 6px; }
.contact-field label { font-weight: 600; font-size: .9rem; color: var(--teal-900); }
.contact-field input, .contact-field textarea {
  padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  font-family: var(--font-body); font-size: 1rem; resize: vertical;
}
.contact-field input:focus, .contact-field textarea:focus { outline: 2px solid var(--teal-500); outline-offset: 1px; }
.contact-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-success { background: var(--ok-bg); color: var(--ok-text); padding: 14px 18px; border-radius: 10px; font-size: .95rem; }
.contact-error { background: var(--avoid-bg); color: var(--avoid-text); padding: 14px 18px; border-radius: 10px; font-size: .95rem; margin-bottom: 16px; }
