/*
Theme Name:  Off Days
Theme URI:   https://offdays.nl
Description: Custom classic WordPress-theme voor Off Days — sportkleding voor mentale gezondheid. Tegen somberheid, psychische klachten en draaglast.
Version:     1.0.0
Author:      Off Days
Author URI:  https://offdays.nl
Text Domain: offdays
*/

/* ================================================================
   FONTS — zelfgehoste WOFF2 (assets/fonts/)
================================================================ */

/* Archivo Black — latin-ext */
@font-face {
    font-family: 'Archivo Black';
    font-style:  normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/archivo-black-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Archivo Black — latin */
@font-face {
    font-family: 'Archivo Black';
    font-style:  normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/archivo-black-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* DM Serif Display italic — latin-ext */
@font-face {
    font-family: 'DM Serif Display';
    font-style:  italic;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/dm-serif-display-italic-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* DM Serif Display italic — latin */
@font-face {
    font-family: 'DM Serif Display';
    font-style:  italic;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/dm-serif-display-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* DM Serif Display regular — latin-ext */
@font-face {
    font-family: 'DM Serif Display';
    font-style:  normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/dm-serif-display-regular-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* DM Serif Display regular — latin */
@font-face {
    font-family: 'DM Serif Display';
    font-style:  normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/dm-serif-display-regular-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Permanent Marker — latin */
@font-face {
    font-family: 'Permanent Marker';
    font-style:  normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/permanent-marker-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Archivo Black — metric-matched systeem fallback (elimineert FOUT-CLS)     */
/* size-adjust 124.81% = Archivo Black / Arial xAvgCharWidth verhouding      */
/* ascent/descent = typoMetrics (900, 220) / UPM (1000) / size-adjust ratio  */
@font-face {
    font-family: 'Archivo Black Fallback';
    src: local('Arial');
    size-adjust: 124.81%;
    ascent-override: 72.11%;
    descent-override: 17.63%;
    line-gap-override: 0%;
}

/* ================================================================
   CSS CUSTOM PROPERTIES
================================================================ */
:root {
    --color-bg:     #F8F6F2;
    --color-rust:   #B05C38;
    --color-slate:  #1E2126;
    --color-forest: #2C4A3E;
    --color-white:  #FFFFFF;

    --font-heading: 'DM Serif Display', Georgia, serif;
    --font-label:   'Archivo Black', 'Archivo Black Fallback', sans-serif;
    --font-accent:  'Permanent Marker', cursive;
    --font-body:    'Helvetica Neue', Arial, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
}

/* ================================================================
   RESET & BASE
================================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--color-bg);
    color: var(--color-slate);
    font-family: var(--font-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ================================================================
   KNOPPEN
================================================================ */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    font-family: var(--font-label);
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background-color 0.25s ease,
                color 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
}

.btn:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.btn-primary {
    background-color: var(--color-rust);
    color: var(--color-white);
    border-color: var(--color-rust);
}

.btn-primary:hover {
    background-color: #96502f;
    border-color: #96502f;
}

.btn-outline-white {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline-white:hover {
    background-color: var(--color-white);
    color: var(--color-slate);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-rust);
    border-color: var(--color-white);
}

.btn-white:hover {
    background-color: var(--color-bg);
    border-color: var(--color-bg);
    color: var(--color-rust);
}

/* ================================================================
   HAMBURGER TOGGLE BUTTON
================================================================ */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 300;
    flex-shrink: 0;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* X-knop boven nav-overlay: toggle zit in dezelfde stacking context (header)
   als de overlay (z-index 10000), dus moet hoger zitten om klikbaar te zijn */
.nav-toggle.is-open {
    z-index: 10001;
}

/* ================================================================
   SITE HEADER & NAVIGATIE
================================================================ */
.site-header {
    position: fixed;
    top: 28px;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 1.2rem var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, top 0.3s ease;
}

.site-header.is-scrolled {
    background-color: #1e2126;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.site-logo a {
    display: flex;
    align-items: center;
}

.site-logo-fallback {
    font-family: var(--font-label);
    font-size: 1.125rem;
    color: var(--color-white);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-logo img {
    height: 45px;
    width: auto;
}

.site-nav ul {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.site-nav a {
    font-family: var(--font-label);
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-white);
    transition: opacity 0.2s ease;
}

.site-nav a:hover {
    opacity: 0.7;
}

.site-nav .nav-cta {
    background-color: var(--color-rust);
    color: var(--color-white);
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    opacity: 1;
    transition: background-color 0.25s ease;
}

.site-nav .nav-cta:hover {
    background-color: #96502f;
    opacity: 1;
}

/* ================================================================
   TOPBAR
================================================================ */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 28px;
    background-color: var(--color-slate);
    z-index: 10002;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.topbar.is-hidden {
    transform: translateY(-100%);
}

/* Als topbar verborgen is: header schuift omhoog naar top: 0 */
.topbar.is-hidden + .site-header {
    top: 0;
}

.topbar-inner {
    max-width: 1458px;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 0 var(--space-md);
    overflow: hidden;
}

.topbar-item {
    font-size: 0.6875rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.80);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ================================================================
   HERO SECTIE
================================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1E2126 0%, #2C4A3E 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top right,
        rgba(30, 33, 38, 0.82) 0%,
        rgba(30, 33, 38, 0.45) 40%,
        rgba(30, 33, 38, 0.10) 70%,
        rgba(30, 33, 38, 0.00) 100%
    );
}

.hero-inner {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1458px;
    margin: 0 auto;
    padding: 7rem var(--space-md) var(--space-md);
}

.hero-content {
    max-width: 520px;
}

.hero-logo {
    margin-bottom: var(--space-sm);
}

.hero-logo img {
    height: 60px;
    width: auto;
}

.hero-logo-fallback {
    font-family: var(--font-label);
    font-size: 0.9375rem;
    letter-spacing: 0.22em;
    color: var(--color-white);
    text-transform: uppercase;
    opacity: 0.85;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.hero-accent {
    font-family: var(--font-accent);
    font-size: clamp(1.25rem, 2.4vw, 1.875rem);
    color: var(--color-white);
    line-height: 1.3;
    margin-bottom: var(--space-sm);
    opacity: 0.92;
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.65;
    margin-bottom: var(--space-md);
    max-width: 420px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

/* ================================================================
   PAGE HERO — compacte hero voor reguliere pagina's
================================================================ */
.page-hero {
    position: relative;
    height: 560px;
    display: flex;
    align-items: flex-start;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top right,
        rgba(30, 33, 38, 0.85) 0%,
        rgba(30, 33, 38, 0.50) 50%,
        rgba(30, 33, 38, 0.20) 100%
    );
}

.page-hero-inner {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1458px;
    margin: 0 auto;
    padding: 9rem var(--space-md) var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.page-hero-breadcrumbs {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
}

.page-hero-breadcrumbs a {
    color: rgba(255, 255, 255, 0.90);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.page-hero-breadcrumbs a:hover {
    opacity: 0.75;
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.1;
    margin: 0;
}

.page-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    margin: 0;
    max-width: 600px;
}

.page-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 0.75rem;
}

@media (max-width: 767px) {
    .page-hero {
        height: auto;
    min-height: 460px;
    }

    .page-hero-inner {
        padding: 7rem var(--space-sm) var(--space-lg);
        gap: 0.625rem;
    }

    .page-hero-breadcrumbs {
        font-size: 0.75rem;
    }

    .page-hero-title {
        font-size: clamp(1.5rem, 6vw, 2.25rem);
    }

    .page-hero-subtitle {
        font-size: 0.9375rem;
    }

    .page-hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 0.5rem;
    }

    .page-hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* ================================================================
   SECTIE 1 — USP BALK
================================================================ */
.usp-bar {
    background-color: var(--color-bg);
    padding: var(--space-lg) var(--space-md);
}

.usp-bar .section-inner {
    max-width: 1458px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

.usp-item {
    padding: var(--space-md);
}

.usp-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-sm);
    color: var(--color-rust);
}

.usp-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.usp-title {
    font-family: var(--font-label);
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-slate);
    margin-bottom: var(--space-xs);
}

.usp-text {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.65;
}

/* ================================================================
   SECTIE 2 — QUOTE
================================================================ */
.quote-section {
    background-color: var(--color-slate);
    padding: var(--space-xl) var(--space-md);
    text-align: center;
}

.quote-section .section-inner {
    max-width: 820px;
    margin: 0 auto;
}

.quote-mark {
    display: block;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--color-rust);
    line-height: 0.6;
    margin-bottom: var(--space-sm);
    font-weight: 400;
}

.quote-text {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.3;
}

/* ================================================================
   SECTIE 3 — PRODUCT TEASER
================================================================ */
.product-teaser {
    background-color: var(--color-white);
    padding: var(--space-xl) var(--space-md);
}

.product-teaser .section-inner {
    max-width: 1458px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--color-slate);
    line-height: 1.2;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.product-card {
    display: block;
    background-color: var(--color-bg);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(30, 33, 38, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 33, 38, 0.14);
}

.product-thumb {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumb-1 { background-color: #d9cfc4; }
.product-thumb-2 { background-color: #c4cecd; }
.product-thumb-3 { background-color: #c9c4cf; }

.product-thumb span {
    font-family: var(--font-label);
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(30, 33, 38, 0.35);
}

.product-thumb.has-image {
    padding: 0;
}

.product-thumb .product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: var(--space-sm) var(--space-md);
}

.product-name {
    font-family: var(--font-label);
    font-size: 0.9375rem;
    letter-spacing: 0.04em;
    color: var(--color-slate);
    margin-bottom: var(--space-xs);
}

.product-link {
    display: inline-block;
    font-size: 0.8125rem;
    font-family: var(--font-label);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-rust);
    border-bottom: 1px solid var(--color-rust);
    transition: opacity 0.2s ease;
}

.product-link:hover {
    opacity: 0.65;
}

/* ================================================================
   SECTIE 4 — FOOTER CTA
================================================================ */
.footer-cta-section {
    background-color: var(--color-rust);
    padding: var(--space-xl) var(--space-md);
    text-align: center;
}

.footer-cta-section .section-inner {
    max-width: 700px;
    margin: 0 auto;
}

.footer-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

/* ================================================================
   REVIEWS SECTIE
================================================================ */
.reviews-section {
    background-color: #fff;
    padding: var(--space-xl) 0;
    overflow: hidden;
}

.reviews-inner {
    max-width: 1458px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.reviews-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--color-slate);
    margin: 0 0 2rem;
    line-height: 1.1;
}

/* Track */
.reviews-slider-wrap {
    overflow: hidden;
}

.reviews-track {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 1rem;
    cursor: grab;
    user-select: none;
}

.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track.is-dragging { cursor: grabbing; scroll-behavior: auto; }

/* Card */
.review-card {
    flex: 0 0 320px;
    min-width: 320px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scroll-snap-align: start;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.review-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-card__stars {
    display: flex;
    gap: 2px;
    font-size: 1.2rem;
    line-height: 1;
}

.review-star         { color: #ddd; }
.review-star.is-filled { color: var(--color-rust); }

.review-card__google {
    flex-shrink: 0;
}

/* Tekst */
.review-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.review-card__text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-slate);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-card__text.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.review-card__more {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-slate);
    text-decoration: underline;
    cursor: pointer;
    text-align: left;
    align-self: flex-start;
}

.review-card__more:hover { color: var(--color-rust); }

.review-card__name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-slate);
    margin: 0;
}

/* Footer navigatie */
.reviews-footer {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

.reviews-swipe-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-slate);
    white-space: nowrap;
}

.reviews-swipe-line {
    flex: 1;
    height: 1px;
    background-color: var(--color-slate);
    opacity: 0.25;
}

.reviews-arrows {
    display: flex;
    gap: 0.5rem;
}

.reviews-arrow {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-slate);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.reviews-arrow:hover { background-color: var(--color-rust); }

/* Responsive */
@media (max-width: 767px) {
    .review-card {
        flex: 0 0 82vw;
        min-width: 82vw;
    }

    .reviews-swipe-label { display: none; }
    .reviews-swipe-line  { display: none; }
    .reviews-footer { justify-content: flex-end; }
}

/* ================================================================
   SITE FOOTER
================================================================ */
.site-footer {
    background-color: var(--color-slate);
    color: rgba(255, 255, 255, 0.55);
}

.footer-main {
    max-width: 1458px;
    margin: 0 auto;
    padding: 3rem var(--space-md);
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1.8fr;
    gap: 2rem;
    align-items: start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-brand {
    display: block;
    font-family: var(--font-label);
    font-size: 0.875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.875rem;
    font-style: italic;
    line-height: 1.5;
}

/* Link-kolommen */
.footer-col-title {
    font-family: var(--font-label);
    font-size: 0.75rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 0.875rem;
    /* button reset */
    background: none;
    border: none;
    padding: 0;
    width: 100%;
    text-align: left;
    cursor: default;
}

.footer-col-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col-links a:hover {
    color: var(--color-white);
}

.footer-bottom {
    max-width: 1458px;
    margin: 0 auto;
    padding: 0.875rem var(--space-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.footer-copy {
    font-size: 0.8125rem;
}

.footer-initiative {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.40);
}

.footer-initiative a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-initiative a:hover {
    color: var(--color-white);
}

/* ================================================================
   FOOTER — NIEUWSBRIEF
================================================================ */
.footer-newsletter-label {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.footer-newsletter-sub {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.60);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

/* GF wrapper reset */
.footer-newsletter-form .gform_wrapper,
.footer-newsletter-form .gform_wrapper.gravity-theme {
    margin: 0;
    padding: 0;
    max-width: none;
    background: none;
    border: none;
    box-shadow: none;
}

.footer-newsletter-form .gform_body { margin: 0; }

/* 2-kolom veldgrid */
.footer-newsletter-form .gform_fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* E-mailveld over volle breedte */
.footer-newsletter-form .gfield--type-email {
    grid-column: 1 / -1;
}

/* Labels verbergen — alle GF-varianten */
.footer-newsletter-form .gfield_label,
.footer-newsletter-form .gfield_label_before_complex,
.footer-newsletter-form .gfield_required,
.footer-newsletter-form .name_first label,
.footer-newsletter-form .name_last label,
.footer-newsletter-form .ginput_complex label {
    display: none !important;
}

/* Invoervelden */
.footer-newsletter-form .ginput_container input[type="text"],
.footer-newsletter-form .ginput_container input[type="email"],
.footer-newsletter-form .ginput_container_name input {
    width: 100%;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    padding: 0.625rem 0.875rem;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.footer-newsletter-form .ginput_container input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.footer-newsletter-form .ginput_container input:focus {
    border-color: rgba(176, 92, 56, 0.80);
    background-color: rgba(255, 255, 255, 0.12);
}

/* Naam-subveld: voornaam + achternaam naast elkaar */
.footer-newsletter-form .ginput_container_name {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.footer-newsletter-form .ginput_container_name span {
    display: block;
}

/* Verzendknop */
.footer-newsletter-form .gform_footer,
.footer-newsletter-form .gform_page_footer {
    padding: 0;
    margin-top: 0.625rem;
}

.footer-newsletter-form .gform_button,
.footer-newsletter-form input[type="submit"] {
    width: 100%;
    background-color: var(--color-rust) !important;
    color: var(--color-white) !important;
    border: none !important;
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-label);
    font-size: 0.8125rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background-color 0.2s ease;
}

.footer-newsletter-form .gform_button:hover,
.footer-newsletter-form input[type="submit"]:hover {
    background-color: #96502f !important;
}

/* Validatiefouten */
.footer-newsletter-form .gfield_error input {
    border-color: #e05a4e !important;
}

.footer-newsletter-form .gfield_validation_message,
.footer-newsletter-form .validation_message {
    font-size: 0.75rem;
    color: #f28b82;
    margin-top: 0.25rem;
}

/* Bevestigingsbericht */
.footer-newsletter-form .gform_confirmation_message {
    color: var(--color-white);
    font-size: 0.9375rem;
    padding: var(--space-sm) 0;
    line-height: 1.6;
}

/* ================================================================
   FAQ SECTIE
================================================================ */
.faq-section {
    background-color: var(--color-bg);
    padding: var(--space-xl) var(--space-md);
}

.faq-inner {
    max-width: 760px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.faq-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: var(--color-slate);
    line-height: 1.2;
    margin-bottom: var(--space-xs);
}

.faq-subtitle {
    font-size: 1rem;
    color: rgba(30, 33, 38, 0.60);
    line-height: 1.6;
}

/* Lijst */
.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item:first-child {
    border-top: 1px solid rgba(30, 33, 38, 0.12);
}

.faq-item {
    border-bottom: 1px solid rgba(30, 33, 38, 0.12);
}

/* Details / summary reset */
.faq-details {
    /* geen standaard marker */
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 0;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question-text {
    font-family: var(--font-label);
    font-size: 0.9375rem;
    letter-spacing: 0.025em;
    color: var(--color-slate);
    line-height: 1.4;
    text-transform: none;
}

/* +/− iconen */
.faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--color-rust);
}

.faq-icon svg {
    position: absolute;
    inset: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.faq-icon-minus {
    opacity: 0;
    transform: rotate(-90deg) scale(0.8);
}

/* Open staat: plus verdwijnt, min verschijnt */
.faq-details[open] .faq-icon-plus {
    opacity: 0;
    transform: rotate(45deg) scale(0.8);
}

.faq-details[open] .faq-icon-minus {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Animeerbare wrapper (max-height gestuurd door faq.js) */
.faq-answer-wrap {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer {
    padding: 0.125rem 0 1.375rem;
    font-size: 0.9375rem;
    color: rgba(30, 33, 38, 0.70);
    line-height: 1.75;
}

/* Hover op de vraag */
.faq-details:not([open]) .faq-question:hover .faq-question-text {
    color: var(--color-rust);
}

@media (max-width: 767px) {
    .faq-section {
        padding: var(--space-lg) var(--space-md);
    }

    .faq-title {
        font-size: 1.75rem;
    }

    .faq-question-text {
        font-size: 0.875rem;
    }
}

/* ================================================================
   WORDPRESS CORE — BEWERKBARE CONTENT
================================================================ */
.entry-content {
    max-width: 1458px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ================================================================
   ANIMATIES
================================================================ */

/* Topbar-slider: elk item is 5s zichtbaar in een cyclus van 20s.          */
/* Negatieve delays zorgen dat de rotatie direct op t=0 begint.            */
@keyframes topbar-show {
    0%   { opacity: 1; }
    20%  { opacity: 1; }
    25%  { opacity: 0; }
    100% { opacity: 0; }
}

/* ================================================================
   RESPONSIVE — breakpoint 768px
================================================================ */
@media (max-width: 767px) {
    /* Topbar: één item tegelijk als auto-roterende slider */
    .topbar-inner {
        position: relative;
        padding: 0;
    }

    .topbar-item {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 var(--space-sm);
        text-align: center;
        white-space: normal;
        opacity: 0;
        animation: topbar-show 20s infinite;
    }

    .topbar-item:nth-child(1) { animation-delay:   0s; }
    .topbar-item:nth-child(2) { animation-delay: -15s; }
    .topbar-item:nth-child(3) { animation-delay: -10s; }
    .topbar-item:nth-child(4) { animation-delay:  -5s; }

    .site-header {
        padding: 0.625rem var(--space-sm);
        background-color: #1e2126;
    }

    /* Toon hamburger, verberg desktop nav */
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        background-color: var(--color-slate);
        z-index: 10000;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-md);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }

    .site-nav a {
        font-size: 1.5rem;
        letter-spacing: 0.12em;
        color: var(--color-white);
    }

    .site-nav .nav-cta {
        font-size: 1.125rem;
        padding: 0.75rem 2rem;
    }

    .hero-inner {
        padding: 7rem var(--space-sm) var(--space-lg);
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        text-align: center;
    }

    .usp-bar .section-inner {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    /* Footer: gestapeld op mobiel */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 0;
        padding: var(--space-md);
    }

    .footer-col--brand {
        margin-bottom: var(--space-md);
    }

    .footer-col--newsletter {
        margin-top: var(--space-md);
        padding-top: var(--space-md);
        border-top: 1px solid rgba(255, 255, 255, 0.10);
    }

    /* Accordion: titel klikbaar */
    .footer-col-title {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.875rem 0;
        margin-bottom: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
        letter-spacing: 0.08em;
    }

    .footer-col-title::after {
        content: '+';
        font-size: 1.25rem;
        font-weight: 300;
        line-height: 1;
        font-family: sans-serif;
        letter-spacing: 0;
        text-transform: none;
        color: rgba(255, 255, 255, 0.50);
        flex-shrink: 0;
    }

    .footer-acc.is-open > .footer-col-title {
        border-bottom-color: transparent;
    }

    .footer-acc.is-open > .footer-col-title::after {
        content: '−';
    }

    .footer-col-links {
        display: none;
    }

    .footer-acc.is-open > .footer-col-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem 0 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    }

    .footer-newsletter-form .gform_fields {
        grid-template-columns: 1fr;
    }

    .footer-newsletter-form .gfield--type-email {
        grid-column: auto;
    }

    .footer-newsletter-form .ginput_container_name {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .hero-inner {
        padding-top: 8rem;
    }

    /* Desktop: links altijd zichtbaar, knop niet klikbaar */
    .footer-col-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-col-title {
        pointer-events: none;
    }
}
