/* Qlimatix — "Over ons" page styles.
   Self-contained (like adv.css / pdp.css / home.css): own :root tokens + base
   reset + .btn-pill, so the page ships only overons.css + chrome + Onest + images.
   The .ab-* component + responsive rules are lifted verbatim from the approved
   prototype (Qlimatix Claude Design / "Over ons.html"). */

/* ===== Self-hosted Onest (shared; drop woff2 into assets/fonts/) ===== */
@font-face{font-family:'Onest';font-style:normal;font-weight:400;font-display:swap;src:local('Onest'),url('fonts/Onest-Regular.woff2') format('woff2');}
@font-face{font-family:'Onest';font-style:normal;font-weight:500;font-display:swap;src:local('Onest Medium'),url('fonts/Onest-Medium.woff2') format('woff2');}
@font-face{font-family:'Onest';font-style:normal;font-weight:600;font-display:swap;src:local('Onest SemiBold'),url('fonts/Onest-SemiBold.woff2') format('woff2');}
@font-face{font-family:'Onest';font-style:normal;font-weight:700;font-display:swap;src:local('Onest Bold'),url('fonts/Onest-Bold.woff2') format('woff2');}

/* ===== Design tokens (mirrors home.css :root) ===== */
:root {
  --navy: #01273f;
  --orange: #e77935;
  --orange-hover: #d96b27;
  --light-blue: #cfdae6;
  --text: #0e2a3f;
  --muted: #5e6f7c;
  --border: #e7eaee;
  --border-soft: #eef1f4;
}

/* ===== Base reset (each page-type CSS carries its own; chrome is scoped) ===== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Onest", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--text); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }

/* ===== Orange pill button (from home.css) ===== */
.btn-pill {
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 4px 28px 4px 4px;
  background: var(--orange); color: #fff;
  border-radius: 999px; font-weight: 500; font-size: 15px; letter-spacing: 0.005em;
  box-shadow: 0 8px 18px -8px rgba(231,121,53,0.55);
  transition: background .15s, transform .15s;
}
.btn-pill:hover { background: var(--orange-hover); }
.btn-pill__arrow {
  width: 48px; height: 48px; border-radius: 999px; background: #fff;
  display: grid; place-items: center; color: var(--text); flex-shrink: 0;
}
.btn-pill__arrow svg { display: block; }

/* ============ OVER ONS PAGE — scoped ============ */
/* Fluid container — follows the site-wide standard width (--container: 1280px, 1440px @≥1680px; see layout.css), keeps this page's own 32px gutters. */
.wrap { width: auto; max-width: var(--container, 1280px); margin: 0 auto; padding-left: 32px; padding-right: 32px; box-sizing: border-box; }
.ab-main { padding: 40px 0 8px; }

.ab-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; color: var(--orange);
  letter-spacing: 0.02em; margin-bottom: 16px;
}
.ab-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }
.ab-eyebrow--light { color: #f0974a; }
.ab-eyebrow--light::before { background: #f0974a; }

/* ---- Hero ---- */
.ab-hero {
  background:
    radial-gradient(120% 130% at 0% 0%, #16456b 0%, rgba(22,69,107,0) 55%),
    var(--navy);
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
}
.ab-hero__text { padding: 64px 56px 60px; color: #fff; align-self: center; }
.ab-hero__title {
  font-size: 56px; line-height: 1.04; letter-spacing: -0.03em;
  font-weight: 600; color: #fff; margin: 0 0 22px; max-width: 540px;
}
.ab-hero__lead {
  font-size: 17px; line-height: 1.7; color: #aebecb;
  margin: 0 0 30px; max-width: 500px; font-weight: 400;
}
.ab-hero__trust { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ab-hero__rating { display: flex; align-items: center; gap: 11px; }
.ab-hero__stars { display: flex; gap: 2px; color: #ffb814; }
.ab-hero__rating b { color: #fff; font-weight: 600; font-size: 16px; }
.ab-hero__rating span { color: #93a4b3; font-size: 13.5px; display: block; }
/* keep the 5 stars on one row (the rule above forces spans to block) */
.ab-hero__rating span.ab-hero__stars { display: flex; flex-shrink: 0; color: #ffb814; }
.ab-hero__divider { width: 1px; height: 34px; background: rgba(255,255,255,0.16); }
.ab-hero__waarborg { display: flex; align-items: center; gap: 10px; color: #c4ccd3; font-size: 14px; }
.ab-hero__waarborg svg { color: #f0974a; flex-shrink: 0; }
.ab-hero__klogo { height: 26px; width: auto; display: block; flex-shrink: 0; }
.ab-hero__waarborg-logo { height: 30px; width: auto; display: block; }
.ab-hero__media { position: relative; min-height: 420px; background: #0c3a5e; }
.ab-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---- Stats strip ---- */
.ab-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 26px; margin: 28px 0 0; padding: 36px 0;
  border-bottom: 1px solid var(--border-soft);
}
.ab-stat__num { font-size: 40px; font-weight: 600; color: var(--navy); letter-spacing: -0.03em; line-height: 1; margin-bottom: 10px; }
.ab-stat__num small { font-size: 22px; font-weight: 600; }
.ab-stat__label { font-size: 14.5px; color: var(--muted); line-height: 1.45; }

/* ---- Story ---- */
.ab-story {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px;
  align-items: center; padding: 88px 0;
}
.ab-story__media { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.4; background: #eaf1f6; }
.ab-story__media img { width: 100%; height: 100%; object-fit: cover; }
.ab-story__title { font-size: 40px; line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; color: var(--text); margin: 0 0 22px; max-width: 460px; }
.ab-story__p { font-size: 16px; line-height: 1.72; color: var(--muted); margin: 0 0 18px; max-width: 540px; }
.ab-story__p:last-child { margin-bottom: 0; }
.ab-story__p b { color: var(--text); font-weight: 600; }

/* ---- Values ---- */
.ab-values { padding: 8px 0 88px; }
.ab-values__head { max-width: 620px; margin: 0 0 44px; }
.ab-values__title { font-size: 40px; line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; color: var(--text); margin: 0; }
.ab-values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ab-value {
  background: #fff; border: 1px solid var(--border-soft); border-radius: 20px;
  padding: 28px 26px 30px; display: flex; flex-direction: column;
}
.ab-value__ico {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--light-blue); color: var(--navy);
  display: grid; place-items: center; margin-bottom: 20px;
}
.ab-value__ico svg { display: block; }
.ab-value__h { font-size: 18px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; margin: 0 0 10px; }
.ab-value__t { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---- Reversed story (text left, media right) ---- */
.ab-story--rev { grid-template-columns: 1.1fr 0.9fr; }
.ab-story .ab-eyebrow { display: inline-flex; }

/* ---- Sustainability / Seatrees ---- */
.ab-tree { padding: 8px 0 92px; }
.ab-tree__head { max-width: 680px; margin: 0 0 40px; }
.ab-tree__title { font-size: 40px; line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; color: var(--text); margin: 0 0 18px; }
.ab-tree__lead { font-size: 16px; line-height: 1.72; color: var(--muted); margin: 0; }
.ab-tree__lead a { color: var(--navy); font-weight: 600; }
.ab-tree__grid { display: grid; grid-template-columns: 0.94fr 1.06fr; gap: 28px; align-items: stretch; }
.ab-tree__panel {
  background: radial-gradient(125% 120% at 0% 0%, #16456b 0%, rgba(22,69,107,0) 55%), var(--navy);
  border-radius: 22px; padding: 42px 40px; color: #fff; display: flex; flex-direction: column;
}
.ab-tree__badge {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 9px;
  background: rgba(231,121,53,0.16); color: #f0974a; border: 1px solid rgba(231,121,53,0.35);
  border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; margin-bottom: 24px;
}
.ab-tree__badge svg { display: block; }
.ab-tree__big { font-size: 30px; line-height: 1.14; letter-spacing: -0.02em; font-weight: 600; color: #fff; margin: 0 0 16px; max-width: 380px; }
.ab-tree__body { font-size: 15px; line-height: 1.72; color: #aebecb; margin: 0 0 28px; }
.ab-tree__body b { color: #fff; font-weight: 600; }
.ab-tree__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: auto; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.14); }
.ab-tree__partner { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; text-decoration: none; }
.ab-tree__partner span { font-size: 12.5px; font-weight: 500; color: #93a4b3; letter-spacing: 0.01em; }
.ab-tree__partner img { height: 21px; width: auto; display: block; opacity: 0.92; transition: opacity .15s; }
.ab-tree__partner:hover img { opacity: 1; }
.ab-tree__stat-num { font-size: 30px; font-weight: 600; color: #fff; letter-spacing: -0.02em; line-height: 1; margin-bottom: 8px; }
.ab-tree__stat-num small { font-size: 17px; font-weight: 600; }
.ab-tree__stat-lab { font-size: 12.5px; color: #93a4b3; line-height: 1.45; }
.ab-tree__media { display: grid; grid-template-rows: 1.22fr 1fr; gap: 16px; min-height: 0; }
.ab-tree__photo { border-radius: 18px; overflow: hidden; position: relative; background: #eaf1f6; }
.ab-tree__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-tree__cap {
  position: absolute; left: 14px; bottom: 14px; z-index: 1;
  font-size: 12px; font-weight: 500; color: #fff;
  background: rgba(8,30,48,0.58); backdrop-filter: blur(4px);
  padding: 6px 12px; border-radius: 999px;
}

/* ---- Team (mirrors the homepage "Over ons" section) ---- */
.ab-team { padding: 8px 0 96px; }
.ab-team__head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.ab-team__title { font-size: 42px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; color: var(--text); margin: 0 0 16px; }
.ab-team__intro { font-size: 16.5px; line-height: 1.65; color: var(--muted); margin: 0 auto; max-width: 600px; }
.ab-team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.ab-tcard__photo {
  aspect-ratio: 1 / 0.86; border-radius: 18px; overflow: hidden;
  background: radial-gradient(130% 130% at 50% 24%, #1a527c 0%, #0c3a5e 46%, #042036 100%);
  position: relative;
}
.ab-tcard__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.ab-tcard__info { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; }
.ab-tcard__name { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); line-height: 1.1; margin: 0 0 4px; }
.ab-tcard__role { font-size: 15px; font-weight: 600; color: var(--text); margin: 0 0 12px; }
.ab-tcard__desc { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }
.ab-tcard__arrow {
  flex-shrink: 0; width: 50px; height: 50px; border-radius: 999px; background: #fff;
  color: var(--text); display: grid; place-items: center;
  box-shadow: 0 10px 24px -10px rgba(8,38,65,0.22), 0 2px 6px rgba(8,38,65,0.05);
  transition: background .18s, color .18s, transform .18s;
}
.ab-tcard__arrow svg { display: block; }
.ab-tcard:hover .ab-tcard__arrow { background: var(--orange); color: #fff; transform: translateY(-2px); }

/* ---- CTA ---- */
.ab-cta {
  position: relative; overflow: hidden;
  background: var(--navy); border-radius: 28px;
  padding: 56px 56px; margin: 0 0 150px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.ab-cta__deco { position: absolute; right: -70px; top: -70px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(231,121,53,0.3), transparent 60%); pointer-events: none; }
.ab-cta__text { position: relative; z-index: 1; }
.ab-cta__title { font-size: 34px; line-height: 1.12; letter-spacing: -0.02em; color: #fff; margin: 0 0 12px; max-width: 520px; }
.ab-cta__sub { font-size: 16px; line-height: 1.6; color: #aebecb; margin: 0; max-width: 460px; }
.ab-cta__acts { position: relative; z-index: 1; display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }
.ab-btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 28px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.24); color: #fff;
  font-weight: 500; font-size: 15px; transition: border-color .15s, background .15s;
}
.ab-btn-ghost:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); }

/* CTA primary: arrow badge to the left, evenly centered vertically */
.ab-cta .btn-pill { position: relative; padding: 4px 30px 4px 64px; }
.ab-cta .btn-pill__arrow { position: absolute; left: 4px; top: 50%; bottom: auto; transform: translateY(-50%); }

/* ============ RESPONSIVE (tablet + mobile) ============ */

/* ---- Tablet (≤1024px) ---- */
@media (max-width: 1024px){
  .ab-hero__text { padding: 52px 44px 48px; }
  .ab-hero__title { font-size: 46px; }
  .ab-hero__media { min-height: 360px; }
  .ab-story { gap: 48px; padding: 72px 0; }
  .ab-story__title { font-size: 34px; }
  .ab-values__title, .ab-tree__title { font-size: 34px; }
  .ab-team__title { font-size: 36px; }
  .ab-values__grid { grid-template-columns: repeat(2, 1fr); }
  .ab-tree__grid { gap: 22px; }
  .ab-tree__panel { padding: 36px 32px; }
  .ab-team__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .ab-tcard__name { font-size: 22px; }
  .ab-tcard__arrow { width: 44px; height: 44px; }
  .ab-cta { padding: 48px 44px; }
  .ab-cta__title { font-size: 30px; }
}

/* ---- Small tablet / large phone (≤820px) ---- */
@media (max-width: 820px){
  .wrap { padding-left: 26px; padding-right: 26px; }
  .ab-hero { grid-template-columns: 1fr; border-radius: 24px; }
  .ab-hero__text { padding: 44px 36px 40px; order: 2; }
  .ab-hero__media { min-height: 440px; order: 1; }
  .ab-hero__title { font-size: 42px; max-width: none; }

  .ab-story, .ab-story--rev { grid-template-columns: 1fr; gap: 34px; padding: 60px 0; }
  /* keep media above text on both story variants */
  .ab-story--rev .ab-story__media { order: -1; }
  .ab-story__media { aspect-ratio: 16 / 10; }
  /* first story (founders) reads as a proper feature image on tablet */
  .ab-story:not(.ab-story--rev) .ab-story__media { aspect-ratio: 4 / 3.1; }
  .ab-story__title { max-width: none; }
  .ab-story__p { max-width: none; }

  .ab-values { padding: 8px 0 64px; }
  .ab-tree { padding: 8px 0 64px; }
  .ab-tree__grid { grid-template-columns: 1fr; }
  .ab-tree__media { grid-template-rows: none; grid-template-columns: 1fr 1fr; min-height: 240px; }

  .ab-team { padding: 8px 0 72px; }
  .ab-team__grid { grid-template-columns: 1fr; gap: 16px; }
  .ab-tcard { display: flex; gap: 26px; align-items: center;
    background: #fff; border: 1px solid var(--border-soft); border-radius: 20px; padding: 18px; }
  .ab-tcard__photo { width: 168px; flex-shrink: 0; aspect-ratio: 1 / 1; margin: 0; }
  .ab-tcard__info { margin-top: 0; flex: 1; min-width: 0; }

  .ab-cta { flex-direction: column; align-items: flex-start; gap: 28px; border-radius: 24px; }
  .ab-cta__acts { flex-direction: row; align-items: stretch; gap: 14px; width: 100%; }
  .ab-cta__acts .btn-pill, .ab-cta .ab-btn-ghost { flex: 1 1 0; width: auto; min-width: 0; justify-content: center; }
}

/* ---- Phone (≤560px) ---- */
@media (max-width: 560px){
  .wrap { padding-left: 18px; padding-right: 18px; }
  .ab-main { padding: 24px 0 8px; }

  .ab-hero { border-radius: 20px; }
  .ab-hero__text { padding: 36px 24px 34px; }
  .ab-hero__title { font-size: 34px; }
  .ab-hero__lead { font-size: 16px; }
  .ab-hero__media { min-height: 230px; }
  .ab-hero__trust { gap: 16px 22px; align-items: center; }
  .ab-hero__rating { gap: 10px; }
  .ab-hero__divider { display: none; }
  .ab-hero__klogo { height: 22px; }
  .ab-hero__waarborg-logo { height: 26px; }

  .ab-stats { grid-template-columns: 1fr 1fr; gap: 22px 18px; padding: 30px 0; }
  .ab-stat__num { font-size: 34px; }

  .ab-story, .ab-story--rev { padding: 48px 0; }
  .ab-story__title { font-size: 28px; }
  .ab-story__media { aspect-ratio: 4 / 3; }

  .ab-values__title, .ab-tree__title, .ab-team__title { font-size: 28px; }
  .ab-values__grid { grid-template-columns: 1fr; gap: 16px; }
  .ab-value { padding: 24px 22px 26px; }

  .ab-tree__panel { padding: 30px 24px; border-radius: 18px; }
  .ab-tree__big { font-size: 25px; }
  .ab-tree__stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .ab-tree__media { grid-template-columns: 1fr; min-height: 0; }
  .ab-tree__photo { aspect-ratio: 16 / 10; }

  .ab-tcard { flex-direction: column; align-items: stretch; gap: 0;
    background: none; border: 0; padding: 0; }
  .ab-tcard__photo { width: 100%; aspect-ratio: 1 / 0.86; }
  .ab-tcard__info { margin-top: 20px; }

  .ab-cta { padding: 38px 26px; }
  .ab-cta__title { font-size: 26px; }
  .ab-cta__acts { width: 100%; flex-direction: column; align-items: stretch; }
  .ab-cta__acts .btn-pill, .ab-cta .ab-btn-ghost { flex: none; width: 100%; justify-content: center; }
}

/* ---- Small phone (≤380px) ---- */
@media (max-width: 380px){
  .ab-hero__title { font-size: 30px; }
  .ab-stats { grid-template-columns: 1fr; }
  .ab-story__title { font-size: 25px; }
}
