/* ═══════════════════════════════════════════════════════════════
   Sigmify — global.css
   Samengevoegd uit base.css + components.css + header.css + footer.css
   (performance: minder render-blocking requests op elke pagina)
   ═══════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
  --color-bg: #F5F4F0;
  --color-text: #0D0D0D;
  --color-accent: #0197AF;
  --color-dark: #1A1A2E;
  --color-white: #ffffff;
  --color-border: rgba(13,13,13,0.12);
  --color-accent-hover: #017d90;
  --color-text-muted: #555555;
  --color-muted-on-light: rgba(13,13,13,0.6);
  --color-muted-on-dark: rgba(245,244,240,0.6);

  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);

  --container-max: 1280px;
  --container-pad: clamp(1.25rem, 5vw, 3.5rem);

  --section-pad-y: clamp(4rem, 8vw, 7rem);

  --header-h: 140px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { max-width: 68ch; }

/* ─── Container ─── */
.container {
    width: 100%;
    max-width: calc(var(--container-max) + var(--container-pad) * 2);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

/* ─── Section spacing ─── */
.section { padding-block: var(--section-pad-y); }
.section--dark {
    background-color: var(--color-dark);
    color: var(--color-white);
}
.section--dark p { color: rgba(245,244,240,0.75); }

/* ─── Section label ─── */
.section__label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

/* ─── Utility ─── */
.text-center { text-align: center; }
.text-center p { margin-inline: auto; }
.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ─── Scroll-animation base states ─── */
[data-fade] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
[data-fade].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Page transition overlay ─── */
.page-transition {
    position: fixed;
    inset: 0;
    background: var(--color-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}
.page-transition.is-active {
    opacity: 1;
    visibility: visible;
}

/* ═══════════════════════════════════════════════════════════════
   components.css
   ═══════════════════════════════════════════════════════════════ */

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    transition: background 0.2s var(--ease-out), color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
    cursor: pointer;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.btn--accent {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}
.btn--accent:hover {
    background: var(--color-accent-hover);
    box-shadow: 0 4px 16px rgba(1,151,175,0.3);
}

.btn--dark {
    background: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
}
.btn--dark:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

.btn--outline {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-text);
}
.btn--outline:hover { background: var(--color-text); color: var(--color-bg); }

.btn--outline-light {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255,255,255,0.4);
}
.btn--outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--color-white); }

.btn--sm { padding: 0.5rem 1.25rem; font-size: 0.75rem; }
.btn--lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ─── Cards ─── */
.card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(13,13,13,0.08);
}

.card__image { aspect-ratio: 16/10; overflow: hidden; }
.card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.card:hover .card__image img { transform: scale(1.04); }

.card__body { padding: 1.5rem; }
.card__label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}
.card__title { font-size: 1.25rem; margin-bottom: 0.75rem; }
.card__text { font-size: 0.9rem; color: rgba(13,13,13,0.7); }

/* Service card — split kleur design */
.service-card {
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.service-card-top {
    background: var(--color-dark);
    padding: 1.5rem;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
    transition: background 0.3s ease;
}
.service-card:hover .service-card-top {
    background: var(--color-accent);
}
.service-card-top svg {
    color: var(--color-accent);
    width: 32px;
    height: 32px;
    transition: color 0.3s ease;
}
.service-card:hover .service-card-top svg {
    color: var(--color-white);
}
.service-card-bottom {
    background: var(--color-bg);
    padding: 1.8rem;
}
.service-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}
.service-card-text {
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    max-width: none;
}

/* ─── FAQ Accordion ─── */
.faq { width: 100%; }
.faq__item {
    border-bottom: 1px solid var(--color-border);
}
.faq__question {
    width: 100%;
    text-align: left;
    padding: 1.25rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}
.faq__question:hover { color: var(--color-accent); }
.faq__question[aria-expanded="true"] { color: var(--color-accent); }

.faq__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
    border: 1.5px solid currentColor;
    border-radius: 50%;
}
.faq__icon::before, .faq__icon::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 8px; height: 1.5px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__question[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }

.faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s var(--ease-out);
}
.faq__answer.is-open { grid-template-rows: 1fr; }
.faq__answer-inner {
    overflow: hidden;
}
.faq__answer-inner p {
    padding-bottom: 1.25rem;
    font-size: 0.9rem;
    color: rgba(13,13,13,0.7);
    max-width: 70ch;
}

/* Dark variant */
.section--dark .faq__item { border-bottom-color: rgba(245,244,240,0.12); }
.section--dark .faq__answer-inner p { color: rgba(245,244,240,0.65); }

/* ─── FAQ section wrapper ─── */
.faq-section__inner {
    max-width: 760px;
    margin-inline: auto;
}

/* ─── Section header ─── */
.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header--center { text-align: center; }
.section-header--center p { margin-inline: auto; }

/* ─── Divider ─── */
.divider {
    width: 48px;
    height: 3px;
    background: var(--color-accent);
    margin-top: 1rem;
}
.section-header--center .divider { margin-inline: auto; }

/* ─── Badge ─── */
.badge {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    background: rgba(1,151,175,0.1);
    color: var(--color-accent);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ─── Page Hero (shared across inner pages) ─── */
.page-hero {
    padding-top: calc(var(--header-h) + 4rem);
    padding-bottom: 4rem;
    min-height: 42vh;
    display: flex;
    align-items: flex-end;
}
.page-hero__title { color: var(--color-white); margin-bottom: 0.75rem; }
.page-hero__subtitle { color: rgba(245,244,240,0.65); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 56ch; }

@media (max-width: 768px) {
    .page-hero { min-height: auto; padding-bottom: 3rem; }
}

/* ─── Pricing table cells ─── */
.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(1,151,175,0.12);
    border-radius: 50%;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* ─── Marquee ─── */
.marquee {
    --gap: clamp(16px, 2.2vw, 36px);
    --duration: 24s;
    --marquee-distance: -1000px;
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-block: 10px;
    background: var(--color-dark);
}

.marquee::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: clamp(56px, 10vw, 180px);
    background: linear-gradient(to right, var(--color-dark), transparent);
    z-index: 2;
    pointer-events: none;
}

.marquee::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: clamp(56px, 10vw, 180px);
    background: linear-gradient(to left, var(--color-dark), transparent);
    z-index: 2;
    pointer-events: none;
}

.marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: sigMarquee var(--duration) linear infinite;
}

.marquee-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: nowrap;
    gap: var(--gap);
    padding-right: var(--gap);
    white-space: nowrap;
}

.marquee-word {
    display: inline-block;
    white-space: nowrap;
    color: rgba(242, 239, 234, 0.72);
    font-family: var(--font-heading, 'Oswald', sans-serif);
    font-size: clamp(0.72rem, 0.8vw, 0.9rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.marquee-dot {
    color: var(--color-accent);
    font-size: 0.85rem;
    line-height: 1;
    opacity: 0.8;
}

@keyframes sigMarquee {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(var(--marquee-distance), 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════
   header.css
   ═══════════════════════════════════════════════════════════════ */

/* ─── Site Header ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), backdrop-filter 0.35s var(--ease-out);
}

.site-header.is-scrolled {
    background: rgba(245, 244, 240, 0.7);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: 0 1px 0 var(--color-border);
}

.header__inner {
    padding-block: 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-width: 0;
}

.header__actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header__logo {
    flex-shrink: 0;
    color: var(--color-text);
    display: flex;
    align-items: center;
    min-width: 0;
}
.header__logo-svg {
    display: block;
    height: 60px;
    width: auto;
    max-width: 100%;
}

/* On dark hero, logo + nav + hamburger are light */
.site-header.is-hero .header__logo { color: var(--color-white); }
.site-header.is-hero.is-scrolled .header__logo { color: var(--color-text); }
.site-header.is-hero .header__hamburger { color: var(--color-white); }
.site-header.is-hero.is-scrolled .header__hamburger { color: var(--color-text); }

/* ─── Desktop Nav ─── */
.header__nav {
    justify-self: center;
}

.header__nav-list {
    display: flex;
    gap: 2rem;
}

.header__nav-list a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--color-text);
    position: relative;
    transition: color 0.2s;
}
.header__nav-list a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.25s var(--ease-out);
}
.header__nav-list a:hover::after,
.header__nav-list a.is-active::after { width: 100%; }

.site-header.is-hero .header__nav-list a { color: rgba(245,244,240,0.85); }
.site-header.is-hero.is-scrolled .header__nav-list a { color: var(--color-text); }

/* ─── Hamburger ─── */
.header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
}
.header__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: transform 0.3s var(--ease-out), opacity 0.3s, background-color 0.2s;
}
.header__hamburger:hover { color: var(--color-accent); }
.site-header.is-hero .header__hamburger:hover { color: var(--color-accent); }
.site-header.is-hero.is-scrolled .header__hamburger:hover { color: var(--color-accent); }
.header__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile Menu ─── */
.mobile-menu {
    position: fixed;
    inset: 0;
    top: var(--header-h);
    background: var(--color-bg);
    z-index: 999;
    padding: 2rem var(--container-pad);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
}
.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.mobile-menu__list li {
    border-bottom: 1px solid var(--color-border);
}
.mobile-menu__list a {
    display: block;
    padding: 1.25rem 0;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s;
}
.mobile-menu__list a:hover { color: var(--color-accent); }
.mobile-menu__list .btn--full { width: 100%; margin-top: 2rem; justify-content: center; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .header__nav { display: none; }
    .header__cta { display: none; }
    .header__hamburger { display: flex; }
    .header__actions { grid-column: 3; }
    .header__logo-svg { height: 44px; }

    .site-header.is-scrolled {
        background: var(--color-bg);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* ═══════════════════════════════════════════════════════════════
   footer.css
   ═══════════════════════════════════════════════════════════════ */

/* ─── Site Footer ─── */
.site-footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding-top: clamp(3rem, 6vw, 5rem);
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(245,244,240,0.1);
}

.footer__logo { display: inline-flex; margin-bottom: 0.75rem; }
.footer__logo svg {
    display: block;
    height: 44px;
    width: auto;
    max-width: 100%;
}
.footer__tagline {
    font-size: 0.9rem;
    color: rgba(245,244,240,0.55);
    max-width: none;
}

.footer__nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer__nav a {
    font-size: 0.9rem;
    color: rgba(245,244,240,0.7);
    transition: color 0.2s;
}
.footer__nav a:hover { color: var(--color-accent); }

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer__contact a {
    font-size: 0.9rem;
    color: rgba(245,244,240,0.7);
    transition: color 0.2s;
}
.footer__contact a:hover { color: var(--color-accent); }

.footer__bottom {
    padding-block: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.footer__bottom p {
    font-size: 0.8rem;
    color: var(--color-muted-on-dark);
    max-width: none;
}
.footer__legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer__legal a {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(245,244,240,0.7);
    transition: color 0.2s;
}
.footer__legal a:hover { color: var(--color-accent); }

.footer__kvk,
.footer__iban {
    font-size: 0.9rem;
    color: rgba(245,244,240,0.5);
}

/* ─── WhatsApp widget ─── */
.whatsapp-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 999;
}

.whatsapp-btn {
    width: 56px;
    height: 56px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(1,151,175,0.4);
    flex-shrink: 0;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(1,151,175,0.5);
}

.whatsapp-tooltip {
    background: var(--color-dark);
    color: var(--color-bg);
    font-family: var(--font-body);
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.whatsapp-tooltip::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--color-dark);
    border-right-width: 0;
}
.whatsapp-widget:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ─── Cookie banner ─── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 950;
    background: var(--color-dark);
    color: var(--color-white);
    padding: 1rem var(--container-pad);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out);
}
.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner__inner {
    max-width: var(--container-max);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.cookie-banner__text {
    font-size: 0.875rem;
    color: rgba(245,244,240,0.8);
    max-width: none;
}
.cookie-banner__text a { color: var(--color-accent); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .whatsapp-widget {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 48px;
        height: 48px;
    }
}
