/* ==========================================================================
   VOLTOO BEDRIJF — Bedrijfsprofielpagina
   Gebruikt tokens.css en grid.css via <link> in HTML
   Gebruikt main.css voor nav, footer, FAQ, CTA band styling
   ========================================================================== */

/* ── RESET ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── BASE ──────────────────────────────────────────────────────────────── */
html { -webkit-font-smoothing: antialiased; overflow-x: hidden; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: var(--body-line-height);
  font-weight: var(--body-weight);
  color: var(--color-text);
  background: var(--color-bg);
  letter-spacing: var(--letter-spacing);
}

/* ── SITE HEADER OVERRIDE ──────────────────────────────────────────────── */
.site-header {
  background: transparent;
}


/* ==========================================================================
   BREADCRUMB — spacing specifiek voor bedrijfspagina
   ========================================================================== */
.bedrijf-content .breadcrumb {
  padding: var(--space-48) 0 var(--space-24);
}
@media (max-width: 768px) {
  .bedrijf-content .breadcrumb {
    padding-top: 16px;
    padding-bottom: 13px;
    font-size: 12px;
  }
  .bedrijf-content .breadcrumb a,
  .bedrijf-content .breadcrumb span {
    font-size: 12px;
  }
}


/* ==========================================================================
   PAGE LAYOUT — col-3 sidebar + col-8 content + col-1 leeg
   ========================================================================== */
.bedrijf-page {
  padding-bottom: var(--space-80);
}


/* ==========================================================================
   SIDEBAR (col-3, sticky)
   ========================================================================== */
.bedrijf-sidebar {
  padding-top: 77px; /* align with top of hero image (+5px) */
}
.bedrijf-sidebar-inner {
  position: sticky;
  top: 70px; /* 30px less — closer to screen edge when scrolling */
}

/* Navigation menu */
.bedrijf-nav {
  margin-bottom: var(--space-24);
}
.bedrijf-nav a {
  display: block;
  position: relative;
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: 3.6em;
  color: var(--color-text);
  transition: font-weight 200ms ease;
}
.bedrijf-nav a:hover {
  font-weight: 600;
}
.bedrijf-nav a.active {
  font-weight: 600;
  color: var(--color-text);
}
.bedrijf-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0.4em;
  left: 0;
  width: 74px;
  height: 2px;
  background: var(--color-accent);
}

/* Sidebar buttons */
.bedrijf-btn-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  width: 230px;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-text);
  border-radius: var(--radius);
  padding: var(--space-12) var(--space-24);
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  margin-bottom: var(--space-12);
  transition: background 350ms ease, color 350ms ease;
}
.bedrijf-btn-phone:hover {
  background: var(--color-text);
  color: var(--color-surface);
}

.bedrijf-btn-offerte {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  width: 230px;
  background: var(--color-accent);
  color: var(--color-surface);
  border: none;
  border-radius: var(--radius);
  padding: var(--space-12) var(--space-24);
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background 350ms ease;
}
.bedrijf-btn-offerte:hover {
  background: #000000;
  color: #ffffff;
}


/* ==========================================================================
   HERO IMAGE
   ========================================================================== */
.bedrijf-hero {
  width: 100%;
  border-radius: var(--radius);
  overflow: visible;
  margin-bottom: var(--space-32);
  position: relative;
}
.bedrijf-hero > img {
  width: 100%;
  height: 263px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius);
  border: 1px solid var(--color-text);
}

/* Voltoo logo badge overlay — half overlapping bottom of hero */
.bedrijf-hero-badge {
  position: absolute;
  bottom: -62px; /* half of 124px hangs below the photo */
  left: var(--space-32);
  z-index: 2;
}
.bedrijf-badge-outer {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bedrijf-badge-inner {
  width: 114px;
  height: 114px;
  border-radius: 50%;
  background: #D4D2CC;
  border: 1px solid var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bedrijf-badge-inner img {
  width: 35px;
  height: 42px;
}
.bedrijf-badge-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  background: var(--color-surface);
  padding: 12px;
  box-sizing: border-box;
}

/* ── Admin logo-import overlay (alleen whitelisted IP's) ─────────── */
.bedrijf-hero-badge.is-admin-editor .bedrijf-badge-outer {
  cursor: copy;
}
.bedrijf-badge-admin-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  padding: 14px;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.bedrijf-hero-badge.is-admin-editor .bedrijf-badge-outer { position: relative; }
.bedrijf-hero-badge.is-admin-editor .bedrijf-badge-outer:hover .bedrijf-badge-admin-overlay,
.bedrijf-hero-badge.is-drag-over .bedrijf-badge-admin-overlay {
  display: flex;
}
.bedrijf-hero-badge.is-drag-over .bedrijf-badge-outer {
  border-color: var(--color-accent);
}
.bedrijf-hero-badge.is-uploading .bedrijf-badge-outer {
  opacity: 0.4;
}
.bedrijf-badge-admin-tools {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  width: 280px;
}
.bedrijf-badge-admin-url {
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
  border: 1px solid var(--color-text);
  border-radius: 6px;
  background: #fff;
  font-family: inherit;
}
.bedrijf-badge-admin-delete {
  margin-top: 6px;
  width: 100%;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--color-text);
  border-radius: 6px;
  background: #fff;
  color: var(--color-text);
  cursor: pointer;
  font-family: inherit;
}
.bedrijf-badge-admin-delete:hover {
  background: var(--color-text);
  color: #fff;
}


/* ==========================================================================
   COMPANY HEADER
   ========================================================================== */
.bedrijf-company-header {
  position: relative;
  padding-top: 60px;
  margin-bottom: var(--space-32);
}

/* Desktop/tablet reorder: Name → Categorieen → Location → Score → Info-lines → Quote.
   Mobile (<=768px) behoudt block-flow met hero-float en blijft buiten deze regel. */
@media (min-width: 769px) {
  .bedrijf-company-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .bedrijf-company-header > div:has(> .bedrijf-claim-status--pending) { order: 0; }
  .bedrijf-company-header > .voltoo-score { order: 0; }
  .bedrijf-company-header > .bedrijf-name { order: 1; }
  .bedrijf-company-header > .bedrijf-categories-text { order: 2; }
  .bedrijf-company-header > .bedrijf-meta-stack { display: contents; }
  .bedrijf-company-header > .bedrijf-meta-stack > .bedrijf-location-chip { order: 3; align-self: flex-start; }
  .bedrijf-company-header > .bedrijf-meta-stack > .bedrijf-info-line--score { order: 4; margin-bottom: 15px; }
  .bedrijf-company-header > .bedrijf-inline-cta { order: 5; }
  .bedrijf-company-header > .bedrijf-info-lines { order: 6; }
  .bedrijf-company-header > .bedrijf-quote-row { order: 7; }
}

/* Category tags line */
.bedrijf-categories-text {
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  color: var(--color-text);
  margin-bottom: 20px;
}

/* Location chip */
.bedrijf-location-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  background: var(--color-bg-medium);
  border-radius: var(--radius);
  padding: var(--space-8) var(--space-16);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 26px; /* 10px extra before info lines */
}
.bedrijf-location-chip img {
  width: 14px;
  height: 16px;
}

/* Company name */
.bedrijf-name {
  font-family: var(--font-body);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2em;
  color: var(--color-text);
  margin-bottom: 6px; /* tight to categories below */
  display: inline;
}
.bedrijf-name-badge-wrap {
  white-space: nowrap;
  display: inline;
}
.bedrijf-name-badge {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  margin-left: var(--space-4);
  position: relative;
  top: -3px;
  color: var(--color-accent);
}
.bedrijf-name-verified-badge {
  width: 26px;
  height: 26px;
  display: inline-block;
  vertical-align: middle;
  margin-left: -6px;
  position: relative;
  top: -3px;
  color: var(--color-accent);
}

/* Tooltip wrapper rond badges in de bedrijfsnaam — zelfde stijl als werkgebied-disclaimer */
.bedrijf-badge-trigger {
  position: relative;
  display: inline-block;
  cursor: help;
}
.bedrijf-badge-tooltip {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% + 8px);
  width: max-content;
  max-width: 240px;
  padding: 10px 14px;
  background: var(--color-text);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  z-index: 10;
  pointer-events: none;
  white-space: normal;
}
.bedrijf-badge-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--color-text);
}
.bedrijf-badge-trigger:hover .bedrijf-badge-tooltip,
.bedrijf-badge-trigger:focus-within .bedrijf-badge-tooltip {
  display: block;
}

/* Info lines (rating, year, website, delen) */
.bedrijf-info-lines {
  display: flex;
  flex-direction: column;
  gap: 18px; /* 10px more spacing between lines */
  margin-bottom: var(--space-32);
}
.bedrijf-info-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-8);
  font-size: var(--body-size);
  font-weight: 700;
  color: var(--color-text);
  min-width: 0;
}
.bedrijf-info-line > img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.bedrijf-info-line a {
  color: var(--color-text);
  transition: color 200ms ease;
}
.bedrijf-info-line a:hover {
  color: var(--color-accent);
}

/* Star rating inline */
.bedrijf-stars {
  display: inline-flex;
  gap: 2px;
  vertical-align: middle;
}
.bedrijf-stars img {
  width: 18px;
  height: 17px;
}
.bedrijf-stars svg {
  width: 18px;
  height: 17px;
}


/* ==========================================================================
   CERTIFICATES (inside quote-row, right-aligned, individual cards)
   ========================================================================== */
.bedrijf-certificates {
  width: 172px;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

/* Desktop (>1024px): Voltoo Score gauge staat absoluut rechtsboven naast titel.
   Tekstkolom wordt ingeknepen zodat titel/info niet onder de gauge lopen. */
@media (min-width: 1025px) {
  .bedrijf-company-header > .voltoo-score {
    position: absolute;
    top: 60px;
    right: 0;
    margin: 0;
  }
  .bedrijf-company-header:has(> .voltoo-score) > .bedrijf-name,
  .bedrijf-company-header:has(> .voltoo-score) > .bedrijf-categories-text,
  .bedrijf-company-header:has(> .voltoo-score) > .bedrijf-meta-stack > .bedrijf-location-chip,
  .bedrijf-company-header:has(> .voltoo-score) > .bedrijf-meta-stack > .bedrijf-info-line--score,
  .bedrijf-company-header:has(> .voltoo-score) > .bedrijf-info-lines {
    max-width: calc(100% - 204px);
  }
}
.bedrijf-cert-item {
  position: relative;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  height: 69px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Animated dashed border via SVG overlay */
.bedrijf-cert-border {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  pointer-events: none;
}
.bedrijf-cert-border rect {
  stroke: #A894D7;
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 6 4;
  animation: cert-dash-rotate 20s linear infinite;
}
@keyframes cert-dash-rotate {
  to { stroke-dashoffset: -100; }
}
.bedrijf-cert-bg-1,
.bedrijf-cert-bg-2,
.bedrijf-cert-bg-3 {
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/certificaat-achtergrond.avif');
  background-attachment: fixed;
  background-size: cover;
  z-index: 0;
}
/* Basis-positie + subtiele mouse-parallax via --mx/--my (gezet vanuit JS) */
.bedrijf-cert-bg-1 {
  background-position: calc(50%  + var(--mx, 0px)) calc(50% - 150px + var(--my, 0px));
}
.bedrijf-cert-bg-2 {
  background-position: calc(0%   + var(--mx, 0px)) calc(50% - 150px + var(--my, 0px));
}
.bedrijf-cert-bg-3 {
  background-position: calc(100% + var(--mx, 0px)) calc(50% - 150px + var(--my, 0px));
}
.bedrijf-cert-logo {
  position: relative;
  z-index: 1;
  max-width: 120px;
  max-height: 36px;
  width: auto;
  height: auto;
}
.bedrijf-cert-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  color: var(--color-text);
}


/* ==========================================================================
   "WAAROM KIEZEN" QUOTE
   ========================================================================== */
.bedrijf-quote-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--space-48);
}

.bedrijf-quote-row .bedrijf-quote {
  flex: 1;
  margin-bottom: 0;
  padding-right: 0;
}

.bedrijf-quote-row .bedrijf-certificates {
  margin-top: 0;
  margin-left: 20px;
  margin-right: 0;
  flex-shrink: 0;
}

.bedrijf-quote-row--no-quote {
  justify-content: flex-end;
}
.bedrijf-quote-row--no-quote .bedrijf-certificates {
  margin-left: auto;
}

.bedrijf-quote {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5em;
  color: var(--color-text);
  margin-bottom: var(--space-48);
  padding-right: 70px;
}


/* ==========================================================================
   OVERVIEW BLOCK — tabel-design met 1px borders
   ========================================================================== */
.bedrijf-overview {
  clear: both; /* clear float van certificates */
  border: 1px solid var(--color-text);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Section headers (witte achtergrond, Kode Mono) */
.bedrijf-section-header {
  background: var(--color-surface);
  padding: var(--space-24) var(--space-32);
  border-bottom: 1px solid var(--color-text);
}
.bedrijf-section-header h2 {
  font-family: var(--font-mono);
  font-size: var(--h4-size);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0;
  line-height: 1;
}

/* Overview sub-sections — tabel-rijen met borders */
.bedrijf-overview > div {
  border-bottom: 1px solid var(--color-text);
}
.bedrijf-overview > div:last-child {
  border-bottom: none;
}

/* Content within overview sections */
.bedrijf-overview-content {
  padding: var(--space-32);
}


/* ==========================================================================
   KENMERKEN
   ========================================================================== */

/* Stats band — 4 columns */
.bedrijf-stats {
  display: flex;
  gap: var(--space-48);
  margin-bottom: 34px; /* 10px meer witruimte */
}
.bedrijf-stat {
  display: flex;
  flex-direction: column;
}
.bedrijf-stat-number {
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2em;
  text-transform: uppercase;
  color: var(--color-text);
}
.bedrijf-stat-label {
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: 1.2em;
  color: var(--color-text);
}

/* Tags / pills */
.bedrijf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 22px;
}
.bedrijf-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  background: var(--color-bg-medium);
  border-radius: 8px;
  padding: 5px 13px 5px var(--space-8);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  color: var(--color-text);
}
.bedrijf-tag img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.bedrijf-tag--vaak-gekozen {
  background: var(--color-score-3);
}
.bedrijf-tag--top-beoordeeld {
  background: var(--color-score-4);
}

/* Category pills (black, rounded) */
.bedrijf-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  margin-bottom: var(--space-32);
}
.bedrijf-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  background: var(--color-bg-dark);
  color: var(--color-surface);
  border-radius: 100px;
  height: 40px;
  padding: 0 20px;
  font-size: var(--body-size);
  font-weight: var(--body-weight);
}
.bedrijf-cat-pill--tn {
  background: #372463;
}
.bedrijf-cat-pill--iq {
  background: #216093;
}
.bedrijf-cat-pill--scios {
  background: #91030d;
}
.bedrijf-cat-pill svg {
  width: 14px;
  height: 14px;
}
.bedrijf-cat-pill svg path {
  fill: var(--color-surface);
}

/* Sub-titles (tabel-rijen met border boven en onder) */
.bedrijf-sub-title {
  font-size: var(--body-size);
  font-weight: 700;
  color: var(--color-text);
  padding: 9px var(--space-32);
  border-top: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
}

/* "Uw zoekterm" pill achter context-categorie */
.bedrijf-zoekterm-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  background: var(--color-text);
  padding: 3px 8px;
  border-radius: 9px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.02em;
}

/* Sub-content (inhoud onder subtitel) */
.bedrijf-sub-content {
  padding: var(--space-24) var(--space-32);
}
.bedrijf-sub-content .bedrijf-cat-pills {
  margin-bottom: 0;
}

/* Collapsible diensten-secties (3+) */
.bedrijf-sub-collapsible {
  cursor: pointer;
}
.bedrijf-sub-collapsible:hover {
  color: var(--color-accent);
}
.bedrijf-sub-toggle {
  float: right;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-text);
  transition: transform 300ms ease;
}
.bedrijf-sub-collapsible.open .bedrijf-sub-toggle {
  transform: rotate(45deg);
}
.bedrijf-sub-collapsed {
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: none;
  margin-top: -1px; /* collapse double border */
  transition: max-height 300ms ease, padding 300ms ease;
}
.bedrijf-sub-collapsed.open {
  max-height: 600px;
  padding: var(--space-24) var(--space-32);
}

/* Diensten lijst — twee kolommen */
.bedrijf-diensten-list {
  columns: 2;
  column-gap: var(--space-48);
  list-style: none;
  padding-left: 0;
}
.bedrijf-diensten-list li {
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  color: var(--color-text);
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  break-inside: avoid;
}
.bedrijf-diensten-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-color: var(--color-accent);
  -webkit-mask: url('/assets/svg/check-accent.svg') no-repeat center / contain;
          mask: url('/assets/svg/check-accent.svg') no-repeat center / contain;
}

/* Merken logos */
.bedrijf-merken {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 36px;
  padding: 15px 0;
  max-width: calc(140px * 4 + 36px * 3); /* max 4 per rij */
}
.bedrijf-merken img {
  height: auto;
}


/* ==========================================================================
   OMSCHRIJVING
   ========================================================================== */
.bedrijf-description {
  margin-bottom: 0;
}
.bedrijf-description p {
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: var(--body-line-height);
  color: var(--color-text);
  margin-bottom: var(--space-16);
}
.bedrijf-description p:last-child {
  margin-bottom: 0;
}


/* ==========================================================================
   BEOORDELINGEN
   ========================================================================== */
.bedrijf-reviews-section {
  margin-bottom: 0;
}

/* Rating summary */
.bedrijf-rating-summary {
  display: flex;
  gap: var(--space-48);
  margin-bottom: var(--space-32);
}
.bedrijf-rating-big {
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-accent);
}
.bedrijf-rating-count {
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  color: var(--color-text);
  margin-top: var(--space-8);
}

/* Rating distribution bars */
.bedrijf-rating-bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  flex: 1;
}
.bedrijf-rating-bar-row {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}
.bedrijf-rating-bar-label {
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  color: var(--color-text);
  width: 16px;
  text-align: center;
}
.bedrijf-rating-bar-star {
  width: 20px;
  height: 19px;
  flex-shrink: 0;
}
.bedrijf-rating-bar-star path {
  fill: var(--color-accent);
}
.bedrijf-rating-bar-track {
  flex: 1;
  height: 5px;
  background: #D9D9D9;
  border-radius: 3px;
  overflow: hidden;
}
.bedrijf-rating-bar-fill {
  height: 100%;
  background: var(--color-accent);
  border-radius: 3px;
}
.bedrijf-rating-bar-count {
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  color: var(--color-text);
  width: 24px;
  text-align: right;
}

/* Review Google fallback */
.bedrijf-review-google-fallback {
  text-align: center;
  padding: var(--space-32) var(--space-16);
}
.bedrijf-review-google-fallback p {
  margin-bottom: var(--space-16);
  color: var(--color-text-secondary);
}

/* Review cards */
.bedrijf-review-list {
  display: flex;
  flex-direction: column;
}
.bedrijf-review-card {
  padding: var(--space-32) 0;
  border-bottom: var(--border);
  margin-left: calc(-1 * var(--space-32));
  margin-right: calc(-1 * var(--space-32));
  padding-left: var(--space-32);
  padding-right: var(--space-32);
}
.bedrijf-review-card:first-child {
  border-top: var(--border);
}
.bedrijf-review-card:last-child {
  border-bottom: none;
}
.bedrijf-review-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-12);
}
.bedrijf-review-author {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}
.bedrijf-review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #2B2B2B;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.bedrijf-review-name {
  font-size: var(--body-size);
  font-weight: 700;
  color: var(--color-text);
}
.bedrijf-review-meta {
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  color: var(--color-text);
}
.bedrijf-review-text {
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: var(--body-line-height);
  color: var(--color-text);
}
.bedrijf-review-source {
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: var(--body-line-height);
  color: var(--color-text);
  font-style: italic;
  margin-top: calc(var(--body-line-height) * 1em);
}


/* ==========================================================================
   WERKGEBIED
   ========================================================================== */
.werkgebied-disclaimer-trigger {
  color: var(--color-accent);
  cursor: help;
  position: relative;
  font-size: 0.85em;
  vertical-align: top;
  line-height: 0;
  top: calc(-0.15em + 5px);
}
.werkgebied-disclaimer-tooltip {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% + 8px);
  width: 260px;
  padding: 10px 14px;
  background: var(--color-text);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  line-height: 1.45;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  z-index: 10;
  pointer-events: none;
}
.werkgebied-disclaimer-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--color-text);
}
.werkgebied-disclaimer-trigger:hover .werkgebied-disclaimer-tooltip {
  display: block;
}
.bedrijf-map-section {
  margin-bottom: 0;
}
.bedrijf-map {
  width: 100%;
  height: 675px;
  border-radius: var(--radius);
  border: none;
  background: var(--color-bg);
  position: relative;
  z-index: 0;
  isolation: isolate;
}


/* ==========================================================================
   OPENINGSTIJDEN — SPLIT LAYOUT
   ========================================================================== */
.bedrijf-split-section {
  display: flex;
  border-radius: var(--radius);
  overflow: hidden;
}
.bedrijf-split-left {
  flex: 1;
  border-right: 1px solid var(--color-text);
}
.bedrijf-split-right {
  flex: 1;
}

/* Hours table */
.bedrijf-hours-table {
  width: 100%;
}
.bedrijf-hours-table tr {
  line-height: 2em;
}
.bedrijf-hours-table td {
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  color: var(--color-text);
  padding: 0;
}
.bedrijf-hours-table td:last-child {
  text-align: right;
}

/* Adres blok */
.bedrijf-adres {
  font-size: var(--body-size);
  line-height: 1.6;
  color: var(--color-text);
}
.bedrijf-adres-naam {
  font-weight: 700;
}

.bedrijf-overig-details {
  margin-top: var(--space-24);
}

/* Overig info items */
.bedrijf-overig-item {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  font-size: var(--body-size);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-8);
}
.bedrijf-overig-item svg {
  width: 22px;
  height: 24px;
  flex-shrink: 0;
}


/* ==========================================================================
   FAQ — hergebruik .article-faq-item uit main.css
   ========================================================================== */
.bedrijf-faq {
  margin-top: var(--space-48);
  margin-bottom: var(--space-48);
}
.bedrijf-faq-title {
  font-family: var(--font-body);
  font-size: var(--h3-size);
  font-weight: 700;
  line-height: 1.3em;
  color: var(--color-text);
  margin-bottom: var(--space-32);
}
.bedrijf-faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}


/* ==========================================================================
   INSTALLATEURS IN DE BUURT
   ========================================================================== */
.bedrijf-nearby {
  padding: var(--space-48) 0 100px;
  background: var(--color-bg-medium);
}
.bedrijf-nearby .section-label {
  margin-bottom: var(--space-8);
}
.bedrijf-nearby .bedrijf-card {
  height: 100%;
}
.bedrijf-nearby .bedrijf-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.bedrijf-nearby .bedrijf-card-acties {
  margin-top: auto;
}
.bedrijf-nearby .bedrijf-card--unclaimed {
  opacity: 1;
}


/* ==========================================================================
   RESPONSIVE — 1024px (tablet landscape)
   ========================================================================== */
@media (max-width: 1024px) {
  .bedrijf-sidebar {
    display: none;
  }
  .bedrijf-content {
    grid-column: 1 / -1 !important;
    min-width: 0; /* voorkom dat grid-cell uitdijt op content-breedte → horizontale overflow op mobiel */
  }
  .bedrijf-company-header > .voltoo-score {
    display: none;
  }
  .bedrijf-cert-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-12);
    background-attachment: scroll;
  }
  .bedrijf-cert-item + .bedrijf-cert-item {
    margin-top: 0;
  }
  .bedrijf-cert-item {
    flex: 1 1 calc(50% - var(--space-12) / 2);
    min-width: 0;
    height: 63px;
  }
  .bedrijf-cert-bg-1,
  .bedrijf-cert-bg-2,
  .bedrijf-cert-bg-3 {
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
  }
  .bedrijf-cert-bg-1 { background-position: 50% 50%; }
  .bedrijf-cert-bg-2 { background-position: 0%  50%; }
  .bedrijf-cert-bg-3 { background-position: 100% 50%; }
  .bedrijf-cert-label {
    display: none;
  }
  .bedrijf-name {
    font-size: 40px;
  }
  .bedrijf-stats {
    gap: var(--space-32);
  }
  .bedrijf-stat-number {
    font-size: 32px;
  }
  .bedrijf-rating-summary {
    gap: var(--space-32);
  }
  .bedrijf-map {
    height: 400px;
  }

  /* Mobile CTA bar (fixed bottom) */
  .bedrijf-mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-surface);
    padding: var(--space-12) var(--space-16);
    gap: var(--space-12);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }
  .bedrijf-mobile-cta .bedrijf-btn-phone,
  .bedrijf-mobile-cta .bedrijf-btn-offerte {
    flex: 1;
    margin: 0;
  }
}


/* ==========================================================================
   RESPONSIVE — 768px (tablet portrait)
   ========================================================================== */
@media (max-width: 768px) {
  .bedrijf-page {
    font-size: 14px;
  }
  /* Mobile layout: normal block flow met hero gefloat-left — h1/score/location flowen er natuurlijk naast */
  .bedrijf-content {
    display: block !important;
  }
  .bedrijf-content > * { grid-column: unset !important; order: unset !important; }
  .bedrijf-hero {
    float: left;
    width: 93px;
    height: 93px;
    aspect-ratio: unset;
    margin: 5px 12px 16px 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    display: block;
  }
  .bedrijf-hero > img {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    object-fit: cover !important;
    object-position: 50% 50% !important;
    transform: scale(1.25);
    transform-origin: center center;
  }
  .bedrijf-hero-badge { display: none; }
  .bedrijf-company-header {
    display: block;
    padding-top: 12px;
    margin-bottom: 0;
    position: static;
  }
  .bedrijf-name {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 0 10px;
  }
  .bedrijf-meta-stack {
    display: block;
  }
  .bedrijf-meta-stack > * + * { margin-top: 8px; }
  .bedrijf-score-num {
    font-weight: 600;
    color: var(--color-accent);
  }
  .bedrijf-info-lines { margin-bottom: 20px; }
  .bedrijf-info-line--score,
  .bedrijf-info-line:has(.bedrijf-stars) {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--color-text);
    gap: 6px;
    flex-wrap: nowrap;
  }
  .bedrijf-info-line--score .bedrijf-stars,
  .bedrijf-info-line .bedrijf-stars {
    display: inline-flex;
    align-items: center;
    width: 14px;
    height: 14px;
    overflow: hidden;
  }
  .bedrijf-info-line--score .bedrijf-stars img,
  .bedrijf-info-line .bedrijf-stars img {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
  .bedrijf-info-line--score .bedrijf-stars img + img,
  .bedrijf-info-line .bedrijf-stars img + img,
  .bedrijf-score-google { display: none; }
  .bedrijf-location-chip {
    display: flex;
    align-items: center;
    background: transparent;
    padding: 0;
    margin: 0;
    margin-top: 0;
    font-size: 14px;
    font-weight: 400;
    gap: 6px;
  }
  .bedrijf-location-chip img { width: 14px; height: 14px; }
  /* Full-width items — clear de hero-float zodat ze onder hero beginnen */
  .bedrijf-categories-text {
    display: block;
    clear: left;
    margin: 12px 0 0;
    font-size: 14px;
    font-weight: 500;
  }
  .bedrijf-cat-rest { display: none; }
  .bedrijf-inline-cta {
    clear: left;
  }
  .bedrijf-info-lines {
    clear: left;
    margin-top: 16px;
    margin-bottom: 20px;
  }
  .bedrijf-quote-row {
    clear: left;
    display: block;
    margin-top: 0;
    margin-bottom: 20px;
  }
  .bedrijf-quote-row .bedrijf-certificates { display: none; }
  .bedrijf-quote {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    font-style: normal;
    padding: 0;
    margin: 0;
  }
  .bedrijf-mobile-certs { clear: left; margin-top: 20px; margin-bottom: 25px; }
  .bedrijf-overview { clear: left; }
  .bedrijf-content,
  .bedrijf-content p,
  .bedrijf-content li,
  .bedrijf-content td,
  .bedrijf-content a,
  .bedrijf-content .bedrijf-info-line,
  .bedrijf-content .bedrijf-categories-text,
  .bedrijf-content .bedrijf-location-chip,
  .bedrijf-content .bedrijf-hours-table td,
  .bedrijf-content .bedrijf-overig-item,
  .bedrijf-content .bedrijf-diensten-list li,
  .bedrijf-content .bedrijf-review-name,
  .bedrijf-content .bedrijf-review-meta,
  .bedrijf-content .bedrijf-review-text,
  .bedrijf-content .bedrijf-rating-count,
  .bedrijf-content .bedrijf-rating-bar-label,
  .bedrijf-content .bedrijf-rating-bar-count,
  .bedrijf-content .bedrijf-description p,
  .bedrijf-content .bedrijf-stat-label,
  .bedrijf-content .bedrijf-sub-title,
  .bedrijf-content .bedrijf-tag,
  .bedrijf-content .bedrijf-cat-pill {
    font-size: 14px;
  }
  .bedrijf-name-badge,
  .bedrijf-name-verified-badge {
    width: 18px;
    height: 18px;
    top: -2px;
  }
  /* Voltoo score line: 1 flash icon 14x14 + "Voltoo score: 93" */
  .bedrijf-info-line--score,
  .bedrijf-info-line:has(.bedrijf-stars) {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--color-text);
    gap: 6px;
    flex-wrap: nowrap;
  }
  .bedrijf-info-line--score .bedrijf-stars,
  .bedrijf-info-line .bedrijf-stars {
    display: inline-flex;
    align-items: center;
    width: 14px;
    height: 14px;
    overflow: hidden;
  }
  .bedrijf-info-line--score .bedrijf-stars img,
  .bedrijf-info-line .bedrijf-stars img {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
  .bedrijf-info-line--score .bedrijf-stars img + img,
  .bedrijf-info-line .bedrijf-stars img + img,
  .bedrijf-score-google { display: none; }


  /* Categorieen: alleen "Gecertificeerd installateur" op mobiel, full width onder hero */
  .bedrijf-categories-text {
    display: block;
    margin: 12px 0 0;
    font-size: 14px;
    font-weight: 500;
  }
  .bedrijf-cat-rest { display: none; }
  .bedrijf-info-lines {
    gap: 12px;
  }
  .bedrijf-info-line {
    font-weight: 400;
    font-size: 14px;
    gap: 12px;
    flex-wrap: nowrap;
    align-items: center;
  }
  .bedrijf-info-line > img { width: 15px; height: 15px; }

  /* Quote-row (waarom_kiezen) — toon tekst als omschrijving onder info-lines */
  .bedrijf-quote-row {
    display: block;
    margin-top: 0;
    margin-bottom: 20px;
  }
  .bedrijf-quote-row .bedrijf-certificates { display: none; }
  .bedrijf-quote {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    font-style: normal;
    padding: 0;
    margin: 0;
  }
  .bedrijf-certificates {
    grid-column: 1 / -1;
    display: none;
  }
  /* Mobiele certificaten-rij onder beschrijving */
  .bedrijf-mobile-certs {
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
    grid-column: 1 / -1;
    margin-top: 20px;
    margin-bottom: 25px;
  }
  .bedrijf-mobile-certs .bedrijf-cert-item {
    width: 175px;
    height: 60px;
    flex: 0 0 175px;
  }
  .bedrijf-stats {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 20px;
    margin-bottom: 24px;
  }
  .bedrijf-stat {
    width: 100%;
    gap: 4px;
  }
  .bedrijf-stat-number {
    font-size: 28px;
    line-height: 1.2;
  }
  .bedrijf-rating-summary {
    flex-direction: column;
    gap: var(--space-16);
  }
  .bedrijf-split-section {
    flex-direction: column;
  }
  .bedrijf-split-left {
    border-right: none;
    border-bottom: 1px solid var(--color-text);
  }
  .bedrijf-map {
    height: 300px;
  }
  .bedrijf-section-header {
    padding: 16px;
  }
  .bedrijf-section-header h2 {
    font-size: 22px;
    line-height: 1;
  }
  .bedrijf-overview-content,
  .bedrijf-sub-content,
  .bedrijf-sub-collapsed.open {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  /* Ingeklapte diensten-secties: géén verticale padding tonen (anders lek eerste regel) */
  .bedrijf-sub-collapsed:not(.open) {
    padding-top: 0;
    padding-bottom: 0;
  }
  .bedrijf-sub-title {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
  }
  .bedrijf-tags {
    gap: 13px;
    margin-bottom: 0;
  }
  .bedrijf-tag {
    font-size: 16px;
    padding: 5px 13px 5px 8px;
    gap: 8px;
    border-radius: 8px;
  }
  .bedrijf-tag img { width: 18px; height: 18px; }
  .bedrijf-diensten-list li {
    font-size: 14px;
    padding: 8px 0 8px 28px;
  }
  .bedrijf-diensten-list li::before { width: 16px; height: 16px; }
  .bedrijf-cat-pill {
    font-size: 14px;
    height: 36px;
    padding: 0 16px;
  }
  /* FAQ */
  .bedrijf-faq-title {
    font-size: 32px;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 24px;
  }
  .bedrijf-faq-list { gap: 16px; }
  .bedrijf-faq .article-faq-item,
  .bedrijf-faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
  }
  .bedrijf-faq summary,
  .bedrijf-faq-item summary,
  .article-faq-item summary {
    font-size: 18px;
    font-weight: 700;
    padding: 16px 24px;
    min-height: 56px;
  }
  .bedrijf-review-card {
    margin-left: calc(-1 * var(--space-24));
    margin-right: calc(-1 * var(--space-24));
    padding-left: var(--space-24);
    padding-right: var(--space-24);
  }
  .bedrijf-quote {
    font-size: 18px;
    padding-right: 0;
  }
  .bedrijf-quote-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .bedrijf-quote-row .bedrijf-certificates {
    margin-left: 0;
    margin-top: var(--space-24);
    align-self: center;
  }
  .bedrijf-diensten-list {
    columns: 1;
  }
  .bedrijf-merken {
    gap: 16px 24px;
    max-width: 100%;
    justify-content: flex-start;
  }
  .bedrijf-merken img {
    width: calc(50% - 12px);
    max-width: 140px;
    height: auto;
    object-fit: contain;
  }
}


/* ==========================================================================
   RESPONSIVE — 480px (mobile)
   ========================================================================== */
@media (max-width: 480px) {
  .bedrijf-cat-pills {
    flex-direction: column;
  }
  .bedrijf-cat-pill {
    width: 100%;
    justify-content: center;
  }
  .bedrijf-cert-logo {
    max-width: 90px;
    max-height: 30px;
  }
  .bedrijf-stat {
    width: 100%;
  }
  .bedrijf-overview-content,
  .bedrijf-sub-content,
  .bedrijf-sub-collapsed.open {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
  }
  .bedrijf-sub-title {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
  }
  .bedrijf-section-header {
    padding: var(--space-16);
  }
  .bedrijf-review-card {
    margin-left: calc(-1 * var(--space-16));
    margin-right: calc(-1 * var(--space-16));
    padding-left: var(--space-16);
    padding-right: var(--space-16);
  }
  .bedrijf-map {
    height: 240px;
  }
}


/* ==========================================================================
   SHARE MODAL
   ========================================================================== */
.bedrijf-share-trigger {
  cursor: pointer;
}
.bedrijf-share-trigger:hover {
  color: var(--color-accent);
}

/* Overlay */
.share-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}
.share-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal */
.share-modal {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: var(--space-48);
  width: 380px;
  position: relative;
  transform: translateY(20px);
  transition: transform 300ms ease;
}
.share-overlay.active .share-modal {
  transform: translateY(0);
}

/* Close button */
.share-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: none;
  background: #D9D9D9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.share-close:hover {
  background: var(--color-muted);
}

/* Foto overlay: wit kruis, oranje hover */
.foto-overlay .share-close img {
  filter: brightness(0) invert(1);
}
.foto-overlay .share-close:hover img {
  filter: brightness(0) saturate(100%) invert(28%) sepia(95%) saturate(5547%) hue-rotate(360deg) brightness(101%) contrast(112%);
}

/* Title */
.share-title {
  font-family: var(--font-mono);
  font-size: var(--h4-size);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-32);
}

/* Options */
.share-options {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 calc(-1 * var(--space-48));
}
.share-option {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  font-size: var(--body-size);
  font-weight: 700;
  color: var(--color-text);
  padding: var(--space-12) var(--space-48);
  border-radius: 0;
  transition: background-color 200ms ease, color 200ms ease;
}
.share-option:hover {
  background-color: var(--color-accent);
  color: #fff;
}
.share-option:hover img {
  filter: brightness(0) invert(1);
}
.share-option img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  transition: filter 200ms ease;
}
.share-option img[src*="linkedin"] {
  position: relative;
  top: -4px;
}


/* ==========================================================================
   FOTO'S SECTIE
   ========================================================================== */
.bedrijf-fotos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.bedrijf-foto-thumb {
  display: block;
  width: calc(25% - 12px);
  height: 160px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
}
.bedrijf-foto-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid #000;
  transition: transform 300ms ease;
}
.bedrijf-foto-thumb:hover img {
  transform: scale(1.03);
}
.bedrijf-foto-logo {
  background: var(--color-surface, #f5f5f5);
}
.bedrijf-foto-logo img {
  object-fit: contain;
  padding: 16px;
  border: none;
}

@media (max-width: 1024px) {
  .bedrijf-foto-thumb {
    width: calc(33.333% - 11px);
    aspect-ratio: 1 / 1;
    height: auto;
  }
}
@media (max-width: 768px) {
  .bedrijf-foto-thumb {
    width: calc(50% - 8px);
    aspect-ratio: 1 / 1;
    height: auto;
  }
}

/* Foto lightbox — zelfde stijl als share-overlay */
.foto-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}
.foto-overlay.active {
  opacity: 1;
  visibility: visible;
}
.foto-overlay-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  transform: translateY(20px);
  transition: transform 300ms ease;
}
.foto-overlay.active .foto-overlay-img {
  transform: translateY(0);
}


/* ==========================================================================
   VOLTOO SCORE GAUGE
   ========================================================================== */

.voltoo-score {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.voltoo-score__num {
  font-family: var(--font-mono);
  font-size: 60px;
  font-weight: 800;
  fill: #000000;
}

.voltoo-score__label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  fill: var(--color-muted);
}

.voltoo-score__icon {
  fill: #000000;
}

.voltoo-score__sweep {
  animation: voltooSweep 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes voltooSweep {
  from { stroke-dasharray: 0 452.39; }
}

.voltoo-score__breakdown {
  margin-top: 8px;
  font-size: 12px;
}

.voltoo-score__breakdown summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-muted);
}

.voltoo-score__breakdown-tier {
  margin-top: 6px;
}

.voltoo-score__breakdown-total {
  margin-top: 6px;
  color: var(--color-muted);
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

/* Hide on desktop, show on mobile */
.bedrijf-mobile-cta {
  display: none;
}
.bedrijf-mobile-certs {
  display: none;
}

/* Inline mobile CTAs — hidden on desktop */
.bedrijf-inline-cta {
  display: none;
}
@media (max-width: 768px) {
  .bedrijf-inline-cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0 0;
    grid-column: 1 / -1;
  }
  .bedrijf-inline-cta .bedrijf-btn-offerte {
    width: 100%;
    height: 45px;
    padding: 0;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    background: var(--color-accent);
    color: #fff;
    border: none;
    margin-bottom: 0;
  }
  .bedrijf-inline-cta .bedrijf-btn-phone {
    width: 100%;
    height: 45px;
    padding: 0;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    margin-bottom: 0;
  }
  /* Sticky bottom CTA bar — toont alleen wanneer .is-visible klasse staat (via IntersectionObserver) */
  .bedrijf-mobile-cta {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-surface);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
    z-index: 100;
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
    transition: opacity 240ms ease, transform 240ms ease;
  }
  .bedrijf-mobile-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .bedrijf-mobile-cta .bedrijf-btn-offerte,
  .bedrijf-mobile-cta .bedrijf-btn-phone {
    flex: 1;
    height: 45px;
    padding: 0;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    margin: 0;
  }
  .bedrijf-mobile-cta .bedrijf-btn-offerte {
    background: var(--color-accent);
    color: #fff;
    border: none;
  }
  .bedrijf-mobile-cta .bedrijf-btn-phone {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
  }
}
