/* --------------------------------------------------------
 * PREISRECHNER FUSSBODENHEIZUNG – Frontend-Styles
 * Datei: /plugins/preisrechner/assets/fe-styles.css
 * -------------------------------------------------------- */

/* WRAPPER */
.prfbh-wrap {
	max-width: 780px;
	margin: 0 auto;
	font-family: inherit;
}

.prfbh-titel {
	font-size: 1.6em;
	margin-bottom: 0.4em;
}

.prfbh-intro {
	margin-bottom: 1.8em;
	line-height: 1.7;
	color: #444;
}

/* --------------------------------------------------------
   AUSWAHLSEITE
   -------------------------------------------------------- */
.prfbh-auswahl-karten {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.prfbh-karte {
	flex: 1 1 280px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	border: 1px solid #d0d0d0;
	border-radius: 6px;
	padding: 28px 24px;
	text-decoration: none;
	color: inherit;
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.prfbh-karte:hover {
	border-color: #0073aa;
	box-shadow: 0 4px 12px rgba(0,0,0,.1);
	text-decoration: none;
}

.prfbh-karte-icon {
	font-size: 2em;
}

.prfbh-karte-titel {
	font-size: 1.2em;
	margin: 0;
}

.prfbh-karte-text {
	margin: 0;
	color: #555;
	line-height: 1.6;
	flex-grow: 1;
}

.prfbh-karte-btn {
	display: inline-block;
	margin-top: 8px;
	padding: 10px 18px;
	background: #0073aa;
	color: #fff;
	border-radius: 4px;
	font-size: 0.95em;
	text-align: center;
}

.prfbh-karte:hover .prfbh-karte-btn {
	background: #005a87;
}

/* --------------------------------------------------------
   RECHNER-FELDER
   -------------------------------------------------------- */
.prfbh-rechner {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.prfbh-feld {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.prfbh-feld label {
	flex: 0 0 260px;
	font-weight: 600;
}

.prfbh-input {
	width: 120px;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1em;
}

.prfbh-einheit {
	color: #666;
	font-size: 0.9em;
}

.prfbh-pflicht {
	color: #c00;
}

.prfbh-hinweis-klein {
	flex: 0 0 100%;
	font-size: 0.82em;
	color: #777;
	padding-left: 270px;
}

/* --------------------------------------------------------
   BUTTON
   -------------------------------------------------------- */
.prfbh-btn {
	align-self: flex-start;
	margin-top: 8px;
	padding: 12px 28px;
	background: #0073aa;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 1em;
	cursor: pointer;
	transition: background 0.2s;
}

.prfbh-btn:hover {
	background: #005a87;
}

/* --------------------------------------------------------
   ERGEBNIS-TABELLE
   -------------------------------------------------------- */
.prfbh-ergebnis {
	border: 1px solid #d0d0d0;
	border-radius: 6px;
	padding: 20px 24px;
	background: #f9f9f9;
	margin-top: 8px;
}

.prfbh-ergebnis h3 {
	margin-top: 0;
	margin-bottom: 14px;
	font-size: 1.1em;
}

.prfbh-ergebnis-tabelle {
	width: 100%;
	border-collapse: collapse;
}

.prfbh-ergebnis-tabelle td {
	padding: 6px 4px;
	border-bottom: 1px solid #e5e5e5;
}

.prfbh-ergebnis-tabelle td:last-child {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.prfbh-ergebnis-tabelle tr.prfbh-netto td {
	border-top: 2px solid #ccc;
	font-weight: 600;
	padding-top: 10px;
}

.prfbh-ergebnis-tabelle tr.prfbh-brutto td {
	font-size: 1.15em;
	font-weight: 700;
	color: #0073aa;
	border-top: 2px solid #0073aa;
	padding-top: 10px;
}

.prfbh-hinweis {
	margin-top: 14px;
	margin-bottom: 0;
	font-size: 0.82em;
	color: #888;
}

/* --------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------- */
@media (max-width: 600px) {
	.prfbh-feld label        { flex: 0 0 100%; }
	.prfbh-hinweis-klein     { padding-left: 0; }
	.prfbh-input             { width: 100%; }
	.prfbh-btn               { width: 100%; text-align: center; }
	.prfbh-auswahl-karten    { flex-direction: column; }
}

/* --------------------------------------------------------
   MEHRSTUFIGER RECHNER – SCHRITTE
   -------------------------------------------------------- */
.prfbh-schritt--hidden {
	display: none;
}

.prfbh-schritt-nr {
	font-size: 0.85em;
	color: #888;
	margin: 0 0 4px;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.prfbh-schritt-titel {
	font-size: 1.3em;
	margin: 0 0 16px;
}

.prfbh-schritt-text {
	line-height: 1.7;
	color: #444;
	max-width: 680px;
	margin-bottom: 12px;
}

.prfbh-schritt-frage {
	font-weight: 600;
	margin: 20px 0 12px;
}

/* --------------------------------------------------------
   FORTSCHRITTSANZEIGE
   -------------------------------------------------------- */
.prfbh-progress-wrap {
	width: 100%;
	margin-bottom: 36px;
	overflow-x: auto;
}

.prfbh-progress-bar {
	display: flex;
	align-items: flex-start;
	min-width: 420px;
}

.prfbh-progress-step-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.prfbh-progress-line {
	flex: 1;
	height: 2px;
	background: #d0d0d0;
	margin-top: 15px;
	transition: background 0.25s;
}

.prfbh-step-kreis {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
	transition: background 0.25s, color 0.25s;
}

.prfbh-step-offen {
	background: #e0e0e0;
	color: #888888;
}

.prfbh-step-aktiv {
	background: #0073aa;
	color: #ffffff;
}

.prfbh-step-erledigt {
	background: #00a32a;
	color: #ffffff;
}

.prfbh-step-label {
	font-size: 11px;
	color: #888888;
	font-weight: 400;
	white-space: nowrap;
	text-align: center;
}

.prfbh-step-label-aktiv {
	color: #0073aa;
	font-weight: 600;
}

.prfbh-step-label-erledigt {
	color: #00a32a;
	font-weight: 600;
}

/* --------------------------------------------------------
   KARTEN ALS BUTTONS (Objekttyp-Auswahl)
   -------------------------------------------------------- */
.prfbh-karte--option {
	cursor: pointer;
	border: 1px solid #d0d0d0;
	border-radius: 6px;
	padding: 28px 24px;
	text-align: left;
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
	font-family: inherit;
	flex: 1 1 220px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.prfbh-karte--option:hover {
	border-color: #0073aa;
	box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

/* --------------------------------------------------------
   NAVIGATION (ZURÜCK / WEITER)
   -------------------------------------------------------- */
.prfbh-nav {
	display: flex;
	gap: 12px;
	margin-top: 24px;
}

.prfbh-btn--back {
	background: #f0f0f1;
	color: #2c3338;
}

.prfbh-btn--back:hover {
	background: #dcdcde;
}

.prfbh-btn--neu {
	background: #2c3338;
}

.prfbh-btn--neu:hover {
	background: #1d2327;
}

/* --------------------------------------------------------
   INFO-BOX (Hinweise)
   -------------------------------------------------------- */
.prfbh-info-box {
	background: #fff8e5;
	border: 1px solid #f0c33c;
	border-radius: 4px;
	padding: 14px 16px;
	font-size: 0.9em;
	line-height: 1.6;
	max-width: 580px;
	margin-top: 8px;
}

/* --------------------------------------------------------
   ERGEBNIS – DETAIL-SPALTE
   -------------------------------------------------------- */
.prfbh-pos-detail {
	font-size: 0.8em;
	color: #888;
	padding-right: 16px;
}

@media (max-width: 600px) {
	.prfbh-pos-detail { display: none; }
	.prfbh-progress-bar { gap: 2px; }
	.prfbh-step-label { display: none; }
	.prfbh-nav { flex-direction: column; }
}

/* --------------------------------------------------------
   EINZELFELD-EINGABE (je ein Feld pro Schritt)
   -------------------------------------------------------- */
.prfbh-eingabe-single {
	margin: 28px 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 520px;
}

.prfbh-eingabe-label {
	font-size: 1.1em;
	font-weight: 600;
	line-height: 1.5;
	color: #1d2327;
}

.prfbh-eingabe-row {
	display: flex;
	align-items: center;
	gap: 14px;
}

.prfbh-input--lg {
	width: 160px;
	font-size: 1.4em;
	padding: 12px 14px;
	border: 2px solid #c3c4c7;
	border-radius: 6px;
	transition: border-color 0.2s;
}

.prfbh-input--lg:focus {
	border-color: #0073aa;
	outline: none;
}

.prfbh-einheit--lg {
	font-size: 1.2em;
	font-weight: 600;
	color: #50575e;
}

@media (max-width: 600px) {
	.prfbh-eingabe-single { max-width: 100%; }
	.prfbh-input--lg      { width: 100%; }
}

/* PDF-Button */
.prfbh-btn--pdf {
	background: #2c6e49;
}
.prfbh-btn--pdf:hover {
	background: #1f4f34;
}

/* --------------------------------------------------------
   PREISSPANNE - ERGEBNISSEITE
   -------------------------------------------------------- */
.prfbh-ergebnis-spanne {
	border: 2px solid #0073aa;
	border-radius: 8px;
	padding: 32px 28px;
	background: #f0f7fb;
	text-align: center;
	margin: 20px 0;
	max-width: 520px;
}

.prfbh-spanne-label {
	font-size: 0.9em;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: #50575e;
	margin: 0 0 16px;
	font-weight: 600;
}

.prfbh-spanne-preise {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 32px;
	flex-wrap: wrap;
}

.prfbh-spanne-von,
.prfbh-spanne-bis {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.prfbh-spanne-tag {
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: #888;
}

.prfbh-spanne-wert {
	font-size: 2em;
	font-weight: 700;
	color: #0073aa;
	white-space: nowrap;
}

.prfbh-spanne-mwst {
	font-size: 0.82em;
	color: #888;
	margin: 14px 0 0;
}

@media (max-width: 480px) {
	.prfbh-spanne-wert  { font-size: 1.5em; }
	.prfbh-spanne-preise { gap: 20px; }
}

/* --------------------------------------------------------
   ERGEBNISSEITE – Layout nach Vorlage
   -------------------------------------------------------- */

.prfbh-ergebnis-titel {
	font-size: 1.8em;
	font-weight: 700;
	margin: 0 0 16px;
	color: #1d2327;
}

.prfbh-ergebnis-intro-text {
	font-size: 1em;
	color: #3c434a;
	line-height: 1.6;
	margin-bottom: 20px;
}

/* Angaben-Tabelle */
.prfbh-angaben-tabelle {
	border-collapse: collapse;
	margin-bottom: 24px;
	width: auto;
}

.prfbh-angaben-tabelle td {
	padding: 6px 0;
	vertical-align: top;
	border: none;
}

.prfbh-angaben-key {
	font-weight: 700;
	padding-right: 28px !important;
	color: #1d2327;
	white-space: nowrap;
}

.prfbh-angaben-val {
	color: #3c434a;
}

/* Disclaimer */
.prfbh-disclaimer {
	font-size: 0.92em;
	line-height: 1.7;
	color: #50575e;
	max-width: 700px;
	margin-bottom: 32px;
}

/* Preisspanne */
.prfbh-preisspanne-box {
	text-align: center;
	margin: 8px 0 28px;
	padding: 10px 0;
}

.prfbh-preisspanne-titel {
	font-size: 1.05em;
	font-weight: 700;
	color: #1d2327;
	margin: 0 0 6px;
}

.prfbh-preisspanne-wert {
	font-size: 2.6em;
	font-weight: 700;
	color: #1d2327;
	margin: 0 0 4px;
	line-height: 1.2;
}

.prfbh-preisspanne-trenner {
	font-weight: 400;
	color: #3c434a;
}

.prfbh-preisspanne-eur {
	font-size: 0.85em;
}

.prfbh-preisspanne-mwst {
	font-size: 0.88em;
	color: #646970;
	margin: 0 0 20px;
}

/* CTA */
.prfbh-ergebnis-cta {
	font-size: 0.95em;
	line-height: 1.6;
	color: #1d2327;
	max-width: 680px;
	margin-bottom: 28px;
}

@media (max-width: 480px) {
	.prfbh-preisspanne-wert { font-size: 1.7em; }
}

/* --------------------------------------------------------
   GLOBALE ÜBERSCHRIFT PREISRECHNER
   -------------------------------------------------------- */
.prfbh-global-titel {
	font-size: 1.5em;
	font-weight: 700;
	color: #1d2327;
	margin: 0 0 1em;
}
