/* ============================================================
   Gedeelde basis voor de voorbeeldontwerpen van Dabba Digital.
   Elke voorbeeldsite heeft daarnaast een eigen <style> met kleuren en lettertypes.
   De balk bovenaan maakt altijd duidelijk dat het om een fictief bedrijf gaat.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
body { margin: 0; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, label:focus-within {
  outline: 3px solid var(--focus, #FF7A3D); outline-offset: 2px;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Balk: dit is een voorbeeld ---------- */
.demo-bar {
  position: sticky; top: 0; z-index: 100;
  background: #081B42; color: #DCE3F0;
  font-family: "Plus Jakarta Sans", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .84rem; line-height: 1.35;
}
.demo-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 46px; }
.demo-bar b { color: #fff; }
.demo-bar .tag { display: inline-flex; align-items: center; gap: 8px; }
.demo-bar .tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FF7A3D; flex-shrink: 0; }
.demo-bar a { color: #FFB892; font-weight: 700; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; min-height: 34px; }
.demo-bar a:hover { color: #fff; }
@media (max-width: 720px) { .demo-bar .hide-sm { display: none; } }

/* ---------- Melding na een (nep)formulier ---------- */
.demo-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200; width: min(460px, calc(100% - 32px));
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: #081B42; color: #fff; border-radius: 16px; padding: 16px 18px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .45);
  font-family: "Plus Jakarta Sans", "Poppins", system-ui, sans-serif; font-size: .93rem; line-height: 1.45;
  transition: opacity .25s ease, transform .25s ease;
}
.demo-toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.demo-toast strong { display: block; margin-bottom: 2px; }
.demo-toast a { color: #FFB892; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Rasters: kolommen mogen smaller worden dan hun inhoud (voorkomt uitsteken op telefoons) */
[class*="-grid"] > * { min-width: 0; }
h1, h2 { overflow-wrap: break-word; hyphens: auto; }
