/* RonaldVBouw concept: the offerte-aanvraag and its bouwbord */
.of { padding: 44px 0 110px; }
.of-wrap { max-width: 860px; }
.of-head h1 { font-size: clamp(34px, 4.4vw, 48px); }
.of-head p { color: var(--muted); font-size: 17px; }
.demo { font-size: 13.5px !important; color: var(--muted); background: var(--concrete); border-radius: 4px; padding: 7px 11px; display: inline-block; }
.of-back { color: #fff; border-color: #55524b; }

.of-steps { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.of-steps li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #8a8478; padding-bottom: 10px; border-bottom: 3px solid var(--line); }
.of-steps span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--ink); font-size: 13px; flex: none; }
.of-steps li.on { color: var(--ink); border-color: var(--red); }
.of-steps li.on span { background: var(--red); color: #fff; }
.of-steps li.done { color: var(--ink); border-color: var(--ink); }
.of-steps li.done span { background: var(--ink); color: var(--gold); }
@media (max-width: 560px) { .of-steps li { font-size: 0; gap: 0; justify-content: center; } .of-steps li span { font-size: 13px; } }

.of-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.of-step legend { font: 400 30px/1.15 var(--serif); padding: 0; margin-bottom: 8px; }
.hint { color: var(--muted); font-size: 14.5px; }
.err { color: var(--red); font-weight: 600; font-size: 15px; margin-top: 14px; }
.f { display: block; font-weight: 600; margin: 22px 0 8px; }
.opt { font-weight: 400; color: var(--muted); font-size: 14px; }
.of textarea, .of input:not([type=file]) { width: 100%; border: 1.5px solid #bdb6a8; border-radius: var(--r); background: var(--white); padding: 12px 14px; font: 400 16.5px/1.45 var(--sans); color: var(--text); }
.of input:not([type=file]) { height: 50px; }
.of textarea:focus, .of input:focus { border-color: var(--ink); outline: none; }
.of input.bad { border-color: var(--red); background: #fff6f6; }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
.tile { text-align: left; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); padding: 14px 16px 14px 46px; cursor: pointer; position: relative; font: inherit; color: inherit; transition: border-color .15s, background .15s; }
.tile::before { content: ""; position: absolute; left: 15px; top: 17px; width: 20px; height: 20px; border: 2px solid #a59e90; border-radius: 4px; background: #fff; }
.tile b { display: block; font-size: 16.5px; font-weight: 600; }
.tile span { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.tile:hover { border-color: #a59e90; }
.tile[aria-pressed="true"] { border-color: var(--ink); background: #fbfaf7; box-shadow: inset 0 0 0 1px var(--ink); }
.tile[aria-pressed="true"]::before { background: var(--red); border-color: var(--red); }
.tile[aria-pressed="true"]::after { content: ""; position: absolute; left: 22px; top: 20px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); padding: 11px 15px; font: 600 15.5px/1.25 var(--sans); color: var(--ink); cursor: pointer; text-align: left; }
.chips button small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.chips button[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips button[aria-checked="true"] small { color: #cfc9bc; }
@media (max-width: 600px) { .chips[data-chips="maat"] button { flex: 1 1 calc(50% - 8px); } }

.photo-in { display: inline-flex; cursor: pointer; }
.photo-in input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.photo-in span { border: 1.5px dashed #a59e90; border-radius: var(--r); padding: 12px 18px; font-weight: 600; background: var(--white); }
.photo-in:focus-within span { outline: 3px solid var(--duim); }
.thumbs { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs img { width: 76px; height: 76px; object-fit: cover; border-radius: 4px; }

.slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.slot-day { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; min-width: 0; }
.slot-day span { grid-column: 1 / -1; }
.slot-day span { font-size: 13.5px; font-weight: 600; text-align: center; }
.slot-day button { border: 1.5px solid var(--line); background: var(--paper); border-radius: 4px; padding: 8px 4px; font: 500 14px var(--sans); color: var(--ink); cursor: pointer; }
.slot-day button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
@media (max-width: 700px) { .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); } .slot-day button { padding: 9px 2px; font-size: 13.5px; } }
@media (max-width: 600px) { .of-page .concept { position: static; display: table; margin: 0 auto 24px; } }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid2 .span2 { grid-column: 1 / -1; }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } }

.of-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.of-nav [data-next] { margin-left: auto; min-width: 200px; }
@media (max-width: 600px) { .of-nav { position: sticky; bottom: 0; background: var(--paper); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); margin-top: 26px; z-index: 5; } .of-nav .btn { flex: 1; min-width: 0; } }

/* the bouwbord: the board that stands in front of every building site, with their project on it */
.done h2 { font-size: 34px; }
.bord-scene { position: relative; max-width: 560px; margin: 26px auto 34px; padding-bottom: 0; }
.bord { position: relative; z-index: 2; background: var(--white); border: 6px solid var(--ink); border-radius: 3px; box-shadow: 0 22px 40px -22px rgba(0, 0, 0, .55); transform-origin: 50% 100%; }
.done.up .bord { animation: plant .7s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes plant { from { transform: translateY(-60px) rotate(-2deg); opacity: 0; } to { transform: none; opacity: 1; } }
.bord-top { display: flex; align-items: center; gap: 16px; background: var(--ink); color: #fff; padding: 14px 18px 16px; }
.bord-top img { width: 78px; height: 78px; flex: none; }
.bord-top p { margin: 0; font: 400 34px/1 var(--serif); }
.bord-top small { display: block; font: 600 12px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.bord-rows { margin: 0; padding: 8px 20px 12px; }
.bord-rows div { display: grid; grid-template-columns: 158px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid #e3ded3; }
.bord-rows div:last-child { border-bottom: 0; }
.bord-rows dt { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.bord-rows dd { margin: 0; font-weight: 600; font-size: 16.5px; line-height: 1.35; }
.bord-foot { background: var(--red); color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; padding: 9px 18px; text-align: center; }
.bord-legs { display: flex; justify-content: space-between; padding: 0 22%; height: 70px; margin-top: -2px; position: relative; z-index: 1; }
.bord-legs span { width: 16px; background: linear-gradient(90deg, #b9b4a8, #e6e1d6 45%, #a7a296); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.bord-ground { height: 14px; margin: 0 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .22), transparent); margin-top: -8px; }
@media (max-width: 560px) {
  .bord-top p { font-size: 26px; } .bord-top img { width: 58px; height: 58px; }
  .bord-rows { padding: 4px 14px 8px; } .bord-rows div { grid-template-columns: 1fr; gap: 2px; } .bord-rows dd { font-size: 16px; }
  .bord-foot { font-size: 11.5px; padding: 8px 10px; }
  .bord-legs { height: 52px; }
}

.track { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: t; }
.track li { counter-increment: t; border-top: 3px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 3px; }
.track li::before { content: counter(t); font: 400 22px/1 var(--serif); color: var(--gold-2); }
.track li.ok { border-color: var(--ok); }
.track li.ok::before { content: "✓"; color: var(--ok); font-family: var(--sans); font-weight: 700; }
.track b { font-size: 15.5px; }
.track span { font-size: 14px; color: var(--muted); }
@media (max-width: 700px) { .track { grid-template-columns: 1fr 1fr; } }
.done-act { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }

@media print {
  .top, .concept, .done-act, .done .demo, .of-head, .track { display: none !important; }
  body { background: #fff; } .of { padding: 0; } .bord { box-shadow: none; animation: none !important; }
}
