@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/montserrat-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Soren Schilderwerk. Colours from the new logo: red #D90012, blue #0033A0, orange #F2A800.
   The rules: type on one scale (ratio 1.2), space in steps of 4 and 8, one 12-column grid, three corner sizes.
   Nested corners: outer radius = inner radius + padding. */
:root {
  --ink: #121417;
  --ink-2: #3a4047;
  --muted: #5e656d;
  --paper: #fbfaf7;
  --kalk: #f3f0ea;
  --line: #e4dfd5;
  --field: #cdc6b8;
  --blue: #0033a0;
  --blue-2: #00297f;
  --red: #d90012;
  --amber: #f2a800;
  --ok: #12733a;
  /* The brush stroke under a link, the same hand as the swash in the headline */
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 30' preserveAspectRatio='none'%3E%3Cpath d='M3 17 C 90 7 210 4 397 10 L 394 22 C 220 17 110 21 6 28 Z' fill='%23F2A800'/%3E%3C/svg%3E");

  /* Type: 17 px x 1.2 per step */
  --t-1: 14px; --t0: 17px; --t1: 20px; --t2: 24px; --t3: 29px; --t4: 35px; --t5: 42px; --t6: 51px; --t7: 61px; --t8: 73px; --t9: 88px;
  --lh: 28px;

  /* Space */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  /* Corners */
  --r1: 8px; --r2: 12px; --r3: 20px;

  --shadow: 0 1px 2px rgba(18, 20, 23, .06), 0 24px 48px -24px rgba(18, 20, 23, .32);
  --font-h: "Montserrat", system-ui, sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* The page margin in whole pixels, so every edge lands on a pixel: 40 wide, 32 tablet, 24 phone on its side, 16 phone */
  --gut: 40px;
  --gap: var(--s5);
  --head: 48px;
  --content: min(100vw - 2 * var(--gut), 1200px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + var(--s4)); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t0)/var(--lh) var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { font-family: var(--font-h); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; line-height: round(1.1em, 4px); margin: 0; }
h1 { font-size: var(--t6); }
/* The small line "Schilder & stukadoor in Almelo" sits inside the h1, because Google weighs the h1 most; it looks exactly as the line above the headline did */
h1 .kicker { display: flex; width: fit-content; text-wrap: pretty; }
h2 { font-size: var(--t5); text-wrap: balance; }
h3 { font-size: var(--t1); letter-spacing: -.01em; line-height: 1.2; line-height: round(1.2em, 4px); text-wrap: balance; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: var(--r1); }
.strip :focus-visible, .dock :focus-visible, .offer__head :focus-visible, .foot :focus-visible, .lb :focus-visible { outline-color: var(--amber); }
.wrap { max-width: calc(1200px + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--s4); top: var(--s4); z-index: 99; background: #fff; padding: var(--s2) var(--s3); border-radius: var(--r1); }
[hidden] { display: none !important; }

/* The grid: every section sits on the same 12 columns */
.hero__in, .svcs, .gallery, .steps, .about, .faq, .offer__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }

/* Small label with the three logo strokes */
.kicker { display: inline-flex; vertical-align: top; align-items: center; gap: var(--s3); font: 600 var(--t-1)/20px var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: var(--s4); }
.tri { width: 32px; height: 11px; flex: none; border-radius: 2px; transform: skewX(-14deg);
  background: linear-gradient(var(--red) 0 3px, transparent 3px 4px, var(--blue) 4px 7px, transparent 7px 8px, var(--amber) 8px 11px); }
.offer .tri { background: linear-gradient(var(--red) 0 3px, transparent 3px 4px, #fff 4px 7px, transparent 7px 8px, var(--amber) 8px 11px); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s3); min-height: var(--s7); padding: 0 var(--s5); border-radius: var(--r2); border: 2px solid transparent;
  font: 600 var(--t0)/1.2 var(--font); line-height: round(1.2em, 4px); text-align: center; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--lg { min-height: 56px; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--white { background: #fff; color: var(--blue); }
@media (hover: hover) {
  .btn--blue:hover { background: var(--blue-2); box-shadow: 0 8px 24px -12px rgba(0, 51, 160, .7); }
  .btn--line:hover { background: var(--ink); color: #fff; }
}

/* The blue strip: number and mail address always in view */
.strip { position: sticky; top: 0; z-index: 50; background: var(--blue); color: #fff; }
.strip__in { display: flex; align-items: center; justify-content: flex-end; gap: var(--s6); min-height: var(--head); }
.strip__say { margin-right: auto; }
.strip__tel { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.strip__tel svg { width: 20px; height: 20px; flex: none; }

/* Header */
.top { position: relative; z-index: 40; background: var(--paper); }
.top__in { display: flex; align-items: center; gap: var(--s5); height: 72px; }
.brand { display: flex; align-items: center; gap: var(--s3); min-width: 0; min-height: 44px; text-decoration: none; margin-right: auto; }
/* The brush from the owner's logo (286 x 120). Whole-pixel boxes, so what stands next to it never lands on half pixels; contain keeps its shape */
.mark { display: block; width: 96px; height: 40px; object-fit: contain; flex: none; }
.brand__text b { display: block; font: 800 var(--t1)/1.1 var(--font-h); letter-spacing: -.015em; white-space: nowrap; }
.brand__text small { display: block; font: 400 var(--t-1)/20px var(--font); color: var(--muted); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: var(--s1); }
.nav a { padding: var(--s2) var(--s3); border-radius: var(--r1); text-decoration: none; color: var(--ink-2); }
.nav a:hover { background: var(--kalk); color: var(--ink); }
.menu { display: none; align-items: center; gap: var(--s2); min-height: 44px; min-width: 44px; justify-content: center; padding: 0 var(--s3); border: 2px solid var(--line); border-radius: var(--r2); background: #fff; font: 600 var(--t0)/1 var(--font); color: var(--ink); cursor: pointer; }
.menu svg { width: 20px; height: 20px; flex: none; }

/* Hero */
.hero { padding: var(--s7) 0 var(--s9); overflow-x: clip; }
.hero__in { align-items: center; }
.hero__text { grid-column: span 6; }
.swash { -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .04em .06em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 30' preserveAspectRatio='none'%3E%3Cpath d='M3 17 C 90 7 210 4 397 10 L 394 22 C 220 17 110 21 6 28 Z' fill='%23F2A800'/%3E%3C/svg%3E") no-repeat 0 92% / 100% .34em; }
.lead { font-size: var(--t1); line-height: 32px; color: var(--ink-2); max-width: 30em; margin-top: var(--s5); }
.hero__media { grid-column: span 6; position: relative; margin: 0; isolation: isolate; }
/* The three logo strokes behind the photo */
.hero__media::before { content: ""; position: absolute; z-index: -1; left: -56px; bottom: -88px; width: 72%; aspect-ratio: 600 / 160; background: url("strokes.svg") no-repeat left center / contain; }
.hero__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r3); box-shadow: var(--shadow); }
.hero__tag, .g figcaption { border-radius: var(--r3); background: rgba(18, 20, 23, .72); color: #fff; font-size: var(--t-1); line-height: 20px; font-weight: 600; }
.hero__tag { position: absolute; top: var(--s4); right: var(--s4); padding: var(--s2) var(--s3); }
.rating { position: absolute; right: var(--s5); bottom: calc(-1 * var(--s5)); display: flex; align-items: center; gap: var(--s4); padding: var(--s3) var(--s5) var(--s3) var(--s4); background: #fff; border-radius: var(--r2); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.rating__num { font: 800 var(--t4)/1 var(--font-h); letter-spacing: -.03em; }
/* Stars and line stacked with 4 px between them, not on a text line that adds its own space */
.rating > span:last-child { display: grid; gap: var(--s1); }
.rating__txt { display: block; font-size: var(--t-1); line-height: 20px; color: var(--muted); }

/* Number and mail address, always written out */
/* Side by side when they fit; stacked they get the same width */
.contact { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); max-width: 600px; }
.contact .btn { padding: 0 var(--s4); }
.contact > * { flex: 1 1 auto; }
.contact__note { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s3); color: var(--ink-2); }
.face { width: 40px; height: 40px; flex: none; border-radius: 50%; }
.mailbox { display: flex; align-items: stretch; min-width: 0; border: 2px solid var(--ink); border-radius: var(--r2); background: #fff; }
.mailbox a { display: inline-flex; align-items: center; gap: var(--s3); flex: 1; min-width: 0; min-height: 52px; padding: 0 var(--s1) 0 var(--s4); color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.mailbox a svg { width: 20px; height: 20px; flex: none; color: var(--blue); }
.copy { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); flex: none; width: 52px; padding: 0; border: 0; background: none; color: var(--blue); font: 600 var(--t0)/1 var(--font); cursor: pointer; }
.copy svg { width: 20px; height: 20px; flex: none; }
/* Copied: the icon turns into a green tick that pops in, "Kopieer" turns into "Gekopieerd" */
.copy__ok { display: none; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--ok); color: #fff; }
.copy__ok svg { width: 16px; height: 16px; stroke-width: 3; }
.copy.is-done .copy__ico { display: none; }
.copy.is-done .copy__ok { display: grid; animation: pop .32s cubic-bezier(.2, 1.6, .4, 1); }
.copy__txt { display: grid; }
.copy__txt > * { grid-area: 1 / 1; }
.copy__txt > :last-child, .copy.is-done .copy__txt > :first-child { visibility: hidden; }
.copy.is-done .copy__txt > :last-child { visibility: visible; color: var(--ok); }
@keyframes pop { from { transform: scale(.4); } }
/* Mail is the main action: the filled one. Calling is the outlined one next to it */
.mailbox--blue { border-color: var(--blue); background: var(--blue); }
.mailbox--blue a, .mailbox--blue a svg, .mailbox--blue .copy { color: #fff; }
.mailbox--blue .copy { border-left: 1px solid rgba(255, 255, 255, .28); }
@media (hover: hover) { .mailbox--blue:hover { border-color: var(--blue-2); background: var(--blue-2); } }
.mailbox--strip { border: 0; background: none; }
.mailbox--strip a { min-height: 44px; padding: 0; color: #fff; gap: var(--s2); }
.mailbox--strip a svg, .mailbox--strip .copy { color: #fff; }
.mailbox--strip .copy { width: 44px; }
@media (hover: hover) {
  .copy:hover .copy__ico { opacity: .7; }
}
/* The message appears next to the button you pressed, with a point towards it. app.js sets left, top and --tip */
.toast { position: fixed; z-index: 70; left: 0; top: 0; display: grid; grid-template-columns: 24px auto; align-items: center; column-gap: var(--s3); max-width: calc(100vw - 2 * var(--s4)); margin: 0; padding: var(--s3) var(--s5) var(--s3) var(--s4);
  border-radius: var(--r2); background: var(--ink); color: #fff; font-size: var(--t-1); line-height: 20px; box-shadow: 0 16px 32px -16px rgba(18, 20, 23, .6); pointer-events: none;
  opacity: 0; visibility: hidden; transform: translateY(6px) scale(.96); transition: opacity .15s, transform .15s, visibility 0s .15s; }
.toast.is-below { transform: translateY(-6px) scale(.96); }
.toast.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .15s, transform .3s cubic-bezier(.2, 1.4, .4, 1); }
.toast::after { content: ""; position: absolute; left: var(--tip, 50%); bottom: -6px; width: 12px; height: 12px; border-radius: 2px; background: inherit; transform: translateX(-50%) rotate(45deg); }
.toast.is-below::after { top: -6px; bottom: auto; }
.toast--ok { background: var(--ok); }
.toast__ico { grid-row: span 2; display: none; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.toast__ico svg { width: 16px; height: 16px; }
.toast--ok .toast__ico--ok { display: grid; background: #fff; color: var(--ok); }
.toast--ok .toast__ico--ok svg { stroke-width: 3; }
.toast--mail .toast__ico--mail { display: grid; }
.toast--mail .toast__ico--mail svg { width: 24px; height: 24px; }
.toast__say, .toast__line { grid-column: 2; }
.toast--info { grid-template-columns: auto; }
.toast--info .toast__say, .toast--info .toast__line { grid-column: 1; }
.toast__say { font-size: var(--t0); line-height: var(--lh); font-weight: 600; }
.toast__line { color: rgba(255, 255, 255, .88); }
.proof { list-style: none; padding: 0; margin: var(--s4) 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s5); color: var(--ink-2); }
.proof li { display: flex; align-items: center; gap: var(--s2); }
.proof li > svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.offer__rating b { font-weight: 600; }
.stars { display: inline-flex; gap: var(--s1); color: var(--amber); }
.stars svg { width: 20px; height: 20px; }
.stars--lg svg { width: 28px; height: 28px; }

/* Sections */
.section { padding: var(--s9) 0; }
.hero + .section { padding-top: var(--s7); }
.section--kalk { background: var(--kalk); }
.head { max-width: 40em; margin-bottom: var(--s7); }
.head__lead { color: var(--ink-2); font-size: var(--t1); line-height: 32px; margin-top: var(--s3); }

/* Services as paint chips */
.svc { grid-column: span 4; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r3); overflow: hidden; }
.svc__chip { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 120px; padding: var(--s3) var(--s5); background: var(--c); color: var(--t); font-size: var(--t-1); line-height: 20px; letter-spacing: .03em; }
.svc__chip b { font-weight: 600; letter-spacing: .06em; }
.svc__chip::after { content: ""; position: absolute; top: var(--s4); right: var(--s4); width: 12px; height: 12px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25); }
.svc__body { padding: var(--s5); }
.svc__body p { margin-top: var(--s2); color: var(--ink-2); }

/* Work: tiles in the 4:3 of the photos. Tile height = 3/4 width, corrected for the gap inside the double tiles */
.gallery { --tile: calc((var(--content) - 3 * var(--gap)) / 4); grid-auto-rows: calc(var(--tile) * .75 - var(--gap) / 8); grid-auto-rows: round(down, var(--tile) * .75 - var(--gap) / 8, 1px); grid-auto-flow: dense; }
.g { grid-column: span 3; position: relative; margin: 0; border-radius: var(--r3); overflow: hidden; background: #d9d4ca; }
.g--big { grid-column: span 6; grid-row: span 2; }
.g--tall { grid-row: span 2; }
.g button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.g button:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
@media (hover: hover) { .g:hover img { transform: scale(1.04); } }
.g figcaption { position: absolute; z-index: 1; left: var(--s3); bottom: var(--s3); max-width: calc(100% - 2 * var(--s3)); padding: var(--s1) var(--s3); }

/* The live Instagram feed. Its height follows the width: profile bar plus two rows of three square posts */
.insta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s7); align-items: center; margin-top: var(--s7); padding: var(--s6); background: #fff; border: 1px solid var(--line); border-radius: var(--r3); }
.insta h3 { font-size: var(--t3); line-height: 1.2; line-height: round(1.2em, 4px); }
.insta__text > p:not(.kicker) { margin-top: var(--s3); color: var(--ink-2); max-width: 36em; }
.insta__links { display: flex; flex-wrap: wrap; gap: 0 var(--s5); margin-top: var(--s3); }
.more { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; color: var(--blue); font-weight: 600; text-decoration: none; }
.more svg { width: 20px; height: 20px; flex: none; }
.insta__feed { position: relative; padding-bottom: calc(200% / 3 + 168px); border-radius: var(--r2); overflow: hidden; background: var(--kalk); }
.insta__feed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Reviews */
.section--band { padding: var(--s8) 0; }
.reviews { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s5) var(--s7); }
.score { display: flex; flex-direction: column; gap: var(--s3); }
.score__num { font: 800 var(--t9)/.9 var(--font-h); line-height: round(.9em, 4px); letter-spacing: -.045em; }
.score__text { flex: 1 1 300px; }
.score__text h2 { font-size: var(--t3); line-height: 1.2; line-height: round(1.2em, 4px); }
.score__line { margin-top: var(--s2); color: var(--ink-2); }
/* The button comes after the cards in the source: top right on wide screens, under the reviews when the page is one column */
.rv { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--s7); }
.rv > .btn { grid-row: 1; grid-column: 2; }
.quotes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--s7); }
.quote { display: flex; flex-direction: column; gap: var(--s4); margin: 0; padding: var(--s5); background: #fff; border: 1px solid var(--line); border-radius: var(--r3); }
.quote blockquote { margin: 0; font-size: var(--t1); line-height: 32px; text-wrap: pretty; }
.quote figcaption { margin-top: auto; font-size: var(--t-1); line-height: 20px; color: var(--ink-2); }
.quote figcaption b { display: block; font-size: var(--t0); line-height: var(--lh); font-weight: 600; color: var(--ink); }

/* Steps */
.steps { position: relative; margin: 0; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; top: 22.5px; left: 28px; right: calc((100% - 3 * var(--gap)) / 4 - 28px); height: 11px; opacity: .9; transform: skewX(-14deg);
  background: linear-gradient(var(--red) 0 3px, transparent 3px 4px, var(--blue) 4px 7px, transparent 7px 8px, var(--amber) 8px 11px); }
.step { grid-column: span 3; position: relative; }
.step__n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--s5); border: 2px solid var(--ink); border-radius: 50%; background: var(--kalk); font: 800 var(--t1)/1 var(--font-h); }
.step p { color: var(--ink-2); margin-top: var(--s2); }

/* About */
.about { align-items: center; }
/* Four columns: as wide as the photo can be and still be sharp */
.about__photo { grid-column: span 4; position: relative; width: 100%; margin: 0; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: var(--r3); box-shadow: var(--shadow); }
.tape { position: absolute; top: calc(-1 * var(--s4)); right: var(--s5); width: 128px; height: 32px; rotate: 4deg; background: rgba(242, 168, 0, .88);
  clip-path: polygon(0 8%, 4% 0, 8% 10%, 12% 0, 88% 0, 92% 10%, 96% 0, 100% 8%, 100% 92%, 96% 100%, 92% 90%, 88% 100%, 12% 100%, 8% 90%, 4% 100%, 0 92%); }
.about__text { grid-column: 6 / -1; }
.about__text > p:not(.kicker) { color: var(--ink-2); margin-top: var(--s4); max-width: 36em; }
.sbb { display: flex; align-items: center; gap: var(--s5); margin-top: var(--s6); padding: var(--s4) var(--s5); background: var(--kalk); border-radius: var(--r3); max-width: 36em; }
.sbb img { width: 96px; height: auto; flex: none; }
.sbb p { color: var(--ink-2); }

/* Questions and work area */
.faq { align-items: start; }
.faq > :first-child { grid-column: span 6; }
.faq .head { margin-bottom: var(--s5); }
.qa { border-top: 1px solid var(--field); }
.qa details { border-bottom: 1px solid var(--field); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: var(--s8); padding: var(--s3) 0; font: 800 var(--t0)/1.3 var(--font-h); line-height: round(1.3em, 4px); letter-spacing: -.01em; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff no-repeat center / 16px
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2v12M2 8h12' stroke='%23121417' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); transition: rotate .2s; }
.qa details[open] summary::after { rotate: 45deg; }
.qa details p { max-width: 38em; padding: 0 var(--s7) var(--s5) 0; color: var(--ink-2); }
.area { grid-column: 8 / -1; padding: var(--s5); background: #fff; border: 1px solid var(--line); border-radius: var(--r3); }
.area h3 { display: flex; align-items: center; gap: var(--s2); }
.area h3 svg { width: 24px; height: 24px; color: var(--red); }
.area > p { margin-top: var(--s3); color: var(--ink-2); max-width: 36em; }
/* Work area: own drawing in werkgebied.svg, the names on top in HTML */
.zone { position: relative; aspect-ratio: 1 / 1; margin-top: var(--s4); border-radius: var(--r2); overflow: hidden; background: var(--kalk) url("werkgebied.svg") no-repeat center / 100% 100%; }
.zone__pl { position: absolute; left: var(--x); top: var(--y); translate: var(--s3) -50%; font-size: var(--t-1); line-height: 20px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.zone__pl--l { translate: calc(-100% - var(--s3)) -50%; }
.zone__pl--t { translate: -50% calc(-100% - 6px); }
.zone__pl--b { translate: -50% 6px; }
.zone__pl--main { translate: var(--s4) -50%; font: 800 var(--t0)/var(--lh) var(--font-h); }
.area__more { margin-top: var(--s3); color: var(--ink-2); }

/* Contact: call or mail Soren */
.offer { position: relative; overflow: hidden; isolation: isolate; padding: var(--s9) 0; background: var(--blue); color: #fff; }
.offer::after { content: ""; position: absolute; z-index: -1; left: -56px; bottom: var(--s1); width: 320px; aspect-ratio: 600 / 160; background: url("strokes.svg") no-repeat left center / contain; opacity: .2; rotate: -5deg; }
.offer__in { align-items: center; }
.offer__head { grid-column: span 5; }
.offer .kicker { color: #fff; }
.offer__lead { margin-top: var(--s4); font-size: var(--t1); line-height: 32px; max-width: 30em; }
.offer__rating { display: inline-flex; align-items: center; gap: var(--s3); min-height: 44px; margin-top: var(--s3); color: #fff; text-decoration: none; }
.ways { grid-column: 7 / -1; display: grid; gap: var(--s2); padding: var(--s2); background: #fff; color: var(--ink); border-radius: var(--r3); box-shadow: 0 32px 64px -32px rgba(0, 0, 0, .55); }
.way { display: flex; align-items: stretch; min-width: 0; border: 2px solid var(--line); border-radius: var(--r2); transition: border-color .15s, background .15s; }
.way__link { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--s4); flex: 1; min-width: 0; padding: var(--s4); color: var(--ink); text-decoration: none; }
.way__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r2); background: var(--blue); color: #fff; }
.way__icon svg { width: 24px; height: 24px; }
.way__body { display: grid; min-width: 0; }
.way__body b { font-weight: 400; color: var(--ink-2); }
.way__val { font-size: var(--t2); line-height: 32px; font-weight: 600; letter-spacing: -.01em; color: var(--blue); white-space: nowrap; }
.way__val--mail { font-size: var(--t1); }
.way__body small { font-size: var(--t-1); line-height: 20px; color: var(--muted); }
.way .copy { width: auto; padding: 0 var(--s4); border-left: 2px solid var(--line); }
@media (hover: hover) {
  .way:hover { border-color: var(--blue); background: #f6f8fd; }
}
/* The letter: airmail edge in red, white, blue and amber */
.ways { background: none; padding: 0; box-shadow: none; gap: var(--s4); }
.letter { display: grid; gap: var(--s4); padding: var(--s3); border: 6px solid transparent; border-radius: var(--r3); color: var(--ink); box-shadow: 0 32px 64px -32px rgba(0, 0, 0, .55);
  background: linear-gradient(#fff, #fff) padding-box, repeating-linear-gradient(-45deg, var(--red) 0 12px, #fff 12px 24px, var(--blue) 24px 36px, #fff 36px 48px, var(--amber) 48px 60px, #fff 60px 72px) border-box; }
.todo__lbl { margin: var(--s1) var(--s1) 0; font: 800 var(--t0)/var(--lh) var(--font-h); }
.todo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); margin: 0; padding: 0; list-style: none; }
.todo li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: var(--s3); padding: var(--s3); border-left: 6px solid var(--c); border-radius: var(--r1); background: var(--kalk); font-size: var(--t-1); line-height: 20px; color: var(--ink-2); }
.todo svg { width: 24px; height: 24px; color: var(--ink); }
.todo b { display: block; font-size: var(--t0); line-height: var(--lh); font-weight: 600; color: var(--ink); }
.letter__go { width: 100%; }
.letter__then { margin: 0 var(--s1) var(--s1); font-size: var(--t-1); line-height: 20px; color: var(--ink-2); text-align: center; }
.call { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 var(--s3); color: rgba(255, 255, 255, .8); font-size: var(--t-1); }
.call a { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; color: #fff; font-size: var(--t0); text-decoration: none; }
.call a b { display: inline-block; font-weight: 600; }
.call svg { width: 20px; height: 20px; flex: none; }
.call small { font-size: var(--t-1); }

/* Footer */
.foot { padding: var(--s7) 0; background: var(--ink); color: rgba(255, 255, 255, .72); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s5) var(--s6); }
.foot__brand { display: flex; align-items: center; gap: var(--s4); margin-right: auto; }
.foot .brand__text b { color: #fff; }
.foot .brand__text small { color: rgba(255, 255, 255, .72); }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s5); }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; }
.foot__legal { width: 100%; padding-top: var(--s4); border-top: 1px solid rgba(255, 255, 255, .12); font-size: var(--t-1); line-height: var(--s6); }
.foot__legal a { color: #fff; text-decoration: none; }
.foot__legal b { font-weight: 400; }
.foot__legal span { white-space: nowrap; }
.foot__copy { width: 100%; font-size: var(--t-1); line-height: 20px; }
.foot__copy b { font-weight: 400; }

/* Phone: number and mail address at the bottom */
.dock { display: none; }

/* Photo viewer */
.lb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 72px 88px 40px; border: 0; background: transparent; overflow: hidden; }
.lb[open] { display: grid; place-items: center; }
.lb::backdrop { background: rgba(10, 12, 14, .95); }
.lb__fig { display: grid; justify-items: center; gap: var(--s3); margin: 0; min-height: 0; }
.lb img { max-width: 100%; max-height: calc(100dvh - 160px); width: auto; border-radius: var(--r2); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.lb figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s1) var(--s3); color: #fff; font-weight: 600; text-align: center; }
.lb__n { color: rgba(255, 255, 255, .72); font-weight: 400; }
.lb__x, .lb__nav { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.lb__x { top: var(--s4); right: var(--s4); }
.lb__nav { top: 50%; translate: 0 -50%; }
.lb__prev { left: var(--s4); }
.lb__next { right: var(--s4); }
.lb__x svg, .lb__nav svg { width: 24px; height: 24px; }

/* 404 page: the same header, one headline, back home or mail */
.lost { padding-top: var(--s8); padding-bottom: var(--s9); }
.lost h1 { max-width: 14em; }
.lost__go { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); margin-top: var(--s6); }
.lost__go .mailbox { flex: 0 1 auto; }
@media (max-width: 760px) { .lost__go > *, .lost__go .mailbox { flex: 1 1 100%; } }

/* Two columns get narrow here: the headline steps down one size */
@media (max-width: 1279px) and (min-width: 1001px) {
  h1 { font-size: var(--t5); }
  h2 { font-size: var(--t4); }
  .proof { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 1120px) {
  .strip__say { display: none; }
  .strip__in { justify-content: space-between; }
  .svc { grid-column: span 6; }
  .way .copy__txt { display: none; }
  .way .copy { padding: 0; width: 56px; }
  .way__val--mail { font-size: var(--t0); }
}

/* One column from here: everything full width on the same left edge */
@media (max-width: 1000px) {
  :root { --gut: 32px; }
  h2 { font-size: var(--t4); }
  .hero { padding: var(--s6) 0 var(--s9); }
  .hero__in { row-gap: var(--s7); }
  .hero__text, .hero__media, .faq > :first-child, .area, .offer__head, .ways { grid-column: 1 / -1; }
  .hero__text { max-width: 640px; }
  .hero__media img { aspect-ratio: 16 / 10; }
  .insta { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .gallery { --tile: calc((var(--content) - 2 * var(--gap)) / 3); }
  .g { grid-column: span 4; }
  .g--big { grid-column: span 8; }
  .step { grid-column: span 6; }
  .steps { row-gap: var(--s7); }
  .steps::before { display: none; }
  .about__photo { grid-column: span 5; }
  .about__text { grid-column: 6 / -1; }
  .rv { grid-template-columns: minmax(0, 1fr); }
  .rv > .btn { grid-row: auto; grid-column: auto; justify-self: start; margin-top: var(--s5); }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .faq { row-gap: var(--s7); }
  .way .copy__txt { display: grid; }
  .way .copy { padding: 0 var(--s4); width: auto; }
  .way__val--mail { font-size: var(--t1); }
  .ways { max-width: 640px; width: 100%; }
}

/* Menu only where the six links do not fit */
@media (max-width: 900px) {
  .menu { display: inline-flex; width: 100px; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: var(--s1); padding: var(--s2) var(--gut) var(--s5); background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px -24px rgba(0, 0, 0, .5); }
  .nav.open { display: flex; }
  .nav a { padding: var(--s3); }
}

@media (max-width: 760px) {
  :root {
    --t0: 16px; --t1: 19px; --t2: 23px; --t3: 28px; --t4: 33px; --t5: 40px; --t8: 69px;
    --lh: 24px; --head: 0px;
    --gut: 16px;
    --gap: var(--s3);
    --dock: 104px;
  }
  .strip { display: none; }
  .top__in { height: 64px; gap: var(--s3); }
  body { line-height: var(--lh); }
  h1 { font-size: var(--t4); }
  h2 { font-size: var(--t3); }
  .brand .mark { width: 76px; height: 32px; }
  .brand__text b { font-size: var(--t1); }
  .brand__text small { display: none; }
  .hero { padding: var(--s3) 0 var(--s8); }
  .hero__in { row-gap: var(--s6); }
  .hero__media::before { left: -40px; bottom: -40px; width: 80%; }
  .hero__media img { aspect-ratio: 4 / 3; }
  .hero__tag { top: var(--s3); right: var(--s3); padding: var(--s1) var(--s3); }
  .rating { right: var(--s3); bottom: calc(-1 * var(--s4)); gap: var(--s3); padding: var(--s2) var(--s4); }
  .rating__num { font-size: var(--t3); }
  .lead { font-size: var(--t0); line-height: var(--lh); margin-top: var(--s3); }
  .contact { margin-top: var(--s4); gap: var(--s2); }
  .contact > * { flex: 1 1 100%; }
  .contact .mailbox a { justify-content: center; }
  /* Phone hero: one clear action. Mail is the blue box; calling is a quiet line under it, like "Of bel" in the bar at the bottom.
     The mail tip (also in step 1 and the letter block) and "Erkend leerbedrijf" (with its logo under Over Soren) stay off this first screen,
     and the kicker drops its stripes because the logo right above has them. Computer and tablet keep the full hero */
  .hero .kicker .tri { display: none; }
  .contact .btn--line { min-height: 44px; border-color: transparent; font-size: var(--t0); }
  .contact .btn--line svg { color: var(--blue); }
  .contact .btn--line:active { background: rgba(0, 51, 160, .08); color: var(--ink); }
  .contact__note, .proof li:nth-child(3) { display: none; }
  .proof { justify-content: center; margin-top: var(--s2); gap: var(--s1) var(--s4); font-size: var(--t-1); line-height: 20px; }
  .proof li > svg { width: 16px; height: 16px; }
  .section { padding: var(--s8) 0; }
  .hero + .section { padding-top: var(--s6); }
  .head { margin-bottom: var(--s5); }
  .head__lead { font-size: var(--t0); line-height: var(--lh); margin-top: var(--s2); }
  .svc { grid-column: 1 / -1; border-radius: var(--r2); }
  .svc__chip { height: 72px; padding: var(--s2) var(--s4); }
  .svc__chip::after { top: var(--s3); right: var(--s3); }
  .svc__body { padding: var(--s4); }
  .svc__body p { margin-top: var(--s1); }
  .gallery { --tile: calc((var(--content) - var(--gap)) / 2); }
  .g { grid-column: span 6; border-radius: var(--r2); }
  .g--big { grid-column: 1 / -1; }
  .g figcaption { left: var(--s2); bottom: var(--s2); max-width: calc(100% - 2 * var(--s2)); }
  .insta { margin-top: var(--s6); padding: var(--s4); }
  .insta h3 { font-size: var(--t2); }
  .section--band { padding: var(--s7) 0; }
  .reviews { gap: var(--s4) var(--s5); }
  .score__num { font-size: var(--t8); }
  .score__text { flex: 1 1 100%; }
  .score__text h2 { font-size: var(--t2); }
  .rv > .btn { width: 100%; margin-top: var(--s4); }
  .quotes { margin-top: var(--s5); }
  .quote { gap: var(--s3); padding: var(--s4); border-radius: var(--r2); }
  .quote blockquote { line-height: 28px; }
  .step { grid-column: 1 / -1; display: grid; grid-template-columns: var(--s7) 1fr; column-gap: var(--s4); }
  .steps { row-gap: var(--s5); }
  .step__n { grid-row: span 2; width: var(--s7); height: var(--s7); margin: 0; font-size: var(--t1); }
  .step p { margin-top: var(--s1); }
  .about__photo, .about__text { grid-column: 1 / -1; }
  .about__photo img { aspect-ratio: 1; object-position: 50% 12%; }
  .about { row-gap: var(--s6); }
  .sbb { align-items: flex-start; gap: var(--s3); padding: var(--s4); }
  .sbb img { width: 72px; }
  .qa summary { min-height: 56px; }
  .qa details p { padding-right: 0; padding-bottom: var(--s4); }
  .faq { row-gap: var(--s6); }
  .area { padding: var(--s4); }
  .offer { padding: var(--s8) 0; }
  .offer::after { width: 300px; left: auto; right: -90px; bottom: 0; }
  .offer__in { row-gap: var(--s5); }
  .offer__lead { font-size: var(--t0); line-height: var(--lh); margin-top: var(--s2); }
  .ways { margin: 0 calc(-1 * var(--gut) + var(--s2)); width: auto; max-width: none; }
  .way { flex-wrap: wrap; }
  .way__link { grid-template-columns: minmax(0, 1fr); }
  .way__icon { display: none; }
  .way .copy { flex: 1 1 100%; min-height: var(--s7); padding: 0; border-left: 0; border-top: 2px solid var(--line); }
  .letter { padding: var(--s2); border-width: 4px; }
  .todo { grid-template-columns: minmax(0, 1fr); }
  .call { flex-direction: column; }
  .foot { padding-bottom: calc(var(--s7) + var(--dock) + env(safe-area-inset-bottom)); }
  .foot__brand { width: 100%; }
  .dock { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; gap: var(--s1); padding: var(--s2) var(--gut) calc(var(--s1) + env(safe-area-inset-bottom));
    background: var(--blue); color: #fff; transition: transform .25s ease, visibility 0s; }
  .dock .mailbox--white { border: 0; background: #fff; }
  .dock .mailbox--white a { justify-content: center; min-height: 44px; padding: 0 var(--s3); color: var(--blue); }
  .dock .mailbox--white .copy { width: 44px; }
  .dock .strip__tel { justify-content: center; }
  .js .dock:not(.is-on) { transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
  .lb { padding: var(--s8) var(--s3) var(--s9); }
  .lb img { max-height: calc(100dvh - 200px); }
  .lb__nav { top: auto; bottom: var(--s5); translate: none; }
  .lb__prev { left: calc(50% - 64px); }
  .lb__next { right: calc(50% - 64px); }
}

/* Phone on its side: number and mail address on one line */
@media (max-width: 760px) and (min-width: 520px) {
  :root { --dock: 60px; --gut: 24px; }
  .dock { grid-template-columns: auto minmax(0, 1fr); gap: var(--s4); padding-bottom: calc(var(--s2) + env(safe-area-inset-bottom)); }
}

/* The name and the Menu button share the row */
@media (max-width: 430px) {
  .brand__text b { font-size: var(--t0); }
  .brand .mark { width: 67px; height: 28px; }   /* logo, gap, name, gap and the 100 px Menu button fit 358 px (390 wide) */
}

@media (max-width: 380px) {
  h1 { font-size: var(--t3); }
  h2 { font-size: var(--t2); }
  .g figcaption { padding: var(--s1) var(--s2); }
  .brand { gap: var(--s2); }
  .brand .mark { width: 62px; height: 26px; }
  .top__in { gap: var(--s2); }
  .menu { width: 44px; padding: 0; }
  .menu span { display: none; }
  .mailbox a svg { display: none; }
  .mailbox a { padding: 0 var(--s2); }
  .mailbox .copy { width: 44px; }
  .way__val--mail { font-size: var(--t0); }
}

/* Smallest phones: at 16 px the address is 240 px wide and the room beside the copy button 239 px. One step down the scale keeps 8 px or more on both sides */
@media (max-width: 340px) {
  .mailbox .addr { font-size: var(--t-1); }
}

/* Below 380 px the names on the work-area map touch (Almelo/Oldenzaal): the map runs to the card's edges and Almelo goes one step down */
@media (max-width: 379px) {
  .zone { margin-inline: calc(-1 * var(--s4)); border-radius: 0; }
  .zone__pl--main { font-size: var(--t-1); translate: var(--s3) -50%; }
}

/* Keep "heldere afspraken." on one line wherever it fits */
@media (min-width: 400px) {
  .swash { white-space: nowrap; }
}

/* Feel. Everything you can press answers the moment your finger lands: it sinks 2 px and springs back when you let go.
   Only transform and colour change, so nothing else on the page moves. app.js adds an empty touchstart listener: without one, iPhone Safari shows no press at all */
::selection { background: var(--amber); color: var(--ink); }
a, button, summary { -webkit-tap-highlight-color: transparent; }
.btn, .mailbox, .way, .rating, .menu, .strip__tel, .call a, .more, .offer__rating, .foot__links a, .nav a, .lb__x, .lb__nav, .copy__ico, .qa summary::after {
  transition-property: background, color, border-color, box-shadow, opacity, transform, rotate; transition-duration: .15s; transition-timing-function: ease-out; }
.btn:active, .mailbox:has(> a:active), .way:has(> .way__link:active), .rating:active, .menu:active, .strip__tel:active, .call a:active, .more:active, .offer__rating:active, .foot__links a:active, .nav a:active {
  transform: translateY(2px); transition-duration: .04s; }
.btn--blue:active, .mailbox--blue:has(> a:active) { border-color: var(--blue-2); background: var(--blue-2); box-shadow: none; }
.btn--line:active { background: var(--ink); color: #fff; }
.dock .mailbox--white:has(> a:active), .way:has(> .way__link:active) { background: #eef2fb; }
.rating:active { box-shadow: 0 1px 2px rgba(18, 20, 23, .2); }
.copy:active .copy__ico, .lb__x:active, .lb__nav:active, .qa summary:active::after { transform: scale(.86); transition-duration: .04s; }
.g button:active img { transform: scale(.98); transition-duration: .06s; }

/* Sent: the envelope makes a short hop, as if the letter goes out */
.is-sent svg { animation: send .5s ease-in-out; }
@keyframes send { 40% { transform: translate(3px, -4px) rotate(-10deg); } }

/* The brush stroke under a link: painted in from the left when you point at it */
.mailbox a .addr, .strip__tel span, .call a b, .more span, .offer__rating > span:last-child, .foot__links a {
  background: var(--brush) no-repeat 0 calc(50% + .72em) / 0 .3em; transition: background-size .25s ease-out; }
@media (hover: hover) {
  .mailbox a:hover .addr, .strip__tel:hover span, .call a:hover b, .more:hover span, .offer__rating:hover > span:last-child, .foot__links a:hover { background-size: 100% .3em; }
  .svc { transition: transform .2s ease-out, box-shadow .2s ease-out; }
  .svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
}

/* Paint going on: the swash under the headline when the page opens, and the line through the four steps when it comes into view.
   The end state is exactly the drawn state; without JavaScript, or with less motion, it is simply there */
@keyframes paint { from { background-size: 0 .34em; } }
.js .swash { animation: paint .7s cubic-bezier(.3, .7, .3, 1) .3s both; }
.js .steps::before { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s cubic-bezier(.45, 0, .25, 1); }
.js .steps.is-seen::before { clip-path: inset(0); }
.step:nth-child(2) { --i: 1; }
.step:nth-child(3) { --i: 2; }
.step:nth-child(4) { --i: 3; }
.js .steps.is-seen .step__n { animation: tick .4s ease-out calc(var(--i, 0) * .4s + .05s) both; }
@keyframes tick { 50% { transform: scale(1.12); border-color: var(--blue); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .steps::before { clip-path: none; }
}
