/* ==========================================================================
   Paneel B (SPEC deel B): breed reserveringspaneel.
   Maten zoals gemeten bij Thermen; breekpunten (355/475/640/768/1024/1280) zijn
   containerqueries op de paneelbreedte, net als het iframe van Thermen naar zijn
   eigen documentbreedte kijkt. Kleuren: rood -> goud, grijsgroen -> warm grijs.
   ========================================================================== */

.zijpaneel--b { z-index: 1001; }
@media (min-width: 1024px) {
  .zijpaneel--b .zijpaneel__binnen { max-width: 85vw; }
}
.pb { background: transparent; overflow: visible; color: var(--tekst); }
.pb-clip { position: relative; height: 100%; overflow: clip; background: #f4f1ea; }
@media (min-width: 1024px) { .pb-clip { border-radius: 12px 0 0 12px; } }
.pb-scroll { scrollbar-width: auto; display: flex; flex-direction: column; }
.pb-scroll::-webkit-scrollbar { display: initial; }

/* Goud lipje links tegen het paneel: schuift paneel B weer dicht */
.pb-lip {
  position: absolute; top: 184px; left: -36px; width: 36px; height: 37px;
  display: none; align-items: center; justify-content: center;
  border-radius: 9999px 0 0 9999px; background: var(--goud); color: #fff;
  font-size: 22px; line-height: 1;
}
@media (min-width: 1024px) { .pb-lip { display: flex; } }
@media (hover: hover) { .pb-lip:hover { background: var(--goud-hover); } }

/* ---- Container ---- */
.pb-container { width: 100%; margin: 0 auto; }
@container paneel (min-width: 640px) { .pb-container { max-width: 640px; } }
@container paneel (min-width: 768px) { .pb-container { max-width: 768px; } }
@container paneel (min-width: 1024px) { .pb-container { max-width: 1024px; } }
@container paneel (min-width: 1280px) { .pb-container { max-width: 1280px; } }

/* ---- Kop ---- */
.pb-kop { position: sticky; top: 0; z-index: 20; flex: none; height: 69px; padding: 0 16px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .08); }
.pb-kop__binnen { height: 100%; display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; }
.pb-kop__terug, .pb-kop__sluit { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--tekst); }
.pb-kop__terug[hidden] { display: flex !important; visibility: hidden; }
.pb-kop__logo { justify-self: center; width: auto; height: 26px; }
@container paneel (min-width: 1024px) {
  .pb-kop { height: 80px; padding: 0 64px; }
  .pb-kop__binnen { grid-template-columns: 1fr 40px; }
  .pb-kop__terug, .pb-kop__terug[hidden] { display: none !important; }
  .pb-kop__logo { justify-self: start; height: 44px; }
}

/* ---- Inhoud ---- */
.pb-main { flex: 1 0 auto; padding: 48px 16px; }
@container paneel (min-width: 1024px) { .pb-main { padding: 48px 64px; } }
.pb-kolommen { display: flex; align-items: flex-start; gap: 40px; }
@container paneel (min-width: 1280px) { .pb-kolommen { gap: 112px; } }
.pb-links { flex: 1; min-width: 0; }
.pb-bonkolom { display: none; flex: 0 0 512px; width: 512px; }
@container paneel (min-width: 1024px) { .pb-bonkolom { display: block; } }

.pb-intro { margin-bottom: 24px; }
.pb-intro--lijn { padding-bottom: 24px; border-bottom: 1px solid var(--rand); }
.pb-intro--kamer { margin-bottom: 20px; }
.pb-h1 { font-family: var(--kop); font-weight: 400; font-size: 24px; line-height: 32px; color: var(--tekst); margin-bottom: 8px; }
.pb-intro--kamer .pb-h1 { margin-bottom: 12px; }
.pb-p { font-size: 16px; line-height: 24px; color: var(--tekst); }
.pb-p--ruim { margin: 24px 0 0; }
.pb-p--klein { font-size: 14px; line-height: 20px; color: var(--gedempt); }
.pb-wijzig { margin-left: 4px; font-weight: 700; text-decoration: underline; }
.pb-melding { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--gedempt); }
.pb-melding--donker { margin: 0 0 12px; }

/* ---- Stap 1: personen, kamers ---- */
.pb-rij { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: center; margin-bottom: 16px; }
@container paneel (min-width: 355px) { .pb-rij { grid-template-columns: 1fr 1fr; gap: 16px; } }
.pb-rij--lijn { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--rand); }
.pb-rij__label { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 24px; }
.teller {
  display: flex; align-items: center; justify-content: space-between; height: 38px;
  border: 1px solid #d9cfbb; border-radius: 9999px; background: #fff; user-select: none;
}
.teller__knop, .teller__leeg { width: 24px; height: 24px; margin: 6px; flex: none; border-radius: 50%; }
.teller__knop { display: flex; align-items: center; justify-content: center; background: var(--vlak); font-size: 16px; line-height: 1; color: var(--tekst); transition: background-color var(--overgang); }
@media (hover: hover) { .teller__knop:hover { background: #ebe3d3; } }
.teller__waarde { font-size: 16px; line-height: 24px; }

.pb-vraag { position: relative; display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; color: var(--tekst); cursor: help; border-radius: 50%; }
.pb-vraag__tip {
  position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); z-index: 5;
  width: max-content; max-width: 240px; padding: 8px 12px; border-radius: 4px; background: #fff; box-shadow: var(--schaduw-kaart);
  font-size: 12px; line-height: 16px; opacity: 0; pointer-events: none; transition: opacity var(--overgang);
}
.pb-vraag:hover .pb-vraag__tip, .pb-vraag:focus .pb-vraag__tip { opacity: 1; }

/* ---- Stap 1: kalender ---- */
.pb-kalkop { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; font-size: 18px; line-height: 28px; font-weight: 400; }
.pb-pillen { display: flex; gap: 8px; flex: none; }
.pil { display: inline-flex; align-items: center; justify-content: center; min-width: 57px; height: 24px; padding: 0 8px; border: 1px solid var(--tekst); border-radius: 9999px; background: #fff; font-size: 12px; line-height: 16px; white-space: nowrap; }
.pil--aan { background: var(--goud); border-color: var(--goud); color: #fff; }

.pb-kal { background: #fff; border-radius: 4px; box-shadow: 0 -1px 12px 0 rgba(0, 0, 0, .06); padding: 12px; }
@container paneel (min-width: 640px) { .pb-kal { padding: 24px; } }
.pb-kal__kop { display: flex; align-items: center; justify-content: space-between; height: 44px; padding-bottom: 16px; }
.pb-kal__nav { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #ece6da; color: var(--tekst); }
.pb-kal__nav:disabled { opacity: .3; cursor: default; }
.pb-kal__maand { font-size: 18px; line-height: 28px; font-weight: 700; }
.pb-kal__weekdagen, .pb-kal__dagen { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: 6px; }
.pb-kal__weekdagen { margin-bottom: 8px; font-size: 13px; line-height: 16px; color: var(--gedempt); text-align: center; }
.pb-kal__dagen { row-gap: 8px; }
.bd-cel { position: relative; height: 48px; }
@container paneel (min-width: 640px) { .bd-cel { height: 58px; } }
.bd {
  position: relative; width: 100%; height: 100%; border-radius: 8px;
  background: var(--vlak); color: var(--tekst);
  font-size: 16px; line-height: 20px; font-weight: 700;
  transition: background-color var(--overgang), color var(--overgang), box-shadow var(--overgang);
}
.bd:disabled { background: transparent; color: #c9c3b6; cursor: default; }
.bd.is-laden { background: var(--vlak); animation: puls 2s cubic-bezier(.4, 0, .6, 1) infinite; }
@media (hover: hover) { .bd:not(:disabled):hover { background: rgba(200, 155, 79, .5); color: #fff; } }
.bd.is-voorvertoning { background: rgba(200, 155, 79, .1); box-shadow: inset 0 0 0 1px rgba(200, 155, 79, .45); }
.bd.is-tussen { background: rgba(200, 155, 79, .2); box-shadow: inset 0 0 0 1px var(--goud); color: var(--tekst); }
.bd.is-aankomst, .bd.is-vertrek, .bd.is-aankomst:disabled, .bd.is-vertrek:disabled { background: var(--goud); color: #fff; }
.bd__label {
  position: absolute; top: -7px; left: 50%; transform: translateX(-50%);
  padding: 2px 7px; border-radius: 8px; background: var(--tekst); color: #fff;
  font-size: 9px; line-height: 10px; font-weight: 500; white-space: nowrap;
}

/* Prijsopbouw onder de kalender: alleen zonder bonkolom */
.pb-kalopbouw { margin: 16px -12px -12px; padding: 16px 20px; border-top: 1px solid var(--rand); }
@container paneel (min-width: 640px) { .pb-kalopbouw { margin: 20px -24px -24px; } }
@container paneel (min-width: 1024px) { .pb-kalopbouw { display: none; } }
.pb-kalopbouw__kop { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 20px; font-weight: 700; }
.pb-kalopbouw__kop span:first-child { display: inline-flex; align-items: center; gap: 6px; }

/* ---- Bon ---- */
.bon { background: #fff; border-radius: 4px; box-shadow: 0 -1px 12px 0 rgba(0, 0, 0, .06); overflow: hidden; }
.bon__foto { height: 144px; background: var(--vlak); }
.bon__foto img { width: 100%; height: 100%; object-fit: cover; }
.bon__intro { padding: 24px 32px; }
.bon__titel { font-family: var(--kop); font-weight: 400; font-size: 24px; line-height: 32px; margin-bottom: 8px; }
.bon__sub { padding-bottom: 16px; font-size: 16px; line-height: 24px; color: var(--gedempt); }
.bon__bullets { display: grid; gap: 12px; }
.bon__bullets li { position: relative; padding-left: 32px; font-size: 14px; line-height: 20px; }
.bon__bullets li svg { position: absolute; left: 0; top: 2px; color: var(--goud); }
.bon__meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 24px 32px 24px 28px; border-top: 1px solid var(--rand); border-bottom: 1px solid var(--rand); font-size: 16px; line-height: 24px; }
.bon__meta span { display: inline-flex; align-items: center; gap: 8px; }
.bon__meta svg { color: #b9b1a2; }
.bon__blok { padding: 24px 32px; }
.bon__kamer + .bon__kamer { border-top: 1px solid var(--rand); }
.bon__gast { font-family: var(--kop); font-weight: 400; font-size: 18px; line-height: 28px; padding-bottom: 12px; margin-bottom: 8px; }
.bon__gast span { font-family: var(--txt); font-size: 14px; color: var(--gedempt); }
.bon__regels { display: grid; gap: 8px; margin: 0 -16px; }
.bon__regel { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; padding: 8px 16px; font-size: 16px; line-height: 24px; }
.bon__regel > svg { color: #b9b1a2; }
.bon__naam { flex: 1; min-width: 0; }
.bon__prijs { white-space: nowrap; }
.bon__uitklap { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 36px; font-size: 14px; line-height: 20px; color: var(--gedempt); }
.bon__uitklap svg { transition: transform var(--overgang); }
.bon__uitklap[aria-expanded="true"] svg { transform: rotate(180deg); }
.opbouw { display: grid; gap: 12px; padding-bottom: 8px; }
.opbouw__regel { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.opbouw__dag { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--rand); border-radius: 3px; background: var(--vlak); font-size: 11px; line-height: 14px; }
.opbouw__dag b { font-weight: 700; }
.opbouw__dag span { color: var(--gedempt); font-weight: 500; }
.opbouw__tekst { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.opbouw__titel { font-size: 14px; line-height: 20px; font-weight: 500; }
.opbouw__label { display: inline-block; margin-left: 4px; padding: 4px 6px; border-radius: 4px; background: var(--goud); color: #fff; font-size: 11px; line-height: 11px; font-weight: 500; vertical-align: 1px; }
.opbouw__sub { font-size: 12px; line-height: 16px; color: var(--gedempt); }
.opbouw__prijs { font-size: 16px; line-height: 24px; white-space: nowrap; }
.bon__totaal { display: flex; align-items: center; justify-content: space-between; padding: 24px 32px; border-top: 1px solid var(--rand); font-size: 16px; line-height: 24px; }
.bon__totaal strong { font-size: 20px; line-height: 28px; font-weight: 700; }
.bon__noot { padding: 0 32px 24px; margin-top: -12px; font-size: 12px; line-height: 16px; color: var(--gedempt); text-align: right; }

/* Bon schermvullend (telefoon) */
.pb-details { position: absolute; top: 0; left: 0; right: 0; bottom: 88px; z-index: 40; overflow-y: auto; background: #fff; }
.pb-details .bon { border-radius: 0; box-shadow: none; }
.pb-details .bon__foto { height: 196px; }
.pb-details .bon__intro, .pb-details .bon__blok, .pb-details .bon__totaal { padding-left: 32px; padding-right: 32px; }
.pb-details__sluit { position: absolute; top: 20px; right: 20px; z-index: 2; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--tekst); }

/* ---- Stap 2: kamer ---- */
.kk-lijst { display: flex; flex-direction: column; gap: 16px; }
.kk { background: #fff; border: 1px solid var(--rand); border-radius: 10px; overflow: hidden; transition: border-color var(--overgang); }
.kk.is-gekozen, .kk.is-open { border-color: var(--goud); }
.kk.is-uit .kk__foto, .kk.is-uit .kk__mid { opacity: .5; }
.kk__kop { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "foto foto" "mid rechts"; gap: 12px 16px; padding: 14px; }
@container paneel (min-width: 640px) {
  /* 139 + 2 rand = 141 hoog, zoals gemeten */
  .kk__kop { grid-template-columns: 140px 1fr 170px; grid-template-areas: "foto mid rechts"; gap: 20px; min-height: 139px; }
}
.kk__foto { grid-area: foto; position: relative; height: 110px; border-radius: 6px; overflow: hidden; background: #e8dcc6; }
.kk__foto img { width: 100%; height: 100%; object-fit: cover; }
.kk__loep { position: absolute; right: 8px; bottom: 8px; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .25); backdrop-filter: blur(4px); color: #fff; }
.kk__mid { grid-area: mid; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.kk__soort { font-size: 12px; line-height: 20px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gedempt); }
@container paneel (max-width: 639px) { .kk__soort { font-size: 10px; } }
.kk__naam { font-family: var(--kop); font-weight: 400; font-size: 18px; line-height: 20px; margin-top: 8px; }
.kk__details { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; margin-top: 12px; font-size: 14px; line-height: 20px; }
.kk.is-open .kk__details svg { transform: rotate(180deg); }
.kk__rechts { grid-area: rechts; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 4px; width: 170px; text-align: right; }
.kk__prijs { display: flex; align-items: baseline; gap: 8px; }
.kk__plus { font-size: 18px; line-height: 28px; }
@container paneel (max-width: 639px) { .kk__plus { font-size: 16px; line-height: 24px; } }
.kk__prijs small { font-size: 12px; line-height: 16px; letter-spacing: .04em; }
.kk__vol { font-size: 14px; line-height: 20px; color: var(--gedempt); }
.kk__krap { font-size: 12px; line-height: 16px; color: var(--goud-hover); }
.kk__kies {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 170px; height: 37px; padding: 9px 18px;
  border: 1px solid var(--rand); border-radius: 9999px; background: #fff;
  font-size: 11px; line-height: 16.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #3d2f22;
  transition: border-color var(--overgang), color var(--overgang);
}
@container paneel (max-width: 639px) { .kk__kies { height: 35px; } }
@media (hover: hover) { .kk__kies:not(:disabled):hover { border-color: var(--goud); } }
.kk__kies:disabled { opacity: .5; cursor: default; }
.kk__kies.is-aan { border-color: var(--goud); color: var(--goud); }
.kk__kies--groot { width: auto; height: 43px; padding: 0 28px; font-size: 13px; }
.kk__detail { display: flex; flex-direction: column; gap: 20px; padding: 24px; border-top: 1px solid var(--rand); background: var(--creme); }
.kk__desc { font-size: 14px; line-height: 20px; }
.kk__fotos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@container paneel (min-width: 1024px) { .kk__fotos { grid-template-columns: repeat(3, 1fr); } }
.kk__tegel { position: relative; aspect-ratio: 194 / 131; border-radius: 6px; overflow: hidden; background: #e8dcc6; }
.kk__tegel img { width: 100%; height: 100%; object-fit: cover; }
.kk__meer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .5); color: #fff; font-size: 16px; line-height: 24px; font-weight: 500; }
.kk__biedt { font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--goud); }
.kk__feats { display: grid; grid-template-columns: 1fr; gap: 8px 16px; }
@container paneel (min-width: 1024px) { .kk__feats { grid-template-columns: 1fr 1fr; } }
.kk__feats li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 20px; }
.kk__feats li svg { width: 14px; height: 14px; margin-top: 3px; color: var(--goud); }
.kk__detailvoet { display: flex; justify-content: flex-end; padding-top: 20px; border-top: 1px solid var(--rand); }

/* ---- Stap 2: extra's (upsell-kaarten) ---- */
.up-raster { display: grid; grid-template-columns: 1fr; gap: 32px; }
@container paneel (min-width: 1280px) { .up-raster { grid-template-columns: repeat(2, 312px); } }
.up { display: grid; grid-template-rows: 125px auto 97px; background: #fff; border-radius: 4px; box-shadow: var(--schaduw-kaart); overflow: hidden; }
.up__foto { background: #434949; }
.up__foto img { width: 100%; height: 100%; object-fit: cover; }
.up__tekst { min-height: 128px; padding: 24px; }
.up__naam { font-family: var(--kop); font-weight: 400; font-size: 18px; line-height: 26px; }
.up__info { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 14px; line-height: 20px; letter-spacing: .06em; text-transform: uppercase; color: var(--goud); }
.up__voet { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 24px; border-top: 1px solid var(--rand); }
.up__prijs { display: flex; flex-direction: column; min-width: 0; }
.up__prijs span { font-size: 14px; line-height: 20px; color: var(--gedempt); }
.up__prijs strong { font-size: 20px; line-height: 28px; font-weight: 400; }
.up__knop {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 8px 24px;
  border: 1px solid #ddd3c0; border-radius: 9999px; background: #fff;
  font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  transition: border-color var(--overgang), box-shadow var(--overgang), color var(--overgang);
}
.up__knop.is-aan { border-color: var(--goud); color: var(--goud-hover); box-shadow: 0 0 0 3px rgba(200, 155, 79, .15); }
@media (hover: hover) { .up__knop:hover { border-color: var(--goud); } }
.pb-overslaan {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 38px;
  border: 1px solid #ddd3c0; border-radius: 9999px; background: #fff;
  font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
}
.pb-overslaan--onder { margin-top: 32px; }
.pb-overslaan--boven { margin-bottom: 32px; }
@container paneel (min-width: 1024px) { .pb-overslaan--boven { display: none; } }
@container paneel (max-width: 1023px) { .pb-overslaan--onder { display: none; } }

/* Venster "Meer informatie" en "onafgemaakte reservering" */
.pb-info { position: absolute; inset: 0; z-index: 50; overflow-y: auto; padding: 80px 16px 40px; background: rgba(25, 25, 25, .7); }
@container paneel (min-width: 640px) { .pb-info { padding: 80px 40px; } }
.pb-info--midden { display: flex; align-items: center; justify-content: center; }
.pb-info__kaart { position: relative; max-width: 672px; margin: 0 auto; background: #fff; border-radius: 6px; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1); }
.pb-info__sluit { position: absolute; top: -40px; right: -8px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: #fff; }
.pb-info__foto { aspect-ratio: 2 / 1; border-radius: 6px 6px 0 0; overflow: hidden; background: #434949; }
.pb-info__foto img { width: 100%; height: 100%; object-fit: cover; }
.pb-info__inhoud { padding: 16px; }
@container paneel (min-width: 640px) { .pb-info__inhoud { padding: 32px; } }
.pb-info__titel { font-family: var(--kop); font-weight: 400; font-size: 24px; line-height: 32px; margin-bottom: 8px; }
.pb-info__tekst { margin: 24px 0 0; font-size: 14px; line-height: 20px; }
.pb-info__voet { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 16px; padding: 16px 0; border-top: 1px solid #eee8dc; }
@container paneel (min-width: 640px) { .pb-info__voet { margin: 0 32px; } }
.pb-info__prijs strong { font-size: 24px; line-height: 32px; font-weight: 700; }
.pb-info__prijs span { font-size: 14px; opacity: .7; }

.pb-onaf { position: relative; width: 100%; max-width: 672px; padding: 32px; background: #fff; border-radius: 6px; }
.pb-onaf__titel { font-family: var(--kop); font-weight: 400; font-size: 24px; line-height: 32px; margin-bottom: 12px; }
.pb-onaf__tekst { padding-bottom: 32px; border-bottom: 1px solid var(--rand); font-size: 14px; line-height: 20px; }
.pb-onaf__knoppen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 16px; }
.pb-knop-wit, .pb-knop-goud { height: 38px; padding: 0 18px; border-radius: 9999px; font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }
.pb-knop-wit { border: 1px solid #ddd3c0; background: #fff; }
.pb-knop-goud { background: var(--goud); color: #fff; }
@media (hover: hover) { .pb-knop-goud:hover { background: var(--goud-hover); } }

/* ---- Stap 3: gegevens ---- */
.pb-form { display: flex; flex-direction: column; gap: 32px; }
.velden { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.veld { position: relative; grid-column: span 12; }
@container paneel (min-width: 1024px) { .veld--half { grid-column: span 6; } }
.veld__invoer {
  width: 100%; height: 45px; padding: 10px 0 0; border: 0; border-bottom: 2px solid #c9c3b6; border-radius: 0;
  background: transparent; font: inherit; font-size: 16px; line-height: 20px; color: var(--tekst); outline: none;
  transition: border-color 300ms;
}
@container paneel (min-width: 1024px) { .veld__invoer { height: 42px; font-size: 14px; } }
.veld__invoer:focus { border-bottom-color: var(--goud); }
.veld__label { position: absolute; left: 0; top: 14px; font-size: 14px; line-height: 20px; color: var(--tekst); pointer-events: none; transform-origin: 0 0; transition: transform 300ms, color 300ms; }
.veld__invoer:focus + .veld__label, .veld__invoer:not(:placeholder-shown) + .veld__label { transform: translateY(-16px) scale(.8); }
.veld__ster { color: var(--goud); }
.veld.heeft-fout .veld__invoer { border-bottom-color: #a8322b; }
.veld__fout { margin-top: 4px; font-size: 12px; line-height: 16px; color: #a8322b; }
.lokveld { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.opm { background: #fff; border-radius: 4px; box-shadow: var(--schaduw-kaart); }
.opm__kop { display: flex; align-items: center; gap: 12px; width: 100%; height: 56px; padding: 0 24px; font-size: 16px; line-height: 24px; text-align: left; }
.opm__kop span { flex: 1; }
.opm.is-open .opm__kop > svg:last-child { transform: rotate(180deg); }
.opm__inhoud { padding: 0 24px 24px; }
.opm textarea { width: 100%; height: 96px; padding: 8px; border: 1px solid #d9cfbb; border-radius: 4px; font: inherit; font-size: 16px; line-height: 24px; resize: vertical; }
.vink { position: relative; display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 24px; cursor: pointer; }
.vink input { position: absolute; opacity: 0; width: 16px; height: 16px; margin: 4px 0 0; }
.vink__vak { flex: none; width: 16px; height: 16px; margin-top: 4px; display: flex; align-items: center; justify-content: center; border: 1px solid #c8c0b0; border-radius: 2px; background: #fff; color: transparent; }
.vink input:checked + .vink__vak { background: var(--goud); border-color: var(--goud); color: #fff; }
.vink input:focus-visible + .vink__vak { outline: 2px solid var(--goud); outline-offset: 2px; }

/* ---- Eindscherm ---- */
.pb-klaar { background: #fff; border-radius: 4px; box-shadow: 0 -1px 12px 0 rgba(0, 0, 0, .06); padding: 24px 32px; }
.pb-klaar dl { margin: 0 0 16px; display: grid; gap: 8px; }
.pb-klaar dl div { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; line-height: 24px; }
.pb-klaar dt { color: var(--gedempt); }
.pb-klaar dd { margin: 0; text-align: right; }

/* ---- Voet ---- */
.pb-voet { position: sticky; bottom: 0; z-index: 20; flex: none; background: #fff; box-shadow: 0 -1px 12px 0 rgba(0, 0, 0, .06); }
.pb-voet__breed { display: none; height: 88px; padding: 0 64px; }
.pb-voet__smal { position: relative; height: 88px; }
@container paneel (min-width: 1024px) {
  .pb-voet__breed { display: block; }
  .pb-voet__smal { display: none; }
}
.pb-voet__nav { display: flex; align-items: center; height: 48px; margin: 20px auto; }
/* 768 breed zoals Thermen, plus 16 lucht aan beide kanten (padding), zodat de balken bij
   een smallere container (1024) niet tegen Vorige/Volgende aan lopen. */
.pb-stappen { display: flex; gap: 32px; flex: 0 1 800px; min-width: 0; margin: 0 auto; padding: 0 16px; list-style: none; }
.pb-stap { flex: 1; min-width: 0; }
.pb-stap__balk { display: block; height: 4px; margin-bottom: 8px; background: #ece6da; }
.pb-stap__balk span { display: block; height: 100%; background: var(--goud); transition: width 300ms; }
.pb-stap__naam { display: flex; gap: 8px; font-size: 14px; line-height: 20px; color: var(--tekst); white-space: nowrap; }
.pb-stap.is-actief .pb-stap__naam { color: var(--goud-hover); }
.pb-vorige, .pb-volgende {
  flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 128px; height: 38px; padding: 8px 24px;
  border-radius: 9999px; font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  transition: background-color 200ms, transform 200ms;
}
.pb-vorige { border: 1px solid #ddd3c0; background: #fff; }
.pb-volgende { border: 1px solid #fff; background: var(--goud); color: #fff; }
.pb-volgende:disabled { background: var(--goud-uit); cursor: default; }
@media (hover: hover) { .pb-volgende:not(:disabled):hover { background: var(--goud-hover); } .pb-vorige:hover { border-color: var(--goud); } }
.pb-volgende:active, .pb-vorige:active { transform: scale(.98); }
.pb-knopblok { flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pb-knopnoot { font-size: 11px; line-height: 12px; color: var(--gedempt); }

.pb-voet__balk { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: #ece6da; }
.pb-voet__balk span { display: block; height: 100%; background: var(--goud); }
.pb-voet__rij { position: relative; display: flex; align-items: center; gap: 12px; height: 100%; padding: 20px 16px; }
.pb-voet__bon { flex: none; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--goud); color: #fff; }
.pb-voet__som { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pb-voet__details { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--goud-hover); }
.pb-voet__details .is-op svg { transform: rotate(180deg); }
.pb-voet__som strong { font-size: 20px; line-height: 28px; font-weight: 700; }
.pb-voet__smal .pb-volgende { width: 116px; min-width: 0; padding: 0; }
.pb-ballon {
  position: absolute; left: 8px; bottom: calc(100% + 4px); padding: 8px 12px; border-radius: 8px; background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15); font-size: 14px; line-height: 20px; white-space: nowrap; cursor: pointer;
  animation: invagen 200ms ease-out both;
}
.pb-ballon::after { content: ""; position: absolute; left: 20px; top: 100%; border: 7px solid transparent; border-top-color: #fff; }
