/* ===== BASISINSTELLINGEN ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f8f8;
  color: #111;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

/* ===== CONTAINERS ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  padding: 0.5rem 1rem;
  border-bottom: 2px solid #d60000;
  z-index: 1000;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.header-logo {
  height: 250px; /* of bv. 150px */
  max-height: 500px;
  width: auto;  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: transparent; /* indien je geen zwart vlak wil */
}

.header-logo img {
  height: 250px; /* of bv. 150px */
  max-height: 500px;
  width: auto;
}
.logo-slogan {
  font-size: 0.7rem;
  color: #444;
  margin-top: 0.3rem;
  text-align: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-left: 3rem; /* Voeg deze regel toe om ruimte links van het menu te creëren */
}

.nav-links li a {
  font-weight: bold;
  color: #111;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #d60000;
}

/* ===== HERO / SLIDESHOW ===== */
.hero-section {
  height: calc(100vh - 100px); /* 100px = jouw vaste headerhoogte */
  margin-top: 100px; /* zodat de header niet overlapt */
  position: relative;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  color: white;
  padding: 2rem;
}

.hero-overlay h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  color: #d60000;
  text-shadow:
    -1px -1px 0 white,
    1px -1px 0 white,
    -1px 1px 0 white,
    1px 1px 0 white,
    2px 2px 6px #000; /* De originele zwarte schaduw behouden voor diepte */
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px #000;
}

.cta-button {
  background: #d60000;
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #a80000;
  color: white;
}

/* ===== BLOKKENSTRUCTUUR ===== */
.content-block {
  padding: 6rem 2rem;
  width: 100%;
}

.content-block.light {
  background-color: #ffffff;
  color: #111;
}

.content-block.dark {
  background-color: #f4f4f4;
  color: #111;
}

.page-hero.red-accent {
  padding-top: 160px;
  
}
.content-block.red-accent {
  background-color: #d60000;
  color: white;
}

.content-block.center {
  text-align: center;
}

.content-block .container-wide,
.content-block .container-narrow {
  text-align: center;
}

.content-block h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.content-block:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;
}

.content-block.tight {
  padding: 3rem 2rem;
}

/* ===== TROEVEN / LISTEN ===== */
.troeven-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  justify-items: center;
}

.troef {
  background: white;
  padding: 1.5rem;
  border-left: 5px solid #d60000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-weight: 500;
  border-radius: 6px;
  max-width: 100%;
  text-align: left;
}

.diensten-rij {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.diensten-afbeelding img {
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  flex: 1 1 450px;
}

.diensten-content {
  flex: 1 1 500px;
}

.diensten-lijst.modern {
  list-style: none;
  padding: 0;
  margin: 0;
}

.diensten-lijst.modern li {
  background: #fff;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 1.1rem;
  position: relative;
  padding-left: 2.5rem;
  border-left: 4px solid #d60000;
}

.diensten-lijst.modern li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  color: #d60000;
  font-weight: bold;
  font-size: 1.3rem;
}
/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 2rem;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ===== FORMULIEREN ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 2rem auto 0 auto;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
}

.contact-form button {
  background: #d60000;
  color: white;
  font-weight: bold;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #f4f4f4;
  color: #555;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  margin-top: auto;
}

.pilot-footer-link img {
  max-height: 28px;
  opacity: 0.4;
  margin-top: 0.5rem;
}

/* ===== RESPONSIVE NAVIGATION ===== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 2rem 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 999;
	margin-left: 0; /* Reset de margin op mobiel, zodat het menu de volle breedte kan innemen */
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li a {
    font-size: 1.5rem;
    padding: 1rem;
  }

  body.menu-open {
    overflow: hidden;
  }

  .header-logo {
    height: 70px;
  }
}


/* === VISUEEL MOOIERE BLOKKENSTRUCTUUR === */
.content-block {
  padding: 6rem 2rem;
  margin-bottom: 0;
  background-color: #fff;
}

.content-block + .content-block {
  margin-top: 2rem;
}

.content-block h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #222;
  border-bottom: 3px solid #d60000;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.content-block p {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
  color: #333;
  line-height: 1.75;
}

ul.diensten-lijst {
  text-align: left;
  margin: 0 auto;
  max-width: 800px;
  padding-left: 1.5rem;
  list-style-type: "✓ ";
  color: #333;
  line-height: 1.7;
}

/* Hero aanpassing na vaste header */
.page-hero {
  padding-top: 140px; /* genoeg ruimte onder header */
  padding-bottom: 60px;
  background: #fafafa;
  text-align: center;
}

.page-hero p {
  font-size: 1.2rem;
  color: #666;
}

/* Gallery verbeterd */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* Call to action */
.btn-primary {
  display: inline-block;
  margin-top: 2rem;
  background-color: #d60000;
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #b00000;
}

/* Titels met ruimte */
.content-block.center h2,
.page-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #111;
}

/* Centrale uitlijning in elk blok */
.content-block .container-wide,
.content-block .container-narrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Tekst netjes gecentreerd en luchtig */
.content-block p,
ul.diensten-lijst,
.troeven-grid {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Titels met ruimte en centrering */
.content-block h2,
.page-hero h1 {
  text-align: center;
  margin-bottom: 2rem;
}

/* Gallery netjes centreren */
.gallery-grid {
  justify-items: center;
}

/* Hero paragraph centreren */
.page-hero p {
  font-size: 1.2rem;
  color: #555;
}

/* === TEGEL LAYOUT VOOR OVER-ONS === */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tile {
  background-color: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: start;
  transition: transform 0.3s ease;
}

.tile:hover {
  transform: translateY(-5px);
}

.tile img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1rem;
  object-fit: cover;
}

.tile h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: #d60000;
}

.tile p {
  font-size: 1rem;
  color: #333;
}

/* Meer ruimte boven de introductie op over-ons */
.page-hero {
  padding: 160px 2rem 60px 2rem;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.1rem;
  color: #444;
}

/* === FORMULIER LAYOUT AANVRAAG === */
.form-tile-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 2rem;
}

.tile {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  flex: 1 1 400px;
  max-width: 500px;
  box-sizing: border-box;
}

.tile h3 {
  font-size: 1.4rem;
  color: #d60000;
  margin-bottom: 1rem;
  border-bottom: 3px solid #d60000;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.aanvraag-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.aanvraag-form .form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.aanvraag-form .form-row input {
  flex: 1 1 47%;
}

.aanvraag-form input,
.aanvraag-form textarea {
  padding: 0.9rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.aanvraag-form textarea {
  min-height: 100px;
  resize: vertical;
}

.aanvraag-form button {
  background-color: #d60000;
  color: white;
  font-weight: bold;
  padding: 0.9rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

.aanvraag-form button:hover {
  background-color: #b00000;
}
/* ===== FULLSCREEN SLIDESHOW FIX ===== */
.hero-section {
  height: calc(100vh - 100px); /* 100px = jouw vaste headerhoogte */
  margin-top: 100px; /* zodat de header niet overlapt */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

@media (max-width: 768px) {
  .hero-section {
    height: calc(100vh - 80px); /* kleinere headerhoogte */
    margin-top: 80px;
  }
}

/* ===== PAGE TITLES: EXTRA RUIMTE ONDER HEADER ===== */
.page-hero h1 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.page-hero p {
  margin-bottom: 2rem;
}

/* ===== BLOKSPACING TUSSEN TITELS EN INHOUD ===== */
.content-block h2 {
  margin-bottom: 1.5rem;
}

.content-block p,
.content-block ul,
.content-block .tile-grid {
  margin-bottom: 2rem;
}

/* ===== BLOKSTRUCTUUR RESPONSIVE (OVER ONS, DIENSTEN...) ===== */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.tile {
  background-color: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 100%;
  width: 100%;
  transition: transform 0.3s ease;
}

.tile:hover {
  transform: translateY(-5px);
}

/* ===== UNIFORME AFSTAND TUSSEN BLOKKEN ===== */
.content-block + .content-block {
  margin-top: 4rem;
}

/* ===== VERFIJNING CONTACTPAGINA ===== */
.form-tile-grid {
  background: #fefefe;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 2rem;
  gap: 3rem;
}

.tile {
  background: white;
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.tile h3 {
  font-size: 1.6rem;
  color: #d60000;
  margin-bottom: 1rem;
  border-bottom: 2px solid #d60000;
  padding-bottom: 0.4rem;
}

input, textarea {
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus,
textarea:focus {
  border-color: #d60000;
  box-shadow: 0 0 5px rgba(214, 0, 0, 0.3);
  outline: none;
}

button.btn-primary {
  background-color: #d60000;
  border-radius: 8px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(214, 0, 0, 0.25);
  transition: background 0.3s ease, transform 0.2s ease;
}

button.btn-primary:hover {
  background-color: #b00000;
  transform: translateY(-2px);
}
.section-title {
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  margin: 0.5rem auto 0;
  width: 80px;
  border-bottom: 4px solid #d60000;
}

.intro-text {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  line-height: 1.8;
  color: #333;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  justify-items: center;
}

.tile {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  height: 100%;
}

.tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.tile-title {
  font-size: 1.5rem;
  color: #d60000;
  margin-bottom: 1rem;
  font-weight: bold;
}

.tile-text {
  font-size: 1.1rem;
  color: #555;
}

.diensten-lijst {
  list-style: none;
  padding: 0;
  margin: 2rem auto 0;
  max-width: 600px;
  text-align: left;
}

.diensten-lijst li {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.diensten-lijst li::before {
  content: \"✓\";
  color: #d60000;
  position: absolute;
  left: 0;
}
.foto-blok {
  padding: 5rem 2rem;
  background-color: #fff;
  margin-top: 2rem;
}

.foto-rij {
  display: flex;
  align-items: center; /* <<< dit centreert verticaal */
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 2rem auto 4rem auto; /* extra witruimte boven/onder */
}

.foto-titel {
  flex: 0 0 320px;
  display: flex;
  justify-content: center;
  align-items: center;   /* <<< deze regel centreert de titel in de hoogte */
}

.foto-titel h2 {
  margin: 0;
  padding: 0 0 0.5rem 0;
  border-bottom: 4px solid #d60000;
  white-space: nowrap;
}

.foto-galerij {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 2rem;
  flex-shrink: 1;
  flex-grow: 1;
}

.foto-galerij img {
  width: 100%;
  max-width: 300px;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.foto-galerij img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .foto-galerij {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .foto-galerij img {
    width: 90vw;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    max-width: 100%;
  }
}


@media (max-width: 1024px) {
  .foto-blok {
    padding-top: 0.5rem !important;
    padding-bottom: 1rem !important;
  }

  .foto-rij {
    margin: 0 !important;
    padding: 0 !important;
    gap: 1.5rem !important;
  }

  .foto-titel {
    margin: 0 !important;
    padding: 0.5rem 0 0.5rem 0 !important;
  }

  .foto-titel h2 {
    margin: 0 !important;
    padding: 0.2rem 0 0.5rem 0 !important;
    font-size: 1.5rem;
    border-bottom: 3px solid #d60000;
  }

  .foto-galerij {
    margin: 0 !important;
    padding: 0 !important;
  }

  .foto-galerij img {
    height: 220px !important;
    object-fit: cover;
    width: 90vw;
    max-width: 100%;
  }
}
.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: zoom-out;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.foto-tekst-blok {
  background: #fff;
  padding: 4rem 2rem;
}

.foto-tekst-rij {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.foto-tekst-rij.omgekeerd {
  flex-direction: row-reverse;
}

.foto-tekst-img {
  flex: 1 1 45%;
}

.foto-tekst-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.foto-tekst-content {
  flex: 1 1 50%;
}

.foto-tekst-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #d60000;
}

.foto-tekst-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1rem;
}

/* Responsiveness */
@media (max-width: 768px) {
  .foto-tekst-rij {
    flex-direction: column;
    text-align: center;
  }

  .foto-tekst-img, .foto-tekst-content {
     flex-direction: column;
  }

  .foto-tekst-content h2 {
    font-size: 1.6rem;
  }
}
.diensten-lijst.met-vinkjes li {
  list-style: none;
  padding-left: 2em;
  position: relative;
  margin-bottom: 1em;
}

.diensten-lijst.met-vinkjes li::before {
  content: '✔';
  color: red;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.rode-bolletjes {
  list-style: none;
  padding-left: 0;
  margin-top: 1em;
}

.rode-bolletjes li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.75em;
}

.rode-bolletjes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5em;
  height: 0.5em;
  background-color: red;
  border-radius: 50%;
}
.cta-yankee {
  background-image: url('/images/motorbegeleiding.jpg'); /* Vervang met het pad naar jouw gekozen afbeelding */
  background-size: cover;
  background-position: center;
  position: relative;
  margin-top: 4em;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.cta-yankee-overlay {
  background: rgba(0, 0, 0, 0.6); /* Donkere overlay voor leesbaarheid */
  padding: 4em 2em;
  text-align: center;
  color: #fff;
}

.cta-yankee-content h3 {
  font-size: 2em;
  margin-bottom: 0.5em;
  font-weight: 700;
}

.cta-yankee-content p {
  font-size: 1.1em;
  margin-bottom: 2em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
}

.cta-btn.yankee {
  background-color: red;
  color: white;
  padding: 0.75em 1.8em;
  font-size: 1em;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-btn.yankee:hover {
  background-color: darkred;
}

.cta-btn.yankee-secondary {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.cta-btn.yankee-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}
.img-centered {
  display: block;
  max-width: 100%;
  margin: 0 auto 2em auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/*Forms */
.contact-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center; /* <-- nieuw of vervangen indien anders */
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex: 1 1 45%;
  font-size: 1.05rem;
  line-height: 1.7;
  padding-right: 2rem; /* Correcte padding-right */
  margin-bottom: 0rem;
}

.contact-info strong {
  display: block;
  font-size: 1.1rem;
  margin-top: 1rem;
  margin-bottom: 0.1rem; /* Hele kleine marge onder de naam */
}

.contact-info span.functie {
  display: block; /* Zorg ervoor dat het een blok-element is en eigen marges kan hebben */
  margin-top: 0rem !important;
  margin-bottom: 0rem !important;
  line-height: 1; /* Zet de regelhoogte strakker */
}

.contact-info p {
  margin: 0 0 0.5rem 0; /* top 0, bottom max. 0.5rem */
  line-height: 1.4; /* optioneel: iets dichter op elkaar */
}

.contact-details {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.contact-details li {
  margin-bottom: 0.8rem;
}

.contact-form-wrapper {
  flex: 1 1 45%;
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #d60000;
  border-bottom: 3px solid #d60000;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.aanvraag-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.aanvraag-form label {
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.aanvraag-form input,
.aanvraag-form textarea {
  padding: 0.9rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
  box-sizing: border-box;
}

.aanvraag-form textarea {
  min-height: 120px;
  resize: vertical;
}

.aanvraag-form button {
  background-color: #d60000;
  color: white;
  font-weight: bold;
  padding: 0.9rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.aanvraag-form button:hover {
  background-color: #b00000;
}

@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
    padding: 2rem 1rem;
  }
  .contact-info {
    text-align: center;
  }

  .contact-info,
  .contact-form-wrapper {
    flex: 1 1 100%;
  }

  .contact-form-wrapper h3 {
    text-align: center;
  }
}


.success {
  background-color: #e6f4ea;
  color: #116329;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  border: 1px solid #b5dfc5;
}

.error {
  background-color: #fdecea;
  color: #b71c1c;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  border: 1px solid #f5b5b0;
}
/* === TOEVOEGINGEN: FORMULIER + RESPONSIVE === */

/* Extra veldstijl inclusief <select> */
.aanvraag-form input,
.aanvraag-form textarea,
.aanvraag-form select {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
}

/* Responsieve rijenstructuur */
.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-row > * {
  flex: 1 1 100%;
}

@media (min-width: 600px) {
  .form-row > * {
    flex: 1;
  }
}

/* Meldingsvakken */
.success, .error {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  font-weight: bold;
}

.success {
  background-color: #e6f4ea;
  color: #116329;
  border: 1px solid #b5dfc5;
}

.error {
  background-color: #fdecea;
  color: #b71c1c;
  border: 1px solid #f5b5b0;
}

/* Hero extra padding op mobiele weergave */
.page-hero {
  background-color: #f0f0f0;
  padding: 2rem 1rem;
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 0.5rem;
}

/* Smallere container voor hero */
.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Uniforme padding voor blokken */
.content-block {
  padding: 2rem 1rem;
}

/* Formulier-tegels naast elkaar op groot scherm */
.form-tile-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 800px) {
  .form-tile-grid {
    flex-direction: row;
  }

  .tile-left, .tile-right {
    flex: 1;
  }
}
@media (max-width: 768px) {
  /* ... andere mobiele stijlen ... */

  .contact-info {
    text-align: left; /* Lijnt de tekst links uit op mobiel voor betere leesbaarheid */
  }

  .contact-info strong {
    display: inline-block; /* Houdt de naam en functie op dezelfde regel */
    margin-right: 0.3rem; /* Wat ruimte na de naam */
    margin-bottom: 0.1rem; /* Wat ruimte onder de naam/functie lijn */
  }

  .contact-info span.functie { /* Stijl voor de functie */
    font-size: 0.85rem; /* Verkleint de tekst van de functie */
    color: #555; /* Lichtere kleur voor de functie */
    font-style: italic; /* Cursief om te onderscheiden */
  }

  .contact-info p {
	margin-top: 0rem; /* Zorg ervoor dat de top-marge 0 is */
    margin-bottom: 0rem; /* Ruimte tussen de contactpersoon-blokken */
    line-height: 1.4; /* Iets kleinere regelhoogte kan helpen */
  }

  .contact-info p br:first-child { /* Verwijder de eerste <br> na de naam/functie */
    display: none;
  }

  .contact-info a {
    display: block; /* Telefoon en e-mail op aparte regels */
    margin-top: 0.2rem;
  }

  .contact-details {
    margin-top: 1rem; /* Wat extra ruimte boven de lijst met contactpersonen (indien aanwezig) */
    padding-left: 0; /* Verwijder de standaard padding van de lijst */
    list-style: none; /* Verwijder de bolletjes van de lijst */
  }

  .contact-details li {
    margin-bottom: 0.8rem;
  }

  .contact-details strong {
    display: inline; /* Houdt "Contactpersonen:" inline */
  }

  .contact-details li strong + br + a,
  .contact-details li strong + br + span { /* Stijlt info na "Contactpersonen:" */
    display: block;
    margin-left: 0; /* Geen inspringing */
  }

  .contact-form-wrapper h3 {
    text-align: center;
    margin-top: 2rem; /* Wat ruimte boven het formulier op mobiel */
  }
}
