@import url('https://fonts.googleapis.com/css2?family=Vollkorn:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* ------------------------------ */
/* ALGEMEEN                       */
/* ------------------------------ */
*:not(input):not(textarea) {
  caret-color: transparent;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-size: 20px;
  margin: 0;
  max-width: 100%;
  scroll-behavior: smooth;
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;  /* geen horizontale scroll */
  overflow-y: auto;    /* normale verticale scroll */
}



/* ------------------------------ */
/* TITELS                         */
/* ------------------------------ */
h1 {
  font-family: "Vollkorn", serif;
  font-weight: 900;
  padding-top: 8px;
  font-size: 40px;
  margin: 0 0 12px 0;
  color: #2F2F2F;
}

h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: 300;
  padding: 0;
  margin: 0 0 12px 0;
  color: #2F2F2F;
}

h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 300;
  padding: 0;
  margin: 0 0 4px 0;
  color: #2F2F2F;
}

h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #2F2F2F;
}

p {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  padding: 0;
  margin: 0px 0 16px 0;
  color: #2F2F2F;
}

/* ------------------------------ */
/* BUTTONS                        */
/* ------------------------------ */
button {
  font-family: "Montserrat", sans-serif;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 24px;
  border: none;
  font-weight: 400;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-position 0.5s ease, filter 0.3s ease;
  color: white;
}

.primary-btn {
  background: linear-gradient(45deg, #E6723A, #F0996F);
  background-size: 200% 200%;
  height: 40px;
  width: auto !important;
}

.primary-btn:hover {
  background-position: right bottom;
  filter: brightness(1.05);
}

.secondary-btn {
  background: none;
  color: #E6723A;
  border: 1px solid #E6723A;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  width: auto;             
  padding: 0.4rem 0.8rem;  
  align-self: center;      
  display: inline-flex;    
}

.secondary-btn:hover {
  background: linear-gradient(45deg, rgba(230,114,58,0.08), rgba(240,153,111,0.08));
  color: #E6723A;
}

/* Stijl de terug-knop als secondary button */
a.terugKnop.terug {
  font-family: "Montserrat", sans-serif;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 24px;
  border: 1px solid #E6723A;
  background: none;
  color: #E6723A;
  font-size: 0.85rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, filter 0.3s ease;
}

a.terugKnop.terug:hover {
  background: linear-gradient(45deg, rgba(230,114,58,0.08), rgba(240,153,111,0.08));
  color: #E6723A;
}




/* ------------------------------ */
/* NAVBAR                         */
/* ------------------------------ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  max-width: 1408px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.logo {
  font-weight: 900;
  font-family: "Vollkorn", serif;
  font-size: 1.5rem;
  pointer-events: none;
  user-select: none;
  position: relative;
  display: inline-block;
}

.logo::after {
  content: '';
  position: absolute;
  left: -0.2em;
  right: -0.2em;
  bottom: 0.12em;
  height: 35%;
  background-color: #FFD9C4;
  z-index: -1;
  border-radius: 2px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #5B5A5A;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: -0.1em;
  right: -0.1em;
  bottom: 0.10em;
  height: 20%;
  background-color: #FFC9AC;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: #2F2F2F;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  color: #2f2f2f;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.3s ease;
}

.hamburger:hover {
  color: #F0996F;
}

.nav-toggle {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

/* ------------------------------ */
/* HERO                           */
/* ------------------------------ */
.hero {
  display: flex;
  justify-content: center;  
  align-items: center;      
  max-width: 1408px;        
  width: 100%;
 height: auto;                  /* hoogte volgt content */
  min-height: calc(100vh - 160px); /* minimaal zoals het eerst was */  margin: 0 auto;           
  padding: 0 32px;          
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.2rem;
  width: 100%;
  max-width: 1408px;
  margin: 0 auto;
}

.hero-text {
  display: flex;
  flex-direction: column;   
  justify-content: center;  
  align-items: flex-start;  
  text-align: left;         
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;             
}

.hero-text p {
  padding: 16px 0;
}

.hero-text h1 {
  font-family: "Vollkorn", serif;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 16px 0;
  white-space: nowrap;
  position: relative;
  display: inline-block;
  overflow: visible;
  padding-left: 0.15em;    
  padding-right: 0.15em;
}

.hero-text h1::after {
  content: '';
  position: absolute;
  left: -0.15em;
  right: -0.15em;
  bottom: 0.05em;
  height: 30%;
  background-color: #FFD9C4;
  z-index: -1;
}

.hero-img {
  flex: 0 0 40%; 
  position: relative;
  min-width: 200px;  
  display: inline-block;
  padding-left: 80px; 
}

.hero-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* DECORATIVE BLOCKS */
.decor-block {
  position: absolute;
}

.decor-block.geel {
  top: -24px;
  left: 0;
  width: 80%;
  height: 64px;
  background-color: #FFD28A;
  z-index: -1;
}

.decor-block.roze {
  width: 160px;
  height: 160px;
  bottom: -48px;
  left: 24px;
  background-color: #FFCEB3;
  z-index: -1;
}

.decor-block.groen {
  width: 32px;
  height: 100%;
  bottom: -56px;
  right: -16px;
  background-color: #D3EAB2;
}

/* ------------------------------ */
/* PAGINA BLOCkS / CONTENT SPACING */
/* ------------------------------ */
.home-blok {
  text-align: center;
  padding: 3rem 32px;
  max-width: 1408px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  margin-top: 2rem;
  margin-left: 32px;
  margin-right: 32px;
  margin-bottom: 1.5rem;
}

.highlight {
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  bottom: 0.2em;
  height: 30%;
  background-color: #FFD9C4;
  z-index: -1;
}

.project-item {
  flex: 1 1 200px;
  max-width: 100%;
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 0.5rem 0;
  border-radius: 0;
  background-color: #D9F0D9;
  cursor: pointer;
  transition: transform 0.3s;
}

.project-item p {
  margin: 0;
  font-weight: 400;
}

.project-item:hover {
  transform: scale(1.05);
}

.project-img {
  width: 100%;
  height: 90%;
  overflow: hidden;
  margin-bottom: 10px;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-grid .project-item:nth-child(1) { background-color: #FFE0CC; }
.project-grid .project-item:nth-child(2) { background-color: #D3EAB2; }
.project-grid .project-item:nth-child(3) { background-color: #FFE8A3; }

/* ================= Footer Basis ================= */
footer {
  background-color: #FDE7D3; 
  padding: 1rem 2rem;
  font-family: "Montserrat", sans-serif;
  margin-top: 4rem; 
}

.footer-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 1408px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.footer-text {
  margin: 0;
  font-size: 0.9rem;
  color: #E6723A;
  flex-shrink: 0;
}

.iconen {
  list-style: none;
  display: flex;
  gap: 1.5rem; 
  margin: 0;
  padding: 0;
}

.icon svg {
  width: 32px;
  height: 32px;
}

.icon svg path {
  fill: #E6723A;
  transition: fill 0.3s ease, transform 0.3s ease;
}

.icon:hover svg path {
  fill: #F0996F;
}

/* ------------------------------ */
/* Achtergrondblokken (stil)      */
/* ------------------------------ */
/* Parent container: de hele pagina */
body {
  position: relative;
}

/* Geel decoratief blok */
.bg-block-geel {
  position: absolute;   /* absoluut t.o.v. body */
  top: 16%;           /* positie op de pagina */
  right: -1rem;
  width: 4rem;
  height: 24rem;
  background-color: #FFE8C2;
  opacity: 0.15;
  z-index: -1;          /* altijd achter de content */
  pointer-events: none; /* blokkeren geen interactie */
}

.bg-block-roze {
  position: absolute;      
  top: 0px; 
  left: 0rem;
  width: 16rem;
  height: 6rem;
  background-color: #FFD9D0;
  opacity: 0.2;
  z-index: -1;
  pointer-events: none;
}

.bg-block-groen {
  position: absolute;
  top: 56%;
  left: 0%;
  width: 4rem;
  height: 20rem;
  background-color: #DFF5D1;
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

.bg-block-roze2 {
  position: absolute;      
  top: 92%; 
  right: 0rem;
  width: 16rem;
  height: 6rem;
  background-color: #FFD9D0;
  opacity: 0.2;
  z-index: -1;
  pointer-events: none;
}

.bg-block-groen2 {
  position: absolute;
  top: 132%;
  right: 0%;
  width: 4rem;
  height: 20rem;
  background-color: #DFF5D1;
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

.bg-block-geel2 {
  position: absolute;   /* absoluut t.o.v. body */
  top: 130%;           /* positie op de pagina */
  left: -1rem;
  width: 16rem;
  height: 4rem;
  background-color: #FFE8C2;
  opacity: 0.15;
  z-index: -1;          /* altijd achter de content */
  pointer-events: none; /* blokkeren geen interactie */
}

/* OVER MIJ PAGINA */
.over-blok{
  text-align: center;
  padding: 4rem 32px;
  max-width: 1408px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* ------------------------------ */
/* Overmij                           */
/* ------------------------------ */
.overmij {
  display: flex;
  justify-content: center;  
  align-items: center;      
  max-width: 1408px;        
  width: 100%;
  margin: 0 auto;           
  padding: 0 32px;          
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.overmij-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.2rem;
  width: 100%;
  max-width: 1408px;
  margin: 2rem auto;
}


.overmij-text {
  display: flex;
  flex-direction: column;   
  justify-content: center;  
  align-items: flex-start;  
  text-align: left;         
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;             
}

.overmij-text p {
  padding: 16px 0;
}

.overmij-text h1 {
  font-family: "Vollkorn", serif;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 16px 0;
  white-space: nowrap;
  position: relative;
  display: inline-block;
  overflow: visible;
  padding-left: 0.15em;    
  padding-right: 0.15em;
}

.overmij-text h1::after {
  content: '';
  position: absolute;
  left: -0.15em;
  right: -0.15em;
  bottom: 0.05em;
  height: 30%;
  background-color: #FFD9C4;
  z-index: -1;
}

.overmij-img {
  flex: 0 0 20%; 
  position: relative;
  min-width: 200px;  
  display: inline-block;
  padding-left: 40px;
  padding-right: 20px;
  
}

.overmij-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.overmij-img .decor-block.groen {
  right: 0;
}

.overmij-img .decor-block.geel {
  top: -14px;
}

.overmij-img .decor-block.roze {
      width: 100px;
    height: 100px;
        bottom: -32px;
}

.vaardigheden-grid {
 column-count: 3;
column-gap: 24px;
margin-top: 16px
}

.vaardigheid-blok {
  background-color: #f9fdf2;
  padding: 24px;
  text-align: left;
  break-inside: avoid;
  margin-bottom: 24px;
}

.een {
  background-color: #fffcf4;
}

.vier {
  background-color: #fffcf4;
}

.vier .bullet {
   width: 10px;
  height: 10px;
  background-color: #FFD28A;
  margin-top: 6px; /* uitlijnen met titel */
  flex-shrink: 0;
}

.een .bullet {
  width: 10px;
  height: 10px;
  background-color: #FFD28A;
  margin-top: 6px; /* uitlijnen met titel */
  flex-shrink: 0;
}

.drie {
  background-color: #fffbfa;
}

.drie .bullet {
  width: 10px;
  height: 10px;
  background-color: #FFCEB3;
  margin-top: 6px; /* uitlijnen met titel */
  flex-shrink: 0;
}

.vaardigheid-blok h4 {
  margin: 0 0 24px 0;
}

.vaardigheid-blok ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vaardigheid-blok li {
  display: flex;
  align-items: flex-start; /* belangrijk */
  gap: 12px;
  margin-bottom: 24px;
}

.bullet {
  width: 10px;
  height: 10px;
  background-color: #D3EAB2;
  margin-top: 9px; /* uitlijnen met titel */
  flex-shrink: 0;
}
.vaardigheid-item {
  display: flex;
  flex-direction: column;
}

.titel {
  font-weight: 500;
  font-size: 0.90em;
  line-height: 1.2;
  margin-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-icoon svg {
  width: 16px;
  height: 16px;
  fill: #E6723A;
}

.klikbaar a {
  text-decoration: none;
  color: black;
}

.klikbaar:hover .titel {
  color: #E6723A;
}

.klikbaar:hover .link-icoon svg {
  opacity: 1;
}

.subregel {
  font-size: 0.80em;
  opacity: 0.85;
}

/* Werk kolom */
.werk-blok{
    text-align: center;
    padding: 0rem 32px;
    max-width: 1408px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ervaring-container {
    display: flex;
    gap: 24px; /* ruimte tussen Werk en Opleidingen */
    margin-top: 16px;
    align-items: flex-start;
}

.werk-kolom {
    flex: 1;
    background-color: #fffcf4; /* achtergrondkleur */
    padding: 20px;
}


.werk-blok h4 {
  margin: 0 0 8px 0;
  text-align: left;
}

.soortwerk {
  font-family: "Montserrat", sans-serif;
  text-align: left;
  font-weight: 500;
  font-size: 0.90em;
  line-height: 1.2;
  margin-bottom: 2px;
}

.jaar {
  opacity: 0.8;
  font-weight: 300;
}

.methode {
  opacity: 0.8;
  font-weight: 400;
}

.werk-grid {
    display: flex;
    flex-direction: column;
}

.werk-item {
    padding: 16px 0;
    border-bottom: 1px solid #fcdba6; /* streepjes tussen items */
}

.werk-item:last-child {
    border-bottom: none; /* geen streep bij laatste item */
}

/* Opleiding kolom */
.opleiding-kolom {
    flex: 1;
    padding: 20px;
    background-color: #f9fdf2; /* achtergrondkleur */
}

.opleiding-kolom .werk-item {
    border-bottom: 1px solid #D3EAB2; /* streepjes tussen items */
}

.opleiding-kolom .werk-item:last-child {
    border-bottom: none; /* geen streep bij laatste item */
}

/* Algemene tekst links uitgelijnd */
.werk-item p,
.opleiding-item p {
    text-align: left;
    margin: 2px 0;
}

.vakTekst {
  display: flex;               /* Flexbox gebruiken */
  justify-content: center;     /* Horizontaal centreren */
  align-items: center;         /* Verticaal centreren */
  text-align: center;          /* Tekst in het midden */
  /* optioneel: max-width en achtergrondkleur */
  margin-left: auto;
  margin-right: auto;          /* blok in het midden van de pagina */
}

/* ------------------------------ */
/* Grid container voor ervaring   */
/* ------------------------------ */
.ervaring-grid {
  display: flex;             /* Flexbox voor blokken naast elkaar */
  flex-wrap: wrap;           /* Zorgt dat blokken naar een nieuwe rij gaan als ze niet passen */
  gap: 2rem;                 /* Ruimte tussen de blokken */
  justify-content: center;   /* Centraal uitlijnen van de blokken */
  margin: 2rem 32px;         /* Boven/onder: 2rem, links/rechts: 32px */
      padding: 0rem 32px;
    max-width: 1408px;
        margin: 0 auto;
    display: flex;
    padding-bottom: 3rem;
}

/* ------------------------------ */
/* Individuele ervaring blokken   */
/* ------------------------------ */
.ervaring-item {
  flex: 1 1 300px;           /* Flexibele breedte, minimaal 300px */
  max-width: 400px;          /* Maximaal wat je wilt */
  background-color: #D9F0D9; /* Achtergrondkleur */
  display: flex;              /* Flexbox voor inhoud */
  flex-direction: column;     /* Afbeelding boven, tekst eronder */
  align-items: center;        /* Horizontaal centreren */
  justify-content: center; /* Inhoud naar boven plaatsen */
  text-align: center;         /* Tekst gecentreerd */
  padding: 0.5rem;            /* Binnenruimte */
  cursor: pointer;            /* Wijzigt cursor bij hover */
  transition: transform 0.3s, background-color 0.3s; /* Animatie bij hover */
  text-decoration: none;      /* Verwijdert onderstreping van links */
  color: inherit;             /* Tekstkleur van parent overnemen */
  height: 280px;               /* Hoogte volgt inhoud */
  gap: 0.7rem;
}


/* ------------------------------ */
/* Hover-effect voor blokken     */
/* ------------------------------ */
.ervaring-item:hover {
  transform: scale(1.05);    /* Vergroot iets bij hover */
}

/* ------------------------------ */
/* Afbeelding in blok             */
/* ------------------------------ */
.ervaring-img {
  width: 100%;               /* Volledige breedte van het blok */
  height: 70%;               /* 70% van de blokhoogte */
  overflow: cover;          /* Snijdt teveel af */
  margin-bottom: 10px;       /* Ruimte tussen afbeelding en titel */
}

.ervaring-img img {
  width: 100%;               /* Afbeelding vult container */
  height: 100%;              /* Afbeelding vult container */
  object-fit: contain;         /* Snapt bijverhouding en vult container */
}

/* ------------------------------ */
/* Titel onder de afbeelding      */
/* ------------------------------ */
.ervaring-item p {
  margin: 0;                 /* Geen standaard marge */
  font-weight: 500;          /* Medium gewicht */
  font-size: 0.8rem;           /* Tekstgrootte */
}

/* Roze blokken: 1, 4, 7, ... */
.ervaring-item:nth-child(3n+1) {
  background-color: #FFE0CC; /* Roze */
}

/* Groene blokken: 2, 5, 8, ... */
.ervaring-item:nth-child(3n+2) {
  background-color: #D3EAB2; /* Lichtgroen */
}

/* Gele blokken: 3, 6, 9, ... */
.ervaring-item:nth-child(3n) {
  background-color: #FFE8A3; /* Geel */
}

/* Optioneel: hover-effect behouden */
.ervaring-item:hover {
  transform: scale(1.05);
}

.home-blok .ervaring-grid {
  padding: 0px;
  margin: 1rem 0px;
}


/* ------------------------------ */
/* UITLEG PAGINA STIJL           */
/* ------------------------------ */

.vakTekst h1 {
  font-family: "Vollkorn", serif;
  font-weight: 900;
  font-size: 40px;
  position: relative;
  display: inline-block;
  color: #2F2F2F;
  margin: 0 0 0px 0;
}

.vakTekst h1::after {
  content: '';
  position: absolute;
  left: -0.15em;
  right: -0.15em;
  bottom: 0.05em;
  height: 30%;
  background-color: #FFD9C4;
  z-index: -1;
}

.homeBlok.klein {
  text-align: center;
  margin: 0rem auto;
  max-width: 1408px;
  padding: 2rem 32px;
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.voortgang {
  display: flex;
  gap: 1rem;
}

.uitleg p {
  text-align: left;
}

.voortgang .volgende {
  font-weight: 500;
  text-decoration: none;
  color: #E6723A;
  padding: 0.5rem 1rem;
  border: 1px solid #E6723A;
  border-radius: 24px;
  transition: all 0.3s ease;
}

.voortgang .volgende:hover {
  background: linear-gradient(45deg, rgba(230,114,58,0.08), rgba(240,153,111,0.08));
  color: #E6723A;
}

.opdrachtWeergave {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}


.opbouw {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1080px;   /* speel met 1000–1200 */
  margin: 0 auto;
  padding: 0 32px;
  margin-top: 3rem;
}

.blok {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.blok .uitleg {
  flex: 1 1 40%;
  margin-top: 1rem;
}

.blok .afbeelding-wrapper {
  flex: 1 1 52%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Modal overlay */
.afbeelding-modal {
  display: none;              /* standaard verborgen */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Modal afbeelding */
.afbeelding-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  cursor: zoom-out;
}

.afbeelding-wrapper img,
.afbeelding-wrapper video {
  max-width: 100%;
  height: auto;
}

/* Voor tweede blok: tekst rechts, afbeelding links */
.blok:nth-child(2) {
  flex-direction: row-reverse;
}

/* Voor derde blok: standaard rechts (kan ook row-reverse) */
.blok:nth-child(3) {
  flex-direction: row; /* of row-reverse als je wilt */
}

.knop-en-titel {
   max-width: 1080px;
  margin: 0 auto;          /* centreert het hele blok */
  padding: 0 24px;         /* beetje marge op mobiel */
  position: relative;       /* voor absolute positionering van knop */

  display: flex;
  align-items: center;
  justify-content: center;  /* titel optisch gecentreerd */
  height: 100%;
  gap: 1rem;
}

/* Knop links uitlijnen op desktop */
.knop-en-titel .terugKnop.terug {
  position: absolute;      /* zwevend links */
  left: 0;
  flex-shrink: 0;
}

/* Titel in het midden, optisch gecentreerd */
.knop-en-titel .vakTekst {
   flex: 1;
  text-align: center;
}


.vak footer {
  margin-top: 0rem;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
}

.modal .iconen {
  margin-top: 16px;
  display: flex;
    justify-content: center;
}

.modal-content {
  position: relative; /* Belangrijk! zodat absolute elementen zich t.o.v. dit blok positioneren */
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 500px;
  margin: 5% auto; /* centreren */
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal h4 {
  margin: 0px;
}

.modal ul {
  list-style: none; /* verwijdert de bolletjes */
  padding: 0;       /* verwijdert de standaard inspringing */
  font-size: 18px;
}
.modal .close {
  position: absolute; /* absoluut binnen modal-content */
  top: 10px;          /* afstand vanaf bovenkant */
  right: 15px;        /* afstand vanaf rechterkant */
  cursor: pointer;
  width: 24px;
  height: 24px;
}
.contact-buttons a {
  display: inline-block;
  margin-right: 10px;
  margin-top: 10px;
  text-decoration: none;
  padding: 0.5rem 1rem;
}

.modal .close svg {
  width: 80%;
  height: 180%;
}

.iconen-knop {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-top: 32px;
}

.iconen-knop svg {
  width: 20px;
  height: auto;
}



.iconen-knop a.icon-link {
  display: flex;
  align-items: center;   /* icoon en tekst verticaal gecentreerd */
  gap: 8px;              /* ruimte tussen icoon en tekst */
  text-decoration: none;  /* geen onderlijn */
  color: #E6723A;         /* oranje kleur */
  font-weight: 500;
  transition: color 0.2s ease;
}

.iconen-knop a.icon-link:hover {
  color: #F0996F;         /* iets lichtere oranje bij hover */
}

.iconen-knop a.icon-link svg path {
  fill: #E6723A;          /* het icoon zelf ook oranje */
  transition: fill 0.2s ease;
}

.iconen-knop a.icon-link:hover svg path {
  fill: #F0996F;           /* licht-oranje bij hover */
}


@media screen and (max-width: 1024px) {


  .vaardigheden-grid {
    column-count: 2; /* 1 kolom zodat items onder elkaar komen */
  }

  .twee {
  background-color: #fffbfa;
}

.twee .bullet {
  width: 10px;
  height: 10px;
  background-color: #FFCEB3;
  margin-top: 6px; /* uitlijnen met titel */
  flex-shrink: 0;
}

  .vier {
  background-color: #f9fdf2;
}

.vier .bullet {
  width: 10px;
  height: 10px;
  background-color: #D3EAB2;
  margin-top: 6px; /* uitlijnen met titel */
  flex-shrink: 0;
}

  .vijf {
  background-color: #fffcf4;
}

.vijf .bullet {
  width: 10px;
  height: 10px;
  background-color: #FFD28A;
  margin-top: 6px; /* uitlijnen met titel */
  flex-shrink: 0;
}

/* Responsive: kleinere blokken */
@media screen and (max-width: 768px) {
.modal-content {
    max-width: 90%;           /* smaller dan desktop */
    margin-top: 80px;         /* meer naar beneden */
    padding: 1rem;            /* iets kleinere padding */
  }

  .opbouw{
    margin-top: 0rem;
  }

  .uitleg{
    margin-top: 0;
  }

  .modal {
    align-items: flex-start;  /* top-start, niet volledig gecentreerd */
    padding-top: 80px;        /* ruimte van bovenkant scherm */
  }
  
  .knop-en-titel {
    flex-direction: column;
    align-items: center; /* alles gecentreerd */
    position: static;
    margin-top: 0rem;
  }

  .knop-en-titel .terugKnop.terug {
    position: static;
    margin-bottom: 0.1rem;
  }

  .knop-en-titel .vakTekst {
    text-align: center;
  }

    .vakTekst h1::after {
    display: none; /* verberg alleen de streep */
  }

  .hero {
    margin-top: 1rem;
  }
  .hero h1{
    font-size: 32px !important;
  }

  .bg-block-geel { width: 100px; height: 80px; }
  .bg-block-roze { width: 80px; height: 80px; }
  .bg-block-groen { width: 60px; height: 60px; }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .hero-inner {
    flex-direction: column;   /* alles onder elkaar */
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .hero-text {
    width: 100%;              /* volledige breedte */
    order: 0;                  /* tekst eerst */
    align-items: center;
  }

  h2{
    font-size: 28px;
  }

  .primary-btn {
    font-size: 16px !important;
  }

  .hero-text p {
    text-align: center;
  }

  .hero-img {
    width: 50%;              /* afbeelding full width onder tekst */
    max-width: 400px;         
    order: 1;                 /* afbeelding onder tekst */
    padding-left: 0;
    padding-bottom: 16px;     /* optioneel kleine ruimte */
  }

  .hero-img img {
    width: 100%;
    height: auto;             /* behoud aspect ratio */
    margin-top: 16px;
  }

  .hero-text h1 { white-space: normal; font-size: 8vw; }

  .overmij-inner {
    flex-direction: column;   /* alles onder elkaar */
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .overmij-text {
    width: 100%;              /* volledige breedte */
    order: 0;                  /* tekst eerst */
    align-items: center;
  }

  .overmij-img {
    width: 75%;              /* afbeelding full width onder tekst */
    max-width: 400px;         
    order: 1;                 /* afbeelding onder tekst */
    padding-left: 0;
    padding-bottom: 16px;     /* optioneel kleine ruimte */
  }

  .overmij-img img {
    width: 64%;
    margin-left: 18%;
    height: auto;             /* behoud aspect ratio */
    margin-top: 16px;
  }

  .overmij-text h1 { white-space: normal; font-size: 8vw; }


  .hamburger {
    display: block;
    position: absolute;
    top: 50%;
    right: 32px;
    transform: translateY(-50%);
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 16px;
    background: white;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
    min-width: 180px;
  }

  .vaardigheden-grid {
    column-count: 1; /* 1 kolom zodat items onder elkaar komen */
  }

  .drie {
  background-color: #fffbfa;
}

.drie .bullet {
  width: 10px;
  height: 10px;
  background-color: #FFCEB3;
  margin-top: 6px; /* uitlijnen met titel */
  flex-shrink: 0;
}

  .vier{
  background-color: #f9fdf2;
}

.vier .bullet {
  width: 10px;
  height: 10px;
  background-color: #D3EAB2;
  margin-top: 6px; /* uitlijnen met titel */
  flex-shrink: 0;
}


  .vijf{
  background-color: #fffcf4;
}

.vijf .bullet {
  width: 10px;
  height: 10px;
  background-color: #FFD28A;
  margin-top: 6px; /* uitlijnen met titel */
  flex-shrink: 0;
}

  .ervaring-container {
    flex-direction: column; /* kolommen onder elkaar */
    gap: 2rem;              /* ruimte tussen de blokken */
  }

  .werk-kolom,
  .opleiding-kolom {
    width: 100%;            /* beide kolommen nemen volledige breedte */
  }

  .nav-toggle:checked + .hamburger + .nav-links { display: flex; }

  .decor-block.geel { width: 80%; height: 80px; top: -8px; transform: translateX(-10px); }
  .decor-block.roze { width: 160px; height: 160px; top: 50%; left: -20px; }
  .decor-block.groen { width: 32px; height: 90%; top: 15%; right: -10px; }

  .overmij-img .decor-block.groen {
  top: -8px;
            width: 32px;
            height: 90%;
            top: 15%;
            left: 72%;
}

.overmij-img .decor-block.geel {
  top: -8px;
            width: 70%;
            height: 60px;
            left: 23px;
}

.overmij-img .decor-block.roze {
      width: 100px;
      height: 100px;
        top: 60%;
        left: 32px;
}
  .project-grid { flex-direction: column; gap: 1rem; }
  .project-item { width: 100%; }
} 
}