/* ============================================================
   Schadecentrum Nijverdal
   ============================================================ */
@import url('designsystem/colors_and_type.css');

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

[data-lucide] {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* scroll offset for sticky header when jumping to anchors */
#diensten,
#werk,
#werkwijze,
#waarom,
#contact {
  scroll-margin-top: 76px;
}

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
  font-size: 14px;
  border: 0;
  border-radius: 6px;
  padding: 13px 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  transition: .16s cubic-bezier(.2, .7, .2, 1);
  text-decoration: none;
  line-height: 1;
}

.btn:hover {
  text-decoration: none;
}

.btn .ico {
  font-size: 17px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(189, 19, 26, .28);
}

.btn-primary:hover {
  background: var(--brand-bright);
  transform: translateY(-1px);
  color: #fff;
}

.btn-primary:active {
  background: var(--brand-active);
  transform: scale(.985);
  box-shadow: none;
}

.btn-dark {
  background: var(--neutral-900);
  color: #fff;
}

.btn-dark:hover {
  background: var(--neutral-800);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  box-shadow: inset 0 0 0 2px var(--border-strong);
}

.btn-ghost:hover {
  box-shadow: inset 0 0 0 2px var(--neutral-900);
}

.btn-light {
  background: #fff;
  color: var(--neutral-900);
}

.btn-light:hover {
  background: var(--neutral-100);
  color: var(--neutral-900);
}

.btn-lg {
  padding: 16px 28px;
  font-size: 16px;
}

.btn[disabled] {
  background: var(--neutral-200);
  color: var(--neutral-400);
  box-shadow: none;
  cursor: default;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.eyebrow.on-dark {
  color: var(--brand-bright);
}

.eyebrow .tick {
  width: 26px;
  height: 3px;
  background: currentColor;
  display: inline-block;
}

/* ---------- header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--neutral-950);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.hdr-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.hdr-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.hdr-logo {
  height: 38px;
}

.hdr-nav {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}

.hdr-nav a {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
  font-size: 13.5px;
  color: #d7d7d8;
  padding: 9px 13px;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
}

.hdr-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .06);
  text-decoration: none;
}

.hdr-nav a.active {
  color: #fff;
}

.hdr-nav a.active::after {
  content: "";
  display: block;
  height: 3px;
  background: var(--brand);
  margin-top: 6px;
  border-radius: 2px;
}

.hdr-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hdr-phone {
  color: #fff;
  text-align: right;
  line-height: 1.05;
  text-decoration: none;
}

.hdr-phone small {
  display: block;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9a9a9c;
  font-family: var(--font-display);
  font-weight: 700;
}

.hdr-phone b {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .01em;
}

.hdr-burger {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  margin-left: auto;
}

/* mobile nav dropdown */
.hdr-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0 28px 16px;
}

.hdr-mobile.open {
  display: flex;
}

.hdr-mobile a {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  padding: 10px 4px;
}

.hdr-mobile a.active {
  color: var(--brand-bright);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--neutral-950);
  color: #fff;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: stretch;
  min-height: 560px;
}

.hero-left {
  padding: 70px 0 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(44px, 5.2vw, 78px);
  line-height: .92;
  letter-spacing: .005em;
  margin: 18px 0 0;
}

.hero h1 .red {
  color: var(--brand-bright);
}

.hero-sub {
  font-size: 19px;
  color: #c7c7c9;
  max-width: 470px;
  margin: 22px 0 0;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 34px 0;
  flex-wrap: wrap;
}

.hero-right {
  position: relative;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-graphic {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  filter: saturate(.92) brightness(.82);
}

.hero-video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

.hero-graphic::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, var(--neutral-950) 0%, rgba(22, 22, 24, .6) 34%, rgba(22, 22, 24, .18) 60%, transparent 100%);
}

.hero-graphic::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -40px;
  bottom: -40px;
  width: 120px;
  background: var(--brand);
  transform: skewX(-11deg);
  opacity: .22;
  z-index: 2;
}

.hero-play-btn {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-brand);
  transition: .16s cubic-bezier(.2, .7, .2, 1);
}

.hero-play-btn:hover {
  background: var(--brand-bright);
  transform: translate(-50%, -50%) scale(1.06);
}

.hero-play-btn:active {
  background: var(--brand-active);
  transform: translate(-50%, -50%) scale(.98);
}

.hero-play-btn svg {
  width: 30px;
  height: 30px;
  margin-left: 3px;
}

.hero-slash {
  position: absolute;
  inset: 0;
  background: var(--brand);
  z-index: 4;
  pointer-events: none;
  clip-path: polygon(25% 0, 27% 0, 9% 100%, 7% 100%);
  box-shadow: 0 0 40px rgba(189, 19, 26, .5);
}

.hero-stats {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.hero-stat {
  padding: 22px 32px 22px 0;
  margin-right: 32px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.hero-stat:last-child {
  border-right: 0;
}

.hero-stat b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  color: #fff;
  display: block;
  line-height: 1;
}

.hero-stat span {
  font-size: 12.5px;
  color: #9a9a9c;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-family: var(--font-display);
  font-weight: 700;
}

.hero-stat-logo {
  display: flex;
  align-items: center;
}

.hero-cert-badge {
  background: #fff;
  border-radius: 6px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
}

.hero-cert-badge img {
  max-height: 36px;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

/* ---------- section frame ---------- */
.section {
  padding: 84px 0;
}

.section.alt {
  background: var(--surface);
}

.section.dark {
  background: var(--neutral-900);
  color: #fff;
}

.sec-head {
  max-width: 680px;
  margin-bottom: 44px;
}

.sec-head h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.04;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 14px 0 0;
}

.sec-head.dark h2 {
  color: #fff;
}

.sec-head p {
  font-size: 17px;
  color: var(--fg-muted);
  margin: 16px 0 0;
  line-height: 1.55;
}

.sec-head.dark p {
  color: #b7b7b9;
}

.sec-head.center {
  text-align: center;
  margin: 0 auto 40px;
}

.sec-head.center .eyebrow {
  justify-content: center;
}

/* ---------- services ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.svc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(11, 11, 12, .06);
  transition: .18s cubic-bezier(.2, .7, .2, 1);
  cursor: pointer;
}

.svc:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 11, 12, .14);
  border-color: var(--neutral-300);
}

.svc-accent {
  height: 4px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s;
}

.svc:hover .svc-accent {
  transform: scaleX(1);
}

.svc-body {
  padding: 26px 24px 28px;
}

.svc-ic {
  width: 56px;
  height: 56px;
}

.svc h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 18px 0 8px;
}

.svc p {
  font-size: 13.5px;
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.55;
}

.svc-more {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
  font-size: 12px;
  color: var(--brand);
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* ---------- gallery ---------- */
.gal-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.gal-tab {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
  font-size: 13px;
  padding: 11px 20px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--fg-muted);
  cursor: pointer;
  transition: .16s cubic-bezier(.2, .7, .2, 1);
}

.gal-tab:hover {
  border-color: var(--neutral-400);
  color: var(--fg);
}

.gal-tab.on {
  background: var(--neutral-900);
  border-color: var(--neutral-900);
  color: #fff;
}

.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gal-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: zoom-in;
  background: var(--neutral-100);
  padding: 0;
  display: block;
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}

.gal-item:hover img {
  transform: scale(1.06);
}

.gal-item[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 12, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 48px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  background: rgba(255, 255, 255, .08);
  border: 0;
  color: #fff;
  font-size: 22px;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, .16);
}

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 12, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 48px;
}

.video-modal[hidden] {
  display: none;
}

.video-modal-frame {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- trust / pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 6px;
  overflow: hidden;
}

.pillar {
  padding: 30px 26px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.pillar:last-child {
  border-right: 0;
}

.pillar .pn {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-bright);
}

.pillar h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: #fff;
  margin: 14px 0 8px;
}

.pillar p {
  font-size: 13px;
  color: #a9a9ab;
  margin: 0;
  line-height: 1.5;
}

/* ---------- process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step {
  position: relative;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.step-n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 46px;
  color: var(--neutral-200);
  line-height: 1;
}

.step h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 8px 0 8px;
}

.step p {
  font-size: 13.5px;
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.55;
}

.step .bar {
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 4px;
  background: var(--brand);
  border-radius: 2px;
}

/* ---------- estimate form ---------- */
.est {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(11, 11, 12, .18);
}

.est-form {
  background: #fff;
  padding: 40px 40px 36px;
}

.est-side {
  background: var(--neutral-950);
  color: #fff;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.est-side .slash {
  position: absolute;
  right: -30px;
  top: -30px;
  bottom: -30px;
  width: 90px;
  background: var(--brand);
  transform: skewX(-11deg);
  opacity: .9;
}

.est-side h3 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 26px;
  margin: 0 0 26px;
  position: relative;
  z-index: 2;
}

.field {
  margin-bottom: 16px;
}

.form-error {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 6px;
  background: var(--red-50);
  color: var(--red-700);
  font-size: 13.5px;
  line-height: 1.5;
}

.field label {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
  font-size: 11px;
  color: var(--fg-muted);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 12px 13px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: #fff;
  color: var(--fg);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--red-500);
  outline-offset: 2px;
  border-color: var(--brand);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.seg {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.seg button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  padding: 12px 6px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--fg-muted);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  transition: .14s;
}

.seg button .si {
  width: 26px;
  height: 26px;
}

.seg button:hover {
  border-color: var(--neutral-400);
}

.seg button.on {
  border-color: var(--brand);
  background: var(--red-50);
  color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.est-done {
  text-align: center;
  padding: 30px 10px;
}

.est-done h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 8px;
  text-transform: none;
  letter-spacing: normal;
}

.est-done p {
  color: var(--fg-muted);
  margin: 0 0 22px;
}

.est-done .ok {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: #e6f4ec;
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 18px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.contact-line .ci {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--brand-bright);
  flex: 0 0 auto;
}

.contact-line small {
  display: block;
  font-size: 11px;
  color: #9a9a9c;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-family: var(--font-display);
  font-weight: 700;
}

.contact-line b {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.contact-line .mono {
  font-family: var(--font-mono);
}

/* ---------- footer ---------- */
.ftr {
  background: var(--neutral-950);
  color: #fff;
  padding: 64px 0 0;
}

.ftr-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.ftr-logo {
  height: 40px;
  margin-bottom: 20px;
}

.ftr h5 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
  color: #8b8b8d;
  margin: 0 0 16px;
}

.ftr a,
.ftr p {
  color: #c7c7c9;
  font-size: 14px;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  line-height: 1.5;
}

.ftr a:hover {
  color: #fff;
}

.ftr-partners {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ftr-logo-chip {
  background: #fff;
  border-radius: 6px;
  padding: 9px 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
}

.ftr-logo-chip img {
  max-height: 26px;
  max-width: 96px;
  object-fit: contain;
  display: block;
}

.ftr-certs {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  flex-wrap: wrap;
}

.ftr-cert {
  background: #fff;
  border-radius: 6px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
}

.ftr-cert img {
  max-height: 42px;
  max-width: 130px;
  object-fit: contain;
  display: block;
}

.ftr-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
}

.ftr-bottom span {
  font-size: 12.5px;
  color: #7d7d7f;
}

.ftr-slash {
  height: 5px;
  background: var(--brand);
  transform: skewX(-11deg) scaleX(1.2);
}

/* ---------- mobile ---------- */
@media (max-width: 1024px) {
  .hdr-nav,
  .hdr-phone {
    display: none;
  }

  .hdr-burger {
    display: block;
  }

  .hdr-cta .btn {
    display: none;
  }
}

@media (min-width: 1025px) {
  .hdr-mobile {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-right {
    min-height: 280px;
    clip-path: none;
  }

  .hero-slash {
    display: none;
  }

  .svc-grid,
  .pillars,
  .steps,
  .gal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pillar,
  .hero-stat {
    border-right: 0;
  }

  .est {
    grid-template-columns: 1fr;
  }

  .ftr-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .svc-grid,
  .pillars,
  .steps,
  .field-row,
  .seg,
  .gal-grid {
    grid-template-columns: 1fr;
  }

  .ftr-top {
    grid-template-columns: 1fr;
  }
}
