/* Übersicht Gratis-Tools (/tools/). Banner unten kommt aus qr-tool.css (.qr-more). */
.tl-hero.ew-hero { padding-bottom: 32px; }
html .section.tl-sec:not(.tk-hero) { padding-top: 8px; padding-bottom: 8px; }
html.tk-black .section.qr-more.tl-more { padding-top: 64px; }

.tl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tl-grid > li { display: flex; min-width: 0; }

.tl-card { position: relative; display: flex; flex-direction: column; width: 100%; overflow: hidden; border-radius: 22px; border: 1px solid rgba(255,255,255,.09);
  background: var(--bk-glass, var(--surface)), #0e0e0f; box-shadow: var(--bk-edge, none); color: inherit; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
main li a.tl-card, main li a.tl-card:hover { text-decoration: none; color: inherit; }
.tl-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: var(--bk-glow, 0 0 0 1px rgba(255,90,31,.4)); opacity: 0; transition: opacity .35s ease; }
.tl-card__shot { position: relative; display: block; padding-top: 32px; background: #101010; border-bottom: 1px solid #262626; overflow: hidden; }
.tl-card__shot .tk-ex__bar { height: 32px; }
.tl-card__shot .tk-ex__bar span { font-size: 11.5px; padding: 2px 9px; }
.tl-card__shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .6s cubic-bezier(.2,.7,.2,1); }

.tl-card__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px 28px 28px; }
.tl-card__body .rule__k { margin: 0; font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.tl-card__t { font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--text); }
.tl-card__p { color: var(--muted); font-size: 1rem; line-height: 1.6; max-width: 46ch; }
.tl-card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 10px; }
.tl-card__chips > span { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 .76rem/1.2 var(--mono); color: var(--muted); }
.tl-card__go { margin-top: auto; }
.tl-card__go svg { transition: transform .3s ease; }

@media (hover: hover) and (pointer: fine) {
  .tl-card:hover { transform: translateY(-4px); }
  .tl-card:hover::after { opacity: 1; }
  .tl-card:hover .tl-card__shot img { transform: scale(1.03); }
  .tl-card:hover .tl-card__go svg { transform: translateX(3px); }
}
.tl-card:focus-visible { outline: 2px solid var(--hot); outline-offset: 4px; }

/* White Edition */
html.tk-white .tl-card { background: #fff; border-color: rgba(28,20,12,.1); box-shadow: 0 24px 50px -34px rgba(70,40,15,.35); }
html.tk-white .tl-card::after { box-shadow: 0 0 0 1px rgba(255,90,31,.45), 0 26px 50px -30px rgba(255,90,31,.35); }
html.tk-white .tl-card__shot { background: #f1ece5; border-color: rgba(28,20,12,.08); }
html.tk-white .tl-card__chips > span { border-color: rgba(28,20,12,.12); background: #faf8f4; }

@media (max-width: 760px) {
  .tl-grid { grid-template-columns: 1fr; gap: 18px; }
  .tl-card__body { padding: 20px 20px 22px; }
  .tl-card__go { align-self: stretch; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .tl-card, .tl-card::after, .tl-card__shot img, .tl-card__go svg { transition: none; }
}
