:root {
  --blue: #2a93d0;
  --blue-dark: #1b6fa3;
  --orange: #f39200;
  --ink: #1f2a33;
  --muted: #5b6770;
  --bg: #f6f9fb;
  --card: #ffffff;
  --line: #e1e8ee;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
a { color: var(--blue-dark); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }

/* Header */
header { background: var(--card); border-bottom: 4px solid var(--orange); }
.brand { display: flex; align-items: center; gap: 20px; padding: 20px 0; }
.brand .emblem {
  flex: none; width: 96px; height: 96px; border-radius: 50%;
  overflow: hidden; background: url("../img/logo-adres.png") no-repeat -6px -9px / 250px 100px;
  clip-path: circle(45% at 47% 50%);
}
.brand img.wordmark { width: min(420px, 100%); height: auto; display: block; }
.brand .sub { margin: 6px 0 0; color: var(--muted); font-weight: 600; }

/* Hero */
.hero { position: relative; }
.hero img { display: block; width: 100%; height: clamp(200px, 38vw, 380px); object-fit: cover; }
.notice {
  position: relative; margin: -48px auto 0; max-width: 720px;
  background: var(--blue); color: #fff; border-radius: 14px;
  padding: 20px 24px; box-shadow: 0 10px 30px rgba(20, 60, 90, .18);
  text-align: center;
}
.notice h1 { margin: 0 0 4px; font-size: clamp(1.3rem, 3.5vw, 1.7rem); font-weight: 800; }
.notice p { margin: 0; opacity: .95; }

/* Sections */
main { padding: 40px 0 56px; }
.grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
h2 { margin: 0 0 14px; font-size: 1.25rem; font-weight: 800; color: var(--blue-dark); }
h2::after { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--orange); margin-top: 6px; }

address { font-style: normal; }
.contact dt { font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 14px; }
.contact dt:first-child { margin-top: 0; }
.contact dd { margin: 2px 0 0; font-size: 1.05rem; }
.map-link { display: inline-block; margin-top: 16px; font-weight: 700; }
.school-photo { margin-top: 20px; border-radius: 10px; overflow: hidden; }
/* originele foto heeft grijze randen links/rechts (12,5%) – die vallen buiten beeld */
.school-photo img { display: block; width: 133.5%; margin-left: -16.75%; height: auto; aspect-ratio: 1024 / 360; }

.docs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.docs a {
  display: flex; align-items: center; gap: 12px; height: 100%;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  text-decoration: none; color: var(--ink); background: #fbfdfe;
  transition: border-color .15s, background .15s, transform .15s;
}
.docs a:hover, .docs a:focus-visible { border-color: var(--blue); background: #eef7fd; transform: translateY(-1px); }
.docs .ico {
  flex: none; width: 34px; height: 40px; border-radius: 4px; background: var(--orange);
  color: #fff; font-size: .62rem; font-weight: 800; display: grid; place-items: center; letter-spacing: .03em;
}
.docs .name { font-weight: 700; line-height: 1.3; }
.docs .meta { display: block; font-size: .82rem; color: var(--muted); font-weight: 400; }

footer { background: var(--ink); color: #c9d3da; font-size: .9rem; }
footer .wrap { padding: 20px 16px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; }
  .brand { gap: 14px; }
  .brand .emblem { width: 72px; height: 72px; background-size: 188px 75px; background-position: -5px -7px; }
  .notice { margin: -32px 16px 0; }
}

.card h3 { margin: 22px 0 10px; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.card h2 + h3 { margin-top: 0; }
