:root {
  --primary: #D71920;
  --primary-dark: #B51218;
  --footer-dark: #1B1B1D;
  --footer-smalltext: #D0D2D6;
  --dark: #0F0F10;
  --light: #F7F7F8;
  --text: #111114;
  --lighttext: #F5F5F6;
  --muted: #6B7280;
  --border: #E5E7EB;
  --shadow-1: 0 6px 20px rgba(17,17,20,.06);
  --shadow-2: 0 12px 32px rgba(17,17,20,.10);
  --radius: 14px;
}

/* Basistypografie */
body {
	height: 100%;
	margin: 0;
	font-family: "Inter", system-ui, sans-serif;
	color: var(--text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

.container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

main {
	min-height: calc(100vh - 500px); 
	display: block;
	z-index: auto;
	position: relative;
}

.page-header {
  background-color: #fff;
  z-index: 5;
  position: relative;
  border-bottom: 2px solid var(--primary);
  padding: 24px 0 12px;
}

.page-header h1 { margin-bottom: 0.3rem; }  

svg.icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .7rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: .9rem;
  cursor: pointer;
  transition: .2s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-outline { background: #fff; border: 1px solid var(--primary-dark); color: var(--text); }
.btn-primary:hover { filter: brightness(.93); }
.btn-outline:hover, .btn-dark:hover {  background: var(--primary); color: #fff; }

/* --- Header --- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #f8f9fa;
  border-bottom: 2px solid var(--border); /* of toch primary rood? */
}
.logo-img {
	max-height: 56px;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  position: relative;  
}
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; }
.brand .logo { width: 34px; height: 34px; border-radius: 8px; background: var(--primary); }
.nav-links { display: flex; gap: 1.2rem; font-weight: 600; }
.nav-cta { display: flex; gap: .6rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }

/* --- Search --- */
.search-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: 18px;
  margin-top: 18px;
}
.filters {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.filters label {
  font-size: .8rem;
  color: var(--muted);
}
.filters input, .filters select {
  width: 100%;
  padding: .7rem .8rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: .9rem;
}

/* --- Property Cards --- */
.grid { display: grid; gap: 18px; margin-top: 30px; }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.property-card {
  height: 100%;
  display: flex;
  flex-direction: column;  
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: all .2s ease;
}
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.property-media {
  height: 160px;
  background: #e9ecef;
  position: relative;
  overflow: hidden;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}
.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
}
.chip {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--primary);
  color: #fff;
  font-size: .75rem;
  padding: .3rem .6rem;
  border-radius: 999px;
}
.property-body { 
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	padding: 10px 10px 20px 10px;
}
.property-body h3 { 
	margin: 0.1rem 0 0.1rem;
	font-size: 1rem;
	line-height: 1.25;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.5em;
}
.property-body .meta {
  color: var(--muted);
  font-size: .85rem;
  margin-top: 0.2rem;
  line-height: 1.3;
}
.price {
	color: var(--primary);
	font-weight: 700;
	font-size: 1rem;
	margin-top: 0.35rem;
}
.property-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 0.4rem;  
}
.property-actions .btn {
  flex: 1;
  font-size: .8rem;
  padding: .5rem .7rem;
}

.property-body .meta.icons {
  display: flex;    
  align-items: center; 
  gap: 14px;          
  flex-wrap: wrap;     
}

.property-body .meta.icons .icon-wrap {
  display: flex;
  align-items: center;
  gap: 4px;              
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.4;
}

/* --- Onze diensten --- */
.services-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3,1fr);
  margin-top: 16px;
}
.service-card {
  border: 1px solid var(--border);
  border-bottom: 3px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  min-height: 230px;
  position: relative;
  padding-left: 30px;   
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--light);
  margin-bottom: 10px;
  flex-shrink: 0;
  box-shadow: var(--shadow-1);
}

.service-icon img {
  max-width: 35px;              
  max-height: 35px;
  object-fit: contain;      
  filter: grayscale(100%) brightness(0.3); 
  transition: filter .2s ease;
}

.service-card:hover {
  box-shadow: 0 12px 32px rgba(17, 17, 20, 0.15);
}

.service-card h3 {
  position: relative;
  font-size: 1.05rem;
  margin: 6px 0 10px;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.service-card h3::before {
  content: "";
  display: inline-block;
  width: 12px;   
  height: 12px;  
  background: var(--primary);
  border-radius: 3px; 
  flex-shrink: 0;
}

.service-card h3 { margin: 6px 0 6px; font-size: 1.05rem; }
.service-card p { color: var(--muted); margin: 0 0 12px; flex: 1; }
.service-card .service-link { align-self: flex-start; }

@media (max-width:1024px){ .services-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .services-grid{ grid-template-columns:1fr; } }

/* --- CTA --- */
.cta {
  background: var(--primary);
  color: #fff;
  border-radius: 0;
  margin: 60px 0;
  text-align: center;
}
.cta-inner {
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cta h3 { margin: 0; font-size: 1.4rem; }
.cta p { margin: 6px 0 0; opacity: .9; }
.cta-buttons { 
  display: flex;
  align-items: center; 
  gap: 14px;
  flex-wrap: wrap; 
}
.cta .btn { padding: .7rem 1rem; font-size: .9rem; }

/* =========================
   FOOTER — DIV + CSS Grid
   ========================= */

footer {
  border-top: 1px solid var(--border);
  margin-top: 50px;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--lighttext);
  background: var(--footer-dark);
  font-size: 15px;
}

.footer-top {
  padding: 30px 24px;
}


/* =========================================================
   HOOFDLAY-OUT FOOTER
   ========================================================= */

/* Brand links + grid rechts */
.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}


/* =========================================================
   BRANDING LINKS
   ========================================================= */

.footer-brand {
  flex: 1 1 90px;
  min-width: 240px;
}

.footer-brand .brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 800;
}

.footer-brand .logo {
  width: 34px;
  height: 34px;
  border-radius: 5px;
  background: var(--primary);
}

.footer-brand .brand-sub {
  margin: 8px 0 0;
  color: var(--footer-smalltext);
  line-height: 1.55;
}


/* =========================================================
   FOOTERKOLOMMEN
   ========================================================= */

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

/* Grid met 3 kolommen rechts */
.footer-links-grid {
  flex: 2 1 120px;
  min-width: 420px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  grid-auto-rows: min-content;
  column-gap: 32px;
  row-gap: 10px;
  align-items: start;
  justify-items: start;
}

.footer-links-grid .col-title {
  margin: 0;
  padding-bottom: 8px;
  color: var(--lighttext);
  font-size: 1.05rem;
  font-weight: 700;
}

.footer-links-grid .cell {
  margin: 0;
  justify-self: start;
  color: var(--footer-smalltext);
  font-size: .95rem;
  line-height: 1.55;
}

.footer-links-grid .cell a {
  color: var(--footer-smalltext);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-links-grid .cell a:hover {
  color: var(--primary);
}

.footer-links-grid .cell a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}


/* =========================================================
   CONTACTGEGEVENS
   ========================================================= */

.footer-links-grid .contact-cell {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  line-height: 1.55;
}

.footer-links-grid .contact-cell .icon {
  display: inline-block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  stroke: #D71920;
  opacity: .9;
  vertical-align: middle;
  transform: translateY(1px);
}

.footer-links-grid .contact-cell span {
  font-size: .95rem;
  line-height: 1.55;
}


/* =========================================================
   ONDERSTE FOOTERBALK
   ========================================================= */

/* Volledige balk over de hele breedte */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #A1A1A6;
  font-size: .85rem;
}

/*
  Inhoud binnen dezelfde kantlijnen als de rest van de website.
  Pas max-width aan wanneer jouw algemene websitecontainer
  een andere maximale breedte gebruikt.
*/
.footer-bottom-inner {
  box-sizing: border-box;
  padding-top: 16px;
  padding-bottom: 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
}

/* Voorkomt ongewenste standaardmarges */
.footer-bottom p,
.footer-copyright {
  margin: 0;
}

/* Rechterdeel: socialmedia + disclaimer */
.footer-bottom-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}


/* =========================================================
   SOCIALMEDIA-ICONEN
   ========================================================= */

.footer-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  opacity: .78;
  transition:
    opacity .2s ease,
    background-color .2s ease,
    transform .2s ease;
}

.footer-socials a:hover {
  color: #fff;
  background-color: var(--primary);
  opacity: 1;
  transform: translateY(-2px);
}

.footer-socials a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  opacity: 1;
}

.footer-socials img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}


/* =========================================================
   DISCLAIMER
   ========================================================= */

.footer-disclaimer,
.footer-bottom a.footer-disclaimer {
  display: inline-flex;
  color: var(--primary);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-disclaimer:hover,
.footer-bottom a.footer-disclaimer:hover {
  color: var(--primary-dark);
}

.footer-disclaimer:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {
  .footer-links-grid {
    min-width: 0;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-flex {
    flex-direction: column;
    gap: 20px;
  }

  .footer-brand {
    min-width: 0;
  }

  .footer-links-grid {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-bottom-right {
    justify-content: center;
    gap: 16px;
  }

  .footer-socials {
    justify-content: center;
  }
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {
  .footer-links-grid {
    min-width: 0;
    grid-template-columns: 1fr 1fr;
  }
  .nav-cta {
    display: none;
  }
}

@media (max-width: 640px) {
  .footer-flex {
    flex-direction: column;
    gap: 20px;
  }

  .footer-brand {
    min-width: 0;
  }

  .footer-links-grid {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-bottom-right,
  .footer-bottom > div:last-child {
    justify-content: center;
    gap: 16px;
  }

  .footer-socials {
    justify-content: center;
  }
}



/* --------------- Overige Responsive styles -------------- */
@media (max-width: 1024px) {
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .filters { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-buttons { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .grid.cols-4 { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
	background-color: #f8f9fa;
    border-top: 1px solid var(--border);
    padding: 10px 0;
	position: absolute;
	top: 100%;              
	left: 0;
	width: 100%;
	align-items: flex-start;
	padding: 10px 0;
	box-shadow: 0 4px 10px rgba(0,0,0,0.05);
	z-index: 999;
	transition: all 0.5s ease;	
    overflow-x: hidden;	
  }
  .nav-links.mobile-open a {
    border-top: 1px solid var(--border);
    width: 100%;
    padding: 12px 24px;
  }

  .nav-toggle {
	z-index: 1000;
	display: block;
  }
}
