
/* ==========================================================
   KABBEDIJK//DIGITAL 2.0
   Centrale stylesheet

   Pagina's:
   - Home
   - AI & Marketingstrategie
   - Kennis (gedeelde componenten)

   Design:
   - Zwart / koper / warm wit
   - Mobile-first basis
   - Semantische, herbruikbare componenten
   ========================================================== */


/* ==========================================================
   01. DESIGN TOKENS
   ========================================================== */

:root {
  color-scheme: light;

  /* Kleuren */
  --color-ink: #111111;
  --color-muted: #595959;
  --color-accent: #a16207;
  --color-accent-hover: #854f06;

  --color-background: #ffffff;
  --color-surface: #f8f8f6;
  --color-border: #e4e2dd;

  /* Donkere secties */
  --color-dark: #111111;
  --color-dark-card: #202020;
  --color-dark-border: #414141;
  --color-dark-text: #c7c7c7;
  --color-accent-light: #e1ac66;

  /* Typografie */
  --font-body:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  /* Layout */
  --container-width: 1320px;
  --radius: 10px;

  --space-section: clamp(48px, 5vw, 76px);
  --space-column: clamp(36px, 5vw, 80px);

  /* Interactie */
  --transition-fast: 160ms ease;
}


/* ==========================================================
   02. RESET & BASIS
   ========================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--color-background);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(
    calc(100% - 48px),
    var(--container-width)
  );
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;

  padding: 12px 18px;

  background: var(--color-ink);
  color: #ffffff;
}

.skip-link:focus {
  top: 12px;
}


/* ==========================================================
   03. TYPOGRAFIE
   ========================================================== */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
}

p {
  margin-bottom: 1.25rem;
}

.eyebrow {
  margin-bottom: 18px;

  color: var(--color-accent-hover);

  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.section-title {
  max-width: 900px;
  margin-bottom: 22px;

  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-weight: 750;
}

.section-lead {
  color: var(--color-muted);
  font-size: clamp(1.08rem, 1.45vw, 1.25rem);
  line-height: 1.6;
}

.text-link {
  color: var(--color-accent-hover);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;

  transition: color var(--transition-fast);
}

.text-link:hover {
  color: var(--color-ink);
}


/* ==========================================================
   04. BUTTONS
   ========================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 12px 22px;

  border: 2px solid transparent;
  border-radius: 6px;

  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;

  cursor: pointer;

  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.button--primary {
  background: var(--color-accent);
  color: #ffffff;
}

.button--primary:hover {
  background: var(--color-accent-hover);
}

.button--outline {
  border-color: var(--color-border);
  background: transparent;
  color: var(--color-ink);
}

.button--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-hover);
}


/* ==========================================================
   05. HEADER & NAVIGATIE
   ========================================================== */

.site-header {
  position: relative;
  z-index: 20;

  border-bottom: 1px solid var(--color-border);
  background: #ffffff;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 32px;
  min-height: 100px;
}

/*
   De aangeleverde logo's zijn vierkant
   met veel witruimte.

   Daarom tonen we de centrale strook
   binnen een compacte uitsnede.
*/

.site-logo {
  position: relative;
  display: block;
  flex: 0 0 auto;

  width: 260px;
  height: 76px;

  overflow: hidden;
}

.site-logo img {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 260px;
  max-width: none;
  height: 260px;

  object-fit: contain;
  transform: translate(-50%, -50%);
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 32px;
}

.primary-navigation__list {
  display: flex;
  align-items: center;
  gap: 30px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.primary-navigation__list a {
  display: block;
  padding-block: 10px;

  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.primary-navigation__list a:hover,
.primary-navigation__list a[aria-current="page"] {
  color: var(--color-accent-hover);
}

.primary-navigation__list a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 10px;
}

.menu-toggle {
  display: none;
}


/* ==========================================================
   06. HERO
   ========================================================== */

.hero {
  padding-block: clamp(32px, 3.5vw, 52px);
}

.hero__layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(0, 0.95fr);

  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}

.hero__content {
  max-width: 680px;
}

.hero h1 {
  margin-bottom: 12px;

  font-size: clamp(2.55rem, 4.1vw, 4.4rem);
  font-weight: 800;
  line-height: 1.07;
}

.hero__question {
  margin-bottom: 18px;

  font-size: clamp(1.2rem, 1.75vw, 1.5rem);
  font-weight: 700;
}

.hero__lead {
  max-width: 600px;
  margin-bottom: 26px;

  color: var(--color-muted);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.hero__media {
  overflow: hidden;

  border: 1px solid var(--color-border);
  border-radius: var(--radius);

  background: var(--color-surface);
  aspect-ratio: 16 / 10;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ==========================================================
   07. ALGEMENE SECTIES
   ========================================================== */

.section {
  padding-block: var(--space-section);
}

.section--soft {
  background: var(--color-surface);
}

.section--intro {
  padding-block: clamp(48px, 4.5vw, 70px);
}

.section-intro {
  max-width: 920px;
  margin-bottom: 36px;
}

.section-action {
  margin-top: 30px;
}


/* ==========================================================
   08. SPLIT LAYOUT
   ========================================================== */

/*
   Gedeelde tweekolomsindeling voor:
   - Second Audience
   - Brand Audit
   - Training & beleid
   - Implementatie
   - Simulatie
   - Kennis
   - Resultaat
*/

.split-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  align-items: start;
  gap: var(--space-column);
}

.split-layout__heading,
.split-layout__content {
  min-width: 0;
  max-width: 650px;
}

.split-layout__heading .section-title {
  margin-bottom: 0;
}

.split-layout__content p:last-child {
  margin-bottom: 0;
}


/* ==========================================================
   09. SECTION VISUALS — DISCOVER & GROW
   ========================================================== */

/*
   Afbeeldingen onder de linkerkop.

   Gebruikt bij:
   - AI-Discovery.webp
   - AI-Grow.webp

   De beeldverhouding is 4:3.
*/

.section-visual {
  width: 100%;
  max-width: 480px;

  margin-top: 32px;

  overflow: hidden;

  border: 1px solid var(--color-border);
  border-radius: var(--radius);

  background: var(--color-surface);
  aspect-ratio: 4 / 3;
}

.section-visual img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* ==========================================================
   10. DONKER GROEIMODEL
   ========================================================== */

.growth-section {
  background: var(--color-dark);
  color: #ffffff;
}

.growth-section .eyebrow {
  color: var(--color-accent-light);
}

.growth-section .section-title {
  color: #ffffff;
}

.growth-section .section-lead {
  max-width: 850px;
  color: #d0d0d0;
}

.growth-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.growth-card {
  min-width: 0;

  padding: clamp(24px, 2.5vw, 36px);

  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius);

  background: var(--color-dark-card);
}

.growth-card__number {
  display: block;
  margin-bottom: 28px;

  color: var(--color-accent-light);

  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.growth-card h3 {
  margin-bottom: 14px;

  color: #ffffff;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
}

.growth-card__subtitle {
  margin-bottom: 12px;

  color: #ffffff;
  font-weight: 700;
}

.growth-card p:last-child {
  margin-bottom: 0;
  color: var(--color-dark-text);
}

.growth-section .text-link {
  color: var(--color-accent-light);
}

.growth-section .text-link:hover {
  color: #f2c48c;
}

.growth-section :focus-visible {
  outline-color: var(--color-accent-light);
}


/* ==========================================================
   11. STRATEGIE & BEGELEIDING
   ========================================================== */

/*
   Bestaande homepagecomponent.
   Blijft behouden voor compatibiliteit.
*/

.strategy-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  align-items: center;
  gap: var(--space-column);
}

.strategy-content {
  max-width: 650px;
}

.strategy-content .button {
  margin-top: 8px;
}

.strategy-media {
  overflow: hidden;

  border: 1px solid var(--color-border);
  border-radius: var(--radius);

  background: var(--color-surface);
  aspect-ratio: 16 / 10;
}

.strategy-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ==========================================================
   12. KENNIS & INZICHTEN
   ========================================================== */

.knowledge-section .split-layout__content {
  max-width: 650px;
}

.knowledge-section .button {
  margin-top: 8px;
}


/* ==========================================================
   13. CONTACT
   ========================================================== */

.contact-section {
  padding-block: var(--space-section);

  border-top: 1px solid var(--color-border);
  background: #ffffff;
}

.contact-section__layout {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  align-items: start;
  gap: clamp(40px, 6vw, 100px);
}

.contact-section__intro {
  max-width: 550px;
}

.contact-form {
  display: grid;
  gap: 20px;

  padding: clamp(24px, 3vw, 40px);

  border: 1px solid var(--color-border);
  border-radius: var(--radius);

  background: var(--color-surface);
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  display: block;
  width: 100%;

  padding: 12px 14px;

  border: 1px solid #858585;
  border-radius: 5px;

  background: #ffffff;
  color: var(--color-ink);
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-accent);
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline-offset: 2px;
}

.form-note,
.form-required {
  margin: 0;

  color: var(--color-muted);
  font-size: 0.85rem;
}

.form-note a {
  text-underline-offset: 3px;
}

.contact-form .button {
  justify-self: start;
}


/* ==========================================================
   14. ZWARTE FOOTER
   ========================================================== */

.site-footer {
  padding-top: clamp(48px, 5vw, 72px);

  background: var(--color-dark);
  color: #ffffff;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;

  align-items: start;
  gap: clamp(32px, 5vw, 80px);

  padding-bottom: 56px;
}

.site-footer__brand {
  max-width: 350px;
}

/*
   Uitsnede van het vierkante
   witte bedrijfslogo.
*/

.site-footer__logo {
  position: relative;
  display: block;

  width: 260px;
  max-width: 100%;
  height: 94px;

  margin-bottom: 16px;
  overflow: hidden;
}

.site-footer__logo img {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 260px;
  max-width: none;
  height: 260px;

  object-fit: contain;
  transform: translate(-50%, -50%);
}

.site-footer__brand p {
  max-width: 300px;
  margin-bottom: 0;

  color: var(--color-dark-text);
  font-size: 0.95rem;
}

.site-footer h2 {
  margin-bottom: 18px;

  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 10px;
}

.site-footer a:not(.site-footer__logo) {
  color: #e5e5e5;
  text-underline-offset: 5px;

  transition: color var(--transition-fast);
}

.site-footer a:not(.site-footer__logo):hover {
  color: var(--color-accent-light);
}

.site-footer .text-link {
  color: var(--color-accent-light);
  font-weight: 700;
}

.site-footer .text-link:hover {
  color: #f2c48c;
}

.site-footer__contact p {
  max-width: 260px;
  color: var(--color-dark-text);
}

.site-footer :focus-visible {
  outline-color: var(--color-accent-light);
}

.site-footer__bottom {
  padding-block: 20px;
  border-top: 1px solid #383838;
}

.site-footer__bottom p {
  margin: 0;

  color: #bdbdbd;
  font-size: 0.85rem;
}


/* ==========================================================
   15. TABLET — MAX 1100PX
   ========================================================== */

@media (max-width: 1100px) {

  .growth-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


/* ==========================================================
   16. TABLET / MOBIELE NAVIGATIE — MAX 900PX
   ========================================================== */

@media (max-width: 900px) {

  /* Header */

  .site-header__inner {
    min-height: 78px;
  }

  .site-logo {
    width: 210px;
    height: 64px;
  }

  .site-logo img {
    width: 210px;
    height: 210px;
  }

  /* Menu */

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    min-height: 44px;
    padding: 8px 12px;

    border: 1px solid var(--color-border);
    border-radius: 5px;

    background: #ffffff;
    color: var(--color-ink);

    font-weight: 700;
    cursor: pointer;
  }

  .menu-toggle__icon {
    display: block;

    width: 20px;
    height: 12px;

    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
  }

  .primary-navigation {
    display: none;

    position: absolute;
    top: 100%;
    right: 0;
    left: 0;

    padding: 20px 24px 28px;

    border-bottom: 1px solid var(--color-border);
    background: #ffffff;

    box-shadow: 0 12px 20px rgb(0 0 0 / 0.05);
  }

  .primary-navigation.is-open {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

  .primary-navigation__list {
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }

  .primary-navigation__list a {
    padding-block: 10px;
    white-space: normal;
  }

  .header-cta {
    align-self: flex-start;
  }

  /* Layout */

  .hero__layout,
  .strategy-layout,
  .split-layout,
  .contact-section__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__content,
  .strategy-content,
  .split-layout__heading,
  .split-layout__content {
    max-width: 760px;
  }

  .hero__media,
  .strategy-media {
    max-width: 760px;
  }

  /* Discover & Grow */

  .section-visual {
    max-width: 560px;
    margin-top: 24px;
  }

  /* Footer */

  .site-footer__grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 40px;
  }

}


/* ==========================================================
   17. MOBIEL — MAX 600PX
   ========================================================== */

@media (max-width: 600px) {

  .container {
    width: min(
      calc(100% - 36px),
      var(--container-width)
    );
  }

  /* Hero */

  .hero {
    padding-block: 32px 44px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 9vw, 3.35rem);
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero__media,
  .strategy-media {
    aspect-ratio: 16 / 10;
  }

  /* Typografie */

  .section-title {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  /* Discover & Grow */

  .section-visual {
    width: 100%;
    max-width: none;
    margin-top: 22px;
  }

  /* Groeimodel */

  .growth-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .growth-card__number {
    margin-bottom: 20px;
  }

  /* Contact */

  .contact-form {
    padding: 22px;
  }

  /* Footer */

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding-bottom: 44px;
  }

  .site-footer__logo {
    width: 240px;
  }

  .site-footer__logo img {
    width: 240px;
    height: 240px;
  }

}


/* ==========================================================
   18. REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

}


/* ==========================================================
   19. INZICHTEN — ARTIKELENOVERZICHT
   ========================================================== */

/*
   Pagina: /inzichten/

   Structuur:
   - Compacte pagina-introductie
   - Redactionele selectie met vier artikelen
   - Afzonderlijk uitbreidbaar artikelarchief

   De styling is beperkt tot de inzichtencomponenten.
   Gedeelde websitecomponenten blijven ongewijzigd.
*/


/* ----------------------------------------------------------
   19.1 PAGINA-INTRODUCTIE
   ---------------------------------------------------------- */

.insights-intro {
  padding-block:
    clamp(48px, 5vw, 76px)
    clamp(36px, 4vw, 60px);

  background: var(--color-background);
}

.insights-intro .container {
  max-width: var(--container-width);
}

.insights-intro .eyebrow {
  margin-bottom: 16px;
}

.insights-intro h1 {
  max-width: 1050px;
  margin-bottom: 20px;

  color: var(--color-ink);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.insights-intro__lead {
  max-width: 820px;
  margin-bottom: 0;

  color: var(--color-muted);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.7;
}


/* ----------------------------------------------------------
   19.2 ARTIKELENSECTIE
   ---------------------------------------------------------- */

.insights-section {
  padding-block:
    clamp(48px, 5vw, 76px)
    clamp(64px, 6vw, 96px);

  background: var(--color-surface);
}

.insights-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;

  margin-bottom: 32px;
}

.insights-section__header h2 {
  margin-bottom: 0;

  color: var(--color-ink);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 750;
}

.insights-section__header p {
  margin-bottom: 0;

  color: var(--color-muted);
  font-size: 0.95rem;
}


/* ----------------------------------------------------------
   19.3 REDACTIONELE SELECTIE
   ---------------------------------------------------------- */

/*
   Desktop:
   - Uitgelicht artikel links
   - Drie compacte artikelen rechts

   De redactionele selectie is bewust
   gescheiden van het artikelarchief.

   Daardoor beïnvloeden nieuwe artikelen
   de positie van de eerste vier niet.
*/

.insights-featured {
  display: grid;

  grid-template-columns:
    minmax(0, 1.25fr)
    minmax(0, 1fr);

  grid-template-rows: repeat(3, auto);

  align-items: stretch;
  gap: 20px;
}


/* ----------------------------------------------------------
   19.4 BASIS ARTIKELKAART
   ---------------------------------------------------------- */

/*
   Eén herbruikbare kaartcomponent voor:
   - Uitgelicht artikel
   - Compacte redactionele artikelen
   - Toekomstige archiefartikelen
*/

.insight-card {
  display: flex;
  flex-direction: row;

  min-width: 0;

  overflow: hidden;

  border: 1px solid var(--color-border);
  border-radius: var(--radius);

  background: var(--color-background);

  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.insight-card:hover {
  border-color: #c9bca8;
  box-shadow: 0 8px 28px rgb(17 17 17 / 0.06);
}


/* ----------------------------------------------------------
   19.5 ARTIKELAFBEELDING
   ---------------------------------------------------------- */

.insight-card__image-link {
  display: block;
  flex: 0 0 38%;

  min-width: 0;
  overflow: hidden;

  background: #ebe7df;
}

.insight-card__image {
  display: block;

  width: 100%;
  height: 100%;
  min-height: 100%;

  object-fit: cover;

  transition: transform 240ms ease;
}

.insight-card__image-link:hover .insight-card__image {
  transform: scale(1.035);
}


/* ----------------------------------------------------------
   19.6 ARTIKELINHOUD
   ---------------------------------------------------------- */

.insight-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;

  min-width: 0;

  padding: clamp(18px, 2vw, 28px);
}

.insight-card__category {
  margin-bottom: 12px;

  color: var(--color-accent-hover);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
}

.insight-card h3 {
  margin-bottom: 14px;

  color: var(--color-ink);
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.insight-card h3 a {
  color: inherit;
  text-decoration: none;
}

.insight-card h3 a:hover {
  color: var(--color-accent-hover);
}

.insight-card__excerpt {
  margin-bottom: 20px;

  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.insight-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-top: auto;

  color: var(--color-accent-hover);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.insight-card__read-more:hover {
  color: var(--color-ink);
}

.insight-card__read-more span {
  font-size: 1.1em;
  text-decoration: none;
}


/* ----------------------------------------------------------
   19.7 UITGELICHT ARTIKEL
   ---------------------------------------------------------- */

/*
   De eerste kaart beslaat links
   de volledige hoogte van de drie
   compacte artikelen rechts.

   De afbeelding staat boven de tekst.
*/

.insight-card--featured {
  grid-column: 1;
  grid-row: 1 / span 3;

  flex-direction: column;
}

.insight-card--featured .insight-card__image-link {
  flex: none;
  width: 100%;

  aspect-ratio: 16 / 10;
}

.insight-card--featured .insight-card__image {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.insight-card--featured .insight-card__body {
  padding: clamp(24px, 3vw, 40px);
}

.insight-card--featured h3 {
  max-width: 540px;

  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  line-height: 1.16;
}

.insight-card--featured .insight-card__excerpt {
  max-width: 580px;

  font-size: 1rem;
  line-height: 1.7;
}


/* ----------------------------------------------------------
   19.8 ARTIKELARCHIEF
   ---------------------------------------------------------- */

/*
   Nieuwe artikelen worden onder
   de redactionele selectie geplaatst.

   Het archief wordt pas zichtbaar
   wanneer het hidden-attribuut
   uit de HTML wordt verwijderd.

   Desktop: 3 kolommen
   Tablet:  2 kolommen
   Mobiel:  1 kolom
*/

.insights-archive {
  margin-top: clamp(56px, 6vw, 88px);
  padding-top: clamp(40px, 4vw, 56px);

  border-top: 1px solid var(--color-border);
}

.insights-archive__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;

  gap: 12px 32px;
  margin-bottom: 30px;
}

.insights-archive__header h2 {
  margin-bottom: 0;

  color: var(--color-ink);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 750;
}

.insights-archive__header p {
  max-width: 560px;
  margin-bottom: 0;

  color: var(--color-muted);
  font-size: 0.95rem;
}


/* ----------------------------------------------------------
   19.9 ARCHIEFGRID
   ---------------------------------------------------------- */

.insights-archive__grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  align-items: stretch;
  gap: 24px;
}


/* ----------------------------------------------------------
   19.10 ARCHIEFKAARTEN
   ---------------------------------------------------------- */

/*
   Archiefkaarten gebruiken dezelfde
   basiscomponent .insight-card.

   Alleen de opbouw verschilt:
   afbeelding bovenaan, tekst eronder.
*/

.insights-archive__grid .insight-card {
  flex-direction: column;
  height: 100%;
}

.insights-archive__grid .insight-card__image-link {
  flex: none;
  width: 100%;

  aspect-ratio: 16 / 10;
}

.insights-archive__grid .insight-card__image {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.insights-archive__grid .insight-card__body {
  padding: clamp(20px, 2vw, 28px);
}

.insights-archive__grid .insight-card h3 {
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
  line-height: 1.25;
}

.insights-archive__grid .insight-card__excerpt {
  font-size: 0.92rem;
  line-height: 1.65;
}


/* ==========================================================
   20. INZICHTEN — RESPONSIVE
   ========================================================== */


/* ----------------------------------------------------------
   20.1 TABLET — MAX 1100PX
   ---------------------------------------------------------- */

@media (max-width: 1100px) {

  /*
     De redactionele selectie verandert
     naar twee gelijkwaardige kolommen.

     De grote kaart wordt een gewone
     verticale kaart.

     Het archief blijft afzonderlijk.
  */

  .insights-featured {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    grid-template-rows: auto;
    gap: 20px;
  }

  .insights-featured .insight-card,
  .insights-featured .insight-card--featured {
    grid-column: auto;
    grid-row: auto;

    flex-direction: column;
  }

  .insights-featured .insight-card__image-link,
  .insights-featured .insight-card--featured .insight-card__image-link {
    flex: none;
    width: 100%;

    aspect-ratio: 16 / 10;
  }

  .insights-featured .insight-card__image,
  .insights-featured .insight-card--featured .insight-card__image {
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .insights-featured .insight-card__body,
  .insights-featured .insight-card--featured .insight-card__body {
    padding: 26px;
  }

  .insights-featured .insight-card h3,
  .insights-featured .insight-card--featured h3 {
    font-size: clamp(1.3rem, 2vw, 1.7rem);
  }

  .insights-archive__grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 20px;
  }

}


/* ----------------------------------------------------------
   20.2 MOBIEL — MAX 700PX
   ---------------------------------------------------------- */

@media (max-width: 700px) {

  .insights-intro {
    padding-block: 42px 40px;
  }

  .insights-intro h1 {
    max-width: 640px;

    font-size: clamp(2.1rem, 7.5vw, 3rem);
  }

  .insights-intro__lead {
    font-size: 1rem;
  }

  .insights-section {
    padding-block: 42px 64px;
  }

  .insights-section__header {
    display: block;
    margin-bottom: 26px;
  }

  .insights-section__header h2 {
    margin-bottom: 8px;
  }

  /*
     Zowel de selectie als het archief
     krijgen één kolom.

     Alle kaarten blijven volledig
     leesbaar en behouden hun afbeelding.
  */

  .insights-featured,
  .insights-archive__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .insights-featured .insight-card,
  .insights-featured .insight-card--featured {
    flex-direction: column;
  }

  .insights-featured .insight-card__image-link,
  .insights-featured .insight-card--featured .insight-card__image-link {
    aspect-ratio: 16 / 10;
  }

  .insights-featured .insight-card__body,
  .insights-featured .insight-card--featured .insight-card__body,
  .insights-archive__grid .insight-card__body {
    padding: 24px;
  }

  .insights-featured .insight-card h3,
  .insights-featured .insight-card--featured h3,
  .insights-archive__grid .insight-card h3 {
    font-size: clamp(1.35rem, 5vw, 1.7rem);
  }

  .insight-card__excerpt,
  .insight-card--featured .insight-card__excerpt {
    font-size: 0.95rem;
  }

  .insights-archive {
    margin-top: 48px;
    padding-top: 36px;
  }

  .insights-archive__header {
    display: block;
    margin-bottom: 26px;
  }

  .insights-archive__header h2 {
    margin-bottom: 8px;
  }

}


/* ----------------------------------------------------------
   20.3 KLEINE MOBIELE SCHERMEN
   ---------------------------------------------------------- */

@media (max-width: 380px) {

  .insights-intro h1 {
    font-size: 2rem;
  }

  .insights-featured .insight-card__body,
  .insights-featured .insight-card--featured .insight-card__body,
  .insights-archive__grid .insight-card__body {
    padding: 20px;
  }

}


/* ==========================================================
   21. INZICHTEN — TOEGANKELIJKHEID
   ========================================================== */

/*
   Zichtbare toetsenbordfocus
   op afbeelding, titel en leeslink.
*/

.insight-card a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: -3px;
}

.insight-card__image-link:focus-visible {
  outline-offset: -5px;
}


/* ----------------------------------------------------------
   21.1 REDUCED MOTION
   ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  .insight-card,
  .insight-card__image {
    transition: none;
  }

  .insight-card__image-link:hover .insight-card__image {
    transform: none;
  }

}


/* ==========================================================
   22. ARTIKELPAGINA'S — REDACTIONEEL DESIGN
   Kabbedijk//Digital

   - Compacte tweekolomshero
   - Warme achtergrond
   - Rustige leeskolom
   - Mobile-first responsive
   ========================================================== */


/* ----------------------------------------------------------
   22.1 BASIS
   ---------------------------------------------------------- */

.editorial-article {
  --article-reading-width: 720px;

  color: var(--color-ink);
  background: #ffffff;
}


/* ----------------------------------------------------------
   22.2 HERO & ACHTERGROND
   ---------------------------------------------------------- */

.editorial-article__header {
  padding-block:
    clamp(28px, 3.5vw, 48px)
    clamp(44px, 5vw, 72px);

  background: var(--color-surface);
}


/* ----------------------------------------------------------
   22.3 BROODKRUIMELNAVIGATIE
   ---------------------------------------------------------- */

.editorial-breadcrumbs {
  margin-bottom: clamp(32px, 4vw, 52px);
}

.editorial-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.editorial-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: var(--color-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.editorial-breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: #99938a;
}

.editorial-breadcrumbs a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}

.editorial-breadcrumbs a:hover {
  color: var(--color-ink);
  text-decoration: underline;
}


/* ----------------------------------------------------------
   22.4 TWEEKOLOMSINDELING
   ---------------------------------------------------------- */

.editorial-article__hero-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 0.95fr);

  align-items: center;
  gap: clamp(36px, 5vw, 76px);
}


/* ----------------------------------------------------------
   22.5 TITEL & INTRODUCTIE
   ---------------------------------------------------------- */

.editorial-article__heading {
  min-width: 0;
  max-width: 650px;
  margin: 0;
  text-align: left;
}

.editorial-article__heading .eyebrow {
  margin-bottom: 16px;
}

.editorial-article__heading h1 {
  max-width: 650px;
  margin: 0;

  font-size: clamp(2.4rem, 3.5vw, 3.65rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.editorial-article__lead {
  max-width: 540px;
  margin: 24px 0 0;

  color: var(--color-muted);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.editorial-article__byline {
  margin: 24px 0 0;

  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}


/* ----------------------------------------------------------
   22.6 HEADERAFBEELDING
   ---------------------------------------------------------- */

.editorial-article__hero {
  min-width: 0;
  width: 100%;
  max-width: none;
  margin: 0;

  overflow: hidden;

  border: 1px solid var(--color-border);
  border-radius: var(--radius);

  background: #e9e4dc;
}

.editorial-article__hero img {
  display: block;

  width: 100%;
  height: auto;

  aspect-ratio: 4 / 3;
  object-fit: cover;
}


/* ----------------------------------------------------------
   22.7 ARTIKELTEKST
   ---------------------------------------------------------- */

.editorial-article__content {
  width: min(
    calc(100% - 48px),
    var(--article-reading-width)
  );

  max-width: none;
  margin-inline: auto;

  padding-block:
    clamp(52px, 6vw, 84px)
    clamp(48px, 5vw, 72px);

  font-size: 1.0625rem;
  line-height: 1.72;
  overflow-wrap: break-word;
}

.editorial-article__content > :first-child {
  margin-top: 0;
}

.editorial-article__content p {
  margin: 0 0 1.3em;
}

.editorial-article__content strong {
  font-weight: 700;
}

.editorial-article__content em,
.editorial-article__content cite {
  font-style: italic;
}

.editorial-article__content a {
  color: var(--color-accent-hover);
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* ----------------------------------------------------------
   22.8 TUSSENKOPPEN
   ---------------------------------------------------------- */

.editorial-article__content h2,
.editorial-article__content h3 {
  color: var(--color-ink);
  font-weight: 750;
  text-wrap: balance;
}

.editorial-article__content h2 {
  margin: 2.2em 0 0.75em;

  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.editorial-article__content h3 {
  margin: 1.9em 0 0.7em;

  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}


/* ----------------------------------------------------------
   22.9 OVERIGE REDACTIONELE ELEMENTEN
   ---------------------------------------------------------- */

.editorial-article__content ul,
.editorial-article__content ol {
  margin: 0 0 1.3em;
  padding-left: 1.5em;
}

.editorial-article__content li {
  margin-bottom: 0.5em;
}

.editorial-article__content blockquote {
  margin: 2em 0;
  padding: 6px 0 6px 22px;

  border-left: 3px solid var(--color-accent);

  color: #333333;
  font-size: 1.08em;
  line-height: 1.6;
}

.editorial-article__content blockquote p:last-child {
  margin-bottom: 0;
}

.editorial-article__content img {
  max-width: 100%;
  height: auto;
}

.editorial-article__content figure {
  margin: 2em 0;
}

.editorial-article__content figcaption {
  margin-top: 10px;

  color: var(--color-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}


/* ----------------------------------------------------------
   22.10 ARTIKELFOOTER
   ---------------------------------------------------------- */

.editorial-article__footer {
  width: min(
    calc(100% - 48px),
    var(--article-reading-width)
  );

  max-width: none;
  margin-inline: auto;

  padding-block: 24px clamp(56px, 6vw, 80px);

  border-top: 1px solid var(--color-border);
}

.editorial-article__footer .text-link {
  display: inline-flex;
  align-items: center;

  min-height: 44px;

  font-size: 0.9375rem;
  font-weight: 700;
}


/* ----------------------------------------------------------
   22.11 TABLET
   ---------------------------------------------------------- */

@media (max-width: 1024px) {

  .editorial-article__hero-layout {
    gap: 32px;
  }

  .editorial-article__heading h1 {
    font-size: clamp(2.1rem, 4vw, 3rem);
  }

}


/* ----------------------------------------------------------
   22.12 MOBIEL
   ---------------------------------------------------------- */

@media (max-width: 767px) {

  .editorial-article__header {
    padding-block: 24px 44px;
  }

  .editorial-breadcrumbs {
    margin-bottom: 32px;
  }

  .editorial-article__hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .editorial-article__heading h1 {
    max-width: 620px;

    font-size: clamp(2.15rem, 8vw, 3rem);
    line-height: 1.12;
  }

  .editorial-article__lead {
    margin-top: 20px;
    font-size: 1.0625rem;
  }

  .editorial-article__byline {
    margin-top: 18px;
  }

  .editorial-article__hero img {
    aspect-ratio: 16 / 10;
  }

  .editorial-article__content {
    width: min(
      calc(100% - 36px),
      var(--article-reading-width)
    );

    padding-block: 44px 52px;

    font-size: 1.0625rem;
    line-height: 1.72;
  }

  .editorial-article__footer {
    width: min(
      calc(100% - 36px),
      var(--article-reading-width)
    );

    padding-bottom: 56px;
  }

}


/* ----------------------------------------------------------
   22.13 TOEGANKELIJKHEID
   ---------------------------------------------------------- */

.editorial-article a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

  .editorial-article *,
  .editorial-article *::before,
  .editorial-article *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
  }

}
