/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: #ffffff;
  min-height: 100vh;
  padding: 40px 16px;
}

/* ===== A4 CARD ===== */
.container {
  width: 210mm;
  max-width: 100%;
  min-height: 297mm;
  margin: 0 auto;

  /* 🔥 achtergrond alleen hier */
  background: url("achtergrond.png") center/cover no-repeat;

  padding: 48px 56px;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.06),
    0 12px 40px rgba(0,0,0,0.12);

  border-radius: 3px;

  position: relative;
}

/* ===== HEADER ===== */
header {
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e0e0e0;
}

h1 {
  font-size: 48px;
  font-weight: normal;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  margin-bottom: 8px;
}

/* ===== FORM ===== */
form {
  display: flex;
  flex-direction: column;
}

label {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 7px;
  margin-top: 18px;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: 'Georgia', serif;
  font-size: 14px;
  color: #1a1a1a;
  background: #fafafa;
  border: 1px solid #d8d8d8;
  border-radius: 2px;
  appearance: none;
  -webkit-appearance: none;
}

select {
  padding-right: 36px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #2c2c2c;
  background: #fff;
}

textarea {
  min-height: 90px;
  resize: vertical;
  line-height: 1.5;
}

/* ===== BUTTON ===== */
button[type="submit"] {
  width: 100%;
  margin-top: 22px;
  padding: 14px 20px;
  background: #2c2c2c;
  color: #fff;
  border: none;
  border-radius: 2px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: #111;
}

/* ===== ALERTS ===== */
.alert {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  padding: 12px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.alert--success {
  background: #f0f7f0;
  border-left: 3px solid #4a9e6b;
  color: #2d6b47;
}

.alert--error {
  background: #fdf3f3;
  border-left: 3px solid #c0392b;
  color: #922b21;
}

/* ===== MOBILE ===== */
@media (max-width: 640px) {
  body {
    padding: 0;
  }

  .container {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
    padding: 32px 24px;
  }

  h1 {
    font-size: 40px;
  }
}

/* ===== PRINT ===== */
@media print {
  body {
    background: none;
    padding: 0;
  }

  .container {
    width: 210mm;
    min-height: 297mm;
    box-shadow: none;
    margin: 0;
    padding: 20mm;
  }

  button {
    display: none;
  }
}


/* ===== FOOTER ===== */
.footer-names {
  text-align: center;
  margin-top: 28px;
  padding-top: 18px;
}

.names {
  font-family: 'Great Vibes', cursive;
  font-size: 2.8rem;
  font-weight: normal;
  color: #333;
  line-height: 1.1;
}

.date {
  margin-top: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #999;
}

/* ===== DIVIDER ===== */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 28px 0 10px;
  color: #999;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* lijntjes links/rechts */
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.08);
}

.divider::before {
  margin-right: 12px;
}

.divider::after {
  margin-left: 12px;
}

/* tekst zelf */
.divider span {
  padding: 0 6px;
  opacity: 0.7;
}