/* turbopress Changelog (/changelog/). Werte nach Styleguide v2 (design.css).
   Gestaltet ist der Hellmodus; html[data-theme="dark"] schaltet um, weil tp-darkmode
   Shortcode-Ausgaben nicht umrechnet. Kit 41 formatiert a, button und h1–h3 global,
   darum stehen Element und body vor den Klassen. */

.tpcl {
	--t: #0B0C10;
	--t2: #5C606B;
	--link: #B34F00;
	--or: #FF7300;
	--linie: #0B0C1024;
	--rand: #0B0C1021;
	--gross-bg: #FF730014;
	--gross-rand: #FF730073;
	--punkt-bg: #FFFFFF;
	--chip-an-bg: #0B0C10;
	--chip-an-t: #FFFFFF;
	--k-neu-bg: #FF730024; --k-neu: #9A4300;
	--k-ver-bg: #0B0C1012; --k-ver: #2E3139;
	--k-sich-bg: #147A451F; --k-sich: #147A45;
	--k-perf-bg: #2850BE1A; --k-perf: #2650B8;
	font-family: Poppins, system-ui, sans-serif;
	color: var(--t);
	box-sizing: border-box;
}
html[data-theme="dark"] .tpcl {
	--t: #FFFFFF;
	--t2: #B9BDC7;
	--link: #FF7300;
	--linie: #FFFFFF29;
	--rand: #FFFFFF21;
	--gross-bg: #FF73001A;
	--punkt-bg: #14151B;
	--chip-an-bg: #FFFFFF;
	--chip-an-t: #0B0C10;
	--k-neu-bg: #FF73002E; --k-neu: #FF8A26;
	--k-ver-bg: #FFFFFF1A; --k-ver: #E4E6EB;
	--k-sich-bg: #2EC47829; --k-sich: #5BD69A;
	--k-perf-bg: #78A0FF29; --k-perf: #A9C1FF;
}
.tpcl *, .tpcl *::before { box-sizing: border-box; }
.tpcl .tpcl-i { flex: none; }

/* Kopf */
.tpcl-kopf { max-width: 1140px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.tpcl-kopf-text { flex: 1 1 560px; min-width: 0; }
.tpcl .tpcl-marke { margin: 0 0 12px; color: var(--link); font-size: 14px; line-height: 1.2; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; }
body .tpcl-kopf h1 { margin: 0 0 16px; font-size: 62px; line-height: 1.15; font-weight: 700; color: var(--t); text-wrap: balance; }
.tpcl .tpcl-lead { margin: 0; max-width: 640px; font-size: 18px; line-height: 1.6; color: var(--t2); }
.tpcl-kopf-meta { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--t2); }
.tpcl-kopf-meta strong { color: var(--t); font-weight: 600; }
body .tpcl a.tpcl-rss, body .tpcl a.tpcl-rss:hover { display: inline-flex; align-items: center; gap: 8px; color: var(--link); font-weight: 600; font-size: 14px; text-decoration: none; }
body .tpcl a.tpcl-rss:hover { text-decoration: underline; }

/* Liste */
.tpcl-liste { max-width: 820px; margin: 0 auto; }
.tpcl-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 48px; }
.tpcl-filter[hidden], .tpcl [hidden] { display: none !important; }
.tpcl-luecke { flex: 1 1 auto; }
body .tpcl button.tpcl-chip, body .tpcl button.tpcl-chip:hover, body .tpcl button.tpcl-chip:focus {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; margin: 0;
	border: 1px solid var(--rand); border-radius: 999px; background: transparent; color: var(--t);
	font: 500 14px/1 Poppins, system-ui, sans-serif; letter-spacing: 0; text-transform: none; cursor: pointer; box-shadow: none;
}
body .tpcl button.tpcl-chip:hover { border-color: var(--t2); }
body .tpcl button.tpcl-chip[aria-pressed="true"] { background: var(--chip-an-bg); color: var(--chip-an-t); border-color: transparent; }
body .tpcl button.tpcl-chip-stern[aria-pressed="true"] { background: var(--or); color: #0B0C10; }
body .tpcl button.tpcl-chip:focus-visible, body .tpcl a:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
.tpcl .tpcl-leer { font-size: 16px; color: var(--t2); }

.tpcl-monat { margin: 0 0 40px; }
body .tpcl-monat h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 15px; line-height: 1.3; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--t2); }
.tpcl-monat h2::before { content: ""; width: 24px; height: 2px; background: var(--or); }
.tpcl-monat ol { list-style: none; margin: 0 0 0 11px; padding: 0; border-left: 2px solid var(--linie); }
.tpcl-e { position: relative; margin: 0; padding: 0 0 26px 32px; scroll-margin-top: 112px; } /* fester Seitenkopf bis 68 px + Luft für den :target-Rahmen */
.tpcl-e::before { content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--punkt-bg); border: 2px solid var(--or); }
.tpcl-gross::before { left: -11px; top: 23px; width: 20px; height: 20px; background: var(--or); border-color: var(--punkt-bg); }
.tpcl-gross article { padding: 22px 24px; border: 1px solid var(--gross-rand); border-radius: 14px; background: var(--gross-bg); }
.tpcl-e:target article { outline: 2px solid var(--or); outline-offset: 6px; border-radius: 14px; }

.tpcl .tpcl-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 8px; font-size: 13px; line-height: 1.4; color: var(--t2); }
.tpcl-zeile time { font-weight: 600; color: var(--t); }
.tpcl-kat { padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.tpcl-kat-neu { background: var(--k-neu-bg); color: var(--k-neu); }
.tpcl-kat-verbessert { background: var(--k-ver-bg); color: var(--k-ver); }
.tpcl-kat-sicherheit { background: var(--k-sich-bg); color: var(--k-sich); }
.tpcl-kat-performance { background: var(--k-perf-bg); color: var(--k-perf); }
.tpcl-stern { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--link); }
.tpcl-stern .tpcl-i { width: 13px; height: 13px; fill: currentColor; }
body .tpcl-e h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.35; font-weight: 600; color: var(--t); }
body .tpcl-gross h3 { font-size: 22px; font-weight: 700; }
.tpcl .tpcl-text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--t2); }
body .tpcl a.tpcl-link, body .tpcl a.tpcl-link:hover { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--link); text-decoration: none; }
body .tpcl a.tpcl-link:hover { text-decoration: underline; }

@media (max-width: 1024px) {
	body .tpcl-kopf h1 { font-size: 48px; }
}

@media (max-width: 767px) {
	body .tpcl-kopf h1 { font-size: 38px; }
	.tpcl .tpcl-lead { font-size: 16px; }
	.tpcl-kopf { gap: 20px; }
	.tpcl-filter { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 32px; padding: 0 16px 4px; }
	body .tpcl button.tpcl-chip { flex: none; }
	.tpcl-luecke { display: none; }
	.tpcl-monat ol { margin-left: 9px; }
	.tpcl-e { padding-left: 22px; }
	.tpcl-gross article { padding: 18px; }
	.tpcl-gross::before { left: -11px; top: 19px; }
	body .tpcl-gross h3 { font-size: 19px; }
	body .tpcl-e h3 { font-size: 16px; }
	.tpcl .tpcl-text { font-size: 14px; }
}
