/* Huisstijl naar www.bth-udenhout.nl: Lexend (tekst), Suranna (koppen), oranje #f97200,
   bruine menulinks #6a4302, groene footer #73a802. */
@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;700&family=Suranna&display=swap");

:root {
  --oranje: #f97200; --oranje-licht: #ffd0a9; --oranje-zacht: #fff4ea;
  --bruin: #6a4302; --donker: #3a2400; --groen: #73a802;
  --tekst: #3a2400; --zacht: #7a6650; --rand: #eadfd3; --wit: #fff;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: "Lexend", sans-serif; font-weight: 300; color: var(--tekst); background: #fff; line-height: 1.6; }
h1, h2, h3, h4 { font-family: "Suranna", serif; color: var(--oranje); font-weight: 400; line-height: 1.15; }
a { color: var(--oranje); }

/* navigatie */
.site-header { position: sticky; top: 0; z-index: 10; background: #fff; box-shadow: 0 2px 10px rgb(0 0 0 / 12%); }
.nav-wrap { max-width: 1400px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.logo { flex-shrink: 0; }  /* het logo mag niet door het brede menu worden samengedrukt */
.logo img { max-width: 150px; height: auto; display: block; }
/* het menu blijft op één regel: op middelgrote schermen iets compacter */
@media (min-width: 1001px) and (max-width: 1350px) { .menu a { padding: 8px 6px; font-size: 14px; } }
@media (min-width: 1001px) and (max-width: 1180px) { .menu a { padding: 8px 4px; font-size: 13px; } }
/* zoals op bth-udenhout.nl: bovenaan een groot logo, na 100 px scrollen een kleiner logo (klasse 'affix') */
@media (min-width: 992px) {
  .logo img { max-width: none; width: 240px; transition: width .5s ease; }
  .nav-wrap { transition: padding .5s ease; padding-top: 18px; padding-bottom: 18px; }
  .site-header.affix .logo img { width: 150px; }
  .site-header.affix .nav-wrap { padding-top: 10px; padding-bottom: 10px; }
}
.menu { list-style: none; display: flex; flex-wrap: nowrap; gap: 2px; margin: 0; padding: 0; justify-content: flex-end; }
.menu > li { position: relative; }
.menu a { display: block; white-space: nowrap; padding: 8px 9px; color: var(--bruin); text-decoration: none; font-size: 15px; }
.menu a:hover, .menu a.actief { color: var(--oranje); }
.menu a.actief { font-weight: 400; border-bottom: 2px solid var(--oranje); }
.menu ul { list-style: none; margin: 0; padding: 6px 0; position: absolute; left: 0; top: 100%; min-width: 230px; background: rgba(255,255,255,.97);
  box-shadow: 4px 4px 15px 4px rgba(0,0,0,.2); opacity: 0; visibility: hidden; transition: all .3s; }
.menu li:hover > ul, .menu li:focus-within > ul { opacity: 1; visibility: visible; }
.menu ul a { font-size: 14px; padding: 6px 16px; }
.menu-knop { display: none; background: none; border: 0; font-size: 26px; color: var(--bruin); cursor: pointer; }
@media (max-width: 1000px) {
  .menu-knop { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; padding: 8px 16px 16px; box-shadow: 0 8px 12px rgb(0 0 0 / 12%); }
  .menu.open { display: flex; }
  .menu ul { position: static; opacity: 1; visibility: visible; box-shadow: none; padding-left: 12px; }
  .nav-wrap { align-items: center; }
}

/* knoppen */
.knop { background: var(--oranje); color: #fff; border: 0; border-radius: 4px; padding: 10px 20px; font: inherit; font-weight: 400; cursor: pointer; text-decoration: none; display: inline-block; }
.knop:disabled { opacity: .5; cursor: default; }
.knop-rand { background: #fff; color: var(--bruin); border: 1px solid var(--rand); border-radius: 4px; padding: 6px 12px; font: inherit; cursor: pointer; }
.knop-rand:hover { border-color: var(--oranje); color: var(--oranje); }

/* footer */
.site-footer { background: var(--groen); color: #fff; padding: 28px 16px; margin-top: 40px; }
.site-footer div { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.site-footer a { color: #fff; text-decoration: none; }
