/* Houtbouwplatform — bovenop /assets/site.css */
.testbalk { background: #ffd166; color: var(--inkt); text-align: center; font-weight: bold; padding: 6px 12px; font-size: .95rem; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; }
main.platform { padding-block: 32px 56px; min-height: 60vh; }
main.platform h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 .4em; line-height: 1.15; }
main.platform h2 { font-size: 1.35rem; margin: 1.2em 0 .5em; }
main.platform section { padding: 0 0 32px; }
.intro { max-width: 760px; font-size: 1.08rem; }
.klein { font-size: .92rem; color: #6b4a30; }
.kruimel { font-size: .92rem; margin: 0 0 12px; }
.melding { border-radius: 12px; padding: 12px 16px; font-weight: bold; background: #e3f4dc; border: 2px solid #3f8f3a; }
.melding.fout { background: #fde4e1; border-color: var(--rood); color: #8a2018; }
button.btn { border: 0; cursor: pointer; font-family: inherit; }
button.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn.rood { background: var(--rood); box-shadow: 0 6px 0 #7a2018; }
.knoppen { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.knoppen.links { justify-content: flex-start; }
.linkknop { background: none; border: 0; padding: 0; color: var(--rood); text-decoration: underline; cursor: pointer; font: inherit; }

.held { background: linear-gradient(180deg, #8fd0ff 0%, #dff3ff 75%, #9ccc65 75%, #7cb342 100%); border-radius: 24px; padding: 40px 32px 64px !important; margin-bottom: 36px; }
.held h1 { max-width: 760px; }
.held p { max-width: 680px; font-size: 1.15rem; }

.zekerheden-lijst { counter-reset: z; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.zekerheden-lijst li { counter-increment: z; background: #fff; border: 3px solid var(--hout-licht); border-radius: 18px; padding: 14px 16px 16px; }
.zekerheden-lijst li::before { content: counter(z); display: block; color: var(--rood); font-size: 1.7rem; font-weight: bold; line-height: 1; }
.zekerheden-lijst b { display: block; margin: 4px 0; }
.zekerheden-lijst span { font-size: .95rem; color: #6b4a30; }
.zekerheden-lijst.klein li { padding: 10px 12px; }

.twee { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.kaartje { background: #fff; border: 3px solid var(--hout-licht); border-radius: 20px; padding: 20px 22px; margin-bottom: 20px; }
.kaartje > h2:first-child, .kaartje > h1:first-child { margin-top: 0; }
.kaartje.accent { border-color: #3f8f3a; border-width: 4px; }
.kaartje summary { font-weight: bold; cursor: pointer; font-size: 1.1rem; }
.stappen { padding-left: 1.3em; } .stappen li { margin-bottom: 6px; }
.vinklijst { list-style: none; padding: 0; } .vinklijst li::before { content: '✔ '; color: #3f8f3a; font-weight: bold; }
.leegblok { background: #fff; border: 3px dashed var(--hout-licht); border-radius: 20px; padding: 22px; max-width: 760px; }

.filter { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 20px; }
.filter label { display: flex; flex-direction: column; font-weight: bold; gap: 4px; }
.bouwers { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.bouwers a { display: grid; grid-template-columns: 180px 1fr; gap: 18px; background: #fff; border: 3px solid var(--hout); border-radius: 20px; padding: 14px; color: inherit; text-decoration: none; transition: transform .12s, box-shadow .12s; }
.bouwers a:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--hout-licht); }
.bouwers img, .geenfoto { width: 180px; height: 130px; object-fit: cover; border-radius: 12px; background: #f3e6cf; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.bouwers h2 { margin: 2px 0 4px !important; }
.bouwers p { margin: 4px 0; }
.plaats { color: #6b4a30; }
.keurmerk { display: inline-block; background: #3f8f3a; color: #fff; font-weight: bold; border-radius: 99px; padding: 2px 12px; font-size: .9rem; }
.label { display: inline-block; background: #ffd166; border-radius: 99px; padding: 2px 12px; font-size: .9rem; font-weight: bold; }
.sterren { color: #e0a800; letter-spacing: .05em; font-size: 1.1rem; }
.sterren .uit { color: #d8ccbc; }
.sterren.leeg { color: #8a7a6a; font-size: .9rem; letter-spacing: 0; }

.profiel { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.profiel aside { position: sticky; top: 16px; }
.omschrijving { font-size: 1.05rem; max-width: 720px; }
.fotos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.fotos li { background: #fff; border-radius: 14px; overflow: hidden; border: 2px solid var(--hout-licht); }
.fotos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.fotos span { display: block; padding: 6px 10px; font-size: .9rem; }
.fotos.beheer form { padding: 0 10px 8px; }
.review { background: #fff; border-left: 6px solid var(--hout-licht); border-radius: 12px; margin: 0 0 14px; padding: 12px 16px; }
.review.verborgen { opacity: .55; border-left-color: #aaa; }
.review footer { font-size: .88rem; color: #6b4a30; }
.feiten { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 14px; }
.feiten dt { color: #6b4a30; } .feiten dd { margin: 0; font-weight: bold; }

.formulier { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.formulier.smal { max-width: 340px; }
.formulier .btn { align-self: flex-start; }
.formulier h2 { margin-bottom: 0; }
.veld { display: flex; flex-direction: column; gap: 4px; }
.veld > span { font-weight: bold; }
.veld em, .akkoord em { color: var(--rood); font-style: normal; font-size: .92rem; display: block; }
.veld.heeftfout input, .veld.heeftfout textarea, .veld.heeftfout select { border-color: var(--rood); background: #fff5f4; }
.veld.heeftfout .vinkjes { border-color: var(--rood); }
input, select, textarea { font: inherit; padding: 9px 12px; border: 2px solid var(--hout-licht); border-radius: 10px; background: #fff; color: var(--inkt); max-width: 100%; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; accent-color: var(--hout); vertical-align: -3px; }
input:focus, select:focus, textarea:focus { outline: 3px solid #ffd166; border-color: var(--hout); }
.rij2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rij3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.vinkjes { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px 14px; background: #fff; border: 2px solid var(--hout-licht); border-radius: 10px; padding: 10px 12px; }
.akkoord { display: block; padding: 10px 12px; background: #fff; border-radius: 10px; border: 2px solid transparent; }
.akkoord.heeftfout { border-color: var(--rood); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.offertes { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; margin-bottom: 24px; }
.offerte { background: #fff; border: 3px solid var(--hout); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; }
.offerte h3 { margin: 0; font-size: 1.25rem; }
.offerte .bedrag { font-size: 1.3rem; color: var(--rood); }
.offerte .toelichting { font-size: .95rem; background: #fbf5ea; border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; flex: 1; }
.let { color: var(--rood); }
.sterkeuze { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.sterkeuze legend { font-weight: bold; float: left; width: 100%; margin-bottom: 4px; }
.sterkeuze input { position: absolute; opacity: 0; }
.sterkeuze label { font-size: 2.1rem; color: #d8ccbc; cursor: pointer; line-height: 1; }
.sterkeuze input:checked ~ label, .sterkeuze label:hover, .sterkeuze label:hover ~ label { color: #e0a800; }
.sterkeuze input:focus-visible + label { outline: 3px solid var(--rood); border-radius: 6px; }
.keuze { border: 0; padding: 0; margin: 0; } .keuze legend { font-weight: bold; margin-bottom: 4px; } .keuze label { margin-right: 18px; }

.status { display: inline-block; padding: 3px 12px; border-radius: 99px; background: #f3e6cf; font-weight: bold; font-size: .92rem; }
.s-onbevestigd, .s-aanmelding, .s-wacht, .s-nieuw { background: #ffe8c2; }
.s-open, .s-keuring { background: #dcefff; }
.s-gegund, .s-goedgekeurd, .s-opgeleverd { background: #e3f4dc; }
.s-gesloten, .s-afgewezen, .s-mis { background: #eee; }
.s-geschorst { background: #fde4e1; }
.beheerbalk { background: var(--inkt); color: #e8d8c0; padding: 8px 14px; border-radius: 10px; }
.beheerbalk a { color: #ffd166; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters a { background: #fff; border: 2px solid var(--hout-licht); border-radius: 99px; padding: 4px 12px; text-decoration: none; color: var(--inkt); }
.filters a.actief { background: var(--hout); color: #fff; border-color: var(--hout); }
table.tabel { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; border: 3px solid var(--hout-licht); }
.tabel th, .tabel td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #ecdcc4; vertical-align: top; }
.tabel th { background: #f3e6cf; }
.log { list-style: none; padding: 0; margin: 0; }
.log li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid #ecdcc4; }
.log small { color: #6b4a30; white-space: nowrap; }
.keurpunt { display: flex; flex-direction: column; gap: 4px; padding: 8px 0; border-bottom: 1px solid #ecdcc4; }
.keurpunt small { color: #3f8f3a; }
.tekst { max-width: 760px; }

@media (max-width: 800px) {
  .twee, .profiel { grid-template-columns: 1fr; }
  .profiel aside { position: static; }
  .rij2, .rij3 { grid-template-columns: 1fr; }
  .bouwers a { grid-template-columns: 1fr; }
  .bouwers img, .geenfoto { width: 100%; height: 180px; }
  .held { padding: 28px 18px 48px !important; }
  .top nav a { margin-left: 12px; }
  .tabel th:nth-child(3), .tabel td:nth-child(3) { display: none; }
}
