/*
Theme Name: Rustige Praktijk
Theme URI: https://example.com/
Author: OpenAI
Description: Een rustige, lichte one-page WordPress-website voor een orthopedagoog of andere praktijk. Logo, naam, functie, over-mijtekst, foto, vier aanbodsvakken en contactgegevens zijn aanpasbaar via de WordPress Customizer.
Version: 1.0.17
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: rustige-praktijk
*/

:root {
  --rp-bg: #f7f5f0;
  --rp-surface: #ffffff;
  --rp-text: #25302b;
  --rp-muted: #66716c;
  --rp-accent: #758c7d;
  --rp-border: #e4e3dd;
  --rp-max: 1120px;
  --rp-radius: 18px;
  --rp-shadow: 0 12px 34px rgba(37, 48, 43, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--rp-bg);
  color: var(--rp-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

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

.site-header {
  padding: 28px 0;
  background: rgba(247, 245, 240, 0.94);
  border-bottom: 1px solid rgba(228, 227, 221, 0.7);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}
.rp-brand {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  text-decoration: none;
}
.custom-logo-link { display: inline-flex; flex: 0 0 auto; text-decoration: none; line-height: 0; }
.rp-brand-text-link { text-decoration: none; }
.custom-logo {
  max-height: 72px;
  width: auto;
  background: transparent;
  mix-blend-mode: darken;
}
.rp-brand-text { min-width: 0; }
.rp-site-name {
  margin: 0;
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -0.025em;
}
.rp-site-role {
  margin: 6px 0 0;
  color: var(--rp-muted);
  font-size: 0.98rem;
}

main { display: block; }
.rp-section { padding: 76px 0; }
.rp-section + .rp-section { border-top: 1px solid var(--rp-border); }
.rp-eyebrow {
  margin: 0 0 10px;
  color: var(--rp-accent);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.rp-heading {
  margin: 0 0 22px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 650;
}
.rp-copy {
  margin: 0;
  max-width: 700px;
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: #46514c;
}

.rp-orthopedagogue-intro {
  max-width: 760px;
}
.rp-intro-heading {
  margin: 0 0 16px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 650;
}
.rp-intro-link-wrap {
  margin: 18px 0 0;
}
.rp-intro-link {
  color: #52685a;
  font-weight: 600;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.rp-intro-link:hover,
.rp-intro-link:focus-visible {
  color: var(--rp-text);
}

.rp-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(42px, 8vw, 96px);
  align-items: start;
}
.rp-about-photo-wrap {
  max-width: 240px;
  justify-self: center;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: none;
  background: transparent;
  border: none;
  aspect-ratio: 4 / 5;
}
.rp-about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rp-photo-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--rp-muted);
  text-align: center;
  font-size: 0.95rem;
}

.rp-services-intro { margin-bottom: 38px; }
.rp-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.rp-service-card {
  min-height: 230px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.rp-service-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  border-radius: 999px;
  background: #eef1ed;
  color: var(--rp-accent);
  font-weight: 700;
  font-size: 0.84rem;
}
.rp-service-card h3 {
  margin: 0 0 12px;
  font-size: 1.16rem;
  line-height: 1.3;
}
.rp-service-card p {
  margin: 0;
  color: #46514c;
  font-size: clamp(0.95rem, 1.42vw, 1rem);
  line-height: 1.66;
}
.rp-service-emphasis {
  color: inherit;
  font-weight: 700;
}

.rp-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: start;
}
.rp-contact-layout--no-map {
  grid-template-columns: minmax(0, 620px);
}
.rp-contact-panel {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.rp-contact-panel .rp-heading {
  margin-bottom: 28px;
}
.rp-contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.rp-contact-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--rp-border);
}
.rp-contact-list li:last-child { border-bottom: 0; }
.rp-contact-label {
  display: block;
  color: var(--rp-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rp-contact-value {
  display: inline-block;
  margin-top: 3px;
  text-decoration: none;
}
.rp-contact-value:hover { text-decoration: underline; }

.rp-registration-lines {
  display: grid;
  gap: 0.35rem;
}
.rp-registration-lines > span {
  display: block;
}

/* Interactieve Google Maps-kaart naast de contactgegevens */
.rp-map-section {
  margin: 0;
  align-self: start;
}
.rp-map-wrap {
  width: 100%;
  min-height: 430px;
  height: clamp(430px, 42vw, 520px);
  overflow: hidden;
  background: transparent;
}
.rp-map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .rp-contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .rp-map-wrap {
    width: min(100%, 620px);
    min-height: 380px;
    height: 420px;
  }
}

@media (max-width: 640px) {
  .rp-map-wrap {
    width: 100%;
    min-height: 320px;
    height: 360px;
  }
}

.site-footer {
  padding: 30px 0 42px;
  color: var(--rp-muted);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 900px) {
  .rp-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-about-grid { grid-template-columns: 1fr; }
 .rp-about-photo-wrap { max-width: 240px; }
}

@media (max-width: 640px) {
  .rp-container { width: min(calc(100% - 28px), var(--rp-max)); }
  .site-header { padding: 20px 0; position: static; }
  .custom-logo { max-height: 58px; }
  .rp-section { padding: 58px 0; }
  .rp-services-grid,
  .rp-contact-panel { grid-template-columns: 1fr; }
  .rp-service-card { min-height: 0; }
  .rp-service-number { margin-bottom: 24px; }
  .rp-contact-panel { gap: 28px; }
}
