:root {
    --accent: #e9973e;
    --accent-hover: #cc5500;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Helvetica, Arial, sans-serif;
    line-height: 1.9em;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    background: whitesmoke;
    color: #222;
}

h1,
h2,
h3,
p {
    color: #222;
}


/* Hero en videospelers */
.video-container,
.video-player-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: whitesmoke;
}


.video-container {
    padding-top: 0px;
}



.bg-video,
.player-video {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    background: whitesmoke;
}

/* Video's boven de galleries */
.gallery-video-container {
    max-width: calc(94% - 40px);
    margin: 0 auto 30px;
    border-radius: 12px;
    overflow: hidden;
    background: whitesmoke;
	padding-top: 50px;
}

.gallery-video-container .player-video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    cursor: pointer;
}

/* Navigatie */
nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.logo {
    width: 230px;
    height: auto;
    transition: opacity 0.3s ease;
}

.logo-hidden {
    opacity: 0;
    pointer-events: none;
}





/* Logo ín het hamburgermenu */
.menu-logo {
    width: 190px;
    height: auto;
    display: block;
    margin-bottom: 8px;
}

.menu-logo-link {
    display: block !important;
    width: 190px;
    padding: 0 !important;
    margin: 0 0 10px 0;
}

.menu-logo {
    display: block !important;
    width: 190px;
    max-width: 100%;
    height: auto;
}

.nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 5%;
    width: auto;
    align-items: flex-end;
    gap: 10px;
    padding: 25px 20px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    line-height: 1.2;
}

.nav-links p,
.nav-links a {
    line-height: 1.2;
}

.nav-links.show {
    display: flex;
}

.nav-links a {
    display: block;
    padding: 1px;
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    text-align: right;
    white-space: nowrap;
    transition: color 0.3s;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.contact-btn {
    display: block;
    padding: 0 15px;
    border-radius: 9px;
    background: var(--accent);
    color: #fff !important;
    text-align: center;
    text-decoration: none;
}

.contact-btn {
    padding: 7px 18px !important;
}

.contact-btn:hover {
    background: var(--accent-hover);
}

.hamburger {
    display: block;
    border: 0;
    padding: 0;
    background: none;
    color: #fff;
    font-size: 2em;
    line-height: 1.2;
    cursor: pointer;
    /* Zachte donkere schaduw: zichtbaar op lichte achtergrond zonder harde outline. */
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.75),
        0 0 5px rgba(0, 0, 0, 0.35);
    -webkit-font-smoothing: antialiased;
}

/* Tekstblokken */
.bodytekst-container {
    position: relative;
    left: 5%;
    right: 5%;
    display: flex;
    gap: 60px;
    max-width: 94%;
    margin: 30px 5px;
    padding: 0 20px;
    text-align: left;
}

.bodytekst-titel {
    display: flex;
    flex: 1.9;
}

.bodytekst-titel h1,
.bodytekst-titel h2 {
    margin: 0;
    color: #222;
    line-height: 1.3em;
}

.bodytekst-titel h2 {
    font-size: 1.9em;
    font-weight: bold;
}

.bodytekst-tekst {
    flex: 2;
    margin-right: 80px;
}

.bodytekst-tekst p {
    margin-bottom: 20px;
    color: #222;
    font-size: 0.9em;
}

.bodytekst-container a {
    color: var(--accent);
    text-decoration: none;
}

/* Galleries */
.gallery-section {
    padding: 15px 0;
}

.square-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    max-width: 94%;
    margin: 30px auto;
    padding: 0 20px;
}

.gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
}


.gallery-card {
    min-width: 0;
    margin: 0;
}

.gallery-card figcaption {
    padding: 10px 2px 2px;
}

.gallery-card figcaption strong,
.gallery-card figcaption span {
    display: block;
    color: #222;
}

.gallery-card figcaption strong {
    margin-bottom: 3px;
    font-size: 0.98em;
    line-height: 1.35em;
}

.gallery-card figcaption span {
    font-size: 0.82em;
    line-height: 1.55em;
}

/* FAQ */
.faq-wrapper {
    max-width: 82%;
    margin: 80px auto;
    padding: 0 20px;
}

.faq-header h2 {
    margin-bottom: 15px;
    color: #222 !important;
    font-size: 2rem;
    line-height: 1.3em;
}

.faq-header h3 {
    color: #222;
    font-size: 1em;
    font-weight: bolder;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    background: #fff;
}

.faq-item summary {
    padding: 22px;
    color: #222;
    font-size: 1rem;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

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

.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--accent);
    font-size: 1.4rem;
}

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

.faq-item p {
    padding: 0 22px 22px;
    color: #444;
    line-height: 1.7;
}

.faq-item a {
    color: var(--accent);
}

/* Footer */
footer {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 5%;
    padding: 50px;
    background: var(--accent);
    color: #fff;
}

.footer-column {
    text-align: left;
}

.footer-column h3 {
    margin-bottom: 4px;
    color: #fff;
    font-size: 1.3em;
}

.footer-column h3::after {
    content: "";
    display: block;
    width: 150px;
    height: 1px;
    margin-top: 4px;
    margin-bottom: 8px;
    background: #fff;
}

.footer-column ul {
    padding: 0;
    list-style: none;
    font-size: 0.89em;
}

.footer-column li,
.footer-column a {
    color: #fff;
}

.footer-column a {
    text-decoration: none;
}

.gallery-tussenkop {
    grid-column: 1 / -1;
    width: 100%;
    margin: 25px 0 5px;
    padding-left: 7%;
}

.gallery-tussenkop h2 {
    margin: 0;
    padding: 0;
    width: 100%;
    font-size: 1.9em;
    line-height: 1.3em;
    text-align: left;
}

@media (max-width: 800px) {
    .square-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    nav {
        padding: 10px 5%;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .video-container {
        padding-top: 0px;
    }

    /* Het logo staat op mobiel ook bovenaan in het geopende menu. */
    .menu-logo-link,
    .menu-logo {
        width: 190px;
    }

    .nav-links {
        top: 100%;
        right: 5%;
        padding: 25px 20px;
        background: rgba(0, 0, 0, 0.82);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    .bodytekst-container {
        flex-direction: column;
        gap: 20px;
    }

    .bodytekst-titel {
        align-items: flex-start;
        max-width: 95%;
    }

    .bodytekst-tekst {
        flex: 1;
        margin-right: 40px;
    }

    .gallery-video-container {
        max-width: 94%;
        margin: 10px auto;
		
		
		
    }

    .faq-header h2 {
        font-size: 1.6rem;
    }

    .footer-column {
        width: 48%;
        margin-bottom: 20px;
    }

    .gallery-card figcaption strong {
        font-size: 0.88em;
    }

    .gallery-card figcaption span {
        font-size: 0.76em;
    }
}

@media (max-width: 700px) {
    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        text-align: left;
    }

    .footer-column {
        width: 100%;
        padding-left: 36px;
    }

    .footer-column h3,
    .footer-column li {
        white-space: nowrap;
    }
}



/* Lichtgrijze achtergrond rond de drie portfolio-galleries.
   De marge boven en onder voorkomt dat het vlak direct tegen de tekst aansluit. */
.gallery-showcase {
    background: #dddddd;
    margin: 45px 0;
    padding: 55px 0 30px;
}

/* Binnen het grijze vlak hoeft de videoplayer minder extra bovenruimte te hebben. */
.gallery-showcase .gallery-video-container {
    padding-top: 50px;
    background: transparent;
}

.gallery-showcase .square-gallery {
    margin-top: 30px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .gallery-showcase {
        margin: 32px 0;
        padding: 25px 0 22px;
    }
}


/* Correctie videoplayer binnen de grijze gallery:
   de ruimte boven de video hoort bij het grijze vlak, niet bij een whitesmoke container. */
.gallery-showcase .gallery-video-container {
    border-radius: 0;
    overflow: visible;
}

.gallery-showcase .gallery-video-container .player-video {
    border-radius: 12px;
    background: #dddddd;
}


/* iPhone / Safari video-fix:
   verticale ruimte zit voortaan in het galleryvlak, niet in de videoplayer. */
.gallery-showcase {
    padding-top: 70px;
    padding-bottom: 50px;
}

.gallery-showcase .gallery-video-container {
    padding-top: 0 !important;
    background: #dddddd !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

.gallery-showcase .gallery-video-container .player-video {
   display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #dddddd !important;
    transform: none;
    -webkit-transform: none;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
}

@media (max-width: 768px) {
    .gallery-showcase {
        padding-top: 55px;
        padding-bottom: 40px;
    }

    .gallery-showcase .gallery-video-container {
        padding-top: 0 !important;
        margin-top: 0;
    }
}

/* Compactere, gecentreerde content op grotere schermen */
@media (min-width: 1000px) {

    .bodytekst-container {
        left: auto;
        right: auto;
        width: calc(100% - 80px);
        max-width: 1000px;
        margin: 45px auto;
        padding: 0;
        gap: 55px;
    }

    .bodytekst-tekst {
        margin-right: 0;
    }

    .square-gallery {
        width: calc(100% - 80px);
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
        gap: 18px;
    }

    .gallery-tussenkop {
        width: calc(100% - 80px);
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
    }

    .gallery-video-container {
        width: calc(100% - 80px);
        max-width: 1000px;
    }
	
	    .faq-wrapper {
        width: calc(100% - 80px);
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }

    footer {
        flex-wrap: nowrap;
        justify-content: space-between;
        padding-left: max(40px, calc((100% - 1000px) / 2));
        padding-right: max(40px, calc((100% - 1000px) / 2));
    }

    .footer-column {
        flex: 1;
        min-width: 0;
    }

}

/* Footer: alle kolommen links uitgelijnd en gelijkmatig over 1000px verdeeld */
@media (min-width: 1000px) {
    footer {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 40px;
        padding-left: max(40px, calc((100% - 1000px) / 2));
        padding-right: max(40px, calc((100% - 1000px) / 2));
    }

    footer .footer-column {
        flex: 0 1 auto;
        width: auto;
        min-width: 0;
        text-align: left;
    }

    footer .footer-column h3,
    footer .footer-column ul,
    footer .footer-column li,
    footer .footer-column a {
        text-align: left;
    }

    footer .footer-column h3::after {
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 25px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border: 2px solid var(--accent);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none !important;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hero-button-filled {
    background: var(--accent);
    color: #fff;
}

.hero-button-filled:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
    text-decoration: none;
}

.hero-button-outline {
    background: transparent;
    border-color: var(--accent);
    color: #fff;
}

.hero-button-outline:hover {
    background: var(--accent);
    color: #fff;
    text-decoration: none;
}

/* Knoppen onder H1/H2 */
.bodytekst-titel {
    flex-direction: column;
    align-items: flex-start;
}

.bodytekst-titel .hero-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

/* Oranje vlakken met altijd witte tekst, ook binnen .bodytekst-container */
.bodytekst-container .hero-button-filled {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.bodytekst-container .hero-button-filled:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
}

/* Knoppen onder H1 en H2 zijn bewust even groot. */
.section-buttons .hero-button {
    padding: 10px 22px;
    border-width: 2px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

@media (max-width: 480px) {
    .bodytekst-titel .hero-buttons {
        gap: 8px;
    }

    .hero-button {
        padding: 8px 14px;
        font-size: 0.84rem;
    }

}


/* Kennis maken?: oranje outline, gevuld bij hover */
.bodytekst-container .hero-button-outline {
    background: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

.bodytekst-container .hero-button-outline:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}


/* Natuurlijke browser-scroll voor alle interne links op de website */
html {
    scroll-behavior: smooth;
}


/* Houd het doel onder de vaste navigatiebalk zichtbaar */
#uitleg,
#explainer,
#handleiding,
#faq {
    scroll-margin-top: 70px;
}

/* Contact exact gelijk uitlijnen als de Contact-knop in het menu */
#contact {
    scroll-margin-top: 0;
}

/* Drie CTA-knoppen op één regel onder H1/H2 */
@media (min-width: 769px) {
    .bodytekst-titel .hero-buttons {
        flex-wrap: nowrap;
        gap: 8px;
        width: 100%;
    }

    .bodytekst-titel .hero-button {
        flex: 0 1 auto;
        min-width: 0;
        padding: 9px 12px;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    /* Overschrijft de eerdere, ruimere section-button maten */
    .section-buttons .hero-button {
        padding: 9px 12px;
        font-size: 0.78rem;
    }
}


/* Mobiel: CTA-knoppen compact genoeg om met drie naast elkaar te passen */
@media (max-width: 768px) {
 .bodytekst-titel .hero-buttons { display:flex; flex-direction:row; flex-wrap:nowrap; width:100%; gap:5px; }
 .bodytekst-titel .hero-button, .section-buttons .hero-button { flex:0 1 auto; min-width:0; padding:7px 8px; font-size:0.68rem; line-height:1.2; white-space:nowrap; border-width:2px; }
}
@media (max-width: 390px) {
 .bodytekst-titel .hero-buttons { gap:4px; }
 .bodytekst-titel .hero-button, .section-buttons .hero-button { padding:6px 6px; font-size:0.62rem; }
}

/* Oudere Windows/browser GPU-fix: voorkom 1px donkere naad rechts/onder.
   Alleen de gallery-videoplayer wordt geraakt. */
.gallery-showcase .gallery-video-container {
    background: #dddddd !important;
}

.gallery-showcase .gallery-video-container .player-video {
    display: block;
    background: #dddddd !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    vertical-align: top;
    clip-path: inset(0.5px round 12px);
    -webkit-clip-path: inset(0.5px round 12px);
}

/* Oudere Windows/browser GPU-fix voor de overige achtergrondvideo's.
   Zelfde aanpak als bij de galleryvideo's, zonder layout of gedrag te wijzigen. */
.video-container .bg-video,
.contact-hero-container .bg-video {
    display: block;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    vertical-align: top;
    clip-path: inset(0.5px);
    -webkit-clip-path: inset(0.5px);
}

.video-container,
.contact-hero-container {
    overflow: hidden;
}

/* Edge-fix voor hero- en contactvideo:
   geen clip-path op achtergrondvideo's; 2px overscan voorkomt de 1px naad rechts.
   De gallery-fix hierboven blijft ongewijzigd. */
.video-container,
.contact-hero-container {
    overflow: hidden !important;
    background: whitesmoke;
}

.video-container .bg-video,
.contact-hero-container .bg-video {
    display: block;
    width: calc(100% + 2px);
    max-width: none;
    height: auto;
    margin: 0 -2px 0 0;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    vertical-align: top;
}


/* Desktop: gallery-tussenkoppen bij anker-scroll uitlijnen met de bovenkant van de hamburger */
@media (min-width: 769px) {
    #uitleg,
    #explainer,
    #handleiding {
        scroll-margin-top: 15px;
    }
}

/* === Gallery overgenomen uit style-heuvelmedia.css (actuele 5-koloms versie) === */
.gallery-section {
    padding: 15px 0 0;
}

.gallery-showcase {
    width: 100%;
    margin: 45px 0 0;
    padding: 55px 0 30px;
    background: #dddddd;
    color: #222;
}

.gallery-tussenkop,
.square-gallery,
.gallery-video-container {
    width: min(1080px, calc(100% - 80px));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.gallery-tussenkop {
    margin-bottom: 5px;
    scroll-margin-top: 20px;
}

.gallery-tussenkop h2 {
    margin: 0;
    color: #222;
    font-size: 1.9rem;
    line-height: 1.25;
}

.square-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.gallery-card {
    min-width: 0;
    margin: 0;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    background: #ccc;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform .2s ease;
}

.gallery-item:hover img {
    transform: scale(1.02);
}

.gallery-card figcaption {
    padding: 10px 2px 0;
}

.gallery-card figcaption strong,
.gallery-card figcaption span {
    display: block;
    color: #222;
}

.gallery-card figcaption strong {
    font-size: .98rem;
    line-height: 1.35;
}

.gallery-card figcaption span {
    margin-top: 3px;
    color: #666;
    font-size: .82rem;
    line-height: 1.55;
}

.gallery-video-container {
    display: none;
    margin-top: 0;
    margin-bottom: 30px;
    padding-top: 0 !important;
    overflow: hidden;
    border: 0;
    outline: 0;
    box-shadow: none;
    border-radius: 12px;
    background: transparent !important;
}

.gallery-video-container .player-video {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    box-shadow: none;
    border-radius: 12px;
    background: transparent !important;
    cursor: pointer;
    vertical-align: top;
}

/* Desktop: 5 compacte portfolio-items naast elkaar. */
@media (min-width: 901px) {
    .square-gallery {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 16px;
    }
}

/* Mobiel/tablet: dezelfde actuele gallery in twee kolommen. */
@media (max-width: 900px) {
    .gallery-showcase {
        margin-top: 32px;
        padding: 44px 0 30px;
    }

    .gallery-tussenkop,
    .square-gallery,
    .gallery-video-container {
        width: 86%;
    }

    .gallery-tussenkop h2 {
        font-size: 1.55rem;
        line-height: 1.24;
    }

    .square-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
        margin-top: 24px;
        margin-bottom: 18px;
    }

    .gallery-card figcaption strong {
        font-size: .82rem;
        line-height: 1.3;
    }

    .gallery-card figcaption span {
        font-size: .72rem;
        line-height: 1.4;
    }

    .square-gallery > .gallery-card:nth-child(odd):last-child {
        display: none;
    }
}

