/* Paranormal Private Investigations — huisstijl afgeleid van yvonnebaank.nl */
:root {
  --bg: #0F0D0B;
  --bg-alt: #15120F;
  --card: #1C1814;
  --line: rgba(236, 228, 216, 0.10);
  --fg: #ECE4D8;
  --muted: #A99E8E;
  --gold: #C2A06B;
  --gold-hover: #D4B57F;
  --gold-soft: rgba(194, 160, 107, 0.35);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw: 1160px;
  --gutter: clamp(16px, 5vw, 64px);
  --header-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-hover); }
strong { font-weight: 600; color: var(--fg); }
p { margin: 0 0 1.1em; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 .6em;
  color: var(--fg);
}
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); }
h4 { font-size: 1.3rem; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(15, 13, 11, 0.78);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--fg); }
.brand img { height: 36px; width: auto; }
.brand span { font-family: var(--serif); font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
@media (max-width: 1080px) { .brand span { display: none; } }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.nav a { color: var(--fg); font-size: .92rem; letter-spacing: .06em; position: relative; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s; }
.nav a:hover, .nav a.active { color: var(--gold); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--fg); width: 44px; height: 44px; border-radius: 2px; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 1.5px; background: var(--gold); margin: 0 auto; position: relative; transition: transform .3s, background .3s; }
.menu-toggle span::before, .menu-toggle span::after { content: ''; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; display: none; }
  .menu-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a::after { display: none; }
}

/* ---------- Secties ---------- */
section { padding: clamp(72px, 11vw, 136px) 0; position: relative; }
section.alt { background: var(--bg-alt); }

.eyebrow { font-family: var(--sans); font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--gold); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content: ''; width: 36px; height: 1px; background: var(--gold); }

.divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 28px auto; color: var(--gold); max-width: 320px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-soft)); }
.divider::after { background: linear-gradient(90deg, var(--gold-soft), transparent); }
.divider svg { width: 14px; height: 14px; flex: none; }

.statement { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.35; color: var(--gold); font-style: italic; font-weight: 500; margin: 1.2em 0; }
.lead { font-size: 1.12rem; color: var(--fg); }
.muted { color: var(--muted); }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 40px); padding-bottom: 72px; text-align: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 45% at 50% 42%, rgba(194, 160, 107, 0.10), transparent 70%); pointer-events: none; }
.hero .logo { width: min(820px, 100%); margin: 0 auto; }
.hero .tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.45rem, 3.4vw, 2.3rem); color: var(--fg); margin: 34px 0 0; font-weight: 400; }
.hero .scroll { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 56px; color: var(--muted); font-size: .75rem; letter-spacing: .28em; text-transform: uppercase; }
.hero .scroll::after { content: ''; width: 1px; height: 48px; background: linear-gradient(var(--gold), transparent); }

/* ---------- Over PPI ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

.photo-frame { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--gold-soft); padding: 10px; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame::after { content: ''; position: absolute; inset: -12px 12px 12px -12px; border: 1px solid var(--line); z-index: -1; }

/* Tijdelijke plekken voor materiaal dat nog moet komen */
.placeholder { width: 100%; height: 100%; min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: repeating-linear-gradient(135deg, var(--card), var(--card) 12px, #201b16 12px, #201b16 24px); color: var(--muted); font-size: .9rem; text-align: center; padding: 16px; }
.placeholder b { color: var(--gold); font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.todo { color: var(--muted); font-style: italic; border-bottom: 1px dashed var(--gold-soft); }

/* ---------- Wat wij doen ---------- */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 48px; }
.service { grid-column: span 2; background: var(--card); border: 1px solid var(--line); padding: 32px 28px; position: relative; transition: border-color .3s, transform .3s; }
.service:nth-child(4) { grid-column: 2 / span 2; }
.service:hover { border-color: var(--gold-soft); transform: translateY(-3px); }
.service::before { content: ''; position: absolute; top: 0; left: 28px; width: 40px; height: 2px; background: var(--gold); }
.service h3 { font-size: 1.55rem; margin-bottom: 18px; }
.service ul { list-style: none; margin: 0; padding: 0; }
.service li { position: relative; padding: 7px 0 7px 22px; border-top: 1px solid var(--line); font-size: .96rem; line-height: 1.55; }
.service li:first-child { border-top: 0; }
.service li::before { content: ''; position: absolute; left: 2px; top: 16px; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }
@media (max-width: 1000px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service, .service:nth-child(4) { grid-column: auto; }
  .service:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .services { grid-template-columns: 1fr; }
  .service:nth-child(5) { grid-column: auto; }
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); margin-top: clamp(64px, 9vw, 110px); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team-intro { max-width: 760px; margin: 0 auto 72px; }
.member { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 5vw, 72px); padding: clamp(48px, 7vw, 80px) 0; border-top: 1px solid var(--line); align-items: start; }
.member:nth-of-type(even) { grid-template-columns: 1fr 340px; }
.member:nth-of-type(even) .member-side { order: 2; }
@media (max-width: 900px) {
  .member, .member:nth-of-type(even) { grid-template-columns: 1fr; }
  .member:nth-of-type(even) .member-side { order: 0; }
}
.member-side { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 900px) { .member-side { position: static; max-width: 420px; } }
.portrait { aspect-ratio: 4 / 5; border: 1px solid var(--gold-soft); padding: 8px; margin-bottom: 24px; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.contact-list { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.contact-list li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .label { flex: none; width: 74px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list .todo { word-break: break-word; }

.member h3 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: .15em; }
.member .role { font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; }
.member h4 { color: var(--gold); margin-top: 1.6em; }
.member ul.bullets { margin: 0 0 1.1em; padding: 0; list-style: none; }
.member ul.bullets li { position: relative; padding: 4px 0 4px 22px; }
.member ul.bullets li::before { content: ''; position: absolute; left: 2px; top: 14px; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }
.member blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 1px solid var(--gold); font-family: var(--serif); font-size: 1.4rem; font-style: italic; line-height: 1.45; color: var(--fg); }
.member blockquote strong { font-weight: 500; }

.bio-more { overflow: hidden; transition: max-height .6s ease; }
.js .bio-more { max-height: 0; }
.read-more { margin-top: 8px; background: none; border: 1px solid var(--gold-soft); color: var(--gold); font-family: var(--sans); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; padding: 12px 22px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.read-more:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.no-js .read-more { display: none; }

/* ---------- Tarieven ---------- */
.rates { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 40px 0; }
@media (max-width: 640px) { .rates { grid-template-columns: 1fr; } }
.rate { border: 1px solid var(--gold-soft); padding: 36px 28px; text-align: center; background: var(--card); }
.rate .amount { font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 3.8rem); color: var(--gold); line-height: 1; margin: 10px 0 12px; }
.rate .where { min-height: 2.8em; display: flex; align-items: flex-end; justify-content: center; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.rate .unit { font-size: .95rem; }
.notes { list-style: none; padding: 0; margin: 0 0 1em; }
.notes li { padding: 14px 0 14px 34px; border-top: 1px solid var(--line); position: relative; }
.notes li:last-child { border-bottom: 1px solid var(--line); }
.notes li::before { content: ''; position: absolute; left: 6px; top: 24px; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; text-align: left; }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }
.contact-card { background: var(--card); border: 1px solid var(--line); padding: 30px 26px; }
.contact-card h3 { font-size: 1.6rem; margin-bottom: 4px; }
.contact-card .role { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; text-align: center; background: var(--bg); }
.site-footer .emblem { width: 132px; margin: 0 auto 28px; }
.site-footer nav ul { list-style: none; margin: 0 0 22px; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; font-size: .9rem; }
.site-footer nav a { color: var(--fg); }
.site-footer nav a:hover { color: var(--gold); }
.site-footer small { color: var(--muted); font-size: .8rem; letter-spacing: .04em; }

/* ---------- Juridische pagina's ---------- */
.legal { padding-top: calc(var(--header-h) + 64px); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: .2em; }
.legal .meta { color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: clamp(1.45rem, 2.8vw, 1.8rem); color: var(--gold); margin-top: 2em; }
.legal ol, .legal ul { padding-left: 1.3em; margin: 0 0 1.1em; }
.legal li { margin-bottom: .55em; }
.legal li::marker { color: var(--gold); }
.legal .def dt { font-weight: 600; margin-top: .6em; }
.legal .def dd { margin: 0 0 .5em; }
.legal .toc { border: 1px solid var(--line); background: var(--card); padding: 22px 26px; margin-bottom: 32px; font-size: .95rem; }
.legal .toc a { margin-right: 20px; }
.legal .part { border-top: 1px solid var(--gold-soft); margin-top: 72px; padding-top: 48px; }
.back { display: inline-block; margin-top: 48px; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- Invloeien ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Tijdelijke foto's: drieluik als groepsfoto + label */
.group-photo { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; height: 100%; }
.group-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.portrait { position: relative; }
.photo-note {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  background: rgba(15, 13, 11, .82); border: 1px solid var(--gold-soft); color: var(--gold);
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; padding: 5px 12px; white-space: nowrap;
}

/* Taalkeuze rechtsboven */
.lang-switch { display: flex; align-items: center; gap: 8px; margin-left: 8px; font-size: .78rem; letter-spacing: .16em; flex: none; }
.lang-switch a { color: var(--muted); padding: 6px 2px; }
.lang-switch a:hover { color: var(--gold); }
.lang-switch .lang-current { color: var(--gold); font-weight: 600; }
.lang-switch .sep { color: var(--line); }
@media (max-width: 860px) {
  .site-header .wrap { gap: 14px; }
  .lang-switch { margin-left: auto; }
}

/* Eén tarief: gecentreerd */
.rates.single { grid-template-columns: minmax(0, 360px); justify-content: center; }
@media (max-width: 860px) {
  .lang-switch { order: 2; }
  .menu-toggle { order: 3; }
}

/* Kopbalk: menu op één regel houden (ook met de taalkeuze erbij) */
.nav a { white-space: nowrap; }
.brand span { display: none; } /* naam staat al groot in het logo op de openingspagina */
@media (max-width: 1060px) and (min-width: 861px) { .nav ul { gap: 20px; } .nav a { font-size: .86rem; } }

/* Werktijden op de contactkaarten */
.contact-card .hours { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--gold-soft); }
.contact-card .hours-title { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.contact-card .hours-list { list-style: none; margin: 0 0 8px; padding: 0; font-size: .92rem; }
.contact-card .hours-list li { padding: 2px 0; }
.contact-card .hours-table { width: 100%; border-collapse: collapse; font-size: .84rem; margin: 2px 0 10px; font-variant-numeric: tabular-nums; }
.contact-card .hours-table th, .contact-card .hours-table td { text-align: left; padding: 5px 6px 5px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.contact-card .hours-table thead th { font-weight: 500; font-size: .72rem; letter-spacing: .06em; color: var(--muted); }
.contact-card .hours-table tbody th { font-weight: 500; color: var(--fg); white-space: nowrap; }
.contact-card .hours-table td { white-space: nowrap; }
.contact-card .hours-note { font-size: .82rem; color: var(--muted); margin: 0 0 4px; line-height: 1.5; }
@media (min-width: 901px) and (max-width: 1100px) { .contact-card .hours-table { font-size: .76rem; } }

/* ---------- Sociale media ---------- */
.follow { margin-top: clamp(48px, 7vw, 72px); }
.general-mail { margin-top: clamp(40px, 6vw, 60px); }
.general-mail p:last-child { margin: 0; font-size: 1.1rem; }
.general-mail a { color: var(--fg); border-bottom: 1px solid var(--gold-soft); }
.general-mail a:hover { color: var(--gold); }
.social-list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 18px; }
.social-list a, .social-list li > span.s-icon { display: inline-flex; align-items: center; gap: 12px; }
.social-list a { border: 1px solid var(--gold-soft); padding: 12px 22px; color: var(--fg); font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; transition: border-color .2s, color .2s, background .2s; }
.social-list a:hover { border-color: var(--gold); color: var(--gold); background: rgba(194, 160, 107, .06); }
.social-list .s-icon { display: inline-flex; width: 20px; height: 20px; color: var(--gold); }
.social-list .s-icon svg, .social-icons .s-icon svg { width: 100%; height: 100%; }
.social-icons { list-style: none; margin: 0 0 22px; padding: 0; display: flex; justify-content: center; gap: 22px; }
.social-icons a { display: inline-flex; color: var(--muted); padding: 6px; transition: color .2s; }
.social-icons a:hover { color: var(--gold); }
.social-icons .s-icon { display: inline-flex; width: 20px; height: 20px; }
