/* B-Special FX — hoofdstijl */

:root {
  --bg: #07090c;
  --surface: #0f1318;
  --surface-2: #161b22;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f2f4f7;
  --muted: #9aa4b0;
  --accent: #2bbbef;
  --accent-hover: #5ccdf4;
  --accent-ink: #00141c;
  --whatsapp: #25d366;

  --font-head: "Raleway", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 14px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 64px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  text-transform: uppercase;
}

h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

p {
  margin: 0 0 1em;
}

.accent {
  color: var(--accent);
}

.muted {
  color: var(--muted);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(64px, 10vw, 120px);
}

.section--alt {
  background: var(--surface);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 60ch;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head h2 {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 14px;
  border-radius: 8px;
}

/* Knoppen */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.95em 1.6em;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 1.2em;
  height: 1.2em;
  flex: none;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text);
  background: rgba(0, 0, 0, 0.2);
}

.btn--ghost:hover {
  border-color: var(--text);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: #062b14;
}

.btn--small {
  padding: 0.7em 1.2em;
  font-size: 0.8rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-arrow {
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
}

.link-arrow::after {
  content: " →";
  transition: margin 0.2s;
}

.link-arrow:hover::after {
  margin-left: 4px;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.site-header.is-solid,
.site-header--solid {
  background: rgba(7, 9, 12, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  /* Breder dan de inhoud (1200) zodat logo, menu, telefoon en knoppen naast elkaar passen */
  max-width: 1400px;
}

/* Het logo mag nooit smaller worden dan zijn verhouding (anders wordt het vervormd als het menu breed is) */
.logo {
  flex-shrink: 0;
}

.logo img {
  height: 50px;
  width: auto;
  max-width: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--text);
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone {
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: auto;
  position: relative;
  transition: transform 0.25s, background 0.25s;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span::after {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav a {
  white-space: nowrap;
}

/* Op laptopschermen (tot ±1366 px) past het telefoonnummer niet naast logo, menu en knoppen */
@media (max-width: 1360px) {
  .header-phone {
    display: none;
  }
}

@media (max-width: 1140px) {
  .nav-toggle {
    display: block;
  }

  .header-actions .btn {
    display: none;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    background: var(--bg);
    padding: 24px var(--gutter);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .nav-open .main-nav {
    transform: none;
  }

  /* backdrop-filter maakt de header het referentiekader voor het fixed menu; uitzetten zodra het menu open is */
  .nav-open .site-header {
    background: var(--bg);
    backdrop-filter: none;
  }

  .nav-open {
    overflow: hidden;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav a {
    font-size: 1.6rem;
    font-weight: 900;
    text-transform: uppercase;
    padding: 14px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }

  .logo img {
    height: 34px;
  }
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-h);
  padding-bottom: clamp(48px, 9vh, 110px);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0;
  transition: opacity 1.6s ease;
}

/* Wisselende headerfoto's (assets/js/hero.js): alleen de actieve foto is zichtbaar */
.hero__media img.is-active {
  opacity: 1;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(7, 9, 12, 0.55) 45%, rgba(7, 9, 12, 0.35) 100%),
    linear-gradient(to right, rgba(7, 9, 12, 0.7), transparent 70%);
}

.hero h1 {
  max-width: 13ch;
  margin-bottom: 0.35em;
}

.hero .lead {
  color: #d5dbe1;
  margin-bottom: 2rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 2.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: #c3cad2;
}

.hero__badges li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}

/* Paginakop (subpagina's) */

.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 10vw, 120px));
  padding-bottom: clamp(48px, 7vw, 88px);
  overflow: hidden;
  isolation: isolate;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg), rgba(7, 9, 12, 0.6));
}

.page-hero h1 {
  max-width: 16ch;
}

/* Statement (Over ons): grote tekst die oplicht tijdens scrollen */

.statement-hero {
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 100px));
  padding-bottom: clamp(48px, 8vw, 100px);
}

.statement {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(40px, 6vw, 72px);
  max-width: 16ch;
}

.statement .w {
  opacity: 0.16;
  transition: opacity 0.35s ease;
}

.statement .w.is-lit {
  opacity: 1;
}

.statement-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.statement-facts dt {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.statement-facts dd {
  margin: 4px 0 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.2;
}

/* Vergelijking: probleem vs. aanpak */

.compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 20px;
}

.compare__col {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
}

.compare__col--good {
  border-color: rgba(43, 187, 239, 0.45);
  background: linear-gradient(160deg, rgba(43, 187, 239, 0.1), transparent 60%), var(--bg);
}

.compare__col .checklist {
  margin-top: 0;
}

.minus-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.minus-list li {
  padding-left: 1.6em;
  position: relative;
}

.minus-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #ff7b7b;
  font-weight: 700;
}

/* Persoon */

.person {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.person__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(43, 187, 239, 0.25), transparent 60%), var(--surface-2);
  display: grid;
  place-items: center;
}

.person__photo img[src$="favicon.png"] {
  width: 45%;
  opacity: 0.9;
}

.person__photo img:not([src$="favicon.png"]) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0.3em;
}

.person__quote {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
}

.person p:not(.person__quote) {
  color: var(--muted);
}

@media (max-width: 720px) {
  .person {
    grid-template-columns: 1fr;
  }

  .person__photo {
    max-width: 320px;
  }
}

/* Portaal (/portaal) */

.header-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}

.header-login:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.header-login svg {
  width: 16px;
  height: 16px;
}

.nav-login {
  display: none;
}

@media (max-width: 1140px) {
  .header-login {
    padding: 8px;
    border: 0;
  }

  .header-login span {
    display: none;
  }

  .header-login svg {
    width: 22px;
    height: 22px;
  }

  .nav-login {
    display: block;
  }
}

.portal-hero {
  padding-bottom: clamp(24px, 4vw, 40px);
}

.portal-card {
  max-width: 560px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.portal-form {
  grid-template-columns: 1fr;
}

.portal-h {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 0.6em;
}

.portal-userbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  margin-bottom: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.portal-role {
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(43, 187, 239, 0.14);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.portal-tile {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-2);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

a.portal-tile:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.portal-tile[hidden] {
  display: none;
}

.portal-tile h3 {
  margin-bottom: 0.3em;
}

.portal-tile p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.portal-tile.is-soon {
  opacity: 0.7;
}

.portal-soon {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

/* Klantportaal als losse app (/portaal/projecten) */

.app-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px clamp(12px, 3vw, 24px);
  background: rgba(15, 19, 24, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.app-title {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--muted);
}

.app-user {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.app-user__email {
  font-size: 0.88rem;
  color: var(--muted);
}

.app-user .portal-role {
  margin-left: 0;
}

.app-main {
  padding-block: clamp(24px, 4vw, 48px) 64px;
}

@media (max-width: 640px) {
  .app-title,
  .app-user__email {
    display: none;
  }
}

/* Portaal: klantgedeelte */

.portal-preview {
  max-width: 560px;
  padding: 20px;
  margin-bottom: 40px;
  border-radius: var(--radius);
  border: 1px dashed rgba(43, 187, 239, 0.5);
}

.portal-preview label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.portal-preview__row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.portal-preview input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
}

.admin-invite .portal-preview__row input[name="name"] {
  flex: 0.7;
}

.admin-invite .btn-row {
  margin-bottom: 8px;
}

.admin-table .client-row {
  grid-template-columns: 2fr 1fr auto;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.admin-table .client-row .admin-access {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.88rem;
  color: var(--muted);
}

.admin-access label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.admin-access input {
  accent-color: var(--accent);
}

/* Kopjes met uitleg (?) en de aanvraagchecklist */
.client-h {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.client-help {
  display: inline-block;
  text-transform: none;
  letter-spacing: 0;
}

.client-help summary {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--accent);
  cursor: pointer;
  list-style: none;
}

.client-help summary::-webkit-details-marker {
  display: none;
}

.client-help[open] summary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.client-help p {
  flex-basis: 100%;
  margin: 8px 0 0;
  max-width: 60ch;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--muted);
}

.client-help[open] {
  flex-basis: 100%;
}

.client-checklist {
  max-width: 820px;
}

.client-checklist .btn-row {
  align-items: center;
}

/* Voortgang per project */
.client-progress {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.client-progress li {
  position: relative;
  padding-top: 14px;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.client-progress li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
}

.client-progress li.is-done::before,
.client-progress li.is-current::before {
  background: var(--accent);
}

.client-progress li.is-current {
  color: var(--text);
  font-weight: 700;
}

.client-progress li.is-current::before {
  box-shadow: 0 0 0 3px rgba(43, 187, 239, 0.25);
}

@media (max-width: 560px) {
  .client-progress li span {
    display: none;
  }

  .client-progress li.is-current span {
    display: inline;
    white-space: nowrap;
  }
}

/* Vast aanspreekpunt */
.client-manager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.client-manager__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(43, 187, 239, 0.16);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 800;
}

.client-manager__text {
  display: grid;
  line-height: 1.3;
}

.client-manager__text small {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.client-manager__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}

.admin-danger {
  border-color: rgba(255, 120, 120, 0.5);
  color: #ff9a9a;
}

.client-group {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 32px 0 12px;
}

.client-project {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  margin-bottom: 12px;
  overflow: hidden;
}

.client-project > summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
}

.client-project > summary::-webkit-details-marker {
  display: none;
}

.client-project[open] > summary {
  border-bottom: 1px solid var(--line);
}

.client-project__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
}

.client-project__meta {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.9rem;
}

.client-project__chips {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.client-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(43, 187, 239, 0.14);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.client-chip--open {
  background: rgba(255, 170, 60, 0.16);
  color: #ffb44d;
}

.client-project__body {
  display: grid;
  gap: 28px;
  padding: 22px;
}

.client-project__body h3 {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.client-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.client-row {
  display: grid;
  /* Vaste breedte voor de knopkolom, anders verschuiven de kolommen tussen kop- en dataregels */
  grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)) 64px;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.client-row:first-child {
  border-top: 0;
}

.client-row--head {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.02);
}

.client-row small {
  color: var(--muted);
}

.client-row .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Offertes en facturen: koppen en bedragen beginnen op dezelfde lijn */
.client-table:not(.client-table--budget) .client-row .num:not(:last-child) {
  text-align: left;
}

.client-table--budget {
  max-width: 480px;
}

.client-table--budget .client-row {
  grid-template-columns: 1fr auto;
}

.client-row--total {
  font-weight: 700;
  background: rgba(43, 187, 239, 0.08);
}

.client-plan-group + .client-plan-group {
  margin-top: 18px;
}

.client-plan-group h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  margin: 0 0 8px;
}

.client-plan {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.client-plan li {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 2fr;
  gap: 4px 16px;
  padding: 10px 14px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 8px 8px 0;
}

.client-plan__when {
  color: var(--muted);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.client-plan__what {
  font-weight: 600;
}

.client-plan__note {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 720px) {
  .client-project > summary {
    grid-template-columns: 1fr;
  }

  .client-project__chips {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
  }

  .client-row,
  .client-row--head {
    grid-template-columns: 1fr 1fr;
  }

  .client-row--head {
    display: none;
  }

  .client-row > span:first-child {
    grid-column: 1 / -1;
  }

  .client-row .num {
    text-align: left;
  }

  .client-row [data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .client-table--budget .client-row > span:first-child {
    grid-column: auto;
  }

  .client-table--budget .client-row .num {
    text-align: right;
  }

  .client-plan li {
    grid-template-columns: 1fr;
  }

  .client-plan__note {
    grid-column: 1;
  }
}

/* Prijslijst-viewer (/prijslijst) */

.viewer-body {
  height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  padding: 0;
}

.viewer-bar,
.viewer-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px clamp(12px, 3vw, 24px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.viewer-foot {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.viewer-logo img {
  height: 36px;
  width: auto;
}

.viewer-title {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--muted);
}

.viewer-actions {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.viewer-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  font: 600 0.88rem var(--font-body);
  text-decoration: none;
  cursor: pointer;
}

.viewer-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.viewer-btn svg {
  width: 18px;
  height: 18px;
}

.viewer-stage {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: clamp(8px, 2vw, 24px);
  min-height: 0;
}

.viewer-page {
  position: relative;
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
}

.viewer-page canvas {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.viewer-status {
  position: absolute;
  inset: auto 0 50%;
  text-align: center;
  color: var(--muted);
}

.viewer-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.viewer-nav:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.viewer-count {
  font-family: var(--font-head);
  font-weight: 800;
  min-width: 64px;
}

.viewer-range {
  flex: 1;
  accent-color: var(--accent);
}

.viewer-contact {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .viewer-title,
  .viewer-btn span,
  .viewer-contact {
    display: none;
  }

  .viewer-stage {
    grid-template-columns: 1fr;
  }

  .viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    opacity: 0.85;
  }

  .viewer-nav--prev {
    left: 6px;
  }

  .viewer-nav--next {
    right: 6px;
  }
}

/* Uitgelichte producten (Special FX) */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  transition: transform 0.25s, border-color 0.25s;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(43, 187, 239, 0.45);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fff;
}

.product-card__body {
  padding: 18px 20px 22px;
}

.product-card__cat {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.product-card h3 {
  margin: 6px 0 2px;
  font-size: 1.25rem;
}

.product-card__brand {
  font-size: 0.88rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card__body {
    padding: 12px 14px 16px;
  }

  .product-card__cat {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }

  .product-card h3 {
    font-size: 1rem;
  }

  .product-card__brand {
    font-size: 0.8rem;
  }
}

.product-grid.is-swapping .product-card {
  animation: concept-in 0.5s ease;
}

/* Overzicht van alle effecten */

.fx-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}

.fx-cat {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
}

.fx-cat h3 {
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0.3em;
}

.fx-cat p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.lg-group + .lg-group {
  margin-top: clamp(32px, 5vw, 48px);
}

.lg-group__title {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Downloadkaart prijslijst */

.download-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px 24px;
  align-items: center;
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(43, 187, 239, 0.45);
  background: linear-gradient(120deg, rgba(43, 187, 239, 0.12), transparent 60%), var(--surface-2);
}

.download-card .feature__icon {
  margin: 0;
}

.download-card h3 {
  margin: 0 0 4px;
}

.download-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

/* Concept → ontwerp → eindproduct */

.concept__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.concept__tabs button {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.2s, border-color 0.2s;
}

.concept__tabs button span {
  color: var(--accent);
  font-size: 1.3rem;
}

.concept__tabs button[aria-selected="true"] {
  color: var(--text);
  border-color: var(--accent);
}

/* voortgangsbalk tijdens automatisch doorschakelen */
.concept__tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
}

.concept.is-playing .concept__tabs button[aria-selected="true"]::after {
  animation: concept-progress var(--concept-duration, 6s) linear forwards;
}

@keyframes concept-progress {
  to {
    width: 100%;
  }
}

.concept__stage {
  display: grid;
}

.concept__panel {
  grid-area: 1 / 1;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  animation: concept-in 0.6s ease;
}

.concept__panel[hidden] {
  display: none;
}

@keyframes concept-in {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
}

.concept__panel svg,
.concept__panel img {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  height: auto;
  object-fit: cover;
}

.concept__panel figcaption {
  padding: 16px 20px;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 560px) {
  /* drie gelijke knoppen naast elkaar, nummer boven de naam, zodat alles in beeld past */
  .concept__tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .concept__tabs button {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px;
    font-size: 0.8rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .concept__tabs button span {
    font-size: 1rem;
  }
}

/* Kaarten */

.grid {
  display: grid;
  gap: 20px;
}

.grid--4 {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1000px) {
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .grid--4 {
    gap: 12px;
  }

  .grid--4 .fx-card__body {
    padding: 16px;
  }

  .grid--4 .fx-card h3 {
    font-size: 1.3rem;
  }

  .grid--4 .fx-card p {
    display: none;
  }
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}

.feature .eyebrow {
  display: block;
  margin-bottom: 0.5rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: 8px;
}

.checklist li {
  padding-left: 1.6em;
  position: relative;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.fx-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
}

.fx-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s ease;
}

.fx-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.05) 60%);
}

.fx-card:hover img {
  transform: scale(1.06);
}

.fx-card__body {
  padding: 24px;
}

.fx-card h3 {
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0.25em;
}

.fx-card p {
  color: #c9d0d7;
  font-size: 0.95rem;
  margin: 0;
}

.fx-card__body::after {
  content: "Bekijk →";
  display: block;
  margin-top: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.feature {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.feature__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(43, 187, 239, 0.12);
  color: var(--accent);
  margin-bottom: 20px;
}

.feature__icon svg {
  width: 26px;
  height: 26px;
}

.feature p {
  color: var(--muted);
  margin: 0;
}

/* Stappen */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 600px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.steps li {
  counter-increment: step;
  padding: 28px 0 0;
  border-top: 2px solid var(--line);
  position: relative;
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
}

.steps p {
  color: var(--muted);
  margin: 0;
}

/* Split: tekst + beeld */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.split__media img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* Projecten */

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.project {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
}

.project img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project:hover img {
  transform: scale(1.04);
}

.project figcaption {
  padding: 16px 20px 20px;
}

.project strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
}

.project span {
  font-size: 0.88rem;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tag-list li {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 0.92rem;
}

/* Verhuurcatalogus */

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: rgba(7, 9, 12, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.subnav ul {
  position: relative; /* referentie voor offsetLeft bij het meeschuiven */
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav ul::-webkit-scrollbar {
  display: none;
}

.subnav a {
  display: block;
  white-space: nowrap;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.subnav a:hover,
.subnav a.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.catalog-group {
  padding-block: clamp(48px, 7vw, 80px);
  border-bottom: 1px solid var(--line);
}

.catalog-group:last-child {
  border-bottom: 0;
}

.catalog-group__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 32px;
  align-items: end;
  margin-bottom: 28px;
}

.catalog-group__head h2 {
  margin: 0;
}

.catalog-group__head p {
  grid-column: 1;
  margin: 0;
}

.catalog-group__head .btn {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}

@media (max-width: 700px) {
  .catalog-group__head {
    grid-template-columns: 1fr;
  }

  .catalog-group__head .btn {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
}

.catalog-sub {
  margin-top: 32px;
}

.catalog-sub h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 14px;
}

.item-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.item-list li {
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.95rem;
}

.item-list small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 2px;
}

/* CTA-band */

.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: calc(var(--radius) * 1.5);
  padding: clamp(40px, 7vw, 80px);
  background: var(--accent);
  color: var(--accent-ink);
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 80px;
  transform: rotate(-12deg);
  background: rgba(255, 255, 255, 0.14);
  z-index: -1;
}

.cta-band h2 {
  max-width: 18ch;
}

.cta-band p {
  max-width: 52ch;
  font-size: 1.1rem;
}

.cta-band .btn--primary {
  background: var(--accent-ink);
  color: #fff;
}

.cta-band .btn--ghost {
  border-color: rgba(0, 20, 28, 0.4);
  color: var(--accent-ink);
  background: transparent;
}

/* Contact */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.contact-card {
  display: block;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-2);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

a.contact-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.contact-card .feature__icon {
  margin-bottom: 16px;
}

.contact-card span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-card strong {
  font-size: 1.1rem;
  word-break: break-word;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form .full {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .form {
    grid-template-columns: 1fr;
  }
}

.field label,
.field legend {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

fieldset.field {
  border: 0;
  padding: 0;
  margin: 0;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checks label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  font-weight: 500;
  cursor: pointer;
}

.checks input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.checks label:has(input:checked) {
  border-color: var(--accent);
  background: rgba(43, 187, 239, 0.12);
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.form-error {
  color: #ff8a8a;
  font-weight: 600;
  margin: 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 64px 32px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer h4 {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.socials svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

/* Altijd bereikbaar: WhatsApp-knop + mobiele actiebalk */

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s;
}

.wa-float:hover {
  transform: scale(1.08);
}

.wa-float svg {
  width: 32px;
  height: 32px;
}

.mobile-bar {
  display: none;
}

@media (max-width: 900px) {
  .wa-float {
    display: none;
  }

  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    inset: auto 0 0;
    z-index: 45;
    background: rgba(15, 19, 24, 0.97);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-bar svg {
    width: 22px;
    height: 22px;
  }

  .mobile-bar a:nth-child(2) svg {
    color: var(--whatsapp);
  }

  .mobile-bar a:last-child {
    background: var(--accent);
    color: var(--accent-ink);
  }

  body {
    padding-bottom: 64px;
  }
}

/* Scroll-animatie */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* Klantportaal: documenten en media uit Drive */
.client-files {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.client-files li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 16px;
}
.client-files li + li {
  border-top: 1px solid var(--line);
}
.client-files__name {
  display: grid;
  gap: 2px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.client-files__name small {
  color: var(--muted);
}
.client-files__actions {
  display: flex;
  gap: 8px;
}
.client-media {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.client-media__item {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  text-decoration: none;
}
.client-media__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.client-media__item:hover img {
  transform: scale(1.04);
}
.client-media__item.is-video::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.client-media__name {
  padding: 8px;
  font-size: 0.8rem;
  text-align: center;
  overflow-wrap: anywhere;
}
.client-drive {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px dashed var(--line);
}
.client-drive__status {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.client-drive__form {
  display: grid;
  gap: 8px;
}
.client-drive__form[hidden] {
  display: none;
}
.client-drive__suggest {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.client-drive__pick {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.client-drive__pick:hover {
  border-color: var(--accent);
}
.client-drive__pick small {
  color: var(--muted);
}

/* Begroting per subproject */
.client-table--budget .client-row--sub {
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
}
.client-table--budget .client-row--indent > span:first-child {
  padding-left: 16px;
  color: var(--muted);
}

/* Berichten per project */
.client-thread {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 10px;
  background: var(--surface-2);
}
.client-thread > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}
.client-thread > summary::-webkit-details-marker {
  display: none;
}
.client-thread__subject {
  font-weight: 600;
}
.client-thread--new .client-thread__subject {
  color: var(--accent);
}
.client-thread__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}
.client-msgs {
  list-style: none;
  margin: 0;
  padding: 4px 14px 0;
  display: grid;
  gap: 10px;
}
.client-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.client-msg--bsf {
  justify-self: start;
}
.client-msg--klant {
  justify-self: end;
  background: rgba(43, 187, 239, 0.1);
  border-color: rgba(43, 187, 239, 0.3);
}
.client-msg small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 4px;
}
.client-msg p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.client-msg-form {
  padding: 12px 14px 14px;
  max-width: none;
}
@media (max-width: 640px) {
  .client-thread > summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .client-msg {
    max-width: 100%;
  }
}
.client-msg__status {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
}
.client-msg__status.is-read {
  color: var(--accent);
}
.client-thread__archived {
  margin: 0;
  padding: 12px 14px 14px;
  align-items: center;
}
.client-thread.is-archived .client-thread__subject {
  color: var(--muted);
}
.client-archive {
  margin-top: 14px;
}
.client-archive > summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 6px 0 10px;
}

/* Projecten (cases met fotogalerij) */
.concept-banner {
  position: relative;
  z-index: 5;
  margin-top: 84px;
  padding: 10px 20px;
  background: #b45309;
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
}
.concept-note {
  color: #f59e0b;
  font-size: 0.9rem;
}
.cases {
  display: grid;
  gap: 56px;
}
.case {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}
.case:nth-child(even) .case__hero {
  order: 2;
}
.case__hero {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.case__hero img,
.case__thumb img,
.bts__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.case__hero:hover img,
.case__thumb:hover img,
.bts__item:hover img {
  transform: scale(1.04);
}
.case__body h2 {
  margin: 6px 0 10px;
}
.case__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.case__thumb {
  display: block;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
}
.bts {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.bts__item {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  scroll-snap-align: start;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.92);
  padding: 24px;
}
.lightbox[hidden] {
  display: none;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  cursor: pointer;
}
.lightbox__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 800px) {
  .case {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .case:nth-child(even) .case__hero {
    order: 0;
  }
  .case__thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
  .concept-banner {
    margin-top: 64px;
  }
}
.ook {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.ook__item {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}
.ook__item strong {
  display: block;
  font-size: 1.1rem;
  margin: 4px 0 6px;
}
.ook__item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.project-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.project-link:hover img {
  transform: scale(1.04);
}
.project img {
  transition: transform 0.4s ease;
}
