/* Phone agent test: step-by-step walkthrough with screenshots (partial trial-tour.ejs on /:lang/telefonagent-test).
   Scoped with html[data-ui-theme] .site so the theme's h2/p rules do not win. */
html[data-ui-theme] .site .tt { scroll-margin-top: 90px; border-top: 1px solid var(--ui-border); }
html[data-ui-theme] .site .tt__head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
html[data-ui-theme] .site .tt__head h2 { margin: 6px 0 14px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
html[data-ui-theme] .site .tt__lead { margin: 0; color: var(--text-2); font-size: 18px; line-height: 1.6; }

html[data-ui-theme] .site .tt__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 64px; counter-reset: none; }
html[data-ui-theme] .site .tt-step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
html[data-ui-theme] .site .tt-step__text { position: sticky; top: 110px; padding-top: 12px; }
html[data-ui-theme] .site .tt-step--flip .tt-step__text { order: 2; }
html[data-ui-theme] .site .tt-step__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--ui-accent, #6a4cf0), color-mix(in srgb, var(--ui-accent, #6a4cf0) 55%, #36d6b0));
  color: #fff; font-weight: 700; font-size: 18px; box-shadow: 0 10px 24px -12px var(--ui-accent, #6a4cf0); }
html[data-ui-theme] .site .tt-step__text h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.25; }
html[data-ui-theme] .site .tt-step__text p { margin: 0 0 16px; color: var(--text-2); font-size: 16px; line-height: 1.65; }
html[data-ui-theme] .site .tt-step__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
html[data-ui-theme] .site .tt-step__points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 22px; }
html[data-ui-theme] .site .tt-step__points svg { flex-shrink: 0; margin-top: 3px; color: var(--green, #1aa57a); }

html[data-ui-theme] .site .tt-shot { margin: 0; }
html[data-ui-theme] .site .tt-shot__frame { display: block; border-radius: 14px; overflow: hidden; background: #0e1424;
  border: 1px solid var(--ui-border); box-shadow: 0 24px 50px -28px #0009; transition: transform .3s ease, box-shadow .3s ease; }
html[data-ui-theme] .site .tt-shot__frame:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -28px #000a; }
html[data-ui-theme] .site .tt-shot__frame img { display: block; width: 100%; height: auto; }
html[data-ui-theme] .site .tt-shot figcaption { margin-top: 10px; color: var(--text-2); font-size: 13px; line-height: 1.5; }
html[data-ui-theme] .site .tt-thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
html[data-ui-theme] .site .tt-thumbs--1 { grid-template-columns: minmax(0, 1fr); }
html[data-ui-theme] .site .tt-thumbs--1 .tt-shot--small { max-width: 78%; }
html[data-ui-theme] .site .tt-shot--small .tt-shot__frame { border-radius: 10px; }
html[data-ui-theme] .site .tt-shot--small figcaption { font-size: 12px; }

html[data-ui-theme] .site .tt-flow { display: grid; gap: 12px; padding: 28px; border-radius: 18px; border: 1px solid var(--ui-border);
  background: color-mix(in srgb, var(--ui-accent, #6a4cf0) 7%, var(--ui-surface-solid, #fff)); }
html[data-ui-theme] .site .tt-flow__item { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px;
  background: var(--ui-surface-solid, #fff); border: 1px solid var(--ui-border); font-weight: 600; }
html[data-ui-theme] .site .tt-flow__item + .tt-flow__item::before { content: ''; position: absolute; left: 34px; top: -13px; width: 2px; height: 12px;
  background: color-mix(in srgb, var(--ui-accent, #6a4cf0) 45%, transparent); }
html[data-ui-theme] .site .tt-flow__ico { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
  background: var(--bg-tint-2); color: var(--ui-accent-text, var(--link)); }
html[data-ui-theme] .site .tt__note { margin: 40px 0 0; text-align: center; color: var(--text-2); font-size: 14px; }

html[data-ui-theme] .site .tt-can { margin-top: 80px; }
html[data-ui-theme] .site .tt-can__title { margin: 0 0 28px; text-align: center; font-size: clamp(24px, 2.8vw, 32px); }
html[data-ui-theme] .site .tt-can__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
html[data-ui-theme] .site .tt-can__item { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 16px; border: 1px solid var(--ui-border);
  background: var(--ui-surface-solid, #fff); font-size: 14px; line-height: 1.5; color: var(--text-2); }
html[data-ui-theme] .site .tt-can__item strong { color: var(--text); font-size: 16px; }
html[data-ui-theme] .site .tt-can__ico { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 12px;
  background: var(--bg-tint-2); color: var(--ui-accent-text, var(--link)); }

html[data-ui-theme] .site .tt-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; padding: 32px 36px; border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--ui-accent, #6a4cf0) 35%, transparent);
  background: linear-gradient(120deg, color-mix(in srgb, var(--ui-accent, #6a4cf0) 14%, var(--ui-surface-solid, #fff)), color-mix(in srgb, #36d6b0 12%, var(--ui-surface-solid, #fff))); }
html[data-ui-theme] .site .tt-cta h2 { margin: 0 0 6px; font-size: 24px; line-height: 1.3; }
html[data-ui-theme] .site .tt-cta p { margin: 0; color: var(--text-2); }
html[data-ui-theme] .site .tt-cta .btn { flex-shrink: 0; }
html[data-ui-theme] .site #anfordern { scroll-margin-top: 90px; }

@media (max-width: 1100px) {
  html[data-ui-theme] .site .tt-can__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  html[data-ui-theme] .site .tt-step { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  html[data-ui-theme] .site .tt-step--flip .tt-step__text { order: 0; }
  html[data-ui-theme] .site .tt-step__text { position: static; padding-top: 0; }
  html[data-ui-theme] .site .tt__steps { gap: 56px; }
  html[data-ui-theme] .site .tt-cta { flex-direction: column; align-items: flex-start; padding: 26px; }
}
@media (max-width: 560px) {
  html[data-ui-theme] .site .tt-can__grid { grid-template-columns: minmax(0, 1fr); }
  html[data-ui-theme] .site .tt-thumbs { grid-template-columns: minmax(0, 1fr); }
  html[data-ui-theme] .site .tt-thumbs--1 .tt-shot--small { max-width: none; }
  html[data-ui-theme] .site .tt-cta .btn { width: 100%; white-space: normal; text-align: center; }
}
