/* Renovaraam — branded UI: modals, forms, chat, motion, hero fix */

/* ——— Bootstrap Icons (uniform, plat) ——— */
.rv-icon {
  display: inline-block;
  vertical-align: -0.12em;
  line-height: 1;
  font-style: normal;
  font-weight: normal !important;
}

.rv-icon--sm {
  font-size: 0.95rem;
}

.rv-icon--md {
  font-size: 1.15rem;
}

.rv-icon--lg {
  font-size: 1.45rem;
}

.rv-icon--xl {
  font-size: 1.65rem;
}

.btn--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn--icon .rv-icon {
  margin: 0;
  flex-shrink: 0;
}

.nav-cta.btn--icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--color-blue);
  border: 0;
  border-bottom: 2px solid var(--color-blue);
}

.nav-cta.btn--icon:hover {
  background: transparent;
  color: var(--color-red);
  border-bottom-color: var(--color-red);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.55rem 1.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--color-red);
  border: 2px solid var(--color-red);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.nav-cta:hover {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: #fff;
}

.bottom-dock__icon.rv-icon {
  width: auto;
  height: auto;
  margin: 0;
  line-height: 1;
}

.bottom-dock__half--chat .bottom-dock__icon {
  color: inherit;
}

.rv-chat__close .rv-icon {
  display: block;
  margin: 0;
}

body.page-enter {
  animation: rv-page-in 0.35s var(--ease-smooth) both;
}

@keyframes rv-page-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Home — exact één viewport onder de header (svh = stabiel bij refresh; geen dvh) */
.hero-viewport {
  --hero-viewport-h: calc(100svh - var(--header-sticky-h));
  --home-quick-nav-h: 2.85rem;
  --hero-controls-h: 3.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  height: var(--hero-viewport-h);
  min-height: var(--hero-viewport-h);
  max-height: var(--hero-viewport-h);
  overflow: hidden;
  background: var(--ink);
}

.hero-viewport .hero {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--ink);
  overflow: hidden;
}

.hero-viewport .hero-slides {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-viewport .hero-slide.has-image.is-active,
.hero-viewport .hero-slide.hero-slide--split.is-active {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

.hero-viewport .hero-slide.hero-slide--split.is-active {
  display: flex;
  flex-direction: column;
}

.hero-viewport .hero-slide.has-image.is-active {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-viewport .hero-slide.has-image {
  min-height: 0;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--ink);
}

.hero-viewport .hero-slide.has-image .hero-overlay {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
  padding-bottom: calc(
    clamp(1.75rem, 4vw, 2.25rem) + var(--home-quick-nav-h) + var(--hero-controls-h)
  );
}

.hero-viewport .hero-split {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
  padding-bottom: var(--home-quick-nav-h);
}

.hero-viewport .hero:has(.hero-controls) .hero-split {
  padding-bottom: calc(var(--home-quick-nav-h) + var(--hero-controls-h));
}

.hero-viewport .home-quick-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12;
  flex-shrink: 0;
}

/* Hero — controls onder de slide, niet over tekst */
.hero {
  display: flex;
  flex-direction: column;
}

.hero-slides {
  position: relative;
  flex: 1 1 auto;
  min-height: min(62vh, 580px);
  overflow: hidden;
}

/* Binnen hero-viewport: geen vaste min-height — flex vult het scherm */
.hero-viewport .hero-slides {
  min-height: 0;
}

.hero-slide.has-image:not(.is-active) {
  display: none !important;
}

.hero-slide.has-image.is-active {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: min(62vh, 580px);
}

.hero-viewport .hero-slide.has-image.is-active {
  min-height: 0;
}

.hero-slide.hero-slide--split:not(.is-active) {
  display: none !important;
}

.hero-slide.hero-slide--split.is-active {
  display: block;
  width: 100%;
}

.hero-slide.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(8, 9, 12, 0.92) 0%,
    rgba(8, 9, 12, 0.72) 38%,
    rgba(8, 9, 12, 0.35) 62%,
    rgba(8, 9, 12, 0.12) 100%
  );
}

.hero {
  position: relative;
}

.hero-slide.has-image .hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: min(58vh, 540px);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
  background: none;
}

.hero-slide.has-image .hero-overlay .container {
  padding-bottom: 0.35rem;
}

.hero .hero-controls {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  flex-shrink: 0;
  z-index: 5;
  margin: 0;
}

.hero-viewport .hero .hero-controls {
  flex-shrink: 0;
  position: relative;
  z-index: 14;
  margin: 0 0 var(--home-quick-nav-h);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 9, 12, 0.92);
}

.hero-count {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
  min-width: 3.75rem;
  padding-inline: 0.35rem;
  text-align: center;
  flex-shrink: 0;
}

/* Forms — branded, underline fields */
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
textarea,
select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0.75rem 0 0.65rem;
  -webkit-appearance: none;
  appearance: none;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-bottom-color: var(--color-blue);
  box-shadow: inset 0 -1px 0 var(--color-blue);
}

select {
  cursor: pointer;
  padding-right: 2.5rem;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

/* select-opties: custom dropdown in forms-ui.css / custom-select.js */

.form-grid--2 {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.label-optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85em;
}

.wizard-panel__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.5vw, 1.35rem);
}

#leadWizard [hidden],
.wizard-nav [hidden] {
  display: none !important;
}

.wizard-summary {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 0;
  margin-bottom: 1rem;
}

.wizard-summary__list {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}
.wizard-summary__list dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
}
.wizard-summary__list dd {
  margin: 0;
}

/* Modal */
.rv-modal-root {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med), visibility var(--t-med);
}
.rv-modal-root.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
.rv-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 12, 0.55);
}
.rv-modal {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  background: var(--surface);
  border: 0;
  border-bottom: 3px solid var(--color-red);
  box-shadow: 0 24px 64px rgba(8, 9, 12, 0.2);
  padding: 1.5rem 1.75rem;
  transform: translateY(12px);
  transition: transform var(--t-med);
}
.rv-modal-root.is-open .rv-modal {
  transform: translateY(0);
}
.rv-modal__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.rv-modal__body {
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.55;
}
.rv-modal__actions {
  display: flex;
  gap: 0.65rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ——— Bottom dock (iconen) — onder menu, verborgen bij open menu ——— */
:root {
  --bottom-dock-h: 3rem;
  --chat-panel-h: min(72vh, 600px);
  --chat-anchor: 1.25rem;
  --chat-fab-size: 3.75rem;
  --chat-panel-gap: 0.65rem;
}

body {
  padding-bottom: calc(var(--bottom-dock-h) + env(safe-area-inset-bottom, 0px));
}

.rv-chat {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  pointer-events: none;
}

.rv-chat .bottom-dock,
.rv-chat .rv-chat__panel,
.rv-chat .rv-chat__close {
  pointer-events: auto;
}

.bottom-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 91;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: var(--bottom-dock-h);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 28px rgba(8, 9, 12, 0.14);
  background: var(--surface);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transition: transform 0.3s var(--ease-smooth), opacity 0.25s, visibility 0.25s;
}

/* Mobiel: dock weg bij open menu of open chat (geen overlap) */
@media (max-width: 959px) {
  body.nav-open .bottom-dock,
  .rv-chat.is-open .bottom-dock {
    transform: translateY(110%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  body.nav-open,
  body.rv-chat-open {
    padding-bottom: 0;
  }

  .rv-chat.is-open .rv-chat__panel {
    bottom: env(safe-area-inset-bottom, 0px);
    height: min(86vh, 680px);
    max-height: min(86vh, 680px);
    min-height: 0;
  }
}

.bottom-dock__half {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.5rem 0.75rem;
  border: 0;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  min-height: var(--bottom-dock-h);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.bottom-dock__icon {
  flex-shrink: 0;
  line-height: 1;
}

.bottom-dock__caption {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.bottom-dock__half--offerte {
  background: transparent;
  color: var(--color-blue);
  border-right: 1px solid var(--line);
}

.bottom-dock__half--offerte:hover {
  background: rgba(33, 70, 139, 0.06);
  color: var(--color-red);
}

.bottom-dock__half--chat {
  background: var(--surface);
  color: var(--color-blue);
}

.bottom-dock__half--chat:hover {
  background: rgba(33, 70, 139, 0.06);
  color: var(--color-red);
}

.rv-chat.is-open .bottom-dock__half--chat {
  background: var(--color-red);
  color: #fff;
}

.rv-chat__panel {
  display: none;
  flex-direction: column;
  position: fixed;
  right: 0.65rem;
  left: 0.65rem;
  bottom: calc(var(--bottom-dock-h) + env(safe-area-inset-bottom, 0px));
  width: auto;
  height: auto;
  max-height: var(--chat-panel-h);
  min-height: 0;
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -16px 48px rgba(8, 9, 12, 0.2);
  z-index: 92;
}

.rv-chat.is-open .rv-chat__panel {
  display: flex;
}

.rv-chat__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  flex-shrink: 0;
}

.rv-chat__head-text {
  min-width: 0;
}

.rv-chat__close {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  border-bottom: 2px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 0 0 0.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.rv-chat__close:hover {
  border-bottom-color: var(--color-red);
  color: var(--color-red);
  background: transparent;
}
.rv-chat__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.rv-chat__title::after {
  content: "";
  display: block;
  width: 2.25rem;
  height: 3px;
  margin-top: 0.4rem;
  background: var(--color-red);
}
.rv-chat__sub {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}
.rv-chat__live {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1a7f4b;
}
.rv-chat__live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  margin-right: 0.35rem;
  vertical-align: middle;
}
.rv-chat__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.rv-chat__messages {
  padding: 0.75rem 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rv-chat__footer {
  flex: 0 0 auto;
  flex-shrink: 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 -8px 20px rgba(8, 9, 12, 0.06);
}
.rv-chat__msg {
  display: flex;
}
.rv-chat__msg--bot {
  justify-content: flex-start;
}
.rv-chat__msg--user {
  justify-content: flex-end;
}
.rv-chat__bubble {
  max-width: 88%;
  padding: 0.55rem 0.75rem;
  font-size: 0.88rem;
  line-height: 1.45;
}
.rv-chat__msg--bot .rv-chat__bubble {
  background: var(--surface-2);
  border: 0;
  border-left: 2px solid var(--line);
}
.rv-chat__msg--user .rv-chat__bubble {
  background: var(--color-blue);
  color: #fff;
}
.rv-chat__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.85rem;
  padding: 0.85rem 1rem 0.65rem;
  flex-shrink: 0;
  border-top: 0;
  background: transparent;
}

@media (max-width: 380px) {
  .rv-chat__options {
    grid-template-columns: 1fr;
  }
}

.rv-chat__options:empty {
  display: none;
  padding: 0;
}

.rv-chat__chip {
  border: 0;
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5rem 0.15rem 0.42rem;
  cursor: pointer;
  color: var(--ink);
  text-align: left;
  line-height: 1.3;
  width: 100%;
  min-height: 2.15rem;
  display: flex;
  align-items: center;
  transition: border-color var(--t-fast), color var(--t-fast);
}

.rv-chat__chip:hover {
  border-bottom-color: var(--color-blue);
  color: var(--color-blue);
  background: transparent;
}
.rv-chat__input {
  padding: 0 1rem 0.85rem;
}

.rv-chat__input[hidden] {
  display: none !important;
}

.rv-chat__form {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
/* Datum: custom picker — zie datepicker.js + forms-ui.css */

.rv-chat__field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.25rem;
}

.rv-chat__field-label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
}

.rv-chat__send.btn--icon {
  flex-shrink: 0;
  align-self: center;
  margin: 0;
  padding: 0.4rem 0.5rem;
  min-width: 2.25rem;
  min-height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.rv-chat__send.btn--icon .rv-icon {
  margin: 0;
}

.rv-chat__dims {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.65rem;
}

.rv-chat__dim {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.rv-chat__dim-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
}

@media (max-width: 380px) {
  .rv-chat__dims {
    grid-template-columns: 1fr;
  }
}

/* Footer pro */
.site-footer.footer-pro {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
  padding-bottom: 0.5rem;
}

.footer-pro a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.footer-pro a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-pro .footer-lead,
.footer-pro .footer-text {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  max-width: 36ch;
}

.footer-pro__grid {
  display: grid;
  gap: 2rem 1.5rem;
  padding-block: clamp(2.75rem, 6vw, 4.25rem);
}

@media (min-width: 768px) {
  .footer-pro__grid {
    grid-template-columns: 1.25fr repeat(3, 1fr);
    gap: 2.5rem;
  }

  .footer-pro__grid--5 {
    grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  }
}

.footer-pro__brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer-pro__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
  margin-top: 1.15rem;
  max-width: none;
}

.footer-pro__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-width: 0;
  padding: 0.15rem 0;
  border: 0;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: border-color var(--t-fast), color var(--t-fast);
}

.footer-pro__social a .rv-icon {
  margin: 0;
}

.footer-pro__social a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.9);
  background: transparent;
  color: #fff;
  text-decoration: none;
}

.footer-pro__heading {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 0.9rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-block;
}

.footer-pro ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-pro li {
  margin-bottom: 0.5rem;
}

.footer-pro li a {
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.08rem;
}

.footer-pro li a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
}

.footer-pro__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.35rem 0 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.48);
}

.footer-pro__bottom-note {
  max-width: 28rem;
  line-height: 1.45;
  text-align: right;
}

.footer-pro__bottom-note .footer-cookie-reset {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-pro__bottom-note .footer-cookie-reset:hover {
  color: #fff;
}

@media (max-width: 640px) {
  .footer-pro__bottom-note {
    text-align: left;
    max-width: none;
  }
}

/* Admin CRM */
.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.admin-stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.admin-stat-card__n {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
}
.admin-stat-card--accent {
  border-left: 3px solid var(--color-red);
}
.admin-charts-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 900px) {
  .admin-charts-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.admin-leads-layout {
  display: grid;
  gap: 1rem;
}
@media (min-width: 960px) {
  .admin-leads-layout {
    grid-template-columns: minmax(260px, 320px) 1fr;
  }
}
.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.admin-filters input,
.admin-filters select {
  flex: 1;
  min-width: 140px;
}
.admin-lead-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  max-height: 70vh;
  overflow-y: auto;
}
.admin-lead-list__item {
  display: block;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.admin-lead-list__item:hover,
.admin-lead-list__item.is-active {
  background: rgba(33, 70, 139, 0.06);
}
.admin-lead-list__name {
  display: block;
  font-weight: 600;
}
.admin-lead-list__meta {
  font-size: 0.82rem;
  color: var(--muted);
}
.admin-badge {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.4rem;
  background: var(--line);
}
.admin-badge--new { background: #fde8ea; color: var(--color-red); }
.admin-badge--quote { background: #e8eef8; color: var(--color-blue); }
.admin-badge--won { background: #e6f4ec; color: #1a7f4b; }
.admin-lead-message {
  margin: 1rem 0;
  padding: 1rem;
  background: var(--surface-2);
  border-left: 3px solid var(--color-blue);
  line-height: 1.55;
}

.admin-badge--chat {
  background: #e8eef8;
  color: var(--color-blue);
  margin-left: 0.35rem;
}

.admin-lead-list__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.35rem;
}

.admin-reply-templates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
}

.admin-reply-templates__btn {
  font: inherit;
  font-size: 0.78rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--line);
  background: var(--surface-2);
  cursor: pointer;
}

.admin-reply-templates__btn:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.admin-stat-card--link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.admin-stat-card--link:hover {
  border-color: var(--color-blue);
  background: rgba(33, 70, 139, 0.04);
}

.admin-dash-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 1rem;
}

.admin-dash-section__head .admin-dash-section__title {
  margin: 0;
  flex: 1;
}

.admin-recent-leads__list--linked {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
}

.admin-recent-leads__row--link {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.5rem 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--line);
}

.admin-recent-leads__row--link:hover {
  background: rgba(33, 70, 139, 0.05);
}

.admin-dash-tile--highlight {
  border-left: 3px solid var(--color-red);
}

/* Desktop: alleen chat-icoon rechtsonder */
@media (min-width: 960px) {
  :root {
    --chat-panel-h: min(72vh, 620px);
  }

  body {
    padding-bottom: 0;
  }

  .rv-chat {
    left: auto;
    right: var(--chat-anchor);
    bottom: var(--chat-anchor);
    width: var(--chat-fab-size);
    z-index: 9000;
  }

  .bottom-dock {
    position: fixed;
    left: auto;
    right: var(--chat-anchor);
    bottom: var(--chat-anchor);
    width: var(--chat-fab-size);
    min-width: 0;
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    box-shadow: 0 10px 36px rgba(8, 9, 12, 0.2);
    padding-bottom: 0;
    z-index: 9001;
  }

  .bottom-dock__half--offerte {
    display: none !important;
  }

  .bottom-dock__half--chat {
    min-height: var(--chat-fab-size);
    padding: 0;
    background: var(--surface);
  }

  .bottom-dock__caption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .bottom-dock__icon.rv-icon--lg {
    font-size: 1.55rem;
  }

  .rv-chat__panel {
    right: var(--chat-anchor);
    left: auto;
    width: min(calc(100vw - (var(--chat-anchor) * 2)), 22rem);
    bottom: calc(var(--chat-anchor) + var(--chat-fab-size) + var(--chat-panel-gap));
    height: min(72vh, 560px);
    max-height: min(72vh, 560px);
    border: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 -12px 40px rgba(8, 9, 12, 0.16);
    z-index: 9002;
  }

  body.nav-open .bottom-dock {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* ——— Underline-first UI: fewer full boxes ——— */
.btn {
  border: 0;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 0;
  border-bottom: 2px solid var(--line);
  padding: 0.6rem 0.2rem 0.5rem;
}

.btn-outline:hover {
  border-bottom-color: var(--color-blue);
  color: var(--color-blue);
  background: transparent;
}

.btn:not(.btn-outline) {
  border-bottom: 2px solid rgba(255, 255, 255, 0.22);
}

.btn:not(.btn-outline):hover {
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.section-header__eyebrow {
  display: inline-block;
  padding-bottom: 0;
  border-bottom: 0;
  margin-bottom: 0.4rem;
}

.section-header--center .section-header__eyebrow {
  margin-bottom: 0.35rem;
}

.section-header--center .reveal-title {
  margin-bottom: 0.65rem;
}

.section-header--center .section-header__lead {
  margin-top: 0.5rem;
}

.section-header__rule {
  display: none;
}

.nav-toggle {
  border: 0;
  border-bottom: 2px solid var(--ink);
  padding: 0.45rem 0.1rem 0.35rem;
  background: transparent;
}

.filter-pill {
  border: 0;
  border-bottom: 2px solid var(--line);
  background: transparent;
}

.filter-pill:hover {
  border-bottom-color: var(--color-blue);
}

.filter-pill.is-active {
  border-bottom-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

@media (max-width: 639px) {
  .product-jump-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    margin-inline: -0.25rem;
    padding-inline: 0.25rem 0.5rem;
  }

  .product-jump-nav__link {
    flex: 0 0 auto;
  }
}

.flat-slider__arrow {
  border: 0;
  border-bottom: 2px solid var(--line);
  background: transparent;
  width: auto;
  min-width: 2.75rem;
  height: auto;
  min-height: 2.25rem;
  padding: 0.15rem 0.65rem 0.05rem;
}

.flat-slider__arrow:hover {
  border-bottom-color: var(--color-blue);
  color: var(--color-blue);
  background: transparent;
}

.flat-slider__arrow--on-dark {
  border-bottom-color: rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
}

.flat-slider__arrow--on-dark:hover {
  border-bottom-color: #fff;
  background: transparent;
}

.hero-arrow {
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.45);
  background: transparent;
}

.hero-arrow:hover {
  border-bottom-color: #fff;
  background: transparent;
}

.hero-slide.has-image .btn {
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

.hero-slide.has-image .btn-outline {
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
  background: transparent;
}

.hero-slide.has-image .btn-outline:hover {
  border-bottom-color: #fff;
  background: transparent;
}

.wpc-showcase-slide,
.showcase-slide {
  border: 0;
}

.fence-slide,
.product-card,
.partner-tile,
.testimonial-card {
  border: 0;
  border-bottom: 1px solid var(--line);
}

.product-picks--visual .product-pick {
  border: 0;
  border-bottom: 1px solid var(--line);
}

.product-row__body .tag,
.tag {
  border: 0;
  border-bottom: 2px solid var(--color-blue);
  background: transparent;
  padding: 0 0 0.12rem;
  border-radius: 0;
}

.page-cta-panel {
  border: 0;
  border-top: 1px solid var(--line);
  box-shadow: none;
  background: transparent;
}

.wizard--pro {
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-inline: 0;
  background: transparent;
}

.wizard-step-label {
  background: transparent;
  border-bottom: 2px solid var(--line);
  padding: 0.35rem 0.15rem 0.25rem;
}

.wizard-step-label.is-current {
  background: transparent;
  color: var(--ink);
  border-bottom-color: var(--color-red);
}

.showcase-slide__link,
.product-row__cta a {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.12rem;
  text-decoration: none;
}

.showcase-slide__link:hover,
.product-row__cta a:hover {
  color: var(--color-red);
  border-bottom-color: var(--color-red);
}

/* Producten spotlight — compacter */
.product-page-spotlight {
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
}

.product-page-spotlight .section-header {
  margin-bottom: 1rem;
}

.flat-slider--showcase-wide .flat-slider__bar {
  gap: 1.85rem;
  padding-top: 0.85rem;
}

/* 404 */
.error-page {
  padding-block: clamp(2.5rem, 8vw, 4rem);
  background: var(--bg);
}

.error-page__inner {
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
}

.error-page__code {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--line);
  letter-spacing: -0.04em;
}

.error-page__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.error-page__lead {
  margin: 0 auto 1.5rem;
  max-width: 32ch;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.error-page__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 600;
}

.error-page__links a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
}

.rv-chat__panel {
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  box-shadow: 0 -16px 48px rgba(8, 9, 12, 0.16);
}

.bottom-dock {
  box-shadow: none;
  border-top: 1px solid var(--line);
}

.contact-visit-strip__inner {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding-inline: 0;
  background: transparent;
}

.contact-visit-strip__inner:focus-within {
  border-bottom-color: var(--color-blue);
  box-shadow: none;
}

.wizard {
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-inline: 0;
  background: transparent;
}

.contact-section {
  background: var(--bg);
}

.alert {
  border: 0;
  border-left: 3px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.alert-error {
  border-left-color: var(--color-red);
}

.alert-success {
  border-left-color: var(--color-blue);
}

.nav-list a {
  border-bottom: 2px solid transparent;
}

@media (min-width: 960px) {
  .nav-list a {
    border-bottom: 2px solid transparent;
    box-shadow: none;
  }

  .nav-list a:hover,
  .nav-list a[aria-current="page"] {
    border-bottom-color: var(--color-blue);
    box-shadow: none;
  }
}

@media (max-width: 959px) {
  .footer-pro__social {
    gap: 0.75rem 1rem;
  }

  .hero-viewport .hero-slide.has-image .hero-overlay {
    padding-top: clamp(1.5rem, 5vw, 2.25rem);
    padding-bottom: calc(clamp(1.75rem, 4vw, 2.25rem) + var(--home-quick-nav-h) + var(--hero-controls-h));
  }

  .visual-slide__cap {
    padding-bottom: clamp(4.75rem, 18vw, 5.75rem);
  }

  .visual-slide__title {
    margin-bottom: 0.75rem;
  }

  .hero-viewport .home-quick-nav__item {
    min-width: 0;
    flex: 1 1 50%;
    padding: 0.7rem 0.65rem;
    font-size: 0.78rem;
  }

  .hero-viewport .home-quick-nav__item.btn--icon {
    justify-content: center;
  }

  .hero-viewport .hero-slides,
  .hero-viewport .hero-slide.has-image.is-active,
  .hero-viewport .hero-slide.has-image .hero-overlay {
    min-height: 0;
  }

  .hero-viewport .hero-split {
    min-height: 0;
  }

  .rv-chat.is-open .rv-chat__panel {
    min-height: min(72vh, 560px);
    height: min(82vh, 680px);
    max-height: min(82vh, 680px);
  }

  .category-block {
    scroll-margin-top: calc(var(--header-sticky-h) + 2.75rem);
  }

  .wpc-showcase-slide,
  .showcase-slide {
    min-height: 0;
    max-height: var(--slide-h);
  }

  .showcase-slide__media img {
    min-height: 160px;
    max-height: min(36vh, 300px);
  }
}

@media (max-width: 479px) {
  :root {
    --section-y: clamp(1.75rem, 5vh, 2.75rem);
    --slide-h: min(44dvh, 44vh, 360px);
    --slide-h-sm: min(38dvh, 38vh, 300px);
  }

  .wizard-steps {
    gap: 0.25rem;
  }

  .wizard-step-label {
    font-size: 0.62rem;
    padding: 0.3rem 0.1rem 0.2rem;
  }

  .wizard-nav {
    justify-content: space-between;
  }

  .wizard-nav .btn {
    padding: 0.55rem 0.85rem;
    font-size: 0.88rem;
  }
}
