@font-face {
    font-family: 'DB-KAPITAAL';
    src: url('DB-KAPITAAL.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow';
    src: url('Barlow-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Barlow', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #CDECEB;
    overflow-x: hidden;
    text-align: center;
}

ul {
    margin-left: 30px;
    font-size: 2rem;
    margin-top: 25px;
    margin-bottom: 25px;
}

li {
    text-align: left;
}

h2 {
    line-height: 5rem;
    font-weight: 100;
}

p {
    font-weight: 100;
    font-size: 2rem;
    text-align: left;
}

/* Container voor 100% breed met kleine marges */
.container {
    max-width: 100%;
    margin: 0 20px;
    padding: 0;
}

section,
footer {
    margin-left: 20px;
    margin-right: 20px;
    max-width: 1200px;
    margin: auto;
}

/* Hero */
.hero-section {
    background-color: #7AC8EE;
    color: white;
    text-align: center;
}

.hero-label {
    font-family: 'Barlow', sans-serif;
    color: #102F90;
    background-color: #CDECEB;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 100;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    display: inline-block;
    align-self: center;
    width: 200px;
    padding: 5px 10px;
    border-radius: 5px;


}

.hero-subtitle {
    font-size: 2rem;
    color: #102F90;
    width: 70%;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 3px;
    box-sizing: border-box;
    display: inline-block;
    align-self: center;
    text-align: center;
}

.hero-subtitle p {
    text-align: center;
}



.CTA {
    display: inline-block;
    background: #102F90;
    color: #CDECEB;
    text-decoration: none;
    padding: 10px 18px 10px 18px;
    border-radius: 6px;
    margin: 20px 0px;
    font-size: 2rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.CTA:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}

/* Module styling */
.module {
    margin-bottom: 0px;
    padding: 30px 40px;
    color: #102F90;
}

.module-title {
    font-size: 5rem;
    font-weight: 100;
    text-align: left;
    margin-top: 40px;
    margin-bottom: 40px;
    color: #102F90;
}

/* 1 kolom tekst */
.single-column {
    background: #7AC8EE;
    padding: 30px 40px;
}

#voorwie {
    border-radius: 20px 20px 0px 0px;
}

#footer {
    border-radius: 20px 20px 20px 20px;
}

#activiteiten {
    border-radius: 0px 0px 20px 20px;
}

#waarom {
    border-radius: 20px 20px 0px 0px;
}

#meedoen {
    border-radius: 0px;
}

#portaal {
    border-radius: 20px 20px 0px 0px;
}

.single-column p {
    font-size: 2rem;
    text-align: left;
    max-width: auto;
    margin: 0 0;
    line-height: 1.5;
    color: #102F90;
}

/* 2 kolommen */
.inverted {
    padding: 30px 40px;
    background: #102F90;
    color: #7AC8EE;
    border-radius: 0px 0px 20px 20px;
}

.inverted .module-title {
    color: #CDECEB;
    font-weight: 100;
}

.inverted p {
    color: #CDECEB;
    font-size: 2rem;
}

.inverted .CTA {
    background: #7AC8EE;
    color: #102F90;
}

.two-column {
    padding: 30px 40px;
    background: #7AC8EE;
    border-radius: 0px 0px 20px 20px;
}

.two-column .container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
    align-items: start;
}

.two-column .column {
    font-size: 1.5rem;
    line-height: 1.7;
}

.two-column .column h3 {
    font-size: 3rem;
    line-height: 3.5rem;
    margin-bottom: 40px;
    color: #102F90;
    text-align: left;
}

/* Logo module */
.logo-section {
    background-color: #7AC8EE;
    padding: 60px 0;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 20px 20px 0px 0px;
    margin-top: 20px;
}

.logo-container {
    transition: all 0.3s ease;
}

.logo-large {
    font-family: 'DB-KAPITAAL', 'Barlow', sans-serif;
    font-size: 15rem;
    line-height: 1em;
    font-weight: 700;
    color: #102F90;
    text-shadow: none;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.logo-small {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    margin: 0px 0px;
    text-align: left;
    font-family: 'DB-KAPITAAL', 'Barlow', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #102F90;
    background-color: #7AC8EE;
    border-radius: 0px;
    padding: 10px 30px;
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.logo-small.visible {
    opacity: 1;
    visibility: visible;
}


.logo-small .CTA {
    float: right;
    left: 100%;
    top: 0px;
    margin: 10px 0px;
    margin-left: -200px;
    position: absolute;
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
}

/* Tekst-marquee (horizontaal) altijd gevuld */
.text-marquee {
    color: #CDECEB;
    background-color: #102F90;
    padding: 60px 0px 20px 0;
    overflow: hidden;
    margin: 0 20px;
    border-radius: 20px 20px 0px 0px;
    margin: auto;
}

.text-marquee.inverted {
    color: #102F90;
    background-color: #CDECEB;
    padding: 60px 0px 20px 0;
    overflow: hidden;
    margin: 0 20px;
    border-radius: 20px 20px 0px 0px;
    margin: auto;
}


.marquee-track {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    width: max-content;
    animation: marquee-x 30s linear infinite;
}

.marquee-segment {
    display: inline-flex;
    gap: 60px;
    font-family: 'Barlow', sans-serif;
    font-size: 5rem;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 0px;
}

@keyframes marquee-x {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Vimeo sectie */
.vimeo-section {
    background: #7AC8EE;
    padding: 80px 10px;
    text-align: center;
}

.vimeo-container {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.vimeo-placeholder {
    position: absolute;
    inset: 0;
    background: #bdc3c7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    border-radius: 10px;
    border: 3px dashed #95a5a6;
}

/* Photo strip marquee */
.photo-strip {
    background: #CDECEB;
    padding: 0px 0;
    overflow: hidden;
    position: relative;
    margin: auto;
}

.photo-strip-bg {
    background-color: #7AC8EE;
    position: absolute;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.photo-marquee {
    display: flex;
    align-items: center;
    /* centreer items verticaal t.o.v. elkaar */
    gap: 30px;
    width: max-content;
    animation: photos-x 30s linear infinite;
    padding-top: 60px;
    padding-bottom: 60px;
    margin: auto;
}

.photo-strip:hover .photo-marquee {
    animation-play-state: paused;
}

.photo-item {
    flex-shrink: 0;
    width: 300px;
    /* vaste breedte */
    /* geen vaste hoogte: hoogte volgt verhouding van de afbeelding */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    /* laat hogere afbeeldingen zichtbaar zijn */
}

/* ondersteuning voor echte afbeeldingen binnen de strip */
.photo-item img {
    display: block;
    width: 100%;
    height: auto;
    /* behoud aspect ratio, variabele hoogte */
    border-radius: 10px;
}

.photo-item span {
    position: relative;
    z-index: 1;
}

@keyframes photos-x {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Single image section */
.single-image {
    background: #CDECEB;
    padding: 40px 0 0 0;
    text-align: center;
}

.single-image .image-wrap {
    max-width: 1000px;
    margin: 0 auto;
}

.single-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* Split media section */
.split-media {
    background: #7AC8EE;
}

.split-media .split-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: stretch;
    /* kolommen even hoog als de hoogste inhoud */
}

.split-media .split-text {
    color: #102F90;
    font-size: 1.4rem;
    line-height: 1.6;
}

.split-media .split-image {
    display: flex;
    /* laat de afbeelding de kolomhoogte vullen */
    align-items: center;
    max-width: 450px;
    display: block;
    margin: auto;
    width: 80%;
}

.split-media .split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* snijd bij indien nodig om de kolomhoogte te vullen */
    border-radius: 12px;
    display: block;

}

/* Newsletter section */
.newsletter {
    background: none;
    padding: 60px 20px;
    text-align: center;

}

.newsletter h2 {
    font-family: 'Barlow', sans-serif;
    font-weight: 100;
    font-size: 5rem;
    color: #102F90;
    margin-bottom: 10px;
}

.newsletter p {
    font-size: 2rem;
    color: #102F90;
    margin-bottom: 20px;
    text-align: center;
}

.newsletter .form {
    display: inline-flex;
    gap: 0px;
}

.newsletter input[type="email"] {
    padding: 12px 14px;
    margin: 0px;
    border-radius: 8px 0px 0px 8px;
    border: 1px solid #102F90;
    color: #102F90;
    background-color: #CDECEB;
    min-width: 300px;
    font-size: 1rem;
    text-transform: uppercase;
}

.newsletter button {
    padding: 12px 18px;
    background: #102F90;
    color: #CDECEB;
    border: 0;
    border-radius: 0px 8px 8px 0px;
    cursor: pointer;
    font-size: 1rem;
}

.newsletter button:hover {
    filter: brightness(1.05);
}

/* Footer */
.site-footer {
    background: #102F90;
    color: #CDECEB;
    padding: 60px 20px;
    margin-bottom: 60px;
    font-size: 1rem;
}

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

.site-footer .footer-title {
    font-family: 'DB-KAPITAAL', 'Barlow', sans-serif;
    font-size: 15rem;
    line-height: 1em;
    margin-bottom: 30px;
    text-align: center;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer .footer-col {
    font-size: 1rem;
    line-height: 1.6;
}

.site-footer .partners {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.site-footer .partners img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.site-footer .social {
    gap: 12px;
    text-align: right;
}

.site-footer .social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: #CDECEB;
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .split-media .split-grid {
        grid-template-columns: 1fr;
    }


    .site-footer .footer-grid {
        grid-template-columns: 43fr;
        gap: 10px;
    }

    .site-footer .partners {
        text-align: center;
    }

    .site-footer .social {
        text-align: left;
    }
}

/* Verticale credits (aftiteling) */
.credits-section {
    background: #7AC8EE;
    color: #232323;
    padding: 40px 0;
}

.credits-viewport {
    height: 400px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    max-width: 900px;
    border-radius: 0px;
}

.credits-track {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: credits-y 30s linear infinite;
}

.credits-segment {
    display: flex;
    flex-direction: column;
    width: auto;
    gap: 22px;
    padding: 30px 0;
}

.credits-item {
    font-family: 'Barlow', sans-serif;
    font-size: 5rem;
    text-align: center;
    letter-spacing: 0px;
    background-color: #4DA95C;
    border-radius: 20px;
    padding: 0px 20px;
    width: auto;
    /* automatische breedte o.b.v. inhoud */
    align-self: center;
    /* centreer per item binnen column */
    display: inline-block;
    /* zorg dat item zich aan inhoud aanpast */
}

@keyframes credits-y {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

/* Floating navigation */
.floating-nav {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-transform: uppercase;
    color: #004983;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.floating-nav ul {
    display: flex;
    list-style: none;
    font-size: 1rem;
    gap: 30px;
    margin: 20px;
    padding: 0;
    line-height: 1rem;
    text-align: center;
}

.floating-nav li {
    text-align: center;
}

.floating-nav a {
    color: #004983;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.floating-nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
}

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

    h2 {
        line-height: 3rem;
    }


    p {
        font-size: 1rem;
    }

    ul,
    li {
        font-size: 1rem;
        text-align: left;
    }

    .container {
        margin: 0 15px;
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .logo-section {
        padding: 20px 0px;
    }

    .logo-large {
        font-size: 7rem;
    }

    .logo-small {
        font-size: 1.5rem;
        padding: 8px 20px;
        width: 100%;
    }

    .logo-small .CTA {
        width: 160px;
        padding: 5px 10px;
        left: 100%;
        top: 0px;
        position: absolute;
        margin-left: -170px;

    }

    .two-column .column h3 {
        font-size:1.8rem;
        line-height: 2rem;
    }
    .credits-viewport {
        height: 200px;
    }

    .credits-item {
        font-size: 2rem;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px;
    }

    .module {
        padding: 40px 0;
    }

    .module-title {
        font-size: 2rem;
    }

    .single-column {
        padding: 40px 20px;
    }

    .single-column p {
        font-size: 1rem;
    }

    .vimeo-section {
        padding: 60px 20px;
    }

    .marquee-segment {
        font-size: 2rem;
        font-weight: 100;
    }

    .photo-item {
        width: 250px;
        /* vaste breedte mobiel/tablet */
    }

    .floating-nav {
        bottom: 20px;
        padding: 12px 20px;
        width: 100%;
        bottom: 0px;
    }

    .floating-nav ul {
        gap: 15px;
    }

    .floating-nav a {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .CTA {
        font-size: 1.2rem;
    }

    .newsletter h2 {
        font-size: 2rem;
        line-height: 3rem;
    }

    .newsletter p {
        font-size: 1rem;
    }

    .newsletter input[type="email"] {
        max-width: 150px;
        min-width: 150px;
    }

    .site-footer .footer-title {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .logo-large {
        font-size: 2.5rem;
    }

    .marquee-segment {
        font-size: 1.5rem;
    }

    .photo-item {
        width: 200px;
        height: 120px;
        font-size: 1rem;
    }

    .floating-nav ul {
        flex-wrap: wrap;
        gap: 10px;
    }

    .floating-nav a {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
}

/* Specifieke mobile/touch aanpassing voor split-media zodat beeld niet geforceerd rekt */
@media (max-width: 900px) {
    .split-media .split-image {
        display: block;
    }

    .split-media .split-image img {
        height: auto;
        object-fit: contain;
    }
}

/* --- Mobile hamburger styles for floating-nav --- */
@media (max-width: 768px) {
    .floating-nav {
        position: fixed;
        left: 0;
        right: 0;
        transform: none;
        margin: 0 0;
        border-radius: 12px 12px 0 0;
        padding: 10px 12px;
    }

    .floating-nav .nav-toggle {
        position: relative;
        z-index: 1001;
        appearance: none;
        background: transparent;
        border: 0;
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        cursor: pointer;
    }

    .floating-nav .burger,
    .floating-nav .burger::before,
    .floating-nav .burger::after {
        content: "";
        display: block;
        width: 22px;
        height: 2px;
        background: #004983;
        transition: transform .2s ease, opacity .2s ease;
        position: relative;
    }

    .floating-nav .burger::before {
        position: absolute;
        top: -7px;
    }

    .floating-nav .burger::after {
        position: absolute;
        top: 7px;
    }

    /* Verberg menu standaard op mobiel */
    .floating-nav ul {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 60px;
        margin: 0;
        padding: 12px 16px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 12px 12px 0 0;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, .15);
        display: none;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .floating-nav.open ul {
        display: flex;
    }

    /* Burger animatie naar kruisje */
    .floating-nav.open .burger {
        transform: rotate(45deg);
    }

    .floating-nav.open .burger::before {
        transform: rotate(90deg) translateX(0);
        top: 0;
    }

    .floating-nav.open .burger::after {
        opacity: 0;
    }
}