/* Wijkopenjehuis.nl — huisstijl */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }

:root {
  --navy: #1b365e;
  --orange: #f39c12;
  --orange-light: #ffa117;
  --text: #54595f;
  --grey-bg: #f1f2f3;
  --border: #c7c7c7;
  --white: #fff;
  --content: 1350px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 20px; }

body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0 0 15px; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

.container { max-width: var(--content); margin: 0 auto; padding: 0 10px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--white); color: var(--navy); padding: 8px 16px; }
.skip-link:focus { left: 10px; }

.eyebrow {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--orange-light);
}

.title { font-size: 35px; line-height: 43px; color: var(--navy); margin-bottom: 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 0;
  background: var(--orange-light);
  color: var(--white);
  font: 500 15px/1 "Poppins", sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--orange); }
.btn svg { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); position: relative; z-index: 10; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 117px; padding: 10px 0; max-width: var(--content); }
.logo img { width: 135px; height: auto; }
.nav ul { display: flex; list-style: none; margin: 0 47px 0 0; padding: 0; }
.nav a {
  display: block;
  padding: 10px 20px;
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .2px;
  text-decoration: none;
  transition: color .2s;
}
.nav a:hover, .nav a.active { color: var(--orange-light); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; display: block; }

/* ---------- Hero / CTA ---------- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 50px 0;
  background: var(--navy) center / cover no-repeat;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(122deg, #000 0%, rgba(0, 0, 0, .63) 100%);
  opacity: .73;
}
.hero--top { background-image: url("../img/hero.webp"); }
.hero--bottom { background-image: url("../img/cta-bg.webp"); }
.hero .container { position: relative; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-text { flex: 0 1 645px; }
.hero-text h1, .hero-text h2 { font-size: 40px; line-height: 48px; color: var(--white); margin-bottom: 20px; }
.hero-text p:not(.eyebrow) { font-size: 17px; line-height: 1.5; }
.hero--top .form-card { margin-right: 80px; }

.checklist { list-style: none; margin: 14px 0 0; padding: 0; }
.checklist li { display: flex; align-items: flex-start; gap: 15px; font-size: 17px; line-height: 1.5; padding-bottom: 5px; }
.checklist svg { flex: 0 0 15px; width: 15px; height: 15px; margin-top: 6px; fill: var(--orange); }

/* ---------- Formulier ---------- */
.form-card {
  flex: 0 0 484px;
  max-width: 484px;
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  color: var(--text);
  text-align: center;
}
.form-card h2 { font-size: 25px; line-height: 1; color: var(--navy); margin-bottom: 20px; }
.form-card > p:not(.form-note) { font-size: 15px; line-height: 1.5; }

.steps { display: flex; align-items: center; margin: 15px 0 30px; }
.steps span {
  flex: 0 0 30px;
  height: 30px;
  border: 1px solid #000;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #000;
}
.steps span.current { border-color: var(--orange); color: var(--orange); }
.steps span.done { border-color: var(--orange); background: var(--orange); color: var(--white); }
.steps i { flex: 1; height: 1px; background: var(--border); margin: 0 10px; }

.lead-form fieldset { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lead-form .full { grid-column: 1 / -1; }
.lead-form label.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lead-form input, .lead-form textarea {
  width: 100%;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font: 400 15px/21px "Poppins", sans-serif;
  color: var(--text);
  background: var(--white);
  min-height: 40px;
}
.lead-form textarea { min-height: 100px; resize: vertical; }
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--navy); }
.lead-form input.invalid { border-color: #d63638; }
.form-buttons { grid-column: 1 / -1; display: flex; gap: 10px; }
.form-buttons button {
  flex: 1;
  height: 40px;
  border: 0;
  border-radius: 3px;
  background: var(--orange);
  color: var(--white);
  font: 600 15px/1 "Poppins", sans-serif;
  cursor: pointer;
  transition: background .2s;
}
.form-buttons button:hover { background: var(--orange-light); }
.form-buttons button.prev { background: var(--white); color: var(--navy); border: 1px solid var(--border); }
.hidden-field { display: none; }

/* Zonder JavaScript staan alle stappen onder elkaar */
.js .lead-form fieldset:not(.active) { display: none; }
.no-js .steps, .no-js .form-buttons button[data-step] { display: none; }
.no-js .lead-form fieldset + fieldset { margin-top: 10px; }

.form-note { margin: 20px 0 0; font-size: 12px; line-height: 1.5; font-style: italic; }
.form-note .stars { display: inline-flex; gap: 2px; vertical-align: -2px; margin-left: 6px; }
.form-note .stars svg { width: 12px; height: 12px; fill: var(--navy); }

/* ---------- Over ons ---------- */
.about { padding: 90px 0 70px; }
.about .container { display: grid; grid-template-columns: 550px 655px; gap: 0 125px; align-items: center; }
.about .map { justify-self: end; width: 445px; }
.about .btn { margin-top: 20px; }

/* ---------- Waarom ---------- */
.why {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 70px 0 50px;
  text-align: center;
}
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/waarom-bg.webp") -40px 0 / 1500px auto no-repeat;
  opacity: .08;
}
.why .container { position: relative; }
.why .container { max-width: var(--content); padding: 0; }
.why .title { color: var(--white); line-height: 1; margin-bottom: 30px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.card { background: var(--white); border-radius: 10px; padding: 30px 20px; }
.card img { width: 96px; height: 96px; margin: 0 auto 10px; }
.card h3 { color: #000; font-size: 17px; line-height: 1; margin-bottom: 20px; }
.card p { font-size: 14px; line-height: 1.5; }

/* ---------- Werkwijze ---------- */
.process { padding: 70px 0 80px; }
.process .container { display: grid; grid-template-columns: 520px 1fr; gap: 0 195px; }
.contact-box {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 35px;
  padding: 20px;
  background: var(--navy);
  border-radius: 10px;
  color: var(--white);
}
.contact-box img { width: 125px; }
.contact-box h3 { font-size: 18px; line-height: 1; color: var(--white); margin-bottom: 10px; }
.contact-box a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; text-decoration: none; }
.contact-box a:hover { text-decoration: underline; }
.contact-box svg { width: 14px; height: 14px; fill: var(--orange); }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 22px; top: 20px; bottom: 120px; width: 4px; background: #dfe7ee; }
.timeline li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 18px; margin-bottom: 65px; }
.timeline li:last-child { margin-bottom: 0; }
.timeline .dot {
  width: 48px;
  height: 48px;
  margin-top: 20px;
  border-radius: 50%;
  background: #f4f4f4;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px #e6e6e6;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}
.timeline .dot svg { width: 22px; height: 22px; fill: #d4d4d4; }
.timeline .box { position: relative; background: var(--grey-bg); padding: 45px 25px 40px; }
.timeline .box::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 37px;
  border: 8px solid transparent;
  border-left: 0;
  border-right-color: #333;
}
.timeline li:nth-child(2) .box::before { border-right-color: var(--orange); }
.timeline h3 { font-size: 20px; line-height: 30px; color: var(--navy); margin-bottom: 15px; }
.timeline p { line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq { background: var(--grey-bg); padding: 95px 0 85px; }
.faq .container { max-width: var(--content); padding: 0; }
.faq .eyebrow, .faq .title { text-align: center; }
.faq .title { margin-bottom: 40px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; align-items: start; padding: 0 10px; }
.faq details {
  background: var(--white);
  border: 1px solid #dcdcdc;
  border-radius: 25px;
  margin-bottom: 25px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 16px;
  font-weight: 500;
  color: #000;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: 0 0 14px; width: 14px; height: 14px; fill: #000; transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px 44px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--white); font-size: 14px; padding: 60px 0 0; }
.site-footer a { text-decoration: none; color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: var(--orange-light); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: 40px; }
.site-footer h2.footer-sub { margin-top: 30px; }
.site-footer h2 { font-size: 16px; color: var(--white); margin-bottom: 15px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-cities ul { columns: 2; column-gap: 30px; }
.footer-bottom { margin: 50px 0 0; padding: 25px 10px; border-top: 1px solid rgba(255, 255, 255, .12); text-align: center; font-size: 13px; }

/* ---------- Landingspagina's ---------- */
.breadcrumbs { font-size: 13px; margin-bottom: 25px; color: rgba(255, 255, 255, .75); }
.breadcrumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumbs a:hover { color: var(--orange-light); }
.breadcrumbs span[aria-hidden] { margin: 0 6px; }
.hero--landing .hero-text h1 { font-size: 38px; line-height: 46px; }

.content { padding: 80px 0 70px; }
.prose { max-width: 860px; }
.prose h2 { font-size: 26px; line-height: 34px; color: var(--navy); margin: 45px 0 15px; }
.prose ul, .prose ol { margin: 0 0 15px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a:not(.btn) { color: var(--navy); font-weight: 500; }
.prose .btn { margin-top: 25px; }
.summary { background: var(--grey-bg); border-left: 4px solid var(--orange); border-radius: 0 10px 10px 0; padding: 25px 30px; }
.summary h2 { margin-top: 0; font-size: 20px; line-height: 1.3; }
.summary ul { margin-bottom: 0; }

.cities { padding: 80px 0; text-align: center; }
.cities .container > p:not(.eyebrow) { max-width: 700px; margin: 0 auto 30px; }
.city-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.city-link {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid #dcdcdc;
  border-radius: 25px;
  background: var(--white);
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.city-link:hover { border-color: var(--orange); color: var(--orange); }

/* Homepage: blok kamerverhuur */
.niche { background: var(--white); padding: 80px 0; }
.niche .niche-card { border: 1px solid #e3e5e8; }
.niche-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 10px 0 40px; }
.niche-card { background: var(--white); border-radius: 10px; padding: 30px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: box-shadow .2s; }
.niche-card:hover { box-shadow: 0 6px 24px rgba(27, 54, 94, .12); }
.niche-card h3 { color: var(--navy); font-size: 20px; line-height: 1.3; margin-bottom: 12px; }
.niche-card p { flex: 1; }
.niche-card span { color: var(--orange); font-weight: 600; margin-top: 10px; }
.niche .city-list { justify-content: flex-start; }

/* ---------- Tekstpagina's ---------- */
.page { padding: 70px 0 90px; }
.page .container { max-width: 900px; }
.page h1 { font-size: 35px; line-height: 43px; color: var(--navy); margin-bottom: 25px; }
.page h2 { font-size: 20px; line-height: 30px; color: var(--navy); margin: 30px 0 10px; }
.page ul { margin: 0 0 15px; padding-left: 20px; }
.page li { margin-bottom: 4px; }
.page .btn { margin-top: 20px; }

/* ---------- Kleinere laptops ---------- */
@media (max-width: 1380px) {
  .container, .site-header .container { padding-left: 20px; padding-right: 20px; }
  .about .container { grid-template-columns: 1fr 1fr; gap: 0 60px; }
  .process .container { grid-template-columns: 1fr 1fr; gap: 0 60px; }
  .why .container, .faq .container { padding: 0 20px; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .nav a { padding: 10px 12px; font-size: 16px; }
  .nav ul { margin-right: 0; }
  .hero .container { padding: 0 20px; }
  .hero--top .form-card { margin-right: 0; }
  .form-card { flex-basis: 420px; }
  .about .container, .process .container { grid-template-columns: 1fr 1fr; gap: 40px; padding: 0 20px; }
  .about .map { width: 100%; }
  .cards { grid-template-columns: 1fr 1fr; padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .niche-grid { grid-template-columns: 1fr; }
}

/* ---------- Mobiel ---------- */
@media (max-width: 767px) {
  .site-header .container { min-height: 115px; padding: 10px 20px; }
  .logo img { width: 131px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); border-top: 1px solid rgba(255,255,255,.1); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; margin: 0; }
  .nav a { padding: 14px 20px; }

  .hero { padding: 60px 0 50px; min-height: 0; }
  .hero--top { background-image: url("../img/hero-800.webp"); }
  .hero .container { flex-direction: column; align-items: stretch; padding: 0 30px; gap: 50px; }
  .hero-text { flex-basis: auto; }
  .hero-text h1, .hero-text h2 { font-size: 30px; line-height: 39px; }
  .hero-text p, .checklist li { font-size: 16px; }
  .hero--bottom .hero-text { text-align: center; }
  .hero--bottom .checklist li { justify-content: center; text-align: center; }
  .form-card { flex-basis: auto; max-width: none; }
  .lead-form fieldset { grid-template-columns: 1fr; }

  .title { font-size: 28px; line-height: 36px; }
  .about { padding: 60px 0; }
  .about .container, .process .container { grid-template-columns: 1fr; padding: 0 30px; gap: 40px; }
  .about .map { order: 2; justify-self: center; max-width: 330px; }
  .why { padding: 60px 30px; }
  .cards { grid-template-columns: 1fr; padding: 0; gap: 25px; }
  .process { padding: 60px 0; }
  .contact-box { flex-direction: column; text-align: center; gap: 15px; padding: 25px 20px; }
  .contact-box img { width: 90px; }
  .faq { padding: 60px 30px; }
  .faq-grid { grid-template-columns: 1fr; padding: 0; }
  .why .container, .faq .container { padding: 0; }
  .timeline li { grid-template-columns: 40px 1fr; gap: 12px; }
  .timeline .dot { width: 40px; height: 40px; }
  .timeline::before { left: 18px; }
  .timeline .box { padding: 25px 15px; }
  .timeline .box::before { top: 32px; }
  .page { padding: 50px 0 60px; }
  .page .container { padding: 0 30px; }
  .hero--landing .hero-text h1 { font-size: 28px; line-height: 37px; }
  .content { padding: 50px 0; }
  .content .container, .cities .container, .niche .container { padding: 0 30px; }
  .prose h2 { font-size: 22px; line-height: 30px; }
  .summary { padding: 20px; }
  .cities, .niche { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 0 30px; }
  .footer-cities ul { columns: 2; }
}
.niche-sub { color: var(--navy); font-size: 18px; margin: 30px 0 15px; }
.niche > .container > p a { color: var(--navy); font-weight: 600; }

/* Hamburgermenu vanaf tabletformaat (6 menu-items passen niet naast het logo) */
@media (max-width: 1024px) {
  .site-header .container { padding-left: 20px; padding-right: 20px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); border-top: 1px solid rgba(255,255,255,.1); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; margin: 0; }
  .nav a { padding: 14px 20px; font-size: 17px; }
}

/* Hero en formulier onder elkaar op smallere tablets */
@media (max-width: 900px) {
  .hero .container { flex-direction: column; align-items: stretch; }
  .hero-text { flex-basis: auto; min-width: 0; }
  .form-card { flex-basis: auto; max-width: 560px; width: 100%; align-self: center; }
}

/* Formulier stap 3: type pand en bijzonderheden */
.lead-form select {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font: 400 15px/21px "Poppins", sans-serif;
  color: var(--text);
  background: var(--white);
}
.kenmerken { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; text-align: left; font-size: 14px; }
.kenmerken p { grid-column: 1 / -1; margin: 4px 0 2px; font-weight: 500; color: var(--navy); }
.kenmerken label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.kenmerken input { width: 16px; height: 16px; min-height: 0; margin: 0; accent-color: var(--orange); }

/* ---------- Cookiebanner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: var(--white);
  color: var(--text);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
  font-size: 14px;
  line-height: 1.5;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1; }
.cookie-banner strong { display: block; color: var(--navy); }
.cookie-banner a { color: var(--navy); }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-buttons button {
  min-width: 110px;
  height: 40px;
  border-radius: 3px;
  font: 600 14px/1 "Poppins", sans-serif;
  cursor: pointer;
  border: 1px solid var(--navy);
  background: var(--white);
  color: var(--navy);
}
.cookie-buttons button[data-consent="granted"] { background: var(--navy); color: var(--white); }
.site-footer .cookie-settings { color: inherit; }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-buttons button { flex: 1; }
}
