/** singulary-ui/immobilie-fakten — gruppierte Detail-Sektion. */

.fyh-det { display: flex; flex-direction: column; gap: clamp( 3rem, 6vw, 5rem ); margin: 0; }

/* --- Section-Header (Rubrik + zweifarbige H2) --- */
.fyh-det__head { margin-bottom: 2rem; }
.fyh-det__h2 {
	margin: 0;
	font-size: clamp( 1.7rem, 3.4vw, 2.5rem );
	line-height: 1.08;
	font-weight: 600;
	letter-spacing: -.025em;
	color: var(--wp--preset--color--ink);
}
.fyh-det__h2soft { color: var(--wp--preset--color--muted); }

/* --- Detail-Grid (Label/Wert) --- */
.fyh-det__grid {
	display: grid;
	grid-template-columns: repeat( 2, 1fr );
	gap: 1.5rem 2rem;
	margin: 0;
}
@media ( min-width: 782px ) { .fyh-det__grid { grid-template-columns: repeat( 4, 1fr ); gap: 2.25rem 2rem; } }
.fyh-det__item { display: flex; flex-direction: column; gap: 5px; }
.fyh-det__label { margin: 0; font-size: .85rem; color: var(--wp--preset--color--muted); }
.fyh-det__value { margin: 0; font-size: 1.08rem; font-weight: 600; line-height: 1.3; color: var(--wp--preset--color--ink); }

/* --- Subsektion (Zimmer / Flächen / Ausstattung) --- */
.fyh-det__sub { margin-top: 2.75rem; }
.fyh-det__subh {
	margin: 0 0 1.25rem;
	font-size: .92rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}
/* --- Energie-Effizienz-Skala (A+…H + Pointer/Tooltip) --- */
.fyh-energy { position: relative; margin-top: 2.5rem; padding-bottom: 8.5rem; }
.fyh-energy__scale { display: flex; height: 56px; }
.fyh-energy__seg {
	flex: 1;
	display: flex; align-items: center; justify-content: center;
	color: #fff; font-size: .85rem; font-weight: 600;
	transition: transform .2s ease;
}
.fyh-energy__seg:first-child { border-radius: 12px 0 0 12px; }
.fyh-energy__seg:last-child { border-radius: 0 12px 12px 0; }
.fyh-energy__seg.is-active {
	position: relative; z-index: 2;
	transform: scale( 1.14 );
	border-radius: 10px;
	font-size: 1rem; font-weight: 600;
	box-shadow: 0 6px 20px rgba( 14,14,14,.2 );
}
.fyh-energy__ticks { position: relative; margin-top: 9px; height: 16px; }
.fyh-energy__ticks span {
	position: absolute; top: 0;
	font-size: .7rem;
	color: var(--wp--preset--color--muted);
	font-variant-numeric: tabular-nums;
}
.fyh-energy__ptr {
	position: absolute; top: 88px;
	transform: translateX( -50% );
	display: flex; flex-direction: column; align-items: center;
	pointer-events: none;
}
.fyh-energy__arrow {
	width: 0; height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 12px solid var(--wp--preset--color--ink);
}
.fyh-energy__bubble {
	background: var(--wp--preset--color--ink);
	color: #fff;
	border-radius: 12px;
	padding: 12px 24px;
	text-align: center;
	box-shadow: 0 10px 30px rgba( 14,14,14,.25 );
	white-space: nowrap;
}
.fyh-energy__bk { display: block; font-size: .6875rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgba( 255,255,255,.7 ); }
.fyh-energy__bv { display: block; margin-top: 4px; font-size: 1.05rem; font-weight: 600; line-height: 1.2; }

@media ( max-width: 600px ) {
	.fyh-energy__seg { font-size: .7rem; }
	.fyh-energy__bubble { padding: 10px 16px; }
	.fyh-energy__bv { font-size: .92rem; }
}

.fyh-det__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.fyh-det__chip {
	display: inline-flex; align-items: center;
	height: 38px; padding: 0 16px;
	border-radius: 999px;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--hairline);
	font-size: 14px; font-weight: 500;
	color: var(--wp--preset--color--ink);
}
