/* ============================================================
   BakkieBij — storingsmelder
   Huisstijl: D:\BakkieBij\CLAUDE.md
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #000000;
  background: #fdf8f4;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Brand tokens ── */
:root {
  --geel:        #ffd21f;
  --lichtgeel:   #ffd87d;
  --creme:       #fdf8f4;
  --donker:      #091d2e;
  --donker-hover:#1a3a54;
  --wit:         #ffffff;
  --tekst:       #000000;
  --grijs:       #555555;
  --muted:       rgba(0,0,0,0.60);
  --border-soft: rgba(9,29,46,0.06);
  --border:      rgba(9,29,46,0.12);
  --error:       #b3261e;
  --error-bg:    #fdecea;
  --error-border:#f3c0bb;
}

/* ── Container ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navbar ── */
.navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-soft);
  position: sticky; top: 0; z-index: 50;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 1.15rem; color: var(--tekst);
  letter-spacing: -0.3px;
}
.nav-logo img {
  width: 40px; height: 40px; border-radius: 50%;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
}
.nav-links a {
  font-weight: 500; font-size: 0.95rem; color: var(--tekst);
  transition: opacity .15s;
}
.nav-links a:hover { opacity: 0.7; }
.btn-nav {
  background: var(--donker);
  color: #ffffff !important;
  padding: 9px 22px;
  border-radius: 7px;
  font-weight: 700;
  transition: background .2s, transform .15s;
}
.btn-nav:hover { background: var(--donker-hover); transform: translateY(-1px); opacity: 1 !important; }

/* Taal-toggle (NL/EN) */
.lang-toggle {
  background: transparent;
  border: 1.5px solid var(--donker);
  color: var(--donker);
  padding: 6px 12px;
  border-radius: 7px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background .15s, color .15s, transform .15s;
}
.lang-toggle:hover { background: var(--donker); color: #fff; transform: translateY(-1px); }
.lang-toggle:focus { outline: 2px solid var(--geel); outline-offset: 2px; }

/* ── Hero (lichtgeel) ── */
.hero {
  background: var(--lichtgeel);
  padding: 56px 0 80px;
  position: relative;
}
.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: left;
}
.hero-badge {
  display: inline-block;
  background: rgba(9,29,46,0.08);
  color: rgba(9,29,46,0.75);
  border: 1px solid rgba(9,29,46,0.18);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.4px;
  color: #000000;
  margin-bottom: 10px;
}
.hero p.lead {
  font-size: 1.05rem;
  color: rgba(0,0,0,0.65);
  line-height: 1.6;
  max-width: 520px;
}

/* ── Main content ── */
main.content {
  flex: 1;
  margin: -48px auto 0;
  padding: 0 16px 56px;
  max-width: 720px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ── Card ── */
.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 32px 26px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 2px 14px rgba(9,29,46,0.06);
}

/* ── Machine-pill ── */
.machine-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--geel);
  color: #000000;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}
.machine-pill .icon-block {
  width: 22px; height: 22px;
  background: #000000;
  color: var(--geel);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
}
.machine-pill .icon-block svg { width: 13px; height: 13px; }

.location-line {
  display: flex; align-items: flex-start; gap: 8px;
  margin: -10px 0 22px 4px;
  font-size: 0.92rem;
  color: var(--grijs);
  line-height: 1.45;
}
.location-line svg {
  width: 16px; height: 16px;
  color: var(--donker);
  flex-shrink: 0;
  margin-top: 2px;
}
.location-line strong { color: var(--tekst); font-weight: 700; display: block; }
.location-line strong + span:not(:empty)::before { content: ''; }
.location-line strong + span { display: block; font-size: 0.86rem; color: var(--muted); margin-top: 1px; }

/* ── Form labels ── */
label {
  display: block;
  font-weight: 600;
  margin: 18px 0 7px;
  font-size: 0.92rem;
  color: var(--tekst);
}
label .req { color: var(--donker); margin-left: 2px; }
label .opt { color: rgba(0,0,0,0.45); font-weight: 400; font-size: 0.82rem; margin-left: 4px; }

/* ── Form fields (BakkieBij stijl) ── */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--creme);
  border: 1.5px solid #e2dbd3;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: var(--tekst);
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}

select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23091d2e' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 38px;
}

textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.55;
}

input::placeholder, textarea::placeholder { color: rgba(0,0,0,0.35); }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--geel);
  box-shadow: 0 0 0 3px rgba(255,210,31,0.2);
}

/* ── File input ── */
.file-field {
  margin-top: 4px;
}
.file-field input[type="file"] {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.9rem;
  background: var(--creme);
  border: 1.5px dashed #d6cfc4;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  color: var(--grijs);
}
.file-field input[type="file"]:hover { border-color: var(--geel); }
.file-field input[type="file"]::file-selector-button {
  background: var(--geel);
  color: #000000;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  margin-right: 12px;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.file-field input[type="file"]::file-selector-button:hover {
  background: #e6bd1c;
}

/* ── Honeypot ── */
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ── Submit button (BakkieBij primary) ── */
.btn-submit {
  width: 100%;
  margin-top: 28px;
  padding: 14px 30px;
  background: var(--donker);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  -webkit-appearance: none;
}
.btn-submit:hover:not(:disabled) {
  background: var(--donker-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(9,29,46,0.18);
}
.btn-submit:disabled { opacity: 0.6; cursor: progress; transform: none; }

/* ── Error banner ── */
.error-banner {
  background: var(--error-bg);
  color: var(--error);
  border: 1px solid var(--error-border);
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  display: none;
  align-items: center; gap: 10px;
  font-weight: 500;
}
.error-banner.visible { display: flex; }
.error-banner svg { width: 18px; height: 18px; flex-shrink: 0; }

.hidden { display: none !important; }

/* ── Bedankt-pagina ── */
.success-card {
  text-align: center;
  padding: 48px 26px;
}
.success-card .check {
  width: 72px; height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--geel);
  color: #000000;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(255,210,31,0.45);
}
.success-card .check svg { width: 38px; height: 38px; }
.success-card h2 {
  margin-bottom: 12px;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--tekst);
}
.success-card p {
  color: var(--grijs);
  font-size: 0.97rem;
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto 6px;
}
.success-tagline {
  margin-top: 22px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(0,0,0,0.45);
  font-style: italic;
}

/* ── Footer ── */
footer.site-footer {
  background: var(--creme);
  border-top: 1px solid var(--border-soft);
  margin-top: auto;
  padding: 32px 0 20px;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; color: var(--tekst); font-size: 1rem;
}
.footer-logo img { width: 32px; height: 32px; border-radius: 50%; }
.footer-contact a {
  color: var(--donker); font-weight: 600; font-size: 0.9rem;
  text-decoration: underline; text-underline-offset: 3px;
}
.footer-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(0,0,0,0.5);
}
.footer-bottom em {
  color: var(--donker);
  font-weight: 600;
  font-style: normal;
}

/* ── Mobile ── */
@media (max-width: 620px) {
  .hero { padding: 40px 0 64px; }
  .hero h1 { font-size: 1.55rem; }
  .hero p.lead { font-size: 0.97rem; }
  .card { padding: 24px 18px; }
  main.content { margin-top: -40px; padding-bottom: 40px; }
  .nav-links a:not(.btn-nav) { display: none; }
  .nav-links { gap: 10px; }
  .lang-toggle { padding: 6px 10px; font-size: 0.72rem; }
  .nav-inner { height: 60px; }
  .nav-logo { font-size: 1.05rem; }
  .nav-logo img { width: 36px; height: 36px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 14px; }
}
