

@font-face {
    font-family: 'Fabrikat';
    src: url('../fonts/fabrikat.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fabrikat Kompakt';
    src: url('../fonts/FabrikatKompakt-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Fabrikat Kompakt';
    src: url('../fonts/FabrikatKompakt-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Fabrikat Kompakt';
    src: url('../fonts/FabrikatKompakt-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.hit-page, .hit-body { margin: 0; padding: 0; background: #0e2a2f; }
.hit { font-family: 'Fabrikat Kompakt', 'Fabrikat', 'TT Neoris Pro', Arial, Helvetica, sans-serif; }
.hit-body { overflow-x: hidden; }
.hit, .hit * { box-sizing: border-box; }

.hit-page { scroll-snap-type: y mandatory; scroll-behavior: smooth; }

.hit-section {
    position: relative; width: 100%; overflow: hidden;
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.hit-section:nth-child(odd)  { background-color: #333; }
.hit-section:nth-child(even) { background-color: #E6BDAC; }
.hit-bg-media {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; background-size: cover; background-position: center;
    z-index: 0; pointer-events: none;
}
.hit-section > *:not(.hit-bg-media):not(.hit-shape):not(.hit-scroll):not(.hit-info-popup):not(.hit-footer__video):not(.hit-footer__volg):not(.hit-footer__adres-box) { position: relative; z-index: 1; }

.hit-shape {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 0; pointer-events: none;
    aspect-ratio: var(--ar);
    width: min(90vw, calc(84vh * var(--ar)));
}
.hit-shape__defs { position: absolute; width: 0; height: 0; }
.hit-shape__media { position: absolute; inset: 0; overflow: hidden; }
.hit-shape__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hit-shape__media--video iframe,
.hit-shape__media--video embed,
.hit-shape__media--video object {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    height: 100%; width: auto; min-width: 100%;
    aspect-ratio: 16 / 9; border: 0;
}
.hit-shape__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.hit-frame { max-width: 820px; margin: 0 auto; padding: 1.5rem; color: #fff; }
.hit-frame h1, .hit-frame h2, .hit-frame h3 { margin: 0 0 .5em; line-height: 1.05; }
.hit-frame p { margin: 0 0 1em; font-size: 1.125rem; line-height: 1.5; }
.hit-frame a { color: inherit; text-decoration: underline; }

.hit-hero {
    min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
    padding: 6rem 1.25rem 7rem;
}

.hit-topbar { position: fixed; top: 0; left: 0; width: 100vw; z-index: 40;
    --margin-top: max(17px, 1.46vw);
    --margin-left: max(86px, 7.32vw);
    display: flex; align-items: flex-start; justify-content: space-between;
    padding: var(--margin-top) var(--margin-left) 0; }
.hit-topbar__logo { display: block; }
.hit-topbar .hit-logo { width: min(500px, 80vw); height: auto; display: block; transition: width .5s ease; }
.hit-topbar.is-scrolled .hit-logo { width: 160px; }
.hit-topbar__right { display: flex; align-items: center; gap: max(14px, 1.1vw); }
.hit-hart-logo img { width: 100px; height: auto; display: block; }

.hit-tab-btn {
    align-self: flex-start;
    margin-top: calc(-1 * var(--margin-top));
    display: flex; align-items: center; justify-content: center;
    width: 48px; min-height: 150px;
    background: #fff; border: 3px solid #000;
    cursor: pointer; padding: 0;
}
.hit-tab-btn__label {
    transform: rotate(-90deg);
    white-space: nowrap;
    font-weight: 700; text-transform: uppercase;
    font-size: 20px; letter-spacing: .03em; color: #000; line-height: 1;
}
.hit-hero__inner { display: flex; flex-direction: column; align-items: center; gap: 2rem; text-align: center; }
.hit-scroll { position: absolute; bottom: 2rem; left: 50%; right: auto; top: auto; transform: translateX(-50%); z-index: 30; }
.hit-scroll img { width: 120px; height: auto; display: block; animation: hit-bob 1.8s ease-in-out infinite; }
@keyframes hit-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

.hit-hero .hit-shape       { top: -15%; left: 50%; transform: translate(-50%, 0); width: 96%; max-width: none; }
.hit-categorieen .hit-shape { top: -10%; left: 10%;  right: auto; transform: none; width: 70vw; max-width: none; }
.hit-intro .hit-shape       { top: -15%; right: -10%; left: auto; transform: none; width: 80vw; max-width: none; }
.hit-tijdlijn .hit-shape    { top: -5%;  left: -10%; right: auto; transform: none; width: 60vw; max-width: none; }

.hit-tijdlijn { overflow: visible; z-index: 2; }
.hit-tijdlijn .hit-shape--top    { top: -8%; bottom: auto; left: -6%;  right: auto; transform: none; width: 88vw; max-width: none; }
.hit-tijdlijn .hit-shape--bottom { top: auto; bottom: -14%; left: auto; right: -6%;  transform: none; width: 58vw; max-width: none; }
.hit-footer .hit-shape      { top: auto; bottom: -3%; left: -5%; right: auto; transform: none; width: 70%; max-width: none; }

.hit-info-popup {
    position: fixed; top: 0; left: 0;
    width: 100%; height: auto;
    z-index: 1000;
    padding: max(20px, 3vh) max(86px, 7.32vw) 120px;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, .90) 0%,
        rgba(0, 0, 0, .78) 45%,
        rgba(0, 0, 0, 0) 100%);
    color: #fff;
}
.hit-info-popup[hidden] { display: none; }
.hit-info-popup__inner {
    max-width: 900px;
    color: #fff;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 500;
}
.hit-info-popup__inner :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, a) { color: #fff; }
.hit-info-popup__inner p { margin: 0 0 .5em; }
.hit-info-popup__inner :last-child { margin-bottom: 0; }
.hit-info-close {
    position: absolute; top: 16px; right: max(24px, 2vw);
    background: none; border: 0; color: #fff;
    font-size: 40px; line-height: 1; cursor: pointer;
}
.hit-info-contact { margin-top: 1.5rem; font-size: 20px; line-height: 1.4; }
.hit-info-adres { margin: 0 0 1rem; }
.hit-info-icons { display: flex; gap: 12px; }
.hit-info-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    border: 2px solid #fff; color: #fff; text-decoration: none;
    transition: background .2s ease, color .2s ease;
}
.hit-info-icon:hover { background: #fff; color: #111; }
.hit-info-icon svg { width: 22px; height: 22px; }

.hit-categorieen { padding: 5rem 1.25rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
.hit-cats {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, auto);
    justify-content: center; justify-items: center; align-items: center;
    gap: 3.5rem 4.5rem;
}
.hit-cat {
    --hit-c: #FFDC00;
    --hit-off: 50px;
    --hit-off-hover: 100px;
    --hit-bw: 10px;
    --hit-reserve: calc(var(--hit-off-hover) + var(--hit-bw) + 10px);
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    width: max-content; padding: 20px;
    margin: 0 var(--hit-reserve) var(--hit-reserve) 0;
    border: var(--hit-bw) solid #000;
    background: #fff;
    color: #000;
    text-decoration: none;
    transform: rotate(-10deg);
    transition: transform .15s ease;
}

.hit-cat::before {
    content: "";
    position: absolute;
    box-sizing: border-box;
    left: calc(100% + var(--hit-bw));
    top: calc(-1 * var(--hit-bw));
    width: var(--hit-off);
    height: calc(100% + 2 * var(--hit-bw));
    background: var(--hit-c);
    border: var(--hit-bw) solid #000;
    border-left: none;
    border-bottom: none;
    transform: skewY(45deg);
    transform-origin: top left;
    transition: width .18s ease, height .18s ease;
}

.hit-cat::after {
    content: "";
    position: absolute;
    z-index: -1;
    box-sizing: border-box;
    left: calc(-1 * var(--hit-bw));
    top: calc(100% + var(--hit-bw));
    width: calc(100% + 2 * var(--hit-bw));
    height: var(--hit-off);
    background: var(--hit-c);
    border: var(--hit-bw) solid #000;
    border-top: 0;
    transform: skewX(45deg);
    transform-origin: top left;
    transition: width .18s ease, height .18s ease;
}

.hit-cat:not(.hit-cat--cta):hover { --hit-off: var(--hit-off-hover); }
.hit-cat__label { font-size: 32px; font-weight: 700;
    text-transform: uppercase; line-height: 1; text-align: center; }

.hit-cat--cta { --hit-off: 80px; --hit-off-hover: 80px; margin: 1.5rem var(--hit-reserve) var(--hit-reserve); }
.hit-cat--cta .hit-cat__label {
    white-space: pre-line;
    font-size: 45px;
    line-height: 1.2;
    font-weight: 600;
    text-transform: uppercase;
}

.hit-intro { padding: 5rem 1.25rem; display: flex; align-items: center; justify-content: center; min-height: 60vh; }

.hit-tijdlijn { padding: 4rem 1.25rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
.hit-tijdlijn__items {
    position: relative;
    width: min(1100px, 92vw); margin: 0 auto;
    display: flex; flex-direction: column; align-items: flex-start;
    padding-bottom: 110px;
}

.hit-tijdlijn__items .hit-cat--tijd { position: relative; z-index: 1; margin: 0; --hit-off: 40px; --hit-off-hover: 40px; }
.hit-tijdlijn__items .hit-cat--tijd.is-groot { margin-top: 50px; }

.hit-tijdlijn__items .hit-cat--tijd.is-klein { margin-top: 13px; z-index: 2; }

.hit-tijdlijn__items .hit-cat--tijd.is-klein-left  { transform: translateX(-50%) rotate(-10deg); }
.hit-tijdlijn__items .hit-cat--tijd.is-klein-right { transform: translateX(50%) rotate(-10deg); }
.hit-tijdlijn__items .hit-cat--tijd:first-child { margin-top: 0; }

.hit-tijdlijn__items .hit-cat--tijd:nth-child(odd)  { --hit-c: #FFDC00; }
.hit-tijdlijn__items .hit-cat--tijd:nth-child(even) { --hit-c: #d96057; }

.hit-tijdlijn__items .hit-cat--tijd.hit-cat--font-groot .hit-cat__label { font-size: 40px; text-transform: uppercase; }
.hit-tijdlijn__items .hit-cat--tijd.hit-cat--font-klein .hit-cat__label { font-size: 30px; text-transform: none; }
.hit-tijdlijn__items .hit-cat__label { text-align: left; }

.hit-tijdlijn__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }

.hit-tijdlijn__lines path { animation: hit-line-fade .6s ease both; }
@keyframes hit-line-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hit-tijdlijn__lines path { animation: none; } }

.hit-footer { padding: 4rem 1.5rem; }
.hit-footer__inner { max-width: 1000px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; color: #fff; }
.hit-footer__contact p { margin: 0 0 .4rem; font-size: 1.05rem; }
.hit-footer__contact a { color: inherit; }
.hit-social img { height: 96px; width: auto; display: block; }

.hit-dots {
    position: fixed; top: 50%; right: max(14px, 1.4vw);
    transform: translateY(-50%);
    z-index: 45;
    display: flex; flex-direction: column; gap: 14px;
}
.hit-dot {
    width: 13px; height: 13px; padding: 0;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .18);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.hit-dot:hover { transform: scale(1.15); }
.hit-dot.is-active { background: #fff; }
.hit-dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.hit-drop { translate: 0 -120vh; opacity: 0; transition: none; will-change: translate; pointer-events: none; }

.hit-drop.is-dropped {
    translate: 0 0; opacity: 1; pointer-events: auto;
    transition: translate .7s cubic-bezier(.34, 1.4, .64, 1), opacity .45s ease;
}

.hit-footer__video {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: min(70vw, 900px);
    aspect-ratio: 16 / 9;
}
.hit-footer__video iframe,
.hit-footer__video embed,
.hit-footer__video object {
    width: 100%; height: 100%; border: 0; display: block;
}

.hit-footer__volg { position: absolute; bottom: 30px; right: 20px; z-index: 3; }
.hit-footer__volg-cat { margin: 10px 30px 10px 10px; }
.hit-footer__adres-box { position: absolute; bottom: 0; left: 5%; z-index: 3; }
.hit-footer__volg-cat .hit-cat__label,
.hit-footer__adres-box .hit-cat__label { font-size: 22px; line-height: 1.25; text-align: center; text-transform: uppercase; }
.hit-footer__volg-handle-inner { display: flex; flex-direction: column; align-items: center; gap: .1em; }
.hit-footer__volg-handle-inner svg { width: 60px; height: auto; }

@media (prefers-reduced-motion: reduce) {
    .hit-drop, .hit-drop.is-dropped { translate: 0; opacity: 1; }
}

@media (max-width: 1400px) {

    .hit-categorieen .hit-shape { width: 100vw; left: 0; right: auto; top: -5%; transform: none; }
    .hit-cats { grid-template-columns: repeat(2, auto); gap: 2.5rem 3rem; }
    .hit-cat { --hit-off: 28px; --hit-off-hover: 52px; --hit-bw: 6px; padding: 16px; }
    .hit-cat--cta { --hit-off: 44px; --hit-off-hover: 44px; }
    .hit-cat__label, .hit-cat--cta .hit-cat__label { font-size: 3vw; }
    .hit-frame p { font-size: 1rem; }
}
