/**
 * herkunft.css — Kachel „Woher kennen Sie installateur.at?" (functions/herkunft.php)
 * und das Feedback-Formular (functions/feedback.php).
 *
 * Design nach RR-Vorgabe: flach, keine Verläufe, keine Schatten-Orgien.
 * Farben aus dem bestehenden Kanon (#1f2d3d Text, #1c7291 Links, #dbe3ec Linien).
 */

/* ── Herkunfts-Kachel ─────────────────────────────────────────────────── */
.ihk-dock {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 900;
	max-width: 380px;
	width: calc(100% - 40px);
}
.ihk {
	position: relative;
	background: #fff;
	border: 1px solid #dbe3ec;
	border-radius: 12px;
	padding: 18px 18px 14px;
	box-shadow: 0 6px 24px rgba(31, 45, 61, .12);
}
.ihk-x {
	position: absolute;
	top: 6px;
	right: 8px;
	border: 0;
	background: none;
	font-size: 22px;
	line-height: 1;
	color: #8a94a3;
	cursor: pointer;
	padding: 4px 8px;
}
.ihk-x:hover, .ihk-x:focus { color: #1f2d3d; }
.ihk-q {
	margin: 0 24px 12px 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
	color: #1f2d3d;
}
.ihk-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.ihk-opt {
	font: inherit;
	font-size: 14px;
	padding: 9px 13px;
	border: 1px solid #ccd6e2;
	border-radius: 8px;
	background: #f7f9fb;
	color: #1f2d3d;
	cursor: pointer;
	/* Tap-Ziel: 44 px Mindesthöhe (a11y-Vorgabe, s. Memory a11y-100). */
	min-height: 44px;
}
.ihk-opt:hover, .ihk-opt:focus { border-color: #1c7291; background: #fff; }

.ihk-frei { margin-top: 12px; }
.ihk-frei-l { display: block; font-size: 14px; color: #5c6b80; margin-bottom: 6px; }
.ihk-frei-in {
	font: inherit;
	font-size: 15px;
	width: 100%;
	padding: 10px 12px;
	border: 1.5px solid #ccd6e2;
	border-radius: 8px;
	color: #1f2d3d;
}
.ihk-frei-in:focus { outline: none; border-color: #1c7291; }
.ihk-frei-ok {
	font: inherit;
	font-size: 15px;
	margin-top: 8px;
	padding: 10px 18px;
	min-height: 44px;
	border: 0;
	border-radius: 8px;
	background: #1e456c;
	color: #fff;
	cursor: pointer;
}
.ihk-frei-ok:hover, .ihk-frei-ok:focus { background: #1c7291; }

.ihk-fine { margin: 12px 0 0; font-size: 13px; color: #7a8798; }
.ihk-skip {
	font: inherit;
	font-size: 13px;
	border: 0;
	background: none;
	padding: 0;
	color: #1c7291;
	text-decoration: underline;
	cursor: pointer;
}
.ihk-done { margin: 0; font-size: 15px; font-weight: 700; color: #1e456c; }

@media (max-width: 640px) {
	.ihk-dock { right: 10px; left: 10px; bottom: 10px; width: auto; max-width: none; }
	.ihk { padding: 16px 14px 12px; }
}

/* ── Feedback-Formular ────────────────────────────────────────────────── */
.ifb-wrap { max-width: 680px; margin: 0 auto; }
.ifb-lede { font-size: 17px; line-height: 1.6; color: #5c6b80; margin: 0 0 24px; }
.ifb-form { background: #fff; border: 1px solid #e3e9f0; border-radius: 14px; padding: 24px 22px; }
.ifb-label { display: block; font-size: 15px; font-weight: 600; color: #1f2d3d; margin: 16px 0 6px; }
.ifb-label:first-child { margin-top: 0; }
.ifb-label span { font-weight: 400; color: #7a8798; }
.ifb-input, .ifb-textarea, .ifb-select {
	font: inherit;
	font-size: 16px;
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid #ccd6e2;
	border-radius: 9px;
	color: #1f2d3d;
	background: #fff;
}
.ifb-textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.ifb-input:focus, .ifb-textarea:focus, .ifb-select:focus { outline: none; border-color: #1c7291; }
.ifb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ifb-chip {
	font: inherit;
	font-size: 14px;
	padding: 9px 14px;
	min-height: 44px;
	border: 1px solid #ccd6e2;
	border-radius: 8px;
	background: #f7f9fb;
	color: #1f2d3d;
	cursor: pointer;
}
.ifb-chip.is-on { border-color: #1c7291; background: #fff; font-weight: 700; color: #1e456c; }
.ifb-send {
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	margin-top: 20px;
	padding: 14px 28px;
	min-height: 48px;
	border: 0;
	border-radius: 9px;
	background: #1e456c;
	color: #fff;
	cursor: pointer;
}
.ifb-send:hover, .ifb-send:focus { background: #1c7291; }
.ifb-send[disabled] { opacity: .55; cursor: default; }
.ifb-fine { margin: 14px 0 0; font-size: 13px; color: #7a8798; line-height: 1.55; }
.ifb-msg { margin: 16px 0 0; padding: 14px 16px; border-radius: 9px; font-size: 15px; }
.ifb-msg.is-ok { background: #eef7f0; border: 1px solid #bcdcc4; color: #23543a; }
.ifb-msg.is-err { background: #fdf0ef; border: 1px solid #f0c4bf; color: #7a2f26; }
