/* Testbereich (Testwerkstatt): Aufmacher mit Note und Messkarte, Karten, Testseite.
   Nutzt die Farben des jeweiligen Designs (--akzent, --text, --linie …) mit Rückfallwerten. */
:root { --tp-papier: #f6f4ef; --tp-tinte: var(--text, #16191f); --tp-leise: var(--leise, #626a74); --tp-linie: var(--linie, #e2dfd7);
  --tp-gut: #1f6b38; --tp-gut-bg: #e7f4eb; --tp-mittel: #7a5200; --tp-mittel-bg: #fbf0d9; --tp-stark: #0f5a2c; --tp-stark-bg: #d9f0e1; }

.tp-start { margin: clamp(48px, 7vw, 88px) 0; }
.tp-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.tp-kopf small { display: block; font-size: 13px; letter-spacing: .02em; color: var(--tp-leise); margin-bottom: 4px; }
.tp-kopf h2, .tp-kopf h1 { margin: 0; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -.02em; }
.tp-kopf a { font-weight: 700; color: var(--akzent, #2456c9); text-decoration: none; white-space: nowrap; }
.tp-kopf--seite { display: block; margin: 8px 0 30px; } .tp-kopf--seite p { max-width: 640px; color: var(--tp-leise); font-size: 17px; line-height: 1.6; margin: 12px 0 0; }

/* Note */
.tp-note { display: inline-grid; place-items: center; align-content: center; width: 64px; height: 64px; border-radius: 50%;
  background: #fff; border: 2px solid var(--tp-gut); color: var(--tp-gut); text-align: center; line-height: 1; flex: none; }
.tp-note b { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.tp-note small { font-size: 10.5px; color: var(--tp-leise); margin-top: 2px; }
.tp-note--stark { border-color: var(--tp-stark); color: var(--tp-stark); box-shadow: 0 0 0 5px var(--tp-stark-bg); }
.tp-note--mittel { border-color: #c48a1b; color: var(--tp-mittel); }
.tp-note--gross { width: 92px; height: 92px; } .tp-note--gross b { font-size: 31px; } .tp-note--gross small { font-size: 12px; }

/* Messkarte: Prüfanhänger mit gestricheltem Rand */
.tp-messkarte { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); margin: 0; border: 1.5px dashed #b9b3a6;
  border-radius: 12px; background: #fff; position: relative; }
.tp-messkarte::before { content: ""; position: absolute; left: -7px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  border-radius: 50%; background: var(--tp-papier); border: 1.5px dashed #b9b3a6; }
.tp-messkarte > div { padding: 12px 16px; min-width: 0; }
.tp-messkarte > div + div { border-left: 1.5px dashed #d6d0c3; }
.tp-messkarte dt { font-size: 12px; color: var(--tp-leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-messkarte dd { margin: 3px 0 0; font-size: 20px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }

/* Aufmacher */
.tp-aufmacher { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--tp-linie);
  border-radius: 24px; overflow: hidden; }
.tp-aufmacher-bild { position: relative; display: grid; place-items: center; min-height: 360px; background: var(--tp-papier); }
.tp-aufmacher-bild img { width: 78%; max-height: 420px; object-fit: contain; mix-blend-mode: multiply; }
.tp-aufmacher-bild .tp-note { position: absolute; top: 22px; right: 22px; }
.tp-aufmacher-text { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3.4vw, 44px); }
.tp-zeile { margin: 0; font-size: 13px; color: var(--tp-leise); }
.tp-aufmacher h3 { margin: 0; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.02em; }
.tp-aufmacher h3 a { color: inherit; text-decoration: none; }
.tp-aufmacher h3 a:hover { color: var(--akzent, #2456c9); }
.tp-fazit { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--tp-leise); }
.tp-fuss { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: auto 0 0; padding-top: 6px; font-size: 14px; color: var(--tp-leise); }
.tp-fuss a { font-weight: 700; color: var(--akzent, #2456c9); text-decoration: none; }

/* Karten */
.tp-reihe, .tp-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.tp-karte { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; background: #fff;
  border: 1px solid var(--tp-linie); border-radius: 18px; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.tp-karte:hover { border-color: var(--akzent, #2456c9); transform: translateY(-2px); }
.tp-karte-bild { position: relative; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 14px; background: var(--tp-papier); }
.tp-karte-bild img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.tp-karte-bild .tp-note { position: absolute; right: -10px; bottom: -10px; width: 44px; height: 44px; }
.tp-karte-bild .tp-note b { font-size: 15px; } .tp-karte-bild .tp-note small { display: none; }
.tp-karte-text { display: grid; gap: 4px; min-width: 0; }
.tp-karte-text small { font-size: 12px; color: var(--tp-leise); }
.tp-karte-text strong { font-size: 15.5px; line-height: 1.3; }
.tp-karte-text em { font-style: normal; font-size: 13px; color: var(--tp-leise); line-height: 1.45; }

/* Produktseite */
.tp-produkt { display: flex; gap: 18px; align-items: flex-start; margin: 28px 0; padding: 20px 22px; border-radius: 18px;
  background: var(--tp-papier); border: 1px solid var(--tp-linie); }
.tp-produkt > div { display: grid; gap: 8px; min-width: 0; flex: 1; }
.tp-produkt small { color: var(--tp-leise); font-size: 12.5px; }
.tp-produkt strong { font-size: 18px; line-height: 1.3; }
.tp-produkt p { margin: 0; color: var(--tp-leise); line-height: 1.55; }
.tp-produkt a { font-weight: 700; color: var(--akzent, #2456c9); text-decoration: none; }

/* Testseite */
.tp-seite { padding-bottom: 40px; }
.tp-pfad { font-size: 13.5px; color: var(--tp-leise); margin: 8px 0 18px; } .tp-pfad a { color: inherit; }
.tp-held { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: 44px; }
.tp-held h1 { margin: 6px 0 14px; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.05; letter-spacing: -.025em; }
.tp-lead { font-size: 19px; line-height: 1.55; color: var(--tp-tinte); margin: 0 0 14px; }
.tp-autor { margin: 0 0 22px; font-size: 14px; color: var(--tp-leise); }
.tp-held-bild { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: 28px; background: var(--tp-papier); }
.tp-held-bild img { width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.tp-held-bild .tp-note { position: absolute; top: 24px; right: 24px; }
.tp-inhalt { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.tp-text > p { font-size: 17.5px; line-height: 1.75; margin: 0 0 1.1em; max-width: 68ch; }
.tp-pm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0; }
.tp-pm > div { padding: 18px 20px; border-radius: 16px; }
.tp-pm h2 { font-size: 17px; margin: 0 0 10px; }
.tp-pm ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; line-height: 1.5; }
.tp-plus { background: var(--tp-gut-bg); } .tp-plus li::before { content: "+ "; font-weight: 800; color: var(--tp-gut); }
.tp-minus { background: #f5f1ea; } .tp-minus li::before { content: "– "; font-weight: 800; color: #9a5b16; }
.tp-messung h2, .tp-noten h2 { font-size: 20px; margin: 0 0 14px; }
.tp-messung dl { margin: 0; border: 1px solid var(--tp-linie); border-radius: 16px; overflow: hidden; }
.tp-messung dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 18px; background: #fff; }
.tp-messung dl > div + div { border-top: 1px solid var(--tp-linie); }
.tp-messung dt { display: grid; gap: 2px; } .tp-messung dt small { font-size: 12.5px; color: var(--tp-leise); }
.tp-messung dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tp-seite-rechts { position: sticky; top: 20px; display: grid; gap: 16px; }
.tp-noten, .tp-imtest { padding: 20px; border: 1px solid var(--tp-linie); border-radius: 18px; background: #fff; }
.tp-balken { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; margin-bottom: 12px; font-size: 14px; }
.tp-balken b { font-variant-numeric: tabular-nums; }
.tp-balken i { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: #eceae4; overflow: hidden; }
.tp-balken em { display: block; height: 100%; border-radius: 99px; background: var(--tp-gut); }
.tp-gesamt { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--tp-linie); font-weight: 700; }
.tp-imtest { display: grid; gap: 6px; text-align: center; }
.tp-imtest small { color: var(--tp-leise); font-size: 12.5px; }
.tp-imtest-bild { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 14px; background: var(--tp-papier); margin: 4px 0 8px; }
.tp-imtest-bild img { width: 70%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.tp-imtest span { font-size: 13px; color: var(--tp-leise); }
.tp-preis { font-size: 20px; margin: 4px 0 8px; }
.tp-weitere { margin-top: 56px; } .tp-weitere h2 { font-size: 24px; margin: 0 0 4px; }

@media (max-width: 960px) {
  .tp-aufmacher, .tp-held, .tp-inhalt { grid-template-columns: 1fr; }
  .tp-aufmacher-bild { min-height: 260px; }
  .tp-reihe, .tp-raster { grid-template-columns: 1fr; }
  .tp-seite-rechts { position: static; }
}
@media (max-width: 560px) {
  .tp-pm { grid-template-columns: 1fr; }
  .tp-messkarte dd { font-size: 17px; } .tp-messkarte > div { padding: 10px 12px; }
  .tp-kopf { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .tp-karte { transition: none; } .tp-karte:hover { transform: none; } }

.tp-b0 { width: 0%; }
.tp-b5 { width: 5%; }
.tp-b10 { width: 10%; }
.tp-b15 { width: 15%; }
.tp-b20 { width: 20%; }
.tp-b25 { width: 25%; }
.tp-b30 { width: 30%; }
.tp-b35 { width: 35%; }
.tp-b40 { width: 40%; }
.tp-b45 { width: 45%; }
.tp-b50 { width: 50%; }
.tp-b55 { width: 55%; }
.tp-b60 { width: 60%; }
.tp-b65 { width: 65%; }
.tp-b70 { width: 70%; }
.tp-b75 { width: 75%; }
.tp-b80 { width: 80%; }
.tp-b85 { width: 85%; }
.tp-b90 { width: 90%; }
.tp-b95 { width: 95%; }
.tp-b100 { width: 100%; }
.tp-ohne-bild { font-style: normal; font-size: 11px; font-weight: 700; color: #a49d8f; letter-spacing: .04em; }
