/* 3D-hero: beweegbare basculebrug met diensten */
.ta-hero3d { position: relative; background: linear-gradient(180deg, #f4f5fa 0%, #e8e9f3 100%); overflow: hidden; }
.ta-hero3d__inner { max-width: 1440px; margin: 0 auto; padding: 0 48px; display: grid; grid-template-columns: minmax(340px, 5fr) 7fr; gap: 32px; align-items: center; min-height: clamp(600px, 44vw, 720px); }
.ta-hero3d__copy { position: relative; z-index: 2; padding: 56px 0; }
.ta-hero3d__copy .ta-eyebrow { display: block; margin-bottom: 14px; }
.ta-hero3d__title { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.06; letter-spacing: -0.015em; color: var(--ta-indigo-700); margin: 0 0 18px; font-weight: 700; }
.ta-hero3d__lead { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.6; color: var(--fg-2, #4F4C4D); margin: 0 0 28px; max-width: 560px; }
.ta-hero3d__legend { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; max-width: 560px; }
.ta-hero3d__legend a { display: flex; gap: 10px; align-items: baseline; font-size: 14px; color: var(--ta-indigo-700); text-decoration: none; padding: 6px 0; border-bottom: 1px solid rgba(36,38,93,0.12); }
.ta-hero3d__legend a:hover { border-bottom-color: var(--ta-indigo-700); }
.ta-hero3d__legend span { font-family: var(--font-mono, monospace); font-size: 11px; color: #7B7979; }

.ta-hero3d__stage { position: relative; height: clamp(520px, 40vw, 680px); margin-right: -48px; cursor: grab; touch-action: pan-y; }
.ta-hero3d__stage:active { cursor: grabbing; }
.ta-hero3d__canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block;
  -webkit-mask-image: radial-gradient(ellipse 62% 64% at 52% 50%, #000 48%, transparent 100%); mask-image: radial-gradient(ellipse 62% 64% at 52% 50%, #000 48%, transparent 100%); }
.ta-hero3d__labels { position: absolute; inset: 0; pointer-events: none; }
.ta-hero3d__label { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255,255,255,0.94); border: 1px solid rgba(36,38,93,0.18); box-shadow: 0 6px 18px rgba(36,38,93,0.16); color: var(--ta-indigo-700); text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; transition: opacity .25s, background .2s, box-shadow .2s; will-change: transform; }
.ta-hero3d__label:hover, .ta-hero3d__label:focus-visible, .ta-hero3d__label.is-active { background: var(--ta-indigo-700); color: #fff; box-shadow: 0 10px 26px rgba(36,38,93,0.32); z-index: 5; }
.ta-hero3d__nr { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ta-indigo-700); color: #fff; font-size: 11px; font-family: var(--font-mono, monospace); }
.ta-hero3d__label:hover .ta-hero3d__nr, .ta-hero3d__label.is-active .ta-hero3d__nr { background: #fff; color: var(--ta-indigo-700); }
.ta-hero3d__tip { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); width: 240px; white-space: normal; font-weight: 400; font-size: 13px; line-height: 1.45; color: #4F4C4D; background: #fff; border: 1px solid rgba(36,38,93,0.15); border-radius: 8px; padding: 10px 12px; box-shadow: 0 12px 30px rgba(36,38,93,0.18); opacity: 0; visibility: hidden; transition: opacity .2s; }
.ta-hero3d__tip em { display: block; margin-top: 6px; font-style: normal; font-weight: 600; color: var(--ta-indigo-700); }
.ta-hero3d__label.is-active .ta-hero3d__tip { opacity: 1; visibility: visible; }
.ta-hero3d__hud { position: absolute; left: 16px; right: 64px; bottom: 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; pointer-events: none; }
.ta-hero3d__status { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; color: #4F4C4D; background: rgba(255,255,255,0.85); border: 1px solid rgba(36,38,93,0.15); border-radius: 999px; padding: 6px 12px 6px 10px; }
.ta-hero3d__dot { width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 3px rgba(47,191,113,0.2); }
.ta-hero3d__dot.is-alert { background: #e5483b; box-shadow: 0 0 0 3px rgba(229,72,59,0.2); animation: ta-pulse 1.2s ease-in-out infinite; }
.ta-hero3d__btns { display: inline-flex; gap: 6px; pointer-events: auto; }
.ta-hero3d__btn { font: inherit; font-size: 12px; font-weight: 600; color: var(--ta-indigo-700); background: rgba(255,255,255,0.9); border: 1px solid rgba(36,38,93,0.2); border-radius: 6px; padding: 6px 10px; cursor: pointer; }
.ta-hero3d__btn:hover { background: var(--ta-indigo-700); color: #fff; }
.ta-hero3d__hint { position: absolute; right: 64px; top: 18px; font-size: 12px; color: #7B7979; pointer-events: none; }

@media (max-width: 999px) {
  .ta-hero3d__inner { grid-template-columns: 1fr; padding: 0 24px; gap: 0; min-height: 0; }
  .ta-hero3d__copy { padding: 32px 0 8px; }
  .ta-hero3d__stage { height: 420px; margin: 0 -24px; }
  .ta-hero3d__hud { left: 12px; right: 12px; bottom: 16px; }
  .ta-hero3d__hint { display: none; }
  .ta-hero3d__label { font-size: 12px; padding: 4px 10px 4px 4px; }
  .ta-hero3d__label .ta-hero3d__name { display: none; }
  .ta-hero3d__label.is-active .ta-hero3d__name { display: inline; }
  .ta-hero3d__tip { display: none; }
}
@media (max-width: 520px) { .ta-hero3d__legend { grid-template-columns: 1fr; } }

/* ---- ronde 2: poster, paneel, De Slimme Brug ---- */
.ta-hero3d__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: opacity .6s ease; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 62% 64% at 52% 50%, #000 48%, transparent 100%); mask-image: radial-gradient(ellipse 62% 64% at 52% 50%, #000 48%, transparent 100%); }
.ta-hero3d__canvas { opacity: 0; transition: opacity .6s ease; }
.ta-hero3d__stage.is-klaar .ta-hero3d__canvas { opacity: 1; }
.ta-hero3d__stage.is-klaar .ta-hero3d__poster { opacity: 0; }
.ta-hero3d__stage:not(.is-klaar) .ta-hero3d__labels { display: none; }
.ta-hero3d__stage:not(.is-klaar) { cursor: default; }
.ta-hero3d__start { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font: inherit; font-size: 14px; font-weight: 600; color: #fff; background: var(--ta-indigo-700); border: 0; border-radius: 999px; padding: 10px 18px; box-shadow: 0 8px 22px rgba(36,38,93,0.3); cursor: pointer; }
.ta-hero3d__start:disabled { opacity: .75; cursor: wait; }
@media (min-width: 1000px) { .ta-hero3d__start { display: none; } }
.ta-hero3d__label.is-dsb .ta-hero3d__nr { background: #f08a24; }
.ta-hero3d__label.is-dsb:hover, .ta-hero3d__label.is-dsb.is-active { background: #f08a24; border-color: #f08a24; }
.ta-hero3d__label.is-dsb:hover .ta-hero3d__nr, .ta-hero3d__label.is-dsb.is-active .ta-hero3d__nr { background: #fff; color: #f08a24; }
.ta-hero3d__panel { position: absolute; left: 24px; top: 24px; width: 300px; background: #fff; border: 1px solid rgba(36,38,93,0.14); border-top: 3px solid var(--ta-indigo-700); border-radius: 8px; padding: 18px 20px 16px; box-shadow: 0 18px 40px rgba(36,38,93,0.18); z-index: 6; animation: ta-panel-in .35s ease both; }
.ta-hero3d__panel.is-dsb { border-top-color: #f08a24; }
@keyframes ta-panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ta-hero3d__panel h3 { margin: 4px 0 8px; font-size: 18px; color: var(--ta-indigo-700); line-height: 1.25; }
.ta-hero3d__panel p { margin: 0 0 12px; font-size: 14px; line-height: 1.55; color: #4F4C4D; }
.ta-hero3d__panel-nr { font-family: var(--font-mono, monospace); font-size: 11px; color: #7B7979; letter-spacing: .06em; }
.ta-hero3d__more { font-size: 14px; font-weight: 600; color: var(--ta-indigo-700); text-decoration: none; }
.ta-hero3d__more:hover { text-decoration: underline; }
.ta-hero3d__close { position: absolute; right: 8px; top: 6px; border: 0; background: none; font-size: 22px; line-height: 1; color: #7B7979; cursor: pointer; padding: 4px 8px; }
.ta-hero3d__close:hover { color: var(--ta-indigo-700); }
.ta-hero3d__dsb { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: baseline; margin-top: 26px; max-width: 560px; padding: 12px 16px; border: 1px solid rgba(36,38,93,0.14); border-left: 3px solid #f08a24; border-radius: 6px; background: rgba(255,255,255,0.7); text-decoration: none; color: var(--ta-indigo-700); transition: background .2s, box-shadow .2s; }
.ta-hero3d__dsb:hover { background: #fff; box-shadow: 0 8px 20px rgba(36,38,93,0.10); }
.ta-hero3d__dsb-tag { grid-column: 1 / -1; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #7B7979; font-weight: 600; }
.ta-hero3d__dsb strong { font-size: 15px; }
.ta-hero3d__dsb span:last-child { font-size: 14px; color: #4F4C4D; }
/* desktop: dienstenlijst staat al als labels in de brug */
@media (min-width: 1000px) { .ta-hero3d__legend { display: none; } }
@media (max-width: 999px) {
  .ta-hero3d__panel { left: 12px; right: 12px; top: 12px; width: auto; }
  .ta-hero3d__dsb { grid-template-columns: 1fr; }
}

/* AT-beeldmerk uit de huisstijl als watermerk */
.ta-footer { position: relative; overflow: hidden; }
.ta-footer::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 380px; height: 410px; background: url("/assets/at-merk-wit.svg") no-repeat center / contain; opacity: .05; pointer-events: none; }
.ta-section--tint { position: relative; overflow: hidden; }
.ta-section--tint::after { content: ""; position: absolute; left: -70px; bottom: -80px; width: 340px; height: 370px; background: url("/assets/at-merk.svg") no-repeat center / contain; opacity: .05; pointer-events: none; }
.ta-section--tint > .ta-container { position: relative; z-index: 1; }

/* ---- ronde 3: schermvullende hero (desktop) ---- */
@media (min-width: 1000px) {
  .ta-hero3d { height: calc(100vh - 72px); min-height: 640px; max-height: 1100px; }
  .ta-hero3d__inner { position: static; display: block; height: 100%; min-height: 0; padding: 0; max-width: none; }
  .ta-hero3d__stage { position: absolute; inset: 0; height: auto; margin: 0; }
  .ta-hero3d__canvas, .ta-hero3d__poster { -webkit-mask-image: none !important; mask-image: none !important; }
  .ta-hero3d__copy { position: relative; z-index: 3; height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 48px; display: flex; flex-direction: column; justify-content: center; pointer-events: none; }
  .ta-hero3d__copy > * { pointer-events: auto; max-width: 560px; }
  .ta-hero3d::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(90deg, rgba(244,245,250,0.97) 0%, rgba(244,245,250,0.9) 26%, rgba(244,245,250,0.55) 40%, rgba(244,245,250,0) 56%); }
  .ta-hero3d__labels, .ta-hero3d__panel, .ta-hero3d__hud, .ta-hero3d__hint { z-index: 4; }
  .ta-hero3d__panel { left: auto; right: 32px; top: 32px; }
  .ta-hero3d__hud { left: auto; right: 32px; bottom: 28px; justify-content: flex-end; gap: 10px; }
  .ta-hero3d__hint { right: 32px; top: 20px; }
}

/* ---- ronde 4: scène ook links zichtbaar, tekst op een licht paneel ---- */
@media (min-width: 1000px) {
  .ta-hero3d::before { background: linear-gradient(90deg, rgba(244,245,250,0.55) 0%, rgba(244,245,250,0.25) 30%, rgba(244,245,250,0) 50%); }
  .ta-hero3d__copy > .ta-eyebrow, .ta-hero3d__copy > .ta-hero3d__title, .ta-hero3d__copy > .ta-hero3d__lead, .ta-hero3d__copy > .ta-hero__cta-row { position: relative; }
  .ta-hero3d__copy { justify-content: center; }
  .ta-hero3d__panelcopy { background: rgba(255,255,255,0.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(36,38,93,0.10); border-radius: 14px; padding: 34px 36px 30px; box-shadow: 0 24px 60px rgba(36,38,93,0.12); max-width: 600px; pointer-events: auto; }
  .ta-hero3d__panelcopy .ta-hero3d__dsb { background: rgba(255,255,255,0.85); }
}
.ta-hero3d__dsb span:last-child { white-space: nowrap; }
@media (max-width: 520px) { .ta-hero3d__dsb span:last-child { white-space: normal; } }
@media (min-width: 1000px) {
  .ta-hero3d__copy { max-width: none; margin: 0; padding: 0 0 0 clamp(48px, 6vw, 140px); }
  .ta-hero3d__panelcopy { max-width: 640px; }
}

/* ---- ronde 5: mobiel, brug direct onder de kop ---- */
@media (max-width: 999px) {
  .ta-hero3d__inner { display: flex; flex-direction: column; align-items: stretch; }
  .ta-hero3d__copy, .ta-hero3d__panelcopy { display: contents; }
  .ta-hero3d__copy .ta-eyebrow { order: 1; margin-top: 28px; }
  .ta-hero3d__title { order: 2; }
  .ta-hero3d__lead { order: 3; margin-bottom: 4px; }
  .ta-hero3d__stage { order: 4; height: 360px; }
  .ta-hero__cta-row { order: 5; margin-top: 4px; }
  .ta-hero3d__legend { order: 6; }
  .ta-hero3d__dsb { order: 7; margin-bottom: 32px; }
}

/* ---- ronde 7: uitleg per onderdeel ---- */
.ta-subitem--uitleg { display: block; }
.ta-subitem--uitleg p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--fg-2, #4F4C4D); }

/* ---- ronde 8: vervolgblok en WhatsApp ---- */
.ta-vervolg__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.ta-vervolg .ta-section__lead { margin-bottom: 0; }
.ta-vervolg__acties { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ta-vervolg__direct { margin: 0; font-size: 14px; color: var(--fg-2, #4F4C4D); }
.ta-vervolg__direct a { color: var(--ta-indigo-700); }
@media (max-width: 860px) { .ta-vervolg__inner { grid-template-columns: 1fr; gap: 20px; } }
.ta-stickycta--wa { background: #1fa855; text-decoration: none; }
.ta-stickycta--wa:hover, .ta-stickycta--wa.is-on:hover { background: #178a45; }

/* ---- ronde 9: toegankelijkheid ---- */
/* tussenkoppen zijn h3 geworden (juiste kopvolgorde), met de opmaak van h4 */
.ta-betekenis h3 { margin: 0 0 8px; color: var(--ta-indigo-700); font-size: 17px; font-weight: 700; }
.ta-over-grid h3 { margin: 0 0 8px; color: var(--ta-indigo-700); font-size: 16px; font-weight: 700; padding-top: 16px; border-top: 2px solid var(--ta-indigo-700); }
.ta-subitem h3 { margin: 0; color: var(--ta-indigo-700); font-size: 16px; font-weight: 600; }
.ta-address h3 { margin: 0 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.10em; color: #5f5f5f; font-weight: 600; line-height: 1.3; }
.ta-address--quickscan h3 { color: #fff; font-size: 20px; line-height: 1.25; margin: 0 0 12px; letter-spacing: 0; text-transform: none; font-weight: 600; }
/* grijze tekst donkerder voor voldoende contrast (WCAG AA); het logo houdt #808080 */
.ta-eyebrow:not(.ta-eyebrow--on-dark), .eyebrow, .ta-proj__klant, .ta-lc__num { color: #5f5f5f; }
.ta-address--quickscan .ta-eyebrow { color: rgba(255,255,255,0.65); }
.ta-insights__card h2.ta-insights__h { margin: 0; color: var(--ta-indigo-700); font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
/* formulier op mobiel: één kolom, geen horizontale scroll */
.ta-contact-row > *, .ta-form, .ta-field input, .ta-field textarea { min-width: 0; }
.ta-field input, .ta-field textarea { width: 100%; box-sizing: border-box; }
@media (max-width: 640px) { .ta-form__grid { grid-template-columns: 1fr; } }
