/* ==========================================================
   Basis
   ========================================================== */
html {
    scroll-behavior: smooth;
}

body {
    padding-top: 40px;
    padding-bottom: 40px;
    min-height: 100vh;
    background-color: #303030;
    background-image: radial-gradient(
        ellipse at center,
        #424242 0%,
        #3D3D3D 20%,
        #373737 40%,
        #323232 60%,
        #2D2D2D 80%,
        #292929 100%
    );
    background-attachment: fixed;
}

strong {
    font-weight: 450;
}

h1 {
    font-size: 35px;
    text-transform: uppercase;
    font-weight: 750;
    letter-spacing: -0.5px;
}

h4 {
    text-transform: uppercase;
    font-size: 19px;
}

/* Links */
a,
a:link,
a:visited,
a:hover,
a:active {
    color: #000;
}

/* ==========================================================
   Container
   ========================================================== */
.container {
    border: 7px solid #ffffff;
    background-color: #FFF;
}

/* Desktop */
@media (min-width: 900px) {
    .container {
        min-width: 780px;
        max-width: 995px;
    }
}

/* ==========================================================
   Knoppen
   ========================================================== */
.btn-light,
.btn-secondary {
    position: relative;
    overflow: hidden;
    padding: 3px 9px;
    margin-top: 2px;
    font-size: 13.5px;
    border: 0;
    border-radius: 0;
    background-color: #E4E4E4;
    color: #000;
    cursor: pointer;
}

/* Hover alleen met muis, anders blijft de knop op touch donker staan */
@media (hover: hover) {
    .btn-secondary:hover {
        color: #fff;
        background-color: #353535;
    }
}

/* Toetsenbord: zichtbare focus bij Tab */
.btn-secondary:focus-visible {
    outline: 2px solid #28a2b5;
    outline-offset: 2px;
}

/* De lichtstreep */
.btn-secondary::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        100deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.85) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-120%);
    pointer-events: none;
}

.btn-secondary.in-view::after {
    animation: glans 7s ease-in-out var(--delay, 0s) infinite;
}

@keyframes glans {
    0% {
        transform: translateX(-120%);
    }

    30%, 100% {
        transform: translateX(220%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-secondary.in-view::after {
        animation: none;
    }
}

/* ==========================================================
   Profielfoto / video's
   ========================================================== */
.profielfoto {
    margin-top: -7px;
    margin-left: 0;
    position: -webkit-sticky;
    position: sticky;
    top: -7px;
    z-index: 1;
    background-color: #FFF;
}

/* Wrapper om de video's */
.profielfoto > div {
    position: relative;
    margin-top: 7px;
    transition: box-shadow 0.75s ease;
}

/* Schaduw zichtbaar wanneer de foto sticky is */
.profielfoto.is-stuck > div {
    box-shadow: 0 9px 10px -3px rgba(0, 0, 0, 0.4);
}

/* Schaduw tijdelijk verbergen tijdens videowissel */
.profielfoto.is-stuck.video-switching > div {
    box-shadow: none;
}

/* Alle video's liggen op dezelfde plek over elkaar */
.profielfoto video {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    filter: grayscale(100%) contrast(95%);
}

/* De starter bepaalt de hoogte (gestapelde weergave) */
.profielfoto video.starter {
    position: relative;
}

/* Desktop: vierkante foto */
@media (min-width: 900px) {
    .profielfoto {
        align-self: flex-start;
    }

    .profielfoto > div {
        aspect-ratio: 1 / 1;
    }

    .profielfoto video,
    .profielfoto video.starter {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: calc(100% + 1px);   /* tegen het pixelverschil onderaan */
        object-fit: cover;
    }
}

/* ==========================================================
   Persoonlijke info
   ========================================================== */
.naastfoto {
    color: #FFFFFF;
    background-color: #353535;
    padding: 25px 25px 0;
}

.jumbotron {
    background-color: #28a2b5;
    padding: 20px 25px 5px;
    margin: -25px -25px 15px;
}

.anw {
    font-size: 13px;
}

/* ==========================================================
   Contactgegevens (onder elkaar)
   ========================================================== */
.contactgegevens {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 18px;
}

.contactgegevens > .anw {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    white-space: nowrap;
}

.contactgegevens img {
    display: block;
    flex-shrink: 0;
}

.contactgegevens .anw a {
    color: #fff;
    text-decoration: none;
}

.contactgegevens .anw a:hover {
    color: #28a2b5;
}

/* Desktop: contactgegevens op één rij */
@media (min-width: 900px) {
    .contactgegevens {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px 20px;
		padding-right: 5px;
    }
}

/* ==========================================================
   Responsive kolommen: gestapeld tot 900px
   ========================================================== */
@media (min-width: 768px) and (max-width: 899.98px) {
    .row.marketing > .col-md-4,
    .row.marketing > .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ==========================================================
   Linkerkolom
   ========================================================== */
.linksonder {
    background-color: #dfeef1;
    margin: 0;
    padding: 0;
}

.lichtblauw {
    padding: 25px;
}

.donkerblauw {
    background-color: #28a2b5;
    margin: 0;
    padding: 25px;
    font-size: 14px;
    font-weight: 400;
}

/* ==========================================================
   Werkervaring
   ========================================================== */
.rechtsonder {
    background-color: #ffffff;
    padding: 25px;
    border-top: 1px solid #000;
}

.card-horizontal {
    display: flex;
    align-items: stretch;
    margin-top: 29px;
}

/* Logo is even hoog als tekst + knop */
.img-square-wrapper {
    display: flex;
    flex: 0 0 70px;
    margin-right: 10px;
}

img.werk {
    width: 70px;
    height: auto;
    min-height: 70px;
    margin: 1px 0 0 0;
    object-fit: cover;
}

.card-body {
    margin: 0;
    padding: 0;
}

.card-title {
    margin: 1px 0 0 0;
    padding: 0;
    font-size: 14px;
    font-weight: 450;
    line-height: 1.4;
}

.card-title p {
    margin: 0;
    padding: 3.5px 0;
    color: #28a2b5;
}

.omschrijving {
    margin: 17px 0 10px 0;
    font-size: 14px;
    line-height: 1.2;
    text-align: justify;
    letter-spacing: 0;
}

.badge-secondary {
    background-color: #28a2b5;
    padding: 7px;
    margin: 8px 4px 0 0;
    text-transform: uppercase;
    font-weight: 400;
    border-radius: 0;
    font-size: 11px;
}

/* ==========================================================
   Ervaring-animatie
   ========================================================== */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================
   Hobby's
   ========================================================== */
.flex {
    display: flex;
    justify-content: space-between;
}

.footer_hob {
    width: 100%;
    color: #FFF;
    background-color: #353535;
    padding: 48px 45px 70px 45px;
}

.footer_hob p {
    text-align: center;
}

.icon_hob {
    background-color: #000;
    width: 70px;
    height: 70px;
    margin-left: 2px;
    transition: transform 0.25s ease;
}

.icon_hob p {
    margin: 19px 5px 5px 5px;
    font-size: 14px;
    font-weight: 300;
}

img.icon_hob {
    width: 60%;
    height: 60%;
    margin: 13px 0 0 16px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (hover: hover) {
    div.icon_hob:hover {
        transform: translateY(-4px);
    }

    div.icon_hob:hover img.icon_hob {
        transform: scale(1.15) rotate(-6deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .icon_hob,
    img.icon_hob {
        transition: none;
    }
}

/* ==========================================================
   Gestapelde weergave (onder 900px): tablet en telefoon
   ========================================================== */
@media (max-width: 899.98px) {
    body {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    body > .container {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }

    body > .container > .row.marketing {
        margin-left: 0;
        margin-right: 0;
    }

    h1 {
        font-size: 25px;
    }

    .profielfoto {
        z-index: 3;
    }

    .naastfoto {
        padding: 25px 25px 9px;
    }

    .rechtsonder {
        padding-left: 20.5px;
        padding-right: 20.5px;
    }

    /* Grotere tikdoelen */
    .btn-secondary {
        padding: 8px 14px;
    }

    /* Hobby's wrappen in plaats van uit beeld lopen */
    .footer_hob {
        padding: 36px 20px 48px;
    }

    .flex {
        flex-wrap: wrap;
        justify-content: center;
        gap: 50px 14px;
    }

    .flex > .icon_hob {
        flex: 0 0 70px;
    }

    .icon_hob p {
        margin: 19px -6px 0;
        white-space: nowrap;
    }
}

/* Tablet (600-899px): kaart in het midden, achtergrond zichtbaar */
@media (min-width: 600px) and (max-width: 899.98px) {
    body {
        padding: 32px 24px;
    }

    body > .container {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Telefoon (onder 600px): schermvullend, geen witte rand */
@media (max-width: 599.98px) {
    body > .container {
        border: 0;
    }

    .profielfoto {
        margin-top: 0;
        top: 0;
    }

    .profielfoto > div {
        margin-top: 0;
    }

    /* Links uitlijnen leest rustiger in een smalle kolom */
    .naastfoto > p {
        text-align: left !important;
    }
}

/* Telefoon in landscape: foto niet plakken, anders vult hij het hele scherm */
@media (max-width: 899.98px) and (max-height: 520px) and (orientation: landscape) {
    .profielfoto {
        position: static;
    }
}