/* Basisstijl voor de interne pagina's, in de huisstijl van Computerglobe (Poppins/Inter, accent #e21d1d). */

@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400 600; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); }

:root {
    --cg-accent: #e21d1d;
    --cg-accent-dark: #b81616;
    --cg-dark: #20201f;
    --cg-text: #404040;
    --cg-muted: #7a7a7a;
    --cg-border: #dcdcdc;
    --cg-light: #f4f4f4;
    --cg-font-heading: "Poppins", "Inter", system-ui, sans-serif;
    --cg-font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--cg-font-text);
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: -.2px;
    color: var(--cg-text);
    background: var(--cg-light);
}

:focus-visible { outline: 3px solid rgba(226, 29, 29, .45); outline-offset: 2px; }

.cg-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.cg-header {
    display: flex;
    justify-content: center;
    padding: 18px 16px;
    background: #fff;
    border-bottom: 1px solid #ebebeb;
}
.cg-header__logo { display: block; width: 220px; max-width: 60vw; height: auto; }

.cg-main { padding: 40px 16px 60px; }

.cg-btn {
    display: inline-block;
    padding: 11px 18px;
    border: 2px solid var(--cg-accent);
    border-radius: 10px;
    background: var(--cg-accent);
    color: #fff;
    font-family: var(--cg-font-heading);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .3s, color .3s;
}
.cg-btn:hover { background: var(--cg-accent-dark); border-color: var(--cg-accent-dark); }
.cg-btn--outline { background: #fff; color: var(--cg-accent); }
.cg-btn--outline:hover { background: var(--cg-accent); color: #fff; }
.cg-btn--small { padding: 7px 12px; font-size: 14px; }

@media (max-width: 767px) {
    body { font-size: 16px; }
    .cg-main { padding: 20px 0 40px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}
