/*
 * KNB security.txt-Dashboard
 * Alle Farben hart codiert (Kassel-CD): Theme-Variablen außerhalb des
 * Plug-in-Containers greifen nicht.
 *   Kassel-Blau #2464A5 | Grau #797979 #C0C0C0 #D6D6D6 #EBEBEB #F2F2F2
 *   Akzente: #6F9ED4 #F7A941 #74B959 #ED6C71 #956095 #EAF6FE
 */

/* ---------- Container und Rücksetzungen gegen Theme-Stile ---------- */
.knb-stx {
	box-sizing: border-box;
	background: transparent;
	border: 0;
	box-shadow: none;
	color: #333;
	container-type: inline-size;
	container-name: knbstx;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	margin: 0 0 2em;
	padding: 0;
	text-align: left;
	width: 100%;
	font-variant-numeric: tabular-nums;
}
.knb-stx *,
.knb-stx *::before,
.knb-stx *::after { box-sizing: border-box; }
.knb-stx p { margin: 0; line-height: 1.55; }
.knb-stx ul,
.knb-stx dl { list-style: none; margin: 0; padding: 0; }
.knb-stx li { margin: 0; padding: 0; }
.knb-stx dd { margin: 0; }
.knb-stx code {
	background: #f2f2f2;
	border-radius: 2px;
	font-size: .9em;
	padding: 1px 4px;
}
.knb-stx a { color: #2464A5; text-decoration: underline; }
.knb-stx a:hover { text-decoration: none; }

.knb-stx button,
.knb-stx button:hover,
.knb-stx button:focus {
	-webkit-appearance: none;
	appearance: none;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	cursor: pointer;
	font: inherit;
	letter-spacing: normal;
	line-height: inherit;
	margin: 0;
	padding: 0;
	text-align: inherit;
	text-transform: none;
	transition: none;
}
.knb-stx button:focus-visible,
.knb-stx select:focus-visible,
.knb-stx summary:focus-visible,
.knb-stx a:focus-visible,
.knb-stx .knb-stx-panel:focus-visible {
	outline: 2px solid #2464A5;
	outline-offset: 2px;
}

.knb-stx .knb-stx-laden { color: #797979; padding: 24px 0; }
.knb-stx-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.knb-stx .knb-stx-leise { color: #797979; font-weight: 400; }

/* ---------- Kopf ---------- */
.knb-stx .knb-stx-lead { color: #555; font-size: 17px; max-width: 46em; }
.knb-stx .knb-stx-link {
	color: #2464A5;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.knb-stx .knb-stx-link:hover { text-decoration: none; }

/* ---------- Steuerung ---------- */
.knb-stx .knb-stx-steuerung {
	align-items: flex-end;
	border-bottom: 1px solid #ebebeb;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	margin: 24px 0 0;
	padding: 0 0 24px;
}
.knb-stx .knb-stx-feld {
	display: flex;
	flex-direction: column;
	font-weight: 400;
	gap: 6px;
	margin: 0;
}
.knb-stx .knb-stx-feld > span {
	align-items: center;
	color: #666;
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
}
.knb-stx .knb-stx-feld-zeile { align-items: center; flex-direction: row; gap: 10px; }
.knb-stx .knb-stx-feld-zeile > label { color: #666; font-size: 14px; font-weight: 700; margin: 0; }
.knb-stx .knb-stx-feld-zeile .knb-stx-i { margin-left: 0; }
.knb-stx .knb-stx-select {
	-webkit-appearance: none;
	appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232464A5' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
	border: 1px solid #c0c0c0;
	border-radius: 3px;
	color: #222;
	font: inherit;
	font-size: 16px;
	line-height: 1.3;
	margin: 0;
	min-width: 260px;
	padding: 9px 38px 9px 12px;
}
.knb-stx .knb-stx-select:hover { border-color: #2464A5; }

.knb-stx .knb-stx-umschalter {
	border: 1px solid #2464A5;
	border-radius: 3px;
	display: inline-flex;
	overflow: hidden;
}
.knb-stx .knb-stx-umschalter button,
.knb-stx .knb-stx-umschalter button:hover,
.knb-stx .knb-stx-umschalter button:focus {
	background: #fff;
	color: #2464A5;
	font-size: 15px;
	padding: 9px 14px;
	white-space: nowrap;
}
.knb-stx .knb-stx-umschalter button + button { border-left: 1px solid #2464A5; }
.knb-stx .knb-stx-umschalter button:hover { background: #eaf6fe; }
.knb-stx .knb-stx-umschalter button[aria-pressed="true"] {
	background: #2464A5;
	color: #fff;
	font-weight: 700;
}

/* ---------- Infoknopf und Tooltip ---------- */
.knb-stx .knb-stx-i,
.knb-stx .knb-stx-i:hover,
.knb-stx .knb-stx-i:focus {
	align-items: center;
	border: 1px solid #797979;
	border-radius: 50%;
	color: #555;
	display: inline-flex;
	flex: none;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 12px;
	font-style: italic;
	font-weight: 700;
	height: 18px;
	justify-content: center;
	line-height: 1;
	margin: 0 0 0 6px;
	vertical-align: 1px;
	width: 18px;
}
.knb-stx .knb-stx-i:hover,
.knb-stx .knb-stx-i[aria-describedby] {
	background: #2464A5;
	border-color: #2464A5;
	color: #fff;
}

#knb-stx-tip {
	background: #222;
	border-radius: 4px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
	color: #fff;
	font-size: 14px;
	font-weight: 400;
	left: 0;
	line-height: 1.45;
	max-width: min(320px, calc(100vw - 16px));
	padding: 9px 12px;
	pointer-events: none;
	position: fixed;
	text-align: left;
	top: 0;
	white-space: pre-line;
	z-index: 100000;
}
#knb-stx-tip[hidden] { display: none; }

/* ---------- Lage ---------- */
.knb-stx .knb-stx-lage { padding: 28px 0 8px; }
.knb-stx .knb-stx-ort { color: #555; font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.knb-stx .knb-stx-zahlzeile {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 18px;
}
.knb-stx .knb-stx-grosszahl {
	color: #2464A5;
	font-size: 64px;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1;
	white-space: nowrap;
}
.knb-stx .knb-stx-satz { color: #333; font-size: 18px; line-height: 1.4; max-width: 30em; }

.knb-stx .knb-stx-leiste {
	background: #f2f2f2;
	border-radius: 3px;
	display: flex;
	gap: 2px;
	height: 44px;
	overflow: hidden;
	width: 100%;
}
.knb-stx .knb-stx-leiste-duenn { gap: 1px; height: 10px; }
.knb-stx .knb-stx-seg {
	align-items: center;
	display: flex;
	flex: none;
	justify-content: center;
	min-width: 2px;
	overflow: hidden;
}
.knb-stx .knb-stx-seg-wert { font-size: 13px; font-weight: 700; white-space: nowrap; }
.knb-stx .knb-stx-schraffur {
	background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .38) 0 4px, transparent 4px 9px);
}

.knb-stx .knb-stx-vgl {
	align-items: center;
	display: grid;
	gap: 12px;
	grid-template-columns: max-content 1fr;
	margin: 10px 0 0;
}
.knb-stx .knb-stx-vgl-label { color: #666; font-size: 13px; }

.knb-stx .knb-stx-legende {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 26px;
	margin: 14px 0 0;
}
.knb-stx .knb-stx-legende li {
	align-items: center;
	display: inline-flex;
	font-size: 14px;
	gap: 0;
}
.knb-stx .knb-stx-swatch {
	border-radius: 2px;
	display: inline-block;
	flex: none;
	height: 12px;
	margin-right: 8px;
	width: 12px;
}
.knb-stx .knb-stx-leg-wert { font-weight: 700; margin-left: 8px; white-space: nowrap; }

.knb-stx .knb-stx-fakten {
	border-top: 1px solid #ebebeb;
	display: grid;
	gap: 16px 32px;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	margin: 24px 0 0;
	padding: 18px 0 0;
}
.knb-stx .knb-stx-fakten > div {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 4px;
}
.knb-stx .knb-stx-nowrap { white-space: nowrap; }
.knb-stx em.knb-stx-sec { font-style: italic; }
.knb-stx .knb-stx-fakten dt {
	color: #666;
	display: block;
	font-size: 14px;
	font-weight: 400;
}
.knb-stx .knb-stx-fakten dd { color: #222; font-size: 20px; font-weight: 700; }

/* ---------- Reiter ---------- */
.knb-stx .knb-stx-tabs {
	border-bottom: 2px solid #ebebeb;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 28px 0 0;
}
.knb-stx .knb-stx-tab,
.knb-stx .knb-stx-tab:hover,
.knb-stx .knb-stx-tab:focus {
	border-bottom: 3px solid transparent;
	color: #555;
	font-size: 16px;
	margin-bottom: -2px;
	padding: 10px 14px 9px;
}
.knb-stx .knb-stx-tab:hover { color: #2464A5; }
.knb-stx .knb-stx-tab[aria-selected="true"] {
	border-bottom-color: #2464A5;
	color: #2464A5;
	font-weight: 700;
}
.knb-stx .knb-stx-panel { min-height: 320px; padding: 24px 0 8px; }
.knb-stx .knb-stx-panel-intro { color: #555; margin: 0 0 20px; max-width: 48em; }
.knb-stx .knb-stx-panel-steuerung {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	margin: 0 0 18px;
}
.knb-stx .knb-stx-panel-steuerung .knb-stx-select { min-width: 0; }

.knb-stx .knb-stx-h3 {
	align-items: center;
	color: #222;
	display: flex;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1.3;
	margin: 0 0 12px;
	text-transform: none;
}
.knb-stx .knb-stx-h3-inline { margin: 0 auto 0 0; }
.knb-stx .knb-stx-block { margin: 0 0 28px; }
.knb-stx .knb-stx-raster {
	display: grid;
	gap: 8px 44px;
	grid-template-columns: 1fr 1fr;
}
.knb-stx .knb-stx-breit { grid-column: 1 / -1; }
.knb-stx .knb-stx-fuss { color: #555; font-size: 14px; margin: 10px 0 0; }
.knb-stx .knb-stx-fuss + .knb-stx-fuss { margin-top: 4px; }
.knb-stx .knb-stx-fuss .knb-stx-i { vertical-align: -3px; }
.knb-stx .knb-stx-zuklein {
	background: #f2f2f2;
	border-radius: 3px;
	color: #555;
	font-size: 15px;
	padding: 14px 16px;
}

/* ---------- Vergleich ---------- */
.knb-stx .knb-stx-vergleich { position: relative; }
.knb-stx .knb-stx-achse,
.knb-stx .knb-stx-vzeile {
	align-items: center;
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(150px, 240px) 1fr 72px;
	width: 100%;
}
.knb-stx .knb-stx-achse { color: #797979; font-size: 12px; margin: 0 0 4px; padding: 0 8px; }
.knb-stx .knb-stx-achse-skala { display: flex; justify-content: space-between; }
.knb-stx .knb-stx-vzeile,
.knb-stx .knb-stx-vzeile:hover,
.knb-stx .knb-stx-vzeile:focus {
	border-radius: 3px;
	padding: 5px 8px;
}
.knb-stx .knb-stx-vzeile:hover { background: #f2f2f2; }
.knb-stx .knb-stx-vzeile.ist-aktiv { background: #eaf6fe; }
.knb-stx .knb-stx-vzeile.ist-aktiv .knb-stx-v-label { color: #2464A5; font-weight: 700; }
.knb-stx .knb-stx-v-label { font-size: 15px; line-height: 1.3; }
.knb-stx .knb-stx-v-spur {
	background: #f2f2f2;
	border-radius: 2px;
	display: block;
	height: 18px;
	position: relative;
}
.knb-stx .knb-stx-vzeile:hover .knb-stx-v-spur,
.knb-stx .knb-stx-vzeile.ist-aktiv .knb-stx-v-spur { background: #fff; }
.knb-stx .knb-stx-v-fuell {
	background: #2464A5;
	border-radius: 2px;
	display: block;
	height: 100%;
}
.knb-stx .knb-stx-v-leer { color: #797979; font-size: 12px; line-height: 18px; padding-left: 6px; }
.knb-stx .knb-stx-v-de {
	background: #222;
	bottom: -4px;
	left: var(--knb-stx-de, 0);
	position: absolute;
	top: -4px;
	width: 2px;
}
.knb-stx .knb-stx-v-wert { font-size: 15px; font-weight: 700; text-align: right; white-space: nowrap; }
.knb-stx .knb-stx-v-legende {
	align-items: center;
	color: #555;
	display: flex;
	font-size: 14px;
	gap: 8px;
	margin: 10px 0 30px;
	padding: 0 8px;
}
.knb-stx .knb-stx-v-de-muster { background: #222; display: inline-block; height: 16px; width: 2px; }

/* ---------- Balkenlisten ---------- */
.knb-stx .knb-stx-balken li {
	align-items: center;
	display: grid;
	gap: 6px 14px;
	grid-template-columns: minmax(150px, 280px) 1fr minmax(104px, auto);
	padding: 5px 0;
}
.knb-stx .knb-stx-b-label { display: block; font-size: 15px; line-height: 1.3; }
.knb-stx .knb-stx-b-spur {
	background: #f2f2f2;
	border-radius: 2px;
	display: block;
	height: 12px;
	overflow: hidden;
}
.knb-stx .knb-stx-b-fuell { border-radius: 2px; display: block; height: 100%; }
.knb-stx .knb-stx-b-wert { font-size: 15px; font-weight: 700; text-align: right; white-space: nowrap; }
.knb-stx .knb-stx-felder .knb-stx-b-label { font-family: Menlo, Consolas, monospace; font-size: 14px; }

/* ---------- BSI-Empfehlung ---------- */
.knb-stx .knb-stx-bsi {
	align-items: center;
	background: #eaf6fe;
	border-left: 4px solid #2464A5;
	border-radius: 0 3px 3px 0;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	justify-content: space-between;
	margin: 20px 0 0;
	padding: 20px 24px;
}
.knb-stx .knb-stx-bsi-text { flex: 1 1 380px; }
.knb-stx .knb-stx-bsi .knb-stx-h3 { margin-bottom: 6px; }
.knb-stx .knb-stx-bsi p { color: #333; font-size: 15px; }
.knb-stx .knb-stx-bsi code { background: rgba(36, 100, 165, .1); padding: 1px 5px; }
.knb-stx a.knb-stx-knopf,
.knb-stx a.knb-stx-knopf:visited {
	background: #2464A5;
	border-radius: 3px;
	color: #fff;
	display: inline-block;
	font-weight: 700;
	padding: 12px 18px;
	text-decoration: none;
	white-space: nowrap;
}
.knb-stx a.knb-stx-knopf:hover { background: #1b4f84; color: #fff; text-decoration: underline; }

/* ---------- Methodik ---------- */
.knb-stx .knb-stx-methodik { border-top: 1px solid #ebebeb; margin: 24px 0 0; padding: 16px 0 0; }
.knb-stx .knb-stx-methodik summary {
	color: #2464A5;
	cursor: pointer;
	font-weight: 700;
	list-style: none;
}
.knb-stx .knb-stx-methodik summary::-webkit-details-marker { display: none; }
.knb-stx .knb-stx-methodik summary::before {
	border-bottom: 2px solid #2464A5;
	border-right: 2px solid #2464A5;
	content: "";
	display: inline-block;
	height: 8px;
	margin: 0 12px 2px 2px;
	transform: rotate(-45deg);
	width: 8px;
}
.knb-stx .knb-stx-methodik[open] summary::before { margin-bottom: 4px; transform: rotate(45deg); }
.knb-stx .knb-stx-methodik-inhalt { columns: 2 340px; column-gap: 44px; margin: 16px 0 0; }
.knb-stx .knb-stx-methodik h4 {
	break-after: avoid;
	color: #222;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 4px;
	text-transform: none;
}
.knb-stx .knb-stx-methodik p { break-inside: avoid; color: #444; font-size: 15px; margin: 0 0 14px; }

.knb-stx-fehler { background: #fff3f3; border-left: 4px solid #e3000f; padding: 12px 16px; }

/* ---------- Schmale Spalten (Containerabfragen: richten sich nach der
   tatsächlichen Breite der Inhaltsspalte, nicht nach dem Fenster) ---------- */
@container knbstx (max-width: 820px) {
	.knb-stx .knb-stx-raster { grid-template-columns: 1fr; }
}
@container knbstx (max-width: 560px) {
	.knb-stx .knb-stx-grosszahl { font-size: 48px; }
	.knb-stx .knb-stx-satz { font-size: 16px; }
	.knb-stx .knb-stx-select { min-width: 0; width: 100%; }
	.knb-stx .knb-stx-feld { width: 100%; }
	.knb-stx .knb-stx-feld-zeile .knb-stx-select { flex: 1 1 auto; width: auto; }
	.knb-stx .knb-stx-umschalter button,
	.knb-stx .knb-stx-umschalter button:hover,
	.knb-stx .knb-stx-umschalter button:focus { font-size: 14px; padding: 8px 10px; }
	.knb-stx .knb-stx-achse { display: none; }
	.knb-stx .knb-stx-vzeile {
		gap: 4px 10px;
		grid-template-columns: 1fr auto;
	}
	.knb-stx .knb-stx-v-spur { grid-column: 1 / -1; grid-row: 2; }
	.knb-stx .knb-stx-balken li { grid-template-columns: 1fr auto; }
	.knb-stx .knb-stx-b-spur { grid-column: 1 / -1; grid-row: 2; }
	.knb-stx .knb-stx-tab,
	.knb-stx .knb-stx-tab:hover,
	.knb-stx .knb-stx-tab:focus { font-size: 15px; padding: 8px 10px 7px; }
	.knb-stx .knb-stx-leiste { height: 36px; }
}
