:root {
  /* pastelpalet uit de banner */
  color-scheme: light;
  --bg: #fcc7cb;
  --bg-alt: #ffbcc4;
  --card: rgb(255 255 255 / .3);
  --text: #001e30;
  --muted: #3d5566;
  --accent: #8fd4ff;
  --accent-text: #001e30;
  --red: #ff6f78;
  --border: #f4a9b2;
}

/* Kopjes: Berlin Sans FB Demi als die op het apparaat staat (Windows/Office).
   Het font zelf mag zonder weblicentie niet meegeleverd worden, dus anders het gratis Fredoka (OFL). */
@font-face {
  font-family: "Fredoka";
  src: url("fonts/fredoka-600.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
}
h1, h2, h3 { font-family: "Berlin Sans FB Demi", "Fredoka", system-ui, sans-serif; font-weight: 700; }

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
}

.banner-band { display: flex; justify-content: center; padding: 1rem 1rem .5rem; }
.banner-band img { display: block; height: clamp(110px, 18vw, 180px); width: auto; }

.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  align-items: center; justify-content: center;
  padding: .6rem 1rem;
  background: var(--bg);
  border-block: 1px solid var(--border);
}
.nav nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem; }
.nav nav a { color: inherit; text-decoration: none; font-weight: 500; padding: .25rem 0; border-bottom: 3px solid transparent; }
.nav nav a:hover { border-color: var(--accent); }
.nav nav a[aria-current="page"] { border-color: var(--red); }
h2::after { content: ""; display: block; width: 3rem; height: 4px; margin-top: .5rem; background: var(--red); }
.hero h2::after, .center h2::after { margin-inline: auto; }

section { max-width: 64rem; margin: 0 auto; padding: 4rem 1rem; }
section:nth-of-type(even) { background: var(--bg-alt); max-width: none; }
section:nth-of-type(even) > * { max-width: 62rem; margin-left: auto; margin-right: auto; }
h1 { font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1.15; margin: 0 0 1rem; }
h2 { font-size: 1.8rem; margin-top: 0; }
p { color: var(--muted); }

.hero, .center { text-align: center; }
.hero { padding: 3rem 1rem 4rem; }
.hero p { font-size: 1.2rem; max-width: 40rem; margin: 0 auto 2rem; }

.button {
  display: inline-block;
  padding: .75rem 1.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
}
.button:hover, .button:focus-visible { filter: brightness(1.05); }
.button.secondary { background: var(--card); border: 1px solid var(--border); }

.cards, .team, .specs, .sponsors {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}
.card, .specs > div, .team li, .sponsors span {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: .75rem;
  background: var(--card);
}
.card h3 { margin-top: 0; }
.card.link { color: inherit; text-decoration: none; }
.card.link:hover { border-color: var(--red); }

.specs { margin: 2rem 0 0; }
.specs dt { color: var(--muted); font-size: .9rem; }
.specs dd { margin: 0; font-size: 1.2rem; font-weight: 600; }
.note { font-size: .85rem; font-style: italic; }
.goal {
  margin: 1.5rem 0; padding: 1.25rem 1.5rem; font-size: 1.25rem; font-weight: 600; color: var(--text);
  background: var(--card); border-left: 4px solid var(--red); border-radius: .75rem;
}
.formula {
  margin: 1.5rem 0; padding: 1.25rem; text-align: center;
  font-size: clamp(1.2rem, 4vw, 1.6rem); color: var(--text);
  background: var(--card); border: 1px solid var(--border); border-radius: .75rem;
}
var { font-family: Georgia, "Times New Roman", serif; }
section > h3 { margin-top: 2.5rem; }
.legend dt { font-size: 1.5rem; color: var(--text); }
.legend dd { font-size: 1rem; font-weight: 400; color: var(--muted); }

.team { list-style: none; padding: 0; align-items: start; }
.team li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.team span { color: var(--muted); }
.team details { margin-top: .75rem; width: 100%; }
.team summary { cursor: pointer; font-weight: 600; color: var(--text); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.team details p { text-align: left; margin-bottom: 0; }
.team .photo {
  width: 8rem; height: 8rem; margin-bottom: .75rem; border-radius: 50%;
  display: grid; place-items: center; object-fit: cover;
  background: var(--accent); color: var(--accent-text); font-size: 2rem; font-weight: 700;
}

.sponsors span { text-align: center; color: var(--muted); border-style: dashed; }

.buttons { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

footer { text-align: center; padding: 2rem 1rem; border-top: 1px solid var(--border); }
footer p { margin: 0; font-size: .9rem; }
footer a { color: inherit; }
