/* psychologenpraktijkbleiswijk.nl — één stylesheet, geen framework. */

/* ------------------------------------------------------------ lettertypes */
/* Zelf gehost: geen verzoeken naar Google, geen cookies, AVG-vriendelijk. */

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/lato-300-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: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/lato-300-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: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/lato-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: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/lato-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: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/lato-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: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/lato-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: 'Maven Pro';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/mavenpro-var-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: 'Maven Pro';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/mavenpro-var-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;
}

/* ------------------------------------------------------------------- basis */

:root {
  --green: #6fa287;
  --green-dark: #5b8a71;
  --text: #3a3a3a;
  --muted: #7a7a7a;
  --line: #e5e5e5;
  --alt-bg: #f6f8f7;
  --wrap: 1140px;
  --head-font: 'Maven Pro', 'Trebuchet MS', sans-serif;
  --body-font: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 10px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--body-font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--green); }

h1, h2, h3 {
  font-family: var(--head-font);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(30px, 5vw, 46px); }
h2 { font-size: clamp(24px, 3.4vw, 32px); }
h3 { font-size: 19px; }

p { margin: 0 0 1.15em; }
ul { margin: 0 0 1.15em; padding-left: 1.3em; }
li { margin-bottom: .35em; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: #fff;
  color: var(--green-dark);
  padding: 12px 18px;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* ------------------------------------------------------------------ knoppen */

.btn {
  display: inline-block;
  font-family: var(--head-font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: 25px;
  padding: 14px 30px;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 1.15em; }
.btn-row-center { justify-content: center; }

/* ------------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

/* De header loopt van rand tot rand; alleen het menu volgt de contentbreedte. */
.header-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
  max-width: none;
  padding: 0 22px 0 0;
}

/* Het logo is een groen blok dat linksboven tegen de rand aanligt — net als
   op de oorspronkelijke site. */
.logo {
  display: flex;
  align-items: center;
  background: var(--green);
  padding: 14px 22px;
  line-height: 0;
  flex: none;
}
.logo img { width: 235px; height: auto; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: var(--green);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.site-nav { display: flex; align-items: center; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  font-family: var(--head-font);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--green-dark); border-bottom-color: var(--green); }

/* --------------------------------------------------------------------- hero */

.hero {
  position: relative;
  background-position: center 28%;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: .4;
}
.hero-inner {
  position: relative;
  padding-top: 130px;
  padding-bottom: 130px;
  max-width: 900px;
  text-align: center;
}
.hero-inner h1 {
  color: #fff;
  text-shadow: 0 0 14px rgba(0, 0, 0, .35);
  margin-bottom: .4em;
}
.hero-inner p {
  font-size: 17px;
  text-shadow: 0 0 10px rgba(0, 0, 0, .35);
}
.hero-inner .btn-row { justify-content: center; margin-top: 26px; margin-bottom: 0; }
.hero-inner .btn { box-shadow: 0 2px 14px rgba(0, 0, 0, .18); }

/* ----------------------------------------------------------------- secties */

.section { padding: 72px 0; }
.section-alt { background: var(--alt-bg); }

.section-title { text-align: center; margin-bottom: .35em; }

.divider {
  display: block;
  width: 90px;
  height: 3px;
  margin: 0 auto 36px;
  background: var(--green);
  border-radius: 3px;
}

.lead {
  max-width: 780px;
  margin: 0 auto 28px;
  text-align: center;
  font-size: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 46px;
  align-items: center;
}
.split-media img { border-radius: 6px; }
.btn-stack { flex-direction: column; align-items: flex-start; }
.btn-stack .btn { text-align: center; }

.banner {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  object-position: center 12%;
}

.team-outro {
  max-width: 620px;
  margin: 56px auto 44px;
}
.team-outro img { border-radius: 6px; }

.page-head {
  background: var(--green);
  color: #fff;
  padding: 54px 0;
}
.page-head h1 { color: #fff; margin: 0; }

.prose { max-width: 860px; }
.prose-center { margin: 0 auto; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.5em; color: var(--green-dark); }
.prose h3 + p, .prose h3 + ul { margin-top: 0; }

/* Intramed-cliëntenportaal (extern iframe) */
.portal { margin: 0 0 1.5em; }
.portal iframe { width: 100%; border: 0; }
.prose h2:first-child { margin-top: 0; }
.page-img { border-radius: 6px; margin: 0 0 1.4em; }

.note {
  background: var(--alt-bg);
  border-left: 4px solid var(--green);
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  font-size: 18px;
}

/* -------------------------------------------------------------------- team */

.team-intro {
  display: flex;
  align-items: center;
  gap: 34px;
  max-width: 900px;
  margin: 0 auto 56px;
}
.team-intro p { margin: 0; }
.team-intro .lvvp { width: 130px; flex: none; }

.team { display: grid; gap: 46px; }

.member {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line);
}
.team .member:last-of-type { border-bottom: 0; padding-bottom: 0; }
.member-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 6px;
}
.member-body h2 { margin-top: 0; color: var(--green-dark); }
.member-body p { margin-bottom: 0; }

/* ----------------------------------------------------------------- contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 46px;
  align-items: start;
  margin-bottom: 52px;
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--head-font);
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--body-font);
  font-size: 16px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field textarea:focus { border-color: var(--green); outline: none; }

.form-status { margin: 14px 0 0; font-size: 15px; min-height: 1.2em; }
.form-status.is-error { color: #b3261e; }
.form-status.is-ok { color: var(--green-dark); }

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: 6px;
  display: block;
}

.contact-info { max-width: 860px; margin: 0 auto; }
.contact-info h3 { margin-top: 1.5em; color: var(--green-dark); }

/* ------------------------------------------------------------------ footer */

.site-footer {
  background: var(--alt-bg);
  border-top: 1px solid var(--line);
  padding-top: 52px;
  margin-top: 0;
}
.footer-logo { width: 260px; margin: 0 auto 34px; }

/* Flex in plaats van 5 gelijke kolommen: het e-mailadres is veel breder dan
   "KvK" en zou uit een kolom van 1fr lopen. */
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 24px 44px;
  text-align: center;
  margin-bottom: 34px;
}
.footer-item { max-width: 100%; }
.footer-item p { overflow-wrap: anywhere; }
.footer-item h3 {
  font-size: 16px;
  color: var(--green-dark);
  margin-bottom: .3em;
}
.footer-item p { margin: 0; font-size: 16px; }
.footer-item a { color: var(--text); text-decoration: none; }
.footer-item a:hover { color: var(--green); text-decoration: underline; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}
.footer-links a {
  font-family: var(--head-font);
  font-weight: 500;
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
}
.footer-links a:hover { color: var(--green); }

.credit {
  background: var(--green);
  color: #fff;
  padding: 14px 0;
  text-align: center;
  font-size: 14px;
}
.credit p { margin: 0; }
.credit a { color: #fff; }

/* ------------------------------------------------------------- responsive */

@media (max-width: 980px) {
  :root { --header-h: 76px; }

  .hero-overlay { opacity: .55; }

  .logo { padding: 10px 16px; }
  .logo img { width: 180px; }

  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .07);
    display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 22px 18px; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { display: block; padding: 13px 0; border-bottom: 0; }
  .site-nav a[aria-current="page"] { border-bottom: 0; }

  .header-inner { position: relative; }

  .split,
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }

  .member { grid-template-columns: 220px minmax(0, 1fr); gap: 26px; }

  .footer-grid { gap: 22px 34px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }

  .section { padding: 52px 0; }
  .hero-inner { padding-top: 74px; padding-bottom: 74px; }

  .team-intro { flex-direction: column; text-align: center; gap: 22px; }

  .member { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .member-photo { max-width: 260px; }

  .btn { width: 100%; text-align: center; }
  .btn-row { flex-direction: column; }

  .footer-grid { flex-direction: column; gap: 18px; }
  .footer-links { flex-direction: column; gap: 10px; }
}

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