/* EHNES Produktfinder – geführter Wizard. CI: Roboto, Blau/Ink, eckig. */
.pf {
	--pf-accent: #0B55A0;
	--pf-accent-dark: #08427B;
	--pf-ink: #1C2530;
	--pf-muted: #5B6770;
	--pf-line: #E5E9ED;
	--pf-soft: #EAF1F8;
	font-family: "Roboto", system-ui, sans-serif;
	max-width: 940px;
	margin-inline: auto;
	padding-inline: 20px;
	box-sizing: border-box;
}
.pf *, .pf *::before, .pf *::after { box-sizing: border-box; }

/* Kopf */
.pf__head { text-align: center; margin-bottom: 28px; }
.pf__eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px;
	font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pf-accent);
}
.pf__eyebrow svg { width: 16px; height: 16px; }
.pf__title { margin: 0 0 12px; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem); line-height: 1.15; font-weight: 700; color: var(--pf-ink); }
.pf__lead { margin: 0 auto; max-width: 640px; font-size: 18px; font-weight: 300; line-height: 1.6; color: var(--pf-muted); }

/* Karte */
.pf__card { border: 1px solid var(--pf-line); background: #fff; padding: 0; }
.pf__progress { height: 5px; background: var(--pf-soft); }
.pf__bar { display: block; height: 100%; width: 0; background: var(--pf-accent); transition: width .3s cubic-bezier(.4,0,.2,1); }

.pf__step, .pf__results { padding: 32px clamp(20px, 4vw, 44px) 8px; }
.pf__q { margin: 0 0 6px; font-size: 1.4rem; font-weight: 700; color: var(--pf-ink); }
.pf__kibadge {
	display: inline-block; vertical-align: middle; margin-right: 6px;
	padding: 3px 9px; background: var(--pf-accent); color: #fff;
	font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.pf__hint { margin: 0 0 22px; font-size: 15px; font-weight: 300; color: var(--pf-muted); }

/* Optionen */
.pf__opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pf__opt {
	position: relative; text-align: left; cursor: pointer;
	display: flex; flex-direction: column; gap: 4px;
	border: 1.5px solid var(--pf-line); border-radius: 0; background: #fff;
	padding: 16px 18px; font-family: inherit;
	transition: border-color .15s, background .15s, box-shadow .15s;
}
.pf__opt:hover { border-color: var(--pf-accent); }
.pf__opt.is-selected { border-color: var(--pf-accent); background: var(--pf-soft); box-shadow: inset 0 0 0 1px var(--pf-accent); }
.pf__opt-label { font-size: 1rem; font-weight: 600; color: var(--pf-ink); }
.pf__opt-sub { font-size: 13px; font-weight: 300; color: var(--pf-muted); }
.pf__opt-check {
	position: absolute; top: 14px; right: 14px; width: 18px; height: 18px;
	border: 1.5px solid var(--pf-line); border-radius: 50%;
}
.pf__opt.is-selected .pf__opt-check { border-color: var(--pf-accent); background: var(--pf-accent); }
.pf__opt.is-selected .pf__opt-check::after {
	content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px;
	border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* Freitext-Feld (optional, „Kind-Feld" – Auswertung folgt später) */
.pf__text {
	width: 100%; resize: vertical; min-height: 120px;
	border: 1.5px solid var(--pf-line); border-radius: 0; background: #fff;
	padding: 14px 16px; font: 300 15px/1.6 "Roboto", sans-serif; color: var(--pf-ink);
	transition: border-color .15s;
}
.pf__text:focus { outline: none; border-color: var(--pf-accent); }
.pf__text::placeholder { color: #9AA4AD; }

/* Navigation */
.pf__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px clamp(20px, 4vw, 44px) 28px; }
.pf__count { font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--pf-muted); text-transform: uppercase; }
.pf__btn {
	appearance: none; cursor: pointer; border: 2px solid var(--pf-accent); border-radius: 0;
	background: var(--pf-accent); color: #fff; font: 600 15px/1 "Roboto", sans-serif;
	padding: 13px 26px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
	transition: background .18s, border-color .18s, color .18s;
}
.pf__btn:hover { background: var(--pf-accent-dark); border-color: var(--pf-accent-dark); }
.pf__btn[disabled] { opacity: .4; cursor: not-allowed; }
.pf__btn[hidden] { display: none !important; }   /* sonst überschreibt display:inline-flex das hidden-Attribut */
.pf__btn--ghost { background: transparent; color: var(--pf-accent); }
.pf__btn--ghost:hover { background: var(--pf-soft); color: var(--pf-accent); border-color: var(--pf-accent); }

/* Ergebnisse */
.pf__note {
	margin: 0 clamp(20px,4vw,44px) 16px; padding: 14px 18px;
	background: var(--pf-soft); border-left: 3px solid var(--pf-accent);
	font-size: 15px; font-weight: 300; color: var(--pf-ink);
}
.pf__res-head { margin-bottom: 20px; }
.pf__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pf__rcard { position: relative; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--pf-line); padding: 22px 20px; }
.pf__rcard:first-child { border-color: var(--pf-accent); box-shadow: inset 0 0 0 1px var(--pf-accent); }
.pf__badge {
	align-self: flex-start; margin-bottom: 2px; padding: 3px 9px;
	background: var(--pf-accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.pf__rcat { font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--pf-accent); }
.pf__rtitle { margin: 0; font-size: 1.12rem; font-weight: 700; line-height: 1.25; color: var(--pf-ink); }
.pf__rdesc { margin: 0; font-size: 14px; font-weight: 300; line-height: 1.55; color: var(--pf-muted); }
.pf__rlink { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; font-weight: 600; color: var(--pf-accent); text-decoration: none; }
.pf__rlink:hover { color: var(--pf-accent-dark); }

.pf__res-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; padding: 26px clamp(20px,4vw,44px) 32px; }

/* Responsive */
@media (max-width: 820px) { .pf__opts { grid-template-columns: repeat(2, 1fr); } .pf__cards { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .pf__opts { grid-template-columns: 1fr; } }
