/* ==========================================================================
   HoornKley - Brand & Layout Stylesheet
   Unified grid alignment & proportioned spacing for modern screens
   ========================================================================== */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

@font-face {
  font-family: 'DIN Next Rounded LT Pro';
  src: url('../assets/fonts/din-next-rounded-lt-pro-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Brand Tokens (HoornKley Merkboek - Kleurenpallet p.22) --- */
:root {
  /* Core Base Colors */
  --color-mos: #00482b;              /* PANTONE 3537 C | R 0 G 72 B 43 | C 93 M 42 Y 89 K 50 */
  --color-mos-rgb: 0, 72, 43;
  --color-mosterd: #cc8a00;          /* PANTONE 131 C  | R 204 G 138 B 0 | C 18 M 47 Y 100 K 6 */
  --color-mosterd-rgb: 204, 138, 0;
  --color-mud: #3e322d;              /* PANTONE 2479 C | R 62 G 51 B 46  | C 57 M 60 Y 60 K 68 */
  --color-mud-rgb: 62, 51, 46;

  /* Mos Tint Scale (Merkboek ladder) */
  --color-mos-100: #00482b;
  --color-mos-80:  #285140;
  --color-mos-60:  #4d6f5f;
  --color-mos-40:  #899f94;
  --color-mos-20:  #c4cec9;
  --color-mos-10:  #e7ece9;

  /* Mosterd Tint Scale (Merkboek ladder) */
  --color-mosterd-100: #cc8a00;
  --color-mosterd-80:  #c38e47;
  --color-mosterd-60:  #cda168;
  --color-mosterd-40:  #dec09a;
  --color-mosterd-20:  #efe0cd;
  --color-mosterd-10:  #f8f3eb;

  /* Mud Tint Scale (Merkboek ladder) */
  --color-mud-100: #3e322d;
  --color-mud-80:  #524744;
  --color-mud-60:  #6f6663;
  --color-mud-40:  #9f9997;
  --color-mud-20:  #cecccb;
  --color-mud-10:  #ebebea;

  /* Semantic Brand Aliases */
  --color-primary: var(--color-mos);
  --color-accent: var(--color-mosterd);
  --color-accent-hover: #b37700;
  --color-goud: var(--color-mosterd);
  --color-goud-hover: #b37700;
  --color-text-dark: var(--color-mud);
  --color-text-muted: var(--color-mud-60);
  --color-bg-base: #ffffff;
  --color-bg-warm: var(--color-mosterd-10);     /* Warm cream background from Mosterd tint */
  --color-bg-footer: var(--color-mud-10);      /* Clean light neutral from Mud tint */
  --color-bg-dropdown: #f2f3f1;
  --color-bg-dropdown-hover: #e4e5e2;

  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-badge: 'DIN Next Rounded LT Pro', 'Arial Rounded MT Bold', sans-serif;

  /* Section Width Tokens - Aligned to Logo and Header Edge */
  --header-max-width: 1440px;        /* Wide & spacious menu and logo section */
  --article-max-width: 1440px;       /* Aligned with logo and menu edge */
  --impressions-max-width: 1440px;   /* Aligned with logo and menu edge */
  --services-max-width: 1040px;      /* Generous services triad */
  --samenwerken-max-width: 1440px;   /* Samenwerken CTA banner */
  --footer-max-width: 1440px;        /* Matching footer */
  --content-text-max-width: 960px;   /* Generous reading line length for wide screens */
  --site-max-width: 1440px;          /* Matching base width */

  --radius-sm: 6px;
  --radius-md: 16px;
  --radius-card: 16px;
  --radius-full: 9999px;
  --transition: 0.25s ease;
}

/* --- Reset & Core --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-dark);
  background-color: var(--color-bg-base);
  overflow-x: clip;
}

/* --- Global Typography & Orphan / Widow Prevention --- */
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.article-title,
.faq-question,
.bouwen-op-elkaar-title,
.samenwerken-title,
.megamenu-item-title,
.megamenu-showcase-title {
  font-family: var(--font-heading);
  text-wrap: balance;
}

p,
li,
figcaption,
blockquote,
.article-lead,
.article-body p,
.faq-answer p,
.service-item p,
.bouwen-op-elkaar-card p,
.megamenu-item-desc {
  text-wrap: pretty;
  orphans: 2;
  widows: 2;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* Differentiated Containers for balanced wide-screen hierarchy */
.container-header,
.container-article,
.article-container,
.container-impressions,
.container-services,
.container-samenwerken,
.container-footer,
.site-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 3.5vw, 3rem);
  padding-right: clamp(1.25rem, 3.5vw, 3rem);
}

.container-header {
  max-width: var(--header-max-width);
}

.container-article,
.article-container {
  max-width: var(--article-max-width);
}

.container-impressions {
  max-width: var(--impressions-max-width);
}

.container-services {
  max-width: var(--services-max-width);
}

.container-samenwerken {
  max-width: var(--samenwerken-max-width);
}

.container-footer {
  max-width: var(--footer-max-width);
}

.site-container {
  max-width: var(--site-max-width);
}

/* ==========================================================================
   Header Component
   ========================================================================== */
.site-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-bg-base);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--transition);
}

.site-header-wrapper.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
}

/* Top Green Line */
.green-top-line {
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 0.8125rem;
  padding: 7px 0;
  max-height: 40px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* On scroll: green bar collapses smoothly to keep sticky header compact */
.site-header-wrapper.is-scrolled .green-top-line {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
}

.green-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.green-top-contact a {
  color: #ffffff;
}

.green-top-contact a:hover {
  color: var(--color-accent);
}

.green-top-divider {
  color: var(--color-accent);
  padding: 0 4px;
}

.green-top-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.green-top-social a {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  transition: transform var(--transition), color var(--transition);
}

.green-top-social a:hover {
  transform: scale(1.15);
  color: var(--color-accent);
}

.green-top-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* Main Header */
.main-header {
  padding: 16px 0;
  background-color: var(--color-bg-base);
  transition: padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header-wrapper.is-scrolled .main-header {
  padding: 8px 0;
}

.main-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--header-max-width);
}

/* Site Logo: mark + text side-by-side with exact dimensions as original (220px x 110px) */
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  line-height: 0;
  text-decoration: none;
}

.logo-mark {
  height: 110px;
  width: auto;
  display: block;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-text {
  height: 110px;
  width: auto;
  max-width: 140px;
  opacity: 1;
  display: block;
  transform-origin: left center;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              margin 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* On scroll: leave the mark of the logo but hide the text */
.site-header-wrapper.is-scrolled .logo-mark {
  height: 38px;
}

.site-header-wrapper.is-scrolled .logo-text {
  height: 38px;
  max-width: 0;
  opacity: 0;
  margin-left: 0;
  transform: scale(0.85) translateX(-8px);
  pointer-events: none;
  overflow: hidden;
}

/* Header Actions & Navigation */
.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  transition: gap 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header-wrapper.is-scrolled .header-right {
  gap: 0;
}

/* Button Row (Visible at top, smoothly collapses on scroll) */
.header-button-wrap {
  display: flex;
  justify-content: flex-end;
  max-height: 48px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              margin 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-header-cta {
  display: inline-block;
  background-color: var(--color-accent);
  color: #ffffff !important;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  transition: background-color var(--transition), transform var(--transition);
}

.btn-header-cta:hover {
  background-color: var(--color-primary);
  transform: translateY(-1px);
}

/* On scroll: rectangular button smoothly collapses */
.site-header-wrapper.is-scrolled .header-button-wrap {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  pointer-events: none;
}

/* Navigation Row */
.header-nav-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  text-transform: uppercase;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.nav-item {
  position: relative;
  z-index: 1002;
}

.nav-link {
  position: relative;
  z-index: 1003;
  color: var(--color-text-dark);
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition);
}

.nav-link:hover,
.nav-item.current-ancestor > .nav-link,
.nav-item.current-item > .nav-link {
  color: var(--color-accent);
}

.nav-link svg {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform var(--transition);
}

/* Dropdown & Mega Menu System */
.nav-item.has-megamenu {
  position: relative;
}

/* Downward bridge on the nav item so hover is never lost when moving cursor directly to the panel */
.nav-item.has-megamenu::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
  z-index: 999;
  display: none;
  pointer-events: auto;
}

.nav-item.has-megamenu:hover::after,
.nav-item.has-megamenu.is-open::after {
  display: block;
}

.nav-item:hover .nav-link svg,
.nav-item.is-open .nav-link svg {
  transform: rotate(180deg);
}

/* Base Mega Menu Panel */
.megamenu-panel {
  position: absolute;
  top: calc(100% + 4px);
  background-color: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: 0 24px 64px -10px rgba(0, 0, 0, 0.15), 0 8px 24px -4px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(62, 51, 46, 0.09);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.2s;
  pointer-events: none;
  z-index: 1000;
  overflow: visible;
}

/* Hover & Open States */
.nav-item.has-megamenu:hover .megamenu-panel,
.nav-item.has-megamenu.is-open .megamenu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Panel Sizing & Anchoring */
.megamenu-expertises {
  width: 850px;
  max-width: min(860px, calc(100vw - 48px));
  left: -220px;
}

.megamenu-overons {
  width: 740px;
  max-width: min(760px, calc(100vw - 48px));
  left: -260px;
}

/* Mega Menu Inner Structure */
.megamenu-inner {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  overflow: hidden; /* Cleanly clips all child items within rounded corners */
}

.megamenu-main {
  display: flex;
  gap: 24px;
  padding: 26px 28px 22px 28px;
}

.megamenu-content {
  flex: 1 1 auto;
  min-width: 0;
}

/* Eyebrow Header with Subtle Divider */
.megamenu-header {
  margin-bottom: 14px;
}

.megamenu-eyebrow {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-mud-60);
  margin-bottom: 10px;
}

.megamenu-header-divider {
  height: 1px;
  width: 100%;
  background-color: rgba(62, 51, 46, 0.1);
}

/* Link Cards Grid */
.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
}

.megamenu-grid--compact {
  grid-template-columns: 1fr;
  gap: 8px;
}

/* Mega Menu Item Card */
.megamenu-item {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  background-color: transparent;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.megamenu-item:hover {
  background-color: rgba(62, 51, 46, 0.04);
  border-color: rgba(62, 51, 46, 0.08);
  transform: translateX(3px);
}

.megamenu-item.is-active {
  background-color: rgba(62, 51, 46, 0.08);
  border-color: rgba(62, 51, 46, 0.22);
}

.megamenu-item.is-active:hover {
  background-color: rgba(62, 51, 46, 0.12);
  border-color: rgba(62, 51, 46, 0.32);
}

.megamenu-item-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}

.megamenu-item-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.915rem;
  font-weight: 700;
  color: var(--color-mud);
  text-transform: none;
  line-height: 1.25;
  transition: color 0.18s;
}

.megamenu-item:hover .megamenu-item-title {
  color: var(--color-accent);
}

.megamenu-item.is-active .megamenu-item-title {
  color: var(--color-mud);
}

.megamenu-item.is-active .megamenu-item-desc {
  color: var(--color-mud-80);
}

.megamenu-item-desc {
  font-size: 0.77rem;
  color: var(--color-mud-60);
  line-height: 1.38;
  text-transform: none;
  font-weight: 400;
  margin: 0;
}

.megamenu-item-badge {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 999px;
  background-color: var(--color-mosterd-20);
  color: var(--color-mud);
  white-space: nowrap;
}

.megamenu-item-badge--highlight {
  background-color: var(--color-mos-10);
  color: var(--color-mos);
}

.megamenu-item-arrow {
  color: var(--color-accent);
  transition: transform 0.18s;
  flex-shrink: 0;
}

.megamenu-item:hover .megamenu-item-arrow {
  transform: translateX(3px);
}

.megamenu-item-accent {
  background-color: rgba(204, 138, 0, 0.04);
}

/* Showcase Visual Card (Right Column) */
.megamenu-showcase {
  width: 290px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.megamenu-showcase-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 290px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: var(--color-mud);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.megamenu-showcase-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.megamenu-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.megamenu-showcase-card:hover .megamenu-showcase-img {
  transform: scale(1.04);
}

.megamenu-showcase-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 20, 15, 0.05) 15%, rgba(30, 20, 15, 0.45) 50%, rgba(20, 15, 12, 0.92) 100%);
  pointer-events: none;
}

.megamenu-showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 20px;
  color: #ffffff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-transform: none;
}

.megamenu-showcase-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-mosterd-40);
  margin-bottom: 5px;
}

.megamenu-showcase-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 5px;
  line-height: 1.25;
}

.megamenu-showcase-desc {
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.35;
  margin-bottom: 12px;
  max-height: 38px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.megamenu-showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
}

.megamenu-showcase-link:hover {
  color: var(--color-mosterd-40);
  border-color: var(--color-mosterd-40);
  gap: 9px;
}

/* Tinted Warm Bottom Bar (Merkboek Mosterd 10 tint / Cream) */
.megamenu-bottom-bar {
  background-color: var(--color-bg-warm);
  border-top: 1px solid rgba(62, 51, 46, 0.08);
  padding: 13px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.megamenu-bottom-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.megamenu-bottom-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-mud);
  text-decoration: none;
  text-transform: none;
  transition: color 0.2s;
}

.megamenu-bottom-link svg {
  color: var(--color-accent);
}

.megamenu-bottom-link:hover {
  color: var(--color-accent);
}

.megamenu-bottom-divider {
  display: inline-block;
  width: 1px;
  height: 14px;
  background-color: rgba(62, 51, 46, 0.16);
}

.megamenu-bottom-pill {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--color-mud-80);
  text-transform: none;
}

.megamenu-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-mud-60);
  cursor: pointer;
  text-transform: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.18s, background-color 0.18s;
}

.megamenu-close-btn:hover {
  color: var(--color-mud);
  background-color: rgba(62, 51, 46, 0.08);
}

/* Fallback simple dropdown (e.g. for language switcher or basic menus) */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background-color: var(--color-bg-dropdown);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 100;
  border-radius: 2px;
}

.nav-item:hover .nav-dropdown {
  display: block;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 500;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-text-dark);
  cursor: pointer;
  padding: 4px 6px;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--color-bg-dropdown);
  min-width: 70px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: none;
}

.lang-switcher:hover .lang-dropdown {
  display: block;
}

.lang-dropdown a {
  display: block;
  padding: 6px 12px;
  color: var(--color-text-dark);
}

.lang-dropdown a:hover,
.lang-dropdown a.active {
  background-color: var(--color-bg-dropdown-hover);
  color: var(--color-accent);
}

/* Round Contact / Afspraak maken CTA Button (smoothly transitions in at the end of the menu on scroll) */
.btn-round-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0;
  max-width: 0;
  height: 38px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(204, 138, 0, 0.35);
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
  overflow: hidden;
  margin-left: 0;
  flex-shrink: 0;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              margin 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              background-color var(--transition),
              box-shadow var(--transition);
}

.btn-round-contact:hover {
  background-color: var(--color-primary);
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(22, 75, 47, 0.35);
}

/* When scrolled: round button smoothly appears at the end of the menu items */
.site-header-wrapper.is-scrolled .btn-round-contact {
  width: 38px;
  max-width: 44px;
  height: 38px;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  margin-left: 8px;
}

.round-contact-icon {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2.2;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.btn-round-contact:hover .round-contact-icon {
  transform: scale(1.08);
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.mobile-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-text-dark);
  border-radius: 2px;
}

/* ==========================================================================
   Hero Cover & Overlapping Gold Badge (Video Edition)
   ========================================================================== */
.hero-cover {
  position: sticky;
  top: var(--header-scrolled-height, 56px);
  width: 100%;
  height: calc(100vh - var(--header-height, 178px));
  height: calc(100dvh - var(--header-height, 178px));
  min-height: 580px;
  background-color: #141414;
  z-index: 1;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video-wrap video,
.hero-video-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.3) 65%,
    rgba(0, 0, 0, 0.72) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Mud Ambient Transition Layer over video */
.hero-mud-transition-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--color-mud);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  animation: videoMudAtmosphere 3.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

@keyframes videoMudAtmosphere {
  0%, 45% {
    opacity: 0;
  }
  60% {
    opacity: 0.88; /* Video background appears in Mud colour as circle turns orange */
  }
  100% {
    opacity: 0;   /* Mud colour smoothly fades into the video */
  }
}

/* ==========================================================================
   Hero Connect Flyout (Right 30% Slide-in over Video)
   - Triggered on hovering circle with payoff (or touching on mobile)
   - Shows humans in focus from werkwijze hero
   - Invitation to connect with CTA
   ========================================================================== */
.hero-connect-flyout {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 32%;
  min-width: 360px;
  max-width: 520px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background-color: #121814;
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(204, 138, 0, 0.25);
  border-left: 2px solid rgba(204, 138, 0, 0.5);
  transform: translateX(102%);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
  pointer-events: none;
}

.hero-connect-flyout.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

@media (max-width: 768px) {
  .hero-connect-flyout {
    width: 100%;
    min-width: unset;
    max-width: unset;
  }
}

.hero-flyout-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-flyout-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 18%; /* Humans in focus: smiling colleagues and blueprint */
  display: block;
  transform: scale(1.08);
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-connect-flyout.is-open .hero-flyout-img {
  transform: scale(1);
}

.hero-flyout-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 20, 16, 0.1) 0%,
    rgba(14, 20, 16, 0.32) 28%,
    rgba(14, 20, 16, 0.76) 52%,
    rgba(14, 20, 16, 0.95) 75%,
    rgba(14, 20, 16, 0.99) 100%
  );
}

.hero-flyout-content {
  position: relative;
  z-index: 2;
  padding: 32px 32px clamp(290px, 34vh, 340px); /* Ensures CTA button and phone link sit completely clear above circle badge */
  color: #ffffff;
}

@media (max-height: 760px) {
  .hero-flyout-content {
    padding: 24px 24px clamp(250px, 30vh, 280px);
  }
}

.hero-flyout-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-mosterd);
  margin-bottom: 8px;
}

.hero-flyout-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 12px;
}

.hero-flyout-desc {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 22px;
}

.hero-flyout-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-flyout-btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 12px 22px;
}

.hero-flyout-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}

.hero-flyout-phone:hover {
  color: var(--color-mosterd);
}

.hero-flyout-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  backdrop-filter: blur(6px);
  transition: background var(--transition), transform var(--transition);
}

.hero-flyout-close-btn:hover {
  background: var(--color-mosterd);
  border-color: var(--color-mosterd);
  transform: scale(1.08);
}

/* ==========================================================================
   Hero Bottom Bar: Page Title over Video (Left) & Animated Badge (Right)
   - Title placed at the bottom of the video, just above the orange bar / content
   - Left-aligned to logo and article container edge
   ========================================================================== */
.hero-bottom-wrap,
.hero-badge-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 25;
  pointer-events: none;
  padding-bottom: clamp(24px, 3.5vh, 44px);
}

.hero-bottom-container,
.hero-badge-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(24px, 4vw, 48px);
}

@keyframes heroTitleAscent {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    transform: translate3d(0, -650px, 0);
    opacity: 0;
  }
}

.hero-title-col {
  pointer-events: auto;
  max-width: clamp(520px, 62vw, 920px);
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
}

@supports (animation-timeline: scroll()) {
  .hero-title-col {
    animation: heroTitleAscent linear both;
    animation-timeline: scroll(root);
    animation-range: 0px 750px;
  }
}

.hero-page-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 2rem + 2.2vw, 4.2rem);
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.65), 0 2px 6px rgba(0, 0, 0, 0.85);
}

.hero-page-title .gold {
  color: var(--color-mosterd);
}

.hero-badge-col {
  pointer-events: auto;
  flex-shrink: 0;
}

.hero-corner-badge {
  pointer-events: auto;
  position: relative;
  width: clamp(210px, 16vw, 252px);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.45));
  transition: transform var(--transition);
  user-select: none;
}

.hero-corner-badge:hover {
  transform: rotate(3deg) scale(1.04);
}

.badge-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* 1. Animated Mud Outline */
.badge-stroke-outline {
  fill: none;
  stroke: var(--color-mud);
  stroke-width: 5px;
  stroke-linecap: round;
  stroke-dasharray: 717;
  stroke-dashoffset: 717;
  transform-origin: center;
  transform: rotate(-90deg);
  animation: drawMudOutline 1.2s cubic-bezier(0.65, 0, 0.35, 1) 0.3s forwards;
}

@keyframes drawMudOutline {
  0% {
    stroke-dashoffset: 717;
    stroke: var(--color-mud);
    opacity: 1;
  }
  85% {
    stroke-dashoffset: 0;
    stroke: var(--color-mud);
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    stroke: var(--color-mosterd);
    opacity: 0.7;
  }
}

/* 2. Full Circle Body: fills with Mud, then transitions to Mosterd Orange */
.badge-bg-fill {
  transform-origin: center;
  opacity: 0;
  fill: var(--color-mud);
  animation: fillMudAndTurnOrange 2.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes fillMudAndTurnOrange {
  0%, 35% {
    opacity: 0;
    fill: var(--color-mud);
    transform: scale(0.92);
  }
  48% {
    opacity: 1;
    fill: var(--color-mud); /* Full circle becomes Mud colour */
    transform: scale(1);
  }
  62% {
    fill: var(--color-mud);
  }
  92%, 100% {
    opacity: 1;
    fill: var(--color-mosterd); /* Transitions to Mosterd Orange */
    transform: scale(1);
  }
}

/* 3. Typography: appears bold and large, simultaneously as the circle transitions to orange */
.badge-typography {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  font-family: var(--font-badge);
  font-weight: 700;
  font-size: clamp(30px, 2.3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: textAppearWithOrange 2.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes textAppearWithOrange {
  0%, 62% {
    opacity: 0;
    transform: translateY(8px) scale(0.94);
  }
  88%, 100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.badge-line {
  display: block;
}

/* ==========================================================================
   Sticky Orange Brand Separator Bar
   - Sits at the bottom edge of hero video / top of content
   - When scrolling down, slides up over the video
   - When reaching underside of menu bar, sticks firmly as the separator
   - Transitions smoothly between compact (54px) and normal (178px) header
   ========================================================================== */
.hero-orange-bar {
  position: sticky;
  top: var(--header-height, 178px);
  height: 10px;
  background-color: var(--color-mosterd);
  z-index: 990;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header-wrapper.is-scrolled ~ .hero-orange-bar {
  top: 54px;
}

/* ==========================================================================
   Main Article Section (Solid Calm Scroll Content Panel)
   ========================================================================== */
.article-section {
  position: relative;
  z-index: 10;
  padding-top: clamp(40px, 4.5vw, 65px);
  padding-bottom: 85px;
  background-color: var(--color-bg-base);
  box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.14);
}

.impressions-section,
.faq-section,
.services-triad-section,
.samenwerken-section,
.site-footer,
.bottom-bar {
  position: relative;
  z-index: 10;
}

.article-main-content {
  max-width: var(--content-text-max-width);
}

/* ==========================================================================
   Article Hero Grid: Intro Text on Left, Social Media Series Reel on Right
   ========================================================================== */
.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(460px, 1.05fr) minmax(460px, 1fr);
  gap: clamp(36px, 4.5vw, 68px);
  align-items: start;
  margin-bottom: clamp(50px, 5vw, 75px);
}

@media (max-width: 1080px) {
  .article-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.article-intro-col {
  display: flex;
  flex-direction: column;
}

/* Extended Article Content below the Hero Grid */
.article-extended-content {
  width: 100%;
}

.article-extended-content .content-block {
  max-width: var(--content-text-max-width, 960px);
}

/* ==========================================================================
   Social Media Series 3D Reel Component
   - Shows active video largest in front
   - Inactive videos smaller sliding behind it
   - Auto-plays consecutive videos when started
   - Skip by clicking background videos or arrows
   ========================================================================== */
/* ==========================================================================
   Deck of Cards Video Reel (Beside the text)
   - White background
   - Authentic deck of cards layout with physical card styling
   - Central card is playable, other cards slide behind it symmetrically
   - Auto-plays consecutive videos when started
   ========================================================================== */
.article-shorts-col {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 10px 16px 16px;
  position: relative;
  overflow: visible;
  color: var(--color-groen);
}

.shorts-header-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 8px;
  padding: 0 8px;
  position: relative;
  z-index: 5;
}

.shorts-counter {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #7a736c;
}

.shorts-counter-current {
  color: var(--color-mosterd);
  font-size: 1.18rem;
  font-weight: 800;
}

.shorts-counter-sep {
  opacity: 0.45;
  margin: 0 3px;
}

.shorts-counter-total {
  opacity: 0.85;
}

/* 3D Deck of Cards Stage */
.shorts-stage {
  position: relative;
  width: 100%;
  height: 470px;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  overflow: visible;
}

/* Individual Card in the Deck */
.shorts-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 240px;
  height: 426px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: #1a1614;
  border: 3px solid #ffffff;
  box-shadow: 0 16px 36px -8px rgba(25, 20, 15, 0.22), 0 4px 14px rgba(0, 0, 0, 0.08);
  transform-origin: center center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.45s ease,
              box-shadow 0.45s ease;
  will-change: transform, opacity;
  cursor: pointer;
}

/* Initial stacked deck state before scrolled into view */
.article-shorts-col:not(.is-fullscreen) .shorts-stage:not(.is-revealed) .shorts-card {
  transform: translate(-50%, -50%) scale(0.92) translateZ(-40px) !important;
  opacity: 0.15 !important;
  pointer-events: none !important;
}

.article-shorts-col:not(.is-fullscreen) .shorts-stage:not(.is-revealed) .shorts-card.is-active {
  transform: translate(-50%, -50%) scale(0.96) translateZ(0) !important;
  opacity: 1 !important;
}

.shorts-card.is-active {
  box-shadow: 0 24px 52px -10px rgba(25, 20, 15, 0.32), 0 8px 22px rgba(0, 0, 0, 0.12);
  border-color: #ffffff;
}

.shorts-card:not(.is-active):hover {
  filter: brightness(0.96) !important;
}

.shorts-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.shorts-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  background-color: #000;
}

.shorts-card.is-active .shorts-video {
  pointer-events: auto;
}

/* Card Overlays */
.shorts-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 14px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0.52) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.18) 60%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Hide controls and text on inactive cards in the deck */
.shorts-card:not(.is-active) .shorts-overlay {
  background: rgba(0, 0, 0, 0.25);
}

.shorts-card:not(.is-active) .shorts-top-info,
.shorts-card:not(.is-active) .shorts-center-play-btn,
.shorts-card:not(.is-active) .shorts-bottom-info {
  opacity: 0;
  pointer-events: none;
}

.shorts-top-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
}

.shorts-duration {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  color: #ffffff;
  letter-spacing: 0.02em;
}

.shorts-sound-btn {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.shorts-sound-btn:hover {
  background: var(--color-mosterd);
  border-color: var(--color-mosterd);
  transform: scale(1.08);
}

.shorts-sound-btn svg {
  width: 16px;
  height: 16px;
}

.shorts-sound-btn .sound-icon-unmuted {
  display: none;
}

.shorts-sound-btn.is-unmuted .sound-icon-unmuted {
  display: block;
}

.shorts-sound-btn.is-unmuted .sound-icon-muted {
  display: none;
}

.shorts-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shorts-fullscreen-btn {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.shorts-fullscreen-btn:hover {
  background: var(--color-mosterd);
  border-color: var(--color-mosterd);
  transform: scale(1.08);
}

.shorts-fullscreen-btn svg {
  width: 15px;
  height: 15px;
}

.shorts-fullscreen-btn .fullscreen-icon-expand {
  display: block;
}

.shorts-fullscreen-btn .fullscreen-icon-compress {
  display: none;
}

.article-shorts-col.is-fullscreen .shorts-fullscreen-btn .fullscreen-icon-expand {
  display: none;
}

.article-shorts-col.is-fullscreen .shorts-fullscreen-btn .fullscreen-icon-compress {
  display: block;
}

.shorts-close-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  font-family: var(--font-base);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}

.shorts-close-btn svg {
  width: 16px;
  height: 16px;
}

.shorts-close-btn:hover {
  background: var(--color-mosterd);
  border-color: var(--color-mosterd);
  color: #ffffff;
  transform: scale(1.04);
}

/* Big Play Button on Central Playable Card */
.shorts-center-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(204, 138, 0, 0.95);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 5px rgba(255, 255, 255, 0.3);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s ease, opacity 0.3s ease;
  z-index: 5;
}

.shorts-center-play-btn svg {
  width: 26px;
  height: 26px;
}

.shorts-center-play-btn .shorts-icon-play {
  margin-left: 3px;
  display: block;
}

.shorts-center-play-btn .shorts-icon-pause {
  margin-left: 0;
  display: none;
}

.shorts-center-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--color-mosterd);
  box-shadow: 0 12px 34px rgba(204, 138, 0, 0.5), 0 0 0 7px rgba(255, 255, 255, 0.4);
}

/* Playing state: switch icon from play to pause */
.shorts-card.is-playing .shorts-center-play-btn .shorts-icon-play {
  display: none;
}

.shorts-card.is-playing .shorts-center-play-btn .shorts-icon-pause {
  display: block;
}

.shorts-card.is-playing .shorts-center-play-btn {
  opacity: 0;
  pointer-events: none;
  background: rgba(204, 138, 0, 0.95);
}

.shorts-card.is-playing:hover .shorts-center-play-btn,
.shorts-card.is-playing .shorts-center-play-btn:focus-visible {
  opacity: 0.92;
  pointer-events: auto;
}

.shorts-card.is-playing .shorts-center-play-btn:hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--color-mosterd);
  box-shadow: 0 12px 34px rgba(204, 138, 0, 0.5), 0 0 0 7px rgba(255, 255, 255, 0.4);
}

.shorts-bottom-info {
  pointer-events: auto;
}

.shorts-card-pill {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-mosterd);
  margin-bottom: 4px;
}

.shorts-card-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shorts-progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  overflow: hidden;
}

.shorts-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--color-mosterd);
  border-radius: 3px;
  transition: width 0.1s linear;
}

/* Footer Navigation Controls (Light/White Theme) */
.shorts-footer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 0 10px;
  position: relative;
  z-index: 5;
}

.shorts-nav-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f5f2ec;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--color-groen);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.shorts-nav-arrow:hover {
  background: var(--color-mosterd);
  border-color: var(--color-mosterd);
  color: #ffffff;
  transform: scale(1.08);
}

.shorts-nav-arrow svg {
  width: 16px;
  height: 16px;
}

.shorts-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.shorts-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e2ded7;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.25s ease, background-color 0.25s ease, border-radius 0.25s ease;
}

.shorts-dot.is-active {
  width: 22px;
  border-radius: 4px;
  background: var(--color-mosterd);
}

.shorts-skip-hint {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 10px;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Fullscreen Modal / Zoomed-in Card View
   - Blacked out with transparent brand mud color
   - Preserves card look, elevated proportions & full 3D deck controls
   ========================================================================== */
body.shorts-fullscreen-open {
  overflow: hidden;
}

body.shorts-fullscreen-open .article-section {
  z-index: 100000 !important;
}

body.shorts-fullscreen-open .site-header-wrapper {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.shorts-fullscreen-open .hero-orange-bar {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.article-shorts-col.is-fullscreen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  z-index: 99999;
  background: rgba(62, 51, 46, 0.88); /* mud color with transparency */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 0;
  box-shadow: none;
  padding: clamp(16px, 2.5vh, 28px) clamp(16px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
  animation: shortsModalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes shortsModalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.article-shorts-col.is-fullscreen .shorts-header-bar {
  width: 100%;
  max-width: 680px;
  justify-content: space-between;
  margin-bottom: 6px;
  z-index: 20;
}

.article-shorts-col.is-fullscreen .shorts-counter {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.article-shorts-col.is-fullscreen .shorts-counter-current {
  color: var(--color-mosterd);
}

.article-shorts-col.is-fullscreen .shorts-close-btn {
  display: inline-flex;
}

/* Enlarged 3D Stage in Fullscreen */
.article-shorts-col.is-fullscreen .shorts-stage {
  height: clamp(520px, 74vh, 760px);
  perspective: 1600px;
  margin: auto 0;
}

/* Zoomed-in Card Look */
.article-shorts-col.is-fullscreen .shorts-card {
  height: clamp(480px, 70vh, 710px);
  width: calc(clamp(480px, 70vh, 710px) * (9 / 16));
  max-width: 90vw;
  border: 3.5px solid #ffffff;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.article-shorts-col.is-fullscreen .shorts-card.is-active {
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.article-shorts-col.is-fullscreen .shorts-overlay {
  padding: 18px 18px 20px;
}

.article-shorts-col.is-fullscreen .shorts-duration {
  font-size: 0.85rem;
  padding: 4px 10px;
}

.article-shorts-col.is-fullscreen .shorts-sound-btn,
.article-shorts-col.is-fullscreen .shorts-fullscreen-btn {
  width: 38px;
  height: 38px;
}

.article-shorts-col.is-fullscreen .shorts-sound-btn svg,
.article-shorts-col.is-fullscreen .shorts-fullscreen-btn svg {
  width: 18px;
  height: 18px;
}

.article-shorts-col.is-fullscreen .shorts-center-play-btn {
  width: 78px;
  height: 78px;
}

.article-shorts-col.is-fullscreen .shorts-center-play-btn svg {
  width: 32px;
  height: 32px;
}

.article-shorts-col.is-fullscreen .shorts-card-pill {
  font-size: 0.8125rem;
  margin-bottom: 6px;
}

.article-shorts-col.is-fullscreen .shorts-card-title {
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 12px;
}

.article-shorts-col.is-fullscreen .shorts-progress-bar {
  height: 4px;
}

/* Footer Controls in Fullscreen */
.article-shorts-col.is-fullscreen .shorts-footer-controls {
  width: 100%;
  max-width: 680px;
  margin-top: 10px;
  z-index: 20;
}

.article-shorts-col.is-fullscreen .shorts-nav-arrow {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.article-shorts-col.is-fullscreen .shorts-nav-arrow:hover {
  background: var(--color-mosterd);
  border-color: var(--color-mosterd);
  color: #ffffff;
}

.article-shorts-col.is-fullscreen .shorts-nav-arrow svg {
  width: 20px;
  height: 20px;
}

.article-shorts-col.is-fullscreen .shorts-dot {
  background: rgba(255, 255, 255, 0.35);
  width: 9px;
  height: 9px;
}

.article-shorts-col.is-fullscreen .shorts-dot.is-active {
  width: 26px;
  background: var(--color-mosterd);
}

.subline {
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.15rem);
  font-weight: 500;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.subline .sep {
  color: var(--color-accent);
  padding: 0 6px;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 1.8rem + 1.8vw, 3.2rem);
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.page-title .gold {
  color: var(--color-accent);
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 22px;
  color: var(--color-text-dark);
}

.article-list {
  margin: 20px 0 26px 20px;
  list-style: disc;
}

.article-list li {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 10px;
  padding-left: 6px;
  color: var(--color-text-dark);
}

.sidenote {
  color: var(--color-primary);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 26px 0 32px 0;
}

.sidenote strong {
  font-weight: 700;
}

.btn-pill-gold {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background-color: var(--color-accent);
  color: #ffffff !important;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.8rem 2.2rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 12px rgba(204, 138, 0, 0.25);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-pill-gold:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 75, 47, 0.32);
}

/* ==========================================================================
   Portal Arrow System:
   - At REST (not hovered): Arrow is AFTER the text [ Tekst → ]
   - On HOVER: Back arrow accelerates out to right, front arrow glides in
     from the left with profound deceleration [ → Tekst ]
   - Only ONE arrow is ever visible at any moment.
   ========================================================================== */
.btn-arrow-front,
.btn-arrow-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  position: relative;
  flex-shrink: 0;
  min-width: 0;
  vertical-align: middle;
  pointer-events: none;
}

.btn-arrow-front svg,
.btn-arrow-back svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  pointer-events: none;
  flex-shrink: 0;
}

/* Front slot (in front of text): completely collapsed and hidden at rest */
.btn-arrow-front {
  width: 0;
  margin-right: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-24px);
  transition: width 0.34s cubic-bezier(0.16, 1, 0.3, 1),
              margin-right 0.34s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease,
              transform 0.34s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

/* Back slot (behind text): visible at rest */
.btn-arrow-back {
  width: 16px;
  margin-left: 9px;
  opacity: 1;
  overflow: visible;
  transform: translateX(0);
  transition: width 0.36s cubic-bezier(0.16, 1, 0.3, 1),
              margin-left 0.36s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.22s ease 0.04s,
              transform 0.48s cubic-bezier(0.16, 1, 0.3, 1) 0.04s;
}

/* Hover state on pill buttons */
.btn-pill-gold:hover .btn-arrow-back {
  width: 0;
  margin-left: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(24px);
  transition: width 0.26s cubic-bezier(0.55, 0.055, 0.675, 0.19),
              margin-left 0.26s cubic-bezier(0.55, 0.055, 0.675, 0.19),
              opacity 0.18s ease,
              transform 0.24s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.btn-pill-gold:hover .btn-arrow-front {
  width: 16px;
  margin-right: 9px;
  opacity: 1;
  overflow: visible;
  transform: translateX(0);
  transition: width 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              margin-right 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.24s ease 0.06s,
              transform 0.52s cubic-bezier(0.16, 1, 0.3, 1) 0.04s;
}

/* Project card actions (Bekijk project) */
.card-action-cue .btn-arrow-front svg,
.card-action-cue .btn-arrow-back svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.3;
}

.card-action-cue .btn-arrow-back {
  width: 14px;
  margin-left: 6px;
}

.impression-item-card:hover .btn-arrow-back {
  width: 0;
  margin-left: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(20px);
  transition: width 0.26s cubic-bezier(0.55, 0.055, 0.675, 0.19),
              margin-left 0.26s cubic-bezier(0.55, 0.055, 0.675, 0.19),
              opacity 0.18s ease,
              transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.impression-item-card:hover .btn-arrow-front {
  width: 14px;
  margin-right: 6px;
  opacity: 1;
  overflow: visible;
  transform: translateX(0);
  transition: width 0.36s cubic-bezier(0.16, 1, 0.3, 1),
              margin-right 0.36s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.22s ease 0.05s,
              transform 0.48s cubic-bezier(0.16, 1, 0.3, 1) 0.04s;
}

/* Article Headings & Content Blocks */
.article-h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.8rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 42px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.lead-text {
  font-size: clamp(1.22rem, 1.15rem + 0.35vw, 1.35rem) !important;
  line-height: 1.72 !important;
  color: var(--color-text-dark);
}

/* ==========================================================================
   3 Core Pillars Section (Maatwerk, Bewoonde Staat, Heldere Planning)
   - 3 cards side by side in a balanced grid
   - Generous top and bottom margin as requested
   - Tactile card styling with subtle hover lift and warm linen background
   ========================================================================== */
.pillars-section {
  width: 100%;
  margin-top: clamp(60px, 7.5vw, 110px);
  margin-bottom: clamp(60px, 7.5vw, 110px);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 2.5vw, 36px);
  align-items: stretch;
}

.pillar-card {
  background: #fbf9f6;
  border: 1px solid rgba(0, 72, 43, 0.09);
  border-radius: var(--radius-card);
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 72, 43, 0.03);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease,
              background-color 0.28s ease;
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: rgba(204, 138, 0, 0.4);
  box-shadow: 0 16px 36px rgba(0, 72, 43, 0.09);
}

/* Left Image Strip (Directly connected to outer borders) */
.pillar-card-strip {
  width: 105px;
  flex: 0 0 105px;
  position: relative;
  overflow: hidden;
  background-color: var(--color-mud);
}

.pillar-card-strip-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-card:hover .pillar-card-strip-img {
  transform: scale(1.08);
}

/* Card Content Area */
.pillar-card-body {
  flex: 1 1 auto;
  min-width: 0;
  padding: clamp(26px, 2.5vw, 36px) clamp(20px, 2vw, 28px);
  display: flex;
  flex-direction: column;
}

.pillar-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.3vw, 1.48rem);
  font-weight: 700;
  color: var(--color-mos);
  line-height: 1.25;
  margin: 0 0 14px 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.pillar-card-text {
  font-size: 0.95rem;
  line-height: 1.68;
  color: var(--color-mud);
  margin: 0;
  text-wrap: pretty;
}

.pillar-card--has-footer {
  flex-direction: column;
}

.pillar-card-main {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
}

.pillar-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 15px 22px;
  background: var(--color-goud);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.2s ease;
  position: relative;
  cursor: pointer;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.pillar-card-footer:hover {
  background: var(--color-goud-hover);
  color: #ffffff;
}

.pillar-card-footer-label {
  display: inline-block;
}

.pillar-card-footer .btn-arrow-front {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0;
  opacity: 0;
  transform: translateX(-12px);
  margin-right: 0;
  transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.24s ease,
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              margin-right 0.28s ease;
  overflow: hidden;
}

.pillar-card-footer .btn-arrow-front svg,
.pillar-card-footer .btn-arrow-back svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.pillar-card-footer .btn-arrow-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1em;
  opacity: 1;
  transform: translateX(0);
  margin-left: 8px;
  transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.24s ease,
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              margin-left 0.28s ease;
  overflow: hidden;
}

.pillar-card-footer:hover .btn-arrow-front,
.pillar-card--has-footer:hover .pillar-card-footer .btn-arrow-front {
  width: 1.1em;
  opacity: 1;
  transform: translateX(0);
  margin-right: 8px;
}

.pillar-card-footer:hover .btn-arrow-back,
.pillar-card--has-footer:hover .pillar-card-footer .btn-arrow-back {
  width: 0;
  opacity: 0;
  transform: translateX(12px);
  margin-left: 0;
}

@media (max-width: 1180px) {
  .pillar-card-strip {
    width: 90px;
    flex: 0 0 90px;
  }
}

@media (max-width: 980px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pillar-card-strip {
    width: 140px;
    flex: 0 0 140px;
  }

  .pillars-section {
    margin-top: clamp(40px, 6vw, 60px);
    margin-bottom: clamp(40px, 6vw, 60px);
  }

}

@media (max-width: 580px) {
  .pillar-card,
  .pillar-card-main {
    flex-direction: column;
  }

  .pillar-card-strip {
    width: 100%;
    height: 160px;
    flex: 0 0 160px;
  }
}

.content-block {
  margin-top: 24px;
}

.article-cta-row {
  margin-top: 48px;
  margin-bottom: 20px;
}

/* ==========================================================================
   Veelgestelde Vragen (FAQ Section below Showcase)
   ========================================================================== */
.faq-section {
  padding: clamp(60px, 7vw, 95px) 0;
  background-color: var(--color-bg-warm);
}

.faq-inner {
  max-width: var(--content-text-max-width, 960px);
  margin-left: auto;
  margin-right: auto;
}

.faq-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.7rem + 1vw, 2.7rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 0;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
  text-align: center;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.faq-item {
  border: 1px solid rgba(22, 75, 47, 0.15);
  border-radius: var(--radius-card);
  background-color: #ffffff;
  transition: border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(22, 75, 47, 0.32);
}

.faq-item[open] {
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  stroke: var(--color-accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 22px 18px 22px;
  color: var(--color-text-dark);
}

.faq-answer p {
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Bouwen op elkaar & Client Review Duo Row (2/3 and 1/3 layout) */
.bouwen-op-elkaar-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(20px, 2.2vw, 32px);
  align-items: stretch;
  margin: 48px 0 36px 0;
}

.bouwen-op-elkaar-card {
  background-color: var(--color-mud);
  border: 1px solid transparent;
  border-radius: var(--radius-card);
  padding: clamp(28px, 3vw, 40px) clamp(24px, 3.2vw, 42px);
  margin: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bouwen-card-top {
  display: flex;
  flex-direction: column;
}

.bouwen-op-elkaar-card .article-h2 {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 14px;
}

.bouwen-op-elkaar-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  line-height: 1.7;
}

.feature-checklist {
  list-style: none;
  padding: 0;
  margin: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
}

.check-icon {
  width: 20px;
  height: 20px;
  fill: #f3b73e;
  flex-shrink: 0;
}

.maatwerk-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.12rem;
  font-weight: 600;
  color: #f3b73e;
  padding-top: 18px;
  margin-top: auto;
  margin-bottom: 0;
  height: 64px;
  box-sizing: border-box;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
}

/* Client Review Card (1/3 width) */
.client-review-card {
  background-color: var(--color-bg-warm);
  border: 1px solid rgba(62, 51, 46, 0.12);
  border-radius: var(--radius-card);
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.5vw, 34px);
  box-shadow: 0 10px 28px rgba(62, 51, 46, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.review-card-top {
  display: flex;
  flex-direction: column;
}

.review-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.review-concept-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background-color: rgba(22, 75, 47, 0.07);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.review-quote-icon {
  width: 26px;
  height: 26px;
  color: var(--color-accent);
  opacity: 0.85;
  flex-shrink: 0;
}

.review-quote-body {
  margin: 0;
  padding: 0;
  border: none;
}

.review-text {
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.68;
  color: var(--color-mud);
  margin: 0 0 16px 0;
}

.review-callout {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  font-style: italic;
  color: var(--color-accent);
  margin: 0;
}

.review-author-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  margin-top: auto;
  margin-bottom: 0;
  height: 64px;
  box-sizing: border-box;
  border-top: 1px solid rgba(62, 51, 46, 0.12);
}

.review-avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(22, 75, 47, 0.22);
}

.review-author-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-author-name {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--color-mud);
  line-height: 1.25;
}

.review-author-role {
  font-size: 0.82rem;
  color: var(--color-mud-60);
  line-height: 1.25;
}

@media (max-width: 992px) {
  .bouwen-op-elkaar-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .maatwerk-quote,
  .review-author-footer {
    height: auto;
    min-height: 56px;
    margin-top: 24px;
  }
}

/* ==========================================================================
   Impressies Section (Eginstill-style Dual-Row Scroll Parallax Showcase)
   ========================================================================== */
.impressions-section {
  background-color: var(--color-mud); /* Brand Mud #3e322d */
  padding: clamp(60px, 6vw, 100px) 0 clamp(70px, 7vw, 110px);
  position: relative;
  overflow: hidden;
}

.impressions-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(24px, 3vw, 48px);
  margin-bottom: clamp(36px, 4vw, 56px);
  flex-wrap: wrap;
}

.impressions-header-text {
  flex: 1 1 540px;
  max-width: 760px;
}

.impressions-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #f3b73e;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.impressions-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.6rem + 1.8vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.impressions-title .gold {
  color: #f3b73e;
}

.impressions-intro-desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin: 0;
}

.impressions-header-cta {
  flex-shrink: 0;
  margin-bottom: 6px;
}

.impressions-header-cta .btn-pill-gold {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 13px 26px;
  font-size: 0.95rem;
  background-color: var(--color-mosterd);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.impressions-header-cta .btn-pill-gold .cta-arrow {
  transition: transform 0.25s ease;
}

.impressions-header-cta .btn-pill-gold:hover .cta-arrow {
  transform: translateX(4px);
}

/* Full-bleed stage */
.impressions-gallery-stage {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.4vw, 20px);
  position: relative;
  overflow: hidden;
  padding: 6px 0;
}

.impressions-track-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.impressions-track {
  display: flex;
  gap: clamp(14px, 1.4vw, 20px);
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  padding: 4px 0;
}

/* Card Styling */
.impression-item-card {
  flex: 0 0 clamp(310px, 28vw, 440px);
  aspect-ratio: 4 / 3;
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  display: block;
  text-decoration: none;
  background-color: #2b221e;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.impression-item-card .card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.impression-item-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.impression-item-card .card-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(62, 51, 46, 0) 35%, rgba(62, 51, 46, 0.4) 65%, rgba(62, 51, 46, 0.9) 100%);
  transition: background 0.4s ease;
}

.impression-item-card .card-content {
  position: absolute;
  inset: 0;
  padding: clamp(16px, 1.8vw, 24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
  pointer-events: none;
}

.impression-item-card .card-category-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-mud);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.impression-item-card .card-bottom-info {
  margin-top: auto;
  transform: translateY(4px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.impression-item-card .card-project-title {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.3rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
  line-height: 1.25;
}

.impression-item-card .card-action-cue {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: #f3b73e;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s ease;
}

/* Card Hover Interactions */
.impression-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.impression-item-card:hover .card-media img {
  transform: scale(1.06);
}

.impression-item-card:hover .card-gradient-overlay {
  background: linear-gradient(180deg, rgba(62, 51, 46, 0.12) 0%, rgba(62, 51, 46, 0.5) 45%, rgba(62, 51, 46, 0.95) 100%);
}

.impression-item-card:hover .card-category-badge {
  background-color: var(--color-mosterd);
  color: #ffffff;
}

.impression-item-card:hover .card-action-cue {
  opacity: 1;
  transform: translateY(0);
  color: #ffffff;
}

@media (hover: none), (max-width: 768px) {
  .impression-item-card {
    flex: 0 0 clamp(260px, 68vw, 340px);
  }

  .impression-item-card .card-action-cue {
    opacity: 0.85;
    transform: translateY(0);
    color: #ffffff;
  }

  .impressions-header-cta {
    width: 100%;
  }

  .impressions-header-cta .btn-pill-gold {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Services Triad Section (3 Icons)
   ========================================================================== */
.services-triad-section {
  padding: clamp(70px, 7vw, 100px) 0 clamp(50px, 5vw, 70px) 0;
  background-color: var(--color-bg-base);
}

.services-triad-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.services-triad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 50px);
  text-align: center;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition);
}

.service-item:hover {
  transform: translateY(-8px);
}

.service-item img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  margin-bottom: 14px;
}

.service-item p {
  color: var(--color-primary);
  font-size: 1.05rem;
  font-weight: 500;
  transition: color var(--transition);
}

.service-item:hover p {
  color: var(--color-accent);
}

/* ==========================================================================
   Samenwerken CTA Section
   ========================================================================== */
.samenwerken-section {
  padding: clamp(60px, 6vw, 90px) 0;
  background-color: var(--color-bg-base);
}

.samenwerken-grid {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

.samenwerken-text p:first-child {
  font-size: 1.05rem;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}

.samenwerken-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 1.8rem + 1.4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
}

.samenwerken-title .green {
  color: var(--color-primary);
}

.samenwerken-title .gold {
  color: var(--color-accent);
}

.samenwerken-desc {
  font-size: 1.05rem;
  color: var(--color-text-dark);
  margin-bottom: 24px;
}

.samenwerken-image img {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
.site-footer {
  background-color: var(--color-bg-footer);
  padding: clamp(50px, 5vw, 70px) 0 40px 0;
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-left .site-logo img {
  width: 210px;
  height: auto;
}

.footer-address {
  line-height: 1.8;
  color: var(--color-text-dark);
}

.footer-address a {
  color: var(--color-text-dark);
}

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

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-align: right;
}

.footer-label {
  font-weight: 500;
  color: var(--color-text-dark);
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition);
}

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

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-badges img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

/* Bottom Bar */
.bottom-bar {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 12px 0;
  font-size: 0.8125rem;
  text-align: center;
}

.bottom-bar a {
  color: #ffffff;
  margin: 0 6px;
}

.bottom-bar a:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 991px) {
  .hero-bottom-container {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 16px;
  }

  .hero-badge-col {
    align-self: flex-end;
  }

  .hero-page-title {
    font-size: clamp(2rem, 1.8rem + 1.8vw, 3rem);
  }

  .hero-corner-badge {
    width: clamp(170px, 20vw, 210px);
  }

  .samenwerken-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 781px) {
  .green-top-social,
  .header-button-wrap,
  .nav-menu {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .site-logo img {
    width: 150px;
  }

  .badge-overlap-row {
    margin-top: -60px;
    margin-bottom: 10px;
    justify-content: center;
  }

  .badge-overlap-row .round-badge {
    width: 140px;
  }

  .impressions-grid {
    grid-template-columns: 1fr;
  }

  .services-triad-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-right {
    align-items: flex-start;
    text-align: left;
  }

  .footer-badges {
    justify-content: flex-start;
  }
}
