/* =====================================================
   AgriServicesBV — Design System
   Fonts: Young Serif (display) + Figtree (body)
   ===================================================== */

/* --- Google Fonts preload (async) --- */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Figtree:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --green:       #1B2F4A;
  --green-mid:   #253F62;
  --sage:        #3D6A8E;
  --sage-light:  #6896B4;
  --amber:       #E8650A;
  --amber-light: #F5832E;
  --cream:       #F7F4EE;
  --stone:       #E8E2D6;
  --stone-dark:  #CFC8B8;
  --off-white:   #FDFCF9;
  --text:        #1A1C18;
  --text-mid:    #3D4039;
  --text-muted:  #6B6E65;
  --text-inv:    #F7F4EE;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Figtree', system-ui, sans-serif;

  --banner-h: 36px;
  --nav-h:    72px;
  --r-sm:     6px;
  --r-md:     12px;
  --r-lg:     20px;
  --shadow-sm: 0 2px 8px rgba(27,47,74,.08);
  --shadow-md: 0 6px 24px rgba(27,47,74,.12);
  --shadow-lg: 0 16px 48px rgba(27,47,74,.16);

  --trans: 0.28s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--off-white);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
}

/* --- Typography Scale --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  color: var(--green);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 600; }

p { max-width: 68ch; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.6rem;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 2rem;
}

.section { padding-block: 6rem; }
.section--tight { padding-block: 4rem; }
.section--flush { padding-block: 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--trans), color var(--trans),
              border-color var(--trans), transform var(--trans),
              box-shadow var(--trans);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
}
.btn-primary:hover {
  background: var(--amber-light);
  border-color: var(--amber-light);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--text-inv);
}

.btn-outline-inv {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-inv:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--sage);
  border-color: transparent;
  padding-inline: 0.5rem;
}
.btn-ghost:hover {
  color: var(--green);
  background: var(--stone);
}

/* --- Tag / Badge --- */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag-green { background: rgba(74,124,53,.12); color: var(--sage); }
.tag-amber { background: rgba(196,135,42,.12); color: var(--amber); }
.tag-stone { background: var(--stone); color: var(--text-mid); }

/* =====================================================
   TOP BANNER
   ===================================================== */
.top-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  height: var(--banner-h);
  background: var(--green);
  display: flex;
  align-items: center;
}
.top-banner-inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.top-banner a {
  color: rgba(255,255,255,0.82);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--trans);
  white-space: nowrap;
}
.top-banner a:hover { color: var(--amber-light); }
.top-banner .banner-icon {
  font-size: 0.8rem;
  opacity: 0.7;
}
.banner-sep {
  color: rgba(255,255,255,0.25);
  margin-inline: 1.1rem;
  font-size: 1rem;
  line-height: 1;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav {
  position: fixed;
  top: var(--banner-h); left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--trans), box-shadow var(--trans), backdrop-filter var(--trans);
}

.nav.scrolled {
  background: rgba(247,244,238,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--stone);
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  transition: color var(--trans);
}
.nav.scrolled .nav-logo-text {
  color: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-inv);
  position: relative;
  transition: color var(--trans);
}
.nav.scrolled .nav-links a { color: var(--text-mid); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 2px;
  background: var(--amber);
  transition: right var(--trans);
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  background: rgba(255,255,255,.12);
  border-radius: var(--r-sm);
  padding: 0.2rem;
  backdrop-filter: blur(4px);
  transition: background var(--trans);
}
.nav.scrolled .lang-switcher {
  background: var(--stone);
}
.lang-btn {
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  border: none;
  background: transparent;
  transition: background var(--trans), color var(--trans);
}
.nav.scrolled .lang-btn { color: var(--text-muted); }
.nav.scrolled .lang-btn.active { color: #fff; }
.lang-btn.active {
  background: var(--amber);
  color: #fff;
}
.lang-btn:hover:not(.active) {
  color: #fff;
  background: rgba(255,255,255,.15);
}
.nav.scrolled .lang-btn:hover:not(.active) {
  color: var(--text);
  background: var(--stone-dark);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}
.nav.scrolled .nav-hamburger span { background: var(--text); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: calc(var(--banner-h) + var(--nav-h));
  left: 0; right: 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--stone);
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
  box-shadow: var(--shadow-lg);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--stone);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .lang-switcher {
  background: var(--stone);
  width: fit-content;
  margin-top: 0.5rem;
}
.nav-mobile .lang-btn { color: var(--text-muted); }
.nav-mobile .lang-btn:hover:not(.active) {
  color: var(--text);
  background: var(--stone-dark);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/man-vrachtwagen-iveco.jpeg');
  background-size: cover;
  background-position: center 40%;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27,47,74,0.72) 0%,
    rgba(27,47,74,0.45) 50%,
    rgba(0,0,0,0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 2rem;
  padding-top: calc(var(--banner-h) + var(--nav-h));
}

.hero-logo {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.2s;
}
.hero-logo img {
  height: 100px;
  width: auto;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.4));
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.hero-title-row .hero-logo {
  margin-bottom: 0;
  flex-shrink: 0;
  order: 1;
}
.hero-title-row .hero-logo img {
  height: 140px;
  width: auto;
}
.hero-title-row h1 {
  margin-bottom: 0;
}

.hero-eyebrow {
  color: var(--amber-light);
  margin-bottom: 0.75rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.35s;
}

.hero h1 {
  color: #fff;
  max-width: 20ch;
  font-size: clamp(2.4rem, 4.8vw, 5.4rem);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.5s;
}
.hero h1 span.hero-sub-line {
  font-size: 0.7em;
  display: block;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 44ch;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.65s;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.8s;
}

.hero-badges {
  position: absolute;
  bottom: 3rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1s;
}

.hero-badge {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-md);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}
.hero-badge-icon {
  width: 36px;
  height: 36px;
  background: var(--amber);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-badge-icon svg { width: 18px; height: 18px; fill: #fff; }
.hero-badge-text strong { display: block; font-size: 0.85rem; font-weight: 600; }
.hero-badge-text span { font-size: 0.75rem; opacity: 0.75; }

/* =====================================================
   DIENSTEN (Services)
   ===================================================== */
.diensten { background: var(--cream); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header p {
  margin-inline: auto;
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-size: 1.05rem;
}

.diensten-logo {
  display: block;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  height: 160px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(16%) sepia(40%) saturate(800%) hue-rotate(185deg) brightness(85%) !important;
}

.dienst-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--off-white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans), box-shadow var(--trans);
  display: flex;
  flex-direction: column;
}
.dienst-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.dienst-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.dienst-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.dienst-card:hover .dienst-card-img img { transform: scale(1.06); }

.dienst-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dienst-card-body h3 { margin-bottom: 0.6rem; }
.dienst-card-body p {
  color: var(--text-muted);
  font-size: 0.93rem;
  flex: 1;
  margin-bottom: 1.25rem;
}

/* =====================================================
   WHY US
   ===================================================== */
.why-us { background: var(--green); }
.why-us .eyebrow { color: var(--sage-light); }
.why-us h2 { color: #fff; }

.why-grid { margin-top: 3rem; }

.why-card {
  padding: 2rem;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background var(--trans);
}
.why-card:hover { background: rgba(255,255,255,0.1); }

.why-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(196,135,42,0.2);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.why-card-icon svg { width: 26px; height: 26px; fill: var(--amber-light); }

.why-card h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.why-card p {
  color: rgba(255,255,255,0.62);
  font-size: 0.88rem;
  max-width: 28ch;
}

/* =====================================================
   ABOUT
   ===================================================== */
.about { background: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-images {
  position: relative;
}
.about-img-main {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-img-float {
  position: absolute;
  bottom: -2.5rem;
  right: -2.5rem;
  width: 55%;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--off-white);
}
.about-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text { padding-bottom: 2.5rem; }
.about-text h2 { margin-bottom: 1rem; }
.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--stone);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--green);
  line-height: 1;
}
.stat span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* =====================================================
   BRANDS
   ===================================================== */
.brands { background: var(--stone); }

.brands-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem 3rem;
  margin-top: 2rem;
}

.brands-strip img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.45);
  transition: filter var(--trans);
}
.brands-strip img:hover { filter: grayscale(0) opacity(1); }

/* =====================================================
   CONTACT
   ===================================================== */
.contact-section {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--off-white);
  border-radius: var(--r-md);
  border-left: 3px solid var(--amber);
  box-shadow: var(--shadow-sm);
}
.contact-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(196,135,42,.1);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; fill: var(--amber); }
.contact-item-text strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.contact-item-text a, .contact-item-text span {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}
.contact-item-text a:hover { color: var(--sage); }

.contact-map {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  background: var(--stone);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--green);
  color: rgba(255,255,255,0.7);
  padding-block: 3rem 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 52px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1) opacity(0.85);
}
.footer-logo p {
  font-size: 0.88rem;
  max-width: 30ch;
  line-height: 1.6;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--trans);
}
.footer-col ul li a:hover { color: var(--amber-light); }

.footer-col address {
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color var(--trans); }
.footer-bottom a:hover { color: var(--amber-light); }

/* =====================================================
   SCROLL REVEALS
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =====================================================
   VERKOOP PAGE — Listings
   ===================================================== */
.verkoop-hero {
  position: relative;
  height: 42vh;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.verkoop-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/diagnose-stelling-verrebroek-1-scaled.jpeg');
  background-size: cover;
  background-position: center 40%;
}
.verkoop-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(27,47,74,0.9) 0%,
    rgba(27,47,74,0.4) 60%,
    transparent 100%
  );
}
.verkoop-hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin-inline: auto;
  width: 100%;
}
.verkoop-hero-content h1 { color: #fff; margin-bottom: 0.5rem; }
.verkoop-hero-content p { color: rgba(255,255,255,0.75); font-size: 1.05rem; }

/* Filter Bar */
.filter-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--stone);
  padding-block: 1.25rem;
  position: sticky;
  top: calc(var(--banner-h) + var(--nav-h));
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.filter-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 2rem;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.filter-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.filter-select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--stone-dark);
  background: var(--off-white);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236B6E65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  cursor: pointer;
  transition: border-color var(--trans);
}
.filter-select:focus {
  outline: none;
  border-color: var(--sage);
}

.filter-divider {
  width: 1px;
  height: 28px;
  background: var(--stone-dark);
  margin-inline: 0.25rem;
}

.filter-reset {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--stone-dark);
  background: transparent;
  transition: background var(--trans), color var(--trans);
}
.filter-reset:hover { background: var(--stone); color: var(--text); }

/* Listings grid */
.listings-section { background: var(--cream); }

.listings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.listings-count {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.listings-count strong { color: var(--text); }

.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  min-height: 300px;
}

/* Skeleton loader */
.listing-skeleton {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--off-white);
  box-shadow: var(--shadow-sm);
}
.skeleton-img {
  aspect-ratio: 4/3;
  background: linear-gradient(90deg, var(--stone) 25%, var(--stone-dark) 50%, var(--stone) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.skeleton-body { padding: 1.5rem; }
.skeleton-line {
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--stone) 25%, var(--stone-dark) 50%, var(--stone) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  margin-bottom: 0.75rem;
}
.skeleton-line.short { width: 55%; }
.skeleton-line.medium { width: 75%; }
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Listing card */
.listing-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--off-white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans), box-shadow var(--trans);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.listing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.listing-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--stone);
  position: relative;
}
.listing-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.listing-card:hover .listing-card-img img { transform: scale(1.05); }

.listing-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--stone);
}
.listing-card-img-placeholder svg {
  width: 48px;
  height: 48px;
  fill: var(--stone-dark);
}

.listing-card-category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
}

.listing-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.listing-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.listing-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.listing-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.listing-card-meta svg { width: 13px; height: 13px; fill: var(--stone-dark); }

.listing-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--stone);
}
.listing-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--green);
  line-height: 1;
}
.listing-price span {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Empty state */
.listings-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 5rem 2rem;
  color: var(--text-muted);
}
.listings-empty svg {
  width: 56px;
  height: 56px;
  fill: var(--stone-dark);
  margin: 0 auto 1rem;
  display: block;
}
.listings-empty h3 {
  color: var(--text-mid);
  margin-bottom: 0.5rem;
}

/* =====================================================
   SUBMISSION MODAL
   ===================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(27,47,74,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--off-white);
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 620px;
  max-height: 92svh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.28s ease;
}
.modal-backdrop.open .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 2rem 2rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.modal-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
.modal-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 100%;
}

.modal-close {
  background: var(--stone);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--trans);
}
.modal-close:hover { background: var(--stone-dark); }
.modal-close svg { width: 16px; height: 16px; fill: var(--text-mid); }

/* Progress steps */
.modal-steps {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 1.5rem 2rem 0;
}
.modal-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  position: relative;
}
.modal-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 14px;
  left: calc(50% + 14px);
  right: calc(-50% + 14px);
  height: 2px;
  background: var(--stone-dark);
  z-index: 0;
}
.modal-step:not(:last-child).done::after { background: var(--sage); }

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--stone-dark);
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  z-index: 1;
  transition: background var(--trans), border-color var(--trans), color var(--trans);
}
.modal-step.active .step-dot {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.modal-step.done .step-dot {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
}
.step-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  white-space: nowrap;
}
.modal-step.active .step-label { color: var(--green); }

/* Form panels */
.modal-body { padding: 1.5rem 2rem 2rem; }

.modal-panel { display: none; }
.modal-panel.active { display: block; }

/* Form elements */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.form-group label .required { color: var(--amber); margin-left: 2px; }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--stone-dark);
  background: var(--off-white);
  color: var(--text);
  font-size: 0.93rem;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(74,124,53,.1);
}
.form-input.error, .form-select.error, .form-textarea.error {
  border-color: #c0392b;
}
.form-error {
  font-size: 0.75rem;
  color: #c0392b;
  margin-top: 0.25rem;
  display: none;
}
.form-error.visible { display: block; }

.form-textarea {
  resize: vertical;
  min-height: 90px;
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236B6E65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  cursor: pointer;
}

/* Image upload area */
.upload-area {
  border: 2px dashed var(--stone-dark);
  border-radius: var(--r-md);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--trans), background var(--trans);
}
.upload-area:hover, .upload-area.drag-over {
  border-color: var(--sage);
  background: rgba(74,124,53,.04);
}
.upload-area svg { width: 32px; height: 32px; fill: var(--stone-dark); }
.upload-area p { font-size: 0.88rem; color: var(--text-muted); max-width: 100%; margin: 0; }
.upload-area strong { color: var(--sage); cursor: pointer; }
.upload-area input[type="file"] { display: none; }
.upload-note { font-size: 0.74rem; color: var(--text-muted); margin-top: 0.25rem; }

.upload-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.upload-preview {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid var(--stone);
}
.upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.upload-preview-remove {
  position: absolute;
  top: 2px; right: 2px;
  width: 20px; height: 20px;
  background: rgba(0,0,0,.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background var(--trans);
}
.upload-preview-remove:hover { background: #c0392b; }
.upload-preview-remove svg { width: 10px; height: 10px; fill: #fff; }

/* Modal footer / nav */
.modal-footer {
  padding: 0 2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.modal-footer .btn-back {
  background: transparent;
  border: 1.5px solid var(--stone-dark);
  color: var(--text-mid);
  border-radius: var(--r-sm);
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--trans);
}
.modal-footer .btn-back:hover { background: var(--stone); }

/* Upload progress */
.upload-progress-bar {
  height: 4px;
  background: var(--stone);
  border-radius: 2px;
  margin-top: 1rem;
  overflow: hidden;
  display: none;
}
.upload-progress-bar.visible { display: block; }
.upload-progress-fill {
  height: 100%;
  background: var(--sage);
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s ease;
}

/* Success state */
.modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
  gap: 1.25rem;
}
.modal-success.active { display: flex; }
.success-icon {
  width: 72px;
  height: 72px;
  background: rgba(74,124,53,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-icon svg { width: 36px; height: 36px; fill: var(--sage); }
.modal-success h3 { color: var(--green); }
.modal-success p { color: var(--text-muted); max-width: 36ch; margin: 0 auto; }

/* =====================================================
   LISTING DETAIL MODAL
   ===================================================== */
.listing-modal .modal { max-width: 820px; }

.listing-modal-gallery {
  background: var(--stone);
  aspect-ratio: 16/9;
  overflow: hidden;
}
.listing-modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listing-modal-gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.listing-modal-gallery-placeholder svg {
  width: 64px;
  height: 64px;
  fill: var(--stone-dark);
}

.listing-modal-body {
  padding: 2rem;
}
.listing-modal-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.listing-modal-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: var(--r-md);
  margin-bottom: 1.5rem;
}
.listing-modal-spec strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.listing-modal-spec span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.listing-modal-contact {
  background: var(--green);
  border-radius: var(--r-md);
  padding: 1.5rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.listing-modal-contact-info strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 0.3rem;
}
.listing-modal-contact-info span {
  font-size: 1.1rem;
  font-weight: 600;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > :first-child { grid-column: 1 / -1; }
  .contact-grid { gap: 2.5rem; }
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-modal-specs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; --banner-h: 0px; }

  .top-banner { display: none; }

  .nav-links, .nav-right .btn { display: none; }
  .nav-right .lang-switcher { display: none; }
  .nav-hamburger { display: flex; }

  .section { padding-block: 4rem; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-img-float { right: -1rem; bottom: -1rem; width: 48%; }

  .hero-badges { display: none; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

  .listings-grid { grid-template-columns: 1fr; }

  .filter-inner { flex-direction: column; align-items: stretch; }
  .filter-group { justify-content: space-between; }
  .filter-divider { display: none; }
  .filter-reset { margin-left: 0; }

  .form-row { grid-template-columns: 1fr; }
  .listing-modal-specs { grid-template-columns: repeat(2, 1fr); }
  .listing-modal-contact { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding-inline: 1.25rem; }
  .grid-4 { grid-template-columns: 1fr; }
  .about-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .modal-steps .step-label { display: none; }
  .listing-modal-specs { grid-template-columns: 1fr 1fr; }
}
