/* werkow.nl — app.css v0.2 */
/* Pragmatisch, mobile-first, geen JS-afhankelijkheden */
/* Kleurpalet: warm blauw + accentkleuren per categorie */

:root {
  /* Kern */
  --brand:      #2563EB;
  --brand-dark: #1D4ED8;
  --brand-light:#EFF6FF;
  --bg:         #F7F9FC;
  --surface:    #FFFFFF;
  --border:     #E2E8F0;
  --text:       #1E293B;
  --muted:      #64748B;

  /* Semantisch */
  --error-bg:    #FEE2E2;
  --error-text:  #991B1B;
  --success-bg:  #DCFCE7;
  --success-text:#166534;
  --info-bg:     #EFF6FF;
  --info-text:   #1D4ED8;

  /* Accenten (warm palet) */
  --accent-green:       #16A34A;
  --accent-green-light: #F0FDF4;
  --accent-green-mid:   #BBF7D0;
  --accent-amber:       #D97706;
  --accent-amber-light: #FFFBEB;
  --accent-amber-mid:   #FDE68A;
  --accent-purple:      #7C3AED;
  --accent-purple-light:#F5F3FF;
  --accent-purple-mid:  #DDD6FE;
  --accent-pink:        #DB2777;
  --accent-pink-light:  #FDF2F8;
  --accent-pink-mid:    #FBCFE8;
  --accent-teal:        #0D9488;
  --accent-teal-light:  #F0FDFA;
  --accent-teal-mid:    #99F6E4;

  /* Vormgeving */
  --radius:     10px;
  --radius-sm:  6px;
  --shadow:     0 1px 4px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-hover: 0 6px 20px rgba(37,99,235,.12), 0 2px 6px rgba(0,0,0,.05);
  --transition: .18s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

/* ============================================================
   MICRO-INTERACTIES & GLOBALE VERFIJNINGEN
   ============================================================ */

/* Vloeiende focus-outline overal */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Zachte selectie-kleur */
::selection { background: #BFDBFE; color: var(--text); }

/* --- Auth pagina's --- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  width: 100%;
  max-width: 420px;
}

.auth-card--wide { max-width: 560px; }

.auth-card h1 {
  font-size: 1.4rem;
  margin-bottom: .75rem;
}

.auth-intro {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: .95rem;
}

/* --- Formulier-elementen --- */
label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: .3rem;
}

.optional { font-weight: 400; color: var(--muted); }

input[type="text"],
input[type="email"],
input[type="password"] {
  display: block;
  width: 100%;
  padding: .6rem .75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: var(--surface);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37,99,235,.14);
  background: #fff;
}

button[type="submit"] {
  display: block;
  width: 100%;
  margin-top: 1.5rem;
  padding: .75rem 1rem;
  background: var(--brand);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: .01em;
}

button[type="submit"]:hover {
  background: var(--brand-dark);
  box-shadow: 0 3px 10px rgba(37,99,235,.25);
  transform: translateY(-1px);
}
button[type="submit"]:active { transform: translateY(0); box-shadow: none; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
}

/* --- Alerts --- */
.alert {
  padding: .85rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: .9rem;
  border-left: 3px solid currentColor;
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}

.alert p { margin: 0; flex: 1; }
.alert p + p { margin-top: .25rem; }
.alert-error   { background: var(--error-bg);   color: var(--error-text);   border-color: #F87171; }
.alert-success {
  background: var(--success-bg);
  color: var(--success-text);
  border-color: #4ADE80;
  position: relative;
}
.alert-success::before { content: ''; }

/* --- Landingspagina --- */
.lp-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -.5px;
}

.lp-header-cta {
  font-size: .875rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}

.lp-hero {
  background: linear-gradient(135deg, #EFF6FF 0%, #F8FAFC 100%);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.lp-hero h1 {
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 640px;
  margin-inline: auto;
}

.lp-hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.lp-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.badge {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .3rem .85rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
}

.waitlist-form {
  display: flex;
  gap: .5rem;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 200px;
}

.waitlist-form button {
  margin: 0;
  width: auto;
  padding: .6rem 1.25rem;
  font-size: .95rem;
}

.lp-modules {
  padding: 3rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.lp-modules h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.module-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.module-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.module-card p  { font-size: .875rem; color: var(--muted); margin: 0; }
.module-icon    { font-size: 1.5rem; margin-bottom: .5rem; }

.lp-cta-block {
  background: var(--brand);
  color: #fff;
  text-align: center;
  padding: 3rem 1.5rem;
}

.lp-cta-block h2 { font-size: 1.5rem; margin-bottom: .75rem; }
.lp-cta-block p  { margin-bottom: 1.5rem; opacity: .9; }

.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  padding: .75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: opacity .15s;
}

.btn-white:hover { opacity: .9; color: var(--brand); }

.lp-footer {
  text-align: center;
  padding: 1.5rem;
  font-size: .8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.msg-ok   { background: var(--success-bg); color: var(--success-text); padding: .6rem 1rem; border-radius: 6px; margin-bottom: 1rem; }
.msg-err  { background: var(--error-bg);   color: var(--error-text);   padding: .6rem 1rem; border-radius: 6px; margin-bottom: 1rem; }

/* alert-info (blauw) — gebruikt in login, register, forgot, verify */
/* --info-bg en --info-text zijn gedefinieerd in de hoofd-:root bovenin */
.alert-info { background: var(--info-bg); color: var(--info-text); }

/* --- PWA / Push UI --- */
.push-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.push-bar p { margin: 0; font-size: .875rem; color: var(--muted); }

.btn-push {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  padding: .55rem 1.1rem;
  border-radius: 6px;
  font-size: .875rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}
.btn-push:hover { background: var(--brand-dark); }

.ios-hint {
  display: none;
  background: #FFF7ED;
  color: #92400E;
  border: 1px solid #FED7AA;
  border-radius: 6px;
  padding: .75rem 1rem;
  font-size: .85rem;
  margin-top: .75rem;
}

/* PWA install-prompt knop */
.pwa-install-bar {
  background: linear-gradient(90deg, #EFF6FF, #DBEAFE);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius);
  padding: .85rem 1.25rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.pwa-install-bar p { margin: 0; font-size: .875rem; color: var(--brand-dark); font-weight: 500; }

.btn-install {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  padding: .5rem 1rem;
  border-radius: 6px;
  font-size: .875rem;
  border: none;
  cursor: pointer;
  transition: background .15s;
}
.btn-install:hover { background: var(--brand-dark); }

/* ============================================================
   APP-LAYOUT (ingelogd gedeelte)
   ============================================================ */

/* Header */
.app-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 58px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--border), 0 2px 8px rgba(0,0,0,.04);
}

.app-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.app-logo img { display: block; flex-shrink: 0; }
.app-logo-tenant { max-height: 28px; max-width: 140px; width: auto; height: auto; object-fit: contain; }
.app-logo-separator { display: inline-block; width: 1px; height: 22px; background: var(--border); flex-shrink: 0; }
@media (max-width: 640px) {
  .app-logo-tenant { max-height: 22px; max-width: 90px; }
}

.app-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
}

.app-nav a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  padding: .25rem .1rem;
  transition: color var(--transition);
  position: relative;
}

.app-nav a:hover { color: var(--text); }

.app-nav a.active {
  color: var(--brand);
  font-weight: 600;
}

.app-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.app-header-user {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-left: auto;
}

.app-header-name {
  font-size: .875rem;
  color: var(--muted);
}

.app-header-logout {
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.app-header-logout:hover { color: var(--error-text); }

/* Main content area */
.app-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.app-footer {
  text-align: center;
  font-size: .75rem;
  color: var(--muted);
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}

/* Page headings */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.page-header h1 {
  font-size: 1.5rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: -.02em;
}

/* Page-header met kleur-accent streep */
.page-header--accented {
  padding-left: .9rem;
  border-left: 3px solid var(--brand);
}
.page-header--green  { border-color: var(--accent-green); }
.page-header--amber  { border-color: var(--accent-amber); }
.page-header--purple { border-color: var(--accent-purple); }
.page-header--teal   { border-color: var(--accent-teal); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem 1.1rem;
  font-size: .875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
  letter-spacing: .01em;
  line-height: 1.4;
}
.btn:active { transform: translateY(1px); }

.btn-primary   { background: var(--brand); color: #fff; }
.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
  box-shadow: 0 3px 10px rgba(37,99,235,.28);
  transform: translateY(-1px);
}
.btn-secondary { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); }
.btn-secondary:hover { background: #F1F5F9; border-color: #CBD5E1; color: var(--text); }

.btn-danger { background: #DC2626; color: #fff; }
.btn-danger:hover { background: #B91C1C; color: #fff; box-shadow: 0 3px 8px rgba(220,38,38,.25); transform: translateY(-1px); }

.btn-success { background: var(--accent-green); color: #fff; }
.btn-success:hover { background: #15803D; color: #fff; box-shadow: 0 3px 8px rgba(22,163,74,.25); transform: translateY(-1px); }

.btn-sm { padding: .35rem .75rem; font-size: .8rem; min-height: 36px; }

/* Data table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.data-table th {
  text-align: left;
  font-size: .75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .7rem .85rem;
  border-bottom: 2px solid var(--border);
  background: #FAFBFC;
}
.data-table td {
  padding: .75rem .85rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  line-height: 1.45;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr {
  transition: background var(--transition);
}
.data-table tbody tr:hover { background: #F0F7FF; }

/* Card / panel */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card-body { padding: 1.5rem; }
.card-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-header h2 { font-size: .95rem; margin: 0; font-weight: 600; color: var(--text); }

/* Status badges — rijker, met subtiele border */
.badge-open     { background:#FFFBEB; color:#92400E; border:1px solid #FDE68A; padding:.2rem .6rem; border-radius:999px; font-size:.73rem; font-weight:600; display:inline-block; }
.badge-closed   { background:#F0FDF4; color:#166534; border:1px solid #BBF7D0; padding:.2rem .6rem; border-radius:999px; font-size:.73rem; font-weight:600; display:inline-block; }
.badge-pending  { background:#FFFBEB; color:#92400E; border:1px solid #FDE68A; padding:.2rem .6rem; border-radius:999px; font-size:.73rem; font-weight:600; display:inline-block; }
.badge-approved { background:#F0FDF4; color:#166534; border:1px solid #BBF7D0; padding:.2rem .6rem; border-radius:999px; font-size:.73rem; font-weight:600; display:inline-block; }
.badge-rejected { background:#FFF1F2; color:#9F1239; border:1px solid #FECDD3; padding:.2rem .6rem; border-radius:999px; font-size:.73rem; font-weight:600; display:inline-block; }
.badge-active   { background:#F0FDF4; color:#166534; border:1px solid #BBF7D0; padding:.2rem .6rem; border-radius:999px; font-size:.73rem; font-weight:600; display:inline-block; }
.badge-inactive { background:#F8FAFC; color:#64748B; border:1px solid #E2E8F0; padding:.2rem .6rem; border-radius:999px; font-size:.73rem; font-weight:600; display:inline-block; }
.badge-info     { background:#EFF6FF; color:#1D4ED8; border:1px solid #BFDBFE; padding:.2rem .6rem; border-radius:999px; font-size:.73rem; font-weight:600; display:inline-block; }
.badge-purple   { background:var(--accent-purple-light); color:var(--accent-purple); border:1px solid var(--accent-purple-mid); padding:.2rem .6rem; border-radius:999px; font-size:.73rem; font-weight:600; display:inline-block; }

/* Dashboard stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.1rem;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--stat-accent, var(--brand));
  border-radius: 3px 3px 0 0;
}
.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.stat-card .stat-icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: .4rem;
  display: block;
}
.stat-card .stat-num {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: .3rem;
  letter-spacing: -.03em;
}
.stat-card .stat-label {
  font-size: .78rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Stat-card kleurvarianten */
.stat-card--green  { --stat-accent: var(--accent-green); }
.stat-card--amber  { --stat-accent: var(--accent-amber); }
.stat-card--purple { --stat-accent: var(--accent-purple); }
.stat-card--teal   { --stat-accent: var(--accent-teal); }
.stat-card--pink   { --stat-accent: var(--accent-pink); }

/* Dashboard quick-actions (werknemer) */
.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.action-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition), background var(--transition);
  display: block;
  box-shadow: var(--shadow);
}
.action-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  color: var(--text);
  background: #FAFCFF;
}
.action-card:active { transform: translateY(-1px); }
.action-card .action-icon {
  font-size: 2rem;
  margin-bottom: .6rem;
  display: block;
  transition: transform var(--transition);
}
.action-card:hover .action-icon { transform: scale(1.12); }
.action-card h3 { font-size: .95rem; margin: 0 0 .3rem; font-weight: 600; }
.action-card p  { font-size: .8rem; color: var(--muted); margin: 0; line-height: 1.4; }

/* Form-layout app */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  max-width: 600px;
}
.form-card h1 { font-size: 1.3rem; margin-bottom: 1.25rem; }

select,
textarea,
input[type="date"],
input[type="tel"],
input[type="number"] {
  display: block;
  width: 100%;
  padding: .6rem .75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: var(--surface);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
}
select:focus, textarea:focus,
input[type="date"]:focus, input[type="tel"]:focus, input[type="number"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37,99,235,.14);
  background: #fff;
}
textarea { min-height: 90px; resize: vertical; }

.form-actions { margin-top: 1.5rem; display: flex; gap: .75rem; flex-wrap: wrap; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--muted);
}
.empty-state p { margin: 0; line-height: 1.6; }
.empty-state-icon {
  font-size: 2.5rem;
  margin-bottom: .75rem;
  display: block;
  opacity: .8;
}
.empty-state-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .4rem;
  display: block;
}
.empty-state-sub {
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  display: block;
}

/* Vriendelijke empty-state SVG illustratie */
.empty-state-svg {
  width: 120px;
  height: auto;
  margin: 0 auto .75rem;
  display: block;
  opacity: .7;
}

/* ============================================================
   v0.4 — Module-specifieke stijlen
   ============================================================ */

/* Week-rooster grid */
.week-nav { font-size: .875rem; }

/* Voortgangsbalk (onboarding) */
.progress-bar {
  background: var(--border);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}
.progress-bar-fill {
  background: var(--brand);
  height: 100%;
  transition: width .3s;
}

/* Input time */
input[type="time"] {
  display: block;
  width: 100%;
  padding: .6rem .75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input[type="time"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37,99,235,.14);
}

/* Input datetime-local */
input[type="datetime-local"] {
  display: block;
  width: 100%;
  padding: .6rem .75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input[type="datetime-local"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37,99,235,.14);
}

/* Expiratie-kleuren */
.expiry-danger { color: #991B1B; font-weight: 600; }
.expiry-warn   { color: #B45309; font-weight: 600; }

/* Auth-logo */
.auth-logo { display: block; margin-bottom: 1.25rem; }

/* Badge default */
.badge {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .2rem .55rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  background: none; border: 0; padding: .5rem;
  font-size: 1.6rem; line-height: 1; color: var(--text);
  cursor: pointer;
}

@media (max-width: 640px) {
  .app-header { gap: .5rem; padding: 0 .75rem; }
  .app-main { padding: 1.25rem 1rem; }
  .data-table { font-size: .82rem; }
  .data-table th, .data-table td { padding: .5rem .5rem; }
  .app-header-name { display: none; }

  /* Hamburger zichtbaar; nav verbergen tot body.nav-open */
  .nav-toggle { display: block; margin-left: auto; }
  .app-nav {
    display: none;
    position: fixed; top: 58px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 0; z-index: 199; box-shadow: var(--shadow);
    max-height: calc(100vh - 58px); overflow-y: auto;
  }
  body.nav-open .app-nav { display: flex; }
  .app-nav > a, .app-nav > details > summary {
    padding: .85rem 1.25rem; font-size: 1rem;
  }
  /* Dropdowns inline (geen fixed positioning) op mobiel */
  .nav-dropdown-menu {
    position: static; box-shadow: none; border: 0; border-radius: 0;
    padding: 0 0 .5rem 1rem; min-width: 0; background: var(--bg);
  }
  .nav-dropdown-menu a { padding: .65rem 1rem; }
  .app-header-user { margin-left: 0; }
}

/* Tabel-scroll wrapper */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .data-table { min-width: 640px; }
.scroll-hint { display: none; font-size: .75rem; color: var(--muted); margin: .25rem 0 .5rem; padding: 0 .75rem; }
@media (max-width: 640px) { .scroll-hint { display: block; } }

/* Sjabloon-takenbeheer */
.page-intro { color: var(--muted); font-size: .875rem; margin-bottom: 1.5rem; }

.tpl-list { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 2rem; }

.tpl-empty { padding: 2rem; text-align: center; color: var(--muted); }

.tpl-task-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
}

.tpl-order-btns { display: flex; flex-direction: column; gap: .25rem; flex-shrink: 0; }

.btn-order {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  font-size: 1.1rem;
  line-height: 1;
}

.tpl-task-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.tpl-task-title {
  color: var(--text);
  font-size: .95rem;
  font-weight: 600;
  display: block;
}

.tpl-task-desc {
  color: var(--muted);
  font-size: .8rem;
  display: block;
}

.tpl-task-actions { display: flex; gap: .5rem; flex-shrink: 0; align-items: center; }

.tpl-form-card { max-width: 540px; }
.tpl-form-header { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.tpl-form-header h2 { font-size: 1rem; margin: 0; }
.tpl-form-body { padding: 1.5rem; }

@media (max-width: 600px) {
  .tpl-task-row { flex-wrap: wrap; }
  .tpl-order-btns { flex-direction: row; }
  .tpl-task-main { width: 100%; }
  .tpl-task-actions { width: 100%; margin-top: .25rem; }
  .tpl-task-actions .btn { flex: 1; text-align: center; }
  .tpl-task-actions form { flex: 1; }
  .tpl-task-actions form .btn { width: 100%; }
}
@media (max-width: 480px) {
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; text-align: center; }
}

/* Onboarding employee actie-knop */
.tpl-action-btn { min-height: 44px; padding: .55rem 1rem; font-size: .875rem; }

/* Poortwachter stap-form */
@media (max-width: 500px) {
  .step-complete-form { flex-direction: column; }
  .step-complete-form input[type="text"] { width: 100%; min-width: unset; }
  .step-complete-form .btn { width: 100%; }
}

/* ============================================================
   DASHBOARD — Persoonlijke begroeting & levendige secties
   ============================================================ */

/* Welkomstbanner */
.dash-welcome {
  margin-bottom: 2rem;
}
.dash-welcome-greeting {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 .3rem;
}
.dash-welcome-sub {
  font-size: .95rem;
  color: var(--muted);
  margin: 0;
}

/* Dashboard-sectie header */
.dash-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .85rem;
  gap: .5rem;
}
.dash-section-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin: 0;
}
.dash-section-link {
  font-size: .8rem;
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}
.dash-section-link:hover { text-decoration: underline; }

/* Ziek-melding banner werknemer */
.dash-sick-banner {
  background: linear-gradient(90deg, #FFF1F2, #FFF7F7);
  border: 1.5px solid #FECDD3;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.dash-sick-banner-text strong { color: #9F1239; }
.dash-sick-banner-text { font-size: .9rem; color: var(--text); }

/* Alles-OK banner */
.dash-all-ok {
  background: linear-gradient(90deg, var(--accent-green-light), #F7FEF9);
  border: 1.5px solid var(--accent-green-mid);
  border-radius: var(--radius);
  padding: .85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
  font-size: .9rem;
  color: #166534;
  font-weight: 500;
}
.dash-all-ok-icon { font-size: 1.3rem; flex-shrink: 0; }

/* Clickable widget cards (hover-lift) */
.widget-card-link {
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
}
.widget-card-link:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Widget teller */
.widget-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}
.widget-num--blue   { color: var(--brand); }
.widget-num--green  { color: var(--accent-green); }
.widget-num--amber  { color: var(--accent-amber); }
.widget-num--red    { color: #DC2626; }
.widget-num--purple { color: var(--accent-purple); }
.widget-num--teal   { color: var(--accent-teal); }

/* ============================================================
   CONFETTI ANIMATIE (puur CSS, licht gewicht)
   Gebruik bij: beter-melden, verlof goedgekeurd
   ============================================================ */
@keyframes confetti-fall {
  0%   { transform: translateY(-20px) rotate(0deg);   opacity: 1; }
  100% { transform: translateY(120px) rotate(720deg); opacity: 0; }
}

.confetti-burst {
  position: fixed;
  top: 0; left: 0; right: 0;
  pointer-events: none;
  z-index: 9999;
  display: flex;
  justify-content: center;
  gap: .5rem;
  padding-top: 1rem;
}

.confetti-piece {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  animation: confetti-fall 1.2s ease-out forwards;
}

.confetti-piece:nth-child(1)  { background:#2563EB; animation-delay:.0s; }
.confetti-piece:nth-child(2)  { background:#16A34A; animation-delay:.05s; transform:rotate(45deg); }
.confetti-piece:nth-child(3)  { background:#D97706; animation-delay:.1s; }
.confetti-piece:nth-child(4)  { background:#7C3AED; animation-delay:.05s; transform:rotate(30deg); }
.confetti-piece:nth-child(5)  { background:#DB2777; animation-delay:.15s; }
.confetti-piece:nth-child(6)  { background:#0D9488; animation-delay:.08s; border-radius:50%; }
.confetti-piece:nth-child(7)  { background:#2563EB; animation-delay:.12s; transform:rotate(60deg); }
.confetti-piece:nth-child(8)  { background:#D97706; animation-delay:.0s;  border-radius:50%; }
.confetti-piece:nth-child(9)  { background:#16A34A; animation-delay:.18s; }
.confetti-piece:nth-child(10) { background:#7C3AED; animation-delay:.06s; transform:rotate(45deg); }

/* ============================================================
   MODULE-OVERZICHTSPAGINA's — accent-streep per categorie
   ============================================================ */
.module-page-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}
.module-page-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  padding: .5rem;
  background: var(--module-bg, var(--brand-light));
  border-radius: var(--radius-sm);
}
.module-page-text h1 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 .2rem;
}
.module-page-text p {
  font-size: .9rem;
  color: var(--muted);
  margin: 0;
}

/* Module-categorie kleursets */
.module-theme-green  { --module-bg: var(--accent-green-light);  --module-color: var(--accent-green);  }
.module-theme-amber  { --module-bg: var(--accent-amber-light);  --module-color: var(--accent-amber);  }
.module-theme-purple { --module-bg: var(--accent-purple-light); --module-color: var(--accent-purple); }
.module-theme-teal   { --module-bg: var(--accent-teal-light);   --module-color: var(--accent-teal);   }
.module-theme-pink   { --module-bg: var(--accent-pink-light);   --module-color: var(--accent-pink);   }
.module-theme-blue   { --module-bg: var(--brand-light);         --module-color: var(--brand);          }

/* Progress bar kleur */
.progress-bar-fill--green  { background: var(--accent-green); }
.progress-bar-fill--amber  { background: var(--accent-amber); }
.progress-bar-fill--purple { background: var(--accent-purple); }

/* ============================================================
   PUBLIEKE MARKETING-SITE — v0.6
   ============================================================ */

/* Publieke header — uitbreiding op .lp-header */
.pub-header {
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 0;
}

.pub-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
  margin-left: 1.5rem;
}

.pub-nav a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
}
.pub-nav a:hover, .pub-nav a.active { color: var(--brand); }

.pub-header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-left: auto;
}

.pub-nav-login {
  font-size: .875rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  padding: .45rem .75rem;
  border-radius: 6px;
}
.pub-nav-login:hover { color: var(--brand-dark); background: var(--bg); }

.btn-brand {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  padding: .7rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: background .15s;
}
.btn-brand:hover { background: var(--brand-dark); color: #fff; }

.btn-brand-sm {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  padding: .45rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: .875rem;
  transition: background .15s;
  white-space: nowrap;
}
.btn-brand-sm:hover { background: var(--brand-dark); color: #fff; }

/* Knoppen overschrijven .pub-content a / .app-nav a tint */
.pub-content a.btn-brand,
.pub-content a.btn-brand-sm,
.pub-content a.btn-white { color: #fff; }
.pub-content a.btn-ghost { color: var(--text); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--brand);
  font-weight: 600;
  padding: .7rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid var(--brand);
  transition: background .15s, color .15s;
}
.btn-ghost:hover { background: var(--brand); color: #fff; }

.pub-nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: .5rem;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
  margin-left: auto;
}

/* Hero CTA-rij */
.hero-cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

/* Pijnpunten-sectie */
.lp-pain {
  background: var(--surface);
  padding: 3.5rem 1.5rem;
}
.lp-pain-inner {
  max-width: 960px;
  margin: 0 auto;
}
.lp-pain h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.pain-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.pain-icon { font-size: 1.75rem; margin-bottom: .6rem; }
.pain-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.pain-card p { font-size: .875rem; color: var(--muted); margin: 0; }

/* Module-card klikbaar */
.module-card--link {
  display: block;
  text-decoration: none;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.module-card--link:hover {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37,99,235,.08);
  color: var(--text);
}
.module-card--link h3 { color: var(--brand); }

/* Voor-wie sectie */
.lp-voor-wie {
  background: linear-gradient(135deg, #EFF6FF 0%, #F8FAFC 100%);
  padding: 3.5rem 1.5rem;
}
.lp-voor-wie-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.lp-voor-wie h2 { font-size: 1.5rem; margin-bottom: .75rem; }
.lp-voor-wie > .lp-voor-wie-inner > p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2rem;
}
.discipline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  text-align: center;
}
.discipline-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.discipline-card:hover {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37,99,235,.08);
}
.discipline-icon { font-size: 2rem; margin-bottom: .5rem; display: block; }
.discipline-card strong { display: block; font-size: 1rem; margin-bottom: .25rem; color: var(--brand); }
.discipline-card span { font-size: .8rem; color: var(--muted); }

/* USP-row */
.lp-usp {
  background: var(--surface);
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.usp-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.usp-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.1;
  margin-bottom: .25rem;
}
.usp-label { font-size: .8rem; color: var(--muted); }

/* Social proof */
.lp-social-proof {
  background: #F0FDF4;
  border-top: 1px solid #BBF7D0;
  border-bottom: 1px solid #BBF7D0;
  padding: 1.5rem;
  text-align: center;
}
.social-proof-text {
  color: #166534;
  font-size: .95rem;
  font-weight: 500;
  max-width: 640px;
  margin: 0 auto;
}

/* FAQ-sectie */
.lp-faq {
  padding: 3.5rem 1.5rem;
  background: var(--bg);
}
.lp-faq-inner {
  max-width: 760px;
  margin: 0 auto;
}
.lp-faq h2 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: .95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-item > summary::-webkit-details-marker,
.faq-item > summary::marker { display: none; content: ''; }
.faq-item > summary::after { content: '+'; font-size: 1.1rem; color: var(--brand); }
.faq-item[open] > summary::after { content: '\2212'; }
.faq-answer {
  padding: 0 1.25rem 1rem;
  font-size: .9rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: .75rem;
}
.faq-answer p { margin: 0; }
.faq-answer p + p { margin-top: .5rem; }
.faq-answer a { color: var(--brand); }

/* Publieke footer */
.pub-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 1.5rem;
}
.pub-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.pub-footer-brand p {
  font-size: .875rem;
  color: var(--muted);
  margin-top: .75rem;
  line-height: 1.5;
}
.pub-footer-brand a { color: var(--brand); text-decoration: none; }
.pub-footer-col { display: flex; flex-direction: column; gap: .35rem; }
.pub-footer-col strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: .25rem; }
.pub-footer-col a { font-size: .875rem; color: var(--muted); text-decoration: none; }
.pub-footer-col a:hover { color: var(--brand); }

.pub-footer-bottom {
  max-width: 960px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .8rem;
  color: var(--muted);
}
.pub-footer-bottom a { color: var(--muted); text-decoration: none; }
.pub-footer-bottom a:hover { color: var(--brand); }

/* Inhouds-pagina (discipline + module + over + prijzen, etc.) */
.pub-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}
.pub-content h1 { font-size: clamp(1.4rem, 4vw, 2rem); margin-bottom: .5rem; }
.pub-content .pub-intro { font-size: 1.1rem; color: var(--muted); margin-bottom: 2rem; border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; }
.pub-content h2 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.pub-content h3 { font-size: 1rem; margin: 1.5rem 0 .5rem; }
.pub-content p  { margin-bottom: 1rem; }
.pub-content ul, .pub-content ol { margin: 0 0 1rem 1.5rem; }
.pub-content li { margin-bottom: .35rem; }
.pub-content a  { color: var(--brand); }

/* Breadcrumb */
.pub-breadcrumb {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  align-items: center;
}
.pub-breadcrumb a { color: var(--muted); text-decoration: none; }
.pub-breadcrumb a:hover { color: var(--brand); }
.pub-breadcrumb span { color: var(--border); }

/* CTA-blok herbruikbaar */
.pub-cta-inline {
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
}
.pub-cta-inline h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.pub-cta-inline p { color: var(--muted); margin-bottom: 1.25rem; }

/* Mockup — inline SVG UI-previews */
.screenshot-mock {
  margin: 1.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0; /* voorkom whitespace onder SVG */
}
.screenshot-mock svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.screenshot-mock .mock-label { display: none; } /* tekst zit nu in SVG aria-label */

/* Prijzen-pagina */
.pricing-box {
  background: var(--surface);
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 520px;
  margin: 0 auto 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.pricing-box .price { font-size: 2.5rem; font-weight: 900; color: var(--brand); }
.pricing-box .price-period { font-size: .9rem; color: var(--muted); }
.pricing-box ul { list-style: none; margin: 1.5rem 0; padding: 0; text-align: left; display: inline-block; }
.pricing-box ul li { padding: .35rem 0 .35rem 1.5rem; position: relative; font-size: .9rem; }
.pricing-box ul li::before { content: '\2713'; position: absolute; left: 0; color: #16A34A; font-weight: 700; }

/* Contactformulier */
.contact-form { max-width: 560px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  display: block; width: 100%;
  padding: .6rem .75rem;
  border: 1px solid var(--border);
  border-radius: 6px; font-size: 1rem;
  font-family: inherit;
  background: var(--surface); color: var(--text);
  transition: border-color .15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.contact-form textarea { min-height: 120px; resize: vertical; }

/* ── Responsive publieke site ── */
@media (max-width: 768px) {
  .pub-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .pub-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .pub-nav { display: none; position: fixed; top: 57px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 0; z-index: 199; box-shadow: var(--shadow); }
  body.pub-nav-open .pub-nav { display: flex; }
  .pub-nav a { padding: .85rem 1.25rem; font-size: 1rem; }
  .pub-nav-toggle { display: block; }
  /* Inloggen-link blijft zichtbaar op mobiel */
  .pub-nav-login { padding: .35rem .6rem; font-size: .8rem; }
  .hero-cta-row { flex-direction: column; align-items: center; }
  .pub-footer-inner { grid-template-columns: 1fr; }
  .pub-footer-bottom { flex-direction: column; }
  .pricing-box { padding: 1.75rem 1.25rem; }
  .lp-hero { padding: 2.5rem 1rem 2rem; }
}

/* ============================================================
   PREMIUM PUBLIEKE MARKETING-STIJLEN — werkow-v46
   ============================================================ */

/* ── Header upgrade ── */
.pub-header {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 60px;
  transition: box-shadow var(--transition);
}
.pub-header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.pub-nav a {
  position: relative;
  padding: .25rem 0;
}
.pub-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.pub-nav a:hover::after,
.pub-nav a.active::after { transform: scaleX(1); }
.pub-nav a.active { color: var(--brand); font-weight: 600; }

.btn-brand-sm {
  border-radius: var(--radius-sm);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-brand-sm:hover {
  background: var(--brand-dark);
  box-shadow: 0 3px 10px rgba(37,99,235,.25);
  transform: translateY(-1px);
  color: #fff;
}

/* ── Hero upgrade ── */
.lp-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,.07) 0%, transparent 70%),
    linear-gradient(160deg, #F0F6FF 0%, #F8FAFC 55%, #EFF9F6 100%);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(37,99,235,.045) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}
.lp-hero h1 {
  font-size: clamp(2rem, 5.5vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 1.1rem;
  max-width: 720px;
  margin-inline: auto;
}
.lp-hero h1 .hero-accent {
  color: var(--brand);
}
.lp-hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}
.lp-hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}
.lp-hero-badge-row .badge {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(37,99,235,.18);
  color: var(--brand);
  font-weight: 600;
  font-size: .78rem;
  padding: .28rem .75rem;
}

/* Hero CTA */
.hero-cta-row {
  margin-top: 2rem;
  gap: .85rem;
}
.btn-brand {
  border-radius: var(--radius-sm);
  padding: .8rem 1.75rem;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(37,99,235,.28);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-brand:hover {
  background: var(--brand-dark);
  box-shadow: 0 6px 20px rgba(37,99,235,.36);
  transform: translateY(-2px);
  color: #fff;
}
.btn-ghost {
  border-radius: var(--radius-sm);
  padding: .8rem 1.75rem;
  font-size: 1rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
/* Trust-rij onder hero-CTA */
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: center;
  margin-top: 1.25rem;
  font-size: .8rem;
  color: var(--muted);
}
.hero-trust-row span {
  display: flex;
  align-items: center;
  gap: .3rem;
}
.hero-trust-row svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  color: var(--accent-green);
}

/* ── Pijnpunten upgrade ── */
.lp-pain {
  padding: 5rem 1.5rem;
}
.lp-pain h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: .5rem;
}
.lp-pain-subtext {
  text-align: center;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  font-size: .95rem;
}
.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--pain-accent, var(--brand));
  border-radius: 3px 3px 0 0;
}
.pain-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(37,99,235,.2);
}
.pain-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--pain-icon-bg, var(--brand-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.pain-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text);
}

/* ── Modules-grid upgrade ── */
.lp-modules {
  padding: 5rem 1.5rem;
  background: var(--bg);
}
.lp-modules h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: .4rem;
}
.module-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.module-card--link:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  color: var(--text);
}
.module-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--module-icon-bg, var(--brand-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: .75rem;
  flex-shrink: 0;
}
.module-card h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .3rem;
  color: var(--text);
}
.module-card--link h3 { color: var(--brand); }

/* ── Voor-wie / disciplines upgrade ── */
.lp-voor-wie {
  background: linear-gradient(160deg, #F0F7FF 0%, #F8FAFC 50%, #F0FDF4 100%);
  padding: 5rem 1.5rem;
}
.lp-voor-wie h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: .5rem;
}
.discipline-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.discipline-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.discipline-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto .75rem;
}
.discipline-card strong { font-size: 1rem; color: var(--text); }

/* ── USP-rij upgrade ── */
.lp-usp {
  padding: 3.5rem 1.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.usp-grid {
  max-width: 1020px;
  gap: 1rem;
}
.usp-item {
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  text-align: center;
}
.usp-value {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--brand);
  line-height: 1;
  margin-bottom: .4rem;
}
.usp-label {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 500;
}

/* ── Social proof upgrade ── */
.lp-social-proof {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 1.5rem;
}
.lp-social-proof-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.social-proof-headline {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.social-proof-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.social-proof-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-align: left;
}
.social-proof-card p {
  font-size: .9rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 .75rem;
  font-style: italic;
}
.social-proof-card-author {
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
}
.social-proof-tag {
  display: inline-block;
  background: var(--accent-green-light);
  color: var(--accent-green);
  border: 1px solid var(--accent-green-mid);
  border-radius: 999px;
  padding: .2rem .65rem;
  font-size: .72rem;
  font-weight: 700;
  margin-top: .5rem;
}

/* ── FAQ upgrade ── */
.lp-faq {
  padding: 5rem 1.5rem;
  background: var(--bg);
}
.lp-faq h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: .5rem;
}
.lp-faq-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-size: .95rem;
}
.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item[open] {
  border-color: rgba(37,99,235,.22);
  box-shadow: 0 2px 10px rgba(37,99,235,.06);
}
.faq-item > summary {
  padding: 1.1rem 1.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}
.faq-item > summary:hover { color: var(--brand); }
.faq-item > summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--brand);
  font-weight: 400;
  transition: transform var(--transition);
  display: inline-block;
}
.faq-item[open] > summary::after {
  content: '\2212';
  transform: rotate(0deg);
}
.faq-answer {
  padding: 0 1.35rem 1.25rem;
  border-top: 1px solid var(--border);
  padding-top: .9rem;
  font-size: .9rem;
  line-height: 1.7;
  color: #475569;
}

/* ── CTA-blok onderaan upgrade ── */
.lp-cta-block {
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 50%, #1E40AF 100%);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lp-cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}
.lp-cta-block h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: .75rem;
}
.lp-cta-block p {
  font-size: 1.05rem;
  opacity: .88;
  margin-bottom: 2rem;
  max-width: 480px;
  margin-inline: auto;
}
.btn-white {
  border-radius: var(--radius-sm);
  padding: .85rem 2.25rem;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0,0,0,.22);
  opacity: .96;
}
.cta-trust-note {
  margin-top: 1.25rem;
  font-size: .8rem;
  opacity: .7;
  color: #fff;
}

/* ── Footer upgrade ── */
.pub-footer {
  background: #0F172A;
  border-top: none;
  padding: 4rem 2rem 2rem;
  color: #94A3B8;
}
.pub-footer-inner {
  max-width: 1060px;
  gap: 2.5rem;
}
.pub-footer-brand p {
  color: #64748B;
  font-size: .875rem;
  margin-top: .75rem;
  line-height: 1.6;
}
.pub-footer-brand a { color: #94A3B8; text-decoration: none; }
.pub-footer-brand a:hover { color: #fff; }
.pub-footer-col strong {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #64748B;
  margin-bottom: .5rem;
  display: block;
}
.pub-footer-col a {
  font-size: .875rem;
  color: #94A3B8;
  text-decoration: none;
  transition: color var(--transition);
}
.pub-footer-col a:hover { color: #fff; }
.pub-footer-bottom {
  max-width: 1060px;
  border-top: 1px solid #1E293B;
  padding-top: 1.5rem;
  font-size: .8rem;
  color: #475569;
}
.pub-footer-bottom a { color: #475569; text-decoration: none; }
.pub-footer-bottom a:hover { color: #94A3B8; }

/* ── Prijzen-pagina upgrade ── */
.pricing-hero {
  background: linear-gradient(160deg, #EFF6FF 0%, #F8FAFC 100%);
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}
.pricing-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: .5rem;
}
.pricing-hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 2px solid var(--brand);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  max-width: 520px;
  margin: -1px auto 0;
  text-align: center;
  box-shadow: 0 8px 32px rgba(37,99,235,.12), 0 2px 8px rgba(0,0,0,.04);
  position: relative;
}
.pricing-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-price {
  font-size: 4rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: .15rem;
}
.pricing-price sup {
  font-size: 1.5rem;
  font-weight: 700;
  vertical-align: super;
  margin-right: .1rem;
}
.pricing-price-period {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: .25rem;
}
.pricing-intro-note {
  display: inline-block;
  background: var(--accent-green-light);
  color: var(--accent-green);
  border: 1px solid var(--accent-green-mid);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .75rem;
  margin-bottom: 1.75rem;
}
.pricing-features {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  text-align: left;
  display: inline-block;
  min-width: 260px;
}
.pricing-features li {
  padding: .45rem 0 .45rem 1.75rem;
  position: relative;
  font-size: .9rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  background: var(--accent-green-light);
  border: 1.5px solid var(--accent-green-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pricing-features li::after {
  content: '\2713';
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .7rem;
  font-weight: 800;
  color: var(--accent-green);
}
.pricing-cta-btn {
  display: block;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: .9rem 2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37,99,235,.3);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  width: 100%;
  text-align: center;
}
.pricing-cta-btn:hover {
  background: var(--brand-dark);
  box-shadow: 0 6px 20px rgba(37,99,235,.4);
  transform: translateY(-2px);
  color: #fff;
}
.pricing-reassure {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  justify-content: center;
  margin-top: 1.25rem;
  font-size: .78rem;
  color: var(--muted);
}
.pricing-reassure span {
  display: flex;
  align-items: center;
  gap: .3rem;
}
.pricing-faq-section {
  max-width: 760px;
  margin: 3rem auto 0;
  padding: 0 1.5rem 3rem;
}
.pricing-faq-section h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -.02em;
}
.pricing-content-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 0;
}
.pricing-content-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .75rem;
  letter-spacing: -.01em;
}
.pricing-content-section p {
  color: #475569;
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: .75rem;
}

/* ── pub-content upgrade (module/discipline/over pagina's) ── */
.pub-content {
  max-width: 820px;
  padding: 3rem 2rem;
}
.pub-page-hero {
  background: linear-gradient(160deg, #EFF6FF 0%, #F8FAFC 100%);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 2rem;
}
.pub-page-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}
.pub-page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: .6rem;
  color: var(--text);
}
.pub-page-hero p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.65;
  margin: 0;
}
.pub-breadcrumb {
  margin-bottom: 2rem;
}
.pub-content h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: .5rem;
}
.pub-content .pub-intro {
  font-size: 1.05rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.75rem;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}
.pub-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2.25rem 0 .75rem;
  letter-spacing: -.015em;
  padding-left: .75rem;
  border-left: 3px solid var(--brand);
}
.pub-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.75rem 0 .5rem;
}
.pub-content p {
  color: #475569;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.pub-content ul li, .pub-content ol li {
  color: #475569;
  line-height: 1.65;
  margin-bottom: .45rem;
}

/* Screenshot mockup met browser frame schaduw */
.screenshot-mock {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.1), 0 2px 8px rgba(0,0,0,.06);
  border: 1px solid var(--border);
}
.screenshot-mock svg {
  border-radius: 0;
  border: none;
}

/* Inline CTA upgrade */
.pub-cta-inline {
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
  border: none;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  margin: 2.75rem 0;
  text-align: center;
  box-shadow: 0 6px 24px rgba(37,99,235,.2);
}
.pub-cta-inline h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .4rem;
}
.pub-cta-inline p {
  color: rgba(255,255,255,.8);
  margin-bottom: 1.5rem;
  font-size: .95rem;
}
.pub-cta-inline .btn-white {
  display: inline-block;
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  padding: .8rem 2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 3px 12px rgba(0,0,0,.15);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pub-cta-inline .btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(0,0,0,.2);
  color: var(--brand);
}
.pub-cta-inline a.btn-brand {
  display: inline-block;
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  padding: .8rem 2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 3px 12px rgba(0,0,0,.15);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pub-cta-inline a.btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(0,0,0,.2);
  background: #f0f6ff;
  color: var(--brand-dark);
}

/* Header scroll-shadow via JS */
.pub-header-scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,.09);
}

/* ── Responsive extras v46 ── */
@media (max-width: 860px) {
  .pub-header { padding: 0 1.25rem; }
}
@media (max-width: 640px) {
  .lp-hero { padding: 3.5rem 1.25rem 3rem; }
  .lp-pain { padding: 3.5rem 1.25rem; }
  .lp-modules { padding: 3.5rem 1.25rem; }
  .lp-voor-wie { padding: 3.5rem 1.25rem; }
  .lp-faq { padding: 3.5rem 1.25rem; }
  .lp-cta-block { padding: 3.5rem 1.25rem; }
  .pricing-card { padding: 2.5rem 1.5rem; border-radius: 12px; }
  .pricing-price { font-size: 3rem; }
  .pub-content { padding: 2rem 1.25rem; }
  .pub-page-hero { padding: 2.5rem 1.25rem; }
}

