/* BDSMforyou – design system.
   Kleuren uit het logo: diep zwart, warm brons-goud, ivoor voor tekst.
   Mobile-first: eerst telefoon, daarna tablet (48rem) en desktop (64rem). */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: italic; font-display: swap; src: url(/assets/fonts/inter-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url(/assets/fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 600; font-style: normal; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 600; font-style: italic; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-600-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 700; font-style: normal; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-700-normal.woff2) format("woff2"); }

:root {
  --ink: #0b0a09;
  --panel: #151210;
  --panel-2: #1d1916;
  --line: #2f2822;
  --ivory: #f1e8dc;
  --text: #e6dccf;
  --muted: #ab9d8d;
  --gold: #d6a064;
  --gold-hi: #f0c48e;
  --gold-lo: #9a6130;
  --gold-grad: linear-gradient(135deg, #f3cf9c 0%, #d6a064 45%, #9a6130 100%);
  --radius: 14px;
  --radius-sm: 8px;
  --read: 44rem;
  --wide: 76rem;
  --gutter: 1rem;
  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1.0625rem/1.75 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--panel); padding: 0.5rem 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- kopbalk ---------- */
.site-head {
  position: sticky; top: 0; z-index: 30;
  background: rgba(11, 10, 9, 0.92);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; gap: 0.75rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; margin-right: auto; flex-shrink: 0; }
.head-actions { flex-shrink: 0; }
.brand img { width: 44px; height: 44px; }
.wordmark {
  font: 600 1.35rem/1 var(--sans); letter-spacing: -0.01em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wordmark span { font-weight: 400; }
.head-actions { display: flex; align-items: center; gap: 0.4rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--ivory);
  cursor: pointer; text-decoration: none; font: 600 0.8rem var(--sans);
}
.icon-btn:hover { border-color: var(--gold-lo); color: var(--gold-hi); }
.icon-btn svg { width: 1.2rem; height: 1.2rem; }
.btn-petje {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 0.9rem; border-radius: 999px;
  background: var(--gold-grad); color: #1a1008; font: 600 0.9rem/1 var(--sans); text-decoration: none; white-space: nowrap;
}
.btn-petje:hover { color: #000; filter: brightness(1.08); }
.btn-petje .long { display: none; }
/* Telefoon: compacte kopbalk. De taalwissel staat dan in het menu. */
@media (max-width: 47.99rem) {
  .head-row { gap: 0.35rem; }
  .brand img { width: 38px; height: 38px; }
  .wordmark { font-size: 1.15rem; }
  .icon-btn { width: 2.5rem; height: 2.5rem; }
  .lang-btn { display: none; }
  .btn-petje { padding: 0.5rem 0.75rem; font-size: 0.85rem; }
}
@media (max-width: 23.4rem) { .wordmark { display: none; } }

/* Hoofdmenu: op telefoon een uitschuifpaneel, vanaf desktop een balk met uitklapmenu. */
.nav-toggle[aria-expanded="true"] .i-open, .nav-toggle[aria-expanded="false"] .i-close { display: none; }
.main-nav { display: none; border-top: 1px solid var(--line); padding: 0.5rem 0 1.25rem; max-height: calc(100dvh - 4rem); overflow-y: auto; }
.main-nav.open { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li > a, .main-nav summary {
  display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 0.25rem;
  color: var(--ivory); text-decoration: none; font-weight: 600; cursor: pointer; border-bottom: 1px solid var(--line);
}
.main-nav summary::-webkit-details-marker { display: none; }
.main-nav summary::after { content: "+"; color: var(--gold); font-size: 1.2rem; }
.main-nav details[open] summary::after { content: "–"; }
.mega { padding: 0.5rem 0 1rem; display: grid; gap: 1rem; }
.mega h3 { margin: 0.5rem 0 0.25rem; font: 600 0.75rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.mega a { display: block; padding: 0.35rem 0; color: var(--text); text-decoration: none; }
.mega a:hover { color: var(--gold-hi); }
.mega .all { color: var(--gold); font-weight: 600; }
.nav-extra { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 1rem; }
.nav-extra a { color: var(--muted); font-size: 0.9rem; }

@media (min-width: 64rem) {
  .nav-toggle { display: none; }
  .main-nav { display: block; border: 0; padding: 0; max-height: none; overflow: visible; }
  .main-nav > ul { display: flex; gap: 0.25rem; align-items: center; }
  .main-nav > ul > li { position: relative; }
  .main-nav > ul > li > a, .main-nav summary { border: 0; padding: 0.5rem 0.7rem; font-size: 0.95rem; border-radius: 999px; }
  .main-nav > ul > li > a:hover, .main-nav summary:hover { background: var(--panel-2); }
  .main-nav summary::after { content: "▾"; font-size: 0.75rem; margin-left: 0.35rem; }
  .main-nav details[open] summary::after { content: "▴"; }
  .mega {
    position: fixed; left: 50%; transform: translateX(-50%); top: 4.1rem; width: min(100vw - 2rem, 60rem);
    grid-template-columns: 1.25fr repeat(4, 1fr); padding: 1.5rem; width: min(100vw - 2rem, 74rem); background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  }
  .nav-extra { display: none; }
  .head-row { gap: 0.75rem; }
  .main-nav > ul { gap: 0; }
  .main-nav > ul > li > a, .main-nav summary { padding: 0.5rem 0.55rem; white-space: nowrap; }
}
@media (min-width: 92rem) {
  .btn-petje .long { display: inline; }
  .main-nav > ul > li > a, .main-nav summary { padding: 0.5rem 0.75rem; }
}

/* ---------- zoeken ---------- */
.search-panel { display: none; padding: 0.75rem 0 1rem; border-top: 1px solid var(--line); }
.search-panel.open { display: block; }
.search-form { display: flex; gap: 0.5rem; }
.search-form input {
  flex: 1; min-width: 0; padding: 0.75rem 1rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--panel); color: var(--ivory); font: inherit;
}
.search-form input:focus { outline: none; border-color: var(--gold); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.75rem 1.2rem; border-radius: 999px;
  border: 1px solid var(--gold-lo); background: transparent; color: var(--gold-hi); font: 600 0.95rem/1 var(--sans);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:hover, .btn:focus-visible { background: rgba(214, 160, 100, 0.16); border-color: var(--gold); color: var(--ivory); box-shadow: 0 0 0 1px rgba(214, 160, 100, 0.35), 0 4px 14px rgba(214, 160, 100, 0.18); }
.btn-primary { background: var(--gold-grad); color: #1a1008; border: 0; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--gold-grad); color: #000; filter: brightness(1.08); box-shadow: 0 4px 16px rgba(214, 160, 100, 0.3); }

/* ---------- broodkruimels ---------- */
.crumbs { font-size: 0.85rem; color: var(--muted); margin: 1.25rem 0 0.5rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 0.35rem; color: var(--gold-lo); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-hi); }

/* ---------- artikel ---------- */
.article { width: min(100% - 2 * var(--gutter), var(--read)); margin: 0 auto 4rem; }
.kicker { display: inline-block; font: 600 0.75rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); text-decoration: none; margin-bottom: 0.75rem; }
h1, h2, h3, h4, h5 { font-family: var(--serif); color: var(--ivory); line-height: 1.15; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6vw, 3.2rem); margin: 0 0 1rem; letter-spacing: -0.01em; }
.prose h2 { font-size: clamp(1.6rem, 4.5vw, 2.1rem); margin: 2.6rem 0 0.8rem; }
.prose h3 { font-size: clamp(1.35rem, 3.6vw, 1.6rem); margin: 2rem 0 0.6rem; }
.prose h4 { font-size: 1.25rem; margin: 1.6rem 0 0.5rem; }
.prose h5 { font: 600 1rem/1.4 var(--sans); letter-spacing: 0.02em; margin: 1.4rem 0 0.4rem; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure, .prose .table-scroll, .prose dl, .prose .tiles, .prose .faq, .prose .box, .prose .video, .prose .columns { margin: 0 0 1.35rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin: 0.3rem 0; }
.prose li > p { margin: 0; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--ivory); font-weight: 600; }
.prose blockquote { border-left: 3px solid var(--gold); padding: 0.25rem 0 0.25rem 1.1rem; color: var(--ivory); font-style: italic; }
.prose blockquote p:last-child { margin-bottom: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.meta a { color: var(--muted); }
.lede-img { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.lede-img img { display: block; width: 100%; }
figure.img { margin-inline: 0; }
figure.img img { border-radius: var(--radius-sm); display: block; margin-inline: auto; }
figcaption { font-size: 0.85rem; color: var(--muted); text-align: center; margin-top: 0.5rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.25rem 0; }
hr.brand { height: 2px; border: 0; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent); opacity: 0.8; }

/* Inhoudsopgave */
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.25rem 1.1rem; margin: 0 0 2rem; }
.toc summary { cursor: pointer; padding: 0.75rem 0; font-weight: 600; color: var(--ivory); }
.toc ol { margin: 0 0 1rem; padding-left: 1.2rem; font-size: 0.95rem; }
.toc li.l3 { margin-left: 1rem; list-style: circle; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--gold-hi); }

/* Tabellen: horizontaal schuiven op smalle schermen, niets wordt weggelaten. */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 30rem; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line); }
th { background: var(--panel-2); color: var(--ivory); font-weight: 600; }
tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); }

/* Infoblok (feiten) en scoreblok (reviews) */
dl.info { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.4rem 1.1rem; }
dl.info > div { display: grid; gap: 0.1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
dl.info > div:last-child { border-bottom: 0; }
dl.info dt { font: 600 0.78rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
dl.info dd { margin: 0; color: var(--ivory); }
@media (min-width: 36rem) { dl.info > div { grid-template-columns: 11rem 1fr; gap: 1rem; } dl.info dt { padding-top: 0.2rem; } }
dl.score { border-color: var(--gold-lo); }
.stars { color: var(--gold); letter-spacing: 0.1em; margin-right: 0.5rem; white-space: nowrap; }
.stars .off { color: var(--line); }
.note { color: var(--text); }

/* Tegels en kaders */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 40rem) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; text-decoration: none; color: var(--ivory); }
a.tile:hover { border-color: var(--gold-lo); }
.tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.tile-title { padding: 0.6rem 0.75rem; font-size: 0.92rem; line-height: 1.35; font-weight: 600; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.1rem 0.1rem; }
.box figure.img img { max-width: 220px; }
.columns { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .columns { grid-template-columns: repeat(2, 1fr); } }

/* FAQ / uitklapblokken */
.faq { display: grid; gap: 0.5rem; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { cursor: pointer; padding: 0.85rem 2.5rem 0.85rem 1rem; font-weight: 600; color: var(--ivory); position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1rem; top: 0.7rem; color: var(--gold); font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 1rem 0.25rem; }

/* Tooltip */
.tip { border-bottom: 1px dashed var(--gold); cursor: help; position: relative; color: var(--ivory); }
.tip-box {
  display: none; position: absolute; left: 0; bottom: calc(100% + 0.5rem); z-index: 5; width: min(20rem, 80vw);
  background: var(--panel-2); border: 1px solid var(--gold-lo); border-radius: var(--radius-sm); padding: 0.75rem; font-size: 0.9rem; line-height: 1.5; color: var(--text);
}
.tip:hover .tip-box, .tip:focus .tip-box { display: block; }

/* Video (laadt pas na klikken) */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-play { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; }
.video-play img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.video .play { position: absolute; inset: 0; margin: auto; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--gold-grad); }
.video .play::after { content: ""; position: absolute; left: 1.8rem; top: 1.35rem; border-left: 1.4rem solid #1a1008; border-top: 0.9rem solid transparent; border-bottom: 0.9rem solid transparent; }
.video iframe { width: 100%; height: 100%; border: 0; }

/* Tags, vertaling, gerelateerd */
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 2.5rem 0 1rem; padding: 0; list-style: none; }
.tags a { display: inline-block; padding: 0.3rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; color: var(--text); text-decoration: none; }
.tags a:hover { border-color: var(--gold-lo); color: var(--gold-hi); }
.translation { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1.1rem; margin: 1.5rem 0; font-size: 0.95rem; }
.related { margin-top: 3rem; }
.related h2 { font-size: 1.7rem; margin-bottom: 1rem; }

/* ---------- kaarten en overzichten ---------- */
.page-head { width: min(100% - 2 * var(--gutter), var(--wide)); margin: 0 auto 1.5rem; }
.page-head p { color: var(--muted); max-width: 42rem; }
.cards { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: border-color 0.15s, transform 0.15s; }
.card:hover { border-color: var(--gold-lo); transform: translateY(-2px); color: var(--text); }
.card-img { aspect-ratio: 3 / 2; background: var(--panel-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.card-kicker { font: 600 0.72rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.card h2, .card h3 { font-size: 1.4rem; margin: 0; color: var(--ivory); }
.card p { margin: 0; font-size: 0.93rem; line-height: 1.6; color: var(--muted); }
.card-date { margin-top: auto; padding-top: 0.5rem; font-size: 0.8rem; color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin: 2.5rem 0; }
.pager a, .pager span { min-width: 2.75rem; height: 2.75rem; display: inline-grid; place-items: center; padding: 0 0.8rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.pager a:hover { border-color: var(--gold-lo); }
.pager [aria-current] { background: var(--gold-grad); color: #1a1008; border: 0; font-weight: 600; }
.subcats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.subcats a { display: inline-block; padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 0.9rem; }
.subcats a:hover { border-color: var(--gold-lo); }

/* ---------- homepage ---------- */
.hero { padding: 2.5rem 0 1.5rem; text-align: center; }
.hero h1 { font-size: clamp(2.3rem, 7vw, 3.8rem); margin-bottom: 0.75rem; }
.hero h1 em { font-style: italic; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); max-width: 38rem; margin: 0 auto 1.5rem; font-size: 1.1rem; }
.hero .search-form { max-width: 34rem; margin: 0 auto; }
.section { margin: 3rem auto; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin: 0; }
.topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 40rem) { .topics { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64rem) { .topics { grid-template-columns: repeat(4, 1fr); } }
.topic { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); text-decoration: none; }
.topic img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: opacity 0.2s, transform 0.3s; }
.topic:hover img { opacity: 0.75; transform: scale(1.03); }
.topic span { position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.7rem; font: 600 1.25rem/1.15 var(--serif); color: var(--ivory); text-shadow: 0 2px 10px #000; }
.home-text { width: min(100% - 2 * var(--gutter), var(--read)); margin: 4rem auto; }

/* ---------- voet ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--panel); margin-top: 4rem; padding: 2.5rem 0 1.5rem; font-size: 0.92rem; }
.foot-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-foot h2 { font: 600 0.78rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.75rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 0.35rem 0; }
.site-foot a { color: var(--text); text-decoration: none; }
.site-foot a:hover { color: var(--gold-hi); }
.foot-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }

/* ---------- 18+-vraag ---------- */
.age-gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; background: rgba(5, 4, 3, 0.96); }
.age-gate[hidden] { display: none; }
.age-card { max-width: 28rem; text-align: center; background: var(--panel); border: 1px solid var(--gold-lo); border-radius: var(--radius); padding: 2rem 1.5rem; }
.age-card img { width: 72px; height: 72px; }
.age-card h2 { font-size: 1.8rem; margin: 0.5rem 0; }
.age-card p { color: var(--muted); }
.age-actions { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin-top: 1.25rem; }

/* Interactief onderdeel uit WordPress (tijdelijk) */
.legacy { background: #fff; color: #222; border-radius: var(--radius); padding: 1rem; overflow-x: auto; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media print {
  .site-head, .site-foot, .toc, .related, .age-gate, .tags { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}

/* ---------- coaching: het belangrijkste aanbod ---------- */
.nav-accent { color: var(--gold-hi) !important; }
.mega-highlight { background: linear-gradient(160deg, rgba(214, 160, 100, 0.14), rgba(214, 160, 100, 0.03)); border: 1px solid var(--gold-lo); border-radius: var(--radius-sm); padding: 0.5rem 0.9rem 0.75rem; }
.mega-highlight h3 { color: var(--gold) !important; }
.cta-kicker { font: 600 0.75rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0 0 0.5rem; }
.cta { margin: 2.5rem 0; padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--gold-lo); background: linear-gradient(160deg, rgba(214, 160, 100, 0.16), rgba(21, 18, 16, 0.9) 60%); }
.cta h2 { font-size: clamp(1.6rem, 4vw, 2rem); margin: 0 0 0.5rem; }
.cta p { margin: 0 0 1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.coaching { display: grid; gap: 1.5rem; padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--gold-lo); background: linear-gradient(160deg, rgba(214, 160, 100, 0.14), rgba(21, 18, 16, 0.6) 55%); }
.coaching-intro h2 { font-size: clamp(1.8rem, 4.5vw, 2.4rem); margin: 0 0 0.75rem; }
.coaching-intro p { color: var(--text); max-width: 38rem; }
.coaching-cards { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .coaching-cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64rem) { .coaching { grid-template-columns: 1fr 2.2fr; align-items: center; } }
.card-more { margin-top: auto; padding-top: 0.5rem; color: var(--gold); font-weight: 600; font-size: 0.9rem; }
.more-wrap { text-align: center; margin: 1.75rem 0 0; }
[aria-busy="true"] { opacity: 0.6; pointer-events: none; }

/* ---------- woordenboek: letterbalk ---------- */
.letters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 2rem; }
.letters a {
  display: inline-grid; place-items: center; min-width: 2.9rem; height: 2.9rem; padding: 0 0.5rem; border-radius: var(--radius-sm);
  background: var(--panel); border: 1px solid var(--line); color: var(--ivory); font: 700 1.5rem/1 var(--serif); text-decoration: none;
}
.letters a:hover, .letters a:focus-visible { background: var(--gold-grad); color: #1a1008; border-color: transparent; }
.prose h2[id]:is([id="0"], [id="A"], [id="B"], [id="C"], [id="D"], [id="E"], [id="F"], [id="G"], [id="H"], [id="I"], [id="J"], [id="K"], [id="L"], [id="M"], [id="N"], [id="O"], [id="P"], [id="Q"], [id="R"], [id="S"], [id="T"], [id="U"], [id="V"], [id="W"], [id="X"], [id="Y"], [id="Z"]) {
  font-size: 2.6rem; color: var(--gold); border-bottom: 1px solid var(--line); padding-bottom: 0.25rem;
}

/* ---------- handtekening ---------- */
@font-face { font-family: "Great Vibes"; font-weight: 400; font-display: swap; src: url(/assets/fonts/great-vibes-latin-400-normal.woff2) format("woff2"); }
.prose .signature { font: 400 2.6rem/1.2 "Great Vibes", "Segoe Script", cursive; color: #fff; margin: 1.5rem 0 2rem; }

/* ---------- link "Aanpassen" (alleen voor de eigenaar) ---------- */
.edit-link {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50; padding: 0.7rem 1.1rem; border-radius: 999px;
  background: var(--gold-grad); color: #1a1008; font: 600 0.95rem/1 var(--sans); text-decoration: none; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
.edit-link:hover { color: #000; }

/* Paginanummering: begin en einde altijd zichtbaar. */
.pager .pager-end { padding: 0 1rem; }
.pager [aria-disabled="true"] { opacity: 0.4; }
.pager .gap { border: 0; min-width: 1.5rem; }
.more-wrap + .pager { margin-top: 1.25rem; }

/* Laptopbreedte (1024–1311 px): compact menu, alleen het hart als logo, zodat alles past. */
@media (min-width: 64rem) and (max-width: 81.99rem) {
  .head-row .wordmark { display: none; }
  .head-row { gap: 0.5rem; }
  .main-nav > ul > li > a, .main-nav summary { padding: 0.45rem 0.45rem; font-size: 0.9rem; }
  .main-nav summary::after { margin-left: 0.2rem; }
  .head-actions { gap: 0.3rem; }
  .btn-petje { padding: 0.5rem 0.75rem; }
}

/* Petje af-knop: vanaf laptopbreedte een blokje op twee regels ("Steun ons" / "via Petje af"). */
.btn-petje .p1 { display: inline-flex; align-items: center; gap: 0.4rem; }
@media (min-width: 64rem) {
  .head-row { min-height: 4.75rem; }
  .btn-petje { flex-direction: column; align-items: center; gap: 0.2rem; padding: 0.55rem 0.9rem; border-radius: var(--radius-sm); line-height: 1.1; }
  .btn-petje .long { display: block !important; font-size: 0.75rem; font-weight: 600; opacity: 0.85; }
  .mega { top: 4.85rem; }
  html { scroll-padding-top: 6rem; }
}

/* Logo gecentreerd boven de kop van de homepage. */
.hero-logo { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; margin: 0 auto 1.25rem; }
.hero-logo img { width: clamp(110px, 22vw, 160px); height: auto; }
.hero-logo .wordmark { display: inline-block !important; font-size: clamp(1.6rem, 4.5vw, 2.3rem); }

/* Externe link in het menu (webshop): klein pijltje. */
.main-nav .ext { font-size: 0.75em; margin-left: 0.2rem; color: var(--gold); }
@media (min-width: 64rem) and (max-width: 81.99rem) {
  .main-nav > ul > li > a, .main-nav summary { padding: 0.45rem 0.34rem; font-size: 0.85rem; }
  .head-actions .icon-btn { width: 2.4rem; height: 2.4rem; }
  .btn-petje { padding: 0.45rem 0.65rem; }
}

/* Social media-iconen in de voet: klein en goud. */
.socials { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.socials a { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 1px solid var(--gold-lo); color: var(--gold); transition: color 0.15s, border-color 0.15s, background 0.15s; }
.socials a:hover, .socials a:focus-visible { color: #1a1008; background: var(--gold-grad); border-color: transparent; }

/* Vaag getoonde foto's (naakt): pas scherp na een klik. */
.sensitive { position: relative; overflow: hidden; border-radius: var(--radius-sm); }
.sensitive img { filter: blur(28px) brightness(0.7); transform: scale(1.08); transition: filter 0.35s, transform 0.35s; }
.sensitive.shown img { filter: none; transform: none; }
.sensitive .reveal { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; border: 0; background: transparent; cursor: pointer; padding: 1rem; }
.sensitive .reveal span { background: rgba(11, 10, 9, 0.8); border: 1px solid var(--gold-lo); color: var(--ivory); padding: 0.6rem 1rem; border-radius: 999px; font: 600 0.9rem/1.3 var(--sans); text-align: center; }
.sensitive .reveal:hover span { border-color: var(--gold); color: var(--gold-hi); }
img[data-blur] { filter: blur(22px) brightness(0.7); }
.card-img, .tile { overflow: hidden; }

/* Evenementenkalender (blok eventCalendar, lib/events.ts) */
.prose .events { margin: 0 0 1.5rem; }
.prose .events-month { color: var(--gold-hi); margin: 2rem 0 0.75rem; }
.prose .event-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.6rem; }
.prose .event { display: grid; grid-template-columns: 3.4rem 1fr auto; gap: 0.9rem; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.8rem 1rem; }
.prose .event-date { display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: var(--radius-sm); background: var(--panel-2); border: 1px solid var(--line); padding: 0.35rem 0; line-height: 1.1; }
.prose .event-date .d { font: 600 1.45rem/1 var(--serif); color: var(--gold-hi); }
.prose .event-date .m { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.prose .event-body { min-width: 0; }
.prose .event-title { font: 600 1.05rem/1.35 var(--sans); margin: 0 0 0.15rem; color: var(--ivory); }
.prose .event-body p { margin: 0; font-size: 0.93rem; line-height: 1.5; }
.prose .event-when { color: var(--text); }
.prose .event-where, .prose .event-note { color: var(--muted); }
.prose .event-link { white-space: nowrap; font-size: 0.88rem; padding: 0.45rem 0.8rem; }
.prose .events-empty { color: var(--muted); font-style: italic; }
@media (max-width: 40rem) {
  .prose .event { grid-template-columns: 3rem 1fr; }
  .prose .event-link { grid-column: 2; justify-self: start; }
}

/* Boekenhoek (blok book, lib/books.ts) */
.prose .bookshelf { display: grid; gap: 1rem; margin: 0 0 2rem; }
.prose .book { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1.25rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.prose .book-cover { align-self: start; }
.prose .book-cover img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45); display: block; }
.prose .book-body { min-width: 0; }
.prose .book-title { font: 600 1.35rem/1.25 var(--serif); color: var(--ivory); margin: 0 0 0.2rem; }
.prose .book-format { display: inline-block; margin: 0 0 0.4rem; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-lo); border-radius: 999px; padding: 0.05rem 0.55rem; }
.prose .book-meta { color: var(--muted); font-size: 0.88rem; margin: 0 0 0.6rem; }
.prose .book-body p { font-size: 0.97rem; margin: 0 0 0.7rem; }
.prose .book-more { margin: 0 0 0.7rem; }
.prose .book-more summary { cursor: pointer; color: var(--gold-hi); font-size: 0.92rem; margin-bottom: 0.5rem; }
.prose .book-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }
@media (max-width: 34rem) {
  .prose .book { grid-template-columns: 6.5rem 1fr; gap: 0.9rem; padding: 0.9rem; }
  .prose .book-title { font-size: 1.15rem; }
}

/* Nieuwsbrief */
.newsletter-form { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.newsletter-form input[type="text"], .newsletter-form input[type="email"] { flex: 1 1 12rem; min-width: 0; padding: 0.7rem 0.9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--ivory); font: inherit; }
.newsletter-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.foot-news { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.5rem; align-items: center; padding: 1.25rem 1.4rem; margin-bottom: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.foot-news h2 { margin: 0 0 0.25rem; }
.foot-news p { margin: 0; color: var(--muted); }
.foot-news .newsletter-form { margin: 0; }
@media (max-width: 48rem) { .foot-news { grid-template-columns: 1fr; gap: 0.75rem; } }

/* BDSMforyou-account: inloggen en Mijn BDSMforyou (routes/account.ts). */
.account-box { max-width: 34rem; margin: 0 auto; }
.account-box h2 { margin-top: 2.2rem; font-size: 1.5rem; }
.account-form { display: flex; flex-direction: column; gap: 0.6rem; margin: 1.2rem 0; }
.account-form.inline { gap: 0.5rem; }
.account-form label { font-size: 0.9rem; color: var(--muted); }
.account-form input[type="email"], .account-form input[inputmode], .account-form select { padding: 0.75rem 0.95rem; border-radius: 0.7rem; border: 1px solid var(--line); background: var(--panel); color: var(--ivory); font: inherit; }
.account-form input:focus, .account-form select:focus { outline: none; border-color: var(--gold); }
.account-form input[inputmode] { font-size: 1.4rem; letter-spacing: 0.3em; text-align: center; max-width: 12rem; }
.account-form .btn { align-self: flex-start; }
.account-consent { border: 1px solid var(--line); border-radius: 0.7rem; padding: 0.8rem 1rem; margin: 0.4rem 0; display: flex; flex-direction: column; gap: 0.5rem; }
.account-consent legend { padding: 0 0.3rem; font-size: 0.9rem; color: var(--ivory); }
.account-check { display: flex; gap: 0.55rem; align-items: flex-start; color: var(--text) !important; font-size: 0.95rem !important; }
.account-check input { margin-top: 0.3rem; accent-color: var(--gold); }
.account-error { color: #f0a07a; }
.account-notice { border: 1px dashed var(--gold-lo); border-radius: 0.6rem; padding: 0.6rem 0.8rem; }
.account-tiles { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); margin: 1rem 0; }
.account-tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; background: var(--panel); display: flex; flex-direction: column; gap: 0.5rem; }
.account-tile.owned { border-color: var(--gold-lo); }
.account-renewal { border-top: 1px solid var(--line); margin-top: 0.5rem; padding-top: 0.75rem; }
.account-code { font-family: ui-monospace, Consolas, monospace; font-size: 1.05rem; letter-spacing: 0.08em; padding: 0.3rem 0.6rem; border: 1px solid var(--gold-lo); border-radius: 6px; user-select: all; }
.account-tile h3 { margin: 0; font-size: 1.3rem; color: var(--ivory); }
.account-tile .btn { align-self: flex-start; margin-top: auto; }
.account-devices { list-style: none; padding: 0; margin: 0.8rem 0 1.2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.account-devices li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 0.6rem; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* Online trainingen als app-iconen op de homepage (onder de zoekbalk). */
.online-trainings { margin: 2.25rem auto 0; }
.online-trainings h2 { color: #fff; font: 600 0.8rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 1rem; }
.app-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 1.75rem; }
.app-icon { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; width: 6.5rem; color: var(--ivory); text-decoration: none; font-size: 0.9rem; line-height: 1.25; }
.app-icon img { width: 76px; height: 76px; border-radius: 22%; box-shadow: 0 10px 28px -12px rgba(214, 160, 100, 0.55); transition: transform 0.15s, box-shadow 0.15s; }
.app-icon:hover img, .app-icon:focus-visible img { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 32px -10px rgba(214, 160, 100, 0.7); }
.app-icon:hover span { color: var(--gold-hi, #f3cf9c); }

/* ---------- Oproepjes ---------- */
.ads-actions { margin: 1rem 0 1.4rem; }
.ads-filter { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: flex-end; margin: 0 0 1.2rem; }
.ads-filter label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.85rem; color: var(--muted); }
.ads-filter select { min-width: 12rem; }
.ads-cards { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.ad-card .card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.ad-card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.ad-title { font: 600 1.25rem/1.25 var(--serif); margin: 0; color: var(--ivory); }
.ad-blur img { filter: blur(6px); transform: scale(1.06); }
.ad-photos { display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); margin: 1rem 0 1.4rem; }
.ad-photo { position: relative; display: block; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); cursor: pointer; aspect-ratio: 3 / 4; }
.ad-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-photo.shown { cursor: default; aspect-ratio: auto; }
.ad-photo.shown img { height: auto; object-fit: contain; }
.ad-reveal { position: absolute; inset: auto 0.6rem 0.6rem; background: rgba(11, 10, 9, 0.8); color: var(--gold-hi); border-radius: var(--radius-sm); padding: 0.35rem 0.6rem; font-size: 0.85rem; text-align: center; }
.ad-photo.shown .ad-reveal { display: none; }
.ad-photos-edit { grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); margin: 0.2rem 0 0.4rem; }
.ad-photo-keep { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; }
.ad-photo-keep img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); }
.ad-picked .btn { padding: 0.35rem 0.8rem; font-size: 0.85rem; align-self: flex-start; }
.ad-form textarea, .ad-form input[type="text"], .ad-form input:not([type]) { width: 100%; }
.ad-rules summary { cursor: pointer; list-style: none; }
.ad-rules summary h2 { display: inline; }
.ad-rules summary::after { content: " ▾"; color: var(--gold); }
.ad-rules[open] summary::after { content: " ▴"; }
.prose .ad-subhead { color: var(--gold); margin: 1.8rem 0 0.5rem; }
.prose .ad-subhead:first-child { margin-top: 0.4rem; }
.ad-report { margin-top: 1.2rem; }
.ad-report summary { cursor: pointer; color: var(--muted); font-size: 0.9rem; }
.account-form input.ad-sum { max-width: 6rem; letter-spacing: normal; font-size: 1.1rem; }
.ads-pager { display: flex; gap: 1rem; align-items: center; justify-content: center; margin: 1.5rem 0; }
.ads-disclaimer { margin-top: 2rem; }
.row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
form.inline { display: inline; }
.ads-hero { margin: 0.4rem 0 1.4rem; }
.ads-hero img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.ads-filter select, .ad-form input:not([type="checkbox"]):not([type="file"]), .ad-form textarea, .ads-page .account-form textarea { padding: 0.65rem 0.85rem; border-radius: 0.7rem; border: 1px solid var(--line); background: var(--panel); color: var(--ivory); font: inherit; }
.ads-filter select:focus, .ad-form input:focus, .ads-page textarea:focus { outline: none; border-color: var(--gold); }
.ads-page .account-form textarea { width: 100%; resize: vertical; }
.ad-form input[type="file"] { color: var(--muted); }
@media (max-width: 30rem) { .ads-filter label, .ads-filter select { width: 100%; min-width: 0; } }
.ad-counter { margin: -0.3rem 0 0.2rem; }
.ad-counter-ok { color: var(--gold); }

/* Strook met de online trainingen/apps onder de kopbalk (alle pagina's behalve de homepage). */
.app-strip { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(214, 160, 100, 0.06), transparent); }
.app-strip .wrap { display: flex; align-items: center; justify-content: center; gap: 0.4rem 1.4rem; flex-wrap: wrap; padding-top: 0.45rem; padding-bottom: 0.45rem; }
.app-strip-label { color: var(--muted); font: 600 0.7rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.app-strip a { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--ivory); text-decoration: none; font-size: 0.86rem; white-space: nowrap; }
.app-strip a img { width: 28px; height: 28px; border-radius: 22%; box-shadow: 0 4px 12px -6px rgba(214, 160, 100, 0.6); transition: transform 0.15s; }
.app-strip a:hover span, .app-strip a:focus-visible span { color: var(--gold-hi); }
.app-strip a:hover img { transform: scale(1.06); }
@media (max-width: 34rem) {
  .app-strip-label { display: none; }
  .app-strip .wrap { flex-wrap: nowrap; gap: 0.75rem; overflow-x: auto; scrollbar-width: none; justify-content: safe center; }
  .app-strip a { font-size: 0.74rem; gap: 0.3rem; }
  .app-strip a img { width: 22px; height: 22px; }
}
