/* Paginaspecifieke toevoegingen op het Hotel Bonka-design-systeem (bonka.css blijft onaangeroerd). */

[hidden] { display: none !important; }

/* ---------- Hero: foto uit het e-book als achtergrond (desktop) / fotoband (mobiel) ---------- */

.hero {
  background: var(--black) url(../assets/hero-photo-1920.jpg) center 42% / cover no-repeat;
  min-height: 720px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.82) 40%, rgba(0, 0, 0, 0.25) 75%, rgba(0, 0, 0, 0.15) 100%);
}
.hero .container { position: relative; }
.hero .badge { margin-bottom: 20px; }
.hero-photo-band { display: none; }

@media (min-width: 992px) {
  .hero-copy { flex: 0 1 620px; }
}

.file-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.file-meta span { border: 1px solid rgba(255, 255, 255, 0.35); padding: 4px 10px; }

/* ---------- Formulier ---------- */

.lead-form { max-width: 760px; margin-top: 30px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field { display: flex; flex-direction: column; gap: 8px; }

.field label {
  font-family: "Anton", sans-serif;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  padding: 14px 16px;
  border: 1px solid var(--black);
  border-radius: 0;
  background: var(--white);
  color: var(--black);
}
.field input:focus {
  outline: 2px solid var(--orange);
  outline-offset: 0;
  border-color: var(--orange);
}

/* Honeypot: onzichtbaar voor mensen, wél in de DOM voor bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.turnstile { margin-top: 24px; }
.turnstile:empty { display: none; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}
.form-actions .privacy-note { margin-top: 0; max-width: 420px; }

.btn-lg { font-size: 14px; padding: 1.2em 2.4em; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

.form-error {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: 14px;
  background: #FFEDE5;
  border-left: 3px solid var(--orange);
  padding: 10px 16px;
}

/* ---------- Succes-state ---------- */

.success-card {
  max-width: 760px;
  margin-top: 30px;
  background: var(--black);
  color: var(--white);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.success-card h3 { color: var(--white); margin: 0; }
.success-card p { margin: 0; color: rgba(255, 255, 255, 0.8); }
.success-card .start-over { color: rgba(255, 255, 255, 0.6); font-size: 14px; }
.success-card .start-over:hover { color: var(--orange); }

/* ---------- Responsive ---------- */

@media (max-width: 767px) {
  .form-grid { grid-template-columns: 1fr; }
  .success-card { padding: 28px; }

  /* Mobiel: copy op zwart, foto als band eronder */
  .hero { background-image: none; min-height: 0; padding: 40px 0 0; }
  .hero::before { display: none; }
  .hero-inner { display: block; }
  .hero-copy { flex: none; width: auto; max-width: 100%; }
  .hero .lead { max-width: 100%; font-size: 17px; }
  .hero .btn { margin: 0 8px 10px 0; }
  .hero .btn-black { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4); }
  .hero-photo-band { display: block; margin-top: 36px; border-top: 6px solid var(--orange); }
  .hero-photo-band img { display: block; width: 100%; height: 300px; object-fit: cover; object-position: 62% 42%; }
}

.cta-grid .cta-card h3 { font-size: 28px; }
