/* Matramat — publieke site, huisstijl overgenomen van matramat.be
   Palette: #41525c (donker blauwgrijs) + #c5bd08 (limoengeel accent)
   Fonts: Chicago (koppen) + Rubik (tekst), lokaal gehost */

@font-face {
    font-family: 'Chicago';
    src: url('../fonts/Chicago-Regular.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Rubik';
    src: url('../fonts/rubik-latin-400-normal.woff2') format('woff2');
    font-weight: 400; font-display: swap;
}
@font-face {
    font-family: 'Rubik';
    src: url('../fonts/rubik-latin-500-normal.woff2') format('woff2');
    font-weight: 500; font-display: swap;
}
@font-face {
    font-family: 'Rubik';
    src: url('../fonts/rubik-latin-700-normal.woff2') format('woff2');
    font-weight: 700; font-display: swap;
}

:root {
    --ink: #41525c;
    --ink-dark: #313e46;
    --ink-soft: #6b7a84;
    --accent: #c5bd08;
    --accent-dark: #a89f07;
    --line: #e3e7ea;
    --tint: #f0f2f3;
    --bg: #ffffff;
    --white: #ffffff;
    --font-head: 'Chicago', 'Rubik', Helvetica, Arial, sans-serif;
    --font-body: 'Rubik', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
}

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); letter-spacing: 0.01em; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }

a { color: var(--ink); }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 1.25rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-name { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
.site-nav a:hover, .site-nav a.active { color: var(--ink-dark); box-shadow: inset 0 -2px 0 var(--accent); }

/* Hamburger (alleen zichtbaar op mobiel) */
.nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    padding: 0.55rem 0.5rem; margin: -0.25rem 0;
}
.nav-toggle-bar {
    display: block; width: 26px; height: 3px; border-radius: 2px;
    background: var(--ink); margin: 5px 0; transition: transform 0.18s ease, opacity 0.18s ease;
}
.nav-toggle.open .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none; width: 100%; flex-direction: column; align-items: stretch;
        gap: 0; padding: 0.4rem 0 0.8rem; border-top: 1px solid var(--line); margin-top: 0.6rem;
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 0.8rem 0.4rem; font-size: 1.08rem; border-bottom: 1px solid var(--line); box-shadow: none !important; }
    .site-nav a.active { color: var(--ink-dark); border-left: 3px solid var(--accent); padding-left: 0.7rem; }
    .site-nav .btn-primary { margin-top: 0.8rem; text-align: center; border-bottom: none; }
    .header-inner { flex-wrap: wrap; }
}

/* Buttons */
.btn {
    display: inline-block; padding: 0.7rem 1.4rem; border-radius: 6px;
    text-decoration: none; font-weight: 700; border: 2px solid transparent;
    font-family: var(--font-body); cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--ink-dark) !important; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink) !important; background: transparent; }
.btn-outline:hover { background: var(--tint); }
.btn-ghost { color: var(--ink) !important; }
.btn-inverse { border-color: var(--white); color: var(--white) !important; }
.btn-inverse:hover { background: rgba(255,255,255,0.15); }

/* Banner op de website, over de volle breedte boven de header.
   Achtergrond is de merkkleur #c5bd08 (--accent). Tekst is het donkergrijs
   #313e46 (--ink-dark), vet. Die combinatie haalt WCAG AA (ongeveer 5,6:1).
   --ink (#41525c) haalt AA op dit geelgroen niet, dus die niet gebruiken. */
.announce {
    background: var(--accent); color: var(--ink-dark); text-align: center;
    padding: 0.6rem 1.25rem; font-weight: 700; line-height: 1.45; width: 100%;
}
.announce p { margin: 0 auto; max-width: 70rem; overflow-wrap: anywhere; white-space: pre-line; }

/* Hero */
.hero {
    position: relative; color: var(--white);
    background: linear-gradient(rgba(49, 62, 70, 0.72), rgba(49, 62, 70, 0.72)), url('../img/hero.jpg') center/cover no-repeat;
    padding: 5.5rem 0 5rem;
}
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 5.5vw, 3.4rem); line-height: 1.12; margin: 0 0 1rem; }
.hero-kicker { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.82rem; font-weight: 700; color: var(--accent); margin: 0 0 0.8rem; }
.hero-sub { max-width: 36rem; font-size: 1.12rem; color: #e8ecee; }
.hero-actions { display: flex; gap: 0.9rem; margin-top: 1.9rem; flex-wrap: wrap; }

/* Secties */
.section { padding: 3.75rem 0; }
.section-alt { background: var(--tint); }
.section h2 { font-size: 1.9rem; margin: 0 0 0.5rem; }
.section-intro { color: var(--ink-soft); max-width: 44rem; margin-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }

/* Productgrid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; margin-top: 1.75rem; }
.product-card {
    background: var(--white); border: 1px solid var(--line); border-radius: 10px;
    overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.product-card:hover { box-shadow: 0 6px 18px rgba(49,62,70,0.12); transform: translateY(-2px); }
.product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.product-card-body { padding: 0.85rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.2rem; }
.product-card h3 { margin: 0; font-size: 1.05rem; }
.product-meta { color: var(--ink-soft); font-size: 0.88rem; }
.product-pop { position: relative; }
.pop-badge {
    position: absolute; top: 0.6rem; left: 0.6rem; background: var(--accent);
    color: var(--ink-dark); font-size: 0.75rem; font-weight: 700;
    padding: 0.15rem 0.6rem; border-radius: 999px;
}

/* Filterchips */
.filter-row { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 1.1rem; }
.chip {
    text-decoration: none; color: var(--ink); background: var(--white);
    border: 1.5px solid var(--line); border-radius: 999px; padding: 0.28rem 0.85rem;
    font-size: 0.92rem; font-weight: 500;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip-accent.active { background: var(--accent); border-color: var(--accent); color: var(--ink-dark); }

/* Productdetail */
.detail-grid2 { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 2.25rem; margin-top: 1.5rem; align-items: start; }
.detail-grid2 img { width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.spec-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.25rem; }
.spec-table th, .spec-table td { text-align: left; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--ink-soft); font-weight: 500; white-space: nowrap; width: 11rem; }
.size-tags { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.size-tag { background: var(--tint); border-radius: 6px; padding: 0.12rem 0.55rem; font-size: 0.9rem; font-weight: 500; white-space: nowrap; }
.crumbs { color: var(--ink-soft); font-size: 0.92rem; margin-top: 1.5rem; }
.crumbs a { color: var(--ink-soft); }

/* Contentpagina's (over ons, contact) */
.prose { max-width: 46rem; }
.prose p { margin: 0 0 1rem; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 1.4rem 1.5rem; }
.contact-card h3 { margin: 0 0 0.5rem; }
.contact-card p { margin: 0.25rem 0; }
.hours-table { border-collapse: collapse; }
.hours-table td { padding: 0.15rem 0.9rem 0.15rem 0; }

/* Steps (zo werkt het) */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; margin-top: 1.75rem; }
.step-nr {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.3rem; height: 2.3rem; border-radius: 50%;
    background: var(--accent); color: var(--ink-dark); font-weight: 700; font-family: var(--font-head);
}
.step h3 { margin: 0.6rem 0 0.3rem; }
.step p { margin: 0; color: var(--ink-soft); }

/* CTA-band */
.cta-band { background: var(--ink); color: var(--white); padding: 2.75rem 0; }
.cta-band h2 { color: var(--white); margin: 0 0 0.4rem; }
.cta-band p { color: #cdd5d9; margin: 0 0 1.25rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--white); }
.footer-inner {
    display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    padding: 1.4rem 1.25rem; color: var(--ink-soft); font-size: 0.95rem; align-items: center;
}
.footer-inner a { color: var(--ink-soft); }

.note { margin-top: 1.75rem; color: var(--ink-soft); font-style: italic; }
.wip {
    margin-top: 2rem; padding: 0.6rem 1rem; border-radius: 8px;
    background: var(--tint); color: var(--ink-soft); display: inline-block; font-size: 0.9rem;
}

@media (max-width: 720px) {
    .detail-grid2 { grid-template-columns: 1fr; }
    .brand-logo { height: 32px; }
    .announce { padding: 0.55rem 0.9rem; font-size: 0.95rem; }
}
