/* Rovers Timmerwerken – huisstijl (gebaseerd op de oorspronkelijke site), responsive */
:root {
  --blauw: #03b8e7;
  --blauw-donker: #0290b5;
  --zwart: #000;
  --tekst: #404040;
  --grijs: #f2f2f2;
  --rand: #dcdcdc;
  --oranje: #fe7700;
  --max: 1100px;
  --pagina: 1209px; /* breedte van de kopfoto's: daarboven niet oprekken */
  font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--tekst);
  line-height: 1.65;
}
* { box-sizing: border-box; }
html { background: #cdcdcd; }
/* Vaste maximale breedte, gecentreerd, zoals de oorspronkelijke site */
body { margin: 0 auto; max-width: var(--pagina); background: #fff; box-shadow: 0 0 24px rgba(0,0,0,.18); min-height: 100vh; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blauw-donker); }
a:hover { color: var(--blauw); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px; z-index: 10; }

/* Kop: wit logovlak links, blauwe balk rechts met KOMO */
.kop { position: relative; }
.kop-balk { display: flex; align-items: stretch; background: var(--blauw); height: 128px; position: relative; z-index: 6; }
.logo { background: #fff; display: flex; align-items: flex-start; padding: 16px 40px 0 30px; }
/* Logo 124px hoog + 16px ruimte erboven, witte vlak 128px: de steel van de hamer valt 12px over de zwarte menubalk */
.logo img { width: 298px; max-width: none; height: auto; margin-bottom: -12px; position: relative; z-index: 7; }
.kop-rechts { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 28px; padding: 0 30px 0 20px; }
.kop-tel { color: #fff; font-weight: 700; font-size: 1.25rem; text-decoration: none; letter-spacing: .02em; white-space: nowrap; }
.kop-tel:hover { color: #fff; text-decoration: underline; }
.komo { width: 56px; }

/* Menu: zwarte balk */
.menu { background: var(--zwart); position: sticky; top: 0; z-index: 5; }
.menu ul { list-style: none; margin: 0; padding: 0 16px; display: flex; justify-content: flex-end; }
.menu a { display: block; color: #fff; text-decoration: none; padding: 12px 14px; font-size: 1rem; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--blauw); }
.menu-knop { display: none; }

/* Hero en titelbalk */
.hero { position: relative; width: 100%; aspect-ratio: 1209 / 440; min-height: 150px; overflow: hidden; background: #ccc; }
.hero .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .slide + .slide { animation: wissel 12s ease-in-out infinite; opacity: 0; }
@keyframes wissel { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero .slide + .slide { animation: none; } }
.titelbalk { background: var(--grijs); }
.titelbalk h1 { margin: 0; padding: 22px 0; color: var(--blauw); font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.1rem); letter-spacing: .02em; line-height: 1.2; }

/* Inhoud + zijbalk */
main.wrap { padding-top: 32px; padding-bottom: 48px; }
.met-zijbalk { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.inhoud p { margin: 0 0 1.2em; text-align: justify; hyphens: auto; }
.inhoud .intro { font-weight: 700; }
.inhoud h2 { color: var(--blauw); font-size: 1.25rem; margin: 1.6em 0 .4em; }
.knop { display: inline-block; background: var(--blauw); color: #fff; text-decoration: none; border: 0; border-radius: 4px; padding: 11px 22px; font: inherit; font-size: 1.15rem; cursor: pointer; margin-top: 12px; }
.knop:hover { background: var(--blauw-donker); color: #fff; }

.zijbalk { font-size: .97rem; }
.belblok { background: var(--zwart) url("/img/call-action-hamer.png") right 6px center no-repeat; color: #fff; border-radius: 4px; padding: 18px 74px 18px 20px; margin-bottom: 24px; }
.belblok p { margin: 0 0 6px; }
.belblok a { color: var(--blauw); }
.belnummer { display: block; white-space: nowrap; font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.7rem); color: var(--blauw) !important; text-decoration: none; }
.zijkop { font-size: 1rem; font-style: italic; font-weight: 700; color: #000; margin: 0 0 10px; }
.vinkjes { list-style: none; margin: 0 0 20px; padding: 0; }
.vinkjes li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.vinkjes li::before { content: "✔"; position: absolute; left: 2px; top: 0; color: var(--blauw); font-size: .85em; }
.unilux { display: block; width: 190px; margin: 8px auto 0; }

/* Referenties */
.lead { font-size: 1.08rem; max-width: 760px; margin: 0 0 28px !important; text-align: left !important; }
.projecten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.project { margin: 0; }
.project.uitgelicht { grid-column: 1 / -1; }
.project-foto { display: block; width: 100%; padding: 0; border: 0; background: #ddd; cursor: zoom-in; overflow: hidden; border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.project-foto img { width: 100%; height: auto; transition: transform .4s ease; }
.project-foto:hover img, .project-foto:focus-visible img { transform: scale(1.03); }
.project-foto:focus-visible { outline: 3px solid var(--blauw); outline-offset: 3px; }
.project figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 2px 0; border-bottom: 1px solid var(--rand); padding-bottom: 10px; }
.project-titel { font-weight: 700; color: #000; }
.project.uitgelicht .project-titel { font-size: 1.15rem; }
.project-label { flex: none; font-size: .82rem; color: var(--blauw-donker); background: #e6f7fc; border-radius: 99px; padding: 2px 10px; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--blauw); color: #fff; border-radius: 4px; padding: 26px 28px; margin-top: 44px; }
.cta-band h2 { color: #fff; margin: 0 0 4px; font-size: 1.35rem; }
.cta-band p { margin: 0; text-align: left !important; }
.knop-wit { background: #fff; color: var(--blauw-donker); margin: 0; }
.knop-wit:hover { background: #000; color: #fff; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); overflow: visible; }
.lightbox::backdrop { background: rgba(0,0,0,.85); }
.lightbox img { width: 100%; height: auto; border-radius: 4px; }
.lightbox-titel { color: #fff; text-align: center; margin: 10px 0 0; width: 100%; }
.lightbox button { position: absolute; background: rgba(0,0,0,.55); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: var(--blauw); }
.lb-vorige { left: 8px; top: calc(50% - 40px); }
.lb-volgende { right: 8px; top: calc(50% - 40px); }
.lb-sluit { right: 8px; top: 8px; }
@media (prefers-reduced-motion: reduce) { .project-foto img { transition: none; } }

/* Contact */
form.contact { background: var(--grijs); border-radius: 4px; padding: 24px; }
.veld { margin-bottom: 16px; }
.veld label { display: block; font-weight: 700; margin-bottom: 4px; color: #000; }
.req { color: var(--blauw-donker); }
.veld input, .veld textarea, .veld select { width: 100%; padding: 10px 12px; border: 1px solid #bdbdbd; border-radius: 3px; font: inherit; background: #fff; }
.veld input:focus, .veld textarea:focus, .veld select:focus { outline: 2px solid var(--blauw); outline-offset: 0; border-color: var(--blauw); }
.veld textarea { min-height: 150px; resize: vertical; }
.rij { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.klein { font-size: .88rem; color: #666; text-align: left !important; }
.notice { padding: 12px 14px; border-radius: 3px; margin-bottom: 16px; }
.notice.ok { background: #e3f6fc; border: 1px solid var(--blauw); color: #035e78; }
.notice.err { background: #fdecea; border: 1px solid #e0a19b; color: #8a1f14; }
.bedankt { background: var(--grijs); border-top: 5px solid var(--blauw); border-radius: 4px; padding: 44px 24px; text-align: center; }
.bedankt:focus { outline: none; }
.bedankt .vink { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; background: var(--blauw); color: #fff; display: grid; place-items: center; font-size: 1.9rem; font-weight: 800; }
.bedankt h2 { color: var(--blauw); margin: 0 0 8px; }
.bedankt p { text-align: center !important; }

/* Voet */
.voet { background: #111; color: #c8c8c8; font-size: .93rem; line-height: 1.6; }
.voet-kolommen { display: grid; grid-template-columns: 1.4fr 1fr .7fr 1fr; gap: 32px; padding: 40px 30px 32px; border-top: 4px solid var(--blauw); }
.voet h2 { color: var(--blauw); font-size: .95rem; text-transform: none; letter-spacing: .02em; margin: 0 0 12px; }
.voet p { margin: 0 0 12px; }
.voet a { color: #fff; text-decoration: none; }
.voet a:hover { color: var(--blauw); }
.voet-naam { color: #fff; font-weight: 700; font-size: 1.05rem; }
.voet address { font-style: normal; margin-bottom: 10px; }
.voet-lijst { list-style: none; margin: 0; padding: 0; }
.voet-lijst li { margin-bottom: 6px; }
.voet-lijst span { display: inline-block; width: 38px; color: #8a8a8a; }
.voet-keurmerken { display: flex; gap: 14px; align-items: center; margin-top: 6px; }
.voet-keurmerken img { height: 48px; width: auto; background: none; }
.voet-keurmerken img[alt^="Unilux"] { height: 58px; }
.voet .knop { font-size: 1rem; padding: 9px 18px; margin-top: 2px; }
.voet .knop:hover { color: #fff; }
.voet-onder { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 30px; background: #000; font-size: .8rem; color: #8a8a8a; }
.voet-onder a { color: #8a8a8a; }

/* Tablet */
@media (max-width: 900px) {
  .voet-kolommen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .met-zijbalk { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .zijbalk { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 0 28px; }
  .zijbalk .belblok, .zijbalk .zijkop { grid-column: 1 / -1; }
  .unilux { grid-row: span 1; margin: 0; }
}

/* Mobiel */
@media (max-width: 640px) {
  .kop-balk { height: 80px; }
  .logo { padding: 8px 14px 0; }
  .logo img { width: 192px; margin-bottom: -8px; }
  .kop-rechts { gap: 12px; padding: 0 14px; }
  .kop-tel { font-size: .95rem; }
  main.wrap { padding-top: 22px; }
  .komo { width: 40px; }
  .menu ul { display: none; flex-direction: column; padding: 0 0 8px; }
  .menu ul.open { display: flex; }
  .menu a { padding: 10px 20px; border-top: 1px solid #222; }
  .menu-knop { display: flex; align-items: center; gap: 8px; width: 100%; background: none; border: 0; color: #fff; font: inherit; padding: 12px 20px; cursor: pointer; justify-content: flex-end; }
  .inhoud p { text-align: left; }
  .rij { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .projecten { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .cta-band { padding: 20px; }
  form.contact { padding: 16px; }
  .zijbalk { display: block; }
  .unilux { margin: 8px auto 0; width: 160px; }
  .voet-kolommen { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 32px 20px 24px; }
  .voet-onder { padding: 12px 20px; }
}
@media (max-width: 420px) {
  .kop-tel { display: none; }
  .logo img { width: 172px; margin-bottom: -8px; }
  .kop-balk { height: 72px; }
}
