/* bob-101 website. Ontwerp goedgekeurd 30 sep 2026 (voorbeeld in MAINFRAME/Projecten/bob-101-website/voorbeeld). */
:root {
  --salie: #89b1ab;
  --salie-licht: #dce8e5;
  --salie-donker: #4f7a73;
  --inkt: #17211f;
  --tekst: #2b3634;
  --grijs: #66716f;
  --papier: #f6f4ef;
  --wit: #ffffff;
  --lijn: #e3e0d8;
  --kop: "Fraunces", Georgia, serif;
  --romp: "Inter", system-ui, -apple-system, sans-serif;
  --breed: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--romp); color: var(--tekst); background: var(--papier); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(var(--breed), 100% - 40px); margin-inline: auto; }

.strook { background: var(--inkt); color: #cfd9d6; font-size: 13px; text-align: center; padding: 6px 12px; }

/* Kop */
.kop { position: sticky; top: 0; z-index: 10; background: rgba(246, 244, 239, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--lijn); }
.kop .wrap { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; letter-spacing: .02em; }
.logo img { width: 46px; height: 46px; }
.menu { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.menu a { text-decoration: none; font-size: 15px; color: var(--tekst); }
.menu a:hover, .menu a.actief { color: var(--salie-donker); }
.taal { font-size: 13px; color: var(--grijs); text-decoration: none; }
.knop { display: inline-flex; align-items: center; gap: 8px; background: var(--inkt); color: var(--wit); text-decoration: none; padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 500; transition: background .2s; }
.knop:hover { background: var(--salie-donker); }
.knop.licht { background: transparent; color: var(--inkt); border: 1px solid var(--inkt); }
.knop.licht:hover { background: var(--inkt); color: var(--wit); }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.oogje { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--salie-donker); font-weight: 600; margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--kop); font-weight: 500; color: var(--inkt); line-height: 1.08; margin: 0; letter-spacing: -.01em; }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); }
.hero h1 em { font-style: italic; color: var(--salie-donker); }
.hero .lead { font-size: 20px; max-width: 30em; margin: 26px 0 34px; color: var(--tekst); }
.hero .acties { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-beeld { position: relative; margin: 0; }
.hero-beeld img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; }
.hero-beeld figcaption { position: absolute; left: 20px; bottom: 20px; background: var(--wit); border-radius: 999px; padding: 8px 16px; font-size: 13px; }

/* Secties */
section { padding: 88px 0; }
.sectiekop { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.sectiekop h2 { font-size: clamp(32px, 4vw, 48px); }
.pijl { font-size: 15px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }

/* Projectkaarten */
.raster { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
.kaart { text-decoration: none; display: block; }
.kaart .beeld { overflow: hidden; border-radius: 18px; background: var(--lijn); position: relative; }
.kaart img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease; }
.kaart:hover img { transform: scale(1.03); }
.kaart .label { position: absolute; top: 16px; left: 16px; background: var(--wit); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.kaart .speel { position: absolute; right: 16px; bottom: 16px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; }
.kaart .speel::after { content: ""; border-left: 14px solid var(--inkt); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.kaart h3 { font-size: 26px; margin: 18px 0 4px; }
.kaart p { margin: 0; color: var(--grijs); font-size: 15px; }
.raster.klein { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.raster.klein h3 { font-size: 19px; margin-top: 12px; }
.raster.klein img { aspect-ratio: 4 / 3; }

/* Diensten */
.donker { background: var(--inkt); color: #d6dedc; }
.donker h2, .donker h3 { color: var(--wit); }
.diensten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); border-radius: 18px; overflow: hidden; }
.dienst { background: var(--inkt); padding: 32px 28px 36px; }
.dienst .nr { font-family: var(--kop); font-style: italic; color: var(--salie); font-size: 20px; }
.dienst h3 { font-size: 24px; margin: 14px 0 12px; }
.dienst p { font-size: 15px; margin: 0 0 16px; }
.dienst ul { list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--salie); }
.dienst li + li { margin-top: 4px; }

/* Opdrachtgevers */
.klanten { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; font-family: var(--kop); font-size: 22px; color: var(--grijs); }
.klanten span { white-space: nowrap; }

/* Over */
.over .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.over img { border-radius: 24px; aspect-ratio: 1; object-fit: cover; }
.over p { font-size: 18px; }

/* Contact */
.contactband { background: var(--salie); color: var(--inkt); border-radius: 28px; padding: 64px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.contactband h2 { font-size: clamp(34px, 4.4vw, 54px); }
.contactband .gegevens { font-size: 18px; }
.contactband .gegevens a { display: block; text-decoration: none; margin-bottom: 6px; }
.contactband .knop { margin-top: 18px; }

/* Voet */
.voet { padding: 48px 0 56px; font-size: 14px; color: var(--grijs); }
.voet .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--lijn); padding-top: 32px; }
.voet a { text-decoration: none; margin-left: 20px; }

/* Projectpagina */
.kruimel { font-size: 14px; color: var(--grijs); margin: 48px 0 20px; }
.kruimel a { text-decoration: none; }
.project-kop h1 { font-size: clamp(42px, 6vw, 76px); max-width: 14em; }
.project-kop .lead { font-size: 21px; max-width: 36em; margin: 22px 0 0; }
.meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--lijn); border-bottom: 1px solid var(--lijn); padding: 22px 0; margin: 44px 0; font-size: 15px; }
.meta dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--grijs); margin-bottom: 4px; }
.meta dd { margin: 0; color: var(--inkt); }
.groot-beeld img { width: 100%; border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(23, 33, 31, .35); }
.verhaal { display: grid; grid-template-columns: 220px 1fr; gap: 48px; max-width: 900px; margin: 0 auto; }
.verhaal + .verhaal { margin-top: 56px; }
.verhaal h2 { font-size: 30px; }
.verhaal p { margin: 0 0 14px; font-size: 18px; }
.verhaal ul { margin: 0; padding-left: 20px; font-size: 17px; }
.duo { display: grid; grid-template-columns: .45fr 1fr; gap: 32px; align-items: stretch; }
.duo img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.duo .mobiel { background: var(--salie-licht); border-radius: 20px; display: grid; place-items: center; padding: 32px; }
.duo .mobiel img { width: auto; max-height: 560px; height: auto; border-radius: 28px; box-shadow: 0 20px 40px -20px rgba(23, 33, 31, .4); }
.cijfers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cijfer { background: var(--wit); border-radius: 18px; padding: 28px; }
.cijfer strong { display: block; font-family: var(--kop); font-weight: 500; font-size: 44px; color: var(--salie-donker); line-height: 1; margin-bottom: 8px; }
.volgende { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--lijn); padding-top: 32px; }
.volgende a { text-decoration: none; font-family: var(--kop); font-size: 28px; color: var(--inkt); }

/* Telefoon */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .kop .wrap { gap: 12px; }
  .kop > .wrap > .knop { margin-left: auto; padding: 10px 16px; font-size: 14px; }
  .menu { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--papier); border-bottom: 1px solid var(--lijn); padding: 8px 20px 16px; margin: 0; }
  .menu.open { display: flex; }
  .menu a { padding: 12px 0; font-size: 18px; border-bottom: 1px solid var(--lijn); }
  .menu a:last-child { border-bottom: 0; }
  .hero { padding: 40px 0 64px; }
  .hero .wrap, .over .wrap, .contactband, .duo { grid-template-columns: 1fr; gap: 36px; }
  .hero-beeld img { aspect-ratio: 4 / 3; }
  section { padding: 64px 0; }
  .raster { grid-template-columns: 1fr; }
  .raster.klein { grid-template-columns: repeat(2, 1fr); }
  .diensten { grid-template-columns: 1fr; }
  .contactband { padding: 36px 24px; }
  .meta { grid-template-columns: repeat(2, 1fr); }
  .verhaal { grid-template-columns: 1fr; gap: 12px; }
  .cijfers { grid-template-columns: 1fr; }
  .sectiekop { flex-direction: column; align-items: start; }
}

/* Websites tonen in een lijstje op salie, zodat labels niets van de site afdekken */
.kaart .beeld.site { background: var(--salie-licht); padding: 56px 40px 0; aspect-ratio: 16 / 10; }
.kaart .beeld.site img { aspect-ratio: auto; height: 100%; object-fit: cover; object-position: top; border-radius: 10px 10px 0 0; box-shadow: 0 10px 30px -12px rgba(23, 33, 31, .35); }
.contactband .gegevens a.knop { display: inline-flex; }

/* Mobiele menuknop */
.menuknop { display: none; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.menuknop span { display: block; height: 2px; background: var(--inkt); border-radius: 2px; transition: transform .2s; }
.menuknop[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menuknop[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--salie-donker); outline-offset: 3px; }

/* Kopje en intro van een gewone pagina */
.pagina-intro { padding: 64px 0 24px; }
.pagina-intro h1 { font-size: clamp(42px, 6vw, 72px); }
.pagina-intro .lead { font-size: 20px; max-width: 36em; margin: 20px 0 0; }
.lead-klein { font-size: 18px; margin: 16px 0 0; }

/* Filter op /werk */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 40px; }
.filter button { font: inherit; font-size: 15px; background: transparent; color: var(--inkt); border: 1px solid var(--lijn); border-radius: 999px; padding: 9px 18px; cursor: pointer; }
.filter button:hover { border-color: var(--inkt); }
.filter button[aria-pressed="true"] { background: var(--inkt); border-color: var(--inkt); color: var(--wit); }
.werkraster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.werkraster h3 { font-size: 22px; }
.kaart[hidden] { display: none; }
@media (max-width: 1100px) and (min-width: 861px) { .werkraster { grid-template-columns: repeat(2, 1fr); } }

/* Video die pas laadt na een klik */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--inkt); border-radius: 20px; overflow: hidden; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-knop { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.video-knop .speel { position: static; width: 76px; height: 76px; border-radius: 50%; background: rgba(255, 255, 255, .95); display: grid; place-items: center; transition: transform .2s; }
.video-knop .speel::after { content: ""; border-left: 22px solid var(--inkt); border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.video-knop:hover .speel { transform: scale(1.06); }
.video-melding { margin: 12px 0 0; font-size: 13px; color: var(--grijs); }
.videos { display: grid; gap: 28px; }
.videos.twee { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .videos.twee { grid-template-columns: 1fr; } }

/* Lopende tekst uit het beheer */
.prose { max-width: 720px; font-size: 18px; }
.prose h2 { font-size: 30px; margin: 44px 0 14px; }
.prose h3 { font-size: 22px; margin: 32px 0 10px; }
.prose a { color: var(--salie-donker); }
.prose ul { padding-left: 22px; }

/* Credits op de projectpagina */
.credits { list-style: none; padding: 0; margin: 0; font-size: 16px; color: var(--grijs); }
.credits li + li { margin-top: 4px; }

/* Contactpagina en formulier */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 72px; align-items: start; }
.formulier { display: grid; gap: 18px; }
.form-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.formulier label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--inkt); }
.formulier input, .formulier textarea { width: 100%; font: inherit; font-size: 16px; color: var(--inkt); background: var(--wit); border: 1px solid var(--lijn); border-radius: 12px; padding: 13px 14px; }
.formulier textarea { min-height: 170px; resize: vertical; }
.formulier .knop { justify-self: start; border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 500; }
.verborgen { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.melding { border-radius: 12px; padding: 14px 16px; margin-bottom: 20px; font-size: 16px; }
.melding.ok { background: var(--salie-licht); color: var(--inkt); }
.melding.fout { background: #f6dcd8; color: #6b2119; }
.gegevens-blok { background: var(--wit); border-radius: 20px; padding: 32px; }
.gegevens-blok h2 { font-size: 26px; margin-bottom: 16px; }
.gegevens-blok a { display: block; text-decoration: none; font-size: 18px; margin-bottom: 8px; }
.gegevens-blok p { color: var(--grijs); font-size: 15px; }

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

/* Extra foto's op de projectpagina */
.fotos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-bottom: 24px; }
.fotos img { width: 100%; border-radius: 20px; aspect-ratio: 3 / 2; object-fit: cover; }
.fotos img:only-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (max-width: 860px) { .fotos { grid-template-columns: 1fr; } }

/* Diensten-pagina */
.dienst-rij { max-width: none; grid-template-columns: 320px 1fr; padding: 40px 0; border-top: 1px solid var(--lijn); }
.dienst-rij + .dienst-rij { margin-top: 0; }
.dienst-rij .nr { font-family: var(--kop); font-style: italic; color: var(--salie-donker); font-size: 20px; }
.dienst-rij h2 { margin-top: 8px; }
.voorbeelden { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.voorbeelden li { background: var(--wit); border-radius: 999px; padding: 6px 14px; font-size: 15px; }
.voorbeelden a { text-decoration: none; color: var(--salie-donker); }

/* Over-pagina */
.over-kop { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.over-kop img { border-radius: 24px; aspect-ratio: 1; object-fit: cover; }
.bio { max-width: 720px; }
.bio p { font-size: 17px; }
.hulptekst { color: var(--grijs); font-size: 14px !important; margin-bottom: 0; }
@media (max-width: 860px) {
  .dienst-rij { grid-template-columns: 1fr; }
  .over-kop { grid-template-columns: 1fr; gap: 32px; }
}

/* Telefoon: staat achteraan zodat het de gewone regels hierboven overschrijft */
@media (max-width: 860px) {
  .werkraster { grid-template-columns: 1fr; }
  .form-rij { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .menuknop { display: flex; }
  .gegevens-blok { padding: 24px; }
  .gegevens-blok a { overflow-wrap: anywhere; }
}
