/* Bobbi Media — huisstijl in CSS. Kleuren en letters: zie merk/HUISSTIJL.md */

@font-face { font-family: 'Shrikhand'; src: url('/assets/fonts/shrikhand-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url('/assets/fonts/atkinson-hyperlegible-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url('/assets/fonts/atkinson-hyperlegible-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url('/assets/fonts/atkinson-hyperlegible-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --rood: #ED1D23;        /* Bobbi-rood: vlakken, logo, grote koppen */
  --rood-tekst: #B5121B;  /* rood voor tekst en links op wit (AA) */
  --roze: #FDE6E7;        /* zachte achtergrond, spaarzaam */
  --zwart: #000;
  --wit: #fff;
  --grijs: #4A4A4A;       /* bijtekst op wit (AA) */

  --disco: 'Shrikhand', 'Cooper Black', Georgia, serif;
  --tekst: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --breed: 72rem;
  --smal: 42rem;
  --rand: clamp(1rem, 4vw, 2.5rem);
  --ruimte: clamp(4rem, 9vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  font-family: var(--tekst);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--zwart);
  background: var(--wit);
}
img { max-width: 100%; height: auto; display: block; }

h1, h2 { font-family: var(--disco); font-weight: 400; line-height: 1.05; letter-spacing: .005em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 7.5vw, 5.75rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: 1.375rem; line-height: 1.3; margin: 0 0 .4em; }
p { margin: 0 0 1em; }

a { color: var(--rood-tekst); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--zwart); }
:focus-visible { outline: 3px solid var(--zwart); outline-offset: 3px; border-radius: 4px; }

.breed { max-width: var(--breed); margin-inline: auto; padding-inline: var(--rand); }
.smal { max-width: calc(var(--smal) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.lead { font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.45; max-width: 38em; }
.klein { font-size: 1rem; color: var(--grijs); }

.naar-inhoud { position: absolute; left: 1rem; top: -4rem; background: var(--zwart); color: var(--wit); padding: .75rem 1rem; z-index: 10; border-radius: 0 0 .5rem .5rem; }
.naar-inhoud:focus { top: 0; }

/* Knoppen: een pil, zwart op wit en rood; op zwart wordt hij wit. */
.knop {
  display: inline-block;
  font: 700 1.125rem/1.2 var(--tekst);
  color: var(--wit);
  background: var(--zwart);
  border: 3px solid var(--zwart);
  padding: .85em 1.4em;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
}
.knop:hover { background: var(--wit); color: var(--zwart); }
.knop-klein { font-size: 1rem; padding: .5em 1.1em; }

/* Kop */
.kop { position: sticky; top: 0; z-index: 5; background: var(--wit); border-bottom: 3px solid var(--zwart); }
.kop-binnen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.kop-logo { display: block; padding: .5rem 0; }
.kop-logo img { width: 186px; }
.kop ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.75rem; }
.kop nav a:not(.knop) { color: var(--zwart); text-decoration: none; font-weight: 700; }
.kop nav a:not(.knop):hover, .kop nav a[aria-current="page"]:not(.knop) { color: var(--rood-tekst); text-decoration: underline; }
.menu-smal { display: none; }
@media (max-width: 47.99rem) {
  .menu-breed { display: none; }
  .menu-smal { display: block; position: static; }
  .menu-smal summary { list-style: none; cursor: pointer; font-weight: 700; padding: .5rem 1rem; border: 3px solid var(--zwart); border-radius: 999px; }
  .menu-smal summary::-webkit-details-marker { display: none; }
  .menu-smal[open] summary { background: var(--zwart); color: var(--wit); }
  .menu-smal nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--wit); border-bottom: 3px solid var(--zwart); padding: 1rem var(--rand) 1.5rem; }
  .menu-smal ul { flex-direction: column; align-items: flex-start; gap: 1rem; font-size: 1.25rem; }
}

/* Held: het ene grote, rode moment */
.held { background: var(--rood); color: var(--zwart); overflow: hidden; }
.held-binnen { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem; padding-block: clamp(3.5rem, 9vw, 7rem); }
.held h1 { color: var(--wit); font-size: clamp(3rem, 7vw, 6rem); line-height: .98; max-width: 9.5em; }
.held-zin { font-size: clamp(1.25rem, 2.3vw, 1.6rem); line-height: 1.4; max-width: 30em; }
.held-knoppen { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin: 2rem 0 0; }
.held .knop:hover { background: var(--wit); border-color: var(--wit); }
.held-link { color: var(--zwart); font-weight: 700; }
.held-link:hover { color: var(--wit); }
.held :focus-visible { outline-color: var(--wit); }

.held-beeld { position: relative; width: clamp(16rem, 30vw, 27rem); }
.held-beeld .foto { aspect-ratio: 4 / 5; object-fit: cover; border-color: var(--zwart); }
.held-beeld .sticker { position: absolute; right: -2.5rem; bottom: -3rem; }
.sticker {
  width: clamp(10rem, 15vw, 13rem); aspect-ratio: 1; margin: 0;
  display: grid; place-items: center; text-align: center;
  background: var(--zwart); color: var(--wit); border-radius: 50%;
  font-weight: 700; font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.25;
  padding: 1.5rem; transform: rotate(-12deg);
  animation: plak .9s cubic-bezier(.2, 1.6, .4, 1) .25s both;
}
@keyframes plak { from { transform: rotate(-200deg) scale(.2); opacity: 0; } to { transform: rotate(-12deg) scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sticker { animation: none; } }
@media (max-width: 47.99rem) {
  .held-binnen { grid-template-columns: 1fr; padding-bottom: 4.5rem; }
  .held-beeld { width: 100%; margin-top: .5rem; }
  .held-beeld .foto { aspect-ratio: 4 / 3; }
  .held-beeld .sticker { left: auto; right: -.5rem; bottom: -3rem; width: 9rem; font-size: .95rem; padding: 1rem; }
}

/* Paginakop op binnenpagina's */
.paginakop { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 5vw, 3.5rem); border-bottom: 3px solid var(--zwart); }
.paginakop h1 { color: var(--rood); }
.paginakop-vol { border-bottom: 0; min-height: 50vh; }
.kruimel { font-weight: 700; margin-bottom: 1.25rem; }

/* Diensten in groepen */
.diensten-home, .werkwijze-home, .faq, .dienst, .verwant, .over, .contact { padding-block: var(--ruimte); }
.diensten-home > .breed > .lead { margin-bottom: 3rem; }
.groep { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem 3rem; border-top: 3px solid var(--zwart); padding-block: 2rem 2.5rem; }
.groep-naam { font-family: var(--disco); font-weight: 400; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.1; color: var(--rood); margin-bottom: .35em; }
.groep-kop p { color: var(--grijs); }
.groep-lijst { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .5rem 2rem; }
.groep-lijst a { display: block; padding: .75rem 0; color: var(--zwart); text-decoration: none; }
.groep-lijst strong { display: block; font-size: 1.25rem; text-decoration: underline; text-decoration-color: var(--rood); text-decoration-thickness: .12em; text-underline-offset: .2em; }
.groep-lijst span { display: block; color: var(--grijs); }
.groep-lijst a:hover strong { color: var(--rood-tekst); }
@media (max-width: 47.99rem) { .groep { grid-template-columns: 1fr; } }

/* AI-blok */
.ai { background: var(--zwart); color: var(--wit); padding-block: var(--ruimte); }
.ai h2 { color: var(--wit); }
.ai-intro { font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.45; max-width: 36em; margin-bottom: 3rem; }
.ai-kolommen { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2rem 4rem; }
.ai h3 { color: var(--rood); font-size: 1.5rem; }
.ai ul { margin: 0; padding: 0; list-style: none; }
.ai li { padding: .6rem 0; border-top: 1px solid #555; }
.ai :focus-visible { outline-color: var(--wit); }

/* Werkwijze: echt een volgorde, dus genummerd */
.stappen { list-style: none; margin: 2.5rem 0 0; padding: 0; counter-reset: stap; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2.5rem 2rem; }
.stappen li { counter-increment: stap; }
.stappen li::before { content: counter(stap); display: block; font-family: var(--disco); font-size: 4.5rem; line-height: 1; color: var(--rood); margin-bottom: .75rem; }

/* Vragen */
.faq { background: var(--roze); }
.vragen details { border-top: 3px solid var(--zwart); }
.vragen details:last-child { border-bottom: 3px solid var(--zwart); }
.vragen summary { cursor: pointer; font-weight: 700; font-size: 1.25rem; padding: 1.1rem 2.5rem 1.1rem 0; list-style: none; position: relative; }
.vragen summary::-webkit-details-marker { display: none; }
.vragen summary::after { content: '+'; position: absolute; right: .25rem; top: .7rem; font-family: var(--disco); font-size: 1.75rem; color: var(--rood-tekst); }
.vragen details[open] summary::after { content: '−'; }
.vragen details p { padding-bottom: 1rem; max-width: 36em; }

/* Slot */
.slot { background: var(--rood); padding-block: var(--ruimte); }
.slot h2 { color: var(--wit); font-size: clamp(2.5rem, 6vw, 4.5rem); }
.slot p { font-size: clamp(1.2rem, 2vw, 1.4rem); max-width: 30em; }
.slot .knop:hover { background: var(--wit); border-color: var(--wit); }
.slot :focus-visible { outline-color: var(--wit); }

/* Dienstpagina */
.dienst-binnen { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 2rem 4rem; }
.dienst h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); color: var(--rood); }
.dienst h2 + p + h2 { margin-top: 2rem; }
.vinkjes { list-style: none; margin: 0; padding: 0; }
.vinkjes li { position: relative; padding: .5rem 0 .5rem 2.25rem; }
.vinkjes li::before { content: ''; position: absolute; left: 0; top: .8rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--rood); }
.verwant { background: var(--roze); }

/* Over ons */
.over h2 { color: var(--rood); margin-top: 2.5rem; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.over h2:first-child { margin-top: 0; }
.mensen { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem 2.5rem; }
.mensen > div { border-top: 3px solid var(--zwart); padding-top: 1rem; }

/* Contact */
.contact-binnen { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 3rem 5rem; align-items: start; }
@media (max-width: 47.99rem) { .contact-binnen { grid-template-columns: 1fr; } }
.contact-zij { background: var(--roze); padding: 1.75rem; border-radius: 1.5rem; }
.contact-zij h2 { font-size: 1.75rem; color: var(--rood); }
.formulier { max-width: 38rem; }
.veld { margin: 0 0 1.5rem; }
.veld label, .veld legend { display: block; font-weight: 700; margin-bottom: .4rem; }
.optioneel { font-weight: 400; color: var(--grijs); }
fieldset.veld { border: 0; padding: 0; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; font: inherit; color: var(--zwart); background: var(--wit);
  border: 3px solid var(--zwart); border-radius: .75rem; padding: .7rem .9rem;
}
textarea { resize: vertical; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--rood); outline-offset: 2px; }
.vinkvelden { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .25rem 1.5rem; }
.vinkvelden label { font-weight: 400; display: flex; gap: .6rem; align-items: center; padding: .3rem 0; cursor: pointer; }
.vinkvelden input { width: 1.35rem; height: 1.35rem; accent-color: var(--rood-tekst); flex: none; }
.honing { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Voet */
.voet { background: var(--zwart); color: var(--wit); padding-block: 3.5rem; font-size: 1rem; }
.voet-binnen { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.voet-binnen img { margin-bottom: 1rem; }
.voet a { color: var(--wit); }
.voet a:hover { color: var(--rood); }
.voet :focus-visible { outline-color: var(--wit); }
.voet-kop { font-family: var(--tekst); font-weight: 700; font-size: 1rem; margin-bottom: .5rem; color: #BDBDBD; }
.voet-lijst { list-style: none; margin: 0; padding: 0; }
.voet-lijst li { padding: .15rem 0; }
@media (max-width: 47.99rem) { .voet-binnen { grid-template-columns: 1fr 1fr; } .voet-binnen > div:first-child { grid-column: 1 / -1; } }

/* Huisstijlpagina */
.logo-raster { list-style: none; margin: 1.5rem 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; }
.logo-tegel { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; height: 100%; padding: 1.5rem; border: 3px solid var(--zwart); border-radius: 1.25rem; color: var(--zwart); text-decoration: none; font-weight: 700; background: var(--wit); }
.logo-tegel img { height: 6rem; width: auto; max-width: 100%; object-fit: contain; align-self: flex-start; }
.tegel-rood { background: var(--rood); }
.tegel-zwart { background: var(--zwart); color: var(--wit); }
.logo-tegel:hover span { text-decoration: underline; }
.kleur-raster { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 2rem; }
.kleur-raster p { color: var(--grijs); font-size: 1rem; margin-top: .4rem; }
.staal { display: block; height: 7rem; border-radius: 1.25rem; border: 3px solid var(--zwart); margin-bottom: .75rem; }
.staal-rood { background: #ED1D23; } .staal-tekstrood { background: #B5121B; } .staal-zwart { background: #000; } .staal-wit { background: #fff; } .staal-roze { background: #FDE6E7; }
.letter-shrikhand { font-family: var(--disco); font-size: clamp(3rem, 8vw, 5rem); line-height: 1; color: var(--rood); margin-top: 1rem; }
.letter-atkinson { font-weight: 700; font-size: clamp(2.25rem, 6vw, 3.5rem); line-height: 1.1; margin-top: 2rem; }
code { font-size: .9em; background: var(--roze); padding: .1em .35em; border-radius: .3em; }

/* Foto's: dikke zwarte rand en ronde hoeken, net als de logotegels */
.foto { width: 100%; height: auto; border: 3px solid var(--zwart); border-radius: 1.25rem; background: var(--roze); }
.voor-wie { padding-block: var(--ruimte) 0; }
.voor-wie h2 { max-width: 16em; }
.strook { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.strook .beeld { display: block; width: 100%; height: auto; border: 3px solid var(--zwart); border-radius: 1.25rem; }
.strook p { font-weight: 700; font-size: 1.25rem; margin: .75rem 0 0; }
.strook li:nth-child(even) { margin-top: 2.5rem; }
@media (max-width: 47.99rem) { .strook { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.paginakop-foto { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2rem 4rem; align-items: center; }
.foto-kop { aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 47.99rem) { .paginakop-foto { grid-template-columns: 1fr; } .foto-kop { aspect-ratio: 4 / 3; } }
.discobal { float: right; width: min(18rem, 45%); margin: 0 0 1.5rem 2rem; transform: rotate(4deg); }
.discobal .foto { aspect-ratio: 2 / 3; object-fit: cover; }
@media (max-width: 47.99rem) { .discobal { float: none; width: 60%; margin: 0 auto 2rem; } }
.bronnen { padding-left: 1.2rem; }
.bronnen li { padding: .2rem 0; }

/* Eigen schermbeelden (bron/beelden.mjs) */
.beeld .sv-tekst { font-family: var(--tekst); }
.beeld .sv-vet { font-family: var(--tekst); font-weight: 700; }
.beeld .sv-disco { font-family: var(--disco); }
.beeld-kop .beeld { display: block; width: 100%; max-width: 26rem; height: auto; margin-inline: auto; border: 3px solid var(--zwart); border-radius: 1.25rem; }
@media (max-width: 47.99rem) { .beeld-kop .beeld { max-width: 20rem; } }

.foto-band { aspect-ratio: 21 / 8; object-fit: cover; margin-top: 1.5rem; }
@media (max-width: 47.99rem) { .foto-band { aspect-ratio: 16 / 9; } }
.foto-zij { aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 1.5rem; }
