/* V. Jalba – Preisrechner (Design D „Konzertsaal“).
   Felder, Kacheln und Legenden kommen aus dem Child-Theme (.jf-form, .jf-fieldset, .hf-tile, .hf-place). */

.pr {
	--pr-ink: var(--jalba-ink, #16130f);
	--pr-gold: var(--jalba-gold, #c9a35a);
	--pr-on-dark: var(--jalba-text-on-dark, #e9e1d2);
	--pr-cream: var(--jalba-cream, #f5f1ea);
	--pr-rule: #3a342b;
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: flex-start;
}
.pr-preview {
	flex: 1 1 100%; margin: 0; padding: 12px 16px;
	background: #fff3d1; border: 1.5px dashed #a07a32; color: #5c3f10; font-size: 14px;
}
.pr-form { flex: 2 1 560px; min-width: 0; }
.pr-form .jf-fieldset:last-child { margin-bottom: 0; }
.pr-tiles { grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; }
.pr-tiles .hf-tile { padding: 20px 8px 16px; }
.pr-tiles .hf-tile-name { font-size: 16.5px; }
.pr-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 22px; }
.pr-ort { margin: 6px 0 0; min-height: 1.5em; font-size: 14px; line-height: 1.5; color: var(--jalba-text, #4a443b); }
.pr-ort.is-ok::before { content: "✓ "; color: var(--jalba-accent, #7a5418); }
.pr-place { margin-bottom: 18px; }

/* Ergebnis */
.pr-result {
	flex: 1 1 340px; min-width: 0; box-sizing: border-box;
	position: sticky; top: calc(var(--jalba-hdr-h, 0px) + 24px);
	background: var(--pr-ink); color: var(--pr-on-dark);
	padding: 36px 32px 28px;
	font-size: 15px; line-height: 1.6;
}
.pr-kicker {
	margin: 0;
	font-family: var(--jalba-ui, "Source Sans", sans-serif); font-weight: 600; font-size: 14.5px;
	letter-spacing: .14em; text-transform: uppercase; color: var(--pr-gold);
}
.pr-total {
	margin: 12px 0 2px;
	font-family: var(--jalba-serif, "Source Serif", Georgia, serif); font-weight: 700;
	font-size: 50px; line-height: 1.05; color: var(--pr-gold);
	font-variant-numeric: tabular-nums;
}
.pr-total--text { font-size: 32px; line-height: 1.15; }
.pr-vat { margin: 0 0 16px; font-size: 14px; }
.pr-route { margin: 0 0 14px; font-size: 14px; color: var(--pr-cream); }
.pr-text { margin: 0 0 14px; }
.pr-missing { margin: 0 0 8px; padding-left: 20px; }
.pr-lines { margin: 0 0 18px; padding: 0; }
.pr-line {
	display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
	padding: 11px 0; border-bottom: 1px solid var(--pr-rule);
}
.pr-line:first-child { border-top: 1px solid var(--pr-rule); }
.pr-line dt { margin: 0; min-width: 0; }
.pr-line dt small { display: block; font-size: 13px; line-height: 1.4; opacity: .85; }
.pr-line dd { margin: 0; white-space: nowrap; color: var(--pr-cream); font-variant-numeric: tabular-nums; }
.pr-sum { margin-top: 6px; }
.pr-grand dt, .pr-grand dd { font-weight: 700; color: var(--pr-gold); }
.pr-grand { border-bottom: 0; }
.pr-note {
	margin: 0 0 22px; padding: 14px 16px;
	border: 1px solid var(--pr-rule); border-left: 0; border-right: 0;
	font-size: 14px; line-height: 1.55;
}
.pr-note strong { color: var(--pr-cream); }
.pr-btn {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	width: 100%; min-height: 60px; box-sizing: border-box; padding: 0 24px;
	background: var(--pr-gold); color: var(--pr-ink); text-decoration: none;
	font-family: var(--jalba-ui, "Source Sans", sans-serif); font-weight: 600; font-size: 17px; letter-spacing: .02em;
	transition: background-color .25s, color .25s;
}
.pr-result a.pr-btn:hover, .pr-result a.pr-btn:focus-visible { background: var(--pr-cream); color: var(--pr-ink); }
.pr-after { margin: 12px 0 0; font-size: 13px; text-align: center; }
.pr-call { margin: 16px 0 0; font-size: 14px; text-align: center; }
.pr-result a:not(.pr-btn) { color: var(--pr-gold); }
.pr-result a:not(.pr-btn):hover { color: var(--pr-cream); }
.pr-result a:focus-visible { outline: 2px solid var(--pr-gold); outline-offset: 3px; }
.pr-src { margin: 14px 0 0; font-size: 12px; text-align: center; opacity: .7; }

@media (max-width: 900px) {
	.pr { gap: 36px; }
	.pr-result { position: static; scroll-margin-top: calc(var(--jalba-hdr-h, 0px) + 16px); }
}
@media (max-width: 479px) {
	.pr-tiles { grid-template-columns: repeat(2, 1fr); }
	.pr-result { padding: 28px 20px 22px; }
	.pr-total { font-size: 42px; }
}

/* ---------- Städteseiten: [jalba_ort_preise], [jalba_orte] ---------- */
.ort-preise { width: 100%; }
.ort-preis-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
	margin: 0 0 22px;
}
.ort-preis {
	background: var(--jalba-light, #faf8f4); border: 1px solid var(--jalba-line, #e2dacb);
	border-top: 2px solid var(--jalba-ink, #16130f);
	padding: 24px 24px 20px;
}
.ort-preis-label {
	margin: 0 0 10px;
	font-family: var(--jalba-ui, "Source Sans", sans-serif); font-weight: 600; font-size: 14.5px;
	letter-spacing: .14em; text-transform: uppercase; color: var(--jalba-accent, #7a5418);
}
.ort-preis-wert {
	margin: 0 0 8px;
	font-family: var(--jalba-serif, "Source Serif", Georgia, serif); font-weight: 700;
	font-size: 34px; line-height: 1.1; color: var(--jalba-ink, #16130f);
	font-variant-numeric: tabular-nums;
}
.ort-preis-note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--jalba-text, #4a443b); }
.ort-preis-liste { list-style: none; margin: 0 0 10px; padding: 0; }
.ort-preis-liste li {
	display: flex; justify-content: space-between; gap: 12px;
	padding: 7px 0; border-bottom: 1px solid var(--jalba-line, #e2dacb);
	font-variant-numeric: tabular-nums;
}
.ort-preis-liste li span:last-child { font-weight: 500; color: var(--jalba-ink, #16130f); white-space: nowrap; }
.ort-preise-hinweis, .ort-plz { margin: 0 0 10px; font-size: 15px; line-height: 1.6; color: var(--jalba-text, #4a443b); max-width: 860px; }
.ort-preise-hinweis a, .ort-plz a { color: var(--jalba-accent, #7a5418); }

.ort-liste {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px;
}
.ort-liste li { border-bottom: 1px solid var(--jalba-line, #e2dacb); }
.ort-liste a, .ort-liste span { display: block; padding: 13px 0; font-size: 16px; }
.ort-liste a { color: var(--jalba-ink, #16130f); text-decoration: none; }
.ort-liste a::after { content: " →"; color: var(--jalba-accent, #7a5418); }
.ort-liste a:hover, .ort-liste a:focus-visible { color: var(--jalba-accent, #7a5418); }
.ort-liste span { color: var(--jalba-text, #4a443b); }
@media (max-width: 600px) {
	.ort-preis { padding: 20px 18px 16px; }
	.ort-preis-wert { font-size: 28px; }
}
