/* =========================
   BASIS
========================= */

:root {
    --purple: #6100a8;
    --button-purple: #8f22c9;
    --button-light: #c83fff;
    --light-purple: #c6a0d6;
    --dark: #242424;
    --white: #ffffff;
    --background: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--background);
    color: var(--dark);
    font-family: arial, sans-serif;
    background-color: white;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* =========================
   NAVIGATIE
========================= */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hamburger {
    display: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
}
.logo{
    text-decoration:none;
}

/* Tablet en gsm: links verbergen, hamburger tonen */
@media (max-width: 1024px) {
    .navbar {
        padding: 20px 30px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

@media (max-width: 640px) {
    .navbar {
        padding: 20px;   /* gelijk aan de zijmarge van je hero-tekst */
    }
}
/* =========================
   HERO
========================= */

.hero {
    display: flex;
    justify-content: center;
    padding: 85px 20px 120px;
}

.hero-content {
    width: 100%;
    max-width: 900px;
}

.hero h1 {
    margin: 0 0 34px;
    color: #050505;
    font-size: 36px;
    font-weight: bold;
    line-height: 1.2;
}

.hero p {
    max-width: none;
    margin: 0;
    color: #101010;
    font-size: 18px;
    line-height: 1.35;
    text-align: justify;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 60px;
    padding: 0 11.5%;
}

/* =========================
   KNOPPEN
========================= */
.button,
.about-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #222222;
    border-radius: 14px;
    background: linear-gradient(to bottom, var(--button-light), var(--button-purple));
    color: var(--white);
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.button {
    min-height: 62px;
    padding: 12px 18px;
    font-size: 18px;
    font-weight: bold;
}

.button:hover,
.button:focus-visible,
.about-button:hover,
.about-button:focus-visible {
    filter: brightness(1.08);
    transform: translateY(-3px);
}

/* =========================
   OVER MIJ BLOK
========================= */
.about-preview {
    width: min(1130px, calc(100% - 40px));
    margin: 0 auto;
    padding: 32px 32px 40px;
    border: 2px solid #222222;
    border-radius: 14px;
    background-color: var(--light-purple);
}

.about-preview h2 {
    margin: 0 0 34px;
    color: #050505;
    font-size: 36px;
    font-weight: bold;
    line-height: 1.1;
}

.about-preview p {
    max-width: none;
    margin: 0;
    color: #111111;
    font-size: 18px;
    line-height: 1.3;
    text-align: justify;
}

/* klein, links uitgelijnd met de tekstkolom van de hero */
.about-button {
    width: 210px;
    min-height: 50px;
    margin: 40px 0 0 83px;
    font-size: 18px;
    font-weight: bold;
}
/* =========================
   PROJECTEN-PREVIEW (nieuw, raakt hero en Over mij niet aan)
========================= */
.projects-preview {
    width: min(1130px, calc(100% - 40px));
    margin: 80px auto 0;
}
 
.projects-preview h2 {
    margin: 0 0 34px;
    color: #050505;
    font-size: 36px;
    font-weight: bold;
    line-height: 1.1;
}
 
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
 
.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid #222222;
    border-radius: 14px;
    background: #ffffff;
    transition: transform 0.2s ease;
}
 
.project-card:hover,
.project-card:focus-within {
    transform: translateY(-4px);
}
 
.project-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    padding: 20px;
    background: #ffffff;
    border-bottom: 2px solid #222222;
}
 
.project-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
 
.project-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
    padding: 20px;
    background-color: var(--light-purple);
}
 
.project-text h3 {
    margin: 0;
    color: #050505;
    font-size: 22px;
    line-height: 1.2;
}
 
.project-text p {
    flex: 1;           /* duwt de knop altijd naar onderen, ook bij korte tekst */
    margin: 0;
    color: #111111;
    font-size: 17px;
    line-height: 1.4;
}
 
.project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 44px;
    padding: 8px 20px;
    border: 1px solid #222222;
    border-radius: 14px;
    background: linear-gradient(to bottom, var(--button-light), var(--button-purple));
    color: var(--white);
    font-size: 17px;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}
 
.project-link:hover,
.project-link:focus-visible {
    filter: brightness(1.08);
    transform: translateY(-3px);
}
.project-text .project-tag {
    align-self: flex-start;          /* blijft zo breed als zijn tekst */
    padding: 4px 14px;
    border: 1.5px solid #222222;
    border-radius: 10px;
    background: #7b2fa8;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}
.project-text .project-tags {
    display: grid;
    grid-template-columns: repeat(2, max-content);   /* twee labels per rij */
    gap: 8px;
    justify-content: start;
    align-items: start;
}

/* Gsm: één label per rij */
@media (max-width: 600px) {
    .project-text .project-tags {
        grid-template-columns: max-content;
    }
}

 
/* Beweging uitzetten voor wie dat liever heeft */
@media (prefers-reduced-motion: reduce) {
    .project-card,
    .project-link { transition: none; }
    .project-card:hover,
    .project-card:focus-within,
    .project-link:hover,
    .project-link:focus-visible { transform: none; }
}
/* =========================
   TABLET
========================= */
@media (max-width: 1024px) {
    .hero {
        padding: 70px 30px 90px;
    }

    .hero-buttons {
        padding: 0;
    }

    .about-button {
        margin-left: 0;
    }
}

/* =========================
   GSM
========================= */
@media (max-width: 640px) {
    .hero {
        padding: 50px 20px 60px;
    }

    .hero h1,
    .about-preview h2 {
        font-size: 28px;
    }

    .hero p,
    .about-preview p {
        font-size: 16px;
        text-align: left; /* uitgevuld geeft op smalle schermen rare gaten */
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin-top: 40px;
    }

    .about-preview {
        padding: 24px 20px 30px;
    }

    .about-button {
        width: 100%;
    }
}

/* =========================
   SKILLS / WAT IK DOE
========================= */
main > .skills-section,
main > .pink-decoration {
    box-sizing: border-box;
    width: min(1000px, calc(100% - 40px));
    max-width: none;
    margin: 100px auto 0;
    padding: 0;
    align-self: center;          /* werkt ook als main een flex-container is */
}
 
/* Ruimte tussen de projectensectie en de footer */
main > .projects-preview {
    margin-bottom: 120px;
}
 
/* 2. Koppen */
main > .skills-section > h2,
main > .pink-decoration > h2 {
    margin: 0 0 32px;
    color: #050505;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}
 
/* 3. De rasters */
.skills-grid,
.process-cards {
    display: grid;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}
 
.skills-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
 
.process-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
 
/* 4. De kaartjes */
.skill-card,
.process-card {
    padding: 22px 20px;
    border: 1px solid #222222;
    border-radius: 14px;
    background: #d5a2e1;
}
 
.card-icon,
.process-number {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border: 1px solid #222222;
    border-radius: 12px;
    background: linear-gradient(to bottom, var(--button-light), var(--button-purple));
    color: var(--white);
}
 
.process-number {
    font-size: 22px;
    font-weight: 700;
}
 
.skill-card h3,
.process-card h3 {
    margin: 0 0 8px;
    color: #111111;
    font-family: inherit;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
}
 
.skill-card p,
.process-card p {
    margin: 0;
    color: #111111;
    font-size: 16px;
    line-height: 1.4;
}
 
/* 5. Tablet: twee kolommen */
@media (max-width: 900px) {
    .skills-grid,
    .process-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
 
/* 6. Gsm: onder elkaar */
@media (max-width: 600px) {
    .skills-grid,
    .process-cards {
        grid-template-columns: 1fr;
    }
}
 
/* =========================
   Footer
========================= */
.site-footer {
    width: 100%;
    padding: 40px 24px 20px;
    background: #6600A8;
    color: #ffffff;
}
 
/* Drie kolommen die allemaal bovenaan beginnen, dus op dezelfde hoogte */
.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 32px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    text-align: left;
}
 
/* Kolom 1: naam */
.footer-logo {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
}
 
.footer-brand p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}
 
/* "Navigatie" en "Contact": exact dezelfde grootte */
.site-footer h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
}
 
/* Kolom 2 en 3 */
.footer-links,
.contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
 
.site-footer a {
    color: #ffffff;
    text-decoration: none;
}
 
.footer-links a,
.contact a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;           /* groot genoeg om aan te tikken */
    font-size: 1.1rem;
    overflow-wrap: anywhere;    /* lange e-mail loopt nooit buiten beeld */
}
 
.footer-links a:hover,
.contact a:hover {
    text-decoration: underline;
}
 
.site-footer a:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}
 
/* LinkedIn: wit vlak met paarse "in", goed contrast */
.contact a.linkedin {
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-top: 6px;
    border-radius: 8px;
    background: #ffffff;
    color: #6600A8;
    font-size: 1.3rem;
    font-weight: 700;
}
 
.contact a.linkedin:hover {
    text-decoration: none;
    background: #f0e6fa;
}
 
/* Onderste regel */
.footer-copy {
    max-width: 1100px;
    margin: 28px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}
 
.footer-copy a {
    text-decoration: underline;
}
 
/* Tablet en gsm: alles onder elkaar */
@media (max-width: 900px) {
    .site-footer {
        padding: 32px 20px 16px;
    }
 
    .footer-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
 
    .footer-logo {
        font-size: 2rem;
    }
}


/* =========================
   GSM
========================= */

@media (max-width: 768px) {
    .navbar {
        min-height: 85px;
        padding: 20px 25px;
    }

    .logo {
        font-size: 28px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        gap: 12px;
        padding: 0 25px 20px;
    }

    .mobile-menu.active {
        display: flex;
    }

    .mobile-menu a {
        width: 100%;
        padding: 13px 16px;
        border: 1px solid #222222;
        border-radius: 10px;
        background-color: var(--button-purple);
        color: var(--white);
        text-align: center;
        text-decoration: none;
    }

   .navbar {
        width: 100%;
        min-height: 85px;
        padding: 20px 25px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero p {
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 20px;
        margin-top: 45px;
        padding: 0;
    }

    .button {
        width: 100%;
        max-width: 300px;
    }

    .about-preview {
        width: calc(100% - 40px);
        min-height: auto;
        padding: 25px 20px 22px;
    }

    .about-preview h2 {
        margin-bottom: 28px;
        font-size: 27px;
    }

    .about-preview p {
        font-size: 15px;
        line-height: 1.35;
    }

    .about-button {
        width: 100%;
        min-height: 58px;
        margin-top: 32px;
        font-size: 25px;
    }

    .skills {
        gap: 14px 12px;
        margin-top: 100px;
        padding: 0 15px;
    }

    .skills span {
        font-size: 13px;
    }

  .pink-decoration {
        width: 100%;
        margin: 90px 0 120px;
        padding: 0 25px;
    }

    .pink-decoration h2 {
        font-size: 25px;
    }

    .work-item {
        gap: 8px;
        margin-bottom: 24px;
    }

    .work-line {
        flex-basis: 6px;
    }

    .work-text h3,
    .work-text p {
        font-size: 14px;
    }
}



/* =========================
   PROJECTEN PAGINA
========================= */
/* Standaard voor mobiel en tablet: alles onder elkaar */
.projects-header {
    width: 100%;            /* Beslaat de volle breedte */
    max-width: 800px;       /* Maximale breedte voor een mooie leesbaarheid */
    margin: 80px auto 40px auto; /* 'auto' voor links en rechts centreert het blok */
    padding: 0 20px;        /* Zorgt voor wat uitlijning op mobiel/gsm */
    text-align: center;     /* Centreert alle tekst binnen het element */
    box-sizing: border-box;
}

.projects-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
}

.projects-header p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
    text-align: center;
}
.projects {
    max-width: 1400px;
    margin: auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column; /* Plaats de projecten onder elkaar op mobiel/tablet */
    align-items: center;    /* Centreer de kaarten */
    gap: 40px;              /* Ruimte tussen de projecten */
}

.project-card {
    width: 100%;
    max-width: 300px;       /* Zorgt dat alle kaarten exact even breed zijn */
    display: flex;
    flex-direction: column;
}

.project-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 20px;
}

/* Vaste afmetingen voor de afbeeldingen */
.project-card img {
    width: 100%;
    height: 200px;          /* Vaste hoogte voor alle afbeeldingen */
    object-fit: contain;    /* Afbeeldingen schalen netjes zonder te vervormen of af te snijden */
    display: block;
}
.projects .project-card {
    background: #ffffff;
}

.project-link {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-link img {
    width: 100%;
    height: 220px;
    object-fit: contain;   /* logo's worden niet afgesneden */
}

.project-link .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;      /* alle titelknoppen even hoog */
    text-align: center;
}

/* Knoppen even breed maken */
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;            /* Vult de volledige breedte van de project-card op */
    min-height: 80px;       /* Vaste/gelijke hoogte zodat knoppen met 1 of 2 regels tekst even hoog zijn */
    background: linear-gradient(to bottom, #bf46ff, #8220b7);
    color: white;
    padding: 15px 20px;
    border-radius: 18px;
    border: 2px solid #262626;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    box-sizing: border-box; /* Zorgt ervoor dat padding binnen de breedte valt */
    transition: 0.3s;
}

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

/* Voor grotere schermen (Laptop en Desktop): projecten naast elkaar */
@media (min-width: 1024px) {
    .projects {
        flex-direction: row;        /* Plaats de projecten naast elkaar op laptop/desktop */
        justify-content: center;
        align-items: stretch;       /* Zorgt dat alle rijen/kaarten op gelijke hoogte beginnen */
        padding: 80px 40px;
        gap: 30px;
        flex-wrap: wrap;           /* Zorgt dat extra kaarten netjes naar een nieuwe regel gaan */
    }

    .project-card {
        flex: 0 0 280px;           /* Geeft elke kaart een vaste breedte van 280px op desktop */
    }
}

.btn {
    display: inline-block;
    background: linear-gradient(to bottom, #bf46ff, #8220b7);
    color: white;
    padding: 18px 35px;
    border-radius: 18px;
    border: 2px solid #262626;
    font-size: 1.2rem;
    text-align: center;
    transition: 0.3s;
}

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

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

footer {
    background: #6100A8;
    margin-top: 100px;
}

.footer-container {

    max-width: 1400px;

    margin: auto;

    padding: 120px 100px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-container a {
text-decoration: none;
    color: white;

    font-size: 5rem;
    font-weight: 600;
}

.footer-links {

    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 20px;
}


body{
    background:#f2f2f2;
    min-height:100vh;
    overflow-x:hidden;
    position:relative;
}


/* NAVBAR */

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:40px 80px;
}

.logo{
    font-size:2rem;
    font-weight:600;
}

.nav-links{
    display:flex;
    gap:60px;
    list-style:none;
}

.nav-links a{
    text-decoration:none;
    color:#444;
    font-size:1.3rem;
}

.nav-links a:hover{
    color:black;
}

/* ABOUT  me */

.about {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
}
.about > h1 {
    max-width: 1200px;
    margin: 0 auto 55px;
    padding: 70px 64px 0;
    text-align: center;
    font-size: clamp(2.2rem, 5vw, 5rem);
    line-height: 1.1;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Intro: tekst links, portret rechts */
.about-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.about-text {
  flex: 1;
  max-width: 750px;
  margin-left: 100px;
}

.about-text h2,
.about-tech h2,
.hobby-text h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.about-text h2:not(:first-child) {
  margin-top: 60px;
}

.about-text p,
.about-tech p,
.hobby-text p {
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.about-image {
  background-color: #d4b4e8;
  padding: 25px;
  border-radius: 5px;
  flex: 0 0 auto;
  width: 300px;
}

.about-image img {
  display: block;
  width: 100%;
  border-radius: 10px;
}

/* Creativiteit en techniek */
.about-tech {
  max-width: 900px;
  margin: 120px 0 0 100px;
}

/* Buiten mijn studies */
.about-hobby {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-top: 120px;
}

.video-hobby {
  background-color: #d4b4e8;
  padding: 25px;
  border-radius: 5px;
  flex: 0 0 auto;
}

.video-hobby img {
  display: block;
  width: 220px;
  max-width: 100%;
}

.hobby-text {
  flex: 1;
  max-width: 600px;
}

/* Knop gecentreerd onder de tekst */
.button-container {
  --knop-breedte: 240px;
  display: grid;
  grid-template-columns: repeat(2, var(--knop-breedte));
  justify-content: center;
  gap: 16px 20px;
  margin-top: 60px;
}
.btn {
  display: inline-flex;
  align-items: center;      /* tekst verticaal in het midden */
  justify-content: center;  /* tekst horizontaal in het midden */
  box-sizing: border-box;
  min-height: 56px;
  padding: 0 24px;
  line-height: 1.2;
  text-align: center;
}

.button-container .btn {
  box-sizing: border-box;
  width: 100%;
  text-align: center;
  text-decoration: none;
}

/* derde knop: onder de twee andere, even breed en gecentreerd */
.button-container .btn:nth-child(3) {
  grid-column: 1 / -1;
  justify-self: center;
  width: var(--knop-breedte);
}

/* gsm: alles onder elkaar, volle breedte */
@media (max-width: 600px) {
  .button-container {
    grid-template-columns: 1fr;
  }
  .button-container .btn:nth-child(3) {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .about-intro { flex-direction: column-reverse; align-items: center; }
  .about-text,
  .about-tech { margin-left: 0; max-width: 700px; }
  .about-image { width: 280px; }
  .about-hobby { flex-direction: column; gap: 50px; }
}

/* Mobiel */
@media (max-width: 768px) {
  .about { padding: 60px 20px; }
  .about-text h2,
  .about-tech h2,
  .hobby-text h2 { font-size: 2rem; }
  .about-text p,
  .about-tech p,
  .hobby-text p { text-align: left; line-height: 1.6; }
  .about-tech { margin-top: 70px; }
  .about-hobby { margin-top: 70px; }
}




/* =========================
   Wallpaper wedstrijd PAGINA
========================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

.purple-block {
  background: #d2b2de;
  width: 100vw;
    padding: 120px 40px; /* Boven en onder ruime paarse witruimte */
    box-sizing: border-box;
    margin-left: calc(50% - 50vw);
}

.purple-block-content {
    max-width: 900px;   /* Beperkt de breedte van de tekst net als op foto 2 */
    margin: 0 auto;      /* Centreert het blok horizontaal */
}
/* Gewone blok: één kolom, gecentreerd (foto 4) */
.purple-block__inner {
  max-width: 900px;
  margin: 0 auto;
}
/*
.purple-block h2 {
  margin: 0 0 20px;
}

.purple-block p {
  margin: 0 0 20px;
  line-height: 1.6;
} */
.purple-block-content h2,
.purple-block-content h1 {
    margin-top: 0;        /* Verwijdert de vervelende standaard browser-marge aan de bovenkant */
    margin-bottom: 35px;  /* Ruimte tussen de titel en de tekst */
    font-size: 2.8rem;
    font-weight: 700;
    color: #111111;
}

/* Styling voor de alinea binnen het paarse blok */
.purple-block-content p {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.6;     /* Zorgt voor fijne leesbaarheid van de regels */
    color: #111111;
}

.purple-block img {
  display: block;
  width: 100%;
  height: auto;
}

/* Twee kolommen (foto 3) */
.purple-block__inner--columns {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.purple-block ol {
  margin: 0 0 20px;
  padding-left: 1.6em;
  line-height: 1.6;
}

.purple-block li {
  padding-left: 8px;
}

/* Full-width op case study-pagina's */
.case-study .purple-block {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
}
/* Bredere variant voor blokken met kaarten of twee kolommen */
.purple-block-content--wide {
    max-width: 1200px;
}
.purple-block--dark {
    background: #7b2fa8;
    width: 100vw;
}

.purple-block--dark h2,
.purple-block--dark p {
    color: #ffffff;
}
/* Mobiel: kolommen onder elkaar */
@media (max-width: 768px) {
  .purple-block {
    padding: 60px 20px;
  }
  .purple-block__inner--columns {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}


.process-wrapper{
    display:flex;
    align-items:center;
    gap:80px;
}

.process-content{
    flex:1;
}

.process-image{
    flex-shrink:0;
}

.process-image img{
    width:120px;
    height:auto;
} 
.case-study{
    max-width:1100px;
    margin:auto;
    padding:80px 40px 120px;
}

.case-study h1{
    text-align:center;
    margin-bottom:60px;
    font-size:2.5rem;
}

.case-study section{
    margin-bottom:80px;
}

.case-study h2{
    margin-bottom:20px;
    font-size:1.5rem;
}

.case-study p{
    line-height:1.8;
    margin-bottom:15px;
}

.case-study ul{
    padding-left:25px;
    line-height:1.8;
}

.small-image {
    display: block;
    width: 300px;
    margin: 40px auto;
}

.result-image {
    display: block;
    width: 50%;
    max-width: 500px;
    margin: 40px auto;
}

.process-section{
    position:relative;
}
.result-image{
    display:block;
    margin:50px auto;

    width:100%;
    max-width:1000px;
    height:auto;
}

@media(max-width:1024px){

    .process-wrapper{
        flex-direction:column;
        align-items:flex-start;
    }
    .process-image{
        align-self:center;
    }
    .process-image img{
        width:90px;
    }
    .case-study{
        max-width:800px;
        padding:60px 35px;
    }
    .case-study h1{
        font-size:2rem;
    }
    .small-image{
        width:250px;
    }
}
@media(max-width:768px){

    .case-study{
    padding:40px 25px 80px;
    }

    .case-study h1{

        font-size:1.6rem;
        text-align:left;
        margin-bottom:50px;
    }

    .case-study h2{
   font-size:1.2rem;
    }

    .case-study p{

        font-size:0.95rem;
        line-height:1.6;
    }

    .case-study ul{

        font-size:0.95rem;
    }

    .small-image{
     width:100%;
        max-width:250px;
    }

    .result-image{

        width:80%;
    }

}

/* =====================
   CASE STUDY PAGINA LUMIERE
===================== */

.case-study{
    max-width:none;
    margin:0;
    padding:80px 0 0;
}

.case-study h1{
    text-align:center;
    font-size:3rem;
    margin-bottom:120px;
    padding:0 40px;
}

/* gewone secties: 900px gecentreerd */
.case-study section{
    max-width:900px;
    margin:0 auto 140px auto;
    padding:0 40px;
    box-sizing:content-box;
}

/* paarse secties: breed, met ruimte aan de zijkanten */
.case-study section.purple-block{
    max-width:1300px;
    width:calc(100% - 100px);
    margin:0 auto 140px auto;
    padding:100px 40px;
    box-sizing:border-box;
}

.purple-block{
    background:#d2b2de;
    border-radius:16px;
}

.purple-block--dark{
    background:#7b2fa8;
}

/* inhoud binnen het paarse blok centreren */
.purple-block-content,
.purple-block__inner{
    max-width:1100px;
    margin:0 auto;
}
.purple-block__inner > h2{
    text-align:center;
    margin-bottom:60px;
}

/* twee kolommen naast elkaar (desktop) */
.purple-block__inner--columns,
.research-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:start;
}

.research-grid{
    margin-top:40px;
}

/* tekststijl in de paarse blokken */
.case-study .purple-block h2{
    font-size:1.7rem;
    margin-top:0;
    margin-bottom:25px;
    color:#111;
}

.case-study .purple-block h3{
    font-size:1.5rem;
    margin:0 0 20px;
    color:#111;
}

.case-study .purple-block p,
.case-study .purple-block li{
    font-size:1rem;
    line-height:1.8;
    color:#111;
}

.case-study .purple-block--dark h2,
.case-study .purple-block--dark p{
    color:#fff;
}

/* research: geen witte kaarten */
.research-card{
    background:transparent;
    box-shadow:none;
    border-radius:0;
    padding:0;
}

/* 3 foto's naast elkaar (desktop) */
.gallery-three{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:30px;
    align-items:start;
}

.gallery-three img{
    width:100%;
    height:auto;
    display:block;
}

/* wireframes + prototype */
.wireframe-container,
.prototype-image{
    margin-top:40px;
}

.wireframe-container img,
.prototype-image img{
    width:100%;
    height:auto;
    display:block;
}

/* =====================
   TABLET
===================== */
@media(max-width:1024px){

    .case-study{
        padding:60px 0 0;
    }

    .case-study h1{
        font-size:2.3rem;
        padding:0 30px;
    }

    .case-study section{
        padding:0 30px;
    }

    .case-study section.purple-block{
        width:calc(100% - 60px);
        padding:80px 30px;
    }

    /* foto's onder elkaar */
    .gallery-three{
        grid-template-columns:1fr;
        justify-items:center;
        gap:30px;
    }

    .gallery-three img{
        max-width:280px;
    }

    /* tekstblokken onder elkaar */
    .research-grid,
    .purple-block__inner--columns{
        grid-template-columns:1fr;
        gap:40px;
    }
}

/* =====================
   GSM
===================== */
@media(max-width:768px){

    .case-study{
        padding:40px 0 0;
    }

    .case-study h1{
        font-size:1.8rem;
        text-align:left;
        margin-bottom:70px;
        padding:0 20px;
    }

    .case-study section{
        padding:0 20px;
        margin-bottom:90px;
    }

    .case-study section.purple-block{
        width:calc(100% - 40px);
        padding:60px 20px;
        margin-bottom:90px;
    }

    .case-study h2,
    .case-study .purple-block h2{
        font-size:1.3rem;
    }

    .case-study .purple-block h3{
        font-size:1.2rem;
    }

    .case-study p,
    .case-study li,
    .case-study .purple-block p,
    .case-study .purple-block li{
        font-size:.95rem;
    }

    .gallery-three img{
        max-width:100%;
    }
    .purple-block__inner > h2{
    text-align:left;
    margin-bottom:30px;
}
}
/* ======================
   CATS & CUPS (kattencafé)
   Alles is gescoped met .case-study.cats, zodat het niet botst
   met de andere case study-pagina's in je gedeelde style.css.
====================== */

/* ---------- Pagina-container ---------- */
.case-study.cats {
    width: min(calc(100% - 2 * var(--side-padding, 40px)), 1000px);
    max-width: none;
    margin: 0 auto;
    padding: 60px 0 0;
}

.case-study.cats > section {
    max-width: 800px;
    margin: 0 auto 120px;
    padding: 0;
}
.project-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;   /* tekst links, logo rechts */
    align-items: center;
    gap: 56px;
}
 
.project-intro__logo {
    justify-self: center;
    width: 100%;
    max-width: 280px;
    height: auto;
}
 
/* Tablet en gsm: het logo komt onder de tekst */
@media (max-width: 800px) {
    .project-intro {
        grid-template-columns: 1fr;
        gap: 32px;
    }
 
    .project-intro__logo {
        max-width: 200px;
    }
}
 

.case-study.cats h2 {
    margin: 0 0 22px;
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.case-study.cats h3 {
    margin: 0 0 14px;
    font-size: 1.15rem;
    font-weight: 700;
}

.case-study.cats p {
    margin: 0 0 1.15rem;
    line-height: 1.7;
}

.case-study.cats ul {
    margin: 0 0 1.15rem 1.2rem;
    padding: 0;
    line-height: 1.7;
}

/* ---------- Titel ---------- */
.case-study.cats .project-header {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 20px 0 60px;
    text-align: center;
}

.case-study.cats .project-header h1 {
    margin: 0 0 28px;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.case-study.cats .tagline {
    margin: 0 auto;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.case-study.cats .lead {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.4rem;
}

/* ---------- Paarse kaarten ---------- */
.case-study.cats > section.purple-block {
    width: 100%;
    max-width: none;
    margin: 0 0 120px;
    padding: 70px 40px;
    background: #d2b2de;
    border-radius: 20px;
    box-sizing: border-box;
}

.case-study.cats .purple-block__inner {
    max-width: 800px;
    margin: 0 auto;
}

.case-study.cats .purple-block h2,
.case-study.cats .purple-block h3,
.case-study.cats .purple-block p,
.case-study.cats .purple-block li {
    color: #111;
}

.case-study.cats .purple-block p:last-child {
    margin-bottom: 0;
}

/* ---------- Foto's onder De uitdaging ---------- */
.case-study.cats .gallery-three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    align-items: start;
    margin-top: 50px;
}

.case-study.cats .gallery-three img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    border-radius: 10px;
}

/* ---------- Research: genummerde lijst op het paars ---------- */
.case-study.cats .purple-block h3 {
    margin: 0 0 20px;
    font-size: 1.35rem;
    font-weight: 600;
}

.case-study.cats .research-steps {
    margin: 0 0 0 1.4rem;
    padding: 0;
    line-height: 1.7;
}

.case-study.cats .research-steps li {
    margin-bottom: 14px;
    padding-left: 6px;
}

.case-study.cats .research-steps li:last-child {
    margin-bottom: 0;
}

.case-study.cats .research-steps strong,
.case-study.cats .research-steps span {
    display: block;
}

/* ondertitel onder een h2 (Schetsen / Wireframes) */
.case-study.cats h3.sub {
    margin: -8px 0 22px;
    font-size: 1.3rem;
    font-weight: 600;
}

/* ---------- Wireframes ---------- */
.case-study.cats .wireframe-container {
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.case-study.cats .wireframe-container img {
    display: block;
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 10px;
}

/* wireframe-sectie mag breder zijn dan de tekstkolom */
.case-study.cats > section:has(.wireframe-container) {
    max-width: 1000px;
}

.case-study.cats > section:has(.wireframe-container) > h2,
.case-study.cats > section:has(.wireframe-container) > h3,
.case-study.cats > section:has(.wireframe-container) > p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Video prototype ---------- */
.case-study.cats .prototype {
    text-align: center;
}

.case-study.cats .prototype h2 {
    margin-bottom: 30px;
}

.case-study.cats .prototype-frame {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 28px;
    background: #d2b2de;
    border-radius: 20px;
    box-sizing: border-box;
}

.case-study.cats .prototype-frame img,
.case-study.cats .prototype-frame video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* =====================
   TABLET
===================== */
@media (max-width: 1024px) {
    :root {
        --side-padding: 30px;
    }

    .case-study.cats {
        padding-top: 40px;
    }

    .case-study.cats > section {
        margin-bottom: 90px;
    }

    .case-study.cats > section.purple-block {
        padding: 50px 30px;
        margin-bottom: 90px;
    }

    .case-study.cats .project-header h1 {
        font-size: 1.9rem;
    }

    .case-study.cats .tagline {
        font-size: 1.25rem;
    }

    /* foto's onder elkaar */
    .case-study.cats .gallery-three {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .case-study.cats .gallery-three img {
        max-width: 320px;
        margin: 0 auto;
    }

    .case-study.cats .purple-block h3 {
        font-size: 1.2rem;
    }
}

/* =====================
   GSM
===================== */
@media (max-width: 640px) {
    :root {
        --side-padding: 20px;
    }

    .case-study.cats {
        padding-top: 30px;
    }

    .case-study.cats .project-header {
        padding-bottom: 40px;
    }

    .case-study.cats .project-header h1 {
        font-size: 1.6rem;
    }

    .case-study.cats .tagline {
        font-size: 1.05rem;
    }

    .case-study.cats .lead {
        font-size: 1.1rem;
    }

    .case-study.cats > section {
        margin-bottom: 70px;
    }

    .case-study.cats h2 {
        font-size: 1.3rem;
    }

    .case-study.cats p,
    .case-study.cats li {
        font-size: .95rem;
        line-height: 1.6;
    }

    .case-study.cats > section.purple-block {
        padding: 36px 20px;
        margin-bottom: 70px;
        border-radius: 16px;
    }

    .case-study.cats .prototype-frame {
        padding: 18px;
    }
}

/* ======================
NEXT
====================== */

/* ---------- Lokale basis ---------- */

.case-study.next {
    --next-purple: #c9a4d6;
    --next-text: #292929;
    --next-link: #ae48cb;
    --next-radius: 12px;
    --next-text-width: 690px;
    --next-section-gap: 110px;

    box-sizing: border-box;
    display: block;

    width: min(82%, 1000px);
    max-width: none;

    margin: 0 auto;
    padding: 42px 0 150px;

    color: var(--next-text);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.2;
    text-align: left;
}

.case-study.next *,
.case-study.next *::before,
.case-study.next *::after {
    box-sizing: border-box;
}

/* NEXT: introductie zonder logo, met illustratie onder de tekst */
/* NEXT: compactere introductie en links uitgelijnde titel */

.case-study.next {
    padding-top: 20px;
}

/* NEXT: bredere titel en wat meer ademruimte */

/* Container in het midden */
 .case-study.next .project-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Titel */
.case-study.next .project-intro .project-header {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tekstblok */
.case-study.next .project-intro .project-overview {
    width: 100%;
    max-width: 690px;
    margin: 0 auto;
}

/* Afbeelding */
.case-study.next .project-intro .project-intro-image {
    width: 100%;
    max-width: 690px;
    margin: 0 auto;
}

.case-study.next .project-intro-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
margin: 40px;
margin-bottom:60px;
}
/* Iets compactere tussenruimte op mobiel */

@media (max-width: 640px) {
    .case-study.next .project-intro {
        row-gap: 26px;
        margin-bottom: 45px;
    }

    .case-study.next .project-intro .project-overview h2 {
        margin-bottom: 14px;
    }
}

/* Namen: paars, vet en onderlijnd */

.case-study.next .project-overview p a {
    color: #8b2bb1;
    font-weight: 700;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.case-study.next .project-overview p a:hover,
.case-study.next .project-overview p a:focus-visible {
    color: #641b83;
    text-decoration-thickness: 2px;
}



/* Mobiel */

@media (max-width: 640px) {
    .case-study.next {
        padding-top: 16px;
    }

    .case-study.next .project-intro {
        gap: 20px;
        margin-bottom: 45px;
    }

    .case-study.next .project-intro .project-header h1 {
        font-size: 27px;
    }

    .case-study.next .project-intro .project-overview h2 {
        margin-bottom: 12px;
    }
}

.case-study.next .intro-logo {
    grid-area: logo;
    align-self: start;
    justify-self: center;

    width: 210px;
    max-width: 100%;
    margin-top: 24px;
}

/* ---------- Paarse kaarten ---------- */

.case-study.next .purple-block {
    display: block;
    width: 100%;
    max-width: none;

    margin-left: 0;
    margin-right: 0;
    padding: 32px 40px;

    background: var(--next-purple);
    border-radius: var(--next-radius);
    box-shadow: none;
}

.case-study.next > section.purple-block {
    padding: 32px 40px;
    margin-bottom: 84px;
}

.case-study.next .purple-block__inner {
    width: min(100%, var(--next-text-width));
    max-width: none;
    margin: 0 auto;
    padding: 0;
}

.case-study.next .purple-block h2 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 600;
}

.case-study.next .purple-block p {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.2;
}

.case-study.next .purple-block p:last-child {
    margin-bottom: 0;
}

/* Opdracht: beide alinea's vormen één compact tekstblok. */

.case-study.next > section.purple-block p {
    margin-bottom: 0;
}

/* ---------- De uitdaging ---------- */

.case-study.next .two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 80px;

    margin-bottom: 110px;
}

.case-study.next .text-column {
    min-width: 0;
}

.case-study.next .text-column h2 {
    margin-bottom: 34px;
}

.case-study.next .text-column p {
    margin-bottom: 0;
}

.case-study.next .side-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;

    width: 100%;
    margin: 0;
    padding: 10px 0 0;
}

.case-study.next .side-image img {
    width: 265px;
    max-width: 100%;
    border-radius: 16px;
    box-shadow: none;
}

/* ---------- Algemene galerijen ---------- */

.case-study.next .gallery-two,
.case-study.next .gallery-three,
.case-study.next .gallery-four,
.case-study.next .implementation-gallery {
    display: grid;
    align-items: start;
    gap: 28px;

    width: 100%;
    margin: 58px 0 0;
    padding: 0;
}

.case-study.next .gallery-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-study.next .gallery-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-study.next .gallery-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}

.case-study.next .gallery-two img,
.case-study.next .gallery-three img,
.case-study.next .gallery-four img,
.case-study.next .implementation-gallery img {
    width: 100%;
    max-width: 100%;
    height: auto;

    margin: 0;
    border-radius: 12px;
    box-shadow: none;
}

/* ---------- Researchbrochures ---------- */

.case-study.next .research-section {
    margin-bottom: 74px;
}

.case-study.next .brochure-gallery {
    width: min(100%, 640px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 84px;

    margin: 125px auto 0;
}

.case-study.next .brochure-gallery img {
    border-radius: 16px;
}

/* ---------- Inhoud en eerste sitemap ---------- */

.case-study.next .information-section {
    margin-bottom: 76px;
}

.case-study.next .navigation-structure {
    width: min(100%, 660px);
    max-width: 100%;

    margin: 36px auto 0;
    border-radius: 0;
    box-shadow: none;
}

/* ---------- Eerste visuele richting ---------- */

.case-study.next .visual-direction .text-content p {
    margin-bottom: 0;
}

.case-study.next .visual-direction-gallery {
    display: grid;
    grid-template-columns:
        minmax(0, 2.7fr)
        minmax(0, 1fr)
        minmax(0, 0.8fr);

    align-items: start;
    gap: 24px;

    width: 92%;
    margin: 60px auto 0;
}

.case-study.next .visual-direction-gallery > img {
    width: 100%;
    border-radius: 14px;
}

.case-study.next .first-logo-gallery {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
    gap: 30px;

    padding: 5px 0 20px;
}

.case-study.next .first-logo-gallery img {
    width: 100%;
    max-height: 110px;
    object-fit: contain;
}

/* ---------- Branding en logostudies ---------- */

.case-study.next .branding-section .gallery-four {
    width: 92%;
    margin: 58px auto 76px;
}

.case-study.next .logo-explanation {
    margin-bottom: 0;
}

.case-study.next .logo-gallery {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 50px;

    width: 92%;
    margin: 58px auto 90px;
}

.case-study.next .logo-variations {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
}

.case-study.next .logo-variations img,
.case-study.next .logo-gallery > img {
    width: 100%;
    border-radius: 0;
}

/* ---------- Slogan ---------- */

.case-study.next .slogan-label {
    margin-bottom: 18px;
}

.case-study.next .purple-block--slogan {
    margin: 0 0 42px;
    padding: 32px 30px;
}

.case-study.next #slogan {
    max-width: 680px;
    margin: 0 auto;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.25;
    font-weight: bold;
    text-align: center;
}

/* ---------- Informatiearchitectuur ---------- */

.case-study.next .architecture-section {
    margin-bottom: 64px;
}

.case-study.next .architecture-section h2 {
    margin-bottom: 24px;
}

.case-study.next .navigation-preview {
    width: 100%;
    margin: 58px 0 0;
    padding: 15px;

    background: var(--next-purple);
    border-radius: 14px;
}

.case-study.next .navigation-preview img {
    width: 100%;
    border-radius: 16px;
}

/* ---------- Wireframes en high-fidelity ---------- */

.case-study.next .wireframes-section .text-content p {
    margin-bottom: 0;
}

.case-study.next .wireframe-gallery,
.case-study.next .iteration-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 66px 80px;

    width: 100%;
    margin: 70px 0 0;
    padding: 0;
}

.case-study.next .wireframe-card,
.case-study.next .iteration-card {
    width: 100%;
    max-width: none;
    min-width: 0;

    margin: 0;
    padding: 0;
    text-align: center;
}

.case-study.next .wireframe-card img,
.case-study.next .iteration-card img {
    width: 100%;
    max-width: 100%;
    height: auto;

    border-radius: 16px;
    box-shadow: none;
}

.case-study.next .wireframe-card h3,
.case-study.next .iteration-card h3 {
    text-align: center;
}

/* Centreer de laatste kaart alleen bij een oneven aantal. */

.case-study.next .wireframe-card:last-child:nth-child(odd),
.case-study.next .iteration-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 62%;
}

/* High-fidelity heeft een smallere paarse kaart. */

.case-study.next .purple-block--compact {
    width: min(100%, 730px);
    margin: 0 auto;
    padding: 30px 65px;
}

.case-study.next .purple-block--compact h2 {
    margin-bottom: 22px;
    text-align: center;
}

.case-study.next .iteration-gallery {
    margin-top: 72px;
    row-gap: 100px;
}

/* ---------- Implementatie ---------- */

.case-study.next .implementation-gallery {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;

    width: 96%;
    margin: 110px auto 0;
}

.case-study.next .implementation-gallery img {
    border-radius: 10px;
}

/* ---------- Status met logo rechts ---------- */

.case-study.next .status-section {
    margin-top: 130px;
    margin-bottom: 145px;
}

.case-study.next .statusLayout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    align-items: center;
    gap: 70px;

    width: calc(100% - 100px);
    margin: 0 0 0 100px;
}

.case-study.next .statusTekst {
    min-width: 0;
}

.case-study.next .statusTekst p {
    margin-bottom: 20px;
}

.case-study.next .statusTekst p:last-child {
    margin-bottom: 0;
}

.case-study.next .nextLogo {
    align-self: center;
    justify-self: center;

    width: 205px;
    max-width: 100%;
    height: auto;

    margin: 0;
}

/* ---------- Bijdrage en reflectie ---------- */

.case-study.next .contribution-section {
    margin-bottom: 125px;
}

.case-study.next .contribution-section h2,
.case-study.next .reflection-section h2 {
    margin-bottom: 28px;
}

.case-study.next .reflection-section p {
    margin-bottom: 0;
}

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

@media (max-width: 900px) {

    .case-study.next {
        --next-section-gap: 82px;

        width: 86%;
        padding-top: 35px;
        padding-bottom: 100px;
    }

    .case-study.next .project-intro {
        grid-template-columns: minmax(0, 1fr) 180px;
        column-gap: 30px;
        row-gap: 35px;

        width: 100%;
        margin-left: 0;
    }

    .case-study.next .intro-logo {
        width: 170px;
    }

    .case-study.next .project-header h1 {
        font-size: 27px;
    }

    .case-study.next h2,
    .case-study.next .purple-block h2 {
        font-size: 27px;
    }

    .case-study.next .two-column {
        grid-template-columns: minmax(0, 1fr) 220px;
        gap: 35px;
        margin-bottom: 82px;
    }

    .case-study.next .side-image img {
        width: 220px;
    }

    .case-study.next .purple-block,
    .case-study.next > section.purple-block {
        padding: 28px 34px;
    }

    .case-study.next .brochure-gallery {
        width: 85%;
        gap: 45px;
        margin-top: 75px;
    }

    .case-study.next .visual-direction-gallery {
        width: 100%;
        gap: 18px;
    }

    .case-study.next .branding-section .gallery-four {
        width: 100%;
        gap: 16px;
    }

    .case-study.next .logo-gallery {
        width: 100%;
        gap: 30px;
        margin-bottom: 65px;
    }

    .case-study.next .wireframe-gallery,
    .case-study.next .iteration-gallery {
        gap: 50px 35px;
    }

    .case-study.next .purple-block--compact {
        padding: 30px 40px;
    }

    .case-study.next .implementation-gallery {
        width: 100%;
        gap: 10px;
        margin-top: 75px;
    }

    .case-study.next .status-section {
        margin-top: 90px;
        margin-bottom: 95px;
    }

    .case-study.next .statusLayout {
        grid-template-columns: minmax(0, 1fr) 180px;
        gap: 35px;

        width: 100%;
        margin-left: 0;
    }

    .case-study.next .nextLogo {
        width: 170px;
    }

    .case-study.next .contribution-section {
        margin-bottom: 90px;
    }
}

/* ======================
   GSM
====================== */

@media (max-width: 640px) {

    .case-study.next {
        --next-section-gap: 64px;

        width: calc(100% - 36px);
        padding-top: 30px;
        padding-bottom: 80px;
    }

    .case-study.next p,
    .case-study.next ul,
    .case-study.next .purple-block p {
        font-size: 15px;
        line-height: 1.45;
    }

    .case-study.next h2,
    .case-study.next .purple-block h2 {
        margin-bottom: 20px;
        font-size: 25px;
    }

    .case-study.next h3 {
        font-size: 25px;
    }

    /* Op mobiel: titel, logo en overzicht onder elkaar. */

    .case-study.next .project-intro {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "title"
            "logo"
            "overview";

        gap: 28px;
        margin-bottom: 45px;
    }

    .case-study.next .project-header h1 {
        font-size: 27px;
    }

    .case-study.next .intro-logo {
        justify-self: start;
        width: 125px;
        margin-top: 0;
    }

    .case-study.next .project-overview h2 {
        margin-bottom: 20px;
    }

    .case-study.next .purple-block,
    .case-study.next > section.purple-block {
        padding: 26px 22px;
        border-radius: 12px;
    }

    .case-study.next > section.purple-block {
        margin-bottom: 64px;
    }

    .case-study.next .two-column {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        margin-bottom: 64px;
    }

    .case-study.next .text-column h2 {
        margin-bottom: 20px;
    }

    .case-study.next .side-image {
        padding-top: 0;
    }

    .case-study.next .side-image img {
        width: min(75%, 260px);
    }

    .case-study.next .research-section,
    .case-study.next .information-section,
    .case-study.next .architecture-section {
        margin-bottom: 64px;
    }

    .case-study.next .brochure-gallery {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        margin-top: 40px;
    }

    .case-study.next .navigation-structure {
        margin-top: 25px;
    }

    .case-study.next .visual-direction-gallery {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
        gap: 18px;
        margin-top: 32px;
    }

    .case-study.next .moodboard-image {
        grid-column: 1 / -1;
    }

    .case-study.next .first-logo-gallery {
        justify-content: space-around;
        gap: 20px;
        padding: 0;
    }

    .case-study.next .gallery-four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .case-study.next .branding-section .gallery-four {
        gap: 25px 16px;
        margin-top: 35px;
        margin-bottom: 42px;
    }

    .case-study.next .logo-gallery {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        margin-top: 32px;
        margin-bottom: 40px;
    }

    .case-study.next .logo-variations {
        gap: 25px;
    }

    .case-study.next .purple-block--slogan {
        margin-bottom: 30px;
        padding: 30px 16px;
    }

    .case-study.next #slogan {
        margin: 0;
        font-size: clamp(25px, 6.5vw, 34px);
        line-height: 1.3;
    }

    .case-study.next .navigation-preview {
        margin-top: 32px;
        padding: 9px;
    }

    .case-study.next .navigation-preview img {
        border-radius: 8px;
    }

    .case-study.next .wireframe-gallery,
    .case-study.next .iteration-gallery {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
        margin-top: 38px;
    }

    .case-study.next .wireframe-card:last-child:nth-child(odd),
    .case-study.next .iteration-card:last-child:nth-child(odd) {
        grid-column: auto;
        width: 100%;
    }

    .case-study.next .wireframe-card h3,
    .case-study.next .iteration-card h3 {
        margin-bottom: 16px;
    }

    .case-study.next .purple-block--compact {
        width: 100%;
        padding: 26px 22px;
    }

    .case-study.next .purple-block--compact h2 {
        text-align: left;
    }

    .case-study.next .implementation-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 14px;
        margin-top: 40px;
    }

    .case-study.next .implementation-gallery > img:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 7px);
    }

    .case-study.next .status-section {
        margin-top: 0;
        margin-bottom: 64px;
    }

    .case-study.next .statusLayout {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .case-study.next .nextLogo {
        justify-self: center;
        width: 145px;
    }

    .case-study.next .contribution-section {
        margin-bottom: 64px;
    }

    .case-study.next .contribution-section h2,
    .case-study.next .reflection-section h2 {
        margin-bottom: 22px;
    }

    .case-study.next .reflection-section p {
        margin-bottom: 16px;
    }

    .case-study.next .reflection-section p:last-child {
        margin-bottom: 0;
    }
}
/* =====================
   HEADER (desktop)
===================== */
.site-header {
    width: 100%;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.logo {
    margin: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    display: inline-block;
    background: var(--purple, #7b2fa8);
    color: #fff !important;
    padding: 15px 25px;
    border-radius: 18px;
    border: 2px solid #262626;
    font-size: 1.2rem;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover {
    transform: translateY(-3px);
}

.hamburger {
    display: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
}

/* mobiel menu: standaard verborgen */
.mobile-menu {
    display: none;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    margin: 0 20px 20px;
    border-radius: 15px;
}

.mobile-menu a {
    background: #c93eff;
    color: #fff;
    text-decoration: none;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

/* =====================
   TABLET + GSM
===================== */
@media (max-width: 1024px) {
    .navbar {
        padding: 20px 30px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

@media (max-width: 640px) {
    .navbar {
        padding: 20px;
    }
}

.projects .project-card {
    background: none;        /* of #f7f2fb voor een heel licht lila */
}
 
.projects .project-link {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: transparent;
}
 
/* Alle afbeeldingen even hoog, niets wordt afgesneden */
.projects .project-link img {
    width: 100%;
    height: 220px;
    object-fit: contain;
}
 
/* De paarse titelknop blijft, nu allemaal even hoog */
.projects .project-link .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    text-align: center;
}
.projects-more {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.projects-more .button {
    min-width: 260px;
}
@media (max-width: 600px) {
    .projects-more .button { width: 100%; }
}
.hero {
    position: relative;
}
 
/* Je tekst en knoppen komen boven de decoratie */
.hero-content {
    position: relative;
    z-index: 1;
}
 
.hero-decor {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;       /* niets zorgt voor een horizontale scrollbalk */
    pointer-events: none;   /* klikken gaan gewoon door naar de knoppen */
}
 
/* Zachte kleurvlekken in de hoeken */
.hero-blob {
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 50%;
}
.hero-blob--1 {
    top: -200px;
    left: -180px;
    background: radial-gradient(circle, rgba(155, 20, 134, 0.35), transparent 70%);
}
.hero-blob--2 {
    top: -170px;
    right: -180px;
    background: radial-gradient(circle, rgba(233, 30, 140, 0.30), transparent 70%);
}
 
/* Bloemblaadjes: grootte, draaiing en vertraging komen uit de HTML */
.petal {
    position: absolute;
    width: var(--s, 28px);
    height: calc(var(--s, 28px) * 1.4);
    border-radius: 50% 0 50% 50%;
    background: linear-gradient(160deg, #f9d0f2, #d98be6);
    opacity: 0.75;
    transform: rotate(var(--r, 0deg));
    animation: petal-float 9s ease-in-out infinite;
    animation-delay: var(--d, 0s);
}
 
@keyframes petal-float {
    0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
    50%      { transform: translateY(-14px) rotate(calc(var(--r, 0deg) + 8deg)); }
}
 
/* Smalle schermen: blaadjes weg zodat ze nooit over je tekst liggen */
@media (max-width: 1000px) {
    .petal { display: none; }
}
 
/* Geen beweging voor wie dat niet wil */
@media (prefers-reduced-motion: reduce) {
    .petal { animation: none; }
}

/* Zonder deze regel overschrijft display:flex het hidden-attribuut */
.cookie-banner[hidden] {
    display: none;
}
 
.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 20px;
    z-index: 1000;
    transform: translateX(-50%);
    width: min(900px, calc(100% - 40px));
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 24px;
    border: 2px solid #222222;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}
 
.cookie-text h2 {
    margin: 0 0 6px;
    color: #050505;
    font-size: 20px;
    line-height: 1.2;
}
 
.cookie-text p {
    margin: 0;
    color: #111111;
    font-size: 16px;
    line-height: 1.4;
}
 
.cookie-text a {
    color: #6a2494;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
 
/* Beide knoppen even groot en even opvallend */
.cookie-actions {
    display: flex;
    flex-shrink: 0;
    gap: 12px;
}
 
.cookie-actions .button {
    min-height: 48px;
    padding: 10px 22px;
    font: inherit;
    font-size: 17px;
    cursor: pointer;
}
 
/* Gsm: tekst boven, knoppen onder elkaar */
@media (max-width: 700px) {
    .cookie-banner {
        bottom: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .cookie-actions {
        flex-direction: column;
    }
}
 
/* =========================
   PRIVACYPAGINA
========================= */
.privacy {
    box-sizing: border-box;
    width: min(800px, calc(100% - 40px));
    margin: 80px auto 120px;
    color: #111111;
    font-size: 17px;
    line-height: 1.6;
}
 
.privacy h1 {
    margin: 0 0 8px;
    color: #050505;
    font-size: 36px;
    line-height: 1.2;
}
 
.privacy-updated {
    margin: 0 0 48px;
    font-size: 15px;
}
 
.privacy section {
    margin-bottom: 40px;
}
 
.privacy h2 {
    margin: 0 0 12px;
    color: #050505;
    font-size: 24px;
    line-height: 1.25;
}
 
.privacy p,
.privacy ul {
    margin: 0 0 14px;
}
 
.privacy ul {
    padding-left: 22px;
}
 
.privacy li {
    margin-bottom: 8px;
}
 
.privacy a {
    color: #6a2494;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
 
.privacy a:hover,
.privacy a:focus-visible {
    color: #a62ee0;
}
 
/* Tabel met cookies: scrolt zijwaarts op smalle schermen */
.privacy-table-wrap {
    overflow-x: auto;
}
 
.privacy table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 15px;
}
 
.privacy th,
.privacy td {
    padding: 10px 12px;
    border: 1px solid #222222;
    text-align: left;
    vertical-align: top;
}
 
.privacy th {
    background-color: var(--light-purple);
}

/* =========================
   KNOPPEN ONDER ELK PROJECT
   Zet dit onderaan je style.css
========================= */
 
/* Zachte scroll voor "Terug naar boven" (sla over als je dit al hebt) */
html {
    scroll-behavior: smooth;
}
 
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
 
/* Desktop: naast elkaar, gecentreerd, niet breder dan de inhoud */
body .project-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    width: min(1000px, calc(100% - 40px));
    margin: 72px auto 96px;
}
 
body .project-nav .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: auto;
    min-width: 260px;
    min-height: 56px;
    padding: 12px 28px;
    text-align: center;
    text-decoration: none;
}
 
/* Gsm: onder elkaar, volle breedte */
@media (max-width: 600px) {
    body .project-nav {
        flex-direction: column;
        align-items: stretch;
        margin: 56px auto 72px;
    }
 
    body .project-nav .btn {
        width: 100%;
        min-width: 0;
    }
}

body {
    position: relative;
    z-index: 0;
}
 
.page-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 820px;           /* alleen bovenaan de pagina, zoals op je homepage */
    z-index: -1;
    overflow: hidden;        /* geen horizontale scrollbalk */
    pointer-events: none;    /* klikken gaan gewoon door */
}
 
/* Blaadjes alleen in de marges: weg op kleinere schermen zodat ze nooit over tekst liggen */
@media (max-width: 1200px) {
    .page-decor .petal {
        display: none;
    }
}

.prototypehiFi {
  max-width:100%;
    margin: 20px,auto 0;
}
 
.prototypehiFi iframe {
    display: block;
    width: 100%;
    height: 780px;              /* hoog genoeg voor een mobiele app naast de zijbalk */
    border: 2px solid #222222;
    border-radius: 14px;
    background: #ffffff;
}
 
/* Gsm: hoogte afhankelijk van het scherm, met een minimum */
@media (max-width: 600px) {
    .prototypehiFi iframe {
        height: 78vh;
        min-height: 520px;
    }
}
 /* .prototypehiFi {
      width: min(100%, 560px);
  }
      */

/* =========================================================
   FOOTER: sterke versie die oude footer-regels overschrijft
   Zet dit HELEMAAL ONDERAAN je style.css (na alles, ook na de @media-blokken).
   Alle selectors beginnen met "footer.site-footer", daardoor winnen ze van
   de oude regels (.footer-logo, .contact > a:first-of-type, .linkedin, ...).
========================================================= */

footer.site-footer {
    width: 100%;
    padding: 40px 24px 20px;
    background: #6600A8;
    color: #ffffff;
}

/* Drie GELIJKE kolommen die allemaal bovenaan beginnen.
   minmax(0, …) zorgt dat een lange tekst (zoals het e-mailadres) een kolom nooit kan oprekken. */
footer.site-footer .footer-container {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 32px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    text-align: left;
}

footer.site-footer .footer-container > * {
    flex: none;
    min-width: 0;
}

/* Kolom 1 */
footer.site-footer .footer-logo {
    display: inline-block;
    margin: 0 0 6px;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
}

footer.site-footer .footer-brand p {
    margin: 0;
    font-size: 1rem;
}

/* "Navigatie" en "Contact": zelfde grootte, zelfde afstand, zelfde hoogte */
footer.site-footer h2 {
    margin: 0 0 12px;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}

/* Kolom 2 en 3 */
footer.site-footer .footer-links,
footer.site-footer .contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-align: left;
}

footer.site-footer .footer-links a,
footer.site-footer .contact a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    max-width: none;
    font-size: 1.1rem;
    font-weight: 400;
    text-align: left;
    word-break: normal;
    overflow-wrap: anywhere;
}

/* LinkedIn */
footer.site-footer .contact a.linkedin {
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-top: 6px;
    border-radius: 8px;
    background: #e1dafa;
    color: #6600A8;
    font-size: 1.3rem;
    font-weight: 700;
}

/* Onderste regel */
footer.site-footer .footer-copy {
    max-width: 1100px;
    margin: 28px auto 0;
    padding-top: 16px;
    font-size: 0.9rem;
}

/* Tablet en gsm: alles onder elkaar */
@media (max-width: 900px) {
    footer.site-footer {
        padding: 32px 20px 16px;
    }

    footer.site-footer .footer-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    footer.site-footer .footer-logo {
        font-size: 2rem;
    }
}
/* =========================
   EIGEN MUISPIJL: paars en afgerond
   Zet dit onderaan je style.css
========================= */

:root {
    /* Gewone pijl: paars, wit randje (blijft zichtbaar op je paarse footer en knoppen) */
    --cursor-default: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M6 3L6 24L11 19L15 27.5L19 25.5L15 17.5L22 17.5Z' fill='%238b2fc9' stroke='white' stroke-width='2.4' stroke-linejoin='round'/%3E%3C/svg%3E") 6 3, auto;

    /* Op links en knoppen: dezelfde pijl in roze, zodat je ziet dat je kunt klikken */
    --cursor-link: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M6 3L6 24L11 19L15 27.5L19 25.5L15 17.5L22 17.5Z' fill='%23e91e8c' stroke='white' stroke-width='2.4' stroke-linejoin='round'/%3E%3C/svg%3E") 6 3, pointer;
}

html,
body {
    cursor: var(--cursor-default);
}

a,
button,
summary,
label,
[role="button"],
.btn,
.button {
    cursor: var(--cursor-link);
}
.project-card {
    position: relative;
}

/* Onzichtbare link over het hele kaartje */
.project-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* De knop blijft erboven, met zijn eigen hover-effect */
.project-link {
    position: relative;
    z-index: 2;
}
.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid #222222;
    border-radius: 14px;
    background: #ffffff;
    transition: transform 0.2s ease, filter 0.2s ease;   /* filter erbij */
}

.project-card:hover,
.project-card:focus-within {
    filter: brightness(1.08);        /* zelfde als je knoppen */
    transform: translateY(-3px);     /* was -4px, nu hetzelfde als je knoppen */
}
.project-card .project-link:hover,
.project-card .project-link:focus-visible {
    filter: none;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .project-card { transition: none; }
    .project-card:hover,
    .project-card:focus-within { transform: none; }
}