/**
 * Appelman Haarden — header (subheader, hoofdnavigatie, mega menu, mobiel menu).
 * Hoort bij inc/header/templates/header.php.
 */

    :root {
        --ah-hdr-dark: #0d0d0d;
        --ah-hdr-darker: #0a0908;
        --ah-hdr-surface: #141210;
        --ah-hdr-accent: #c8956c;
        --ah-hdr-accent-light: #d4a574;
        --ah-hdr-text: #f5f0eb;
        --ah-hdr-muted: rgba(245,240,235,0.55);
        --ah-hdr-border: rgba(200,149,108,0.1);
        --ah-hdr-glow: rgba(200,149,108,0.15);
    }

    /* ==========================================
       SUBHEADER / TOPBAR — statisch, licht thema
    ========================================== */
    .ah-topbar {
        background: transparent;
        border-bottom: none;
        font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
        font-size: 12px;
        line-height: 1;
        position: relative;
        z-index: 10001;
    }

    .ah-topbar__inner {
        max-width: 1360px;
        margin: 0 auto;
        padding: 0 48px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: 40px;
        gap: 24px;
    }

    .ah-topbar__left {
        display: flex;
        align-items: center;
        gap: 24px;
    }

    .ah-topbar__item {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 11.5px;
        letter-spacing: 0.3px;
        color: #3d342d;
        white-space: nowrap;
    }

    .ah-topbar__item svg {
        width: 13px;
        height: 13px;
        color: #b8845c;
        flex-shrink: 0;
    }

    .ah-topbar__sep {
        width: 1px;
        height: 14px;
        background: rgba(44,36,32,0.1);
    }

    .ah-topbar__center {
        font-size: 11px;
        letter-spacing: 0.5px;
        color: #b8845c;
        font-weight: 500;
        text-align: center;
        white-space: nowrap;
    }

    .ah-topbar__right {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .ah-topbar__phone {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 6px 16px;
        font-family: system-ui, -apple-system, sans-serif;
        font-size: 12px;
        font-weight: 600;
        color: #2c2420;
        text-decoration: none;
        letter-spacing: 0.3px;
        transition: color 0.3s ease;
    }

    .ah-topbar__phone svg {
        width: 12px;
        height: 12px;
        color: #b8845c;
    }

    .ah-topbar__phone:hover {
        color: #b8845c;
    }


    /* ==========================================
       MAIN HEADER
    ========================================== */
    .ah-header {
        position: absolute;
        top: 40px;
        left: 0;
        right: 0;
        z-index: 10000;
        transition: background 0.4s ease, box-shadow 0.4s ease;
    }

    .ah-header--scrolled {
        position: fixed;
        top: 0;
    }

    .ah-header--transparent .ah-header__main {
        background: transparent;
    }

    .ah-header--scrolled .ah-header__main {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        box-shadow: 0 4px 30px rgba(44, 36, 32, 0.06);
    }

    .ah-header--scrolled .ah-nav__link {
        color: #2c2420;
    }

    .ah-header--scrolled .ah-nav__link:hover,
    .ah-header--scrolled .ah-nav__item--active .ah-nav__link {
        color: #b8845c;
    }

    .ah-header--scrolled .ah-header__logo-name {
        color: #2c2420;
    }

    .ah-header--scrolled .ah-header__burger {
        color: #2c2420;
    }

    .ah-header--scrolled .ah-header__burger-flame {
        fill: #b8845c;
    }

    .ah-header--scrolled .ah-header__cta-secondary {
        color: #2c2420;
        border-color: rgba(44,36,32,0.15);
    }

    .ah-header--scrolled .ah-header__cta-secondary:hover {
        color: #b8845c;
        border-color: rgba(184,132,92,0.3);
        background: rgba(184,132,92,0.04);
    }

    .ah-header--scrolled .ah-header__cta-primary {
        background: #b8845c;
        border-color: #b8845c;
        color: #fff;
    }

    .ah-header--scrolled .ah-header__cta-primary:hover {
        background: transparent;
        color: #b8845c;
    }

    .ah-header__main {
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }

    .ah-header__container {
        max-width: 1360px;
        margin: 0 auto;
        padding: 0 48px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 80px;
        gap: 40px;
    }

    /* ── Logo ── */
    .ah-header__logo {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        text-decoration: none;
        gap: 14px;
    }

    .ah-header__logo-img {
        height: 42px;
        width: auto;
        display: block;
    }

    .ah-header__logo-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .ah-header__logo-name {
        font-family: Georgia, 'Times New Roman', serif;
        font-size: 17px;
        font-weight: 400;
        color: var(--ah-hdr-text);
        line-height: 1.1;
        letter-spacing: 0.3px;
    }

    .ah-header__logo-tagline {
        font-family: system-ui, -apple-system, sans-serif;
        font-size: 9.5px;
        font-weight: 500;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--ah-hdr-accent);
        line-height: 1;
    }

    /* ── Navigation ── */
    .ah-nav {
        display: flex;
        align-items: center;
        flex: 1;
        justify-content: center;
    }

    .ah-nav__list {
        display: flex;
        align-items: center;
        gap: 4px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .ah-nav__item {
        position: relative;
    }

    .ah-nav__link {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 10px 16px 18px;
        font-family: system-ui, -apple-system, sans-serif;
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 0.3px;
        color: var(--ah-hdr-text);
        text-decoration: none;
        transition: color 0.3s ease;
        white-space: nowrap;
        position: relative;
    }

    .ah-nav__link::after {
        content: '';
        position: absolute;
        bottom: 4px;
        left: 16px;
        right: 16px;
        height: 1px;
        background: var(--ah-hdr-accent);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .ah-nav__link:hover::after,
    .ah-nav__item--active .ah-nav__link::after {
        transform: scaleX(1);
        transform-origin: left;
    }

    .ah-nav__link:hover,
    .ah-nav__item--active .ah-nav__link {
        color: var(--ah-hdr-accent);
    }

    .ah-nav__link-chevron {
        width: 10px;
        height: 10px;
        opacity: 0.5;
        transition: all 0.3s ease;
    }

    .ah-nav__item:hover .ah-nav__link-chevron {
        opacity: 1;
        transform: rotate(180deg);
    }

    /* ── Header Actions (CTAs) ── */
    .ah-header__actions {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
    }

    .ah-header__cta-secondary {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 10px 22px;
        font-family: system-ui, -apple-system, sans-serif;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-decoration: none;
        color: rgba(255,255,255,0.85);
        border: 1px solid rgba(255,255,255,0.18);
        border-radius: 100px;
        background: transparent;
        transition: all 0.35s ease;
        white-space: nowrap;
    }

    .ah-header__cta-secondary svg {
        width: 13px;
        height: 13px;
    }

    .ah-header__cta-secondary:hover {
        border-color: rgba(255,255,255,0.4);
        background: rgba(255,255,255,0.08);
        transform: translateY(-1px);
    }

    .ah-header__cta-primary {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 10px 24px;
        font-family: system-ui, -apple-system, sans-serif;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-decoration: none;
        color: #fff;
        background: #b8845c;
        border: 1px solid #b8845c;
        border-radius: 100px;
        transition: all 0.35s ease;
        white-space: nowrap;
    }

    .ah-header__cta-primary:hover {
        background: transparent;
        color: #b8845c;
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(184,132,92,0.2);
    }

    .ah-header__cta-primary svg {
        width: 13px;
        height: 13px;
    }

    /* ==========================================
       MEGA MENU
    ========================================== */
    .ah-nav__item {
        position: relative;
    }

    .ah-mega {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        padding-top: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s ease;
        z-index: 10002;
    }

    .ah-nav__item:hover > .ah-mega {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .ah-mega--haarden {
        width: 1020px;
        /* left wordt via JS berekend voor viewport-centrering */
    }

    .ah-mega--service {
        width: 280px;
    }

    .ah-mega--inspiratie {
        width: 260px;
    }

    .ah-mega__panel {
        background: #fff;
        border: 1px solid rgba(44,36,32,0.06);
        border-radius: 16px;
        box-shadow: 0 20px 60px rgba(44,36,32,0.1), 0 0 0 1px rgba(44,36,32,0.03);
        overflow: hidden;
        position: relative;
    }

    /* ── Haarden Mega: 4 columns ── */
    .ah-mega__grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1.2fr 0.9fr;
        gap: 0;
    }

    .ah-mega__col {
        padding: 28px 24px;
        border-right: 1px solid rgba(44,36,32,0.05);
    }

    .ah-mega__col:last-child { border-right: none; }

    .ah-mega__col-title {
        font-family: system-ui, -apple-system, sans-serif;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: #b8845c;
        margin: 0 0 18px;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(44,36,32,0.06);
    }

    .ah-mega__links {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .ah-mega__link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        font-family: system-ui, -apple-system, sans-serif;
        font-size: 13.5px;
        font-weight: 450;
        color: #3d342d;
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.25s ease;
    }

    .ah-mega__link-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        color: #b8845c;
        opacity: 0.6;
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .ah-mega__link:hover .ah-mega__link-icon {
        opacity: 1;
        transform: scale(1.1);
    }

    .ah-mega__link:hover {
        color: #b8845c;
        background: rgba(184,132,92,0.06);
    }

    /* ── Mega: SEO content col ── */
    .ah-mega__seo {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background: #faf8f5;
    }

    .ah-mega__seo-text {
        font-family: system-ui, -apple-system, sans-serif;
        font-size: 13px;
        line-height: 1.7;
        color: #8a7d72;
    }

    .ah-mega__seo-cta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 16px;
        padding: 10px 18px;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
        text-decoration: none;
        color: #fff;
        background: #b8845c;
        border-radius: 100px;
        transition: all 0.3s ease;
    }

    .ah-mega__seo-cta:hover {
        background: #a3734d;
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(184,132,92,0.25);
    }

    .ah-mega__seo-cta svg { width: 13px; height: 13px; }

    /* ── Mega: Visual/CTA col ── */
    .ah-mega__visual {
        padding: 0;
        position: relative;
        overflow: hidden;
    }

    .ah-mega__visual-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.6s ease;
    }

    .ah-mega__visual:hover .ah-mega__visual-img {
        transform: scale(1.05);
    }

    .ah-mega__visual-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 30%, rgba(44,36,32,0.75) 100%);
        display: flex;
        align-items: flex-end;
        padding: 20px;
    }

    .ah-mega__visual-cta {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: #fff;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: gap 0.3s ease;
    }

    .ah-mega__visual-cta:hover { gap: 12px; }
    .ah-mega__visual-cta svg { width: 13px; height: 13px; }

    /* ── Simple dropdown (Service / Inspiratie) ── */
    .ah-mega__simple {
        padding: 16px 0;
    }

    .ah-mega__simple-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .ah-mega__simple-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 24px;
        font-family: system-ui, -apple-system, sans-serif;
        font-size: 13.5px;
        font-weight: 450;
        color: #3d342d;
        text-decoration: none;
        transition: all 0.25s ease;
    }

    .ah-mega__simple-link .ah-mega__link-icon {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        color: #b8845c;
        opacity: 0.6;
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .ah-mega__simple-link:hover .ah-mega__link-icon {
        opacity: 1;
        transform: scale(1.1);
    }

    .ah-mega__simple-link:hover {
        color: #b8845c;
        background: rgba(184,132,92,0.04);
    }

    .ah-mega__simple-footer {
        padding: 14px 24px 10px;
        border-top: 1px solid rgba(44,36,32,0.06);
        margin-top: 6px;
    }

    .ah-mega__simple-text {
        font-size: 12px;
        line-height: 1.6;
        color: #8a7d72;
        margin: 0 0 10px;
    }

    .ah-mega__simple-cta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
        text-decoration: none;
        color: #b8845c;
        transition: gap 0.3s ease;
    }

    .ah-mega__simple-cta:hover { gap: 14px; }
    .ah-mega__simple-cta svg { width: 13px; height: 13px; }

    /* ==========================================
       MOBILE TOGGLE
    ========================================== */
    .ah-header__burger {
        display: none;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: none;
        border: 1px solid var(--ah-hdr-border);
        cursor: pointer;
        padding: 0;
        color: var(--ah-hdr-text);
        transition: border-color 0.3s ease, color 0.3s ease;
    }

    .ah-header__burger:hover {
        border-color: var(--ah-hdr-accent);
    }

    /* Haard-icoon: vlam boven drie gestapelde blokken */
    .ah-header__burger-icon {
        display: block;
        width: 26px;
        height: 26px;
    }

    .ah-header__burger-flame {
        fill: var(--ah-hdr-accent);
        transform-box: view-box;
        transform-origin: 12px 6px;
        transition: opacity 0.3s ease, transform 0.3s ease, fill 0.3s ease;
    }

    .ah-header__burger:hover .ah-header__burger-flame {
        animation: ah-burger-flicker 1.6s ease-in-out infinite;
    }

    .ah-header__burger-logs,
    .ah-header__burger-line {
        transform-box: view-box;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    }

    .ah-header__burger-line {
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        transform-origin: 12px 17.3px;
    }

    .ah-header__burger--active .ah-header__burger-flame {
        opacity: 0;
        transform: translateY(-3px) scale(0.4);
    }

    .ah-header__burger--active .ah-header__burger-logs {
        transform: translateY(-4.8px);
    }

    .ah-header__burger--active .ah-header__burger-line--top {
        transform: rotate(45deg) translateY(4.5px);
    }

    .ah-header__burger--active .ah-header__burger-line--mid {
        opacity: 0;
        transform: scaleX(0.2);
    }

    .ah-header__burger--active .ah-header__burger-line--bottom {
        transform: rotate(-45deg) translateY(-4.5px);
    }

    @keyframes ah-burger-flicker {
        0%, 100% { transform: scale(1); }
        30%      { transform: scale(1.12, 1.06) rotate(-2deg); }
        60%      { transform: scale(0.94, 1.1) rotate(2deg); }
    }

    @media (prefers-reduced-motion: reduce) {
        .ah-header__burger:hover .ah-header__burger-flame {
            animation: none;
        }
    }

    /* ==========================================
       MOBILE MENU
    ========================================== */
    .ah-mobile {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 420px;
        background: var(--ah-hdr-dark);
        z-index: 10003;
        transform: translateX(100%);
        transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .ah-mobile--open {
        transform: translateX(0);
    }

    .ah-mobile__backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 10002;
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s ease;
    }

    .ah-mobile__backdrop--visible {
        opacity: 1;
        visibility: visible;
    }

    .ah-mobile__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 24px;
        border-bottom: 1px solid var(--ah-hdr-border);
        flex-shrink: 0;
    }

    .ah-mobile__logo {
        font-family: Georgia, 'Times New Roman', serif;
        font-size: 16px;
        color: var(--ah-hdr-text);
        text-decoration: none;
    }

    .ah-mobile__close {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: 1px solid var(--ah-hdr-border);
        cursor: pointer;
        color: var(--ah-hdr-text);
        transition: all 0.3s ease;
    }

    .ah-mobile__close:hover {
        border-color: var(--ah-hdr-accent);
        color: var(--ah-hdr-accent);
    }

    .ah-mobile__close svg {
        width: 18px;
        height: 18px;
    }

    .ah-mobile__body {
        flex: 1;
        /* min-height:0 is required: zonder deze regel weigert een flex-child te
           krimpen onder zijn contenthoogte, waardoor overflow-y niet activeert
           en het onderste deel van het menu onbereikbaar wordt. */
        min-height: 0;
        overflow-y: auto;
        padding: 24px;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .ah-mobile__nav {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .ah-mobile__nav-item {
        border-bottom: 1px solid var(--ah-hdr-border);
    }

    .ah-mobile__nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 0;
        font-family: system-ui, -apple-system, sans-serif;
        font-size: 15px;
        font-weight: 500;
        color: var(--ah-hdr-text);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .ah-mobile__nav-link:hover {
        color: var(--ah-hdr-accent);
    }

    .ah-mobile__nav-toggle {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: 1px solid var(--ah-hdr-border);
        cursor: pointer;
        color: var(--ah-hdr-muted);
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .ah-mobile__nav-toggle svg {
        width: 12px;
        height: 12px;
        transition: transform 0.3s ease;
    }

    .ah-mobile__nav-toggle--open svg {
        transform: rotate(180deg);
    }

    .ah-mobile__nav-toggle--open {
        border-color: var(--ah-hdr-accent);
        color: var(--ah-hdr-accent);
    }

    .ah-mobile__sub {
        display: none;
        list-style: none;
        padding: 0 0 12px 16px;
        margin: 0;
    }

    .ah-mobile__sub--open {
        display: block;
    }

    .ah-mobile__sub-link {
        display: block;
        padding: 10px 0;
        font-size: 13.5px;
        color: var(--ah-hdr-muted);
        text-decoration: none;
        transition: color 0.25s ease;
    }

    .ah-mobile__sub-link:hover {
        color: var(--ah-hdr-accent);
    }

    .ah-mobile__sub-label {
        display: block;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--ah-hdr-accent);
        padding: 12px 0 8px;
        opacity: 0.7;
    }

    .ah-mobile__footer {
        flex-shrink: 0;
        padding: 20px 24px;
        border-top: 1px solid var(--ah-hdr-border);
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .ah-mobile__footer-phone {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 16px;
        font-weight: 600;
        color: var(--ah-hdr-accent);
        text-decoration: none;
    }

    .ah-mobile__footer-phone svg {
        width: 16px;
        height: 16px;
    }

    .ah-mobile__footer-address {
        font-size: 12px;
        line-height: 1.6;
        color: var(--ah-hdr-muted);
    }

    .ah-mobile__footer-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px 24px;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        text-decoration: none;
        color: var(--ah-hdr-dark);
        background: var(--ah-hdr-accent);
        border: 1px solid var(--ah-hdr-accent);
        transition: all 0.3s ease;
    }

    .ah-mobile__footer-cta:hover {
        background: transparent;
        color: var(--ah-hdr-accent);
    }

    .ah-mobile__footer-cta svg {
        width: 14px;
        height: 14px;
    }

    /* ==========================================
       RESPONSIVE
    ========================================== */

    @media (max-width: 1200px) {
        .ah-nav {
            display: none;
        }

        .ah-header__actions {
            display: none;
        }

        .ah-header__burger {
            display: flex;
        }

        .ah-header__container {
            padding: 0 32px;
            height: 68px;
        }

        .ah-topbar__inner {
            padding: 0 32px;
        }

        .ah-topbar__inner {
            padding: 0 32px;
        }

        .ah-topbar__left,
        .ah-topbar__center {
            display: none;
        }

        .ah-topbar__right {
            width: 100%;
            justify-content: flex-end;
        }
    }

    @media (max-width: 768px) {
        .ah-topbar {
            display: none;
        }

        /* De topbar is hier verborgen, dus de header mag niet langer
           40px naar beneden geschoven staan. */
        .ah-header {
            top: 0;
        }

        .ah-header__container {
            padding: 0 20px;
            height: 62px;
            gap: 16px;
        }

        /* Logo mag krimpen zodat de burger nooit buiten het scherm valt. */
        .ah-header__logo {
            flex-shrink: 1;
            min-width: 0;
        }

        .ah-header__burger {
            flex-shrink: 0;
        }

        .ah-header__logo-name {
            font-size: 15px;
        }

        .ah-header__logo-tagline {
            font-size: 8.5px;
            letter-spacing: 1.5px;
        }

        .ah-header__logo-img {
            height: 34px;
            width: auto;
            max-width: 100%;
            /* contain houdt de verhouding intact wanneer het logo moet krimpen */
            object-fit: contain;
            object-position: left center;
        }

        .ah-mobile {
            max-width: 100%;
        }
    }

    @media (max-width: 480px) {
        .ah-header__container {
            padding: 0 16px;
        }

        .ah-header__logo-text {
            display: none;
        }
    }

/* ── Mobiel menu: rijen met een uitklap-knop naast de link ── */
.ah-mobile__nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ah-mobile__nav-link--grow {
    flex: 1;
}

