/* JouwPraktijkWebsite — Preview Stylesheet v2 */
/* Accent colors set via inline :root override per page */

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

:root {
  --bg: #FAFAF8;
  --fg: #1A1A18;
  --fg-muted: #6B6B63;
  --border: #E5E5E0;
  --card-bg: #FFFFFF;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --max-w: 1120px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ── AI IMAGE REALISM FILTER ── */
img[src*="assets/images/"] {
  filter: saturate(0.82) contrast(1.06) brightness(0.97) sepia(0.08);
  image-rendering: auto;
}
img[src*="assets/images/"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* ── PREVIEW BANNER ── */
.preview-banner {
  background: #FFF3E0;
  border-bottom: 2px solid #F57C00;
  padding: 12px 24px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  color: #E65100;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ── HEADER ── */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  gap: 24px;
  flex: 1;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--fg); text-decoration: none; }

.header-cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.header-cta:hover { background: var(--accent-hover); text-decoration: none; }

.header-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}
.header-whatsapp:hover { background: #1EBE5A; text-decoration: none; }
.header-whatsapp svg { width: 18px; height: 18px; fill: #fff; flex-shrink: 0; }

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.2s;
}

/* ── SECTIONS (shared) ── */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.section-title--center { text-align: center; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--fg-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.section-cta { margin-top: 32px; text-align: center; }

/* ── HERO ── */
.hero {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
}

.hero--centered .hero-inner {
  text-align: center;
  max-width: 720px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--fg);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-image {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  max-height: 480px;
}

.hero-image-placeholder,
.hero-accent-panel {
  width: 100%;
  height: 360px;
  background: var(--accent-light);
  border-radius: var(--radius-lg);
}

.hero-accent-panel { min-height: 360px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--accent-hover); text-decoration: none; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--accent-light); text-decoration: none; }

.btn-light {
  background: #fff;
  color: var(--accent);
}
.btn-light:hover { background: #f5f5f5; }

/* ── TEXT BLOCK ── */
.text-block { padding: 0; }

.text-block-content {
  font-size: 1rem;
  color: var(--fg);
  line-height: 1.75;
}

.text-block-content.has-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.text-block-body p { margin-bottom: 16px; }

.text-block-image img {
  border-radius: var(--radius);
  width: 100%;
}

/* ── SERVICES ── */
.services-preview, .services-full {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: var(--shadow-md); }

.service-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--fg);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-card--full {
  display: block;
  background: var(--bg);
}

.service-meta {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}

/* ── ABOUT ── */
.about-short { background: var(--bg); }

.about-grid {
  display: block;
}
.about-grid.has-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--fg);
  margin-bottom: 24px;
}

.about-body--full {
  max-width: 720px;
}

.about-hero-image { margin-bottom: 32px; }

.established-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.value-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--accent);
}
.value-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ── TEAM ── */
.team-section { background: var(--card-bg); border-top: 1px solid var(--border); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}

.team-card { text-align: center; }

.team-photo { margin-bottom: 16px; }

.team-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── TRUST SIGNALS ── */
.trust-signals {
  background: var(--accent-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-card {
  padding: 24px 16px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--fg-muted);
  font-weight: 500;
}

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--card-bg); border-top: 1px solid var(--border); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.testimonial-stars {
  font-size: 1.2rem;
  color: #F59E0B;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--fg);
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg-muted);
}

/* ── GALLERY ── */
.gallery-section { background: var(--bg); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.gallery-caption {
  font-size: 0.8rem;
  color: var(--fg-muted);
  padding: 8px 0;
}

/* ── BEFORE/AFTER ── */
.before-after-section { background: var(--card-bg); border-top: 1px solid var(--border); }

.ba-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ba-image {
  border-radius: var(--radius);
  overflow: hidden;
}

.ba-caption {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  color: var(--fg-muted);
  text-align: center;
}

/* ── FAQ ── */
.faq-section { background: var(--bg); }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.faq-question {
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.2s;
}
details[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* ── TREATMENT PROCESS ── */
.treatment-process { background: var(--card-bg); border-top: 1px solid var(--border); }

.process-steps {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── CONTACT ── */
.contact-section { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-grid {
  display: block;
}

.contact-item {
  margin-bottom: 16px;
  line-height: 1.6;
}
.contact-item strong { display: block; margin-bottom: 4px; }

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form-section .contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s;
}
.form-input:focus { outline: none; border-color: var(--accent); }

.form-textarea { resize: vertical; }

.contact-map {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
}

/* ── BLOG PREVIEW ── */
.blog-preview { background: var(--card-bg); border-top: 1px solid var(--border); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.blog-card:hover { box-shadow: var(--shadow-md); }

.blog-card-content { padding: 24px; }

.blog-date {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.blog-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--accent);
  color: #fff;
}

.cta-inner { text-align: center; }

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: #fff;
  margin-bottom: 12px;
}

.cta-sub {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 24px;
}

/* ── IMAGE PLACEHOLDERS ── */
.image-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-align: center;
  padding: 16px;
}

.image-placeholder--large {
  aspect-ratio: 21/9;
}

.image-placeholder--avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  aspect-ratio: 1;
  margin: 0 auto;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--fg);
  color: #fff;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 40px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-address {
  font-size: 0.85rem;
  opacity: 0.7;
  line-height: 1.6;
}

.footer-inner h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.5;
  margin-bottom: 12px;
}

.footer-inner a { color: #fff; opacity: 0.8; }
.footer-inner a:hover { opacity: 1; }
.footer-inner p { font-size: 0.9rem; line-height: 1.6; }

.footer-disclaimer {
  font-size: 0.8rem;
  opacity: 0.5;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.4;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .mobile-menu-toggle { display: flex; }
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .header-nav.nav-open { display: flex; }
  .header-cta { display: none; }
  .hero-split-grid { grid-template-columns: 1fr; }
  .text-block-content.has-image { grid-template-columns: 1fr; }
  .about-grid.has-image { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .ba-pair { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .section-inner { padding: 56px 20px; }
  .hero-inner { padding: 56px 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
}
