/* ============================================================
   FAMILIE PORTAAL — HUISSTIJL
   Achtergrond  Warm Ivory  #F7F3EC
   Titels       Navy        #14284A
   Accenten     Gold        #C8A25A
   Buttons      Navy met Ivory tekst, hover Gold
   ============================================================ */

:root {
  --ivory:      #F7F3EC;
  --navy:       #14284A;
  --navy-soft:  #51607B;
  --gold:       #C8A25A;
  --gold-soft:  #EFE3CB;
  --card:       #FFFEFA;
  --line:       #E7DFD0;
  --fout:       #A8423C;
  --goed:       #3E7A52;

  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Work Sans", "Segoe UI", sans-serif;

  --radius: 14px;
  --schaduw: 0 10px 30px -18px rgba(20, 40, 74, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100%;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); }

p { margin: 0 0 1em; color: var(--navy-soft); }

a { color: var(--navy); }

/* ---------- Signatuur: gouden sierlijn ---------- */
.sierlijn {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px auto 22px;
  max-width: 220px;
}
.sierlijn::before,
.sierlijn::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gold);
}
.sierlijn span {
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}

/* ---------- Knoppen ---------- */
.knop {
  display: inline-block;
  background: var(--navy);
  color: var(--ivory);
  border: 1px solid var(--navy);
  border-radius: 999px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.knop:hover,
.knop:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.knop:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 2px; }

.knop--stil {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.knop--stil:hover,
.knop--stil:focus-visible {
  background: transparent;
  border-color: var(--gold);
  color: var(--navy);
}

/* ---------- Topbalk op binnenpagina's ---------- */
.topbalk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px clamp(16px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}
.topbalk__merk {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}
.topbalk__merk img { height: 38px; width: auto; display: block; }
.topbalk__merk strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}
.topbalk nav { display: flex; gap: 10px; }
.topbalk .knop { padding: 8px 18px; font-size: 0.9rem; }

/* ---------- Pagina-indeling ---------- */
.pagina {
  max-width: 1020px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 32px) 72px;
}
.pagina--smal { max-width: 760px; }

.pagina-kop { text-align: center; margin-bottom: clamp(22px, 4vw, 40px); }
.pagina-kop .eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

/* ---------- Tegels (kinderen) ---------- */
.tegels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.tegel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 22px 28px;
  text-align: center;
  text-decoration: none;
  color: var(--navy);
  box-shadow: var(--schaduw);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.tegel:hover,
.tegel:focus-visible {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.tegel:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 2px; }
.tegel__medaillon {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--ivory);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 5px var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
}
.tegel h2 { margin-bottom: 2px; }
.tegel small { color: var(--navy-soft); }

/* ---------- App-kaarten ---------- */
.appkaarten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.appkaart {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: var(--navy);
  box-shadow: var(--schaduw);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.appkaart:hover,
.appkaart:focus-visible {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.appkaart:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 2px; }
.appkaart__icoon { font-size: 1.7rem; line-height: 1; }
.appkaart h3 { margin: 0; font-size: 1.15rem; }
.appkaart p { margin: 0; font-size: 0.93rem; }
.appkaart span.open {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Formulieren ---------- */
.veld { margin-bottom: 16px; text-align: left; }
.veld label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.veld input[type="text"],
.veld input[type="password"],
.veld input[type="number"],
.veld textarea,
.veld select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  padding: 12px 14px;
  font: inherit;
  color: var(--navy);
}
.veld input:focus,
.veld textarea:focus,
.veld select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.melding-fout {
  background: #F6E4E2;
  border: 1px solid var(--fout);
  color: var(--fout);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.92rem;
  margin-bottom: 16px;
}

/* ---------- Diversen ---------- */
.kaart {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
  padding: clamp(22px, 4vw, 40px);
}

footer.site-voet {
  text-align: center;
  padding: 26px 16px 40px;
  color: var(--navy-soft);
  font-size: 0.85rem;
}
footer.site-voet .sierlijn { margin-bottom: 12px; max-width: 140px; }

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