/* Huisstijl Sterk in Kinderopvang */
:root {
  --donkergroen: #2c5b4e;
  --groen: #5c9178;
  --terracotta: #ba6757;
  --zand: #dbc4ad;
  --lichtgroen: #cad8d1;
  --creme: #e8e1d7;
  --inkt: #33352f;
  --wit: #fff;
  --kop: "Playfair Display", Georgia, serif;
  --tekst: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--creme);
  color: var(--inkt);
  font-family: var(--tekst);
  font-weight: 300;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 {
  font-family: var(--kop);
  color: var(--donkergroen);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .6rem;
}

h1 { font-size: 1.7rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; color: var(--groen); }

p { line-height: 1.55; margin: 0 0 1rem; }
a { color: var(--donkergroen); }

.blad {
  max-width: 34rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

.kaart {
  background: var(--wit);
  border: 1px solid var(--zand);
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.merk {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.25rem;
  font-family: var(--kop);
  color: var(--donkergroen);
  font-size: .95rem;
  letter-spacing: .02em;
}
.merk::before {
  content: "";
  width: 1.9rem; height: 1.9rem;
  border-radius: 50%;
  background: var(--donkergroen);
  flex: none;
}

label { display: block; font-size: .85rem; color: var(--groen); margin-bottom: .3rem; }

input[type="text"], input[type="number"], textarea, select {
  width: 100%;
  font-family: var(--tekst);
  font-size: 1rem;
  padding: .7rem .8rem;
  border: 1px solid var(--zand);
  border-radius: 10px;
  background: var(--wit);
  color: var(--inkt);
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--groen);
  outline-offset: 1px;
  border-color: var(--groen);
}
textarea { min-height: 6rem; resize: vertical; }

.knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-family: var(--tekst);
  font-size: 1rem;
  font-weight: 400;
  padding: .75rem 1.1rem;
  border: 1px solid var(--donkergroen);
  border-radius: 10px;
  background: var(--donkergroen);
  color: var(--wit);
  cursor: pointer;
  text-decoration: none;
  min-height: 44px;
}
.knop:hover { background: #24493f; }
.knop[disabled] { opacity: .5; cursor: default; }
.knop.rustig { background: transparent; color: var(--donkergroen); }
.knop.rustig:hover { background: var(--lichtgroen); }
.knop.breed { width: 100%; }
.knop.waarschuwing { background: var(--terracotta); border-color: var(--terracotta); }
.knop.waarschuwing:hover { background: #a2574a; }

.knoppen { display: flex; flex-wrap: wrap; gap: .5rem; }

.code {
  font-family: var(--kop);
  font-size: 2.6rem;
  letter-spacing: .18em;
  color: var(--donkergroen);
  line-height: 1;
}

.stil { color: var(--groen); font-size: .85rem; }
.fout {
  background: #f6e3df;
  border: 1px solid var(--terracotta);
  color: #8d4034;
  border-radius: 10px;
  padding: .7rem .85rem;
  margin-bottom: 1rem;
  font-size: .9rem;
}
.gelukt {
  background: var(--lichtgroen);
  border: 1px solid var(--groen);
  border-radius: 10px;
  padding: .7rem .85rem;
  margin-bottom: 1rem;
  font-size: .9rem;
}
.verborgen { display: none !important; }

/* keuzes op de telefoon */
.keuzes { display: grid; gap: .6rem; }
.keuze {
  display: flex;
  align-items: center;
  gap: .7rem;
  width: 100%;
  text-align: left;
  font-size: 1.05rem;
  padding: 1rem;
  border: 1.5px solid var(--zand);
  border-radius: 12px;
  background: var(--wit);
  color: var(--inkt);
  cursor: pointer;
  min-height: 56px;
}
.keuze:hover { border-color: var(--groen); }
.keuze[aria-pressed="true"] { border-color: var(--donkergroen); background: var(--lichtgroen); }
.keuze .letter {
  flex: none;
  width: 1.9rem; height: 1.9rem;
  border-radius: 50%;
  background: var(--lichtgroen);
  color: var(--donkergroen);
  display: grid; place-items: center;
  font-size: .85rem;
}
.keuze[aria-pressed="true"] .letter { background: var(--donkergroen); color: var(--wit); }

.schaal { display: flex; gap: .5rem; }
.schaal button {
  flex: 1;
  font-size: 1.2rem;
  padding: 1rem .3rem;
  border: 1.5px solid var(--zand);
  border-radius: 12px;
  background: var(--wit);
  color: var(--inkt);
  cursor: pointer;
  min-height: 60px;
}
.schaal button[aria-pressed="true"] { background: var(--donkergroen); color: var(--wit); border-color: var(--donkergroen); }
.schaaluitleg { display: flex; justify-content: space-between; margin-top: .4rem; }

/* resultaten */
.balk { margin-bottom: .8rem; }
.balk .regel { display: flex; justify-content: space-between; font-size: .95rem; margin-bottom: .25rem; }
.balk .goot { background: var(--lichtgroen); border-radius: 6px; height: 1.6rem; overflow: hidden; }
.balk .vulling {
  height: 100%;
  background: var(--groen);
  border-radius: 6px;
  transition: width .4s ease;
}
.balk.hoogste .vulling { background: var(--donkergroen); }
.balk.goed .vulling { background: var(--donkergroen); }
.balk .vink { color: var(--groen); font-weight: 700; }

.wolk { display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: baseline; line-height: 1.4; }
.wolk span {
  font-family: var(--kop);
  color: var(--donkergroen);
  font-size: calc(var(--maat, 1) * 1rem);
}

.teksten { display: grid; gap: .6rem; }
.teksten blockquote {
  margin: 0;
  padding: .8rem 1rem;
  background: var(--wit);
  border-left: 4px solid var(--zand);
  border-radius: 0 10px 10px 0;
  font-size: 1rem;
  line-height: 1.5;
}
