/* EN_Größenfinder 1.9.0 */
.en-gf {
	background: #fff;
	color: #0E0E0E;
	border: 2px solid #F9EBF2;
	border-radius: 12px;
	padding: 18px 20px;
	margin: 20px 0;
	box-sizing: border-box;
}
.en-gf *,
.en-gf *::before,
.en-gf *::after { box-sizing: border-box; }
.en-gf p { margin: 0; }

/* Überschrift: Schrift und Größe vom Theme, Farbe immer Pink */
.en-gf .en-gf__headline { margin: 0 0 6px; color: #F8448A !important; }

.en-gf .en-gf__intro { font-size: 15px; margin: 0 0 10px; line-height: 1.4; }
.en-gf__einheit { font-size: 13px; color: #666; }

.en-gf__felder {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}
.en-gf__felder--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.en-gf__felder--2 { grid-template-columns: repeat(2, minmax(0, 220px)); }
.en-gf__felder--1 { grid-template-columns: minmax(0, 220px); }
.en-gf__feld label { display: block; font-size: 13px; color: #555; margin: 0 0 3px; }
.en-gf__feld input {
	width: 100%;
	height: 38px;
	padding: 0 10px;
	margin: 0;
	font-size: 16px;
	color: #0E0E0E;
	background: #F6F6F6;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: none;
}
.en-gf__feld input:focus { outline: none; border-color: #F8448A; background: #fff; }

/* Button + Ergebnis in einer Zeile */
.en-gf__aktion {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 14px;
}
.en-gf button.en-gf__button,
.en-gf button.en-gf__button:hover,
.en-gf button.en-gf__button:focus {
	flex: none;
	margin: 0;
	padding: 11px 22px;
	background: #70265A !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px;
	font-size: 16px;
	line-height: 1.2;
	white-space: nowrap;
	text-transform: none;
	box-shadow: none;
	cursor: pointer;
}
.en-gf button.en-gf__button:hover { opacity: 0.9; }
.en-gf .en-gf__fehler { font-size: 14px; color: #c0264f; }

.en-gf__ergebnis {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #F9EBF2;
	border-radius: 8px;
	padding: 7px 12px;
	white-space: nowrap;
	min-width: 0;
}
.en-gf [hidden] { display: none !important; }
.en-gf__titel { font-size: 14px; color: #70265A; }
.en-gf__schritte { display: flex; align-items: center; gap: 6px; }
.en-gf__box {
	background: #fff;
	border-radius: 6px;
	padding: 4px 10px;
	font-size: 15px;
	color: #0E0E0E;
	white-space: nowrap;
}
.en-gf__label { color: #70265A; font-size: 14px; margin-right: 4px; }
.en-gf__wert { font-weight: 600; }
.en-gf__bogen {
	display: inline-block;
	background: #F8448A;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	border-radius: 20px;
	padding: 0 9px;
	margin-left: 6px;
	line-height: 1.6;
}
.en-gf__pfeil { color: #F8448A; font-size: 18px; line-height: 1; display: inline-block; }

.en-gf .en-gf__hinweis {
	margin: 12px 0 0;
	padding-left: 10px;
	border-left: 2px solid #F8448A;
	border-radius: 0;
	font-size: 14px;
	color: #70265A;
	line-height: 1.45;
}

/* Schmal: Ergebnis passt nicht neben den Button -> wie auf dem Handy untereinander.
   Die Klasse setzt das Script, sobald das Ergebnis nicht in eine Zeile passt. */
.en-gf.en-gf--schmal .en-gf__aktion { flex-direction: column; align-items: stretch; gap: 10px; }
.en-gf.en-gf--schmal button.en-gf__button { align-self: flex-start; }
.en-gf.en-gf--schmal .en-gf__ergebnis { flex-direction: column; align-items: stretch; gap: 6px; white-space: normal; padding: 10px 12px; }
.en-gf.en-gf--schmal .en-gf__schritte { flex-direction: column; align-items: stretch; gap: 2px; }
.en-gf.en-gf--schmal .en-gf__box { padding: 6px 10px; }
.en-gf.en-gf--schmal .en-gf__pfeil { align-self: center; transform: rotate(90deg); padding: 2px 0; }

/* Felder richten sich nach der Breite des Größenfinders selbst (nicht des Bildschirms) */
.en-gf { container-type: inline-size; }
@container (max-width: 480px) {
	.en-gf__felder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.en-gf__felder--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.en-gf__felder--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.en-gf__felder--1 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
	.en-gf { padding: 14px; }
}
