/* === RESET & VARS === */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --yellow: #F5A623;
  --yellow-light: #FEF5E7;
  --yellow-dark: #D4910E;
  --black: #1a1a1a;
  --gray: #6b7280;
  --gray-light: #f5f5f7;
  --green: #22c55e;
  --green-bg: #f0fdf4;
  --red: #ef4444;
  --red-bg: #fef2f2;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.08);
}
body {
  font-family: 'Sora', -apple-system, sans-serif;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* === HEADER === */
.header {
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.logo {
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  color: var(--black);
}
.logo span { color: var(--yellow); }
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-switch {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: border-color 0.2s;
}
.lang-switch:hover { border-color: var(--yellow); color: var(--black); }
.header-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: var(--black);
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 8px;
  transition: background 0.2s;
}
.header-btn:hover { background: #333; }

/* === HERO === */
.hero {
  padding: 80px 40px 60px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow-light);
  color: var(--yellow-dark);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-sub {
  font-size: 18px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 32px;
  font-weight: 400;
}
.credit-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-bg);
  border: 1px solid #bbf7d0;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #15803d;
}
.credit-banner svg { flex-shrink: 0; }

/* === POSTCODE === */
.postcode-section { max-width: 520px; margin: 0 auto 60px; padding: 0 40px; }
.postcode-box {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.postcode-box h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.postcode-box p { font-size: 13px; color: var(--gray); margin-bottom: 20px; }
.postcode-input-wrap { display: flex; gap: 10px; }
.postcode-input {
  flex: 1; padding: 14px 18px; border: 2px solid #e5e7eb; border-radius: 12px;
  font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 600;
  letter-spacing: 2px; text-align: center; outline: none;
  transition: border-color 0.2s; text-transform: uppercase;
}
.postcode-input:focus { border-color: var(--yellow); }
.postcode-btn {
  padding: 14px 24px; background: var(--black); color: var(--white); border: none;
  border-radius: 12px; font-family: 'Sora', sans-serif; font-size: 14px;
  font-weight: 600; cursor: pointer; transition: transform 0.15s, background 0.2s;
  white-space: nowrap;
}
.postcode-btn:hover { background: #333; transform: scale(1.02); }
.postcode-result {
  margin-top: 16px; padding: 12px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 600; display: none; align-items: center; gap: 8px;
}
.postcode-result.success { display: flex; background: var(--green-bg); color: #15803d; border: 1px solid #bbf7d0; }
.postcode-result.fail { display: flex; background: var(--red-bg); color: #dc2626; border: 1px solid #fecaca; }

/* === PRODUCTS === */
.products { max-width: 1000px; margin: 0 auto; padding: 0 40px 80px; }
.products-title {
  text-align: center; font-size: 14px; font-weight: 600; color: var(--gray);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 32px;
}
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 680px; margin: 0 auto; }
.product-card {
  background: var(--white); border: 2px solid #f0f0f0; border-radius: var(--radius);
  padding: 32px 28px; transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
  position: relative; display: flex; flex-direction: column;
}
.product-card:hover { border-color: var(--yellow); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.product-card.popular { border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow), var(--shadow-lg); }
.popular-tag {
  position: absolute; top: -12px; right: 24px; background: var(--yellow); color: var(--white);
  padding: 4px 14px; border-radius: 50px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.product-icon {
  width: 48px; height: 48px; background: var(--yellow-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.product-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.product-desc { font-size: 14px; color: var(--gray); margin-bottom: 20px; flex: 1; line-height: 1.7; }
.product-features { list-style: none; margin-bottom: 24px; }
.product-features li {
  font-size: 13px; padding: 6px 0; display: flex; align-items: center; gap: 8px;
}
.product-features li::before {
  content: ''; width: 18px; height: 18px; background: var(--green-bg); border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.product-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 16px; }
.price-amount { font-size: 32px; font-weight: 800; }
.price-suffix { font-size: 13px; color: var(--gray); }
.product-actions { display: flex; flex-direction: column; gap: 8px; }
.product-btn {
  display: block; width: 100%; padding: 14px; text-align: center; border-radius: 12px;
  font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s; text-decoration: none; border: none;
}
.product-btn:hover { transform: scale(1.02); }
.product-btn.primary { background: var(--yellow); color: var(--white); }
.product-btn.secondary { background: var(--gray-light); color: var(--black); }

/* === HOW IT WORKS === */
.how-section { background: var(--gray-light); padding: 80px 40px; }
.how-inner { max-width: 800px; margin: 0 auto; }
.how-section h2 { text-align: center; font-size: 28px; font-weight: 800; margin-bottom: 48px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; }
.step-num {
  width: 40px; height: 40px; background: var(--yellow); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; margin: 0 auto 14px;
}
.step h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 12px; color: var(--gray); line-height: 1.6; }

/* === RAPPORT PREVIEW === */
.rapport-section { padding: 80px 40px; max-width: 900px; margin: 0 auto; }
.rapport-section h2 { text-align: center; font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.rapport-section > p { text-align: center; color: var(--gray); font-size: 15px; margin-bottom: 40px; }
.rapport-preview { background: var(--white); border: 2px solid #f0f0f0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.rapport-header { background: var(--black); color: var(--white); padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; }
.rapport-header h3 { font-size: 16px; font-weight: 700; }
.rapport-header span { font-size: 12px; color: #999; }
.rapport-body { padding: 28px 32px; }
.rapport-row { display: flex; gap: 20px; margin-bottom: 24px; }
.rapport-heatmap {
  flex: 1; background: linear-gradient(135deg, #22c55e 0%, #eab308 40%, #f97316 65%, #ef4444 100%);
  border-radius: 12px; height: 160px; position: relative; overflow: hidden;
}
.rapport-heatmap::after {
  content: 'Plattegrond + heatmap'; position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center; background: rgba(0,0,0,0.3);
  color: white; font-size: 14px; font-weight: 600;
}
.rapport-scores { width: 200px; display: flex; flex-direction: column; gap: 10px; }
.score-item { background: var(--gray-light); padding: 12px 16px; border-radius: 10px; }
.score-item label { font-size: 11px; color: var(--gray); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.score-item .val { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.score-item .val .dot { width: 8px; height: 8px; border-radius: 50%; }
.rapport-items h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray); margin-bottom: 12px; }
.finding { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.finding:last-child { border: none; }
.finding-icon { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 12px; }
.finding-icon.warn { background: #fef3c7; color: #d97706; }
.finding-icon.bad { background: #fef2f2; color: #dc2626; }
.finding-title { font-size: 14px; font-weight: 600; }
.finding-desc { font-size: 12px; color: var(--gray); }

/* === FAQ === */
.faq-section { background: var(--gray-light); padding: 80px 40px; }
.faq-inner { max-width: 640px; margin: 0 auto; }
.faq-section h2 { text-align: center; font-size: 28px; font-weight: 800; margin-bottom: 40px; }
.faq-item { background: var(--white); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.faq-q {
  padding: 18px 22px; font-size: 14px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; user-select: none;
}
.faq-q::after { content: '+'; font-size: 20px; font-weight: 300; color: var(--gray); transition: transform 0.2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 22px 18px; font-size: 14px; color: var(--gray); line-height: 1.7; }

/* === FOOTER === */
.footer { padding: 32px 40px; border-top: 1px solid #eee; }
.footer-inner { max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--gray); }
.footer-inner a { color: var(--gray); text-decoration: none; }
.footer-inner a:hover { color: var(--black); }

/* SEO Content */
.seo-content { padding: 48px 40px; background: #f9fafb; }
.seo-inner { max-width: 1000px; margin: 0 auto; }
.seo-inner h2 { font-size: 20px; margin-bottom: 16px; color: var(--black); }
.seo-inner p { font-size: 14px; line-height: 1.8; color: #6b7280; margin-bottom: 12px; }

/* Full Footer */
.footer--full { padding: 48px 40px 0; background: var(--black); color: #fff; border-top: none; }
.footer-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo--footer { font-size: 16px; font-weight: 800; color: #fff; text-decoration: none; }
.footer-brand .logo--footer span { color: var(--yellow); }
.footer-tagline { margin-top: 8px; font-size: 14px; color: #888; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #888; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #ccc; font-size: 14px; text-decoration: none; }
.footer-col a:hover { color: var(--yellow); }
.footer-meta { font-size: 13px !important; color: #666 !important; margin-top: 8px; }
.footer-bottom { max-width: 1000px; margin: 40px auto 0; padding: 20px 0; border-top: 1px solid #333; font-size: 13px; color: #888; }

/* === MODALS === */
.modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 1000; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius); padding: 40px;
  max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative;
}
.modal-close {
  position: absolute; top: 16px; right: 20px; background: none; border: none;
  font-size: 28px; cursor: pointer; color: var(--gray); line-height: 1;
}
.modal h2 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.modal-product { font-size: 14px; color: var(--yellow-dark); font-weight: 600; margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 2px solid #e5e7eb; border-radius: 10px;
  font-family: 'Sora', sans-serif; font-size: 14px; outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--yellow); }
.form-group textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-section-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray); margin: 8px 0 12px; padding-top: 12px; border-top: 1px solid #f0f0f0; }
.form-checkbox { margin: 4px 0 8px; }
.form-checkbox label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; cursor: pointer; }
.form-checkbox input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--yellow); cursor: pointer; }
.postcode-form-error { margin-top: 8px; padding: 10px 14px; background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; font-size: 13px; color: #dc2626; line-height: 1.5; }
.postcode-form-error a { color: #dc2626; font-weight: 600; text-decoration: underline; }
.pc-status { min-height: 20px; margin: -4px 0 8px; font-size: 13px; }
.pc-loading { color: var(--gray); }
.pc-success { color: #16a34a; font-weight: 600; }
.pc-warn { color: #d97706; }
.pc-street[readonly], .pc-city[readonly] { background: #f9fafb; color: #6b7280; cursor: default; }
.form-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; margin: 8px 0 16px; border-top: 2px solid #f0f0f0;
  font-size: 18px; font-weight: 800;
}
.form-submit {
  width: 100%; padding: 16px; background: var(--yellow); color: var(--white);
  border: none; border-radius: 12px; font-family: 'Sora', sans-serif;
  font-size: 16px; font-weight: 700; cursor: pointer; transition: transform 0.15s;
}
.form-submit:hover { transform: scale(1.02); }
.form-submit--invoice { background: var(--black); }
.form-note { text-align: center; font-size: 12px; color: var(--gray); margin-top: 12px; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .header { padding: 16px 20px; }
  .hero { padding: 50px 20px 40px; }
  .hero-sub { font-size: 16px; }
  .credit-banner { font-size: 13px; padding: 10px 16px; }
  .postcode-section { padding: 0 20px; }
  .postcode-input-wrap { flex-direction: column; }
  .products { padding: 0 20px 60px; }
  .products-grid { grid-template-columns: 1fr; max-width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .how-section, .faq-section { padding: 60px 20px; }
  .rapport-section { padding: 60px 20px; }
  .rapport-row { flex-direction: column; }
  .rapport-scores { width: 100%; flex-direction: row; }
  .rapport-header { flex-direction: column; gap: 4px; }
  .modal { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
