/**
 * Gestaltung des Solar-Konfigurators als Klickstrecke (seit Version 1.2.0).
 *
 * Baut auf ps-frontend.css auf (Variablen, Grundschrift). Alle Regeln hängen
 * an .ps-rechner.pk und sind bewusst spezifisch genug, damit weder Theme noch
 * Elementor-Kit Schaltflächen, Felder oder Überschriften umfärben können.
 *
 * Farben: --ps-primaer (Akzent, Auswahl), --ps-akzent (Haupthandlung),
 * --ps-dunkel (Schrift), --ps-hell (helle Fläche), --ps-signal (Signalgrün).
 */

.ps-rechner.pk {
	--ps-signal: #8DC63F;
	--ps-warn-flaeche: #FDF1E6;
	--ps-warn-linie: #F2CFAE;
}

.ps-rechner.pk [hidden] { display: none !important; }

/* ---- Hinweisband zur Unverbindlichkeit ---------------------------------- */

.ps-rechner.pk .pk-band {
	display: flex; align-items: flex-start; gap: 10px;
	background: var(--ps-warn-flaeche);
	border: 1px solid var(--ps-warn-linie);
	border-radius: 12px;
	padding: 11px 14px;
	margin: 0 0 18px;
	color: var(--ps-dunkel);
	font-size: 0.9rem; line-height: 1.45;
}
.ps-rechner.pk .pk-band p { margin: 0; }
.ps-rechner.pk .pk-band__symbol { flex: none; width: 20px; height: 20px; color: var(--ps-akzent); margin-top: 1px; }
.ps-rechner.pk .pk-noscript { padding: 14px 16px; background: var(--ps-warn-flaeche); border-radius: 12px; }

/* ---- Raster -------------------------------------------------------------- */

.ps-rechner.pk .pk-raster {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.ps-rechner.pk .pk-strecke {
	background: #FFFFFF;
	border: 1px solid var(--ps-linie);
	border-radius: var(--ps-ecken);
	box-shadow: 0 14px 40px -24px rgba(22, 36, 27, 0.35);
	padding: 24px 28px 22px;
	min-width: 0;
}

/* ---- Fortschritt --------------------------------------------------------- */

.ps-rechner.pk .pk-fortschritt__zeile {
	display: flex; justify-content: space-between; gap: 10px;
	font-size: 0.82rem; font-weight: 600; color: var(--ps-leise);
	margin-bottom: 8px;
}
.ps-rechner.pk .pk-fortschritt__thema {
	color: var(--ps-primaer); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.74rem;
}
.ps-rechner.pk .pk-fortschritt__spur {
	height: 7px; border-radius: 999px; background: #E7ECE3; overflow: hidden;
}
.ps-rechner.pk .pk-fortschritt__balken {
	display: block; height: 100%; width: 4%;
	background: var(--ps-signal);
	border-radius: 999px;
	transition: width 0.35s ease;
}

/* ---- Frage --------------------------------------------------------------- */

.ps-rechner.pk .pk-frage {
	margin: 22px 0 6px;
	font-size: 1.5rem; font-weight: 700; line-height: 1.25;
	color: var(--ps-dunkel);
	outline: none;
}
.ps-rechner.pk .pk-hilfe { margin: 0 0 18px; color: var(--ps-leise); font-size: 0.95rem; max-width: 60ch; }

/* ---- Kacheln ------------------------------------------------------------- */

.ps-rechner.pk .pk-kacheln { display: grid; gap: 12px; }
.ps-rechner.pk .pk-kacheln--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ps-rechner.pk .pk-kacheln--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ps-rechner.pk .pk-kachel {
	-webkit-appearance: none; appearance: none;
	position: relative;
	display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
	width: 100%; min-height: 100%;
	margin: 0;
	padding: 16px 16px 15px;
	background: #FFFFFF;
	border: 1.5px solid var(--ps-linie);
	border-radius: calc(var(--ps-ecken) - 4px);
	box-shadow: none;
	color: var(--ps-text);
	font: inherit; font-size: 0.95rem; font-weight: 400; line-height: 1.4;
	letter-spacing: normal; text-transform: none; text-align: left; text-decoration: none;
	white-space: normal; overflow-wrap: break-word;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}
.ps-rechner.pk .pk-kachel:hover {
	background: #FFFFFF;
	color: var(--ps-text);
	border-color: var(--ps-primaer);
	box-shadow: 0 10px 22px -14px rgba(22, 36, 27, 0.45);
	transform: translateY(-2px);
}
/* Elementor-Kit und Themes färben Schaltflächen bei :focus um – hier
   ausdrücklich zurücksetzen, sonst bleibt die angeklickte Kachel dunkel. */
.ps-rechner.pk .pk-kachel:focus { outline: none; background: #FFFFFF; color: var(--ps-text); border-color: var(--ps-linie); }
.ps-rechner.pk .pk-kachel:focus-visible { outline: 3px solid var(--ps-signal); outline-offset: 2px; }

.ps-rechner.pk .pk-kachel.ist-aktiv,
.ps-rechner.pk .pk-kachel.ist-aktiv:hover,
.ps-rechner.pk .pk-kachel.ist-aktiv:focus {
	background: var(--ps-hell);
	border-color: var(--ps-primaer);
	box-shadow: inset 0 0 0 1px var(--ps-primaer);
}

.ps-rechner.pk .pk-kachel__symbol {
	display: flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; border-radius: 50%;
	background: var(--ps-hell); color: var(--ps-primaer);
	transition: background-color 0.15s ease, color 0.15s ease;
}
.ps-rechner.pk .pk-kachel__symbol .pk-symbol { width: 26px; height: 26px; }
.ps-rechner.pk .pk-kachel.ist-aktiv .pk-kachel__symbol { background: var(--ps-signal); color: var(--ps-dunkel); }

.ps-rechner.pk .pk-kachel__titel {
	font-weight: 700; font-size: 1rem; color: var(--ps-dunkel); line-height: 1.3; padding-right: 26px; max-width: 100%;
	-webkit-hyphens: auto; hyphens: auto;
	overflow-wrap: break-word;
}
.ps-rechner.pk .pk-kachel__text { max-width: 100%; -webkit-hyphens: manual; hyphens: manual; overflow-wrap: break-word; }
.ps-rechner.pk .pk-kachel__titel--gross { font-size: 1.35rem; padding-right: 0; }
.ps-rechner.pk .pk-kachel__text { font-size: 0.84rem; color: var(--ps-leise); }
.ps-rechner.pk .pk-kachel__wert { font-weight: 700; font-size: 0.95rem; color: var(--ps-primaer); }
.ps-rechner.pk .pk-kachel__marke {
	margin-top: 2px;
	background: var(--ps-signal); color: var(--ps-dunkel);
	border-radius: 999px; padding: 3px 9px;
	font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}

.ps-rechner.pk .pk-kachel__haken {
	position: absolute; top: 10px; right: 10px;
	display: flex; align-items: center; justify-content: center;
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--ps-primaer); color: #FFFFFF;
	opacity: 0; transform: scale(0.6);
	transition: opacity 0.15s ease, transform 0.15s ease;
}
.ps-rechner.pk .pk-kachel__haken .pk-symbol { width: 14px; height: 14px; stroke-width: 3; }
.ps-rechner.pk .pk-kachel.ist-aktiv .pk-kachel__haken { opacity: 1; transform: scale(1); }

/* Mehrfachauswahl: leeres Kästchen statt unsichtbarem Haken */
.ps-rechner.pk .pk-kachel--mehrfach .pk-kachel__haken {
	opacity: 1; transform: none;
	background: #FFFFFF; color: transparent;
	box-shadow: inset 0 0 0 1.5px var(--ps-linie);
	border-radius: 6px;
}
.ps-rechner.pk .pk-kachel--mehrfach.ist-aktiv .pk-kachel__haken {
	background: var(--ps-primaer); color: #FFFFFF; box-shadow: none;
}

.ps-rechner.pk .pk-kachel.ist-gesperrt,
.ps-rechner.pk .pk-kachel.ist-gesperrt:hover {
	opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; border-color: var(--ps-linie);
}

/* Größenvorschläge: zentriert und kompakt */
.ps-rechner.pk .pk-kachel--kompakt { align-items: center; text-align: center; justify-content: center; min-height: 96px; }
.ps-rechner.pk .pk-kachel--kompakt .pk-kachel__titel { padding-right: 0; }

/* ---- Eingabefelder ------------------------------------------------------- */

.ps-rechner.pk .pk-feld { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.ps-rechner.pk .pk-feld--breit { grid-column: 1 / -1; }
.ps-rechner.pk .pk-feld__label { font-size: 0.86rem; font-weight: 600; color: var(--ps-dunkel); }
.ps-rechner.pk .pk-feld__label em { color: var(--ps-akzent); font-style: normal; }
.ps-rechner.pk .pk-feld__einheit { display: flex; align-items: center; gap: 8px; color: var(--ps-leise); font-weight: 600; }

.ps-rechner.pk .pk-eingabe {
	-webkit-appearance: none; appearance: none;
	width: 100%; min-height: 46px;
	margin: 0; padding: 11px 13px;
	background: #FFFFFF;
	border: 1.5px solid var(--ps-linie);
	border-radius: 10px;
	box-shadow: none;
	color: var(--ps-text);
	font: inherit; font-size: 1rem; line-height: 1.4;
}
.ps-rechner.pk textarea.pk-eingabe { min-height: 90px; resize: vertical; }
.ps-rechner.pk .pk-eingabe:focus {
	outline: none;
	border-color: var(--ps-primaer);
	box-shadow: 0 0 0 3px var(--ps-hell);
}
.ps-rechner.pk .pk-feld__einheit .pk-eingabe { width: 140px; }

/* Postleitzahl */
.ps-rechner.pk .pk-plz {
	display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 6px 16px;
	background: var(--ps-papier); border-radius: 14px; padding: 18px 20px;
}
.ps-rechner.pk .pk-plz__symbol {
	grid-row: span 2; align-self: center;
	display: flex; align-items: center; justify-content: center;
	width: 54px; height: 54px; border-radius: 50%;
	background: var(--ps-signal); color: var(--ps-dunkel);
}
.ps-rechner.pk .pk-plz__symbol .pk-symbol { width: 28px; height: 28px; }
.ps-rechner.pk .pk-eingabe--plz { max-width: 210px; font-size: 1.5rem; font-weight: 700; letter-spacing: 0.18em; }
.ps-rechner.pk .pk-plz__region { margin: 4px 0 0; font-size: 0.9rem; color: var(--ps-leise); }
.ps-rechner.pk .pk-plz__region b { color: var(--ps-dunkel); }

/* Größe genau */
.ps-rechner.pk .pk-genau { margin-top: 18px; padding: 16px 18px; background: var(--ps-papier); border-radius: 14px; }
.ps-rechner.pk .pk-genau__titel { margin: 0 0 10px; font-weight: 700; color: var(--ps-dunkel); font-size: 0.95rem; }
.ps-rechner.pk .pk-genau__felder { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; }
.ps-rechner.pk .pk-genau__oder { padding-bottom: 12px; color: var(--ps-leise); font-size: 0.85rem; }
.ps-rechner.pk .pk-genau__grenze { margin: 12px 0 0; font-size: 0.84rem; color: var(--ps-leise); }

/* ---- Navigation und Schaltflächen ---------------------------------------- */

.ps-rechner.pk .pk-navigation {
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	margin-top: 24px; padding-top: 18px;
	border-top: 1px solid var(--ps-linie);
}

.ps-rechner.pk .pk-knopf {
	-webkit-appearance: none; appearance: none;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	margin: 0; min-height: 48px;
	padding: 12px 24px;
	border: 2px solid transparent;
	border-radius: 999px;
	box-shadow: none;
	font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2;
	letter-spacing: normal; text-transform: none; text-decoration: none; white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.ps-rechner.pk .pk-knopf .pk-symbol { width: 18px; height: 18px; }
.ps-rechner.pk .pk-knopf:focus-visible { outline: 3px solid var(--ps-signal); outline-offset: 2px; }
.ps-rechner.pk .pk-knopf[disabled] { opacity: 0.6; cursor: default; }

.ps-rechner.pk .pk-knopf--weiter { background: var(--ps-primaer); color: #FFFFFF; border-color: var(--ps-primaer); }
.ps-rechner.pk .pk-knopf--weiter:hover,
.ps-rechner.pk .pk-knopf--weiter:focus { background: var(--ps-dunkel); color: #FFFFFF; border-color: var(--ps-dunkel); transform: translateX(2px); }

.ps-rechner.pk .pk-knopf--leise { background: #FFFFFF; color: var(--ps-dunkel); border-color: var(--ps-linie); padding-left: 18px; padding-right: 20px; }
.ps-rechner.pk .pk-knopf--leise:hover,
.ps-rechner.pk .pk-knopf--leise:focus { background: #FFFFFF; color: var(--ps-primaer); border-color: var(--ps-primaer); }
.ps-rechner.pk .pk-knopf.ist-unsichtbar { visibility: hidden; }

.ps-rechner.pk .pk-knopf--akzent { background: var(--ps-akzent); color: #FFFFFF; border-color: var(--ps-akzent); }
.ps-rechner.pk .pk-knopf--akzent:hover,
.ps-rechner.pk .pk-knopf--akzent:focus { background: var(--ps-dunkel); color: #FFFFFF; border-color: var(--ps-dunkel); }

.ps-rechner.pk .pk-knopf--rand { background: #FFFFFF; color: var(--ps-dunkel); border-color: var(--ps-linie); }
.ps-rechner.pk .pk-knopf--rand:hover,
.ps-rechner.pk .pk-knopf--rand:focus { background: #FFFFFF; color: var(--ps-primaer); border-color: var(--ps-primaer); }

/* ---- Mitlaufende Schätzung ----------------------------------------------- */

.ps-rechner.pk .pk-live {
	position: sticky;
	top: calc(var(--ps-oben, 0px) + 16px);
	background-color: var(--ps-signal);
	background-image: linear-gradient(160deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 62%);
	color: var(--ps-dunkel);
	border-radius: var(--ps-ecken);
	padding: 22px 22px 18px;
	box-shadow: 0 14px 34px -22px rgba(22, 36, 27, 0.55);
	/* Bei vielen Antworten nie höher als der sichtbare Bereich */
	max-height: calc(100vh - var(--ps-oben, 0px) - 32px);
	overflow-y: auto; overflow-x: hidden;
	scrollbar-width: thin;
}
.ps-rechner.pk .pk-live__label,
.ps-rechner.pk .pk-live__untertitel {
	display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.ps-rechner.pk .pk-live__preis { display: block; margin: 6px 0 2px; font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
.ps-rechner.pk .pk-live__zusatz { display: block; font-size: 0.8rem; }

.ps-rechner.pk .pk-live__daten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0 14px; }
.ps-rechner.pk .pk-live__daten div { background: rgba(255, 255, 255, 0.5); border-radius: 10px; padding: 8px 10px; }
.ps-rechner.pk .pk-live__daten dt { margin: 0; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.ps-rechner.pk .pk-live__daten dd { margin: 2px 0 0; font-size: 0.92rem; font-weight: 700; }

.ps-rechner.pk .pk-live ol,
.ps-rechner.pk .pk-antworten { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.ps-rechner.pk .pk-live li,
.ps-rechner.pk .pk-antworten li { margin: 0; padding: 0; }

.ps-rechner.pk .pk-antwort {
	-webkit-appearance: none; appearance: none;
	display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px;
	width: 100%; margin: 0;
	padding: 7px 10px;
	background: rgba(255, 255, 255, 0.4);
	border: 0; border-radius: 9px; box-shadow: none;
	color: var(--ps-dunkel);
	font: inherit; font-size: 0.84rem; line-height: 1.35; text-align: left; text-transform: none; letter-spacing: normal;
	white-space: normal; overflow-wrap: anywhere;
	cursor: pointer;
}
.ps-rechner.pk .pk-antwort:hover,
.ps-rechner.pk .pk-antwort:focus { background: rgba(255, 255, 255, 0.75); color: var(--ps-dunkel); }
.ps-rechner.pk .pk-antwort:focus-visible { outline: 2px solid var(--ps-dunkel); outline-offset: 1px; }
.ps-rechner.pk .pk-antwort__thema { grid-column: 1; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.8; }
.ps-rechner.pk .pk-antwort__wert { grid-column: 1; font-weight: 700; }
.ps-rechner.pk .pk-antwort__aendern { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 0.78rem; text-decoration: underline; }
.ps-rechner.pk .pk-antworten .pk-antwort { background: var(--ps-papier); }
.ps-rechner.pk .pk-antworten .pk-antwort:hover { background: var(--ps-hell); }

/* ---- Ergebnis ------------------------------------------------------------ */

.ps-rechner.pk .pk-preis {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
	background-color: var(--ps-signal);
	background-image: linear-gradient(160deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 60%);
	color: var(--ps-dunkel);
	border-radius: var(--ps-ecken);
	padding: 24px 20px;
	margin-top: 14px;
}
.ps-rechner.pk .pk-preis__label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.ps-rechner.pk .pk-preis__wert { font-size: 2rem; font-weight: 800; line-height: 1.15; }
.ps-rechner.pk .pk-preis__zusatz { font-size: 0.86rem; }

.ps-rechner.pk .pk-haftung {
	display: flex; align-items: flex-start; gap: 12px;
	margin: 14px 0;
	padding: 14px 16px;
	background: var(--ps-warn-flaeche);
	border: 1px solid var(--ps-warn-linie);
	border-left: 5px solid var(--ps-akzent);
	border-radius: 12px;
	color: var(--ps-dunkel);
}
.ps-rechner.pk .pk-haftung p { margin: 0; font-size: 0.9rem; line-height: 1.5; }
.ps-rechner.pk .pk-haftung__symbol { flex: none; width: 22px; height: 22px; color: var(--ps-akzent); margin-top: 1px; }

.ps-rechner.pk .pk-zahlen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ps-rechner.pk .pk-zahl { border: 1px solid var(--ps-linie); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.ps-rechner.pk .pk-zahl__wert { font-size: 1.15rem; font-weight: 700; color: var(--ps-dunkel); }
.ps-rechner.pk .pk-zahl__label { font-size: 0.78rem; color: var(--ps-leise); }

.ps-rechner.pk .pk-hinweise { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.ps-rechner.pk .pk-hinweis { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--ps-papier); border-left: 4px solid var(--ps-primaer); font-size: 0.9rem; }
.ps-rechner.pk .pk-hinweis.ist-warnung { background: var(--ps-warn-flaeche); border-left-color: var(--ps-akzent); }

.ps-rechner.pk .pk-details { margin: 14px 0 0; border: 1px solid var(--ps-linie); border-radius: 12px; background: #FFFFFF; }
.ps-rechner.pk .pk-details summary {
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	padding: 14px 16px;
	font-weight: 700; color: var(--ps-dunkel);
	cursor: pointer; list-style: none;
}
.ps-rechner.pk .pk-details summary::-webkit-details-marker { display: none; }
.ps-rechner.pk .pk-details summary::after {
	content: ""; flex: none; width: 9px; height: 9px;
	border-right: 2px solid var(--ps-primaer); border-bottom: 2px solid var(--ps-primaer);
	transform: rotate(45deg) translateY(-3px); transition: transform 0.15s ease;
}
.ps-rechner.pk .pk-details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.ps-rechner.pk .pk-details summary:focus-visible { outline: 3px solid var(--ps-signal); outline-offset: 2px; border-radius: 12px; }
.ps-rechner.pk .pk-details__innen { padding: 0 16px 16px; }

.ps-rechner.pk .pk-position { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--ps-linie); }
.ps-rechner.pk .pk-position__text b { display: block; color: var(--ps-dunkel); }
.ps-rechner.pk .pk-position__text span { display: block; font-size: 0.82rem; color: var(--ps-leise); }
.ps-rechner.pk .pk-position__wert { white-space: nowrap; color: var(--ps-dunkel); }

.ps-rechner.pk .pk-zeilen { display: flex; flex-direction: column; }
.ps-rechner.pk .pk-zeilen--summe { margin-top: 8px; }
.ps-rechner.pk .pk-zeile { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; font-size: 0.92rem; }
.ps-rechner.pk .pk-zeile b { white-space: nowrap; color: var(--ps-dunkel); }
.ps-rechner.pk .pk-zeile--stark { border-top: 2px solid var(--ps-linie); margin-top: 4px; padding-top: 9px; font-weight: 800; }
.ps-rechner.pk .pk-untertitel { margin: 18px 0 6px; font-size: 0.95rem; font-weight: 700; color: var(--ps-dunkel); }
.ps-rechner.pk .pk-querverweis { margin: 14px 0 0; font-size: 0.92rem; }
.ps-rechner.pk .pk-querverweis a { color: var(--ps-primaer); font-weight: 700; }

/* ---- Anfrage ------------------------------------------------------------- */

.ps-rechner.pk .pk-anfrage { margin-top: 22px; padding: 22px; background: var(--ps-papier); border-radius: var(--ps-ecken); }
.ps-rechner.pk .pk-anfrage__titel { margin: 0 0 6px; font-size: 1.2rem; font-weight: 700; color: var(--ps-dunkel); }
.ps-rechner.pk .pk-anfrage__text { margin: 0 0 16px; color: var(--ps-leise); font-size: 0.92rem; }
.ps-rechner.pk .pk-anfrage__felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.ps-rechner.pk .pk-zustimmung { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; font-size: 0.86rem; color: var(--ps-text); line-height: 1.45; cursor: pointer; }
.ps-rechner.pk .pk-zustimmung input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ps-primaer); }
.ps-rechner.pk .pk-zustimmung em { color: var(--ps-akzent); font-style: normal; }
.ps-rechner.pk .pk-zustimmung a { color: var(--ps-primaer); text-decoration: underline; }
.ps-rechner.pk .pk-anfrage__aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ps-rechner.pk .pk-meldung { margin-top: 12px; padding: 11px 14px; border-radius: 10px; font-size: 0.92rem; }
.ps-rechner.pk .pk-meldung.ist-erfolg { background: var(--ps-hell); color: var(--ps-primaer); font-weight: 600; }
.ps-rechner.pk .pk-meldung.ist-fehler { background: #FAE8D8; color: #9A4E0A; }
.ps-rechner.pk .pk-meldung.ist-hinweis { background: #EFEFE8; color: var(--ps-leise); }

.ps-rechner.pk .pk-fussnote { margin-top: 14px; font-size: 0.8rem; color: var(--ps-leise); line-height: 1.5; }

/* ---- Tablet und Telefon -------------------------------------------------- */

@media (max-width: 900px) {
	.ps-rechner.pk .pk-raster { display: flex; flex-direction: column; gap: 14px; }
	.ps-rechner.pk .pk-live {
		order: -1; position: static; width: 100%;
		padding: 14px 16px;
		display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 14px;
	}
	.ps-rechner.pk .pk-live__kopf { min-width: 0; }
	.ps-rechner.pk .pk-live__preis { font-size: 1.2rem; margin: 2px 0 0; }
	.ps-rechner.pk .pk-live__daten { margin: 0; grid-template-columns: repeat(2, auto); gap: 6px; }
	.ps-rechner.pk .pk-live__daten div:last-child { display: none; }
	.ps-rechner.pk .pk-live__auswahl { display: none; }
	.ps-rechner.pk.ist-ergebnis .pk-live { display: none; }
	.ps-rechner.pk .pk-strecke { width: 100%; }
}

@media (max-width: 600px) {
	.ps-rechner.pk .pk-strecke { padding: 18px 16px 16px; }
	.ps-rechner.pk .pk-frage { font-size: 1.25rem; margin-top: 18px; }
	.ps-rechner.pk .pk-kacheln { gap: 10px; }
	/* Telefon: Auswahlkacheln einspaltig, Symbol links neben dem Text –
	   so bleiben auch lange Begriffe wie „Wirtschaftsgebäude“ ganz. */
	.ps-rechner.pk .pk-kacheln--2,
	.ps-rechner.pk .pk-kacheln--3 { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.ps-rechner.pk .pk-kachel {
		display: grid; grid-template-columns: 40px minmax(0, 1fr);
		column-gap: 12px; row-gap: 2px; align-items: start;
		padding: 12px 40px 12px 12px;
	}
	.ps-rechner.pk .pk-kachel > .pk-kachel__symbol { grid-column: 1; grid-row: 1 / span 4; }
	.ps-rechner.pk .pk-kachel > span:not(.pk-kachel__symbol):not(.pk-kachel__haken) { grid-column: 2; }
	.ps-rechner.pk .pk-kachel__marke { justify-self: start; }
	.ps-rechner.pk .pk-kachel__titel { padding-right: 0; }
	/* Größenvorschläge bleiben zweispaltig und zentriert */
	.ps-rechner.pk .pk-kacheln--groesse { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ps-rechner.pk .pk-kacheln--groesse .pk-kachel { display: flex; padding: 12px; }
	.ps-rechner.pk .pk-kachel__symbol { width: 40px; height: 40px; }
	.ps-rechner.pk .pk-kachel__symbol .pk-symbol { width: 22px; height: 22px; }
	.ps-rechner.pk .pk-kachel__titel { font-size: 0.94rem; }
	.ps-rechner.pk .pk-kachel__text { font-size: 0.8rem; }
	.ps-rechner.pk .pk-kachel__titel--gross { font-size: 1.15rem; }
	.ps-rechner.pk .pk-live { grid-template-columns: 1fr; }
	.ps-rechner.pk .pk-live__daten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ps-rechner.pk .pk-zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ps-rechner.pk .pk-preis__wert { font-size: 1.5rem; }
	.ps-rechner.pk .pk-anfrage { padding: 16px; }
	.ps-rechner.pk .pk-anfrage__felder { grid-template-columns: 1fr; }
	.ps-rechner.pk .pk-anfrage__aktionen .pk-knopf { width: 100%; white-space: normal; }
	.ps-rechner.pk .pk-navigation .pk-knopf { padding-left: 16px; padding-right: 18px; }
	.ps-rechner.pk .pk-genau__felder { flex-direction: column; align-items: stretch; }
	.ps-rechner.pk .pk-genau__oder { padding: 0; }
	.ps-rechner.pk .pk-feld__einheit .pk-eingabe { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.ps-rechner.pk *,
	.ps-rechner.pk *::before,
	.ps-rechner.pk *::after { transition: none !important; }
	.ps-rechner.pk .pk-kachel:hover { transform: none; }
}

/* Hinweis im Größenschritt, wenn die Fläche mehr als die Obergrenze hergibt */
.ps-rechner.pk .pk-genau__begrenzt {
	display: none;
	margin: 12px 0 0; padding: 9px 12px;
	background: var(--ps-warn-flaeche); border-left: 4px solid var(--ps-akzent); border-radius: 8px;
	font-size: 0.86rem; color: var(--ps-dunkel);
}
.ps-rechner.pk.ist-begrenzt .pk-genau__begrenzt { display: block; }

@media (max-width: 900px) {
	.ps-rechner.pk .pk-live { max-height: none; overflow: visible; }
}
