:root {
  --bg: #2e7f3a;
  --surface: #ffffff;
  --surface-alt: #2f653a;
  --ink: #2b2620;
  --ink-white: #ffffff;
  --muted: #726b5c;
  --accent: #e42313;
  --accent-soft: #fadad6;
  --accent-2: #51603c;
  --accent-3: #027102;
  --accent-2-soft: #e1e6d4;
  --border: rgba(43, 38, 32, 0.1);
  --radius-lg: 22px;
  --radius-sm: 12px;
  --shadow-soft: 0 24px 48px rgba(43, 38, 32, 0.08);
  --shadow-card: 0 12px 28px rgba(43, 38, 32, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Work Sans", sans-serif;
  background: var(--bg);
  color: #ffffff;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
ul,
dl,
h1,
h2,
h3 {
  margin: 0;
}

.site-shell {
  min-height: 100vh;
}

.site-header,
.section,
.site-footer {
  padding-inline: clamp(1.5rem, 4vw, 3.5rem);
}

.site-header {
  padding: 0;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(228, 35, 19, 0) 100%);
}

.banner-top {
  text-align: center;
  padding: 0.9rem 1rem 0.6rem;
}

.banner-title {
  font-family: "Work Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 4.5vw, 2.75rem);
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55);
}

.banner-tagline {
  font-family: "Homemade Apple", cursive;
  font-weight: 400;
  font-size: clamp(1.15rem, 3vw, 1.85rem);
  color: #fff;
  margin-top: 0.2rem;
  transform: skewX(-5deg);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.banner-strip {
  padding: 0.55rem 1rem;
  text-align: center;
}

.banner-strip p {
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: clamp(0.85rem, 2.2vw, 1.15rem);
}

.intro-media {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem clamp(1.5rem, 4vw, 3.5rem) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  background: transparent;
}

.intro-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: var(--radius-lg);
  margin-bottom: 0.5rem;
}

.lang-flags {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem clamp(1.5rem, 4vw, 3.5rem) 3rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.lang-flag-item {
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.lang-flag-item.is-active img {
  outline: 3px solid var(--color-red);
  outline-offset: 4px;
}

.lang-flag-item img {
  width: 100%;
  max-width: 4rem;
  height: auto;
  border-radius: 4px;
  box-shadow: var(--shadow-card);
}

.lang-flag-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
}

.text_white {
  color: #ffffff;
}

.section {
  padding-block: clamp(4.25rem, 7vw, 5.25rem);
}

.section-alt {
  background: var(--surface-alt);
  color: var(--ink);
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section-narrow {
  max-width: 760px;
}

.section-why {
  max-width: 820px;
}

.hero,
.split {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
  flex-wrap: wrap;
}

.hero {
  justify-content: center;
}

.split-reverse {
  flex-wrap: wrap-reverse;
}

.hero-copy,
.split-copy {
  flex: 1 1 26rem;
}

.hero-copy {
  flex-basis: 100%;
  max-width: 900px;
  text-align: center;
}

.hero-media,
.split-media,
.split-media-stack,
.machine-panel,
.machine-panel-stack {
  flex: 1 1 23.75rem;
}

.machine-panel-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section:not(.section-alt) .eyebrow {
  color: #ffffff;
}

.eyebrow-green {
  color: var(--accent-2);
}

h1 {
  max-width: none;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h2,
.cta-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}

.lead,
.split-copy p:not(.eyebrow),
.center-copy,
.cta-copy {
  font-size: 1rem;
  line-height: 1.62;
  color: var(--muted);
}

.section:not(.section-alt) .lead,
.section:not(.section-alt) .split-copy p:not(.eyebrow),
.section:not(.section-alt) .center-copy {
  color: #ffffff;
}

.lead {
  max-width: 52rem;
  margin-top: 1.5rem;
  margin-inline: auto;
}

.hero .button-row {
  justify-content: center;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.875rem 1.625rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background-color 150ms ease, border-color 150ms ease, opacity 150ms ease;
}

.button:hover {
  opacity: 0.9;
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.65);
  color: #ffffff;
  background: transparent;
}

.button-green {
  background: var(--accent-3);
  color: #fff;
}

.button-inverse {
  background: #fff;
  color: var(--ink);
}

.media-card img,
.split-media img {
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* Bloktype "Afbeelding | tekst": toon de volledige afbeelding op groen. */
.split-image-text .split-media {
  overflow: hidden;
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.split-image-text .split-media img {
  object-fit: contain;
  background: var(--surface-alt);
  box-shadow: none;
}

.split-media-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-self: flex-start;
}

.split-media-stack .split-media {
  flex: 0 0 auto;
  padding: 20px;
  overflow: hidden;
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.split-media-stack .split-media img,
.split-image-text .split-media-stack .split-media img {
  width: 100%;
  height: 370px;
  object-fit: contain;
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.machine-panel {
  display: flex;
  justify-content: center;
  padding: 2rem;
  margin-bottom: 1.5rem;
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
}

.machine-panel img {
  width: min(100%, 340px);
  height: 320px;
  object-fit: contain;
}

.bullet-list,
.spec-list,
.why-list {
  list-style: none;
  padding: 0;
}

.bullet-list {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.8rem;
}

.bullet-list li,
.spec-list li,
.why-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
  font-size: 0.975rem;
  line-height: 1.58;
}

.section:not(.section-alt) .bullet-list li {
  color: #ffffff;
}

.bullet-list li::before,
.spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

.bullet-list-green li::before {
  background: var(--accent-2);
}

.bullet-list-tight {
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.section-title-centered {
  text-align: center;
  color: var(--ink-white);
}

.machine-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.machine-row-item {
  text-align: center;
  background: transparent;
}

.machine-row-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

.machine-row-item h3 {
  margin-top: 1rem;
  font-size: 1.1rem;
}

.spec-grid,
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 2.25rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.spec-card,
.product-card {
  flex: 1 1 20rem;
  padding: 1.75rem;
}

.spec-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  margin: -0.25rem 0 1.25rem;
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f8f5ee);
}

.spec-image-wrap img {
  width: auto;
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pill-red {
  background: var(--accent-soft);
  color: var(--accent);
}

.tag {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
}

.spec-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.sub-card {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--border);
}

.spec-grid-3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spec-card .block-rich ul {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  margin-top: 1.4rem;
  padding-left: 1.1rem;
}

.spec-card .block-rich ul li {
  position: relative;
}

.spec-card .block-rich ul li::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 0.58rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

.sub-card-title,
.machine-group-title {
  font-size: 1rem;
  font-weight: 600;
}

.machine-group + .machine-group {
  margin-top: 1.35rem;
}

.center-copy {
  max-width: 42rem;
  margin: 1rem auto 0;
  text-align: center;
  color: var(--ink-white);
}

.color-frame {
  margin-top: 2.25rem;
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2vw, 1.5rem);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.color-tile {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f8f5ee);
}

.color-tile img {
  max-width: 100%;
  max-height: 120px;
  width: auto;
  object-fit: contain;
}

.color-tile figcaption {
  margin-top: 0.85rem;
  font-size: 0.875rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

.color-tile figcaption.color-tile-sub {
  margin-top: 0.15rem;
  font-weight: 400;
  color: var(--muted);
}

.product-image-band {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  margin: -1.75rem -1.75rem 1.4rem;
  padding: 1.25rem;
  background: var(--accent-3);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.product-image-band img {
  max-width: 11rem;
  max-height: 8.5rem;
  object-fit: contain;
}

.box-image-band {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  margin: -1.75rem -1.75rem 1.4rem;
  padding: 1rem;
  background: var(--accent-3);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.box-image-band img {
  max-width: 16.5rem;
  max-height: 15rem;
  object-fit: contain;
}

.product-number {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.75rem;
}

.spec-table {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.spec-table div {
  display: grid;
  grid-template-columns: minmax(0, 7rem) minmax(0, 1fr);
  gap: 0.75rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
}

.spec-table dt,
.spec-table dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.spec-table dt {
  color: var(--ink);
  font-weight: 600;
}

.spec-table dd {
  color: var(--muted);
}

.why-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  box-shadow: var(--shadow-card);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.why-list li:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-soft);
}

.checkmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.cta-band {
  padding: clamp(4rem, 7vw, 5rem) clamp(1.5rem, 4vw, 3.5rem);
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.cta-copy {
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.74);
}

.cta-band .button-inverse {
  margin-top: 1.75rem;
}

.site-footer {
  padding: 0;
  text-align: center;
  color: #ffffff;
}

.footer-showcase {
  background: linear-gradient(180deg, #f81710 0%, #ff3c28 34%, #ff8c79 68%, #fff1ed 100%);
}

.footer-showcase-inner {
  position: relative;
  max-width: 760px;
  min-height: 155px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  align-items: start;
  gap: 0.25rem 1.5rem;
}

.footer-brand {
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  text-align: left;
}

.footer-logo {
  flex: 0 0 auto;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 800;
}

.footer-brand p {
  font-size: 0.7rem;
  line-height: 1.25;
}

.footer-contact {
  z-index: 1;
  display: grid;
  justify-items: start;
  font-style: normal;
  font-size: 0.75rem;
  line-height: 1.25;
  font-weight: 700;
  color: #ffffff;
}

.footer-rolls {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(74%, 590px);
  transform: translateX(-50%);
}

.footer-spacer {
  height: clamp(2.5rem, 5vw, 4.75rem);
  background: #ffffff;
}

.footer-legal {
  padding: 1.35rem 1.5rem;
  background: linear-gradient(180deg, #f81710 0%, #ff3c28 45%, #ff7563 100%);
}

.footer-legal p {
  color: #ffffff;
  font-size: 0.75rem;
  line-height: 1.5;
}

@media (max-width: 40rem) {
  .footer-showcase-inner {
    min-height: 210px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.65rem;
  }

  .footer-brand {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    text-align: center;
  }

  .footer-contact {
    justify-items: center;
  }

  .footer-rolls {
    width: min(96%, 590px);
  }

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

  .spec-table div {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .intro-media {
    grid-template-columns: 1fr;
  }

  .lang-flags {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem 1rem;
  }

  .machine-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 64rem) {
  .color-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---- Generieke bloktypen (beheerbaar via de backoffice) ---- */

.section-dark {
  background: var(--ink);
  color: #fff;
}

.section.text-white {
  color: #fff;
}

.align-left {
  text-align: left;
}

.align-center {
  text-align: center;
  margin-inline: auto;
}

.align-right {
  text-align: right;
}

.block-rich :is(h2, h3, h4) {
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
}

.block-rich p {
  margin-top: 0.85rem;
  line-height: 1.5;
}

.block-rich p:first-child {
  margin-top: 0;
}

.block-rich ul,
.block-rich ol {
  margin-top: 0.85rem;
  padding-left: 1.2rem;
  line-height: 1.5;
}

.block-rich ul {
  list-style-type: disc;
}

.block-rich ol {
  list-style-type: decimal;
}

.block-rich a {
  text-decoration: underline;
}

.block-rich img {
  border-radius: var(--radius-sm);
  margin-top: 1rem;
}

.link-block {
  max-width: 640px;
  margin: 0 auto;
}

.link-block ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
}

.link-block a {
  text-decoration: underline;
}

.banner-tile {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.banner-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--surface);
  padding: 0.75rem;
  box-sizing: border-box;
}

.banner-tile h3 {
  padding: 1rem 1.25rem 1.25rem;
}

.banner-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}

.image-only-media {
  max-width: 640px;
  margin: 0 auto;
}

.text-columns-2 {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.text-columns-2 .text-column {
  flex: 1 1 18rem;
  min-width: 0;
}

.missing-translation-flag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  margin-left: 0.5rem;
  vertical-align: middle;
}
