/* ==========================================================================
   Fused — "binnenkort online" landingspagina
   Volgorde: variabelen → basis → layout → componenten → footer → responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */

:root {
  /* Kleuren */
  --yellow: #ffd400;
  --black: #0a0a0a;
  --bone: #f5f3ee;
  --paper: #ffffff;
  --mid: #6b6b6b;

  /* Tekstkleuren op gele vlakken */
  --on-yellow-soft: #4a3c00;
  --on-yellow-body: #3e3200;

  /* Vorm */
  --radius: 26px;

  /* Typografie */
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;

  /* Animatie */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Basis
   -------------------------------------------------------------------------- */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bone);
  color: var(--black);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--black);
  text-decoration: none;
}

a:hover {
  color: #7a6500;
}

/* Zichtbare focus voor toetsenbordgebruikers. */
a:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Alleen leesbaar voor schermlezers. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Paginalayout
   -------------------------------------------------------------------------- */

.page {
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 72px) clamp(22px, 4vw, 64px) clamp(40px, 6vw, 80px);
}

/* Merkbalk bovenaan: logo links, tagline rechts. */
.brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: clamp(20px, 2.4vw, 28px);
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
  margin-bottom: clamp(30px, 4.6vw, 56px);
}

.brandbar img {
  height: clamp(24px, 2.6vw, 32px);
  width: auto;
  display: block;
}

.brandbar .tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(9px, 0.9vw, 11px);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mid);
  margin: 0;
}

/* Kop + introtekst naast elkaar. */
.top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(26px, 3.5vw, 48px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(9px, 0.9vw, 11px);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mid);
  margin: 0 0 clamp(14px, 1.6vw, 20px);
}

/* Geel streepje voor de eyebrow. */
.eyebrow i {
  width: clamp(20px, 2.4vw, 34px);
  height: 3px;
  background: var(--yellow);
  display: block;
  flex: none;
}

h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}

h1 mark {
  background: none;
  color: var(--yellow);
  white-space: nowrap;
  -webkit-text-stroke: 0.5px rgba(10, 10, 10, 0.18);
}

.lede {
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.62;
  color: var(--mid);
  margin: 0;
  padding-bottom: 0.35em;
  max-width: 52ch;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   4. Kaartenraster
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: clamp(14px, 1.6vw, 24px);
}

.card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-width: 0;
  isolation: isolate;
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
}

.card .kick {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(8.5px, 0.8vw, 10px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0 0 clamp(12px, 1.2vw, 16px);
  color: var(--mid);
}

.card h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(19px, 1.95vw, 29px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0;
}

.card p {
  font-size: clamp(13.5px, 1.1vw, 15.5px);
  line-height: 1.6;
  margin: 14px 0 0;
  text-wrap: pretty;
}

/* --- 4a. Witte kaart met countdown ---------------------------------------- */

.c-white {
  background: var(--paper);
  padding: clamp(26px, 2.4vw, 38px);
  display: flex;
  flex-direction: column;
  box-shadow:
    0 1px 0 rgba(10, 10, 10, 0.06),
    0 18px 40px -28px rgba(10, 10, 10, 0.28);
}

.c-white:hover {
  box-shadow:
    0 1px 0 rgba(10, 10, 10, 0.06),
    0 26px 50px -28px rgba(10, 10, 10, 0.34);
}

.c-white p {
  color: var(--mid);
}

.count {
  display: flex;
  margin-top: auto;
  padding-top: clamp(24px, 3vw, 40px);
  flex-wrap: wrap;
}

.count div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-right: clamp(16px, 1.9vw, 28px);
  margin-right: clamp(16px, 1.9vw, 28px);
  border-right: 1px solid rgba(10, 10, 10, 0.12);
}

.count div:last-child {
  border-right: 0;
  padding-right: 0;
  margin-right: 0;
}

.count b {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.count span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(8.5px, 0.82vw, 10px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
}

/* Zonder JavaScript blijft de teller op "—" staan; verberg hem dan. */
.no-js .count {
  display: none;
}

/* --- 4b. Gele kaart (contact + social) ------------------------------------ */

.c-yellow {
  background: var(--yellow);
  padding: clamp(26px, 2.4vw, 38px);
  display: flex;
  flex-direction: column;
}

/* Schuine accentstreep rechts in de kaart. */
.c-yellow::before {
  content: "";
  position: absolute;
  top: -12%;
  right: clamp(18px, 2.4vw, 34px);
  width: clamp(7px, 0.8vw, 12px);
  height: 124%;
  background: rgba(10, 10, 10, 0.1);
  transform: skewX(-11deg);
}

.c-yellow .kick {
  color: var(--on-yellow-soft);
}

.c-yellow p {
  color: var(--on-yellow-body);
  max-width: 34ch;
}

.c-yellow .mailto {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(14px, 1.3vw, 18px);
  letter-spacing: -0.01em;
  margin-top: 18px;
  display: inline-block;
  border-bottom: 2px solid rgba(10, 10, 10, 0.35);
  padding-bottom: 2px;
  width: fit-content;
}

.c-yellow .mailto:hover {
  border-bottom-color: var(--black);
  color: var(--black);
}

.social {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: clamp(22px, 2.6vw, 32px);
}

.social span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(8.5px, 0.8vw, 10px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--on-yellow-soft);
}

.social .links {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black);
  display: grid;
  place-items: center;
  transition:
    transform 0.3s var(--ease-out),
    background 0.3s ease;
}

.social a:hover {
  transform: translateY(-2px);
  background: #262009;
}

.social svg {
  width: 21px;
  height: 21px;
  fill: var(--yellow);
  display: block;
}

.badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: clamp(24px, 3vw, 40px);
}

.badge i {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--paper);
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 8px 20px -10px rgba(10, 10, 10, 0.45);
}

.badge i img {
  width: 26px;
  height: auto;
  display: block;
}

.badge b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* --- 4c. Fotokaarten ------------------------------------------------------ */

.c-photo {
  background: var(--black);
  min-height: clamp(240px, 26vw, 340px);
  display: flex;
  align-items: flex-end;
}

.c-photo .img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.08);
  transition:
    transform 1.1s var(--ease-out),
    filter 0.6s ease;
}

.c-photo:hover .img {
  transform: scale(1.045);
  filter: grayscale(0.55) contrast(1.08);
}

/* Donkere gradient zodat de tekst leesbaar blijft. */
.c-photo .sh {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(10, 10, 10, 0.9) 0%,
    rgba(10, 10, 10, 0.34) 46%,
    rgba(10, 10, 10, 0) 74%
  );
}

.c-photo .txt {
  position: relative;
  padding: clamp(24px, 2.2vw, 36px);
  color: #fff;
}

.c-photo .kick {
  color: var(--yellow);
}

.c-photo h2 {
  color: #fff;
}

.c-photo p {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 8px;
}

/* Achtergrondfoto's van de twee fotokaarten. */
.c-photo--kracht .img {
  background-image: url("../images/training-kracht.jpg");
}

.c-photo--conditie .img {
  background-image: url("../images/training-conditie.jpg");
}

/* --- 4d. Middenkolom: app-visual + slogan --------------------------------- */

.col-mid {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 24px);
  min-width: 0;
}

.c-app {
  background: #000;
  aspect-ratio: 1024 / 1536;
  flex: none;
}

.c-app .poster {
  position: absolute;
  inset: 0;
  background: url("../images/app-poster.png") center center / cover;
}

.c-slogan {
  background: var(--black);
  color: #fff;
  flex: 1;
  min-height: clamp(96px, 9vw, 150px);
  display: flex;
  align-items: center;
  padding: clamp(20px, 2vw, 32px);
}

/* Gele accentstreep rechts in de slogankaart. */
.c-slogan::before {
  content: "";
  position: absolute;
  top: -14%;
  right: clamp(16px, 2vw, 30px);
  width: clamp(6px, 0.7vw, 10px);
  height: 128%;
  background: var(--yellow);
  transform: skewX(-11deg);
}

.c-slogan b {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(20px, 2.1vw, 32px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 14ch;
}

.c-slogan b em {
  font-style: italic;
  color: var(--yellow);
}

/* --------------------------------------------------------------------------
   5. Footer
   -------------------------------------------------------------------------- */

footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 48px);
  flex-wrap: wrap;
  margin-top: clamp(28px, 4vw, 56px);
  padding-top: clamp(20px, 2.4vw, 30px);
  border-top: 1px solid rgba(10, 10, 10, 0.14);
}

.fblk {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fblk span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
}

.fblk a,
.fblk p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(13px, 1.2vw, 15px);
  letter-spacing: -0.01em;
  margin: 0;
}

.fslog {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(13px, 1.3vw, 17px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-align: right;
}

.fslog em {
  font-style: italic;
  background: var(--yellow);
  padding: 0 0.18em 0.04em;
}

/* --------------------------------------------------------------------------
   6. Responsive
   -------------------------------------------------------------------------- */

/* Tablet: twee kolommen, app-visual naar boven. */
@media (max-width: 1000px) {
  .top {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .c-app {
    grid-row: auto;
    grid-column: auto;
    order: -1;
  }

  .col-mid {
    grid-row: auto;
    grid-column: auto;
    order: -1;
  }

  .grid > .card:last-child {
    grid-column: span 2;
  }
}

/* Mobiel: alles onder elkaar. */
@media (max-width: 640px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .c-app {
    grid-column: auto;
    order: 0;
  }

  .col-mid {
    order: 0;
  }

  .grid > .card:last-child {
    grid-column: auto;
  }

  .fslog {
    text-align: left;
  }

  footer {
    align-items: flex-start;
  }
}

/* Respecteer de systeemvoorkeur voor minder beweging. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .card:hover {
    transform: none;
  }

  .c-photo:hover .img {
    transform: none;
  }
}
