/* De openbare website van Animis. Rustig, veel ruimte, geen beelden behalve
   het logo. Zelfde letter als het portaal: Nunito, uit deze map, zodat de
   site niets van buiten laadt. Gemaakt voor een breed scherm en een iPad. */

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('lettertypen/nunito.latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('lettertypen/nunito.latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --marine: #2B2D6E;
  --zalm: #E07B6A;
  --wit: #ffffff;
  --lichtgrijs: #f3f3f6;
  --lijn: #e2e2ea;
  --tekst-zacht: #55577f;
  --breedte: 64rem;
  --tekstbreedte: 38rem;
}

* { box-sizing: border-box; }

html { font-size: 100%; }

body {
  margin: 0;
  background: var(--wit);
  color: var(--marine);
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.binnen {
  max-width: var(--breedte);
  margin: 0 auto;
  padding: 0 3rem;
}

/* --- kop ------------------------------------------------------------ */

.kop { padding: 2.5rem 0 0; }
.logo { display: block; width: 11rem; height: auto; }

/* --- held ----------------------------------------------------------- */

.held { padding: 7rem 0 8rem; }

h1, h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
  max-width: 44rem;
}

/* Een kort streepje in de kleur van het hartje boven de kop. */
h1::before, h2::before {
  content: "";
  display: block;
  width: 3rem;
  height: 0.25rem;
  margin-bottom: 2rem;
  border-radius: 0.125rem;
  background: var(--zalm);
}

.inleiding {
  max-width: var(--tekstbreedte);
  margin: 2.5rem 0 0;
  font-size: 1.3rem;
  color: var(--tekst-zacht);
}

/* --- voor uitvaartondernemers -------------------------------------- */

.ondernemers {
  padding: 6rem 0;
  background: var(--lichtgrijs);
}

h2 { font-size: 2rem; line-height: 1.3; }
h2::before { margin-bottom: 1.5rem; }

.ondernemers p {
  max-width: var(--tekstbreedte);
  margin: 1.5rem 0 2.5rem;
  color: var(--tekst-zacht);
}

.knop {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  border-radius: 0.5rem;
  background: var(--marine);
  color: var(--wit);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.knop:hover { background: #3a3d8a; }
.knop:focus-visible { outline: 3px solid var(--zalm); outline-offset: 3px; }

/* --- contact -------------------------------------------------------- */

.contact { padding: 6rem 0; }
.contact p { margin: 0; font-size: 1.3rem; max-width: 44rem; }

a { color: var(--marine); text-decoration-color: var(--zalm); text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
a:hover { color: var(--zalm); }
a:focus-visible { outline: 3px solid var(--zalm); outline-offset: 2px; border-radius: 2px; }

/* --- voet ----------------------------------------------------------- */

.voet {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--lijn);
  font-size: 0.95rem;
  color: var(--tekst-zacht);
}
.voet .binnen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.5rem;
  align-items: baseline;
}
.voet a { color: var(--tekst-zacht); margin-left: auto; }
.voet a:hover { color: var(--marine); }

/* --- iPad staand en kleiner ----------------------------------------- */

@media (max-width: 900px) {
  .binnen { padding: 0 2.5rem; }
  .held { padding: 5rem 0 6rem; }
  h1 { font-size: 2.5rem; }
  .ondernemers, .contact { padding: 4.5rem 0; }
}
