/* dsvd.design — rijen v1.0.0 (v0.43.0, 11-10-2026): één bedrijf per rij, desktop en gsm naast elkaar, rustig. */
.rijen { padding: clamp(20px, 3vw, 40px) 0 40px; display: flex; flex-direction: column; gap: clamp(40px, 6vw, 80px); }
.knop-connect { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font: 700 14px/1 var(--sans); cursor: pointer; }

/* v0.43.1: per site een band; het neonlogo links en rechts, de toestellen in het midden, de titel net erboven */
.rij { scroll-margin-top: 90px; }
.rij-band { position: relative; padding: 0 clamp(16px, 3vw, 32px); }
.rij-neon { position: absolute; top: 50%; width: clamp(120px, 11vw, 210px); aspect-ratio: 1; transform: translateY(-40%); background: url('img/neon-t2r-muur.jpg') center / cover no-repeat; border-radius: 22px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.45); pointer-events: none; }
.rij-neon.l { left: clamp(12px, 2vw, 32px); }
.rij-in { position: relative; max-width: 1080px; margin: 0 auto; }
@media (min-width: 1241px) { .rij-in { max-width: min(1080px, calc(100% - 2 * (clamp(120px, 11vw, 210px) + 36px))); } }   /* het neonlogo staat volledig naast de toestellen */
.rij-kop { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 14px; }
.rij-kop h2 { margin: 0; font: 800 clamp(22px, 2.4vw, 30px)/1.1 var(--sans); color: #111214; }
.rij-kop p { flex-basis: 100%; margin: 0; font: 400 15px/1.45 var(--sans); color: #4a4d55; }
.rij-kop .status { position: static; display: inline-block; transform: none; }
@media (max-width: 1240px) { .rij-neon { display: none; } }   /* alleen waar er naast de toestellen plaats is */
.rij-toestellen { display: grid; grid-template-columns: 1fr clamp(130px, 15vw, 200px); gap: clamp(14px, 2vw, 28px); align-items: end; }
.desk, .gsm { margin: 0; position: relative; }
.desk { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 50px -24px rgba(0,0,0,.35); border: 1px solid #e3e3e8; }
.desk .balk { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: linear-gradient(#f7f7f9, #ececf0); border-bottom: 1px solid #e0e0e6; position: relative; }
.desk .balk i { width: 10px; height: 10px; border-radius: 50%; background: #d0d0d6; }
.desk .balk i:nth-child(1) { background: #ff5f57; } .desk .balk i:nth-child(2) { background: #febc2e; } .desk .balk i:nth-child(3) { background: #28c840; }
.desk .balk em { position: absolute; left: 50%; transform: translateX(-50%); font: 12px/1 ui-monospace, Menlo, monospace; font-style: normal; color: #5b5e66; background: #fff; border: 1px solid #e0e0e6; border-radius: 6px; padding: 5px 12px; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scherm { position: relative; display: block; overflow: hidden; background: #f0f0f3; }
.desk .scherm { aspect-ratio: 16 / 10; }
.scherm img, .scherm video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.scherm video { opacity: 0; transition: opacity .6s ease; }
.scherm.speelt video { opacity: 1; }
/* v0.46.3: in de kijker hoort de legende er niet bij (de kijker heeft eigen ‹ ›); ze lag over de pijl en de Open-link */
html.bekijkt .legende { display: none; }
/* v0.46.1 Safari: een film in een afgeronde, afgeknipte doos kan op één beeld blijven staan; de film krijgt zelf de ronding en een eigen laag */
.scherm video { border-radius: inherit; transform: translateZ(0); }
.gsm .scherm { isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); }
.scherm a.naar { position: absolute; inset: 0; z-index: 2; }
.gsm { padding: 9px; border-radius: 34px; background: #111214; box-shadow: 0 24px 50px -22px rgba(0,0,0,.5); }
.gsm .scherm { aspect-ratio: 390 / 844; border-radius: 26px; }
.gsm.leeg { visibility: hidden; }

.rijen-voet { max-width: 1320px; margin: 0 auto; padding: 24px clamp(16px, 3vw, 32px) 48px; border-top: 1px solid #e3e3e8; font: 13px/1.6 var(--sans); color: #5b5e66; }
.rijen-voet p { margin: 0 0 6px; }
.rijen-voet a { color: #111214; }

@media (max-width: 640px) {
  /* gsm: de desktop over de volle breedte, de gsm klein ervoor rechtsonder */
  .rij-toestellen { display: block; position: relative; padding-bottom: 28px; }
  .desk { margin-right: 18%; }
  .gsm { position: absolute; right: 0; bottom: 0; width: 30%; padding: 5px; border-radius: 20px; }
  .gsm .scherm { border-radius: 16px; }
  }
@media (prefers-reduced-motion: reduce) { .scherm video { transition: none; } }
/* statuslabel: in de lichte stijl verdwijnt het gewone .status-label, hier altijd een gekleurde pil */
.rij-kop .status { color: #fff; background: #1f7a45; padding: 6px 10px; border-radius: 8px; font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.rij-kop .status.wip { background: #3a3d44; color: #f0c24b; }
.rij-kop .status.rm { background: var(--accent); }

/* v0.43.2: legende rechts — alle sites, de huidige licht op (alleen waar er naast de rijen plaats is) */
.legende { position: fixed; z-index: 20; right: clamp(12px, 2vw, 32px); top: 50%; transform: translateY(-50%); width: clamp(140px, 11vw, 210px); font: 13px/1.3 var(--sans); }
.legende-kop { margin: 0 0 10px; font: 700 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.legende ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid #dcdce2; }
.legende ol a { display: flex; gap: 8px; align-items: baseline; padding: 6px 0 6px 12px; margin-left: -2px; border-left: 2px solid transparent; color: #4a4d55; text-decoration: none; transition: color .2s, border-color .2s; }
.legende ol a i { font-style: normal; font: 600 11px/1 ui-monospace, Menlo, monospace; color: #9a9ca3; }
.legende ol a:hover { color: #111214; }
.legende ol a.voorbij { color: #a3a5ab; }
.legende ol a.nu { color: #111214; font-weight: 700; border-left-color: var(--accent); }
.legende ol a.nu i { color: var(--accent); }
.legende ol a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* v0.44.0 — de rol (slotmachine): één site in het midden, de buren kijken boven en onder binnen */
html.rol, html.rol body { overscroll-behavior: none; }
.rol .rijen { padding: 0; gap: 0; display: block; }
.rol-podium { position: relative; overflow: hidden; }
.rol-podium::before, .rol-podium::after { content: ""; position: absolute; left: 0; right: 0; height: 64px; z-index: 5; pointer-events: none; }
.rol-podium::before { top: 0; background: linear-gradient(#f5f5f7, rgba(245,245,247,0)); }
.rol-podium::after { bottom: 0; background: linear-gradient(rgba(245,245,247,0), #f5f5f7); }
.rol-podium { perspective: 1400px; }
.rol .rij { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(calc(-50% + var(--o, 0) * var(--stap, 600px))) rotateX(var(--kant, 0deg)) scale(var(--sch, 1)); transition: transform .65s cubic-bezier(.22, 1.3, .36, 1), opacity .45s ease; will-change: transform; }
.rol .rij.rol-weg { visibility: hidden; }
.rol .rij.rol-buur { opacity: .8; cursor: pointer; filter: saturate(.92); }   /* v0.47.23: buren duidelijker, nog altijd gedimd */
.rol .rij.rol-buur:hover { opacity: .95; }
.rol .rij-in { width: var(--rij-b); max-width: none; }
@media (min-width: 700px) { .rol .rij-toestellen { grid-template-columns: var(--desk-b, 1fr) var(--gsm-b, 160px); align-items: center; } }
.rol .rijen-voet { display: none; }   /* de bedrijfsgegevens staan onderaan de legende */
@media (prefers-reduced-motion: reduce) { .rol .rij { transition: none; } }

/* legende: altijd zichtbaar — op brede schermen een kaart rechts, anders een balk onderaan (tik = lijst) */
.legende { background: #fff; border: 1px solid #e3e3e8; border-radius: 16px; padding: 14px 14px 12px; box-shadow: 0 18px 40px -22px rgba(0,0,0,.35); }
.legende-mini { display: none; }
.legende-voet { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid #ececf0; font: 11px/1.5 var(--sans); color: #8a8d94; }
.legende-voet a { color: #5b5e66; }
@media (max-width: 1240px) {
  .legende { top: auto; bottom: 12px; right: 50%; transform: translateX(50%); width: min(420px, calc(100vw - 24px)); padding: 6px; border-radius: 999px; }
  .legende-mini { display: flex; align-items: center; gap: 4px; }
  .legende-mini button { min-height: 44px; border: 0; background: transparent; font: 600 14px/1 var(--sans); color: #111214; cursor: pointer; border-radius: 999px; }
  .legende-mini [data-stap] { width: 44px; font-size: 22px; }
  .legende-nu { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .legende-nu i { font: 600 12px/1 ui-monospace, Menlo, monospace; font-style: normal; color: var(--accent); }
  .legende-kop, .legende ol, .legende-voet { display: none; }
  .legende.open { border-radius: 18px; }
  .legende.open .legende-kop, .legende.open ol, .legende.open .legende-voet { display: block; }
  .legende.open ol { max-height: 50vh; overflow: auto; margin: 0 8px; }
  .legende.open .legende-kop { margin: 8px 10px; }
  .legende.open .legende-voet { margin: 8px 10px 4px; }
}
.legende-voet a { display: inline; padding: 0; border: 0; margin: 0; }

/* v0.47.0 (Franky 12-10: "legende te hoog, neonlogo past daar niet, test de aarde als achtergrond") — TEST op tak 'aarde' */
.rij-neon { display: none; }                      /* het neonlogo staat nu in de voetbalk */
@media (min-width: 1241px) {
  .legende { width: clamp(150px, 10vw, 186px); padding: 10px 12px 8px; }
  .legende-kop { margin-bottom: 6px; }
  .legende ol a { padding: 3px 0 3px 10px; font-size: 12.5px; }
  .legende-voet { display: none; }                /* naar de voetbalk */
}
.rol-voet { display: none; }
@media (min-width: 1241px) {
  html.rol .rol-voet { display: flex; position: fixed; left: 0; right: 0; bottom: 0; height: 64px; z-index: 15; align-items: center; gap: 14px;
    padding: 0 clamp(12px, 2vw, 32px); font: 12px/1.4 var(--sans); color: #6a6d75; pointer-events: none; }
  .rol-voet img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; box-shadow: 0 10px 26px -10px rgba(0,0,0,.55); }
  .rol-voet span, .rol-voet a { pointer-events: auto; } .rol-voet a { color: #3f4249; }
}
/* de aarde: een groot, traag draaiend deel van de bol dat van onderen het beeld in komt; alleen de bovenrand is te zien */
.aarde { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.met-aarde main { position: relative; z-index: 1; }
.aarde-bol { position: absolute; left: 50%; top: 58vh; width: max(150vw, 1600px); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; overflow: hidden;
  opacity: .26; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 62%, rgba(0,0,0,.4) 68%, transparent 71%); mask-image: radial-gradient(circle at 50% 50%, #000 62%, rgba(0,0,0,.4) 68%, transparent 71%); }
.aarde-kaart { position: absolute; top: 0; left: 0; height: 100%; width: 400%; background-repeat: repeat-x; background-size: 50% 100%; animation: aardeDraait 600s linear infinite; will-change: transform; }
.aarde-bol::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 35%, rgba(255,255,255,0) 40%, rgba(245,245,247,.55) 70%); }
.aarde.stil .aarde-kaart { animation: none; }
@keyframes aardeDraait { to { transform: translateX(-50%); } }
.met-aarde .rol-podium::before { background: linear-gradient(rgba(245,245,247,.9), rgba(245,245,247,0)); }
.met-aarde .rol-podium::after { background: linear-gradient(rgba(245,245,247,0), rgba(245,245,247,.6)); }
/* nacht: donkere ruimte met sterren, de aarde met stadslichten, helderder */
html.nacht { background: #05070c url('img/sterren.webp') center / 900px repeat !important; }
html.nacht body { background: transparent !important; }   /* style.css zet de body licht (html.licht-aan body) */
.nacht .aarde-bol { opacity: .85; }
.nacht .aarde-bol::after { background: radial-gradient(circle at 50% 30%, rgba(0,0,0,0) 45%, rgba(5,7,12,.7) 70%); box-shadow: inset 0 0 120px 20px rgba(90,150,255,.35); }
.nacht .rij-kop h2 { color: #f2f2f4; } .nacht .rij-kop p { color: #b9bcc4; }
.nacht .rol-podium::before { background: linear-gradient(rgba(5,7,12,.9), rgba(5,7,12,0)); }
.nacht .rol-podium::after { background: linear-gradient(rgba(5,7,12,0), rgba(5,7,12,.5)); }
.nacht .rol-voet, .nacht .rol-voet a { color: #c8cbd2; }
.nacht .kop { background: rgba(5,7,12,.85); }

/* v0.47.2: de aarde als echte bol (WebGL) — dag: duidelijk zichtbaar; nacht: echte stand van dag en nacht */
.aarde-gl { position: absolute; inset: 0; display: block; }
.aarde-dag .aarde-gl { opacity: .92; }
.met-aarde:not(.nacht) .rol-podium::after { background: linear-gradient(rgba(245,245,247,0), rgba(245,245,247,.18)); }
.aarde-plat .aarde-bol { opacity: .5; }
.met-aarde .rol-voet span { background: rgba(255,255,255,.88); padding: 6px 12px; border-radius: 999px; box-shadow: 0 6px 18px -8px rgba(0,0,0,.35); }
.nacht .rol-voet span { background: rgba(5,7,12,.72); }

/* v0.47.7 (Franky 17-10: "je moet zien dat je in projecten zit"): actief menu-item onderlijnd in de merkkleur */
.kop .menu a.nu { color: #e4552b !important; box-shadow: inset 0 -3px 0 #e4552b; border-radius: 0; }
.info-wie { max-width: 46ch; margin: 10px auto 18px; line-height: 1.55; }
.bk-wip{display:inline-block;font:600 12px/1.4 var(--sans);color:#f0c24b;background:#3a3d44;border-radius:999px;padding:6px 12px}

/* v0.47.24–25 — hoek rechtsboven van elke rij (op de hoogte van de titel, rechts uitgelijnd met de gsm): audioknop + klokje met de resterende tijd */
.rij-kop { position: relative; padding-right: 250px; }
.rij-hoek { position: absolute; top: 0; right: 0; display: flex; align-items: center; gap: 8px; }
.klok { display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 5px; border-radius: 999px; background: rgba(17,18,20,.88); color: #f3f1ec;
  font: 600 12px/1 var(--sans); font-variant-numeric: tabular-nums; box-shadow: 0 8px 20px -10px rgba(0,0,0,.6); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.klok.loopt { opacity: 1; }
.klok svg { width: 20px; height: 20px; transform: rotate(-90deg); }
.klok circle { fill: none; stroke: rgba(243,241,236,.22); stroke-width: 4; }
.klok .ring { stroke: #e4552b; stroke-dasharray: 100; stroke-dashoffset: 0; }
.audio-knop { font: 600 12px/1 var(--sans); padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(17,18,20,.18); background: rgba(255,255,255,.9); color: #111214; cursor: pointer; white-space: nowrap; }
.audio-knop:hover { border-color: var(--accent); }
.audio-knop[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.audio-knop.nog-niet { border-color: #c9a227; }
.nacht .audio-knop { background: rgba(17,18,20,.85); color: #f3f1ec; border-color: rgba(255,255,255,.2); }
.rol .rij.rol-buur .rij-hoek { visibility: hidden; }
@media (max-width: 699px) { .rij-kop { padding-right: 0; } .rij-hoek { position: static; flex-basis: 100%; justify-content: flex-end; margin-top: 6px; } }

/* v0.53.1 (Franky 21-10): onderbalk op gsm/tablet doorschijnend zoals bij Apple, en dunner */
@media (max-width: 1240px) {
  .legende:not(.open) { background: rgba(255,255,255,.62); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-color: rgba(255,255,255,.45); padding: 3px; }
  .legende:not(.open) .legende-mini button { min-height: 38px; }
}

/* v0.53.1 (Franky 21-10): desktop in een grafiet-zilveren rand, zoals een Apple-scherm */
.desk { border: 1px solid #b9bcc2; box-shadow: 0 0 0 7px #2a2c31, 0 0 0 8px #a7aab0, 0 1px 0 rgba(0,0,0,.04), 0 30px 60px -26px rgba(0,0,0,.5); }
@media (max-width: 640px) { .desk { box-shadow: 0 0 0 4px #2a2c31, 0 0 0 5px #a7aab0, 0 20px 40px -20px rgba(0,0,0,.45); } }
/* v0.53.15 (Franky 21-10): onderbalk met de bedrijfsnaam op gsm nog doorzichtiger */
@media (max-width: 1240px) {
  .legende:not(.open) { background: rgba(255,255,255,.32); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); border-color: rgba(255,255,255,.35); box-shadow: 0 8px 24px -14px rgba(0,0,0,.35); }
  .legende:not(.open) .legende-mini button { text-shadow: 0 1px 2px rgba(255,255,255,.6); }
}
/* v0.53.16: legende boven de Safari-balk (viewport-fit=cover) */
@media (max-width: 1240px) { .legende { bottom: calc(12px + env(safe-area-inset-bottom)); } }
/* v0.53.17 (Franky 21-10: "zoals liquid glass van Apple"): onderbalk bijna helder glas */
@media (max-width: 1240px) {
  .legende:not(.open) { background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(5px) saturate(190%) brightness(1.06); backdrop-filter: blur(5px) saturate(190%) brightness(1.06);
    border: 1px solid rgba(255,255,255,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -1px 0 rgba(255,255,255,.18), 0 10px 28px -12px rgba(0,0,0,.35); }
  .legende:not(.open) .legende-mini button { text-shadow: 0 1px 3px rgba(255,255,255,.85), 0 0 1px rgba(255,255,255,.9); }
}
