/* Abstreifer-Konfigurator, nach "Konfigurator Bildschirmentwürfe" vom 05.11.2026. */

.kk {
	--kk-rot: #e21e1f;
	--kk-rot-dunkel: #c0181a;
	--kk-rot-hell: #f18e8f;
	--kk-flaeche: #1b1b20;
	--kk-flaeche-2: #2a2a31;
	--kk-rahmen: #55555e;
	--kk-hell: #fafafa;
	--kk-text: #fff;
	--kk-grau: #b9bbc2;
	--kk-dunkeltext: #1b1b20;
	--kk-dunkelgrau: #5f5f6b;
	position: relative;
	margin-top: 16px;
	padding: 36px 40px;
	border-radius: 12px;
	background: var(--kk-flaeche);
	color: var(--kk-text);
	font-family: Barlow, sans-serif;
	font-size: 16px;
	line-height: 1.4;
}
.kk *, .kk *::before, .kk *::after { box-sizing: border-box; }
.kk [hidden] { display: none !important; }

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

.kk__fortschritt { margin-bottom: 28px; }
.kk__schritte { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 0; list-style: none; }
.kk__schritte li { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--kk-grau); font-size: 17px; }
.kk__punkt { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 1.5px solid var(--kk-grau); border-radius: 50%; font-size: 15px; }
.kk__punkt svg { width: 16px; height: 16px; }
.kk__schritte .is-aktiv { color: #fff; font-weight: 600; }
.kk__schritte .is-aktiv .kk__punkt { border-color: var(--kk-rot); background: var(--kk-rot); color: #fff; font-weight: 700; }
.kk__schritte .is-fertig .kk__punkt { border-color: var(--kk-flaeche-2); background: #3a3a43; color: #fff; }
.kk__schritte .is-weg { opacity: 0.35; text-decoration: line-through; }
/* Erledigte Schritte führen zurück. */
.kk .kk__schritt-knopf { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; color: inherit; font: inherit; letter-spacing: 0; text-transform: none; cursor: pointer; }
.kk .kk__schritt-knopf:hover, .kk .kk__schritt-knopf:focus { background: transparent; color: #fff; }
.kk .kk__schritt-knopf:hover .kk__punkt { border-color: var(--kk-rot-hell); }
.kk .kk__schritt-knopf:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 4px; }
.kk__mobil-schritt, .kk__balken { display: none; }
.kk__kurzweg { margin: 0 0 20px; color: var(--kk-grau); font-weight: 600; }

/* --- Fragen --------------------------------------------------------- */

.kk__frage { margin-bottom: 26px; }
.kk__frage:last-child { margin-bottom: 0; }
.kk .kk__frage-titel, .kk .kk__ergebnis-titel, .kk__kasten h3 {
	margin: 0 0 14px;
	color: #fff;
	font: 600 26px/1.2 Barlow, sans-serif;
	letter-spacing: 0;
	text-transform: none;
}
.kk [data-kk-titel]:focus { outline: none; }
.kk__hinweis { margin: -8px 0 12px; color: var(--kk-grau); font-size: 15px; }
.kk__fehler { margin: 10px 0 0; color: #ff8a8a; font-size: 15px; font-weight: 600; }

.kk__kacheln { display: grid; gap: 12px; }
.kk__kacheln--1 { grid-template-columns: 1fr; }
.kk__kacheln--2 { grid-template-columns: repeat(2, 1fr); }
.kk__kacheln--3 { grid-template-columns: repeat(3, 1fr); }
.kk__kacheln--4 { grid-template-columns: repeat(4, 1fr); }
.kk__kacheln--5 { grid-template-columns: repeat(5, 1fr); }

.kk .kk__kachel {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 56px;
	width: 100%;
	margin: 0;
	padding: 12px 16px;
	border: 2px solid transparent;
	border-radius: 6px;
	background: var(--kk-hell);
	box-shadow: none;
	color: var(--kk-dunkeltext);
	font: 600 16px/1.25 Barlow, sans-serif;
	letter-spacing: 0;
	text-align: center;
	text-transform: none;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}
/* Mouseover und Antippen zeigen die Auswahl in Hellrot, gewählt ist Rot. */
.kk .kk__kachel:hover, .kk .kk__kachel:active { border-color: var(--kk-rot-hell); background: #fff; color: var(--kk-dunkeltext); }
.kk .kk__kachel:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.kk .kk__kachel.is-an { border-color: var(--kk-rot); background: #fff; }
/* strong wäre sonst "bolder" als die Kachel, bei 700 also 900. */
.kk .kk__kachel strong { font-weight: inherit; }
.kk .kk__kachel--gross { align-items: flex-start; padding: 16px 20px; text-align: left; }
.kk .kk__kachel--gross strong, .kk .kk__kachel--breit strong { font-size: 19px; font-weight: 600; }
.kk .kk__kachel--gross span { color: var(--kk-dunkelgrau); font-size: 15.5px; font-weight: 400; }
.kk .kk__kachel--dunkel { border-color: var(--kk-rahmen); background: var(--kk-flaeche-2); color: #fff; }
.kk .kk__kachel--dunkel:hover, .kk .kk__kachel--dunkel:active { border-color: var(--kk-rot-hell); background: #32323a; color: #fff; }
.kk .kk__kachel--dunkel.is-an { border-color: var(--kk-rot); background: #32323a; color: #fff; }
.kk .kk__kachel--breit { align-items: flex-start; margin-top: 12px; padding: 14px 18px; text-align: left; }
.kk .kk__kachel--klein { width: auto; min-height: 46px; margin-top: 12px; padding: 10px 22px; }
.kk .kk__kachel--mini { width: auto; min-height: 0; margin-top: 8px; padding: 8px 14px; font-size: 14px; }
.kk .kk__kachel--bild { justify-content: flex-end; gap: 10px; min-height: 120px; padding: 14px 10px 12px; }
.kk .kk__kachel--bild img { display: block; width: 100%; max-width: 190px; height: 64px; object-fit: contain; }

.kk__zusatz { padding: 22px 26px; border-left: 4px solid var(--kk-rot); border-radius: 4px; background: var(--kk-flaeche-2); }
.kk__zusatz .kk__kachel--dunkel { background: var(--kk-flaeche); }

/* Materialauswahl */
.kk__material { position: relative; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 12px; }
.kk__material .kk__kachel--klein { margin-top: 0; min-height: 56px; }
.kk__combo { position: relative; display: flex; align-items: center; gap: 12px; flex: 1 1 320px; height: 56px; padding: 0 16px; border: 2px solid transparent; border-radius: 6px; background: var(--kk-hell); color: var(--kk-dunkeltext); }
.kk__combo.is-offen { border-color: var(--kk-rot); background: #fff; }
.kk__combo img, .kk__combo .kk__mat-farbe { width: 36px; height: 36px; flex: none; border-radius: 4px; object-fit: cover; }
.kk .kk__combo input { flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; color: var(--kk-dunkeltext); font: 500 17px Barlow, sans-serif; outline: none; }
.kk .kk__combo input::placeholder { color: #85858f; opacity: 1; }
.kk__combo > svg { width: 22px; height: 22px; flex: none; color: var(--kk-rot); }
.kk__liste { position: absolute; z-index: 30; top: 62px; left: 0; right: 0; max-height: 340px; margin: 0; padding: 6px; overflow: auto; border-radius: 6px; background: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); color: var(--kk-dunkeltext); list-style: none; }
.kk__liste li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 7px 10px; border-radius: 4px; cursor: pointer; font-size: 16px; }
.kk__liste li:hover, .kk__liste li.is-aktiv { background: #f0f0f3; }
.kk__liste li[aria-selected="true"] { font-weight: 700; }
.kk__liste img, .kk__liste .kk__mat-farbe { width: 34px; height: 34px; flex: none; border-radius: 4px; object-fit: cover; }
.kk__mat-farbe { display: block; background: linear-gradient(135deg, #c7c2b8, #8f8a80); }
.kk__sonstiges { margin-top: 14px; }
.kk__sonstiges label { display: block; margin-bottom: 6px; font-weight: 600; }
.kk__sonstiges label span { color: var(--kk-grau); font-weight: 400; }
.kk .kk__sonstiges input { width: 100%; height: 50px; padding: 0 16px; border: 0; border-radius: 6px; background: var(--kk-hell); color: var(--kk-dunkeltext); font: 500 16px Barlow, sans-serif; }

/* Maße mit Skizze */
.kk__mass { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.kk__mass--schief { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.kk__skizze { margin: 0; padding: 12px; border-radius: 4px; background: var(--kk-hell); }
.kk__skizze svg { display: block; width: 100%; height: auto; }
.kk__skizze figcaption { margin-top: 6px; color: #d01c24; font-size: 15px; text-align: center; }
.kk__skizze--mobil { display: none; }
.kk__mass--schief .kk__skizze { order: 2; }
.kk__zahl { margin-bottom: 14px; }
.kk__zahl label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 17px; }
.kk__eingabe { position: relative; }
.kk .kk__eingabe input { width: 100%; height: 52px; margin: 0; padding: 0 52px 0 16px; border: 2px solid transparent; border-radius: 6px; background: var(--kk-hell); box-shadow: none; color: var(--kk-dunkeltext); font: 500 18px Barlow, sans-serif; }
.kk .kk__eingabe input:focus { border-color: var(--kk-rot); outline: none; background: #fff; }
.kk .kk__eingabe input::placeholder { color: #85858f; opacity: 1; }
.kk__eingabe span { position: absolute; top: 50%; right: 16px; transform: translateY(-50%); color: var(--kk-dunkelgrau); }
.kk__zahl > .kk__kachel--dunkel:not(.kk__kachel--mini) { margin-top: 12px; }

/* --- Fuß ------------------------------------------------------------ */

.kk__fuss { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 34px; }
.kk .kk__knopf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin: 0;
	padding: 12px 30px;
	border: 1.5px solid transparent;
	border-radius: 6px;
	box-shadow: none;
	font: 700 18px/1 Barlow, sans-serif;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	cursor: pointer;
}
.kk .kk__knopf--rot { border-color: var(--kk-rot); background: var(--kk-rot); color: #fff; }
.kk .kk__knopf--rot:hover, .kk .kk__knopf--rot:focus { border-color: var(--kk-rot-dunkel); background: var(--kk-rot-dunkel); color: #fff; }
.kk .kk__knopf--rahmen { border-color: #8a8a94; background: transparent; color: #fff; font-weight: 500; }
.kk .kk__knopf--rahmen:hover, .kk .kk__knopf--rahmen:focus { border-color: #fff; background: transparent; color: #fff; }
.kk .kk__hilfe { margin: 0; padding: 6px; border: 0; background: transparent; box-shadow: none; color: #fff; font: 500 17px Barlow, sans-serif; text-decoration: underline; text-underline-offset: 4px; text-transform: none; cursor: pointer; }
.kk .kk__hilfe:hover, .kk .kk__hilfe:focus { background: transparent; color: var(--kk-rot); }

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

.kk__karten { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.kk__karten--eins { grid-template-columns: 1fr; }
.kk__karte { position: relative; display: flex; flex-direction: column; padding: 20px 22px 22px; border: 3px solid transparent; border-radius: 8px; background: var(--kk-hell); color: var(--kk-dunkeltext); }
.kk__karte--haupt { border-color: var(--kk-rot); }
.kk__marke { align-self: flex-start; padding: 4px 10px; border-radius: 4px; background: #3a3a43; color: #fff; font-size: 15px; font-weight: 700; }
.kk__karte--haupt .kk__marke { background: var(--kk-rot); }
.kk__karte-kopf { display: flex; align-items: center; gap: 18px; margin: 14px 0 12px; }
.kk__karte-kopf img { width: 44%; max-width: 220px; height: 130px; object-fit: contain; }
.kk .kk__karte h4 { margin: 0; color: var(--kk-dunkeltext); font: 700 28px/1.15 Barlow, sans-serif; text-transform: none; }
.kk__karte:not(.kk__karte--haupt) .kk__karte-kopf { flex-direction: column; align-items: flex-start; }
.kk__karte:not(.kk__karte--haupt) .kk__karte-kopf img { width: 100%; max-width: 240px; height: 110px; }
.kk__warum { margin: 4px 0 6px; font-weight: 700; font-size: 17px; }
.kk__karte ul { margin: 0 0 8px; padding-left: 20px; }
.kk__karte li { margin: 2px 0; color: #3c3c46; }
.kk__karte p { margin: 0 0 8px; color: #3c3c46; }
.kk__ausfuehrung strong { color: var(--kk-dunkeltext); }
.kk a.kk__produkt-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; color: var(--kk-rot); font-weight: 700; text-decoration: none; }
.kk a.kk__produkt-link:hover { color: var(--kk-rot-dunkel); }
.kk__produkt-link svg { width: 18px; height: 18px; }
.kk__hinweise { margin: 18px 0 0; padding-left: 20px; color: var(--kk-grau); }
.kk__abschluss { margin: 18px 0 0; color: var(--kk-grau); }

.kk__schirm--klaerung { max-width: 860px; }
.kk__icon { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 22px; border-radius: 50%; background: var(--kk-rot); color: #fff; }
.kk__icon svg { width: 34px; height: 34px; }
.kk__einleitung { margin: 0 0 20px; color: #cfd0d5; font-size: 18px; line-height: 1.55; }
.kk__angaben { padding: 18px 22px; border-radius: 6px; background: var(--kk-flaeche-2); }
.kk__angaben ul { margin: 8px 0 0; padding: 0; list-style: none; color: #cfd0d5; }
.kk__angaben li { margin: 4px 0; }

/* --- Formular ------------------------------------------------------- */

.kk__kasten { margin-bottom: 22px; padding: 16px 22px; border-left: 4px solid var(--kk-rot); border-radius: 4px; background: var(--kk-flaeche-2); }
.kk .kk__kasten h3 { margin: 0 0 4px; font-size: 21px; }
.kk__kasten p { margin: 0; color: var(--kk-grau); }

.kk__formular .gform_wrapper { margin: 0; }
.kk__formular .gform_wrapper.gravity-theme .gfield_label,
.kk__formular .gform_wrapper .gform-field-label { color: #fff; font: 500 17px Barlow, sans-serif; }
.kk__formular .gfield_required { color: #fff; }
.kk__formular .gfield_required .gfield_required_text { display: none; }
.kk__formular .gfield_required::after { content: " *"; }
.kk__formular input[type="text"], .kk__formular input[type="email"], .kk__formular textarea {
	width: 100%;
	padding: 12px 14px;
	border: 2px solid transparent;
	border-radius: 6px;
	background: var(--kk-hell);
	color: var(--kk-dunkeltext);
	font: 500 16px Barlow, sans-serif;
}
.kk__formular input[type="text"]:focus, .kk__formular textarea:focus { border-color: var(--kk-rot); outline: none; background: #fff; }
.kk__formular textarea.small, .kk__formular textarea { height: 110px; min-height: 0; }
.kk__formular--beratung .kk-feld-abstreifer { display: none !important; }
.kk__formular .kk-feld-foto .ginput_container_fileupload { position: relative; display: grid; place-items: center; min-height: 110px; padding: 14px; border: 1.5px dashed #8a8a94; border-radius: 6px; }
.kk__formular .kk-feld-foto input[type="file"] { width: 100%; color: #fff; font: 500 15px Barlow, sans-serif; }
.kk__formular .gform_fileupload_rules, .kk__formular .gfield_description { color: var(--kk-grau); font-size: 13px; }
.kk__formular .kk-datenschutz { margin: 0; color: var(--kk-grau); font-size: 14px; }
.kk__formular .kk-datenschutz a { color: #fff; text-decoration: underline; }
.kk__formular .gform_footer, .kk__formular .gform-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding: 0; }
.kk__formular .gform_footer input[type="submit"], .kk__formular .gform_footer button[type="submit"], .kk__formular .gform_button {
	margin: 0 0 0 auto !important;
	padding: 14px 32px !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: var(--kk-rot) !important;
	color: #fff !important;
	font: 700 18px/1 Barlow, sans-serif !important;
	text-transform: none !important;
	cursor: pointer;
}
.kk__formular .gform_button:hover { background: var(--kk-rot-dunkel) !important; }
.kk__formular .validation_message, .kk__formular .gform_validation_errors { color: #ff8a8a; }
.kk__formular .gform_validation_errors { border-color: #ff8a8a; background: transparent; }
.kk__formular .gform_validation_errors h2 { color: #ff8a8a; font-size: 16px; }
.kk-danke strong { display: block; margin-bottom: 6px; font: 600 26px/1.2 Barlow, sans-serif; color: #fff; }
.kk-danke p { margin: 0; color: #cfd0d5; font-size: 18px; }

/* --- Tablet --------------------------------------------------------- */

@media (max-width: 1024px) {
	.kk { padding: 28px 24px; }
	.kk__schritte li { font-size: 15px; }
	.kk__kacheln--5 { grid-template-columns: repeat(3, 1fr); }
	.kk__kacheln--4 { grid-template-columns: repeat(2, 1fr); }
	.kk__karten { grid-template-columns: 1fr; }
}

/* --- Smartphone: eine Frage je Bildschirm --------------------------- */

@media (max-width: 767px) {
	.kk { margin-left: -4px; margin-right: -4px; padding: 22px 16px 18px; border-radius: 10px; }
	.kk__schritte { display: none; }
	.kk__mobil-schritt { display: block; margin: 0 0 8px; color: var(--kk-grau); font-weight: 600; }
	.kk__balken { display: flex; gap: 4px; margin: -10px 0; }
	/* Sichtbar 4 px, antippbar 24 px hoch: erledigte Abschnitte führen zurück. */
	.kk .kk__balken > * { position: relative; flex: 1; height: 24px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
	.kk .kk__balken > *::before { content: ""; position: absolute; top: 10px; left: 0; right: 0; height: 4px; border-radius: 2px; background: #3a3a43; }
	.kk .kk__balken > .is-an::before { background: var(--kk-rot); }
	.kk .kk__balken > button { cursor: pointer; }
	.kk .kk__balken > button:hover, .kk .kk__balken > button:focus { background: transparent; }
	.kk .kk__balken > button:focus-visible { outline: 2px solid #fff; outline-offset: 0; }
	.kk .kk__frage-titel, .kk .kk__ergebnis-titel { font-size: 23px; }
	.kk__kacheln--2, .kk__kacheln--3, .kk__kacheln--5 { grid-template-columns: 1fr; }
	.kk__kacheln--4 { grid-template-columns: 1fr 1fr; }
	.kk__frage[data-frage="temperatur"] .kk__kacheln--4 { grid-template-columns: 1fr; }
	.kk .kk__kachel--gross { padding: 12px 14px; }
	.kk .kk__kachel--gross strong, .kk .kk__kachel--breit strong { font-size: 17px; }
	.kk .kk__kachel--gross span { display: none; }
	.kk .kk__kachel--bild { min-height: 100px; }
	.kk .kk__kachel--klein, .kk__material .kk__kachel--klein { width: 100%; margin-top: 12px; }
	.kk__material { display: block; }
	.kk__mass, .kk__mass--schief { grid-template-columns: 1fr; gap: 16px; }
	.kk__skizze--desktop { display: none; }
	.kk__skizze--mobil { display: block; }
	.kk__mass--schief .kk__skizze { order: 0; }
	.kk__zusatz { padding: 16px; }
	/* Weiter und Hilfe bleiben unten sichtbar. */
	.kk__schirm > .kk__fuss { position: sticky; bottom: 0; z-index: 5; display: grid; grid-template-columns: 1fr 1fr; margin: 24px -16px -18px; padding: 12px 16px 16px; border-radius: 0 0 10px 10px; background: var(--kk-flaeche); box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.35); }
	.kk__fuss .kk__hilfe { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
	.kk__fuss > span { display: none; }
	.kk__fuss .kk__knopf--rot:only-of-type, .kk__fuss > span + .kk__hilfe + .kk__knopf--rot { grid-column: 1 / -1; }
	.kk .kk__knopf { width: 100%; padding: 12px 8px; font-size: 16px; white-space: nowrap; }
	.kk__karte-kopf { flex-direction: column; align-items: flex-start; }
	.kk__karte-kopf img { width: 100%; max-width: none; height: 140px; }
	.kk .kk__karte h4 { font-size: 24px; }
	.kk__formular .gform_footer, .kk__formular .gform-footer { flex-direction: column-reverse; align-items: stretch; }
	.kk__formular .gform_button { width: 100% !important; margin: 0 !important; }
}
