* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  line-height: 2rem;
}

strong {
  font-weight: bold;
}
.hidden {
  display: none !important;
}

.error-message {
  color: #d32f2f;
  font-size: 0.95em;
  margin-top: 0.2em;
}
.error-message a {
  color: black;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 4px;
}
.error-message a:hover {
  color: #f78f1e;
  text-decoration-color: #f78f1e;
}

header {
  background-image: url("../src/hero-index-edited.jpg");
  background-size: cover;
  background-position: center;
  min-height: 20rem;
  position: relative;
  padding: 1rem 0;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}
header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.5);
}
#hero-header {
  display: grid;
  grid-template-columns: 1fr 80%;
  justify-items: center;
  align-items: center;
  z-index: 1;
  position: relative;
}
#hero-header img {
  width: 50%;
}
#hero-header h2 {
  font-weight: 200;
  color: white;
  text-align: center;
}
header nav {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 1rem 4rem;
}
header nav ul {
  display: flex;
  gap: 3rem;
  list-style: none;
}
header a {
  color: white;
  text-transform: uppercase;
  font-size: 0.7rem;
  text-decoration: none;
}
header a:hover,
.nav-active {
  text-decoration: underline;
  color: #f78f1e;
}
main section:first-of-type {
  padding: 2rem 0;
  margin: 0 auto;
  width: 80%;
  max-width: 1600px;
}
#index p {
  margin: 2rem 0;
}
#index section p {
  letter-spacing: 0.04em;
  word-spacing: 0.15em;
}
p a {
  color: black;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 4px;
  text-decoration-color: #bbb;
  /* letter-spacing: 0.5px; */
}
p a:hover {
  color: #f78f1e;
  text-decoration-color: #f78f1e;
}
h2 a {
  color: black;
  text-decoration-color: black;
}
h2 a:hover {
  color: #f78f1e;
  text-decoration-color: #f78f1e;
}

.call-to-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #1d8842;
  color: white;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 4px;
  padding: 1rem;
  margin: 2rem auto;
  width: 80%;
  max-width: 200px;
}
.call-to-action,
#contact-form button {
  border-radius: 0.7rem;
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}
.call-to-action:hover,
#contact-form button:hover {
  background-color: #f78f1e;
  color: black;
}
.call-to-action:active,
#contact-form button:active {
  box-shadow: inset 0 0 5px white;
}

#hero-home {
  background-image: url("../src/hero-header2.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#getuigenissen-hero,
#praktisch-hero {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#getuigenissen-hero {
  background-image: url("../src/getuigenissen.jpg");
}
#testimonials section:first-of-type {
  width: 100%;
  max-width: 100%;
  padding: 0;
}
.testimonial {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 0;
  background-color: #ececee;
}
.testimonial img {
  flex: 1 1 50%;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 500px;
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
}
.testimonial blockquote {
  flex: 1 1 50%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: none;
}
.testimonial p {
  padding: 1rem;
  align-self: center;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #333;
  background-color: white;
}
.testimonial cite {
  font-size: 0.7rem;
  font-weight: 700;
  color: #666;
}
#testimonials section > article.testimonial:nth-of-type(even) {
  flex-direction: row-reverse;
}
#praktisch-hero {
  background-image: url("../src/hero-header.jpg");
}
.hero blockquote {
  background: rgba(0, 0, 0, 0.5);
  margin: 2rem 0;
  padding: 2rem 2.5rem 1.5rem 2.5rem;
  font-size: 1.3rem;
  font-style: italic;
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.07);
  border-radius: 0.7rem 0.7rem 0.7rem 0.2rem;
  position: relative;
}
.hero blockquote::before {
  content: "\201C";
  font-size: 3rem;
  color: white;
  position: absolute;
  left: 1.2rem;
  top: 0.7rem;
  line-height: 1;
}
.hero blockquote::after {
  content: "\201C";
  font-size: 3rem;
  color: white;
  position: absolute;
  bottom: -0.7rem;
  line-height: 1;
}
.hero cite {
  display: block;
  margin-top: 1rem;
  color: white;
  font-size: 1rem;
  font-style: normal;
  text-align: right;
}
footer {
  min-height: 15rem;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  background-color: #1d8842;
  color: white;
}
footer a {
  color: white;
}
footer a i {
  margin-right: 0.5rem;
}
#praktisch h2 {
  padding: 2rem 0;
}
.praktisch-themas,
.praktisch-aanpak {
  list-style: none;
}
.praktisch-themas li::before {
  content: "✔️";
  padding-right: 0.5rem;
}
.praktisch-aanpak li,
.praktisch-datums li {
  list-style-type: "-";
  padding-left: 1rem;
  margin-left: 1rem;
}
#map {
  width: 100%;
  min-height: 300px;
}
.menu-toggle {
  display: none;
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  z-index: 100;
  background: none;
  border: none;
  transition: 0.3s;
  color: #f78f1e;
}
.hamburger span {
  display: none;
}
.hamburger .fa-bars {
  display: inline;
}
.hamburger .fa-xmark {
  display: none;
}
.menu-toggle:checked + .hamburger .fa-bars {
  display: none;
}
.menu-toggle:checked + .hamburger .fa-xmark {
  display: inline;
}
#contact-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  width: 80%;
  max-width: 600px;
  margin: 0 auto;
}
#contact-form button {
  background-color: #1d8842;
  color: white;
  border: none;
  min-width: 100px;
  max-width: 200px;
  padding: 0.5rem 1rem;
  align-self: end;
  cursor: pointer;
}
#waarom section:first-of-type {
  text-align: center;
  max-width: 800px;
}
#waarom section:first-of-type h2 {
  margin-bottom: 2rem;
}
#waarom section:first-of-type ul li {
  list-style: none;
}
#waarom section:first-of-type ul li::after {
  content: "***";
  display: block;
  margin: 1rem auto;
  width: fit-content;
  color: #f78f1e;
  font-size: 1.5rem;
  letter-spacing: 0.5rem;
  background: none;
  height: auto;
}
#waarom section:first-of-type ul li:last-of-type::after {
  content: none;
}
.form-split-container {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: space-between;
  width: 100%;
}
.form-split-container fieldset {
  flex: 1 1 0;
  min-width: 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  background: #faf9f6;
}
.form-split-container legend {
  font-weight: bold;
  color: #1d8842;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.form-split-container fieldset label,
.form-split-container fieldset input,
.form-split-container fieldset select,
.form-split-container fieldset textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
}
.form-split-container fieldset input,
.form-split-container fieldset select,
.form-split-container fieldset textarea {
  margin-bottom: 1rem;
  padding: 0.25rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
}
.form-split-container fieldset label {
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.contact-form-row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  width: 100%;
}
.contact-form-row label,
.contact-form-row select {
  flex: 1 1 0;
  min-width: 0;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .form-split-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  .contact-form-row {
    flex-direction: column;
    gap: 0.5rem;
  }
}
@media screen and (max-width: 768px) {
  header {
    min-height: 15rem;
  }
  #hero-header {
    grid-template-columns: 1fr;
    text-align: center;
  }
  #hero-header img {
    width: 80%;
    margin-bottom: 1rem;
  }
  header nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  main section:first-of-type {
    width: 90%;
  }
  footer {
    margin: 0 auto;
    padding: 2rem;
  }
  .hamburger {
    display: flex;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
  }
  header nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70vw;
    background: rgba(29, 136, 66, 0.98);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99;
    padding: 4rem 2rem 2rem 2rem;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.08);
  }
  .menu-toggle:checked ~ .hamburger + nav {
    transform: translateX(0);
  }
  header nav ul {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    align-items: flex-start;
  }

  .testimonial {
    flex-direction: column !important;
    align-items: stretch;
    text-align: center;
  }
  .testimonial img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 400px;
    aspect-ratio: 4/3;
    margin-bottom: 1rem;
    object-fit: cover;
    order: 0;
  }
  .testimonial blockquote {
    order: 1;
    width: 100%;
    padding: 2rem 1rem;
  }
}
p + #inschrijf-formulier {
  margin-top: 2.5rem;
}
#inschrijf-formulier textarea {
  width: 100%;
  min-height: 120px;
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  margin-bottom: 1rem;
  resize: vertical;
}
#inschrijf-formulier button {
  background-color: #1d8842;
  color: white;
  border: none;
  min-width: 100px;
  max-width: 200px;
  padding: 0.5rem 1rem;
  align-self: end;
  cursor: pointer;
  border-radius: 0.7rem;
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
  transition: background 0.2s, color 0.2s;
}
#inschrijf-formulier button:hover {
  background-color: #f78f1e;
  color: black;
}
#inschrijf-formulier button:active {
  box-shadow: inset 0 0 5px white;
}
