/* liviopotenza.com – gedeelde stijl voor beide sites */

:root,
html[data-theme="light"] {
  --bg: #FFFFFF;
  --fg: #0A0A0A;
  --muted: #575757;
  --line: #D9D9D9;
  --ph: #ECECEC;
  --field: #FFFFFF;
  --inv-bg: #0A0A0A;
  --inv-fg: #FFFFFF;
  --inv-muted: #BDBDBD;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #0A0A0A;
  --fg: #F2F2F2;
  --muted: #A6A6A6;
  --line: #2C2C2C;
  --ph: #1C1C1C;
  --field: #141414;
  --inv-bg: #F2F2F2;
  --inv-fg: #0A0A0A;
  --inv-muted: #4A4A4A;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Karla, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  transition: background-color .3s, color .3s;
}
img { max-width: 100%; height: auto; display: block; -webkit-user-drag: none; user-select: none; }
a { color: inherit; }
a:hover { opacity: .7; }
h1, h2, h3 { font-family: Archivo, system-ui, sans-serif; font-weight: 800; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; padding: 10px 16px; background: var(--fg); color: var(--bg); z-index: 50; }
.skip:focus { top: 16px; }

.wrap { max-width: 1320px; margin: 0 auto; padding-left: clamp(16px, 3vw, 40px); padding-right: clamp(16px, 3vw, 40px); }
.narrow { max-width: 920px; }
.section { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.section-tight { padding-bottom: clamp(64px, 9vw, 120px); }
.section-bottom { padding-bottom: clamp(64px, 9vw, 120px); }
.section-top { padding-top: 24px; padding-bottom: clamp(64px, 9vw, 120px); }
.rule { border-top: 1px solid var(--line); }

/* Typografie */
.display { font-size: clamp(42px, 6.4vw, 96px); line-height: .98; letter-spacing: -0.02em; }
.display-xl { font-size: clamp(52px, 8vw, 128px); line-height: .92; letter-spacing: -0.02em; }
.display-m { font-size: clamp(36px, 5vw, 72px); line-height: 1; letter-spacing: -0.02em; }
.display-s { font-size: clamp(30px, 4.2vw, 60px); line-height: 1.04; }
.h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; }
.h2.big { font-size: clamp(32px, 3.6vw, 48px); }
.h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; }
.lead-strong { font-family: Archivo, sans-serif; font-weight: 600; font-size: clamp(20px, 2vw, 26px); align-self: end; margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { font-family: Archivo, sans-serif; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.price { font-family: Archivo, sans-serif; font-weight: 600; font-size: 20px; margin: 0; }
.price.big { font-size: 24px; }
.link-caps { font-family: Archivo, sans-serif; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.prose p { max-width: 68ch; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack p { margin: 0; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  background: var(--fg); color: var(--bg); border: 1px solid var(--fg); text-decoration: none; cursor: pointer;
  font-family: Archivo, sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
}
.btn-outline { background: transparent; color: var(--fg); }
.band-inv .btn-outline { color: var(--inv-fg); border-color: var(--inv-fg); }
.btn-inv { background: var(--inv-fg); color: var(--inv-bg); border-color: var(--inv-fg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; position: relative; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--fg); }
.brand:hover { opacity: 1; }
.logo { height: 60px; width: auto; display: block; }
.brand-sub { font-family: Archivo, sans-serif; font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); padding-left: 2px; margin-top: 2px; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-family: Archivo, sans-serif; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.main-nav a { text-decoration: none; padding: 6px 0; }
.main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.theme-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--fg); border-radius: 22px; background: transparent; cursor: pointer; font-family: Archivo, sans-serif; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.theme-toggle svg { width: 16px; height: 16px; }
html[data-theme="dark"] .tt-dark, html[data-theme="light"] .tt-light { display: none; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.menu-btn svg { width: 24px; height: 24px; }

@media (max-width: 960px) {
  .logo { height: 44px; }
  .menu-btn { display: block; }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 0 16px; font-size: 16px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; }
  .theme-toggle { margin-top: 8px; }
}

/* Placeholder zonder foto */
.ph { background: var(--ph); width: 100%; height: 100%; min-height: 200px; }
.cover-img { width: 100%; height: 100%; object-fit: cover; }

/* Hero families */
.hero-fam { display: flex; flex-direction: column; gap: 32px; padding-top: 16px; padding-bottom: clamp(64px, 8vw, 96px); }
.hero-text { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; }
.hero-text h1 { flex: 1 1 520px; font-size: clamp(30px, 3.8vw, 56px); line-height: 1.05; }
.hero-text p { flex: 0 1 320px; margin: 0; }
.hero-photo { height: clamp(380px, 52vw, 680px); overflow: hidden; }

.split { display: flex; flex-wrap: wrap; gap: 32px 48px; }
.split > :first-child { flex: 1 1 300px; }
.split > :last-child { flex: 2 1 520px; }
.page-head { padding-top: 24px; padding-bottom: clamp(40px, 6vw, 72px); display: flex; flex-direction: column; gap: 20px; }
.page-head.split { flex-direction: row; }
.page-head.centered { flex-direction: column; align-items: center; text-align: center; }
.page-head.centered > * { flex: 0 1 auto; max-width: 960px; }
.page-head.centered .lead-strong { align-self: center; }
.head-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; }
.head-intro { max-width: 46ch; margin: 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 32px; }
.section-head p { margin: 0; }

/* Albumtegels */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.tile { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.tile:hover { opacity: 1; }
.tile-img { display: block; height: 320px; overflow: hidden; background: var(--ph); }
.tile-tall .tile-img { height: 420px; }
.tile-img img { transition: transform .6s ease; }
.tile:hover .tile-img img { transform: scale(1.03); }
.tile-title { font-family: Archivo, sans-serif; font-weight: 600; font-size: 20px; line-height: 1.2; }
.tile-meta { font-size: 14px; color: var(--muted); margin-top: -8px; }
@media (max-width: 700px) {
  .tile-img, .tile-tall .tile-img { height: 300px; }
}

/* Omgekeerde band */
.band-inv { background: var(--inv-bg); color: var(--inv-fg); }
.band-inv .muted { color: var(--inv-muted); }
.band-inv .ph { background: color-mix(in srgb, var(--inv-fg) 14%, var(--inv-bg)); }
.split-media { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.split-media.section-top { padding-top: 24px; align-items: flex-start; }
.split-media > * { flex: 1 1 420px; min-width: 0; }
.split-media.reverse { flex-direction: row-reverse; }
.media-tall { height: clamp(380px, 44vw, 560px); overflow: hidden; }
.media-tall.xl { height: clamp(420px, 52vw, 720px); }
.service-row { border-top: 1px solid var(--line); }
.service-row .split-media { align-items: flex-start; }

/* Diensten-kaarten */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin: 32px 0 24px; }
.card { border-top: 2px solid var(--fg); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.card:hover { opacity: 1; }
.card:hover .h3 { text-decoration: underline; text-underline-offset: 5px; }
.card p { margin: 0; }
.card ul { margin: 0; padding-left: 20px; }
.card li { margin-bottom: 4px; }
.cards.centered + .section { padding-top: 0; }
.cards.centered { margin-left: auto; margin-right: auto; }
.cards.centered .card { text-align: center; align-items: center; }
.cards.centered .card ul { padding-left: 0; list-style: none; }

/* Photobooth-teaser */
.teaser { display: flex; flex-wrap: wrap; border: 1px solid var(--fg); }
.teaser-img { flex: 1 1 420px; min-height: 360px; overflow: hidden; }
.teaser-body { flex: 1 1 420px; padding: clamp(24px, 4vw, 48px); justify-content: center; }
.hero-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; padding-top: 24px; padding-bottom: clamp(64px, 8vw, 96px); }
.hero-split > * { flex: 1 1 420px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px; margin-top: 40px; }
.review { margin: 0; }
.review blockquote { margin: 0 0 16px; font-size: 18px; line-height: 1.55; }
.review figcaption { font-family: Archivo, sans-serif; font-weight: 600; }

/* CTA */
.cta { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.cta > h2 { flex: 1 1 520px; }
.cta-side { flex: 0 1 360px; }
.cta-side .btn { width: 100%; }

/* FAQ */
.faq { margin: 32px 0; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-family: Archivo, sans-serif; font-weight: 600; font-size: 20px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Over mij */
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.promises p { margin: 0; border-top: 2px solid var(--fg); padding-top: 16px; font-family: Archivo, sans-serif; font-weight: 600; font-size: 20px; line-height: 1.3; }

/* Contact */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.steps li { border-top: 2px solid var(--fg); padding-top: 16px; }
.steps .h3 { margin: 4px 0 8px; font-size: 24px; }
.step-nr { font-family: Archivo, sans-serif; font-size: 14px; color: var(--muted); }
.contact-grid { display: flex; flex-wrap: wrap; gap: 64px; }
.contact-grid > * { flex: 1 1 420px; min-width: 0; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-family: Archivo, sans-serif; font-size: 14px; letter-spacing: .04em; }
.form input, .form select, .form textarea {
  min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); background: var(--field); color: var(--fg);
  font-family: Karla, sans-serif; font-size: 16px; border-radius: 0;
}
.form textarea { resize: vertical; }
.form [aria-invalid="true"] { border-color: #C62828; }
.field-error, .form-error { color: #D32F2F; font-family: Karla, sans-serif; font-size: 14px; }
html[data-theme="dark"] .field-error, html[data-theme="dark"] .form-error { color: #FF8A80; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border: 1px solid var(--fg); padding: 32px; }
.notice .h3 { margin-bottom: 8px; }
.tidycal-embed { min-height: 420px; }

/* Albumnavigatie */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 16px; border: 1px solid var(--line); text-decoration: none; font-family: Archivo, sans-serif; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.chip[aria-current="page"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* Fotoraster */
.masonry { column-gap: 16px; }
.masonry.cols-3 { columns: 3 300px; }
.masonry.cols-2 { columns: 2 420px; }
.m-item { display: block; margin-bottom: 16px; break-inside: avoid; cursor: zoom-in; background: var(--ph); }
.m-item:hover { opacity: .88; }
.strip-ph-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.strip-ph-grid .strip-ph { aspect-ratio: 1 / 3; height: auto; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.96); color: #FFF; display: flex; flex-direction: column; }
.lightbox[hidden] { display: none; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-family: Archivo, sans-serif; font-size: 14px; letter-spacing: .1em; }
.lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 8px 24px; }
.lb-img { flex: 1; min-width: 0; max-height: 100%; width: auto; height: 100%; object-fit: contain; }
.lb-btn { width: 48px; height: 48px; border: 0; background: transparent; color: #FFF; cursor: pointer; flex: none; display: flex; align-items: center; justify-content: center; }
.lb-btn svg { width: 28px; height: 28px; }
@media (max-width: 700px) { .lb-prev, .lb-next { display: none; } .lb-stage { padding: 0 0 16px; } }
body.lb-open { overflow: hidden; }

/* Landscapes */
.hero-full { position: relative; height: clamp(520px, 72vh, 820px); overflow: hidden; background: #1C1C1C; color: #FFF; display: flex; align-items: flex-end; }
.hero-full-img { position: absolute; inset: 0; }
.hero-full-img .ph { background: #1C1C1C; }
.hero-full-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 55%); }
.hero-full-text { position: relative; width: 100%; padding-bottom: clamp(32px, 5vw, 64px); }
.recent { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.recent-item { overflow: hidden; height: 420px; grid-column: span 4; }
.recent-item.r0 { grid-column: span 7; height: 520px; }
.recent-item.r1 { grid-column: span 5; height: 520px; }
/* Bij 4 foto's de onderste rij in twee helften, bij 3 de derde over de volle breedte */
.recent-item.r2:nth-last-child(2), .recent-item.r3:last-child { grid-column: span 6; }
.recent-item.r2:last-child { grid-column: span 12; }
@media (max-width: 700px) {
  .recent-item, .recent-item.r0, .recent-item.r1 { grid-column: span 12; height: 300px; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; font-size: 14px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }

/* Kopieermelding */
.copy-note { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; background: var(--fg); color: var(--bg); padding: 12px 18px; font-size: 14px; max-width: calc(100% - 32px); }

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

/* Label op grijze vlakken, alleen zichtbaar voor de ingelogde beheerder */
.ph-labeled { position: relative; display: flex; align-items: center; justify-content: center; }
.ph-label { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 16px; margin: 12px; border-radius: 8px; background: rgba(255,255,255,.94); color: #0A0A0A; text-align: center; font-family: Archivo, sans-serif; font-size: 14px; line-height: 1.3; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.ph-label a { color: #0A0A0A; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* Diavoorstelling bovenaan de homepage */
.slides { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--ph); touch-action: pan-y; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.slide.is-active { opacity: 1; z-index: 2; }
.slide.is-leaving { opacity: 0; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: center; }
.slides[data-zoom="1"] .slide.is-active img,
.slides[data-zoom="1"] .slide.is-leaving img { animation: slide-zoom var(--slide-ms, 7000ms) linear forwards; }
.slides.is-paused .slide img { animation-play-state: paused; }
@keyframes slide-zoom { from { transform: scale(1); } to { transform: scale(1.05); } }
.slides-ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: center; padding: 10px 12px; pointer-events: none; }
.slides-dots { display: flex; gap: 2px; pointer-events: auto; padding: 0 6px; border-radius: 14px; background: rgba(0,0,0,.28); }
.slides-dot { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.slides-dot span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); transition: background .2s, transform .2s; }
.slides-dot.is-active span { background: #FFF; transform: scale(1.25); }
.slides-pause { position: absolute; right: 12px; bottom: 10px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.35); color: #FFF; cursor: pointer; pointer-events: auto; display: flex; align-items: center; justify-content: center; }
.slides-pause svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.slides-pause .i-play { display: none; fill: currentColor; }
.slides-pause[aria-pressed="true"] .i-pause { display: none; }
.slides-pause[aria-pressed="true"] .i-play { display: block; }
.slides-dot:focus-visible, .slides-pause:focus-visible { outline: 2px solid #FFF; outline-offset: 1px; }
@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  .slides[data-zoom="1"] .slide img { animation: none !important; }
}
/* Hoofdtitel op de homepage: twee titels onder elkaar */
.title-line { display: block; }
.title-line + .title-line { font-size: .68em; line-height: 1.15; margin-top: .3em; }

/* Sectie "Welkom" op de homepage: twee staande foto's naast de tekst */
.approach { display: grid; grid-template-columns: minmax(0, 16fr) minmax(0, 27fr) minmax(0, 44fr); column-gap: clamp(24px, 4.5vw, 56px); align-items: center; padding-top: clamp(24px, 4vw, 56px); }
.approach-photo { overflow: hidden; background: var(--ph); }
.approach-photo-sm { aspect-ratio: 9 / 19; }
.approach-photo-lg { aspect-ratio: 15 / 26; }
.approach-photo .ph { min-height: 0; }
.approach-text { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; min-width: 0; }
.approach-title { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.04; letter-spacing: 0; margin: 0; }
.approach-title em { font-style: italic; }
.approach-body { color: var(--muted); max-width: 52ch; }
.approach-body p { margin: 0 0 1em; }
.approach-text > p { margin: 0; }
@media (max-width: 860px) {
  .approach { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); row-gap: 28px; }
  .approach-text { grid-column: 1 / -1; }
}
/* Portfolio: tabbladen met albumnamen, gecentreerde kop en fotoraster */
.portfolio-tabs { display: flex; justify-content: center; gap: clamp(20px, 4vw, 44px); border-bottom: 1px solid var(--line); margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.portfolio-tabs::-webkit-scrollbar { display: none; }
.portfolio-tabs a { flex: none; padding: 20px 0 16px; border-bottom: 3px solid transparent; font-family: Archivo, sans-serif; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--muted); white-space: nowrap; }
.portfolio-tabs a:hover { color: var(--fg); opacity: 1; }
.portfolio-tabs a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--fg); font-weight: 800; }
.portfolio-head { text-align: center; padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(40px, 6vw, 80px); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.portfolio-title { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; font-size: clamp(48px, 8vw, 104px); line-height: 1; letter-spacing: 0; margin: 0; }
.portfolio-intro { margin: 0; max-width: 52ch; color: var(--muted); font-size: clamp(16px, 1.4vw, 18px); }
.portfolio-gallery .masonry { column-gap: 24px; }
.portfolio-gallery .m-item { margin-bottom: 24px; }
@media (max-width: 700px) {
  .portfolio-tabs { justify-content: flex-start; }
  .portfolio-gallery .masonry { column-gap: 12px; }
  .portfolio-gallery .m-item { margin-bottom: 12px; }
}

/* Homepage: uitgelichte foto's, met hun eigen verhouding */
.featured { columns: 3 260px; column-gap: 24px; }
.feat-item { display: block; break-inside: avoid; margin-bottom: 24px; background: var(--ph); }
.feat-item img { width: 100%; height: auto; display: block; }
.feat-item:hover { opacity: .9; }
@media (max-width: 700px) { .featured { column-gap: 12px; } .feat-item { margin-bottom: 12px; } }
/* Gsm: foto's in twee kolommen */
@media (max-width: 700px) {
  .featured, .portfolio-gallery .masonry.cols-3 { columns: 2; }
}

/* Homepage: dienstenkaarten met foto */
.service-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin: 32px 0 24px; }
.service-card { position: relative; display: flex; flex-direction: column; text-decoration: none; background: color-mix(in srgb, var(--fg) 4%, var(--bg)); box-shadow: 0 1px 12px rgba(0,0,0,.05); transition: transform .2s, box-shadow .2s; }
.service-card:hover { opacity: 1; transform: translateY(-3px); box-shadow: 0 6px 22px rgba(0,0,0,.10); }
.service-card-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ph); }
.service-card-img .ph { min-height: 0; }
.service-card-body { display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 26px; flex: 1; }
.service-card-body h3 { margin: 0; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.2; }
.service-card-body p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.service-card-more { margin-top: auto; padding-top: 4px; font-family: Archivo, sans-serif; font-weight: 600; font-size: 14px; color: var(--fg); }
.service-card-more::after { content: "\25B8"; font-size: .85em; margin-left: .45em; display: inline-block; transition: transform .2s; }
.service-card:hover .service-card-more::after { transform: translateX(4px); }.service-card-link { color: inherit; text-decoration: none; }
.service-card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-card .ph-label a { position: relative; z-index: 2; }
/* Photobooth: drie losse kaders, zoals de dienstkaarten */
.cards-boxed { gap: 28px; align-items: stretch; }
.cards-boxed .card { border-top: 0; padding: 32px 28px 34px; background: color-mix(in srgb, var(--fg) 4%, var(--bg)); box-shadow: 0 1px 12px rgba(0,0,0,.05); }
/* Reviews: 3 tegelijk met pijltjes */
.reviews-head { align-items: flex-end; }
.reviews-source { margin: 6px 0 0; color: var(--muted); font-size: 15px; display: flex; align-items: center; gap: 8px; }
.g-badge { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--fg); color: var(--bg); font: 700 12px Archivo, sans-serif; }
.reviews-nav { display: flex; gap: 10px; }
.reviews-nav[hidden] { display: none; }
.rv-arrow { width: 46px; height: 46px; border: 1.5px solid var(--fg); border-radius: 50%; background: transparent; color: var(--fg); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; transition: background .15s, color .15s, opacity .15s; }
.rv-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rv-arrow:hover:not(:disabled) { background: var(--fg); color: var(--bg); }
.rv-arrow:disabled { opacity: .3; cursor: default; }
.reviews-slider { display: flex; gap: 32px; margin-top: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; outline-offset: 6px; }
.reviews-slider::-webkit-scrollbar { display: none; }
.reviews-slider .review { flex: 0 0 calc((100% - 64px) / 3); scroll-snap-align: start; padding: 28px 26px; background: color-mix(in srgb, var(--fg) 4%, var(--bg)); box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; }
.reviews-slider .review blockquote { font-size: 16px; }
.reviews-link { margin: 28px 0 0; }
@media (max-width: 1000px) { .reviews-slider .review { flex-basis: calc((100% - 32px) / 2); } }
@media (max-width: 700px) { .reviews-slider { gap: 16px; } .reviews-slider .review { flex-basis: 88%; } .rv-arrow { width: 42px; height: 42px; } }
/* Instagram-foto's */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 28px; }
.ig-item { display: block; aspect-ratio: 1; overflow: hidden; background: var(--ph); }
.ig-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.ig-item:hover { opacity: 1; }
.ig-item:hover img { transform: scale(1.05); }
@media (max-width: 1000px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .ig-grid { gap: 6px; } }
/* Contact: vier stappen als kaders, zoals de diensten */
.steps { gap: 28px; }
.steps li { border-top: 0; padding: 28px 26px 30px; background: color-mix(in srgb, var(--fg) 4%, var(--bg)); box-shadow: 0 1px 12px rgba(0,0,0,.05); }
.steps li p { margin: 0; }
/* Over mij: de drie beloftes als kaders */
.promises { gap: 28px; align-items: stretch; }
.promises p { border-top: 0; padding: 28px 26px 30px; background: color-mix(in srgb, var(--fg) 4%, var(--bg)); box-shadow: 0 1px 12px rgba(0,0,0,.05); }
/* Algemene voorwaarden */
.legal ul { margin: 0 0 1em; padding-left: 22px; }
.legal li { margin-bottom: 4px; }
.legal h2.h3 { margin-top: 1.6em; }
/* Over mij: foto van jezelf naast de afsluiter */
.closing-photo { aspect-ratio: 4 / 5; overflow: hidden; width: 100%; max-width: 380px; background: var(--ph); }
.closing-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .closing-photo { max-width: 420px; } }
/* Stille video in een lus, boven de foto (die blijft staan tot de video speelt) */
.has-video { position: relative; }
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.bg-video.is-playing { opacity: 1; }

/* ---------- Cookiemelding (Google Analytics, enkel na akkoord) ---------- */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 150; width: min(440px, calc(100% - 32px)); padding: 20px; background: var(--bg); color: var(--fg); border: 1px solid var(--line); box-shadow: 0 12px 36px rgba(0, 0, 0, .25); font-size: 15px; line-height: 1.5; }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 16px; }
.consent a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.consent-btns { display: flex; gap: 10px; }
.consent-btn { flex: 1; min-height: 44px; padding: 0 16px; border: 1px solid var(--fg); background: transparent; color: var(--fg); cursor: pointer; font-family: Archivo, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.consent-btn:hover { background: var(--fg); color: var(--bg); }
.link-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.link-btn:hover { opacity: .7; }
@media (max-width: 500px) { .consent { left: 8px; bottom: 8px; width: calc(100% - 16px); padding: 16px; } }
.consent-text p { margin: 0 0 8px; }
.consent-text a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.consent .consent-more { margin: 0 0 16px; }
