/* status.budgeteasy.nl -- vormgeving uit het canvas "BudgetEasy statuspagina" (30-09-2026).
   De stijl van de site: DM Sans op crème. Teal is "werkt", oranje "loopt achter", rood alleen als het
   echt plat ligt. Alles wat langer dan vijf seconden beweegt, staat stil met "Beweging pauzeren"
   (WCAG 2.2.2) en met prefers-reduced-motion. */

@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/static/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/static/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f6f4ef; --ink: #1c1b18; --ink-2: #3d3a33; --ink-3: #6a665c;
  --teal: #0f766e; --teal-deep: #0b5d57; --teal-soft: #e7f1ef;
  --oranje: #f26a1b; --oranje-tekst: #c2470e; --oranje-knop: #c24d0c; --oranje-soft: #fbf1e2; --oranje-rand: #fbd3b0; --oranje-licht: #f9a66e;
  --rood: #a3290f; --rood-soft: #fbe9e4;
  --lijn: rgba(28, 27, 24, 0.08); --leeg: #e3e0d8;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'DM Sans', system-ui, sans-serif; background: var(--bg); color: var(--ink); }
a { color: var(--oranje-tekst); }
a:hover { color: #a9420a; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.st-band :focus-visible { outline-color: #ffffff; }
h1, h2, h3, p { margin: 0; }
.st-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- De band ---------- */
.st-band { position: relative; overflow: hidden; color: #fff; padding-bottom: 104px;
  background: linear-gradient(160deg, #13877e 0%, #0f766e 45%, #0b5d57 100%); }
.st-toestand--achter .st-band { background: linear-gradient(160deg, #c24d0c 0%, #b04509 50%, #8f3707 100%); }
.st-toestand--plat .st-band { background: linear-gradient(160deg, #b3301a 0%, #a3290f 50%, #7c1f0b 100%); }
.st-gloed { position: absolute; border-radius: 50%; pointer-events: none; }
.st-gloed1 { width: 620px; height: 620px; left: -160px; top: -260px; background: radial-gradient(circle, rgba(255,255,255,0.22), rgba(255,255,255,0) 65%); animation: stDrift1 14s ease-in-out infinite; }
.st-gloed2 { width: 700px; height: 700px; right: -220px; bottom: -420px; background: radial-gradient(circle, rgba(191,220,214,0.35), rgba(191,220,214,0) 65%); animation: stDrift2 17s ease-in-out infinite; }
.st-toestand--achter .st-gloed1, .st-toestand--plat .st-gloed1 { background: radial-gradient(circle, rgba(255,214,170,0.35), rgba(255,214,170,0) 65%); }
.st-toestand--achter .st-gloed2, .st-toestand--plat .st-gloed2 { background: radial-gradient(circle, rgba(90,31,2,0.55), rgba(90,31,2,0) 65%); }
.st-hartslag { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.35; pointer-events: none; }
.st-hartslag path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1400; animation: stBeat 6s linear infinite; }

.st-kop { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 64px; }
.st-merk { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.st-merk:hover { color: #fff; }
.st-merk-label { font-size: 13px; font-weight: 600; background: rgba(255,255,255,0.18); padding: 4px 10px; border-radius: 999px; }
.st-kop-acties { display: flex; align-items: center; gap: 12px; }
.st-pauze { font: inherit; font-size: 14px; font-weight: 600; color: #fff; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px; padding: 10px 16px; min-height: 44px; cursor: pointer; }
.st-pauze:hover { background: rgba(255,255,255,0.24); }
.st-naar-app { font-size: 15px; font-weight: 700; text-decoration: none; background: #fff; color: var(--teal-deep); padding: 12px 18px; border-radius: 999px; }
.st-toestand--achter .st-naar-app { color: #a9420a; }
.st-toestand--plat .st-naar-app { color: var(--rood); }
.st-naar-app:hover { color: var(--ink); }
.st-naar-app { white-space: nowrap; }
.st-kort { display: none; }
@media (max-width: 760px) { .st-lang { display: none; } .st-kort { display: inline; } }

.st-held { position: relative; max-width: 880px; margin: 0 auto; display: flex; align-items: center; gap: 44px; padding: 40px 0 0; }
.st-held-tekst { display: flex; flex-direction: column; gap: 14px; animation: stRise 0.8s cubic-bezier(0.16,1,0.3,1) both; }
.st-live { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.st-live-stip { width: 11px; height: 11px; border-radius: 50%; background: #fff; animation: stPulse 1.8s ease-out infinite; }
.st-held h1 { font-size: 84px; line-height: 0.95; font-weight: 800; letter-spacing: -0.045em; text-wrap: balance; }
.st-toestand--achter .st-held h1, .st-toestand--plat .st-held h1 { font-size: 60px; line-height: 1; letter-spacing: -0.04em; max-width: 660px; }
.st-held-sub { font-size: 19px; line-height: 1.5; color: rgba(255,255,255,0.94); max-width: 580px; }

/* ---------- De mascotte ---------- */
.st-mascotte-vak { position: relative; width: 150px; height: 150px; flex: none; display: flex; align-items: center; justify-content: center; }
.st-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,0.6); animation: stRing 3.6s cubic-bezier(0.16,1,0.3,1) infinite; }
.st-ring2 { animation-delay: 1.2s; } .st-ring3 { animation-delay: 2.4s; }
.st-mascotte { position: relative; width: 132px; height: 132px; border-radius: 36px; background: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 24px 48px rgba(4,47,43,0.35); animation: stBob 4.5s ease-in-out infinite; }
.st-teken { position: absolute; right: -10px; bottom: -10px; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 4px solid var(--teal);
  display: flex; align-items: center; justify-content: center; color: var(--teal); }
.st-toestand--achter .st-teken { border-color: #b04509; color: var(--oranje-tekst); }
.st-toestand--plat .st-teken { border-color: var(--rood); color: var(--rood); }
.st-vink path { stroke-dasharray: 24; animation: stCheck 0.6s ease-out both 0.6s; }
.st-wijzer { transform-origin: 12px 12px; animation: stWijzer 6s linear infinite; }

/* ---------- De inhoud ---------- */
.st-main { position: relative; max-width: 880px; margin: -56px auto 0; padding: 0 0 64px; display: flex; flex-direction: column; gap: 40px; }
.st-kaart, .st-nu { background: #fff; border-radius: 24px; box-shadow: 0 30px 60px rgba(28,27,24,0.10), 0 2px 0 rgba(28,27,24,0.04);
  animation: stRise 0.8s cubic-bezier(0.16,1,0.3,1) both 0.15s; }
.st-kaart { overflow: hidden; }
.st-kaart-kop { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 26px 32px 6px; }
.st-kaart-kop h2, .st-eerdere h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.st-kaart-uitleg { font-size: 14px; color: var(--ink-3); }
.st-kaart-uitleg::before { content: "90 dagen, "; }
.st-rijen { list-style: none; margin: 0; padding: 0; }
.st-rij { display: flex; flex-direction: column; gap: 14px; padding: 22px 32px; border-top: 1px solid var(--lijn);
  animation: stRise 0.8s cubic-bezier(0.16,1,0.3,1) both; transition: transform 0.2s ease; }
.st-rij:hover { transform: translateX(4px); }
.st-rij--achter { background: #fffaf4; }
.st-rij--plat { background: #fff6f3; }
.st-rij-kop { display: flex; align-items: center; gap: 16px; }
.st-tegel { width: 44px; height: 44px; border-radius: 14px; background: var(--teal-soft); color: var(--teal-deep); display: flex; align-items: center; justify-content: center; flex: none; }
.st-rij--achter .st-tegel { background: var(--oranje-soft); color: var(--oranje-tekst); }
.st-rij--plat .st-tegel { background: var(--rood-soft); color: var(--rood); }
.st-rij--onbekend .st-tegel { background: #f0eee8; color: var(--ink-3); }
.st-rij-tekst { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.st-rij-naam { font-size: 17px; font-weight: 700; }
.st-rij-uitleg { font-size: 14px; color: var(--ink-3); }
.st-chip { font-size: 14px; font-weight: 700; padding: 7px 13px; border-radius: 999px; white-space: nowrap; flex: none; }
.st-chip--ok { color: var(--teal-deep); background: var(--teal-soft); }
.st-chip--achter { color: #a9420a; background: var(--oranje-soft); }
.st-chip--plat { color: var(--rood); background: var(--rood-soft); }
.st-chip--leeg { color: var(--ink-2); background: #f0eee8; }
/* Wat achterloopt krijgt een knipperend stipje; de tekst zelf blijft vol, anders zakt het contrast. */
.st-chip--achter::before, .st-chip--plat::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: currentColor; margin-right: 7px; vertical-align: 1px; animation: stAchter 1.6s ease-in-out infinite; }
.st-legenda .st-chip::before { display: none; }
.st-dagen-rij { display: flex; align-items: center; gap: 16px; }
.st-dagen { display: flex; gap: 2px; flex: 1 1 auto; height: 34px; align-items: flex-end; }
.st-dag { flex: 1 1 0; height: 34px; border-radius: 3px; background: var(--teal); transform-origin: bottom;
  animation: stBlok 0.5s cubic-bezier(0.34,1.56,0.64,1) both; }
.st-dag--achter { background: var(--oranje-licht); }
.st-dag--plat { background: #c2410c; }
.st-dag--leeg { background: var(--leeg); }
.st-rij--achter .st-dag:last-child, .st-rij--plat .st-dag:last-child { background: var(--oranje); animation: stBlok 0.5s cubic-bezier(0.34,1.56,0.64,1) both, stAchter 2.4s ease-in-out infinite 1.5s; }
.st-pct { font-size: 15px; font-weight: 700; width: 70px; text-align: right; flex: none; }
.st-legenda { list-style: none; margin: -24px 0 0; padding: 0 8px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--ink-3); }
.st-legenda li { display: flex; align-items: center; gap: 6px; }
.st-legenda .st-dag { flex: none; width: 10px; height: 10px; border-radius: 2px; animation: none; }

/* ---------- Wat er nu speelt ---------- */
.st-nu { padding: 30px 34px; display: flex; flex-direction: column; gap: 16px; animation: stRise 0.8s cubic-bezier(0.16,1,0.3,1) both 0.1s, stGlim 3s ease-in-out infinite 1s; }
.st-nu--plat { --glim: #f4c2b6; }
.st-nu-kop { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.st-nu-kop h2 { font-size: 22px; font-weight: 700; }
.st-nu-tekst { font-size: 19px; line-height: 1.55; }
.st-nu-sinds { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.st-tijdlijn { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.st-tijdlijn li { display: flex; gap: 14px; align-items: baseline; font-size: 15px; line-height: 1.5; color: var(--ink-2); animation: stRise 0.8s cubic-bezier(0.16,1,0.3,1) both 0.5s; }
.st-tijdlijn strong { color: var(--ink); width: 48px; flex: none; }
.st-stip { width: 11px; height: 11px; border-radius: 50%; background: var(--oranje); flex: none; box-shadow: 0 0 0 4px var(--oranje-soft); transform: translateY(1px); }

/* ---------- Eerdere storingen ---------- */
.st-eerdere { display: flex; flex-direction: column; gap: 16px; animation: stRise 0.8s cubic-bezier(0.16,1,0.3,1) both 0.9s; }
.st-eerder-rij { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.st-eerder { background: #fff; border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 10px 26px rgba(28,27,24,0.05); transition: transform 0.2s ease; }
.st-eerder:hover { transform: translateX(4px); }
.st-eerder h3 { font-size: 17px; font-weight: 700; }
.st-eerder p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.st-eerder .st-eerder-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.st-groen { color: var(--teal-deep); }
.st-rustig { font-size: 16px; color: var(--ink-2); }
.st-voet { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); border-top: 1px solid rgba(28,27,24,0.1); padding-top: 18px; }

/* ---------- Telefoon ---------- */
@media (max-width: 760px) {
  .st-band { padding-bottom: 72px; }
  .st-kop { padding: 14px 16px; }
  .st-merk { font-size: 18px; gap: 10px; }
  .st-merk svg { width: 30px; height: 30px; }
  .st-pauze { display: none; }
  .st-naar-app { font-size: 14px; padding: 11px 14px; }
  .st-held { flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px 20px 0; }
  .st-mascotte-vak { width: 100px; height: 100px; }
  .st-mascotte { width: 88px; height: 88px; border-radius: 26px; }
  .st-mascotte > svg { width: 66px; height: 66px; }
  .st-teken { width: 36px; height: 36px; right: -8px; bottom: -8px; border-width: 3px; }
  .st-teken svg { width: 18px; height: 18px; }
  .st-held h1 { font-size: 52px; }
  .st-toestand--achter .st-held h1, .st-toestand--plat .st-held h1 { font-size: 36px; line-height: 1.04; }
  .st-held-sub { font-size: 16px; }
  .st-main { margin-top: -40px; padding: 0 12px 32px; gap: 28px; }
  .st-kaart-kop { flex-direction: column; gap: 2px; padding: 20px 16px 8px; }
  .st-kaart-uitleg::before { content: "30 dagen, "; }
  .st-rij { padding: 16px; gap: 12px; }
  .st-tegel { width: 40px; height: 40px; border-radius: 12px; }
  .st-rij-naam { font-size: 16px; }
  .st-rij-uitleg { font-size: 13px; }
  .st-chip { font-size: 13px; padding: 5px 10px; }
  .st-dagen { gap: 3px; height: 28px; }
  .st-dag { height: 28px; }
  .st-dagen .st-dag:nth-child(-n+60) { display: none; }
  .st-pct { display: none; }
  .st-legenda { margin-top: -16px; }
  .st-nu { padding: 20px 16px; border-radius: 22px; }
  .st-nu-kop h2 { font-size: 18px; }
  .st-nu-tekst { font-size: 16px; }
  .st-eerder-rij { grid-template-columns: minmax(0, 1fr); }
  .st-eerder { padding: 18px 16px; }
  .st-voet { flex-direction: column; }
}
/* Op een telefoon staat de pauzeknop in de voet; in de kop was geen plek. */
.st-pauze--voet { display: none; color: var(--ink); background: #fff; border-color: rgba(28,27,24,0.15); align-self: flex-start; }
.st-pauze--voet:hover { background: #fff; }
@media (max-width: 760px) { .st-pauze--voet { display: inline-flex; align-items: center; } }

/* ---------- Beweging ---------- */
@keyframes stDrift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(90px,40px) scale(1.15); } }
@keyframes stDrift2 { 0%,100% { transform: translate(0,0) scale(1.1); } 50% { transform: translate(-110px,-30px) scale(0.95); } }
@keyframes stBob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes stRing { 0% { transform: scale(0.6); opacity: 0.55; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes stPulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); } 100% { box-shadow: 0 0 0 14px rgba(255,255,255,0); } }
@keyframes stBeat { 0% { stroke-dashoffset: 1400; } 60% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1400; } }
@keyframes stRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes stBlok { from { transform: scaleY(0.15); } to { transform: scaleY(1); } }
@keyframes stCheck { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
@keyframes stWijzer { to { transform: rotate(360deg); } }
@keyframes stAchter { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes stGlim { 0%,100% { box-shadow: 0 0 0 2px var(--glim, var(--oranje-rand)), 0 30px 60px rgba(28,27,24,0.10); } 50% { box-shadow: 0 0 0 5px var(--glim, var(--oranje-rand)), 0 30px 60px rgba(28,27,24,0.10); } }

.st-stil *, .st-stil *::before, .st-stil *::after { animation-play-state: paused !important; }
/* Na een verversing vliegt niets opnieuw binnen; wat doorloopt (mascotte, ringen, knipperen) loopt door. */
.st-ververst .st-held-tekst, .st-ververst .st-kaart, .st-ververst .st-rij, .st-ververst .st-dag, .st-ververst .st-eerdere,
.st-ververst .st-tijdlijn li, .st-ververst .st-vink path { animation: none; }
.st-ververst .st-nu { animation: stGlim 3s ease-in-out infinite; }
.st-ververst .st-rij--achter .st-dag:last-child, .st-ververst .st-rij--plat .st-dag:last-child { animation: stAchter 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .st-pauze { display: none; }
}
