.services-hero{background:radial-gradient(900px 280px at 78% 14%,rgba(29,151,83,.13),transparent 60%),linear-gradient(180deg,#f6f8f7,#fff)}
.services-route-card{position:relative;padding:24px;border-radius:26px;background:#fff;border:1px solid rgba(15,17,21,.08);box-shadow:0 24px 60px rgba(15,17,21,.11);overflow:hidden}
.services-route-card:before{content:"";position:absolute;inset:0 0 auto;height:6px;background:linear-gradient(90deg,var(--brand),rgba(29,151,83,.26))}
.services-route-card__top{display:flex;align-items:center;gap:12px;margin-bottom:18px;font-size:22px}
.services-route-card__dot{width:13px;height:13px;border-radius:999px;background:var(--brand);box-shadow:0 0 0 7px rgba(29,151,83,.16)}
.services-route-card__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.services-route-card__grid a{display:grid;gap:8px;min-height:96px;padding:14px;border-radius:16px;background:linear-gradient(180deg,#fff,#fbfcfb);border:1px solid rgba(15,17,21,.08);color:var(--ink);font-weight:900;text-decoration:none;box-shadow:0 10px 22px rgba(15,17,21,.05);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.services-route-card__grid a:hover{transform:translateY(-2px);border-color:rgba(29,151,83,.34);box-shadow:0 14px 28px rgba(29,151,83,.10)}
.services-route-card__grid span{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:12px;background:rgba(29,151,83,.10);color:var(--brand2);font-size:13px}
.services-map-section{padding-top:34px}
.services-map{display:grid;grid-template-columns:minmax(0,.85fr) minmax(420px,1.15fr);gap:28px;align-items:center}
.services-map__copy p{max-width:660px}
.services-map__legend{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.services-map__legend span{display:inline-flex;align-items:center;gap:9px;padding:9px 12px;border-radius:999px;background:#fff;border:1px solid rgba(15,17,21,.08);box-shadow:0 8px 18px rgba(15,17,21,.05);color:var(--muted);font-size:13px;font-weight:850}
.services-map__legend i{width:9px;height:9px;border-radius:50%;background:var(--brand);box-shadow:0 0 0 5px rgba(29,151,83,.14)}
.roof-map{position:relative;min-height:390px;border:1px solid rgba(15,17,21,.08);border-radius:28px;background:radial-gradient(900px 260px at 40% 0%,rgba(29,151,83,.13),transparent 62%),linear-gradient(180deg,#fff,#f8fbf9);box-shadow:0 24px 60px rgba(15,17,21,.10);overflow:hidden}
.roof-map__house{position:absolute;left:50%;top:50%;width:min(580px,92%);height:310px;transform:translate(-50%,-43%)}
.roof-map__roof{position:absolute;left:7%;right:7%;top:0;height:190px;background:linear-gradient(135deg,#27313d,#111820);clip-path:polygon(50% 0,100% 72%,88% 72%,88% 100%,12% 100%,12% 72%,0 72%);box-shadow:0 24px 46px rgba(15,17,21,.18)}
.roof-map__roof:after{content:"";position:absolute;inset:28px 38px 54px;background:repeating-linear-gradient(135deg,rgba(255,255,255,.12) 0 2px,transparent 2px 16px);opacity:.45}
.roof-map__body{position:absolute;left:18%;right:18%;bottom:0;height:150px;border-radius:12px 12px 0 0;background:linear-gradient(180deg,#fff,#ecf1ef);border:1px solid rgba(15,17,21,.08);box-shadow:0 18px 34px rgba(15,17,21,.10)}
.roof-map__body:before{content:"";position:absolute;left:24%;top:34px;width:56px;height:70px;border-radius:14px 14px 0 0;background:rgba(29,151,83,.14);border:1px solid rgba(29,151,83,.22)}
.roof-map__body:after{content:"";position:absolute;right:20%;top:36px;width:78px;height:50px;border-radius:14px;background:#fff;border:1px solid rgba(15,17,21,.08);box-shadow:inset 0 0 0 8px rgba(29,151,83,.07)}
.roof-hotspot{position:absolute;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#fff;border:6px solid var(--brand);box-shadow:0 0 0 8px rgba(29,151,83,.15),0 14px 28px rgba(15,17,21,.20);z-index:4;transition:transform .16s ease,box-shadow .16s ease}
.roof-hotspot span{position:absolute;left:50%;top:calc(100% + 10px);transform:translateX(-50%);white-space:nowrap;padding:7px 10px;border-radius:999px;background:#fff;color:var(--ink);font-size:12px;font-weight:900;box-shadow:0 10px 22px rgba(15,17,21,.12)}
.roof-hotspot:hover{transform:scale(1.08);box-shadow:0 0 0 10px rgba(29,151,83,.18),0 18px 34px rgba(15,17,21,.24)}
.roof-hotspot--nok{left:48%;top:2%}
.roof-hotspot--schoorsteen{left:67%;top:22%;border-color:#ff7a00;box-shadow:0 0 0 8px rgba(255,122,0,.15),0 14px 28px rgba(15,17,21,.20)}
.roof-hotspot--lood{left:63%;top:43%}
.roof-hotspot--dakkapel{left:36%;top:42%}
.roof-hotspot--plat{left:76%;top:70%}
.roof-hotspot--inspectie{left:21%;top:72%;border-color:#45b4ff;box-shadow:0 0 0 8px rgba(69,180,255,.14),0 14px 28px rgba(15,17,21,.20)}
.services-hub .premium-section-head{display:block;max-width:860px;margin-bottom:22px}
.services-hub .premium-section-head p{max-width:760px;margin:10px 0 0;color:var(--muted);font-size:17px;line-height:1.7}
.services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.services-card{position:relative;display:grid;align-content:start;gap:12px;min-height:260px;padding:20px;border-radius:22px;background:linear-gradient(180deg,#fff,#fbfcfb);border:1px solid rgba(15,17,21,.08);box-shadow:0 16px 36px rgba(15,17,21,.08);text-decoration:none;overflow:hidden;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.services-card:hover{transform:translateY(-3px);border-color:rgba(29,151,83,.36);box-shadow:0 22px 44px rgba(29,151,83,.12)}
.services-card:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--brand),rgba(29,151,83,.18))}
.services-card--accent{background:linear-gradient(135deg,#1D9753,#167a44);color:#fff}
.services-card--accent:before{background:#ff7a00}
.services-card__label{display:inline-flex;width:max-content;padding:7px 10px;border-radius:999px;background:rgba(29,151,83,.10);color:var(--brand2);font-size:12px;font-weight:900}
.services-card--accent .services-card__label{background:rgba(255,255,255,.18);color:#fff}
.services-card h3{margin:0;font-size:24px;line-height:1.12}
.services-card p{margin:0;color:var(--muted);line-height:1.65}
.services-card--accent p{color:rgba(255,255,255,.90)}
.services-card strong{margin-top:auto;color:var(--brand2);font-size:14px}
.services-card--accent strong{color:#fff}
.services-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.72fr);gap:24px;align-items:center}
.services-feature__image{position:relative;margin:0;overflow:hidden;border-radius:24px;background:#0b0d10;border:1px solid rgba(15,17,21,.08);box-shadow:0 24px 60px rgba(15,17,21,.12);min-height:330px}
.services-feature__image img{width:100%;height:100%;min-height:330px;object-fit:cover;filter:saturate(1.04) contrast(1.04)}
.services-feature__image figcaption{position:absolute;left:16px;right:16px;bottom:16px;padding:13px 15px;border-radius:16px;background:rgba(255,255,255,.94);color:var(--ink);font-size:13px;font-weight:850;line-height:1.45;box-shadow:0 14px 30px rgba(0,0,0,.16)}
.services-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.services-directory article{padding:20px;border-radius:22px;background:linear-gradient(180deg,#fff,#fbfcfb);border:1px solid rgba(15,17,21,.08);box-shadow:0 14px 32px rgba(15,17,21,.07)}
.services-directory h3{margin:0 0 8px;font-size:23px}
.services-directory p{margin:0 0 14px}
.services-directory div{display:flex;flex-wrap:wrap;gap:9px}
.services-directory a{padding:9px 11px;border-radius:999px;background:rgba(29,151,83,.08);border:1px solid rgba(29,151,83,.16);color:var(--brand2);font-size:13px;font-weight:900;text-decoration:none}
.services-process{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.services-process div{padding:20px;border-radius:22px;background:#fff;border:1px solid rgba(15,17,21,.08);box-shadow:0 14px 32px rgba(15,17,21,.07)}
.services-process span{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;margin-bottom:14px;border-radius:14px;background:rgba(29,151,83,.10);color:var(--brand2);font-weight:900}
.services-process h3{margin:0 0 8px;font-size:21px}
.services-process p{margin:0}
@media(max-width:980px){.services-route-card__grid,.services-grid,.services-feature,.services-directory,.services-process,.services-map{grid-template-columns:1fr}.services-card{min-height:auto}.services-route-card{padding:20px}.roof-map{min-height:430px}.roof-map__house{width:94%;transform:translate(-50%,-42%)}} 
@media(max-width:640px){.roof-hotspot span{font-size:11px}.roof-hotspot--plat{left:68%}.roof-hotspot--inspectie{left:18%}.roof-map__house{height:280px}}

/* Herkenbare dakonderdelen in de dienstenkaart */
.roof-map__chimney{position:absolute;left:63%;top:34px;width:58px;height:92px;border-radius:8px 8px 5px 5px;background:linear-gradient(90deg,#8b735f,#c2ad99);box-shadow:inset 0 0 0 1px rgba(15,17,21,.12),0 18px 34px rgba(15,17,21,.18);z-index:3}
.roof-map__chimney:before{content:"";position:absolute;left:7px;right:7px;top:-13px;height:16px;border-radius:5px;background:#6f5d4d}
.roof-map__chimney:after{content:"";position:absolute;inset:9px;background:repeating-linear-gradient(0deg,rgba(255,255,255,.22) 0 2px,transparent 2px 16px),repeating-linear-gradient(90deg,rgba(15,17,21,.14) 0 1px,transparent 1px 19px);border-radius:5px}
.roof-map__dormer{position:absolute;left:28%;top:122px;width:126px;height:86px;border-radius:16px 16px 8px 8px;background:linear-gradient(180deg,#ffffff,#e9f1ed);border:1px solid rgba(15,17,21,.10);box-shadow:0 18px 34px rgba(15,17,21,.16);z-index:3}
.roof-map__dormer:before{content:"";position:absolute;left:10px;right:10px;top:-30px;height:48px;background:linear-gradient(135deg,#263340,#151c24);clip-path:polygon(50% 0,100% 100%,0 100%);border-radius:8px}
.roof-map__dormer:after{content:"";position:absolute;left:34px;top:28px;width:58px;height:38px;border-radius:10px;background:linear-gradient(135deg,#bdd4e3,#ffffff);box-shadow:inset 0 0 0 7px rgba(29,151,83,.10)}
.roof-map__lead{position:absolute;left:59%;top:118px;width:96px;height:18px;border-radius:999px;background:linear-gradient(90deg,#c7cdd2,#f5f7f8,#aeb6bd);box-shadow:0 8px 18px rgba(15,17,21,.16);transform:rotate(27deg);z-index:4}
.roof-map__flat{position:absolute;right:5%;bottom:74px;width:170px;height:78px;border-radius:18px;background:linear-gradient(180deg,#39424c,#171e25);border:1px solid rgba(255,255,255,.16);box-shadow:0 18px 36px rgba(15,17,21,.20);z-index:2}
.roof-map__flat:after{content:"";position:absolute;right:18px;top:15px;width:38px;height:38px;border-radius:999px;border:5px solid rgba(255,255,255,.55)}
.roof-map__gutter{position:absolute;left:10%;right:10%;top:188px;height:12px;border-radius:999px;background:linear-gradient(90deg,#d8dde0,#ffffff,#b8c0c5);box-shadow:0 8px 18px rgba(15,17,21,.16);z-index:3}
.roof-hotspot--nok{left:47%;top:-2%}.roof-hotspot--schoorsteen{left:72%;top:16%}.roof-hotspot--lood{left:67%;top:33%}.roof-hotspot--dakkapel{left:36%;top:34%}.roof-hotspot--plat{left:82%;top:67%}.roof-hotspot--inspectie{left:19%;top:75%}
@media(max-width:640px){.roof-map__chimney{left:61%;width:48px;height:78px}.roof-map__dormer{left:22%;width:112px}.roof-map__flat{right:2%;width:135px}.roof-hotspot--schoorsteen{left:76%}.roof-hotspot--plat{left:78%}}

/* Finale versie: premium klikbaar huisje met fototextuur en meer diepte */
.roof-map{
  min-height:500px;
  background:
    radial-gradient(560px 220px at 54% 24%,rgba(29,151,83,.14),transparent 66%),
    linear-gradient(180deg,#ffffff,#f4f8f6);
  perspective:1100px;
}
.roof-map:before{
  content:"";
  position:absolute;
  inset:18px;
  border-radius:22px;
  border:1px solid rgba(15,17,21,.06);
  pointer-events:none;
  z-index:1;
}
.roof-map:after{
  content:"Kies het dakdeel";
  position:absolute;
  left:28px;
  top:28px;
  z-index:6;
  padding:9px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:var(--brand2);
  font-size:13px;
  font-weight:900;
  box-shadow:0 12px 28px rgba(15,17,21,.14);
}
.roof-map__house{
  position:absolute;
  left:50%;
  top:52%;
  width:min(680px,92%);
  height:365px;
  transform:translate(-50%,-48%) rotateX(4deg);
  transform-style:preserve-3d;
}
.roof-map__roof,
.roof-map__body,
.roof-map__chimney,
.roof-map__dormer,
.roof-map__lead,
.roof-map__flat,
.roof-map__gutter{
  display:block;
}
.roof-map__roof{
  position:absolute;
  left:4%;
  right:4%;
  top:4px;
  height:218px;
  clip-path:polygon(50% 0,100% 72%,88% 72%,88% 100%,12% 100%,12% 72%,0 72%);
  background:
    linear-gradient(180deg,rgba(0,0,0,.14),rgba(0,0,0,.34)),
    url("../img/pages/diensten/diensten-visual-02-dakkapel-informatiepagina-dakkapel.webp") center 22%/cover no-repeat;
  border-radius:18px 18px 10px 10px;
  box-shadow:0 30px 50px rgba(15,17,21,.26);
  z-index:2;
}
.roof-map__roof:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(115deg,rgba(255,255,255,.28),transparent 34%,rgba(0,0,0,.24) 74%);
  mix-blend-mode:soft-light;
}
.roof-map__roof:after{
  content:"";
  position:absolute;
  left:7%;
  right:7%;
  bottom:0;
  height:20px;
  border-radius:999px;
  background:linear-gradient(90deg,#cfd6da,#fff,#aab4ba);
  box-shadow:0 12px 24px rgba(15,17,21,.20);
  opacity:1;
}
.roof-map__body{
  position:absolute;
  left:17%;
  right:17%;
  bottom:0;
  height:155px;
  border-radius:18px 18px 0 0;
  background:linear-gradient(180deg,#ffffff,#e8efec);
  border:1px solid rgba(15,17,21,.09);
  box-shadow:0 24px 46px rgba(15,17,21,.14);
  z-index:1;
}
.roof-map__body:before{
  content:"";
  position:absolute;
  left:16%;
  top:35px;
  width:64px;
  height:82px;
  border-radius:16px 16px 0 0;
  background:linear-gradient(180deg,#dff0e7,#b8d2c5);
  border:1px solid rgba(29,151,83,.20);
  box-shadow:inset 0 0 0 8px rgba(255,255,255,.48);
}
.roof-map__body:after{
  content:"";
  position:absolute;
  right:15%;
  top:36px;
  width:92px;
  height:58px;
  border-radius:16px;
  background:linear-gradient(135deg,#c7dce8,#ffffff);
  border:1px solid rgba(15,17,21,.08);
  box-shadow:inset 0 0 0 9px rgba(29,151,83,.08);
}
.roof-map__chimney{
  left:64%;
  top:42px;
  width:64px;
  height:105px;
  border-radius:9px 9px 5px 5px;
  background:linear-gradient(90deg,#7f6654,#cbb7a3);
  box-shadow:inset 0 0 0 1px rgba(15,17,21,.14),0 24px 38px rgba(15,17,21,.24);
}
.roof-map__dormer{
  left:28%;
  top:134px;
  width:150px;
  height:94px;
  border-radius:18px 18px 10px 10px;
  background:linear-gradient(180deg,#fff,#edf4f1);
  box-shadow:0 24px 38px rgba(15,17,21,.22);
}
.roof-map__dormer:before{
  top:-36px;
  height:58px;
}
.roof-map__dormer:after{
  left:40px;
  top:30px;
  width:70px;
  height:43px;
}
.roof-map__lead{
  left:59%;
  top:132px;
  width:112px;
  height:22px;
  transform:rotate(28deg);
}
.roof-map__flat{
  right:3%;
  bottom:82px;
  width:185px;
  height:88px;
  border-radius:20px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.08),rgba(0,0,0,.20)),
    linear-gradient(180deg,#38424d,#151c23);
}
.roof-map__gutter{
  left:9%;
  right:9%;
  top:220px;
  height:14px;
}
.roof-hotspot{
  width:34px;
  height:34px;
  border:8px solid #fff;
  background:var(--brand);
  box-shadow:0 0 0 7px rgba(29,151,83,.16),0 18px 32px rgba(15,17,21,.24);
}
.roof-hotspot span{
  top:calc(100% + 8px);
  padding:8px 11px;
  border:1px solid rgba(15,17,21,.08);
  box-shadow:0 14px 28px rgba(15,17,21,.15);
}
.roof-hotspot:hover{transform:scale(1.08) translateY(-1px)}
.roof-hotspot--schoorsteen{background:#ff7a00;border-color:#fff;box-shadow:0 0 0 7px rgba(255,122,0,.16),0 18px 32px rgba(15,17,21,.24)}
.roof-hotspot--inspectie{background:#45b4ff;border-color:#fff;box-shadow:0 0 0 7px rgba(69,180,255,.15),0 18px 32px rgba(15,17,21,.24)}
.roof-hotspot--nok{left:42%;top:8%}
.roof-hotspot--schoorsteen{left:70%;top:19%}
.roof-hotspot--lood{left:62%;top:37%}
.roof-hotspot--dakkapel{left:33%;top:42%}
.roof-hotspot--plat{left:73%;top:70%}
.roof-hotspot--inspectie{left:16%;top:74%}

@media(max-width:640px){
  .roof-map{
    min-height:0;
    padding:260px 14px 14px;
  }
  .roof-map__house{
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    height:auto;
    transform:none;
    display:grid;
    gap:8px;
  }
  .roof-map__roof,
  .roof-map__body,
  .roof-map__chimney,
  .roof-map__dormer,
  .roof-map__lead,
  .roof-map__flat,
  .roof-map__gutter{
    display:none;
  }
  .roof-hotspot{
    position:relative;
    left:auto!important;
    top:auto!important;
    width:100%;
    height:auto;
    padding:11px 12px;
    border:1px solid rgba(15,17,21,.08);
    border-radius:16px;
    background:#fff;
    color:var(--ink);
    justify-content:flex-start;
    min-height:46px;
    box-shadow:0 10px 22px rgba(15,17,21,.08);
  }
  .roof-hotspot:before{
    content:"";
    width:10px;
    height:10px;
    flex:0 0 10px;
    border-radius:999px;
    background:var(--brand);
    box-shadow:0 0 0 5px rgba(29,151,83,.14);
  }
  .roof-hotspot--schoorsteen:before{background:#ff7a00;box-shadow:0 0 0 5px rgba(255,122,0,.16)}
  .roof-hotspot--inspectie:before{background:#45b4ff;box-shadow:0 0 0 5px rgba(69,180,255,.15)}
  .roof-hotspot span{
    position:static;
    transform:none;
    padding:0;
    border:0;
    background:transparent;
    box-shadow:none;
  }
}

/* Foto-gebaseerde dakkaart */
.roof-map {
  min-height: 560px;
  background:
    linear-gradient(180deg, rgba(11,13,16,.08), rgba(11,13,16,.38)),
    url("../img/diensten/dakprobleem-kaart-schuin-dak.webp") center 58% / cover no-repeat;
}

.roof-map:before {
  inset: 0;
  border: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.16)),
    radial-gradient(520px 240px at 50% 52%, rgba(29,151,83,.18), transparent 70%);
  z-index: 1;
}

.roof-map__house {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  transform: none;
  z-index: 2;
}

.roof-map__roof,
.roof-map__body,
.roof-map__chimney,
.roof-map__dormer,
.roof-map__lead,
.roof-map__flat,
.roof-map__gutter {
  display: none;
}

.roof-hotspot {
  z-index: 5;
}

.roof-hotspot--nok { left: 56%; top: 38%; }
.roof-hotspot--schoorsteen { left: 44%; top: 37%; }
.roof-hotspot--lood { left: 55%; top: 48%; }
.roof-hotspot--dakkapel { left: 38%; top: 48%; }
.roof-hotspot--plat { left: 74%; top: 59%; }
.roof-hotspot--inspectie { left: 58%; top: 56%; }

@media(max-width:640px) {
  .roof-map {
    background:
      linear-gradient(180deg, rgba(11,13,16,.08), rgba(11,13,16,.46)),
      url("../img/diensten/dakprobleem-kaart-schuin-dak.webp") center 54% / cover no-repeat;
    padding-top: 300px;
  }
}

/* Dakkaart: kleine pointer-hotspots, labels verschijnen pas bij hover/focus */
.roof-hotspot {
  --dot: var(--brand);
  --label-x: -50%;
  --label-y: calc(-100% - 18px);
  --line-x: 0px;
  --line-y: -46px;
  --line-rotate: 0deg;
  width: 26px;
  height: 26px;
  border: 5px solid #fff;
  background: var(--dot);
  box-shadow: 0 0 0 7px rgba(29,151,83,.16), 0 14px 28px rgba(15,17,21,.22);
  transform: translate(-50%, -50%);
}

.roof-hotspot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 52px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 0 1px rgba(15,17,21,.14);
  transform: translate(-50%, -50%) translate(var(--line-x), var(--line-y)) rotate(var(--line-rotate));
  transform-origin: top center;
  pointer-events: none;
}

.roof-hotspot span {
  top: 50%;
  opacity: 0;
  visibility: hidden;
  min-width: 140px;
  max-width: 210px;
  white-space: normal;
  text-align: center;
  pointer-events: none;
  transform: translate(var(--label-x), var(--label-y)) translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.roof-hotspot:hover,
.roof-hotspot:focus-visible {
  transform: translate(-50%, -50%) scale(1.06);
}

.roof-hotspot:hover span,
.roof-hotspot:focus-visible span {
  opacity: 1;
  visibility: visible;
  transform: translate(var(--label-x), var(--label-y));
}

.roof-hotspot--schoorsteen {
  --dot: #ff7a00;
  left: 43%;
  top: 39%;
  --line-x: 28px;
  --line-y: -30px;
  --line-rotate: 45deg;
  box-shadow: 0 0 0 7px rgba(255,122,0,.17), 0 14px 28px rgba(15,17,21,.22);
}

.roof-hotspot--nok {
  left: 64%;
  top: 31%;
  --line-x: -42px;
  --line-y: 20px;
  --line-rotate: 68deg;
}

.roof-hotspot--lood {
  left: 59%;
  top: 49%;
  --line-x: -28px;
  --line-y: -18px;
  --line-rotate: 56deg;
}

.roof-hotspot--dakkapel {
  left: 32%;
  top: 55%;
  --line-x: 36px;
  --line-y: -32px;
  --line-rotate: 54deg;
}

.roof-hotspot--dakgoot {
  left: 72%;
  top: 49%;
  --line-x: -42px;
  --line-y: -22px;
  --line-rotate: 73deg;
}

.roof-hotspot--plat {
  left: 82%;
  top: 62%;
  --line-x: -28px;
  --line-y: -30px;
  --line-rotate: 36deg;
}

.roof-hotspot--inspectie {
  --dot: #45b4ff;
  left: 54%;
  top: 64%;
  --line-x: 0px;
  --line-y: -44px;
  --line-rotate: 0deg;
  box-shadow: 0 0 0 7px rgba(69,180,255,.16), 0 14px 28px rgba(15,17,21,.22);
}

@media(max-width:640px) {
  .roof-hotspot {
    --dot: var(--brand);
    position: relative;
    left: auto!important;
    top: auto!important;
    width: 100%;
    height: auto;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid rgba(15,17,21,.08);
    border-radius: 16px;
    background: #fff;
    color: var(--ink);
    justify-content: flex-start;
    transform: none;
    box-shadow: 0 10px 22px rgba(15,17,21,.08);
  }

  .roof-hotspot:hover,
  .roof-hotspot:focus-visible {
    transform: none;
  }

  .roof-hotspot::after {
    display: none;
  }

  .roof-hotspot:before {
    background: var(--dot);
  }

  .roof-hotspot span,
  .roof-hotspot:hover span,
  .roof-hotspot:focus-visible span {
    position: static;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    max-width: none;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    text-align: left;
    transform: none;
    overflow-wrap: anywhere;
  }
}

/* Laatste override: dakkaart rustig houden, keuzes als duidelijke knoppen */
.roof-map {
  display: grid;
  align-items: end;
  min-height: 520px;
  padding: 0;
}

.roof-map__house {
  position: absolute;
  inset: 0;
  display: block;
}

.roof-map__house::before {
  content: "Kies het dakdeel";
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 4;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--brand2);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(15,17,21,.12);
}

.roof-hotspot {
  position: relative;
  left: auto !important;
  top: auto !important;
  width: auto;
  height: auto;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(15,17,21,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(15,17,21,.12);
  transform: none;
}

.roof-hotspot::after {
  display: none;
}

.roof-hotspot::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 999px;
  background: var(--dot, var(--brand));
  box-shadow: 0 0 0 5px rgba(29,151,83,.14);
}

.roof-hotspot span,
.roof-hotspot:hover span,
.roof-hotspot:focus-visible span {
  position: static;
  opacity: 1;
  visibility: visible;
  min-width: 0;
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font-size: 14px;
  line-height: 1.15;
  text-align: left;
  transform: none;
}

.roof-hotspot:hover,
.roof-hotspot:focus-visible {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-1px);
  outline: none;
}

.roof-hotspot:hover::before,
.roof-hotspot:focus-visible::before {
  background: #fff;
  box-shadow: none;
}

.roof-hotspot--schoorsteen {
  --dot: #ff7a00;
}

.roof-hotspot--inspectie {
  --dot: #45b4ff;
}

.roof-map__house {
  align-content: end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: flex-end;
  padding: 0 22px 24px;
}

@media(max-width:640px) {
  .roof-map {
    min-height: 0;
    padding-top: 285px;
    background:
      linear-gradient(180deg, rgba(11,13,16,.04), rgba(11,13,16,.32) 0 285px, #f8fbf9 285px),
      url("../img/diensten/dakprobleem-kaart-schuin-dak.webp") center top / 100% 285px no-repeat;
  }

  .roof-map__house {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px;
    background: #f8fbf9;
  }

  .roof-map__house::before {
    left: 14px;
    top: -270px;
  }

  .roof-hotspot {
    min-height: 48px;
    justify-content: flex-start;
    border-radius: 16px;
    padding: 11px 12px;
  }

  .roof-hotspot span {
    font-size: 13px;
  }

  .roof-hotspot--inspectie {
    grid-column: 1 / -1;
  }
}
