/* EEKAY a11y/AA-fixes bovenop de Carrd-export (concept 27 nov 2026). */
:root { --eekay-pink-aa: #c9455c; } /* 4.68:1 met wit; origineel #d46679 = 3.51:1 */

/* Zichtbare focus voor alles wat je met het toetsenbord bereikt */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #ffd166 !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 5px rgba(23, 13, 46, 0.9) !important;
}
.form-component input[type="checkbox"]:focus-visible + label::before {
  outline: 3px solid #ffd166 !important;
  outline-offset: 2px !important;
}

/* Zichtbare labels boven de velden (placeholder blijft als voorbeeld) */
.eekay-field-label {
  display: block;
  margin: 0 0 0.3rem;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  text-align: left;
}
.eekay-field-label .eekay-optional { font-weight: 400; opacity: 0.85; }

/* Privacy-regel en chatknop bij de formulieren */
.eekay-form-privacy,
.eekay-chat-note {
  margin: 0.75rem 0 0;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
}
/* Privacy-regel even breed als het formulier en volgens de uitlijning van de kolom */
.eekay-form-privacy {
  width: 23rem;
  max-width: 100%;
  margin-left: var(--margin-left, 0);
  margin-right: var(--margin-right, auto);
  box-sizing: border-box;
}
.eekay-form-privacy a,
.eekay-chat-note a { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }
.eekay-chat-optin { margin: 1.25rem 0 0; text-align: left; }
.eekay-chat-start {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1.25rem;
  border: 2px solid #fff;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.eekay-chat-start:hover { background: rgba(255, 255, 255, 0.12); }
.eekay-chat-start[disabled] { opacity: 0.8; cursor: progress; }

/* Footer-links */
.eekay-footer-links a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }

/* "Zo werk ik": tekst op de blauwe achtergrond volledig wit voor AA */
#eekay-nl-howto, #eekay-en-howto { --eekay-text: #fff; --eekay-muted: #fff; }
#eekay-nl-howto .eekay-steps li::before,
#eekay-en-howto .eekay-steps li::before { background: rgba(23, 13, 46, 0.55); }

/* Pauzeknop pixel-Edwin (WCAG 2.2.2) */
.pixel-edwin-toggle {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 41;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(23, 13, 46, 0.92);
  color: #fff;
  font-size: 0.8rem;
  line-height: 1;
  letter-spacing: -0.1em;
  cursor: pointer;
}
#pixel-edwin.is-paused { cursor: default; }

/* Header-afbeeldingen hebben width/height-attributen (beeldverhouding vooraf, tegen layout shift).
   De CSS blijft de maat bepalen: breedte uit Carrd, hoogte volgt de verhouding. */
#image34 img, #image12 img, #image17 img, #image16 img, #image04 img, #image11 img,
#image45 img, #image14 img, #image19 img, #image18 img, #image10 img, #image05 img { height: auto; }
