/* Hallmark · shape: Dienstblad (own shape, Long Document from draw 4c6536 swapped: a reading page hides its action) · genre: editorial · theme: brand (design.md) · job: book (kennismaking), the action in the hero's card and the close · draw: 4c6536
 * hero: Index · nav: banner over a retracting bar · footer: columns (logo, grouped links, contact, the regulations on their own row) · imagery: one care photograph per service, no face, credited in the footer (the owner's choice), elsewhere type, colour and the brand's own icons · signature: the things we do set large with the brand's green checks, the respect for habits, faith and a man or woman as caregiver beside them
 * axes: light/rounded-sans/chromatic-blue · posture: full palette (field blue, signal green, ink) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H4 E4 S4 R4 V4 · weakest: P, a service page argues little; led with the list itself and the choice of a man or a woman as caregiver */
/* Hallmark · hero-review: fix · 5 findings · 5 resolved (the list set larger, the respect statement moved into the first screen, the travelling card dropped, the phone list tightened) */
/* Hallmark · finish-review: subagent · 6 findings · 5 resolved, 1 partial (the owner's sentence under the head stays, regio Rijnland went to Voor wie) */
/* Hallmark · note 58 · open and known, the owner's choice: the list stands before the action in the first screen, the reason to come; the sweep shows notes only because page.css's stamp for the homepage's owner copy reaches this page, a sweep without it reports FAIL 58 */
/* Hallmark · finish-review voor-wie, voor-hulpverleners, over-ons: subagent · 6 findings · 5 resolved, 1 partial (the owner's head Wat wij bieden stays, Gegevens keeps its own small head inside Kwaliteit) */
/* Hallmark · text pages privacy, klachten, toegankelijkheid: hero Banner, one reading column of 46rem, heads inline at the second size, the Long Document shape inside this template */
/* Hallmark · finish-review privacy, klachten, toegankelijkheid and the Menu button: subagent · 6 findings · 3 resolved (focus clears the call bar, Sluit menu fits at 320px, the outside references), 3 with the owner (legal wording on klachten and privacy) */
/* Hallmark · werken-bij: this template, hero Index, the action by e-mail · in-uw-taal: hero Banner, two language blocks, Arabic in --font-arabic */
/* Hallmark · regulations gedragscode, algemene-voorwaarden, uitsluitingscriteria, inspraak: this template, hero Banner, the summary block In het kort on top; klachten and privacy keep their steps and carry the full text below */
/* Hallmark · finish-review werken-bij, in-uw-taal: subagent · 6 findings · 6 resolved (the terms in both languages stay with the native check) */
/* Hallmark · waive 78 · a Long Document whose heads are inline · privacy, klachten and toegankelijkheid are calm reading pages, their heads stay at 31px so the text leads */
/* Hallmark · waive 59 · a dense macrostructure that separates with rules and colour · on privacy, klachten and toegankelijkheid the text follows the head at once, hairlines part the sections */
/* Hallmark · waive 77 · short text sections the owner named · Ons verhaal and Leren bij Nuvia on over-ons are short by nature, and Ons verhaal grows when the owner's story arrives */
/* Hallmark · answered F5 · the icon circle is the brand book's own rule for showing an icon */


/* Template: reused by every dienstpagina. Keep page-specific words in the HTML, never here. */
.bar__links a[aria-current] { color: var(--color-accent-ink); text-decoration: underline; }

/* Hero: Index, the list is the visual */
.dienst-open { padding-block: var(--space-xl) var(--space-2xl); }
.dienst-open__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-2xl); }
.dienst-open__rechts { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: var(--space-md); }
.dienst-kop { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); justify-items: start; margin-bottom: var(--space-lg); }
.dienst-kop h1 { max-width: none; color: var(--color-brand); font-size: min(4.5rem, 5vw); }
.dienst-kop .melding { margin-top: 0; padding: var(--space-sm) var(--space-md); }
.dienst-lijstkop { margin-bottom: var(--space-xs); color: var(--color-brand); font-size: var(--text-title); }

.vinkjes { list-style: none; margin: 0; padding: 0; }
.vinkjes li { display: flex; align-items: center; gap: var(--space-md); padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); font-size: clamp(1.5rem, 2.4vw, 2.25rem); font-weight: 700; line-height: 1.15; color: var(--color-ink); }
.vinkjes li:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.vinkjes--lang li { align-items: flex-start; font-size: var(--text-title); line-height: 1.25; }
.vink { flex-shrink: 0; width: 0.72em; height: 0.72em; }
.vinkjes--lang .vink { margin-top: 0.26em; }
.vink path { fill: none; stroke: var(--color-accent); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }

/* The action card and the sentence that makes the care Nuvia's own */
.balie { display: grid; gap: var(--space-sm); justify-items: start; padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper-2); }
.balie__titel { font-size: var(--text-title); line-height: 1.15; color: var(--color-brand); }
.balie__nummer { font-size: clamp(1.75rem, 3.4vw - 0.25rem, 3rem); }
.balie .btn { padding-inline: var(--space-md); }
.respect { display: grid; gap: var(--space-sm); align-content: center; padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper-3); }
.respect__zin { font-size: var(--text-title); font-weight: 700; line-height: 1.3; color: var(--color-brand); text-wrap: balance; }

/* A service page carries one photograph without a face: it fills the column under the card, so the action stays where it was, and the respect statement moves under the list */
.dienst-open__links { display: grid; align-content: start; }
.dienst-open__links .respect { margin-top: var(--space-lg); }
.dienst-foto { position: relative; min-height: 15rem; overflow: hidden; border-radius: var(--radius-card); background: var(--color-paper-3); }
.dienst-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dienst-foto img[src*="dagbesteding"] { object-position: 85% 50%; }

/* Voor wie: the people named at display size */
.dienst-voorwie { padding-top: var(--space-2xl); }
.groot { list-style: none; margin: var(--space-xl) 0 0; padding: 0; }
.groot li { padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-display-s); font-weight: 700; line-height: 1.1; letter-spacing: var(--tracking-display); color: var(--color-brand); overflow-wrap: break-word; }
.groot li:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.groot--lang li { font-size: var(--text-3xl); line-height: 1.15; }

/* Hoe betaalt u: a split on the green well */
.dienst-betalen { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl) var(--gap-columns); align-items: start; }
.dienst-betalen__tekst { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); justify-items: start; }
.dienst-betalen__tekst .vinkjes { width: 100%; margin-bottom: var(--space-md); }
.dienst-betalen__tekst .btn { margin-top: var(--space-xs); }
.dienst-belofte { font-size: var(--text-section); font-weight: 700; line-height: 1.05; letter-spacing: var(--tracking-display); color: var(--color-brand); overflow-wrap: break-word; min-width: 0; }

/* Andere zorg: rows that are links */
.andere { list-style: none; margin: var(--space-xl) 0 0; padding: 0; }
.andere li { border-top: var(--rule-hair) solid var(--color-rule); }
.andere li:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.andere a { display: grid; grid-template-columns: auto minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xs) var(--space-lg); align-items: center; padding-block: var(--space-md); text-decoration: none; }
.icoon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-pill); background: var(--color-paper-2); }
.andere__naam { font-size: var(--text-title); font-weight: 700; line-height: 1.2; color: var(--color-brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
.andere__zin { color: var(--color-ink); text-wrap: pretty; }
.andere a:hover .andere__naam { color: var(--color-accent-ink); }

/* Afsluiting on the field */
.afsluiting__nummer { font-size: clamp(2rem, 6vw - 1rem, 5.25rem); }

/* Parts for the pages built on this template: voor-wie, voor-hulpverleners, over-ons */
.sec:not(.field) .fill { color: var(--color-ink-2); border-color: var(--color-muted); }
.sec:not(.field) p > .fill { display: inline-block; padding: var(--space-xs) var(--space-sm); }
.vinkjes a { position: relative; color: inherit; text-decoration-thickness: 1px; }
.vinkjes a::after { content: ""; position: absolute; inset: calc(-1 * var(--space-sm)) 0; }
.vinkjes a:hover { color: var(--color-accent-ink); }
.groepen { margin-top: var(--space-xl); }
.groep { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-md) var(--gap-columns); padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.groep:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.groep h3 { font-size: var(--text-2xl); color: var(--color-brand); }
.groep p { margin-top: var(--space-xs); }
.dienst-verder { margin-top: var(--space-xl); }
.stappen__lijst { list-style: none; margin: var(--space-xl) 0 0; padding: 0; counter-reset: stap; }
.stappen__lijst li { counter-increment: stap; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 11fr); gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-muted); }
.stappen__lijst li:last-child { border-bottom: var(--rule-hair) solid var(--color-muted); }
.stappen__lijst li::before { content: counter(stap); font-size: var(--text-3xl); font-weight: 700; line-height: 1; color: var(--color-accent-ink); font-variant-numeric: tabular-nums; }
.stappen__lijst h3 { max-width: none; font-size: var(--text-title); }
.melding { margin-top: var(--space-xl); padding: var(--space-md) var(--space-lg); border: 2px solid var(--color-accent); border-radius: var(--radius-card); background: var(--color-paper-2); color: var(--color-ink); }
.melding--let-op { border-color: var(--color-warning); background: var(--color-warning-tint); }
.melding--let-op strong { color: var(--color-warning); }
.dienst-subkop { margin-top: var(--space-lg); color: var(--color-brand); }
.gegevens { width: 100%; margin: 0; }
.gegevens > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-2xs) var(--gap-columns); align-items: center; padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.gegevens > div:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.gegevens dt { color: var(--color-ink-2); }
.gegevens dd { margin: 0; font-weight: 700; color: var(--color-brand); }
.gegevens .fill { display: inline-block; padding: var(--space-xs) var(--space-sm); color: var(--color-ink-2); border-color: var(--color-muted); }

/* Text pages: privacy, klachten, toegankelijkheid. One calm reading column */
.tekst-kop { padding-block: var(--space-2xl) var(--space-lg); }
.tekst-kop h1 { max-width: none; color: var(--color-brand); font-size: var(--text-display-s); }
.tekst-kop .lead { margin-top: var(--space-sm); }
.tekst-kop .voorlees { margin-top: var(--space-xs); }
.tekst { padding-bottom: var(--section-gap-s); }
.tekst__inhoud { max-width: 46rem; line-height: 1.65; overflow-wrap: anywhere; }
.tekst__inhoud h2 { max-width: none; margin-top: var(--space-xl); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); color: var(--color-brand); font-size: var(--text-2xl); }
.tekst__inhoud > h2:first-child { margin-top: 0; }
.tekst__inhoud > p, .tekst__lijst, .tekst__inhoud .stappen__lijst, .tekst__inhoud .vinkjes { margin-top: var(--space-sm); }
.tekst__lijst { padding-left: var(--space-lg); }
.tekst__lijst li + li { margin-top: var(--space-2xs); }
.tekst__inhoud a { position: relative; color: var(--color-brand); font-weight: 700; }
.tekst__inhoud a::after { content: ""; position: absolute; inset: calc(-1 * var(--space-sm)) 0; }
.tekst__inhoud a:hover { color: var(--color-accent-ink); }
.tekst .fill { display: inline-block; padding: var(--space-xs) var(--space-sm); color: var(--color-ink-2); border-color: var(--color-muted); line-height: 1.3; }
.tekst .stappen__lijst li { row-gap: var(--space-2xs); border-color: var(--color-rule); }
.tekst .stappen__lijst h3 { color: var(--color-brand); }
.tekst .stappen__lijst li:last-child, .tekst .vinkjes li:last-child { border-bottom: 0; }
.stap__tekst { grid-column: 2; display: grid; gap: var(--space-xs); overflow-wrap: anywhere; }

/* Regulations: a short summary in plain words on top, then the full text in the same column */
.tekst-kort { padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper-2); }
.tekst__inhoud .tekst-kort h2 { margin: 0; padding: 0; border: 0; font-size: var(--text-xl); }
.tekst-kort .tekst__lijst { margin-bottom: 0; }
.tekst__inhoud > .tekst-kort + p { margin-top: var(--space-lg); }
.tekst .fill--blok { display: block; }
.tekst__inhoud > h3, .tekst__inhoud > h4 { max-width: none; margin: var(--space-lg) 0 0; color: var(--color-brand); font-size: var(--text-lg); font-weight: 700; line-height: 1.3; }
.tekst__inhoud > h2 + h3 { margin-top: var(--space-sm); }
.tekst__inhoud > h4 { font-size: var(--text-md); }
.tekst__inhoud > .gegevens { margin-top: var(--space-sm); }
.tekst-inhoud li + li { margin-top: 0; }
.tekst-inhoud a { display: inline-flex; align-items: center; min-height: 48px; }

/* Werken bij */
.balie--mail { align-content: start; }
.afsluiting__mail { font-size: var(--text-section); }
.dienst-belofte a { text-decoration-thickness: 2px; }
.dienst-belofte a:hover { color: var(--color-accent-ink); }
.afsluiting p { color: var(--color-on-field-2); }
.afsluiting__privacy a { display: inline-flex; align-items: center; min-height: 48px; color: var(--color-on-field); font-weight: 700; }
.afsluiting__privacy a:hover { color: var(--color-on-field-2); }

/* In uw taal: each language in its own block and script */
.taalblokken { padding-bottom: var(--section-gap-s); }
.taalblokken__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); align-items: stretch; }
.taalblok { display: grid; gap: var(--space-sm); align-content: start; padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper-2); font-size: max(var(--text-md), var(--text-lead)); line-height: 1.5; scroll-margin-top: var(--space-3xl); }
.taalblok h2 { margin-bottom: var(--space-xs); color: var(--color-brand); letter-spacing: 0; }
.taalblok .acties { margin-top: var(--space-sm); }
.taalblok[lang="ar"] { font-size: calc(var(--text-lead) * 1.12); line-height: 1.8; }
.taalblok[lang="ar"] h2 { line-height: 1.3; }

@media (min-width: 60.01rem) and (max-width: 70rem) {
  .dienst-open__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-xl); }
}
@media (max-width: 60rem) {
  .dienst-open { padding-block: var(--space-lg) var(--space-xl); }
  .dienst-open__grid, .dienst-betalen { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .dienst-kop { margin-bottom: var(--space-md); }
  .dienst-kop h1 { font-size: min(var(--text-display), 13vw); }
  .dienst-open__grid--foto { display: flex; flex-direction: column; }
  .dienst-open__links, .dienst-open__grid--foto .dienst-open__rechts { display: contents; }
  .dienst-open__grid--foto .dienst-kop { margin-bottom: 0; }
  .dienst-foto { order: 1; min-height: 0; aspect-ratio: 16 / 10; }
  .dienst-lijst { order: 2; }
  .dienst-open__grid--foto .balie { order: 3; }
  .dienst-open__links .respect { order: 4; margin-top: 0; }
  .vinkjes li { gap: var(--space-sm); padding-block: var(--space-xs); font-size: var(--text-lg); }
  .balie__nummer, .afsluiting__nummer { font-size: var(--text-section); }
  .groot--lang li { font-size: var(--text-xl); }
  .taalblokken__grid { grid-template-columns: minmax(0, 1fr); }
  .afsluiting__mail { font-size: var(--text-2xl); }
  .groep, .gegevens > div { grid-template-columns: minmax(0, 1fr); }
  .stappen__lijst li { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-md); }
  .andere a { grid-template-columns: auto minmax(0, 1fr); }
  .andere__zin { grid-column: 2; }
}
@media (min-width: 40.01rem) and (max-width: 60rem) {
  .dienst-foto { aspect-ratio: 2 / 1; }
}
@media (max-width: 40rem) {
  .balie, .respect, .taalblok { padding: var(--space-md); }
}
