/* =====================================================================
   Hunebed Media / Contact (pagina-specifieke stijlen)
   Aanvullingen op het gedeelde design-systeem (styles.css).
   ===================================================================== */

/* ------------------------------ LAYOUT ------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 30px;
  align-items: start;
}

/* ---------------------------- FORMULIER ----------------------------- */
.contact-form {
  position: relative;
  background: #fff;
  border: 1px solid #E7E5DE;
  border-radius: 24px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 20px 50px rgba(22,23,28,.07);
}
.contact-form__title {
  margin: 0 0 6px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: .005em;
  color: var(--ink);
}
.contact-form__sub { margin: 0 0 30px; font-size: 15.5px; color: var(--ink-muted); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-row .field { margin-bottom: 0; }
.field > .field__label,
.field-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #3D3F47;
}
.field input,
.field textarea {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #DAD7CE;
  background: #FAFAF8;
  font-family: var(--f-body);
  font-size: 15px;
  color: #222;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; line-height: 1.6; min-height: 130px; }
.field input:focus,
.field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,108,0,.15);
}
.field input.is-error,
.field textarea.is-error { border-color: #D14328; box-shadow: 0 0 0 3px rgba(209,67,40,.14); }

/* Onderwerp-chips (radio) */
.topics { margin: 0 0 24px; padding: 0; border: 0; min-inline-size: 0; }
.topics__legend { font-size: 13.5px; font-weight: 600; color: #3D3F47; margin-bottom: 10px; padding: 0; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.topic-chips input { position: absolute; opacity: 0; width: 0; height: 0; }
.topic-chips label {
  display: inline-flex;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid #DAD7CE;
  background: #fff;
  color: #3D3F47;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.topic-chips label:hover { border-color: #B9B5A8; }
.topic-chips input:checked + label { background: #222222; color: #fff; border-color: #222222; }
.topic-chips input:focus-visible + label { box-shadow: 0 0 0 3px rgba(255,108,0,.25); }

.contact-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: 13.5px; font-weight: 600; color: var(--ink-muted); }
.form-status.is-error { color: #D14328; }

/* Succes-overlay */
.form-success {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}
.contact-form.is-sent .form-success { opacity: 1; pointer-events: auto; }
.form-success__check {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #15A06B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: #fff;
  margin-bottom: 22px;
}
.contact-form.is-sent .form-success__check { animation: popCheck .5s cubic-bezier(.2,.7,.2,1) both; }
.form-success__title { margin: 0 0 10px; font-family: var(--f-display); font-weight: 400; font-size: 26px; color: var(--ink); }
.form-success__text { margin: 0 0 24px; max-width: 340px; font-size: 15.5px; line-height: 1.6; color: var(--ink-muted); }
.form-success__reset {
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid #DAD7CE;
  background: #fff;
  cursor: pointer;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  transition: background .2s ease;
}
.form-success__reset:hover { background: var(--paper-3); }

@keyframes popCheck { 0% { transform: scale(0); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* --------------------------- INFO KOLOM ----------------------------- */
.contact-aside { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid #E7E5DE;
  border-radius: 18px;
  padding: 24px 26px;
  color: var(--ink);
  transition: transform .3s ease, box-shadow .3s ease;
}
a.contact-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22,23,28,.1); }
.contact-card__icon {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.contact-card__label {
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  margin-bottom: 3px;
}
.contact-card__value { font-family: var(--f-head); font-weight: 600; font-size: 17px; color: var(--ink); }
.hours__rows { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; color: #3D3F47; margin-top: 14px; }
.hours__row { display: flex; justify-content: space-between; }
.hours__row--muted { color: var(--muted-2); }
.hours__row span:last-child { font-weight: 600; }
.hours__row--muted span:last-child { font-weight: 400; }

/* ------------------------------- KAART ------------------------------ */
.map-wrap {
  position: relative;
  height: clamp(300px, 42vh, 440px);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line-1);
  background: linear-gradient(135deg, #1d2a30, #16323b);
}
.map-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 44px);
}
.map-road { position: absolute; height: 8px; border-radius: 6px; }
.map-road--1 { left: 18%; top: 30%; width: 60%; background: rgba(255,108,0,.4); transform: rotate(12deg); }
.map-road--2 { left: 8%; top: 62%; width: 50%; background: rgba(70,179,206,.4); transform: rotate(-8deg); }
.map-pin-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.map-pin {
  width: 54px;
  height: 54px;
  border-radius: 50% 50% 50% 0;
  background: var(--orange);
  transform: rotate(-45deg);
  box-shadow: 0 12px 24px rgba(0,0,0,.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-pin span { transform: rotate(45deg); font-size: 22px; }
.map-label {
  background: rgba(20,20,20,.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 12px 18px;
  text-align: center;
}
.map-label__name { font-family: var(--f-head); font-weight: 600; font-size: 15px; color: var(--text); }
.map-label__sub { font-size: 13px; color: #9FA2AC; }
.map-open {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 11px 20px;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,.3);
  transition: transform .25s ease;
}
.map-open:hover { transform: translateY(-2px); }

/* ----------------------------- RESPONSIVE --------------------------- */
@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .form-row { grid-template-columns: 1fr; }
}
