/* Fonkelfoto's: eigen stylesheet in Fonkelzorg-huisstijl. Alle componenten dragen het voorvoegsel ef-.
   Geen inline styles in templates (CSP): variaties zitten in modifiers, afmetingen in custom properties. */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-v31-latin-ext.d16dfe26bcd7.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;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-v31-latin.311d352d9323.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;
}

:root {
  --ef-groenblauw: #337d82;
  --ef-geel: #e4c800;
  --ef-geel-licht: #fdf7cc;
  --ef-donker: #040210;
  --ef-tekst: #5d5d5d;
  --ef-vlak: #f4f7f7;
  --ef-lijn: #c9cfd0;
  --ef-rand: #f2f2f2;
  --ef-rand-zacht: #e3e6e7;
  --ef-groen: #48aa85;
  --ef-vink: #2f7a5c;
  --ef-rood: #9b2c2c;
  --ef-wit: #ffffff;
  --ef-font: "Montserrat", Arial, sans-serif;
  --ef-pil: 50px;
}

/* Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.ef-pagina, body.ef-beheerpagina, body.ef-schermpagina {
  margin: 0;
  font-family: var(--ef-font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ef-tekst);
  background: var(--ef-wit);
}
body.ef-beheerpagina { background: var(--ef-vlak); }
body.ef-schermpagina { background: var(--ef-groenblauw); color: var(--ef-wit); overflow: hidden; }
.ef-pagina a, .ef-beheerpagina a { color: var(--ef-groenblauw); }
.ef-pagina a:hover, .ef-beheerpagina a:hover { color: var(--ef-donker); }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--ef-donker); outline-offset: 2px; }
.ef-kop :focus-visible, .ef-balk :focus-visible, .ef-lightbox :focus-visible, .ef-schermpagina :focus-visible { outline-color: var(--ef-wit); }
.ef-verborgen { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* Gastpagina: smalle kolom, vult de hoogte van het scherm */
.ef-gast { max-width: 520px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; display: flex; flex-direction: column; background: var(--ef-wit); position: relative; }
.ef-gast__inhoud { flex: 1 1 auto; display: flex; flex-direction: column; }
.ef-gast__midden { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 32px; }
.ef-gast__titel { font-size: 24px; line-height: 30px; font-weight: 700; color: var(--ef-groenblauw); }
.ef-gast__tekst { font-size: 15px; line-height: 23px; }
.ef-merk { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ef-merk--groenblauw { color: var(--ef-groenblauw); }

/* Kop (groenblauwe hero) */
.ef-kop { background: var(--ef-groenblauw); color: var(--ef-wit); padding: 22px 20px 18px; display: flex; flex-direction: column; gap: 6px; }
.ef-kop__rij { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ef-kop__link, .ef-pagina .ef-kop__link { color: var(--ef-wit); font-size: 13px; font-weight: 600; text-decoration: none; padding: 10px 0; }
.ef-kop__link:hover, .ef-pagina .ef-kop__link:hover { color: var(--ef-wit); text-decoration: underline; }
.ef-kop__titel { font-size: 24px; line-height: 30px; font-weight: 700; }
.ef-kop__meta { font-size: 13px; }

/* Privacyregel */
.ef-privacyregel { padding: 10px 16px; background: var(--ef-vlak); font-size: 12px; line-height: 18px; }

/* Knoppen */
.ef-knop, .ef-pagina a.ef-knop, .ef-beheerpagina a.ef-knop {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 14px 20px;
  font: 700 15px/1.2 var(--ef-font); text-align: center; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--ef-pil); cursor: pointer;
  background: var(--ef-geel); color: var(--ef-donker);
  transition: background-color .15s, color .15s, border-color .15s;
}
.ef-knop:hover, .ef-pagina a.ef-knop:hover, .ef-beheerpagina a.ef-knop:hover { background: #f2e559; color: var(--ef-donker); }
.ef-knop[disabled], .ef-knop[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.ef-knop--omlijnd, .ef-pagina a.ef-knop--omlijnd, .ef-beheerpagina a.ef-knop--omlijnd { background: var(--ef-wit); color: var(--ef-groenblauw); border-color: var(--ef-groenblauw); }
.ef-knop--omlijnd:hover, .ef-pagina a.ef-knop--omlijnd:hover, .ef-beheerpagina a.ef-knop--omlijnd:hover { background: var(--ef-vlak); color: var(--ef-groenblauw); }
.ef-knop--vol, .ef-pagina a.ef-knop--vol, .ef-beheerpagina a.ef-knop--vol { background: var(--ef-groenblauw); color: var(--ef-wit); }
.ef-knop--vol:hover, .ef-pagina a.ef-knop--vol:hover, .ef-beheerpagina a.ef-knop--vol:hover { background: #2a686c; color: var(--ef-wit); }
.ef-knop--gevaar, .ef-beheerpagina a.ef-knop--gevaar { background: var(--ef-rood); color: var(--ef-wit); }
.ef-knop--gevaar:hover, .ef-beheerpagina a.ef-knop--gevaar:hover { background: #7f2222; color: var(--ef-wit); }
.ef-knop--tekst { min-height: 36px; padding: 6px; background: transparent; color: var(--ef-tekst); border: 0; font-weight: 600; font-size: 13px; text-decoration: underline; }
.ef-knop--tekst:hover { background: transparent; color: var(--ef-donker); }
.ef-knop--wit { background: var(--ef-wit); color: var(--ef-donker); }
.ef-knop--wit:hover { background: var(--ef-vlak); }
.ef-knop--wit-omlijnd { background: transparent; color: var(--ef-wit); border-color: var(--ef-wit); }
.ef-knop--wit-omlijnd:hover { background: rgba(255,255,255,.12); color: var(--ef-wit); }
.ef-knop--vierkant, .ef-pagina a.ef-knop--vierkant, .ef-beheerpagina a.ef-knop--vierkant { border-radius: 4px; }
.ef-knop--klein { min-height: 40px; padding: 9px 14px; font-size: 13px; }
.ef-knop--blok { display: flex; width: 100%; }
.ef-knop--rond { width: 56px; padding: 0; flex: 0 0 auto; }
.ef-knop--rond svg { width: 24px; height: 24px; flex: 0 0 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Actiebalk onderaan een gastscherm */
.ef-actiebalk { padding: 16px 16px 24px; display: flex; gap: 10px; align-items: stretch; }
.ef-actiebalk > .ef-knop:not(.ef-knop--rond) { flex: 1 1 0; }
.ef-actiebalk--zwevend { position: sticky; bottom: 0; background: linear-gradient(rgba(255,255,255,0), var(--ef-wit) 30%); padding-top: 24px; }
.ef-actiebalk--kolom { flex-direction: column; }
.ef-actiebalk__noot { font-size: 12px; line-height: 18px; text-align: center; }

/* Fotoraster en tegel */
.ef-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 3px; align-content: start; }
.ef-raster--ruim { gap: 8px; padding: 14px 16px; }
.ef-raster--ruim .ef-tegel { border-radius: 8px; }
.ef-raster--beheer { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; padding: 0; }
.ef-tegel { position: relative; display: flex; align-items: flex-end; justify-content: flex-end; aspect-ratio: 1 / 1; padding: 6px; background: var(--ef-vlak); overflow: hidden; border: 0; text-decoration: none; }
.ef-tegel__beeld { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ef-tegel__badge { position: relative; font-size: 11px; font-weight: 700; color: var(--ef-donker); background: var(--ef-wit); border-radius: var(--ef-pil); padding: 2px 7px; }
.ef-tegel__weg { position: absolute; top: 4px; right: 4px; z-index: 1; width: 44px; height: 44px; display: flex; align-items: flex-start; justify-content: flex-end; padding: 0; background: none; border: 0; cursor: pointer; }
.ef-tegel__weg::before { content: "\00d7"; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ef-wit); color: var(--ef-donker); font: 700 16px/1 var(--ef-font); }
.ef-tegel--bestand { align-items: center; justify-content: center; background: var(--ef-rand); font-size: 12px; font-weight: 700; color: var(--ef-tekst); }

/* Beheer: fototegel met naam en actie */
.ef-fototegel { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ef-fototegel .ef-tegel { border-radius: 6px; }
.ef-fototegel__rij { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 12px; }
.ef-fototegel__naam { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ef-donker); }
.ef-fototegel__actie { font: 600 12px var(--ef-font); color: var(--ef-groenblauw); background: transparent; border: 0; padding: 12px 0 12px 6px; cursor: pointer; }
.ef-fototegel__actie:hover { color: var(--ef-donker); }

/* Voortgang (een echte <progress>, geen breedte in een style-attribuut) */
.ef-voortgang { display: block; width: 100%; height: 10px; border: 0; border-radius: var(--ef-pil); overflow: hidden; background: var(--ef-rand); accent-color: var(--ef-groen); appearance: none; -webkit-appearance: none; }
.ef-voortgang::-webkit-progress-bar { background: var(--ef-rand); }
.ef-voortgang::-webkit-progress-value { background: var(--ef-groen); border-radius: var(--ef-pil); transition: width .3s; }
.ef-voortgang::-moz-progress-bar { background: var(--ef-groen); border-radius: var(--ef-pil); }
.ef-voortgangkop { padding: 28px 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.ef-voortgangkop__titel { font-size: 22px; line-height: 28px; font-weight: 700; color: var(--ef-groenblauw); }
.ef-voortgangkop__tekst { font-size: 14px; line-height: 21px; color: var(--ef-donker); }

/* Uploadrij */
.ef-uploadlijst { list-style: none; margin: 0; padding: 0 16px; display: flex; flex-direction: column; gap: 8px; }
.ef-uploadrij { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; background: var(--ef-wit); }
.ef-uploadrij__voorbeeld { width: 48px; height: 48px; border-radius: 6px; flex: 0 0 auto; background: var(--ef-vlak); object-fit: cover; }
.ef-uploadrij__tekst { flex: 1 1 auto; min-width: 0; font-size: 14px; color: var(--ef-donker); }
.ef-uploadrij__vink { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: var(--ef-vink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ef-uploadrij--mislukt { background: var(--ef-geel-licht); }
.ef-uploadrij .ef-uploadrij__vink, .ef-uploadrij .ef-uploadrij__opnieuw { display: none; }
.ef-uploadrij--klaar .ef-uploadrij__vink { display: block; }
.ef-uploadrij--mislukt .ef-uploadrij__opnieuw { display: inline-flex; }

/* Formulier */
.ef-formulier { padding: 6px 16px 0; display: flex; flex-direction: column; gap: 14px; }
.ef-veld { display: flex; flex-direction: column; gap: 6px; }
.ef-label { font-size: 13px; font-weight: 600; color: var(--ef-donker); }
.ef-invoer { font: 400 16px/1.4 var(--ef-font); padding: 12px 14px; width: 100%; border: 1px solid var(--ef-lijn); border-radius: 8px; color: var(--ef-donker); background: var(--ef-wit); }
.ef-invoer::placeholder { color: #767676; }
.ef-invoer:focus { border-color: var(--ef-groenblauw); }
.ef-invoer--klein { font-size: 14px; padding: 8px 10px; border-radius: 4px; width: auto; }
.ef-hulp { font-size: 12px; line-height: 18px; }
.ef-fout { font-size: 13px; line-height: 19px; color: var(--ef-rood); font-weight: 600; }
.ef-invoer[aria-invalid="true"] { border-color: var(--ef-rood); }

/* Melding */
.ef-melding { margin: 16px; padding: 14px 16px; border-radius: 8px; background: var(--ef-geel-licht); color: var(--ef-donker); font-size: 14px; line-height: 21px; }

/* Balk bovenaan een gastscherm met titel (kiezen) */
.ef-schermbalk { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 16px; border-bottom: 1px solid var(--ef-rand); }
.ef-schermbalk__titel { font-size: 16px; font-weight: 700; color: var(--ef-donker); text-align: center; }
.ef-schermbalk__link { font: 600 14px var(--ef-font); text-decoration: none; padding: 12px 0; min-width: 72px; background: none; border: 0; cursor: pointer; color: var(--ef-groenblauw); }
.ef-schermbalk__link:last-child { text-align: right; }

/* Bottom sheet (dialoog) */
.ef-sheet { position: fixed; inset: auto 0 0 0; margin: 0 auto; width: 100%; max-width: 520px; max-height: 92dvh; overflow: auto; border: 0; padding: 24px 20px 28px; background: var(--ef-wit); color: var(--ef-tekst); border-radius: 16px 16px 0 0; }
.ef-sheet[open] { display: flex; flex-direction: column; gap: 14px; }
.ef-sheet::backdrop { background: rgba(4, 2, 16, .55); }
.ef-sheet__titel { font-size: 20px; line-height: 26px; font-weight: 700; color: var(--ef-groenblauw); }
.ef-sheet__tekst { font-size: 14px; line-height: 21px; }
.ef-sheet__acties { display: flex; gap: 10px; }
.ef-sheet__acties .ef-knop { flex: 1 1 0; min-height: 48px; font-size: 14px; }
.ef-keuzes { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.ef-keuze { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; color: var(--ef-donker); padding: 10px 12px; border: 1px solid var(--ef-rand-zacht); border-radius: 8px; cursor: pointer; }
.ef-keuze input { width: 18px; height: 18px; accent-color: var(--ef-groenblauw); flex: 0 0 auto; }

/* Lightbox (donker) */
.ef-lightbox { position: relative; min-height: 100vh; min-height: 100dvh; max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; background: var(--ef-donker); color: var(--ef-wit); }
.ef-lightbox a, .ef-pagina .ef-lightbox a { color: var(--ef-wit); }
.ef-lightbox a:hover, .ef-pagina .ef-lightbox a:hover { color: #f2e559; }
.ef-lightbox__balk { display: flex; align-items: center; justify-content: space-between; padding: 6px 16px; font-size: 13px; }
.ef-lightbox__sluiten { font-size: 14px; font-weight: 600; text-decoration: none; padding: 12px 0; }
.ef-lightbox__beeld { margin-top: 24px; flex: 0 1 auto; width: 100%; max-height: 62dvh; object-fit: contain; background: #0d0a1c; }
.ef-lightbox__info { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.ef-lightbox__naam { font-size: 15px; font-weight: 700; }
.ef-lightbox__tekst { font-size: 14px; line-height: 21px; }
.ef-lightbox__acties { padding: 0 16px 24px; display: flex; gap: 10px; }
.ef-lightbox__acties .ef-knop { flex: 1 1 0; font-size: 14px; }

/* Beheer */
.ef-balk { background: var(--ef-groenblauw); color: var(--ef-wit); padding: 14px 24px; display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; align-items: center; }
.ef-balk__naam { font-size: 16px; font-weight: 700; }
.ef-balk__gebruiker { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.ef-beheerpagina .ef-balk a, .ef-balk__uitloggen { color: var(--ef-wit); font: 600 14px var(--ef-font); background: none; border: 0; padding: 8px 0; cursor: pointer; text-decoration: underline; }
.ef-beheerpagina .ef-balk a:hover, .ef-balk__uitloggen:hover { color: #f2e559; }
.ef-beheer { max-width: 1296px; margin: 0 auto; padding: 24px; display: flex; flex-wrap: wrap; gap: 24px; }
.ef-zijlijst { flex: 1 1 240px; max-width: 300px; display: flex; flex-direction: column; gap: 8px; }
.ef-zijlijst__item, .ef-beheerpagina a.ef-zijlijst__item { display: block; padding: 12px 14px; border-radius: 8px; text-decoration: none; color: var(--ef-donker); }
.ef-zijlijst__item:hover, .ef-beheerpagina a.ef-zijlijst__item:hover { background: rgba(255,255,255,.6); color: var(--ef-donker); }
.ef-zijlijst__item--actief, .ef-beheerpagina a.ef-zijlijst__item--actief { background: var(--ef-wit); }
.ef-zijlijst__naam { display: block; font-size: 14px; font-weight: 700; }
.ef-zijlijst__datum { display: block; font-size: 12px; color: var(--ef-tekst); }
.ef-beheer__hoofd { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ef-kaart { background: var(--ef-wit); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.ef-kaart--rij { flex-direction: row; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.ef-kaart__kop { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.ef-kaart__titel { font-size: 18px; font-weight: 700; color: var(--ef-donker); }
.ef-kaart__groot { font-size: 28px; line-height: 34px; font-weight: 700; color: var(--ef-groenblauw); }
.ef-kaart__info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ef-kaart__acties { display: flex; flex-direction: column; gap: 10px; min-width: 220px; }
.ef-def { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: 14px; }
.ef-def dt { font-weight: 600; color: var(--ef-donker); }
.ef-gemeld { background: var(--ef-geel-licht); border-radius: 8px; padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.ef-gemeld__rij { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; background: var(--ef-wit); border-radius: 8px; padding: 10px; }
.ef-gemeld__foto { width: 72px; height: 72px; border-radius: 6px; flex: 0 0 auto; object-fit: cover; background: var(--ef-vlak); }
.ef-gemeld__tekst { flex: 1 1 200px; min-width: 0; font-size: 14px; line-height: 21px; color: var(--ef-donker); }
.ef-gemeld__reden { font-weight: 700; }
.ef-gemeld__meta { color: var(--ef-tekst); }
.ef-gemeld__acties { display: flex; gap: 8px; }
.ef-filter { display: flex; align-items: center; gap: 8px; font-size: 14px; }

/* Diashow: alles in em, zodat het scherm meeschaalt met een 16:9-venster van 1280 breed = 16px */
.ef-scherm { font-size: min(1.25vw, 2.2222vh); width: 100vw; height: 100vh; padding: 2.25em; display: grid; grid-template-columns: minmax(0, 1fr) 16.25em; gap: 1.75em; font-family: var(--ef-font); background: var(--ef-groenblauw); color: var(--ef-wit); overflow: hidden; }
.ef-scherm__hoofd { min-width: 0; min-height: 0; background: var(--ef-wit); border-radius: .75em; padding: .875em; display: flex; flex-direction: column; gap: .75em; }
.ef-scherm__beeld { position: relative; flex: 1 1 auto; min-height: 0; border-radius: .375em; background: #a2d0aa; overflow: hidden; }
.ef-scherm__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--ef-vlak); }
.ef-scherm__nieuw { position: absolute; top: .875em; left: .875em; z-index: 1; font-size: .875em; font-weight: 700; letter-spacing: .04em; color: var(--ef-donker); background: var(--ef-geel); border-radius: var(--ef-pil); padding: .43em .875em; }
.ef-scherm__ondertitel { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; color: var(--ef-donker); padding: 0 .25em; min-height: 1.5em; }
.ef-scherm__bijschrift { font-size: 1.5em; font-weight: 600; }
.ef-scherm__van { font-size: 1.125em; color: var(--ef-tekst); white-space: nowrap; }
.ef-scherm__zij { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: .875em; }
.ef-scherm__naam { font-size: 1.125em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ef-scherm__recent { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5em; }
.ef-scherm__recent li { aspect-ratio: 1 / 1; border-radius: .375em; border: .1875em solid var(--ef-wit); background: var(--ef-vlak); overflow: hidden; }
.ef-scherm__recent img { width: 100%; height: 100%; object-fit: cover; }
.ef-qrkaart { margin-top: auto; background: var(--ef-wit); border-radius: .75em; padding: 1em; display: flex; flex-direction: column; align-items: center; gap: .625em; color: var(--ef-donker); }
.ef-qrkaart__code { width: 9.375em; height: 9.375em; display: block; }
.ef-qrkaart__code svg { width: 100%; height: 100%; display: block; }
.ef-qrkaart__tekst { font-size: 1.0625em; font-weight: 700; text-align: center; }

/* Printkaart: ontwerp is 600 breed, alles schaalt mee met de breedte van de kaart (cqw) */
.ef-printwrap { container-type: inline-size; width: 100%; max-width: 600px; }
.ef-printkaart { --p: calc(100cqw / 600); width: 100%; aspect-ratio: 10 / 7; display: flex; background: var(--ef-wit); color: var(--ef-tekst); overflow: hidden; font-family: var(--ef-font); }
.ef-printkaart__tekst { flex: 1 1 0; min-width: 0; padding: calc(36 * var(--p)) calc(32 * var(--p)); display: flex; flex-direction: column; gap: calc(14 * var(--p)); }
.ef-printkaart__merk { font-size: calc(13 * var(--p)); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ef-groenblauw); }
.ef-printkaart__titel { font-size: calc(30 * var(--p)); line-height: 1.2; font-weight: 700; color: var(--ef-groenblauw); }
.ef-printkaart__uitleg { font-size: calc(15 * var(--p)); line-height: 1.53; }
.ef-printkaart__privacy { font-size: calc(12 * var(--p)); line-height: 1.5; }
.ef-printkaart__streep { margin-top: auto; width: calc(64 * var(--p)); height: calc(6 * var(--p)); background: var(--ef-geel); border-radius: calc(3 * var(--p)); }
.ef-printkaart__code { flex: 0 0 38.33%; background: var(--ef-groenblauw); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(14 * var(--p)); }
.ef-printkaart__qr { width: calc(150 * var(--p)); height: calc(150 * var(--p)); padding: calc(12 * var(--p)); background: var(--ef-wit); border-radius: calc(8 * var(--p)); }
.ef-printkaart__qr svg { width: 100%; height: 100%; display: block; }
.ef-printkaart__adres { font-size: calc(13 * var(--p)); font-weight: 600; color: var(--ef-wit); text-align: center; padding: 0 calc(8 * var(--p)); overflow-wrap: anywhere; }
.ef-printbalk { max-width: 600px; margin: 0 auto 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ef-printbalk__maat { display: flex; gap: 12px; font-size: 14px; color: var(--ef-donker); }

@page kaart-a6 { size: 148mm 105mm; margin: 0; }
@page kaart-a5 { size: 210mm 148mm; margin: 0; }
.ef-printkaart--a6 { page: kaart-a6; }
.ef-printkaart--a5 { page: kaart-a5; }

@media print {
  body.ef-beheerpagina, body.ef-pagina { background: var(--ef-wit); }
  .ef-geen-print, .ef-balk, .ef-printbalk { display: none !important; }
  .ef-printwrap { max-width: none; width: 100%; }
  .ef-printkaart { width: 100vw; height: 100vh; aspect-ratio: auto; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ef-printkaart__code { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Breder dan een telefoon */
@media (min-width: 600px) {
  .ef-gast { box-shadow: 0 0 0 1px var(--ef-rand); }
}
@media (max-width: 599px) {
  .ef-beheer { padding: 16px; }
  .ef-zijlijst { max-width: none; flex-basis: 100%; }
  .ef-balk { padding: 12px 16px; }
  .ef-kaart { padding: 20px 16px; }
  .ef-kaart__acties { min-width: 0; width: 100%; }
  .ef-gemeld { padding: 16px; }
  .ef-gemeld__acties { width: 100%; }
  .ef-gemeld__acties .ef-knop { flex: 1 1 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Diashow ingebed (styleguide en previews): schaalt met de breedte van de wrapper */
.ef-schermwrap { container-type: inline-size; width: 100%; max-width: 1280px; }
.ef-scherm--ingebed { font-size: 1.25cqw; width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* Bottom sheet als losse weergave (styleguide) */
.ef-sheet--statisch { position: static; display: flex; flex-direction: column; gap: 14px; max-width: 390px; margin: 0; border-radius: 16px; box-shadow: 0 0 0 1px var(--ef-rand-zacht); }

/* Styleguide: alleen voor templates/styleguide.html */
.ef-sg { max-width: 1100px; margin: 0 auto; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.ef-sg__titel { font-size: 28px; line-height: 34px; font-weight: 700; color: var(--ef-groenblauw); }
.ef-sg__wanneer { font-size: 14px; line-height: 21px; max-width: 70ch; }
.ef-sg__naam { font-size: 12px; color: var(--ef-tekst); }
.ef-sg__rij { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.ef-sg__telefoon { width: 390px; max-width: 100%; border: 1px solid var(--ef-rand-zacht); border-radius: 8px; overflow: hidden; background: var(--ef-wit); }
.ef-sg__telefoon--donker { background: var(--ef-donker); }
.ef-sg__vlak { padding: 16px; background: var(--ef-donker); border-radius: 8px; display: flex; flex-wrap: wrap; gap: 10px; }
.ef-sg__kleuren { display: flex; flex-wrap: wrap; gap: 8px; }
.ef-sg__kleur { width: 120px; padding: 40px 8px 8px; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--ef-donker); box-shadow: 0 0 0 1px var(--ef-rand-zacht); }
.ef-sg__kleur--groenblauw { background: var(--ef-groenblauw); color: var(--ef-wit); }
.ef-sg__kleur--geel { background: var(--ef-geel); }
.ef-sg__kleur--geel-licht { background: var(--ef-geel-licht); }
.ef-sg__kleur--donker { background: var(--ef-donker); color: var(--ef-wit); }
.ef-sg__kleur--tekst { background: var(--ef-tekst); color: var(--ef-wit); }
.ef-sg__kleur--vlak { background: var(--ef-vlak); }
.ef-sg__kleur--rood { background: var(--ef-rood); color: var(--ef-wit); }
.ef-sg__kleur--groen { background: var(--ef-groen); }
.ef-vul-1 { background-color: #337d82 !important; } .ef-vul-2 { background-color: #8dd0e1 !important; } .ef-vul-3 { background-color: #a2d0aa !important; }
.ef-vul-4 { background-color: #48aa85 !important; } .ef-vul-5 { background-color: #f2e559 !important; }
.ef-sg__lichtbeeld { height: 420px; }
.ef-sg__telefoon .ef-lightbox { min-height: 0; }
