/* Leer Jezus Kennen — vernieuwing in de lijn van het drukwerk (okt 2026)
   Zand en navy blijven; erbij komen de poster-typografie (dunne intro, extra vette koppen) en de
   fotokaartjes met vragen. Alles onder body.ljk-nieuw, zodat het per pagina aan kan. */

/* ── Typografie zoals op de poster en de kaartjes ── */
.ljk-nieuw .hero .eyebrow,
.ljk-nieuw .page-hero .eyebrow {
  font-weight: 300;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.15;
}
.ljk-nieuw .hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
  margin-top: 10px;
}
.ljk-nieuw .sec-title { font-weight: 800; letter-spacing: -0.015em; }
.ljk-nieuw .page-hero h1 { letter-spacing: -0.015em; }

/* ── Vragen: de kaartjes die we uitdelen, met voor- en achterkant ── */
.section-vragen .sec-title { max-width: 14ch; }
.kaart--vraag {
  flex: 0 0 440px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  perspective: 1600px;
  -webkit-tap-highlight-color: transparent;
}
.kaart--vraag:nth-child(4n+1) { --r: -2deg; }
.kaart--vraag:nth-child(4n+2) { --r: 1.8deg; margin-top: 36px; }
.kaart--vraag:nth-child(4n+3) { --r: -1.2deg; margin-top: 10px; }
.kaart--vraag:nth-child(4n+4) { --r: 2.2deg; margin-top: 46px; }
.kaart-binnen {
  position: relative;
  display: block;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.3, 1.25, 0.4, 1);
}
/* Omdraaien: met de muis bij hover, op aanraakschermen en met het toetsenbord via klik/Enter */
@media (hover: hover) {
  .kaart--vraag:hover .kaart-binnen { transform: rotateY(180deg); }
}
.kaart--vraag.is-om .kaart-binnen { transform: rotateY(180deg); }
/* De schaduw draait mee met elke kant (filter op de kant, papierrand op de binnenkant);
   de vaste schaduw van .paper zou tijdens het draaien als los vlak zichtbaar blijven. */
.kaart--vraag.paper::before { display: none; }
.kaart--vraag .kaart-zijde {
  display: block;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.32)) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.22));
}
.kaart--vraag .kaart-zijde .paper-in { display: block; padding: 7px; background: var(--bg-noise-2); }
.kaart--vraag .kaart-zijde img { width: 100%; aspect-ratio: 850 / 550; object-fit: cover; }
.kaart--vraag .kaart-achter {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
}
.kaart--vraag .kaart-achter .paper-in { clip-path: var(--paper-c); }
.kaart-draai {
  position: absolute;
  right: 18px; bottom: 18px;
  z-index: 2;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-main);
  color: var(--bg-accent);
  clip-path: var(--tear-pill);
  transition: opacity 0.3s var(--ease-out), clip-path 0.45s var(--ease-out);
}
.kaart--vraag:hover .kaart-draai { clip-path: var(--tear-pill-hover); }
@media (hover: hover) {
  .kaart--vraag:hover .kaart-draai { opacity: 0; }
}
.kaart--vraag.is-om .kaart-draai { opacity: 0; }
.kaart--vraag:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
.ljk-nieuw .sec--diep .paper::before { box-shadow: 0 22px 40px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.25); }

@media (max-width: 768px) {
  .kaart--vraag { flex-basis: 280px; }
  .kaart--vraag:nth-child(4n+2) { margin-top: 18px; }
  .kaart--vraag:nth-child(4n+3) { margin-top: 6px; }
  .kaart--vraag:nth-child(4n+4) { margin-top: 24px; }
  .kaart--vraag .kaart-zijde .paper-in { padding: 5px; }
  .kaart-draai { width: 38px; height: 38px; right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .kaart-binnen { transition: none; }
}

/* ── Foto over het hele beeld (home en subpagina's), zoals op het drukwerk ── */
.ljk-nieuw {
  --creme: #fbf4ee;
  --creme-zacht: rgba(251, 244, 238, 0.84);
  --parallax-factor: 1.8;   /* versterkt [data-parallax] (ljk.js) */
}
.ljk-nieuw .hero-beeld {
  position: absolute;
  top: -22%; right: 0; bottom: 0;   /* ruimte boven voor de parallax */
  width: 64%;
  z-index: 0;
  will-change: transform;
}
.ljk-nieuw .hero-beeld picture,
.ljk-nieuw .hero-beeld img { width: 100%; height: 100%; }
.ljk-nieuw .hero-beeld img { object-fit: cover; }
.ljk-nieuw .hero-beeld::after { content: ""; position: absolute; inset: 0; }
.ljk-nieuw :is(.hero--donker, .page-hero--donker) .hero-beeld::after {
  background:
    linear-gradient(90deg, var(--bg-dark) 0%, rgba(11, 47, 74, 0.8) 16%, rgba(11, 47, 74, 0.22) 42%, rgba(11, 47, 74, 0) 62%),
    linear-gradient(0deg, rgba(11, 47, 74, 0.75) 0%, rgba(11, 47, 74, 0) 28%),
    linear-gradient(180deg, rgba(11, 47, 74, 0.5) 0%, rgba(11, 47, 74, 0) 18%);
}
.ljk-nieuw :is(.hero--licht, .page-hero--licht) .hero-beeld::after {
  background:
    linear-gradient(90deg, var(--bg-main) 0%, rgba(234, 225, 219, 0.85) 16%, rgba(234, 225, 219, 0.2) 42%, rgba(234, 225, 219, 0) 62%),
    linear-gradient(0deg, var(--bg-main) 0%, rgba(234, 225, 219, 0) 26%);
}
/* Gescheurde onderrand naar de zandkleurige tekst eronder (de lichte variant loopt al over in zand) */
.ljk-nieuw :is(.hero--donker, .page-hero--donker)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 34px;
  z-index: 2;
  background: var(--bg-main);
  clip-path: var(--tear-sec-b);
}
/* Lijntekeningen alleen aan de tekstkant, niet over de foto */
.ljk-nieuw :is(.hero--foto, .page-hero--foto) .bg .mo:nth-child(n+3):nth-child(-n+5) { display: none; }
.ljk-nieuw :is(.hero--foto, .page-hero--foto) .mo { opacity: calc(var(--o, 0.85) * 0.35); }

.ljk-nieuw :is(.hero--donker, .page-hero--donker) { background: var(--bg-dark); color: var(--creme-zacht); }
.ljk-nieuw :is(.hero--licht, .page-hero--licht) { background: var(--bg-main); }
.ljk-nieuw :is(.hero--donker, .page-hero--donker) :is(h1, .eyebrow) { color: var(--creme); }
.ljk-nieuw :is(.hero--donker, .page-hero--donker) h1 { text-shadow: 0 2px 30px rgba(11, 47, 74, 0.45); }
.ljk-nieuw :is(.hero--donker, .page-hero--donker) :focus-visible { outline-color: var(--creme); }

/* Home */
.ljk-nieuw .hero--foto {
  min-height: clamp(680px, calc(100svh - 70px), 940px);
  padding: clamp(4rem, 9vh, 7rem) 0 clamp(5rem, 10vh, 8rem);
  display: flex;
  align-items: center;
}
.ljk-nieuw .hero--foto > .wrap { width: 100%; }
.ljk-nieuw .hero--foto .hero-grid { display: block; position: relative; z-index: 1; }
.ljk-nieuw .hero--foto h1 { max-width: 7.4em; }
.ljk-nieuw .hero--foto .hero-text { max-width: 500px; margin-top: 32px; }
.ljk-nieuw .hero--donker .hero-text { color: var(--creme-zacht); text-shadow: 0 1px 14px rgba(11, 47, 74, 0.6); }
.ljk-nieuw .hero--donker .hero-text strong,
.ljk-nieuw .hero--donker .hero-text .dropcap { color: var(--creme); }
.ljk-nieuw .hero--donker .btn-cta { background: var(--bg-main); color: var(--bg-accent); }
.ljk-nieuw .hero--donker .btn-cta:hover { background: #fff; color: var(--bg-accent); }
.ljk-nieuw .hero--donker .link-arrow { color: var(--creme); border-bottom-color: rgba(251, 244, 238, 0.4); }
.ljk-nieuw .hero--donker .link-arrow:hover { border-bottom-color: var(--creme); }
.ljk-nieuw .hero--donker .hero-scroll { color: var(--creme-zacht); }
.ljk-nieuw .hero--foto .hero-scroll { position: absolute; left: 0; right: 0; bottom: 46px; margin: 0; z-index: 3; }
.ljk-nieuw .hero-quote {
  position: absolute;
  right: 25px; bottom: 8px;
  z-index: 2;
  width: 330px;
}
.ljk-nieuw .hero-quote .paper-in { padding: 24px 28px 26px; background: var(--bg-noise-2); }
.ljk-nieuw .hero-quote p { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 500; line-height: 1.4; color: var(--bg-accent); }

/* Subpagina's en artikelen */
.ljk-nieuw .page-hero--foto {
  min-height: clamp(480px, 72vh, 780px);
  padding: clamp(4rem, 9vh, 7rem) 0 clamp(4.5rem, 9vh, 7rem);
  display: flex;
  align-items: flex-end;
}
.ljk-nieuw .page-hero--foto > .wrap { width: 100%; position: relative; z-index: 1; }
.ljk-nieuw .page-hero--foto h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: 0.98; max-width: 9em; }
.ljk-nieuw .page-hero--foto .page-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.ljk-nieuw .page-hero--foto .hero-lead { width: auto; max-width: 440px; margin: 30px 0 0; }
.ljk-nieuw .page-hero--foto .hero-lead .paper-in { background: var(--bg-noise-2); }
.ljk-nieuw .page-hero--foto .hero-lead p { color: var(--bg-accent); }

@media (max-width: 960px) {
  .ljk-nieuw .hero-beeld { top: -120px; left: 0; width: 100%; }
  .ljk-nieuw :is(.hero--donker, .page-hero--donker) .hero-beeld::after {
    background: linear-gradient(180deg, rgba(11, 47, 74, 0.5) 0%, rgba(11, 47, 74, 0.1) 34%, rgba(11, 47, 74, 0) 50%, rgba(11, 47, 74, 0.75) 82%, var(--bg-dark) 100%);
  }
  .ljk-nieuw :is(.hero--licht, .page-hero--licht) .hero-beeld::after {
    background: linear-gradient(180deg, rgba(234, 225, 219, 0.55) 0%, rgba(234, 225, 219, 0) 30%, rgba(234, 225, 219, 0) 50%, rgba(234, 225, 219, 0.85) 82%, var(--bg-main) 100%);
  }
  .ljk-nieuw :is(.hero--foto, .page-hero--foto) .bg { display: none; }

  .ljk-nieuw .hero--foto { display: block; min-height: 0; padding: clamp(2.5rem, 9vw, 4rem) 0 4.5rem; }
  .ljk-nieuw .hero--foto .hero-beeld { bottom: auto; height: calc(min(158vw, 900px) + 120px); }
  .ljk-nieuw .hero--foto .hero-grid { display: flex; flex-direction: column; }
  .ljk-nieuw .hero--foto h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .ljk-nieuw .hero-quote { position: relative; right: auto; bottom: auto; order: 2; align-self: flex-end; width: min(300px, 84%); margin-top: clamp(150px, 62vw, 420px); }
  .ljk-nieuw .hero-quote .paper-in { padding: 18px 22px 20px; }
  .ljk-nieuw .hero-quote p { font-size: 1.02rem; }
  .ljk-nieuw .hero--foto .hero-text { order: 3; }
  .ljk-nieuw .hero--foto .hero-actions { order: 4; }
  .ljk-nieuw .hero--foto .hero-scroll { display: none; }

  .ljk-nieuw .page-hero--foto { min-height: min(132vw, 720px); padding-bottom: 3.5rem; }
  .ljk-nieuw .page-hero--foto .hero-beeld { bottom: 0; }
  .ljk-nieuw .page-hero--foto h1 { font-size: clamp(2.4rem, 11vw, 3.6rem); }
}
@media (prefers-reduced-motion: reduce) {
  .ljk-nieuw .hero-beeld { transform: none !important; }
}
