@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");

:root {
  --ink: #161616;
  --muted: #4a4a4a;
  --line: #e4e4e4;
  --paper: #ffffff;
  --soft: #f5f5f5;
}

html { scroll-behavior: smooth; }

body {
  margin: 0 !important;
  background: var(--paper) !important;
  color: #222 !important;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}

h1, h2, h3, h4, .widget-title, #intro-text {
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  color: var(--ink) !important;
  font-weight: 600 !important;
  letter-spacing: -0.03em;
  line-height: 1.15 !important;
}

p, li { font-size: 16px !important; line-height: 1.65 !important; color: #333; }

a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: #000; }

#comments,
.separator,
.separator.line,
#slide-nav,
.entry-content > br { display: none !important; }

#outer-container {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

#container {
  width: auto !important;
  max-width: 1120px;
  margin: 0 auto !important;
  padding: 0 32px 72px !important;
  background: transparent !important;
  background-image: none !important;
}

#top {
  height: auto !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 0 28px !important;
  padding: 22px 0 18px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
}

#top-left,
#top-right,
#top-navigation {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
}

#top-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

#logo { margin: 0 !important; }

#logo img {
  width: auto !important;
  height: auto !important;
  max-height: 44px !important;
  max-width: 280px !important;
  margin: 0 !important;
  border: 0 !important;
  float: none !important;
}

#topnav {
  float: none !important;
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0 !important;
  padding: 0 !important;
}

#topnav li { float: none !important; height: auto !important; margin: 0 !important; background: none !important; }
#topnav li.back { display: none !important; }

#topnav a {
  position: relative;
  padding: 0 !important;
  background: none !important;
  border-radius: 0 !important;
  color: #1a1a1a !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

#topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: #111;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

#topnav a:hover::after { transform: scaleX(1); }

#menu-item-657 > a {
  display: inline-block;
  padding: 11px 16px !important;
  background: #111 !important;
  color: #fff !important;
  border-radius: 4px !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

#menu-item-657 > a::after { display: none; }
#menu-item-657 > a:hover {
  background: #000 !important;
  transform: translateY(-1px);
}

#header {
  width: 100% !important;
  height: auto !important;
  margin: 28px 0 0 !important;
  padding: 0 !important;
  background: #111 !important;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

#slider {
  height: auto !important;
  position: relative !important;
}

#slider li {
  position: absolute !important;
  width: 100% !important;
  height: auto !important;
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

#slider li:first-child {
  position: relative !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#header img,
img.attachment-slider-home {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: contain;
  margin: 0 !important;
  border: 0 !important;
  float: none !important;
  border-radius: 0 !important;
}

.slide-desc { display: none !important; }

.slide-desc::before {
  content: "Markiezen op maat";
  display: block;
  margin-bottom: 6px;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#slider h1,
#slider h2,
#slider h3,
#slider .slide-desc h2,
#header .slide-desc h2,
.slide-desc h2 {
  margin: 0 0 6px !important;
  color: #fff !important;
  font-family: Inter, Helvetica, Arial, sans-serif !important;
  font-size: 26px !important;
  font-weight: 600 !important;
  font-style: normal !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
  text-shadow: none !important;
}

#slider .slide-desc span,
.slide-desc span {
  display: block;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

#content,
#content.full {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  background: transparent;
}

#intro-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 36px 0 28px !important;
  padding: 0 0 28px !important;
  background: none !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
}

#intro-content p {
  order: 1;
  margin: 0 !important;
}

#intro-content #download-button { order: 2; }

#intro-text {
  display: block;
  max-width: 640px;
  color: var(--ink) !important;
  font-size: 34px !important;
  line-height: 1.15 !important;
}

#intro-text-small {
  display: block;
  max-width: 520px;
  margin-top: 8px;
  color: var(--muted) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.5 !important;
}

#download-button { float: none !important; margin: 0 !important; }
#download-button img { display: none !important; }

#download-button a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  background: #111;
  color: #fff !important;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

#download-button a::after { content: "Offerte aanvragen"; }
#download-button a:hover {
  background: #000;
  transform: translateY(-1px);
}

.two_third,
.one_third {
  box-sizing: border-box;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.two_third {
  width: 62% !important;
  float: left !important;
  margin: 8px 4% 36px 0 !important;
}

.one_third {
  width: 30% !important;
  float: left !important;
  margin: 8px 5% 32px 0 !important;
}

.one_third.last { margin-right: 0 !important; }

.two_third + br + .one_third {
  width: 34% !important;
  float: right !important;
  margin: 8px 0 36px !important;
  padding: 16px !important;
  background: var(--soft) !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
}

.two_third h1 { font-size: 32px !important; margin: 0 0 14px !important; }

.two_third h2,
.one_third h2 {
  font-size: 22px !important;
  margin: 26px 0 8px !important;
}

.content-highlight {
  clear: both;
  margin: 8px 0 36px !important;
  padding: 4px 0 4px 16px !important;
  background: none !important;
  border: 0 !important;
  border-left: 2px solid #111 !important;
  border-radius: 0 !important;
  color: var(--ink) !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
}

.bullet-check,
.bullet-check ul { margin: 8px 0 0 !important; padding: 0 !important; }

.bullet-check li {
  list-style: none !important;
  background: none !important;
  position: relative;
  margin: 0 !important;
  padding: 10px 0 10px 28px !important;
  border-bottom: 1px solid var(--line);
  color: #222 !important;
}

.bullet-check li::before {
  content: "" !important;
  position: absolute;
  left: 0;
  top: 13px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #111 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.2 6.4 11l6.1-6.2' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.entry-content iframe,
.one_third iframe {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 640px !important;
  margin: 0 !important;
  border: 0 !important;
  background: #fff;
  box-shadow: none !important;
}

.entry-content img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  border: 0 !important;
  border-radius: 12px !important;
}

ul.latest-projects {
  display: grid;
  gap: 16px;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

ul.latest-projects li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  overflow: hidden;
  border-radius: 12px;
}

.latest-projects img,
.imgborder {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain;
  margin: 0 0 8px !important;
  border: 0 !important;
  border-radius: 12px !important;
  float: none !important;
  transition: transform 0.45s ease;
}

ul.latest-projects li:hover img {
  transform: scale(1.03);
}

.entry-content a {
  transition: color 0.2s ease;
}

#footer a {
  transition: opacity 0.2s ease;
}

#footer a:hover { opacity: 0.7; }

#intro-content,
.two_third,
.two_third + br + .one_third {
  animation: mkz-in 0.55s ease both;
}

.two_third { animation-delay: 0.05s; }
.two_third + br + .one_third { animation-delay: 0.12s; }

@keyframes mkz-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.p-desc a {
  color: var(--ink) !important;
  font-weight: 600;
  text-decoration: none;
}

.one_third {
  padding-top: 18px !important;
  border-top: 1px solid var(--line) !important;
}

.two_third + br + .one_third {
  padding-top: 16px !important;
  border-top: 1px solid var(--line) !important;
}

#footer {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 28px;
  width: 100vw;
  margin: 56px calc(50% - 50vw) 0 !important;
  padding: 48px max(32px, calc(50vw - 560px)) 24px !important;
  background: #141414 !important;
  color: #d5d5d5 !important;
  box-sizing: border-box;
}

#footer > div {
  flex: 1 1 200px;
  width: auto !important;
  float: none !important;
}

#footer .widget-title,
#footer h2,
#footer h3 {
  margin: 0 0 12px !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

#footer ul { margin: 0 !important; padding: 0 !important; }

#footer ul li {
  border: 0 !important;
  margin: 0 0 6px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: #cfcfcf !important;
}

#footer a,
#footer a:visited { color: #fff !important; text-decoration: none; }

#footer img {
  width: auto !important;
  height: auto !important;
  max-width: 150px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

#footer-copyright {
  width: 100vw;
  height: auto !important;
  margin: 0 calc(50% - 50vw) !important;
  padding: 14px max(32px, calc(50vw - 560px)) 22px !important;
  background: #141414 !important;
  border-top: 1px solid #2c2c2c;
  color: #9a9a9a !important;
  box-sizing: border-box;
}

.clear {
  height: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
  overflow: hidden;
}

@media only screen and (max-width: 900px) {
  #container { padding: 0 18px 40px !important; }
  #top { flex-direction: column; align-items: flex-start; gap: 14px; }
  #top-right, #top-navigation, #topnav { width: 100% !important; justify-content: flex-start; }
  #topnav { flex-wrap: wrap; gap: 12px 16px; }

  #header { width: 100% !important; }

  #intro-content { flex-direction: column; align-items: flex-start; gap: 16px; }
  #intro-content #download-button { order: 2; }
  #intro-text { font-size: 28px !important; }

  .two_third,
  .one_third,
  .one_third.last,
  .two_third + br + .one_third {
    float: none !important;
    width: 100% !important;
    margin: 0 0 24px !important;
  }

  .entry-content iframe,
  .one_third iframe { height: 680px !important; }

  #footer,
  #footer-copyright { padding-left: 18px !important; padding-right: 18px !important; }
}

@media (prefers-reduced-motion: reduce) {
  #intro-content,
  .two_third,
  .two_third + br + .one_third { animation: none; }

  .latest-projects img,
  #download-button a,
  #menu-item-657 > a,
  #topnav a::after { transition: none; }
}
