/* =========================================
   VARIABLES
========================================= */

@font-face {
  font-family: 'Montserrat';
  /* Point to the exact path where you uploaded the file on your server */
  src: url('/fonts/Montserrat-VariableFont_wght.ttf') format('truetype-variations');
  
  /* Define the range of weights this single file supports */
  font-weight: 500 800; 
  font-style: normal;
  font-display: swap; /* Prevents invisible text while loading */
}

@font-face {
  font-family: 'DM Sans';
  /* Point to the exact path on your server */
  src: url('/fonts/DMSans-VariableFont_opsz,wght.ttf') format('truetype-variations');
  
  /* DM Sans supports weights 100 to 1000 and optical sizes 9px to 40px */
  font-weight: 400 700;
  font-stretch: 100%;
  font-style: normal;
  font-display: swap;
}


:root {
    --blue: #0367CC;
    --dark: #333333;
    --black: #000000;
    --white: #ffffff;
    --light: #f5f6f7;
    --border: #e4e5e7;

    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'DM Sans', sans-serif;

    --container: 1200px;
}

.white {
    color: white;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
}

img {
    width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/*
p a {
    color: var(--black);
    font-weight: bold;
}

p a:hover {
    color: var(--dark);
}
*/

button,
input,
textarea,
select {
    font-family: inherit;
}


/* =========================================
   GENERAL
========================================= */

.container {
    width: min(90%, var(--container));
    margin: 0 auto;
}

.section {
    padding: 120px 0;
}

.eyebrow {
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.eyebrow.blue {
    color: var(--blue);
}

h1,
h2,
h3,
h4 {
    font-family: var(--heading-font);
    line-height: 1.1;
    color: var(--black);
}

h1 {
    font-size: clamp(52px, 7vw, 92px);
    font-weight: 800;
    letter-spacing: -3px;
}

h2 {
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 800;
    letter-spacing: -2px;
}

h1 span,
h2 span {
    color: var(--blue);
}

h3 {
    font-size: 24px;
}

p {
    color: #666;
}

.large-text {
    font-size: 21px;
    line-height: 1.6;
    color: var(--dark);
    margin-bottom: 25px;
}


/* =========================================
   HEADER
========================================= */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 28px 0;
}

.header:not(:has(+ main .hero)) {
    position: relative;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 17px;
    color: var(--black);
}

.hero ~ * .logo,
.hero + * .logo {
    color: var(--white);
}

.logo-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    font-size: 18px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 38px;
}

.nav a {
    font-size: 14px;
    font-weight: 600;
    transition: .25s ease;
}

.hero .nav a {
    color: var(--white);
}

.nav a:hover,
.nav a.active {
    color: var(--blue);
}

.nav-button {
    background: var(--blue);
    color: var(--white) !important;
    padding: 13px 24px;
}

.nav-button:hover {
    background: var(--black);
}

.active-button {
    background: var(--black);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    margin: 6px 0;
    background: var(--black);
}


/* =========================================
   BUTTONS
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    font-size: 14px;
    font-weight: 700;
    transition: .25s ease;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--black);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,.6);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--black);
}

.btn-white {
    background: var(--white);
    color: var(--black);
}

.btn-white:hover {
    background: var(--black);
    color: var(--white);
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 800px;
    height: 100vh;
    max-height: 950px;
    position: relative;
    display: flex;
    align-items: center;

    background-image:
        url("Images/Binnenschrijnwerk/keuken-03.jpeg");

    background-size: cover;
    background-position: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.78) 0%,
            rgba(0,0,0,.45) 55%,
            rgba(0,0,0,.15) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.hero h1 {
    color: var(--white);
    max-width: 850px;
    margin-bottom: 30px;
}

.hero-text {
    color: rgba(255,255,255,.85);
    max-width: 570px;
    font-size: 18px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
}

/* =========================================
   INTRO — LUXURY LAYOUT
========================================= */

.intro {
    background: var(--white);
    padding-top: 140px;
    padding-bottom: 150px;
}

.intro-wrapper {
    position: relative;
}

/* TOP ROW */

/*
.intro-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 25px;
    margin-bottom: 55px;
    border-bottom: 1px solid var(--border);
}

.intro-top .eyebrow {
    margin-bottom: 0;
}
*/

.intro-label {
    color: #999;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}


/* MAIN */

.intro-main {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 100px;
    align-items: center;
}


/* IMAGE */

.intro-image {
    position: relative;
    height: 650px;
    overflow: hidden;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.intro-image:hover img {
    transform: scale(1.025);
}


/* IMAGE CAPTION */

.intro-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 22px;

    background: linear-gradient(
        to top,
        rgba(0,0,0,.65),
        rgba(0,0,0,0)
    );

    color: rgba(255,255,255,.9);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* TEST */

/* =========================================
   INTRO — FOTO SLIDER
========================================= */

.intro-slider {
    position: relative;
    height: 650px;
    overflow: hidden;
    background: #111;
}

.intro-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.intro-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility .6s ease;
}

.intro-slide.active {
    opacity: 1;
    visibility: visible;
}

.intro-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================
   SLIDER PIJLEN
========================================= */

.intro-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.45);
    background: rgba(0,0,0,.25);
    backdrop-filter: blur(6px);

    color: white;
    font-size: 20px;

    cursor: pointer;
    z-index: 5;

    transition: .25s ease;
}

.intro-slider-arrow:hover {
    background: var(--blue);
    border-color: var(--blue);
}

.intro-prev {
    left: 20px;
}

.intro-next {
    right: 20px;
}


/* =========================================
   FOTO CAPTION
========================================= */

.intro-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 35px 25px 22px;

    background: linear-gradient(
        to top,
        rgba(0,0,0,.7),
        rgba(0,0,0,0)
    );

    color: rgba(255,255,255,.9);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;

    z-index: 4;
}


/* =========================================
   DOTS
========================================= */

.intro-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    gap: 8px;

    z-index: 6;
}

.intro-dot {
    width: 7px;
    height: 7px;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background: rgba(255,255,255,.45);
    cursor: pointer;

    transition: .25s ease;
}

.intro-dot.active {
    background: var(--white);
    transform: scale(1.25);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1199px) {

    .intro-slider {
        height: 570px;
    }

}


/* =========================================
   TABLET PORTRAIT
========================================= */

@media (max-width: 991px) {

    .intro-slider {
        height: 500px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .intro-slider {
        height: 380px;
    }

    .intro-slider-arrow {
        width: 44px;
        height: 44px;
        font-size: 17px;
    }

    .intro-prev {
        left: 12px;
    }

    .intro-next {
        right: 12px;
    }

    .intro-image-caption {
        padding: 30px 15px 18px;
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .intro-dots {
        bottom: 18px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .intro-slider {
        height: 320px;
    }

}



/* TEXT */

.intro-text {
    padding-right: 30px;
}

.intro-text h2 {
    font-size: clamp(42px, 4.5vw, 64px);
    line-height: 1.02;
    margin-bottom: 55px;
}

.intro-text h2 span {
    display: block;
    color: var(--blue);
}


/* COPY */

.intro-copy {
    position: relative;
    padding-left: 30px;
}

.intro-copy::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: var(--blue);
}

.intro-copy .large-text {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.intro-copy > p:not(.large-text) {
    font-size: 15px;
    line-height: 1.8;
    color: #777;
    margin-bottom: 25px;
}


/* LINK */

.intro .text-link {
    margin-top: 15px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1199px) {

    .intro {
        padding-top: 110px;
        padding-bottom: 120px;
    }

    .intro-main {
        gap: 60px;
    }

    .intro-image {
        height: 570px;
    }

    .intro-text {
        padding-right: 0;
    }

    .intro-text h2 {
        margin-bottom: 40px;
    }

}


/* =========================================
   TABLET PORTRAIT
========================================= */

@media (max-width: 991px) {

    .intro-main {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .intro-image {
        height: 500px;
        order: 1;
    }

    .intro-text {
        order: 2;
        max-width: 700px;
    }

    .intro-text h2 {
        font-size: clamp(42px, 7vw, 56px);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .intro {
        padding-top: 75px;
        padding-bottom: 85px;
    }


    .intro-label {
        display: none;
    }

    .intro-main {
        gap: 45px;
    }

    .intro-image {
        height: 380px;
    }

    .intro-text h2 {
        font-size: clamp(36px, 10vw, 48px);
        margin-bottom: 35px;
    }

    .intro-copy {
        padding-left: 22px;
    }

    .intro-copy .large-text {
        font-size: 18px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .intro {
        padding-top: 60px;
        padding-bottom: 70px;
    }

    .intro-main {
        gap: 35px;
    }

    .intro-image {
        height: 320px;
    }

    .intro-image-caption {
        padding: 15px;
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .intro-text h2 {
        margin-bottom: 30px;
    }

    .intro-copy {
        padding-left: 18px;
    }

}



/* =========================================
   SERVICES
========================================= */

.services {
    background: var(--light);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
    margin-bottom: 70px;
}

.section-heading > p {
    max-width: 400px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}

.service-card {
    background: var(--white);
    padding: 45px;
    min-height: 330px;
    position: relative;
    transition: .3s ease;
}

.service-card:hover {
    background: var(--blue);
    transform: translateY(-8px);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-number {
    color: var(--white);
}

.service-card:hover .service-icon {
    color: var(--white);
}


.service-number {
    position: absolute;
    top: 25px;
    right: 30px;
    color: #bbb;
    font-size: 12px;
    font-weight: 700;
}

.service-icon {
    font-size: 38px;
    color: var(--blue);
    margin-bottom: 45px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
}


/* =========================================
   FEATURED PROJECT
========================================= */

.featured-project {
    display: grid;
    grid-template-columns: 60% 40%;
    min-height: 600px;
}

.featured-image {
    overflow: hidden;
}

.featured-image img {
    height: 100%;
    object-fit: cover;
}

.featured-content {
    background: var(--black);
    padding: 90px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content h2 {
    color: white;
    margin-bottom: 30px;
}

.featured-content p:not(.eyebrow) {
    color: #aaa;
    max-width: 400px;
    margin-bottom: 35px;
}

.featured-content .btn {
    align-self: flex-start;
}


/* =========================================
   CTA
========================================= */

.cta {
    background: var(--blue);
    padding: 90px 0;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.cta h2 {
    color: var(--white);
}

.cta h2 span {
    color: var(--black);
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: #111;
    padding: 80px 0 0;
    color: white;
}

.footer .logo {
    color: white;
    margin-bottom: 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 70px;
    padding-bottom: 70px;
}

.footer .footer-title {
    color: white;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer p {
    color: #888;
    font-size: 14px;
}

footer h4 {
    color: white;
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-grid > div:not(:first-child) {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer-grid a:not(.logo) {
    color: #888;
    font-size: 14px;
    transition: .2s ease;
}

.footer-grid a:not(.logo):hover {
    color: var(--blue);
}

.footer-bottom {
    border-top: 1px solid #292929;
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
}

.footer-legal a {
    color: #888;
    font-size: 14px;
    transition: .2s ease;
}

.footer-legal a:hover {
    color: var(--blue);
}


/* =========================================
   PAGE HERO
========================================= */

.page-hero {
    background: var(--light);
    padding: 160px 0 100px;
}

.page-hero h1 {
    margin-top: 10px;
}

/* =========================================
RESPONSIVE OPTIMIZATION
Desktop / Tablet / Mobile / Ultrawide
========================================= */

/* -----------------------------------------
ULTRAWIDE SCREENS
1600px+
----------------------------------------- */

@media (min-width: 1600px) {

:root {
    --container: 1400px;
}

.container {
    width: min(88%, var(--container));
}

.hero-content {
    padding-top: 60px;
}

.hero-text {
    max-width: 620px;
    font-size: 19px;
}

.section {
    padding: 140px 0;
}

.featured-project {
    min-height: 700px;
}

.featured-content {
    padding-left: 10%;
    padding-right: 10%;
}


}

/* -----------------------------------------
LARGE DESKTOP
1200px - 1599px
----------------------------------------- */

@media (max-width: 1199px) {

:root {
    --container: 1100px;
}

.section {
    padding: 100px 0;
}

.nav {
    gap: 28px;
}

.two-columns {
    gap: 60px;
}

.service-card {
    padding: 35px;
}

.featured-project {
    grid-template-columns: 55% 45%;
}

.featured-content {
    padding: 70px 8%;
}

.values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}


}

/* -----------------------------------------
TABLET LANDSCAPE
992px - 1199px
----------------------------------------- */

@media (max-width: 1024px) {

.container {
    width: min(90%, 900px);
}

.section {
    padding: 90px 0;
}

h1 {
    font-size: clamp(48px, 8vw, 76px);
    letter-spacing: -2px;
}

h2 {
    font-size: clamp(36px, 6vw, 52px);
    letter-spacing: -1.5px;
}

.hero {
    min-height: 700px;
}

.hero-content {
    padding-top: 60px;
}

.hero-text {
    max-width: 520px;
}

.two-columns {
    gap: 50px;
}

.section-heading {
    gap: 40px;
    margin-bottom: 50px;
}

.service-card {
    min-height: 300px;
    padding: 32px;
}

.service-icon {
    margin-bottom: 35px;
}

.featured-project {
    min-height: 520px;
}

.featured-content {
    padding: 60px 7%;
}

.footer-grid {
    gap: 40px;
}


}

/* -----------------------------------------
TABLET PORTRAIT
768px - 991px
----------------------------------------- */

@media (max-width: 991px) {

.header {
    padding: 22px 0;
}

.nav {
    gap: 22px;
}

.nav a {
    font-size: 13px;
}

.nav-button {
    padding: 11px 18px;
}

.hero {
    min-height: 680px;
    height: 90vh;
}

.hero-content {
    padding-top: 70px;
}

.hero-scroll {
    bottom: 25px;
}

.two-columns {
    grid-template-columns: 1fr;
    gap: 40px;
}

.section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
}

.section-heading > p {
    max-width: 600px;
}

.service-grid {
    grid-template-columns: repeat(2, 1fr);
}

.service-card:last-child {
    grid-column: 1 / -1;
}

.featured-project {
    grid-template-columns: 1fr;
}

.featured-image {
    height: 500px;
}

.featured-content {
    min-height: 450px;
    padding: 70px 8%;
}

.cta {
    padding: 75px 0;
}

.cta-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 35px;
}

.footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
}


}

/* -----------------------------------------
MOBILE
max 767px
----------------------------------------- */

@media (max-width: 767px) {

/* GENERAL */

.container {
    width: min(90%, 560px);
}

.section {
    padding: 70px 0;
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 2.5px;
    margin-bottom: 15px;
}

h1 {
    font-size: clamp(42px, 13vw, 62px);
    line-height: 1.05;
    letter-spacing: -2px;
}

h2 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.05;
    letter-spacing: -1.5px;
}

h3 {
    font-size: 22px;
}

.large-text {
    font-size: 18px;
}


/* HEADER */

.header {
    padding: 18px 0;
}

.logo {
    font-size: 15px;
    gap: 9px;
}

.logo-mark {
    width: 34px;
    height: 34px;
    font-size: 16px;
}

.menu-toggle {
    display: block;
    position: relative;
    z-index: 102;
}

.menu-toggle span {
    background: var(--black);
}

.hero .menu-toggle span {
    background: var(--white);
}

.nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 25px 5%;
    background: var(--white);

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    transition: .25s ease;
}

.nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav a,
.hero .nav a {
    color: var(--black);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.nav-button {
    margin-top: 10px;
    padding: 14px 20px !important;
    text-align: center;
    border-bottom: 0 !important;
}


/* HERO */

.hero {
    min-height: 680px;
    height: 100svh;
    max-height: none;
    background-position: 60% center;
}

.hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.82) 0%,
            rgba(0,0,0,.60) 65%,
            rgba(0,0,0,.35) 100%
        );
}

.hero-content {
    padding-top: 60px;
}

.hero h1 {
    max-width: 100%;
    margin-bottom: 22px;
}

.hero-text {
    font-size: 16px;
    line-height: 1.6;
    max-width: 100%;
    margin-bottom: 30px;
}

.hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-width: 300px;
}

.btn {
    padding: 14px 22px;
}

.hero-scroll {
    display: none;
}


/* INTRO */

.two-columns {
    gap: 30px;
}

.text-link {
    margin-top: 5px;
}


/* SERVICES */

.section-heading {
    margin-bottom: 40px;
}

.service-grid {
    grid-template-columns: 1fr;
    gap: 1px;
}

.service-card:last-child {
    grid-column: auto;
}

.service-card {
    min-height: auto;
    padding: 35px 30px;
}

.service-icon {
    margin-bottom: 30px;
}

.service-number {
    top: 22px;
    right: 25px;
}


/* FEATURED PROJECT */

.featured-project {
    display: flex;
    flex-direction: column;
}

.featured-image {
    height: 350px;
}

.featured-content {
    min-height: auto;
    padding: 60px 5%;
}

.featured-content h2 {
    margin-bottom: 22px;
}

.featured-content p:not(.eyebrow) {
    margin-bottom: 30px;
}


/* CTA */

.cta {
    padding: 65px 0;
}

.cta-content {
    gap: 30px;
}

.cta .btn {
    width: 100%;
}


/* FOOTER */

.footer {
    padding-top: 60px;
}

.footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-grid > div:not(:first-child) {
    gap: 5px;
}

.footer-bottom {
    flex-direction: column;
    gap: 8px;
    padding: 20px 0;
}


}

/* -----------------------------------------
SMALL MOBILE
max 480px
----------------------------------------- */

@media (max-width: 480px) {

.container {
    width: calc(100% - 32px);
}

.section {
    padding: 60px 0;
}

.header {
    padding: 15px 0;
}

.logo {
    font-size: 14px;
}

.logo-mark {
    width: 32px;
    height: 32px;
}

h1 {
    font-size: clamp(40px, 13vw, 52px);
}

h2 {
    font-size: clamp(32px, 10vw, 40px);
}

.hero {
    min-height: 650px;
}

.hero-content {
    padding-top: 45px;
}

.hero-text {
    font-size: 15px;
}

.hero-buttons {
    max-width: none;
}

.service-card {
    padding: 30px 25px;
}

.featured-image {
    height: 300px;
}

.featured-content {
    padding: 50px 25px;
}

.cta {
    padding: 55px 0;
}

.footer {
    padding-top: 50px;
}


}

/* -----------------------------------------
VERY SMALL PHONES
max 360px
----------------------------------------- */

@media (max-width: 360px) {

h1 {
    font-size: 38px;
}

h2 {
    font-size: 30px;
}

.hero {
    min-height: 620px;
}

.hero-content {
    padding-top: 35px;
}

.hero-text {
    font-size: 14px;
}

.service-card {
    padding: 28px 22px;
}


}

/* -----------------------------------------
ACCESSIBILITY / TOUCH
----------------------------------------- */

@media (hover: none) {

.service-card:hover {
    background: var(--blue);
    transform: none;
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-number {
    color: var(--white);
}

.service-card:hover .service-number {
    color: #bbb;
}

.btn-primary:hover,
.btn-white:hover {
    transform: none;
}


}

/* -----------------------------------------
REDUCED MOTION
----------------------------------------- */

@media (prefers-reduced-motion: reduce) {

html {
    scroll-behavior: auto;
}

*,
*::before,
*::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
}


}

/* -----------------------------------------
LANDSCAPE MOBILE
----------------------------------------- */

@media (max-width: 767px) and (orientation: landscape) {

.hero {
    min-height: 560px;
    height: auto;
}

.hero-content {
    padding-top: 100px;
    padding-bottom: 80px;
}

.hero-scroll {
    display: none;
}


}

/* -----------------------------------------
PREVENT HORIZONTAL OVERFLOW
----------------------------------------- */

html,
body {
max-width: 100%;
overflow-x: hidden;
}

/* -----------------------------------------
BETTER TEXT WRAPPING
----------------------------------------- */

h1,
h2,
h3,
p,
a {
overflow-wrap: break-word;
}

/* -----------------------------------------
SAFE IMAGE BEHAVIOUR
----------------------------------------- */

img {
max-width: 100%;
height: auto;
}





/* =========================================
   ABOUT — FAMILY INTRO
========================================= */

.family-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 0 5% 80px;
    background: var(--white);
}

.family-intro-image {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.family-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.family-intro-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--light);
    padding: 80px 10%;
    min-height: 600px;
}

.family-intro-inner {
    max-width: 600px;
}

.family-intro-content h1 {
    color: var(--white);
    font-size: clamp(48px, 5vw, 72px);
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 40px;
}

.family-intro-content h1 span {
    color: var(--blue);
}

.family-intro-text .large-text {
    color: #fff;
    font-size: 19px;
    line-height: 1.65;
    margin-bottom: 25px;
}

.family-intro-text p:not(.large-text) {
    color: #999;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.family-intro-bottom {
    display: flex;
    justify-content: space-between;

    margin-top: 20px;
    padding-top: 18px;

    border-top: 1px solid #292929;

    color: #666;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}


/* =========================================
   ABOUT — HISTORY
========================================= */

.about-history {
    padding-top: 150px;
    padding-bottom: 160px;
}

.about-history-grid {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.about-history-number {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 7px;
}

.about-history-number span {
    color: var(--blue);
    font-family: var(--heading-font);
    font-size: 13px;
    font-weight: 700;
}

.about-history-number div {
    width: 30px;
    height: 1px;
    background: var(--blue);
}

.about-history-heading h2 {
    font-size: clamp(44px, 5vw, 66px);
    line-height: 1;
}

.about-history-heading h2 span {
    color: var(--blue);
}

.about-history-text {
    max-width: 520px;
}

.about-history-text .large-text {
    color: var(--dark);
    font-size: 21px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.about-history-text p:not(.large-text) {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}


/* =========================================
   ABOUT — VALUES
========================================= */

.about-values {
    background: var(--white);
    color: var(--white);
    padding: 140px 0 150px;
}

.about-values-heading {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 100px;
    align-items: end;
    margin-bottom: 80px;
}

.about-values-heading h2 {
    color: var(--white);
    font-size: clamp(45px, 5.5vw, 70px);
    line-height: 1;
}

.about-values-heading h2 span {
    color: var(--blue);
}

.about-values-heading > p {
    max-width: 430px;
    color: #888;
    font-size: 16px;
    line-height: 1.8;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #292929;
}

.about-value {
    min-height: 380px;
    padding: 35px;

border: 1px dashed var(--blue);


    transition: .3s ease;
    background: var(--white);
}

.about-value:first-child {
/*    border-left: 1px solid blue;*/
}

.about-value:hover {
    background: #151515;
}

.about-value-number {
    display: block;
    color: #555;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 55px;
}

.about-value-line {
    width: 40px;
    height: 2px;
    background: var(--blue);
    margin-bottom: 30px;
}

.about-value h3 {
    color: var(--white);
    font-size: 21px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-value p {
    color: #888;
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================
   ABOUT — CRAFT
========================================= */

.about-craft {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
    min-height: 700px;
    background: var(--white);
    padding: 100px 6%;
    gap: 70px;
}

.about-craft-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-craft-image img {
    width: 100%;
    max-width: 650px;
    height: 560px;
    object-fit: cover;
}

.about-craft-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}

.about-craft-content h2 {
    font-size: clamp(44px, 5vw, 65px);
    line-height: 1;
    margin-bottom: 35px;
}

.about-craft-content p:not(.eyebrow) {
    max-width: 480px;
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-craft-content .btn {
    align-self: flex-start;
    margin-top: 20px;
}


/* =========================================
   ABOUT — SPECIALTIES
========================================= */

.about-specialties {
    padding-top: 140px;
    padding-bottom: 150px;
}

.about-specialties-heading {
    margin-bottom: 75px;
}

.about-specialties-heading h2 {
    font-size: clamp(44px, 5vw, 65px);
    line-height: 1;
}

.about-specialties-heading h2 span {
    color: var(--blue);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.specialty {
    padding: 35px 30px 40px;
    min-height: 220px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    transition: .25s ease;
}

.specialty:hover {
    background: var(--light);
}

.specialty > span {
    display: block;
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 45px;
}

.specialty h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.specialty p {
    color: #777;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================
   ABOUT — CLOSING IMAGE
========================================= */

.about-closing {
    position: relative;
    min-height: 650px;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.about-closing-image {
    position: absolute;
    inset: 0;
}

.about-closing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-closing-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.82) 0%,
            rgba(0,0,0,.5) 60%,
            rgba(0,0,0,.2) 100%
        );
}

.about-closing-content {
    position: relative;
    z-index: 2;
}

.about-closing-content h2 {
    color: var(--white);
    font-size: clamp(48px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.about-closing-content h2 span {
    color: var(--blue);
}

.about-closing-content > p:not(.eyebrow) {
    max-width: 500px;
    color: rgba(255,255,255,.75);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.about-closing-content .btn {
    align-self: flex-start;
}


/* =========================================
   ABOUT — TABLET
========================================= */

@media (max-width: 1199px) {

    .family-intro {
        grid-template-columns: 52% 48%;
    }

    .family-intro-content {
        padding-left: 8%;
        padding-right: 8%;
    }

    .about-history-grid {
        grid-template-columns: 60px 1fr 1fr;
        gap: 45px;
    }

    .about-values-heading {
        gap: 60px;
    }

    .about-craft {
        grid-template-columns: 52% 48%;
    }

    .about-craft-content {
        padding-left: 8%;
        padding-right: 8%;
    }

}


/* =========================================
   ABOUT — TABLET PORTRAIT
========================================= */

@media (max-width: 991px) {

    .family-intro {
        grid-template-columns: 1fr;
    }

    .family-intro-image {
        min-height: 550px;
        height: 55vh;
    }

    .family-intro-content {
        min-height: auto;
        padding: 75px 8%;
    }

    .family-intro-content h1 {
        font-size: clamp(48px, 8vw, 70px);
    }

    .family-intro-bottom {
        margin-top: 50px;
    }


    .about-history {
        padding-top: 100px;
        padding-bottom: 110px;
    }

    .about-history-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .about-history-number {
        grid-column: 1 / -1;
    }


    .about-values {
        padding: 110px 0;
    }

    .about-values-heading {
        grid-template-columns: 1fr 1fr;
    }

    .about-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-value:nth-child(2) {
/*        border-right: 0;*/
    }

    .about-value:nth-child(3),
    .about-value:nth-child(4) {
/*        border-top: 1px solid #292929;*/
    }

    .about-value:nth-child(3) {
/*        border-left: 1px solid #292929;*/
    }


    .about-craft {
        grid-template-columns: 1fr;
    }

    .about-craft-image {
        height: 500px;
    }

    .about-craft-content {
        min-height: 500px;
    }


    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   ABOUT — MOBILE
========================================= */

@media (max-width: 767px) {

    
    .family-intro {
        display: block;
        padding: 0;
    }

    .family-intro-image {
        width: 100%;
        height: 100vw;
        min-height: 0;
    }

    .family-intro-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .family-intro-content {
        min-height: 0;
        padding: 80px 5%;
    }

    .family-intro-inner {
        max-width: none;
    }
 


    /* HISTORY */

    .about-history {
        padding-top: 75px;
        padding-bottom: 85px;
    }

    .about-history-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-history-number {
        grid-column: auto;
    }

    .about-history-heading h2 {
        font-size: clamp(38px, 10vw, 50px);
    }

    .about-history-text .large-text {
        font-size: 18px;
    }


    /* VALUES */

    .about-values {
        padding: 80px 0;
    }

    .about-values-heading {
        display: block;
        margin-bottom: 50px;
    }

    .about-values-heading h2 {
        font-size: clamp(38px, 10vw, 50px);
        margin-bottom: 30px;
    }

    .about-values-heading > p {
        font-size: 15px;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
    }

    .about-value,
    .about-value:nth-child(1),
    .about-value:nth-child(2),
    .about-value:nth-child(3),
    .about-value:nth-child(4) {
/*
        border-left: 1px solid blue;
        border-right: 1px solid blue;
        border-top: 1px solid blue;
*/
    }

    .about-value:last-child {
/*        border-bottom: 1px solid blue;*/
    }

    .about-value {
        min-height: auto;
        padding: 30px 25px 35px;
    }

    .about-value-number {
        margin-bottom: 35px;
    }


    /* CRAFT */


.about-craft {
    display: block;
    padding: 0 0 70px;
}

.about-craft-image {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.about-craft-image img {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.about-craft-content {
    min-height: auto;
    padding: 60px 5%;
}


    /* SPECIALTIES */

    .about-specialties {
        padding-top: 80px;
        padding-bottom: 85px;
    }

    .about-specialties-heading {
        margin-bottom: 50px;
    }

    .about-specialties-heading h2 {
        font-size: clamp(38px, 10vw, 50px);
    }

    .specialties-grid {
        grid-template-columns: 1fr;
    }

    .specialty {
        min-height: auto;
        padding: 30px 25px 35px;
    }

    .specialty > span {
        margin-bottom: 30px;
    }


    /* CLOSING */

    .about-closing {
        min-height: 600px;
    }

    .about-closing-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(0,0,0,.82) 0%,
                rgba(0,0,0,.55) 100%
            );
    }

    .about-closing-content h2 {
        font-size: clamp(42px, 11vw, 58px);
        letter-spacing: -2px;
    }

    .about-closing-content > p:not(.eyebrow) {
        font-size: 15px;
    }

}


/* =========================================
   ABOUT — SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .family-intro-image {
        min-height: 380px;
        height: 45vh;
    }

    .family-intro-content {
        padding: 50px 25px;
    }

    .family-intro-content h1 {
        font-size: 40px;
    }

    .family-intro-bottom {
        flex-direction: column;
        gap: 8px;
    }

.about-craft-image {
    height: auto;
}

.about-craft-image img {
    aspect-ratio: 1 / 1;
}

.about-craft-content {
    padding: 50px 16px;
}


    .about-closing {
        min-height: 550px;
    }

}

/* =========================================
   ABOUT — LIGHTER / MORE LUXURIOUS STYLE
========================================= */

/* -----------------------------------------
   FAMILY INTRO
----------------------------------------- */

.family-intro {
    background: var(--white);
}

.family-intro-content {
    background: var(--white);
}

.family-intro-content h1 {
    color: var(--black);
}

.family-intro-content h1 span {
    color: var(--blue);
}

.family-intro-text .large-text {
    color: var(--dark);
}

.family-intro-text p:not(.large-text) {
    color: #666;
}

.family-intro-bottom {
    border-top: 1px solid var(--border);
    color: #999;
}


/* -----------------------------------------
   HISTORY
----------------------------------------- */

.about-history {
    background: var(--light);
}


/* -----------------------------------------
   VALUES
----------------------------------------- */

.about-values {
    background: var(--light);
    color: var(--light);
}

.about-values-heading h2 {
    color: var(--black);
}

.about-values-heading h2 span {
    color: var(--blue);
}

.about-values-heading > p {
    color: #666;
}

.about-values-grid {
    border-top: 1px solid var(--border);
}

.about-value {
/*    border-right: 1px solid var(--border);*/
}

.about-value:first-child {
/*    border-left: 1px solid var(--border);*/
}

.about-value:hover {
    background: var(--light);
}

.about-value-number {
    color: #aaa;
}

.about-value h3 {
    color: var(--black);
}

.about-value p {
    color: #666;
}


/* -----------------------------------------
   CRAFT
----------------------------------------- */

.about-craft-content {
}


/* -----------------------------------------
   CLOSING
----------------------------------------- */

.about-closing {
    min-height: 600px;
}

.about-closing-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.60) 0%,
            rgba(0,0,0,.30) 60%,
            rgba(0,0,0,.10) 100%
        );
}





/* =========================================
   CONTACT PAGE
========================================= */

.contact-section {
    padding: 120px 0 140px;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}


/* =========================================
   CONTACT FORM
========================================= */

.contact-form-wrapper h1 {
    margin-bottom: 25px;
}

.contact-intro {
    max-width: 500px;
    margin-bottom: 50px;
    color: #666;
    font-size: 16px;
}

.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 25px;
}

.disclaimer {
    font-size: 10px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 9px;

    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;

    color: var(--black);
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 16px 18px;

    border: 1px solid var(--border);
    border-radius: 0;

    background: var(--light);

    font-family: var(--body-font);
    font-size: 15px;
    color: var(--dark);

    outline: none;

    transition: .25s ease;
}

.form-group input {
    height: 56px;
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    background: var(--white);
}


/* =========================================
   GOOGLE MAPS
========================================= */

.contact-map-wrapper h2 {
    margin-bottom: 25px;
}

.contact-address {
    margin-bottom: 35px;
    color: #666;
    font-size: 16px;
}

.contact-map {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;

    border: 0;

    display: block;

    filter: grayscale(100%);
    transition: .3s ease;
}

.contact-map:hover iframe {
    filter: grayscale(0%);
}


/* =========================================
   CONTACT — TABLET
========================================= */

@media (max-width: 991px) {

    .contact-section {
        padding: 90px 0 100px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .contact-form {
        max-width: none;
    }

    .contact-map {
        height: 450px;
    }

}


/* =========================================
   CONTACT — MOBILE
========================================= */

@media (max-width: 767px) {

    .contact-section {
        padding: 70px 0 80px;
    }

    .contact-grid {
        gap: 60px;
    }

    .contact-intro {
        margin-bottom: 40px;
    }

    .contact-map {
        height: 350px;
    }

}


/* =========================================
   CONTACT — SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .contact-map {
        height: 300px;
    }

}



/* =========================================
PORTFOLIO PAGE
========================================= */

.portfolio-header {
    position: relative;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.portfolio-header .logo {
    color: var(--black);
}

.portfolio-header .nav a {
    color: var(--black);
}

.portfolio-header .nav a:hover,
.portfolio-header .nav a.active {
    color: var(--blue);
}


/* =========================================
PORTFOLIO HERO
========================================= */

.portfolio-hero {
    background: var(--light);
    padding: 145px 0 100px;
}

.portfolio-hero h1 {
    max-width: 850px;
    margin-bottom: 70px;
}

.portfolio-hero h1 span {
    color: var(--blue);
}

.portfolio-hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 50px;

    padding-top: 25px;

    border-top: 1px solid var(--border);
}

.portfolio-hero-bottom p {
    max-width: 520px;

    color: #666;

    font-size: 16px;
    line-height: 1.8;
}

.portfolio-count {
    color: #999;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 2px;

    white-space: nowrap;
}


/* =========================================
PORTFOLIO SECTION
========================================= */

.portfolio-section {
    padding: 120px 0 150px;

    background: var(--white);
}

/* =========================================
PORTFOLIO GRID
========================================= */

.portfolio-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 24px;
    row-gap: 24px;

    align-items: start;
}


/* =========================================
PORTFOLIO KOLOMMEN
========================================= */

.portfolio-column {
    display: flex;

    flex-direction: column;

    gap: 24px;

    min-width: 0;
}


/* =========================================
PORTFOLIO CARD
========================================= */

.portfolio-card {
    position: relative;

    display: block;

    width: 100%;

    overflow: hidden;

    background: #111;

    color: var(--white);

    transform: translateZ(0);
}


/* =========================================
TEGELHOOGTES
========================================= */

.portfolio-card-01 {
    height: 580px;
}

.portfolio-card-02 {
    height: 460px;
}

.portfolio-card-03 {
    height: 500px;
}

.portfolio-card-04 {
    height: 520px;
}

.portfolio-card-05 {
    height: 440px;
}

.portfolio-card-06 {
    height: 540px;
}


/* =========================================
KAART 07 - VOLLEDIGE BREEDTE
========================================= */

.portfolio-card-07 {
    grid-column: 1 / -1;

    height: 500px;

    width: 100%;
}



/* =========================================
OUDE CLASSES NEUTRALISEREN
========================================= */

/*
Deze classes staan nog in de HTML.
De hoogte wordt uitsluitend bepaald door
de nth-child regels hierboven.
*/

.portfolio-card-large,
.portfolio-card-wide {
    /* Geen height hier */
}


/* =========================================
CARD IMAGE
========================================= */

.portfolio-card-image {
    position: absolute;

    inset: 0;

    overflow: hidden;
}

.portfolio-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .7s cubic-bezier(.2,.7,.2,1),
        filter .5s ease;
}

.portfolio-card:hover .portfolio-card-image img {
    transform: scale(1.045);
}


/* =========================================
CARD OVERLAY
========================================= */

.portfolio-card-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.82) 0%,
            rgba(0,0,0,.35) 48%,
            rgba(0,0,0,.08) 100%
        );

    transition: background .4s ease;
}

.portfolio-card:hover .portfolio-card-overlay {
    background:
        linear-gradient(
            to top,
            rgba(3,103,204,.78) 0%,
            rgba(0,0,0,.35) 55%,
            rgba(0,0,0,.08) 100%
        );
}


/* =========================================
CARD CONTENT
========================================= */

.portfolio-card-content {
    position: absolute;

    inset: 0;

    z-index: 2;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 32px;
}


/* =========================================
NUMBER
========================================= */

.portfolio-number {
    align-self: flex-end;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    color: rgba(255,255,255,.7);
}


/* =========================================
CATEGORY
========================================= */

.portfolio-category {
    margin-bottom: 10px;

    color: rgba(255,255,255,.7);

    font-size: 10px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 2px;
}


/* =========================================
TITLE
========================================= */

.portfolio-card h2 {
    margin: 0;

    color: var(--white);

    font-size: clamp(28px, 3vw, 44px);

    line-height: .98;

    letter-spacing: -2px;
}


/* =========================================
ARROW
========================================= */

.portfolio-arrow {
    position: absolute;

    right: 32px;
    bottom: 32px;

    width: 50px;
    height: 50px;

    display: grid;

    place-items: center;

    border: 1px solid rgba(255,255,255,.5);

    color: var(--white);

    font-size: 20px;

    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease;
}

.portfolio-card:hover .portfolio-arrow {
    background: var(--white);

    border-color: var(--white);

    color: var(--black);

    transform: translate(4px, -4px);
}


/* =========================================
TABLET
========================================= */

@media (max-width: 991px) {

    .portfolio-hero {
        padding: 125px 0 80px;
    }

    .portfolio-hero h1 {
        margin-bottom: 55px;
    }

    .portfolio-section {
        padding: 90px 0 110px;
    }

    .portfolio-grid {
        gap: 18px;
    }


    /* 01 */

    .portfolio-card:nth-child(1) {
        height: 500px;
    }


    /* 02 */

    .portfolio-card:nth-child(2) {
        height: 500px;
    }


    /* 03 */

    .portfolio-card:nth-child(3) {
        height: 450px;
    }


    /* 04 */

    .portfolio-card:nth-child(4) {
        height: 450px;
    }


    /* 05 */

    .portfolio-card:nth-child(5) {
        height: 420px;
    }


    /* 06 */

    .portfolio-card:nth-child(6) {
        height: 420px;
    }


    /* 07 */

    .portfolio-card:nth-child(7) {
        grid-column: 1 / -1;

        height: 460px;
    }
}


/* =========================================
MOBILE
========================================= */

@media (max-width: 767px) {

    .portfolio-hero {
        padding: 105px 0 65px;
    }

    .portfolio-hero h1 {
        font-size: clamp(42px, 13vw, 62px);

        margin-bottom: 45px;
    }

    .portfolio-hero-bottom {
        display: block;
    }

    .portfolio-hero-bottom p {
        font-size: 15px;

        line-height: 1.7;

        margin-bottom: 25px;
    }

    .portfolio-count {
        display: block;
    }


    /* =====================================
       MOBILE GRID
    ===================================== */

    .portfolio-section {
        padding: 65px 0 80px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }


    /* =====================================
       MOBILE CARD HEIGHTS
    ===================================== */

    .portfolio-card:nth-child(1) {
        height: 420px;
    }

    .portfolio-card:nth-child(2) {
        height: 420px;
    }

    .portfolio-card:nth-child(3) {
        height: 400px;
    }

    .portfolio-card:nth-child(4) {
        height: 400px;
    }

    .portfolio-card:nth-child(5) {
        height: 380px;
    }

    .portfolio-card:nth-child(6) {
        height: 380px;
    }

    .portfolio-card:nth-child(7) {
        grid-column: auto;

        height: 420px;
    }


    /* =====================================
       MOBILE CONTENT
    ===================================== */

    .portfolio-card-content {
        padding: 24px;
    }

    .portfolio-card h2 {
        font-size: clamp(34px, 10vw, 46px);
    }

    .portfolio-arrow {
        right: 24px;

        bottom: 24px;

        width: 44px;
        height: 44px;
    }
}


/* =========================================
SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .portfolio-hero {
        padding: 95px 0 55px;
    }

    .portfolio-section {
        padding: 55px 0 70px;
    }

    .portfolio-grid {
        gap: 12px;
    }


    /* =====================================
       SMALL MOBILE CARD HEIGHTS
    ===================================== */

    .portfolio-card:nth-child(1) {
        height: 360px;
    }

    .portfolio-card:nth-child(2) {
        height: 360px;
    }

    .portfolio-card:nth-child(3) {
        height: 345px;
    }

    .portfolio-card:nth-child(4) {
        height: 345px;
    }

    .portfolio-card:nth-child(5) {
        height: 325px;
    }

    .portfolio-card:nth-child(6) {
        height: 325px;
    }

    .portfolio-card:nth-child(7) {
        height: 350px;
    }


    /* =====================================
       SMALL MOBILE CONTENT
    ===================================== */

    .portfolio-card-content {
        padding: 20px;
    }

    .portfolio-card h2 {
        font-size: 34px;
    }

    .portfolio-category {
        font-size: 9px;
    }

    .portfolio-arrow {
        right: 20px;

        bottom: 20px;
    }
}


/* =========================================
TOUCH DEVICES
========================================= */

@media (hover: none) {

    .portfolio-card:hover .portfolio-card-image img {
        transform: none;
    }

    .portfolio-card:hover .portfolio-card-overlay {
        background:
            linear-gradient(
                to top,
                rgba(0,0,0,.82) 0%,
                rgba(0,0,0,.35) 48%,
                rgba(0,0,0,.08) 100%
            );
    }

    .portfolio-card:hover .portfolio-arrow {
        background: transparent;

        border-color: rgba(255,255,255,.5);

        color: var(--white);

        transform: none;
    }
}



/* =========================================
MAATKASTEN — LAYOUT
========================================= */

.mk-section {
    background: var(--white);
}

.mk-layout {
    display: grid;

    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);

    gap: 80px;

    align-items: start;
}


/* =========================================
MAATKASTEN — GALERIJ
========================================= */

.mk-gallery {
    position: sticky;
    top: 120px;
}

.mk-stage {
    position: relative;

    aspect-ratio: 4 / 5;

    overflow: hidden;

    background: var(--light);
}

.mk-slide {
    position: absolute;
    inset: 0;

    margin: 0;

    opacity: 0;

    transition: opacity .55s ease;

    pointer-events: none;
}

.mk-slide.active {
    opacity: 1;

    pointer-events: auto;
}

.mk-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================
MAATKASTEN — PIJLEN
========================================= */

.mk-arrow {
    position: absolute;
    top: 50%;

    transform: translateY(-50%);

    z-index: 3;

    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    border: 0;

    background: rgba(255, 255, 255, .9);

    color: var(--black);

    font-size: 18px;

    cursor: pointer;

    opacity: 0;

    transition: .3s ease;
}

.mk-stage:hover .mk-arrow {
    opacity: 1;
}

.mk-arrow:hover {
    background: var(--blue);

    color: var(--white);
}

.mk-prev {
    left: 20px;
}

.mk-next {
    right: 20px;
}


/* =========================================
MAATKASTEN — VERGROOT-KNOP
========================================= */

.mk-zoom {
    position: absolute;
    top: 20px;
    right: 20px;

    z-index: 3;

    padding: 11px 18px;

    border: 0;

    background: rgba(255, 255, 255, .9);

    color: var(--black);

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 2px;

    cursor: pointer;

    opacity: 0;

    transition: .3s ease;
}

.mk-stage:hover .mk-zoom {
    opacity: 1;
}

.mk-zoom:hover {
    background: var(--blue);

    color: var(--white);
}


/* =========================================
MAATKASTEN — CAPTION
========================================= */

.mk-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-top: 22px;
    padding-top: 18px;

    border-top: 1px solid var(--border);
}

.mk-caption span:first-child {
    font-size: 13px;
    font-weight: 600;

    color: #666;
}

.mk-counter {
    color: #999;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 2px;

    white-space: nowrap;
}


/* =========================================
MAATKASTEN — DOTS
========================================= */

.mk-dots {
    display: flex;
    flex-wrap: nowrap;

    gap: 10px;

    width: 100%;

    margin-top: 22px;
}

.mk-dot {
    position: relative;

    /* Krimpt mee zodat alle streepjes altijd in beeld passen */
    flex: 1 1 0;
    min-width: 0;
    max-width: 34px;
    height: 3px;

    padding: 0;

    border: 0;

    background: var(--border);

    cursor: pointer;

    transition: .3s ease;
}

/* Grotere tikzone, zonder het streepje zelf dikker te maken */
.mk-dot::after {
    content: "";

    position: absolute;
    inset: -12px -2px;
}

.mk-dot:hover {
    background: #c9cacc;
}

.mk-dot.active {
    background: var(--blue);
}


/* =========================================
MAATKASTEN — TEKST
========================================= */

.mk-text {
    padding-top: 10px;
}

.mk-text h1 {
    font-size: clamp(38px, 4.4vw, 62px);
    font-weight: 800;

    margin-bottom: 32px;
}

.mk-text h1 span {
    color: var(--blue);
}

.mk-text .large-text {
    font-size: 20px;
    font-weight: 500;

    color: var(--dark);

    margin-bottom: 26px;
}

.mk-text p {
    color: #666;

    font-size: 16px;
    line-height: 1.85;

    margin-bottom: 22px;
}

.mk-list {
    list-style: none;

    margin: 34px 0 40px;
    padding: 0;
}

.mk-list li {
    position: relative;

    padding: 14px 0 14px 26px;

    border-bottom: 1px solid var(--border);

    color: var(--dark);

    font-size: 15px;
    font-weight: 500;
}

.mk-list li::before {
    content: "—";

    position: absolute;
    left: 0;

    color: var(--blue);

    font-weight: 700;
}


/* =========================================
LIGHTBOX
========================================= */

.mk-lightbox {
    position: fixed;
    inset: 0;

    z-index: 200;

    display: flex;
    flex-direction: column;

    background: rgba(0, 0, 0, .94);

    opacity: 0;

    transition: opacity .3s ease;
}

.mk-lightbox[hidden] {
    display: none;
}

.mk-lightbox.open {
    opacity: 1;
}

body.mk-lightbox-open {
    overflow: hidden;
}


/* STAGE */

.mk-lightbox-stage {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 80px 100px 20px;

    min-height: 0;
    min-width: 0;

    overflow: hidden;
}

.mk-lightbox-stage img {
    display: block;

    width: auto;
    height: auto;

    /* Desktop: foto mag maximaal 80% van het scherm innemen */
    max-width: 80vw;
    max-height: 75vh;

    object-fit: contain;
}


/* SLUITEN */

.mk-lightbox-close {
    position: absolute;
    top: 24px;
    right: 28px;

    z-index: 3;

    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border: 0;

    background: transparent;

    color: var(--white);

    font-size: 34px;
    line-height: 1;

    cursor: pointer;

    transition: .25s ease;
}

.mk-lightbox-close:hover {
    color: var(--blue);
}


/* PIJLEN */

.mk-lightbox-arrow {
    position: absolute;
    top: 50%;

    transform: translateY(-50%);

    z-index: 3;

    width: 56px;
    height: 56px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, .25);

    background: transparent;

    color: var(--white);

    font-size: 20px;

    cursor: pointer;

    transition: .25s ease;
}

.mk-lightbox-arrow:hover {
    background: var(--blue);

    border-color: var(--blue);
}

.mk-lightbox-prev {
    left: 24px;
}

.mk-lightbox-next {
    right: 24px;
}


/* ONDERBALK */

.mk-lightbox-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    width: min(90%, 1200px);

    margin: 0 auto;

    padding: 20px 0 32px;

    color: rgba(255, 255, 255, .75);

    font-size: 13px;
}

.mk-lightbox-counter {
    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 2px;

    white-space: nowrap;
}


/* =========================================
MAATKASTEN — TABLET
========================================= */

@media (max-width: 1199px) {

    .mk-layout {
        gap: 55px;
    }

    .mk-gallery {
        top: 100px;
    }

}


/* =========================================
MAATKASTEN — TABLET PORTRAIT
========================================= */

@media (max-width: 991px) {

    .mk-layout {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .mk-gallery {
        position: static;
    }

    .mk-stage {
        aspect-ratio: 4 / 3;
    }

    .mk-arrow,
    .mk-zoom {
        opacity: 1;
    }

}


/* =========================================
MAATKASTEN — MOBILE
========================================= */

@media (max-width: 767px) {

    .mk-stage {
        aspect-ratio: 1 / 1;
    }

    .mk-arrow {
        width: 44px;
        height: 44px;
    }

    .mk-prev {
        left: 12px;
    }

    .mk-next {
        right: 12px;
    }

    .mk-text h1 {
        margin-bottom: 24px;
    }

    .mk-text .large-text {
        font-size: 18px;
    }

    .mk-lightbox-stage {
        padding: 70px 16px 12px;
    }

    .mk-lightbox-arrow {
        width: 46px;
        height: 46px;

        font-size: 17px;
    }

    .mk-lightbox-prev {
        left: 10px;
    }

    .mk-lightbox-next {
        right: 10px;
    }

    .mk-lightbox-bar {
        padding: 16px 0 24px;

        font-size: 12px;
    }

}


/* =========================================
MAATKASTEN — SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .mk-dots {
        gap: 4px;
    }

    .mk-zoom {
        top: 12px;
        right: 12px;

        padding: 9px 14px;
    }

    .mk-lightbox-bar span:first-child {
        display: none;
    }

}



/* =========================================
   NAV — PORTFOLIO DROPDOWN
========================================= */

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;
    margin-left: 4px;

    background: transparent;
    border: 0;
    cursor: pointer;
    color: inherit;
}

.nav-caret {
    display: block;
    font-size: 15px;
    line-height: 1;
    transition: transform .25s ease;
}

.nav-item:hover .nav-caret,
.nav-dropdown.open .nav-caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);

    min-width: 250px;
    padding: 10px;

    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 25px 50px rgba(0,0,0,.1);

    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;

    z-index: 50;
}

.nav-item:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;

    padding: 12px 14px;

    font-size: 13px;
    font-weight: 600;
    color: var(--dark);

    transition: .2s ease;
}

.nav-dropdown-menu a:hover {
    background: var(--light);
    color: var(--blue);
}


/* =========================================
   NAV DROPDOWN — MOBILE
========================================= */

@media (max-width: 767px) {

    .nav-item {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        border-bottom: 1px solid var(--border);
    }

    .nav-item a {
        border-bottom: 0;
        flex: 1;
    }

    .nav-dropdown-toggle {
        width: 44px;
        height: 44px;
    }

    .nav-dropdown-toggle .nav-caret {
        font-size: 18px;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;

        flex-basis: 100%;
        min-width: 0;
        width: 100%;
        max-width: 100%;

        padding: 0;
        border: 0;
        box-shadow: none;
        box-sizing: border-box;

        max-height: 0;
        overflow: hidden;

        opacity: 1;
        visibility: visible;

        transition: max-height .3s ease;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        max-height: 400px;
        padding-bottom: 10px;
        transform: none;
    }

    .nav-dropdown-menu a {
        padding: 11px 0 11px 15px;
        font-size: 13px;
        color: #777;
    }

}


