/* BEGIN gedeelde FF-appstijl */
/* Flow Force Systems · Midnight */
@font-face {
  font-family: Instrument;
  src: url("./assets/letters/instrument-sans.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Instrument;
  src: url("./assets/letters/instrument-sans-vet.woff2") format("woff2");
  font-weight: 600 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/letters/instrument-serif-cursief.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ff-night: #050c12;
  --ff-surface: #0a1924;
  --ff-field: #071520;
  --ff-text: #eef5f9;
  --ff-muted: #afc2ce;
  --ff-ice: #a0efff;
  --ff-line: #284457;
  --ff-control: #688695;
  --ff-radius: .35rem;
  --ff-gutter: clamp(1rem, 5.7vw, 6.5rem);
  --ff-sans: Instrument, Arial, sans-serif;
  --ff-serif: "Instrument Serif", Georgia, serif;
  --ff-panel-fill: linear-gradient(145deg, #102532, #0a1924 72%);
  --ff-hero-fill: radial-gradient(ellipse at 82% 42%, #122a3a, transparent 59%), #07131c;
  --ff-primary-fill: linear-gradient(110deg, #aaf0f6, #72d2ec 83%, #67b9e8);
  --ff-error: #ffbaa6;
  font: 16px/1.5 var(--ff-sans);
  color: var(--ff-text);
  background: var(--ff-night);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
::selection { color: #061420; background: #94e5f3; }
:focus-visible { outline: 3px solid var(--ff-ice); outline-offset: 3px; }
.ff-bar {
  position: sticky;
  inset-block-start: 0;
  z-index: 8;
  background: linear-gradient(#061018, #060e15 72%, #050d14);
  border-bottom: 1px solid var(--ff-line);
}
.ff-bar-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(.6rem, 2vw, 2rem);
  max-width: 96rem;
  margin-inline: auto;
  padding-inline: var(--ff-gutter);
}
.ff-brand {
  --logo-width: clamp(8.8rem, 11vw, 11rem);
  position: relative;
  display: inline-grid;
  grid-template-columns: var(--logo-width) auto;
  align-items: center;
  gap: 1.15rem;
  min-height: 44px;
  color: var(--ff-muted);
  font-size: .8rem;
  line-height: 1.25;
  font-weight: 600;
  text-decoration: none;
}
.ff-brand img {
  grid-area: 1 / 1;
  display: block;
  width: var(--logo-width);
  height: auto;
  padding: 0;
  background: transparent;
  filter: brightness(1.22) saturate(1.12);
}
/* De donkere letters onder het beeldmerk krijgen hetzelfde koele licht als op de site. */
.ff-brand::after {
  content: "";
  grid-area: 1 / 1;
  z-index: 1;
  pointer-events: none;
  width: var(--logo-width);
  aspect-ratio: 600 / 167;
  background: linear-gradient(transparent 20%, #82d7f41c 45%, #74c5e5ad 75%, #64b9dbad);
  mask: url("./assets/logo-flowforce.png") center/contain no-repeat;
}
.ff-brand > span { border-left: 1px solid var(--ff-line); padding-left: 1rem; }
.ff-trial, .ff-primary, .ff-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 2.8rem;
  padding: .68rem 1rem;
  font: 700 .98rem/1.25 var(--ff-sans);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--ff-control);
  border-radius: var(--ff-radius);
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ff-primary {
  color: #071620;
  background: var(--ff-primary-fill) #67b9e8;
  border-color: #8fe0f4;
  box-shadow: inset 0 1px #e3fcff85, 0 4px 24px #0e5d831c;
}
.ff-primary:hover:not(:disabled) { background: #c1f5ff; color: #071620; }
.ff-secondary, .ff-trial { color: #eaf9ff; background: linear-gradient(135deg, #213b4d, #0e2434); }
.ff-trial { margin-left: auto; font-size: .9rem; }
:is(.ff-secondary, .ff-trial):hover:not(:disabled) { background: #244255; border-color: var(--ff-ice); }
:is(.ff-primary, .ff-secondary):disabled { opacity: 1; color: #afc2ce; background: #21333d; border-color: #4d6471; cursor: default; box-shadow: none; }
.ff-hero { background: var(--ff-hero-fill); border-bottom: 1px solid var(--ff-line); }
.ff-title {
  font: 700 clamp(2.8rem, 5.7vw, 5.65rem)/1.01 var(--ff-sans);
  color: var(--ff-text);
  letter-spacing: -.062em;
  text-wrap: balance;
}
.ff-title em {
  font: inherit;
  letter-spacing: inherit;
  color: var(--ff-ice);
  background: linear-gradient(108deg, #d9f7fb 8%, #a6e6f7 39%, #51c6ef 76%, #5e9df5);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ff-eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #bbdce8;
  font: 700 .73rem/1.4 var(--ff-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ff-eyebrow::before { content: ""; width: 1.7rem; height: 1px; background: currentColor; }
.ff-panel { background: var(--ff-panel-fill); color: var(--ff-text); border: 1px solid var(--ff-line); border-radius: var(--ff-radius); }
.ff-input {
  min-height: 2.8rem;
  max-width: 100%;
  border: 1px solid var(--ff-control);
  border-radius: var(--ff-radius);
  padding: .62rem .75rem;
  background: var(--ff-field);
  color: var(--ff-text);
  font: 400 1rem/1.4 var(--ff-sans);
}
.ff-input::placeholder { color: var(--ff-muted); opacity: 1; }
.ff-price { color: var(--ff-ice); font-variant-numeric: tabular-nums; }
@media (max-width: 42rem) {
  .rail.ff-bar-inner, .ff-bar-inner { min-height: 4.15rem; padding-inline: 1rem; gap: .65rem; }
  .ff-brand { --logo-width: 7.4rem; grid-template-columns: auto; align-content: center; gap: .12rem; }
  .ff-brand > span { font-size: .67rem; font-weight: 400; line-height: 1.22; padding: 0; border: 0; text-wrap: balance; }
  .ff-trial { padding-inline: .62rem; gap: .4rem; font-size: .81rem; }
}
@media (min-width: 23.5rem) and (max-width: 42rem) {
  .ff-trial { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .ff-title em { -webkit-text-fill-color: currentColor; background: none; }
}
/* EINDE gedeelde FF-appstijl */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1,
h2,
h3,
p,
figure,
ol,
ul {
  margin: 0;
}

h2,
h3 {
  line-height: 1.13;
  letter-spacing: -0.036em;
}

h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.65rem);
}

h3 {
  font-size: 1.25rem;
}

a {
  color: inherit;
}

button:not(:disabled) {
  cursor: pointer;
}

.rail {
  width: min(100%, 96rem);
  padding-inline: var(--ff-gutter);
  margin-inline: auto;
}

.ff-eyebrow {
  margin-bottom: 0.85rem;
}

[hidden] {
  display: none !important;
}

.skip {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  transform: translateY(-220%);
  background: var(--ff-text);
  color: var(--ff-night);
  padding: 0.7rem 1rem;
  border-radius: var(--ff-radius);
}

.skip:focus {
  transform: none;
}

.progress-wrap {
  border-bottom: 1px solid var(--ff-line);
  background: var(--ff-surface);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.steps li {
  display: flex;
  border-inline-end: 1px solid var(--ff-line);
}

.steps li:first-child {
  border-inline-start: 1px solid var(--ff-line);
}

.steps a,
.steps .step {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex: 1;
  justify-content: center;
  min-height: 3.1rem;
  padding-inline: 0.2rem;
  border-bottom: 2px solid transparent;
  color: var(--ff-muted);
  font-size: 0.91rem;
  text-decoration: none;
}

.steps a:hover,
.steps [aria-current="step"] {
  border-color: var(--ff-ice);
  color: var(--ff-ice);
}

.steps [aria-current="step"] {
  background: #122c40;
  font-weight: 700;
}

.num,
.eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  color: var(--ff-ice);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.hero-grid,
.workgrid,
.formgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  align-items: center;
  padding-block: clamp(2.7rem, 4.45vw, 4.25rem);
}

.hero .ff-title em {
  display: block;
}

.inner,
.intro {
  padding-block: clamp(2rem, 4vw, 3.65rem);
}

.intro #laadstatus {
  color: var(--ff-muted);
}

.inner {
  background: var(--ff-hero-fill);
}

.view-title {
  margin-bottom: 1.55rem;
}

.view-title .ff-title {
  font-size: clamp(2.35rem, 4.2vw, 4.3rem);
}

.lead {
  max-width: 44ch;
  margin: 1rem 0 1.4rem;
  color: var(--ff-text);
  font-size: clamp(1rem, 1.35vw, 1.19rem);
}

.view-title .lead {
  margin-bottom: 0;
}

.minor,
.note,
.source,
.help {
  color: var(--ff-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.minor {
  margin-top: 0.7rem;
}

.note,
.source {
  margin-top: 0.65rem;
}

.source a,
.note a,
.darkback {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.source a:hover,
.note a:hover,
.darkback:hover {
  color: var(--ff-ice);
}

.source p {
  margin-top: 0.4rem;
}

summary {
  cursor: pointer;
}

.map {
  overflow: hidden;
}

.photobar,
.figinfo,
.sectionhead,
.sheet-head,
.foot,
.actions,
.summaryline,
.quote-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.photobar {
  padding: 0.62rem 0.9rem;
  color: var(--ff-muted);
  font-size: 0.8rem;
}

.photobar span:last-child {
  color: var(--ff-ice);
  text-align: right;
}

.frame {
  position: relative;
  aspect-ratio: 1080 / 560;
  overflow: hidden;
  background: var(--ff-field);
}

.frame img,
.frame svg {
  width: 100%;
  height: 100%;
}

.frame img {
  object-fit: cover;
  display: block;
}

.frame svg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.frame polygon {
  fill: #64eaff29;
  stroke: #94ffff;
  stroke-width: 2.1;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px #00192d);
}

.frame .verborgen {
  visibility: hidden;
}

.north,
.lijnknop {
  position: absolute;
  background: var(--ff-night);
  color: var(--ff-text);
  border: 1px solid var(--ff-control);
  border-radius: 0.3rem;
  font-weight: 700;
}

.north {
  top: 0.55rem;
  right: 0.65rem;
  padding: 0.2rem 0.4rem;
  font-size: 0.75rem;
}

.lijnknop {
  bottom: 0.5rem;
  left: 0.6rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.7rem;
  font-size: 0.82rem;
}

.lijnknop:hover,
.lijnknop[aria-pressed="true"] {
  color: var(--ff-ice);
}

.figinfo {
  padding: 0.9rem 1rem;
}

.figinfo strong,
.figinfo small {
  display: block;
}

.figinfo strong {
  line-height: 1.17;
  font-size: 1.12rem;
}

.figinfo small {
  color: var(--ff-muted);
  margin-top: 0.2rem;
}

.measure-tag {
  color: var(--ff-ice);
  font-size: 1.13rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.attribution {
  color: var(--ff-muted);
  font-size: 0.75rem;
  text-align: right;
}

.options {
  background: #0d1b2e;
  border-top: 1px solid var(--ff-line);
}

.options-inner {
  padding-block: clamp(1.8rem, 3.4vw, 3.4rem);
}

.sectionhead {
  align-items: end;
  margin-bottom: 1.15rem;
}

.sectionhead p {
  color: var(--ff-muted);
  font-size: 0.92rem;
}

.buildings,
.prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.building {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: 0 0 0.85rem;
  overflow: hidden;
  text-align: left;
}

.building:hover,
.building[aria-pressed="true"],
.price.chosen {
  border-color: var(--ff-ice);
}

.building img {
  display: block;
  width: 100%;
  height: clamp(5.6rem, 9vw, 8.25rem);
  margin-bottom: 0.8rem;
  object-fit: cover;
}

.building strong,
.building small {
  display: block;
  padding-inline: 0.85rem 2rem;
}

.building strong {
  font-size: 1.1rem;
  line-height: 1.25;
}

.building small {
  margin-top: 0.25rem;
  color: var(--ff-muted);
  font-size: 0.85rem;
}

.selectmark {
  position: absolute;
  bottom: 0.95rem;
  right: 0.85rem;
  color: var(--ff-ice);
  font-size: 1rem;
  font-weight: 700;
}

.blik {
  border-top: 1px solid var(--ff-line);
  margin-top: 1.25rem;
  padding-top: 1rem;
}

.blik .ff-eyebrow {
  margin-bottom: 0.5rem;
}

.blik ul {
  padding-left: 1.15rem;
  margin-top: 0.65rem;
}

.blik li + li {
  margin-top: 0.35rem;
}

.panel,
.price,
.sheet,
.formbox {
  padding: clamp(1.15rem, 2.5vw, 1.9rem);
}

.panel h2,
.sheet h2,
.formbox h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
}

.panel form,
.formbox form {
  margin-top: 1rem;
}

.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

label {
  display: block;
  color: var(--ff-text);
  font-size: 0.92rem;
  font-weight: 700;
}

label .ff-input {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 0.32rem;
}

.panel .actions,
.formbox .actions {
  margin-top: 1.25rem;
}

.actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.error {
  color: var(--ff-error);
  font-weight: 700;
  margin-top: 0.6rem;
}

.foot {
  border-top: 1px solid var(--ff-line);
  color: var(--ff-muted);
  padding-block: 0.75rem;
  font-size: 0.86rem;
}

.foot i {
  color: var(--ff-ice);
  font-style: normal;
  margin-inline: 0.35rem;
}

.foot button {
  background: transparent;
  border: 0;
  color: inherit;
  min-height: 2.75rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.foot button:hover {
  color: var(--ff-ice);
}

.price {
  display: flex;
  flex-direction: column;
}

.price h3 {
  font-size: 1.66rem;
}

.price .description,
.price .estimate {
  font-size: 0.93rem;
  margin-top: 0.45rem;
  color: var(--ff-muted);
}

.price .amount {
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: clamp(1.55rem, 2.55vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.price button {
  margin-top: 1rem;
}

.darkback {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ff-muted);
  font-size: 0.94rem;
}

.sheet-head {
  align-items: start;
  border-bottom: 1px solid var(--ff-line);
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
}

.company strong,
.company small {
  display: block;
}

.company small {
  color: var(--ff-muted);
}

.stamp {
  color: var(--ff-ice);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  border: 1px solid var(--ff-control);
  padding: 0.28rem 0.45rem;
  border-radius: 0.2rem;
}

.quote-line,
.summaryline {
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--ff-line);
  align-items: start;
  font-size: 0.94rem;
}

.quote-line small {
  display: block;
  color: var(--ff-muted);
}

.quote-line b,
.summaryline b {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.grand {
  font-size: 1.12rem;
  border-bottom: 0;
  color: var(--ff-ice);
}

.sheet details {
  margin-block: 0.85rem;
}

.sheet summary {
  font-weight: 700;
}

.formgrid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  max-width: 81rem;
}

.formbox label {
  margin-bottom: 0.75rem;
}

.formbox input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.15rem 0 0;
  flex-shrink: 0;
  accent-color: var(--ff-ice);
}

.consent {
  display: flex;
  gap: 0.6rem;
  align-items: start;
  font-weight: 400;
  padding-block: 0.5rem;
}

.receipt {
  margin-top: 0.45rem;
  color: var(--ff-ice);
  font-size: 1.3rem;
  overflow-wrap: anywhere;
}

.receipt-page {
  max-width: 64rem;
}

.receipt-page .darkback {
  margin-top: 0.65rem;
}

.status:empty,
.error:empty {
  display: none;
}

.status {
  margin-top: 0.8rem;
}

dialog {
  max-width: min(90vw, 29rem);
  padding: 1.5rem;
}

dialog::backdrop {
  background: #020a15cc;
}

dialog .actions {
  margin-top: 1rem;
}

dialog h2 + p {
  color: var(--ff-muted);
  margin-top: 0.7rem;
}

@media (max-width: 760px) {
  .hero-grid,
  .workgrid,
  .formgrid,
  .prices {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid {
    padding-block: 1.8rem;
    gap: 1.4rem;
  }

  .hero .ff-title em {
    display: inline;
  }

  .hero .lead {
    margin-block: 0.75rem 1rem;
  }

  .sectionhead {
    display: block;
  }

  .sectionhead p {
    margin-top: 0.35rem;
  }
}

@media (max-width: 520px) {
  .steps a,
  .steps .step {
    flex-direction: column;
    gap: 0.1rem;
    min-height: 3.35rem;
    padding-inline: 0;
    font-size: 0.77rem;
  }

  .num {
    font-size: 0.68rem;
  }

  .buildings {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
  }

  .building {
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr);
    grid-template-rows: 1fr 1fr;
    align-items: start;
    column-gap: 0.75rem;
    padding: 0.46rem 1.9rem 0.46rem 0.46rem;
  }

  .building img {
    height: 3.6rem;
    margin: 0;
    grid-row: 1 / 3;
    align-self: center;
    border-radius: 0.25rem;
  }

  .building strong,
  .building small {
    padding: 0;
  }

  .building strong {
    align-self: end;
    font-size: 1rem;
  }

  .building small {
    margin-top: 0.17rem;
  }

  .selectmark {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .figinfo {
    padding: 0.7rem 0.8rem;
  }

  .sheet-head,
  .quote-line,
  .summaryline {
    gap: 0.45rem;
  }

  .foot {
    font-size: 0.79rem;
  }
}

/* BEGIN gedeeld demo-familie.css */
/* 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 gedeeld demo-familie.css */
