/* card #1333: About pages (EN /about/, DE /de/ueber-uns/, ES /es/sobre-nosotros/).
   Builds on /assets/hiw.css (How it works, read-only) and only adds .htr-* rules, all
   scoped under .htrust. The BASE frame of every diagram is its complete, final state:
   loops only add highlights on top (colour, glow, transform), never hide text, so a
   paused, reduced-motion or JS-off page shows everything. Looping parts have fixed boxes
   so nothing shifts layout. */

.htrust svg:not([width]) { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.htrust .hiw-head .hiw-lead { margin-top: 4px; }

/* ================= HERO: listing -> website ================= */
.htrust .htr-flow { position: relative; border-radius: 22px; border: 1px solid rgba(255,255,255,0.1); padding: 20px 20px 18px;
    background: linear-gradient(165deg, rgba(16,185,129,0.08), #0a0c0b 55%);
    box-shadow: 0 40px 120px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(16,185,129,0.06) inset; }
.htrust .htr-flow::before { content: ''; position: absolute; inset: 10% 8% -8%; z-index: -1; border-radius: 32px;
    background: radial-gradient(ellipse at 50% 60%, rgba(16,185,129,0.22), transparent 70%); filter: blur(30px); }
.htrust .htr-cap { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk'; font-size: 11px; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; line-height: 14px; }
.htrust .htr-live { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); animation: hiwPing 2.4s ease-out infinite; }
.htrust .htr-src { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px;
    border: 1px solid rgba(16,185,129,0.35); background: rgba(16,185,129,0.08); }
.htrust .htr-pin { flex: none; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    background: var(--emerald); color: var(--bg); animation: htrBob 3s ease-in-out infinite; }
.htrust .htr-pin svg { width: 18px; height: 18px; stroke-width: 2.2; }
@keyframes htrBob { 0%, 100% { transform: none; } 50% { transform: translateY(-3px); } }
.htrust .htr-src b { display: block; font-family: 'Space Grotesk'; font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.3; }
.htrust .htr-src div > span { display: block; font-size: 12.5px; color: var(--text-dim); line-height: 1.4; }

/* the five listing details: base = all collected (green); the loop lights them one by one */
.htrust .htr-chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.htrust .htr-chips li { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px 7px 8px; border-radius: 999px;
    font-family: 'Space Grotesk'; font-size: 12.5px; font-weight: 600; color: var(--text); line-height: 1.2;
    border: 1px solid rgba(16,185,129,0.45); background: rgba(16,185,129,0.1);
    animation: htrChip 9s ease infinite; animation-delay: calc(var(--i) * 0.45s); }
.htrust .htr-chip-ico { display: inline-flex; color: var(--emerald); }
.htrust .htr-chip-ico svg { width: 14px; height: 14px; }
.htrust .htr-chip-ok { display: inline-flex; width: 14px; height: 14px; border-radius: 50%; background: var(--emerald); color: var(--bg); align-items: center; justify-content: center;
    animation: htrOk 9s ease infinite; animation-delay: calc(var(--i) * 0.45s); }
.htrust .htr-chip-ok svg { width: 9px; height: 9px; stroke-width: 3.2; }
@keyframes htrChip {
    0%, 6% { border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); box-shadow: none; }
    10% { border-color: rgba(16,185,129,0.8); background: rgba(16,185,129,0.18); box-shadow: 0 0 18px rgba(16,185,129,0.35); }
    18%, 100% { border-color: rgba(16,185,129,0.45); background: rgba(16,185,129,0.1); box-shadow: none; } }
@keyframes htrOk { 0%, 7% { transform: scale(0); } 11% { transform: scale(1.25); } 15%, 100% { transform: none; } }

/* the pipe: a pulse runs from the listing down into the site */
.htrust .htr-pipe { position: relative; height: 26px; margin: 6px auto; width: 2px; border-radius: 2px; background: rgba(16,185,129,0.25); overflow: hidden; }
.htrust .htr-pipe i { position: absolute; left: 0; top: 0; width: 2px; height: 60%; background: linear-gradient(transparent, #6ee7b7, transparent);
    transform: translateY(-100%); animation: htrPipe 9s linear infinite; }
@keyframes htrPipe { 0%, 30% { transform: translateY(-100%); } 42%, 100% { transform: translateY(180%); } }

/* the website it becomes: base = fully built */
.htrust .htr-site { position: relative; border-radius: 14px; border: 1px solid rgba(255,255,255,0.1); background: #080a09; overflow: hidden; }
.htrust .htr-site-bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; border-bottom: 1px solid rgba(255,255,255,0.07); background: #0d100f; }
.htrust .htr-dots { display: flex; gap: 5px; }
.htrust .htr-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.htrust .htr-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 10px; border-radius: 7px; background: rgba(255,255,255,0.05);
    font-family: 'Space Grotesk'; font-size: 11px; color: var(--emerald); white-space: nowrap; overflow: hidden; }
.htrust .htr-url svg { flex: none; width: 11px; height: 11px; stroke-width: 2.4; }
.htrust .htr-site-body { padding: 16px 16px 58px; display: grid; gap: 8px; }
.htrust .htr-sb { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.12); transform-origin: left; animation: htrBar 9s cubic-bezier(.16,1,.3,1) infinite; }
.htrust .htr-sb-t { height: 14px; width: 62%; background: linear-gradient(90deg, rgba(16,185,129,0.9), rgba(110,231,183,0.6)); }
.htrust .htr-sb-l1 { width: 88%; animation-delay: .15s; }
.htrust .htr-sb-l2 { width: 70%; animation-delay: .3s; }
.htrust .htr-sb-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.htrust .htr-sb-row span { height: 40px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03);
    animation: htrCard 9s cubic-bezier(.16,1,.3,1) infinite; }
.htrust .htr-sb-row span:nth-child(2) { animation-delay: .12s; } .htrust .htr-sb-row span:nth-child(3) { animation-delay: .24s; }
@keyframes htrBar { 0%, 40% { transform: scaleX(0.08); } 52%, 100% { transform: none; } }
@keyframes htrCard { 0%, 46% { transform: translateY(10px) scale(0.92); border-color: rgba(255,255,255,0.04); }
    58%, 100% { transform: none; border-color: rgba(255,255,255,0.08); } }
.htrust .htr-ready { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
    background: var(--emerald); color: var(--bg); font-family: 'Space Grotesk'; font-weight: 700; font-size: 12px; line-height: 1.2;
    box-shadow: 0 10px 30px rgba(16,185,129,0.4); animation: htrReady 9s cubic-bezier(.16,1,.3,1) infinite; max-width: calc(100% - 24px); }
.htrust .htr-ready svg { flex: none; width: 13px; height: 13px; stroke-width: 2.8; }
@keyframes htrReady { 0%, 58% { transform: scale(0.94); box-shadow: 0 0 0 rgba(16,185,129,0); }
    64% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(16,185,129,0.18), 0 10px 30px rgba(16,185,129,0.5); }
    70%, 100% { transform: none; box-shadow: 0 10px 30px rgba(16,185,129,0.4); } }

/* ================= WHAT WE DO: six facts ================= */
.htrust .htr-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.htrust .htr-fact { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 20px;
    border: 1px solid var(--hiw-line); background: var(--hiw-card); overflow: hidden; transition: transform .4s var(--ease), border-color .4s var(--ease); }
.htrust .htr-fact::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
    background: radial-gradient(ellipse 70% 90% at 0% 0%, rgba(16,185,129,0.16), transparent 70%);
    animation: htrGlow 9s ease-in-out infinite; animation-delay: calc(var(--i) * 1.5s); }
.htrust .htr-fact::after { content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; border-radius: 2px; pointer-events: none;
    background: linear-gradient(90deg, transparent, #34d399, transparent); transform: scaleX(0);
    animation: htrLine 9s ease-in-out infinite; animation-delay: calc(var(--i) * 1.5s); }
@keyframes htrGlow { 0%, 100% { opacity: 0; } 8%, 16% { opacity: 1; } 26% { opacity: 0; } }
@keyframes htrLine { 0%, 100% { transform: scaleX(0); } 10% { transform: scaleX(1); } 22% { transform: scaleX(0); } }
.htrust .htr-fact:hover { transform: translateY(-3px); border-color: rgba(16,185,129,0.3); }
.htrust .htr-fact > div { position: relative; min-width: 0; }
.htrust .htr-fact b { display: block; font-family: 'Space Grotesk'; font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.3; }
.htrust .htr-fact span:not(.hiw-ico) { display: block; font-size: 14.5px; line-height: 1.6; color: var(--text-dim); }

/* ================= HOW WE WORK: domain handover + channels ================= */
.htrust .htr-quote .hiw-key { margin-top: 18px; }
.htrust .htr-hand { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 30px; }
.htrust .htr-party { font-family: 'Space Grotesk'; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; padding: 7px 12px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14); color: var(--text-dim); background: rgba(255,255,255,0.03); white-space: nowrap; }
.htrust .htr-party.you { color: var(--bg); background: var(--emerald); border-color: var(--emerald); }
.htrust .htr-track { position: relative; height: 30px; overflow: hidden; }
.htrust .htr-track::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed rgba(16,185,129,0.35); }
.htrust .htr-run { position: absolute; inset: 0; animation: htrRun 6s cubic-bezier(.65,0,.35,1) infinite; }
.htrust .htr-key { position: absolute; right: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: #0b0d0c; border: 1px solid rgba(16,185,129,0.6); color: var(--emerald); box-shadow: 0 0 16px rgba(16,185,129,0.4); }
.htrust .htr-key svg { width: 16px; height: 16px; }
@keyframes htrRun { 0%, 12% { transform: translateX(calc(-100% + 30px)); } 62%, 100% { transform: none; } }
.htrust .htr-chan { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.htrust .htr-chan li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 10px; border-radius: 999px; font-size: 14px; color: var(--text);
    border: 1px solid rgba(16,185,129,0.3); background: rgba(16,185,129,0.06); line-height: 1.3; }
.htrust .htr-chan li.no { border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.06); }
.htrust .htr-chan-ico { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(16,185,129,0.14); color: var(--emerald); }
.htrust .htr-chan li.no .htr-chan-ico { background: rgba(245,158,11,0.14); color: var(--hiw-amber); }
.htrust .htr-chan-ico svg { width: 14px; height: 14px; }
.htrust .hiw-leave-body h2 { margin-bottom: 18px; }

/* ================= COMPANY: the record card ================= */
.htrust .htr-co-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: start; }
.htrust .htr-record { position: relative; border-radius: 24px; border: 1px solid rgba(16,185,129,0.28); overflow: hidden;
    background: linear-gradient(165deg, rgba(16,185,129,0.09), #0b0d0c 45%); }
.htrust .htr-record-head { display: flex; align-items: center; gap: 14px; padding: 22px 26px; border-bottom: 1px solid var(--hiw-line); }
.htrust .htr-seal { flex: none; width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    background: var(--emerald); color: var(--bg); box-shadow: 0 0 0 6px rgba(16,185,129,0.12); }
.htrust .htr-seal svg { width: 22px; height: 22px; stroke-width: 2; }
.htrust .htr-record-head b { display: block; font-family: 'Newsreader', Georgia, serif; font-size: 22px; font-weight: 700; color: var(--text); line-height: 1.25; }
.htrust .htr-record-head div > span { display: block; font-family: 'Space Grotesk'; font-size: 13px; color: var(--text-dim); margin-top: 2px; }
.htrust .htr-scan { position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none; z-index: 1;
    background: linear-gradient(180deg, transparent, rgba(16,185,129,0.10) 70%, rgba(110,231,183,0.45) 99%, transparent);
    transform: translateY(-100%); animation: htrScan 7s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes htrScan { 0%, 8% { transform: translateY(-100%); } 70% { transform: translateY(520px); } 71%, 100% { transform: translateY(-100%); opacity: 0; } }
.htrust .htr-record table { width: 100%; border-collapse: collapse; font-size: 15px; position: relative; }
.htrust .htr-record td { padding: 15px 26px; border-bottom: 1px solid var(--hiw-line); vertical-align: top; line-height: 1.55; color: var(--text-dim); overflow-wrap: anywhere; }
.htrust .htr-record tr:last-child td { border-bottom: 0; }
.htrust .htr-record td a { color: var(--emerald); text-decoration: underline; text-decoration-color: rgba(16,185,129,0.45); text-underline-offset: 3px; transition: color .2s var(--ease), text-decoration-color .2s var(--ease); }
.htrust .htr-record td a:hover, .htrust .htr-record td a:focus-visible { color: var(--text); text-decoration-color: var(--emerald); }
.htrust .htr-record td:first-child { width: 44%; color: var(--text); font-family: 'Space Grotesk'; font-weight: 600; font-size: 14px; }
.htrust .htr-record td:first-child { padding-left: 62px; position: relative; }
.htrust .htr-row-ico { position: absolute; left: 24px; top: 12px; width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
    color: var(--emerald); background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.22);
    animation: htrRow 7s ease infinite; animation-delay: calc(0.6s + var(--i) * 0.55s); }
.htrust .htr-row-ico svg { width: 14px; height: 14px; }
.htrust .htr-record tr { animation: htrRowBg 7s ease infinite; animation-delay: calc(0.6s + var(--i) * 0.55s); }
@keyframes htrRow { 0%, 100% { box-shadow: none; } 6% { box-shadow: 0 0 0 4px rgba(16,185,129,0.18), 0 0 16px rgba(16,185,129,0.5); } 14% { box-shadow: none; } }
@keyframes htrRowBg { 0%, 100% { background: transparent; } 6% { background: rgba(16,185,129,0.06); } 16% { background: transparent; } }

.htrust .htr-else h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 20px; }
.htrust .htr-profs { display: grid; gap: 10px; }
.htrust a.htr-prof { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--hiw-line);
    background: var(--hiw-card); color: var(--text); text-decoration: none; font-size: 15px; line-height: 1.4; }
.htrust a.htr-prof::after { content: ''; flex: none; margin-left: auto; width: 14px; height: 14px; opacity: .55;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .3s; }
.htrust a.htr-prof:hover { border-color: var(--border-hover); color: var(--emerald); transform: translateY(-2px); }
.htrust a.htr-prof:hover::after { opacity: 1; transform: translate(2px, -2px); }
.htrust .htr-prof-ico { flex: none; width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
    background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.22); color: var(--emerald); }
.htrust .htr-prof-ico svg { width: 18px; height: 18px; }
.htrust .htr-else .hiw-meta { margin-top: 24px; }

/* back link under the final CTA */
.htrust .htr-back { text-align: center; margin: 28px 0 0; }
.htrust .htr-back a { color: var(--text-muted); text-decoration: none; font-family: 'Space Grotesk'; font-size: 14px; font-weight: 500; }
.htrust .htr-back a:hover { color: var(--emerald); }

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .htrust .htr-flow { max-width: 620px; }
    .htrust .htr-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .htrust .htr-co-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
    .htrust .htr-flow { padding: 16px 14px 14px; border-radius: 18px; }
    .htrust .htr-chips li { font-size: 12px; padding: 6px 9px 6px 7px; }
    .htrust .htr-facts { grid-template-columns: 1fr; gap: 12px; }
    .htrust .htr-fact { padding: 20px 18px; }
    .htrust .htr-record-head { padding: 18px 18px; }
    .htrust .htr-record-head b { font-size: 19px; }
    .htrust .htr-record td { display: block; width: 100% !important; padding: 0 18px 0 58px; border-bottom: 0; }
    .htrust .htr-record td:first-child { padding-top: 14px; padding-left: 58px; }
    .htrust .htr-record td:last-child { padding-bottom: 14px; border-bottom: 1px solid var(--hiw-line); }
    .htrust .htr-record tr:last-child td:last-child { border-bottom: 0; }
    .htrust .htr-record tr { display: block; }
    .htrust .htr-record table, .htrust .htr-record tbody { display: block; }
    .htrust .htr-row-ico { left: 18px; top: 12px; }
    .htrust .htr-hand { gap: 8px; }
    .htrust .htr-party { padding: 6px 10px; font-size: 11.5px; }
}

/* reduced motion: hiw.css already stops every animation under .hiw; the base frames
   above are the final, complete states, so only the pulses need hiding. */
@media (prefers-reduced-motion: reduce) {
    .htrust .htr-pipe i, .htrust .htr-scan { display: none; }
}
/* hiw.js toggles .is-paused on [data-hiw-loop]; pseudo-elements do not inherit play state */
.htrust .is-paused::before, .htrust .is-paused::after, .htrust .is-paused *::before, .htrust .is-paused *::after { animation-play-state: paused !important; }
