:root {
  --teal: #5DBEC2;
  --teal-dark: #319BA1;
  --black: #11110F;
  --soft: #F7FBFB;
  --soft-teal: #E8F7F8;
  --text: #11110F;
  --muted: #5f6368;
  --border: rgba(93, 190, 194, 0.24);
  --shadow-sm: 0 8px 24px rgba(17, 17, 15, 0.05);
  --shadow: 0 22px 55px rgba(17, 17, 15, 0.10);
  --radius-lg: 24px;
  --radius-xl: 32px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--soft);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 10px 0;
}
.logo-link { display: flex; align-items: center; flex: 0 0 auto; }
.logo { height: 96px; width: auto; max-width: 360px; object-fit: contain; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  color: #5c6165;
}
.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease;
  white-space: nowrap;
}
.nav a.active { background: #fff; color: var(--teal-dark); }
@media (hover: hover) {
  .nav a:hover { background: #fff; color: var(--teal-dark); }
}
.nav-short { display: none; }

.login-menu { position: relative; flex: 0 0 auto; }
.login-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  padding: 11px 19px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(17,17,15,.12);
}
.login-button:hover { background: var(--teal-dark); }
.login-dropdown {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 230px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 8px;
  transition: opacity .15s ease, visibility .15s ease;
}
.login-menu:hover .login-dropdown, .login-menu:focus-within .login-dropdown, .login-menu.open .login-dropdown { opacity: 1; visibility: visible; }
.login-dropdown a {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--black);
  font-weight: 700;
}
.login-dropdown a:hover { background: var(--soft); color: var(--teal-dark); }

.section { padding: 88px 0; }
.section-white { background: #fff; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--black); color: #fff; }

.hero { position: relative; overflow: hidden; padding: 76px 0 92px; }
.decor {
  position: absolute;
  width: 360px;
  height: 360px;
  background: rgba(93,190,194,.14);
  filter: blur(70px);
  border-radius: 999px;
  pointer-events: none;
}
.decor-right { right: -130px; top: 40px; }
.decor-left { left: -150px; bottom: -80px; opacity: .55; }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  border-radius: 999px;
  background: var(--soft-teal);
  color: var(--teal-dark);
  padding: 8px 14px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 700;
}
.eyebrow-light { background: rgba(93,190,194,.14); color: var(--teal); }

h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.09;
  letter-spacing: -.036em;
  margin-bottom: 22px;
  font-weight: 800;
}
h2 {
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.1;
  letter-spacing: -.032em;
  margin-bottom: 20px;
  font-weight: 800;
}
h3 {
  font-size: 19px;
  line-height: 1.28;
  margin-bottom: 10px;
  font-weight: 800;
  letter-spacing: -.014em;
}
.lead, .section-intro p, .about-copy p, .contact-info > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--black); color: #fff; box-shadow: 0 12px 30px rgba(17,17,15,.18); }
.button-primary:hover { background: var(--teal-dark); }
.button-secondary { background: #fff; border: 1px solid var(--border); }
.button-secondary:hover { background: var(--soft-teal); }

.image-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--soft);
}
.hero-image-card {
  position: relative;
  padding: 10px;
  background: linear-gradient(180deg, #fff, var(--soft));
}
.hero-image-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--radius-xl) - 10px);
  background: linear-gradient(180deg, rgba(17,17,15,0.02), rgba(17,17,15,0.12));
  pointer-events: none;
}
.hero-image-card img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 10px);
  filter: saturate(.92) contrast(.96);
}

.section-intro { max-width: 760px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px; }
.service-card, .practical-card, .software-card, .person-card, .news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}
.service-card { padding: 26px; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card p, .note-card p, .person-card p, .news-card p, .software-card p { color: var(--muted); font-size: 15px; line-height: 1.75; }

.icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--soft);
  border: 1px solid var(--border);
  color: var(--teal-dark);
  margin-bottom: 22px;
}
.icon svg, .contact-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon circle, .contact-icon circle { fill: none; }

.practical-card, .software-card { margin-top: 34px; padding: 24px; }
.practical-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.note-card { background: var(--soft); border: 1px solid var(--border); border-radius: 20px; padding: 18px; }
.note-card strong { display: block; margin-bottom: 6px; color: var(--black); }
.note-card p { margin-bottom: 0; }
.software-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.software-list span { border-radius: 999px; background: var(--soft); border: 1px solid var(--border); padding: 7px 11px; color: #555; font-size: 13px; font-weight: 800; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; }
.about-copy p { color: #d3d3d3; }
.office-image { margin-top: 30px; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.05); }
.office-image img { height: 270px; width: 100%; object-fit: cover; opacity: .92; }
.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.person-card { padding: 28px; color: var(--black); }
.person-card > img { width: 128px; height: 128px; border-radius: 999px; object-fit: cover; border: 5px solid var(--soft-teal); margin-bottom: 22px; }
.role { color: var(--teal-dark) !important; font-weight: 700; margin-bottom: 12px; }

/* Nieuwsmolen kaarten worden in index.html opgebouwd; deze regels sluiten aan op de rest van de site. */
.nieuwsmolen-cards { margin-top: 34px !important; gap: 18px !important; }
.nieuwsmolen-card { border-radius: 28px !important; background: var(--soft) !important; box-shadow: var(--shadow-sm) !important; border-color: var(--border) !important; }
.nieuwsmolen-card:hover { box-shadow: var(--shadow) !important; }
.nieuwsmolen-card-content { padding: 20px !important; }
.nieuwsmolen-card h3 { font-size: 17px !important; line-height: 1.35 !important; letter-spacing: -.012em !important; }

.contact-panel { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; border-radius: 34px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.contact-info, .contact-form-wrap { padding: 44px; }
.contact-lines { margin-top: 30px; display: grid; gap: 14px; color: #4b4f52; font-weight: 700; }
.contact-lines p { margin: 0; display: flex; gap: 12px; align-items: flex-start; }
.contact-icon { color: var(--teal-dark); flex: 0 0 auto; display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; }
.map-card { margin-top: 30px; overflow: hidden; border-radius: 22px; background: var(--soft); border: 1px solid var(--border); }
.map-card iframe { display: block; height: 300px; width: 100%; border: 0; }
.contact-form-wrap { background: var(--black); color: #fff; }
.contact-form-wrap > p { color: #cfcfcf; }
.contact-form { margin-top: 28px; display: grid; gap: 12px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: #fff;
  color: var(--black);
  padding: 14px 16px;
  font: inherit;
  outline: none;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(93,190,194,.18); }
.privacy-check { display: flex; gap: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 14px; color: #d7d7d7; font-size: 13px; line-height: 1.6; }
.privacy-check input { width: auto; margin-top: 3px; accent-color: var(--teal); }
.privacy-check a { color: var(--teal); font-weight: 700; }
.contact-form button { border: 0; border-radius: 999px; background: var(--teal); color: #fff; padding: 14px 20px; font-weight: 700; cursor: pointer; }
.contact-form button:hover { background: var(--teal-dark); }
.required-note { margin: 0; color: #aaa; font-size: 12px; }
.hidden { display: none; }

.footer { background: #fff; border-top: 1px solid var(--border); padding: 36px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; color: #6a6d70; font-size: 14px; }
.footer-brand { color: var(--black); font-weight: 800; margin-bottom: 6px; }
.company-details { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: 12px; font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 22px; justify-content: flex-end; align-content: flex-start; font-weight: 700; }
.footer-links a:hover { color: var(--teal-dark); }


/* Reviews binnen Over ons */
.reviews-in-about {
  grid-column: 1 / -1;
  margin-top: 56px;
  padding-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.reviews-intro-dark h2 {
  color: #fff;
}
.reviews-intro-dark p:not(.eyebrow) {
  color: #d3d3d3;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  padding: 26px;
}
.review-card .stars {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 15px;
  letter-spacing: .08em;
  font-weight: 700;
}
.review-card blockquote {
  margin: 0;
  color: var(--black);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 700;
}
.review-source {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.reviews-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

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

@media (max-width: 1080px) {
  .header-inner { flex-wrap: wrap; gap: 12px 16px; }
  .nav {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
  }
  .nav a {
    min-width: 0;
    text-align: center;
    padding: 8px 10px;
    font-size: 13px;
  }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-panel { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .hero-image-card img { height: 320px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 98px; }
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { align-items: center; }
  .logo { height: 74px; max-width: 260px; }
  .login-menu { margin-left: auto; }
  .login-button { padding: 9px 13px; font-size: 13px; font-weight: 700; }
  .login-dropdown { width: min(230px, calc(100vw - 28px)); }
  .nav { grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 20px; }
  .nav-actueel { display: none; }
  .nav-full { display: none; }
  .nav-short { display: inline; }
  .nav a { padding: 8px 7px; font-size: 12.5px; }
  .hero, .section { padding: 56px 0; }
  h1 { font-size: clamp(31px, 9vw, 39px); letter-spacing: -.026em; }
  h2 { font-size: clamp(27px, 7.5vw, 33px); letter-spacing: -.026em; }
  .lead, .section-intro p, .about-copy p, .contact-info > p { font-size: 16px; line-height: 1.75; }
  .button { width: 100%; font-weight: 700; }
  .hero-image-card { margin-top: -6px; padding: 8px; border-radius: 24px; }
  .hero-image-card::after { inset: 8px; border-radius: 18px; }
  .hero-image-card img { height: 210px; border-radius: 18px; object-position: center; }
  .services-grid, .practical-grid { grid-template-columns: 1fr; }
  .contact-info, .contact-form-wrap { padding: 28px; }
  .map-card iframe { height: 260px; }
}


/* Verfijning: rustigere buttons en navigatie */
.nav,
.login-button,
.login-dropdown a,
.button,
.contact-form button,
.map-button,
.footer-links,
.software-list span,
.role {
  font-weight: 700;
}
.button,
.login-button,
.contact-form button {
  letter-spacing: 0;
}
.nieuwsmolen-card-label { display: none !important; }


/* ─── Nieuwsmolen ─────────────────────────────────────────────────────────── */
.nieuwsmolen-feed-source {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.nieuwsmolen-cards {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 760px) {
  .nieuwsmolen-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.nieuwsmolen-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--soft);
  color: var(--black);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nieuwsmolen-card:hover {
  transform: translateY(-3px);
  border-color: rgba(93, 190, 194, .5);
  box-shadow: 0 18px 36px rgba(93, 190, 194, .14);
}
.nieuwsmolen-card-image {
  aspect-ratio: 16 / 9;
  background: var(--soft-teal);
  overflow: hidden;
}
.nieuwsmolen-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nieuwsmolen-card-content { padding: 1.25rem; }
.nieuwsmolen-card-label { display: none; }
.nieuwsmolen-card h3 {
  margin: 0;
  color: var(--black);
  font-size: 1.05rem;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.nieuwsmolen-status {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .95rem;
}
