/* ============================================================
   OnDestination - Locatie Detail (dynamic template)
   One page layout, generated per location. A location may be a
   partnerlocatie OR simply a venue in our network.
   The partner state is driven by  body[data-partner="yes"|"no"].
   Only the Partnerschap section and a small hero pill depend on it;
   the rest of the page is identical for every location.
   Extends colors_and_type.css / home.css / partners.css /
   ervaringen.css / partner-detail.css
   ============================================================ */

/* ---- Conditional visibility (partner only) ---- */
body[data-partner="no"] .if-partner { display: none !important; }
.if-inline { display: inline; }

/* band-head is nested inside .wrap on this page; neutralise its own gutter
   so its text lines up with the grid/cards directly below it */
.band > .wrap > .band-head {
  max-width: none; margin-left: 0; margin-right: 0;
  padding-left: 0; padding-right: 0;
}

/* ---- Hero tweaks (lean: name, place, one line, photo) ---- */
.partner-hero { min-height: 76vh; }
.phero-badge svg { width: 14px; height: 14px; flex-shrink: 0; }
.lhero-pos {
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.45; color: rgba(248,245,238,.74);
  max-width: 30ch; margin: 0 0 6px; font-weight: 300;
}
.lhero-place {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  color: rgba(248,245,238,.45); margin: 18px 0 56px;
}
.lhero-place svg { width: 15px; height: 15px; opacity: .7; }

/* ============================================================
   KERNFEITEN
   ============================================================ */
.kf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid rgba(0,0,0,.09);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.05);
}
.kf-cell {
  display: flex; flex-direction: column; gap: 16px;
  padding: 30px 26px;
  border-right: 1px solid rgba(0,0,0,.07);
}
.kf-cell:nth-child(3n) { border-right: none; }
.kf-cell:nth-child(n+4) { border-top: 1px solid rgba(0,0,0,.07); }
.kf-ico {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(111,224,0,.12);
  display: grid; place-items: center;
}
.kf-ico svg {
  width: 20px; height: 20px;
  stroke: #3F8A00; fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.kf-label {
  font-size: 11px; letter-spacing: .13em; text-transform: uppercase;
  color: #8a8a86; font-weight: 700;
}
.kf-val {
  font-size: 18px; font-weight: 600; color: #0A0A0A; line-height: 1.25;
  margin-top: -4px;
}
.kf-val small { display: block; font-size: 13px; font-weight: 500; color: #8a8a86; margin-top: 3px; }

/* ============================================================
   OVER DE LOCATIE (editorial, on ink)
   ============================================================ */
.about-editorial {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px; align-items: start;
}
.about-editorial .ae-head h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.04; margin: 0; color: #F8F5EE;
}
.about-editorial .ae-head h2 em { font-style: normal; color: #6FE000; }
.about-editorial .ae-body p {
  font-size: 17px; line-height: 1.68; color: rgba(248,245,238,.62);
  margin: 0 0 20px; max-width: 56ch;
}
.about-editorial .ae-body p:last-child { margin-bottom: 0; }

/* ============================================================
   WAT WIJ HIER VERZORGEN (services, on paper)
   ============================================================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.svc-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 20px;
  padding: 30px 26px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform 240ms cubic-bezier(.22,.61,.36,1), box-shadow 240ms, border-color 240ms;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,.09);
  border-color: rgba(111,224,0,.45);
}
.svc-ico {
  width: 46px; height: 46px; border-radius: 13px;
  background: rgba(111,224,0,.12);
  display: grid; place-items: center;
}
.svc-ico svg {
  width: 22px; height: 22px;
  stroke: #3F8A00; fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.svc-card h3 {
  font-family: 'Kardige', sans-serif; font-weight: 400;
  font-size: 23px; line-height: 1.08; letter-spacing: -.01em;
  color: #0A0A0A; margin: 0;
}
.svc-card p {
  font-size: 14px; line-height: 1.6; color: #5a5a56; margin: 0;
}

/* ============================================================
   PARTNERSCHAP (partner-only callout, on dark)
   ============================================================ */
.pship-card {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 56px; align-items: center;
  padding: 56px;
  border-radius: 30px;
  border: 1px solid rgba(111,224,0,.32);
  background:
    radial-gradient(640px 420px at 88% 8%, rgba(111,224,0,.16), transparent 62%),
    linear-gradient(140deg, #101510 0%, #0A0A0A 60%);
}
.pship-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #6FE000; margin-bottom: 20px;
}
.pship-eyebrow svg { width: 14px; height: 14px; }
.pship-card h2 {
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.06; margin: 0 0 18px; color: #F8F5EE;
}
.pship-card h2 em { font-style: normal; color: #6FE000; text-shadow: 0 0 40px rgba(111,224,0,.35); }
.pship-card > div > p {
  font-size: 16.5px; line-height: 1.65; color: rgba(248,245,238,.66);
  margin: 0 0 30px; max-width: 50ch;
}
.pship-points {
  list-style: none; margin: 0 0 32px; padding: 0;
  display: flex; flex-direction: column; gap: 11px;
}
.pship-points li {
  display: flex; align-items: baseline; gap: 11px;
  font-size: 15px; color: rgba(248,245,238,.82);
}
.pship-points li::before {
  content: "//"; color: #6FE000; font-weight: 700; flex-shrink: 0;
}
/* seal · roterend "officiële partnerlocatie" keurmerk-stempel */
/* credential · rustige partnerkaart in dezelfde taal als de kernfeiten-kaart */
.pship-seal { align-self: stretch; display: flex; }
.pship-cred {
  flex: 1;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px;
  padding: 30px 30px 26px;
  display: flex; flex-direction: column;
}
.cred-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.cred-mark { width: 40px; height: 40px; object-fit: contain; }
.cred-check {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #6FE000;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(111,224,0,.1); border: 1px solid rgba(111,224,0,.28);
}
.cred-check svg { width: 13px; height: 13px; }
.cred-title {
  font-family: 'Kardige', sans-serif; font-weight: 400;
  font-size: 24px; line-height: 1.1; letter-spacing: -.01em;
  color: #F8F5EE; margin: 0 0 4px;
}
.cred-sub { font-size: 13.5px; line-height: 1.5; color: rgba(248,245,238,.5); margin: 0 0 22px; }
.cred-rows { border-top: 1px solid rgba(255,255,255,.1); margin-bottom: 22px; }
.cred-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.cred-row span { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(248,245,238,.42); font-weight: 700; }
.cred-row b { font-size: 14.5px; color: #F8F5EE; font-weight: 600; text-align: right; }
.cred-row b .star { color: #6FE000; }
.cred-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 700; color: #6FE000;
  transition: gap 200ms cubic-bezier(.22,.61,.36,1);
}
.cred-link svg { width: 15px; height: 15px; }
.cred-link:hover { gap: 13px; }

/* ---- Overflow safety: let grid items shrink and long words wrap, so no
   track ever forces the page wider than the viewport ---- */
.kf-cell, .event-tile, .svc-card, .gal-img, .review, .pship-card > div { min-width: 0; }
.et-name, .svc-card h3, .kf-val, .kf-label, .lhero-pos, .pship-card h2 { overflow-wrap: anywhere; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .about-editorial { grid-template-columns: 1fr; gap: 32px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .pship-card { grid-template-columns: 1fr; gap: 40px; padding: 44px; }
}
@media (max-width: 640px) {
  .kf-grid { grid-template-columns: 1fr 1fr; }
  .kf-cell { padding: 24px 20px; border-right: 1px solid rgba(0,0,0,.07); border-top: 1px solid rgba(0,0,0,.07); }
  .kf-cell:nth-child(odd) { border-right: 1px solid rgba(0,0,0,.07); }
  .kf-cell:nth-child(even) { border-right: none; }
  .kf-cell:nth-child(1), .kf-cell:nth-child(2) { border-top: none; }
  .kf-label { letter-spacing: .08em; }
  .svc-grid { grid-template-columns: 1fr; }
  .pship-card { padding: 32px 24px; }
  .pship-card h2 { font-size: clamp(28px, 7vw, 40px); }
}
@media (max-width: 560px) {
  .partner-hero { min-height: auto; }
  .partner-hero-inner { padding-top: 116px; }
  .partner-hero h1 { font-size: clamp(33px, 10vw, 64px); line-height: .98; overflow-wrap: anywhere; hyphens: auto; }
  .phero-bread { margin-bottom: 22px; flex-wrap: wrap; row-gap: 4px; }
  .lhero-pos { font-size: 16px; }
  .lhero-place { margin: 16px 0 40px; }
  .phero-deco { display: none; }
  .events-grid { gap: 8px; }
  .event-tile { padding: 18px 15px; gap: 10px; }
  .et-name { font-size: 18px; }
  .band-head .lead { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-card { transition: none; }
}
