/* ==========================================================
   AirScout Radio — paginastijl
   Enkel voor /airscout-radio. Gebruikt uitsluitend de tokens
   uit assets/style.css — nooit hardcoded hex.
   Prefix: .nr-  (network radio)
   ========================================================== */

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

.nr-section {
  padding: 46px 0;
  border-top: 1px solid var(--line);
}

.nr-section:first-child { border-top: 0; }

.nr-section h2 {
  font-size: 26px;
  color: var(--text);
  margin: 0 0 10px;
}

/* text-wrap: pretty verdeelt de laatste regels zodat er geen los woord
   onderaan een alinea blijft hangen. Browsers zonder ondersteuning
   negeren het gewoon. Bewust breed toegepast op alle lopende tekst. */
.nr-wrap p,
.nr-wrap li,
.nr-wrap h2,
.nr-wrap h3,
.nr-wrap figcaption,
.nr-wrap summary,
.nr-wrap label,
.hero h1,
.hero p {
  text-wrap: pretty;
}

.nr-lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 100ch;
  margin: 0 0 22px;
}

.nr-section p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 100ch;
}

.nr-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}

/* ── Kaartgrids ─────────────────────────────────────────── */

.nr-grid {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.nr-grid-2 { grid-template-columns: repeat(2, 1fr); }
.nr-grid-3 { grid-template-columns: repeat(3, 1fr); }
.nr-grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .nr-grid-3, .nr-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .nr-grid-2, .nr-grid-3, .nr-grid-4 { grid-template-columns: 1fr; }
}

.nr-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.nr-card h3 {
  font-size: 15px;
  color: var(--text);
  margin: 0 0 8px;
}

.nr-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* Doorlopende tekst: compactere afstand tussen alinea's. */
.nr-section > p { margin: 0 0 14px; }
.nr-section > p:last-child { margin-bottom: 0; }

/* ── Callout ────────────────────────────────────────────── */

.nr-callout {
  background: #f3f6ff;
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 0 0 22px;
}

.nr-callout p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
  max-width: none;
}

/* ── Stappen ────────────────────────────────────────────── */

.nr-steps {
  counter-reset: nrstep;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 36px;
}

.nr-step {
  position: relative;
  padding-left: 46px;
  margin-bottom: 0;
}

.nr-step::before {
  counter-increment: nrstep;
  content: counter(nrstep);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: var(--panel);
  font-size: 14px;
  font-weight: 700;
}

.nr-step h3 { font-size: 15px; color: var(--text); margin: 4px 0 5px; }
.nr-step p  { font-size: 14px; line-height: 1.6; margin: 0; max-width: none; }

@media (max-width: 720px) {
  .nr-steps { grid-template-columns: 1fr; gap: 20px; }
}

/* ── Toestellen ─────────────────────────────────────────── */

.nr-device {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.nr-device-media {
  aspect-ratio: 1 / 1;
  background: #f3f6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.nr-device-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.nr-device-media svg { color: var(--line-mid); }

.nr-device-body { padding: 20px; }

.nr-tier {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand);
  background: #f3f6ff;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  padding: 3px 9px;
  margin-bottom: 10px;
}

.nr-device-body h3 { font-size: 15px; color: var(--text); margin: 0 0 8px; }
.nr-device-body p  { font-size: 14px; line-height: 1.65; margin: 0; }

/* ── Functielijst ───────────────────────────────────────── */

.nr-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
}

@media (max-width: 620px) {
  .nr-features { grid-template-columns: 1fr; }
}

.nr-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.nr-features li svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--brand);
}

.nr-features li strong { color: var(--text); font-weight: 600; }

.nr-subhead {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
  margin: 26px 0 12px;
}

.nr-section .nr-subhead:first-child { margin-top: 0; }

/* ── Prijs & calculator ─────────────────────────────────── */

.nr-price {
  background: var(--brand-deep);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 0 0 24px;
  color: var(--panel);
}

.nr-price .nr-price-amount {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  display: block;
}

.nr-price .nr-price-unit {
  font-size: 15px;
  opacity: .8;
  display: block;
  margin-top: 6px;
}

.nr-price .nr-price-note {
  font-size: 14px;
  opacity: .8;
  margin: 14px 0 0;
  max-width: none;
  color: var(--panel);
}

/* ── Prijs: inbegrepen-lijst ────────────────────────────── */

.nr-price-incl {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px 28px;
}

.nr-price-incl li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.5;
}

.nr-price-incl li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .5em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

.nr-price-extra {
  font-size: 14px;
  color: var(--muted);
  margin: 20px 0 0;
}

/* ── Formulier ──────────────────────────────────────────── */

.nr-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.nr-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

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

.nr-field { display: flex; flex-direction: column; }
.nr-field-full { grid-column: 1 / -1; }

.nr-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.nr-field label .req { color: var(--brand); }

.nr-field input[type="text"],
.nr-field input[type="email"],
.nr-field input[type="tel"],
.nr-field select,
.nr-field textarea {
  font: inherit;
  font-size: 14px;
  color: var(--text);
  padding: 11px 14px;
  border: 1.5px solid var(--line-mid);
  border-radius: var(--radius-sm);
  background: var(--panel);
  width: 100%;
  box-sizing: border-box;
}

.nr-field input:focus,
.nr-field select:focus,
.nr-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(53,88,168,.12);
}

.nr-field textarea { min-height: 110px; resize: vertical; }

.nr-checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  margin-top: 4px;
}

@media (max-width: 620px) {
  .nr-checks { grid-template-columns: 1fr; }
}

.nr-check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}

.nr-check input { accent-color: var(--brand); width: 16px; height: 16px; }

.nr-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  border: none;
  border-radius: var(--radius-btn);
  background: var(--brand);
  color: var(--panel);
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease;
}

.nr-btn:hover { background: var(--brand-dark); text-decoration: none; }

.nr-btn-ghost {
  background: var(--panel);
  color: var(--brand);
  border: 1.5px solid var(--line-mid);
}

.nr-btn-ghost:hover { background: #f3f6ff; border-color: var(--brand); }

.nr-form-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.nr-privacy { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* ── Meldingen ──────────────────────────────────────────── */

.nr-alert {
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 1.65;
}

.nr-alert-ok {
  background: #eafaf2;
  border-left: 4px solid #2acd6d;
  color: var(--text);
}

.nr-alert-err {
  background: #fef0f0;
  border-left: 4px solid #e74c3c;
  color: var(--text);
}

.nr-alert ul { margin: 8px 0 0; padding-left: 18px; }
.nr-alert li { margin-bottom: 4px; }

/* ── FAQ ────────────────────────────────────────────────── */

.nr-faq {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  overflow: hidden;
}

.nr-faq details { border-bottom: 1px solid var(--line); }
.nr-faq details:last-child { border-bottom: 0; }

.nr-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.nr-faq summary::-webkit-details-marker { display: none; }

.nr-faq summary svg {
  flex: 0 0 auto;
  color: var(--brand);
  transition: transform .18s ease;
}

.nr-faq details[open] summary svg { transform: rotate(45deg); }

.nr-faq details > p {
  padding: 0 22px 20px;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: none;
}

/* ── Slot-CTA ───────────────────────────────────────────── */

.nr-cta {
  background: var(--brand-deep);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  margin: 0 0 90px;
  text-align: center;
  color: var(--panel);
}

.nr-cta h2 { font-size: 24px; color: var(--panel); margin: 0 0 12px; }

.nr-cta p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--panel);
  opacity: .85;
  max-width: 58ch;
  margin: 0 auto 26px;
}

.nr-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.nr-cta .nr-btn {
  background: var(--panel);
  color: var(--brand-deep);
}

.nr-cta .nr-btn:hover { background: #dbe4f8; }

.nr-cta .nr-btn-ghost {
  background: transparent;
  color: var(--panel);
  border: 1.5px solid rgba(255,255,255,.35);
}

.nr-cta .nr-btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ── Highlight-blok (redundantie) ───────────────────────── */

.nr-highlight {
  background: #f3f6ff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 26px 0 0;
}

.nr-highlight h3 {
  font-size: 15px;
  color: var(--text);
  margin: 0 0 8px;
}

.nr-highlight p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  max-width: none;
}

/* ── Prijsregel op optiekaarten ─────────────────────────── */

.nr-card-price {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.nr-card-price strong {
  font-size: 20px;
  color: var(--brand);
  font-weight: 700;
  margin-right: 4px;
}

/* ── Animatie: scroll-reveal ────────────────────────────── */

.nr-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}

.nr-reveal.is-in { opacity: 1; transform: none; }

/* Kaarten in een grid komen na elkaar binnen */
.nr-grid > .nr-reveal:nth-child(2) { transition-delay: .07s; }
.nr-grid > .nr-reveal:nth-child(3) { transition-delay: .14s; }
.nr-grid > .nr-reveal:nth-child(4) { transition-delay: .21s; }
.nr-grid > .nr-reveal:nth-child(5) { transition-delay: .28s; }
.nr-grid > .nr-reveal:nth-child(6) { transition-delay: .35s; }

.nr-card {
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease,
              opacity .55s ease;
}

.nr-card:hover {
  border-color: var(--line-mid);
  box-shadow: 0 12px 32px rgba(53,88,168,.09);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .nr-reveal { opacity: 1; transform: none; transition: none; }
  .nr-card:hover { transform: none; }
}

/* ── Video-figuur (hergebruikt de centrale aslb-lightbox) ── */

.nr-fig { margin: 30px 0 0; }

.nr-fig a {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: zoom-in;
  transition: border-color .2s ease;
}

.nr-fig a:hover { border-color: var(--brand); text-decoration: none; }

.nr-fig video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg);
}

.nr-fig figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

.nr-fig-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .2s ease;
}

.nr-fig a:hover .nr-fig-zoom { opacity: 1; }

.nr-fig-zoom svg {
  width: 17px;
  height: 17px;
  stroke: var(--brand);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ── Sectiekop met kopieerknop ──────────────────────────── */

.nr-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
}

.nr-head-text { flex: 1; }
.nr-head-text h2 { margin: 0 0 8px; }
.nr-head-text .nr-lead { margin: 0; }

/* Highlight wanneer via een deellink binnengekomen */
.nr-section.as-target {
  position: relative;
}

.nr-section.as-target::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 44px;
  bottom: 32px;
  width: 3px;
  border-radius: 2px;
  background: var(--brand);
}

/* ── Prijsteaser onder de hero ──────────────────────────── */

.nr-teaser {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 26px;
  margin: 28px 0 0;
}

.nr-teaser-item { display: flex; align-items: baseline; gap: 8px; }

.nr-teaser-item strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}

.nr-teaser-item span { font-size: 13px; color: var(--muted); }

.nr-teaser-sep {
  width: 1px;
  align-self: stretch;
  background: var(--line);
}

.nr-teaser .nr-btn { margin-left: auto; }

@media (max-width: 780px) {
  .nr-teaser-sep { display: none; }
  .nr-teaser .nr-btn { margin-left: 0; width: 100%; justify-content: center; }
}
