/* Interactieve animatie "de digitale snelweg van een gebouw" (app/components/snelwegAnimatie.php). */
.sw-film { background: #fff; border: 1px solid #E9EDF2; border-radius: 12px; overflow: hidden; color: #0B2740; }
.sw-film svg { display: block; width: 100%; height: auto; background: #fff; }
.sw-film svg text { font-family: Montserrat, system-ui, sans-serif; }
.sw-t-klein { font-size: 13px; font-weight: 600; fill: #6B7C93; }
.sw-t-navy { font-weight: 700; fill: #0B2740; font-size: 12px; }
.sw-t-ruimte { font-size: 10.5px; font-weight: 700; fill: #0B2740; }
.sw-t-groot { font-size: 22px; font-weight: 700; fill: #0B2740; }
/* De antenne op het dak: om de 2,4 seconden een zachte golf van binnen naar buiten. */
.sw-golf { opacity: 0; animation: sw-golf 2.4s linear infinite; }
.sw-golf2 { animation-delay: .48s; }
@keyframes sw-golf { 0%, 50%, 100% { opacity: 0; } 25% { opacity: .9; } }
.sw-geen-smal { display: none; }
.sw-onder { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; padding: 20px 24px; border-top: 1px solid #E9EDF2; }
.sw-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6B7C93; margin: 0 0 4px; }
.sw-kop { font-size: 22px; font-weight: 600; margin: 0 0 6px; line-height: 1.25; }
.sw-zin { margin: 0; font-size: 16px; min-height: 3.2em; line-height: 1.55; }
.sw-meter p { margin: 0 0 6px; font-size: 13px; font-weight: 600; }
.sw-balk { height: 12px; background: #E9EDF2; border-radius: 6px; overflow: hidden; }
.sw-balk span { display: block; height: 100%; width: 0; background: #0B2740; transition: width .4s; }
.sw-status { margin-top: 8px; font-size: 15px; font-weight: 700; }
.sw-tijd { display: flex; align-items: center; gap: 12px; padding: 12px 24px; background: #F5F7FA; border-top: 1px solid #E9EDF2; flex-wrap: wrap; }
.sw-film button { font-family: inherit; line-height: 1.3; cursor: pointer; min-height: 40px; border-radius: 6px; }
.sw-film .sw-speel { font-size: 14px; font-weight: 600; border: 1px solid #0B2740; background: #0B2740; color: #fff; padding: 6px 14px; }
.sw-hfd { display: flex; gap: 6px; flex: 1; min-width: 260px; flex-wrap: wrap; }
.sw-hfd button { flex: 1 1 120px; background: #fff; color: #0B2740; border: 1px solid #E9EDF2; font-size: 12px; font-weight: 600; padding: 6px 4px; position: relative; overflow: hidden; }
.sw-hfd button i { position: absolute; left: 0; bottom: 0; height: 3px; background: #7FA9D1; width: 0; }
.sw-hfd button.aan { border-color: #0B2740; }
.sw-zelf { padding: 18px 24px 22px; border-top: 1px solid #E9EDF2; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 24px; align-items: end; }
.sw-zelf-kop { grid-column: 1 / -1; margin: 0; font-size: 15px; font-weight: 700; }
.sw-label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 4px; }
.sw-zelf input[type=range] { width: 100%; accent-color: #0B2740; }
.sw-knoppen { display: flex; gap: 6px; }
.sw-film .sw-knoppen button, .sw-film .sw-los { font-size: 13px; font-weight: 600; border: 1px solid #0B2740; background: #fff; color: #0B2740; padding: 6px 10px; }
.sw-film .sw-knoppen button.aan { background: #0B2740; color: #fff; }
.sw-film button:focus-visible, .sw-film input:focus-visible { outline: 2px solid #7FA9D1; outline-offset: 2px; }
.sw-melding { grid-column: 1 / -1; font-size: 13px; color: #6B7C93; margin: 0; }
@media (max-width: 720px) {
  .sw-onder { grid-template-columns: 1fr; padding: 16px; }
  .sw-kop { font-size: 19px; }
  .sw-tijd, .sw-zelf { padding-left: 16px; padding-right: 16px; }
  /* Op een smal scherm is de tekening klein: de woorden erin groter, de straatnamen weg. */
  .sw-t-straat { display: none; }
  .sw-t-klein, .sw-t-navy { font-size: 20px; }
  .sw-t-ruimte { font-size: 13px; }
  .sw-t-groot { font-size: 40px; }
  .sw-geen-groot { display: none; }
  .sw-geen-smal { display: block; }
}
@media (prefers-reduced-motion: reduce) { .sw-balk span { transition: none; } .sw-golf { animation: none; opacity: .6; } }
