/* Airborne, Defence & Autonomous Systems landing page
   Alle stijlen zijn gescoped onder .abd en gebruiken het prefix abd-,
   zodat ze niet botsen met het WordPress thema. */

/* Lettertype lokaal (geen verbinding met Google nodig) */
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/titillium-web-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/titillium-web-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/titillium-web-latin-600-normal.woff2") format("woff2"); }

/* Optioneel: alleen nodig als de pagina op een leeg template staat */
body { margin: 0; background: #fff; }

.abd {
  --abd-ink: #1C1A27;
  --abd-muted: #55536A;
  --abd-muted-dark: #B9BDD0;
  --abd-blue: #29A9E0;
  --abd-blue-light: #5BBDEB;
  --abd-cyan: #75DAF8;
  --abd-tab-light: #DCEFFA;
  --abd-tab-dark: #1A2A45;
  --abd-line: #D3E3F0;
  --abd-line-dark: #3A3F5C;
  --abd-chart-line: #9CC6E3;
  --abd-radius: 8px;
  --abd-gap: 12px;
  --abd-gutter: 24px;
  --abd-pad: 64px;

  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--abd-gutter) var(--abd-gutter);
  box-sizing: border-box;
  background: #fff;
  color: var(--abd-ink);
  font-family: "Titillium Web", system-ui, sans-serif;
  font-size: 17px;
  line-height: 28px;
  -webkit-font-smoothing: antialiased;
}
.abd *, .abd *::before, .abd *::after { box-sizing: border-box; }
.abd main { display: flex; flex-direction: column; gap: var(--abd-gap); }
.abd :where(img) { display: block; max-width: 100%; }
.abd :where(a) { color: inherit; }
.abd :where(h1, h2, h3, p, ul, ol, dl, dt, dd) { margin: 0; padding: 0; }

/* ---------- Typografie ---------- */
.abd-h1 { font-size: 58px; line-height: 64px; font-weight: 600; letter-spacing: -0.005em; color: #fff; }
.abd-h1--dark { color: var(--abd-ink); }
.abd-h2 { font-size: 42px; line-height: 50px; font-weight: 600; letter-spacing: -0.003em; }
.abd-h3 { font-size: 24px; line-height: 30px; font-weight: 600; }
.abd-h3--light { color: #fff; }
.abd-lead { font-size: 24px; line-height: 34px; font-weight: 300; color: var(--abd-blue); }
.abd-lead--light { color: var(--abd-blue-light); }
.abd-lead--dark { color: var(--abd-ink); }
.abd-body { font-size: 17px; line-height: 28px; }
.abd-body--muted { color: var(--abd-muted); }
.abd-body--muted-dark { color: var(--abd-muted-dark); }
.abd-small { font-size: 15px; line-height: 24px; }
.abd-small--muted-dark { color: var(--abd-muted-dark); }
.abd-label { font-size: 16px; line-height: 20px; color: var(--abd-blue); }
.abd-label--light { color: var(--abd-blue-light); }
.abd-blue { color: var(--abd-blue); }

/* ---------- Basis elementen ---------- */
.abd-card { border-radius: var(--abd-radius); overflow: hidden; position: relative; }
.abd-card--dark, .abd-xslide__card, .abd-level__card {
  color: #fff;
  background:
    radial-gradient(ellipse 60% 55% at 100% 100%, rgba(46,134,184,.85), rgba(46,134,184,0)),
    linear-gradient(127deg, #251935 0%, #1A2240 100%);
}
.abd-card--light {
  background:
    radial-gradient(ellipse 110% 110% at 100% 100%, #B5DCF4 0%, rgba(181,220,244,0) 100%),
    #F6FAFD;
}
.abd-photo { border-radius: var(--abd-radius); overflow: hidden; background: #D9E1EA; }
.abd-photo img { width: 100%; height: 100%; object-fit: cover; }

.abd-dots {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Crect x='14' y='14' width='3' height='3' fill='%2375DAF8'/%3E%3C/svg%3E");
  background-size: 32px 32px;
}

.abd-cross, .abd-tab::after {
  width: 20px; height: 20px; border-radius: 50%;
  background: #5CC6EE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 4.5v11M4.5 10h11' stroke='%23fff' stroke-width='.9' stroke-dasharray='1.2 1.2'/%3E%3C/svg%3E") center/20px no-repeat;
}

/* Tab op de kaartrand, zoals in de brochure */
.abd-tab {
  position: relative; display: inline-block; align-self: flex-start;
  padding: 13px 30px 12px 22px;
  border-radius: var(--abd-radius) var(--abd-radius) 0 0;
  font-size: 16px; line-height: 20px; white-space: nowrap;
}
.abd-tab::after { content: ""; position: absolute; right: -10px; bottom: -10px; z-index: 3; }
.abd-tab--light { background: var(--abd-tab-light); color: var(--abd-ink); }
.abd-tab--dark { background: var(--abd-tab-dark); color: #fff; }

/* Knoppen */
.abd-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 20px 15px 24px; border-radius: 6px;
  font-size: 16px; line-height: 20px; font-weight: 600; text-decoration: none;
  transition: filter .2s ease;
}
.abd-btn:hover { filter: brightness(1.08); }
.abd-btn--cyan { background: var(--abd-cyan); color: var(--abd-ink); }
.abd-btn--dark { background: var(--abd-tab-dark); color: #fff; }
.abd-btn__icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s ease; }
.abd-btn:hover .abd-btn__icon { transform: translateX(3px); }
.abd-btn__short { display: none; }

.abd-arrow {
  width: 48px; height: 48px; border: 0; border-radius: 6px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: opacity .2s ease, filter .2s ease;
}
.abd-arrow svg { width: 18px; height: 18px; fill: none; stroke-width: 1.8; }
.abd-arrow--prev { background: var(--abd-tab-light); }
.abd-arrow--prev svg { stroke: var(--abd-ink); }
.abd-arrow--next { background: var(--abd-tab-dark); }
.abd-arrow--next svg { stroke: #fff; }
.abd-arrow:hover { filter: brightness(1.08); }
.abd-arrow:disabled { opacity: .35; cursor: default; }

/* ---------- Header ---------- */
.abd-header { display: flex; justify-content: space-between; align-items: center; padding: 24px 40px 20px; }
.abd-header__logo img { width: 141px; height: auto; }
.abd-header__right { display: flex; align-items: center; gap: 32px; }
.abd-header__label { font-size: 15px; color: var(--abd-muted); }

/* ---------- 01 Hero ---------- */
.abd-hero { display: grid; grid-template-columns: 720px 1fr; gap: var(--abd-gap); min-height: 680px; }
.abd-hero__text { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 72px var(--abd-pad) var(--abd-pad); }
.abd-hero__top { display: flex; flex-direction: column; gap: 28px; max-width: 560px; }
.abd-hero__media img { object-position: 15% center; }
.abd-hero__bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; max-width: 520px; }

/* ---------- 02 Scalable solutions ---------- */
.abd-levels { padding: 88px var(--abd-pad) 72px; }
.abd-levels__head { display: grid; grid-template-columns: 600px 1fr; gap: 80px; }

.abd-chart { position: relative; height: 560px; margin-top: 72px; }
.abd-chart::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--abd-chart-line); }
.abd-chart__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; }
.abd-chart__rate { fill: none; stroke: var(--abd-blue); stroke-width: 2; stroke-linejoin: round; }
.abd-chart__cost { fill: none; stroke: #5CC6EE; stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.abd-chart__cols { list-style: none; position: relative; z-index: 1; height: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.abd-chart__col { position: relative; height: 100%; }
.abd-chart__col + .abd-chart__col::before {
  content: ""; position: absolute; left: -16px; top: 0; bottom: 0; width: 0;
  border-left: 1px dashed var(--abd-chart-line);
}
.abd-chart__phase { font-size: 15px; line-height: 24px; color: var(--abd-muted); }
.abd-level { position: absolute; left: 0; right: 0; top: var(--top); display: flex; flex-direction: column; z-index: 2; }
.abd-level__card { padding: 22px 24px 24px; border-radius: 0 var(--abd-radius) var(--abd-radius) var(--abd-radius); }
.abd-level__title { font-size: 21px; line-height: 26px; font-weight: 600; margin-bottom: 8px; }
.abd-level__card .abd-small { color: var(--abd-muted-dark); }
.abd-chart__stem { position: absolute; left: 40px; width: 1px; top: var(--stem-top, 100%); bottom: 0; background: var(--abd-blue); transform-origin: bottom; }
.abd-chart__stem::after { content: ""; position: absolute; left: -3px; bottom: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--abd-blue); }
.abd-chart__label { position: absolute; right: 4px; font-size: 15px; line-height: 24px; z-index: 2; }
.abd-chart__label--rate { top: 0; color: var(--abd-blue); }
.abd-chart__label--cost { bottom: 10px; color: var(--abd-blue-light); }

/* Animatie: alleen als JS werkt (klasse abd-js op de wrapper) */
.abd-js .abd-chart .abd-level { opacity: 0; transform: translateY(70px); transition: opacity .6s ease-out, transform .7s cubic-bezier(.2,.7,.2,1); }
.abd-js .abd-chart .abd-chart__stem { transform: scaleY(0); transition: transform .6s ease-out; }
.abd-js .abd-chart .abd-chart__label { opacity: 0; transition: opacity .6s ease 2.1s; }
.abd-js .abd-chart .abd-chart__col:nth-child(1) > * { transition-delay: .2s; }
.abd-js .abd-chart .abd-chart__col:nth-child(2) > * { transition-delay: .65s; }
.abd-js .abd-chart .abd-chart__col:nth-child(3) > * { transition-delay: 1.1s; }
.abd-js .abd-chart .abd-chart__col:nth-child(4) > * { transition-delay: 1.55s; }
.abd-js .abd-chart .abd-chart__phase { transform: none; opacity: 1; }
.abd-js .abd-chart.is-in .abd-level { opacity: 1; transform: none; }
.abd-js .abd-chart.is-in .abd-chart__stem { transform: scaleY(1); }
.abd-js .abd-chart.is-in .abd-chart__label { opacity: 1; }

/* ---------- 03 The challenge ---------- */
.abd-section { padding: 112px var(--abd-pad) 120px; }
.abd-challenge__cols { display: grid; grid-template-columns: 560px 1fr; gap: 96px; }
.abd-challenge__left { display: flex; flex-direction: column; gap: 24px; }
.abd-challenge__left .abd-body { max-width: 520px; }
.abd-challenge__dots { height: 128px; margin: auto 0 0 -14px; }
.abd-challenge__right { padding-top: 44px; }
.abd-challenge__right .abd-h3 { margin-bottom: 28px; }
.abd-questions { list-style: none; border-top: 1px solid var(--abd-line); }
.abd-questions li {
  position: relative; padding: 18px 0 18px 28px; border-bottom: 1px solid var(--abd-line);
  font-size: 17px; line-height: 28px;
}
.abd-questions li::before {
  content: ""; position: absolute; left: 0; top: 26px; width: 12px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%235CC6EE' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat;
}
.abd-answer { display: grid; grid-template-columns: 560px 1fr; gap: 96px; margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--abd-line); }
.abd-answer__label { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 20px; color: var(--abd-blue); align-self: start; padding-top: 6px; }
.abd-answer__label .abd-cross { flex: 0 0 20px; }

/* ---------- Sliders ---------- */
.abd-slider { padding: 56px 0 104px var(--abd-pad); overflow: hidden; }
.abd-slider__head { display: grid; grid-template-columns: 560px 1fr; gap: 96px; align-items: end; padding-right: var(--abd-pad); margin-bottom: 56px; }
.abd-slider__nav { display: flex; gap: 8px; }
.abd-slider__bar { display: flex; justify-content: flex-end; padding-right: var(--abd-pad); margin: -24px 0 24px; }
.abd-slider__track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none; padding-right: var(--abd-pad);
  margin-right: calc(-1 * var(--abd-gutter));
}
.abd-slider__track::-webkit-scrollbar { display: none; }
.abd-slider__track > * { scroll-snap-align: start; flex: 0 0 auto; }

/* 04 Expertise */
.abd-expertise__title { display: flex; flex-direction: column; gap: 24px; }
.abd-expertise__aside { display: flex; flex-direction: column; gap: 32px; max-width: 520px; }
.abd-xslide { display: flex; align-items: flex-end; gap: var(--abd-gap); }
.abd-xslide__text { display: flex; flex-direction: column; width: 420px; }
.abd-xslide__card {
  height: 480px; padding: 44px 40px 40px; border-radius: 0 var(--abd-radius) var(--abd-radius) var(--abd-radius);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.abd-xslide__card .abd-h3 { margin-bottom: 16px; }
.abd-xslide__foot { display: flex; justify-content: space-between; align-items: center; }
.abd-xslide__photo { width: 460px; height: 480px; }

/* 06 Why Airborne */
.abd-why { padding-top: 112px; }
.abd-why__head { grid-template-columns: 1fr auto; }
.abd-why__head .abd-h2 { max-width: 640px; margin-top: 24px; }
.abd-wslide { display: flex; flex-direction: column; width: 520px; }
.abd-wslide__photo { height: 340px; border-top-left-radius: 0; }
.abd-wslide .abd-body { max-width: 440px; margin-top: 24px; }

/* ---------- 05 Local production ---------- */
.abd-local { display: grid; grid-template-columns: 560px 1fr; gap: var(--abd-gap); }
.abd-local__photo img { object-position: 37% center; }
.abd-local__text { display: flex; flex-direction: column; gap: 24px; padding: 88px 72px 80px; }
.abd-local__text > * { max-width: 640px; }
.abd-local__quote { margin-top: 8px; }

/* ---------- 07 Partnership ---------- */
.abd-partner { display: grid; grid-template-columns: 1fr 520px; gap: var(--abd-gap); align-items: end; }
.abd-partner__text { display: flex; flex-direction: column; gap: 24px; padding: 112px var(--abd-pad) 104px; max-width: 760px; }
.abd-partner__text .abd-body { max-width: 600px; }
.abd-glance { display: flex; flex-direction: column; }
.abd-glance__card { padding: 48px 48px 40px; border-top-left-radius: 0; }
.abd-stat { padding: 22px 0; border-bottom: 1px solid var(--abd-line-dark); }
.abd-stat:first-child { padding-top: 0; }
.abd-stat:last-child { border-bottom: 0; padding-bottom: 0; }
.abd-stat__num { font-size: 58px; line-height: 64px; font-weight: 300; color: var(--abd-blue-light); font-variant-numeric: tabular-nums; }
.abd-stat dd { font-size: 17px; line-height: 28px; color: #fff; max-width: 400px; }

/* ---------- 08 CTA ---------- */
.abd-cta { padding: 104px 72px 96px; }
.abd-cta__dots { position: absolute; right: 24px; top: 24px; width: 580px; height: 440px; opacity: .9; }
.abd-cta__inner { position: relative; display: flex; flex-direction: column; gap: 32px; max-width: 760px; }
.abd-cta__row { display: flex; align-items: center; flex-wrap: wrap; gap: 24px 40px; padding-top: 8px; }

/* ---------- Footer ---------- */
.abd-footer { display: flex; justify-content: space-between; gap: 40px; padding: 64px var(--abd-pad) 40px; }
.abd-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.abd-footer__brand img { width: 141px; height: auto; }
.abd-footer__legal { margin-top: 40px; color: var(--abd-muted); }
.abd-footer__legal a { color: inherit; text-decoration: none; }
.abd-footer__contact { display: flex; gap: 72px; }
.abd-footer__contact .abd-label { margin-bottom: 8px; }
.abd-footer__contact a { text-decoration: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1240px) {
  .abd { --abd-pad: 48px; }
  .abd-hero { grid-template-columns: 1fr 1fr; }
  .abd-levels__head, .abd-challenge__cols, .abd-answer, .abd-slider__head { grid-template-columns: 1fr 1fr; gap: 56px; }
  .abd-local { grid-template-columns: 1fr 1.3fr; }
  .abd-partner { grid-template-columns: 1fr 440px; }
  .abd-h1 { font-size: 50px; line-height: 56px; }
  .abd-chart__cols { gap: 20px; }
  .abd-chart__col + .abd-chart__col::before { left: -10px; }
  .abd-level__card { padding: 18px 18px 20px; }
}

/* ---------- Mobiel ---------- */
@media (max-width: 820px) {
  .abd { --abd-gutter: 12px; --abd-pad: 24px; font-size: 16px; }
  .abd-h1 { font-size: 38px; line-height: 44px; }
  .abd-h2 { font-size: 30px; line-height: 36px; }
  .abd-h3 { font-size: 22px; line-height: 28px; }
  .abd-lead { font-size: 19px; line-height: 30px; }
  .abd-stat__num { font-size: 44px; line-height: 50px; }

  .abd-header { padding: 16px 12px 14px; }
  .abd-header__label, .abd-btn__full { display: none; }
  .abd-btn__short { display: inline; }
  .abd-header .abd-btn { padding: 11px 14px 11px 16px; }

  .abd-hero { grid-template-columns: 1fr; min-height: 0; }
  .abd-hero__text { padding: 40px 24px 32px; gap: 32px; }
  .abd-hero__media { height: 300px; }

  .abd-levels { padding: 48px 24px 40px; }
  .abd-levels__head { grid-template-columns: 1fr; gap: 20px; }

  /* Grafiek wordt een verticale tijdlijn */
  .abd-chart { height: auto; margin-top: 40px; padding-left: 28px; }
  .abd-chart::after { left: 9px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: var(--abd-blue); }
  .abd-chart__lines, .abd-chart__stem, .abd-chart__label { display: none; }
  .abd-chart__cols { display: flex; flex-direction: column; gap: 28px; height: auto; }
  .abd-chart__col { height: auto; display: flex; flex-direction: column; gap: 10px; }
  .abd-chart__col + .abd-chart__col::before { display: none; }
  .abd-chart__col::after { content: ""; position: absolute; left: -29px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #5CC6EE; box-shadow: 0 0 0 4px #F3F8FC; }
  .abd-level { position: static; }
  .abd-js .abd-chart .abd-level { transform: translateY(32px); }

  .abd-section { padding: 56px 24px 64px; }
  .abd-challenge__cols, .abd-answer { grid-template-columns: 1fr; gap: 32px; }
  .abd-challenge__dots { height: 96px; margin-top: 8px; }
  .abd-challenge__right { padding-top: 0; }
  .abd-answer { margin-top: 40px; padding-top: 32px; gap: 16px; }

  .abd-slider { padding: 40px 0 56px 24px; }
  .abd-slider__head, .abd-why__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; padding-right: 24px; }
  .abd-slider__track { gap: 16px; padding-right: 24px; }
  .abd-slider__bar { padding-right: 24px; margin: 0 0 20px; }
  .abd-xslide { flex-direction: column-reverse; align-items: stretch; width: 78vw; max-width: 420px; }
  .abd-xslide__text { width: 100%; }
  .abd-xslide__photo { width: 100%; height: 220px; }
  .abd-xslide__card { height: auto; min-height: 360px; padding: 32px 24px 28px; }
  .abd-wslide { width: 76vw; max-width: 420px; }
  .abd-wslide__photo { height: 220px; }
  .abd-why { padding-top: 56px; }

  .abd-local { grid-template-columns: 1fr; }
  .abd-local__photo { height: 260px; }
  .abd-local__text { padding: 48px 24px 48px; }

  .abd-partner { grid-template-columns: 1fr; }
  .abd-partner__text { padding: 56px 24px 32px; }
  .abd-glance__card { padding: 32px 24px 28px; }

  .abd-cta { padding: 56px 24px 56px; }
  .abd-cta__dots { width: 100%; height: 50%; top: auto; bottom: 0; right: 0; opacity: .5; }
  .abd-cta .abd-btn { white-space: normal; }

  .abd-footer { flex-direction: column; padding: 48px 24px 32px; }
  .abd-footer__contact { gap: 40px; }
  .abd-footer__legal { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .abd *, .abd *::before, .abd *::after { transition: none !important; scroll-behavior: auto !important; }
}
