@import url('https://fonts.googleapis.com/css2?family=Jura:wght@400;500;600;700&display=swap');

:root{
  --km-dark:#3f455f;
  --km-main:#4b526f;
  --km-soft:#949bb7;
  --km-bg1:#d8dceb;
  --km-bg2:#c7ccdf;
  --km-white:rgba(255,255,255,.92);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  min-height:100vh;
  padding:32px 20px 60px;

  font-family:'Jura',sans-serif;
  color:var(--km-dark);

  background:
    linear-gradient(
      rgba(62,65,71,.47),
      rgba(62,65,71,.47)
    ),
    url("https://api.krakkemat.be/media/algemeen/krakkemat-achtergrond.jpg")
    center center / cover fixed no-repeat;

  background-color:#3e4147;
}


/* ==================================================
PAGINA
================================================== */

.km-guide{
  width:100%;
  max-width:1180px;
  margin:0 auto;
}


/* ==================================================
HEADER
================================================== */

.km-guide-header{
  position:relative;

  margin-bottom:30px;
  padding:28px 28px 30px;

  text-align:center;

  border:1px solid rgba(75,82,111,.10);
  border-radius:22px;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(255,255,255,.55),
      transparent 48%
    ),
    linear-gradient(
      135deg,
      rgba(216,220,235,.78),
      rgba(199,204,223,.72)
    );

  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.55),
    0 10px 24px rgba(63,69,95,.08);
}

.km-guide-back{
  position:absolute;
  top:22px;
  left:22px;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-height:42px;
  padding:0 18px;

  border:1px solid rgba(75,82,111,.16);
  border-radius:999px;

  font-size:14px;
  font-weight:700;

  color:var(--km-main);
  text-decoration:none;

  background:rgba(255,255,255,.30);

  transition:
    background .15s ease,
    transform .15s ease;
}

.km-guide-back:hover{
  background:rgba(255,255,255,.48);
  transform:translateY(-1px);
}

.km-guide-brand{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  margin:0 0 10px;

  text-decoration:none;
}

.km-guide-logo{
  display:block;
  width:72px;
  height:72px;

  object-fit:contain;
  opacity:.94;

  transition:
    transform .15s ease,
    opacity .15s ease;
}

.km-guide-brand:hover .km-guide-logo{
  transform:translateY(-1px);
  opacity:1;
}

.km-guide-header h1{
  margin:0;

  font-size:34px;
  line-height:1.1;
  font-weight:700;
  letter-spacing:.05em;

  color:var(--km-dark);
}

.km-guide-header > p{
  margin:10px 0 0;

  font-size:14px;
  line-height:1.5;
  font-weight:500;

  color:var(--km-main);
}

.km-guide-divider{
  width:130px;
  height:1px;

  margin:20px auto 0;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(75,82,111,.30),
      transparent
    );
}


/* ==================================================
INHOUDSTAFEL
================================================== */

.km-guide-nav{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;

  margin-bottom:54px;
}

.km-guide-nav-card{
  display:flex;
  align-items:center;
  gap:16px;

  min-height:116px;
  padding:20px;

  border:1px solid rgba(255,255,255,.58);
  border-radius:18px;

  color:var(--km-main);
  text-decoration:none;

  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(255,255,255,.48),
      transparent 45%
    ),
    linear-gradient(
      145deg,
      rgba(216,220,235,.92),
      rgba(199,204,223,.82)
    );

  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.62),
    0 8px 18px rgba(63,69,95,.09);

  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background .15s ease;
}

.km-guide-nav-card:hover{
  transform:translateY(-2px);

  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(255,255,255,.60),
      transparent 45%
    ),
    linear-gradient(
      145deg,
      rgba(216,220,235,.98),
      rgba(199,204,223,.88)
    );

  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.68),
    0 12px 22px rgba(63,69,95,.13);
}

.km-guide-nav-number{
  flex:0 0 42px;

  display:flex;
  align-items:center;
  justify-content:center;

  width:42px;
  height:42px;

  border-radius:50%;

  font-size:15px;
  font-weight:700;

  color:#fff;

  background:
    linear-gradient(
      135deg,
      var(--km-main),
      var(--km-dark)
    );

  box-shadow:
    0 6px 14px rgba(63,69,95,.16);
}

.km-guide-nav-card > div{
  min-width:0;
}

.km-guide-nav-card h2{
  margin:0 0 6px;

  font-size:18px;
  line-height:1.25;
  font-weight:700;
  letter-spacing:.025em;

  color:var(--km-dark);
}

.km-guide-nav-card p{
  margin:0;

  font-size:13px;
  line-height:1.5;
  font-weight:500;

  color:var(--km-main);
}


/* ==================================================
HOOFDSTUK
================================================== */

.km-guide-section{
  scroll-margin-top:24px;

  margin:0 0 32px;
  padding:28px;

  border:1px solid rgba(75,82,111,.10);
  border-radius:22px;

  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(255,255,255,.42),
      transparent 40%
    ),
    linear-gradient(
      135deg,
      rgba(216,220,235,.82),
      rgba(199,204,223,.72)
    );

  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.58),
    0 10px 24px rgba(63,69,95,.08);
}

.km-guide-section-header{
  display:flex;
  align-items:center;
  gap:16px;

  padding-bottom:22px;
  margin-bottom:22px;

  border-bottom:1px solid rgba(75,82,111,.12);
}

.km-guide-section-number{
  flex:0 0 44px;

  display:flex;
  align-items:center;
  justify-content:center;

  width:44px;
  height:44px;

  border-radius:50%;

  font-size:16px;
  font-weight:700;

  color:#fff;

  background:
    linear-gradient(
      135deg,
      var(--km-main),
      var(--km-dark)
    );

  box-shadow:
    0 6px 14px rgba(63,69,95,.16);
}

.km-guide-section-header > div{
  min-width:0;
}

.km-guide-section-header h2{
  margin:0 0 4px;

  font-size:27px;
  line-height:1.2;
  font-weight:700;
  letter-spacing:.04em;

  color:var(--km-dark);
}

.km-guide-section-header p{
  margin:0;

  font-size:14px;
  line-height:1.5;
  font-weight:500;

  color:var(--km-main);
}


/* ==================================================
INFORMATIEKAART
================================================== */

.km-guide-card{
  scroll-margin-top:24px;

  margin-top:16px;
  padding:24px 26px;

  border:1px solid rgba(255,255,255,.56);
  border-radius:18px;

  background:rgba(255,255,255,.28);

  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.55),
    0 5px 12px rgba(63,69,95,.05);
}

.km-guide-card:first-of-type{
  margin-top:0;
}

.km-guide-card h3{
  margin:0 0 12px;

  font-size:21px;
  line-height:1.25;
  font-weight:700;
  letter-spacing:.03em;

  color:var(--km-dark);
}

.km-guide-card > p{
  max-width:920px;
  margin:0 0 14px;

  font-size:15px;
  line-height:1.65;
  font-weight:500;

  color:var(--km-main);
}

.km-guide-card h4{
  margin:22px 0 10px;

  font-size:15px;
  line-height:1.3;
  font-weight:700;
  letter-spacing:.025em;

  color:var(--km-dark);
}

.km-guide-card ul{
  max-width:960px;

  margin:0;
  padding-left:22px;
}

.km-guide-card li{
  margin:0 0 12px;
  padding-left:3px;

  font-size:15px;
  line-height:1.65;
  font-weight:500;

  color:var(--km-main);
}

.km-guide-card li:last-child{
  margin-bottom:0;
}

.km-guide-card strong{
  font-weight:700;
  color:var(--km-dark);
}


/* ==================================================
OPVALLENDE INFO
================================================== */

.km-guide-notice{
  max-width:940px;

  margin:0 0 20px;
  padding:16px 18px;

  border:1px solid rgba(75,82,111,.12);
  border-left:4px solid var(--km-main);
  border-radius:14px;

  background:rgba(255,255,255,.38);

  color:var(--km-main);
}

.km-guide-notice > strong{
  display:block;
  margin-bottom:5px;

  font-size:15px;
  color:var(--km-dark);
}

.km-guide-notice p{
  margin:0;

  font-size:14px;
  line-height:1.6;
  font-weight:500;
}

.km-guide-notice-save{
  margin-top:20px;
  margin-bottom:0;
}


/* ==================================================
PAIRING — 3 FASES
================================================== */

.km-guide-steps{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;

  margin-top:18px;
}

.km-guide-step{
  display:flex;
  align-items:flex-start;
  gap:13px;

  padding:18px;

  border:1px solid rgba(75,82,111,.09);
  border-radius:15px;

  background:rgba(255,255,255,.30);
}

.km-guide-step > span{
  flex:0 0 32px;

  display:flex;
  align-items:center;
  justify-content:center;

  width:32px;
  height:32px;

  border-radius:50%;

  font-size:13px;
  font-weight:700;

  color:#fff;
  background:var(--km-main);
}

.km-guide-step > div{
  min-width:0;
}

.km-guide-step h4{
  margin:2px 0 6px;

  font-size:15px;
}

.km-guide-step p{
  margin:0;

  font-size:13px;
  line-height:1.55;
  font-weight:500;

  color:var(--km-main);
}


/* ==================================================
FOOTER
================================================== */

.km-guide-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;

  margin-top:34px;
}

.km-guide-footer a{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-height:42px;
  padding:0 18px;

  border:1px solid rgba(75,82,111,.14);
  border-radius:999px;

  font-size:13px;
  font-weight:700;

  color:var(--km-main);
  text-decoration:none;

  background:rgba(216,220,235,.72);

  transition:
    transform .15s ease,
    background .15s ease;
}

.km-guide-footer a:hover{
  transform:translateY(-1px);
  background:rgba(216,220,235,.96);
}


/* ==================================================
TABLET
================================================== */

@media screen and (max-width:900px){

body{
  padding:14px 10px 36px;
  background-attachment:scroll;
}

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

  .km-guide-steps{
    grid-template-columns:1fr;
  }

}


/* ==================================================
MOBIEL
================================================== */

@media screen and (max-width:680px){

  body{
    padding:14px 10px 36px;
  }

  .km-guide-header{
    padding:74px 18px 26px;
  }

  .km-guide-back{
    top:18px;
    left:18px;
  }

  .km-guide-logo{
    width:64px;
    height:64px;
  }

  .km-guide-header h1{
    font-size:30px;
  }

  .km-guide-nav{
    grid-template-columns:1fr;
    gap:12px;
    margin-bottom:38px;
  }

  .km-guide-nav-card{
    min-height:96px;
    padding:16px;
  }

  .km-guide-section{
    padding:20px 14px;
    border-radius:18px;
  }

  .km-guide-section-header{
    align-items:flex-start;
    gap:12px;
  }

  .km-guide-section-header h2{
    font-size:22px;
  }

  .km-guide-card{
    padding:20px 17px;
    border-radius:15px;
  }

  .km-guide-card h3{
    font-size:19px;
  }

  .km-guide-card > p,
  .km-guide-card li{
    font-size:14px;
  }

  .km-guide-footer{
    flex-direction:column;
  }

  .km-guide-footer a{
    width:100%;
  }

}