/* Huisstijl 3D Rozenburg — kleuren uit de vlag van Rozenburg */

@font-face { font-family: "Fraunces"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/fraunces-600.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/fraunces-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/inter-800.woff2") format("woff2"); }

:root {
    --rood: #B3202A;
    --donkerrood: #8E1820;
    --geel: #F2B705;
    --creme: #F7F1E6;
    --inkt: #2A1E1A;
    --gedempt: #6F5F4B;
    --wit: #FFFFFF;
    --rand: #E4D9C6;
    --font-kop: "Fraunces", Georgia, "Times New Roman", serif;
    --font-tekst: "Inter", system-ui, "Segoe UI", sans-serif;
    --breedte: 1120px;
    --ruimte: clamp(1rem, 4vw, 1.75rem);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--creme);
    color: var(--inkt);
    font-family: var(--font-tekst);
    font-size: 1rem;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--font-kop);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 .5em;
}

h1 { font-size: clamp(2rem, 5vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 1.9rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a { color: var(--rood); }
a:hover { color: var(--donkerrood); }

img { max-width: 100%; height: auto; display: block; }

:focus-visible { outline: 3px solid var(--geel); outline-offset: 2px; }

.container {
    max-width: var(--breedte);
    margin: 0 auto;
    padding: 0 var(--ruimte);
}

.gedempt { color: var(--gedempt); }

/* De vijf banen van de vlag: geel, rood, geel, rood, geel */
.vlagstreep {
    height: 10px;
    background: linear-gradient(90deg, var(--geel) 0 20%, var(--rood) 20% 40%, var(--geel) 40% 60%, var(--rood) 60% 80%, var(--geel) 80%);
}

/* Knoppen (pillen) */
.knop, .knop-geel, .knop-rand {
    display: inline-block;
    padding: .7rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.2;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
}

.knop { background: var(--rood); color: var(--wit); }
.knop:hover { background: var(--donkerrood); color: var(--wit); }

.knop-geel { background: var(--geel); color: var(--inkt); }
.knop-geel:hover { background: #ffc81f; color: var(--inkt); }

.knop-rand { border-color: var(--inkt); color: var(--inkt); background: transparent; }
.knop-rand:hover { background: var(--inkt); color: var(--creme); }

/* Plek die vóór livegang nog ingevuld moet worden */
.invullen {
    background: #FFF3C4;
    color: var(--inkt);
    border: 2px dashed var(--rood);
    border-radius: 4px;
    padding: 0 .3em;
    font-weight: 600;
}

/* Paginablokken */
.blok { padding-top: 2.5rem; padding-bottom: 2.5rem; }

.knoppen { display: flex; gap: .7rem; flex-wrap: wrap; }

.held {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.held h1 em { font-style: normal; color: var(--rood); }
.held-tekst { color: var(--gedempt); font-size: 1.08rem; max-width: 34rem; }
.held-foto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }

/* Foto die (nog) ontbreekt */
.foto-plek {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    color: var(--gedempt);
    font-size: .9rem;
    background: repeating-linear-gradient(45deg, #DDD3C2, #DDD3C2 10px, #E6DDCF 10px, #E6DDCF 20px);
}

.raster-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.raster-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

.product-kaart h3 { margin: .8rem 0 .2rem; }
.product-kaart h3 a { color: var(--inkt); text-decoration: none; }
.product-kaart h3 a:hover { color: var(--rood); }
.product-foto img, .product-foto .foto-plek { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.product-techniek { margin: 0 0 .3rem; font-size: .9rem; }
.product-prijs { font-weight: 700; font-size: 1.1rem; margin: 0 0 .2rem; }
.product-bestellen { font-size: .9rem; color: var(--gedempt); }

.eigen-ontwerp { background: var(--rood); color: var(--wit); padding: 2.8rem 0; }
.eigen-ontwerp h2 { color: var(--wit); }
.eigen-ontwerp p { color: #F6DCDC; }
.eigen-ontwerp-binnen { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.eigen-ontwerp-foto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.eigen-ontwerp .foto-plek { background: #C9C9C5; color: #555; }

.machine {
    display: block;
    background: var(--wit);
    border-radius: 10px;
    border-top: 4px solid var(--geel);
    padding: 1rem;
    color: var(--inkt);
    text-decoration: none;
}
.machine:hover { border-top-color: var(--rood); color: var(--inkt); }
.machine strong { display: block; margin-bottom: .2rem; }
.machine span { color: var(--gedempt); font-size: .9rem; }

@media (max-width: 760px) {
    .held, .eigen-ontwerp-binnen { grid-template-columns: 1fr; }
    .raster-3 { grid-template-columns: 1fr; }
    .raster-4 { grid-template-columns: 1fr 1fr; }
}

/* Overige pagina's */
.inleiding { font-size: 1.1rem; color: var(--gedempt); max-width: 42rem; }

.twee-kolommen { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; }
.pagina-foto, .product-detail-foto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; align-items: start; }
.product-detail .product-prijs { font-size: 1.4rem; }

.stappen { padding-left: 1.2rem; max-width: 46rem; }
.stappen li { margin-bottom: .8rem; }

.machines { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.machines article {
    background: var(--wit);
    border-radius: 10px;
    border-top: 4px solid var(--geel);
    padding: 1.2rem 1.4rem;
    scroll-margin-top: 6rem;
}
.machines h2 { font-size: 1.3rem; }

.contact-kaart { background: var(--wit); border-radius: 10px; border-top: 4px solid var(--rood); padding: 1.4rem; }
.contact-kaart address { font-style: normal; line-height: 1.8; }

@media (max-width: 760px) {
    .twee-kolommen, .product-detail, .machines { grid-template-columns: 1fr; }
}
