/* Homepage YDR Installaties: rustig, modern en compact (opdracht Khalid, 2026-11-10).
   Alleen op de homepage geladen. Kleuren: wit, heel licht rosé, zacht lila, saliegroen als klein accent, mauve voor knoppen. */
#page-home {
  --h-rose: #fbf4f7;
  --h-lila: #f3edf6;
  --h-lila-diep: #8f6c9f;
  --h-salie: #8fa88c;
  --h-tekst: #231a21;
  --h-grijs: #5e5059;
  --h-mauve: #a8336d;
  --h-mauve-donker: #8e2a5c;
  --h-rond: 22px;
  --h-schaduw: 0 10px 34px rgba(70, 30, 55, .08);
  color: var(--h-tekst);
}
#page-home h1, #page-home h2 { font-family: 'Poppins', sans-serif; color: var(--h-tekst); letter-spacing: -.02em; }
#page-home em { font-style: normal; color: var(--h-mauve); }

/* Knoppen */
.h-knoppen { display: flex; flex-wrap: wrap; gap: 14px; }
.h-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 14px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15.5px; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s; }
.h-btn:hover { transform: translateY(-2px); }
.h-btn-vol { background: linear-gradient(135deg, #b53c78, var(--h-mauve-donker)); color: #fff; box-shadow: 0 10px 24px rgba(142, 42, 92, .25); }
.h-btn-vol:hover { box-shadow: 0 14px 30px rgba(142, 42, 92, .32); color: #fff; }
.h-btn-rand { background: #fff; color: var(--h-tekst); border: 1.5px solid rgba(142, 42, 92, .45); }
.h-btn-rand:hover { border-color: var(--h-mauve); color: var(--h-mauve); }
.h-btn-wa { background: #fff; color: #1d8f48; border: 1.5px solid rgba(37, 211, 102, .55); }
.h-btn-wa svg { width: 20px; height: 20px; fill: #25D366; }
.h-btn-wa:hover { background: #f1fcf5; }

/* 1. Hero */
.h-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: stretch; min-height: 600px; background: linear-gradient(180deg, #fff 0%, var(--h-rose) 100%); overflow: hidden; }
.h-hero-tekst { align-self: center; padding: 64px 40px 64px clamp(24px, 6vw, 96px); max-width: 640px; justify-self: end; width: 100%; }
.h-hero h1 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.08; font-weight: 800; margin: 0 0 22px; }
.h-hero-tekst > p { font-size: 18px; line-height: 1.6; color: var(--h-grijs); margin: 0 0 32px; max-width: 520px; }
.h-kenmerken { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0; }
.h-kenmerken li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--h-grijs); padding: 0 20px; border-left: 1px solid rgba(142, 42, 92, .18); }
.h-kenmerken li:first-child { padding-left: 0; border-left: 0; }
.h-kenmerken svg { color: var(--h-mauve); flex-shrink: 0; }
.h-kenmerken li:first-child svg { color: var(--h-salie); }
.h-hero-beeld { position: relative; min-height: 100%; }
.h-hero-beeld::before { content: ''; position: absolute; left: -26px; top: 0; bottom: 0; width: 120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(196, 160, 210, .45), rgba(196, 160, 210, 0)); filter: blur(6px); }
.h-hero-beeld picture, .h-hero-beeld img { position: absolute; inset: 0; width: 100%; height: 100%; }
.h-hero-beeld img { object-fit: cover; object-position: 58% center; border-radius: 46% 0 0 0 / 100% 0 0 0; }

/* Algemene secties */
.h-sectie { padding: 72px 24px; background: #fff; }
.h-binnen { max-width: 1180px; margin: 0 auto; }
.h-midden { text-align: center; margin-top: 34px; }
.h-kop-midden { text-align: center; margin-bottom: 40px; }
.h-kop-midden h2, .h-contact-tekst h2 { font-size: clamp(28px, 2.8vw, 38px); font-weight: 800; line-height: 1.15; margin: 0 0 10px; }
.h-kop-midden p { font-size: 16.5px; color: var(--h-grijs); margin: 0; }

/* 2. Diensten */
.h-diensten { padding-top: 56px; padding-bottom: 40px; }
.h-dienst-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 22px; }
.h-dienst { display: flex; flex-direction: column; border-radius: var(--h-rond); overflow: hidden; background: #fff; box-shadow: var(--h-schaduw); text-decoration: none; color: var(--h-tekst); transition: transform .25s, box-shadow .25s; }
.h-dienst img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; display: block; transition: transform .5s; }
.h-dienst:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(70, 30, 55, .13); }
.h-dienst:hover img { transform: scale(1.03); }
.h-dienst-voet { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; background: linear-gradient(180deg, #fff, var(--h-rose)); position: relative; z-index: 1; }
.h-dienst-titel { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 17px; line-height: 1.25; }
.h-pijl { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--h-lila); color: var(--h-mauve); transition: background .2s, color .2s; }
.h-dienst:hover .h-pijl { background: var(--h-mauve); color: #fff; }

/* 3. Waarom YDR */
.h-waarom { padding-top: 32px; padding-bottom: 32px; }
.h-waarom .h-binnen { background: var(--h-rose); border-radius: var(--h-rond); padding: 30px 34px; }
.h-klein-kop { font-size: 23px; font-weight: 800; line-height: 1.2; margin: 0 0 22px; text-align: center; }
.h-waarom-rij { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.h-waarom-rij li { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 4px 16px; border-left: 1px solid rgba(143, 108, 159, .22); }
.h-waarom-rij li:first-child { border-left: 0; }
.h-waarom-rij svg { color: var(--h-mauve); flex-shrink: 0; }
.h-keurmerk { width: 44px; height: 44px; flex-shrink: 0; display: block; }
.h-waarom-rij span { display: flex; flex-direction: column; font-size: 14px; color: var(--h-grijs); line-height: 1.3; }
.h-waarom-rij strong { font-family: 'Poppins', sans-serif; font-size: 19px; font-weight: 700; color: var(--h-tekst); }

/* 4. Reviews */
.h-reviews { padding-top: 64px; }
.h-review-schuif { position: relative; display: flex; align-items: center; gap: 14px; }
.h-review-grid { flex: 1; min-width: 0; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 44px) / 3); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 10px 6px 34px; margin: -10px -6px -34px; scroll-padding: 0 6px; }
.h-review-grid::-webkit-scrollbar { display: none; }
.h-review-grid:focus-visible { outline: 3px solid rgba(168, 51, 109, .3); outline-offset: 4px; border-radius: 18px; }
.h-review-grid .h-review { scroll-snap-align: start; }
.h-ster-leeg { color: #e6dce3; }
.h-reviews .h-midden { margin-top: 44px; }
.h-pijl { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(143, 108, 159, .25); background: #fff; color: var(--h-mauve); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 18px rgba(70, 30, 55, .08); transition: background .2s, color .2s, opacity .2s, transform .2s; }
.h-pijl:hover:not(:disabled) { background: var(--h-mauve); color: #fff; transform: translateY(-1px); }
.h-pijl:disabled { opacity: .35; cursor: default; box-shadow: none; }
.h-pijl:focus-visible { outline: 3px solid rgba(168, 51, 109, .35); outline-offset: 3px; }
.h-review { margin: 0; background: #fff; border-radius: 18px; padding: 26px 26px 22px; box-shadow: var(--h-schaduw); border: 1px solid rgba(143, 108, 159, .1); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.h-review:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(70, 30, 55, .11); }
.h-sterren { color: #e9a93b; font-size: 15px; letter-spacing: 3px; margin-bottom: 14px; }
.h-review blockquote { margin: 0 0 20px; font-size: 15px; line-height: 1.65; color: var(--h-grijs); flex: 1; }
.h-review figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid rgba(143, 108, 159, .12); }
.h-review-naam { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px; color: var(--h-tekst); }
.h-review-bron { font-size: 13px; color: var(--h-lila-diep); }

/* 5. Contact */
.h-contact-sectie { padding-top: 40px; padding-bottom: 88px; }
.h-contact { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: stretch; background: linear-gradient(120deg, var(--h-rose) 0%, var(--h-lila) 100%); border-radius: 28px; overflow: hidden; }
.h-contact-tekst { padding: 52px 48px; }
.h-contact-tekst > p { font-size: 16.5px; line-height: 1.65; color: var(--h-grijs); margin: 0 0 22px; max-width: 520px; }
.h-telefoon { display: inline-flex; align-items: center; gap: 12px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 26px; color: var(--h-tekst); text-decoration: none; margin-bottom: 24px; }
.h-telefoon svg { color: var(--h-mauve); }
.h-telefoon:hover { color: var(--h-mauve); }
.h-contact-tekst .h-spoed { margin: 22px 0 0; font-size: 14.5px; color: var(--h-grijs); }
.h-spoed a { color: var(--h-mauve); font-weight: 700; text-decoration: none; margin-left: 4px; white-space: nowrap; }
.h-spoed a:hover { text-decoration: underline; }
.h-contact-beeld { position: relative; min-height: 360px; }
.h-contact-beeld img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% center; border-radius: 42% 0 0 42% / 100% 0 0 100%; }

/* Tablet */
@media (max-width: 1024px) {
  .h-dienst-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-waarom-rij { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .h-waarom-rij li { justify-content: flex-start; }
  .h-waarom-rij li:nth-child(3) { border-left: 0; }
  .h-review-grid { grid-auto-columns: calc((100% - 22px) / 2); }
}
@media (max-width: 900px) {
  .h-hero { grid-template-columns: 1fr; min-height: 0; }
  .h-hero-beeld { order: -1; height: 340px; }
  .h-hero-beeld::before { display: none; }
  .h-hero-beeld img { border-radius: 0 0 0 0 / 0; border-bottom-left-radius: 50% 18%; border-bottom-right-radius: 50% 18%; }
  .h-hero-tekst { justify-self: stretch; max-width: none; padding: 32px 24px 48px; }
  .h-contact { grid-template-columns: 1fr; }
  .h-contact-beeld { order: -1; min-height: 240px; }
  .h-contact-beeld img { border-radius: 0; }
}
/* Telefoon */
@media (max-width: 560px) {
  .h-hero-beeld { height: 260px; }
  .h-hero h1 { font-size: 31px; }
  .h-hero-tekst > p { font-size: 16px; }
  .h-knoppen { flex-direction: column; }
  .h-btn { width: 100%; }
  .h-kenmerken { gap: 10px 0; }
  .h-kenmerken li { padding: 0 12px; font-size: 13.5px; }
  .h-sectie { padding: 48px 16px; }
  .h-diensten { padding-top: 36px; padding-bottom: 24px; }
  .h-dienst-grid { gap: 14px; }
  .h-dienst-voet { padding: 12px 12px; }
  .h-dienst-titel { font-size: 14.5px; }
  .h-pijl { width: 28px; height: 28px; }
  .h-waarom .h-binnen { padding: 22px 16px; }
  .h-waarom-rij li { flex-direction: column; text-align: center; justify-content: flex-start; gap: 8px; padding: 4px 8px; }
  .h-waarom-rij span { align-items: center; font-size: 13px; }
  .h-waarom-rij strong { font-size: 17px; }
  .h-contact-tekst { padding: 30px 22px 34px; }
  .h-telefoon { font-size: 23px; }
}
@media (max-width: 640px) {
  .h-review-schuif { gap: 0; }
  .h-review-grid { grid-auto-columns: 86%; gap: 14px; }
  .h-pijl { position: absolute; z-index: 2; bottom: -66px; width: 44px; height: 44px; }
  .h-pijl-links { left: calc(50% - 54px); }
  .h-pijl-rechts { right: calc(50% - 54px); }
  .h-reviews .h-midden { margin-top: 100px; }
}

