/* Taalkeuzemenu (los bestand, bestaande stijlen blijven ongewijzigd). */
.nav__end { display: flex; align-items: center; gap: 12px; flex: 0 1 auto; min-width: 0; }
.lang { position: relative; flex: none; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--rule); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); white-space: nowrap; transition: border-color 160ms ease, color 160ms ease; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 160ms ease; }
.lang[open] summary::after { transform: translateY(1px) rotate(225deg); }
.lang summary:hover, .lang[open] summary { border-color: var(--accent); color: var(--accent-ink); }
.lang summary:focus-visible, .lang__menu a:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; margin: 0; padding: 6px 0; list-style: none; background: var(--surface); border: 1px solid var(--accent); z-index: 70; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6); }
.lang__menu a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; font-size: 15px; color: var(--ink); }
.lang__menu a span { font-size: 11px; letter-spacing: 0.2em; color: var(--muted); }
.lang__menu a:hover { background: var(--surface-alt); color: var(--accent-ink); }
.lang__menu a[aria-current="page"] { color: var(--accent-ink); }
/* Ruimte maken voor het menu: de knop mag op twee regels, op smalle schermen komt hij op een eigen rij. */
@media (max-width: 1520px) { .nav__end .nav__cta { white-space: normal; text-align: center; max-width: 250px; line-height: 1.35; } }
@media (min-width: 921px) and (max-width: 1100px) { .nav__inner { gap: 16px; } .nav__links { gap: 18px; } .nav__links a { letter-spacing: 0.14em; } .nav__end .nav__cta { max-width: 210px; padding: 10px 14px; letter-spacing: 0.14em; } .lang summary { padding: 10px 12px; } }
@media (max-width: 920px) {
  .nav__inner { flex-wrap: wrap; row-gap: 12px; }
  .nav__end { display: contents; }
  .nav__end .lang { order: 2; margin-left: auto; }
  .nav__end .nav__cta { order: 3; flex: 1 1 100%; max-width: none; padding: 10px 14px; letter-spacing: 0.12em; }
}
@media (max-width: 480px) { .nav__inner { row-gap: 10px; } .lang summary { padding: 8px 12px; letter-spacing: 0.14em; } .nav__end .nav__cta { font-size: 11px; letter-spacing: 0.08em; padding: 9px 12px; } }
/* Kleine correcties: logo onderaan op een regel, labels in de kerncijfers op gelijke hoogte. */
.footer__mark { white-space: nowrap; overflow-wrap: normal; font-size: clamp(44px, 5vw, 76px); }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } .footer__col p, .footer__col a { overflow-wrap: break-word; } }
.metric { display: flex; flex-direction: column; }
.metric .value { margin-bottom: 16px; }
.metric .label { margin-top: auto; align-self: flex-start; }
/* Inhoudsopgave en tussenkoppen op de juridische pagina's. */
.legal__toc { border: 1px solid var(--rule); background: var(--surface-alt); padding: 20px 24px; margin: 0 0 48px; }
.legal__toc-title { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); margin: 0 0 12px; }
.legal__toc ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 36px; }
.legal__toc li { list-style: none; padding: 0; margin: 0 0 8px; break-inside: avoid; font-size: 15px; line-height: 1.45; color: var(--muted); }
.legal__toc a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
.legal__toc a:hover, .legal__toc a:focus-visible { color: var(--accent-ink); border-bottom-color: currentColor; }
.legal__toc li::before, .legal__toc li::marker { content: none; }
.legal h2 { scroll-margin-top: 120px; }
.legal h3 { font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--ink); margin: 28px 0 10px; }
@media (max-width: 640px) { .legal__toc { padding: 16px 18px; margin-bottom: 36px; } .legal__toc ul { columns: 1; } .legal h3 { font-size: 18px; } }
/* Beter leesbare tekst op de juridische pagina's. */
.legal p, .legal li { color: color-mix(in srgb, var(--ink) 84%, var(--muted)); font-size: 18px; line-height: 1.75; }
.legal li { margin-bottom: 8px; }
.band .inner.legal { max-width: 780px; margin-left: auto; margin-right: auto; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal h3 { color: var(--accent-ink); }
.legal a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal .legal__toc a { color: var(--ink); text-decoration: none; }
.legal .legal__toc li { font-size: 15px; line-height: 1.45; color: var(--muted); margin-bottom: 8px; }
.legal p.legal__toc-title { font-size: 12px; line-height: 1.4; color: var(--ink); }
.legal p.legal__meta { font-size: 14px; line-height: 1.6; color: var(--muted); }
@media (max-width: 640px) { .legal p, .legal li { font-size: 17px; line-height: 1.7; } }
/* Footerlogo altijd op een regel. */
.footer__mark { white-space: nowrap; overflow-wrap: normal; word-break: keep-all; font-size: clamp(40px, 4.6vw, 72px); max-width: 100%; }
@media (max-width: 880px) { .footer__mark { font-size: clamp(40px, 11vw, 88px); } }
/* Taalkeuze: duidelijk zichtbaar op elke achtergrond. */
.lang summary { background: rgba(10, 15, 31, 0.88); border: 1px solid rgba(238, 242, 255, 0.55); color: #fff; }
.lang summary:hover, .lang[open] summary { background: #0A0F1F; border-color: var(--accent); color: #fff; }
.lang__menu { background: #0A0F1F; border-color: rgba(238, 242, 255, 0.35); }
.lang__menu a { color: #fff; }
.lang__menu a span { color: #c4c8d4; }
.lang__menu a:hover, .lang__menu a:focus-visible { background: #1d2234; color: #fff; }
.lang__menu a[aria-current="page"] { color: var(--accent-ink); }
@media (min-width: 921px) { .nav__end { align-items: flex-start; gap: 16px; } .nav__end .lang { margin-top: 16px; } }
/* Bewegende tekstband op de homepage. */
.ribbon .marquee { display: block; max-width: none; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; animation: v67-marquee 45s linear infinite; }
.marquee__list { display: flex; flex-shrink: 0; align-items: center; margin: 0; padding: 0; list-style: none; }
.marquee__list li { display: flex; align-items: center; white-space: nowrap; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(18px, 1.9vw, 26px); line-height: 1.2; text-transform: var(--display-case); }
.marquee__list li::after { content: ""; width: 8px; height: 8px; margin: 0 clamp(20px, 2.6vw, 40px); border-radius: 50%; background: var(--on-accent); opacity: 0.7; flex: none; }
.marquee__list a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.marquee__list a:hover, .marquee__list a:focus-visible { border-bottom-color: currentColor; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes v67-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ribbon .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; width: auto; justify-content: center; }
  .marquee__list { flex-shrink: 1; width: 100%; flex-wrap: wrap; justify-content: center; row-gap: 10px; }
  .marquee__list li { white-space: normal; }
  .marquee__list li:last-child::after { display: none; }
  .marquee__list[aria-hidden="true"] { display: none; }
}
/* Paginakoppen nooit midden in een woord afbreken. */
.pagehead__title { max-width: 100%; overflow-wrap: break-word; word-break: normal; hyphens: manual; }
@media (max-width: 400px) { .pagehead__title { font-size: clamp(28px, 9.5vw, 40px) !important; } }
/* Telefoonnummers altijd op een regel. */
a[href^="tel:"] { white-space: nowrap; }
/* Knop terug naar boven, rechts boven de chatknop. */
.to-top { position: fixed; right: 24px; bottom: 100px; z-index: 60; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; padding: 0; background: rgba(10, 15, 31, 0.9); color: #fff; border: 1px solid rgba(238, 242, 255, 0.55); border-radius: 50%; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease, border-color 160ms ease, color 160ms ease; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover, .to-top:focus-visible { border-color: var(--accent); color: var(--accent-ink); outline: none; }
.to-top svg { width: 20px; height: 20px; }
@media (max-width: 560px) { .to-top { right: 16px; bottom: 88px; width: 44px; height: 44px; } }
/* Ruimte tussen de tekstband en de drie blokken eronder. */
.ribbon + .strip { margin-top: 40px; }
/* Logo in de header en de footer. */
.nav__logo { display: inline-flex; align-items: center; gap: 12px; }
.nav__logo::before { content: ""; width: 29px; height: 36px; flex: none; background: url(../img/viva67-logo.png) center / contain no-repeat; }
.footer__mark { display: flex; align-items: center; align-self: start; gap: 0.16em; }
.footer__mark::before { content: ""; width: 0.66em; height: 0.82em; flex: none; background: url(../img/viva67-logo.png) center / contain no-repeat; }
@media (max-width: 480px) { .nav__logo { gap: 10px; } .nav__logo::before { width: 24px; height: 30px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
@media print { .to-top { display: none; } }
/* Juridische pagina's: lijsten en voetregel, gelijk op alle pagina's. */
.legal a { overflow-wrap: anywhere; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal .legal__toc ul { margin: 0; padding: 0; }
.legal__meta { letter-spacing: 0.02em; border-top: 1px solid var(--accent); padding-top: 24px; margin-top: 56px; }
/* Foto bij onderdeel 02: hoofd volledig in beeld. */
.panel--alt .panel__bg { background-position: center 12%; }
/* Melding na het kopiëren van het e-mailadres. */
.copy-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 80; max-width: calc(100% - 32px); padding: 12px 18px; background: #0A0F1F; color: #fff; border: 1px solid var(--accent); font-size: 14px; line-height: 1.4; text-align: center; transition: opacity 400ms ease; }
.copy-toast.is-gone { opacity: 0; }
