/* FP Services BV */

@font-face { font-family: "Barlow"; src: url(../fonts/barlow-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(../fonts/barlow-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url(../fonts/barlow-semi-condensed-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url(../fonts/barlow-semi-condensed-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #1e2930;        /* staal donker */
  --steel: #4e5c66;      /* staal */
  --line: #d5dade;
  --paper: #f1f3f4;      /* gepoedercoat paneel */
  --white: #ffffff;
  --signal: #f2a900;     /* signaalgeel */
  --error: #b42318;
  --ok: #1d6b3a;
  --head: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
  --wrap: 72rem;
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.1; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: .4em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.prose { max-width: 42rem; }
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section--paper { background: var(--paper); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--white); padding: .5rem 1rem; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 2rem; padding-top: .9rem; padding-bottom: .9rem; }
.logo img { height: 56px; width: auto; }
.nav { display: flex; gap: .25rem 1.4rem; margin-left: auto; font-weight: 600; }
.nav a { text-decoration: none; padding: .35rem 0; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--signal); }
.header-call { font-family: var(--head); font-weight: 700; font-size: 1.1rem; text-decoration: none; white-space: nowrap; color: var(--white); background: var(--ink); padding: .5rem .9rem; border-radius: var(--radius); }
.header-call span { color: var(--signal); margin-right: .5rem; }

@media (max-width: 960px) {
  .nav { order: 3; width: 100%; margin-left: 0; flex-wrap: wrap; gap: .1rem 1.1rem; }
  .header-call { margin-left: auto; }
  .logo img { height: 44px; }
}

/* Hero */
.hero {
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(30, 41, 48, .92) 0%, rgba(30, 41, 48, .78) 55%, rgba(30, 41, 48, .45) 100%),
    url(/images/slider/header-moducel.jpg) center / cover no-repeat var(--ink);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2.5rem; align-items: end; padding-top: clamp(3.5rem, 9vw, 7rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.hero-text { max-width: 36rem; }
.hero-text p { font-size: 1.25rem; margin: 0; color: #e3e8eb; }

/* Storingspaneel: het ene opvallende element van de site */
.storing {
  display: block; text-decoration: none; color: var(--ink); background: var(--signal);
  padding: 1.75rem 1.6rem 1.5rem; border-radius: var(--radius); position: relative; overflow: hidden;
}
.storing::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 10px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 10px, var(--signal) 10px 20px);
}
.storing-label { display: block; font-family: var(--head); font-weight: 600; font-size: 1.25rem; }
.storing-nummer { display: block; font-family: var(--head); font-weight: 700; font-size: clamp(2.2rem, 4.2vw, 3rem); line-height: 1.05; margin: .15em 0 .25em; white-space: nowrap; }
.storing-sub { display: block; }
.storing:hover .storing-nummer { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.storing--compact { padding: 1.4rem 1.25rem 1.2rem; }
.storing--compact .storing-nummer { font-size: 2.1rem; }

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

/* Diensten */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 1.5rem; }
.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 1rem; border-radius: var(--radius); }
.service h3 a { text-decoration: none; }
.service h3 a:hover { text-decoration: underline; text-decoration-color: var(--signal); }
.service p { color: var(--steel); margin: 0; }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; max-width: 34rem; } }

/* Merken */
.brands-title { font-size: 1.3rem; font-weight: 600; color: var(--steel); }
.brands { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 3rem; }
.brands img { max-height: 56px; width: auto; filter: grayscale(1); mix-blend-mode: multiply; }

/* Subpagina's */
.page-head { background: var(--ink); color: var(--white); padding: clamp(2.25rem, 5vw, 3.5rem) 0 clamp(1.75rem, 4vw, 2.75rem); border-bottom: 6px solid var(--signal); }
.page-head h1 { margin: 0; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 3rem; align-items: start; }
.page-photo { margin-top: 2rem; border-radius: var(--radius); }
@media (max-width: 860px) { .page-grid { grid-template-columns: 1fr; } .page-grid aside { max-width: 24rem; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.contact-info .storing { margin-bottom: 2rem; }
.contact-info h2 { font-size: 1.5rem; }
.map { display: block; margin-top: 1.5rem; font-weight: 600; }
.map img { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .5rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.form { max-width: 40rem; }
.field { margin-bottom: 1.15rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; margin-bottom: .3rem; }
.optional { font-weight: 400; color: var(--steel); }
input, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid #9aa6ae; border-radius: var(--radius); padding: .65rem .75rem;
}
textarea { resize: vertical; min-height: 9rem; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--signal); outline-offset: 0; border-color: var(--ink); }
[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field-error { color: var(--error); font-weight: 600; margin: .35rem 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.button {
  font: inherit; font-family: var(--head); font-weight: 700; font-size: 1.15rem;
  color: var(--ink); background: var(--signal); border: 0; border-radius: var(--radius);
  padding: .75rem 1.5rem; cursor: pointer;
}
.button:hover { background: #ffbf1f; }
.form-note { color: var(--steel); font-size: .95rem; margin-top: 1rem; }
.notice { border-left: 6px solid; padding: 1rem 1.25rem; margin-bottom: 1.5rem; background: var(--paper); }
.notice p { margin: 0; }
.notice--ok { border-color: var(--ok); }
.notice--error { border-color: var(--error); }

/* Footer */
.site-footer { background: var(--ink); color: #dfe4e7; padding-top: 3rem; }
.site-footer a { color: var(--white); }
.site-footer h2 { font-size: 1.2rem; font-weight: 600; color: var(--white); margin-bottom: .6rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; border-top: 1px solid #3a4852; margin-top: 2rem; padding-top: 1.25rem; padding-bottom: 1.5rem; font-size: .95rem; color: #b7c1c7; }
.footer-bottom p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print { .site-header .nav, .header-call, .storing::before { display: none; } }
