/* The installer look: everything here is scoped to .site[data-look="installer"]. Appended after base.css (bun run --filter @platform/sections css).
   The page as an installation drawing: the sheet on grid paper with zone
   marks, the NEN 3050 legend, a spec sheet, details of photos, the
   warning-yellow call sign, the groepenkast, the time switch, the werkbon and
   the title block. Colour is functional: pipe codes in the legend, the
   customer's colour on what you press, okergeel (RAL 1004) for the call sign. */

.site[data-look="installer"] {
  --ins-grid: #edf1f4;
  --ins-grid-major: #dde4ea;
  --ins-signal: #e4a010;
  --ins-on-signal: #111417;
  --ins-kast: #cbd0cc;
  --ins-plate: #eceeeb;
  --ins-module: #f6f6f3;
  --ins-module-edge: #9aa09b;
  --ins-slip: #fbf3c9;
  --ins-slip-2: #f9dfe4;
  --ins-gutter: max(var(--gap), (100vw - var(--wrap)) / 2);
  --fs-h1: calc(clamp(2.6rem, 0.5rem + 6.6vw, 8rem) * var(--heading-scale, 1));
  --fs-h2: calc(clamp(2.1rem, 1.2rem + 3vw, 4.4rem) * var(--heading-scale, 1));
  --fs-h3: calc(clamp(1.2rem, 1.1rem + 0.4vw, 1.45rem) * var(--heading-scale, 1));
  --mono: var(--font-figures);
}
.site[data-look="installer"] :is(h1, h2) { letter-spacing: -0.035em; line-height: 0.98; font-weight: 600; hyphens: auto; overflow-wrap: break-word; }
.site[data-look="installer"] main > .s + .s { border-top: 0; }
.site[data-look="installer"] .lead { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem); line-height: 1.45; color: var(--muted); }

/* --- Header: the sheet's top edge --------------------------------------- */
.site[data-look="installer"] .site-header { border-bottom: 2px solid var(--text); }
.site[data-look="installer"] .brand { font-weight: 600; letter-spacing: -0.02em; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem); }
.site[data-look="installer"] .site-header nav a { font-family: var(--mono); font-size: 0.9rem; letter-spacing: 0.02em; }
.site[data-look="installer"] .site-header .btn { font-variant-numeric: tabular-nums; }

/* --- Hero: the drawing sheet on grid paper ------------------------------- */
.ins-hero { padding: 0; overflow: clip; }
.ins-sheet {
  position: relative; display: grid;
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--ins-grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--ins-grid-major) 1px, transparent 1px),
    linear-gradient(var(--ins-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ins-grid) 1px, transparent 1px);
  background-size: 6rem 6rem, 6rem 6rem, 1.2rem 1.2rem, 1.2rem 1.2rem;
  background-position: -1px -1px;
}
/* Zone marks: the drawing border with numbered and lettered margins. */
.ins-zones { position: absolute; inset: 0.75rem; border: 1.5px solid var(--text); pointer-events: none; z-index: 2; font-family: var(--mono); font-size: 0.68rem; color: var(--muted); }
.ins-zones-x { position: absolute; top: 0; left: 1.25rem; right: 0; height: 1.25rem; display: flex; border-bottom: 1px solid var(--text); border-left: 1px solid var(--text); }
.ins-zones-y { position: absolute; top: 1.25rem; bottom: 0; left: 0; width: 1.25rem; display: flex; flex-direction: column; border-right: 1px solid var(--text); }
.ins-zones-x span { flex: 1; display: grid; place-items: center; background: var(--bg); }
.ins-zones-x span + span { border-left: 1px solid var(--text); }
.ins-zones-y span { flex: 1; display: grid; place-items: center; background: var(--bg); }
.ins-zones-y span + span { border-top: 1px solid var(--text); }
.ins-hero-text { container-type: inline-size; position: relative; z-index: 1; min-width: 0; padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4.5rem) calc(var(--ins-gutter) + 1rem); align-self: center; }
.ins-hero h1 { font-size: min(var(--fs-h1), 15cqi); max-width: 12.5ch; margin-bottom: 0.32em; hyphens: auto; overflow-wrap: break-word; }
.ins-hero-text[data-length="l"] h1 { font-size: min(calc(clamp(2.4rem, 0.6rem + 5vw, 6.25rem) * var(--heading-scale, 1)), 12cqi); max-width: 14ch; }
.ins-hero-text[data-length="xl"] h1 { font-size: min(calc(clamp(2.2rem, 0.8rem + 3.4vw, 4.6rem) * var(--heading-scale, 1)), 10cqi); max-width: 17ch; }
.ins-hero .lead { max-width: 34rem; color: var(--text); }
.ins-hero .actions { margin-top: 2.25rem; }
.ins-hero .actions .btn { min-height: 56px; padding-inline: 1.6rem; font-size: 1.1rem; }

/* The number itself is the call: big, measured with a dimension line. */
.ins-hero-call { margin-top: clamp(2rem, 4vw, 3.25rem); display: grid; justify-items: start; gap: 0.25rem; }
.ins-hero-call .actions { margin: 0.35rem 0 0; }
.ins-dial { display: inline-grid; color: var(--text); text-decoration: none; max-width: 100%; }
.ins-dial-num {
  font-family: var(--font-heading); font-weight: 600; font-size: clamp(2.15rem, 0.4rem + 8.6vw, 5.9rem); line-height: 1; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums lining-nums; white-space: nowrap;
  text-decoration: underline; text-decoration-color: var(--primary); text-decoration-thickness: 0.09em; text-underline-offset: 0.14em;
}
.ins-dial:hover .ins-dial-num { text-decoration-thickness: 0.16em; }
.ins-dial:focus-visible { outline-offset: 8px; }
.ins-dim { position: relative; display: block; height: 1.5rem; margin-bottom: 0.6rem; }
/* The dimension line, its extension lines and the slashed ticks of a Dutch drawing. */
.ins-dim::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--text); }
.ins-dim::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(var(--text), var(--text)) left center / 1px 100% no-repeat,
    linear-gradient(var(--text), var(--text)) right center / 1px 100% no-repeat,
    linear-gradient(135deg, transparent calc(50% - 1px), var(--text) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) left center / 0.75rem 0.75rem no-repeat,
    linear-gradient(135deg, transparent calc(50% - 1px), var(--text) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) right center / 0.75rem 0.75rem no-repeat;
}
.ins-dim-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; padding: 0 0.6rem; background: var(--bg); font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1; white-space: nowrap; }

/* The photo, framed inside the drawing border as detail A. */
.ins-hero-media { position: relative; margin: 0; min-width: 0; }
.ins-hero-media .ins-detail-img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }

@media (min-width: 52rem) {
  .ins-sheet { min-height: max(34rem, calc(100svh - 4.6rem - 7.25rem)); }
  .ins-hero.has-media .ins-sheet { grid-template-columns: minmax(0, 1fr) minmax(0, 0.74fr); }
  .ins-hero .ins-hero-media { margin: calc(0.75rem + 1.25rem + 1px) calc(0.75rem + 1.5px) calc(0.75rem + 1.5px) 0; border-left: 1.5px solid var(--text); }
  .ins-hero-media .ins-detail-img { position: absolute; inset: 0; }
}
@media (max-width: 51.99rem) {
  .ins-sheet { grid-template-columns: minmax(0, 1fr); }
  .ins-zones { inset: 0.5rem; }
  .ins-zones-x span:nth-child(n + 5) { display: none; }
  .ins-zones-y span:nth-child(n + 3) { display: none; }
  .ins-hero .ins-hero-media { order: -1; height: clamp(9rem, 24svh, 13rem); margin: calc(0.5rem + 1.25rem + 1px) calc(0.5rem + 1.5px) 0 calc(0.5rem + 1.5px); border-bottom: 1.5px solid var(--text); }
  .ins-hero-media .ins-detail-img { position: absolute; inset: 0; }
  .ins-hero.has-media .ins-zones-y { display: none; }
  .ins-hero-text { padding: 1.6rem calc(var(--gap) + 0.5rem) 2.25rem calc(var(--gap) + 1.25rem); }
  .ins-hero:not(.has-media) .ins-hero-text { padding-top: 3.5rem; }
}

/* No photo: the riser diagram fills the sheet's second column. */
.ins-drawing { position: relative; z-index: 1; min-width: 0; display: grid; place-items: center; padding: 2.5rem clamp(1.5rem, 4vw, 4rem) 2rem 0; }
.ins-drawing svg { width: 100%; max-width: 34rem; height: auto; max-height: calc(100svh - 14rem); overflow: visible; font-family: var(--mono); }
.ins-drawing :is(line, path, rect, circle) { fill: none; stroke: var(--text); stroke-width: 1.5; }
.ins-drawing .d-floor line { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 18 4 2 4; }
.ins-drawing .d-box { stroke-width: 2; fill: var(--bg); }
.ins-drawing .d-thin { stroke-width: 1; fill: var(--bg); }
.ins-drawing .d-water { stroke: var(--pipe-water); stroke-width: 4; stroke-linejoin: round; }
.ins-drawing .d-gas { stroke: var(--pipe-gas); stroke-width: 4; }
.ins-drawing .d-cv { stroke-width: 2.5; stroke-linejoin: round; }
.ins-drawing .d-return { stroke-dasharray: 10 3 2 3; }
.ins-drawing .d-power { stroke-dasharray: 6 4; stroke-width: 1.5; }
.ins-drawing .d-valve { fill: var(--text); stroke: none; }
.ins-drawing .d-rad rect { fill: var(--bg); stroke-width: 2; }
.ins-drawing .d-rad line { stroke-width: 1; }
.ins-drawing .d-dim :is(line, path) { stroke-width: 1; }
.ins-drawing text { fill: var(--muted); font-size: 11px; letter-spacing: 0.04em; stroke: none; }
.ins-drawing .d-label { fill: var(--text); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; }
.ins-drawing .d-dim text { fill: var(--text); text-anchor: middle; }
@media (min-width: 52rem) { .ins-hero.has-drawing .ins-sheet { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
@media (max-width: 51.99rem) { .ins-drawing { padding: 0 calc(var(--gap) + 0.5rem) 2.5rem calc(var(--gap) + 1.25rem); } .ins-drawing svg { max-height: 22rem; } }
@media (prefers-reduced-motion: no-preference) {
  .ins-drawing :is(.d-water, .d-gas, .d-cv) { stroke-dasharray: 1200; animation: ins-pipe 2.2s cubic-bezier(0.3, 0.6, 0.2, 1) both 0.2s; }
  .ins-drawing .d-return { animation: none; }
}
@keyframes ins-pipe { from { stroke-dashoffset: 1200; } to { stroke-dashoffset: 0; } }

/* --- Details: a photo with its reference bubble and description ----------- */
.ins-detail { margin: 0; position: relative; }
.ins-detail-img { display: block; width: 100%; object-fit: cover; background: var(--surface); }
.ins-bubble {
  display: inline-grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 1.5px solid var(--text); background: var(--bg); color: var(--text);
  font-family: var(--mono); font-weight: 600; font-size: 1rem; line-height: 1;
}
.ins-detail figcaption { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; font-size: 0.95rem; line-height: 1.35; color: var(--muted); }
.ins-detail-text { display: grid; gap: 0.1rem; min-width: 0; }
.ins-detail-name { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); }
/* In the hero the caption sits on the photo, on a paper label. */
.ins-hero-media figcaption { position: absolute; left: 0; bottom: 0; z-index: 1; margin: 0; max-width: min(100%, 26rem); padding: 0.65rem 1rem 0.65rem 0.65rem; background: var(--bg); border-top: 1.5px solid var(--text); border-right: 1.5px solid var(--text); }
@media (max-width: 51.99rem) { .ins-hero-media figcaption { font-size: 0.85rem; padding: 0.45rem 0.75rem 0.45rem 0.45rem; } .ins-hero-media .ins-bubble { width: 2.1rem; height: 2.1rem; font-size: 0.85rem; } .ins-hero-media .ins-detail-alt { display: none; } }

/* --- NEN 3050: three pipe runs across the page ------------------------------ */
.ins-legend { margin: 0; padding: 1rem 0 1.4rem; background: var(--bg); border-top: 1.5px solid var(--text); border-bottom: 1.5px solid var(--text); font-family: var(--mono); font-size: 0.78rem; }
.ins-legend figcaption { margin-bottom: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ins-legend ul { display: grid; gap: 0.3rem; }
.ins-run { position: relative; display: flex; align-items: center; min-height: 1.6rem; padding-left: calc(var(--ins-gutter) + 2.5rem); }
.ins-run::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 9px; margin-top: -4.5px; transform-origin: left center; }
.ins-run-water::before { background: linear-gradient(rgb(255 255 255 / 0.35), transparent 45%, rgb(0 0 0 / 0.22)), var(--pipe-water); }
.ins-run-gas::before { background: linear-gradient(rgb(255 255 255 / 0.4), transparent 45%, rgb(0 0 0 / 0.18)), var(--pipe-gas); }
.ins-run-power::before { height: 0; margin-top: -1px; border-top: 2px dashed var(--text); }
.ins-tag { position: relative; z-index: 1; display: inline-flex; gap: 0.75rem; padding: 0.1rem 0.6rem; background: var(--bg); border: 1px solid var(--text); color: var(--text); white-space: nowrap; }
.ins-code { color: var(--muted); }
.ins-run:nth-child(2) { padding-left: calc(var(--ins-gutter) + 12rem); }
.ins-run:nth-child(3) { padding-left: calc(var(--ins-gutter) + 21.5rem); }
@media (max-width: 40rem) {
  .ins-run:nth-child(n) { padding-left: calc(var(--gap) + 1rem); }
}

/* --- Trust strip: the drawing's general note, under the legend ---------------- */
.ins-trust { padding-block: clamp(1.25rem, 2.5vw, 1.75rem); border-bottom: 1.5px solid var(--text); }
.ins-note { margin-block: 0; max-width: none; font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem); line-height: 1.45; }
.ins-note-label { margin-right: 0.6rem; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Headings beside an artefact: sized so a long Dutch word stays whole. */
@media (min-width: 64rem) {
  :is(.ins-spec-head, .ins-hours .hours-intro, .ins-area-text, .ins-faq-inner) > :is(h1, h2) { font-size: calc(clamp(2.1rem, 0.9rem + 2.4vw, 3.6rem) * var(--heading-scale, 1)); }
}

/* --- Services: the spec sheet ------------------------------------------------- */
.ins-services { background: var(--surface); padding-block: clamp(3.25rem, 9vw, 8rem); }
.ins-spec { display: grid; gap: clamp(2rem, 4vw, 3rem) clamp(2.5rem, 5vw, 5rem); }
.ins-spec-head h1, .ins-spec-head h2 { margin-bottom: 0.4em; }
.ins-spec-head .lead { margin: 0; }
/* The heading above the sheet, its lead beside it; the sheet runs across
   the page as a three-column schedule (work, what it is, rate). */
@media (min-width: 64rem) {
  .ins-spec-head { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.45fr); gap: 0 clamp(2.5rem, 5vw, 5rem); align-items: end; }
  .ins-spec-head h1, .ins-spec-head h2 { margin-bottom: 0; }
  .ins-spec-row { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr) auto; align-items: baseline; }
  .ins-spec-sheet:not(.has-prices) .ins-spec-row { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); }
  .ins-spec-body { display: contents; }
  .ins-spec-note { margin: 0; }
  .ins-spec-sheet.has-prices .ins-spec-price { grid-column: 3; grid-row: 1; }
}
.ins-spec-sheet { background: var(--bg); border: 1.5px solid var(--text); }
.ins-spec-cols { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: 0.6rem clamp(1rem, 2.5vw, 1.75rem); background: var(--text); color: var(--bg); font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.ins-spec-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.35rem clamp(1.25rem, 3vw, 2.5rem); padding: clamp(1.15rem, 2.2vw, 1.6rem) clamp(1rem, 2.5vw, 1.75rem); border-top: 1px solid var(--border); transition: background-color 0.2s; }
.ins-spec-row:first-child { border-top: 0; }
.ins-spec-sheet:not(.has-prices) .ins-spec-row { grid-template-columns: minmax(0, 1fr); }
.ins-spec-row::before { content: ''; position: absolute; left: -1.5px; top: -1px; bottom: -1px; width: 5px; background: var(--text); transform: scaleY(0); transform-origin: top; transition: transform 0.25s ease; }
.ins-spec-row:hover { background: color-mix(in srgb, var(--surface) 55%, var(--bg)); }
.ins-spec-row:hover::before { transform: scaleY(1); }
.ins-spec-row :is(h2, h3, .ins-spec-name) { margin: 0; font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; overflow-wrap: break-word; hyphens: auto; }
.ins-spec-note { margin: 0.4rem 0 0; color: var(--muted); max-width: 40rem; }
.ins-spec-price { margin: 0; text-align: right; font-family: var(--mono); font-weight: 500; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem); line-height: 1.2; font-variant-numeric: tabular-nums; min-width: 6.5rem; }
.ins-spec-price :is(.price-from, .price-unit) { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ins-spec-price .price-amount { white-space: nowrap; }
.ins-spec-none { color: var(--muted); }
/* Phones: the rate beside the name, the description under both. */
@media (max-width: 40rem) {
  .ins-spec-row { grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; }
  .ins-spec-body { display: contents; }
  .ins-spec-row :is(h2, h3, .ins-spec-name) { grid-column: 1; grid-row: 1; align-self: center; }
  .ins-spec-note { grid-column: 1 / -1; margin-top: 0.1rem; }
  .ins-spec-price { grid-column: 2; grid-row: 1; min-width: 0; }
  .ins-spec-none { display: none; }
}

/* --- Gallery: the details sheet ------------------------------------------------ */
.ins-gallery { padding-block: clamp(3.25rem, 8vw, 7rem); }
.ins-details { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.ins-details li { grid-column: span 6; min-width: 0; }
.ins-details .ins-detail-img { aspect-ratio: 4 / 3; border: 1.5px solid var(--text); }
@media (min-width: 52rem) {
  .ins-gallery:is([data-count="1"], [data-count="5"]) .ins-details li:first-child { grid-column: 1 / -1; }
  .ins-gallery:is([data-count="1"], [data-count="5"]) .ins-details li:first-child .ins-detail-img { aspect-ratio: 21 / 9; }
  .ins-gallery[data-count="3"] .ins-details li:first-child { grid-column: span 7; grid-row: span 2; display: flex; }
  .ins-gallery[data-count="3"] .ins-details li:first-child .ins-detail { display: flex; flex-direction: column; flex: 1; }
  .ins-gallery[data-count="3"] .ins-details li:first-child .ins-detail-img { flex: 1; aspect-ratio: auto; min-height: 20rem; }
  .ins-gallery[data-count="3"] .ins-details li:not(:first-child) { grid-column: span 5; }
}
@media (max-width: 51.99rem) {
  .ins-details li { grid-column: 1 / -1; }
}
/* Phones: the first detail across, the others two by two with their letter only. */
@media (max-width: 40rem) {
  .ins-details { gap: 1rem 0.75rem; }
  .ins-details li:not(:first-child) { grid-column: span 6; }
  .ins-details li:nth-child(2):last-child { grid-column: 1 / -1; }
  .ins-details li:not(:first-child) .ins-detail-alt { display: none; }
  .ins-details .ins-detail figcaption { margin-top: 0.5rem; }
}

/* --- Call to action: the call sign in warning yellow ---------------------------- */
.ins-cta { --text: var(--ins-on-signal); --muted: var(--ins-on-signal); --bg: var(--ins-signal); background: var(--ins-signal); color: var(--ins-on-signal); padding-block: clamp(3.5rem, 8vw, 7rem); border-block: 3px solid var(--ins-on-signal); }
.ins-cta-inner { display: block; }
.ins-cta h1, .ins-cta h2 { font-size: calc(clamp(2.5rem, 1rem + 5vw, 6.5rem) * var(--heading-scale, 1)); margin-bottom: 0.25em; max-width: 14ch; overflow-wrap: break-word; hyphens: auto; }
.ins-cta-text p { margin: 0; font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem); line-height: 1.45; max-width: 36rem; }
.ins-hero .ins-dial-num { font-size: clamp(2rem, 12cqi, 5.9rem); }
.ins-dial-cta .ins-dial-num { font-size: clamp(2.15rem, 0.4rem + 8.6vw, 5.25rem); text-decoration-color: var(--ins-on-signal); }
.ins-cta .btn { min-height: 56px; padding-inline: 1.6rem; font-size: 1.1rem; border-color: var(--ins-on-signal); }

/* --- Service area: the groepenkast --------------------------------------------- */
.ins-area { background: var(--ins-kast); color: #111417; --text: #111417; --muted: #3a3f44; padding-block: clamp(3.25rem, 8vw, 7rem); }
.ins-area-inner { display: grid; gap: clamp(2rem, 4vw, 3rem) clamp(2.5rem, 5vw, 5rem); align-items: start; }
@media (min-width: 64rem) { .ins-area-inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.45fr); } }
.ins-area .area-body { color: var(--muted); max-width: 30rem; font-size: 1.1rem; }
/* The cover plate with the row(s) of groups behind its cut-out. */
.ins-kast { position: relative; padding: clamp(1.25rem, 3vw, 2rem); background: var(--ins-plate); border: 1px solid var(--ins-module-edge); border-radius: 6px; box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgb(0 0 0 / 0.12), 0 22px 40px -30px rgb(0 0 0 / 0.55); }
.ins-groups { display: flex; flex-wrap: wrap; align-items: flex-end; row-gap: 1.5rem; }
.ins-group { position: relative; display: flex; flex-direction: column; width: clamp(6rem, 4.6rem + 3vw, 7.75rem); }
/* Each group writes its place on the label strip above it, as in any meterkast. */
.ins-group-label {
  display: grid; place-items: center; min-height: 3rem; margin: 0 0.15rem 0.6rem; padding: 0.3rem 0.4rem;
  background: #fff; border: 1px solid var(--ins-module-edge); color: #111417;
  font-family: var(--mono); font-size: 0.85rem; line-height: 1.2; text-align: center; overflow-wrap: anywhere; hyphens: auto;
}
/* The DIN rail runs behind the modules. */
.ins-group::before { content: ''; position: absolute; left: 0; right: 0; bottom: 2.4rem; height: 1.2rem; background: linear-gradient(#c9cdc9, #a7aca8 40%, #d8dbd8 60%, #9fa49f); border-block: 1px solid #8c918c; }
.ins-breaker { position: relative; z-index: 1; height: 7rem; margin-inline: 1px; background: linear-gradient(90deg, #e4e5e1, var(--ins-module) 18%, var(--ins-module) 82%, #e1e2de); border: 1px solid var(--ins-module-edge); border-radius: 2px 2px 3px 3px; }
.ins-breaker::before { content: ''; position: absolute; left: 50%; top: 1.15rem; width: 1.55rem; height: 2.7rem; transform: translateX(-50%); background: #3a3f44; border-radius: 2px; box-shadow: inset 0 2px 3px rgb(0 0 0 / 0.5); }
.ins-lever { position: absolute; left: 50%; top: 1.15rem; width: 1.35rem; height: 1.45rem; margin-left: -0.675rem; background: linear-gradient(#5d646b, #2b2f33); border-radius: 2px; box-shadow: 0 2px 0 rgb(0 0 0 / 0.35); transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1); }
.ins-breaker::after { content: ''; position: absolute; left: 22%; right: 22%; bottom: 1.1rem; height: 0.45rem; border-block: 1px solid #c4c7c3; }
.ins-group:hover .ins-lever { transform: translateY(-2px); }
.ins-group:hover .ins-group-label { border-color: #111417; }

/* --- Opening hours: the time switch's week programme ---------------------------- */
.ins-hours { background: var(--surface); padding-block: clamp(3.25rem, 8vw, 7rem); }
.ins-hours-inner { display: grid; gap: clamp(2rem, 4vw, 3rem) clamp(2.5rem, 5vw, 5rem); align-items: start; }
@media (min-width: 64rem) { .ins-hours-inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.45fr); } }
.ins-hours .hours-place { font-size: 1.05rem; }
.ins-hours .hours-call { margin-top: 1.25rem; font-size: 1.25rem; }
.ins-clock { --day: 12.5rem; --time: 8.5rem; background: var(--bg); border: 1.5px solid var(--text); padding: 1.25rem clamp(1rem, 2.5vw, 1.75rem) 0.75rem; min-width: 0; }
.ins-clock-axis { position: relative; height: 1.1rem; margin: 0 var(--time) 0.35rem var(--day); font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
.ins-clock-axis span { position: absolute; top: 0; transform: translateX(-50%); }
.ins-clock-table { table-layout: fixed; }
.ins-clock-table th { width: var(--day); white-space: normal; padding-right: 0.75rem; }
.ins-clock-table td.ins-clock-time { width: var(--time); font-size: 1rem; white-space: normal; padding-left: 0.75rem; }
.ins-clock-table th, .ins-clock-table td { border-bottom-color: var(--border); }
.ins-clock-table tr:last-child :is(th, td) { border-bottom: 0; }
.ins-range { white-space: nowrap; }
.ins-clock-bar { padding-inline: 0 !important; vertical-align: middle !important; }
.ins-track {
  position: relative; display: block; height: 1rem;
  background: repeating-linear-gradient(90deg, var(--border) 0 1px, transparent 1px calc(100% / 24)) 0 0 / 100% 100%, color-mix(in srgb, var(--surface) 60%, var(--bg));
  border: 1px solid var(--muted);
}
.ins-on { position: absolute; top: -1px; bottom: -1px; background: var(--primary); border: 1px solid var(--text); }
@media (max-width: 40rem) {
  .ins-area { padding-block: 3.5rem; }
  .ins-kast { padding: 1rem; }
  .ins-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 1rem; }
  .ins-group { width: auto; }
  .ins-group-label { min-height: 2.6rem; margin-bottom: 0.45rem; padding-inline: 0.2rem; }
  .ins-breaker { height: 4.75rem; }
  .ins-breaker::before, .ins-lever { top: 0.75rem; }
  .ins-breaker::before { height: 2.1rem; }
  .ins-breaker::after { bottom: 0.7rem; }
  .ins-group::before { bottom: 1.6rem; height: 0.9rem; }
  .ins-hours, .ins-services, .ins-gallery { padding-block: 3.5rem; }
  .ins-spec-row { padding-block: 1rem; }
  .ins-clock { --day: auto; --time: 7.25rem; }
  .ins-clock-table td.ins-clock-time { font-size: 0.95rem; text-align: right; }
  .ins-group-label { font-size: 0.78rem; }
  .ins-clock-axis, .ins-clock-bar { display: none; }
  .ins-clock-table th { width: auto; }
}

/* --- About: a detail beside the text, facts in boxed fields ----------------------- */
.ins-about { padding: 0; display: grid; }
.ins-about-text { padding: clamp(3.5rem, 8vw, 7rem) var(--ins-gutter); max-width: calc(46rem + 2 * var(--gap)); }
.ins-about-text > p { max-width: 38rem; }
.ins-about-text > p:first-of-type { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); line-height: 1.5; }
.ins-about-media .ins-detail-img { width: 100%; height: 100%; aspect-ratio: 4 / 3; }
.ins-about-media figcaption { position: absolute; left: 1rem; top: 1rem; margin: 0; }
.ins-about-media .ins-detail-text { display: none; }
@media (min-width: 52rem) {
  .ins-about.has-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ins-about.has-media .ins-about-text { padding-left: clamp(2.5rem, 5vw, 5rem); padding-right: var(--ins-gutter); align-self: center; }
  .ins-about.about-image_right .ins-about-media { order: 2; }
  .ins-about.about-image_right .ins-about-text { padding-left: var(--ins-gutter); padding-right: clamp(2.5rem, 5vw, 5rem); justify-self: end; }
  .ins-about-media { position: relative; min-height: 34rem; border-right: 1.5px solid var(--text); }
  .ins-about.about-image_right .ins-about-media { border-right: 0; border-left: 1.5px solid var(--text); }
  .ins-about-media .ins-detail-img { position: absolute; inset: 0; aspect-ratio: auto; }
}
.ins-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); margin: 2rem 0 0; border-top: 1px solid var(--text); border-left: 1px solid var(--text); max-width: 38rem; }
.ins-facts div { padding: 0.6rem 0.9rem 0.75rem; border-right: 1px solid var(--text); border-bottom: 1px solid var(--text); }
.ins-facts dt { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ins-facts dd { margin: 0.15rem 0 0; font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* --- Reviews: the customer's note on the werkbon (carbon copies) -------------------- */
.ins-reviews { background: var(--surface); padding-block: clamp(3.25rem, 8vw, 7rem); }
.ins-slips { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); margin-top: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.ins-slips[data-count="1"] { grid-template-columns: minmax(0, 48rem); }
.ins-slip { --text: #111417; --muted: #4b525a; position: relative; padding: 1.5rem clamp(1.25rem, 3vw, 2rem) 1.6rem; background: var(--ins-slip); color: var(--text); box-shadow: 0 1px 0 rgb(0 0 0 / 0.1), 0 18px 30px -24px rgb(0 0 0 / 0.55); transition: translate 0.3s ease; }
.ins-slip:nth-child(2n) { background: var(--ins-slip-2); }
/* The perforated edge where it was torn off the pad. */
.ins-slip::before { content: ''; position: absolute; left: 0; right: 0; top: -5px; height: 10px; background: radial-gradient(circle at 7px 5px, var(--surface) 3.5px, transparent 4px) 0 0 / 14px 10px repeat-x; }
.ins-slip:hover { translate: 0 -4px; }
.ins-slip-head { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 1rem; padding-bottom: 0.5rem; border-bottom: 1.5px solid var(--text); font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.ins-slip-firm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); letter-spacing: 0.04em; }
.ins-slip figure { margin: 0; }
.ins-slip-field { margin: 0; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ins-slip blockquote { margin: 0.4rem 0 1rem; }
.ins-slip blockquote p {
  margin: 0; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.5; letter-spacing: -0.01em;
  background: repeating-linear-gradient(transparent 0 calc(1.5em - 1px), rgb(17 20 23 / 0.2) calc(1.5em - 1px) 1.5em);
}
.ins-slip figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; padding-top: 0.65rem; border-top: 1px dotted var(--text); }
.ins-slip-name { font-weight: 600; font-size: 1.05rem; }

/* --- FAQ: each answer behind a valve ------------------------------------------------ */
.ins-faq { padding-block: clamp(3.25rem, 8vw, 7rem); }
.ins-faq-inner { display: grid; gap: clamp(1.5rem, 3vw, 2rem) clamp(2.5rem, 5vw, 5rem); align-items: start; }
@media (min-width: 64rem) { .ins-faq-inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.45fr); } .ins-faq-inner > :is(h1, h2) { position: sticky; top: 7rem; } }
.ins-faq .faq-items { margin-top: 0; max-width: none; }
.ins-faq .faq-items details { border-bottom: 1px solid var(--text); }
.ins-faq .faq-items details:first-child { border-top: 2px solid var(--text); }
.ins-faq .faq-items summary { min-height: 4.5rem; padding-block: 1rem; font-size: clamp(1.1rem, 1.02rem + 0.35vw, 1.3rem); line-height: 1.3; gap: 1.5rem; }
.ins-faq .faq-items summary::after { content: none; }
.ins-faq .faq-items summary:hover > span:first-child { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.ins-faq .faq-items details p { color: var(--muted); font-size: 1.0625rem; max-width: 44rem; padding-right: 3rem; }
/* The valve symbol on its pipe: filled while closed, open (hollow) with the handle along the pipe. */
.ins-valve { position: relative; flex: none; width: 3rem; height: 1.6rem; background: linear-gradient(var(--text), var(--text)) left 62% / 100% 1.5px no-repeat; }
.ins-valve::before, .ins-valve::after { content: ''; position: absolute; left: 0.6rem; right: 0.6rem; top: 0.45rem; bottom: 0; clip-path: polygon(0 0, 100% 100%, 100% 0, 0 100%); }
.ins-valve::before { background: var(--text); }
.ins-valve::after { background: var(--bg); transform: scale(0.55); opacity: 0; transition: opacity 0.2s; }
.ins-valve-handle { position: absolute; left: 50%; top: 0; width: 1.2rem; height: 0.9rem; margin-left: -0.6rem; border-top: 2px solid var(--text); background: linear-gradient(var(--text), var(--text)) center / 1.5px 100% no-repeat; transform-origin: 50% 100%; transform: rotate(90deg) translateX(-0.2rem); transition: transform 0.3s ease; }
.ins-faq details[open] .ins-valve::after { opacity: 1; }
.ins-faq details[open] .ins-valve-handle { transform: none; }
.ins-faq dl.faq-items > div { padding-block: 1.25rem; border-top: 1px solid var(--text); }
.ins-faq dl.faq-items dt { margin: 0; font-size: 1.2rem; }

/* --- Contact: dark, the number first and big; the form on a white sheet ---------- */
.site[data-look="installer"] .s-contact {
  --bg: var(--deep); --surface: var(--deep); --text: var(--on-deep); --muted: var(--deep-muted); --border: color-mix(in srgb, var(--on-deep) 28%, transparent);
  background-color: var(--deep); color: var(--on-deep); padding-block: clamp(3.25rem, 8vw, 7rem);
  background-image: linear-gradient(color-mix(in srgb, var(--on-deep) 6%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--on-deep) 6%, transparent) 1px, transparent 1px);
  background-size: 1.2rem 1.2rem;
}
.site[data-look="installer"] .s-contact .lead { color: var(--muted); }
.site[data-look="installer"] .contact-list { border-top: 2px solid var(--text); }
.site[data-look="installer"] .contact-label { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.site[data-look="installer"] .contact-value { font-weight: 600; letter-spacing: -0.025em; }
.site[data-look="installer"] .contact-list li:first-child .contact-value { font-size: clamp(2.3rem, 0.9rem + 4.6vw, 5rem); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.site[data-look="installer"] .contact-list li:first-child .contact-link { padding-block: 1.25rem 1.4rem; }
.site[data-look="installer"] .contact-also { margin-top: -0.9rem; }
.site[data-look="installer"] .s-contact :is(h1, h2) { max-width: 14ch; }
/* Forms (contact, request) on a white sheet with the drawing border. */
.site[data-look="installer"] :is(.contact-form, .request-form) {
  --bg: var(--sheet); --surface: var(--sheet); --text: var(--on-sheet); --muted: var(--sheet-muted); --border: #c7ccd1;
  background: var(--sheet); color: var(--on-sheet); border: 1.5px solid var(--on-sheet); outline: 1px solid var(--on-sheet); outline-offset: 5px; padding: clamp(1.25rem, 3vw, 2rem);
}
.site[data-look="installer"] .s-contact :is(.contact-form) { outline-color: var(--deep-muted); }
.site[data-look="installer"] :is(.contact-form, .request-form) label { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.site[data-look="installer"] :is(.contact-form, .request-form) :is(.field-check label, .opt) { font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; text-transform: none; }
.site[data-look="installer"] :is(.contact-form, .request-form) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), textarea, select) { border: 0; border-bottom: 1.5px solid var(--on-sheet); background: color-mix(in srgb, #eef2f5 70%, #fff); }
.site[data-look="installer"] .request-step > legend { font-weight: 600; letter-spacing: -0.02em; }
.site[data-look="installer"] .s-request { background: var(--surface); padding-block: clamp(3.25rem, 8vw, 7rem); }
.site[data-look="installer"] .s-booking { padding-block: clamp(3.25rem, 8vw, 7rem); }
.site[data-look="installer"] .s-booking .booking-services { margin-top: 2rem; border: 1.5px solid var(--text); border-top-width: 6px; background: var(--bg); position: relative; }
.site[data-look="installer"] .s-booking .booking-services li { padding-inline: clamp(1rem, 2.5vw, 1.75rem); }
.site[data-look="installer"] .s-booking .booking-services li:last-child { border-bottom: 0; }
.site[data-look="installer"] .booking-meta { font-size: 0.85rem; letter-spacing: 0.02em; }
.site[data-look="installer"] .booking-name { font-size: var(--fs-h3); letter-spacing: -0.015em; }
.site[data-look="installer"] .booking-go { font-family: var(--mono); font-size: 0.9rem; text-decoration-color: var(--primary); text-decoration-thickness: 3px; }
.site[data-look="installer"] .s-booking-flow .booking-choices a { border-radius: 0; }

/* A subpage opens on its first section, set as the sheet's title. */
.site[data-look="installer"] main > .s:first-child:not(.s-hero) { border-top: 0; }
.site[data-look="installer"] main > .s:first-child:not(.s-hero) h1 { font-size: calc(clamp(2.6rem, 1rem + 4.6vw, 6.25rem) * var(--heading-scale, 1)); max-width: 14ch; }
.site[data-look="installer"] main > .ins-about.has-media:first-child h1 { font-size: calc(clamp(2.4rem, 1rem + 3.4vw, 4.75rem) * var(--heading-scale, 1)); }

/* --- Footer: the title block ------------------------------------------------------ */
.site[data-look="installer"] .ins-footer {
  --bg: var(--sheet); --surface: var(--sheet); --text: var(--on-sheet); --muted: var(--sheet-muted); --border: var(--on-sheet);
  background: var(--sheet); color: var(--on-sheet); border-top: 2px solid var(--on-sheet); padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem; font-size: 1rem;
}
.ins-block { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr)); border: 2px solid var(--text); outline: 1px solid var(--text); outline-offset: 5px; }
.ins-field { min-width: 0; padding: 0.7rem 1rem 0.9rem; border-right: 1px solid var(--text); border-bottom: 1px solid var(--text); margin: 0 -1px -1px 0; }
.ins-field-name { grid-column: 1 / -1; padding-block: 1rem 1.25rem; }
.ins-field-wide { grid-column: span 2; }
@media (max-width: 40rem) {
  .ins-field-wide { grid-column: 1 / -1; }
  /* Phones: the short fields two by two, so the title block stays a block. */
  .ins-block { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ins-field[data-field="email"] { grid-column: 1 / -1; }
  .ins-field { padding: 0.6rem 0.75rem 0.75rem; }
}
.ins-field-label { margin: 0 0 0.3rem; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ins-field-value :is(p, ul) { margin: 0; }
.ins-field-value a { text-decoration: none; }
.ins-field-value a:hover { text-decoration: underline; }
.ins-field-value { overflow-wrap: anywhere; }
.ins-footer .footer-name { margin: 0; font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.9rem, 1rem + 3.4vw, 4.5rem); letter-spacing: -0.04em; line-height: 1; overflow-wrap: break-word; hyphens: auto; color: var(--text); }
.ins-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.5rem; font-family: var(--mono); font-size: 0.85rem; color: var(--muted); }
.ins-footer-links a { display: inline-flex; min-height: 44px; align-items: center; }

/* --- Quick bar (phones): a strip of the drawing --------------------------------- */
@media (max-width: 51.99rem) {
  .site[data-look="installer"] .quickbar { --on-deep: var(--text); background: var(--bg); border-top: 2px solid var(--text); }
  .site[data-look="installer"] .quick { font-size: 1.05rem; }
  .site[data-look="installer"] .quick + .quick { border-left-color: var(--text); }
}

/* --- Motion: pipes drawn in, sections set down as you scroll ------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .ins-run::before { animation: ins-draw 1.1s cubic-bezier(0.25, 0.8, 0.25, 1) both; }
  .ins-run:nth-child(2)::before { animation-delay: 0.15s; }
  .ins-run:nth-child(3)::before { animation-delay: 0.3s; }
  @supports (animation-timeline: view()) {
    .site[data-look="installer"] main > .s:not(.ins-hero) > .wrap > *,
    .ins-about-text,
    .ins-slip, .ins-group {
      animation: ins-rise linear forwards; animation-timeline: view(); animation-range: entry 0% entry 35%;
    }
  }
}
@keyframes ins-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Movement only, never hidden: content must read in a full-page capture. */
@keyframes ins-rise { from { transform: translateY(1.5rem); } to { transform: none; } }

/* --- Rhythm: a heading-beside-artefact section that follows another one is
   mirrored (artefact left), so no two neighbours share a layout, whatever
   order the customer chose. A third in a row turns back, a fourth mirrors. */
@media (min-width: 64rem) {
  :is(.ins-services, .ins-area, .ins-hours, .ins-faq) + :is(.ins-services, .ins-area, .ins-hours, .ins-faq) :is(.ins-area-inner, .ins-hours-inner, .ins-faq-inner) { grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr); }
  :is(.ins-services, .ins-area, .ins-hours, .ins-faq) + :is(.ins-services, .ins-area, .ins-hours, .ins-faq) :is(.ins-area-inner, .ins-hours-inner, .ins-faq-inner) > :first-child { order: 2; }
  :is(.ins-services, .ins-area, .ins-hours, .ins-faq) + :is(.ins-services, .ins-area, .ins-hours, .ins-faq) + :is(.ins-services, .ins-area, .ins-hours, .ins-faq) :is(.ins-area-inner, .ins-hours-inner, .ins-faq-inner) { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.45fr); }
  :is(.ins-services, .ins-area, .ins-hours, .ins-faq) + :is(.ins-services, .ins-area, .ins-hours, .ins-faq) + :is(.ins-services, .ins-area, .ins-hours, .ins-faq) :is(.ins-area-inner, .ins-hours-inner, .ins-faq-inner) > :first-child { order: 0; }
  :is(.ins-services, .ins-area, .ins-hours, .ins-faq) + :is(.ins-services, .ins-area, .ins-hours, .ins-faq) + :is(.ins-services, .ins-area, .ins-hours, .ins-faq) + :is(.ins-services, .ins-area, .ins-hours, .ins-faq) :is(.ins-area-inner, .ins-hours-inner, .ins-faq-inner) { grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr); }
  :is(.ins-services, .ins-area, .ins-hours, .ins-faq) + :is(.ins-services, .ins-area, .ins-hours, .ins-faq) + :is(.ins-services, .ins-area, .ins-hours, .ins-faq) + :is(.ins-services, .ins-area, .ins-hours, .ins-faq) :is(.ins-area-inner, .ins-hours-inner, .ins-faq-inner) > :first-child { order: 2; }
}
/* Reviews: two werkbonnen side by side at most. */
@media (min-width: 52rem) { .ins-slips:not([data-count="1"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- The plan card: the riser diagram on its own sheet with a title block --- */
.ins-plan { position: relative; z-index: 3; margin: 0; display: grid; background: var(--bg); border: 1.5px solid var(--text); }
.ins-plan-title { margin: 0; padding: 0.45rem 0.75rem; border-bottom: 1px solid var(--text); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ins-plan .ins-drawing { padding: 0.9rem 1rem 0.35rem; }
.ins-plan .ins-drawing svg { max-width: 100%; max-height: none; }
.ins-drawing .d-callout circle { fill: var(--bg); stroke: var(--text); stroke-width: 1.5; }
.ins-drawing .d-callout .d-leader { stroke-width: 1; }
.ins-drawing .d-callout text { fill: var(--text); font-size: 13px; font-weight: 600; text-anchor: middle; letter-spacing: 0; }
.ins-titleblock { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; margin: 0; border-top: 1.5px solid var(--text); }
.ins-titleblock > div { min-width: 0; padding: 0.4rem 0.65rem 0.5rem; }
.ins-titleblock > div + div { border-left: 1px solid var(--text); }
.ins-titleblock dt { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ins-titleblock dd { margin: 0.1rem 0 0; font-size: 0.88rem; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; }
.ins-titleblock .tb-firm dd { font-size: 1rem; letter-spacing: -0.01em; overflow-wrap: anywhere; hyphens: auto; }
@media (min-width: 52rem) {
  /* Over the photo, like a drawing laid on the radiator it details. */
  .ins-hero.has-media .ins-plan { position: absolute; top: calc(0.75rem + 1.25rem + clamp(2rem, 4vw, 3.5rem)); left: calc((100% - 1.5rem) / 1.74 - clamp(2.5rem, 5vw, 6rem)); width: clamp(16rem, 20vw, 20.5rem); box-shadow: 0 26px 40px -28px rgb(17 20 23 / 0.55); }
  .ins-hero.has-drawing .ins-plan { align-self: center; justify-self: center; width: min(100% - 3rem, 30rem); margin: 3.75rem clamp(1.5rem, 4vw, 4rem) 3rem 0; }
  .ins-firm-line { display: none; }
}
@media (max-width: 51.99rem) {
  .ins-plan { margin: 0 calc(var(--gap) + 0.5rem) 2.5rem calc(var(--gap) + 1.25rem); }
  .ins-plan .ins-drawing svg { max-height: 12rem; }
  /* The plan card carries the drawing on phones; the legend would only add length. */
  .ins-hero .ins-legend { display: none; }
}
.ins-firm-line { margin: 0 0 0.9rem; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); overflow-wrap: anywhere; }

/* --- Call to action: the storingsbon on the warning-yellow band ----------- */
.ins-cta { position: relative; }
.ins-cta::before { content: ''; position: absolute; inset: 0 0 auto; height: 0.85rem; background: repeating-linear-gradient(-45deg, var(--ins-on-signal) 0 0.85rem, var(--ins-signal) 0.85rem 1.7rem); }
.ins-bon {
  --text: #111417; --muted: #4a4f55;
  position: relative; max-width: 52rem; color: var(--text);
  padding: clamp(1.6rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.75rem) 1.1rem;
  background: #fffdf3 repeating-linear-gradient(transparent 0 2.2rem, rgb(17 20 23 / 0.06) 2.2rem calc(2.2rem + 1px));
  /* the pink carbon copy underneath, as on a doorschrijfblok */
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.08), clamp(10px, 1.6vw, 22px) clamp(8px, 1.2vw, 16px) 0 -2px var(--ins-slip-2), 0 34px 50px -36px rgb(0 0 0 / 0.65);
  transform: rotate(-0.6deg);
}
/* The perforated edge where it was torn off the pad. */
.ins-bon::before { content: ''; position: absolute; left: 0; right: 0; top: -6px; height: 12px; background: radial-gradient(circle at 8px 6px, var(--ins-signal) 4px, transparent 4.6px) 0 0 / 16px 12px repeat-x; }
.ins-bon-head { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 1.1rem; padding-bottom: 0.55rem; border-bottom: 2px solid var(--text); font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.ins-bon-firm { color: var(--muted); text-align: right; overflow-wrap: anywhere; }
.ins-bon-field { margin: 0 0 0.35rem; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ins-bon :is(h1, h2) { font-size: calc(clamp(2.1rem, 1rem + 3.6vw, 4.6rem) * var(--heading-scale, 1)); max-width: 16ch; }
.ins-bon .ins-cta-text p { color: var(--text); }
.ins-bon-action { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem 2.25rem; margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px dashed var(--text); }
.ins-bon-action .actions { margin: 0 0 0.4rem; }
.ins-bon-copy { margin: 1.4rem 0 0; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-align: right; }
@media (max-width: 40rem) { .ins-bon { transform: none; } }

/* --- Werkgebied on phones: three groups a row, so a place name fits its label. */
@media (max-width: 30rem) {
  .ins-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ins-group-label { font-size: 0.82rem; min-height: 2.4rem; }
}
