/*
Theme Name: Nijenhuis Bestrating
Author: Rawstacks
Author URI: https://rawstacks.com
Description: One-pager voor Nijenhuis Bestrating.
Version: 2.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: nijenhuis
*/

/* ==========================================================================
   Fonts (self-hosted, geen externe requests)
   ========================================================================== */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/barlow-condensed-800.woff2") format("woff2"); }

/* ==========================================================================
   Basis
   ========================================================================== */

:root {
    --nb-ink: #151515;
    --nb-graphite: #2a2a28;
    --nb-red: #e5231d;
    --nb-red-dark: #c21a15;
    --nb-stone: #f3f1ec;
    --nb-sand: #e7e1d6;
    --nb-muted: #5f5c56;
    --nb-line: #dcd6ca;
    --nb-display: "Barlow Condensed", Impact, sans-serif;
    --nb-header-h: 84px;
    --nb-wide: 1240px;
    --nb-gutter: clamp(1rem, 4vw, 2rem);
    --nb-shadow: 0 1px 2px rgba(21, 21, 21, .06), 0 12px 32px -12px rgba(21, 21, 21, .18);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nb-header-h) - 1px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: #fff;
    color: var(--nb-ink);
    font-family: Barlow, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}

a:hover {
    color: var(--nb-red);
}

:focus-visible {
    outline: 3px solid var(--nb-red);
    outline-offset: 3px;
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--nb-display);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.005em;
    text-wrap: balance;
}

h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); font-weight: 700; }

p {
    text-wrap: pretty;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 1rem;
    z-index: 1000;
    padding: .75rem 1rem;
    background: var(--nb-red);
    color: #fff;
    font-weight: 600;
}

.skip-link:focus {
    top: 1rem;
    color: #fff;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--nb-header-h);
    background: #fff;
    color: var(--nb-ink);
    box-shadow: 0 1px 0 var(--nb-line);
    transition: background-color .3s ease, box-shadow .3s ease, color .3s ease;
}

.site-header--over-hero:not(.is-scrolled):not(.is-open) {
    background: transparent;
    color: #fff;
    box-shadow: none;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: calc(var(--nb-wide) + 2 * var(--nb-gutter));
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--nb-gutter);
}

.site-header__logo {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 124px;
    height: 55px;
}

.site-header__logo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: opacity .3s ease;
}

.site-header__logo-img--light { opacity: 0; }

.site-header--over-hero:not(.is-scrolled):not(.is-open) .site-header__logo-img--light { opacity: 1; }
.site-header--over-hero:not(.is-scrolled):not(.is-open) .site-header__logo-img--dark { opacity: 0; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.site-nav__list {
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__list a {
    position: relative;
    display: block;
    padding: .5rem 0;
    font-family: var(--nb-display);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: .2rem;
    height: 2px;
    background: var(--nb-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.site-nav__list a:hover {
    color: inherit;
}

.site-nav__list a:hover::after {
    transform: scaleX(1);
}

.site-nav__cta,
.wp-block-button__link,
.wpforms-container .wpforms-submit-container button[type=submit] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .95rem 1.6rem;
    border: 2px solid var(--nb-red);
    border-radius: 2px;
    background: var(--nb-red);
    color: #fff;
    font-family: var(--nb-display);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.site-nav__cta {
    padding: .8rem 1.25rem;
    font-size: 1rem;
}

.site-nav__cta:hover,
.wp-block-button__link:hover,
.wpforms-container .wpforms-submit-container button[type=submit]:hover {
    border-color: var(--nb-red-dark);
    background: var(--nb-red-dark);
    color: #fff;
    transform: translateY(-1px);
}

.wp-block-button.is-style-outline > .wp-block-button__link {
    border-color: currentColor;
    background: transparent;
    color: inherit;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
    border-color: #fff;
    background: #fff;
    color: var(--nb-ink);
}

.site-header__toggle {
    display: none;
    position: relative;
    width: 48px;
    height: 48px;
    margin-right: -10px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}

.site-header__toggle-bar,
.site-header__toggle-bar::before,
.site-header__toggle-bar::after {
    position: absolute;
    left: 12px;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: transform .25s ease, top .25s ease, opacity .2s ease;
}

.site-header__toggle-bar { top: 23px; }
.site-header__toggle-bar::before,
.site-header__toggle-bar::after { content: ""; left: 0; }
.site-header__toggle-bar::before { top: -8px; }
.site-header__toggle-bar::after { top: 8px; }

.is-open .site-header__toggle-bar { background: transparent; }
.is-open .site-header__toggle-bar::before { top: 0; transform: rotate(45deg); }
.is-open .site-header__toggle-bar::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 899px) {
    :root { --nb-header-h: 72px; }

    .site-header__logo {
        width: 104px;
        height: 46px;
    }

    .site-header__toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        inset: var(--nb-header-h) 0 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
        padding: 2rem var(--nb-gutter) 3rem;
        background: #fff;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
    }

    .is-open .site-nav {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: opacity .25s ease, transform .25s ease;
    }

    .site-nav__list {
        flex-direction: column;
        gap: 0;
    }

    .site-nav__list a {
        padding: 1rem 0;
        border-bottom: 1px solid var(--nb-line);
        font-size: 2rem;
        font-weight: 800;
        letter-spacing: 0;
    }

    .site-nav__list a::after {
        display: none;
    }

    .site-nav__cta {
        padding: 1.1rem 1.25rem;
        font-size: 1.125rem;
    }
}

/* ==========================================================================
   Content-basis
   ========================================================================== */

.site-main--page {
    padding-top: var(--nb-header-h);
}

.site-main--front .entry-content > .alignfull {
    margin-block: 0;
}

.entry-content > :last-child {
    margin-bottom: 0;
}

.site-main--page .entry-content {
    padding-block: clamp(3rem, 7vw, 5rem);
}

.site-main--page .entry-content h2 {
    margin-top: 2.5rem;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.page-header {
    padding: clamp(3rem, 8vw, 6rem) var(--nb-gutter) clamp(2rem, 5vw, 3rem);
    background: var(--nb-stone);
    text-align: center;
}

.page-header__title {
    max-width: 760px;
    margin: 0 auto;
}

/* Sectie-wrapper */
.nb-section {
    padding-block: clamp(4.5rem, 10vw, 8rem);
}

.nb-section > * + * {
    margin-block-start: 1.25rem;
}

.nb-section-head {
    max-width: 720px;
    margin-bottom: clamp(2.5rem, 5vw, 4rem) !important;
}

.nb-section-head.has-text-align-center,
.nb-section-head.is-centered {
    margin-inline: auto !important;
    text-align: center;
}

.nb-section-head > * + * {
    margin-block-start: 1rem;
}

.nb-lead {
    color: var(--nb-muted);
    font-size: 1.25rem;
    line-height: 1.55;
}

/* Klein label boven een titel */
.nb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 1rem !important;
    color: var(--nb-red);
    font-family: var(--nb-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.nb-eyebrow::before {
    content: "";
    width: 2rem;
    height: 3px;
    background: currentColor;
}

.has-text-align-center.nb-eyebrow,
.is-centered .nb-eyebrow {
    justify-content: center;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.nb-hero.wp-block-cover {
    align-items: flex-end;
    min-height: 100svh !important;
    padding: calc(var(--nb-header-h) + 3rem) var(--nb-gutter) clamp(3rem, 8vw, 6rem);
    color: #fff;
}

.nb-hero .wp-block-cover__image-background {
    animation: nb-hero-zoom 18s ease-out both;
}

@keyframes nb-hero-zoom {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

.nb-hero.wp-block-cover .wp-block-cover__inner-container {
    width: 100% !important;
    max-width: var(--nb-wide);
    margin: 0 auto !important;
}

.nb-hero .wp-block-cover__inner-container > * {
    max-width: 820px;
}

.nb-hero .nb-eyebrow {
    color: #fff;
}

.nb-hero .nb-eyebrow::before {
    background: var(--nb-red);
}

.nb-hero h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(3rem, 8vw, 6.25rem);
    line-height: .95;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}

.nb-hero h1 mark {
    background: none;
    color: var(--nb-red);
}

.nb-hero .nb-lead {
    max-width: 600px;
    margin-bottom: 2.25rem;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(1.125rem, 1.6vw, 1.3rem);
}

.nb-hero .wp-block-buttons {
    gap: 1rem;
}

.nb-hero-usps {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 2rem;
    margin: clamp(3rem, 7vw, 5rem) 0 0 !important;
    padding: 1.5rem 0 0 !important;
    border-top: 1px solid rgba(255, 255, 255, .25);
    list-style: none;
    max-width: none !important;
}

.nb-hero-usps li {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .92);
}

.nb-hero-usps li::before,
.nb-checklist li::before {
    content: "";
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: var(--nb-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* ==========================================================================
   Diensten
   ========================================================================== */

.nb-cards.wp-block-columns {
    gap: 1.5rem;
    margin: 0;
}

.nb-card {
    position: relative;
    height: 100%;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    border-top: 4px solid var(--nb-red);
    background: #fff;
    box-shadow: var(--nb-shadow);
    transition: transform .3s ease, box-shadow .3s ease;
}

.nb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1px 2px rgba(21, 21, 21, .06), 0 24px 48px -16px rgba(21, 21, 21, .25);
}

.nb-card > * + * {
    margin-block-start: .9rem;
}

.nb-card p {
    margin-bottom: 0;
    color: var(--nb-muted);
}

.nb-num {
    margin: 0 0 1.25rem !important;
    font-family: var(--nb-display);
    font-size: 4rem !important;
    font-weight: 800;
    line-height: .8;
    -webkit-text-stroke: 1.5px var(--nb-red);
    color: transparent;
}

/* ==========================================================================
   Split: tekst + beeld
   ========================================================================== */

.nb-split.wp-block-columns {
    gap: clamp(2.5rem, 6vw, 6rem);
    margin: 0;
}

.nb-split .wp-block-column > * + * {
    margin-block-start: 1.1rem;
}

.nb-split p:not(.nb-eyebrow) {
    color: var(--nb-muted);
    font-size: 1.125rem;
}

.nb-split .wp-block-buttons {
    margin-top: 2rem;
}

.nb-media {
    position: relative;
    margin: 0;
    isolation: isolate;
}

.nb-media::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 1.25rem -1.25rem -1.25rem 1.25rem;
    background: var(--nb-red);
}

.nb-media--left::before {
    inset: 1.25rem 1.25rem -1.25rem -1.25rem;
}

.nb-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.nb-media--landscape img {
    aspect-ratio: 5 / 4;
}

.nb-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem 1.5rem;
    margin: 1.75rem 0 0 !important;
    padding: 0;
    list-style: none;
}

.nb-checklist li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    font-weight: 500;
    line-height: 1.4;
}

.nb-checklist li::before {
    margin-top: .05rem;
}

@media (max-width: 781px) {
    .nb-split.is-reversed-mobile {
        flex-direction: column-reverse;
    }

    .nb-media {
        margin-right: 1.25rem;
    }

    .nb-media--left {
        margin: 0 0 0 1.25rem;
    }
}

@media (max-width: 520px) {
    .nb-checklist {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Band / call-to-action
   ========================================================================== */

.nb-band.wp-block-cover {
    min-height: 0 !important;
    padding: clamp(4.5rem, 10vw, 7.5rem) var(--nb-gutter);
    color: #fff;
}

.nb-band .wp-block-cover__inner-container {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.nb-band .wp-block-cover__inner-container > * + * {
    margin-block-start: 1.25rem;
}

.nb-band h2 {
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
}

.nb-band .nb-lead {
    color: rgba(255, 255, 255, .8);
}

.nb-band .wp-block-buttons {
    justify-content: center;
    margin-top: 2.25rem;
}

/* ==========================================================================
   Projecten (Spectra / UAG image gallery)
   ========================================================================== */

.nb-gallery .wp-block-uagb-image-gallery {
    margin-top: 0;
}

.nb-gallery .spectra-image-gallery__control-lightbox {
    margin: 0 !important;
}

.nb-gallery .spectra-image-gallery__media-wrapper {
    overflow: hidden;
    cursor: zoom-in;
}

.nb-gallery .spectra-image-gallery__media {
    border-radius: 0 !important;
}

.nb-gallery .spectra-image-gallery__media-thumbnail {
    transition: transform .6s cubic-bezier(.2, .7, .2, 1) !important;
}

.nb-gallery .spectra-image-gallery__media-wrapper:hover .spectra-image-gallery__media-thumbnail {
    transform: scale(1.05);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.nb-contact.wp-block-columns {
    gap: clamp(2.5rem, 6vw, 5rem);
    margin: 0;
}

.nb-contact .wp-block-column > * + * {
    margin-block-start: 1.1rem;
}

.nb-contact-list {
    display: grid;
    gap: 1.5rem;
    margin: 2.5rem 0 0 !important;
    padding: 0;
    list-style: none;
}

.nb-contact-list li {
    padding-left: 1.25rem;
    border-left: 3px solid var(--nb-red);
    line-height: 1.5;
}

.nb-contact-list strong {
    display: block;
    margin-bottom: .2rem;
    font-family: var(--nb-display);
    font-size: .95rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--nb-muted);
}

.nb-contact-list a {
    font-weight: 600;
}

.nb-form-card {
    padding: clamp(1.5rem, 4vw, 3rem);
    border-top: 4px solid var(--nb-red);
    background: #fff;
    box-shadow: var(--nb-shadow);
}

/* WPForms */
.nb-form-card .wpforms-container {
    --wpforms-field-border-radius: 2px;
    --wpforms-field-border-color: var(--nb-line);
    --wpforms-field-text-color: var(--nb-ink);
    --wpforms-label-color: var(--nb-ink);
    --wpforms-label-error-color: var(--nb-red);
    --wpforms-button-border-radius: 2px;
    --wpforms-button-background-color: var(--nb-red);
    --wpforms-button-text-color: #fff;
    --wpforms-page-break-color: var(--nb-red);
    margin: 0 !important;
}

.nb-form-card .wpforms-field-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.25rem;
}

.nb-form-card .wpforms-field {
    grid-column: 1 / -1;
    padding: 0 0 1.25rem !important;
}

.nb-form-card .wpforms-field.nb-half {
    grid-column: auto;
}

.nb-form-card .wpforms-field-label {
    margin-bottom: .45rem !important;
    font-weight: 600 !important;
    font-size: .95rem !important;
}

.nb-form-card .wpforms-required-label {
    color: var(--nb-red) !important;
}

.nb-form-card input[type=text],
.nb-form-card input[type=email],
.nb-form-card input[type=tel],
.nb-form-card textarea {
    width: 100% !important;
    max-width: none !important;
    min-height: 3.25rem;
    padding: .8rem 1rem !important;
    border: 1px solid var(--nb-line) !important;
    border-radius: 2px !important;
    background: var(--nb-stone) !important;
    font: inherit !important;
    color: var(--nb-ink) !important;
    box-shadow: none !important;
    transition: border-color .2s ease, background-color .2s ease;
}

.nb-form-card textarea {
    min-height: 9rem;
    resize: vertical;
}

.nb-form-card input:focus,
.nb-form-card textarea:focus {
    border-color: var(--nb-ink) !important;
    background: #fff !important;
    outline: none;
}

.nb-form-card .wpforms-field-name .wpforms-field-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    max-width: none !important;
}

.nb-form-card .wpforms-field-name .wpforms-field-row::before,
.nb-form-card .wpforms-field-name .wpforms-field-row::after {
    display: none !important;
}

.nb-form-card .wpforms-field-name .wpforms-field-row-block {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nb-form-card .wpforms-submit-container {
    padding-top: .5rem !important;
}

.nb-form-card .wpforms-submit-container button[type=submit] {
    width: 100%;
    height: auto !important;
    padding: 1.1rem 1.6rem !important;
}

.nb-form-card .wpforms-confirmation-container-full {
    margin: 0;
    padding: 1.5rem;
    border: 0;
    border-left: 4px solid #2f8f4e;
    background: #eef7f1;
    color: var(--nb-ink);
}

.nb-form-card .wpforms-field-description {
    color: var(--nb-muted) !important;
}

@media (max-width: 600px) {
    .nb-form-card .wpforms-field.nb-half {
        grid-column: 1 / -1;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--nb-ink);
    color: #b9b4aa;
    font-size: .975rem;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: calc(var(--nb-wide) + 2 * var(--nb-gutter));
    margin: 0 auto;
    padding: clamp(3.5rem, 7vw, 5rem) var(--nb-gutter);
}

.site-footer__brand img {
    display: block;
    width: 160px;
    height: auto;
    margin-bottom: 1.5rem;
}

.site-footer__brand p {
    max-width: 380px;
    margin: 0;
}

.site-footer__heading {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.site-footer address {
    font-style: normal;
    line-height: 1.8;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 2;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--nb-red);
}

.site-footer__social {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
}

.site-footer__social svg {
    padding: .5rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    max-width: calc(var(--nb-wide) + 2 * var(--nb-gutter));
    margin: 0 auto;
    padding: 1.5rem var(--nb-gutter);
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .875rem;
}

.site-footer__bottom a {
    color: #b9b4aa;
}

@media (max-width: 899px) {
    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .site-footer__inner {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Scroll-animatie
   ========================================================================== */

.has-reveal .nb-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}

.has-reveal .nb-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .nb-hero .wp-block-cover__image-background { animation: none; }
}

/* Cookie Notice: in lijn met de huisstijl */
#cookie-notice .cn-button:not(.cn-button-custom) {
    border-radius: 2px !important;
}
