/* TimoTick-website. Kleuren en lettertype volgen de huisstijl van de app (pilot/app/globals.css) en het merkpakket 2.0. */
@font-face {
  font-family: 'Manrope';
  src: url('/brand/fonts/Manrope-Variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --tt-coral: #FF704F;
  --tt-teal: #00B3A4;
  --tt-teal-soft: #DDF5F1;
  --tt-teal-ink: #00756B;
  --tt-midnight: #0E2D4A;
  --tt-warm: #FFF7EC;
  --tt-slate: #5A6B7B;
  --bg: var(--tt-warm);
  --ink: var(--tt-midnight);
  --muted: var(--tt-slate);
  --card: #FFFFFF;
  --border: #EADFD0;
  --soft: var(--tt-teal-soft);
  --link: var(--tt-teal-ink);
  --band: var(--tt-midnight);
  --band-ink: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A1F33;
    --ink: var(--tt-warm);
    --muted: #B5C2CE;
    --card: #12304D;
    --border: #24486A;
    --soft: #0F3B45;
    --link: #5FD8CC;
    --band: #12304D;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}
a { color: var(--link); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Kop */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
/* Logo als vaste SVG uit het merkpakket; minimaal 140 px breed. */
.brand img { display: block; width: 168px; min-width: 140px; height: auto; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--link); }

/* Knoppen: turkoois met middernacht-tekst, zoals in de app (wit op turkoois haalt het contrast niet) */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--tt-teal); color: var(--tt-midnight);
  font-weight: 700; text-decoration: none; border: 2px solid var(--tt-teal);
}
.button:hover { filter: brightness(1.06); }
.button--ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.nav .button { color: var(--tt-midnight); }
.nav .button--ghost { color: var(--ink); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }

/* Opening */
.hero { padding: 40px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.slogan { margin: 0 0 12px; font-size: .85rem; font-weight: 800; letter-spacing: .28em; color: var(--tt-coral); }
h1 { margin: 0 0 18px; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; letter-spacing: -.03em; }
h2 { margin: 0 0 14px; font-size: clamp(1.7rem, 3.5vw, 2.3rem); line-height: 1.2; letter-spacing: -.02em; }
h3 { margin: 0 0 8px; font-size: 1.2rem; }
.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure { text-align: center; }
.hero-figure img { width: 300px; }

section { padding: 64px 0; }
.section-intro { max-width: 680px; color: var(--muted); margin: 0 0 32px; }

/* Functies */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 24px; }
.card p { margin: 0; color: var(--muted); }
.card .icon {
  display: inline-flex; width: 44px; height: 44px; border-radius: 12px;
  align-items: center; justify-content: center; margin-bottom: 14px;
  background: var(--soft); color: var(--link); font-size: 1.3rem; font-weight: 800;
}

/* Stappen */
.band { background: var(--band); color: var(--band-ink); }
.band .section-intro { color: #C9D6E2; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: stap; }
.steps li { counter-increment: stap; }
.steps li::before {
  content: counter(stap); display: inline-flex; width: 40px; height: 40px; border-radius: 50%;
  align-items: center; justify-content: center; margin-bottom: 12px;
  background: var(--tt-coral); color: var(--tt-midnight); font-weight: 800;
}
.steps p { margin: 0; color: #C9D6E2; }

/* Prijzen */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan--featured { border: 2px solid var(--tt-teal); }
.plan .badge {
  align-self: flex-start; margin-bottom: 10px; padding: 2px 10px; border-radius: 999px;
  background: var(--soft); color: var(--link); font-size: .8rem; font-weight: 700;
}
.price { margin: 6px 0 4px; font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 16px 0 24px; padding-left: 20px; color: var(--muted); }
.plan .button { margin-top: auto; }
.note { margin-top: 24px; padding: 16px 20px; border-radius: 16px; background: var(--soft); }

/* Vragen */
details { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 16px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Contact en voet */
.contact { text-align: center; }
.contact .actions { justify-content: center; }
.site-footer { padding: 32px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

@media (max-width: 860px) {
  .hero .wrap, .grid, .pricing { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero-figure { order: -1; }
  .hero-figure img { width: 200px; }
  .nav a:not(.button) { display: none; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .nav .button--ghost { display: none; }
  .brand img { width: 140px; }
}
