/* Gedeelde stylesheet voor app.keus.nl - spiegelt de app-huisstijl:
   navy PageHeader (#1E3A5F) met X11-overline, Manrope (koppen) + Inter (body),
   zachte botanische achtergrond, witte cards, oranje CTA (#F5A623).
   Kleuren en typografie volgen src/theme.ts van de app. */

@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #1E3A5F;
  --accent: #F5A623;
  --bg: #F5F7FA;
  --card: #FFFFFF;
  --text: #1A202C;
  --text-2: #4A5568;
  --muted: #718096;
  --border: #E2E8F0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Botanische pagina-achtergrond (zoals ScreenBackground in de app) */
body.bg-oranje { background: var(--bg) url('/img/bg-oranje.jpg') center / cover fixed no-repeat; }
body.bg-blauw  { background: var(--bg) url('/img/bg-blauw.jpg')  center / cover fixed no-repeat; }
body.bg-groen  { background: var(--bg) url('/img/bg-groen.jpg')  center / cover fixed no-repeat; }

h1, h2, h3 { font-family: 'Manrope', 'Inter', sans-serif; color: var(--navy); }
a { color: var(--navy); }

/* ── Header (PageHeader-stijl uit de app) ─────────────────────────────── */

.site-header { background: var(--navy); color: #fff; padding: 26px 24px 26px; }
.site-header .inner { max-width: 880px; margin: 0 auto; }
.site-header .top-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.overline { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.brand-link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 34px; height: 34px; border-radius: 8px; display: block; }
.site-header nav { display: flex; gap: 18px; align-items: center; }
.site-header nav a { color: rgba(255,255,255,0.8); font-size: 14px; font-weight: 600; text-decoration: none; }
.site-header nav a:hover, .site-header nav a.active { color: #fff; }
.site-header h1 { font-weight: 700; font-size: 32px; letter-spacing: -0.3px; line-height: 1.25; color: #fff; }

/* Hero-variant (marketingpagina): hoger, met subtitel en storeknoppen */
.site-header.hero { padding: 48px 24px 56px; text-align: center; }
.site-header.hero .top-row { margin-bottom: 28px; }
.site-header.hero h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.5px; }
.site-header.hero .sub { font-size: 17px; color: rgba(255,255,255,0.78); max-width: 560px; margin: 14px auto 30px; }
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store-btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; padding: 14px 28px; border-radius: 14px; box-shadow: 0 6px 20px rgba(245,166,35,0.4); }
.store-btn.alt { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); box-shadow: none; }

/* ── Content ──────────────────────────────────────────────────────────── */

main { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: 32px 20px 56px; }
main.wide { max-width: 880px; }

.card {
  background: var(--card);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.card h2 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.card h2:not(:first-child) { margin-top: 28px; }
.card p, .card li { font-size: 15px; color: var(--text-2); }
.card p + p { margin-top: 10px; }
.card ul { padding-left: 20px; }
.card li { margin-bottom: 6px; }
.meta { font-size: 13px; color: var(--muted); }

.section-label { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin: 28px 4px 10px; }

/* Feature-grid (marketing) - zoals de dimensie-cards op de Methode-pagina */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.feature { background: var(--card); border-radius: 12px; border-top: 3px solid var(--accent); padding: 16px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.feature h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.feature p { font-size: 14px; color: var(--text-2); }
/* Botanisch RIASEC-icoon in een cirkel met dimensiekleur (zoals dimBadge in de app);
   de icoon-PNG's hebben een opaak-witte achtergrond, dus de cirkel-achtergrond is wit */
.feature-badge { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--accent); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 10px; }
.feature-badge img { width: 46px; height: 46px; display: block; }
.feature.c-r { border-top-color: #4FAF95; } .feature.c-r .feature-badge { border-color: #4FAF95; }
.feature.c-i { border-top-color: #D96A7B; } .feature.c-i .feature-badge { border-color: #D96A7B; }
.feature.c-a { border-top-color: #8B6CFF; } .feature.c-a .feature-badge { border-color: #8B6CFF; }
.feature.c-s { border-top-color: #F4C94A; } .feature.c-s .feature-badge { border-color: #F4C94A; }
.feature.c-e { border-top-color: #E8985E; } .feature.c-e .feature-badge { border-color: #E8985E; }
.feature.c-c { border-top-color: #5B8DEF; } .feature.c-c .feature-badge { border-color: #5B8DEF; }

/* ── Formulier (supportpagina) ────────────────────────────────────────── */

form label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin: 14px 0 4px; }
form input, form textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  padding: 11px 13px; border: 1.5px solid #CBD5E0; border-radius: 12px; background: #fff;
}
form input:focus, form textarea:focus { outline: 2px solid var(--navy); outline-offset: -1px; }
form textarea { resize: vertical; }
form button {
  margin-top: 18px; background: var(--accent); color: #fff; font: inherit; font-size: 16px;
  font-weight: 700; border: none; border-radius: 14px; padding: 14px 32px; cursor: pointer;
  box-shadow: 0 4px 14px rgba(245,166,35,0.35);
}
form button:hover { filter: brightness(1.04); }
.hp { position: absolute; left: -9999px; }
.banner { display: none; border-radius: 12px; padding: 12px 16px; margin-bottom: 14px; font-size: 14px; }
.banner.ok { background: #E6F4EA; color: #1E7A3C; }
.banner.err { background: #FDECEC; color: #B42318; }

/* ── Footer (navy, zoals de tab bar in de app) ────────────────────────── */

.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 28px 24px; margin-top: auto; }
.site-footer .inner { max-width: 880px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: center; font-size: 13px; }
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { font-family: 'Manrope', sans-serif; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: 11px; color: rgba(255,255,255,0.5); }

@media (max-width: 560px) {
  .site-header h1 { font-size: 26px; }
  .site-header.hero h1 { font-size: 30px; }
}
