/* =====================================================================================================
   ATLASSO · CORRECTIERONDE 30-10-2026 (Founder Human Eye, video + transcript 30-10) — één laag, geladen NA v3.css.
   Alles wat hier niet staat, blijft exact V3 (live sinds 29-10). Elke regel hoort bij één correctie:
   A · hero-opening (maskers; de choreografie zelf zit in hero.js)
   B · het levende monitorscherm
   D · statusmomenten domein + hosting (vinkje dat zich tekent, veld dat bevestigt)
   F · «vaste prijs» bij €545
   G · het Atlasso-knoppensysteem: whisky blijft, de generieke ronde gradient-pil met donker pijlrondje verdwijnt.
       Vorm: een ingetogen rechthoek met verfijnde hoeken, mat whisky-materiaal, een vaste pijlsleuf achter een fijne naad
       (een «tweedelige toets»), letters in het Atlasso-woordmerkfont (Unbounded). Hover: de pijl schuift door zijn sleuf.
   ===================================================================================================== */
.v3 {
  --ak-h: 56px;                       /* hoogte primaire knop */
  --ak-r: 10px;                       /* hoekafronding: rechthoekig, niet scherp */
  --ak-sleuf: 54px;                   /* breedte van de pijlsleuf */
  --ak-font: 'Unbounded', var(--display);
  --ak-inkt: #1b1209;
  --ak-whisky: linear-gradient(180deg, #e2b57b 0%, #d19c5e 100%);
  --ak-whisky-hover: linear-gradient(180deg, #ebc28b 0%, #d8a668 100%);
  --ak-naad: rgba(27, 18, 9, .2);
  --ak-sleufvlak: rgba(27, 18, 9, .055);
  --ak-schaduw: inset 0 1px 0 rgba(255, 245, 226, .55), inset 0 -1px 0 rgba(84, 52, 16, .3), 0 1px 1px rgba(0, 0, 0, .4), 0 12px 24px -14px rgba(201, 146, 79, .4);
  --ak-schaduw-hover: inset 0 1px 0 rgba(255, 245, 226, .6), inset 0 -1px 0 rgba(84, 52, 16, .3), 0 1px 1px rgba(0, 0, 0, .4), 0 16px 30px -14px rgba(201, 146, 79, .55);
}

/* =====================================================================================================
   A · HERO-OPENING — maskers voor woordmerk en kopregels; de beweging zelf is Web Animations (hero.js).
   Zonder JS staat alles er; met JS verbergt data-state="pre" (al in de HTML, dus geen flits) tot de opening start.
   ===================================================================================================== */
/* de oude overgangen van [data-piece] doen niet meer mee: de opening wordt volledig door hero.js geregisseerd */
.js .v3 .hero [data-piece] { transition: none; }
.js .v3 .hero[data-state="fly"] [data-piece] { translate: none; }
.js .v3 .hero[data-state="fly"] .hero__kop { opacity: 1; }
/* maskers: ruim genoeg voor de schaduwen rond de letters, zonder de opmaak te verschuiven */
.v3 .hero__title { overflow: hidden; padding: .3em .4em .26em; margin: -.3em -.4em -.26em; perspective: none; }
.v3 .hero__regel { display: block; width: fit-content; overflow: hidden; padding: .1em .3em .2em; margin: -.1em -.3em -.2em; }
.v3 .hero__regel > span { display: block; }
.v3 .hero__streep { transform-origin: 0 50%; }
.js .v3 .hero[data-state="pre"] .hero__regel > span { opacity: 0; }
/* vangnet: mocht hero.js niet starten, dan verschijnt alles na 3,5 s toch (nooit verborgen inhoud) */
@keyframes cr30-vangnet { to { opacity: 1; translate: none; } }
.js .v3 .hero[data-state="pre"] :is([data-piece], .hero__title span, .hero__regel > span) { animation: cr30-vangnet .5s ease 3.5s forwards; }

/* =====================================================================================================
   B · HET LEVENDE MONITORSCHERM — de film ligt exact op het scherm van de foto (hero.js: --sx/--sy/--sw/--sh) en toont
   alleen het glas (clip-path, 2 px binnen de rand: de naad valt op zwart glas). Onder .hero__dark, dus hetzelfde licht.
   ===================================================================================================== */
.v3 .hero__scherm {
  position: absolute; z-index: 0; left: var(--sx, 0); top: var(--sy, 0); width: var(--sw, 0); height: var(--sh, 0);
  object-fit: fill; pointer-events: none; user-select: none;
  clip-path: polygon(1.55% 7.11%, 98.2% 2.29%, 98.58% 97.48%, 1.16% 94.5%);
  opacity: 0; transition: opacity .45s ease;
}
.v3 .hero__scherm.is-speelt { opacity: 1; }
html:not(.js) .v3 .hero__scherm { display: none; }

/* =====================================================================================================
   G · HET ATLASSO-KNOPPENSYSTEEM
   Primair  (whisky)  : hero-demoknop · «Maak mijn gratis demo» · «Kies een belmoment» · footer · formulier
   Secundair (glas)   : portfolio «Website openen» · «Terug naar de website»
   Zwevend  (pil)     : «Kies een belmoment» linksonder
   Dezelfde klikbestemmingen, dezelfde teksten, dezelfde data-attributen; alleen de vorm verandert.
   ===================================================================================================== */
.v3 :is(.v2-knop, .pad__knop, .cta, .demo-veld__knop) {
  position: relative; isolation: isolate; display: inline-flex; align-items: stretch; gap: 0;
  min-height: var(--ak-h); padding: 0; margin-top: 0; border: 0; border-radius: var(--ak-r); overflow: hidden; cursor: pointer;
  font: 600 clamp(14px, .95vw, 15.5px)/1.2 var(--ak-font); letter-spacing: .004em; color: var(--ak-inkt); text-decoration: none; white-space: nowrap;
  background: var(--ak-whisky); box-shadow: var(--ak-schaduw); transform: none;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), transform .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.v3 .pad__knop { margin-top: 0; }
.v3 :is(.cta, .pad__knop)::before, .v3 :is(.cta, .pad__knop)::after { display: none; }
/* het tekstvlak */
.v3 :is(.v2-knop > span:first-child, .demo-veld__knop > span, .pad__knop .knop__tekst, .cta .cta__tekst) {
  display: flex; align-items: center; padding: 0 22px 0 24px; text-shadow: none;
}
.v3 .cta .cta__icoon + .cta__tekst { padding-left: 10px; }
/* het telefoontje (belmoment) staat als klein teken in de tekst, niet meer in een rondje */
.v3 .cta .cta__icoon {
  display: flex; align-items: center; justify-content: center; width: auto; height: auto; padding-left: 20px;
  background: none; box-shadow: none; color: var(--ak-inkt); transform: none;
}
.v3 .cta .cta__icoon svg { width: 18px; height: 18px; }
/* de pijlsleuf: een vaste sleuf achter een fijne naad (span-variant en rechtstreekse svg-variant) */
.v3 :is(.cta .cta__pijl, .pad__knop .knop__cirkel) {
  display: grid; place-items: center; flex: none; align-self: stretch; width: var(--ak-sleuf); height: auto;
  margin: 0; border-radius: 0; border-left: 1px solid var(--ak-naad); background: var(--ak-sleufvlak); color: var(--ak-inkt);
  transform: none; transition: background .45s var(--ease);
}
.v3 :is(.v2-knop .v2-knop__pijl, .demo-veld__knop svg) {
  box-sizing: content-box; flex: none; align-self: stretch; width: 18px; height: auto; padding: 0 18px; margin: 0;
  border-left: 1px solid var(--ak-naad); background: var(--ak-sleufvlak); translate: none;
  transition: background .45s var(--ease);
}
.v3 :is(.cta .cta__pijl, .pad__knop .knop__cirkel) svg { width: 18px; height: 18px; translate: none; }
/* hover / focus: iets lichter whisky, de sleuf wordt dieper, de pijl schuift één keer door zijn sleuf */
.v3 :is(.v2-knop, .pad__knop, .cta, .demo-veld__knop):is(:hover, :focus-visible) {
  background: var(--ak-whisky-hover); box-shadow: var(--ak-schaduw-hover); transform: none;
}
.v3 :is(.v2-knop, .pad__knop, .cta, .demo-veld__knop):is(:hover, :focus-visible) :is(.cta__pijl, .knop__cirkel, .v2-knop__pijl),
.v3 .demo-veld__knop:is(:hover, :focus-visible) svg { background: rgba(27, 18, 9, .1); transform: none; }
@keyframes ak-door {
  0% { transform: translateX(0); opacity: 1; }
  40% { transform: translateX(20px); opacity: 0; }
  41% { transform: translateX(-20px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
.v3 :is(.v2-knop, .pad__knop, .cta, .demo-veld__knop):is(:hover, :focus-visible) :is(.cta__pijl, .knop__cirkel, .v2-knop__pijl) path,
.v3 .demo-veld__knop:is(:hover, :focus-visible) svg path { animation: ak-door .62s var(--ease); }
.v3 :is(.v2-knop, .pad__knop, .cta, .demo-veld__knop):active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255, 245, 226, .4), inset 0 -1px 0 rgba(84, 52, 16, .3), 0 4px 12px -6px rgba(201, 146, 79, .6); transition-duration: .08s; }
.v3 :is(.v2-knop, .pad__knop, .cta, .demo-veld__knop):focus-visible { outline: 2px solid var(--v2-ivoor); outline-offset: 3px; }
.v3 .cta:disabled { opacity: .6; cursor: progress; }
/* volle breedte: tekst in het midden (prijskaart) of links (formulier), de sleuf blijft rechts */
.v3 .prijskaart__knop { width: 100%; margin-top: clamp(20px, 3.2vh, 28px); min-height: var(--ak-h); padding: 0; justify-content: stretch; }
.v3 .prijskaart__knop .cta__tekst { flex: 1; min-width: 0; justify-content: center; text-align: center; padding-left: calc(18px + var(--ak-sleuf) * .5); padding-right: 18px; }
.v3 .prijskaart__knop .cta__icoon { display: none; }   /* in de kaart geen telefoontje (V2-ontwerp, ongewijzigd) */
.v3 .cta--breed { width: 100%; }
.v3 .cta--breed .cta__tekst { flex: 1; }
.v3 .cta--klein { min-height: 52px; }

/* het demo-veld in de hero: zelfde vormtaal (concentrische hoeken: veld 16 px, knop 11 px, 6 px ertussen) */
@media (min-aspect-ratio: 1/1) { .v3 .demo-veld { width: min(100%, 580px, 39vw); } }
.v3 .demo-veld__pil { border-radius: 16px; }
.v3 .demo-veld__invoer { text-overflow: ellipsis; }
.v3 .demo-veld__knop { min-height: clamp(46px, 6.8vh, 54px); border-radius: 11px; font-size: clamp(12.5px, .84vw, 14.5px); }
.v3 .demo-veld__knop > span { padding: 0 15px 0 17px; }
.v3 .demo-veld__knop svg { width: 17px; padding: 0 14px; }

/* secundair: glas met een fijne rand; dezelfde sleuf, in licht */
.v3 .knop--glas {
  gap: 0; align-items: stretch; min-height: 50px; padding: 0; border-radius: var(--ak-r); overflow: hidden;
  font: 600 14px/1.2 var(--ak-font); letter-spacing: .004em; color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .06));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .2), 0 10px 30px rgba(0, 0, 0, .45);
}
.v3 .knop--glas > span:first-child { display: flex; align-items: center; padding: 0 18px 0 20px; }
.v3 .knop--glas .knop__cirkel {
  align-self: stretch; width: 50px; height: auto; border-radius: 0; color: #fff; transform: none;
  background: rgba(255, 255, 255, .06); border-left: 1px solid rgba(255, 255, 255, .18); transition: background .45s var(--ease), color .45s var(--ease);
}
.v3 .knop--glas:is(:hover, :focus-visible) {
  transform: none;
  box-shadow: inset 0 0 0 1px rgba(236, 197, 142, .75), inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 30px rgba(0, 0, 0, .45);
}
.v3 .knop--glas:is(:hover, :focus-visible) .knop__cirkel { transform: none; background: rgba(212, 164, 102, .18); color: var(--v2-goud-licht); }
.v3 .knop--glas svg { translate: none !important; }
.v3 .knop--glas:focus-visible { outline: 2px solid var(--v2-ivoor); outline-offset: 3px; }

/* zwevend: «Kies een belmoment» linksonder — donker vlak, whisky-rand, een whisky-blokje met de telefoon */
.v3 .belpil {
  gap: 12px; padding: 5px 18px 5px 5px; border-radius: 12px; font: 600 13.5px/1 var(--ak-font); letter-spacing: .004em;
  background: linear-gradient(180deg, rgba(30, 27, 24, .92), rgba(12, 11, 10, .94));
  box-shadow: inset 0 0 0 1px rgba(212, 164, 102, .4), inset 0 1px 0 rgba(255, 255, 255, .08), 0 14px 40px rgba(0, 0, 0, .55);
}
.v3 .belpil__icoon { width: 40px; height: 40px; border-radius: 8px; color: var(--ak-inkt); background: var(--ak-whisky); box-shadow: inset 0 1px 0 rgba(255, 245, 226, .55); }
.v3 .belpil__icoon::after { border-radius: inherit; box-shadow: 0 0 0 2px rgba(226, 178, 118, .55); }
.v3 .belpil:is(:hover, :focus-visible) { box-shadow: inset 0 0 0 1px rgba(236, 197, 142, .9), inset 0 1px 0 rgba(255, 255, 255, .1), 0 14px 40px rgba(0, 0, 0, .55); }
.v3 .belpil:focus-visible { outline: 2px solid var(--v2-ivoor); outline-offset: 3px; }

/* =====================================================================================================
   D · STATUSMOMENTEN — domein en hosting. Eén taal: het veld bevestigt (zachte groene rand), het chipje tekent zijn vinkje,
   de melding komt op en haar vinkje tekent zich in een cirkel, één rustige kring. Geen bounce, geen confetti.
   Illustratief (zo ziet het eruit wanneer het geregeld is), nooit «bezig met koppelen…». Eindstand zonder JS/RM = alles staat er.
   ===================================================================================================== */
.v3 .toast__ico--vink { position: relative; background: transparent; }
.v3 .toast__ico--vink svg { width: 38px; height: 38px; overflow: visible; }
.v3 .toast__ico--vink .ring { fill: var(--v3-ok); fill-opacity: 1; stroke: var(--v3-ok); stroke-width: 1.5; stroke-dasharray: 117; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 50% 50%; }
.v3 .toast__ico--vink .haak { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 26; stroke-dashoffset: 0; }
.v3 .toast__ico--vink::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(24, 134, 74, .45); pointer-events: none; }
.v3 .ui-stapel .veldje { transition: box-shadow .5s ease var(--bevestig, .9s), background-color .5s ease var(--bevestig, .9s); }
.v3 .ui-stapel .veldje:not(.veldje--zacht) { box-shadow: var(--v3-schaduw), inset 0 0 0 1.5px rgba(24, 134, 74, .28); }
.v3 .ui-stapel .chip--ok svg path { stroke-dasharray: 18; stroke-dashoffset: 0; transition: stroke-dashoffset .35s ease calc(var(--chip, .95s) + .12s); }

/* de volgorde (met .is-play): domein — veld bevestigt .9 s · chip 1 s · melding 1,5 s · cirkel 1,7 s · vinkje 2,15 s · kring 2,5 s */
.v3 [data-scene="domein"] { --chip: 1s; }
.v3 .ui-stapel .chip { transition: opacity .3s ease var(--chip, .95s), transform .45s var(--ease) var(--chip, .95s); }
.v3 [data-scene] .toast:has(.toast__ico--vink) { --toast: 1.5s; transition: opacity .45s ease var(--toast), transform .7s var(--ease) var(--toast); }
.v3 [data-scene="hosting"] .toast:has(.toast__ico--vink) { --toast: 1.3s; }
.v3 .toast__ico--vink .ring { transition: stroke-dashoffset .55s cubic-bezier(.65, 0, .35, 1) calc(var(--toast, 1.5s) + .2s), fill-opacity .3s ease calc(var(--toast, 1.5s) + .6s); }
.v3 .toast__ico--vink .haak { transition: stroke-dashoffset .38s cubic-bezier(.65, 0, .35, 1) calc(var(--toast, 1.5s) + .7s); }
.v3 .toast:has(.toast__ico--vink) .toast__tekst { transition: opacity .45s ease calc(var(--toast, 1.5s) + .62s), transform .6s var(--ease) calc(var(--toast, 1.5s) + .62s); }
.v3 [data-scene].is-play .toast__ico--vink::after { animation: cr30-kring 1.3s ease-out calc(var(--toast, 1.5s) + 1.05s) 1; }
@keyframes cr30-kring { 0% { box-shadow: 0 0 0 0 rgba(24, 134, 74, .42); } 100% { box-shadow: 0 0 0 14px rgba(24, 134, 74, 0); } }

/* beginstand (alleen met JS en vóór het afspelen) */
.js .v3 .ui-stapel:not(.is-play) .veldje:not(.veldje--zacht) { box-shadow: var(--v3-schaduw), inset 0 0 0 1.5px rgba(24, 134, 74, 0); }
.js .v3 .ui-stapel:not(.is-play) .chip { opacity: 0; transform: scale(.88); }
.js .v3 .ui-stapel:not(.is-play) .chip--ok svg path { stroke-dashoffset: 18; }
.js .v3 [data-scene]:not(.is-play) .toast:has(.toast__ico--vink) { opacity: 0; transform: translateY(16px); }
.js .v3 [data-scene]:not(.is-play) .toast__ico--vink .ring { stroke-dashoffset: 117; fill-opacity: 0; }
.js .v3 [data-scene]:not(.is-play) .toast__ico--vink .haak { stroke-dashoffset: 26; }
.js .v3 [data-scene]:not(.is-play) .toast:has(.toast__ico--vink) .toast__tekst { opacity: 0; transform: translateX(-8px); }
/* hosting: het slotje klikt dicht (.7 s), https wordt groen, het veld bevestigt (1 s) */
.v3 [data-scene="hosting"] { --bevestig: 1s; }
.v3 .slotje__beugel { transition: transform .45s cubic-bezier(.3, 0, .2, 1) .7s; }
.js .v3 [data-scene="hosting"]:not(.is-play) .slotje__beugel { transform: translateY(-4.5px); }
.v3 .https { transition: color .4s ease .85s; }
.v3 .slotje { transition: background-color .4s ease .85s; }

/* =====================================================================================================
   F · PRIJS — €545 is een vaste prijs (geen «vanaf» meer)
   ===================================================================================================== */
.v3 .tarieven__onder { max-width: 42em; margin-inline: auto; text-wrap: balance; }
.v3 .prijskaart__prijs { align-items: baseline; gap: clamp(12px, 1.2vw, 18px); }
.v3 .prijskaart__vast { font: 800 clamp(11px, .8vw, 13px)/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--v2-goud); }

/* =====================================================================================================
   RESPONSIVE + MINDER BEWEGING
   ===================================================================================================== */
/* smallere liggende schermen (tablet liggend, kleine laptop): het veld raakt de monitor al, dus de knop gaat onder de invoer staan,
   binnen hetzelfde veld (zelfde logica als op gsm) — de invoer houdt altijd genoeg plaats */
@media (min-aspect-ratio: 1/1) and (max-width: 1180px) and (min-height: 700px) {
  .v3 .demo-veld__pil { flex-wrap: wrap; gap: 8px; padding: 8px; border-radius: 18px; }
  .v3 .demo-veld__icoon { margin-left: 10px; }
  .v3 .demo-veld__invoer { flex: 1 1 60%; }
  .v3 .demo-veld__knop { flex: 1 1 100%; justify-content: space-between; }
  .v3 .demo-veld__knop > span { flex: 1; justify-content: center; padding-left: calc(17px + 22px); }
}
@media (max-width: 560px) {
  .v3 .demo-veld__pil { border-radius: 18px; }
  .v3 .demo-veld__knop { justify-content: space-between; }
  .v3 .demo-veld__knop > span { flex: 1; justify-content: center; padding-left: calc(20px + 27px); }
}
@media (max-width: 520px) {
  .v3 { --ak-h: 54px; --ak-sleuf: 48px; }
  .v3 :is(.v2-knop, .pad__knop, .cta, .demo-veld__knop) { font-size: 13.5px; }
  .v3 :is(.v2-knop > span:first-child, .pad__knop .knop__tekst, .cta .cta__tekst) { padding: 0 16px 0 18px; }
  .v3 .cta .cta__icoon { padding-left: 16px; }
  .v3 .belpil { font-size: 13px; padding-right: 14px; }
}
/* heel smalle gsm (320–380 px): een lang label mag op twee regels, de knop wordt nooit breder dan het scherm */
@media (max-width: 380px) {
  .v3 :is(.v2-knop, .pad__knop, .cta, .demo-veld__knop) { max-width: 100%; white-space: normal; }
  .v3 :is(.v2-knop > span:first-child, .demo-veld__knop > span, .pad__knop .knop__tekst, .cta .cta__tekst) { min-width: 0; padding-block: 10px; line-height: 1.25; text-wrap: balance; }
}
@media (prefers-reduced-motion: reduce) {
  .v3 :is(.v2-knop, .pad__knop, .cta, .demo-veld__knop, .knop--glas, .belpil), .v3 :is(.v2-knop, .pad__knop, .cta, .demo-veld__knop) * { transition-duration: .01s !important; }
  .v3 :is(.v2-knop, .pad__knop, .cta, .demo-veld__knop) path { animation: none !important; }
  .v3 .hero__scherm { display: none; }
}

/* portfolio-vergroting op gsm: «Terug naar overzicht» botste met de projectnaam (ook live) → compact «Terug»; schermlezers houden de volledige aria-label */
@media (max-width: 719px) {
  .v3 .galerij--site .galerij__terug { font-size: 0; gap: 8px; padding: 9px 14px 9px 12px; }
  .v3 .galerij--site .galerij__terug::after { content: 'Terug'; font: 700 13px/1 var(--display); }
  .v3 .galerij--site .galerij__terug .galerij__kbd { display: none; }
}
