/* =========================================================================
   Schoonmaakbedrijf Ryan de Wit — stylesheet
   ========================================================================= */

:root {
  --blue-700: #0A4FB4;
  --blue-600: #0B5FD9;
  --blue-500: #2f7ef0;
  --blue-100: #d7e6fd;
  --blue-50:  #eef4fe;

  --ink:   #0f1b2d;
  --slate: #46586f;
  --line:  #e3e9f2;
  --bg:    #ffffff;
  --bg-soft: #f4f8fd;
  --white: #ffffff;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06), 0 2px 8px rgba(15, 27, 45, .05);
  --shadow-md: 0 8px 30px rgba(11, 95, 217, .12);
  --maxw: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Poppins", var(--font);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }

a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.center .hero__actions { justify-content: center; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  border: 2px solid transparent; cursor: pointer; transition: .18s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.btn--primary:hover { background: var(--blue-700); border-color: var(--blue-700); }
.btn--outline { background: transparent; color: var(--blue-700); border-color: var(--blue-100); }
.btn--outline:hover { border-color: var(--blue-600); background: var(--blue-50); }
.btn--white { background: #fff; color: var(--blue-700); border-color: #fff; }
.btn--white:hover { background: var(--blue-50); }
.btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost-white:hover { border-color: #fff; background: rgba(255,255,255,.12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { flex: 0 0 auto; display: flex; align-items: center; gap: 11px; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 46px; height: 46px; flex: 0 0 auto; }
.brand__wordmark { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-head); }
.brand__l1 { font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--blue-600); }
.brand__l1 b { color: var(--ink); font-weight: 700; }
.brand__l2 { font-size: 1.08rem; font-weight: 700; letter-spacing: .17em; color: var(--blue-600); margin-top: 2px; }
.brand--light .brand__l1 { color: #fff; }
.brand--light .brand__l1 b { color: #fff; }
.brand--light .brand__l2 { color: #fff; }

.main-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: .55rem .8rem; border-radius: 8px;
  color: var(--ink); font-weight: 500; font-size: .97rem;
}
.nav-list a:hover { background: var(--blue-50); text-decoration: none; }
.nav-list a.is-active { color: var(--blue-700); }

.has-sub { position: relative; }
.has-sub > a { padding-right: 1.4rem; }
.sub-toggle {
  position: absolute; right: .1rem; top: 50%; transform: translateY(-50%);
  width: 1.2rem; height: 1.6rem; border: 0; background: transparent; cursor: pointer;
}
.sub-toggle::before {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 7px; height: 7px; border-right: 2px solid var(--slate);
  border-bottom: 2px solid var(--slate); transform: rotate(45deg) translate(-2px,-2px);
}
.submenu {
  list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%;
  background: #fff; border: 1px solid var(--line); border-top: 10px solid transparent;
  background-clip: padding-box; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md); min-width: 260px; display: none;
}
/* onzichtbare "brug" over het gat, zodat het menu niet wegvalt
   als je de muis omlaag beweegt naar een sublink */
.has-sub::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; display: none;
}
.has-sub:hover::after, .has-sub:focus-within::after { display: block; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .submenu.is-open { display: block; }
.submenu a { padding: .55rem .7rem; font-size: .95rem; }

.site-header__cta { flex: 0 0 auto; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--blue-50), #fff); border-bottom: 1px solid var(--line); }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 72px 0; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700;
  color: var(--blue-600); margin: 0 0 .8rem;
}
.eyebrow a { color: inherit; }
.lead { font-size: 1.16rem; color: var(--slate); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 1.4rem; }

.usp-row { list-style: none; margin: 1.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.usp-row li { position: relative; padding-left: 1.6rem; font-size: .95rem; font-weight: 500; color: var(--ink); }
.usp-row li::before {
  content: ""; position: absolute; left: 0; top: .15rem; width: 1.1rem; height: 1.1rem;
  background: var(--blue-600); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hero__panel { display: flex; justify-content: center; }
.hero__badge {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow-md); padding: 32px; text-align: center; max-width: 300px;
}
.hero__badge img { margin: 0 auto 14px; }
.hero__badge p { margin: 0; color: var(--slate); }
.hero__badge strong { color: var(--ink); font-size: 1.1rem; }

/* ---------- Page hero ---------- */
.page-hero { background: linear-gradient(180deg, var(--blue-50), #fff); border-bottom: 1px solid var(--line); padding: 56px 0; }
.page-hero .lead { max-width: 760px; }

/* ---------- Sections ---------- */
.section { padding: 68px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 720px; margin: 0 0 40px; }
.section__head p { font-size: 1.08rem; }

/* ---------- Card grid ---------- */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: .18s ease; color: var(--slate);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-100); text-decoration: none; }
.card h3 { margin-bottom: .4rem; }
.card__link { color: var(--blue-600); font-weight: 600; font-family: var(--font-head); font-size: .95rem; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1.3fr .9fr; gap: 44px; align-items: start; }
.split__aside {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.section--soft .split__aside { background: #fff; }

.check-list { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .8rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .1rem; width: 1.35rem; height: 1.35rem;
  background: var(--blue-50); border-radius: 50%;
}
.check-list li::after {
  content: ""; position: absolute; left: .38rem; top: .44rem; width: .58rem; height: .32rem;
  border-left: 2px solid var(--blue-600); border-bottom: 2px solid var(--blue-600); transform: rotate(-45deg);
}

.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.mini-list li:last-child { border-bottom: 0; }

.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li {
  background: var(--blue-50); color: var(--blue-700); border: 1px solid var(--blue-100);
  padding: .4rem .8rem; border-radius: 999px; font-size: .9rem; font-weight: 500;
}

/* ---------- Feature blocks ---------- */
.feature { border-top: 1px solid var(--line); padding: 28px 0; }
.feature:first-child { border-top: 0; padding-top: 0; }
.feature__body h2 { font-size: 1.4rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps--lg { grid-template-columns: repeat(2, 1fr); gap: 28px; }
.steps li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.steps__no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--blue-600); color: #fff;
  font-family: var(--font-head); font-weight: 700; margin-bottom: .8rem;
}
.steps h3 { font-size: 1.05rem; }
.steps p { margin: 0; font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue-600); color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 44px 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .3rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,.9); }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 20px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-family: var(--font-head); font-weight: 600; color: var(--ink);
  padding: 16px 28px 16px 0; position: relative; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--blue-600); line-height: 1;
}
.faq[open] summary::after { content: "\2013"; }
.faq p { padding-bottom: 16px; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 44px; align-items: start; }
.contact-info {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.contact-info h2 { font-size: 1.25rem; }
.contact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.contact-list li { display: flex; flex-direction: column; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); font-weight: 700; }
.contact-meta { font-size: .88rem; color: var(--slate); }
.link-arrow { font-weight: 600; font-family: var(--font-head); }

/* ---------- Form ---------- */
.form { background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label, .check span { font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-500); outline: none; box-shadow: 0 0 0 3px var(--blue-100); }
.field textarea { resize: vertical; min-height: 130px; }
.check { display: flex; gap: .6rem; align-items: flex-start; margin: .3rem 0 1.2rem; font-size: .92rem; }
.check input { margin-top: .25rem; }
.check span { font-weight: 400; color: var(--slate); }
.form-note { font-size: .82rem; color: var(--slate); margin-top: .6rem; }
.form-error {
  background: #fdecec; border: 1px solid #f5c2c2; color: #a12020;
  padding: .9rem 1rem; border-radius: 10px; margin-bottom: 1.2rem; font-size: .95rem;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Legal ---------- */
.legal h2 { font-size: 1.2rem; margin-top: 1.8rem; }
.legal__note { margin-top: 2rem; font-size: .88rem; color: var(--slate); font-style: italic; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9c6d8; margin-top: 0; }
.site-footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; padding: 56px 24px 40px;
}
.site-footer__brand img { width: 230px; margin-bottom: 14px; }
.site-footer__brand p { font-size: .92rem; max-width: 34ch; }
.site-footer h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: #b9c6d8; font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; font-size: .93rem; line-height: 1.8; }
.site-footer__meta { font-size: .85rem; margin-top: .8rem; }
.site-footer__bar { border-top: 1px solid rgba(255,255,255,.12); }
.site-footer__bar-inner { display: flex; justify-content: space-between; gap: 16px; padding: 18px 24px; flex-wrap: wrap; }
.site-footer__bar p { margin: 0; font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; padding: 56px 0; }
  .hero__panel { display: none; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps, .steps--lg { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 860px) {
  .site-header__cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav { position: fixed; inset: 76px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); }
  .nav-list {
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 20px;
    max-height: calc(100vh - 76px); overflow-y: auto;
    display: none;
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: .85rem .6rem; border-radius: 8px; font-size: 1rem; }
  .has-sub > a { padding-right: .6rem; }
  .sub-toggle { right: .3rem; width: 2.4rem; height: 2.8rem; }
  .has-sub::after { display: none !important; }
  .submenu {
    position: static; display: none; box-shadow: none; border: 0; min-width: 0;
    padding: 0 0 6px 14px; margin: 0;
  }
  .submenu.is-open { display: block; }
  .card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps, .steps--lg { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__l1 { font-size: .76rem; }
  .brand__l2 { font-size: .98rem; letter-spacing: .14em; }
  .cta-band__inner { padding: 32px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
