/* Verhuis-pop-up */
.verhuis-popup {
  padding: 0;
  border: 0;
  border-radius: 0;
  width: min(600px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  overflow: auto;
  background: #fff;
  color: #222;
  font-family: inherit;
  font-size: 1.1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.verhuis-popup::backdrop {
  background: rgba(0, 0, 0, .85);
}

.verhuis-popup[open] {
  animation: verhuis-in .3s ease-out;
}

@keyframes verhuis-in {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

/* Achtergrond niet laten scrollen zolang de pop-up open is */
body:has(.verhuis-popup[open]) {
  overflow: hidden;
}

.verhuis-popup__inner {
  position: relative;
}

.verhuis-popup__foto {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.verhuis-popup__tekst {
  padding: 24px 28px 28px;
  border-top: 4px solid #cac716;
}

.verhuis-popup h2 {
  margin: 0 0 .5em;
  color: #6080AE;
  font-size: 1.9rem;
  line-height: 1.2;
}

.verhuis-popup p {
  margin: 0 0 1.25em;
  line-height: 1.6;
}

.verhuis-popup address {
  font-style: normal;
  line-height: 1.5;
  margin-bottom: 1em;
}

.verhuis-popup__contact {
  list-style: none;
  margin: 0 0 1.5em;
  padding: 0;
  line-height: 1.7;
}

.verhuis-popup__contact span {
  display: inline-block;
  min-width: 7.5em;
  color: #666;
}

.verhuis-popup__contact a {
  color: #6080AE;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

.verhuis-popup__contact a:hover,
.verhuis-popup__contact a:focus-visible {
  text-decoration: underline;
}

.verhuis-popup__knop {
  font: inherit;
  font-weight: 600;
  background: #6080AE;
  color: #fff;
  border: 0;
  border-radius: 0;
  padding: .75em 1.75em;
  cursor: pointer;
  transition: background .2s;
}

.verhuis-popup__knop:hover,
.verhuis-popup__knop:focus-visible {
  background: #4a6896;
}

.verhuis-popup__sluit {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, .92);
  color: #222;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.verhuis-popup__sluit:hover,
.verhuis-popup__sluit:focus-visible {
  background: #fff;
}

.verhuis-popup :focus-visible {
  outline: 3px solid #cac716;
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .verhuis-popup { font-size: 1.05rem; }
  .verhuis-popup__tekst { padding: 20px; }
  .verhuis-popup h2 { font-size: 1.5rem; }
  .verhuis-popup__contact span { display: block; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .verhuis-popup[open] { animation: none; }
}