:root {
  --main-color: #b35c00;
  --main-color-hover: #993f00;
  --light-bg: #fefcf5;
  --accent-bg: #f4f1e8;
  --text-color: #222;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 100px;
}

[id] {
  scroll-margin-top: 112px;
}

body {
  margin: 0;
  font-family: 'Helvetica Neue', 'Segoe UI', sans-serif;
  background: var(--light-bg);
  color: var(--text-color);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

picture {
  display: block;
}

svg.icon {
  display: inline-block;
}

.icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.16em;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-google {
  fill: #4285F4;
  stroke: none;
}

.icon-apple {
  fill: currentColor;
  stroke: none;
}

a {
  color: var(--main-color);
  text-decoration: underline;
}

a:hover,
a:focus {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.menu-toggle:focus-visible,
.gallery-container button:focus-visible,
.popup-close:focus-visible {
  outline: 3px solid #174ea6;
  outline-offset: 3px;
}

.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: absolute;
  left: 1rem;
  top: 1rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #222;
  padding: 0.75rem 1rem;
  border: 2px solid var(--main-color);
  border-radius: 0.5rem;
  z-index: 2000;
}

h2 {
  font-size: 1.8em;
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1em;
  color: #333;
}

.container {
  margin: 0 auto;
  padding: 0 1.5em;
}

.intro .container,
.praktisch .container,
.voorzieningen .container,
.omgeving .container,
.contact .container,
.faq .container,
.voorwaarden .container,
.privacy .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1em;
}

.header {
  background: #fff;
  padding: 1em 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #ddd;
}

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

.logo {
  font-family: 'Brush Script MT', 'Segoe Script', cursive;
  font-size: 1.7rem;
  line-height: 1;
  min-width: 8ch;
  color: #4b382a;
}

.logo a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: inherit;
}

.nav {
  display: flex;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.1rem;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
  line-height: 1.2;
  text-decoration: none;
}

.nav a:hover {
  color: var(--main-color);
  text-decoration: underline;
}

.nav .btn.small {
  color: white;
  margin-top: -0.2em;
  align-self: center;
  padding: 0.4em 0.8em;
  font-size: 0.9em;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text-color);
  font-size: 1.8em;
  cursor: pointer;
  line-height: 1;
  min-width: 48px;
  min-height: 48px;
  padding: 0.25em;
}

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

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    width: 100%;
    display: none;
    padding: 1em;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
    min-height: 48px;
    padding: 0.8em 0;
    border-bottom: 1px solid #eee;
  }

  .header .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  background: var(--main-color);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: var(--main-color-hover);
}
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 3440 / 1440;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5em;
  border-radius: 1em;
  color: white;
  max-width: 90%;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  text-align: center;
}

.hero-text h1,
.hero-text h2 {
  margin-bottom: 1em;
  font-size: clamp(1rem, 4vw, 2rem);
  line-height: 1.3;
  word-break: break-word;
}

.foto-preview-desktop {
  position: absolute;
  top: 50%;
  right: 1.5em;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.2);
  padding: 0.75em;
  border-radius: 0.75em;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.foto-preview-desktop .preview-images {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  align-items: center;
}

.foto-preview-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 1rem;
  max-width: 320px;
  color: white;
  text-align: center;
}

.foto-preview-link:hover,
.foto-preview-link:focus {
  text-decoration: underline;
  outline-offset: 3px;
}

.preview-images::-webkit-scrollbar {
  display: none;
}

.preview-images img {
  width: 90px;
  height: 60px;
  flex: 0 0 auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.preview-images img:hover,
.preview-images img:focus {
  transform: scale(1.1);
  outline: 2px solid white;
}

.foto-preview-mobile {
  display: none;
}

@media (max-width: 768px) {
  .hero-text {
    font-size: 1rem;
    width: inherit;
    background: rgba(0, 0, 0, 0.2);
  }

  .foto-preview-desktop {
    display: none;
  }

  .foto-preview-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    max-width: 90vw;
    scroll-margin-top: 110px;
  }

  .foto-preview-link {
    max-width: 90vw;
    font-size: 1rem;
    color: #a55218;
    margin-bottom: 0.5em;
    text-align: center;
  }

  .preview-images {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.35em;
    flex-wrap: nowrap;
  }

  .preview-images img {
    width: 55px;
    height: 37px;
  }
}

section[id] {
  scroll-margin-top: 110px;
}

.intro,
.ontwerp-schetsen,
.praktisch,
.voorzieningen,
.omgeving,
.contact,
.faq {
  padding: 3em 0;
}

.intro h2,
.praktisch h2,
.voorzieningen h2,
.omgeving h2,
.contact h2,
.faq h2,
.ontwerp-schetsen h2,
.gallery-section h2,
.voorwaarden h2,
.privacy h2 {
  font-size: 2em;
  margin-bottom: 0.75em;
  text-align: center;
}

.voorwaarden h3,
.privacy h3 {
  font-size: 1.25em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: bold;
  text-align: center;
  color: #333;
}

.voorwaarden h4,
.privacy h4 {
  font-size: 1em;
  margin-top: 1.6em;
  margin-bottom: 0.4em;
  font-weight: 600;
  text-align: center;
  color: #555;
  font-style: italic;
}

.intro p,
.praktisch p,
.voorzieningen p,
.omgeving p,
.contact p,
.faq p,
.voorwaarden p,
.privacy p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5em;
  text-align: center;
}

@media (max-width: 768px) {
  .intro,
  .ontwerp-schetsen,
  .gallery-section,
  .praktisch,
  .voorzieningen,
  .omgeving,
  .contact,
  .faq {
   padding: 1em 0;
  }
}

.ontwerp-schetsen {
  background-color: var(--light-bg);
  text-align: center;
}

.ontwerp-schetsen-fotos {
  display: flex;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
}

.ontwerp-schetsen-fotos img,
.ontwerp-img {
  display: block;
  width: min(100%, 500px);
  height: auto;
  flex: 0 0 auto;
  align-self: flex-start;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ontwerp-img-buiten {
  aspect-ratio: 500 / 326;
}

.ontwerp-img-binnen {
  aspect-ratio: 500 / 378;
}

.gallery-section {
  text-align: center;
}

.gallery-container {
  position: relative;
  overflow: hidden;
  margin-top: 1.5em;
}

.gallery {
  --gallery-visible: 4;
  display: flex;
  transform: translate3d(0, 0, 0);
  transition: transform 0.5s ease-in-out;
  margin: 0 -0.5em;
}

.gallery-index-1 { transform: translate3d(calc(-100% / var(--gallery-visible)), 0, 0); }
.gallery-index-2 { transform: translate3d(calc(-200% / var(--gallery-visible)), 0, 0); }
.gallery-index-3 { transform: translate3d(calc(-300% / var(--gallery-visible)), 0, 0); }
.gallery-index-4 { transform: translate3d(calc(-400% / var(--gallery-visible)), 0, 0); }
.gallery-index-5 { transform: translate3d(calc(-500% / var(--gallery-visible)), 0, 0); }
.gallery-index-6 { transform: translate3d(calc(-600% / var(--gallery-visible)), 0, 0); }
.gallery-index-7 { transform: translate3d(calc(-700% / var(--gallery-visible)), 0, 0); }
.gallery-index-8 { transform: translate3d(calc(-800% / var(--gallery-visible)), 0, 0); }
.gallery-index-9 { transform: translate3d(calc(-900% / var(--gallery-visible)), 0, 0); }
.gallery-index-10 { transform: translate3d(calc(-1000% / var(--gallery-visible)), 0, 0); }
.gallery-index-11 { transform: translate3d(calc(-1100% / var(--gallery-visible)), 0, 0); }
.gallery-index-12 { transform: translate3d(calc(-1200% / var(--gallery-visible)), 0, 0); }

@media (max-width: 1024px) {
  .gallery { --gallery-visible: 3; }
}

@media (max-width: 768px) {
  .gallery { --gallery-visible: 2; }
}

@media (max-width: 480px) {
  .gallery { --gallery-visible: 1; }
}

.gallery picture,
.gallery > img {
  position: relative;
  overflow: hidden;
  flex: 0 0 25%;
  max-width: 25%;
  height: auto;
  max-height: 500px;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  padding: 0 0.5em;
  box-sizing: border-box;
}

.gallery picture img,
.gallery > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.gallery picture::after {
  content: attr(data-counter);
  position: absolute;
  right: 0.85em;
  bottom: 0.45em;
  z-index: 2;
  background: rgba(0, 0, 0, 0.45);
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 0.25em 0.6em;
  font-size: 0.8em;
  line-height: 1;
  border-radius: 6px;
  pointer-events: none;
  font-family: sans-serif;
  white-space: nowrap;
}

.gallery-container button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 2em;
  cursor: pointer;
  padding: 0.25em 0.5em;
  z-index: 10;
  touch-action: manipulation;
}

.gallery-container .prev {
  left: 10px;
}

.gallery-container .next {
  right: 10px;
}

@media (max-width: 1024px) {
  .gallery picture,
.gallery > img {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

.gallery-container.is-static .prev,
.gallery-container.is-static .next {
  display: none;
}

@media (max-width: 768px) {
  .gallery picture,
.gallery > img {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 480px) {
  .gallery-container > .gallery > picture,
  .gallery-container > .gallery > img {
    flex: 0 0 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
  }

  .gallery-container button {
    font-size: 2.5em;
    padding: 0.5em;
  }

  .gallery-container .prev {
    left: 5px;
  }

  .gallery-container .next {
    right: 5px;
  }
}

.features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5em;
}

.features li {
  background: #fff;
  padding: 1.5em;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  min-height: 250px;
  height: 100%;
  flex-grow: 1;
  padding-bottom: 2.5em;
}

@media (hover: hover) and (pointer: fine) {
.features li:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}
}

.features li .icon {
  font-size: 2.5em;
  color: var(--accent-color, #4b382a);
  margin-bottom: 0.75em;
  transition: color 0.3s;
}

.features li .icon:hover {
  color: var(--primary-color, #3b7a57);
}

.features li strong {
  font-weight: bold;
  font-size: 1.3em;
  margin-bottom: 0.5em;
  color: var(--primary-color, #4b382a);
  display: block;
}

.features li p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
  flex-grow: 1;
}

.features li strong + .content {
  margin-top: 0;
}

.features li .content {
  display: block;
  width: 100%;
  margin-top: 0;
  text-align: center;
  flex: 1 1 auto;
}

.features li .distance {
  font-size: 1.2em;
  font-weight: bold;
  color: #4b382a;
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.features li .distance::before {
  content: "";
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
  background: #3b7a57;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M172.3 501.7C27 291 0 269.4 0 192 0 86 86 0 192 0s192 86 192 192c0 77.4-27 99-172.3 309.7-9.5 13.8-29.9 13.8-39.4 0zM192 272a80 80 0 1 0 0-160 80 80 0 0 0 0 160z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.features li .distance .badge-distance {
  background: #e1f7e6;
  padding: 0.3em 0.5em;
  border-radius: 12px;
  font-weight: bold;
  color: #3b7a57;
  font-size: 1.1em;
  line-height: 1;
}

.features li::after {
  content: "";
  position: absolute;
  bottom: 1em;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: var(--accent-color, #4b382a);
  border-radius: 4px;
}

.features li .route-link {
  margin-top: 1.6em;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65em;
  width: 100%;
}

.features li .route-link .route-label {
  font-weight: bold;
  color: #3b7a57;
  font-size: 0.95em;
  white-space: nowrap;
  grid-column: 1 / -1;
}

.features li .route-link a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4em 0.8em;
  background-color: #f2f2f2;
  color: #3b7a57;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s;
  font-size: 0.95em;
  min-width: 0;
  white-space: nowrap;
}

.features li .route-link a:hover {
  background-color: #dcefe1;
  color: #2e5f46;
}

.features li .route-link a::before,
.footer-route a::before {
  content: "";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  min-width: 1.15em;
  height: 1.15em;
  margin-right: 0.45em;
  line-height: 1;
  font-weight: 800;
}

.features li .route-link a.google-maps::before,
.footer-route a.google-maps::before {
  content: "G";
  color: #4285F4;
}

.features li .route-link a.apple-maps::before,
.footer-route a.apple-maps::before {
  background: #000;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5c0 26.2 4.8 53.3 14.4 81.2 12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zM262.1 104.5c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 768px) {
  .features li {
    padding: 1.2em;
    min-height: 200px;
    padding-bottom: 2.5em;
  }
}

.contact .container,
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-container {
  display: grid;
  gap: 1rem;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.contact label {
  font-weight: 600;
}

.contact input,
.contact textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  padding: 0.75em;
}

#formMsg {
  min-height: 1.5em;
  margin-top: 1em;
  font-weight: bold;
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.faq-item {
  background: #fff;
  border: 1px solid #e7ddcd;
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.faq-item h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: #4b382a;
  line-height: 1.35;
  text-align: center;
}

.faq-item p {
  margin: 0.8rem auto 0;
  max-width: 44rem;
  color: #333;
  line-height: 1.7;
  text-align: center;
}

.faq-item a {
  color: var(--main-color);
}

@media (max-width: 768px) {
  .faq-list {
    gap: 0.85rem;
    margin-top: 1rem;
  }

  .faq-item {
    padding: 1rem 1rem 1.1rem;
    border-radius: 12px;
  }

  .faq-item h3 {
    font-size: 1rem;
    line-height: 1.4;
  }

  .faq-item p {
    margin-top: 0.65rem;
    font-size: 0.98rem;
    line-height: 1.65;
    max-width: none;
  }
}

.footer-container strong {
  font-family: 'Brush Script MT', 'Segoe Script', cursive;
  font-size: 1.7rem;
  color: #4b382a;
}

.footer {
  background: var(--accent-bg);
  padding: 2em 1em;
  text-align: center;
  font-size: 0.95em;
  color: #333;
}

.footer a {
  color: #222;
  text-decoration: none;
}

.footer a:hover,
.footer a:focus {
  color: var(--main-color);
  text-decoration: underline;
}

.footer-links {
  margin-top: 1em;
  font-size: 0.9em;
  color: #333;
}

.footer-links a {
  color: #222;
  text-decoration: none;
  margin: 0 0.5em;
}

.footer-links a:hover,
.footer-links a:focus {
  text-decoration: underline;
  color: var(--main-color);
}

.footer-route {
  margin-top: 1.5em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
}

.footer-route p {
  margin: 0;
  font-family: 'Brush Script MT', 'Segoe Script', cursive;
  font-size: 1.5rem;
  color: #4b382a;
}

.footer-route .route-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  gap: 0.75rem;
  width: min(100%, 22rem);
}

.footer-route a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f2f2f2;
  color: #4b382a;
  font-weight: 600;
  padding: 0.4em 0.8em;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
  font-size: 0.95em;
  min-width: 0;
  white-space: nowrap;
}

.footer-route a:hover {
  background-color: #dcefe1;
  color: #3b7a57;
}

.voorwaarden,
.privacy {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3em 1em;
}

.voorwaarden h1,
.privacy h1 {
  font-size: 2.5em;
  margin-bottom: 1em;
  text-align: center;
  color: #4b382a;
}

.voorwaarden ul,
.privacy ul {
  list-style: none;
  padding-left: 0;
  text-align: center;
}

.voorwaarden li::before,
.privacy li::before {
  content: "\2713 ";
  color: var(--main-color);
  margin-right: 0.3em;
}

h1 {
  line-height: 1.2;
}

main > section:not(.hero) h1 {
  margin: 0 auto 1em;
  color: #4b382a;
  font-size: 2.5em;
  text-align: center;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.menu-open {
  overflow: hidden;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 10000;
}

.popup {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 420px);
  z-index: 10001;
}

.popup-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  padding: 1.5rem;
  text-align: center;
}

.popup-card h2 {
  margin-top: 0;
}

.popup-card p {
  margin-bottom: 0;
}

.popup-error .popup-card {
  border: 2px solid #d17b43;
}

.popup-close {
  margin-top: 1rem;
}

.route-buttons {
  align-items: stretch;
}

@media (max-width: 768px) {
  .header .container {
    position: relative;
  }

  .footer-route a,
  .features li .route-link a {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .footer-route .route-buttons {
    grid-template-columns: 1fr;
  }

  .features li .route-link {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.hero-text {
  contain: layout paint;
  min-width: min(90%, 18rem);
}

.hero-img {
  backface-visibility: hidden;
}

.features li {
  contain: layout paint;
}

.features li .route-link {
  margin-top: 1.9em;
}

/* Fix: gelijke startpositie voor kaartteksten, responsive behouden */
.features li {
  justify-content: flex-start;
}

.features li .distance {
  min-height: 2.15rem;
  margin-bottom: 0.35rem;
}

.features li strong {
  min-height: 3.35em;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  margin-bottom: 0.5em;
}

.features li .content {
  flex: 0 0 auto;
}

.features li .content p {
  margin-top: 0;
}

.features li .route-link {
  margin-top: auto;
  padding-top: 1.6em;
}

@media (max-width: 768px) {
  .features li strong {
    min-height: 0;
  }

  .features li .distance {
    min-height: 0;
  }

  .features li .route-link {
    margin-top: 1.4em;
    padding-top: 0;
  }
}


/* Fix mobiele tikdoelen: minimaal 44x44px en voldoende tussenruimte */
.features li .route-link a,
.footer-route a {
  min-height: 44px;
  min-width: 44px;
  padding: 0.72rem 0.95rem;
  gap: 0.45rem;
  line-height: 1.2;
  touch-action: manipulation;
}

.footer-route .route-buttons {
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .footer-route .route-buttons {
    gap: 0.75rem;
    width: 100%;
  }

  .features li .route-link {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .features li .route-link a,
  .footer-route a {
    width: 100%;
    min-height: 48px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }
}

@media (max-width: 768px), (pointer: coarse) {
  .features li .route-link,
  .footer-route .route-buttons {
    gap: 1rem !important;
  }

  .features li .route-link a,
  .footer-route a {
    min-height: 56px !important;
    min-width: 56px !important;
    padding: 1rem !important;
    margin-block: 0.25rem !important;
  }

  .features li .route-link .route-label {
    margin-bottom: 0.25rem;
  }
}
