/* ============================================================
   Terrapotta — keramiekatelier. Warme, aardse huisstijl.
   ============================================================ */
:root {
  /* Kleuren overgenomen van de live terrapotta.be:
     petrol-blauwe tekst, oranje accent, lichtblauwe vlakken, witte basis. */
  --clay-900: #9a501e;   /* koppen — live h2/h3 */
  --clay-700: #135f77;   /* tekstlinks / intro — petrol */
  --clay-500: #b5642a;   /* mid-oranje — knop-hover, randen */
  --terracotta: #da8044;       /* hoofd-oranje accent (CTA, links-hover) */
  --terracotta-soft: #ecaf86;  /* licht oranje */
  --petrol-deep: #375965;      /* donkere petrol — banden & footer */
  --cream: #f4f9fb;      /* basis-achtergrond (bijna wit, lichte petroltint) */
  --cream-deep: #d7e8ee; /* lichtblauw vlak — kaarten */
  --sky: #98c1cf;        /* sterker lichtblauw — hero, accentvlakken */
  --sand: #bcdbe6;       /* lichtblauwe rand */
  --ink: #135f77;        /* hoofdtekst — petrol */
  --muted: #5f8a99;      /* gedempte petrol */
  --white: #ffffff;
  --green: #5f7a4f;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(19, 95, 119, 0.12);
  --shadow-sm: 0 4px 14px rgba(19, 95, 119, 0.10);
  --font-special: "Architects Daughter", cursive;
  --font-head: "Architects Daughter", cursive;
  --font-body: "Architects Daughter", cursive;
  --maxw: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Geen horizontale overflow → voorkomt dat tablets (iPad) uitzoomen en de
   opmaak gekrompen/rommelig tonen. */
html, body { overflow-x: hidden; max-width: 100%; }
iframe { max-width: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sky);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--clay-900); margin: 0 0 .5em; }
h1 {font-family: var(--font-special); font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--clay-700); text-decoration: none; }
a:hover { color: var(--terracotta); }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.2rem; color: var(--clay-700); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; cursor: pointer; transition: .18s ease;
  text-decoration: none; font-family: var(--font-body);
}
.btn--primary { background: var(--terracotta); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--clay-500); color: var(--white); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--clay-700); border-color: var(--clay-500); }
.btn--ghost:hover { background: var(--clay-500); color: var(--white); }
.btn--block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-special); font-size: 1.5rem; font-weight: 600; color: var(--clay-900); }
/* USP-/message-balk boven de navigatie */
.message-bar { background: var(--petrol-deep); color: #fff; font-size: .85rem; }
.message-bar .container { display: flex; justify-content: center; }
.message-bar__usps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 20px 0; justify-content: center; font-family: var(--font-special); font-size: 1rem; }
.message-bar__usps li { display: flex; align-items: center; gap: 7px; }
.message-bar__usps i { color: var(--terracotta-soft); font-size: .8em; }
@media (max-width: 640px) { .message-bar__usps { gap: 6px 16px; font-size: .8rem; } }

.brand-mark { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--terracotta-soft), var(--terracotta) 60%, var(--clay-700)); box-shadow: inset 0 -3px 6px rgba(0,0,0,.15); }
.brand-logo { width: 150px; height: 150px; border-radius: 50%; object-fit: contain; display: block; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 500; color: var(--clay-900);font-family: var(--font-special);
  font-size: 1.25rem; }
.nav-links li.icon-nav a{
  display: inline-flex;
  aspect-ratio: 1/1;
  padding: 0;
  width: 50px;
  height: 50px;
  justify-content: center;
}
.nav-links a:hover, .nav-links a.active { color: var(--terracotta); }

/* Submenu (subpagina's onder een hoofdpagina) */
.nav-links li.has-sub { position: relative; }
.nav-links li.has-sub > a .sub-caret { font-size: .7em; margin-left: 4px; opacity: .7; }
.nav-links li.has-sub > .subnav {
  list-style: none; margin: 0; padding: 8px 0; min-width: 200px;
  position: absolute; top: 100%; left: 0; z-index: 60;
  background: var(--cream); border: 1px solid var(--sand); border-radius: 10px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.nav-links li.has-sub:hover > .subnav,
.nav-links li.has-sub:focus-within > .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-links li.has-sub > .subnav li { width: 100%; }
.nav-links li.has-sub > .subnav a { display: block; padding: 8px 18px; font-size: 1.05rem; white-space: nowrap; }

.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--clay-900); cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #89b6c6, var(--sky) 70%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: clamp(40px, 7vw, 90px) 0; }
.hero h1 span { color: var(--terracotta); }
.hero .lead { max-width: 46ch; }
.hero-art {
  aspect-ratio: 1/1; border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 25%, var(--terracotta-soft), transparent 45%),
    radial-gradient(circle at 75% 70%, var(--clay-500), transparent 50%),
    linear-gradient(135deg, var(--terracotta), var(--clay-700));
  box-shadow: var(--shadow);
  position: relative;
}

.hero-title {
  margin-top: 14px;
}
.hero-buttons {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:8px;

}

/* Cards / grid */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--cream-deep); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 14px; }
.card .ico i { color: var(--terracotta); }
.info-meta i { width: 18px; text-align: center; color: var(--terracotta); }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--cream-deep); color: var(--clay-700); }
.pill--les { background: #dde7f3; color: #2c4d77; }
.pill--workshop { background: #f6e2cf; color: #9a5a25; }
.pill--open_atelier { background: #d8e8e2; color: #2f6b58; }

/* Banded section */
.band { background: var(--petrol-deep); color: var(--white); }
.band h2, .band h3 { color: var(--white); }
.band .muted { color: #b9d2da; }

/* Sessie list */
.sessie-list { display: grid; gap: 16px; }
.sessie {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 20px; align-items: center;
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); padding: 18px 22px;
}
.sessie-date { text-align: center; background: var(--cream-deep); border-radius: 12px; padding: 10px 6px; }
.sessie-date .d { font-family: var(--font-head); font-size: 1.6rem; color: var(--clay-900); line-height: 1; }
.sessie-date .m { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sessie-info h3 { margin-bottom: 4px; }
.sessie-meta { font-size: .9rem; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.sessie-cta { text-align: right; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.spots-low { color: var(--terracotta); font-weight: 600; }
.spots-full { color: var(--muted); font-weight: 600; }

/* Filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.filter { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--sand); background: var(--white); color: var(--clay-700); font-weight: 600; cursor: pointer; }
.filter.active { background: var(--terracotta); color: var(--white); border-color: var(--terracotta); }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(19,95,119,.50); display: grid; place-items: center; padding: 20px; z-index: 100; }
.modal { background: var(--white); border-radius: var(--radius-lg); max-width: 480px; width: 100%; padding: 30px; box-shadow: var(--shadow); max-height: 92vh; overflow:auto; }
.modal h3 { margin-bottom: 6px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 5px; color: var(--clay-700); }
.field input, .field select {
  width: 100%; padding: 11px 13px; border-radius: 10px; border: 1.5px solid var(--sand);
  font-family: var(--font-body); font-size: 1rem; background: var(--cream); color: var(--ink);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--terracotta); }
.note { font-size: .85rem; color: var(--muted); }
.alert { padding: 12px 14px; border-radius: 10px; font-size: .92rem; margin-bottom: 12px; }
.alert--err { background: #fbe4dd; color: #9a3412; }
.alert--ok { background: #dcefe1; color: #20603b; }
.alert--info { background: var(--cream-deep); color: var(--clay-700); }
/* Inline login + veldfouten in de boekingsmodal */
.bk-login .field { margin: 8px 0; }
.bk-login .field label { font-size: .85rem; }
.bk-login .btn { margin-top: 4px; }
.bk-err { color: #b91c1c; font-size: .85rem; }

/* Footer */
.site-footer { background: var(--petrol-deep); color: #d7e8ee; padding: 56px 0 28px; }
.site-footer a { color: var(--terracotta-soft); }
.site-footer h4 { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; font-size: .85rem; color: #9fc0cc; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Utilities */
.stack > * + * { margin-top: 1rem; }
.cms-tv-grid > * + * { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }

/* Kalender (FullCalendar) */
.agenda-card { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-sm); }
.fc { font-family: var(--font-body); --fc-border-color: var(--sand); --fc-today-bg-color: #faf3e9; --fc-neutral-bg-color: var(--cream); }
.fc .fc-toolbar-title { font-family: var(--font-head); color: var(--clay-900); font-size: 1.4rem; text-transform: capitalize; }
.fc .fc-button-primary { background: var(--terracotta); border-color: var(--terracotta); font-weight: 600; text-transform: capitalize; box-shadow: none; }
.fc .fc-button-primary:hover { background: var(--clay-500); border-color: var(--clay-500); }
.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active { background: var(--clay-700); border-color: var(--clay-700); }
.fc .fc-button-primary:disabled { background: var(--terracotta-soft); border-color: var(--terracotta-soft); }
.fc .fc-col-header-cell-cushion { color: var(--muted); text-transform: capitalize; font-weight: 600; padding: 8px; }
.fc .fc-daygrid-day-number { color: var(--clay-700); }
.fc-event { cursor: pointer; border-radius: 6px; padding: 1px 3px; font-weight: 500; }
.fc .fc-list-event:hover td { background: var(--cream); }
.fc-list-event { cursor: pointer; }
.fc .fc-list-event-dot { display: none; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--clay-900); color: var(--cream); padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow); z-index: 200; font-weight: 500; }

/* CMS-pagina-inhoud (uit de editor) */
.cms-body { line-height: 1.7; color: var(--ink); }
.cms-body h2 { margin: 1.2em 0 .4em; }
.cms-body h3 { margin: 1em 0 .3em; }
.cms-body p { margin: 0 0 1em; }
.cms-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1em 0; box-shadow: var(--shadow-sm); }
.cms-body ul, .cms-body ol { margin: 0 0 1em; padding-left: 1.4em; }
.cms-body li { margin: .25em 0; }
.cms-body blockquote { border-left: 3px solid var(--terracotta); margin: 1em 0; padding: .3em 0 .3em 1em; color: var(--clay-700); font-style: italic; }
.cms-body a { color: var(--clay-700); text-decoration: underline; }

/* ───────── CMS blokkenbouwer (blocks + meerkolom-layout) ───────── */
.cms-row { display: grid; gap: 28px; align-items: stretch; margin: 0 0 8px; }
@media (max-width: 1024px) { .cms-row { grid-template-columns: 1fr !important; } }
.cms-block { display: block; margin: 0 0 24px; line-height: 1.7; border-radius: 8px; }
/* In een meerkolom-rij vullen de blokken de kolomhoogte zodat de
   (gekleurde) achtergronden van naast elkaar staande blokken even hoog zijn. */
.cms-col:not(:only-child) { display: flex; flex-direction: column; gap: 24px; }
.cms-col:not(:only-child) > .cms-block { flex: 1 0 auto; margin-bottom: 0; }
.cms-html > :first-child { margin-top: 0; }

.cms-textFig { margin: 0 0 12px; max-width: 40%; }
.cms-textFig--left  { float: left;  margin-right: 18px; }
.cms-textFig--right { float: right; margin-left: 18px; }
.cms-textFig img { width: 100%; border-radius: var(--radius); display: block; box-shadow: var(--shadow-sm); }
.cms-textFig figcaption { font-size: 12px; color: var(--muted); margin-top: 4px; }

.cms-image { margin: 0; text-align: center; }
.cms-image--left { text-align: left; }
.cms-image--right { text-align: right; }
/* img is globaal display:block, dus uitlijnen via margin (niet text-align). */
.cms-image img { max-width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-inline: auto; }
.cms-image--left img  { margin-inline: 0 auto; }
.cms-image--right img { margin-inline: auto 0; }
.cms-image figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }

.cms-gallery { display: grid; gap: 12px; }
.cms-gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.cms-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.cms-gallery figcaption { padding: 6px 10px; font-size: 12px; color: var(--muted); }

.cms-downloads { list-style: none; margin: 0; padding: 0; }
.cms-downloads li { margin: 0 0 8px; }
.cms-downloads a { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--cream-deep); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.cms-downloads a:hover { background: var(--cream); }
.cms-downloads i { font-size: 18px; color: var(--terracotta); }
.cms-downloads small { grid-column: 2; color: var(--muted); font-size: 12px; }
.cms-dlTitle { font-weight: 600; }

.cms-extLink { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--cream-deep); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--cream); }
.cms-extLink:hover { background: var(--cream-deep); }
.cms-extLinkBody strong { display: block; margin-bottom: 2px; }
.cms-extLinkDesc { display: block; color: var(--muted); font-size: 13px; }
.cms-extLink small { color: var(--muted); font-size: 11px; }
.cms-extLink > i { color: var(--terracotta); }

.cms-accordion details { border: 1px solid var(--cream-deep); border-radius: var(--radius); margin-bottom: 8px; padding: 12px 16px; }
.cms-accordion summary { cursor: pointer; font-weight: 600; list-style: none; }
.cms-accordion summary::after { content: '+'; float: right; font-weight: 400; }
.cms-accordion details[open] summary::after { content: '−'; }
.cms-accBody { margin-top: 10px; }

/* ───────── Klant-portaal (account.html) ───────── */
.account-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 32px; max-width: 420px; margin: 0 auto; }
.account-card h1 { font-size: 1.8rem; }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }

/* Portaal-layout met sidebar */
.portal { display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: start; }
@media (max-width: 1024px) { .portal { grid-template-columns: 1fr; } }
.portal-side { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 14px; position: sticky; top: 90px; display: flex; flex-direction: column; gap: 6px; }
.portal-side__user { font-family: var(--font-special); font-size: 1.1rem; color: var(--clay-900); padding: 6px 8px 10px; border-bottom: 1px solid var(--cream-deep); margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.portal-nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.portal-nav__btn { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 10px; background: none; cursor: pointer; font: inherit; color: var(--clay-700); }
.portal-nav__btn i { width: 18px; text-align: center; color: var(--terracotta); }
.portal-nav__btn:hover { background: var(--cream); }
.portal-nav__btn.is-active { background: var(--petrol-deep); color: #fff; }
.portal-nav__btn.is-active i { color: var(--terracotta-soft); }
.portal-main .account-section:first-child { margin-top: 0; }
.account-sub { font-size: 1rem; color: var(--clay-700); margin: 16px 0 8px; }

.kaart--full { max-width: 520px; }
.kaart-hist { margin-top: 12px; border-top: 1px solid var(--cream-deep); padding-top: 10px; }
.kaart-hist__head { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 6px; }
.kaart-hist__row { display: grid; grid-template-columns: auto 44px 1fr; gap: 8px; align-items: baseline; font-size: .85rem; padding: 3px 0; }
.kaart-hist__row .pos { color: var(--green); font-weight: 600; }
.kaart-hist__row .neg { color: var(--terracotta); font-weight: 600; }

.note-item { border: 1px solid var(--cream-deep); border-radius: var(--radius); padding: 14px 16px; background: var(--cream); margin-bottom: 10px; }
.note-item strong { display: block; margin-bottom: 4px; }
.note-item__body { font-size: .95rem; line-height: 1.6; margin-bottom: 6px; }
.note-item__body :last-child { margin-bottom: 0; }
.account-section { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px; margin: 18px 0; }
.account-section h2 { font-size: 1.25rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.account-section h2 i { color: var(--terracotta); }
.account-msg { color: var(--clay-700); font-size: .9rem; margin-left: 8px; }
.btn--block { display: flex; width: 100%; justify-content: center; margin-top: 10px; }

.kaart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.kaart { border: 1px solid var(--cream-deep); border-radius: var(--radius); padding: 16px; background: var(--cream); }
.kaart-saldo { font-family: var(--font-head); font-size: 2rem; color: var(--clay-900); line-height: 1; margin: 8px 0 4px; }
.kaart-saldo span { font-family: var(--font-body); font-size: .85rem; color: var(--muted); margin-left: 6px; }
.kaart-bar { height: 8px; border-radius: 999px; background: var(--cream-deep); overflow: hidden; margin: 8px 0; }
.kaart-bar span { display: block; height: 100%; background: var(--terracotta); }

.res-list { display: flex; flex-direction: column; gap: 10px; }
.res { display: flex; align-items: center; gap: 16px; border: 1px solid var(--cream-deep); border-radius: var(--radius); padding: 12px 16px; }
.res--cancelled { opacity: .55; }
.res-date { text-align: center; min-width: 48px; }
.res-day { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--clay-900); line-height: 1; }
.res-mon { display: block; font-size: .75rem; text-transform: uppercase; color: var(--muted); }
.res-body { flex: 1; }
.res-status { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--cream-deep); color: var(--clay-700); white-space: nowrap; }
.res-status--bevestigd, .res-status--aanwezig { background: #d8e8e2; color: #2f6b58; }
.res-status--geannuleerd { background: #f6dada; color: #9a3412; }

.naw-form { display: grid; gap: 12px; max-width: 420px; }
.naw-form .field--row { display: flex; gap: 12px; }
.naw-form .field--row span { flex: 1; display: block; }
.naw-form input { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--sand); font: inherit; background: var(--white); color: var(--ink); }
.naw-form input:disabled { background: var(--cream-deep); color: var(--muted); }

/* Niet-boekbare activiteiten (afspraak, tentoonstelling): info-only */
.fc-info { opacity: .96; border-style: dashed !important; }

/* Volzette activiteiten */
.fc-vol { opacity: .92; }
.fc-vol .fc-event-title, .fc-vol .fc-list-event-title { text-decoration: line-through; text-decoration-thickness: 1px; }
/* Vervallen (verleden) sessie: gedempt en niet klikbaar/reserveerbaar. */
.fc-past { opacity: .55; cursor: default !important; }
.fc-past .fc-event-title, .fc-past .fc-list-event-title { text-decoration: none; }

/* Info-venster */
.info-meta { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: .95rem; margin: 10px 0 12px; }
.info-ok { color: var(--green); font-weight: 600; }
.info-vol { color: #b91c1c; font-weight: 600; }

/* Blok-selectie */
.fc-selected { outline: 3px solid var(--clay-900); outline-offset: 1px; }
.select-bar { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 160%); background: var(--white); border: 1px solid var(--sand); box-shadow: var(--shadow); border-radius: 999px; padding: 10px 14px; display: flex; align-items: center; gap: 12px; z-index: 150; transition: transform .25s ease; }
.select-bar.show { transform: translateX(-50%); }
.select-bar .btn { padding: 9px 18px; }
.block-list { list-style: none; padding: 0; margin: 8px 0 4px; font-size: .9rem; color: var(--clay-700); max-height: 150px; overflow: auto; }
.block-list li { padding: 5px 0; border-bottom: 1px solid var(--sand); }

/* Winkelmand-popover onder de winkelwagen (kort zichtbaar na toevoegen) */
.cart-pop {
  position: fixed; top: 64px; right: 16px; z-index: 200;
  width: min(300px, calc(100vw - 24px));
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.cart-pop.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cart-pop__row { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.cart-pop__txt { font-size: .9rem; color: var(--clay-700); line-height: 1.3; }
.cart-pop__book { width: 100%; }
.cart-pop .btn--sm { padding: 7px 12px; font-size: .85rem; }

/* Winkelmand-paneel (klik op de winkelwagen) */
.cart-list { list-style: none; padding: 0; margin: 8px 0 4px; max-height: 320px; overflow: auto; }
.cart-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--sand); }
.cart-item__txt { font-size: .92rem; color: var(--clay-700); line-height: 1.3; flex: 1; min-width: 0; }
.cart-item .btn--sm { padding: 6px 10px; font-size: .82rem; white-space: nowrap; }
.cart-item__thumb { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 7px; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: var(--cream); color: var(--clay-700); }
.cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-sec__head { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--clay-700); margin: 14px 0 2px; }
.cart-total { margin: 12px 0 0; text-align: right; color: var(--clay-900); }
.cart-qty { display: inline-flex; align-items: center; gap: 6px; }
.cart-qty__btn { width: 26px; height: 26px; border: 1px solid var(--sand); background: #fff; border-radius: 6px; cursor: pointer; font-size: 15px; line-height: 1; color: var(--clay-900); }
.cart-qty__btn:hover { border-color: var(--terracotta); color: var(--terracotta); }
.cart-qty__n { min-width: 18px; text-align: center; font-weight: 600; font-size: .9rem; }

/* ── Shop-blok (producten) ───────────────────────────────────────────────── */
.cms-shop__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.cms-shop--empty { display: none; }
.cms-shop__card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.cms-shop__media { position: relative; aspect-ratio: 4/3; background: var(--cream); overflow: hidden; }
.cms-shop__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cms-shop__noimg { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(45deg, var(--cream), var(--cream) 10px, var(--cream-deep) 10px, var(--cream-deep) 20px); }
.cms-shop__label { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--terracotta); color: #fff; font-family: var(--font-special); font-size: .85rem; padding: 4px 12px; border-radius: 999px; box-shadow: var(--shadow); }
.cms-shop__name { margin: 12px 14px 2px; font-family: var(--font-head); color: var(--clay-900); font-size: 1.05rem; }
.cms-shop__desc { margin: 0 14px 6px; font-size: .85rem; color: var(--clay-700); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cms-shop__price { margin: 2px 14px 12px; font-weight: 700; color: var(--clay-900); }
.cms-shop__now { color: var(--terracotta); }
.cms-shop__was { color: var(--clay-700); font-weight: 500; margin-left: 6px; }
.cms-shop__add { margin: auto 14px 14px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner, .footer-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 360px; margin: 0 auto; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-right { gap: 8px; }
  .nav-links { position: fixed; inset: 72px 0 auto 0; background: var(--cream); flex-direction: column; gap: 0; padding: 8px 0; border-bottom: 1px solid var(--sand); box-shadow: var(--shadow); transform: translateY(-130%); transition: .25s ease; }
  .nav-links.open { transform: translateY(0); }
  /* Submenu op mobiel: statisch + ingesprongen tonen (geen hover-dropdown). */
  .nav-links li.has-sub > .subnav {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; background: transparent; padding: 0 0 6px 0; border-radius: 0;
  }
  .nav-links li.has-sub > a .sub-caret { display: none; }
  .nav-links li.has-sub > .subnav a { padding: 10px 26px; opacity: .9; }
  /* Winkelwagen blijft altijd in de balk zichtbaar (los van het menu). */
  .nav-cart--bar { width: 46px; height: 46px; }
  .nav-links li { width: 100%;
    padding: 10px; }

  .nav-links a { padding: 14px 9px; }
  .nav-links li.icon-nav a{
    display: inline-flex;
    aspect-ratio: 1/1;
    padding: 0;
    width: 50px;
    height: 50px;
    justify-content: center;
  }
  .nav-toggle { display: block; }
  .sessie { grid-template-columns: 70px 1fr; }
  .sessie-cta { grid-column: 1 / -1; align-items: stretch; flex-direction: row; justify-content: space-between; }
}

/* CMS template-variabelen (knopgroep / groep) */
.cms-tv-group,
.cms-tv-btngroup { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cms-tv-group__item { display: inline-flex; }
.cms-tv-group--column { flex-direction: column; align-items: stretch; }
.hero-art .cms-tv-image { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* Utility/semantische classes (vervangen voorheen inline styles) */
.feat-ico { width: 22px; }
.feat-ico--soft { color: var(--terracotta-soft); }
.feat-ico--tc { color: var(--terracotta); }
.u-mt-8 { margin-top: 8px; }
.u-mt-12 { margin-top: 12px; }
.u-mt-14 { margin-top: 14px; }
.u-pt-0 { padding-top: 0; }
.u-pb-24 { padding-bottom: 24px; }
.u-ai-center { align-items: center; }
.u-center-mb14 { margin: 0 auto 14px; }
.u-center-mb40 { margin: 0 auto 40px; }
.u-mw-560 { max-width: 560px; }
.u-mw-620 { max-width: 620px; }
.u-mw-640 { max-width: 640px; }
.u-mw-720 { max-width: 720px; }
.u-mw-760 { max-width: 760px; }
.u-mw-780 { max-width: 780px; }
.u-mw-820 { max-width: 820px; }
.u-avatar90 { width: 90px; height: 90px; margin: 0 auto 24px; }
.field-input { width: 100%; padding: 11px 13px; border-radius: 10px; border: 1.5px solid var(--sand); font-family: var(--font-body); background: var(--cream); }

/* Nav: Account als icoon + Reserveren als winkelwagen met badge */
.nav-links .nav-icon { font-size: 2rem; padding: 14px; display: inline-flex; align-items: center; color: var(--clay-700); }
.nav-links .nav-icon:hover, .nav-links .nav-icon.active { color: var(--terracotta); }
.nav-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0; width: 50px; height: 50px; aspect-ratio: 1/1; padding: 0; font-size: 1rem; }
.nav-cart__badge {
  position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--petrol-deep); color: #fff; border-radius: 999px;
  font-size: 11px; font-weight: 700; line-height: 1;
}
.nav-cart__badge[hidden] { display: none; }

/* Template-layout (raamwerk) als basis op de voorkant */
.cms-tpl { display: flex; flex-direction: column; gap: 36px; }
.cms-tpl-row { display: grid; gap: 28px; align-items: start; }
.cms-tpl-col { min-width: 0; }
@media (max-width: 1024px) { .cms-tpl-row { grid-template-columns: 1fr !important; } }

/* Full-width rij-secties (kleur over de hele breedte, inhoud in .container) */
/* Nieuwsbrief-aanmeldformulier (blok) */
.cms-newsletter { display: flex; flex-direction: column; gap: 10px; max-width: 440px; padding: 22px; border: 1px solid var(--cream-deep); border-radius: var(--radius); background: var(--cream); }
.cms-newsletter__title { margin: 0; font-family: var(--font-head); color: var(--clay-900); }
.cms-newsletter__intro { margin: -2px 0 4px; color: var(--clay-700); font-size: 14px; }
.cms-newsletter__row { display: flex; flex-direction: column; gap: 4px; }
.cms-newsletter__input { padding: 11px 13px; border: 1px solid var(--sand); border-radius: 8px; background: #fff; font: inherit; color: var(--site-ink); }
.cms-newsletter__input:focus { outline: 2px solid var(--terracotta); outline-offset: 1px; border-color: var(--terracotta); }
.cms-newsletter__optin { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--clay-700); line-height: 1.4; }
.cms-newsletter__optin input { margin-top: 3px; }
.cms-newsletter__btn { align-self: flex-start; cursor: pointer; }
.cms-newsletter__err { display: none; color: #b91c1c; font-size: 12.5px; }
.cms-newsletter__msg { padding: 14px 16px; border-radius: 8px; background: color-mix(in srgb, var(--green) 16%, white); color: #1f3d24; font-weight: 600; }

/* Contactformulier-blok */
.cms-contact { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--cream-deep); border-radius: var(--radius); background: var(--cream); }
.cms-contact__title { margin: 0; font-family: var(--font-head); color: var(--clay-900); }
.cms-contact__intro { margin: -2px 0 4px; color: var(--clay-700); font-size: 14px; }
.cms-contact__row { display: flex; flex-direction: column; gap: 4px; }
.cms-contact__input { padding: 11px 13px; border: 1px solid var(--sand); border-radius: 8px; background: #fff; font: inherit; color: var(--site-ink); }
.cms-contact__input:focus { outline: 2px solid var(--terracotta); outline-offset: 1px; border-color: var(--terracotta); }
textarea.cms-contact__input { resize: vertical; min-height: 110px; }
.cms-contact__btn { align-self: flex-start; cursor: pointer; }
.cms-contact__err { display: none; color: #b91c1c; font-size: 12.5px; }
.cms-contact__msg { padding: 14px 16px; border-radius: 8px; background: color-mix(in srgb, var(--green) 16%, white); color: #1f3d24; font-weight: 600; }

/* Google Maps-blok */
.cms-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--cream-deep); }
.cms-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Grid-TV naast elkaar (kolommen via inline grid-template-columns) → op
   portrait/mobiel automatisch onder elkaar. */
@media (max-width: 1024px) { .cms-tv-grid--cols { grid-template-columns: 1fr !important; } }

/* Contactgegevens-blok (NAW uit de instellingen) */
.cms-contactinfo {display: flex; flex-direction: column; gap: 10px;  padding: 22px; border: 1px solid var(--cream-deep); border-radius: var(--radius); background: var(--cream); margin-bottom: var(--page-gutter); }
.cms-contactinfo__name { font-family: var(--font-head); font-size: 18px; color: var(--clay-900); }
.cms-contactinfo__row { display: flex; align-items: flex-start; gap: 10px; color: var(--site-ink); }
.cms-contactinfo__row i { color: var(--terracotta); margin-top: 3px; width: 18px; text-align: center; }
.cms-contactinfo__row a { color: var(--clay-700); text-decoration: none; }
.cms-contactinfo__row a:hover { text-decoration: underline; }

.cms-section { padding: 40px 0; }
.cms-section > .container { width: 100%; }

/* ── Breakout-rijen (layout-modi) ───────────────────────────────────────────
   Een full-bleed grid over de hele viewport. --edge is exact de afstand van de
   paginarand tot de container-inhoud, zodat de "content"-zones precies op de
   site-container uitlijnen. De splitsing tussen links/rechts ligt op het
   paginacentrum (50%); een zone is óf "content" (stopt bij de container) óf
   "wide" (loopt door tot de paginarand). */
/* Veilige marge bij de paginaranden voor paginabrede content (zodat niets
   tegen de browserrand plakt). De container-uitlijning blijft intact. */
.cms-section--wide { --page-gutter: 24px; padding-left: 0; padding-right: 0; }
/* Content (wide): de rij-grid loopt (bijna) tot de viewport-rand, met marge. */
.cms-section--wide > .cms-tpl-row,
.cms-section--wide > .cms-row { width: 100%; max-width: none; margin: 0; padding-left: var(--page-gutter); padding-right: var(--page-gutter); }
.cms-section--wide > .cms-tpl-row > .cms-tpl-col > img,
.cms-section--wide > .cms-row > .cms-col > img,
.cms-section--wide > .cms-tpl-row .cms-image img,
.cms-section--wide > .cms-row .cms-image img { display: block; width: 100%; }
.cms-bleed {
  --gutter: 24px;
  --edge: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  display: grid;
  grid-template-columns: var(--edge) 1fr 1fr var(--edge);
  align-items: stretch;
}
.cms-bleed__col { min-width: 0; }
.cms-bleed__full  { grid-column: 1 / 5; }

/* Zone-plaatsing per modus. Lijnen: 1=paginarand-L · 2=container-L · 3=centrum
   · 4=container-R · 5=paginarand-R. */
.cms-bleed--wide_wide    > .cms-bleed__left  { grid-column: 1 / 3; }
.cms-bleed--wide_wide    > .cms-bleed__right { grid-column: 3 / 5; }
.cms-bleed--wide_content > .cms-bleed__left  { grid-column: 1 / 3; }
.cms-bleed--wide_content > .cms-bleed__right { grid-column: 3 / 4; }
.cms-bleed--content_wide > .cms-bleed__left  { grid-column: 2 / 3; }
.cms-bleed--content_wide > .cms-bleed__right { grid-column: 3 / 5; }
/* De wide-zijde loopt volledig tot de paginarand (geen marge); alleen de
   container-zijde lijnt uit op de site-container. */

/* Foto's in een bleed-zone vullen de zone volledig (tot de rand). */
.cms-bleed__col > img,
.cms-bleed__col .cms-image img,
.cms-bleed__col img.cms-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.text-padding {
  padding: var(--page-gutter);
 }

/* Mobiel: zones onder elkaar, met dezelfde veilige randmarge. */
@media (max-width: 1024px) {
  .cms-bleed { grid-template-columns: 1fr; }
  .cms-bleed__left, .cms-bleed__right, .cms-bleed__full {
    grid-column: 1 / 2 !important;
    padding-left: var(--page-gutter); padding-right: var(--page-gutter);
  }
}
