/* CONTENSI technical panels: one vocabulary, content-specific compositions. */
.tp-competences { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; margin-top: 4rem; max-width: 70rem; background: rgba(22,207,248,.2); border: 1px solid rgba(22,207,248,.2); }
.tp-competence { display: flex; position: relative; align-items: center; gap: .875rem; min-width: 0; padding: 1.125rem 1.25rem; background: rgba(5,20,34,.95); color: #dce9f5; text-decoration: none; transition: background 220ms ease,color 220ms ease; }
.tp-competence svg { flex: 0 0 28px; color: #16cff8; }
.tp-code { color: #6c9bb4; font-size: .6875rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; line-height: 1.5; }
.tp-competence > .tp-code { align-self: flex-start; font-size: .625rem; }
.tp-competence-label { font-size: .9375rem; font-weight: 600; line-height: 1.4; }
.tp-competence small { display: block; color: #9cb1c4; font-size: .75rem; font-weight: 400; line-height: 1.5; margin-top: .25rem; }
.tp-link-arrow { color: #16cff8; margin-left: auto; transition: transform 200ms ease; }
.tp-competence:hover, .tp-competence:focus-visible { background: #0c3045; color: #fff; }
.tp-competence:hover .tp-link-arrow, .tp-competence:focus-visible .tp-link-arrow { transform: translate(2px,-2px); }
.tp-competence:focus-visible { outline: 2px solid #16cff8; outline-offset: -3px; border-radius: 0; z-index: 1; }

/* Retained sharper styling of existing linked cards. */
body .blog-kachel, body .modulraster a, body .motion-link-card,
body .aufmacher-link, body .eintrag { border-radius: 3px; }
.tp-link-arrow svg { width: 16px; height: 16px; display: block; }
.tp-anchor { position: absolute; width: 1px; height: 1px; pointer-events: none; }
@media (min-width: 1500px) { .tp-competences { max-width: 74rem; } }
@media (max-width: 1000px) { .tp-competence { padding: 1rem; gap: .625rem; } .tp-competence > .tp-code { display: none; } }
@media (max-width: 560px) {
  .tp-competences { grid-template-columns: 1fr; margin-top: 3.5rem; }
  .tp-competence { padding: .875rem 1rem; }
  .tp-competence > .tp-code { display: block; }
  .tp-competence-label { font-size: .875rem; overflow-wrap: anywhere; min-width: 0; }
  .tp-competence small { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) { .tp-competence, .tp-link-arrow { transition: none !important; } }
