/* Han de Kapper — 1-op-1 overgenomen van de live kapper.es (Lindo):
   wit, Lato overal, WhatsApp-groen #075e54 als enige accentkleur,
   tekstkleur #1f2937, ronde knoppen en kaarten.
   Maten/kleuren gemeten tegen de live site (Playwright-audit). */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --panel: #eeeeee;
  --ink: #1f2937;
  --ink-soft: #4b5563;
  --border: #e5e7eb;
  --whatsapp: #128c7e;
  --whatsapp-dark: #075e54;
  --max: 1120px;
  --sans: 'Lato', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; color: var(--ink); }

a { color: inherit; }

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

/* Scroll-reveal: eigen lichte versie van de fade-in-up op de live site */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header: gecentreerd logo, verder niets (zoals live) */
.site-header {
  padding: 32px 16px;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.brand img { height: 120px; width: auto; display: block; }

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 999px;
}
.btn-primary {
  background: var(--whatsapp-dark);
  color: #fff;
}
.btn-primary:hover { background: var(--whatsapp); }
.btn-outline {
  border: 1px solid var(--border);
  color: var(--ink);
  font-weight: 600;
}
.btn-outline:hover { border-color: var(--whatsapp-dark); color: var(--whatsapp-dark); }

/* Hero */
.hero { padding: 56px 0; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-text h1 { margin-bottom: 0.4em; line-height: 1.05; }
.brand-line { display: block; }
.hero-kicker { display: block; font-size: 1.375rem; font-weight: 400; color: var(--ink); margin-top: 0.3em; }
.hero-intro { font-size: 1.125rem; color: var(--ink); }
.hero-location { font-size: 1.125rem; color: var(--ink); }
.hero-text .btn-primary { padding: 16px 32px; }
.micro-cta { margin: 14px 0 0; font-size: 0.9rem; color: var(--ink-soft); }
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

/* Talen + kaart */
.langs { padding: 56px 0; }
.langs-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 112px;
}
.langs-photo img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 12px;
}
.langs-text .quote {
  font-style: normal;
  color: var(--ink);
  font-size: 1.125rem;
}
.lang-checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.lang-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-weight: 500;
}
.lang-checklist .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(84, 84, 84, 0.2);
  color: #545454;
  font-size: 0.8rem;
}
.map-embed {
  border-radius: 16px;
  overflow: hidden;
}
.map-embed iframe { display: block; border-radius: 16px; }

/* Reviews */
.reviews { padding: 8px 0 64px; text-align: center; }
.reviews-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  font-size: 1.1rem;
}
.reviews-score .stars { color: #ffd600; letter-spacing: 2px; }
.reviews-count { color: var(--ink-soft); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
  margin-bottom: 32px;
}
.review-card {
  background: var(--surface);
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--whatsapp-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex: none;
}
.review-card:nth-child(3n+1) .review-avatar { background: #1a73e8; }
.review-card:nth-child(3n+2) .review-avatar { background: #d6006e; }
.review-card:nth-child(3n+3) .review-avatar { background: #7b2ff7; }
.review-card strong { font-size: 15px; color: #1a1a1a; }
.review-date { display: block; font-size: 13px; color: #4d4d4d; }
.review-stars { color: #ffd600; margin-bottom: 8px; letter-spacing: 1px; }
.review-card p { color: #1a1a1a; font-size: 15px; line-height: 22px; margin: 0; }
.reviews .btn-outline {
  background: #f0f0f0;
  border: none;
  color: #5c5c5c;
  border-radius: 10px;
  padding: 12px 20px;
}
.reviews .btn-outline:hover { background: #e8e8e8; color: #3c3c3c; }

/* About */
.about { padding: 24px 0; }
.about-inner { max-width: 768px; padding-left: 32px; padding-right: 32px; }
.about-inner h2 { font-size: 1.5rem; line-height: 2rem; margin-bottom: 16px; }
.about-inner h3 { color: var(--ink); font-size: 1.125rem; line-height: 1.556; font-weight: 700; margin-bottom: 14px; }
.about-inner p { font-size: 1.125rem; line-height: 1.556; margin-bottom: 14px; }

/* Closing + gallery */
.closing { padding: 40px 0 72px; }
.closing-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.closing-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.closing-gallery img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

/* Articles */
.articles { padding: 0 0 64px; }
.articles .wrap { max-width: 768px; }
.article-card {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  background: var(--panel);
  border: 1px solid rgba(84, 84, 84, 0.2);
  border-radius: 8px;
  padding: 16px;
}
.article-icon {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}
.article-copy { display: flex; flex-direction: column; gap: 2px; }
.article-copy strong { font-size: 1.05rem; }
.article-copy span { color: var(--ink-soft); font-size: 0.92rem; }
.article-card:hover strong { color: var(--whatsapp-dark); }

/* Guide page — 1-op-1 overgenomen van kapper.es/guide */
.guide-hero { padding: 56px 0 24px; }
.guide-hero h1 { max-width: 780px; font-size: clamp(2rem, 4.5vw, 3rem); }
.guide-hero-sub { max-width: 780px; font-weight: 700; }

.guide-intro { padding: 24px 0 40px; }
.guide-intro-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.guide-intro-text { max-width: 760px; }
.guide-intro-photo img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 12px;
}

.guide-article { padding-bottom: 40px; max-width: 760px; }
.guide-article h2 { margin-top: 1.6em; }
.guide-article h3 { margin-top: 1.4em; color: var(--whatsapp-dark); }
.guide-article ul { padding-left: 1.2em; }
.guide-article li { margin-bottom: 0.6em; }
.tips-subtitle { color: var(--ink); margin-top: 0.5em !important; }
.section-kicker {
  font-style: italic;
  color: var(--ink-soft);
  margin: 2em 0 -0.4em;
}

.callout {
  padding: 8px 0 24px;
  margin: 8px 0;
}
.callout h3 { margin-top: 0; }

/* Decoratieve fotocollage tussen "Quick Answer" en de criteria-lijst,
   letterlijk overgenomen incl. de Muppet-gif en de screenshots (op
   uitdrukkelijk verzoek van Pieter: dat grapje/die rommeligheid blijft). */
.guide-collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  align-items: center;
  margin: 32px 0 48px;
}
.guide-collage img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.guide-collage-logo { object-fit: contain; background: var(--panel); padding: 16px; }

.criteria-list { list-style: none; padding: 0; }
.criteria-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.pick {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.pick-details { list-style: none; padding: 0; margin: 0.8em 0 0; }
.pick-details li { margin-bottom: 0.4em; color: var(--ink); }

.banner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #000;
  border-radius: 18px;
  padding: 24px;
  margin: 40px 0;
  flex-wrap: wrap;
}
.banner img { width: 140px; height: 90px; object-fit: cover; border-radius: 10px; }
.banner div { display: flex; flex-direction: column; margin-right: auto; gap: 2px; }
.banner strong { font-size: 1.1rem; color: #fff; }
.banner span { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.banner .btn-primary { background: var(--whatsapp-dark); color: #fff; }
.banner .btn-primary:hover { background: var(--whatsapp); }

/* FAQ: gecentreerde badge + titel op een grijze volle-breedte band */
.faq-section { background: #e5e5e5; padding: 56px 0; margin-top: 40px; }
.faq-header { max-width: 780px; text-align: center; }
.faq-badge {
  display: inline-block;
  background: #d4d4d8;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.faq-header h2 { margin-bottom: 8px; }
.faq-header > p { color: var(--ink-soft); margin-bottom: 40px; }
.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: left;
}
.faq-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.faq-card h4 { margin: 0 0 12px; font-size: 1.05rem; }
.faq-card p { margin: 0; color: var(--ink-soft); }

/* Legal */
.legal { padding: 64px 0; max-width: 680px; }

/* Footer */
.site-footer {
  border-top: none;
  padding: 40px 0;
  color: var(--ink);
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand img { height: 28px; width: auto; display: block; }
.footer-madewith { display: inline-flex; align-items: center; gap: 8px; }
.footer-avatar { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--whatsapp-dark); }

/* Floating taalwidget (zelfde plek/vorm als live, eigen server-routes eronder) */
.lang-widget {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 900;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  font-size: 13px;
}
.lang-widget-label { display: block; margin-bottom: 8px; opacity: 0.7; }
.lang-widget-links { display: flex; gap: 8px; }
.lang-widget-links a {
  text-decoration: none;
  padding: 6px 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 12px;
}
.lang-widget-links a.active {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  color: #fff;
}

/* Zwevende WhatsApp-knop (vervangt de betaalde Boei-chatwidget van Lindo) */
.floating-whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: var(--whatsapp-dark);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(7, 94, 84, 0.4);
  z-index: 910;
}
.floating-whatsapp:hover { background: var(--whatsapp); }

/* Focus visibility */
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--whatsapp-dark);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 860px) {
  .site-header { padding: 28px 16px; }
  .hero { padding: 40px 0; }
  .hero-inner, .closing-inner { grid-template-columns: 1fr; }
  .hero-photo img { height: auto; }
  .langs { padding: 40px 0; }
  .langs-inner { grid-template-columns: 1fr; margin-bottom: 80px; }
  .langs-photo img { height: 400px; }
  .closing-gallery img { height: 260px; }
  .closing-inner { gap: 32px; }
  .reviews-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 88%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 4px;
  }
  .review-card { scroll-snap-align: center; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-legal { justify-content: center; }

  .guide-intro-inner { grid-template-columns: 1fr; gap: 24px; }
  .guide-intro-photo img { height: 280px; }
  .guide-collage { grid-template-columns: repeat(3, 1fr); }
  .banner img { width: 100%; height: 160px; }
  .banner { flex-direction: column; align-items: stretch; text-align: center; }
  .banner div { margin-right: 0; align-items: center; }
  .faq-list { grid-template-columns: 1fr; }
}
