/* Betondata.nl — gedeelde stylesheet */

:root {
  --bg: #f7f6f4;
  --bg-alt: #eeece8;
  --text: #2a2a28;
  --text-muted: #5c5954;
  --concrete: #8f8b83;
  --concrete-dark: #6b6862;
  --border: #ddd9d2;
  --accent: #2b2fd6;
  --accent-dark: #1f22a8;
  --max-width: 880px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-dark);
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.site-header .logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-header nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.97rem;
}

.site-header nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--accent);
}

/* Hero */

.hero-image {
  width: 100%;
  max-height: 340px;
  overflow: hidden;
  background: var(--bg-alt);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 8px;
}

.hero-text h1 {
  font-size: 2.4rem;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.hero-text p.tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 400;
}

/* Sections */

section {
  padding: 40px 0;
}

section.narrow {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px;
}

h2 {
  font-size: 1.5rem;
  margin: 0 0 14px;
}

section.narrow h2 {
  padding: 0;
}

section p {
  margin: 0 0 16px;
  max-width: var(--max-width);
}

section.narrow p {
  max-width: none;
}

.cta {
  display: inline-block;
  margin-top: 4px;
  font-weight: 600;
  text-decoration: none;
}

.cta::after {
  content: " \2192";
}

/* Benefits grid (cube icons) */

.benefits-intro {
  max-width: var(--max-width);
  margin: 0 0 20px;
}

.benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: var(--max-width);
}

.benefit-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.benefit-card img {
  width: 34px;
  height: 34px;
  flex: none;
}

.benefit-card span {
  font-size: 1.02rem;
}

/* Model page voordelen (existing pictograms) */

/* Mobile-first base: a plain stacked list, each heading directly
   followed by its own paragraph — no grid involved. */
.model-benefits {
  margin: 28px 0;
}

.model-benefit + .model-benefit {
  margin-top: 26px;
}

.model-benefit h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  margin: 0;
}

.model-benefit p {
  margin: 10px 0 0;
}

/* From tablet width up: lay the three items out as columns. Headings
   and paragraphs become direct grid items (via display: contents) so
   all three headings share row 1 (as tall as the longest one) and all
   three paragraphs share row 2 — keeping paragraph text aligned no
   matter how many lines a heading wraps to. */
@media (min-width: 681px) {
  .model-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 28px;
    row-gap: 0;
  }

  .model-benefit {
    display: contents;
  }

  .model-benefit + .model-benefit {
    margin-top: 0;
  }

  .model-benefit h3 {
    grid-row: 1;
  }

  .model-benefit p {
    grid-row: 2;
  }

  .model-benefit:nth-child(1) h3,
  .model-benefit:nth-child(1) p {
    grid-column: 1;
  }

  .model-benefit:nth-child(2) h3,
  .model-benefit:nth-child(2) p {
    grid-column: 2;
  }

  .model-benefit:nth-child(3) h3,
  .model-benefit:nth-child(3) p {
    grid-column: 3;
  }
}

.model-benefit img {
  width: 46px;
  height: 46px;
  flex: none;
}

/* Alt background band */

.band {
  background: var(--bg-alt);
}

/* Lists */

ul.plain {
  margin: 0 0 16px;
  padding-left: 22px;
}

ul.plain li {
  margin-bottom: 4px;
}

/* Model diagram image */

.model-diagram {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 20px 0 8px;
  background: #fff;
}

/* Language switcher */

.lang-switch {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.lang-switch a {
  text-decoration: none;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 680px) {
  html {
    font-size: 17px;
  }
  .hero-text h1 {
    font-size: 1.9rem;
  }
  .hero-text p.tagline {
    font-size: 1.08rem;
  }
  .hero-text {
    padding: 30px 20px 4px;
  }
  section {
    padding: 28px 0;
  }
  section.narrow {
    padding: 28px 20px;
  }
  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
