/* CoolTrip promotiesite, concept. Alleen systeemlettertypen en eigen bestanden. */
:root {
  color-scheme: dark;

  --sans: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --cond: "DIN Condensed", "DIN Alternate", "Bahnschrift", "Roboto Condensed", "Arial Narrow", sans-serif;
  /* Woordmerk: zelfde lettertypen als in de app, Impact als terugval net als in de app-HTML */
  --mark: "HelveticaNeue-CondensedBlack", "Helvetica Neue Condensed Black", Impact, "Haettenschweiler", "Arial Narrow", sans-serif;
  --thin: "HelveticaNeue-Thin", "Helvetica Neue Thin", "Helvetica Neue", var(--sans);

  --bg: #07110e;
  --bg-2: #0b1814;
  --bg-3: #0f201b;
  --line: #29443c;
  --line-2: #47685e;
  --cream: #f4f0e6;
  --text: #dbe1da;
  --muted: #a3b5ad;

  /* Kleuren uit de echte app-schermen */
  --screen: linear-gradient(#131b18, #101515 45%, #101313);
  --lcd: #a6def2;
  --lcd-ghost: #153039;
  --clock: #f1f6ed;
  --clock-ghost: #272e28;
  --tile: #17231c;
  --tile-line: #35483b;
  --alert: #ff6558;
  --ui: #cfd9d2;
  --teal: #8fd3dc;
  --signal: #ffc400;
  --red: #d2152f;
  --go: #72dba0;
  --neg: #ff9d94;

  --gutter: 16px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.55 var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
/* Koppen niet automatisch afbreken: een afbreekstreep staat alleen op een zelfgekozen plek (zachte afbreking in de tekst). */
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; -webkit-hyphens: manual; text-wrap: balance; }
.lead, .hero__lede { text-wrap: pretty; }
.phrase { display: inline-block; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font-family: inherit; }
table { border-collapse: collapse; }
:focus-visible { outline: 3px solid var(--lcd); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.defs { position: absolute; }

.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 40;
  padding: .55rem 1rem; background: var(--lcd); color: var(--bg); font-weight: 600;
}
.skip:focus { top: .5rem; }

.concept {
  padding: .22rem var(--gutter);
  background: var(--bg-3); color: var(--muted);
  font-size: .74rem; letter-spacing: .08em; text-align: center;
  border-bottom: 1px solid var(--line);
}

/* Navigatie */
.nav { background: rgba(7, 17, 14, .95); border-bottom: 1px solid var(--line); }
@media (min-width: 768px) and (min-height: 520px) {
  .nav { position: sticky; top: 0; z-index: 30; }
}
.nav__inner { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem 2rem; padding-block: .45rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; padding-block: .35rem; color: var(--cream); text-decoration: none; }
.brand__mark { display: block; width: 2.2rem; height: auto; }
.brand__word { display: inline-flex; align-items: baseline; }
.brand__word b { font: 900 1.24rem/1 var(--mark); letter-spacing: .005em; color: #e9ece6; }
.brand__word span { font: 200 1.16rem/1 var(--thin); color: #c6cdc7; }
.nav__links { display: flex; flex-wrap: wrap; gap: 0 1.3rem; }
.lang { position: relative; margin-left: auto; }
.lang__btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .25rem .6rem; background: transparent; border: 1px solid var(--line-2); border-radius: 7px; color: var(--cream); font: 600 .82rem/1 var(--sans); letter-spacing: .03em; cursor: pointer; }
.lang__btn:hover { border-color: var(--lcd); }
.lang__chev { width: .42rem; height: .42rem; margin: -.15rem .1rem 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
[aria-expanded="true"] > .lang__chev { margin-top: .2rem; transform: rotate(-135deg); }
.flag { display: block; flex: none; width: 21px; height: 15px; overflow: hidden; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }
.flag svg { display: block; width: 100%; height: 100%; }
.lang__menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 40; min-width: 11.5rem; padding: .3rem; background: #0f201b; border: 1px solid var(--line-2); border-radius: 9px; box-shadow: 0 16px 36px rgba(0, 0, 0, .55); }
.lang__menu a { display: flex; align-items: center; gap: .65rem; min-height: 40px; padding: .35rem .6rem; border-radius: 6px; color: var(--text); font-size: .94rem; text-decoration: none; }
.lang__menu a:hover { background: #17302a; color: var(--cream); }
.lang__menu a[aria-current] { background: var(--bg-3); color: var(--cream); font-weight: 600; }
.nav__links a { display: inline-block; padding: .5rem 0; color: var(--text); font-size: .95rem; text-decoration: none; }
.nav__links a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: .25em; }
@media (max-width: 767px) { .nav .nav__cta { display: none; } .lang { margin-left: 0; } .lang__menu { right: auto; left: 0; } }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 44px; padding: .5rem 1.1rem;
  border: 1.5px solid var(--line-2); border-radius: 8px;
  background: transparent; color: var(--cream);
  font: 500 .95rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
}
.btn:hover { border-color: var(--lcd); color: var(--lcd); }
.btn--line { border-color: var(--teal); color: #d4f0f4; }
.btn--signal { background: var(--cream); border-color: var(--cream); color: var(--bg); font-weight: 600; }
.btn--signal:hover { background: #fff; border-color: #fff; color: var(--bg); }
.btn--small { min-height: 40px; padding: .35rem .85rem; font-size: .88rem; }
.textbtn {
  margin-top: .55rem; padding: .35rem 0; min-height: 32px;
  background: none; border: 0; color: var(--lcd);
  font-size: .92rem; font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: .25em;
}
.textbtn:hover { color: var(--cream); }

.kicker {
  color: var(--muted); font-size: .78rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  margin-bottom: .9rem;
}
.kicker--rule { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.1rem; }
.kicker--rule::after { content: ""; flex: 0 1 7rem; height: 1px; background: var(--line-2); }

/* Hero */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(88vh, 860px); overflow: hidden; background: var(--bg); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
@media (min-width: 768px) { .hero__img { object-position: 50% 34%; } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, #07110e 0%, rgba(7, 17, 14, .86) 24%, rgba(7, 17, 14, .28) 56%, rgba(7, 17, 14, .08) 80%, rgba(7, 17, 14, .3) 100%);
}
.hero__copy { position: relative; z-index: 1; display: grid; gap: 1.1rem 3rem; padding-top: 16rem; padding-bottom: 2.5rem; }
.hero .kicker { color: var(--cream); }
.hero .kicker--rule::after { background: rgba(244, 240, 230, .5); }
.hero h1 { color: var(--cream); font-size: clamp(3.1rem, 12.5vw, 7rem); line-height: .98; font-weight: 700; letter-spacing: -.035em; }
.hero__side { display: grid; gap: .65rem; justify-items: start; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }
.hero__lede { color: var(--cream); font-size: clamp(1.1rem, 1.9vw, 1.36rem); line-height: 1.35; }
.hero__status { color: var(--text); font-size: .92rem; }
@media (min-width: 880px) {
  .hero__copy { grid-template-columns: minmax(0, 1fr) auto; align-items: end; padding-bottom: 3.25rem; }
  .hero__side { max-width: 24rem; padding-bottom: .5rem; }
}

/* Secties */
.section { position: relative; padding-block: 3.75rem; }
@media (min-width: 768px) { .section { padding-block: 5.5rem; } }
.section--tint { background: var(--bg-2); border-block: 1px solid var(--line); }
.section h2 { color: var(--cream); font-size: clamp(2.15rem, 5.4vw, 3.5rem); line-height: 1.04; font-weight: 700; letter-spacing: -.028em; }
.section h3 { color: var(--cream); font-size: 1.22rem; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.lead { color: var(--cream); font-size: clamp(1.12rem, 2vw, 1.36rem); line-height: 1.42; }
.fine { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.sechead { display: grid; gap: .9rem 3rem; margin-bottom: 2rem; }
@media (min-width: 1000px) { .sechead { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; } }

/* Waarom */
.why { display: grid; gap: 2rem 4rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
.why__copy .lead { margin-top: 1.1rem; }
.why__cells { display: grid; gap: 1.25rem 2.25rem; grid-template-columns: minmax(0, 1fr); margin-top: 1.75rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.why__cells p { margin-top: .35rem; color: var(--muted); }
@media (min-width: 640px) { .why__cells { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.why__photo { overflow: hidden; border-radius: 14px; border: 1px solid var(--line); }
.why__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 100% 60%; }
@media (min-width: 1000px) { .why { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* De gekoppelde instrumenten */
.rig { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
.rig__main, .rig__driver { min-width: 0; }
.flic { min-width: 0; }
@media (min-width: 1100px) {
  .rig { grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); align-items: stretch; }
  .rig__driver { align-self: center; }
  .flic { grid-column: 1 / -1; }
}
.rig__label { margin-bottom: .4rem; color: var(--muted); font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.rig__hint { margin-top: .7rem; max-width: 52em; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.rig__note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.1rem; margin-top: 1rem; color: var(--muted); font-size: .86rem; line-height: 1.4; }

.device {
  container-type: inline-size;
  padding: clamp(5px, 1vw, 9px);
  background: #121617; border: 1px solid #3c4745; border-radius: clamp(16px, 2.6vw, 30px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.screen { background: var(--screen); border-radius: clamp(11px, 2vw, 22px); color: var(--lcd); overflow: hidden; }
.lbl { display: block; color: #b4beb8; font-size: .78em; font-weight: 600; letter-spacing: .04em; line-height: 1.25; white-space: nowrap; }
.lbl small { font-size: .9em; font-weight: 400; color: #8b9791; }

/* LCD-cijfers */
.lcd { display: block; width: 100%; height: auto; overflow: visible; }
.lcd .seg { fill: var(--lcd-ghost); }
.lcd .seg.on { fill: var(--lcd); }
.lcd-white { display: block; }
.lcd-white .lcd .seg { fill: var(--clock-ghost); }
.lcd-white .lcd .seg.on { fill: var(--clock); }

/* Statusregel */
.status { display: flex; align-items: center; justify-content: space-between; gap: .3em 1em; min-width: 0; color: var(--ui); font-size: .86em; }
.status__brand { display: inline-flex; align-items: center; min-width: 0; white-space: nowrap; font-weight: 400; color: #b4bdb7; }
.status__brand b { font: 900 1.16em/1 var(--mark); color: #b8c0ba; }
.status__brand small { font: 200 1.12em/1 var(--thin); }
.status__brand i { display: inline-block; width: 1px; height: 1.1em; margin-inline: .6em; background: #4c5a55; }
.status__meta { display: inline-flex; align-items: center; gap: .85em; white-space: nowrap; font-weight: 600; font-size: .94em; }
.status__meta svg { width: 1.2em; height: 1.2em; vertical-align: -.24em; margin-right: .22em; }
.status__meta .status__user { margin: 0; vertical-align: middle; }
.status__meta .batt svg { width: 1.6em; height: .95em; vertical-align: -.08em; color: #7fd18f; }
.chip { color: #b9cfb3; }
.linked { color: #7ba6e6; }

/* Co-pilotscherm, liggend zoals in de app */
.copilot {
  display: grid; gap: .85em 1.35em;
  grid-template-columns: minmax(0, 47%) minmax(0, 1fr);
  grid-template-areas: "status status" "left right";
  padding: .9em 1.25em 1.15em;
  font-size: clamp(9px, 1.72cqw, 15px);
}
.copilot > .status { grid-area: status; }
.cp-left {
  grid-area: left; display: grid; gap: .8em .9em; min-width: 0; align-content: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}
.cp-top { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 5em; gap: .8em; align-items: center; }
.state {
  display: grid; justify-items: center; align-content: center; gap: .25em;
  min-height: 3.9em; padding: .3em;
  background: linear-gradient(#17465a, #103241); border: 1px solid #235a72; border-radius: .75em;
  color: #b4e4f5; font-size: 1em; cursor: pointer;
}
.state:hover { border-color: var(--lcd); }
.state__txt { font-size: .84em; font-weight: 700; letter-spacing: .03em; }
.state__icon { display: flex; align-items: center; gap: .4em; }
.state__shape { display: block; width: 0; height: 0; border-block: .55em solid transparent; border-left: .85em solid currentColor; }
.state[aria-pressed="true"] .state__shape { width: 1.05em; height: 1.05em; border: 0; border-radius: .14em; background: currentColor; }
.state__dot { display: block; width: .42em; height: .42em; border-radius: 50%; background: currentColor; opacity: .7; }
.cp-gauges { display: grid; gap: .75em; align-content: start; }
.cp-gauge { display: grid; gap: .3em; width: 100%; min-width: 0; padding: 0; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.cp-gauge.is-dim .lcd { opacity: .55; }
.cp-gauge-wrap { position: relative; }
.cp-avgreset { position: absolute; top: -.35em; right: 0; display: grid; place-items: center; width: 2em; height: 2em; padding: 0; background: var(--tile); border: 1px solid var(--tile-line); border-radius: .45em; color: #d8e2da; cursor: pointer; }
.cp-avgreset svg { width: 1.2em; height: 1.2em; }
.cp-nav { display: grid; gap: .45em; align-content: start; min-width: 0; }
.cp-tile { position: relative; padding: .65em .4em .55em; background: var(--tile); border: 1px solid var(--tile-line); border-radius: .75em; }
.cp-tile__normal { display: grid; justify-items: center; gap: .3em; }
.cp-tile__alert { position: absolute; inset: 0; display: none; align-content: center; justify-items: center; gap: .4em; padding: .4em; text-align: center; }
.cp-alertnum { display: block; width: 62%; }
.cp-tile.is-alert { border-color: var(--alert); }
.cp-tile.is-alert .cp-tile__normal { visibility: hidden; }
.cp-tile.is-alert .cp-tile__alert { display: grid; }
.cp-tile.is-alert .lbl { color: var(--alert); }
.cp-compass { display: block; width: 66%; }
.cp-heading { color: var(--lcd); font-size: .92em; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.cp-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35em; }
.tool {
  display: grid; place-items: center; min-height: 2.9em; padding: .2em;
  background: var(--tile); border: 1px solid var(--tile-line); border-radius: .6em; color: #d8e2da; cursor: pointer;
}
.tool svg { width: 1.55em; height: 1.55em; }
button.tool:hover { border-color: var(--lcd); }
.tool[aria-pressed="true"] { border-color: var(--lcd); color: var(--lcd); }
.tool__minus { display: none; }
.tool.is-back { border-color: var(--alert); color: var(--alert); animation: pulse 1.6s ease-in-out infinite; }
.tool.is-back .tool__plus { display: none; }
.tool.is-back .tool__minus { display: block; }
@keyframes pulse { 50% { opacity: .55; } }

.cp-right { grid-area: right; position: relative; min-width: 0; }
.cp-dist { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6em; height: 100%; }
.cp-dist.is-covered { visibility: hidden; }
.cp-nums { display: grid; gap: .8em; align-content: center; min-width: 0; }
.distance { display: block; width: 100%; padding: 0; background: none; border: 0; border-radius: .4em; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; position: relative; }
.distance.is-frozen .lcd { animation: pulse 1.6s ease-in-out infinite; }
.distance.is-holding::after { border-radius: .4em; }
.cp-side { display: grid; grid-template-rows: 1fr auto 1fr; justify-items: center; align-items: center; gap: .3em; }
.vlabel { writing-mode: vertical-rl; transform: rotate(180deg); color: #b4beb8; font-size: .76em; font-weight: 600; letter-spacing: .08em; white-space: nowrap; }
.vlabel small { font-weight: 400; color: #8b9791; font-size: .92em; }
.reset {
  position: relative; display: grid; place-items: center; width: 2.5em; height: 2.5em; padding: 0;
  background: #1b1a18; border: 1px solid #36302b; border-radius: .55em; color: #ff6e5e; cursor: pointer;
}
.reset svg { width: 1.5em; height: 1.5em; }
.reset:hover { border-color: #ff6e5e; }

/* Panelen over de afstand heen, zoals de controlekaart in de app */
.cp-panel { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .55em; overflow: auto; color: var(--ui); }
.pn-head { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.pn-title { font-weight: 700; font-size: 1em; letter-spacing: .02em; color: #dfe7df; white-space: nowrap; }
.pn-title small { font-weight: 400; font-size: .9em; color: #a6b2ab; letter-spacing: 0; }
.pn-close { min-height: 2.4em; min-width: 2.4em; padding: .2em .4em; background: none; border: 0; color: #dfe7df; font-size: 1em; cursor: pointer; white-space: nowrap; }
.pn-close small { font-size: .84em; color: #a6b2ab; margin-right: .3em; }
.pn-close:hover { color: #fff; }
.pn-lcd { display: block; width: 74%; max-width: 100%; }
.pn-foot { display: flex; flex-wrap: wrap; gap: .4em; margin-top: auto; padding-top: .2em; }
.pn-foot--end { justify-content: flex-end; }
.pbtn {
  min-height: 2.9em; padding: .2em 1em;
  background: var(--tile); border: 1px solid var(--tile-line); border-radius: .6em; color: #e6ede6;
  font-size: .94em; font-weight: 600; cursor: pointer;
}
.pbtn:hover:not(:disabled) { border-color: var(--lcd); }
.pbtn:disabled { color: #8f9c95; cursor: not-allowed; }
.pbtn--go { background: #103241; border-color: #235a72; color: #b4e4f5; }
.laps { display: grid; font-size: .92em; }
.laps li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .8em; padding: .22em .1em; border-bottom: 1px solid #1c2a26; font-variant-numeric: tabular-nums; color: #e3edef; }
.laps__n { color: #a6b2ab; }
.laps__up { color: var(--neg); }
.laps__down { color: var(--go); }
.laps__zero { color: #cfdadd; }
.laps__empty { color: #a6b2ab; display: block !important; }

.stamps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45em; }
.stamp { display: grid; gap: .2em; min-width: 0; align-content: start; }
.stamp__box { position: relative; display: grid; place-items: center; aspect-ratio: 1.45; background: var(--tile); border: 1px solid var(--tile-line); border-radius: .55em; color: #cfdcc6; }
.stamp__n { position: absolute; top: .3em; left: .45em; font-size: .72em; color: #a6b2ab; }
.stamp__letter { display: grid; place-items: center; width: 2.1em; height: 2.1em; background: #cfdcc6; border-radius: .35em; color: #0f1614; font-size: 1.05em; font-weight: 800; }
.stamp__box svg { width: 2.6em; height: 2.6em; }
.stamp__add { width: 100%; padding: 0; font: inherit; cursor: pointer; }
.stamp__add:hover { border-color: var(--lcd); }
.stamp__plus { font-size: 1.9em; font-weight: 700; line-height: 1; }
.stamp__t { text-align: center; color: #b9c3bb; font-size: .68em; line-height: 1.25; font-variant-numeric: tabular-nums; }

.cp-tabs { display: none; }

/* Co-pilotscherm, staand zoals in de app */
@container (max-width: 559px) {
  .copilot {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "status" "left" "right" "tabs";
    font-size: clamp(10.5px, 3.75cqw, 15px);
    gap: .85em; padding: .85em .9em .7em;
  }
  .copilot .status { flex-wrap: wrap; }
  .copilot .status__meta { width: 100%; justify-content: space-between; }
  .cp-dist { grid-template-columns: auto minmax(0, 1fr); min-height: 22em; }
  .cp-side { order: -1; }
  .cp-tabs {
    grid-area: tabs; display: flex; justify-content: space-between; gap: .5em;
    padding-top: .55em; border-top: 1px solid #1f2d29; color: #9aa7a0; font-size: .78em;
  }
  .cp-tabs .is-on { color: var(--lcd); font-weight: 600; }
  .tool { min-height: 3.2em; }
}

/* Kompas */
.compass { display: block; width: 100%; height: auto; overflow: visible; }

/* Driverscherm */
.driver { display: grid; gap: .5em; padding: .8em 1.1em 1em; font-size: clamp(8.5px, 2.7cqw, 14px); }
.driver .status { font-size: .8em; }
.dr-head { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.dr-clock { display: block; width: 36%; min-width: 7em; }
.dr-compass { display: block; width: 3.4em; }
.dr-main { display: flex; align-items: center; justify-content: center; gap: .7em; min-height: 9em; padding-block: .4em; }
.dr-big { display: block; width: 62%; }
.dr-big--speed { width: 48%; }
.dr-unit { align-self: flex-end; margin-bottom: .3em; color: #dfe7df; font-size: 1.05em; font-weight: 500; }
.dr-tiles { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: .4em; }
.tile { display: grid; gap: .25em; align-content: start; min-width: 0; padding: .4em .45em .45em; background: var(--tile); border: 1px solid var(--tile-line); border-radius: .55em; color: inherit; font: inherit; text-align: left; }
button.tile { cursor: pointer; }
button.tile:hover { border-color: var(--line-2); }
.tile.is-on { background: #1f3026; border-color: #688a75; }
.tile .lbl { display: flex; justify-content: space-between; gap: .4em; color: #a8baac; font-size: .66em; }
.tile .lcd { width: auto; height: 1.75em; max-width: 100%; }
.tile__ahead { color: var(--alert); font-weight: 700; }
.tile--limit.is-high .lcd { opacity: .45; }
.tile--limit.is-alert { border-color: var(--alert); }
.tile--limit.is-pulse { animation: pulse 1.6s ease-in-out infinite; }
.rig__msg, .zones__msg { min-height: 1.6em; margin-top: .55rem; text-align: center; font-size: .98rem; font-weight: 600; line-height: 1.5; }
.zones__msg { margin-top: 0; }
[data-tone="warn"] { color: #f2c23b; }
[data-tone="zone"] { color: #ff9aa6; }
[data-tone="out"] { color: var(--go); }
[data-tone="note"] { color: var(--teal); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@container (max-width: 379px) {
  .tile--opt { display: none; }
  .dr-main { min-height: 6.5em; }
}

.sign {
  --s: 3rem;
  display: inline-grid; place-items: center; flex: none;
  width: var(--s); height: var(--s);
  border: calc(var(--s) * .13) solid var(--red); border-radius: 50%;
  background: #fff; color: #111;
  font: 700 calc(var(--s) * .46)/1 var(--cond);
}

/* Cool Button */
.flic__row { display: grid; gap: .9rem 1.5rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 620px) { .flic__row { grid-template-columns: auto minmax(0, 38rem); justify-content: start; } }
.flic__body {
  display: flex; align-items: center; gap: .55rem; width: max-content;
  padding: .55rem .8rem .55rem .55rem; border-radius: 999px;
  background: linear-gradient(155deg, #2a2e30, #131617);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.flic__btn {
  position: relative; display: grid; place-items: center; padding: 0;
  border: 1px solid #050606; border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, #2a2e30, #17191b);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, .08), 0 1px 0 rgba(255, 255, 255, .05);
  color: var(--lcd); cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.flic__btn--large { width: 5rem; height: 5rem; }
.flic__btn--small { width: 3.4rem; height: 3.4rem; }
.flic__btn--small svg { width: 1.45rem; height: 1.45rem; }
.flic__btn:active { transform: scale(.97); }
.flic__logo { display: block; width: 3.05rem; height: auto; pointer-events: none; }
.is-holding::after {
  content: ""; position: absolute; inset: -4px; border: 3px solid var(--lcd); border-radius: inherit;
  animation: hold 1s linear forwards; pointer-events: none;
}
@keyframes hold { from { opacity: .1; transform: scale(1.18); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .is-holding::after { animation: none !important; } }

.flic__table { width: 100%; font-size: .84rem; line-height: 1.25; }
.flic__mode { padding-bottom: .3rem; color: var(--muted); text-align: left; font-size: .82rem; caption-side: top; }
.flic__mode b { color: var(--cream); font-weight: 600; }
.flic__table th { padding: .15rem .5rem .15rem 0; color: var(--muted); font-weight: 500; text-align: left; white-space: nowrap; font-size: .78rem; }
.flic__table td { padding: .1rem .3rem .1rem 0; }
.act {
  min-height: 32px; width: 100%; padding: .25rem .45rem; text-align: left;
  background: rgba(127, 198, 224, .06); border: 1px solid var(--line); border-radius: 5px;
  color: var(--text); font-size: .84rem; line-height: 1.2; cursor: pointer;
}
.act:hover { border-color: var(--lcd); color: var(--cream); }

/* Functies */
.features { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: minmax(0, 1fr); margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
@media (min-width: 620px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.features p { margin-top: .3rem; color: var(--muted); }

/* Telefoon, pols, duim */
.trio { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); margin-top: 2rem; }
.trio__item { min-width: 0; }
.trio__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.trio__item h3 { margin-top: .95rem; }
.trio__item p { margin-top: .25rem; color: var(--muted); }

/* Zones */
.zones { display: grid; gap: 2.25rem 4rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1040px) { .zones { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.zones__copy .lead { margin-top: 1.1rem; }
.zones__facts { display: grid; gap: 1.1rem; margin-top: 1.75rem; padding-top: 1.35rem; border-top: 1px solid var(--line); }
.zones__facts dt { color: var(--cream); font-weight: 600; }
.zones__facts dd { margin-top: .15rem; color: var(--muted); }
.zones__copy .fine { margin-top: 1.25rem; }
.zones__demo { display: grid; gap: 1rem; min-width: 0; }

.strip { position: relative; padding-top: 18px; }
.strip__track { display: flex; gap: 2px; }
.strip__seg {
  flex: 1 1 0; min-width: 40px; min-height: 58px;
  display: grid; place-items: center;
  background: var(--bg-3); border: 0; border-top: 3px solid var(--line-2); border-radius: 0;
  color: var(--muted); font-size: .76rem; padding: .3rem 0;
}
button.strip__seg { cursor: pointer; }
button.strip__seg:hover { background: #17302a; }
.strip__seg--60 { border-top-color: #f2c23b; }
.strip__seg--50 { border-top-color: #f28a3b; }
.strip__seg--30 { border-top-color: var(--red); }
.strip__seg.is-here { background: #1a342d; }
.strip__seg .sign { --s: 2.25rem; }
.strip__car {
  position: absolute; top: 2px; left: 0; width: 0; height: 0;
  margin-left: -7px;
  border-inline: 7px solid transparent; border-top: 11px solid var(--lcd);
}
.zones__ctl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; color: var(--muted); font-size: .88rem; }

/* Band */
.band { position: relative; overflow: hidden; min-height: 300px; display: flex; align-items: center; border-block: 1px solid var(--line); }
.band__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.band__inner { position: relative; display: grid; gap: .75rem 2.5rem; padding-block: 3rem 5.5rem; }
.band h2 { color: var(--cream); font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.06; font-weight: 700; letter-spacing: -.026em; }
.band p { color: var(--cream); font-size: 1.02rem; line-height: 1.45; }
@media (min-width: 880px) { .band__inner { grid-template-columns: auto minmax(0, 1fr); align-items: center; } .band p { padding-left: 2.5rem; border-left: 1px solid rgba(244, 240, 230, .35); } }

/* Shop */
.shophead { display: grid; gap: 1.25rem 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
.shophead .lead { margin-top: .85rem; }
.shophead__img { width: 100%; border-radius: 12px; }
@media (min-width: 880px) {
  .shophead { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .shophead__img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%); mask-image: linear-gradient(90deg, transparent 0, #000 16%); border-radius: 0 12px 12px 0; }
}
.shop { display: grid; gap: .6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.75rem; }
@media (min-width: 620px) { .shop { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .shop { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.item { min-width: 0; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; }
.item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.section .item h3 { padding: .6rem .7rem .7rem; font-size: 1rem; font-weight: 500; text-align: center; }
.proto { display: grid; gap: 1rem 2rem; grid-template-columns: minmax(0, 1fr); align-items: center; margin-top: 1rem; padding: 1rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; }
.proto img { width: 100%; border-radius: 8px; }
.proto__tag { display: inline-block; margin-bottom: .45rem; padding: .05rem .5rem; border: 1px solid var(--teal); border-radius: 4px; color: #d4f0f4; font-size: .76rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.proto p { margin-top: .2rem; }
.proto .fine { margin-top: .6rem; }
@media (min-width: 720px) { .proto { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); } }

/* Wachtlijst */
.wait { display: grid; gap: 1.75rem 4rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .wait { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.wait .lead { margin-top: 1rem; }
.wait__contact { margin-top: 1.1rem; color: var(--muted); font-size: .95rem; }
.form { display: grid; gap: 1rem; padding: 1.25rem; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.form__two { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 520px) { .form__two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: .3rem; min-width: 0; align-content: start; }
.field label { color: var(--cream); font-size: .92rem; font-weight: 500; }
.field input { width: 100%; min-height: 46px; padding: .5rem .7rem; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 8px; color: var(--cream); font: 400 1rem/1.3 var(--sans); }
.field input[aria-invalid="true"] { border-color: var(--neg); }
.field__err { color: var(--neg); font-size: .85rem; }
.form .btn { justify-self: start; }
.form a { color: var(--lcd); }
.form__done { padding: 1.25rem; background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; }
.form__done:focus { outline: none; }
.form__thanks { color: var(--cream); font-size: 1.2rem; font-weight: 600; }
.form__done .fine { margin-top: .4rem; }

/* Handleiding en privacy */
.doc { max-width: 880px; padding-block: 3rem 4rem; }
.doc h1 { color: var(--cream); font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.04; font-weight: 700; letter-spacing: -.028em; }
.doc .lead { margin-top: 1rem; }
.doc h2 { margin-top: 2.25rem; color: var(--cream); font-size: 1.3rem; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.doc p { margin-top: .5rem; }
.doc strong { color: var(--cream); font-weight: 600; }
.doctable { width: 100%; margin-top: .75rem; font-size: .95rem; }
.doctable thead th { color: var(--muted); font-size: .82rem; font-weight: 500; border-bottom: 1px solid var(--line-2); }
.doctable th, .doctable td { padding: .5rem .8rem .5rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.doctable tbody th { color: var(--cream); font-weight: 500; white-space: nowrap; }
@media (max-width: 559px) {
  .doctable { table-layout: fixed; font-size: .86rem; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
  .doctable th, .doctable td { padding-right: .5rem; }
  .doctable tbody th { white-space: normal; }
}

/* Voet */
.footer { padding-block: 1.75rem; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 2rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0 1.2rem; }
.footer__links a { display: inline-block; padding: .35rem 0; font-size: .92rem; }
.footer__credit { color: var(--text); font-size: .9rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
