:root {
  --zwart: #15110D;
  --wit: #FFFFFF;
  --room: #F4EFE7;
  --karamel: #C6822E;
  --karamel-dark: #a96c22;
  --muted-op-dark: #b9ada0;
  --danger: #A8461F;
  --danger-bg: #f8ebe3;
  --success: #3f7d52;
  --success-bg: #e6f1e8;
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ring: 0 0 0 4px rgba(198,130,46,.22);
  --ease: cubic-bezier(.2,.7,.3,1);
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; display: flex;
  background: var(--room); color: var(--zwart); font-family: var(--font-body);
  font-size: 14.5px;
}

/* linkerpaneel: merk */
.merkpaneel {
  flex: 1 1 46%; min-height: 100vh; background: var(--zwart); color: var(--room);
  padding: 56px; display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.merkpaneel .ghost {
  position: absolute; left: -30px; bottom: -40px; font-family: 'Inter', sans-serif; font-weight: 800;
  font-size: 420px; line-height: 1; color: rgba(244,239,231,0.04); user-select: none; pointer-events: none;
}
.merkpaneel .inner { position: relative; z-index: 1; max-width: 440px; }
.badge {
  display: inline-flex; align-items: center; background: var(--karamel); color: var(--zwart);
  font-size: 12px; font-weight: 600; padding: 7px 15px; border-radius: 999px; margin-bottom: 28px;
}
.merkpaneel h1 {
  font-family: var(--font-heading); font-weight: 600; font-size: 42px; line-height: 1.08;
  letter-spacing: -0.01em; margin: 0; text-wrap: balance;
}
.merkpaneel .tagline-rij { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.merkpaneel .tagline-rij .lijn { width: 40px; height: 1px; background: #4a4038; }
.merkpaneel p.tagline { margin: 14px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--muted-op-dark); max-width: 340px; }
.merkpaneel .logo-klein { display: flex; align-items: center; gap: 10px; margin-top: 48px; }
.merkpaneel .logo-klein img { height: 26px; width: auto; filter: invert(1) brightness(1.3); }
.merkpaneel .logo-klein span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-op-dark); font-weight: 600; }

/* rechterpaneel: inlogformulier */
.vormpaneel { flex: 1 1 54%; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px; }
.kaart {
  width: 100%; max-width: 360px; background: var(--wit); border: 1px solid #e3e2df;
  border-radius: 18px; box-shadow: 0 24px 48px -24px rgba(21,17,13,.25); padding: 40px 36px;
}
h2.kop { font-family: var(--font-heading); font-size: 20px; font-weight: 600; margin: 0 0 6px; }
p.uitleg { color: #6b6660; font-size: 13.5px; margin: 0 0 24px; }
.veld { margin-bottom: 16px; }
.veld label { display: block; font-size: 12px; font-weight: 600; color: #6b6660; margin-bottom: 6px; }
.veld input {
  width: 100%; font-family: inherit; font-size: 14.5px; padding: 10px 12px;
  border: 1px solid #c9c7c2; border-radius: 8px; background: var(--wit); color: var(--zwart);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.veld input:focus { outline: none; border-color: var(--karamel); box-shadow: var(--ring); }
button.submit {
  width: 100%; background: var(--karamel); color: var(--wit); border: none; padding: 11px 16px;
  border-radius: 8px; font-family: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer;
  margin-top: 6px; transition: background-color .15s var(--ease);
}
button.submit:hover { background: var(--karamel-dark); }
.flash { border-radius: 8px; padding: 10px 12px; font-size: 13px; margin-bottom: 16px; }
.flash-danger { background: var(--danger-bg); color: var(--danger); }
.flash-success { background: var(--success-bg); color: var(--success); }

@media (max-width: 820px) {
  body { flex-direction: column; }
  .merkpaneel { min-height: auto; padding: 40px 32px; flex: none; }
  .merkpaneel h1 { font-size: 32px; }
  .merkpaneel .ghost { display: none; }
  .vormpaneel { flex: none; min-height: auto; padding: 32px; }
}
