/* Psy-Consults — one-pager. Kleuren uit het logo: zacht grijsblauw, wit, donker blauwgrijs. */

@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("../fonts/alegreya-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("../fonts/alegreya-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/alegreya-sans-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/alegreya-sans-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alegreya Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/alegreya-sans-400i-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/alegreya-sans-400i-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/alegreya-sans-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/alegreya-sans-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/alegreya-sans-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/alegreya-sans-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --blue: #53707e;        /* zacht grijsblauw (logo) */
  --blue-deep: #435d6a;
  --soft: #90a8b0;        /* lichte kant van het Ψ */
  --ink: #2b4450;         /* donker blauwgrijs (logotekst) */
  --text: #3a4a52;
  --muted: #5d6e76;
  --mist: #eef2f4;
  --line: #d6dfe3;
  --white: #ffffff;
  --err: #a2382f;
  --ok: #2f6b4f;
  --bar-h: 84px;
  --wrap: 1120px;
  --serif: "Alegreya", Georgia, "Times New Roman", serif;
  --sans: "Alegreya Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.1875rem; /* 19px */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--blue); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 4px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---------- Bovenbalk (zoals de huidige site: wit, logo links, schaduw) ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  box-shadow: 0 3px 5px rgba(0, 0, 0, .14), 0 7px 10px rgba(0, 0, 0, .05);
}
.topbar__in {
  max-width: var(--wrap); margin: 0 auto; padding: 0 28px;
  height: var(--bar-h);
  display: flex; align-items: center; gap: 32px;
}
.topbar__logo { flex: 0 0 auto; display: block; }
.topbar__logo img { height: 54px; width: auto; }
.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nav__link {
  display: block; padding: 10px 14px;
  font-size: 1.0625rem; font-weight: 500; letter-spacing: .01em;
  color: var(--ink); text-decoration: none; border-radius: 4px;
  position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px;
  background: var(--soft); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav__link:hover { color: var(--blue); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--blue); }

.topbar__tools { display: flex; align-items: center; gap: 12px; }
.lang { list-style: none; margin: 0; padding: 3px; display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; }
.lang a {
  display: block; min-width: 40px; padding: 5px 10px; text-align: center;
  font-size: .9375rem; font-weight: 700; letter-spacing: .06em;
  color: var(--muted); text-decoration: none; border-radius: 999px; line-height: 1.4;
}
.lang a:hover { color: var(--ink); background: var(--mist); }
.lang a[aria-current] { background: var(--blue); color: #fff; }

.menu-btn {
  display: none; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 12px;
  background: none; border: 1px solid var(--line); border-radius: 6px;
  font: 500 1rem var(--sans); color: var(--ink); cursor: pointer;
}
.menu-btn__bars { display: grid; gap: 4px; width: 18px; }
.menu-btn__bars span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (stijl huidige site: grijsblauw getinte foto + lichte kader) ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 460px;
  height: min(calc(100vh - var(--bar-h)), 780px);
  background: var(--blue);
  display: flex; align-items: flex-end;
}
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide--1 img { object-position: 38% 50%; }
.hero__slide--2 img { object-position: 72% 50%; }
.hero__slide--2 { opacity: 0; }
.hero__slides::after { content: ""; position: absolute; inset: 0; background: var(--blue); opacity: .5; }
@media (prefers-reduced-motion: no-preference) {
  .hero__slide--2 { animation: heroFade 16s ease-in-out 5s infinite; }
}
@keyframes heroFade {
  0%, 38% { opacity: 0; }
  50%, 88% { opacity: 1; }
  100% { opacity: 0; }
}
.hero__in { position: relative; z-index: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px 36px; display: flex; justify-content: flex-end; }
.hero__box {
  width: 540px; max-width: 100%;
  padding: 26px 30px 24px;
  text-align: right;
  background: rgba(221, 221, 221, .78);
  box-shadow: 0 3px 5px rgba(0, 0, 0, .33), 0 7px 10px 3px rgba(0, 0, 0, .11);
}
.hero__top, .hero__city {
  margin: 0;
  font-family: var(--sans); font-weight: 700; text-transform: uppercase;
  font-size: 1.625rem; line-height: 1.2; letter-spacing: .02em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(43, 68, 80, .55), 0 0 14px rgba(43, 68, 80, .35);
}
.hero__logo { margin: 12px 0 0 auto; width: 440px; max-width: 100%; }
.hero__logo img { width: 100%; }
.hero__city { margin-top: 26px; }

/* ---------- Secties ---------- */
.section { padding: clamp(64px, 8vw, 108px) 0; }
.section-head { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.section-title { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1.15; letter-spacing: .005em; }
.divider {
  display: flex; justify-content: center; align-items: center; gap: 56px;
  height: 28px; margin-top: 14px;
  background: url("../img/psi-120.png") center / 30px auto no-repeat;
}
.divider::before, .divider::after { content: ""; width: 72px; height: 1px; background: #b8c7cd; }

/* Over mij */
.about__grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(36px, 6vw, 72px); align-items: start; max-width: 980px; margin: 0 auto; }
.about__photo { margin: 8px 0 0; }
.about__photo img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 10px var(--mist), 0 18px 40px -18px rgba(43, 68, 80, .45); }
.about__name { font-family: var(--serif); font-weight: 700; font-size: clamp(1.75rem, 2.6vw, 2.125rem); line-height: 1.2; }
.about__role { margin: 4px 0 22px; font-weight: 700; font-size: .9375rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.facts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.facts li { padding: 4px 0 4px 20px; border-left: 3px solid var(--soft); color: var(--ink); }

/* Aanbod */
.offer { background: var(--mist); }
.offer__list {
  list-style: none; margin: 0 auto; padding: 8px clamp(22px, 4vw, 48px);
  max-width: 860px; background: var(--white); border-radius: 8px;
  box-shadow: 0 1px 2px rgba(43, 68, 80, .06), 0 14px 34px -22px rgba(43, 68, 80, .35);
}
.offer__item { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 24px 0; }
.offer__item + .offer__item { border-top: 1px solid var(--line); }
.offer__num { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--soft); letter-spacing: .04em; }
.offer__title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.3125rem, 2vw, 1.5rem); line-height: 1.3; }
.offer__note { margin: 6px 0 0; color: var(--muted); }

/* Contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: clamp(36px, 6vw, 72px); max-width: 980px; margin: 0 auto; }
.contact__label { font-family: var(--sans); font-weight: 700; font-size: .9375rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
address { font-style: normal; color: var(--ink); line-height: 1.7; margin-bottom: 18px; }
address strong { font-family: var(--serif); font-size: 1.3125rem; }
.route { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }
.route svg { flex: 0 0 auto; }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field label { display: block; margin-bottom: 6px; font-weight: 500; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  display: block; width: 100%;
  padding: 12px 14px;
  font: inherit; font-size: 1.0625rem; line-height: 1.5; color: var(--ink);
  background: #fff; border: 1px solid #b9c6cc; border-radius: 6px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(83, 112, 126, .25); }
.field--err input, .field--err textarea { border-color: var(--err); }
.field__err { margin: 6px 0 0; font-size: 1rem; color: var(--err); }
.form__privacy { margin: 0; font-size: 1rem; color: var(--muted); }
.btn {
  justify-self: start;
  min-height: 50px; padding: 12px 30px;
  font: 700 1.0625rem var(--sans); letter-spacing: .04em;
  color: #fff; background: var(--blue); border: 0; border-radius: 6px; cursor: pointer;
  transition: background-color .2s ease;
}
.btn:hover { background: var(--ink); }
.btn[disabled] { opacity: .7; cursor: progress; }
.notice { margin: 0 0 20px; padding: 14px 16px; border-radius: 6px; font-weight: 500; }
.notice--ok { background: #e7f2ec; color: var(--ok); border-left: 4px solid var(--ok); }
.notice--err { background: #f8e9e7; color: var(--err); border-left: 4px solid var(--err); }
.hp { display: none !important; }

/* Footer */
.footer { background: var(--ink); color: #d5dfe3; font-size: 1rem; }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 26px; padding-bottom: 26px; }
.footer p { margin: 0; }
.footer__credit { color: #a9bac1; }

/* ---------- Responsief ---------- */
@media (max-width: 960px) {
  .topbar__in { gap: 18px; }
  .nav__link { padding: 10px 10px; }
  .nav__link::after { left: 10px; right: 10px; }
}

@media (max-width: 820px) {
  :root { --bar-h: 66px; }
  .topbar__in { padding: 0 16px; gap: 10px; }
  .topbar__logo img { height: 40px; }
  .topbar__tools { margin-left: auto; gap: 8px; }
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white);
    box-shadow: 0 10px 18px rgba(0, 0, 0, .12);
    border-top: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; gap: 0; padding: 6px 16px 12px; }
  .nav__link { padding: 14px 4px; font-size: 1.125rem; border-bottom: 1px solid var(--mist); border-radius: 0; }
  .nav__list li:last-child .nav__link { border-bottom: 0; }
  .nav__link::after { display: none; }

  .hero { height: auto; min-height: min(78vh, 620px); }
  .hero__in { padding: 0 16px 20px; justify-content: center; }
  .hero__box { width: 100%; text-align: center; padding: 20px 18px 18px; }
  .hero__top, .hero__city { font-size: clamp(1.0625rem, 4.6vw, 1.375rem); }
  .hero__logo { margin: 10px auto 0; width: min(100%, 360px); }
  .hero__city { margin-top: 14px; }

  .wrap { padding: 0 20px; }
  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__photo { width: min(240px, 64vw); margin: 0 auto; }
  .about__body { text-align: left; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 520px) {
  body { font-size: 1.125rem; }
  .lang a { min-width: 36px; padding: 5px 8px; }
  .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu-btn { padding: 8px 12px; min-width: 44px; justify-content: center; }
  .topbar__logo img { height: 36px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .offer__item { grid-template-columns: 40px minmax(0, 1fr); padding: 20px 0; }
  .offer__num { font-size: 1.0625rem; }
  .btn { justify-self: stretch; }
  .footer__in { flex-direction: column; }
}

@media (max-width: 359px) {
  .topbar__in { padding: 0 12px; gap: 8px; }
  .topbar__logo img { height: 30px; }
  .topbar__tools { gap: 6px; }
  .lang a { min-width: 32px; padding: 5px 6px; }
}
