/* ============================================================
   TET Impact Scan — fullscreen diagnostic experience
   ============================================================ */

:root {
  --tet-scan-topbar-h: 104px;
  --tet-coral: #df4446;
  --tet-coral-dark: #c93638;
  --tet-coral-soft: #fff7f7;
  --tet-black: #1d1d1f;
  --tet-muted: #6f6f73;
  --tet-soft: #f7f7f7;
  --tet-border: #e9e9e9;
  --tet-font-serif: 'Playfair Display', Georgia, serif;
  --tet-font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

html,
body.et-scan-standalone {
  min-height: 100%;
  margin: 0;
  background: #fff;
}

body.et-scan-standalone {
  color: var(--tet-black);
  font-family: var(--tet-font-sans);
  overflow-x: hidden;
}

.et-scan-main {
  min-height: 100svh;
  background: #fff;
  overflow: visible;
}

.tet-scan {
  --tet-scan-left: clamp(300px, 20vw, 400px);
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
  padding: 0;
}

body.admin-bar .et-scan-main,
body.admin-bar .tet-scan {
  min-height: calc(100svh - 32px);
}

.tet-scan-progress-track {
  display: none;
}

.tet-scan-progress-fill {
  height: 100%;
  width: 0;
  background: var(--tet-coral);
  transition: width .35s ease;
}

.tet-scan-topbar {
  position: relative;
  z-index: 20;
  background: #fff;
  height: var(--tet-scan-topbar-h);
  min-height: var(--tet-scan-topbar-h);
  box-sizing: border-box;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--tet-border);
  padding: 18px 40px;
}

.tet-scan-topbar .et-logo {
  transform: none;
}

.tet-scan-topbar .et-logo__img {
  max-height: 68px;
}

.tet-scan-top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #666;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tet-scan-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--tet-coral);
  border-radius: 10px;
  color: var(--tet-coral);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.tet-scan-close:hover {
  background: var(--tet-coral);
  color: #fff;
}

.tet-scan-close span {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  text-transform: none;
}

.tet-scan-stage {
  position: relative;
  flex: 1;
  min-height: calc(100svh - var(--tet-scan-topbar-h));
  background: #fff;
}

.et-scan-wrap {
  width: min(900px, calc(100vw - var(--tet-scan-left) - 32px));
  margin: 0 0 0 var(--tet-scan-left);
  padding: 34px 0 16px;
  flex: 1;
  min-height: 0;
}

.tet-progress-rail {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 244px;
  border-right: 0;
  background: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 78px;
}

.tet-rail-number {
  color: var(--tet-coral);
  font-family: var(--tet-font-serif);
  font-size: 62px;
  font-weight: 800;
  line-height: .9;
}

.tet-rail-total {
  margin-top: 8px;
  color: #777;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tet-rail-dots {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tet-rail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e5e5e5;
}

.tet-rail-dot.is-active {
  background: var(--tet-coral);
}

.tet-mobile-progress {
  display: none !important;
}

/* Getal in coral serif */
.tet-mobile-progress-number {
  color: var(--tet-coral);
  font-family: var(--tet-font-serif);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

/* Dots rij — flex container */
.tet-mobile-progress-dashes {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  flex: 1;
}

/* Individuele dot — altijd cirkel */
.tet-mobile-progress-dashes span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d0d0;
  flex: 0 0 auto;
  transition: background .25s;
}

/* Actieve dot — koraalrood */
.tet-mobile-progress-dashes span.is-active {
  background: var(--tet-coral) !important;
}

.tet-step {
  width: 100%;
}

.tet-step-inner {
  width: min(100%, 910px);
  margin: 0 auto;
  animation: tet-fadein .25s ease both;
}

@keyframes tet-fadein {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tet-centered { text-align: center; }

.tet-step-title,
.tet-question-text {
  color: var(--tet-black);
  font-family: var(--tet-font-serif);
  font-weight: 700;
  line-height: 1.15;
}

.tet-step-title {
  max-width: 860px;
  margin: 8px 0 16px;
  font-size: clamp(34px, 3.7vw, 54px);
}

.tet-step-subtitle,
.tet-scale-hint {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--tet-muted);
  font-size: clamp(16px, 1.55vw, 22px);
  line-height: 1.25;
}

.tet-progress-label,
.tet-route-badge-line {
  margin: 0 0 10px;
  color: var(--tet-coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tet-active-route-badge {
  background: transparent;
  color: var(--tet-coral);
  padding: 0;
}

.tet-form {
  width: min(100%, 620px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tet-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.tet-field label {
  color: var(--tet-black);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tet-req { color: var(--tet-coral); }

.tet-field input {
  width: 100%;
  min-height: 58px;
  box-sizing: border-box;
  border: 2px solid var(--tet-border);
  border-radius: 4px;
  color: var(--tet-black);
  font: 600 20px/1.2 var(--tet-font-sans);
  outline: none;
  padding: 12px 16px;
  transition: border-color .15s, box-shadow .15s;
}

.tet-field input:focus {
  border-color: var(--tet-coral);
  box-shadow: 0 0 0 3px rgba(223, 68, 70, .12);
}

.tet-field-hint,
.tet-privacy-note {
  color: #7a7a7e;
  font-size: 13px;
  margin: 0;
}

.tet-error {
  display: none;
  border: 1px solid #f0b9ba;
  border-radius: 4px;
  background: var(--tet-coral-soft);
  color: var(--tet-coral-dark);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 14px;
}

.tet-error.visible { display: block; }

.tet-btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--tet-font-sans);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .06em;
  padding: 0 34px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .15s, box-shadow .15s, transform .12s;
}

.tet-btn-primary {
  width: auto;
  background: var(--tet-coral);
  color: #fff;
  box-shadow: 0 18px 30px rgba(223, 68, 70, .18);
}

.tet-btn-primary:hover {
  background: var(--tet-coral-dark);
  color: #fff;
}

.tet-btn:active { transform: translateY(1px); }

.tet-route-grid {
  width: min(100%, 910px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.tet-route-card,
.tet-likert-btn {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 2px solid var(--tet-border);
  border-radius: 4px;
  background: #fff;
  color: var(--tet-black);
  cursor: pointer;
  font-family: var(--tet-font-sans);
  padding: 8px 16px;
  text-align: left;
  transition: background .15s, border-color .15s, box-shadow .15s;
}

.tet-route-card:hover,
.tet-likert-btn:hover {
  border-color: #f0b1b2;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .03);
}

.tet-route-card.selected,
.tet-likert-btn.selected {
  background: var(--tet-coral-soft);
  border-color: var(--tet-coral);
}

.tet-route-key,
.tet-likert-num {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #fafafa;
  color: #666;
  font-size: 12px;
  font-weight: 900;
}

.tet-route-card.selected .tet-route-key,
.tet-likert-btn.selected .tet-likert-num {
  background: var(--tet-coral);
  border-color: var(--tet-coral);
  color: #fff;
}

.tet-route-card strong {
  width: 86px;
  color: var(--tet-coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tet-route-title,
.tet-likert-label {
  color: var(--tet-black);
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 500;
  line-height: 1.18;
}

.tet-route-sub {
  margin-left: auto;
  color: var(--tet-muted);
  font-size: 15px;
  line-height: 1.4;
}

.tet-question-heading {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: start;
  column-gap: 12px;
  margin: 0 0 10px;
}

.tet-question-number,
.tet-question-arrow {
  color: var(--tet-coral);
  font-family: var(--tet-font-serif);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 800;
  line-height: 1;
}

.tet-question-arrow {
  font-family: var(--tet-font-sans);
  font-weight: 400;
}

.tet-question-number {
  display: none;
}

.tet-question-text {
  max-width: 880px;
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.tet-scale-hint {
  margin-left: 92px;
  margin-bottom: 14px;
}

.tet-likert {
  width: min(100%, 690px);
  margin-left: 44px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.tet-likert-btn {
  position: relative;
  min-height: 60px;
}

.tet-likert-btn.selected .tet-likert-label {
  color: var(--tet-coral);
  font-weight: 700;
}

.tet-likert-btn.selected::after {
  content: '✓';
  margin-left: auto;
  color: #f3a1a3;
  font-size: 22px;
  line-height: 1;
}

.tet-saving-indicator {
  display: none;
  align-items: center;
  gap: 9px;
  margin: 10px 0 0 68px;
  color: #2f8c50;
  font-size: 14px;
  font-weight: 800;
}

.tet-saving-indicator.visible { display: flex; }

.tet-saving-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f8c50;
}

.tet-spinner {
  width: 52px;
  height: 52px;
  margin: 0 auto 28px;
  border: 4px solid #f4d4d5;
  border-top-color: var(--tet-coral);
  border-radius: 50%;
  animation: tet-spin .8s linear infinite;
}

@keyframes tet-spin { to { transform: rotate(360deg); } }

.tet-scan[data-active-step="result"] {
  min-height: 100svh;
  overflow: visible;
}

.tet-scan[data-active-step="result"] .tet-progress-rail,
.tet-scan[data-active-step="result"] .tet-mobile-progress,
.tet-scan[data-active-step="lead"] .tet-progress-rail,
.tet-scan[data-active-step="lead"] .tet-mobile-progress,
.tet-scan[data-active-step="route"] .tet-progress-rail {
  display: none;
}

/* Lead + route steps: full bleed, no sidebar */
.tet-scan[data-active-step="lead"] .et-scan-wrap,
.tet-scan[data-active-step="route"] .et-scan-wrap {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex: 1;
}
.tet-scan[data-active-step="lead"] #tet-step-lead,
.tet-scan[data-active-step="route"] #tet-step-route {
  flex: 1;
  display: flex;
}

/* Verberg step-label in topbar op lead/route (geen "Stap X van Y") */
.tet-scan[data-active-step="lead"] .tet-scan-step-label,
.tet-scan[data-active-step="route"] .tet-scan-step-label {
  display: none;
}

.tet-scan[data-active-step="result"] .et-scan-wrap {
  width: 100%;
  margin: 0;
  padding: 0;
  flex: 1 0 auto;
}

.tet-scan[data-active-step="result"] .tet-scan-topbar {
  border-top: 4px solid var(--tet-coral);
}

.tet-result-shell {
  min-height: calc(100svh - var(--tet-scan-topbar-h));
  display: flex;
  flex-direction: column;
  background: #fff;
}

.tet-result-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--tet-border);
  background: #fff4f3;
  padding: 34px 56px 36px;
}

.tet-result-kicker {
  margin: 0 0 8px;
  color: var(--tet-coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.tet-result-hero h1 {
  margin: 0 0 10px;
  color: var(--tet-black);
  font-family: var(--tet-font-serif);
  font-size: clamp(30px, 2.6vw, 44px);
  font-weight: 800;
  line-height: 1.12;
}

.tet-result-hero p {
  margin: 0;
  color: #858589;
  font-size: 16px;
}

.tet-result-total {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.tet-result-total span {
  color: #8b8b8f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tet-result-total strong {
  color: var(--tet-coral);
  font-family: var(--tet-font-serif);
  font-size: clamp(54px, 5vw, 74px);
  font-weight: 800;
  line-height: .9;
}

.tet-result-total em {
  color: #8b8b8f;
  font-family: var(--tet-font-serif);
  font-size: 30px;
  font-style: normal;
}

.tet-result-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 0;
}

.tet-result-sidebar {
  border-right: 1px solid var(--tet-border);
  background: #f7f7f7;
  padding: 44px 34px;
}

.tet-result-sidebar section + section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid #dedede;
}

.tet-result-sidebar h2 {
  margin: 0 0 20px;
  color: #8b8b8f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.tet-result-cat {
  margin-bottom: 17px;
}

.tet-result-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: var(--tet-black);
  font-size: 14px;
  font-weight: 700;
}

.tet-result-cat-head span:last-child {
  color: var(--tet-coral);
  font-weight: 900;
}

.tet-result-cat-track {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #e7e7e7;
}

.tet-result-cat-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #d42622;
  transition: width .5s ease;
}

.tet-result-mini-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tet-result-mini-card > span {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  border-radius: 4px;
  background: #d42622;
  color: #fff;
  font-weight: 900;
}

.tet-result-mini-card.is-outline > span {
  border: 1px solid var(--tet-coral);
  background: #fff;
  color: var(--tet-coral);
}

.tet-result-mini-card strong,
.tet-result-mini-card small {
  display: block;
}

.tet-result-mini-card strong {
  color: var(--tet-black);
  font-size: 14px;
  line-height: 1.2;
}

.tet-result-mini-card small {
  margin-top: 4px;
  color: #8b8b8f;
  font-size: 12px;
}

.tet-result-content {
  padding: 48px 56px 64px;
}

.tet-result-section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 30px;
}

.tet-result-section-head > span {
  color: var(--tet-coral);
  font-size: 30px;
  line-height: 1.05;
}

.tet-result-section-head h2 {
  margin: 0 0 8px;
  color: var(--tet-black);
  font-family: var(--tet-font-serif);
  font-size: clamp(28px, 2.5vw, 38px);
  line-height: 1.1;
}

.tet-result-section-head p {
  margin: 0;
  color: #858589;
  font-size: 16px;
}

.tet-recommendations {
  overflow: hidden;
  border: 1px solid var(--tet-border);
  border-radius: 4px;
  background: #fff;
}

.tet-rec {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  padding: 26px 32px;
}

.tet-rec + .tet-rec {
  border-top: 1px solid var(--tet-border);
}

.tet-rec-num {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #d42622;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.tet-rec h3 {
  margin: 0 0 9px;
  color: var(--tet-black);
  font-family: var(--tet-font-serif);
  font-size: 20px;
  line-height: 1.25;
}

.tet-rec h3 span {
  display: inline-block;
  margin-left: 8px;
  border-radius: 3px;
  background: #f1f1f1;
  color: #858589;
  font-family: var(--tet-font-sans);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  vertical-align: middle;
}

.tet-rec p {
  margin: 0;
  color: #858589;
  font-size: 15px;
  line-height: 1.55;
}

.tet-result-call {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  margin-top: 38px;
  border: 1px solid #eadada;
  border-radius: 4px;
  background: #fff4f3;
  padding: 34px 40px;
}

.tet-result-call h3 {
  margin: 0 0 12px;
  color: var(--tet-black);
  font-family: var(--tet-font-serif);
  font-size: 26px;
  line-height: 1.15;
}

.tet-result-call p {
  max-width: 650px;
  margin: 0;
  color: #858589;
  font-size: 15px;
  line-height: 1.6;
}

.tet-result-call-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.tet-result-call-btn,
.tet-result-email-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.tet-result-call-btn {
  min-width: 280px;
  background: #d42622;
  color: #fff;
  padding: 0 28px;
}

.tet-result-call-btn:hover {
  background: var(--tet-coral-dark);
  color: #fff;
}

.tet-result-call-action small {
  color: #8b8b8f;
  font-size: 12px;
}

.tet-result-email-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: 46px;
  padding-top: 34px;
  border-top: 1px solid var(--tet-border);
  color: var(--tet-black);
}

.tet-result-email-row > span {
  color: #777;
}

.tet-result-email-row a {
  border: 1px solid #b92b2c;
  color: #b92b2c;
  padding: 0 24px;
}

body:not(.et-scan-standalone) .tet-scan-topbar {
  display: none;
}

@media (max-width: 900px) {
  .tet-scan {
    --tet-scan-topbar-h: 150px;
    --tet-scan-left: 0px;
  }
  .tet-scan-topbar {
    padding: 20px 18px 18px;
    align-items: center;
    gap: 16px;
  }
  .tet-scan-topbar .et-logo {
    transform: scale(.78);
    transform-origin: left center;
    flex: 1 1 auto;
    min-width: 0;
  }
  .tet-scan-topbar .et-logo__img {
    max-height: 92px;
  }
  .tet-progress-rail {
    display: none;
  }
  .tet-scan-top-actions {
    flex: 0 0 auto;
    align-items: center;
    flex-direction: row;
    gap: 12px;
    font-size: 12px;
  }
  .tet-scan[data-active-step="route"] .tet-mobile-progress,
  .tet-scan[data-active-step="questions"] .tet-mobile-progress {
    min-height: 44px;
    display: flex !important;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--tet-border);
    background: #fff;
    padding: 0 12px;
  }
  .tet-mobile-progress-number {
    color: var(--tet-coral);
    font-family: var(--tet-font-serif);
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
  }
  .tet-mobile-progress-dashes {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    overflow: visible;
    flex: 1;
  }
  .tet-mobile-progress-dashes span {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e4e4e4;
    flex: 0 0 auto;
    transition: background .2s;
  }
  .tet-mobile-progress-dashes span.is-active {
    background: var(--tet-coral);
  }
  .et-scan-wrap {
    width: 100%;
    margin: 0 auto;
    padding: 16px 20px max(56px, env(safe-area-inset-bottom));
  }
  .tet-step-title,
  .tet-question-text {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 10px;
  }
  .tet-step-subtitle,
  .tet-scale-hint {
    font-size: 14px;
    margin-bottom: 12px;
  }
  /* Route badge compacter */
  .tet-progress-label,
  .tet-route-badge-line { font-size: 11px; margin-bottom: 6px; }

  /* Question heading compacter */
  .tet-question-heading {
    grid-template-columns: auto 1fr;
    row-gap: 4px;
    margin-bottom: 8px;
  }
  .tet-question-number { font-size: 18px; }
  .tet-question-arrow { display: none; } /* pijl weghalen op mobile */

  /* Answer buttons compacter */
  .tet-likert-btn {
    min-height: 44px;
    padding: 6px 12px;
    font-size: 14px;
  }
  .tet-likert-num { width: 28px; height: 28px; font-size: 12px; }
  .tet-likert { gap: 7px; }

  .tet-scale-hint,
  .tet-likert,
  .tet-saving-indicator { margin-left: 0; }
  .tet-route-sub { margin-left: 0; }
  .tet-route-card {
    display: grid;
    grid-template-columns: 44px 74px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
  }
  .tet-route-card strong { width: auto; }
  .tet-route-title,
  .tet-route-sub { min-width: 0; }
  .tet-route-sub {
    grid-column: 3;
    color: var(--tet-muted);
    font-size: 14px;
  }
  .tet-result-shell {
    min-height: calc(100svh - var(--tet-scan-topbar-h));
  }
  .tet-result-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    padding: 30px 28px;
  }
  .tet-result-total {
    width: 100%;
    justify-content: flex-start;
  }
  .tet-result-layout {
    grid-template-columns: 1fr;
  }
  .tet-result-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    border-right: 0;
    border-bottom: 1px solid var(--tet-border);
    padding: 30px 28px;
  }
  .tet-result-sidebar section:first-child {
    grid-column: 1 / -1;
  }
  .tet-result-sidebar section + section {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }
  .tet-result-cats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }
  .tet-result-content {
    padding: 34px 28px 46px;
  }
  .tet-result-call {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .tet-result-call-action {
    align-items: flex-start;
  }
  .tet-result-email-row {
    grid-template-columns: auto 1fr;
  }
  .tet-result-email-row a {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .tet-scan-top-actions {
    align-items: center;
    flex-direction: row;
    gap: 8px;
  }
  .tet-scan-step-label {
    display: none;
  }
  .tet-scan-lang__trigger {
    min-width: 116px;
    padding: 8px 10px;
    font-size: 11px;
  }
  .tet-scan-lang__flag {
    font-size: 14px;
  }
  .tet-scan-lang__chevron {
    font-size: 13px;
  }
  .tet-scan-close {
    width: 44px;
    height: 44px;
  }
  .tet-mobile-progress {
    min-height: 52px;
    padding: 0 12px;
  }
  .tet-mobile-progress-dashes span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
  }
  .tet-mobile-progress-dashes span.is-active {
    background: var(--tet-coral) !important;
  }
  .tet-route-card,
  .tet-likert-btn {
    min-height: 52px;
    gap: 12px;
    padding: 8px 10px;
  }
  .tet-route-card {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 12px;
  }
  .tet-route-card strong {
    grid-column: 2;
    margin-bottom: -4px;
  }
  .tet-route-title {
    grid-column: 2;
  }
  .tet-route-sub {
    grid-column: 2;
  }
  .tet-route-key {
    grid-row: 1 / span 3;
  }
  .tet-route-key,
  .tet-likert-num {
    width: 48px;
    height: 38px;
    flex-basis: 38px;
    font-size: 16px;
  }
  .tet-route-title,
  .tet-likert-label {
    font-size: 18px;
  }
  .tet-route-sub {
    font-size: 14px;
    line-height: 1.25;
  }
  .tet-result-hero {
    padding: 26px 22px;
  }
  .tet-result-hero h1 {
    font-size: 30px;
  }
  .tet-result-total {
    gap: 8px;
    flex-wrap: wrap;
  }
  .tet-result-total strong {
    font-size: 58px;
  }
  .tet-result-sidebar {
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }
  .tet-result-cats {
    grid-template-columns: 1fr;
  }
  .tet-result-content {
    padding: 30px 22px 42px;
  }
  .tet-result-section-head {
    gap: 10px;
  }
  .tet-result-section-head h2 {
    font-size: 30px;
  }
  .tet-rec {
    grid-template-columns: 30px 1fr;
    gap: 14px;
    padding: 22px 18px;
  }
  .tet-rec-num {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .tet-rec h3 {
    font-size: 18px;
  }
  .tet-rec h3 span {
    margin: 6px 0 0;
  }
  .tet-result-call {
    margin-top: 28px;
    padding: 24px 18px;
  }
  .tet-result-call h3 {
    font-size: 24px;
  }
  .tet-result-call-btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 782px) {
  body.admin-bar .et-scan-main,
  body.admin-bar .tet-scan {
    min-height: calc(100svh - 46px);
  }
}

/* ═══════════════════════════════════════════════════════
   SCREEN 1 — INTRO / LEAD FORM  (split panel, above fold)
════════════════════════════════════════════════════════ */
.tet-intro-screen {
  display: flex;
  flex: 1;
  min-height: calc(100svh - var(--tet-scan-topbar-h));
  width: 100%;
}

/* Left brand panel — light with coral accent (geen zwart) */
.tet-intro-panel {
  flex: 0 0 42%;
  background: #f9f6f4;
  border-right: 1px solid #ecddd9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}
.tet-intro-panel::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223,68,70,.07) 0%, transparent 70%);
  pointer-events: none;
}
.tet-intro-panel::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223,68,70,.05) 0%, transparent 70%);
  pointer-events: none;
}
.tet-intro-panel__inner {
  position: relative;
  z-index: 1;
  max-width: 360px;
}
.tet-intro-panel__anchor {
  color: var(--tet-coral);
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}
.tet-intro-panel__anchor .et-icon { display: block; }
.tet-intro-panel__heading {
  font-family: var(--tet-font-serif);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--tet-black);
  margin-bottom: 10px;
}
.tet-intro-panel__sub {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tet-coral);
  margin-bottom: 32px;
  opacity: .7;
}
.tet-intro-panel__perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tet-intro-panel__perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: #555;
  font-weight: 500;
}
.tet-intro-panel__perks li .et-icon {
  color: var(--tet-coral);
  flex-shrink: 0;
}

/* Right form panel */
.tet-intro-form {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 48px;
  background: #fff;
  overflow-y: auto;
}
.tet-intro-form__inner {
  width: 100%;
  max-width: 420px;
}
.tet-intro-form__eyebrow {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tet-coral);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tet-intro-form__eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--tet-coral);
  flex-shrink: 0;
}
.tet-intro-form__title {
  font-family: var(--tet-font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700;
  color: var(--tet-black);
  margin-bottom: 6px;
  line-height: 1.2;
}
.tet-intro-form__hint {
  font-size: .82rem;
  color: var(--tet-muted);
  margin-bottom: 24px;
}
.tet-intro-form .tet-form .tet-field {
  margin-bottom: 14px;
}
.tet-intro-form .tet-form .tet-field label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--tet-black);
  margin-bottom: 5px;
  display: block;
}
.tet-intro-form .tet-form input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1.5px solid var(--tet-border);
  border-radius: 4px;
  font-size: .92rem;
  font-family: var(--tet-font-sans);
  color: var(--tet-black);
  background: #fafafa;
  outline: none;
  transition: border-color .18s, background .18s;
}
.tet-intro-form .tet-form input:focus {
  border-color: var(--tet-coral);
  background: #fff;
}
.tet-intro-form .tet-btn-primary {
  width: 100%;
  margin-top: 6px;
  padding: 13px 24px;
  font-size: .88rem;
}
.tet-intro-form .tet-privacy-note {
  margin-top: 14px;
  font-size: .75rem;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tet-intro-form .tet-privacy-note .et-icon { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════
   SCREEN 2 — ROUTE SELECTION  (compact, above fold)
════════════════════════════════════════════════════════ */
.tet-route-screen {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - var(--tet-scan-topbar-h));
  padding: 40px 80px;
  background: #fff;
  box-sizing: border-box;
}
.tet-route-screen__inner {
  width: 100%;
  max-width: 640px;
}
.tet-route-screen__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.tet-route-screen__anchor {
  color: var(--tet-coral);
  display: flex;
  align-items: center;
}
.tet-route-screen__step {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tet-muted);
}
.tet-route-screen__heading {
  font-family: var(--tet-font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--tet-black);
  margin-bottom: 8px;
}
.tet-route-screen__sub {
  font-size: .88rem;
  color: var(--tet-muted);
  margin-bottom: 28px;
}

/* Route rows */
.tet-route-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tet-route-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid var(--tet-border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color .18s, background .18s, box-shadow .18s;
  font-family: var(--tet-font-sans);
}
.tet-route-row:hover {
  border-color: var(--tet-coral);
  background: #fff9f9;
  box-shadow: 0 2px 12px rgba(223,68,70,.08);
}
.tet-route-row__key {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--tet-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 800;
  color: var(--tet-black);
  transition: border-color .18s, background .18s, color .18s;
}
.tet-route-row:hover .tet-route-row__key {
  border-color: var(--tet-coral);
  background: var(--tet-coral);
  color: #fff;
}
.tet-route-row__label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tet-route-row__name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--tet-black);
  font-style: normal;
}
.tet-route-row__focus {
  font-size: .78rem;
  color: var(--tet-muted);
}
.tet-route-row__arrow {
  color: #ccc;
  flex-shrink: 0;
  transition: color .18s, transform .18s;
}
.tet-route-row:hover .tet-route-row__arrow {
  color: var(--tet-coral);
  transform: translateX(3px);
}

/* ── Mobile: intro screens ───────────────────────────── */
@media (max-width: 860px) {
  .tet-intro-screen {
    flex-direction: column;
    min-height: auto;
  }
  .tet-intro-panel {
    flex: 0 0 auto;
    padding: 24px 24px 20px;
  }
  .tet-intro-panel__anchor { margin-bottom: 14px; }
  .tet-intro-panel__anchor .et-icon { width: 28px !important; height: 28px !important; }
  .tet-intro-panel__heading { font-size: 1.2rem; margin-bottom: 6px; }
  .tet-intro-panel__sub { margin-bottom: 14px; }
  .tet-intro-panel__perks { flex-direction: row; flex-wrap: wrap; gap: 6px 16px; }
  .tet-intro-panel__perks li { font-size: .78rem; }
  .tet-intro-form {
    padding: 28px 24px;
    align-items: flex-start;
  }
  .tet-intro-form__inner { max-width: 100%; }
  .tet-route-screen {
    padding: 32px 24px;
    align-items: flex-start;
    min-height: auto;
  }
}

/* ── Taalkeuze in scan topbar ───────────────────────────── */
.tet-scan-lang {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.tet-scan-lang__trigger {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  gap: 8px;
  min-width: 138px;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #fafafa;
  color: #666;
  cursor: default;
  font: 800 12px/1 var(--tet-font-sans);
  letter-spacing: .08em;
  padding: 8px 12px;
}
.tet-scan-lang__code {
  white-space: nowrap;
}
.tet-scan-lang__trigger:hover {
  border-color: var(--tet-border);
  background: #fff;
}
.tet-scan-lang__flag {
  font-size: 16px;
  line-height: 1;
}
.tet-scan-lang__chevron {
  color: #777;
  font-size: 15px;
  line-height: 1;
  transform: translateY(-1px);
}
.tet-scan-lang__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 7px);
  z-index: 60;
  min-width: 148px;
  overflow: hidden;
  border: 1px solid var(--tet-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease;
}
.tet-scan-lang:hover .tet-scan-lang__panel,
.tet-scan-lang:focus-within .tet-scan-lang__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.tet-scan-lang__option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--tet-black);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
}
.tet-scan-lang__option + .tet-scan-lang__option {
  border-top: 1px solid #f1f1f1;
}
.tet-scan-lang__option:hover,
.tet-scan-lang__option.is-active {
  background: #fff7f7;
  color: var(--tet-coral);
}

/* ── Scan rapport badge in Calendly widget ──────────────── */
.et-cal-scan-badge {
  margin-top: 5px;
}
