/* isdetunnelopen.nl – layout en stijl zoals Botlekbrug (Nunito, teal, max 420px) */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #f8fafc;
  --bg-warm: #fef7ee;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #1e293b;
  --text-muted: #64748b;
  --open: #059669;
  --open-glow: rgba(5, 150, 105, 0.18);
  --closed: #dc2626;
  --closed-glow: rgba(220, 38, 38, 0.14);
  --accent: #0d9488;
  --accent-soft: #ccfbf1;
  --accent-light: #2dd4bf;
  --border: #e2e8f0;
  --shadow: rgba(15, 23, 42, 0.06);
  --shadow-lg: rgba(15, 23, 42, 0.1);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --font: 'Nunito', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1.25rem;
  background-image:
    radial-gradient(ellipse 100% 60% at 50% -10%, rgba(13, 148, 136, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 50%, rgba(254, 247, 238, 0.9), transparent),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(5, 150, 105, 0.08), transparent);
}

.wrap {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 0;
}

main {
  flex: 1;
  width: 100%;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header – Live, logo, tagline met subtiele groene rand (zelfde breedte als content) */
.site-header {
  width: 100%;
  max-width: 420px;
  text-align: center;
  margin-bottom: 2rem;
  padding: 0;
}

.site-header .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}

.header-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.1rem;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.logo {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.logo:hover {
  color: var(--accent);
  text-decoration: none;
  opacity: 0.9;
}

.logo .title-bold { font-weight: 800; }
.logo .title-normal { font-weight: 400; }
.logo .domain-end { font-weight: 800; }

.site-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-weight: 600;
}

/* Homepagina */
.page-home h1 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.75rem;
  text-align: center;
  letter-spacing: -0.02em;
}

.lead {
  color: var(--text-muted);
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}
.page-home .lead-intro {
  font-size: 0.72rem;
  background: linear-gradient(135deg, rgba(204, 251, 241, 0.6) 0%, rgba(204, 251, 241, 0.35) 100%);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.page-home .lead-cta {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

/* Contentpagina's (Over, Veelgestelde vragen) – thema en groene blokken */
.page-content h1 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.75rem;
  text-align: center;
  letter-spacing: -0.02em;
}
.page-content .lead {
  text-align: center;
  margin-bottom: 1.5rem;
}
.page-content .content-block {
  background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(204, 251, 241, 0.5) 100%);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px rgba(13, 148, 136, 0.08);
}
.page-content .content-block h2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
}
.page-content .content-block p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text);
}
.page-content .content-block p + p { margin-top: 0.6rem; }
.page-content .content-block a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.page-content .content-block a:hover { text-decoration: underline; }
.page-content .back-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}
.page-content .back-link:hover { text-decoration: underline; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(204, 251, 241, 0.45) 100%);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 2px 12px rgba(13, 148, 136, 0.08);
}
.faq-item h2 {
  font-size: 1.14rem;
  font-weight: 300;
  color: var(--accent);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.faq-item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
}
.faq-item a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.faq-item a:hover { text-decoration: underline; }

.tunnel-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tunnel-list-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  margin: 1rem 0 0.4rem;
  padding: 0;
  text-align: center;
}
.tunnel-list-title:first-child { margin-top: 0; }

.tunnel-list a {
  display: block;
  padding: 1rem 1.25rem;
  background: var(--surface);
  color: var(--accent);
  text-decoration: none;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  border: 2px solid var(--border);
  font-weight: 600;
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tunnel-list a:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px var(--shadow-lg);
  transform: translateY(-2px);
  color: var(--accent);
}

/* Tunnelpagina */
.page-tunnel h1 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.75rem;
  text-align: center;
  letter-spacing: -0.02em;
}

.tunnel-intro {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 1.25rem;
  text-align: center;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(204, 251, 241, 0.6) 0%, rgba(204, 251, 241, 0.35) 100%);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}

/* Statistiekenkaart (voertuigen per dag) */
.tunnel-stats {
  background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(204, 251, 241, 0.45) 100%);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(13, 148, 136, 0.08);
}
.tunnel-stats-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 1rem;
  text-align: center;
  letter-spacing: -0.01em;
}
.tunnel-stats-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.tunnel-stats-icon {
  line-height: 0;
}
.tunnel-stats-icon svg {
  width: 56px;
  height: 36px;
  --accent: #0d9488;
  --open: #2dd4bf;
  --text: #1e293b;
  --muted: #94a3b8;
}
.tunnel-stats-text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  line-height: 1.4;
}

/* Statistiekenkaart in Botlekbrug-stijl (cijfers-card: icoon links, nummer + tekst rechts) */
.cijfers-card {
  margin-bottom: 1.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 24px var(--shadow), 0 1px 3px var(--shadow);
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.cijfers-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--shadow-lg), 0 2px 6px var(--shadow);
}
.cijfers-card .section-title,
.nearby-card .section-title {
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cijfers-intro {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.cijfers-lijst {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cijfers-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.cijfers-item:last-child {
  border-bottom: none;
}

/* Tunnels in de buurt – card met linkjes + km */
.nearby-card {
  margin-bottom: 1.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 24px var(--shadow), 0 1px 3px var(--shadow);
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.nearby-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--shadow-lg), 0 2px 6px var(--shadow);
}
.nearby-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nearby-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.nearby-list li:last-child {
  border-bottom: none;
}
.nearby-list a {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}
.nearby-list a:hover {
  text-decoration: underline;
}
.nearby-km {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  font-family: var(--font-mono);
}

/* Geplande afsluitingen / werkzaamheden – card in lijn met thema */
.planning-card {
  margin-bottom: 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem;
  box-shadow: 0 2px 16px var(--shadow);
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.planning-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-lg);
}
.planning-card .section-title {
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.planning-intro {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.85rem;
  font-weight: 600;
}
.planning-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0 0 0.6rem;
  font-weight: 500;
  font-style: italic;
}
.planning-empty,
.planning-error {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.5;
}
.planning-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.planning-item {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}
.planning-item:last-child {
  border-bottom: none;
}
.planning-item .planning-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
  margin: 0 0 0.25rem;
  line-height: 1.35;
}
.planning-item .planning-title--default {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  opacity: 0.9;
}
.planning-item .planning-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0 0 0.2rem;
}
.planning-item .planning-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 400;
  margin: 0.25rem 0 0;
}
.planning-item .planning-time-line {
  display: block;
  line-height: 1.4;
}
.planning-item .planning-time-line + .planning-time-line {
  margin-top: 0.15rem;
}

/* Subtiele advertentie-placeholder card (thema) */
.ad-placeholder-card {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(204, 251, 241, 0.4) 0%, rgba(204, 251, 241, 0.2) 100%);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 8px rgba(13, 148, 136, 0.06);
  text-align: center;
}
.status-cards .ad-placeholder-card {
  margin-bottom: 0.4rem;
}
.ad-placeholder-text {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.45;
}
.ad-placeholder-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}
.ad-placeholder-card a:hover {
  text-decoration: underline;
}

.cijfers-item-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--accent);
  opacity: 0.7;
}
.cijfers-item-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.cijfers-item-icon svg rect,
.cijfers-item-icon svg circle {
  --accent: #0d9488;
  --accent-light: #2dd4bf;
  --text: #1e293b;
  --muted: #94a3b8;
}
.cijfers-item-body {
  flex: 1;
  min-width: 0;
}
.cijfers-item-nummer {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.cijfers-item-tekst {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 600;
  margin: 0;
}

.status-cards {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.meta.meta-between-cards {
  margin: 0;
  text-align: center;
  grid-column: 1;
  color: var(--accent);
  font-weight: 400;
}

/* Card in Botlekbrug-stijl */
.status-card {
  background: var(--surface);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  text-align: center;
  box-shadow: 0 4px 24px var(--shadow), 0 1px 3px var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.status-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--shadow-lg), 0 2px 6px var(--shadow);
}

.status-card h2 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--accent);
  text-align: center;
  letter-spacing: 0.03em;
}

.status-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
}

/* (Gedeeltelijk) boven DICHT: zelfde grootte als rijrichting-titel (h2), rode kleur, subtiel */
.status-partial {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--closed);
  margin: 0 0 0.25rem;
  opacity: 0.88;
}

.status-value {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.status-card.open .status-value { color: var(--open); }
.status-card.closed .status-value { color: var(--closed); }
.status-card.loading .status-value { opacity: 0.7; }

.status-message {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.45;
}

/* Auto-animatie */
.car-animation {
  margin-top: 1rem;
  padding: 0.5rem 0;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  height: 48px;
}

.status-card .car-animation {
  --accent: #0d9488;
  --open: #2dd4bf;
  --text: #1e293b;
  --muted: #94a3b8;
}

.status-card.loading .car-animation { opacity: 0.5; }

.status-card.open:not(.loading) .car-animation .car-wrap {
  animation: tunnelDriveBy 3.5s ease-in-out infinite;
}

.status-card.closed:not(.loading) .car-animation .car-wrap {
  animation: tunnelDriveByThenStop 1.8s ease-in-out forwards;
}

.car-animation .road {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(100, 116, 139, 0.35) 0, rgba(100, 116, 139, 0.35) 10px, transparent 10px, transparent 22px);
}

.car-animation .car-wrap {
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
}

@keyframes tunnelDriveBy {
  0% { left: -50px; }
  20% { left: 15%; }
  50% { left: 50%; }
  80% { left: 85%; }
  100% { left: calc(100% + 50px); }
}

@keyframes tunnelDriveByThenStop {
  0% { left: -50px; }
  35% { left: 50%; }
  100% { left: 50%; }
}

.car-animation svg {
  display: block;
  width: 48px;
  height: 32px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.status-card.open { border-color: var(--open); box-shadow: 0 0 0 3px var(--open-glow), 0 8px 28px var(--shadow-lg); }
.status-card.closed { border-color: var(--closed); box-shadow: 0 0 0 3px var(--closed-glow), 0 8px 28px var(--shadow-lg); }

.status-card:has(.status-value) .status-line { display: none; }
.status-line { margin: 0; font-size: 1.25rem; font-weight: 600; }
.status-line[data-status="closed"] .status-dot { color: var(--closed); }
.status-line[data-status="open"] .status-dot { color: var(--open); }

.status-reason,
.status-end {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  font-weight: 600;
}

.status-reason:not(:empty) { display: block; }
.status-end:not(:empty) { display: block; }

/* FAQ-sectie (tunnelpagina’s, Botlekbrug-layout) */
.faq-section {
  margin-bottom: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: 0 2px 16px var(--shadow);
}

.faq-section .faq-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.faq-section .faq-title-wrap .faq-section-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--text-muted);
}

.faq-section .faq-title-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 0.9;
}

.faq-section .faq-title-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.faq-section .faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-section .faq-item {
  position: relative;
  margin-bottom: 0;
  padding: 0 0 0 0.75rem;
  border: none;
  border-bottom: 1px solid rgba(13, 148, 136, 0.12);
  background: rgba(13, 148, 136, 0.05);
  border-radius: 0;
  overflow: hidden;
  transition: background 0.2s ease;
}

.faq-section .faq-list > li:first-child > .faq-item {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.faq-section .faq-item:hover {
  background: rgba(13, 148, 136, 0.1);
}

.faq-section .faq-list > li:last-child > .faq-item {
  margin-bottom: 0;
  border-bottom: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.faq-section .faq-item[open] {
  background: rgba(13, 148, 136, 0.08);
}

.faq-section .faq-item summary {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
  margin: 0;
  padding: 0.5rem 0.65rem 0.5rem 0;
  min-height: 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: color 0.2s ease;
}

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

.faq-section .faq-item summary::before {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.7;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.faq-section .faq-item summary:hover::before {
  opacity: 1;
}

.faq-section .faq-item[open] summary::before {
  transform: rotate(-135deg);
  opacity: 1;
}

.faq-section .faq-item summary::after {
  display: none;
}

.faq-section .faq-item summary:hover {
  color: var(--accent);
}

.faq-section .faq-item[open] summary {
  color: var(--accent);
}

.faq-section .faq-item .faq-answer {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
  padding: 0.5rem 0.9rem 1rem 0;
  margin: 0;
  font-weight: 600;
  border-top: 1px dashed var(--border);
}

.faq-section .faq-item[open] .faq-answer {
  border-top-color: rgba(13, 148, 136, 0.25);
}

.faq-section .faq-item .faq-answer .faq-dynamic {
  color: var(--accent);
  font-weight: 700;
}

.meta {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin: 0 0 1rem;
  font-weight: 600;
}

.meta .updated {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: normal;
  margin-left: 0.25em;
}

.site-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Scroll-up knop – zichtbaar na naar beneden scrollen, in lijn met thema */
.scroll-up-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, background 0.2s ease;
  z-index: 1000;
}

.scroll-up-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-up-btn:hover {
  background: var(--accent-light);
}

.scroll-up-btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.scroll-up-btn svg {
  width: 24px;
  height: 24px;
}
