:root{
  --bg:#E6F3FA;
  --card:#ffffff;
  --text:#1f2933;
  --muted:#5b6b7c;
  --line:#c9d8e6;
  --accent:#1f3a5f;
}



/* ---------- Reset ---------- */

*{ box-sizing:border-box; }
html{ overflow-y:scroll; }

body{
  margin:0;
  background:var(--bg);
  color:var(--accent);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  font-size:18px;
  line-height:1.75;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}



/* ---------- Container ---------- */

.container{
  width:100%;
  max-width:1050px;
  margin:0 auto;
  padding:0 24px;
}



/* ---------- Header / Footer ---------- */

header{
  border-bottom:1px solid var(--line);
  padding:16px 0;
}

footer{
  border-top:1px solid var(--line);
  margin-top:auto;
}

.footer-inner{
  max-width:1050px;
  margin:0 auto;
  padding:8px 18px 8px;
  text-align:left;
}

.footer-text{
  font-size:12px;
  color:var(--muted);
  letter-spacing:0.2px;
}

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



/* ---------- Navigation ---------- */

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
}

nav{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:16px;
}

nav a + a::before{
  content:"|";
  margin-right:16px;
}



/* ----------  LOGO LAYOUT  ---------- */

.main-layout{
  display:grid;
  grid-template-columns: minmax(0, 700px) 260px;
  gap:0px;
  padding-top:25px;
  align-items:start;

  /* nieuw */
  margin-left:auto;
  margin-right:auto;
  transform: translateX(0px);                          /* meer naar rechts = hoger getal */

}

.logo-side{
  display:flex;
  justify-content:flex-start;                          /* maximaal links in de logokolom */
  align-items:flex-start;
  padding-left:0;                                      /* startpunt = strak links */
  padding-top:0;                                       /* verticaal bijstellen */
}

.logo-side:focus-visible{
  outline:2px solid var(--line);
  outline-offset:4px;
}

.site-logo{
  width:220px;
  height:auto;
  display:block;
  margin-top:-68px;                                    /* jouw verticale afstelling */
}



/* ----------  Responsive  ----------*/

@media (max-width:1024px){
  .main-layout{
    grid-template-columns:1fr;
  }
  .logo-side{
    display:none;
  }
  .content{
    max-width:100%;
  }
}

@media (max-width:1024px){

  nav{
    display:flex;
    align-items:flex-end;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    gap: 12px;
  }

  nav a{
    display:flex;                                        /* tekst zelf ook centreren */
    align-items:flex-end;
    flex: 0 0 auto;
    margin-right: 0;
    font-size: 15px;
    line-height:1,2;                                       /* voorkomt zakken */
  }

}



/* ----------  Mobile logo (inline next to Home) ---------- */
.mobile-logo{
  display:none;
}

@media (max-width:1024px){
  .mobile-logo{
    display:inline-flex;
    align-items:center;
  }

  .mobile-logo img{
    width:36px;
    height:auto;
    display:block;
    margin-right:0px;
  }
}



  /* ----------  nav blijft 1 regel en scrollbaar ---------- */
  nav{
    width:100%;
  }


/* ---------- Typography ---------- */

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

a:hover{
  text-decoration:underline;
}

h1,h2,h3{
  line-height:1.2;
  margin:0 0 16px 0;
  color:var(--accent);
}

p{
  margin:0 0 18px 0;
}

small,
.muted{
  color:var(--muted);
}



/* ----------  Contact  ---------- */

.contact-email{
  margin:22px 0;
  padding:14px 18px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:12px;
  display:inline-block;
}

.contact-email a{
  text-decoration:none;
  font-weight:500;
}



/* ---------- Cards ---------- */

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:14px;
  padding:18px;
  display:flex;
  flex-direction:column;
  height:100%;
}



/* ---------- boekknoppen in cards ----------- */

.book-actions{
  display:flex;
  gap:10px;
  justify-content:center;
  margin-top:12px;
}

.btn-buy{
  background:#fff;
  border:1px solid var(--line);
}



/* ----------  Grid  ---------- */ 

.grid{
  display:grid;
  column-gap:8px;
  row-gap:40px;                                     /* afstand tussen de twee regels */
  align-items:stretch;
  justify-items:center;                              /* centreert inhoud in de cellen */
}

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

@media (max-width:700px){
  .grid-2{
    grid-template-columns:1fr;
  }
}


/* ---------- Hero sectie ---------- */

.hero{
  text-align:center;
}

.hero-home{                                               /* Homepage hero (alleen op /) */
  margin-top:60px;
}

.hero-home h1{
  margin:0 0 14px;
  line-height:1.12;
}

.hero-home p{
  margin:0;
  line-height:1.55;
}

.hero-home p + p{
  margin-top:10px;
}

@media (min-width:860px){
  .grid-2{
    grid-template-columns:1fr 1fr;
    --g:8px;                                                /* kleiner als je wilt */
  }

  .grid-center{
    grid-column:1 / -1;
    width:calc((100% - var(--g)) / 2);                      /* exact 1 kolom breed */
    justify-self:center;                                    /* perfect in het midden */
  }

  .grid-center .btn{
    display:block;
    width:50%;
    text-align:center;
  }

  .home-cta .btn{
    width:220px;
    display:inline-flex;
    justify-content:center;
    text-align:center;
  }

  .home-cta > div{
    display:flex;
    justify-content:center;
  }

  .home-cta .grid-center{
    grid-column:1 / -1;
  }
}


/* ---------- Buttons ---------- */

.btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:var(--card);
  text-align:center;
}

.btn:hover{
  border-color:#cbd5e1;
  text-decoration:none;
}

.card .btn{
  align-self:center;
}



/* ---------- knoppen onder boeken ---------- */

.book-actions{
  display:flex;
  gap:10px;
  justify-content:center;
  margin-top:12px;
}

.book-actions .btn{
  width:140px;
}


/* ---------- Badges ---------- */

.badge{
  display:inline-block;
  font-size:12px;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  color:var(--muted);
  background:rgba(255,255,255,.7);
  white-space:nowrap;
}

.badge.free{
  border-color: rgba(14,165,233,.35);
}

.badge.paid{
  border-color: rgba(37,99,235,.35);
}



/* ---------- Page Helpers ---------- */

.back-link{ margin:0 0 18px 0; }
.section-title{ margin-top:50px; }
.section-cta{ margin-top:50px; }

.list-intro{
  margin-top:30px;
  margin-bottom:6px;
}

.feature-list{
  margin-top:6px;
  margin-bottom:30px;
  padding-left:18px;
}

.feature-list li{
  margin:0 0 10px 0;
}



/* ---------- Downloads ---------- */

.downloads-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  margin-top:24px;
  align-items:stretch;
}

@media (min-width:860px){
  .downloads-grid{
    grid-template-columns:1fr 1fr;
    gap:48px;
  }
}

.downloads-list{
  margin:0;
  padding:0;
  list-style:none;
}

.downloads-list li{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 10px 0;
  width:100%;
}

.downloads-list li > :first-child{
  flex:1;
  min-width:0;
}

.downloads-list li > :last-child{
  margin-left:auto;
  flex:0 0 auto;
}

.downloads-list li a{
  text-decoration:none;
  display:inline-flex;
}

.downloads-list .badge{
  white-space:nowrap;
}



/* ---------- Book details ---------- */

.model-line{
  margin-top:10px;
  font-weight:500;
}



/* ---------- Kennismaking ---------- */

.pillars-grid{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:16px;
  align-items:stretch;
}

.pillars-grid li{
  display:flex;
}

.pillars-grid .btn{
  width:38%;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  min-height:56px;
}