/* Gemeenschappelijke afwerking voor de tien openbare demo's. */
@media screen {
  .ff-familiekop {
    background: linear-gradient(110deg, #071620, #091b27 65%, #07131c);
    border-bottom: 1px solid var(--ff-line, #284457);
    box-shadow: 0 2px 14px #02091030;
  }
  .ff-familiekop .ff-bar-inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 96rem;
    min-height: 4.5rem;
    margin-inline: auto;
    padding: 0 clamp(1rem, 5.7vw, 6.5rem);
  }
  .ff-familiekop .ff-trial {
    border-radius: var(--ff-radius, .35rem);
    font-family: var(--ff-sans, Instrument, Arial, sans-serif);
  }
  .ff-familiekop .ff-trial > [aria-hidden="true"] {
    font: inherit;
    letter-spacing: normal;
  }
  .ff-familiestappen {
    font-family: var(--ff-sans, Instrument, Arial, sans-serif);
    font-variant-numeric: tabular-nums;
  }
  .ff-familiestappen [aria-current]:not([aria-current="false"]) {
    box-shadow: inset 0 -2px #91dbe9;
  }
  .ff-familiekaart {
    border-radius: .55rem;
    border-color: var(--ff-line, #284457);
  }
}
@media screen and (max-width: 42rem) {
  .ff-familiekop .ff-bar-inner {
    min-height: 4.15rem;
    padding-inline: 1rem;
  }
}
@media screen and (prefers-reduced-motion: no-preference) {
  [data-ff-merk] { animation: ff-merk-binnen 360ms ease-out both; }
  .ff-familiekaart, .ff-familiestappen :is(a, button) {
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
  }
  @keyframes ff-merk-binnen {
    from { opacity: .45; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-ff-merk], .ff-familiekaart, .ff-familiestappen :is(a, button) {
    animation: none !important;
    transition: none !important;
  }
}
/* Einde gedeelde demo-familie.css */
:root { --rail: 1170px; --warm: #eab68e; --sage: #91afa1; }
[hidden] { display: none !important; }
body { min-height: 100vh; background: radial-gradient(ellipse at 84% 7%, #132b36 0%, transparent 32rem), var(--ff-night); }
button { cursor: pointer; }
.skip { position: fixed; left: 1rem; top: -8rem; z-index: 20; background: var(--ff-ice); color: var(--ff-night); padding: .6rem; }
.skip:focus { top: 1rem; }
.ff-bar-inner, .rail { max-width: calc(var(--rail) + 3rem); margin-inline: auto; padding-inline: 1.5rem; }
.ff-bar-inner { min-height: 4.35rem; }
.mast { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; padding-block: clamp(1.5rem,3.7vw,3.3rem) 1.7rem; }
.overline, .klein { color: var(--ff-muted); font-size: .69rem; font-weight: 700; line-height: 1.45; text-transform: uppercase; letter-spacing: .13em; margin: 0; }
.overline { display: flex; align-items: center; gap: .75rem; color: #c3d8df; }
.staal { width: 2.3rem; height: .48rem; background: linear-gradient(90deg, #91afa1 0 31%, transparent 31% 35%, #eab68e 35% 66%, transparent 66% 70%, #679baa 70%); transform: skew(-21deg); }
h1.ff-title { margin: .46rem 0 0; line-height: 1; font-size: clamp(3.35rem,6.15vw,5.5rem); }
h1.ff-title em { font-family: var(--ff-serif); font-weight: 400; font-style: italic; letter-spacing: -.055em; }
.intro { max-width: 24rem; font-size: 1.1rem; color: var(--ff-muted); margin: 0 0 .15rem; text-wrap: pretty; }
.scenes { display: flex; gap: .48rem; margin-bottom: .85rem; }
.scenes button, .stappen button { padding: .55rem 1rem; min-height: 43px; background: #0c1b24; border: 1px solid var(--ff-line); border-radius: .35rem; color: #c0d0d8; font-size: .93rem; font-weight: 600; }
.scenes button { display: inline-flex; gap: .55rem; align-items: center; }
.scenes button[aria-pressed="true"] { border-color: #88afba; background: #243e49; color: #e5fcff; }
.scenes button:hover, .stappen button:hover { color: white; border-color: var(--ff-control); }
.scene-icon { display: inline-flex; align-items: center; justify-content: center; width: 1.2rem; font-size: 1.2rem; line-height: 1; }
.project { border: 1px solid #35505a; border-radius: .65rem; background: linear-gradient(125deg, #18303a, #102532 75%, #11212b); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(15rem, 1fr); overflow: hidden; }
.beeld { position: relative; align-self: stretch; margin: 0; container-type: inline-size; }
.beeld > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.beeld figcaption { position: absolute; left: 1rem; bottom: 1rem; display: flex; align-items: center; gap: .45rem; color: #fdf8e7; background: #163332e8; border: 1px solid #d6e3ca5e; border-radius: 2rem; padding: .32rem .74rem; font-weight: 600; font-size: .75rem; }
.beeldpunt { width: .45rem; height: .45rem; border-radius: 100%; background: #d3dab0; }
.marker { position: absolute; transform: translate(-50%,-50%); border-radius: 50%; width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border: 0; background: transparent; color: #f7f3dd; padding: 0; }
.marker span { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 1.5px solid #fff7df; border-radius: 50%; background: #293934e8; font: 700 .82rem/1 var(--ff-sans); box-shadow: 0 0 0 4px #263d3340; }
.marker:hover span { background: #173d3e; box-shadow: 0 0 0 7px #e5f8ce55; }
.samenvatting { padding: clamp(1.2rem,2.7vw,2.7rem); display: flex; flex-direction: column; justify-content: center; }
.samenvatting h2 { margin: .45rem 0 .2rem; font-size: clamp(2rem,3.8vw,3.45rem); line-height: 1.09; letter-spacing: -.05em; }
#scene-subtitle, #prijsdetail { color: var(--ff-muted); margin: .1rem 0 0; }
.prijskaart { border-top: 1px solid #3e525d; margin-top: 1.3rem; padding-top: 1.2rem; }
.prijs { display: block; font-weight: 700; font-size: clamp(2rem,3.65vw,3.35rem); line-height: 1.13; letter-spacing: -.06em; margin-top: .3rem; }
#prijsdetail { font-size: .85rem; }
.hero-acties { display: flex; flex-flow: row wrap; align-items: center; gap: .5rem 1.1rem; margin-top: 1.35rem; }
.hero-acties button { font-size: .88rem; }
.tekstknop { min-height: 44px; border: 0; color: #bce6ed; background: transparent; padding: .3rem 0; font-weight: 600; text-decoration: underline; text-decoration-color: #416372; text-underline-offset: .25em; }
.tekstknop:hover { color: #fff; }
.werkkop { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--ff-line); margin-top: 1.8rem; scroll-margin-top: 5.25rem; }
.stappen { display: flex; gap: .2rem; }
.stappen button { position: relative; border: 0; border-radius: 0; background: transparent; padding: .75rem 1rem; }
.stappen button[aria-current="step"] { color: var(--ff-ice); }
.stappen button[aria-current="step"]::after { content: ''; position: absolute; bottom: -1px; height: 3px; background: var(--ff-ice); inset-inline: .7rem; }
#paneel { padding-block: 1.6rem .7rem; }
.hoofding { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .9rem; }
#paneel h2, dialog h2 { font-size: clamp(1.6rem,2.9vw,2.3rem); line-height: 1.14; margin: 0; letter-spacing: -.035em; }
h3 { font-size: 1.15rem; line-height: 1.35; margin: 0 0 .65rem; }
.sheet { border: 1px solid var(--ff-line); border-radius: .5rem; background: #0b1a24; padding: clamp(1rem,2.2vw,1.65rem); min-width: 0; }
.sheet > p, .sheet > div > p, dialog p { color: var(--ff-muted); margin: .25rem 0 .85rem; }
.sheet > :last-child { margin-bottom: 0; }
.two { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; align-items: start; }
.stack { display: grid; gap: 1rem; }
.observation { scroll-margin-top: 5.1rem; padding: .89rem 0; border-top: 1px solid var(--ff-line); }
.observation:first-of-type { margin-top: .9rem; }
.observation:last-child { padding-bottom: 0; }
.observation h4 { margin: 0; display: flex; align-items: baseline; gap: .6rem; line-height: 1.35; }
.obsnr { display: inline-grid; flex: none; place-items: center; width: 1.45rem; height: 1.45rem; border: 1px solid #687c75; color: #dfddbc; border-radius: 50%; font-size: .74rem; }
.observation p { margin: .38rem 0 0 2.05rem; color: var(--ff-muted); font-size: .87rem; }
.observation .gebrek { color: #e7bd9b; }
.metingen { margin: .4rem 0 0; }
.metingen > div, .som > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .52rem 0; border-bottom: 1px solid var(--ff-line); }
.metingen > div:last-child, .som > div:last-child { border: 0; }
.metingen dt, .som dt { color: var(--ff-muted); }
.metingen dd, .som dd { margin: 0; font-weight: 600; text-align: right; flex: none; font-variant-numeric: tabular-nums; }
.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: .86rem; }
.veld { display: flex; flex-direction: column; gap: .3rem; min-width: 0; font-size: .87rem; color: #d0dfe5; }
.veld .ff-input { width: 100%; }
#model-fout { color: var(--ff-error); font-weight: 600; margin-block: .7rem; }
#model-fout:empty, #actie-status:empty { margin: 0; }
#actie-status { color: var(--ff-ice); margin: .5rem 0 1.3rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: 1rem; }
.regelgroep + .regelgroep { border-top: 1px solid var(--ff-line); }
.regelgroep summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding-block: .93rem; }
.regelgroep summary::before { content: '+'; color: var(--ff-ice); font-size: 1.1rem; }
.regelgroep[open] summary::before { content: '−'; }
.regelgroep summary > span { flex: 1; }
.regelgroep summary small, .post small { display: block; color: var(--ff-muted); font-weight: 400; }
.post { display: grid; grid-template-columns: 1fr auto; gap: .6rem; padding: .65rem 0; border-top: 1px dashed var(--ff-line); font-size: .9rem; }
.post strong { font-size: .87rem; }
.som { margin: 0; }
.som > div:last-child { margin-top: .4rem; }
.som > div:last-child dt, .som > div:last-child dd { color: var(--ff-ice); font-size: 1.2rem; font-weight: 700; }
.sheet .voetnoot { margin-top: .9rem; color: var(--ff-muted); font-size: .85rem; }
footer { margin-top: 2rem; border-top: 1px solid var(--ff-line); }
.voet { min-height: 4.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .86rem; color: var(--ff-muted); }
.voet i { color: #728898; padding: 0 .35rem; }
dialog { padding: 1.65rem; width: min(28rem,calc(100vw - 2rem)); }
dialog::backdrop { background: #02080dde; }
dialog h2 { margin-block: .5rem; }
.dialoog-acties { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: flex-end; margin-top: 1.4rem; }
@media (max-width:760px) {
 .rail,.ff-bar-inner { padding-inline: 1rem; }
 .intro { font-size: .93rem; max-width: 17rem; }
 .samenvatting { padding: 1.2rem; }
 .project { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); }
 .hero-acties { gap: .25rem .75rem; }
 .two { grid-template-columns: 1fr; }
}
@media (max-width:600px) {
 .mast { display: block; padding-block: 1.3rem 1rem; }
 .intro { margin: .65rem 0 0; max-width: 28rem; line-height: 1.4; }
 .scenes { gap: .32rem; margin-bottom: .6rem; }
 .scenes button { flex: 1; padding: .4rem .23rem; justify-content: center; gap: .28rem; font-size: .81rem; }
 .scene-icon { width: .9rem; font-size: 1rem; }
 .project { display: flex; flex-direction: column; }
 .beeld > img { height: auto; aspect-ratio: 800/470; }
 .beeld figcaption { bottom: .65rem; left: .65rem; font-size: .7rem; }
 .samenvatting { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: .8rem .5rem; padding: 1rem; }
 .samenvatting h2 { font-size: 1.85rem; margin: .23rem 0 .15rem; }
 .samenvatting .klein { font-size: .57rem; letter-spacing: .08em; }
 #bedrijf { max-width: 10rem; }
 #scene-subtitle, #prijsdetail { font-size: .77rem; line-height: 1.4; }
 .prijskaart { text-align: right; margin: 0; padding: 0; border: 0; }
 .prijs { font-size: clamp(1.5rem,6.8vw,2.2rem); margin: .18rem 0; }
 .hero-acties { grid-column: 1/-1; margin: 0; gap: .5rem 1rem; }
 .werkkop { margin-top: 1.1rem; gap: .2rem; }
 .werkkop > .klein { display: none; }
 .stappen { width: 100%; }
 .stappen button { flex: 1; font-size: .87rem; padding-inline: .25rem; }
 #paneel { padding-block: 1.2rem .4rem; }
 .formgrid { gap: .75rem .6rem; }
}
@media (max-width:365px) { .samenvatting { padding: .8rem; } .formgrid { grid-template-columns: 1fr; } .intro { font-size: .86rem; } .scene-icon { display: none; } }

.rekenstand { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border: 1px solid #3d5a67; border-radius: .5rem; background: #102530; margin-top: 1rem; }
.rekenstand strong { display: block; font-size: 1.6rem; line-height: 1.15; letter-spacing: -.04em; }

.mast-acties { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.25rem; }
