/* De HTML die op de 3D-objecten ligt: de lagen in de duik, de pas en het scherm
   van de telefoon. Dit zijn productbeelden, geen pagina-opmaak. */
/* echte html op de lagen van de duik */
.tx-kap, .tx-pagina, .tx-pas, .tx-log { pointer-events: none; user-select: none; -webkit-user-select: none; }
.tx-kap { width: 372px; height: 372px; border-radius: 50%; display: grid; place-items: center; background: var(--blauw-fel); }
.tx-kap span { font-family: Barlow, sans-serif; font-weight: 800; font-size: 76px; letter-spacing: -0.03em; text-transform: uppercase; color: #fff; }
.tx-pagina { width: 704px; height: 464px; border-radius: 22px; overflow: hidden; background: #F3F2EE; color: #0B0B0C; display: flex; flex-direction: column; font-family: Inter, system-ui, sans-serif; }
.tx-balk { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: #E6E4DE; }
.tx-balk i { width: 13px; height: 13px; border-radius: 50%; background: #CFCCC4; }
.tx-balk span { margin-left: 14px; padding: 6px 14px; border-radius: 999px; background: #F3F2EE; font-size: 14px; color: #6B6B72; }
.tx-inhoud { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; padding: 26px 28px 0; }
.tx-inhoud small { font: 500 13px/1 ui-monospace, Menlo, monospace; text-transform: uppercase; color: var(--blauw); }
.tx-inhoud b { display: block; margin-top: 12px; font-family: Barlow, sans-serif; font-weight: 800; font-size: 60px; line-height: .86; letter-spacing: -0.045em; }
.tx-inhoud b em { font-style: normal; color: var(--blauw); }
.tx-knop { display: inline-block; margin-top: 20px; padding: 12px 20px; border-radius: 999px; background: var(--blauw); color: #fff; font-weight: 600; font-size: 16px; }
.tx-inhoud img { width: 100%; height: 280px; object-fit: cover; border-radius: 14px; }
.tx-voet { display: flex; justify-content: space-between; padding: 14px 28px; font: 500 13px/1 ui-monospace, Menlo, monospace; color: #6B6B72; border-top: 1px solid #DCDAD3; }
.tx-pas { width: 456px; height: 286px; border-radius: 28px; padding: 28px 32px; display: flex; flex-direction: column; color: #fff; background: var(--k); font-family: Inter, system-ui, sans-serif; }
.tx-pas div { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 18px; }
.tx-pas i { font-style: normal; font: 500 13px/1 ui-monospace, Menlo, monospace; padding: 6px 10px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; }
.tx-pas u { display: block; margin-top: 26px; width: 54px; height: 40px; border-radius: 8px; background: #DCE4F0; }
.tx-pas b { margin-top: auto; font-family: Barlow, sans-serif; font-weight: 700; font-size: 34px; line-height: 1.05; letter-spacing: -0.01em; }
.tx-pas small { margin-top: 8px; font: 500 15px/1 ui-monospace, Menlo, monospace; opacity: .8; }
.tx-log { width: 500px; height: 400px; border-radius: 22px; padding: 22px 24px; background: #0E1320; border: 2px solid var(--blauw-fel); color: #DCE6F7; font: 500 17px/1.4 ui-monospace, Menlo, monospace; overflow: hidden; }
.tx-logkop { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.12); color: var(--blauw-licht); font-size: 15px; text-transform: uppercase; }
.tx-log ol { margin: 0; padding: 0; list-style: none; }
.tx-log li { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); animation: login .5s ease both; }
.tx-log li:first-child { color: #fff; }
.tx-log li b { font-weight: 500; color: var(--blauw-licht); }
.tx-log li time { color: #8C96AA; }
.tx-log li.leeg { display: block; color: #8C96AA; }
@keyframes login { from { opacity: 0; transform: translateX(-16px); } }
/* de pagina bouwt zichzelf op als je bij het scherm komt */
.tx-pagina.bouw .tx-inhoud small { animation: txin .5s ease both .05s; }
.tx-pagina.bouw .tx-inhoud b { animation: txin .7s cubic-bezier(.2,.75,.15,1) both .15s; }
.tx-pagina.bouw .tx-knop { animation: txin .6s cubic-bezier(.2,.75,.15,1) both .4s; }
.tx-pagina.bouw .tx-inhoud img { animation: txbeeld .9s cubic-bezier(.65,0,.2,1) both .25s; }
.tx-pagina.bouw .tx-gewogen { animation: txstempel .5s cubic-bezier(.2,1.6,.4,1) both 1s; }
@keyframes txin { from { opacity: 0; transform: translateY(22px); } }
@keyframes txbeeld { from { clip-path: inset(0 100% 0 0 round 14px); } to { clip-path: inset(0 0 0 0 round 14px); } }
@keyframes txstempel { from { opacity: 0; transform: scale(1.8); } }
.tx-gewogen { display: inline-block; color: var(--blauw); }

/* de pas van Ondernemerspas */
.pasvoor, .pasachter { --opblauw: #2433FF; --lila: #C7CBFF; --opmono: ui-monospace, Menlo, monospace; position: relative; width: 300px; height: 478px; border-radius: 24px; overflow: hidden; padding: 24px 24px 20px; color: #fff; display: flex; flex-direction: column; pointer-events: none; font-family: Inter, system-ui, sans-serif; }
.pasvoor { background: linear-gradient(155deg, #3C48FF 0%, #2433FF 38%, #1620C9 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.pasachter { background: linear-gradient(205deg, #3C48FF 0%, #2433FF 45%, #1620C9 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.pasvoor .streep, .pasachter .streep { position: absolute; top: 0; bottom: 0; right: 20px; width: 28px; background: repeating-linear-gradient(135deg, rgba(255,255,255,.14) 0 6px, transparent 6px 12px); }
.pasvoor .r1, .pasachter .r1 { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding-right: 36px; }
.pasvoor .r1 b, .pasachter .r1 b { font-weight: 900; font-size: 19px; letter-spacing: -.05em; }
.pasvoor .eh, .pasachter .eh { font: 700 11px/1 var(--opmono); letter-spacing: .12em; padding: 4px 7px; border: 1.5px solid rgba(255,255,255,.9); border-radius: 6px; }
.pasvoor .soort { position: relative; z-index: 1; margin-top: auto; font: 700 10px/1 var(--opmono); letter-spacing: .18em; color: var(--lila); }
.pasvoor .naam { position: relative; z-index: 1; margin-top: 8px; padding-right: 30px; font-weight: 900; font-size: 54px; line-height: .86; letter-spacing: -.06em; overflow-wrap: anywhere; hyphens: auto; }
.pasvoor .naam.lang { font-size: 40px; }
.pasvoor .naam.heellang { font-size: 30px; }
.pasvoor .gegevens, .pasachter .regels { position: relative; z-index: 1; margin-top: 18px; padding-right: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font: 500 11.5px/1.3 var(--opmono); }
.pasvoor .gegevens small, .pasachter .regels small { display: block; font-size: 9px; letter-spacing: .14em; color: var(--lila); }
.pasvoor .code { position: relative; z-index: 1; margin-top: 18px; margin-right: 36px; height: 40px; background: repeating-linear-gradient(90deg, #fff 0 3px, transparent 3px 6px, #fff 6px 7px, transparent 7px 11px, #fff 11px 14px, transparent 14px 16px); }
.pasvoor .holo { position: absolute; inset: 0; mix-blend-mode: soft-light; opacity: .42; background: conic-gradient(from 200deg at var(--mx, 50%) var(--my, 30%), #ff8ad6, #8ae9ff, #a8ff9a, #ffe08a, #ff8ad6); }
.pasvoor .glans { position: absolute; inset: 0; mix-blend-mode: screen; background: radial-gradient(60% 45% at var(--mx, 50%) var(--my, 30%), rgba(255,255,255,.3), transparent 70%), linear-gradient(115deg, transparent 40%, rgba(255,255,255,.1) 48%, transparent 56%); }

/* de achterkant: rustig, met een QR om in te loggen en de gegevens in twee kolommen */
.pasachter .scan { position: relative; z-index: 1; margin-top: 30px; margin-right: 36px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pasachter .scan small { font: 700 9px/1 var(--opmono); letter-spacing: .18em; color: var(--lila); }
.pasachter .qr { display: block; width: 132px; height: 132px; border-radius: 10px; }
.pasachter .regels { margin-top: 22px; row-gap: 14px; }
.pasachter p { position: relative; z-index: 1; margin: auto 0 0; padding: 14px 36px 0 0; border-top: 1px solid rgba(255,255,255,.18); font: 500 12px/1.4 Inter, sans-serif; color: var(--lila); }
.pasachter .glans { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.08) 48%, transparent 56%); }

/* de telefoon: chipjes op het moederbord en de accu, het scherm van HTML */
.tx-soc { width: 96px; height: 96px; border-radius: 6px; background: #20242F; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #C9CEDA; font-family: Inter, sans-serif; pointer-events: none; }
.tx-soc b { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.tx-soc span { font: 500 7px/1 ui-monospace, Menlo, monospace; letter-spacing: .14em; color: #7C8496; }
.tx-accu { width: 240px; height: 120px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; color: #C9CEDA; font-family: Inter, sans-serif; text-align: center; pointer-events: none; }
.tx-accu b { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.tx-accu span { font: 500 10px/1.3 ui-monospace, Menlo, monospace; color: #7C8496; text-transform: uppercase; letter-spacing: .06em; }
.scherm { width: 352px; height: 725px; border-radius: 64px; overflow: hidden; padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 20px; color: #fff; background: radial-gradient(130% 70% at 80% 0%, var(--blauw-diep) 0%, #06142E 45%, #04070F 100%); font-family: Inter, system-ui, sans-serif; user-select: text; -webkit-user-select: text; }
.scherm-status { position: relative; display: flex; justify-content: space-between; align-items: center; height: 36px; padding: 0 14px; font-size: 16px; font-weight: 600; }
.scherm-status span { font-size: 13px; }
.scherm .eiland { position: absolute; left: 50%; top: 2px; width: 118px; height: 34px; margin-left: -59px; border-radius: 20px; background: #000; }
.scherm-kop { margin-top: 18px; }
.scherm-kop small { font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--blauw-licht); }
.scherm-kop strong { display: block; margin-top: 12px; font-family: Barlow, sans-serif; font-weight: 800; font-size: 78px; line-height: .86; letter-spacing: -0.045em; }
.scherm-kop strong span { color: var(--blauw); }
.scherm-kop p { margin: 16px 0 0; font-size: 16px; line-height: 1.4; color: #B9C6DD; }
.scherm-meting { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scherm-meting div { padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 6px; }
.scherm-meting b { font-family: Barlow, sans-serif; font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.scherm-meting span { font-size: 12px; color: #8FA3C4; }
.scherm-groep { display: flex; flex-direction: column; gap: 10px; }
.scherm-groep > span { font-size: 13px; color: #8FA3C4; }
.scherm-kleuren { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.scherm-kleuren button { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px; border-radius: 16px; border: 0; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.scherm-kleuren button i { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.scherm-kleuren button[aria-pressed="true"] { background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 2px #fff; }
.scherm-knop { margin-top: auto; min-height: 60px; border-radius: 999px; border: 0; background: var(--blauw); color: #fff; font: 700 18px/1 Inter, system-ui, sans-serif; cursor: pointer; transition: background .25s; }
.scherm-knop:hover { background: var(--blauw-fel); }
.scherm-knop[aria-pressed="true"] { background: #fff; color: var(--inkt); }
.scherm-balk { align-self: center; width: 130px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.75); }
