
:root {
  --navy: #1f2948;
  --navy-soft: #2a365d;
  --gold: #c6a260;
  --gold-dark: #b4904d;
  --cream: #f7f2ec;
  --cream-deep: #efe6dc;
  --cream-soft: #fcfaf7;
  --text: #2f2b2a;
  --muted: #6f6962;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(26, 28, 45, 0.12);
  --shadow-soft: 0 10px 24px rgba(26, 28, 45, 0.08);
  --radius: 24px;
  --radius-lg: 30px;
  --radius-sm: 16px;
  --container: 1180px;
  --header-offset: 85px;
  --transition: 0.28s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--cream-soft);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background var(--transition),
    border-color var(--transition), transform var(--transition),
    opacity var(--transition);
}

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

.narrow {
  max-width: 820px;
}

.section,
.section-soft {
  padding: 96px 0;
}

.section-soft {
  background: linear-gradient(180deg, #fbf8f4 0%, #f6efe7 100%);
}

#home,
#richting-op-maat,
#over-mij,
#contact {
  scroll-margin-top: calc(var(--header-offset) + 8px);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

h1,
h2,
h3,
blockquote {
  font-family: "Cormorant Garamond", serif;
  color: var(--navy);
  line-height: 1.05;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(3rem, 5vw, 5.2rem);
}

h2 {
  font-size: clamp(2.3rem, 3.8vw, 4rem);
}

h3 {
  font-size: 2rem;
}

p {
  margin: 0 0 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(31, 41, 72, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(16, 20, 37, 0.08);
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 108px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 230px;
  max-width: 42vw;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: transform var(--transition), background var(--transition),
    color var(--transition), border-color var(--transition),
    box-shadow var(--transition);
}

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 12px 18px;
  font-weight: 700;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  padding: 12px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  margin: 6px 0;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--cream);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(247, 242, 236, 0.96) 0%,
    rgba(247, 242, 236, 0.88) 40%,
    rgba(247, 242, 236, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 70px 0;
}

.hero-card {
  max-width: 700px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px);
  padding: 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.lead {
  font-size: 1.16rem;
  color: var(--navy-soft);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  padding: 15px 24px;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(31, 41, 72, 0.18);
  color: var(--navy);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--navy);
  background: rgba(31, 41, 72, 0.03);
  transform: translateY(-1px);
}

.section-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 42px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card,
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 100%;
}

.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(198, 162, 96, 0.16);
  color: var(--gold-dark);
  font-size: 1.7rem;
  margin-bottom: 18px;
}

.quote-band {
  background: linear-gradient(180deg, var(--cream-deep) 0%, #f9f4ee 100%);
  padding: 54px 0;
}

blockquote {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin: 0;
}

.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
}

.split-grid {
  align-items: stretch;
}

.contact-grid {
  align-items: center;
}

.image-stack {
  position: relative;
  height: 100%;
  min-height: 560px;
}

.image-main {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.image-badge {
  position: absolute;
  left: 26px;
  bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: calc(100% - 52px);
}

.image-badge span {
  background: rgba(31, 41, 72, 0.9);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-soft);
}

.text-panel {
  background: #fffaf5;
  padding: 38px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-link {
  color: var(--navy);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--gold-dark);
}

.contact-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  text-align: center;
  padding: 90px 0;
}

.contact-cta h2,
.contact-cta p {
  color: #fff;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.contact-list li {
  margin-bottom: 12px;
}

.form-row {
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--navy);
}

input,
textarea {
  width: 100%;
  border: 1px solid #ded7ce;
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(198, 162, 96, 0.14);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.btn-full {
  width: 100%;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
  padding: 44px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-logo {
  width: 220px;
  height: auto;
  border-radius: 0;
}

.site-footer h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.site-footer a,
.site-footer p {
  display: block;
  margin-bottom: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .split-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 760px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-offset: 118px;
  }

  .nav-wrap {
    min-height: 92px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    background: rgba(31, 41, 72, 0.98);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.07);
  }

  .nav-cta {
    text-align: center;
    justify-content: center;
    margin-top: 6px;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(247, 242, 236, 0.94) 0%,
      rgba(247, 242, 236, 0.92) 45%,
      rgba(247, 242, 236, 0.78) 100%
    );
  }

  .hero-content {
    padding: 60px 0 44px;
  }

  .hero-card {
    padding: 32px 24px;
  }

  .section,
  .section-soft {
    padding: 74px 0;
  }

  .image-stack,
  .image-main {
    min-height: 420px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-offset: 104px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn,
  .btn-secondary,
  .btn-primary {
    width: 100%;
  }

  .service-card,
  .contact-card,
  .text-panel {
    padding: 24px;
  }

  blockquote {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  .brand img {
    width: 180px;
    max-width: 58vw;
  }

  .hero-media img {
    object-position: center top;
  }

  .hero-card {
    border-radius: 24px;
  }

  .image-badge {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }

  .image-badge span {
    font-size: 0.82rem;
  }
}

@media (min-width: 768px) and (max-width: 1180px) {
  .site-nav {
    gap: 18px;
  }

  .site-nav a {
    font-size: 0.92rem;
  }

  .hero-card {
    max-width: 620px;
  }
}


@media (max-width: 1100px) {
  .split-grid {
    align-items: start;
  }

  .image-stack {
    height: auto;
  }
}

/* Begeleiding visual section with chess image */
.begeleiding-visual {
  position: relative;
  overflow: hidden;
}

.begeleiding-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(198, 162, 96, 0.16), transparent 32%),
    linear-gradient(180deg, #fbf8f4 0%, #f6efe7 100%);
  pointer-events: none;
}

.begeleiding-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}

.begeleiding-text {
  background: rgba(255, 250, 245, 0.92);
}

.begeleiding-text ul,
.service-card ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.begeleiding-text li,
.service-card li {
  margin-bottom: 8px;
}

.begeleiding-image-wrap {
  position: relative;
  min-height: 620px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(26, 28, 45, 0.18);
  background: var(--cream-deep);
}

.begeleiding-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(31, 41, 72, 0.02) 0%, rgba(31, 41, 72, 0.22) 100%),
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.18), transparent 36%);
  pointer-events: none;
}

.begeleiding-image {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
}

.begeleiding-badge {
  z-index: 2;
}

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

  .begeleiding-image-wrap,
  .begeleiding-image {
    min-height: 460px;
  }
}

@media (max-width: 600px) {
  .begeleiding-grid {
    gap: 28px;
  }

  .begeleiding-image-wrap,
  .begeleiding-image {
    min-height: 340px;
    border-radius: 24px;
  }
}

/* ===== PREMIUM BACKGROUND CARDS: OUDERKOMPAS, KINDKOMPAS & HERSTEL ===== */
#ouderkompas,
#kindkompas,
.cards .service-card:nth-of-type(3) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 70px rgba(26, 28, 45, 0.18);
}

#ouderkompas {
  background-image:
    linear-gradient(145deg, rgba(31, 41, 72, 0.90) 0%, rgba(31, 41, 72, 0.76) 46%, rgba(31, 41, 72, 0.62) 100%),
    url("assets/begeleiding-schaakbord.png");
  background-position: center;
}

#kindkompas {
  background-image:
    linear-gradient(145deg, rgba(31, 41, 72, 0.88) 0%, rgba(31, 41, 72, 0.72) 48%, rgba(31, 41, 72, 0.58) 100%),
    url("assets/kindkompas-schelpen.jpg");
  background-position: center;
}

.cards .service-card:nth-of-type(3) {
  background-image:
    linear-gradient(145deg, rgba(31, 41, 72, 0.90) 0%, rgba(31, 41, 72, 0.74) 48%, rgba(31, 41, 72, 0.60) 100%),
    url("assets/foto1.jpg");
  background-position: center 30%;
}

#ouderkompas::before,
#kindkompas::before,
.cards .service-card:nth-of-type(3)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.20), transparent 34%),
    radial-gradient(circle at 82% 82%, rgba(198, 162, 96, 0.22), transparent 38%);
  pointer-events: none;
}

#ouderkompas::after,
#kindkompas::after,
.cards .service-card:nth-of-type(3)::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}

#ouderkompas h3,
#kindkompas h3,
.cards .service-card:nth-of-type(3) h3 {
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

#ouderkompas p,
#kindkompas p,
#ouderkompas li,
#kindkompas li,
.cards .service-card:nth-of-type(3) p,
.cards .service-card:nth-of-type(3) li {
  color: rgba(255, 255, 255, 0.92);
}

#ouderkompas .icon-circle,
#kindkompas .icon-circle,
.cards .service-card:nth-of-type(3) .icon-circle {
  background: rgba(255, 255, 255, 0.17);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
}

#ouderkompas:hover,
#kindkompas:hover,
.cards .service-card:nth-of-type(3):hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 80px rgba(26, 28, 45, 0.24);
}

.service-card {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

@media (max-width: 768px) {
  #ouderkompas,
  #kindkompas,
  .cards .service-card:nth-of-type(3) {
    background-position: center;
  }

  #ouderkompas::after,
  #kindkompas::after,
  .cards .service-card:nth-of-type(3)::after {
    inset: 10px;
    border-radius: 18px;
  }
}
