/*
 * Gedrag dat in het ontwerp door de ontwerp-runtime werd geregeld.
 * Alle vormgeving zelf staat inline in parts/*.html, precies zoals in het ontwerp.
 */

/* Verborgen blokken (vergelijking, formulier/bedankt) echt verbergen, ook als er inline display staat. */
[hidden] { display: none !important; }

/* Logo: volledig woordmerk; op een telefoon na scrollen alleen het beeldmerk. */
.lf-logo-mark { display: none !important; }
header.is-compact .lf-logo-mark { display: block !important; }
header.is-compact .lf-logo-full { display: none !important; }

/* Hoofdmenu pas vanaf 900 px breed, zoals in het ontwerp. */
@media (max-width: 899.98px) {
  .lf-nav { display: none !important; }
}

/* Plakkende kop onder de WordPress-beheerbalk als je ingelogd bent. */
body.admin-bar > header { top: 32px !important; }
@media (max-width: 782px) { body.admin-bar > header { top: 46px !important; } }
@media (max-width: 600px) { body.admin-bar > header { top: 0 !important; } }

/* Honeypot tegen spam: onzichtbaar voor mensen. */
.lf-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Melding als verzenden niet lukte. */
.lf-form-error { margin: 0; padding: 14px 16px; border-radius: 12px; background: #FCE9DC; color: #202323; font-size: 15px; line-height: 1.5; }
.lf-form-error a { text-decoration: underline; text-underline-offset: 3px; }

/* Toetsenbordfocus zichtbaar (het ontwerp heeft hiervoor geen eigen stijl). */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #F26A21; outline-offset: 3px;
}

/* Gewone WordPress-pagina's (bijv. privacyverklaring) in de Lufte-stijl. */
.lf-page { max-width: 760px; margin: 0 auto; padding: 72px 32px 112px; font-size: 17px; line-height: 1.6; color: #202323; }
.lf-page h1 { font-family: Outfit, sans-serif; font-weight: 800; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 32px; }
.lf-page h2 { font-family: Outfit, sans-serif; font-weight: 700; font-size: 28px; line-height: 1.15; margin: 48px 0 16px; }
.lf-page h3 { font-family: Outfit, sans-serif; font-weight: 700; font-size: 21px; margin: 32px 0 12px; }
.lf-page a { color: #C4520F; text-decoration: underline; text-underline-offset: 3px; }
.lf-page img { max-width: 100%; height: auto; border-radius: 24px; }
.lf-page ul, .lf-page ol { padding-left: 1.4em; }

/* Korte gewone pagina's: footer onderaan het scherm houden. */
body:has(> main.lf-page) { display: flex; flex-direction: column; min-height: 100vh; }
body:has(> main.lf-page) > main.lf-page { flex: 1 0 auto; width: 100%; }
