/* ===========================================================================
 * Glücksspiel-Hub (/gluecksspiel/), mit beiden Randspalten.
 * Hell, Karten, Petrol als Akzent - in der Sprache der übrigen Seite.
 * =========================================================================== */

.tf-hub-page #col3_content {
	margin: 18px 0 26px;
	padding: 0;
	overflow: hidden;
	background: #fff;
}

.tf-hub > #col3_content > * { margin-left: 44px; margin-right: 44px; }

#col3_content .tf-hub h1,
#col3_content .tf-hub h2,
.tf-hub h1,
.tf-hub h2 { border: 0; padding: 0; background: none; }

.tf-hub-kicker {
	margin: 0 0 10px !important;
	color: var(--tf-brand) !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

/* --- Einstieg ------------------------------------------------------------ */

.tf-hub-intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 40px;
	align-items: center;
	margin-top: 40px;
	margin-bottom: 8px;
	padding: 36px 40px;
	background:
		radial-gradient(circle at 100% 0%, rgba(34, 180, 214, .16), transparent 45%),
		radial-gradient(circle at 0% 100%, rgba(14, 116, 144, .08), transparent 40%),
		var(--tf-050);
	border: 1px solid var(--tf-200);
	border-radius: 20px;
}

.tf-hub > #col3_content > .tf-hub-intro { margin-left: 32px; margin-right: 32px; }

#col3_content .tf-hub-intro__title {
	margin: 0 0 12px;
	color: var(--tf-900);
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.03em;
}

#col3_content .tf-hub-intro__sub {
	margin: 0 0 14px;
	color: var(--tf-brand-strong);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.45;
}

.tf-hub-intro__body { color: var(--tf-700); font-size: 15.5px; line-height: 1.7; }

#col3_content .tf-hub-intro__body p { margin: 0; color: var(--tf-700); }

.tf-hub-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

#col3_content .tf-hub-chips li {
	margin: 0;
	padding: 6px 12px;
	background: #fff;
	border: 1px solid var(--tf-200);
	border-radius: 999px;
	color: var(--tf-700);
	font-size: 13px;
	font-weight: 600;
}

/* Kennzahlen als Karte rechts. */
.tf-hub-facts {
	padding: 22px 22px 18px;
	background: #fff;
	border: 1px solid var(--tf-200);
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

#col3_content .tf-hub-facts__title {
	margin: 0 0 8px;
	color: var(--tf-900);
	font-size: 15px;
	font-weight: 700;
}

.tf-hub-facts dl { margin: 0; }

.tf-hub-facts dl > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 0;
	border-bottom: 1px dashed var(--tf-200);
}

.tf-hub-facts dt { color: var(--tf-600); font-size: 14px; }

.tf-hub-facts dd {
	margin: 0;
	color: var(--tf-brand);
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
}

#col3_content .tf-hub-facts__date {
	margin: 12px 0 0;
	color: var(--tf-500);
	font-size: 13px;
}

#col3_content .tf-hub-facts__date strong { color: var(--tf-800); }

/* --- Abschnitte ---------------------------------------------------------- */

.tf-hub-block {
	padding-top: 44px;
	padding-bottom: 8px;
}

#col3_content .tf-hub-block__title {
	margin: 0 0 20px;
	color: var(--tf-900);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.02em;
}

/* Ratgeber als Karten. */
.tf-hub-guides {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

#col3_content .tf-hub-guides > li { margin: 0; padding: 0; }

.tf-hub-guide {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	gap: 20px;
	align-items: center;
	padding: 18px 22px;
	background: #fff;
	border: 1px solid var(--tf-200);
	border-radius: 16px;
	color: inherit;
	text-decoration: none;
	transition: border-color 150ms var(--tf-ease), box-shadow 150ms var(--tf-ease), transform 150ms var(--tf-ease);
}

.tf-hub-guide:hover {
	border-color: rgba(14, 116, 144, .45);
	box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
	transform: translateY(-1px);
}

.tf-hub-guide__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: rgba(14, 116, 144, .1);
	color: var(--tf-brand-strong);
	font-size: 16px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.tf-hub-guide__main {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.tf-hub-guide__title {
	color: var(--tf-900);
	font-size: 17.5px;
	font-weight: 700;
	line-height: 1.35;
}

.tf-hub-guide:hover .tf-hub-guide__title { color: var(--tf-brand-strong); }

.tf-hub-guide__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 16px;
	color: var(--tf-500);
	font-size: 13.5px;
}

.tf-hub-guide__author {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--tf-700);
	font-weight: 600;
}

.tf-hub-guide__author .tf-author__img,
.tf-hub-guide__author .tf-author__initials {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	font-size: 10px;
	object-fit: cover;
	object-position: 50% 22%;
}

.tf-hub-guide__count {
	padding: 7px 12px;
	background: var(--tf-050);
	border: 1px solid var(--tf-200);
	border-radius: 999px;
	color: var(--tf-600);
	font-size: 13px;
	white-space: nowrap;
}

.tf-hub-guide__count strong { color: var(--tf-900); font-size: 15px; }

.tf-hub-guide__arrow {
	width: 10px;
	height: 10px;
	border-top: 2px solid var(--tf-400, #94a3b8);
	border-right: 2px solid var(--tf-400, #94a3b8);
	transform: rotate(45deg);
	transition: transform 150ms var(--tf-ease), border-color 150ms var(--tf-ease);
}

.tf-hub-guide:hover .tf-hub-guide__arrow { border-color: var(--tf-brand); transform: translateX(3px) rotate(45deg); }

/* --- Methodik ------------------------------------------------------------ */

.tf-hub-block--method {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	margin-top: 36px;
	padding: 36px 40px;
	background: linear-gradient(135deg, rgba(14, 116, 144, .07), rgba(34, 180, 214, .04));
	border-radius: 20px;
}

.tf-hub > #col3_content > .tf-hub-block--method { margin-left: 32px; margin-right: 32px; }

#col3_content .tf-hub-method__text p:not(.tf-hub-kicker) {
	margin: 0 0 1em;
	color: var(--tf-700);
	font-size: 15.5px;
	line-height: 1.7;
}

.tf-hub-criteria {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

#col3_content .tf-hub-criterion {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 18px 12px 16px;
	background: #fff;
	border: 1px solid var(--tf-200);
	border-radius: 16px;
	text-align: center;
}

/* Ring: Anteil als Kreisbogen. */
.tf-hub-criterion__ring {
	display: grid;
	place-items: center;
	width: 66px;
	height: 66px;
	border-radius: 50%;
	background: conic-gradient(var(--tf-brand) calc(var(--share) * 1%), var(--tf-200) 0);
}

.tf-hub-criterion__ring span {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #fff;
	color: var(--tf-900);
	font-size: 15px;
	font-weight: 800;
}

.tf-hub-criterion__label {
	color: var(--tf-800);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.35;
}

/* --- Hinweis ------------------------------------------------------------- */

.tf-hub-care {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 36px;
	margin-bottom: 40px;
	padding: 18px 22px;
	background: #fff8ed;
	border: 1px solid #f3dcb5;
	border-radius: 16px;
}

.tf-hub-care__badge {
	display: grid;
	flex: none;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #b45309;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
}

#col3_content .tf-hub-care p { margin: 0; }

#col3_content .tf-hub-care__title {
	color: #7c2d12;
	font-size: 16.5px;
	font-weight: 700;
}

#col3_content .tf-hub-care__text {
	margin-top: 3px;
	color: #92400e;
	font-size: 14.5px;
}

#col3_content .tf-hub-care__text a { color: #7c2d12; font-weight: 700; }

/* --- Schmal -------------------------------------------------------------- */

@media screen and (max-width: 979px) {
	.tf-hub > #col3_content > * { margin-left: 18px; margin-right: 18px; }
	.tf-hub > #col3_content > .tf-hub-intro,
	.tf-hub > #col3_content > .tf-hub-block--method { margin-left: 12px; margin-right: 12px; }

	.tf-hub-intro,
	.tf-hub-block--method { grid-template-columns: 1fr; gap: 24px; padding: 26px 20px; }

	.tf-hub-intro { margin-top: 12px; }
}

@media screen and (max-width: 640px) {
	.tf-hub-criteria { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.tf-hub-guide {
		grid-template-columns: auto minmax(0, 1fr);
		gap: 12px 14px;
		padding: 16px;
	}

	.tf-hub-guide__num { width: 38px; height: 38px; font-size: 14px; }
	.tf-hub-guide__count { grid-column: 2; justify-self: start; }
	.tf-hub-guide__arrow { display: none; }

	.tf-hub-care { align-items: flex-start; }
}

/* --- Mit Randspalten: Breite der Inhaltsspalte entscheidet ---------------- */

.tf-hub-page #col3_content { container-type: inline-size; }

.tf-hub > #col3_content > * { margin-left: 28px; margin-right: 28px; }
.tf-hub > #col3_content > .tf-hub-intro,
.tf-hub > #col3_content > .tf-hub-block--method { margin-left: 20px; margin-right: 20px; }

.tf-hub-intro { margin-top: 20px; }

/* Schmale Spalte: Kennzahlen unter den Text, als Reihe. */
@container (max-width: 980px) {
	.tf-hub-intro { grid-template-columns: 1fr; gap: 24px; padding: 30px 28px; }

	.tf-hub-facts dl {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
	}

	.tf-hub-facts dl > div {
		flex-direction: column-reverse;
		align-items: flex-start;
		gap: 4px;
		border-bottom: 0;
	}

	.tf-hub-block--method { grid-template-columns: 1fr; gap: 24px; padding: 30px 28px; }
}

@container (max-width: 560px) {
	.tf-hub-facts dl { grid-template-columns: 1fr; }
	.tf-hub-facts dl > div { flex-direction: row; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed var(--tf-200); }
}
