/* Features — Plan / Organise / Pay, featurekaarten, beeldtegels en integraties.
   Waarden uit de secties van het origineel (features). */

.feature-section { padding-block: 0; }
.feature-section__inner { margin-block: 1.5rem; }
@media (min-width: 64rem) { .feature-section__inner { margin-bottom: 2.5rem; } }
@media (min-width: 80rem) { .feature-section__inner { margin-bottom: 4rem; } }
@media (min-width: 96rem) { .feature-section__inner { margin-bottom: 5rem; } }

/* ---------- Groot label met logo-teken ("Plan ▢") ---------- */
.big-label { position: relative; display: flex; align-items: flex-start; column-gap: 0.25rem; font-size: 3rem; line-height: 110%; }
.big-label > span { flex: 1; }
@media (min-width: 64rem) { .big-label { font-size: 3.625rem; } }
@media (min-width: 96rem) { .big-label { font-size: 4.75rem; } }
.big-label__mark { width: 3rem; height: 3rem; }

/* ---------- Intro per blok ---------- */
.feature-intro { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 1rem; margin-block: 1rem; }
@media (min-width: 64rem) { .feature-intro { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 80rem) {
  .feature-intro { grid-template-columns: 2fr 3fr; }
  .feature-intro--reverse { grid-template-columns: 3fr 2fr; }
}
@media (min-width: 64rem) { .feature-intro--reverse .feature-intro__card { order: 9999; } }
.feature-intro__card { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
@media (min-width: 64rem) { .feature-intro__card { padding: 2.5rem; } }
@media (min-width: 96rem) { .feature-intro__card { padding: 4rem; } }
.feature-intro__subtitle { font-size: 1.875rem; line-height: 110%; }
@media (min-width: 80rem) { .feature-intro__subtitle { font-size: 2.25rem; } }
@media (min-width: 96rem) { .feature-intro__subtitle { font-size: 3rem; } }
.feature-intro__media { overflow: hidden; border-radius: var(--radius-2xl); }
@media not all and (min-width: 48rem) { .feature-intro__media { aspect-ratio: 16 / 9; } }
.feature-intro__img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Raster met kaarten ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 1rem; margin-block: 1rem; }
@media (min-width: 64rem) { .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.feature-card__inner { display: flex; align-items: flex-start; gap: 1rem; }
@media not all and (min-width: 80rem) { .feature-card__icon-wide { display: none; } }
@media (min-width: 80rem) { .feature-card__icon-narrow { display: none; } }
/* Icon in the title (below 80rem): a fixed size, so icons from the small set (arrow, plus), whose svg
   asks for only 8–24px, are as big as the others. "fit" in the template evens out their margin. */
@media not all and (min-width: 80rem) { .feature-card__icon-narrow { display: flex; flex-shrink: 0; margin-left: -0.375rem; } } /* the glyph has ~6px of empty space on its left: line it up with the text */
.feature-card__icon-small { width: 3rem; height: 3rem; }
.feature-card__icon { width: 3.5rem; height: 3.5rem; }
@media (min-width: 64rem) { .feature-card__icon { translate: 0 -0.25rem; } }
.feature-card__title { display: flex; align-items: center; column-gap: 0.5rem; }
/* Below 80rem the icon sits next to the title. The first line of every title is centred on the
   3rem icon, so all titles start at the same height and a title that wraps only grows downward
   (instead of up and down around the icon, into the card's padding). */
@media not all and (min-width: 80rem) {
  .feature-card__title { align-items: flex-start; margin-bottom: 1.25rem; font-size: 1.5rem; line-height: 1.1; }
  .feature-card__title-text { padding-top: calc((3rem - 1.1em) / 2); }
}

.feature-text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
@media (min-width: 64rem) { .feature-text { padding: 2.5rem; grid-column: span 2 / span 2; } }
@media (min-width: 96rem) { .feature-text { padding: 4rem; } }

.feature-cta { }
@media (min-width: 64rem) { .feature-cta { padding: 2.5rem; grid-column: span 2 / span 2; } }
@media (min-width: 96rem) { .feature-cta { padding: 4rem; } }
.feature-cta__title { display: flex; align-items: center; column-gap: 0.5rem; }
@media not all and (min-width: 80rem) { .feature-cta__title { font-size: 1.5rem; } }
@media (min-width: 96rem) { .feature-cta__title { font-size: 2.75rem; } }
.feature-cta__buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.feature-wide { }
@media (min-width: 80rem) { .feature-wide { padding-block: 4rem; } }
.feature-wide__inner { max-width: 1000px; margin-inline: auto; }

/* ---------- Beeldtegel met label ---------- */
@media not all and (min-width: 48rem) { .image-tile-wrap--rows-2, .image-tile-wrap--rows-3 { order: 9999; } }
@media (min-width: 64rem) {
  .image-tile-wrap--rows-2 { grid-row: span 2 / span 2; }
  .image-tile-wrap--rows-3 { grid-row: span 3 / span 3; }
}
.image-tile { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: var(--radius-2xl); }
.image-tile__img { width: 100%; height: 100%; object-fit: cover; }
.image-tile__overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(#0003 0% 100%); }
.image-tile__label { position: absolute; bottom: 1rem; left: 1.5rem; margin-bottom: 0; }
@media (min-width: 80rem) { .image-tile__label { left: 2.5rem; } }
@media (min-width: 96rem) { .image-tile__label { bottom: 1.5rem; } }
@media not all and (min-width: 80rem) { .image-tile__title { font-size: 3rem; } }
.text-orange { color: var(--color-orange); }
.text-pink { color: var(--color-pink); }
.text-yellow { color: var(--color-yellow); }

/* ---------- Integraties ---------- */
.integrations { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); align-items: center; gap: 1rem; }
.integrations__logos { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.5rem; row-gap: 0.75rem; }
@media (min-width: 64rem) {
  .integrations { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .integrations__text { grid-column: span 4 / span 4; }
  .integrations__logos { grid-column: span 8 / span 8; column-gap: 2.5rem; }
}
@media (min-width: 96rem) { .integrations__text { padding-inline-end: 6rem; } }
@media (min-width: 96rem) { .integrations__logos { column-gap: 4rem; } }
.integrations__logo { width: 100%; height: 100%; max-width: 150px; max-height: 150px; object-fit: contain; }
@media (min-width: 64rem) { .integrations__logo { max-width: 100%; max-height: 100%; } }
@media (min-width: 64rem) { .feature-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media not all and (min-width: 48rem) { .image-tile-wrap--rows-1 { order: 9999; } }
@media (min-width: 64rem) { .image-tile-wrap--rows-1 { grid-row: span 1 / span 1; } }
