@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,400;0,500;0,600;0,700;1,100;1,400;1,500;1,600;1,700&display=swap');

/* #region GLOBAL STYLES */

/* :root {
    --deep-petrol: #183D3B;
    --moss: #31554C;
    --warm-chalk: #F4EFE6;
    --terracotta: #F18468;
    --soft-sage: #B9CDBE;
    --dark-ink: #102A29;
    --textBG: rgba(244, 239, 230, 0.08);
    --textShadow: rgba(244, 239, 230, 0.18);
} */

:root {
    --deep-petrol: #102A29;
    --moss: #183D3B;
    --warm-chalk: #F4EFE6;
    --terracotta: #F18468;
    --soft-sage: #B9CDBE;
    --dark-ink: #0B201F;
    --textBG: rgba(244, 239, 230, 0.08);
    --textShadow: rgba(244, 239, 230, 0.18);
}

/* :root {
    --deep-petrol: #0B211D;
    --moss: #12382F;
    --warm-chalk: #F4EFE6;
    --terracotta: #F18468;
    --soft-sage: #B9CDBE;
    --dark-ink: #071613;
    --textBG: rgba(244, 239, 230, 0.08);
    --textShadow: rgba(244, 239, 230, 0.18);
} */

/* :root {
    --deep-petrol: #040a09;
    --moss: #12382F;
    --warm-chalk: #F4EFE6;
    --terracotta: #F18468;
    --soft-sage: #B9CDBE;
    --dark-ink: #071613;
    --textBG: rgba(244, 239, 230, 0.08);
    --textShadow: rgba(244, 239, 230, 0.18);
} */

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

html,
body {
    height: 100%;
    background: linear-gradient(135deg, var(--deep-petrol), var(--moss));
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

html {
    font-size: 18px;
    color: var(--warm-chalk);
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

main {
    flex: 1;
}

section {
    margin: 60px 0px;
}

h1,
.behavelikeh1 {
    font-size: clamp(2.3rem, 3.3vw, 4.2rem);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

h2,
.behavelikeh2 {
    font-size: clamp(1.8rem, 2.6vw, 3.3rem);
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

h3,
.behavelikeh3 {
    font-size: clamp(1.4rem, 2.0vw, 2.6rem);
    line-height: 1.25;
    margin-bottom: 1rem;
}

h4,
.behavelikeh4 {
    font-size: clamp(1.2rem, 1.6vw, 2.0rem);
    line-height: 1.3;
}

.strong {
    font-weight: 600;
}

/* #endregion */

/* #region HEADER */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: block;
}

/* NAVIGATION - my-nav.js */

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 80px;
    transition: background-color .2s ease, backdrop-filter .2s ease;
}

/* Hamburger button (shown only on small screens) */
.nav-toggle {
    display: none;
    background: var(--textBG);
    border: 0;
    border-radius: 5px;
    box-shadow: 1px 1px 2px var(--textShadow);
    padding: 8px;
    cursor: pointer;
    gap: 5px;
    flex-direction: column;
}

/* 3-line icon */
.nav-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--warm-chalk);
}

/* --- A11y helper for the button label --- */
.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;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--warm-chalk);
    font-weight: 400;
    font-size: 18px;
}

.nav-links a:hover {
    color: var(--terracotta);
}

.nav-links a.active {
    font-weight: 600;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--terracotta);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: inline-flex;
    }

    /* Stack the links in a dropdown panel */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
        background: var(--deep-petrol);
        box-shadow: 0 2px 24px rgba(24, 61, 59, 0.8);
        border-top: 1px solid var(--warm-chalk);
        padding: 16px 40px;

        /* collapsed state */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height .2s ease, opacity .2s ease;
    }

    /* opened by JS toggle */
    .nav-links.open {
        max-height: 50vh;
        opacity: 1;
        pointer-events: auto;
    }
}

/* #endregion */

/* #region INDEX/HOME */

.home-page {
    overflow: hidden;
}

/* Hero */

.home-hero {
    margin: 2rem 0 5rem;
    padding: 1rem 1.5rem;
}

.home-hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(3rem, 7vw, 7rem);
    width: min(1120px, 100%);
    min-height: 500px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.home-hero-image {
    position: relative;
    flex: 0 1 390px;
    max-width: 390px;
    padding: 0.7rem 0.7rem 2.5rem;
}

.home-hero-image::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 2rem -0.5rem 1.25rem 1.5rem;
    background: var(--terracotta);
    border-radius: 4px 20px 4px 20px;
    transform: rotate(3deg);
}

.home-photo-frame {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 390px;
    padding: 0.7rem;
    background: rgba(244, 239, 230, 0.12);
    border: 2px solid rgba(244, 239, 230, 0.35);
    border-radius: 20px 20px 20px 5px;
    box-shadow: 0 15px 40px rgba(16, 42, 41, 0.25);
    transform: rotate(-2deg);
}

.home-photo-frame img {
    display: block;
    width: 100%;
    max-height: 440px;
    object-fit: contain;
    border-radius: 14px 14px 14px 4px;
}

/* .home-photo-caption {
    position: absolute;
    right: 0;
    bottom: 0.35rem;
    padding: 0.4rem 0.8rem;
    color: var(--deep-petrol);
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--warm-chalk);
    border-radius: 4px;
    transform: rotate(2deg);
}

.home-photo-caption span {
    padding: 0 0.2rem;
    color: var(--moss);
} */

.home-hero-text {
    flex: 1 1 540px;
    max-width: 650px;
    text-align: left;
}

.home-kicker {
    margin-bottom: 0.8rem;
    color: var(--terracotta);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-kicker span {
    color: var(--warm-chalk);
}

.home-hero-text h1 {
    margin-bottom: 0.5rem;
    text-align: left;
}

.home-role {
    margin-bottom: 1.5rem;
    color: var(--terracotta);
    font-size: 0.9rem;
    font-weight: 600;
}

.home-role span {
    padding: 0 0.35rem;
    color: var(--warm-chalk);
    opacity: 0.7;
}

.home-hero-text h2 {
    max-width: 620px;
    margin-bottom: 2rem;
    font-size: clamp(1.55rem, 2.5vw, 2.35rem);
    line-height: 1.35;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
}

.home-button {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 0;
    color: var(--warm-chalk);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-button-primary {
    padding: 0.85rem 1.15rem;
    color: var(--deep-petrol);
    background: var(--terracotta);
    border: 1px solid var(--terracotta);
    border-radius: 6px 6px 6px 2px;
}

.home-button-primary:hover {
    color: var(--deep-petrol);
    background: var(--warm-chalk);
    border-color: var(--warm-chalk);
    transform: translateY(-2px);
}

.home-button-secondary {
    border-bottom-color: rgba(244, 239, 230, 0.45);
}

.home-button-secondary:hover {
    color: var(--terracotta);
    border-bottom-color: var(--terracotta);
}

.home-button:focus-visible,
.home-about-link a:focus-visible {
    outline: 3px solid var(--terracotta);
    outline-offset: 5px;
}

/* Professioneel profiel */

.home-profile {
    margin: 4rem 1.5rem 5rem;
    padding: clamp(2rem, 5vw, 4rem) 1.5rem;
    background: rgba(24, 61, 59, 0.55);
    border-top: 1px solid rgba(244, 239, 230, 0.16);
    border-bottom: 1px solid rgba(244, 239, 230, 0.16);
}

.home-profile-content {
    display: flex;
    align-items: flex-start;
    gap: clamp(2rem, 6vw, 6rem);
    width: min(1080px, 100%);
    margin: 0 auto;
    text-align: left;
}

.home-profile-heading {
    flex: 0 1 370px;
}

.home-profile-heading h2 {
    margin-bottom: 0;
    font-size: clamp(1.6rem, 2.5vw, 2.3rem);
}

.home-profile-body {
    flex: 1 1 600px;
    padding-top: 1.7rem;
}

.home-profile-body p {
    line-height: 1.8;
    opacity: 0.94;
}

.home-focus {
    display: flex;
    width: min(1080px, 100%);
    margin: 3rem auto 0;
    text-align: left;
    border-top: 1px solid rgba(244, 239, 230, 0.25);
}

.home-focus-item {
    flex: 1 1 0;
    padding: 1.4rem 1.5rem 0 0;
}

.home-focus-item + .home-focus-item {
    padding-left: 1.5rem;
    border-left: 1px solid rgba(244, 239, 230, 0.25);
}

.home-focus-item > span {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--terracotta);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.home-focus-item > span i {
    margin-left: 0.25rem;
    font-size: 0.65rem;
}

.home-focus-item strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.home-focus-item p {
    font-size: 0.82rem;
    line-height: 1.6;
    opacity: 0.82;
}

/* Persoonlijke link */

.home-about-link {
    width: min(1080px, calc(100% - 3rem));
    margin: 0 auto 5rem;
    padding: 1.5rem 0 2rem;
    text-align: left;
    border-bottom: 1px solid rgba(244, 239, 230, 0.24);
}

.home-about-link h2 {
    display: inline-block;
    margin: 0 1.5rem 0 0;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.home-about-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--terracotta);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, gap 0.2s ease;
}

.home-about-link a:hover {
    gap: 0.8rem;
    border-bottom-color: var(--terracotta);
}

/* Mobiele weergave */

@media (max-width: 850px) {
    .home-hero-content {
        flex-direction: column;
        gap: 2.5rem;
        min-height: auto;
    }

    .home-hero-image {
        flex-basis: auto;
        width: min(70%, 360px);
    }

    .home-hero-text {
        flex-basis: auto;
        width: min(100%, 650px);
        text-align: center;
    }

    .home-hero-text h1 {
        text-align: center;
    }

    .home-hero-actions {
        justify-content: center;
    }

    .home-profile-content {
        flex-direction: column;
        gap: 1rem;
    }

    .home-profile-heading,
    .home-profile-body {
        flex-basis: auto;
        width: 100%;
    }

    .home-profile-body {
        padding-top: 0;
    }
}

@media (max-width: 600px) {
    .home-hero {
        margin: 1.5rem 0 3rem;
        padding: 0 1rem;
    }

    .home-hero-content {
        padding: 1rem 0.25rem;
    }

    .home-hero-image {
        width: min(78%, 320px);
    }

    .home-photo-frame {
        min-height: 300px;
    }

    .home-hero-text h1 {
        font-size: 2.4rem;
    }

    .home-hero-actions {
        align-items: center;
        flex-direction: column;
        gap: 0.65rem;
    }

    .home-profile {
        margin: 3rem 1rem 4rem;
        padding: 2rem 1.25rem;
    }

    .home-focus {
        flex-direction: column;
        margin-top: 2rem;
    }

    .home-focus-item,
    .home-focus-item + .home-focus-item {
        padding: 1rem 0;
        border-left: 0;
    }

    .home-focus-item + .home-focus-item {
        border-top: 1px solid rgba(244, 239, 230, 0.2);
    }

    .home-about-link {
        width: calc(100% - 2rem);
        margin-bottom: 3.5rem;
    }

    .home-about-link h2 {
        display: block;
        margin: 0 0 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-button,
    .home-about-link a {
        transition: none;
    }
}

/* Gedeelde CTA-stijlen voor andere pagina's */

.ctasection {
    padding-top: 4rem;
}

.cta {
    display: flex;
    justify-content: center;
    margin: 4rem;
}

.cta-button {
    padding: 1rem 2rem;
    color: var(--warm-chalk);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    background: rgba(24, 61, 59, 0.55);
    border-radius: 8px;
    box-shadow: 0 0 10px var(--warm-chalk), 0 0 20px transparent;
    transition: all 0.1s ease;
}

.cta-button:hover {
    color: var(--terracotta);
    border: 2px solid var(--terracotta);
    box-shadow: 0 0 10px var(--terracotta), 0 0 20px var(--terracotta);
}

/* #endregion */

/* #region ABOUT ME */

.about-page {
    overflow: hidden;
}

/* Intro */

.about-intro {
    margin: 2rem 1.5rem 4rem;
    padding: 1rem;
}

.about-intro-inner {
    position: relative;
    overflow: hidden;
    width: min(1080px, 100%);
    margin: 0 auto;
    padding: clamp(2rem, 6vw, 5rem);
    text-align: left;
    background: rgba(24, 61, 59, 0.55);
    border-left: 4px solid var(--terracotta);
    border-radius: 4px 24px 24px 4px;
}

.about-intro-inner::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -75px;
    bottom: -100px;
    border: 1px solid rgba(241, 132, 104, 0.35);
    border-radius: 50%;
}

.about-eyebrow {
    margin-bottom: 0.7rem;
    color: var(--terracotta);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.about-eyebrow span {
    color: var(--warm-chalk);
}

.about-intro h1 {
    margin-bottom: 1rem;
    text-align: left;
}

.about-intro-lead {
    max-width: 760px;
    font-size: 1.12rem;
    line-height: 1.75;
    opacity: 0.95;
}

/* Loopbaanlijn */

.about-journey {
    position: relative;
    width: min(950px, calc(100% - 3rem));
    margin: 0 auto 5rem;
}

.about-journey::before {
    content: "";
    position: absolute;
    top: 1rem;
    bottom: 1rem;
    left: 27px;
    width: 1px;
    background: rgba(244, 239, 230, 0.3);
}

.about-journey-step {
    position: relative;
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.about-step-marker {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 0 56px;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: var(--deep-petrol);
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--terracotta);
    border: 5px solid var(--deep-petrol);
    border-radius: 50%;
}

.about-step-content {
    flex: 1;
    padding: 0.35rem 0 2rem;
    text-align: left;
    border-bottom: 1px solid rgba(244, 239, 230, 0.2);
}

.about-step-content h2 {
    margin-bottom: 0.8rem;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.about-step-content p:not(.about-eyebrow) {
    max-width: 780px;
    margin-bottom: 1rem;
    line-height: 1.8;
    opacity: 0.92;
}

.about-journey-step:last-child .about-step-content {
    border-bottom: 0;
}

/* Richting en projectvisie */

.about-outlook {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem 4rem;
    width: min(1080px, calc(100% - 3rem));
    margin: 0 auto 5rem;
    padding: clamp(2rem, 5vw, 3.5rem);
    text-align: left;
    background: rgba(24, 61, 59, 0.55);
    border-radius: 24px 24px 24px 6px;
    box-shadow: 0 10px 30px rgba(16, 42, 41, 0.16);
}

.about-outlook-heading {
    flex: 1 1 300px;
}

.about-outlook-heading h2 {
    margin-bottom: 0;
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}

.about-outlook-copy {
    flex: 1 1 430px;
}

.about-outlook-copy p {
    margin-bottom: 1rem;
    line-height: 1.8;
    opacity: 0.93;
}

.about-principle {
    flex: 1 0 100%;
    margin: 0;
    padding: 1rem 0 0 1.2rem;
    color: var(--terracotta);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 600;
    border-left: 2px solid var(--terracotta);
}

/* Sterktes */

.about-strengths {
    width: min(1080px, calc(100% - 3rem));
    margin: 0 auto 5rem;
}

.about-section-heading {
    margin-bottom: 1.5rem;
    text-align: left;
}

.about-section-heading h2 {
    margin-bottom: 0;
}

.about-strength-list {
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    border-top: 1px solid rgba(244, 239, 230, 0.28);
    border-bottom: 1px solid rgba(244, 239, 230, 0.28);
}

.about-strength {
    flex: 1 1 220px;
    padding: 1.4rem 1.25rem 1.5rem 0;
}

.about-strength + .about-strength {
    padding-left: 1.25rem;
    border-left: 1px solid rgba(244, 239, 230, 0.22);
}

.about-strength-number {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--terracotta);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.about-strength h3 {
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
}

.about-strength p {
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.86;
}

/* Cv en vervolglinks */

.about-cv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: min(1080px, calc(100% - 3rem));
    margin: 0 auto 3rem;
    padding: 1.5rem 0;
    text-align: left;
    border-top: 1px solid rgba(244, 239, 230, 0.28);
    border-bottom: 1px solid rgba(244, 239, 230, 0.28);
}

.about-cv .about-eyebrow {
    margin-bottom: 0.4rem;
}

.about-cv h2 {
    margin-bottom: 0.3rem;
    font-size: 1.5rem;
}

.about-cv p:last-child {
    font-size: 0.88rem;
    opacity: 0.85;
}

.about-cv-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 1rem;
    color: var(--deep-petrol);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    background: var(--terracotta);
    border-radius: 6px 6px 6px 2px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.about-cv-link:hover {
    color: var(--deep-petrol);
    background: var(--warm-chalk);
    transform: translateY(-2px);
}

.about-cv-link:focus-visible,
.about-links a:focus-visible {
    outline: 3px solid var(--terracotta);
    outline-offset: 5px;
}

.about-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem 2rem;
    width: min(1080px, calc(100% - 3rem));
    margin: 0 auto 5rem;
}

.about-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--warm-chalk);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.about-links a:hover {
    gap: 0.85rem;
    color: var(--terracotta);
}

/* Mobiele weergave */

@media (max-width: 700px) {
    .about-intro {
        margin: 1.5rem 1rem 3rem;
        padding: 0;
    }

    .about-intro-inner {
        padding: 2rem 1.4rem;
    }

    .about-intro h1 {
        font-size: 2.4rem;
    }

    .about-intro-lead {
        font-size: 1rem;
    }

    .about-journey {
        width: calc(100% - 2rem);
    }

    .about-journey::before {
        left: 21px;
    }

    .about-journey-step {
        gap: 1rem;
    }

    .about-step-marker {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        border-width: 4px;
        font-size: 0.68rem;
    }

    .about-step-content {
        padding-top: 0.2rem;
    }

    .about-outlook,
    .about-strengths,
    .about-cv,
    .about-links {
        width: calc(100% - 2rem);
    }

    .about-outlook {
        padding: 1.6rem 1.25rem;
    }

    .about-strength-list {
        flex-direction: column;
    }

    .about-strength,
    .about-strength + .about-strength {
        padding: 1rem 0;
        border-left: 0;
    }

    .about-strength + .about-strength {
        border-top: 1px solid rgba(244, 239, 230, 0.2);
    }

    .about-cv {
        align-items: flex-start;
        flex-direction: column;
    }

    .about-links {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-cv-link,
    .about-links a {
        transition: none;
    }
}

/* #endregion ABOUT ME */

/* #region PERSONAL STORY */

.personal-page {
    overflow: hidden;
}

/* Intro met familiefoto */

.personal-hero,
.personal-horses {
    display: flex;
    align-items: center;
    gap: clamp(2.5rem, 7vw, 6rem);
    width: min(1100px, calc(100% - 3rem));
    margin: 3rem auto 5rem;
}

.personal-hero-text,
.personal-horses-text {
    flex: 1 1 540px;
    text-align: left;
}

.personal-eyebrow {
    margin-bottom: 0.75rem;
    color: var(--terracotta);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.personal-eyebrow span {
    color: var(--warm-chalk);
}

.personal-hero h1 {
    margin-bottom: 1.25rem;
    text-align: left;
}

.personal-hero h2,
.personal-horses h2,
.personal-learning h2,
.personal-ai h2 {
    margin-bottom: 0.7rem;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.personal-subtitle {
    margin-bottom: 1rem;
    color: var(--terracotta);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.personal-hero-text > p:not(.personal-eyebrow, .personal-subtitle),
.personal-horses-text > p:not(.personal-eyebrow),
.personal-learning-text > p:not(.personal-eyebrow),
.personal-ai > p:not(.personal-eyebrow) {
    margin-bottom: 1rem;
    line-height: 1.8;
    opacity: 0.92;
}

/* Foto's */

.personal-photo {
    position: relative;
    flex: 0 1 410px;
    margin: 0;
    padding: 0.7rem 0.7rem 2.8rem;
}

.personal-photo-frame {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 0.65rem;
    background: var(--warm-chalk);
    border-radius: 20px 20px 20px 5px;
    box-shadow: 0 15px 35px rgba(16, 42, 41, 0.24);
    transform: rotate(2deg);
}

.personal-photo-frame img {
    display: block;
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: 14px 14px 14px 4px;
}

.personal-photo-family::before,
.personal-photo-horses::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 1.5rem 0.3rem 1.6rem 1.4rem;
    background: var(--terracotta);
    border-radius: 5px 20px 5px 20px;
    transform: rotate(-3deg);
}

.personal-photo-horses .personal-photo-frame {
    transform: rotate(-2deg);
}

.personal-photo-horses::before {
    inset: 1.3rem 1.2rem 1.7rem 0.3rem;
    background: rgba(244, 239, 230, 0.82);
    transform: rotate(3deg);
}

.personal-photo figcaption {
    position: absolute;
    right: 0;
    bottom: 0.4rem;
    color: var(--warm-chalk);
    font-size: 0.75rem;
    font-style: italic;
}

/* Paarden en pixels */

.personal-horses {
    padding: 2.5rem;
    background: rgba(24, 61, 59, 0.48);
    border-radius: 24px 24px 24px 6px;
}

.personal-horses-text {
    flex-basis: 500px;
}

/* Quote en persoonlijke leerlijn */

.personal-learning {
    display: flex;
    align-items: center;
    gap: clamp(2.5rem, 7vw, 6rem);
    width: min(1100px, calc(100% - 3rem));
    margin: 5rem auto;
}

.personal-quote {
    flex: 0 1 390px;
    padding: 2rem;
    color: var(--deep-petrol);
    text-align: left;
    background: var(--warm-chalk);
    border-radius: 6px 24px 24px 24px;
    transform: rotate(-1deg);
}

.personal-quote .personal-eyebrow {
    color: var(--moss);
}

.personal-quote blockquote {
    margin: 1.2rem 0 1rem;
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    font-weight: 600;
    line-height: 1.4;
}

.personal-quote cite {
    color: var(--moss);
    font-size: 0.9rem;
    font-style: normal;
}

.personal-learning-text {
    flex: 1 1 560px;
    text-align: left;
}

/* AI-interesse */

.personal-ai {
    width: min(850px, calc(100% - 3rem));
    margin: 5rem auto;
    padding: 2rem 0 2rem 1.5rem;
    text-align: left;
    border-left: 3px solid var(--terracotta);
}

.personal-ai h2 {
    max-width: 680px;
}

.personal-ai > p:not(.personal-eyebrow) {
    max-width: 760px;
}

/* Afsluiting en links */

.personal-ending {
    width: min(1100px, calc(100% - 3rem));
    margin: 5rem auto 4rem;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(244, 239, 230, 0.25);
}

.personal-ending > p {
    margin-bottom: 1.5rem;
    color: var(--terracotta);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 600;
}

.personal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
}

.personal-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--warm-chalk);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.personal-links a:hover {
    gap: 0.85rem;
    color: var(--terracotta);
}

.personal-links a:focus-visible {
    outline: 3px solid var(--terracotta);
    outline-offset: 5px;
}

/* Mobiele weergave */

@media (max-width: 800px) {
    .personal-hero,
    .personal-horses,
    .personal-learning {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
    }

    .personal-hero-text,
    .personal-horses-text,
    .personal-learning-text {
        flex-basis: auto;
    }

    .personal-photo {
        align-self: center;
        width: min(80%, 420px);
    }

    .personal-horses .personal-photo {
        order: 2;
    }

    .personal-quote {
        flex-basis: auto;
        width: min(100%, 500px);
        align-self: center;
    }
}

@media (max-width: 600px) {
    .personal-hero,
    .personal-horses,
    .personal-learning,
    .personal-ai,
    .personal-ending {
        width: calc(100% - 2rem);
    }

    .personal-hero,
    .personal-horses {
        margin-top: 2rem;
        margin-bottom: 3.5rem;
    }

    .personal-horses {
        padding: 1.4rem 1.1rem;
    }

    .personal-photo {
        width: 86%;
    }

    .personal-photo-frame img {
        max-height: 360px;
    }

    .personal-quote {
        padding: 1.5rem;
    }

    .personal-ai {
        margin: 3.5rem auto;
        padding-left: 1rem;
    }

    .personal-ending {
        margin: 3.5rem auto;
    }

    .personal-links {
        align-items: center;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .personal-links a {
        transition: none;
    }
}

/* #endregion PERSONAL STORY */

/* #region STAGE */

.stage-hero {
    display: flex;
    flex-direction: column;
    margin: 4rem 6rem;
}

.stage-hero-content {
    display: flex;
    width: 80%;
    flex-direction: row;
    margin: 0 auto;
    align-items: center;
    gap: 2rem;
    height: auto;
    padding: 2rem;
}

.title {
    text-decoration: underline;
}

.power-slider {
    display: flex;
    max-height: 180px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 400px;
    flex: 1;
}

.power-slider img {
    max-width: 30%;
    object-fit: contain;
    transition: opacity 0.5s ease-in-out;
}

.imagebox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 400px;
    flex: 1;
}

.imagebox img {
    max-width: 100%;
    border-radius: 10px;
}

.stage-hero-text {
    align-content: center;
    text-align: left;
    flex: 4;
}

.stage-hero-content p {
    line-height: 1.8;
    opacity: 0.92;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: 20px;
}

.accordion-item {
    border: 1px solid rgba(244, 239, 230, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    background-color: rgba(244, 239, 230, 0.08);
}

.accordion-item:hover {
    transition: all 0.1s ease;
    box-shadow: 0 0 10px var(--warm-chalk), 0 0 20px transparent;
}

.accordion-item summary {
    cursor: pointer;
    padding: 1.2rem 1.5rem;
    font-weight: 700;
    list-style: none;
    position: relative;
}

.accordion-item summary::-webkit-details-marker {
    display: none;
}

.accordion-item summary::after {
    content: "+";
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--terracotta);
}

.accordion-item[open] summary::after {
    content: "-";
}

.accordion-item p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    line-height: 1.6;
}

.downloads {
    margin: 2rem 6rem;
}

.downloads button {
    width: 85px;
    height: 85px;
    background-color: rgba(24, 61, 59, 0.55);
    box-shadow: 0 -1px 5px var(--textShadow);
    margin: 20px;
    border-radius: 8px;
}

.downloads button:hover {
    transition: all 0.1s ease;
    box-shadow: 0 0 10px var(--warm-chalk), 0 0 20px transparent;
}

.downloads i {
    color: var(--warm-chalk);
}

.downloads p {
    margin: 10px 10px 0;
    font-size: 10px;
    color: var(--warm-chalk);
}

@media (max-width: 1500px) {
    .stage-hero {
        margin: 4rem 1rem;
    }

    .stage-hero-content {
        max-width: 90%;
        gap: 15px;
        /* margin: 2rem; */
        margin: 0 auto;
    }
}

@media (max-width: 1000px) {

    .stage-hero-content {
        flex-direction: column;
    }

    .imagebox {
        max-width: 40%;
    }

    .power-slider {
        max-width: 40%;
    }

    .app-buttons {
        flex-direction: row;
    }
}

@media (max-width: 550px) {

    .app-buttons {
        flex-direction: column;
    }

    .imagebox {
        max-width: 70%;
    }

    .power-slider {
        max-width: 70%;
    }
}

/* #endregion */

/* #region REALISATIES */

.real-page {
    width: min(1200px, calc(100% - 3rem));
    margin: 0 auto;
}

/* Intro */

.real-intro {
    position: relative;
    margin: 2rem 0 4rem;
    padding: clamp(2rem, 5vw, 4rem) 0;
    text-align: left;
    border-bottom: 1px solid rgba(244, 239, 230, 0.24);
}

.real-eyebrow,
.project-type {
    color: var(--terracotta);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.real-eyebrow {
    margin-bottom: 0.8rem;
}

.real-eyebrow span,
.project-type span {
    color: var(--warm-chalk);
}

.real-intro h1 {
    margin-bottom: 1rem;
    text-align: left;
}

.real-intro-copy {
    max-width: 760px;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.92;
}

.real-intro-link,
.real-end a {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--terracotta);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: gap 0.2s ease, border-color 0.2s ease;
}

.real-intro-link:hover,
.real-end a:hover {
    gap: 0.9rem;
    border-bottom-color: var(--terracotta);
}

/* Projecten */

.real-projects {
    margin-bottom: 5rem;
}

.real-project-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 1.5rem;
}

.real-project {
    display: flex;
    flex: 1 1 340px;
    flex-direction: column;
    min-width: 0;
    max-width: 580px;
    padding: 1.5rem;
    text-align: left;
    background: rgba(24, 61, 59, 0.52);
    border: 1px solid rgba(244, 239, 230, 0.16);
    border-top: 2px solid rgba(241, 132, 104, 0.72);
    border-radius: 5px 18px 18px 18px;
    box-shadow: 0 8px 24px rgba(16, 42, 41, 0.14);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.real-project:hover {
    transform: translateY(-4px);
    border-color: rgba(241, 132, 104, 0.55);
    box-shadow: 0 12px 30px rgba(16, 42, 41, 0.24);
}

.project-heading {
    margin-bottom: 1rem;
}

.project-type {
    margin-bottom: 0.4rem;
    font-size: 0.65rem;
}

.project-heading h2 {
    margin-bottom: 0;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.project-thumbnail,
.project-featured-visual {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 1.2rem;
    background: rgba(244, 239, 230, 0.08);
    border-radius: 10px 10px 10px 3px;
}

.project-thumbnail img,
.project-featured-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-thumbnail iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.project-thumbnail-logo img {
    width: 38%;
    height: 80%;
    object-fit: contain;
}

.project-summary {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.92;
}

.project-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1.2rem;
    padding: 0;
    list-style: none;
}

.project-skills li {
    padding: 0.35rem 0.6rem;
    color: var(--soft-sage);
    font-size: 0.7rem;
    line-height: 1.3;
    background: rgba(185, 205, 190, 0.1);
    border: 1px solid rgba(185, 205, 190, 0.28);
    border-radius: 999px;
}

.project-details {
    margin-top: auto;
    border-top: 1px solid rgba(244, 239, 230, 0.2);
}

.project-details summary {
    position: relative;
    padding: 0.9rem 1.6rem 0.2rem 0;
    color: var(--terracotta);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.project-details summary::-webkit-details-marker {
    display: none;
}

.project-details summary::after {
    content: "+";
    position: absolute;
    top: 0.65rem;
    right: 0;
    color: var(--terracotta);
    font-size: 1.25rem;
}

.project-details[open] summary::after {
    content: "−";
}

.project-detail-content {
    padding-top: 0.8rem;
    font-size: 0.86rem;
    line-height: 1.75;
}

.project-detail-content p {
    margin-bottom: 1rem;
}

.project-detail-content ul {
    margin: 0 0 1rem 1.2rem;
}

.project-detail-content li {
    margin-bottom: 0.65rem;
}

.project-detail-content a {
    color: var(--terracotta);
    font-weight: 600;
    text-decoration: none;
}

.project-detail-content a:hover {
    text-decoration: underline;
}

.project-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.project-gallery img {
    flex: 1 1 180px;
    width: calc(50% - 0.6rem);
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    border: 1px solid rgba(244, 239, 230, 0.16);
    border-radius: 6px;
}

.project-gallery img:hover {
    object-fit: contain;
    transition: transform 0.3s ease;
    transform: scale(2.5);
    border: none;
    background-color: #183D3B;
}

.project-thumbnail--full {
    padding: 0.75rem;
    background-color: rgba(244, 239, 230, 0.12);
}

.project-thumbnail--full img {
    object-fit: contain;
}

/* Uitgelicht praktijkproject */

.real-project-featured {
    display: flex;
    flex: 1 1 100%;
    flex-direction: row;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    max-width: none;
    margin-bottom: 1.5rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    border-left: 4px solid var(--terracotta);
}

.project-featured-main {
    flex: 1 1 55%;
    min-width: 0;
}

.real-project-featured .project-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.real-project-featured .project-featured-visual {
    flex: 1 1 45%;
    margin-bottom: 0;
}

.project-featured-visual img {
    object-fit: contain;
    padding: 0.5rem;
}

.project-featured-visual span {
    position: absolute;
    right: 0.7rem;
    bottom: 0.7rem;
    max-width: calc(100% - 1.4rem);
    padding: 0.45rem 0.7rem;
    color: var(--deep-petrol);
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--terracotta);
    border-radius: 4px;
}

/* Afsluitende contactlink */

.real-end {
    margin: 0 auto 5rem;
    padding: 2rem 0;
    text-align: left;
    border-top: 1px solid rgba(244, 239, 230, 0.24);
}

.real-end h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.4rem, 2.3vw, 2rem);
}

/* Mobiele weergave */

@media (max-width: 800px) {
    .real-project-featured {
        flex-direction: column;
        align-items: stretch;
    }

    .real-project-featured .project-featured-visual {
        flex-basis: auto;
        min-height: 220px;
    }
}

@media (max-width: 600px) {
    .real-page {
        width: calc(100% - 2rem);
    }

    .real-intro {
        margin: 1.5rem 0 3rem;
        padding: 1.5rem 0 2rem;
    }

    .real-intro h1 {
        font-size: 2.45rem;
    }

    .real-project-grid {
        gap: 1rem;
    }

    .real-project,
    .real-project-featured {
        flex-basis: 100%;
        padding: 1.15rem;
    }

    .project-gallery img {
        flex-basis: 100%;
        width: 100%;
        height: auto;
        max-height: 260px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .real-project,
    .real-intro-link,
    .real-end a {
        transition: none;
    }
}

/* #endregion REALISATIES */

/* #region CONTACT */

.contact-page {
    width: min(1100px, calc(100% - 3rem));
    margin: 0 auto;
    padding-bottom: 2rem;
}

/* Introductie */

.contact-intro {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 330px;
    margin: 3rem auto 5rem;
    padding: clamp(2rem, 6vw, 5rem);
    text-align: left;
    background: rgba(24, 61, 59, 0.58);
    border: 1px solid rgba(244, 239, 230, 0.18);
    border-radius: 28px 28px 28px 8px;
    box-shadow: 0 10px 35px rgba(16, 42, 41, 0.16);
}

.contact-intro::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 270px;
    height: 270px;
    top: -110px;
    right: -60px;
    border: 1px solid rgba(241, 132, 104, 0.4);
    border-radius: 50%;
}

.contact-intro::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 170px;
    height: 170px;
    right: 10px;
    bottom: -105px;
    border: 1px solid rgba(244, 239, 230, 0.2);
    border-radius: 50%;
}

.contact-intro-copy {
    max-width: 720px;
}

.contact-eyebrow {
    margin-bottom: 0.75rem;
    color: var(--terracotta);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.contact-eyebrow span {
    color: var(--warm-chalk);
}

.contact-intro h1 {
    margin-bottom: 0.4rem;
    text-align: left;
}

.contact-intro h2 {
    margin-bottom: 1rem;
    color: var(--terracotta);
    font-size: clamp(1.5rem, 2.5vw, 2.3rem);
}

.contact-lead {
    max-width: 680px;
    font-size: 1.08rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Contactkaarten */

.contact-options {
    margin: 0 auto 5rem;
}

.contact-section-heading {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-section-heading .contact-eyebrow {
    margin-bottom: 0.4rem;
}

.contact-section-heading h2 {
    margin-bottom: 0.5rem;
}

.contact-section-heading > p:last-child {
    opacity: 0.9;
}

.contact-card-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
    padding: 0.75rem 0 1.5rem;
}

.contact-card {
    position: relative;
    display: flex;
    flex: 1 1 250px;
    flex-direction: column;
    min-height: 250px;
    max-width: 340px;
    padding: 1.5rem;
    color: var(--warm-chalk);
    text-align: left;
    text-decoration: none;
    background: rgba(24, 61, 59, 0.62);
    border: 1px solid rgba(244, 239, 230, 0.18);
    border-radius: 18px 18px 18px 5px;
    box-shadow: 0 6px 20px rgba(16, 42, 41, 0.15);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-card-email {
    transform: rotate(-1.5deg);
}

.contact-card-phone {
    transform: translateY(12px) rotate(1.2deg);
}

.contact-card-linkedin {
    transform: rotate(-0.8deg);
}

.contact-card:hover {
    z-index: 1;
    color: var(--warm-chalk);
    border-color: var(--terracotta);
    box-shadow: 0 10px 28px rgba(16, 42, 41, 0.28);
}

.contact-card-email:hover,
.contact-card-phone:hover,
.contact-card-linkedin:hover {
    transform: translateY(-7px) rotate(0);
}

.contact-card:focus-visible,
.contact-cv-button:focus-visible,
.contact-project-link a:focus-visible {
    outline: 3px solid var(--terracotta);
    outline-offset: 4px;
}

.contact-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--deep-petrol);
    font-size: 1.25rem;
    background: var(--terracotta);
    border-radius: 50%;
}

.contact-card-tag {
    padding: 0.35rem 0.65rem;
    color: var(--terracotta);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    border: 1px solid rgba(241, 132, 104, 0.45);
    border-radius: 999px;
}

.contact-card-title {
    margin-bottom: 0.35rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.contact-card-detail {
    overflow-wrap: anywhere;
    font-size: 0.88rem;
    opacity: 0.8;
}

.contact-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1.5rem;
    color: var(--terracotta);
    font-size: 0.85rem;
    font-weight: 600;
}

.contact-location {
    margin-top: 1.25rem;
    color: var(--warm-chalk);
    font-size: 0.85rem;
    opacity: 0.8;
}

.contact-location i {
    margin-right: 0.35rem;
    color: var(--terracotta);
}

/* Cv-blok */

.contact-cv {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 4rem auto 2rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--deep-petrol);
    text-align: left;
    background: var(--warm-chalk);
    border-radius: 8px 24px 24px 24px;
    box-shadow: 0 10px 30px rgba(16, 42, 41, 0.18);
}

.contact-cv-icon {
    display: flex;
    flex: 0 0 70px;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    color: var(--deep-petrol);
    font-size: 1.8rem;
    background: var(--terracotta);
    border-radius: 18px 18px 18px 5px;
    transform: rotate(-4deg);
}

.contact-cv-copy {
    flex: 1;
}

.contact-cv-copy .contact-eyebrow {
    margin-bottom: 0.4rem;
    color: var(--moss);
}

.contact-cv-copy h2 {
    margin-bottom: 0.4rem;
    font-size: clamp(1.4rem, 2vw, 2rem);
}

.contact-cv-copy p:last-child {
    line-height: 1.6;
}

.contact-cv-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 1.2rem;
    color: var(--warm-chalk);
    font-weight: 600;
    text-decoration: none;
    background: var(--deep-petrol);
    border-radius: 8px;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.contact-cv-button:hover {
    color: var(--deep-petrol);
    background: var(--terracotta);
    transform: translateY(-3px);
}

/* Link naar je projecten */

.contact-project-link {
    margin: 2rem 0 4rem;
    text-align: center;
    opacity: 0.9;
}

.contact-project-link a {
    margin-left: 0.35rem;
    color: var(--terracotta);
    font-weight: 600;
    text-decoration: none;
}

.contact-project-link a:hover {
    text-decoration: underline;
}

.contact-project-link i {
    margin-left: 0.2rem;
    font-size: 0.8em;
}

/* Mobiele weergave */

@media (max-width: 700px) {
    .contact-page {
        width: min(100% - 2rem, 520px);
    }

    .contact-intro {
        min-height: auto;
        margin: 2rem auto 3.5rem;
        padding: 2rem 1.5rem;
    }

    .contact-intro h1 {
        font-size: 2.5rem;
    }

    .contact-lead {
        font-size: 1rem;
    }

    .contact-card-list {
        gap: 1rem;
        padding: 0;
    }

    .contact-card,
    .contact-card-email,
    .contact-card-phone,
    .contact-card-linkedin {
        flex-basis: 100%;
        max-width: none;
        min-height: 220px;
        transform: none;
    }

    .contact-cv {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-cv-button {
        width: 100%;
        justify-content: center;
    }

    .contact-project-link {
        line-height: 1.8;
    }

    .contact-project-link a {
        display: inline-block;
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-card,
    .contact-cv-button {
        transition: none;
    }
}

/* #endregion CONTACT */

/* #region FOOTER */

footer {
    font-family: 'Poppins', sans-serif;
    color: var(--warm-chalk);
    width: 100%;
    background-color: var(--deep-petrol);
    box-shadow: 0 -1px 5px rgba(24, 61, 59, 0.8);
    box-shadow: 0 -1px 5px var(--textShadow);
    display: block;
}

.footer-content {
    display: flex;
    flex-direction: column;
}

.footer-content a {
    text-decoration: none;
    color: var(--warm-chalk);
}

.footer-content a:hover {
    color: var(--terracotta);
}

.footer-top {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 20px;
    width: 100%;
    gap: 10px;
}

/* keep your bottom line centered */
.footer-bottom {
    font-size: 12px;
    margin: 20px 0;
    text-align: center;
}

@media (max-width: 918px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
    }

    .footer-top div {
        margin-bottom: 10px;
    }
}

/* #endregion */

/* #region ARROW */

.scroll-btn {
    position: fixed;
    bottom: 36px;
    right: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--terracotta);
    transition: all 0.3s ease;
    font-size: 2rem;
}

.scroll-btn.up {
    transform: rotate(180deg);
}

@media (max-width: 600px) {
    .scroll-btn {
        bottom: 20px;
        right: 18px;
        font-size: 1rem;
    }
}

/* #endregion */

/* #region CHATBOT */

#chatbot-container {
    position: fixed;
    bottom: 120px;
    right: 20px;
    z-index: 9999;
}

#chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--terracotta);
    cursor: pointer;
    font-size: 24px;
    color: var(--warm-chalk);
    background-color: transparent;
}

#chat-window {
    width: 350px;
    height: 500px;
    background: var(--deep-petrol);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--textShadow);
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 75px;
    right: 0;
}

.hidden {
    display: none !important;
}

#chat-header {
    padding: 15px;
    font-weight: bold;
    border-bottom: 1px solid var(--terracotta);
}

#chat-actions {
    display: flex;
    gap: 6px;
    padding: 10px;
    border-top: 1px solid var(--terracotta);
    flex-wrap: wrap;
}

.chat-action-btn {
    border: none;
    border-radius: 8px;
    padding: 5px 8px;
    cursor: pointer;
    font-size: 0.85rem;
}

#chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    scrollbar-color: var(--terracotta);
}

#chat-input-area {
    display: flex;
}

#chat-input {
    flex: 1;
    border: none;
    padding: 10px;
}

#send-btn {
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}

.message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    max-width: 80%;
}

.user {
    margin-right: auto;
    color: var(--terracotta);
    text-align: left;
}

.bot {
    margin-left: auto;
    text-align: left;
}

@media (max-width: 1024px) {
    #chat-window {
        width: 250px;
        height: 400px;
        font-size: 15px;
    }

    #chat-actions {
        padding: 10px;
    }

    .chat-action-btn {
        border-radius: 8px;
        padding: 5px 8px;
        font-size: 0.65rem;
    }

}

@media (max-width: 600px) {
    #chatbot-container {
        bottom: 60px;
        right: 5px;
    }

    #chat-toggle {
        width: 40px;
        height: 40px;
        font-size: 18px;
        background-color: transparent;
    }

    #chat-window {
        width: 150px;
        height: 350px;
        font-size: 15px;
    }

    #chat-header {
        padding: 5px;
    }

    #chat-actions {
        gap: 6px;
        padding: 10px;
    }

    .chat-action-btn {
        border-radius: 8px;
        padding: 5px 8px;
        font-size: 0.85rem;
        background-color: var(--textBG);
    }

    .chat-action-btn span {
        display: none;
    }

    #chat-messages {
        flex: 1;
        overflow-y: auto;
        padding: 15px;
        scrollbar-color: var(--terracotta);
    }
}

/* #endregion */