/* ============================================================
   SGTransport — Hoofdstijlen
   Kleurpalet: zwart (#1a1a1a), rood (#cc0000), wit (#ffffff)
   ============================================================ */

:root {
  --red: #cc0000;
  --red-dark: #a80000;
  --red-light: #e60000;
  --black: #1a1a1a;
  --gray-900: #222222;
  --gray-700: #555555;
  --gray-500: #888888;
  --gray-300: #cccccc;
  --gray-100: #f5f5f5;
  --white: #ffffff;
  --font: 'Inter', 'Segoe UI', Arial, sans-serif;
  --shadow: 0 2px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --radius: 4px;
  --radius-lg: 8px;
  --transition: 0.2s ease;
  --max-width: 1200px;
  --header-height: 64px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--black); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { color: var(--gray-700); }

/* Layout */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--gray { background: var(--gray-100); }
.section--dark { background: var(--black); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: var(--gray-300); }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Section headers */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; max-width: 640px; margin: 0 auto; }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--white);
  border-bottom: 2px solid var(--red);
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
}
.logo-sg { color: var(--black); }
.logo-transport { color: var(--red); }

/* Nav */
nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--red); background: rgba(204,0,0,0.06); }
.nav-link--cta {
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  padding: 9px 20px;
}
.nav-link--cta:hover { background: var(--red-dark); color: var(--white); }

/* Language switcher */
.lang-switcher { display: flex; align-items: center; gap: 4px; margin-left: 16px; }
.lang-btn {
  background: none;
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all var(--transition);
  font-family: var(--font);
}
.lang-btn:hover, .lang-btn.active {
  border-color: var(--red);
  color: var(--red);
  background: rgba(204,0,0,0.06);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .hamburger { display: flex; }
  nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--red);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
  }
  nav.open { display: flex; }
  .nav-link { padding: 12px 16px; }
  .lang-switcher { margin-left: 0; padding-top: 8px; border-top: 1px solid var(--gray-100); }
}

/* Main content offset for fixed header */
main { padding-top: var(--header-height); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-content h1 { color: var(--white); margin-bottom: 24px; }
.hero-content h1 span { color: var(--red); }
.hero-content p { color: var(--gray-300); font-size: 1.15rem; margin-bottom: 40px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image {
  aspect-ratio: 4/3;
  background: var(--gray-700);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
  border: 2px dashed var(--gray-500);
}
.hero-image.has-img {
  background: transparent;
  border: none;
  overflow: hidden;
}
.hero-image.has-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-lg);
}
.dienst-img.has-img,
.about-img.has-img {
  background: var(--gray-100);
  border: none;
  overflow: hidden;
  padding: 24px;
}
.dienst-img.has-img img,
.about-img.has-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.coverage-img.has-img {
  background: var(--gray-100);
  border: none;
  overflow: hidden;
  padding: 0;
}
.coverage-img.has-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Service card image styles */
.svc-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 3px solid var(--red);
}
.svc-img--pickup  { background: linear-gradient(135deg, #1a1a1a 0%, #2d0000 100%); }
.svc-img--delivery{ background: linear-gradient(135deg, #cc0000 0%, #990000 100%); }
.svc-img--b2b     { background: linear-gradient(135deg, #111 0%, #cc0000 100%); }
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  font-family: var(--font);
  line-height: 1;
  white-space: nowrap;
}
.btn--primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn--outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--black); }
.btn--outline-red { background: transparent; color: var(--red); border-color: var(--red); }
.btn--outline-red:hover { background: var(--red); color: var(--white); }
.btn--full { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(204,0,0,0.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { color: var(--red); }
.feature-card h3 { margin-bottom: 12px; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card-img {
  height: 160px;
  background: var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  font-size: 0.85rem;
  font-style: italic;
  border-bottom: 3px solid var(--red);
}
.service-card-body { padding: 24px; }
.service-card-body h3 { margin-bottom: 10px; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--red);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 36px; }
.cta-band .btn--outline { border-color: var(--white); }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  background: var(--black);
  padding: 60px 0 50px;
  text-align: center;
  border-bottom: 4px solid var(--red);
}
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { color: var(--gray-300); font-size: 1.1rem; }

/* ============================================================
   PRICE CALCULATOR
   ============================================================ */
.calculator-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 760px) { .calculator-wrap { grid-template-columns: 1fr; } }

.calc-form { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.calc-result {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}
.calc-result h3 { color: var(--white); margin-bottom: 24px; font-size: 1.2rem; }
.price-line {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}
.price-line.total {
  border-bottom: none;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  padding-top: 20px;
  margin-top: 8px;
  border-top: 2px solid var(--red);
}
.price-line .amount { font-weight: 600; color: var(--white); }
.price-empty {
  text-align: center;
  padding: 40px 0;
  color: rgba(255,255,255,0.4);
  font-size: 0.95rem;
}
.calc-disclaimer {
  margin-top: 20px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border-left: 3px solid var(--red);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* ============================================================
   FORMS (shared)
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
}
.form-group label .required { color: var(--red); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,0,0,0.12);
}
.form-control.error { border-color: var(--red); }
.form-error { font-size: 0.8rem; color: var(--red); margin-top: 4px; display: none; }
.form-error.visible { display: block; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Checkbox */
.form-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.form-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}
.form-check span { font-size: 0.9rem; color: var(--gray-700); line-height: 1.4; }

/* Form section divider */
.form-section-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  padding: 20px 0 12px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 20px;
}
.form-section-title:first-child { padding-top: 0; }

/* Alert boxes */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 0.95rem;
  display: none;
}
.alert.visible { display: block; }
.alert--success { background: #e6f4ea; color: #1e7e34; border-left: 4px solid #28a745; }
.alert--error { background: #fdecea; color: #c0392b; border-left: 4px solid var(--red); }
.alert h4 { font-size: 1rem; margin-bottom: 6px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 760px) { .about-intro { grid-template-columns: 1fr; } }
.about-intro p { font-size: 1.1rem; margin-bottom: 16px; }
.about-img {
  aspect-ratio: 4/3;
  background: var(--gray-300);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
  border: 2px dashed var(--gray-500);
}

.sggroup-block {
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 700px) { .sggroup-block { grid-template-columns: 1fr; } }
.sggroup-logo-placeholder {
  width: 120px;
  height: 80px;
  background: var(--gray-700);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: 0.7rem;
  text-align: center;
  padding: 8px;
  flex-shrink: 0;
}
.sggroup-block h3 { color: var(--white); margin-bottom: 12px; }
.sggroup-block p { color: var(--gray-300); }

.value-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.value-icon {
  width: 60px;
  height: 60px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
}
.value-card h3 { margin-bottom: 10px; }

/* ============================================================
   DIENSTEN PAGE
   ============================================================ */
.dienst-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--gray-100);
}
.dienst-block:last-child { border-bottom: none; }
.dienst-block.reverse { }
@media (max-width: 760px) { .dienst-block { grid-template-columns: 1fr; } }
.dienst-img {
  aspect-ratio: 4/3;
  background: var(--gray-300);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
  border: 2px dashed var(--gray-500);
  order: 0;
}
.dienst-block.reverse .dienst-img { order: 2; }
@media (max-width: 760px) { .dienst-block.reverse .dienst-img { order: 0; } }
.dienst-content h2 { margin-bottom: 16px; }
.dienst-content p { margin-bottom: 20px; }
.dienst-list { margin-top: 16px; }
.dienst-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
}
.dienst-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Coverage map placeholder */
.coverage-block {
  text-align: center;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.coverage-block h3 { margin-bottom: 16px; }
.coverage-img {
  height: 200px;
  background: var(--gray-300);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  font-style: italic;
  margin: 24px auto 0;
  max-width: 400px;
  border: 2px dashed var(--gray-500);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h2 { margin-bottom: 32px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(204,0,0,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
}
.contact-item h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-500); margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--black); font-weight: 500; white-space: pre-line; }
.contact-item a:hover { color: var(--red); }

.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.contact-form h2 { margin-bottom: 28px; }

/* ============================================================
   BOEKING FORM
   ============================================================ */
.booking-wrap { max-width: 800px; margin: 0 auto; }
.booking-form { background: var(--white); border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow); }
@media (max-width: 600px) { .booking-form { padding: 24px; } }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 64px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.footer-brand .logo { font-size: 1.6rem; margin-bottom: 16px; }
.footer-brand .logo-sg { color: var(--white); }
.footer-brand p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; }

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--gray-500); font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--red); }
.footer-col p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.8; white-space: pre-line; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--gray-500); }

/* ============================================================
   UTILITIES
   ============================================================ */
/* ============================================================
   NIEUWE CALCULATOR — postcode-naar-postcode
   ============================================================ */

/* Layout: form links, prijspaneel rechts */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) { .calc-layout { grid-template-columns: 1fr; } }

/* Form-area: stapel van cards */
.calc-form-area { display: flex; flex-direction: column; gap: 20px; }

/* Individuele cards */
.calc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}
.calc-card h3 { font-size: 1.1rem; margin-bottom: 24px; }
.card-subtitle { font-size: 0.85rem; color: var(--gray-500); margin-top: -18px; margin-bottom: 16px; }

/* Route blok */
.route-block { padding: 4px 0; }
.route-block-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
  margin-bottom: 10px;
}
.route-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.route-dot--from { background: var(--red); }
.route-dot--to   { background: var(--black); }

/* Postcode rij */
.postcode-row { display: flex; gap: 8px; align-items: center; }
.country-select {
  padding: 10px 8px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  cursor: pointer;
  width: 64px;
  flex-shrink: 0;
}
.country-select:focus { outline: none; border-color: var(--red); }

.postcode-input-wrap { position: relative; flex: 1; }
.postcode-input {
  width: 100%;
  padding: 10px 38px 10px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.postcode-input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,0,0,0.1);
}
.postcode-status {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  font-weight: 700;
  transition: color var(--transition);
  pointer-events: none;
}
.postcode-status.ok      { color: #28a745; }
.postcode-status.error   { color: var(--red); }
.postcode-status.loading { color: var(--gray-500); }

.postcode-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-top: 6px;
  min-height: 20px;
}

.link-btn {
  background: none; border: none; cursor: pointer;
  color: var(--red); font-size: 0.85rem; font-family: var(--font);
  padding: 6px 0; text-decoration: underline; text-underline-offset: 2px;
}
.link-btn:hover { color: var(--red-dark); }

/* Connector tussen van/naar */
.route-connector {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 8px 0 8px 4px;
  flex-direction: column;
  align-items: flex-start;
}
.route-line  { width: 2px; height: 12px; background: var(--gray-300); margin-left: 4px; }
.route-arrow { font-size: 1rem; color: var(--gray-500); line-height: 1; margin-left: 0; }

/* Route info balk */
.route-info-bar {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 36px;
}
.route-info-bar.ok      { background: #e6f4ea; color: #1e7e34; }
.route-info-bar.error   { background: #fdecea; color: var(--red); }
.route-info-bar.loading { background: var(--gray-100); color: var(--gray-700); }

/* Extra diensten */
.services-list { display: flex; flex-direction: column; gap: 10px; }
.service-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.service-item:hover { border-color: var(--red); background: rgba(204,0,0,0.02); }
.service-item input[type="checkbox"] { display: none; }
.service-item input[type="checkbox"]:checked ~ .service-item-body { }
.service-item:has(input:checked) {
  border-color: var(--red);
  background: rgba(204,0,0,0.04);
}
.service-item-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.service-check-indicator {
  width: 20px; height: 20px;
  border: 2px solid var(--gray-300);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.service-item:has(input:checked) .service-check-indicator {
  background: var(--red); border-color: var(--red); color: var(--white);
}
.service-item:has(input:checked) .service-check-indicator::after { content: '✓'; font-size: 0.75rem; font-weight: 700; }
.service-label { font-size: 0.92rem; font-weight: 500; color: var(--black); flex: 1; }
.service-price { font-size: 0.92rem; font-weight: 700; color: var(--red); white-space: nowrap; }
.service-info  { font-size: 0.8rem; color: var(--gray-500); line-height: 1.4; padding-left: 0; }

/* Datumknoppen */
.date-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.date-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 16px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--transition);
  min-width: 80px;
}
.date-btn:hover { border-color: var(--red); }
.date-btn.active { border-color: var(--red); background: var(--red); color: var(--white); }
.date-btn-day  { font-size: 0.8rem; font-weight: 600; }
.date-btn-date { font-size: 0.85rem; font-weight: 700; }
.date-btn.active .date-btn-day,
.date-btn.active .date-btn-date { color: var(--white); }

/* Tijdvensters */
.time-windows { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .time-windows { grid-template-columns: 1fr; } }

.time-window-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 20px;
  border-left: 3px solid var(--red);
}
.time-window-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.time-window-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.4;
}
.time-window-note { font-size: 0.78rem; color: var(--gray-500); margin-top: 8px; }

/* Slot navigatie */
.slot-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.slot-nav-btn {
  background: none; border: 1.5px solid var(--gray-300);
  border-radius: var(--radius); padding: 6px 16px;
  font-size: 0.88rem; font-weight: 600; cursor: pointer;
  font-family: var(--font); color: var(--black);
  transition: all var(--transition);
}
.slot-nav-btn:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.slot-nav-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.slot-counter { font-size: 0.85rem; color: var(--gray-500); }

/* Prijspaneel */
.calc-price-panel { position: sticky; top: calc(var(--header-height) + 24px); }
.price-panel-inner {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.price-panel-inner h3 { color: var(--white); font-size: 1rem; margin-bottom: 8px; }
.price-meta { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 20px; }
.price-lines { margin: 16px 0; }
.price-line {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.price-line .amount { font-weight: 600; color: var(--white); }
.price-line.total {
  border-bottom: none; border-top: 2px solid var(--red);
  padding-top: 16px; margin-top: 8px;
  font-size: 1.3rem; font-weight: 700;
  color: var(--white);
}
.price-line.total .amount { color: var(--white); }
.calc-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.05);
  border-left: 2px solid var(--red);
  border-radius: 2px;
}
.price-placeholder {
  text-align: center;
  padding: 40px 0;
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
}

/* Autocomplete dropdown */
.ac-dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 0; right: 0;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  max-height: 300px;
  overflow-y: auto;
}
.ac-item {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition);
}
.ac-item:last-child { border-bottom: none; }
.ac-item:hover, .ac-item.active { background: rgba(204,0,0,0.05); }
.ac-item-main { font-size: 0.92rem; font-weight: 600; color: var(--black); }
.ac-item-sub  { font-size: 0.78rem; color: var(--gray-500); margin-top: 2px; }

/* Quantity input (+/−) */
.qty-input-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.qty-input-wrap:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(204,0,0,0.1); }
.qty-btn {
  background: var(--gray-100);
  border: none;
  width: 40px;
  height: 44px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--black);
  flex-shrink: 0;
  transition: background var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { background: var(--gray-300); }
.qty-input {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  flex: 1;
  padding: 10px 4px;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.text-center { text-align: center; }
.text-red { color: var(--red); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
