/* ==========================================================
   Nienke van Langeveld — gedeelde stylesheet
   Kleuren, fonts en structuur zoals vastgelegd in de Projectbrief.
   ========================================================== */

:root{
  --petrol:#022127;
  --teal:#04768A;
  --goud:#E09900;
  --creme:#FDF3DE;
  --wit:#FFFFFF;
  --grijs:#6B6B6B;
  --grijs-licht:#E7DFC9;

  --font-display:'Fraunces', Georgia, serif;
  --font-body:'Inter', system-ui, -apple-system, sans-serif;

  --max-width:1080px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--creme);
  color:var(--petrol);
  font-family:var(--font-body);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.15;
  margin:0 0 .5em;
  color:var(--petrol);
}
h1{font-size:clamp(2rem, 3.2vw, 2.6rem);}
h2{font-size:clamp(1.5rem, 3vw, 2rem);}
h3{font-size:1.15rem;}

p{margin:0 0 1.1em; max-width:65ch;}
a{color:var(--teal);}
a:focus-visible, button:focus-visible, [tabindex]:focus-visible{
  outline:2px solid var(--goud);
  outline-offset:3px;
}

img{max-width:100%; display:block;}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.001ms !important; transition-duration:0.001ms !important;}
}

/* ---------- layout helpers ---------- */
.wrap{
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 1.5rem;
}
.section{padding-top:4.5rem; padding-bottom:4.5rem;}
.section--tight{padding-top:2.5rem; padding-bottom:2.5rem;}

/* ---------- header / nav ---------- */
.site-header{
  position:sticky; top:0; z-index:20;
  background:rgba(253,243,222,0.94);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--grijs-licht);
}
.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:.9rem; padding-bottom:.9rem;
}
.brand{
  display:flex; align-items:center; gap:.6rem;
  text-decoration:none; color:var(--petrol);
}
.brand-mark{
  width:30px; height:30px; border-radius:50%;
  object-fit:cover;
}
.brand-mark-fallback{
  width:30px; height:30px; border-radius:50%;
  background:var(--petrol); color:var(--creme);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-size:.8rem; font-weight:600;
}
.brand-name{
  font-family:var(--font-display); font-weight:600; font-size:1.05rem;
}

.nav-toggle{
  display:none;
  background:none; border:1px solid var(--petrol); border-radius:4px;
  width:40px; height:36px; cursor:pointer;
  position:relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; position:absolute; left:9px; right:9px; height:2px;
  background:var(--petrol); transition:transform .2s ease, opacity .2s ease;
}
.nav-toggle span{top:17px;}
.nav-toggle span::before{top:-7px;}
.nav-toggle span::after{top:7px;}
.nav-toggle[aria-expanded="true"] span{background:transparent;}
.nav-toggle[aria-expanded="true"] span::before{transform:translateY(7px) rotate(45deg);}
.nav-toggle[aria-expanded="true"] span::after{transform:translateY(-7px) rotate(-45deg);}

.site-nav ul{
  list-style:none; display:flex; gap:1.75rem;
  margin:0; padding:0;
}
.site-nav a{
  text-decoration:none; color:var(--petrol);
  font-size:.95rem; font-weight:500;
  padding:.25rem 0; border-bottom:2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"]{
  border-bottom-color:var(--goud);
}

@media (max-width:780px){
  .nav-toggle{display:block;}
  .site-nav{
    position:absolute; top:100%; left:0; right:0;
    background:var(--creme);
    border-bottom:1px solid var(--grijs-licht);
    max-height:0; overflow:hidden;
    transition:max-height .25s ease;
  }
  .site-nav.is-open{max-height:320px;}
  .site-nav ul{flex-direction:column; gap:0; padding:.5rem 1.5rem 1.25rem;}
  .site-nav li{border-top:1px solid var(--grijs-licht);}
  .site-nav a{display:block; padding:.85rem 0;}
}

/* ---------- buttons ---------- */
.btn{
  display:inline-block;
  font-family:var(--font-body); font-weight:600; font-size:.95rem;
  padding:.8rem 1.5rem;
  border-radius:3px;
  text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
}
.btn-primary{background:var(--goud); color:var(--petrol);}
.btn-primary:hover{background:#c98a00;}
.btn-outline{background:transparent; color:var(--petrol); border-color:var(--petrol);}
.btn-outline:hover{background:var(--petrol); color:var(--creme);}

/* ---------- hero (home) — leidt met de brede positionering ---------- */
.hero{
  padding-top:4rem; padding-bottom:2.5rem;
}
.hero h1, .hero p.lead{max-width:760px;}
.hero h1{font-size:clamp(1.9rem, 3.6vw, 2.5rem);}
.hero p.lead{font-size:1.1rem; color:var(--petrol);}
.hero-actions{margin-top:1.5rem;}

/* ---------- twee kerndiensten (direct na de hero) ---------- */
.core-services{
  display:grid; gap:1.75rem;
  grid-template-columns:1fr 1fr;
}
@media (max-width:760px){ .core-services{grid-template-columns:1fr;} }
.core-service{
  background:var(--wit);
  border:1px solid var(--grijs-licht);
  border-radius:6px;
  padding:1.9rem;
  display:block;
  text-decoration:none;
  color:var(--petrol);
  transition:border-color .15s ease, transform .15s ease;
}
.core-service:hover{border-color:var(--teal); transform:translateY(-2px);}
.core-service h3{margin-bottom:.6rem; text-decoration:none;}
.core-service p{color:var(--grijs); font-size:1.02rem;}
.core-service .teaser-link{font-size:.98rem; font-weight:600; color:var(--teal); text-decoration:none;}

/* ---------- AI-geletterdheid bewijssectie (gedemoot t.o.v. de hero) ---------- */
.proof-section{
  background:var(--wit);
  border-top:1px solid var(--grijs-licht);
  border-bottom:1px solid var(--grijs-licht);
  padding:3.5rem 0;
}
.proof-grid{
  display:grid; gap:2.5rem;
  grid-template-columns:1fr 1fr;
  align-items:center;
}
@media (max-width:860px){ .proof-grid{grid-template-columns:1fr;} }
.proof-tag{
  font-family:var(--font-body); font-size:.78rem; font-weight:600;
  letter-spacing:.03em; color:var(--teal); margin-bottom:.5rem;
}
.proof-grid h2{font-size:1.35rem; margin-bottom:.6rem;}

/* ---------- lichte doorverwijzingen (geen kaartjes) ---------- */
.light-links{
  display:grid; gap:1.5rem;
  grid-template-columns:1fr 1fr;
}
@media (max-width:600px){ .light-links{grid-template-columns:1fr;} }
.light-link{
  text-decoration:none; color:var(--petrol);
  padding-bottom:.5rem; border-bottom:1px solid var(--grijs-licht);
}
.light-link h3{font-size:1.1rem; margin-bottom:.3rem;}
.light-link p{font-size:1rem; color:var(--grijs); margin-bottom:.4rem;}
.light-link .teaser-link{font-size:.92rem; font-weight:600; color:var(--teal);}

/* ---------- flip dilemma card ---------- */
.flip-card{
  perspective:1200px;
  width:100%;
  max-width:380px;
  aspect-ratio:4/5;
  margin:0 auto;
}
.flip-card-inner{
  position:relative; width:100%; height:100%;
  transform-style:preserve-3d;
  transition:transform .6s cubic-bezier(.4,.2,.2,1);
  cursor:pointer;
  border-radius:10px;
  box-shadow:0 18px 40px rgba(2,33,39,0.18);
}
.flip-card.is-flipped .flip-card-inner{transform:rotateY(180deg);}
.flip-face{
  position:absolute; inset:0;
  -webkit-backface-visibility:hidden; backface-visibility:hidden;
  border-radius:10px;
  padding:1.9rem;
  display:flex; flex-direction:column; justify-content:space-between;
}
.flip-front{background:var(--petrol); color:var(--creme);}
.flip-back{background:var(--wit); color:var(--petrol); transform:rotateY(180deg); border:1px solid var(--grijs-licht);}
.flip-tag{
  font-size:.75rem; letter-spacing:.04em; font-weight:600;
  color:var(--goud); margin-bottom:1rem;
}
.flip-face p{margin-bottom:0; max-width:none;}
.flip-hint{font-size:.78rem; color:var(--grijs);}
.flip-back .flip-hint{margin-top:1rem;}
.flip-back a{font-weight:600;}

/* ---------- dilemma card (voorkant / achterkant, klik om te wisselen) ---------- */
.dilemma-card{
  margin:1.5rem 0;
  cursor:pointer;
}
.dilemma-face{
  border-radius:6px;
  padding:1.6rem 1.75rem;
  border:1px solid var(--grijs-licht);
  border-left:3px solid var(--goud);
  transition:border-color .15s ease;
}
.dilemma-card:hover .dilemma-face{border-left-color:#c98a00;}
.dilemma-face--front{background:var(--creme);}
.dilemma-face--back{background:var(--wit); border-left-color:var(--teal);}
.dilemma-card:hover .dilemma-face--back{border-left-color:#035a68;}
.dilemma-face h4{margin:0 0 .7rem; font-family:var(--font-display); color:var(--petrol);}
.dilemma-face p{color:var(--petrol);}
.dilemma-face .flip-tag{font-size:.75rem; letter-spacing:.04em; font-weight:600; color:var(--goud); margin-bottom:1rem;}
.dilemma-face--back .flip-tag{color:var(--teal);}
.dilemma-face .flip-hint{font-size:.78rem; margin-top:1.4rem; color:var(--grijs);}
.dilemma-face--back .bullet-list{font-size:.92rem; color:var(--petrol);}
.dilemma-face--back .bullet-list li{margin-bottom:.55rem;}
.dilemma-face--back a{font-weight:600;}

/* ---------- teaser grid ---------- */
.teaser-grid{
  display:grid; gap:1.5rem;
  grid-template-columns:repeat(4, 1fr);
}
@media (max-width:900px){ .teaser-grid{grid-template-columns:repeat(2, 1fr);} }
@media (max-width:560px){ .teaser-grid{grid-template-columns:1fr;} }
.teaser-card{
  background:var(--wit);
  border:1px solid var(--grijs-licht);
  border-radius:6px;
  padding:1.6rem;
  text-decoration:none; color:var(--petrol);
  display:flex; flex-direction:column; gap:.6rem;
  transition:border-color .15s ease, transform .15s ease;
}
.teaser-card:hover{border-color:var(--teal); transform:translateY(-2px);}
.teaser-card h3{margin-bottom:0;}
.teaser-card p{font-size:.92rem; color:var(--grijs); margin-bottom:0;}
.teaser-card .teaser-link{font-size:.85rem; font-weight:600; color:var(--teal);}

/* ---------- page header (subpages) ---------- */
.page-header{
  padding-top:3rem; padding-bottom:1rem;
  border-bottom:1px solid var(--grijs-licht);
  margin-bottom:2.5rem;
}
.page-header .lead{font-size:1.08rem;}

/* ---------- content blocks ---------- */
.block{margin-bottom:2.5rem;}
.method-list{list-style:none; margin:0; padding:0;}
.method-list li{
  padding:1rem 0; border-top:1px solid var(--grijs-licht);
  font-size:1.02rem;
}
.method-list li:last-child{border-bottom:1px solid var(--grijs-licht);}
.method-list strong{font-family:var(--font-display); font-weight:600;}

.bullet-list{padding-left:1.2rem; font-size:1.02rem;}
.bullet-list li{margin-bottom:.5rem;}

.note-box{
  background:var(--wit);
  border-left:3px solid var(--goud);
  padding:1rem 1.25rem;
  font-size:1.02rem;
}

.testimonial-placeholder{
  background:var(--wit);
  border:1px dashed var(--grijs);
  border-radius:6px;
  padding:2rem;
  color:var(--grijs);
  font-style:italic;
}

/* ---------- tools page cards ---------- */
.tool-card{
  background:var(--wit);
  border:1px solid var(--grijs-licht);
  border-radius:6px;
  padding:1.75rem;
  margin-bottom:1.5rem;
}
.tool-card h3{margin-bottom:.5rem;}
.tool-card .tool-note{font-size:.85rem; color:var(--grijs); margin-top:.5rem;}

.tool-card--demo{
  display:grid; gap:2rem;
  grid-template-columns:1.2fr 1fr;
  align-items:center;
}
@media (max-width:720px){ .tool-card--demo{grid-template-columns:1fr;} }
.tool-card--demo .flip-card{max-width:300px; margin:0 auto;}

/* ---------- values list (over mij) ---------- */
.values-grid{
  display:grid; gap:1.25rem;
  grid-template-columns:repeat(2, 1fr);
  margin-top:1.5rem;
}
@media (max-width:600px){ .values-grid{grid-template-columns:1fr;} }
.value-item strong{display:block; margin-bottom:.25rem; font-family:var(--font-display);}
.value-item p{font-size:1.02rem; color:var(--grijs); margin-bottom:0;}

/* ---------- footer ---------- */
.site-footer{
  background:var(--petrol); color:var(--creme);
  padding:2.5rem 0;
  margin-top:4rem;
}
.site-footer .wrap{
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:1rem;
  font-size:.85rem;
}
.site-footer a{color:var(--creme); opacity:.85;}
.site-footer a:hover{opacity:1;}
.footer-links{display:flex; gap:1.25rem; flex-wrap:wrap;}
.footer-meta{opacity:.7;}
.footer-disclosure{
  width:100%;
  margin-top:1.25rem;
  padding-top:1.25rem;
  border-top:1px solid rgba(253,243,222,0.15);
  font-size:.78rem;
  opacity:.6;
}

/* ---------- contact form (over mij) ---------- */
.form-row{margin-bottom:1.1rem; max-width:420px;}
.form-row label{
  display:block; font-size:.85rem; font-weight:600; color:var(--petrol); margin-bottom:.35rem;
}
.form-row input, .form-row textarea{
  width:100%; font-family:var(--font-body); font-size:.95rem;
  padding:.6rem .7rem; border:1px solid var(--grijs-licht); border-radius:3px;
  background:var(--wit); color:var(--petrol);
}
.form-row input:focus, .form-row textarea:focus{
  outline:2px solid var(--goud); outline-offset:1px; border-color:var(--teal);
}

/* ---------- juridische pagina's ---------- */
.legal h2{font-size:1.2rem; margin-top:2rem;}
.legal p, .legal li{font-size:1rem;}
.legal ol, .legal ul{padding-left:1.3rem; max-width:65ch;}
.legal li{margin-bottom:.4rem;}
