.maatwerk-page { background: #071014; }
.maatwerk-page .maatwerk-hero {
  isolation: isolate;
  min-height: 730px;
  align-items: center;
  padding-top: 150px;
  padding-bottom: 100px;
  background: #071014;
}
.maatwerk-hero::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 88px;
  right: 0;
  bottom: 0;
  left: 38%;
  background:
    linear-gradient(90deg, #071014 0%, rgba(7, 16, 20, .91) 15%, rgba(7, 16, 20, .31) 60%, rgba(7, 16, 20, .11) 100%),
    linear-gradient(0deg, rgba(7, 16, 20, .8), transparent 34%),
    url('assets/projects/web/zand-erover-02.jpg') center 47% / cover no-repeat;
  clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%);
}
.maatwerk-page .maatwerk-hero::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: 130px;
  right: max(28px, calc((100vw - 1320px) / 2));
  width: 140px;
  height: 100px;
  border: 0;
  border-top: 1px solid rgba(255, 138, 0, .7);
  border-right: 1px solid rgba(0, 212, 255, .5);
  box-shadow: none;
  transform: none;
  pointer-events: none;
}
.maatwerk-hero > div { position: relative; z-index: 1; max-width: 1020px; }
.maatwerk-page .maatwerk-hero h1 { max-width: 1020px; margin-bottom: 32px; font-size: clamp(60px, 7.6vw, 116px); line-height: .96; letter-spacing: -.073em; }
.maatwerk-page .maatwerk-hero > div > p:not(.eyebrow) { max-width: 590px; margin: 0; color: #e0e9eb; font-size: clamp(17px, 1.55vw, 20px); line-height: 1.65; }
.maatwerk-hero .button { margin-top: 34px; min-width: 270px; }
.maatwerk-photo-note { position: absolute; z-index: 1; right: max(28px, calc((100vw - 1320px) / 2)); bottom: 28px; margin: 0; color: #e0eaec; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-align: right; text-transform: uppercase; }
.maatwerk-photo-note span { color: #ff8a00; margin: 0 5px; }

.maatwerk-page .maatwerk-section {
  grid-template-columns: minmax(270px, .68fr) minmax(0, 1.32fr);
  gap: clamp(48px, 7vw, 122px);
  align-items: start;
  padding-top: clamp(90px, 8vw, 135px);
  padding-bottom: clamp(100px, 9vw, 150px);
  scroll-margin-top: 24px;
  background: #f1f2f0;
  color: #10191d;
}

.maatwerk-copy > p:not(.eyebrow) { color: #45565b; font-size: 16px; line-height: 1.7; }
.maatwerk-page .maatwerk-copy h2 { font-size: clamp(42px, 4.2vw, 66px); line-height: 1.06; letter-spacing: -.06em; }
.maatwerk-copy .eyebrow { color: #8d4400; }
.maatwerk-copy .eyebrow span { background: #ff8a00; }
.maatwerk-assurance {
  display: grid;
  gap: 10px;
  margin-top: 36px;
  padding: 20px 23px;
  border-left: 3px solid #ff8a00;
  background: #e4eaea;
  line-height: 1.6;
}
.maatwerk-assurance strong { color: #17262a; font-size: 15px; }
.maatwerk-assurance span { color: #45565b; font-size: 14px; }
.maatwerk-side-links { display: grid; gap: 15px; margin-top: 34px; }
.maatwerk-side-links a {
  width: fit-content;
  color: #0b5972;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
  font-size: 14px;
  font-weight: 600;
}
.maatwerk-side-links a:hover { color: #a44c00; }
.maatwerk-side-links a:focus-visible,
.maatwerk-fallback a:focus-visible,
.maatwerk-noscript a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

.maatwerk-form { position: relative; min-width: 0; padding: clamp(28px, 3.5vw, 54px); border-top: 4px solid #ff8a00; border-image: none; box-shadow: 0 22px 55px rgba(8, 27, 33, .08); }
.maatwerk-form-intro {
  margin: 0 0 27px;
  color: #4d5b60;
  font-size: 14px;
  line-height: 1.65;
}
.maatwerk-form fieldset {
  min-width: 0;
  margin: 0 0 27px;
  padding: 0;
  border: 0;
}
.maatwerk-form fieldset + fieldset { border-top: 1px solid #d8dfe0; padding-top: 27px; }
.maatwerk-form legend {
  margin-bottom: 18px;
  padding: 0;
  color: #11191c;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}
.maatwerk-form .form-row { gap: 20px; }
.maatwerk-form .form-row:last-child label { margin-bottom: 0; }
.maatwerk-form label { line-height: 1.5; }
.maatwerk-form input,
.maatwerk-form select,
.maatwerk-form textarea { color: #122026; }
.maatwerk-form input::placeholder,
.maatwerk-form textarea::placeholder { color: #68777c; opacity: 1; }
.maatwerk-form input[aria-invalid="true"],
.maatwerk-form select[aria-invalid="true"],
.maatwerk-form textarea[aria-invalid="true"] { border-bottom: 2px solid #a52d1d; }
.maatwerk-form input[type="date"] { min-height: 44px; }
.maatwerk-field-help { margin: -5px 0 14px; color: #58676b; font-size: 13px; line-height: 1.55; }
.maatwerk-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.maatwerk-form .maatwerk-choices label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 13px;
  border: 1px solid #d0d8da;
  background: #f8faf9;
  color: #263438;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.maatwerk-form .maatwerk-choices label:has(input:checked) { border-color: #09789a; background: #e9f7fa; }
.maatwerk-form .maatwerk-choices label:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.maatwerk-form .maatwerk-choices input[type="checkbox"],
.maatwerk-form .maatwerk-choices input[type="radio"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  padding: 0;
  border: initial;
  accent-color: #09789a;
}
.maatwerk-form .maatwerk-services label:first-child { grid-column: 1 / -1; }
.maatwerk-form .maatwerk-services label { min-height: 52px; }
.maatwerk-form .button { margin-top: 8px; }
.maatwerk-form .button:disabled { cursor: not-allowed; opacity: .7; transform: none; }
.maatwerk-form .button:disabled[data-mode="sending"] { cursor: progress; }
.maatwerk-form .maatwerk-choices label:has(input:disabled) { cursor: default; }
.maatwerk-form-note { margin: 16px 0 0; color: #536267; font-size: 12px; line-height: 1.55; }
.maatwerk-status { min-height: 1.5em; margin: 18px 0 0; font-size: 14px; line-height: 1.6; }
.maatwerk-status[data-state="error"] { color: #9e2e1e; }
.maatwerk-status[data-state="success"] { color: #006b3e; }
.maatwerk-status[data-state="info"] { color: #3e5259; }
.maatwerk-fallback { margin: 19px 0 0; padding-top: 17px; border-top: 1px solid #dce2e3; color: #415258; font-size: 13px; line-height: 1.55; }
.maatwerk-fallback a { color: #075f7a; text-decoration: underline; text-underline-offset: 3px; }
.maatwerk-fallback span { display: block; margin-top: 3px; font-size: 12px; }
.maatwerk-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.maatwerk-noscript { color: #fff; }
.maatwerk-noscript a { text-decoration: underline; }

@media (max-width: 1000px) {
  .maatwerk-page .maatwerk-section { grid-template-columns: minmax(0, 1fr); }
  .maatwerk-copy { max-width: 760px; }
  .maatwerk-form { width: 100%; max-width: 820px; }
}

@media (max-width: 620px) {
  .maatwerk-hero { min-height: 570px; }
  .maatwerk-hero h1 { font-size: clamp(46px, 12vw, 62px); letter-spacing: -2.5px; }
  .maatwerk-hero > div > p:last-of-type { font-size: 17px; }
  .maatwerk-page .maatwerk-section { padding-left: 20px; padding-right: 20px; }
  .maatwerk-form { padding: 24px 20px; }
  .maatwerk-form .form-row,
  .maatwerk-choices { grid-template-columns: 1fr; gap: 0; }
  .maatwerk-form .maatwerk-choices { gap: 7px; }
  .maatwerk-form .form-row label { margin-bottom: 20px; }
  .maatwerk-form .form-row:last-child label:last-child { margin-bottom: 0; }
  .maatwerk-form .maatwerk-services label:first-child { grid-column: auto; }
  .maatwerk-form .button { width: 100%; min-width: 0; gap: 10px; }
}
