:root {
  --accent: #d17c5a;
  --sand: #d8c9b4;
  --bg: #f5f5f3;
  --white: #ffffff;
  --text: #1a1a1a;
  --muted: #6f6f6f;
  --footer: #121212;
  --container: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; font-family:"DM Sans",sans-serif; color:var(--text); background:#fff; }
a { color: inherit; text-decoration: none; }
img { display:block; max-width:100%; }
input, textarea, select, button { font: inherit; }
.container { width:min(calc(100% - 64px), var(--container)); margin:0 auto; }
.narrow { max-width:980px; }
.site-header { position:sticky; top:0; z-index:20; background:rgba(255,255,255,.96); border-bottom:1px solid rgba(0,0,0,.05); }
.nav-wrap { min-height: 102px; display:flex; align-items:center; justify-content:space-between; gap:32px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.brand-logo {
  height: 96px;
  width: auto;
  max-width: none;
  object-fit: contain;
}
.brand-wordmark {
  font-family: "Inter", sans-serif;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sand);
  white-space: nowrap;
}
.brand-wordmark::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 42px;
  margin-right: 16px;
  vertical-align: middle;
  background: rgba(216, 201, 180, 0.9);
}
.nav-side { display:flex; align-items:center; gap:18px; flex-wrap:wrap; justify-content:flex-end; }
.site-nav { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.site-nav a { color:#666; }
.site-nav form { margin:0; }
.language-switch {
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:.92rem;
  letter-spacing:.08em;
}
.language-link {
  color:var(--muted);
  text-transform:uppercase;
}
.language-link.is-active {
  color:var(--accent);
  font-weight:700;
}
.language-separator { color:#c2b7aa; }
.btn { display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:0 24px; border:1px solid transparent; cursor:pointer; }
.btn-primary { background:var(--accent); color:#fff; }
.btn-secondary { border-color:#cfcfcf; background:transparent; color:#4f4f4f; }
.btn-sm { min-height:42px; padding:0 18px; }
.section { padding:clamp(64px, 8vw, 90px) 0; }
.section-light { background:var(--bg); }
.section-beige, .section-contact { background:#d8ccb8; }
.hero-image-section {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-image { width:auto; max-width:100%; height:auto; max-height:calc(100vh - 120px); }
.hero-copy,
#hero-intro {
  scroll-margin-top: 118px;
}
.hero-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  z-index: 2;
}
.hero-scroll-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(6px);
  animation: hero-bob 2.4s ease-in-out infinite;
  transition: transform .18s ease, background .18s ease;
}
.hero-scroll-indicator:hover .hero-scroll-dot,
.hero-scroll-indicator:focus-visible .hero-scroll-dot {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.82);
}
.hero-scroll-arrow {
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translateY(-1px);
}
@keyframes hero-bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}
.hero-copy { padding:clamp(72px, 9vw, 110px) 0; }
.eyebrow, .footer-label, .portfolio-type { color:var(--accent); font-family:"Inter",sans-serif; font-size:.95rem; letter-spacing:.12em; margin:0 0 20px; }
h1, h2, h3 { margin:0; line-height:1.05; font-weight:500; letter-spacing:-.03em; }
h1 { font-size:clamp(2.8rem, 5vw, 4.3rem); }
.compact-title { font-size:clamp(2.4rem,4vw,3.5rem); margin-bottom:24px; }
.section-title { font-size:clamp(2.4rem,4vw,3.8rem); margin-bottom:42px; }
.section-subtitle { font-size:2rem; margin:10px 0 18px; }
.lead, .lead-small, .about-copy p, .service-card p:last-child, .workflow-card p, .portfolio-card p:last-child, .card p, .footer-grid p, .footer-grid a { color:#6f6f6f; line-height:1.6; }
.lead { font-size:clamp(1.12rem, 2vw, 1.45rem); max-width:940px; margin:28px 0 42px; }
.lead-small { font-size:1.15rem; }
.hero-actions { display:flex; gap:16px; flex-wrap:wrap; }
.services-grid, .portfolio-grid, .role-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.service-card .line { height:1px; background:#ddd0bd; margin-bottom:26px; }
.service-number, .workflow-card span { color:#cfbda1; font-size:3rem; }
.service-card h3, .workflow-card h3, .portfolio-card h3, .role-card h3 { font-size:1.8rem; margin:18px 0 12px; }
.workflow-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  grid-auto-rows:1fr;
  align-items:stretch;
}
.workflow-card, .card, .role-card, .folder-card { background:#fff; padding:24px; }
.workflow-card {
  display:grid;
  grid-template-rows:auto auto 1fr;
  align-content:start;
  height:100%;
}
.workflow-card span,
.workflow-card h3,
.workflow-card p {
  width:100%;
}
.workflow-card p {
  margin:0;
}
.about-grid { display:grid; grid-template-columns:minmax(340px,480px) 1fr; gap:64px; align-items:center; }
.about-copy {
  order: 1;
}
.about-image { width:100%; object-fit:cover; }
.about-grid > div:last-child {
  order: 2;
}
.about-title {
  color: var(--accent);
}
.portfolio-image { aspect-ratio:4/5; object-fit:cover; margin-bottom:18px; }
.portal-promo {
  display:grid;
  grid-template-columns:minmax(0, 1.5fr) minmax(320px, 0.9fr);
  gap:40px;
  align-items:center;
}
.portal-promo-copy .section-title {
  max-width:880px;
  margin-bottom:20px;
}
.portal-access-grid {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
}
.portal-access-card {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:128px;
  padding:20px;
  border:1px solid rgba(209,124,90,.22);
  background:linear-gradient(180deg, #fff 0%, #f7f1ea 100%);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.portal-access-card:hover,
.portal-access-card:focus-visible {
  transform:translateY(-2px);
  box-shadow:0 18px 34px rgba(209,124,90,.14);
  border-color:rgba(209,124,90,.42);
  outline:none;
}
.portal-access-label {
  font-size:1.25rem;
  font-weight:600;
  text-align:center;
}
.auth-wrap, .dashboard-grid, .dossier-layout { display:grid; grid-template-columns:1fr 1fr; gap:32px; align-items:start; }
.form-grid { display:grid; gap:16px; }
.form-grid label { display:grid; gap:8px; color:#696969; }
.form-grid input, .form-grid textarea, .form-grid select { width:100%; border:1px solid #ddd; padding:14px 16px; background:#fff; }
.captcha-question {
  display:block;
  color:var(--text);
  font-weight:600;
}
.field-help {
  display:block;
  color:var(--muted);
  font-size:.92rem;
  line-height:1.5;
}
.note-box { background:#fff; padding:18px 20px; max-width:420px; border-left:4px solid var(--accent); }
.stack-list { display:grid; gap:14px; }
.list-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0; border-bottom:1px solid #eee; }
.list-row:last-child { border-bottom:0; }
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0, 0, 0, 0);
  white-space:nowrap;
  border:0;
}
.pricing-step { gap:18px; }
.pricing-phase-card { display:grid; gap:10px; }
.pricing-phase-card h3 { margin:0 0 4px; }
.pricing-item-row {
  display:grid;
  grid-template-columns:auto minmax(0, 1fr);
  gap:14px;
  padding:16px 0;
  border-bottom:1px solid #eee;
  align-items:start;
}
.pricing-item-row:last-child { border-bottom:0; }
.pricing-check {
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:6px;
}
.pricing-check input {
  width:18px;
  height:18px;
  margin:0;
}
.pricing-item-main {
  display:grid;
  grid-template-columns:minmax(220px, 1fr) minmax(360px, 430px);
  gap:18px;
  align-items:start;
  min-width:0;
}
.pricing-item-copy strong {
  display:block;
  margin-bottom:6px;
}
.pricing-item-copy p {
  margin:0;
}
.pricing-item-fields {
  display:grid;
  grid-template-columns:84px 108px minmax(150px, 1fr);
  gap:12px;
  min-width:0;
  justify-content:start;
}
.pricing-item-fields label {
  margin:0;
  min-width:0;
}
.pricing-item-copy {
  min-width: 0;
}
.pricing-item-fields input,
.pricing-item-fields select {
  width:100%;
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
.folder-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.folder-card strong { display:block; }
.flash { max-width:var(--container); width:min(calc(100% - 64px), var(--container)); margin:18px auto 0; padding:14px 18px; }
.flash-inline {
  width:100%;
  max-width:none;
  margin:0 0 8px;
}
.flash-success { background:#edf7ef; color:#245a2d; }
.flash-error { background:#fff0f0; color:#8a2424; }
.site-footer { background:var(--footer); color:#fff; padding:82px 0 48px; }
.footer-grid {
  display:grid;
  grid-template-columns:minmax(260px, 1.1fr) minmax(240px, 1fr) minmax(240px, 1fr);
  gap:64px;
  align-items:start;
}
.footer-brand-block,
.footer-column {
  display:grid;
  align-content:start;
  gap:18px;
}
.footer-logo-wrap {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:132px;
  min-height:132px;
  padding:14px;
  background:#ffffff;
  border:1px solid rgba(216, 201, 180, 0.45);
  box-shadow:0 10px 26px rgba(0, 0, 0, 0.08);
}
.footer-logo {
  width:92px;
  height:auto;
  margin:0;
  object-fit:contain;
  filter:contrast(1.02) saturate(1.01);
}
.footer-tagline {
  max-width:250px;
  font-size:1.1rem;
}
.footer-grid p, .footer-grid a {
  color:rgba(255,255,255,.72);
  margin:0;
}
.footer-column a,
.instagram-link {
  display:inline-flex;
  align-items:center;
  gap:10px;
  width:fit-content;
}
.instagram-icon {
  width:18px;
  height:18px;
  stroke:rgba(255,255,255,.82);
  fill:none;
  stroke-width:1.8;
  flex:0 0 auto;
}
.instagram-link:hover,
.footer-column a:hover {
  color:#fff;
}
.instagram-link:hover .instagram-icon {
  stroke:#fff;
}
@media (max-width: 1080px) {
  .nav-wrap {
    min-height: 92px;
    gap: 24px;
  }
  .brand-logo { height: 84px; }
  .brand-wordmark {
    font-size: 1.28rem;
  }
  .site-nav {
    gap: 14px;
  }
  .workflow-grid { grid-template-columns:repeat(2,1fr); }
  .services-grid, .portfolio-grid, .role-grid, .portal-access-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .about-grid, .auth-wrap, .dashboard-grid, .dossier-layout, .portal-promo { grid-template-columns:1fr; display:grid; }
  .footer-grid {
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
  .footer-brand-block {
    grid-column: 1 / -1;
  }
}
@media (max-width: 900px) {
  .site-header {
    position: static;
  }
  .nav-wrap {
    min-height: unset;
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .nav-side {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
  }
  .site-nav {
    gap: 12px 14px;
  }
  .hero-image {
    max-height: calc(100vh - 72px);
  }
  .hero-copy,
  #hero-intro {
    scroll-margin-top: 32px;
  }
}
@media (max-width: 760px) {
  .container { width:min(calc(100% - 32px), var(--container)); }
  .section {
    padding: 52px 0;
  }
  .nav-wrap { align-items:flex-start; }
  .nav-side { width:100%; justify-content:flex-start; }
  .site-nav { gap:12px; }
  .brand { gap: 12px; }
  .brand-logo { height: 72px; }
  .brand-wordmark { font-size: 1rem; }
  .brand-wordmark::before {
    height: 28px;
    margin-right: 10px;
  }
  h1 { line-height: 1.08; }
  .section-title {
    margin-bottom: 28px;
  }
  .lead {
    margin: 20px 0 28px;
  }
  .hero-copy {
    padding: 56px 0 52px;
  }
  .hero-scroll-indicator {
    display: none;
  }
  .hero-actions { flex-direction:column; }
  .btn { width:100%; }
  .workflow-grid, .services-grid, .portfolio-grid, .role-grid, .folder-grid { grid-template-columns:1fr; }
  .workflow-grid {
    gap: 18px;
  }
  .service-card h3,
  .workflow-card h3,
  .portfolio-card h3,
  .role-card h3 {
    font-size: 1.5rem;
  }
  .service-number, .workflow-card span {
    font-size: 2.35rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .site-footer {
    padding: 56px 0 34px;
  }
  .list-row { flex-direction:column; align-items:flex-start; }
  .pricing-item-main,
  .pricing-item-fields { grid-template-columns:1fr; }
  .portal-access-grid { grid-template-columns:1fr; }
}


.portfolio-card {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.portfolio-card:hover {
  transform: translateY(-3px);
}

.portfolio-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ececec;
  color: #777;
}

body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
}

.modal-content-wrap {
  position: relative;
  z-index: 2;
  width: min(92vw, 1200px);
  height: min(86vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.modal-close,
.modal-nav {
  position: absolute;
  z-index: 3;
  border: 0;
  background: rgba(255,255,255,0.14);
  color: #fff;
  cursor: pointer;
}

.modal-close {
  top: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  font-size: 2rem;
}

.modal-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  font-size: 2.2rem;
}

.modal-prev { left: 24px; }
.modal-next { right: 24px; }

.hidden {
  display: none !important;
}

.dossier-page {
  min-height: calc(100vh - 140px);
}

.dossier-shell {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.dossier-sidebar,
.dossier-main {
  min-width: 0;
}

.dossier-phase-panel,
.dossier-upload-card,
.dossier-files-card {
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 18px 50px rgba(26, 26, 26, 0.04);
}

.dossier-phase-header {
  margin-bottom: 24px;
}

.dossier-phase-header .section-subtitle,
.dossier-files-heading {
  margin: 0 0 8px;
}

.phase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.phase-tile {
  display: grid;
  gap: 10px;
  width: 100%;
  min-height: 132px;
  padding: 22px;
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f7f4ef 100%);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.phase-tile:hover,
.phase-tile:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(209, 124, 90, 0.45);
  box-shadow: 0 14px 30px rgba(209, 124, 90, 0.12);
  outline: none;
}

.phase-tile.is-active {
  background: linear-gradient(180deg, rgba(209, 124, 90, 0.15) 0%, rgba(209, 124, 90, 0.08) 100%);
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(209, 124, 90, 0.16);
}

.phase-tile-name {
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.1;
}

.phase-tile-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.dossier-topbar {
  margin-bottom: 24px;
}

.dossier-title {
  margin-bottom: 14px;
}

.dossier-subtitle {
  max-width: 760px;
}

.dossier-files-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.file-card {
  display: grid;
  gap: 18px;
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.file-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(209, 124, 90, 0.12);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.file-card-body {
  display: grid;
  gap: 10px;
  align-content: start;
}

.file-card-body h3 {
  font-size: 1.3rem;
  line-height: 1.2;
  margin: 0;
  word-break: break-word;
}

.file-card-body p {
  margin: 0;
  color: var(--muted);
}

.file-card-action {
  justify-self: start;
}

.empty-files {
  padding: 18px 0 4px;
}

.architect-dashboard-shell {
  display: grid;
  grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.architect-dashboard-sidebar .compact-title {
  max-width: 9ch;
  line-height: 0.96;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.architect-dashboard-sidebar .lead-small {
  max-width: 18ch;
  line-height: 1.5;
}

.architect-quick-actions,
.architect-link-card,
.architect-explorer {
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 18px 50px rgba(26, 26, 26, 0.04);
}

.architect-quick-actions,
.architect-link-card {
  display: grid;
  gap: 14px;
}

.architect-explorer {
  padding: 0;
  overflow: hidden;
}

.architect-explorer-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 30px 22px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(180deg, #fff 0%, #fbf8f4 100%);
}

.architect-explorer-title {
  margin-bottom: 0;
}

.architect-explorer-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.architect-filter-chip,
.explorer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(209, 124, 90, 0.12);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.architect-filter-chip.is-active {
  background: var(--accent);
  color: #fff;
}

.explorer-badge-partner {
  background: rgba(26, 26, 26, 0.08);
  color: var(--text);
}

.architect-explorer-table {
  display: grid;
}

.architect-explorer-head,
.architect-explorer-row {
  display: grid;
  grid-template-columns: minmax(250px, 2fr) minmax(240px, 1.45fr) minmax(100px, 0.5fr) minmax(138px, 0.75fr);
  gap: 16px;
  align-items: start;
  padding: 20px 30px;
}

.architect-explorer-head {
  background: #f6f2ec;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.architect-explorer-row {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  cursor: pointer;
}

.architect-explorer-row.is-filtered-out {
  display: none !important;
}

.architect-explorer-row:hover {
  background: #fcfaf7;
}

.architect-explorer-row:focus-visible {
  outline: 2px solid rgba(209, 124, 90, 0.45);
  outline-offset: -2px;
  background: #fcfaf7;
}

.architect-explorer-row > div {
  min-width: 0;
}

.architect-project-cell {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.architect-project-cell > div {
  min-width: 0;
}

.architect-project-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(209, 124, 90, 0.12);
  font-size: 1.2rem;
}

.architect-project-cell strong,
.architect-explorer-row strong {
  display: block;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.architect-row-primary-link {
  color: inherit;
}

.architect-row-primary-link:hover {
  color: var(--accent);
}

.architect-project-cell p,
.architect-explorer-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  word-break: break-word;
  line-height: 1.45;
}

.architect-row-actions {
  display: flex;
  gap: 8px;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.architect-row-actions form {
  margin: 0;
}

.architect-row-actions .btn,
.architect-row-actions form .btn {
  width: 100%;
  justify-content: center;
  min-width: 0;
  padding-left: 12px;
  padding-right: 12px;
}

.architect-empty-state {
  padding: 30px;
  background: #fff;
}

.omgevingscheck-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(209, 124, 90, 0.14);
  background: linear-gradient(180deg, #fff 0%, #fbf7f2 100%);
}

.omgevingscheck-card h3 {
  margin: 0;
  font-size: 1.4rem;
}

#omgevingscheck-status {
  margin: 0;
}

.omgevingscheck-error {
  color: #8a2424 !important;
}

#omgevingscheck-results {
  display: grid;
  gap: 18px;
}

.omgevingscheck-category {
  display: grid;
  gap: 12px;
}

.omgevingscheck-category-head,
.omgevingscheck-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.omgevingscheck-category-head {
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.omgevingscheck-category-head strong {
  font-size: 1.12rem;
}

.omgevingscheck-category-head span,
.omgevingscheck-group-head span {
  color: var(--muted);
  font-size: 0.95rem;
}

.omgevingscheck-group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.omgevingscheck-group {
  padding: 16px 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}

.omgevingscheck-group strong {
  display: block;
  margin: 0;
}

.omgevingscheck-group ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.omgevingscheck-group li {
  margin-bottom: 8px;
}

.omgevingscheck-group small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}

.omgevingscheck-group p {
  margin: 12px 0 0;
}

.omgevingscheck-group a {
  display: inline-flex;
  margin-top: 6px;
  color: var(--accent);
}

@media (max-width: 760px) {
  .omgevingscheck-group-grid {
    grid-template-columns: 1fr;
  }

  .omgevingscheck-category-head,
  .omgevingscheck-group-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .modal-content-wrap {
    width: min(88vw, 1200px);
    height: min(72vh, 900px);
  }

  .modal-close {
    top: 14px;
    right: 14px;
  }

  .modal-prev { left: 10px; }
  .modal-next { right: 10px; }
}

@media (max-width: 1080px) {
  .dossier-shell {
    grid-template-columns: 1fr;
  }

  .architect-dashboard-shell {
    grid-template-columns: 1fr;
  }

  .architect-dashboard-sidebar .compact-title,
  .architect-dashboard-sidebar .lead-small {
    max-width: none;
  }

  .architect-explorer-head {
    display: none;
  }

  .architect-explorer-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 22px;
  }
}

@media (max-width: 760px) {
  .phase-grid,
  .file-grid {
    grid-template-columns: 1fr;
  }

  .dossier-phase-panel,
  .dossier-upload-card,
  .dossier-files-card {
    padding: 22px;
  }

  .phase-tile {
    min-height: 110px;
  }

  .architect-explorer-toolbar {
    padding: 22px;
    align-items: flex-start;
    flex-direction: column;
  }

  .architect-explorer-stats {
    justify-content: flex-start;
  }
}
