/* Lagivo website — dezelfde kleuren als de app (ui/Theme.kt) */
:root {
  --bg: #163035;
  --bg-deep: #10262a;
  --surface: #1f3d42;
  --surface-hi: #284a50;
  --divider: #26464b;
  --text: #e8f6f4;
  --text-2: #bfdad6;
  --muted: #9abdb8;
  --accent: #99eee3;
  --on-accent: #032925;
  --radius: 14px;
  --max: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Taalwissel: alleen de gekozen taal tonen */
html[data-lang="nl"] [lang="en"]:not(html),
html[data-lang="en"] [lang="nl"]:not(html) { display: none !important; }

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Kop */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(16, 38, 42, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--divider);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.site-nav { display: flex; gap: 18px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.site-nav a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.site-nav a:hover { color: var(--text); }
.lang-switch {
  background: var(--surface); color: var(--text); border: 1px solid var(--divider);
  border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 14px; cursor: pointer;
}
.lang-switch:hover { background: var(--surface-hi); }
@media (max-width: 640px) {
  .site-nav .hide-sm { display: none; }
  .site-nav { gap: 12px; }
}

/* Hero */
.hero { padding: 72px 0 56px; background: radial-gradient(1200px 500px at 70% -10%, #1f4a4f 0%, transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 19px; color: var(--text-2); margin: 0 0 28px; max-width: 34em; }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }
@media (max-width: 860px) {
  .hero { padding: 44px 0 36px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
}

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 16px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: #b5f4eb; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--divider); }
.btn-ghost:hover { background: var(--surface); }
.btn[aria-disabled="true"] { opacity: .75; cursor: default; }

/* Tv-voorbeeld (nagebouwd, zonder echte zenders) */
.tv { background: #0b1b1e; border: 10px solid #22292b; border-radius: 16px; aspect-ratio: 16 / 9; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); position: relative; }
.tv::after { content: ""; position: absolute; left: 50%; bottom: -26px; width: 30%; height: 12px; transform: translateX(-50%); background: #22292b; border-radius: 0 0 8px 8px; }
.tv-screen { position: absolute; inset: 0; background: var(--bg); display: grid; grid-template-rows: auto 1fr; font-size: clamp(7px, 1.25vw, 11px); }
.tv-top { display: flex; gap: 1.6em; padding: .9em 1.4em; color: var(--muted); align-items: center; }
.tv-top b { color: var(--on-accent); background: var(--accent); padding: .15em .8em; border-radius: 999px; font-weight: 600; }
.tv-body { display: grid; grid-template-columns: 9em 1fr; gap: .4em; padding: 0 1.4em 1.2em; }
.tv-ch, .tv-row { display: grid; gap: .4em; grid-auto-rows: 1fr; }
.tv-ch span { background: var(--surface); border-radius: .5em; padding: .5em .7em; color: var(--text-2); white-space: nowrap; overflow: hidden; }
.tv-ch span.on { background: var(--surface-hi); color: var(--text); box-shadow: inset 0 0 0 2px var(--accent); }
.tv-row div { display: flex; gap: .4em; }
.tv-row i { font-style: normal; background: var(--surface); border-radius: .5em; padding: .5em .7em; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-row i.now { background: #2c5a5f; color: var(--text); }

/* Secties */
section { padding: 64px 0; }
section.alt { background: var(--bg-deep); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; margin: 0 0 12px; letter-spacing: -.01em; }
.section-intro { color: var(--text-2); margin: 0 0 32px; max-width: 42em; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--divider); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.card .ico { width: 40px; height: 40px; border-radius: 10px; background: #2c5a5f; display: grid; place-items: center; margin-bottom: 12px; }
.card .ico svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--divider); border-radius: var(--radius); padding: 22px; color: var(--text-2); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; margin-bottom: 12px; }
.steps li strong { color: var(--text); display: block; margin-bottom: 4px; }

/* Aanbevolen apparaat */
.device { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; background: var(--surface); border: 1px solid var(--divider); border-radius: 20px; padding: 28px; }
.device-art { aspect-ratio: 1; border-radius: 16px; background: linear-gradient(160deg, #2c5a5f, #163035); display: grid; place-items: center; }
.device-art svg { width: 62%; height: auto; }
.device h3 { font-size: 24px; margin: 0 0 8px; }
.device ul { margin: 12px 0 20px; padding-left: 20px; color: var(--text-2); }
.partner-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--divider); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }
.disclosure { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
@media (max-width: 700px) {
  .device { grid-template-columns: 1fr; padding: 20px; }
  .device-art { max-width: 160px; }
}

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--divider); border-radius: var(--radius); padding: 4px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--text-2); }

/* Juridische pagina's */
.doc { padding: 48px 0 64px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); margin: 0 0 6px; line-height: 1.15; }
.doc .updated { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc h3 { font-size: 18px; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--text-2); }
.doc ul { padding-left: 22px; }
.doc .summary { background: var(--surface); border: 1px solid var(--divider); border-left: 4px solid var(--accent); border-radius: 10px; padding: 16px 20px; margin: 0 0 8px; }
.doc .summary p { margin: 0; color: var(--text); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--divider); vertical-align: top; }
.doc th { color: var(--text); font-weight: 600; }
.doc td { color: var(--text-2); }
.table-scroll { overflow-x: auto; }

/* Voet */
.site-footer { border-top: 1px solid var(--divider); background: var(--bg-deep); padding: 40px 0 48px; color: var(--muted); font-size: 14.5px; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; margin-bottom: 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.site-footer nav a { color: var(--text-2); text-decoration: none; }
.site-footer nav a:hover { color: var(--text); text-decoration: underline; }
.site-footer p { margin: 6px 0; max-width: 60em; }
.doc table.lic td:last-child { white-space: nowrap; }
