/*
Theme Name: Wilpen Media Groep
Theme URI: https://wilpen.nl/
Author: Wilpen Media Groep
Description: One-page WordPress theme voor Wilpen Media Groep.
Version: 1.0.19
Text Domain: wilpen
*/

:root {
  --bg: #f7f6f1;
  --surface: #ffffff;
  --ink: #1d241f;
  --muted: #626b65;
  --green: #0f6b4f;
  --green-deep: #084c39;
  --orange: #f05a24;
  --yellow: #f0b429;
  --line: #d8ddd8;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(29, 36, 31, 0.10);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
img { max-width: 100%; height: auto; }

.site-shell { overflow: hidden; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 246, 241, .94);
  border-bottom: 1px solid rgba(29, 36, 31, .08);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.03em; }
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: white;
  font-weight: 950;
  transform: rotate(-5deg);
}
.brand-name { font-size: 1.1rem; }
.site-nav { display: flex; align-items: center; gap: 26px; font-weight: 750; font-size: .95rem; }
.site-nav a:hover { color: var(--green); }
.header-cta { padding: 12px 18px; border-radius: 999px; background: var(--orange); color: #fff; }
.header-cta:hover { background: #d94b18; color: #fff !important; }
.menu-toggle { display: none; border: 0; background: transparent; font: inherit; font-weight: 800; cursor: pointer; }

.hero { padding: 92px 0 70px; }
.hero-grid {
  position: relative;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  padding-right: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.hero-heading { position: relative; z-index: 3; width: min(100%, var(--max)); }
.eyebrow { margin: 0 0 18px; color: var(--green); font-size: .8rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.045em; margin-top: 0; }
h1 { max-width: 1180px; margin-bottom: 0; font-size: clamp(3.2rem, 6vw, 6.2rem); }
.hero-title-line { display: block; white-space: nowrap; }
h2 { font-size: clamp(2.2rem, 4.5vw, 4.3rem); margin-bottom: 20px; }
h3 { font-size: 1.45rem; }
.hero-visual { position: relative; z-index: 1; display: flex; align-items: center; justify-content: flex-end; min-width: 0; width: 100%; margin-top: -54px; overflow: visible; }
.hero-motion-wrap { position: relative; right: max(0px, calc((100vw - var(--max)) / 2 - 20px)); width: min(100%, 1150px); max-width: 1150px; margin-left: auto; margin-right: 0; transform: none; }
.hero-motion-image { display: block; width: 100%; height: auto; }
.hero-motion-image-static { display: none; }
.hero-support { position: relative; z-index: 2; width: min(100%, 760px); margin-top: 26px; }
.hero-copy { max-width: 760px; margin: 0 0 32px; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 850; border: 2px solid transparent; }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: var(--green-deep); }
.button-secondary { border-color: var(--ink); background: transparent; }
.button-secondary:hover { background: var(--ink); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .hero-motion-image-animated { display: none; }
  .hero-motion-image-static { display: block; }
}

.trust-strip { padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; text-align: center; font-weight: 850; }
.trust-inner span { padding: 8px; }

.section { padding: 105px 0; }
.section-intro { max-width: 760px; margin-bottom: 44px; }
.section-intro p { margin: 0; font-size: 1.13rem; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.service-card { grid-column: span 2; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); min-height: 255px; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 3; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-number { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 28px; border-radius: 12px; background: var(--green); color: #fff; font-weight: 900; }
.service-card:nth-child(2) .service-number, .service-card:nth-child(5) .service-number { background: var(--orange); }
.service-card:nth-child(3) .service-number { background: #8e3d8f; }
.service-card:nth-child(4) .service-number { background: #b58100; }
.service-card p { color: var(--muted); margin-bottom: 0; }

.process { background: var(--green); color: white; }
.process .section-intro p { color: rgba(255,255,255,.78); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.22); border-radius: 24px; overflow: hidden; }
.process-step { padding: 34px; background: var(--green); min-height: 250px; }
.process-step span { display: block; margin-bottom: 55px; color: var(--yellow); font-size: .82rem; font-weight: 950; letter-spacing: .12em; }
.process-step p { color: rgba(255,255,255,.76); margin-bottom: 0; }

.concepts-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; align-items: center; }
.concept-board { position: relative; min-height: 430px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.shape { position: absolute; }
.shape-a { width: 220px; height: 220px; border-radius: 50%; background: var(--orange); top: 58px; left: 54px; }
.shape-b { width: 230px; height: 150px; border-radius: 28px; background: var(--green); right: 42px; bottom: 45px; transform: rotate(-8deg); }
.shape-c { width: 150px; height: 150px; background: var(--yellow); right: 45px; top: 38px; transform: rotate(16deg); }
.shape-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; padding: 14px 20px; background: white; border: 1px solid var(--line); border-radius: 999px; font-weight: 950; box-shadow: 0 10px 24px rgba(29,36,31,.12); }
.concept-copy p { color: var(--muted); font-size: 1.1rem; }
.checks { display: grid; gap: 13px; margin-top: 28px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 750; }
.check::before { content: "✓"; flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: .85rem; }

.seo-strip { padding: 52px 0; background: var(--yellow); }
.seo-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; }
.seo-inner h2 { margin-bottom: 10px; font-size: clamp(2rem, 4vw, 3.5rem); }
.seo-inner p { margin: 0; max-width: 720px; }
.seo-badge { justify-self: end; display: inline-flex; align-items: center; gap: 10px; padding: 17px 20px; background: var(--ink); color: #fff; border-radius: 999px; font-weight: 900; }

.contact { padding: 110px 0; }
.contact-card { position: relative; padding: clamp(34px, 6vw, 70px); background: var(--surface); border: 1px solid var(--line); border-radius: 30px; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; width: 230px; height: 230px; background: var(--orange); border-radius: 50%; right: -90px; bottom: -100px; }
.contact-card > * { position: relative; z-index: 1; }
.contact-card p { max-width: 720px; color: var(--muted); font-size: 1.1rem; }
.contact-form { max-width: 820px; margin-top: 38px; display: grid; gap: 20px; }
.contact-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-field { display: grid; gap: 8px; }
.form-field label { font-weight: 850; }
.form-field input,
.form-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); font: inherit; padding: 14px 16px; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.form-field textarea { min-height: 170px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus { outline: 0; border-color: var(--green); background: var(--surface); box-shadow: 0 0 0 4px rgba(15, 107, 79, .12); }
.contact-submit { justify-self: start; cursor: pointer; }
.contact-status { max-width: 820px; margin-top: 28px; padding: 16px 18px; border-radius: 14px; font-weight: 800; }
.contact-status-success { background: #e6f4ee; border: 1px solid #98c9b6; color: #084c39; }
.contact-status-error { background: #fff0ea; border: 1px solid #efb29a; color: #8f2f0e; }
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }


.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font: inherit;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(29, 36, 31, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background-color .2s ease;
}
.to-top:hover { background: #d94b18; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

.site-footer { padding: 28px 0 42px; }
.footer-inner { display: flex; justify-content: space-between; gap: 22px; align-items: center; padding-top: 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--green); }

@media (max-width: 900px) {
  .hero-grid, .concepts-grid, .seo-inner { grid-template-columns: 1fr; }
  .hero-grid { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; padding-left: 0; padding-right: 0; }
  .hero-heading { width: 100%; }
  .hero-visual { width: 100%; margin-top: 18px; }
  .hero-motion-wrap { right: 0; width: 100%; max-width: 720px; margin-left: auto; margin-right: auto; transform: none; }
  .hero-support { width: 100%; margin-top: 24px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .seo-badge { justify-self: start; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .site-nav { display: none; position: absolute; left: 14px; right: 14px; top: 70px; padding: 18px; flex-direction: column; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .menu-toggle { display: inline-block; }
  .hero { padding-top: 62px; }
  h1 { font-size: clamp(1.75rem, 7.5vw, 3.2rem); }
  .hero-title-line { white-space: nowrap; }
  .hero-visual { margin-top: 20px; }
  .trust-inner { grid-template-columns: 1fr; }
  .section { padding: 78px 0; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { min-height: 0; }
  .process-step span { margin-bottom: 24px; }
  .concept-board { min-height: 340px; }
  .shape-a { width: 160px; height: 160px; left: 28px; }
  .shape-b { width: 175px; height: 110px; right: 20px; }
  .shape-c { width: 110px; height: 110px; right: 28px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; }
}
