/*
 * WEBGLOBE MAINTAINER NOTES
 *
 * Style the public layout interface and its responsive presentation.
 *
 * The selectors form a contract with the rendered markup and browser interactions. Preserve
 * keyboard focus, disabled/hidden states and the smaller-screen rules when adjusting the
 * cascade; an attractive desktop layout is not sufficient evidence of usable mobile forms.
 */
header h2 {
    font-size: 1.3em;
    font-style: italic;
    font-weight: 300;
    color: #ffffff;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
    margin: 15px auto 10px auto;
    padding: 0 20px;
    line-height: 1.7;
    letter-spacing: 0.5px;
    max-width: 900px;
}

.section h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.section h2::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    margin: 10px auto 0 auto;
    border-radius: 999px;
    background: linear-gradient(90deg, #5a8fd6, #7ba5e0);
    box-shadow: 0 0 12px rgba(90, 143, 214, 0.6);
}

.section p {
    font-size: 1rem;
    line-height: 1.7;
}

.error-page-shell {
    min-height: calc(100vh - 200px);
    min-height: calc(100dvh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.error-page-shell-wide {
    display: block;
    max-width: 700px;
    margin: 30px auto;
    padding: 0 20px;
    text-align: center;
}

.error-page-card {
    max-width: 600px;
    text-align: center;
}

.error-page-code {
    margin-bottom: 0.5rem;
}

.error-page-code-404 {
    font-size: 6rem;
    font-weight: 700;
}

.error-page-code-500 {
    font-size: 4rem;
}

.error-page-secondary-btn {
    margin-left: 1rem;
}

.main-nav {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    left: max(14px, env(safe-area-inset-left));
    right: max(14px, env(safe-area-inset-right));
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 28px 18px 30px;
    min-height: 102px;
    background: transparent url('/images/longbutton.webp') center / 100% 100% no-repeat;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    box-shadow: none;
    z-index: 1000;
    transform: translateZ(0);
    will-change: transform;
    overflow: hidden;
}

.main-nav__links {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    position: relative;
    z-index: 4;
}

/* Keep every menu action reachable on short screens and with enlarged text. */
@media (max-width: 1120px) {
    body.public-site nav.main-nav {
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - max(8px, env(safe-area-inset-top)) - max(8px, env(safe-area-inset-bottom)));
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    body.public-site nav.main-nav .main-nav__links {
        max-height: none;
    }
}

.main-nav__link {
    text-decoration: none;
    color: #b7f2fb;
    font-weight: 600;
    font-size: 1.02rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    padding: 14px 18px 17px;
    border-radius: 10px;
    transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
}

.main-nav__link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(140, 241, 255, 0), rgba(140, 241, 255, 0.95), rgba(140, 241, 255, 0));
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(140, 241, 255, 0.65);
}

.main-nav__link:hover,
.main-nav__link.active {
    color: #ebfdff;
    text-shadow: 0 0 10px rgba(150, 245, 255, 0.5);
    transform: translateY(-2px);
}

.main-nav__link:focus-visible {
    outline: 3px solid var(--primary-blue-light);
    outline-offset: 3px;
}

.main-nav__link:hover::after,
.main-nav__link.active::after {
    width: 74%;
}

.section {
    max-width: 500px;
    margin: 1px  auto 1px auto;
    text-align: center;
    background: linear-gradient(145deg, rgba(8, 26, 52, 0.62), rgba(16, 44, 78, 0.38));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    opacity: 1;
    transform: translateY(0) translateZ(0);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: auto;
    padding: 20px;
    will-change: transform;
}

.section:hover {
    transform: translateY(-4px) translateZ(0);
    border-color: rgba(122, 178, 248, 0.55);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.proof-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: grid;
    gap: 10px;
}

.proof-list li {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 14px;
    color: var(--text-secondary);
}

.privacy-intro,
.policy-intro {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 600;
}

.projects .section {
    max-width: 100%;
    margin: 0;
    padding: 5px;
}

.sections-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 20px auto;
    padding: 0 20px;
}

/* Home: asymmetrische bento-kaarten met een eigen Webglobe-accent. */
body.page-home .sections-container {
    position: relative;
    isolation: isolate;
    gap: clamp(22px, 2.4vw, 34px);
    margin-top: clamp(12px, 2vw, 28px);
    margin-bottom: clamp(40px, 7vw, 90px);
}

body.page-home .section {
    --home-card-accent: 72, 205, 255;
    --home-card-number: "01";
    --home-card-offset: 0px;
    position: relative;
    z-index: 1;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(26px, 3vw, 42px);
    text-align: left;
    align-items: flex-start;
    border: 1px solid rgba(var(--home-card-accent), 0.34);
    border-radius: 30px 12px 30px 12px;
    background:
        radial-gradient(circle at 100% 0%, rgba(var(--home-card-accent), 0.18), transparent 42%),
        linear-gradient(145deg, rgba(8, 27, 53, 0.92), rgba(8, 38, 66, 0.68));
    box-shadow:
        0 24px 55px rgba(0, 0, 0, 0.3),
        0 0 32px rgba(var(--home-card-accent), 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(var(--home-card-offset)) translateZ(0);
}

body.page-home .section::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 58%;
    height: 3px;
    background: linear-gradient(90deg, rgb(var(--home-card-accent)), rgba(var(--home-card-accent), 0));
    box-shadow: 0 0 20px rgba(var(--home-card-accent), 0.72);
}

body.page-home .section::after {
    content: var(--home-card-number);
    position: absolute;
    z-index: 0;
    top: 10px;
    right: 20px;
    color: rgb(var(--home-card-accent));
    font-size: clamp(4.2rem, 7vw, 6.8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.08em;
    opacity: 0.075;
    pointer-events: none;
}

body.page-home .section > * {
    position: relative;
    z-index: 1;
}

body.page-home .section h2 {
    max-width: calc(100% - 54px);
    margin: 0 0 18px;
    text-align: left;
}

body.page-home .section h2::after {
    margin-left: 0;
    background: linear-gradient(90deg, rgb(var(--home-card-accent)), rgba(var(--home-card-accent), 0.32));
    box-shadow: 0 0 14px rgba(var(--home-card-accent), 0.55);
}

body.page-home .section p {
    margin: 8px 0;
}

body.page-home .section > .btn {
    align-self: flex-start;
    margin: 20px 0 0;
}

body.page-home .home-card-more {
    width: 100%;
    margin: 8px 0 0;
}

body.page-home .home-card-more > summary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 8px 14px;
    color: rgb(var(--home-card-accent));
    font-weight: 800;
    cursor: pointer;
    list-style: none;
    border: 1px solid rgba(var(--home-card-accent), 0.3);
    border-radius: 999px;
    background: rgba(var(--home-card-accent), 0.07);
    transition: background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

body.page-home .home-card-more > summary::-webkit-details-marker {
    display: none;
}

body.page-home .home-card-more > summary::after {
    content: '+';
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    font-size: 1.15rem;
    line-height: 1;
    transition: transform 0.24s ease;
}

body.page-home .home-card-more[open] > summary::after {
    transform: rotate(45deg);
}

body.page-home .home-card-more__label-open {
    display: none;
}

body.page-home .home-card-more[open] > summary .home-card-more__label-closed {
    display: none;
}

body.page-home .home-card-more[open] > summary .home-card-more__label-open {
    display: inline;
}

body.page-home .home-card-more > summary:hover,
body.page-home .home-card-more > summary:focus-visible {
    border-color: rgba(var(--home-card-accent), 0.65);
    background: rgba(var(--home-card-accent), 0.14);
    box-shadow: 0 0 18px rgba(var(--home-card-accent), 0.16);
}

body.page-home .home-card-more > summary:focus-visible {
    outline: 2px solid rgb(var(--home-card-accent));
    outline-offset: 3px;
}

body.page-home .home-card-more__content {
    padding-top: 10px;
    animation: fadeIn 0.24s ease;
}

body.page-home .home-card-more--faq {
    margin-top: 10px;
}

body.page-home .home-card-more--faq > summary {
    margin-inline: auto;
}

body.page-home .home-card-more--faq .faq-item:first-child {
    margin-top: 14px;
}

body.page-home .section:hover {
    z-index: 5;
    transform: translateY(calc(var(--home-card-offset) - 8px)) translateZ(0);
    border-color: rgba(var(--home-card-accent), 0.68);
    box-shadow:
        0 30px 66px rgba(0, 0, 0, 0.38),
        0 0 42px rgba(var(--home-card-accent), 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

body.page-home .section:nth-child(2) {
    --home-card-accent: 114, 156, 255;
    --home-card-number: "02";
    border-radius: 12px 30px 12px 30px;
}

body.page-home .section:nth-child(3) {
    --home-card-accent: 55, 232, 218;
    --home-card-number: "03";
    border-radius: 12px 30px 30px 12px;
}

body.page-home .section:nth-child(4) {
    --home-card-accent: 102, 187, 255;
    --home-card-number: "04";
    border-radius: 30px 12px 12px 30px;
}

body.page-home .section:nth-child(5) {
    --home-card-accent: 132, 139, 255;
    --home-card-number: "05";
    border-radius: 30px 12px 30px 12px;
}

body.page-home .section:nth-child(6) {
    --home-card-accent: 51, 221, 255;
    --home-card-number: "06";
    border-radius: 12px 30px 12px 30px;
}

@media (min-width: 769px) {
    body.page-home .sections-container {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        align-items: start;
        /* Reserve the 50px card stagger and 8px hover lift above the visible gap. */
        row-gap: calc(clamp(22px, 2.4vw, 34px) + 58px);
    }

    body.page-home .section:nth-child(1) {
        grid-column: 1 / span 7;
    }

    body.page-home .section:nth-child(2) {
        --home-card-offset: -44px;
        grid-column: 8 / span 5;
    }

    body.page-home .section:nth-child(3) {
        --home-card-offset: -50px;
        z-index: 2;
        grid-column: 1 / span 5;
    }

    body.page-home .section:nth-child(4) {
        --home-card-offset: -48px;
        z-index: 2;
        grid-column: 6 / span 7;
    }

    body.page-home .section:nth-child(5) {
        --home-card-offset: -50px;
        z-index: 3;
        grid-column: 1 / span 7;
    }

    body.page-home .section:nth-child(6) {
        --home-card-offset: -18px;
        z-index: 3;
        grid-column: 8 / span 5;
    }
}

@media (max-width: 768px) {
    .main-nav {
        transform: none;
        will-change: auto;
    }

    .section {
        transform: translateY(0);
        will-change: auto;
    }

    .section:hover {
        transform: translateY(-4px);
    }

    body.page-home .section {
        --home-card-offset: 0px;
        border-radius: 22px 10px 22px 10px;
        padding: 24px 20px;
        transform: translateY(var(--home-card-offset));
    }

    body.page-home .section:nth-child(even) {
        border-radius: 10px 22px 10px 22px;
    }

    body.page-home .section:hover {
        transform: translateY(calc(var(--home-card-offset) - 8px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .main-nav {
        transform: none;
        will-change: auto;
    }

    .section,
    .section:hover {
        transform: translateY(0);
        will-change: auto;
    }

    body.page-home .section,
    body.page-home .section:hover {
        transform: translateY(var(--home-card-offset));
    }
}

.page-hero {
    max-width: 900px;
    margin: 30px auto 10px auto;
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 10px;
}

.page-lead {
    color: var(--text-secondary);
    font-weight: 600;
    line-height: 1.7;
}

.page-sections {
    margin: 0 auto 30px auto;
    padding: 0 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: max-content;
    max-width: 100%;
    margin: 20px 10px;
    padding: 18px 45px;
    min-height: 88px;
    background: url('/images/button.webp') center center / contain no-repeat;
    color: #ffffffce;
    font-weight: bold;
    border: 0 !important;
    border-radius: 0;
    cursor: pointer;
    font-size: 1.5em;
    text-shadow:
      0 1px 0 rgba(0, 0, 0, 0.9),
      0 2px 6px rgba(0, 0, 0, 0.72);
    text-decoration: none;
    position: relative;
    box-shadow: none;
    filter:
      drop-shadow(0 0 2px rgba(126, 234, 255, 0.32))
      drop-shadow(0 0 12px rgba(50, 190, 226, 0.34))
      drop-shadow(0 0 24px rgba(18, 120, 205, 0.24));
    text-align: center;
    animation: none;
    -webkit-appearance: none;
    appearance: none;
    -webkit-user-select: none;
    user-select: none;
    transition: filter 0.28s ease, text-shadow 0.28s ease, transform 0.28s ease;
}

/* Uniforme CTA-grootte wanneer meerdere knoppen tegelijk zichtbaar zijn */
.sections-container .btn,
.projects .btn,
.error-page-shell-wide .btn,
.hero-actions .btn {
    width: min(100%, 320px);
}

.btn:hover,
.btn:active {
    background: url('/images/button.webp') center center / contain no-repeat;
    filter:
      brightness(1.06)
      drop-shadow(0 0 4px rgba(156, 245, 255, 0.54))
      drop-shadow(0 0 18px rgba(67, 214, 245, 0.56))
      drop-shadow(0 0 34px rgba(26, 136, 216, 0.38));
    text-shadow:
      0 1px 0 rgba(0, 0, 0, 0.95),
      0 3px 8px rgba(0, 0, 0, 0.8);
}

.btn:focus-visible {
    outline: 3px solid var(--primary-blue-light);
    outline-offset: 3px;
    filter:
      brightness(1.04)
      drop-shadow(0 0 4px rgba(156, 245, 255, 0.5))
      drop-shadow(0 0 16px rgba(67, 214, 245, 0.5))
      drop-shadow(0 0 30px rgba(26, 136, 216, 0.34));
}

#contact-teaser .btn {
    align-self: center;
    margin-top: 10px;
}

body.page-home #contact-teaser .btn {
    align-self: flex-start;
    margin: 20px 0 0;
}

.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
}

.projects > * {
    min-width: 0;
}

.project-card {
    background: linear-gradient(145deg, rgba(8, 26, 52, 0.62), rgba(16, 44, 78, 0.38));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    width: 100%;
    min-height: 320px; /* vaste hoogte voor de kaarten */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* zorgt dat de knop onderaan blijft */
    text-align: center;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    padding: 6px 12px 14px;
}

.project-thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.project-thumb-wrap {
    width: 60%;
    height: 220px;
    min-height: 220px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin: 10px auto 0 auto;
    background: linear-gradient(145deg, rgba(4, 27, 53, 0.96), rgba(8, 99, 137, 0.7));
    padding: 12px;
}

.project-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin: 10px 0 0 0;
}

.project-card:hover {
    transform: translateY(-4px) translateZ(0);
    border-color: rgba(122, 178, 248, 0.55);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.project-card h2,
.project-card h3 {
    margin-bottom: 10px;
    color: #ffffff;
}

/* Desktop view - centreer laatste oneven card */
@media (min-width: 769px) {
    .project-card:nth-child(odd):last-child {
        grid-column: 1 / -1;
        max-width: 320px;
        margin: 0 auto;
    }
}

/* Mobiele responsiveness */
@media (max-width: 768px) {
    body.page-over,
    body.page-realisaties,
    body.page-contact {
        overflow-x: hidden;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
    }

    body.page-over .page-sections,
    body.page-realisaties .page-sections,
    body.page-contact .page-sections {
        padding-left: 8px;
        padding-right: 8px;
        padding-top: 44px;
    }

    body.page-over .projects,
    body.page-realisaties .projects {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.page-realisaties .project-card,
    body.page-over .projects .section {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.page-home .sections-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .language-switcher-toggle,
    body.page-home .language-switcher-toggle {
        position: static;
        top: auto;
        right: auto;
        margin: 6px auto 0;
        text-align: center;
        z-index: 4;
    }

    header {
        padding: 20px 10px 20px 10px;
    }

    .logo-container {
        max-width: 350px;
        padding: 5px 30px;
        margin: 0 auto;
    }

    .main-nav {
        top: max(8px, env(safe-area-inset-top));
        left: max(8px, env(safe-area-inset-left));
        right: max(8px, env(safe-area-inset-right));
        width: auto;
        max-width: calc(100vw - 16px);
        box-sizing: border-box;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        min-height: 0;
        padding: 14px 8px 16px;
        background-image: url('/images/buttonhigh.webp') !important;
        background-position: center;
        background-size: 100% 100%;
        background-repeat: no-repeat;
        border-radius: 16px;
    }

    .main-nav > .language-switcher-toggle {
        grid-column: 1 / -1;
        order: 2;
    }

    .main-nav__links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(42px, auto));
        width: 100%;
        justify-content: center;
        gap: 3px 4px;
        overflow-x: visible;
        transform: none;
    }

    .main-nav__link {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 8px 5px 10px;
        font-size: clamp(0.68rem, 2.8vw, 0.86rem);
        line-height: 1.15;
        text-align: center;
        white-space: normal;
    }

    .page-hero {
        margin-top: 0;
        padding-top: 238px;
    }

    body.page-home header {
        padding-top: 238px;
    }

    .projects {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin: 20px 0;
        padding: 0;
    }

    .sections-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    body.page-over .page-sections,
    body.page-realisaties .page-sections,
    body.page-contact .page-sections {
        padding-left: 6px;
        padding-right: 6px;
        padding-top: 38px;
    }

    .logo-container {
        max-width: 280px;
        padding: 4px 20px;
        margin: 0 auto;
    }

    .main-nav {
        top: 6px;
        left: 6px;
        right: 6px;
        width: auto;
        max-width: calc(100vw - 12px);
        box-sizing: border-box;
        padding: 12px 7px 14px;
        border-radius: 14px;
    }

    .main-nav__links {
        grid-template-rows: repeat(2, minmax(40px, auto));
        gap: 2px 3px;
    }

    .main-nav__link {
        min-height: 40px;
        padding: 7px 4px 9px;
        font-size: 0.78rem;
        letter-spacing: 0.03em;
    }

    .page-hero,
    body.page-home header {
        padding-top: 228px;
    }
}

/* Houd de fixed nav vrij: de hero begint pas onder het volledige nav-frame. */
@media (min-width: 769px) {
    body.page-home header {
        width: min(calc(100% - clamp(40px, 6vw, 96px)), 1400px);
        max-width: 1400px;
        margin-inline: auto;
        padding-top: clamp(110px, 10vh, 150px);
        padding-bottom: 60px;
        display: grid;
        grid-template-columns: minmax(290px, 426px) clamp(300px, 25vw, 360px);
        grid-template-rows: auto auto;
        justify-content: center;
        align-items: center;
        column-gap: clamp(22px, 4vw, 60px);
        row-gap: clamp(20px, 3vw, 34px);
    }

    body.page-home .logo-container.logo-container--text {
        grid-column: 1;
        grid-row: 1;
        justify-self: center;
        width: min(100%, 426px);
        max-width: 426px;
        margin: 0;
    }

    body.page-home .wgfx-codefall {
        position: relative;
        grid-column: 1;
        grid-row: 1;
        align-self: start;
        justify-self: center;
        top: auto;
        left: auto;
        width: min(82%, 344px);
        margin: clamp(-68px, -5vw, -48px) 0 0;
        transform: none;
    }

    body.page-home .home-title-copy {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        max-width: 960px;
        margin: 0 auto;
        padding: 0 20px;
    }

    body.page-home .home-title-copy h1 {
        max-width: 100%;
        font-size: clamp(34px, 4vw, 56px);
    }

    body.page-home .home-title-copy > p {
        max-width: 680px;
        font-size: clamp(16px, 1.55vw, 21px);
    }

    body.page-home header > .hero-actions {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        justify-self: stretch;
        width: 100%;
        max-width: 360px;
        margin: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        gap: clamp(8px, 1vw, 14px);
    }

    body.page-home header > .hero-actions .btn {
        width: 100%;
        min-width: 0;
        min-height: 58px;
        margin: 0;
        padding: 12px clamp(12px, 1.5vw, 24px);
        gap: clamp(7px, .8vw, 10px);
        font-size: clamp(.82rem, 1.15vw, 1rem);
        white-space: normal;
    }

    body.page-home .hero-action-icon {
        width: clamp(25px, 2.2vw, 30px);
        height: clamp(25px, 2.2vw, 30px);
        flex-basis: clamp(25px, 2.2vw, 30px);
    }
}

/* Tijdens de verplichte cookiekeuze blijft ook de navigatie volledig geblokkeerd. */
body.consent-blocked .main-nav {
    pointer-events: none;
}

.language-switcher-toggle .toggle-switch {
    background-image: url('/images/button.webp') !important;
    background-position: center !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
}

.demo-webshop-card {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.project-thumb-wrap--coming-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(4, 27, 53, 0.96), rgba(8, 99, 137, 0.7));
    color: #bdf7ff;
    text-shadow: 0 0 14px rgba(89, 223, 255, 0.72);
}

.project-demo-logo {
    border-radius: 16px;
    overflow: hidden;
}

/* Rustiger leesgewicht voor lopende tekst; titels behouden hun vetgedrukte stijl. */
body,
body p,
.section p,
.page-lead {
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
}

/* Desktop: taalkeuze onder de nav, zonder dat de nav haar afknipt. */
@media (min-width: 769px) {
    .main-nav {
        overflow: visible;
    }

    .main-nav > .language-switcher-toggle {
        position: absolute;
        top: calc(100% + 12px);
        right: 18px;
        margin: 0;
        z-index: 1105;
    }
}
