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

:root {
  --navy: #1a1a1a;
  --accent: #3674B3;
  --accent-dark: #2a5a8f;
  --gray: #f5f5f3;
  --border: #e0e0e0;
  --text: #222;
  --muted: #777;
  --radius: 4px;
  --font: 'Segoe UI', Arial, sans-serif;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent-dark); }

/* ── Header ─────────────────────────────────────────────────────────── */
header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 14px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.site-title {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}
.site-title img { height: 48px; width: auto; }
.site-title span { font-size: 0.8rem; color: var(--muted); border-left: 1px solid var(--border); padding-left: 12px; }

.header-contact a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.header-contact a:hover { color: var(--accent-dark); }

/* ── Footer ─────────────────────────────────────────────────────────── */
footer {
  margin-top: auto;
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  padding: 20px 40px;
  text-align: center;
}
footer a { color: rgba(255,255,255,0.8); }

/* ── Main ───────────────────────────────────────────────────────────── */
main {
  flex: 1;
  padding: 40px 16px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

/* ── Hero / Keuze ───────────────────────────────────────────────────── */
.hero { text-align: center; padding: 40px 0; }
.logo-block h1 { font-size: 2rem; color: var(--navy); margin-bottom: 8px; }
.tagline { color: var(--muted); font-size: 1.05rem; margin-bottom: 48px; }

.keuze-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.keuze-card {
  background: var(--gray);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.keuze-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-3px); }
.keuze-icon img { max-width: 120px; border-radius: var(--radius); }
.keuze-card h2 { font-size: 1.4rem; color: var(--navy); }
.keuze-card p { color: var(--muted); font-size: 0.95rem; }
.keuze-card .btn {
  margin-top: 8px;
  background: var(--accent);
  color: white;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-info { color: var(--muted); font-size: 0.95rem; }
.contact-info a { color: var(--navy); font-weight: 600; }

/* ── Form page ──────────────────────────────────────────────────────── */
.form-page h2 { font-size: 1.5rem; color: var(--navy); margin: 12px 0 24px; border-bottom: 2px solid var(--accent); padding-bottom: 10px; }
.back-link { display: inline-block; color: var(--muted); text-decoration: none; font-size: 0.9rem; margin-bottom: 8px; }
.back-link:hover { color: var(--accent-dark); }

fieldset { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 24px; }
legend { font-weight: 700; color: var(--navy); font-size: 0.95rem; padding: 0 8px; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.85rem; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 16px; }
.form-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.field.full { grid-column: 1 / -1; }
.field.small { max-width: 140px; }

.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 0.85rem; font-weight: 600; color: #444; }
.field .unit { font-weight: 400; color: var(--muted); }
.required { color: #c00; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 12px;
  font-size: 0.95rem;
  font-family: var(--font);
  width: 100%;
  transition: border-color 0.15s;
  background: white;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }

.radio-group { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 10px; }
.radio-group label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.95rem; }
.radio-block { margin-top: 16px; }
.block-label { font-size: 0.85rem; font-weight: 600; color: #444; display: block; margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.04em; }

.checkbox-block { margin-top: 16px; }
.checkbox-block label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.95rem; }

.submit-row { display: flex; justify-content: flex-end; margin-top: 8px; }
.btn-submit {
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px 36px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.btn-submit:hover { background: var(--accent-dark); }

/* ── Specs met afbeelding ───────────────────────────────────────────── */
.specs-with-image { display: flex; gap: 24px; align-items: flex-start; margin-top: 8px; }
.specs-fields { flex: 1; }
.specs-image { flex-shrink: 0; }
.specs-image img { max-width: 220px; border-radius: var(--radius); border: 1px solid var(--border); }

/* ── Radio met afbeelding ───────────────────────────────────────────── */
.radio-image-block { margin-top: 20px; }
.radio-image-group { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.radio-image-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s;
  background: white;
}
.radio-image-option:hover { border-color: var(--accent); }
.radio-image-option input[type="radio"] { margin: 0; }
.radio-image-option img { max-width: 140px; max-height: 100px; object-fit: contain; border-radius: 4px; }
.radio-image-option span { font-size: 0.85rem; font-weight: 600; color: var(--navy); text-align: center; }
.radio-image-option:has(input:checked) { border-color: var(--accent); background: #fdf8f0; }

/* ── Bevestiging ────────────────────────────────────────────────────── */
.bevestiging { text-align: center; padding: 60px 20px; }
.check { font-size: 4rem; margin-bottom: 16px; }
.bevestiging h2 { font-size: 1.6rem; color: var(--navy); margin-bottom: 12px; }
.bevestiging p { color: var(--muted); margin-bottom: 12px; }
.bevestiging .btn {
  display: inline-block;
  margin-top: 24px;
  background: var(--accent);
  color: white;
  padding: 12px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  header { padding: 12px 16px; }
  main { padding: 20px 12px; }
  .form-grid.two-col { grid-template-columns: 1fr; }
  .field.small { max-width: 100%; }
  .specs-with-image { flex-direction: column; }
  .specs-image img { max-width: 100%; }
}

/* ── Header layout met taalswitcher ─────────────────────────────────── */
.header-right { display: flex; align-items: center; gap: 20px; }
.lang-switcher { display: flex; gap: 4px; align-items: center; }
.lang-switcher a, .lang-switcher .lang-current {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.15s;
}
.lang-switcher a { color: var(--muted); }
.lang-switcher a:hover { background: var(--gray); color: var(--navy); }
.lang-switcher .lang-current { background: var(--accent); color: white; }

@media (max-width: 600px) {
  .header-right { gap: 10px; }
  .lang-switcher a, .lang-switcher .lang-current { padding: 3px 7px; font-size: 0.75rem; }
}
