/**
 * Gray Audio — opmaak van de sitekop en het megamenu.
 *
 * Stond als inline <style> in inc/header/templates/header.php; nu een los
 * bestand zodat de browser het kan cachen. Geladen via helpers/assets.php.
 */

/* --------------------------------------------------------------------------
   Design tokens (scoped to header)
   -------------------------------------------------------------------------- */
:root {
    --gh-bg: rgba(255, 255, 255, 0.95);
    --gh-bg-solid: #ffffff;
    --gh-bg-topbar: #f7f7f8;
    --gh-text: #222426;
    --gh-text-secondary: #4a4d52;
    --gh-text-muted: #8c8f94;
    --gh-accent: #18191b;
    --gh-accent-light: #6a6d72;
    --gh-navy: #18191b;
    --gh-yellow: #008cb4;
    --gh-yellow-hi: #00749a;
    --gh-border: rgba(0, 0, 0, 0.06);
    --gh-border-light: rgba(0, 0, 0, 0.1);
    --gh-glass: rgba(0, 0, 0, 0.02);
    --gh-glass-strong: rgba(0, 0, 0, 0.04);
    --gh-font-display: "Figtree", "DM Sans", sans-serif;
    --gh-font-body: "DM Sans", sans-serif;
    --gh-radius: 4px;
    --gh-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --gh-ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --gh-container: 1360px;
}

/* --------------------------------------------------------------------------
   Gray Audio-huisstijl: zwart/antraciet in plaats van blauw voor de gedeelde
   thema- en design-systemtokens. Alleen hier (Gray Audio-header) overschreven,
   zodat de gedeelde bestanden van andere NineWeb-sites ongemoeid blijven.
   :root:root wint ook als de gedeelde stylesheets later in de pagina laden.
   -------------------------------------------------------------------------- */
:root:root {
    --title-color: #18191b;
    --text-color: #18191b;
    --primary-color1: #18191b;
    --primary-color2: #18191b;
    --primary-color3: #18191b;
    --primary-color4: #18191b;
    --secondary-color: #18191b;
    --primary-color1-opc: 24, 25, 27;
    --primary-color2-opc: 24, 25, 27;
    --primary-color3-opc: 24, 25, 27;
    --dc-primary: #18191b;
    --dc-primary-dark: #0e0e0f;
    --dc-primary-rgb: 24, 25, 27;
    --dc-primary-light: #3a3d42;
    --dc-accent: #26282b;
    --dc-accent-rgb: 38, 40, 43;
    --dc-canvas-dark: #0e0e0f;
    --dc-canvas-medium: #18191b;
    --dc-title: #18191b;
}

/* --------------------------------------------------------------------------
   Header wrapper — niet sticky: ligt over de hero en glijdt soepel weg
   zodra er gescrold wordt (.is-hidden). De sticky footer-balk neemt de
   CTA's over zodra de hero voorbij is.
   -------------------------------------------------------------------------- */
.gray-header {
    position: fixed;
    top: var(--wp-admin--admin-bar--height, 0px);
    left: 0;
    right: 0;
    z-index: 9999;
    /* Zwarte scrim onder de topbalk: logo en navigatie blijven leesbaar op elke hero-foto. */
    background: linear-gradient(180deg, rgba(14, 14, 15, 0.72) 0%, rgba(14, 14, 15, 0.38) 60%, rgba(14, 14, 15, 0) 100%);
    border-bottom: 1px solid transparent;
    font-family: var(--gh-font-body);
}

.gray-header *,
.gray-header *::before,
.gray-header *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.gray-header {
    transition: transform 0.6s var(--gh-ease-smooth),
                opacity 0.45s var(--gh-ease),
                visibility 0s linear 0s;
    will-change: transform, opacity;
}

.gray-header.is-hidden {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.6s var(--gh-ease-smooth),
                opacity 0.45s var(--gh-ease),
                visibility 0s linear 0.6s;
}

@media (prefers-reduced-motion: reduce) {
    .gray-header,
    .gray-header.is-hidden {
        transition: opacity 0.2s linear, visibility 0s linear 0.2s;
        transform: none;
    }
}

.gray-header.is-scrolled {
    background: rgba(14, 14, 15, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

/* --------------------------------------------------------------------------
   Witte tekst: transparant over de donkere hero en op de zwarte, gescrolde balk
   -------------------------------------------------------------------------- */
.gray-header .gray-header__nav-link {
    color: #ffffff;
}

.gray-header .gray-header__nav-link:hover,
.gray-header .gray-header__nav-link:focus-visible,
.gray-header .gray-header__nav-link[aria-expanded="true"] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.gray-header .gray-header__nav-link--active {
    color: #ffffff;
}

.gray-header .gray-header__phone-btn {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.15);
}

.gray-header .gray-header__phone-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}

.gray-header .gray-header__phone-btn svg {
    stroke: #ffffff;
}

.gray-header .gray-header__logo-text {
    color: #ffffff;
}

.gray-header .gray-header__usp {
    color: #ffffff;
}

.gray-header .gray-header__usp-icon {
    stroke: rgba(255, 255, 255, 0.5);
}

.gray-header .gray-header__topbar-phone {
    color: rgba(255, 255, 255, 0.8);
}

.gray-header .gray-header__topbar-phone svg {
    stroke: rgba(255, 255, 255, 0.6);
}


.gray-header .gray-header__mobile-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.gray-header .gray-header__mobile-toggle span {
    background: #ffffff;
}

.gray-header.is-scrolled .gray-header__topbar {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    overflow: hidden;
    border-bottom-color: transparent;
}

.gray-header__container {
    max-width: var(--gh-container);
    margin: 0 auto;
    padding: 0 48px;
}

/* --------------------------------------------------------------------------
   Topbar
   -------------------------------------------------------------------------- */
.gray-header__topbar {
    max-height: 44px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #0e0e0f;
    transition: max-height 0.4s var(--gh-ease),
                padding 0.4s var(--gh-ease),
                opacity 0.3s var(--gh-ease),
                border-color 0.3s var(--gh-ease);
    overflow: hidden;
}

.gray-header__topbar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 24px;
}

/* Google-beoordelingen in de bovenbalk. */
.gray-header__reviews {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 28px;
    padding: 0 12px 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: background-color 0.2s var(--gh-ease), border-color 0.2s var(--gh-ease), color 0.2s var(--gh-ease);
}

.gray-header__reviews:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
}

.gray-header__reviews:focus-visible {
    outline: 2px solid var(--gh-yellow);
    outline-offset: 3px;
}

/* Wit rondje achter het G-logo, zoals Google het zelf toont. */
.gray-header__google {
    box-sizing: content-box;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    padding: 3px;
    border-radius: 50%;
    background: #fff;
}

.gray-header__rating {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff;
}

.gray-header__stars {
    display: inline-flex;
    gap: 2px;
}

.gray-header__star {
    position: relative;
    display: block;
    width: 15px;
    height: 15px;
}

.gray-header__star svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.gray-header__star-base {
    fill: rgba(255, 255, 255, 0.2);
}

/* De gele laag wordt per ster afgesneden op het percentage. */
.gray-header__star-fill {
    fill: #fbbc04;
    clip-path: inset(0 calc(100% - var(--fill, 100%)) 0 0);
}

.gray-header__sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.gray-header__count {
    color: inherit;
}

.gray-header__usps {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.gray-header__usp {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gh-text-secondary);
    letter-spacing: 0.02em;
}

.gray-header__usp-icon {
    width: 14px;
    height: 14px;
    stroke: var(--gh-accent);
    fill: none;
    stroke-width: 1.5;
    flex-shrink: 0;
}

.gray-header__usp-divider {
    width: 1px;
    height: 12px;
    background: var(--gh-border-light);
}

.gray-header__topbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 32px;
}

.gray-header__topbar-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gh-text);
    text-decoration: none;
    transition: color 0.3s var(--gh-ease);
    letter-spacing: 0.01em;
}

.gray-header__topbar-phone:hover {
    color: var(--gh-accent);
}

.gray-header__topbar-phone svg {
    width: 13px;
    height: 13px;
    stroke: var(--gh-accent);
    fill: none;
    stroke-width: 1.5;
}

.gray-header__topbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: var(--gh-yellow);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s var(--gh-ease);
}

.gray-header__topbar-cta:hover {
    box-shadow: 0 4px 16px rgba(24, 25, 27, 0.25);
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Main header bar
   -------------------------------------------------------------------------- */
.gray-header__main {
    padding: 16px 0;
    transition: padding 0.4s var(--gh-ease);
}

.is-scrolled .gray-header__main {
    padding: 12px 0;
}

.gray-header__main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* --------------------------------------------------------------------------
   Logo
   -------------------------------------------------------------------------- */
.gray-header__logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
    z-index: 10;
}

/* Lockup: beeldmerk + woordmerk "GRAYAUDIO", wit op de donkere header. */
.gray-header__logo .ga-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
    line-height: 0;
}

.gray-header__logo .ga-logo svg {
    display: block;
    height: 100%;
    width: auto;
}

.gray-header__logo .ga-logo__mark {
    height: 46px;
    width: 46px;
}

.gray-header__logo .ga-logo__word {
    height: 15px;
    /* Woordmerk is 3784 × 264. */
    width: calc(15px * 3784 / 264);
}

.gray-header__logo:focus-visible {
    outline: 2px solid var(--gh-yellow);
    outline-offset: 6px;
    border-radius: 2px;
}

@media (max-width: 640px) {
    .gray-header__main-inner { gap: 12px; }
    .gray-header__logo .ga-logo { gap: 10px; }
    .gray-header__logo .ga-logo__mark { height: 38px; width: 38px; }
    .gray-header__logo .ga-logo__word { height: 10px; width: calc(10px * 3784 / 264); }
}

@media (max-width: 380px) {
    .gray-header__logo .ga-logo { gap: 8px; }
    .gray-header__logo .ga-logo__mark { height: 32px; width: 32px; }
    .gray-header__logo .ga-logo__word { height: 8px; width: calc(8px * 3784 / 264); }
}

.gray-header__logo-text {
    font-family: var(--gh-font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--gh-text);
    letter-spacing: -0.01em;
    line-height: 1;
}

.gray-header__logo-text span {
    color: var(--gh-accent);
}

/* --------------------------------------------------------------------------
   Desktop Navigation
   -------------------------------------------------------------------------- */
.gray-header__nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.gray-header__nav-item {
    position: relative;
}

.gray-header__nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gh-text-secondary);
    text-decoration: none;
    border-radius: var(--gh-radius);
    transition: color 0.3s var(--gh-ease),
                background 0.3s var(--gh-ease);
    position: relative;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.gray-header__nav-link:hover,
.gray-header__nav-link:focus-visible,
.gray-header__nav-link[aria-expanded="true"] {
    color: var(--gh-text);
    background: var(--gh-glass-strong);
}

.gray-header__nav-link:focus-visible {
    outline: 2px solid var(--gh-accent);
    outline-offset: 2px;
}

.gray-header__nav-link--active {
    color: var(--gh-text);
}

.gray-header__nav-link--active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gh-accent);
    border-radius: 1px;
}

.gray-header__nav-chevron {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    transition: transform 0.3s var(--gh-ease);
}

.gray-header__nav-link[aria-expanded="true"] .gray-header__nav-chevron {
    transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   Right-side actions
   -------------------------------------------------------------------------- */
.gray-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.gray-header__phone-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gh-text);
    text-decoration: none;
    border: 1px solid var(--gh-border-light);
    border-radius: var(--gh-radius);
    transition: all 0.3s var(--gh-ease);
    white-space: nowrap;
}

.gray-header__phone-btn:hover {
    border-color: var(--gh-accent);
    color: var(--gh-accent);
}

.gray-header__phone-btn:focus-visible {
    outline: 2px solid var(--gh-accent);
    outline-offset: 2px;
}

.gray-header__phone-btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--gh-accent);
    fill: none;
    stroke-width: 1.5;
}

.gray-header__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--gh-yellow);
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.4s var(--gh-ease);
    white-space: nowrap;
}

.gray-header__cta:hover {
    background: var(--gh-yellow-hi);
    color: #fff;
}

.gray-header__cta:focus-visible {
    outline: 2px solid var(--gh-accent);
    outline-offset: 2px;
}

.gray-header__cta svg {
    width: 14px;
    height: 14px;
    stroke: var(--gh-navy);
    fill: none;
    stroke-width: 2;
    transition: transform 0.3s var(--gh-ease);
}

.gray-header__cta:hover svg {
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   MEGA MENU — Producten
   -------------------------------------------------------------------------- */
.gray-header__megamenu {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 9998;
    background: #ffffff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.10), 0 2px 12px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.35s var(--gh-ease),
                visibility 0.35s var(--gh-ease),
                transform 0.45s var(--gh-ease-smooth);
    pointer-events: none;
}

.gray-header__megamenu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* ── Inner grid: products | products | USPs | image ── */
.gray-header__megamenu-inner {
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 300px 340px;
    min-height: 420px;
}

/* ── Product columns ── */
.gray-header__mega-col {
    padding: 36px 32px 36px 48px;
}

.gray-header__mega-col + .gray-header__mega-col {
    padding-left: 32px;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.gray-header__mega-col-title {
    font-family: var(--gh-font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gh-accent);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gray-header__mega-col-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(24, 25, 27, 0.2) 0%, transparent 100%);
}

/* ── Link list ── */
.gray-header__mega-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gray-header__mega-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    text-decoration: none;
    border-radius: 10px;
    position: relative;
    transition: background 0.3s var(--gh-ease);
}

.gray-header__mega-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 24px;
    border-radius: 2px;
    background: var(--gh-accent);
    transition: transform 0.3s var(--gh-ease-smooth);
}

.gray-header__mega-link:hover {
    background: rgba(24, 25, 27, 0.03);
}

.gray-header__mega-link:hover::before {
    transform: translateY(-50%) scaleY(1);
}

.gray-header__mega-link:focus-visible {
    outline: 2px solid var(--gh-accent);
    outline-offset: -2px;
}

/* ── Icon box ── */
.gray-header__mega-link-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f7f7f8;
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.35s var(--gh-ease-smooth);
}

.gray-header__mega-link:hover .gray-header__mega-link-icon {
    background: #fff;
    border-color: rgba(24, 25, 27, 0.15);
    box-shadow: 0 4px 16px rgba(24, 25, 27, 0.10);
}

/* ── Inline SVGs ── */
.gray-header__mega-link-icon svg,
.gray-header__mega-usp-icon svg,
.gray-header__mega-cta-arrow svg,
.gray-header__mega-close svg {
    display: block;
    overflow: visible;
}

.gray-header__mega-link-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.gray-header__mega-link-name {
    font-family: var(--gh-font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--gh-text);
    transition: color 0.25s var(--gh-ease);
}

.gray-header__mega-link:hover .gray-header__mega-link-name {
    color: var(--gh-accent);
}

.gray-header__mega-link-desc {
    font-size: 12px;
    color: var(--gh-text-muted);
    line-height: 1.4;
}

/* ── USP + CTA sidebar ── */
.gray-header__mega-sidebar {
    padding: 36px 28px;
    background: #fafafa;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gray-header__mega-usps {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.gray-header__mega-usp {
    display: flex;
    gap: 12px;
    align-items: center;
}

.gray-header__mega-usp-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gray-header__mega-usp-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--gh-text);
    line-height: 1.3;
}

.gray-header__mega-usp-text {
    font-size: 11px;
    color: var(--gh-text-muted);
    line-height: 1.4;
}

/* ── CTA button ── */
.gray-header__mega-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
    padding: 14px 24px;
    background: var(--gh-yellow);
    color: #fff;
    font-family: var(--gh-font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--gh-ease);
}

.gray-header__mega-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s var(--gh-ease);
}

.gray-header__mega-cta:hover::before {
    opacity: 1;
}

.gray-header__mega-cta:hover {
    box-shadow: 0 8px 24px rgba(24, 25, 27, 0.30);
    transform: translateY(-1px);
}

.gray-header__mega-cta-arrow {
    display: flex;
    transition: transform 0.3s var(--gh-ease);
}

.gray-header__mega-cta:hover .gray-header__mega-cta-arrow {
    transform: translateX(4px);
}

/* ── Hero image panel ── */
.gray-header__mega-hero {
    position: relative;
    overflow: hidden;
}

.gray-header__mega-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gray-header__mega-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 29, 33, 0.85) 0%,
        rgba(26, 29, 33, 0.3) 50%,
        transparent 100%
    );
}

.gray-header__mega-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px;
    color: #ffffff;
}

.gray-header__mega-hero-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.gray-header__mega-hero-title {
    font-family: var(--gh-font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 14px;
    color: #ffffff;
}

.gray-header__mega-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    transition: all 0.3s var(--gh-ease);
}

.gray-header__mega-hero-link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ── Close button ── */
.gray-header__mega-close {
    position: absolute;
    top: 14px;
    right: 356px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s var(--gh-ease);
}

.gray-header__mega-close:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

/* ── Mega menu overlay ── */
.gray-header__mega-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: opacity 0.35s var(--gh-ease), visibility 0.35s var(--gh-ease);
}

.gray-header__mega-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* --------------------------------------------------------------------------
   Mobile toggle
   -------------------------------------------------------------------------- */
.gray-header__mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--gh-glass);
    border: 1px solid var(--gh-border);
    border-radius: var(--gh-radius);
    cursor: pointer;
    transition: all 0.3s var(--gh-ease);
}

.gray-header__mobile-toggle:hover {
    background: var(--gh-glass-strong);
    border-color: var(--gh-border-light);
}

.gray-header__mobile-toggle:focus-visible {
    outline: 2px solid var(--gh-accent);
    outline-offset: 2px;
}

.gray-header__mobile-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--gh-text);
    /* Dark lines on light bg */
    border-radius: 1px;
    transition: all 0.3s var(--gh-ease);
    transform-origin: center;
}

.gray-header__mobile-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(4.5px, 4.5px);
}

.gray-header__mobile-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.gray-header__mobile-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* --------------------------------------------------------------------------
   Mobile menu
   -------------------------------------------------------------------------- */
.gray-header__mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--gh-ease), visibility 0.3s var(--gh-ease);
}

.gray-header__mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.gray-header__mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 380px;
    max-width: 90vw;
    background: #ffffff;
    border-left: 1px solid var(--gh-border);
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.4s var(--gh-ease-smooth);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gray-header__mobile-menu.is-open {
    transform: translateX(0);
}

.gray-header__mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gh-border);
}

.gray-header__mobile-logo {
    font-family: var(--gh-font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--gh-text);
    text-decoration: none;
}

.gray-header__mobile-logo .ga-logo {
    display: block;
    color: var(--gh-navy);
    line-height: 0;
}

.gray-header__mobile-logo .ga-logo__word svg {
    display: block;
    height: 12px;
    width: auto;
}

.gray-header__mobile-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gh-glass);
    border: 1px solid var(--gh-border);
    border-radius: 50%;
    cursor: pointer;
    color: var(--gh-text-secondary);
    transition: all 0.3s var(--gh-ease);
}

.gray-header__mobile-close:hover {
    color: var(--gh-text);
    background: var(--gh-glass-strong);
}

.gray-header__mobile-close svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Mobiele navigatie: de lijst scrolt, kop en footer blijven staan. */
.gray-header__mobile-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px 24px 24px;
}

.gray-header__mobile-item {
    border-bottom: 1px solid var(--gh-border-light);
}

.gray-header__mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 64px;
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--gh-font-display);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--gh-text);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s var(--gh-ease);
}

@media (hover: hover) {
    .gray-header__mobile-link:hover {
        color: var(--gh-yellow-hi);
    }
}

.gray-header__mobile-link:active {
    color: var(--gh-yellow-hi);
}

.gray-header__mobile-link:focus-visible,
.gray-header__mobile-sublink:focus-visible,
.gray-header__mobile-all:focus-visible,
.gray-header__mobile-cta:focus-visible,
.gray-header__mobile-contact-link:focus-visible {
    outline: 2px solid var(--gh-yellow);
    outline-offset: 2px;
    border-radius: 6px;
}

/* Actieve pagina: blauwe stip voor de naam. */
.gray-header__mobile-link.is-current > span,
.gray-header__mobile-item.is-current > .gray-header__mobile-link > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.gray-header__mobile-link.is-current > span::before,
.gray-header__mobile-item.is-current > .gray-header__mobile-link > span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gh-yellow);
}

.gray-header__mobile-arrow,
.gray-header__mobile-chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    stroke: var(--gh-text-muted);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s var(--gh-ease-smooth), stroke 0.2s var(--gh-ease);
}

.gray-header__mobile-link:hover .gray-header__mobile-arrow {
    stroke: var(--gh-yellow-hi);
    transform: translateX(3px);
}

.gray-header__mobile-item.is-open > .gray-header__mobile-link .gray-header__mobile-chevron {
    transform: rotate(180deg);
    stroke: var(--gh-yellow-hi);
}

/* Submenu klapt soepel open, ongeacht het aantal links. */
.gray-header__mobile-sub {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s var(--gh-ease-smooth);
}

.gray-header__mobile-item.is-open .gray-header__mobile-sub {
    grid-template-rows: 1fr;
}

.gray-header__mobile-sub-inner {
    min-height: 0;
    overflow: hidden;
}

.gray-header__mobile-item.is-open .gray-header__mobile-sub-inner {
    padding-bottom: 16px;
}

.gray-header__mobile-group-wrap + .gray-header__mobile-group-wrap {
    margin-top: 12px;
}

.gray-header__mobile-group {
    display: block;
    padding: 4px 0 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gh-yellow-hi);
}

.gray-header__mobile-sublink {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 48px;
    padding: 4px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--gh-text-secondary);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s var(--gh-ease);
}

.gray-header__mobile-subicon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f1f1f2;
    color: var(--gh-navy);
    transition: background-color 0.2s var(--gh-ease), color 0.2s var(--gh-ease);
}

.gray-header__mobile-subicon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.gray-header__mobile-sublink:hover,
.gray-header__mobile-sublink:active {
    color: var(--gh-text);
}

.gray-header__mobile-sublink:hover .gray-header__mobile-subicon,
.gray-header__mobile-sublink:active .gray-header__mobile-subicon {
    background: var(--gh-navy);
    color: #fff;
}

.gray-header__mobile-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gh-yellow-hi);
    text-decoration: none;
}

.gray-header__mobile-all .gray-header__mobile-arrow {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.gray-header__mega-link-icon svg {
    color: #18191b;
}

/* Mobiele footer: vast onderaan, met ruimte voor de iPhone-balk. */
.gray-header__mobile-footer {
    flex-shrink: 0;
    display: grid;
    gap: 12px;
    padding: 16px 24px calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--gh-border-light);
    background: #f7f7f8;
}

.gray-header__mobile-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    padding: 6px 6px 6px 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--gh-yellow);
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.2s var(--gh-ease);
}

.gray-header__mobile-cta:hover,
.gray-header__mobile-cta:active {
    background: var(--gh-yellow-hi);
}

.gray-header__mobile-cta-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gh-navy);
}

.gray-header__mobile-cta-icon svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
}

.gray-header__mobile-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.gray-header__mobile-contact-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--gh-border-light);
    border-radius: 12px;
    background: #fff;
    color: var(--gh-text);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.2s var(--gh-ease);
}

.gray-header__mobile-contact-link:hover,
.gray-header__mobile-contact-link:active {
    border-color: var(--gh-navy);
}

.gray-header__mobile-contact-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 140, 180, 0.1);
}

.gray-header__mobile-contact-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--gh-yellow-hi);
    fill: none;
    stroke-width: 1.75;
}

.gray-header__mobile-contact-text {
    display: grid;
    min-width: 0;
    width: 100%;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gray-header__mobile-contact-text small {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gh-text-muted);
}

.gray-header__mobile-address {
    margin: 0;
    font-size: 12px;
    text-align: center;
    color: var(--gh-text-muted);
}

/* Items schuiven rustig in bij het openen. */
.gray-header__mobile-menu .gray-header__mobile-item,
.gray-header__mobile-menu .gray-header__mobile-footer > * {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s var(--gh-ease), transform 0.5s var(--gh-ease-smooth);
}

.gray-header__mobile-menu.is-open .gray-header__mobile-item,
.gray-header__mobile-menu.is-open .gray-header__mobile-footer > * {
    opacity: 1;
    transform: none;
}

.gray-header__mobile-menu.is-open .gray-header__mobile-item:nth-child(1) { transition-delay: 0.08s; }
.gray-header__mobile-menu.is-open .gray-header__mobile-item:nth-child(2) { transition-delay: 0.12s; }
.gray-header__mobile-menu.is-open .gray-header__mobile-item:nth-child(3) { transition-delay: 0.16s; }
.gray-header__mobile-menu.is-open .gray-header__mobile-item:nth-child(4) { transition-delay: 0.20s; }
.gray-header__mobile-menu.is-open .gray-header__mobile-footer > * { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    .gray-header__mobile-menu,
    .gray-header__mobile-sub,
    .gray-header__mobile-menu .gray-header__mobile-item,
    .gray-header__mobile-menu .gray-header__mobile-footer > * {
        transition: none;
    }
}

/* Smalle toestellen (iPhone SE): contact onder elkaar. */
@media (max-width: 359px) {
    .gray-header__mobile-contact {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Responsive — Tablet
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .gray-header__container {
        padding: 0 24px;
    }

    .gray-header__nav,
    .gray-header__phone-btn {
        display: none;
    }

    .gray-header__mobile-toggle {
        display: flex;
    }

    .gray-header__megamenu {
        display: none;
    }

    .gray-header__mega-overlay {
        display: none;
    }

    .gray-header__topbar-actions .gray-header__topbar-cta {
        display: none;
    }

    /* Op tablet passen de USP's niet op één regel; telefoon blijft staan. */
    .gray-header__usps {
        display: none;
    }

    .gray-header__topbar-inner {
        justify-content: flex-end;
    }
}

/* --------------------------------------------------------------------------
   Responsive — Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
    .gray-header__usps {
        display: none;
    }

    .gray-header__topbar-inner {
        justify-content: flex-end;
    }

    .gray-header__cta span {
        display: none;
    }

    .gray-header__cta {
        padding: 10px 14px;
        font-size: 0;
    }

    .gray-header__cta svg {
        width: 18px;
        height: 18px;
    }

    .gray-header__mobile-menu {
        width: 100%;
        max-width: 100vw;
    }
}

/* --------------------------------------------------------------------------
   Aanraakdoelen op mobiel: minimaal 44 × 44 px
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
    .gray-header__topbar {
        max-height: 52px;
        padding: 4px 0;
    }

    .gray-header__topbar-phone {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .gray-header__topbar .gray-header__topbar-inner {
        justify-content: center;
    }

    .gray-header__reviews {
        min-height: 44px;
    }

    .gray-header__logo {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        min-width: 44px;
    }

    .gray-header__cta {
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   Accessibility — reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .gray-header,
    .gray-header *,
    .gray-header *::before,
    .gray-header *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* Stond als style="margin-left:auto" op de <nav>: duwt de hoofdnavigatie naar rechts. */
.gray-header .gray-header__nav-wrap {
    margin-left: auto;
}
