/* ------------------------------------
   BASIS
------------------------------------ */

:root {
    --oker: rgb(218, 166, 33);
    --white: rgb(255, 255, 255);
    --text: #333;
    --bg-light: #eeeeee35;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}


/* ------------------------------------
   HERO – DESKTOP
------------------------------------ */

.hero {
    position: relative;
    min-height: 600px;
    height: 90vh;
    height: 90svh;
    background: url('../img/VW-hero2.webp') center bottom / cover no-repeat;
    display: flex;
    align-items: flex-start;
    padding-top: 40px;
    padding-bottom: 20px;
    color: white;
    font-family: 'Outfit', sans-serif;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
}

/* Content wrapper */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

/* Logo */
.hero-logo {
    width: 220px;
    margin-bottom: 200px;
}


/* ------------------------------------
   HERO TITLE
------------------------------------ */

.hero-title {
    position: relative;
    width: 100%;
    padding-left: 30px;
    margin-bottom: 40px;
}

.hero-line {
    position: absolute;
    left: 0;
    top: 5%;
    height: 90%;
    width: 6px;
    background: var(--oker);
    border-radius: 3px;
    opacity: 0;
    animation: lineGrow 0.8s ease-out forwards;
    animation-delay: 0.1s;
}

@keyframes lineGrow {
    from { height: 0; opacity: 0; }
    to   { height: 90%; opacity: 1; }
}

.hero-title h1 {
    margin: 0;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.15;
    opacity: 0;
    transform: translateX(-18px);
    animation: titleSlide 1s ease-out forwards;
    animation-delay: 0.35s;
}

.hero-title h1 span:last-child {
    display: block;
    font-size: 0.72em;
    font-weight: 300;
    opacity: 0.9;
}

@keyframes titleSlide {
    from { opacity: 0; transform: translateX(-22px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Subtitle */
.hero p {
    font-size: 1.1rem;
    line-height: 1.4;
    max-width: 620px;
    margin-bottom: 32px;
    opacity: 0;
    animation: subtitleFade 0.7s ease-out forwards;
    animation-delay: 0.55s;
}

@keyframes subtitleFade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ------------------------------------
   COP BADGE
------------------------------------ */

.cop-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(6px);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    color: black;
    font-weight: 600;
    opacity: 0;
    animation: badgeIn 0.6s ease-out forwards;
    animation-delay: 0.4s;
}

.cop-badge span {
    color: var(--oker);
    font-size: 1.1rem;
}

@keyframes badgeIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}


/* ------------------------------------
   HERO – MOBILE
------------------------------------ */

@media (max-width: 768px) {

    .container {
        width: 95%;
    }

    .hero {
        height: auto;
        min-height: 740px;
        padding-top: 30px;
    }

    .hero-logo {
        width: 180px;
        margin-bottom: 80px;
    }

    .hero-title {
        padding-left: 24px;
    }

    .hero-title h2 {
        font-size: 3rem;
    }

    .hero-line {
        width: 5px;
    }

    .hero p {
        font-size: 1.6rem;
    }

    .cop-badge {
        top: 20px;
        right: 12px;
        padding: 6px 12px;
        transform: scale(0.9);
    }
}


/* ------------------------------------
   BUTTON SYSTEM
------------------------------------ */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 28px;
    border-radius: 12px;

    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;

    border: 2px solid transparent;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

/* ------------------------------------
   PRIMARY (GEEL)
------------------------------------ */

.btn-primary {
    background: var(--oker);
    color: white;
    border-color: var(--oker);
}

.btn-primary:hover {
    background: transparent;
    color: var(--oker);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

/* ------------------------------------
   SECONDARY (WIT)
------------------------------------ */

.btn-secondary {
    background: white;
    color: var(--oker);
    border-color: white;
}

.btn-secondary:hover {
    background: var(--oker);
    color: white;
    border-color: var(--oker);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

/* ------------------------------------
   BUTTON ROW (OPTIONEEL, MAAR NETJES)
------------------------------------ */

.button-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Mobile buttons */
@media (max-width: 620px) {
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}



/* ------------------------------------
   SECTIES
------------------------------------ */
/* ------------------------------------
   USP SECTION
------------------------------------ */

.usps {
    background: white;
    padding: 50px 0 60px;
}

/* Titel */
.usps h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 40px;
    position: relative;
    color: var(--text);
}

/* Grid */
.usp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* Card */
.usp-item {
    background: #fafafa;
    border-radius: 14px;
    padding: 28px 26px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Subtiele hover (desktop only) */
@media (hover: hover) {
    .usp-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 32px rgba(0,0,0,0.08);
    }
}

/* Icon */
.usp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--oker);
    color: white;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
}

/* Titel in card */
.usp-item h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
}

/* Tekst */
.usp-item p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.4;
}

/* Desktop layout */
@media (min-width: 760px) {
    .usp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* ------------------------------------
   VISUAL DIVIDER
------------------------------------ */


.parallax-divider {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -625px;
    left: 0;
    width: 100%;
    height: 900px;

    background-size: cover;
    background-position: center;
    will-change: transform, opacity;

    transition: opacity 0.8s ease;
}

/* starttoestand */
.bg-a {
    opacity: 1;
    z-index: 1;
}

.bg-b {
    opacity: 0;
    z-index: 0;
}

@media (max-width: 620px) {
    .parallax-divider { height: 140px; }
    .parallax-bg {
        top: -550px;
        height: 500px;
    }
}

/* ------------------------------------
   SERVICES SECTION
------------------------------------ */

.services {
    background: var(--bg-light);
    padding: 60px 0;
}

/* Titel */
.services h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 40px;
    position: relative;
    color: var(--text);
}

/* Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

/* Card */
.service-card {
    background: white;
    border-radius: 14px;
    padding: 30px 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover alleen desktop */
@media (hover: hover) {
    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 32px rgba(0,0,0,0.08);
    }
}

/* Titel in card */
.service-card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
}

/* Tekst */
.service-card p {
    margin: 0 0 14px;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.85;
}

/* Link */
.service-link {
    font-weight: 600;
    text-decoration: none;
    color: var(--oker);
    font-size: 0.95rem;
}

/* Desktop layout */
@media (min-width: 760px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ------------------------------------
   PORTFOLIO SECTION
------------------------------------ */

.portfolio {
    background: white;
    padding: 60px 0;
}

/* Titel */
.portfolio h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 40px;
    position: relative;
    color: var(--text);
}

/* Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

/* Card */
.portfolio-card {
    background: #fafafa;
    border-radius: 14px;
    overflow: hidden; /* nodig voor afgeronde foto */
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;

}
.portfolio-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Hover alleen desktop */
@media (hover: hover) {
    .portfolio-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 32px rgba(0,0,0,0.08);
    }
}

/* Afbeelding */
.portfolio-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ddd;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content */
.portfolio-content {
    padding: 24px 26px 28px;
}

.portfolio-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
}

.portfolio-card p {
    margin: 0 0 14px;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.85;
}



/* Link */
.portfolio-link {
    font-weight: 600;
    text-decoration: none;
    color: var(--oker);
    font-size: 0.95rem;
}

/* Desktop layout */
@media (min-width: 760px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ------------------------------------
   ABOUT PREVIEW / OVER ONS
------------------------------------ */

.about-preview {
    background: var(--bg-light);
    padding: 60px 0;
}

.about-preview h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 32px;
    color: var(--text);
}

.about-intro {
    margin: 0 auto 24px;
    font-size: 1rem;
    line-height: 1.6;
}

.about-toggle {
    display: block;
    margin: 20px 0;
    padding: 0;
    background: none;
    border: none;
    color: var(--oker);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
}

.about-full {
    margin: 0 auto;
    text-align: left;
    font-family: inherit;
}

.about-full.is-open {
    max-height: 2000px; /* bewust ruim */
}

.about-full p {
    margin: 0 0 16px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-full ul {
    margin: 0 0 16px;
    padding-left: 20px;
}

.about-full li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* ------------------------------------
   CONTACT CTA
------------------------------------ */

.contact-cta {
    background: white;
    padding: 60px 0 80px; /* extra onderaan, bewust */
    text-align: center;
}

.contact-cta h2 {
    margin: 0 0 32px;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
}

/* ------------------------------------
   FOOTER
------------------------------------ */

.site-footer {
    background-color: #333333;
    padding: 28px 20px;
    text-align: center;
}

.site-footer p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.02em;
}
/* … JOUW VOLLEDIGE BESTAANDE CSS BLIJFT 1-OP-1 … */

/* ------------------------------------
   INFO POPUP
------------------------------------ */

.info-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 999;
}

.info-popup-inner {
    background: white;
    max-width: 420px;
    padding: 32px;
    border-radius: 14px;
    margin: 15vh auto;
    text-align: center;
}

.popup-close {
    margin-top: 16px;
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

/* ------------------------------------
   FLOATING CAL CTA (EIGEN STIJL)
------------------------------------ */

.cal-cta {
  position: fixed;
  right: 24px;
  top: 24px;
  z-index: 9999;

  /* start verborgen */
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;

  transition: 0.3s ease;
}
.cal-cta:hover {
  background-color: rgba(255, 255, 255, 0.85);
}
.cal-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 620px) {
  .cal-cta {
    right: 16px;
    /*bottom: calc(16px + env(safe-area-inset-bottom));*/
    padding: 12px 20px;
    font-size: 0.95rem;
    border-radius: 14px;
    width: auto;
  }
}

/* Accentlijn onder titel */
section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--oker);
    margin: 16px auto 0;
    border-radius: 2px;
}

.hidden {
    display: none!important;
}

/************************ PORTFOLIO PAGINA *************************/

.simple-header {
    /*background: #111;*/
    padding: 18px 0;
}

.header-logo img {
    width: 160px;
    display: block;
}
.portfolio-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
    font-size: 1rem;
    opacity: 0.85;
}

.project {
    margin-bottom: 24px;
}

.project-toggle {
    all: unset;
    cursor: pointer;
    display: block;
    width: 100%;
}

.project-details {
    display: none;
    background: #fafafa;    /* net iets grijzer dan wit */
    border-radius: 14px;
    padding: 50px;
    margin-top: -30px;

    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    font-size: 0.95rem;
    line-height: 1.65;
}
.project-details h4 {
    margin: 0 0 14px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--oker);
}

.project-details ul {
    padding-left: 20px;
    margin: 0 0 20px;
}

.project-details li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.project-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    cursor: zoom-in;
}


/* Portfolio pagina – ruimer grid */
@media (min-width: 760px) and (max-width: 1442px) {
    .portfolio-page .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Grote schermen */
@media (min-width: 1443px) {
    .portfolio-page .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-page .portfolio-card {
    position: relative;
}

.portfolio-page .portfolio-content p {
    line-height: 1.5;
    min-height: calc(1.5em * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portfolio-page .portfolio-card h3 {
    line-height: 1.3;
    min-height: calc(1.3em * 2);

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project.is-open .portfolio-card::before {
    content: '';
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0;

    width: 6px;
    background: var(--oker);
    border-radius: 3px;
    pointer-events: none;
}

.project.is-open .portfolio-card {
    transition: none;
    box-shadow: 0 -6px 12px rgba(0,0,0,0.08);
}

.project.is-open .project-details {
    border-left: 6px solid var(--oker);
    /*box-shadow: 0 8px 24px rgba(0,0,0,0.06);*/
}
.project.is-open .portfolio-link {
    display: none;
}

/* ------------------------------------
   LIGHTBOX
------------------------------------ */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);

    display: flex;              /* 👈 altijd flex */
    align-items: center;        /* verticale centrering */
    justify-content: center;    /* horizontale centrering */

    opacity: 0;
    pointer-events: none;

    z-index: 10000;
    cursor: zoom-out;
    transition: opacity 0.25s ease;
}

.lightbox.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}


/************************ PORTFOLIO PAGINA *************************/