/*!
 * Van Zessen Financiële Diensten — vzfd-theme
 * Huisstijl van Maan over de rustige basisopmaak: petrol (Pantone 7699) en geel (Pantone 7403), Averta,
 * koppen in kleine letters. De indeling blijft die van de basis (witte kop, kopblok met foto, secties met
 * veel witruimte); hier staan alleen de kleuren, de letter, de knoppen, de live-status, het formulier en
 * de beweging bij onderdelen die een verloop uitleggen. Zonder beweging als de bezoeker dat uitzet.
 *
 * Contrast (WCAG), berekend:
 *   wit op --petrol #0d5f7d           6,9 : 1
 *   --petrol op wit                    6,9 : 1
 *   --nacht #062f3f op --geel         11,6 : 1
 *   --grijs #4a626c op wit             6,4 : 1
 */

:root {
	--petrol: #0d5f7d;
	--petrol-diep: #0a4d66;
	--petrol-nacht: #062f3f;
	--petrol-licht: #6f9fb1;
	--ijs: #dcebf0;
	--mist: #f1f6f8;
	--geel: #fbde81;
	--geel-diep: #f3c94f;
	--inkt: #10303c;
	--grijs: #4a626c;
	--lijn: #d9e6eb;
	--kopletter: "Averta", system-ui, sans-serif;
	--tekstletter: "Averta", system-ui, -apple-system, "Segoe UI", sans-serif;
	--zacht: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Letter en koppen: Averta, koppen in kleine letters ---------- */
body { font-weight: 400; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.01em; }
h1, h2 { text-transform: lowercase; }
h3, .h3 { font-weight: 700; }
strong { font-weight: 700; }
.accent--geel { color: var(--geel); }

/* ---------- Knoppen: een rustige pil ---------- */
.knop { border-radius: 999px; font: 700 1rem/1 var(--kopletter); transition: background .2s, color .2s, border-color .2s; }
.knop--geel:hover { background: var(--geel-diep); }
.kop__knop { text-transform: lowercase; }

/* ---------- Balk met de actuele bereikbaarheid ---------- */
.balk { background: var(--petrol-nacht); }
.balk__tijden { gap: .55rem; font-weight: 700; color: var(--wit); }
.balk__tijden .icoon { display: none; }
.status__stip { width: .56rem; height: .56rem; border-radius: 50%; background: currentColor; flex: none; }
.status__stip[hidden] { display: none; }
[data-status="open"] { color: #7fd8a0; }
[data-status="avond"] { color: var(--geel); }
[data-status="dicht"] { color: #f2a0a0; }
.status__tekst { color: var(--wit); }
.status__sub { color: #a9c6d0; font-weight: 400; }
.livestatus { display: inline-flex; align-items: center; gap: .6rem; margin: 1rem 0 0; padding: .45rem 1rem; border-radius: 999px;
	background: var(--mist); font-weight: 700; font-size: .95rem; }
.livestatus[hidden] { display: none; }
.livestatus[data-status="open"] { color: #2e9e5b; }
.livestatus[data-status="dicht"] { color: #c0504d; }
.livestatus [data-livestatus-tekst] { color: var(--petrol); }

/* ---------- Kop (header): wit, menu in kleine letters ----------
   Met de muis klapt het menu open bij aanwijzen; het openklapknopje blijft er voor toetsenbord,
   schermlezer en touch, maar is op een desktop met muis pas zichtbaar bij focus. */
.menu__link { font: 700 1.02rem/1 var(--kopletter); text-transform: lowercase; white-space: nowrap; }
.menu__link:hover, .heeft-uitklap.is-open > .menu__link, .menu__item[data-actief] > .menu__link { color: var(--petrol); }
.menu__item[data-actief] > .menu__link { box-shadow: inset 0 -3px 0 var(--geel); }
@media (hover: hover) and (min-width: 68.01rem) {
	.menu__open:not(:focus-visible) { width: 1px; margin-left: -1px; overflow: hidden; clip-path: inset(50%); }
}
.uitklap { top: calc(100% + 1rem); background: var(--petrol-nacht); border: 0; border-top: 6px solid var(--geel); border-radius: 0 0 28px 28px;
	box-shadow: 0 30px 60px -20px rgb(0 0 0 / .55); padding: 1.6rem 1.6rem 1.4rem; transform: translateY(-10px); }
.uitklap__groep { color: var(--geel); font: 800 .95rem var(--kopletter); text-transform: lowercase; letter-spacing: 0; }
.uitklap .uitklap__lijst a { color: rgb(255 255 255 / .9); border-radius: 999px; padding: .5rem .8rem; transition: background .2s, color .2s, padding .25s; }
.uitklap__lijst a .icoon { color: var(--geel); }
.uitklap .uitklap__lijst a:hover { background: rgb(255 255 255 / .08); color: var(--geel); padding-left: 1.1rem; }
.uitklap__alles { color: var(--geel); border-top-color: rgb(255 255 255 / .12); font-weight: 700; text-transform: lowercase; }
.kop__tel { font-weight: 700; }
.menuknop { text-transform: lowercase; }

/* ---------- Beweging alleen waar ze iets laat zien ----------
   Geen doorlopende of decoratieve animatie bij tekst: alleen de twee onderdelen die een verloop tonen
   bewegen mee met het scrollen. De zeven stappen komen één voor één op langs een lijn die zich tekent,
   en de levensmomenten verschijnen rondom de kern. */
@supports (animation-timeline: view()) {
	.route__stappen { view-timeline-name: --route; }
	.route__stappen::before { transform-origin: left; animation: maanLijn linear both; animation-timeline: --route; animation-range: cover 8% cover 40%; }
	.route__stappen > li { animation: maanOp linear both; animation-timeline: --route;
		animation-range: cover calc(6% + var(--k, 0) * 4.5%) cover calc(14% + var(--k, 0) * 4.5%); }
	.leven__cirkel { view-timeline-name: --leven; }
	.leven__ring > li > a { animation: maanOp linear both; animation-timeline: --leven;
		animation-range: cover calc(8% + var(--k, 0) * 3.5%) cover calc(16% + var(--k, 0) * 3.5%); }
}
.route__stappen > li:nth-child(2), .leven__ring > li:nth-child(2) { --k: 1; }
.route__stappen > li:nth-child(3), .leven__ring > li:nth-child(3) { --k: 2; }
.route__stappen > li:nth-child(4), .leven__ring > li:nth-child(4) { --k: 3; }
.route__stappen > li:nth-child(5), .leven__ring > li:nth-child(5) { --k: 4; }
.route__stappen > li:nth-child(6), .leven__ring > li:nth-child(6) { --k: 5; }
.route__stappen > li:nth-child(7), .leven__ring > li:nth-child(7) { --k: 6; }
.leven__ring > li:nth-child(8) { --k: 7; }
/* Pagina's die een verloop uitleggen krijgen dezelfde taal: een lijn die zich tekent terwijl je leest,
   en stappen die één voor één opkomen. Werkwijze en ons verhaal (verticaal): elke stap volgt zijn eigen
   plek in beeld, het nummer kleurt geel zodra je er bent. Schade melden, zakelijke risico's en de
   financiële foto (naast elkaar): de stappen komen na elkaar op. */
@supports (animation-timeline: view()) {
	.stappenlijn::before, .tijdlijn::before { transform-origin: top; animation: maanLijnV linear both; animation-timeline: --lijst;
		animation-range: cover 10% cover 70%; }
	.stappenlijn, .tijdlijn, .stappen, .risicostappen, .pijlers { view-timeline-name: --lijst; }
	.stap, .tijd { animation: maanOp linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
	.stap__nr { animation: maanVul linear both; animation-timeline: view(); animation-range: entry 40% cover 40%; }
	.stappen > li, .risicostappen > li, .pijlers > li { animation: maanOp linear both; animation-timeline: --lijst;
		animation-range: cover calc(8% + var(--k, 0) * 6%) cover calc(18% + var(--k, 0) * 6%); }
}
.stappen > li:nth-child(2), .risicostappen > li:nth-child(2), .pijlers > li:nth-child(2) { --k: 1; }
.stappen > li:nth-child(3), .risicostappen > li:nth-child(3), .pijlers > li:nth-child(3) { --k: 2; }
.stappen > li:nth-child(4), .risicostappen > li:nth-child(4) { --k: 3; }
.risicostappen > li:nth-child(5) { --k: 4; }
.risicostappen > li:nth-child(6) { --k: 5; }
@keyframes maanLijnV { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes maanVul { from { background: var(--wit); box-shadow: inset 0 0 0 3px var(--geel-diep); } to { background: var(--geel); box-shadow: inset 0 0 0 3px var(--geel); } }
@keyframes maanLijn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes maanOp { from { opacity: 0; translate: 0 2.5rem; } to { opacity: 1; translate: 0 0; } }

/* ---------- Voet ---------- */
.voet { background: var(--petrol-nacht); }
.voet__kop, .voet__kop a { color: var(--geel); text-transform: lowercase; font-weight: 800; font-size: 1rem; }
.voet__raster { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem 3rem; }
.voet__lijst { gap: .1rem; }
.voet__lijst a { display: inline-block; padding-block: .2rem; line-height: 1.4; }
.voet__plaatsen { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; margin-top: 2.5rem; padding-top: 1.5rem;
	border-top: 1px solid rgb(255 255 255 / .14); }
.voet__plaatsen .voet__kop { margin: 0; }
.voet__regel { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.6rem; margin: 0; padding: 0; }
.voet__regel li { white-space: nowrap; }
.voet__regel + .voet__kop { margin-top: .9rem; }
@media (max-width: 75rem) { .voet__raster { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 48rem) { .voet__raster { grid-template-columns: 1fr 1fr; } }
.voet__wet { margin-top: 1.5rem; }

/* ---------- Formulieren: een witte kaart naast de manieren om contact op te nemen ---------- */
.formulier { background: var(--wit); }
.formulier__binnen { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem 4rem; align-items: start; }
.formulier__intro { font-size: 1.08rem; line-height: 1.6; color: var(--grijs); }
.formulier__wegen { margin-top: 2rem; grid-template-columns: 1fr; }
.formulier__verplicht { font-size: .85rem; color: var(--grijs); margin: 0; }
.formulier__kaart { background: var(--wit); color: var(--inkt); border: 1px solid var(--lijn); border-radius: 24px; padding: clamp(1.4rem, 3vw, 2rem);
	box-shadow: 0 24px 50px -36px rgb(6 47 63 / .45); }
.formulier__tabs { display: inline-flex; gap: .25rem; background: var(--mist); padding: .25rem; border-radius: 999px; margin-bottom: 1.4rem; }
.formulier__tab { min-height: 2.75rem; padding: 0 1.1rem; border: 0; border-radius: 999px; background: transparent; color: var(--petrol);
	font: 700 .95rem var(--kopletter); text-transform: lowercase; cursor: pointer; }
.formulier__tab[aria-selected="true"] { background: var(--petrol); color: var(--wit); }
.formulier__vorm { display: grid; gap: 1rem; }
.formulier__vorm[hidden] { display: none; }
.formulier__rij { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.veld { display: grid; gap: .35rem; }
.veld label, .veld legend { font-weight: 700; font-size: .95rem; color: var(--petrol); padding: 0; }
.veld input, .veld select, .veld textarea { min-height: 3.25rem; border-radius: 14px; border: 2px solid var(--lijn); padding: .7rem 1rem; font: inherit;
	color: var(--inkt); background: var(--wit); width: 100%; transition: border-color .2s, box-shadow .2s; }
.veld textarea { min-height: 6rem; resize: vertical; }
.veld input:focus, .veld select:focus, .veld textarea:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 4px rgb(251 222 129 / .7); }
.veld--keus { border: 0; margin: 0; padding: 0; }
.keuzes { display: flex; flex-wrap: wrap; gap: .5rem; }
.keuzes { position: relative; }
.keuzes input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; min-height: 0; opacity: 0; pointer-events: none; }
.keuzes label { display: inline-flex; align-items: center; min-height: 2.9rem; padding: 0 1.1rem; border-radius: 999px; border: 2px solid var(--lijn);
	color: var(--petrol); font-weight: 700; cursor: pointer; }
.keuzes input:checked + label { background: var(--geel); border-color: var(--geel); color: var(--petrol-nacht); }
.keuzes input:focus-visible + label { outline: 3px solid var(--petrol); outline-offset: 2px; }
.toestemming { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; line-height: 1.45; color: var(--grijs); }
.toestemming input { width: 1.3rem; height: 1.3rem; margin: .1rem 0 0; accent-color: var(--petrol); flex: none; }
.honing { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.melding { padding: .9rem 1.1rem; border-radius: 14px; font-weight: 700; }
.melding--goed { background: var(--geel); color: var(--petrol-nacht); }
.melding--fout { background: #fde2e2; color: #7a1a1a; }
@media (max-width: 62rem) { .formulier__binnen, .formulier__rij { grid-template-columns: 1fr; } }


/* ---------- Hypotheekvormen in beeld: per jaar de maandlast, rente en aflossing ----------
   De staven groeien bij het tonen van een vorm op, van jaar 1 naar jaar 30: zo zie je het verloop. */
.vormkeus__tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 0; }
.vormkeus__tabs[hidden] { display: none; }
.vormkeus__tab { min-height: 2.9rem; padding: 0 1.2rem; border-radius: 999px; border: 2px solid var(--lijn); background: var(--wit); color: var(--petrol);
	font: 700 1rem var(--kopletter); text-transform: lowercase; cursor: pointer; }
.vormkeus__tab:hover { border-color: var(--petrol); }
.vormkeus__tab[aria-selected="true"] { background: var(--petrol); border-color: var(--petrol); color: var(--wit); }
.vormkeus__paneel { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2.5rem 3rem; align-items: start; margin-top: 2rem; }
.vormkeus__paneel[hidden] { display: none; }
.vormkeus__beeld { border: 1px solid var(--lijn); border-radius: 20px; padding: 1.5rem 1.25rem 1rem; background: var(--wit); }
.vormkeus__grafiek { display: block; width: 100%; height: auto; overflow: visible; }
.vormkeus__staaf { transform-box: fill-box; transform-origin: 50% 100%; animation: maanGroei .7s var(--zacht) both; animation-delay: calc(var(--k, 0) * 28ms); }
.vormkeus__netto { animation: maanVerschijn .5s ease both 1.1s; }
@keyframes maanGroei { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes maanVerschijn { from { opacity: 0; } to { opacity: 1; } }
.vormkeus__legenda { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: .75rem 0 0 4rem; font-size: .9rem; color: var(--grijs); }
.vormkeus__leg { display: inline-flex; align-items: center; gap: .45rem; }
.vormkeus__leg::before { content: ""; width: .9rem; height: .9rem; border-radius: 3px; }
.vormkeus__leg--rente::before { background: var(--petrol); }
.vormkeus__leg--aflossing::before { background: var(--geel); }
.vormkeus__leg--netto::before { height: 0; border-radius: 0; border-top: 3px dashed var(--petrol-nacht); }
.vormkeus__uitleg h3 { font-size: 1.6rem; text-transform: lowercase; margin: 0 0 .6rem; }
.vormkeus__uitleg p { color: var(--grijs); }
.vormkeus__punten { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .7rem; }
.vormkeus__punten li { position: relative; margin: 0; padding: 0 0 0 1.2rem; }
.vormkeus__punten li::before { content: ""; position: absolute; left: 0; top: .6em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--geel-diep); }
.vormkeus__voorbeeld { margin-top: 1.5rem; font-size: .9rem; color: var(--grijs); }
@media (max-width: 62rem) { .vormkeus__paneel { grid-template-columns: 1fr; } .vormkeus__legenda { margin-left: 0; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Tiles: equal columns, so every picture in a row has the same height, even when a long word such as
   "bedrijfsaansprakelijkheid" would widen its column. The word breaks with a hyphen instead. */
.tegels--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tegels--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tegels--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tegels--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 75rem) { .tegels--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tegels--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 56rem) { .tegels--3, .tegels--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .tegels--2, .tegels--3, .tegels--4, .tegels--5 { grid-template-columns: minmax(0, 1fr); } .tegels--klein { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tegel__naam { hyphens: manual; overflow-wrap: anywhere; min-width: 0; }

/* Partner tools (inc/tools.php): the tool keeps its own layout inside a calm white card. */
.tool__vak { max-width: 64rem; margin-inline: auto; background: #fff; border-radius: 1rem; padding: clamp(.5rem, 2vw, 1.5rem); }
.tool__vak iframe { display: block; }
.vacatures__leeg { max-width: 42rem; font-size: 1.05rem; }
