/**
 * Kalibrieren-Direkt – Startseiten-Sektionen
 *
 * Alles liegt unter dem Namespace .kd-page bzw. .kd-*, damit Avadas globale
 * Styles hier nicht hineinregieren und umgekehrt nichts am Rest der Seite
 * kaputtgeht. Bewusst ohne Framework.
 */

/* ---------------------------------------------------------------- Tokens */

.kd-page {
	--kd-red: #e53935;
	--kd-red-dark: #c62828;
	--kd-red-soft: #fdecea;

	--kd-ink: #16181d;
	--kd-body: #4b5058;
	--kd-muted: #767c86;

	--kd-line: #e4e6ea;
	--kd-line-soft: #eef0f3;

	--kd-bg: #f4f5f6;
	--kd-cream: #fdf1ec;
	--kd-cream-line: #f6d9cd;
	--kd-white: #fff;

	--kd-radius: 10px;
	--kd-radius-sm: 6px;

	--kd-container: 1180px;
	--kd-gap: 24px;

	/* Auf "inherit" setzen, wenn die Avada-Schrift durchschlagen soll. */
	--kd-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
		Arial, sans-serif;

	font-family: var(--kd-font);
	color: var(--kd-body);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

/* Avada-Reset, eng auf unseren Scope begrenzt. */
.kd-page *,
.kd-page *::before,
.kd-page *::after {
	box-sizing: border-box;
}

/* Zwei Ebenen, beide mit Spezifität 0-2-0:

     1. dieser Reset – ".kd-page.kd-page" doppelt genannt
     2. alle eigenen Regeln  – ".kd-page .kd-etwas"

   Gleiche Spezifität heißt: die später stehende Regel gewinnt. Da der Reset
   ganz oben steht, kommen unsere Klassen sauber darüber, ohne "!important".

   Warum überhaupt 0-2-0 und nicht einfach ".kd-page :where(p)" (0-1-0)?
   Weil Avada im Seiteninhalt mit 0-1-1 zuschlägt und das schlicht mehr ist:

     .post-content p        margin: 0 0 20px      -> 20px unter jedem Absatz
     .post-content h1/h2/h3 font-size, -family …  -> unsere Titelgrößen weg
     a:hover                color: <Avada-Link>   -> Karten färben sich um

   Die Elementnamen bleiben in :where(), damit sie selbst nichts beitragen –
   gezählt wird nur der doppelte Klassenname. */
.kd-page.kd-page :where(h1, h2, h3, p, ul, ol, li, figure) {
	margin: 0;
	padding: 0;
}

.kd-page.kd-page :where(ul, ol) {
	list-style: none;
}

/* Avada stylt Überschriften im Seiteninhalt themenweit durch. Unsere
   Titel-Klassen setzen zwar Größe, Gewicht und Farbe, aber weder Schriftart
   noch text-transform – ohne diese Zeilen liefen alle Titel in Avadas
   Headline-Schrift und ggf. in Großbuchstaben.

   Größe und Gewicht stehen hier bewusst nicht: die bringt jede Titel-Klasse
   selbst mit, und eine Überschrift ohne Klasse soll ihre Normalgröße behalten
   statt auf die Fließtextgröße zu fallen. */
.kd-page.kd-page :where(h1, h2, h3) {
	font-family: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	color: inherit;
}

.kd-page.kd-page :where(img, svg) {
	max-width: 100%;
	display: block;
}

/* Links erben die Textfarbe, statt Avadas Linkfarbe zu ziehen – inklusive
   :hover, das Avada global auf a:hover (0-1-1) setzt. */
.kd-page.kd-page :where(a, a:hover) {
	color: inherit;
	text-decoration: none;
}

.kd-page.kd-page :where(button, input) {
	font: inherit;
	color: inherit;
}

.kd-page .kd-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ------------------------------------------------------------- Bausteine */

.kd-page .kd-container {
	width: 100%;
	max-width: var(--kd-container);
	margin-inline: auto;
	padding-inline: 20px;
}

.kd-page .kd-section {
	padding-block: 48px;
}

.kd-page .kd-section--tight {
	padding-block: 28px;
}

.kd-page .kd-section__title {
	font-size: clamp(22px, 2.2vw, 30px);
	font-weight: 700;
	color: var(--kd-ink);
	text-align: center;
	letter-spacing: -0.01em;
	margin-bottom: 28px;
}

.kd-page .kd-icon {
	width: 24px;
	height: 24px;
	flex: none;
	stroke: var(--kd-red);
	fill: none;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Buttons */

.kd-page .kd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 18px;
	border: 1px solid transparent;
	border-radius: var(--kd-radius-sm);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease,
		color 0.15s ease;
}

.kd-page .kd-btn--primary {
	background: var(--kd-red);
	border-color: var(--kd-red);
	color: #fff;
}

.kd-page .kd-btn--primary:hover {
	background: var(--kd-red-dark);
	border-color: var(--kd-red-dark);
}

.kd-page .kd-btn--primary .kd-icon {
	stroke: #fff;
	width: 18px;
	height: 18px;
}

.kd-page .kd-btn--outline {
	background: var(--kd-white);
	border-color: #d9dde2;
	color: var(--kd-ink);
}

.kd-page .kd-btn--outline:hover {
	border-color: var(--kd-red);
	color: var(--kd-red);
}

.kd-page .kd-btn--outline .kd-icon {
	width: 18px;
	height: 18px;
	stroke: var(--kd-ink);
}

.kd-page .kd-btn--outline:hover .kd-icon {
	stroke: var(--kd-red);
}

/* Textlink mit Pfeil */

.kd-page .kd-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--kd-red);
	font-size: 14px;
	font-weight: 600;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	align-self: flex-start;
}

.kd-page .kd-link svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 0.15s ease;
}

.kd-page .kd-link:hover svg {
	transform: translateX(3px);
}

/* Nummern-Badge (①, ②) */

.kd-page .kd-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	flex: none;
	border: 1.5px solid var(--kd-red);
	border-radius: 50%;
	color: var(--kd-red);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

/* ------------------------------------------------------------------ Hero */

.kd-page .kd-hero {
	background: var(--kd-bg);
	padding-block: 44px 40px;
}

.kd-page .kd-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
	gap: 32px;
	align-items: start;
}

.kd-page .kd-hero__title {
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: var(--kd-ink);
}

.kd-page .kd-hero__title span {
	display: block;
	color: var(--kd-red);
}

.kd-page .kd-hero__lead {
	margin-top: 14px;
	font-size: 16px;
	max-width: 46ch;
}

/* Aktionsboxen */

.kd-page .kd-action {
	border: 1px solid var(--kd-line);
	border-radius: var(--kd-radius);
	background: var(--kd-white);
	padding: 20px;
}

.kd-page .kd-action + .kd-action {
	margin-top: 16px;
}

.kd-page .kd-action--quote {
	background: var(--kd-cream);
	border-color: var(--kd-cream-line);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.kd-page .kd-action__head {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.45;
	color: var(--kd-ink);
}

.kd-page .kd-action__desc {
	margin-top: 6px;
	font-size: 14px;
	max-width: 52ch;
}

.kd-page .kd-action--quote .kd-action__body {
	flex: 1 1 260px;
	min-width: 0;
}

.kd-page .kd-hero__first {
	margin-top: 26px;
}

/* Suchfeld */

.kd-page .kd-search {
	display: flex;
	gap: 10px;
	margin-top: 14px;
}

.kd-page .kd-search__field {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
}

.kd-page .kd-search__field svg {
	position: absolute;
	left: 13px;
	top: 50%;
	transform: translateY(-50%);
	width: 17px;
	height: 17px;
	stroke: var(--kd-muted);
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	pointer-events: none;
}

.kd-page .kd-search__input {
	width: 100%;
	height: 48px;
	padding: 0 14px 0 40px;
	border: 1px solid #d9dde2;
	border-radius: var(--kd-radius-sm);
	background: var(--kd-white);
	font-size: 14px;
}

.kd-page .kd-search__input::placeholder {
	color: #9aa0a8;
}

.kd-page .kd-search__input:focus {
	outline: none;
	border-color: var(--kd-red);
	box-shadow: 0 0 0 3px var(--kd-red-soft);
}

.kd-page .kd-search .kd-btn {
	height: 48px;
	flex: none;
	padding-inline: 16px;
	gap: 8px;
	white-space: nowrap;
}

/* Beliebte Suchen */

.kd-page .kd-chips {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 14px;
	font-size: 12.5px;
}

.kd-page .kd-chips__label {
	color: var(--kd-muted);
}

.kd-page .kd-chip {
	display: inline-block;
	padding: 4px 9px;
	border: 1px solid var(--kd-line);
	border-radius: 4px;
	background: #fafbfc;
	font-size: 12px;
	color: var(--kd-body);
	transition: border-color 0.15s ease, color 0.15s ease;
}

.kd-page .kd-chip:hover {
	border-color: var(--kd-red);
	color: var(--kd-red);
}

/* Hero-Medien */

/* Das Bild nutzt die volle Spaltenbreite, die Kennzahl-Karte schwebt rechts
   darüber – dadurch gewinnt das Motiv rund 50 % Breite. */
.kd-page .kd-hero__media {
	position: relative;
}

.kd-page .kd-hero__image {
	width: 100%;
}

.kd-page .kd-hero__image img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

/* Vertrauens-Karte */

.kd-page .kd-stats {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 196px;
	/* Transparent genug, dass das Motiv durchscheint – der Blur hält den
	   Text trotzdem lesbar, egal was darunter liegt. */
	background: rgba(255, 255, 255, 0.82);
	-webkit-backdrop-filter: blur(7px);
	backdrop-filter: blur(7px);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: var(--kd-radius);
	padding: 17px 16px;
	/* Kräftigerer Schatten – die Karte soll über dem Bild schweben. */
	box-shadow: 0 16px 34px -12px rgba(20, 24, 31, 0.28),
		0 2px 6px rgba(20, 24, 31, 0.06);
}

/* Ohne Backdrop-Filter (ältere Browser) deckender, sonst wird der Text
   über dem Motiv unleserlich. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.kd-page .kd-stats {
		background: rgba(255, 255, 255, 0.96);
	}
}

.kd-page .kd-stats__title {
	font-size: 13px;
	font-weight: 700;
	color: var(--kd-ink);
	margin-bottom: 9px;
}

.kd-page .kd-stats__list li {
	position: relative;
	padding-left: 15px;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--kd-body);
}

/* Feiner roter Punkt statt Icon – hält die Karte ruhig. */
.kd-page .kd-stats__list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 8px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--kd-red);
}

.kd-page .kd-stats__note {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid var(--kd-line-soft);
	font-size: 11.5px;
	line-height: 1.35;
	color: var(--kd-muted);
}

/* ------------------------------------------------------------- Trust-Bar */

.kd-page .kd-trust {
	background: var(--kd-white);
	border-block: 1px solid var(--kd-line-soft);
	padding-block: 22px;
}

/* Eine Reihe, gleich breite Spalten – unabhängig davon, wie viele Punkte die
   Leiste enthält. Sonst bliebe nach jeder Änderung an der Liste eine leere
   Spalte stehen. */
.kd-page .kd-trust__list {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 18px;
}

.kd-page .kd-trust__item {
	display: flex;
	align-items: center;
	gap: 11px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--kd-ink);
	line-height: 1.35;
}

.kd-page .kd-trust__item .kd-icon {
	width: 26px;
	height: 26px;
}

/* -------------------------------------------------- Wie dürfen wir helfen */

.kd-page .kd-help {
	background: var(--kd-bg);
}

/* Sechs Karten in einer Reihe wären nur ~176px breit – die Titel würden
   vierzeilig brechen. Deshalb 3 × 2 statt einer langen Reihe. */
.kd-page .kd-help__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.kd-page .kd-help__card {
	display: flex;
	flex-direction: column;
	background: var(--kd-white);
	border: 1px solid var(--kd-line);
	border-radius: var(--kd-radius);
	padding: 22px 20px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.kd-page .kd-help__card:hover {
	border-color: var(--kd-red);
	box-shadow: 0 4px 16px rgba(20, 24, 31, 0.07);
}

.kd-page .kd-help__card .kd-icon {
	width: 30px;
	height: 30px;
	margin-bottom: 16px;
}

.kd-page .kd-help__title {
	font-size: 16px;
	font-weight: 700;
	color: var(--kd-ink);
	line-height: 1.3;
	margin-bottom: 10px;
}

.kd-page .kd-help__desc {
	font-size: 13.5px;
	margin-bottom: 18px;
	flex: 1 1 auto;
}

/* Nur mobil sichtbar. Braucht den .kd-page-Prefix, sonst gewinnt der
   svg-Reset weiter oben (gleiche Spezifität, aber früher im Quelltext). */
.kd-page .kd-help__chevron {
	display: none;
	width: 16px;
	height: 16px;
	flex: none;
	stroke: #b9bfc6;
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* -------------------------------------------------- Gerätetypen */

/* Weißes Band zwischen den grauen Blöcken „Helfen“ und „Ablauf“. Sprungziel
   der Karte „Gerätetyp wählen“ – scroll-margin hält den Titel unter Avadas
   Sticky-Header frei (im Child-Theme über --kd-scroll-offset anpassbar). */
.kd-page .kd-types {
	background: var(--kd-white);
	border-block: 1px solid var(--kd-line-soft);
	scroll-margin-top: var(--kd-scroll-offset, 90px);
}

.kd-page .kd-types:focus {
	outline: none;
}

/* Der Abschnittstitel bringt 28px mit – mit Unterzeile rückt er näher ran. */
.kd-page .kd-types .kd-section__title {
	margin-bottom: 8px;
}

.kd-page .kd-types__lead {
	text-align: center;
	font-size: 14.5px;
	color: var(--kd-muted);
	margin-bottom: 28px;
}

.kd-page .kd-types__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.kd-page .kd-types__group {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--kd-line);
	border-radius: var(--kd-radius);
	padding: 20px 20px 22px;
}

.kd-page .kd-types__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--kd-ink);
	margin-bottom: 10px;
}

.kd-page .kd-types__title .kd-icon {
	width: 26px;
	height: 26px;
}

.kd-page .kd-types__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 0;
	border-top: 1px solid var(--kd-line-soft);
	font-size: 14.5px;
	color: var(--kd-ink);
	transition: color 0.15s ease;
}

.kd-page .kd-types__link:hover,
.kd-page .kd-types__link:focus-visible {
	color: var(--kd-red);
}

.kd-page .kd-types__chevron {
	width: 14px;
	height: 14px;
	flex: none;
	stroke: #b9bfc6;
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: stroke 0.15s ease, transform 0.15s ease;
}

.kd-page .kd-types__link:hover .kd-types__chevron {
	stroke: var(--kd-red);
	transform: translateX(2px);
}

/* Unten angeschlagen: Die Spalten sind gleich hoch, die Abschlusslinks
   stehen damit auf einer Linie, auch wenn die Listen verschieden lang sind. */
.kd-page .kd-types__list {
	margin-bottom: 14px;
}

.kd-page .kd-types__all {
	margin-top: auto;
}

.kd-page .kd-types__brands {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 26px;
}

.kd-page .kd-types__brands-label {
	font-size: 13px;
	color: var(--kd-muted);
	margin-right: 2px;
}

.kd-page .kd-types__brand {
	padding: 6px 12px;
	font-size: 13px;
}

/* Der Ablauf hängt sonst ohne Abstand am grauen Block darüber. */
.kd-page .kd-types + .kd-steps {
	padding-top: 48px;
}

/* -------------------------------------------------- So einfach funktioniert */

.kd-page .kd-steps {
	background: var(--kd-bg);
	padding-top: 0;
}

.kd-page .kd-steps__list {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
	align-items: start;
}

.kd-page .kd-step {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding-right: 26px;
	padding-left: 15px; /* Platz für die überstehende Nummer */
}

/* Verbindungspfeil zwischen den Schritten */
.kd-page .kd-step:not(:last-child)::after {
	content: "";
	position: absolute;
	right: 12px; /* hält Abstand zur Nummer des nächsten Schritts */
	top: 26px;
	width: 14px;
	height: 8px;
	background: var(--kd-muted);
	opacity: 0.55;
	-webkit-mask: var(--kd-arrow) center / contain no-repeat;
	mask: var(--kd-arrow) center / contain no-repeat;
}

.kd-page {
	--kd-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 10'%3E%3Cpath d='M0 5h17M13 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.kd-page .kd-step__badge {
	position: relative;
	flex: none;
}

.kd-page .kd-step__disc {
	width: 54px;
	height: 54px;
	display: grid;
	place-items: center;
	background: var(--kd-white);
	border: 1px solid var(--kd-line);
	border-radius: 50%;
}

.kd-page .kd-step__disc .kd-icon {
	width: 24px;
	height: 24px;
	stroke: var(--kd-ink);
}

.kd-page .kd-step__num {
	position: absolute;
	top: 50%;
	left: -13px;
	transform: translateY(-50%);
	background: var(--kd-bg);
}

.kd-page .kd-step__title {
	font-size: 14.5px;
	font-weight: 700;
	color: var(--kd-ink);
	line-height: 1.3;
	padding-top: 6px;
}

.kd-page .kd-step__desc {
	font-size: 12.5px;
	line-height: 1.45;
	margin-top: 5px;
}

/* Hinweisleiste */

.kd-page .kd-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 32px;
	padding: 22px 24px;
	background: #e8eaee;
	border-radius: var(--kd-radius);
	font-size: 14.5px;
	color: var(--kd-body);
	text-align: center;
}

.kd-page .kd-note .kd-icon {
	width: 19px;
	height: 19px;
	stroke: var(--kd-body);
}

/* Hinweis auf den zweiten Serviceweg – bewusst ohne Kasten, damit er die
   Note-Leiste darüber nicht dupliziert. */
.kd-page .kd-steps__alt {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin-top: 14px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--kd-muted);
	text-align: center;
}

.kd-page .kd-steps__alt .kd-icon {
	width: 17px;
	height: 17px;
	stroke: var(--kd-muted);
}

/* --------------------------------------------------------------- Kontakt */

.kd-page .kd-contact {
	background: var(--kd-bg);
	padding-top: 0;
	padding-bottom: 52px;
}

.kd-page .kd-contact__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	background: var(--kd-white);
	border: 1px solid var(--kd-line);
	border-radius: var(--kd-radius);
	overflow: hidden;
}

.kd-page .kd-contact__col {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 24px 22px;
}

.kd-page .kd-contact__col + .kd-contact__col {
	border-left: 1px solid var(--kd-line-soft);
}

.kd-page .kd-contact__col .kd-icon {
	width: 27px;
	height: 27px;
	margin-top: 2px;
}

.kd-page .kd-contact__title {
	font-size: 15.5px;
	font-weight: 700;
	color: var(--kd-ink);
	margin-bottom: 6px;
}

.kd-page .kd-contact__text {
	font-size: 13.5px;
	margin-bottom: 8px;
}

.kd-page .kd-contact__phone {
	display: inline-block;
	font-size: 20px;
	font-weight: 800;
	color: var(--kd-ink);
	letter-spacing: -0.01em;
}

.kd-page .kd-contact__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

/* ------------------------------------------------- Slider (nur mobil aktiv) */

.kd-page .kd-dots {
	display: none;
	justify-content: center;
	gap: 6px;
	margin-top: 14px;
}

.kd-page .kd-dots button {
	width: 6px;
	height: 6px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #c9ced4;
	cursor: pointer;
	transition: background-color 0.15s ease, width 0.15s ease;
}

.kd-page .kd-dots button[aria-current="true"] {
	background: var(--kd-red);
	width: 16px;
	border-radius: 3px;
}

/* ------------------------------------------------------------- Responsive */

@media (max-width: 1080px) {
	.kd-page .kd-hero__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	/* Einspaltig würde das Bild sonst die volle Containerbreite fluten.
	   Die Karte bleibt rechts am Bild, weil sie am Medienblock hängt. */
	.kd-page .kd-hero__media {
		max-width: 540px;
	}

	.kd-page .kd-help__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.kd-page .kd-steps__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
	}

	.kd-page .kd-step:not(:last-child)::after {
		display: none;
	}

	/* Ab hier wird umgebrochen statt verteilt – das auto-flow von oben muss
	   dafür zurückgenommen werden, sonst laufen die Punkte in eine Reihe. */
	.kd-page .kd-trust__list {
		grid-auto-flow: row;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.kd-page .kd-contact__grid {
		grid-template-columns: 1fr;
	}

	.kd-page .kd-contact__col + .kd-contact__col {
		border-left: 0;
		border-top: 1px solid var(--kd-line-soft);
	}
}

@media (max-width: 720px) {
	.kd-page .kd-section {
		padding-block: 34px;
	}

	.kd-page .kd-hero {
		padding-block: 28px 32px;
	}

	.kd-page .kd-hero__title,
	.kd-page .kd-hero__lead,
	.kd-page .kd-section__title {
		text-align: center;
	}

	.kd-page .kd-hero__lead {
		margin-inline: auto;
	}

	/* Mockup-treu: mobil zeigt der Hero nur Text und die beiden Aktionsboxen.
	   Wenn die "25.000"-Karte mobil doch erscheinen soll, hier nur das
	   Ausblenden auf .kd-hero__image eingrenzen. */
	.kd-page .kd-hero__media {
		display: none;
	}

	.kd-page .kd-search {
		flex-direction: column;
	}

	.kd-page .kd-search .kd-btn {
		width: 100%;
	}

	.kd-page .kd-action--quote {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	/* In Spaltenrichtung wäre die flex-basis eine Höhe – zurücksetzen,
	   sonst reißt zwischen Text und Button eine Lücke auf. */
	.kd-page .kd-action--quote .kd-action__body {
		flex: 0 0 auto;
	}

	.kd-page .kd-action--quote .kd-action__head {
		justify-content: center;
		align-items: flex-start;
		text-align: left;
	}

	.kd-page .kd-action--quote .kd-btn {
		align-self: center;
	}

	/* Karten werden zu Listenzeilen */
	.kd-page .kd-help__grid {
		grid-template-columns: 1fr;
		gap: 0;
		border: 1px solid var(--kd-line);
		border-radius: var(--kd-radius);
		background: var(--kd-white);
		overflow: hidden;
	}

	.kd-page .kd-help__card {
		flex-direction: row;
		align-items: center;
		gap: 14px;
		border: 0;
		border-radius: 0;
		padding: 15px 16px;
	}

	.kd-page .kd-help__card + .kd-help__card {
		border-top: 1px solid var(--kd-line-soft);
	}

	.kd-page .kd-help__card:hover {
		box-shadow: none;
		background: #fafbfc;
	}

	.kd-page .kd-help__card .kd-icon {
		width: 24px;
		height: 24px;
		margin-bottom: 0;
	}

	.kd-page .kd-help__body {
		flex: 1 1 auto;
		min-width: 0;
	}

	.kd-page .kd-help__title {
		font-size: 14.5px;
		margin-bottom: 2px;
	}

	.kd-page .kd-help__desc {
		display: none;
	}

	/* Der CTA-Text wird zur Unterzeile. */
	.kd-page .kd-help__cta {
		border: 0;
		padding: 0;
		color: var(--kd-muted);
		font-size: 12.5px;
		font-weight: 400;
	}

	.kd-page .kd-help__cta svg {
		display: none;
	}

	.kd-page .kd-help__chevron {
		display: block;
	}

	/* Trust-Bar und Schritte werden horizontal scrollbar */
	.kd-page .kd-trust__list,
	.kd-page .kd-steps__list {
		display: flex;
		gap: 10px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		margin-inline: -20px;
		padding-inline: 20px;
		scrollbar-width: none;
	}

	.kd-page .kd-trust__list::-webkit-scrollbar,
	.kd-page .kd-steps__list::-webkit-scrollbar {
		display: none;
	}

	.kd-page .kd-trust__item {
		flex: 0 0 26%;
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 8px;
		scroll-snap-align: start;
		font-size: 12px;
	}

	.kd-page .kd-step {
		flex: 0 0 21%;
		flex-direction: column;
		align-items: center;
		gap: 8px;
		padding-right: 0;
		padding-left: 0;
		scroll-snap-align: start;
	}

	/* Nummer über den Kreis holen – im Markup steht sie dahinter. */
	.kd-page .kd-step__badge {
		display: flex;
		flex-direction: column-reverse;
		align-items: center;
		gap: 7px;
	}

	.kd-page .kd-step__num {
		position: static;
		transform: none;
	}

	.kd-page .kd-step__title,
	.kd-page .kd-step__desc {
		display: none;
	}

	.kd-page .kd-dots {
		display: flex;
	}

	/* Kontakt kompakter */
	.kd-page .kd-contact__grid {
		border-color: var(--kd-cream-line);
	}

	.kd-page .kd-contact__phone {
		font-size: 22px;
		color: var(--kd-red);
	}
}

@media (max-width: 420px) {
	.kd-page .kd-trust__item {
		flex-basis: 33%;
	}

	.kd-page .kd-step {
		flex-basis: 25%;
	}
}

/* -------------------------------------------------- Gerätetypen responsiv */

@media (max-width: 960px) {
	.kd-page .kd-types__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Mobil: die Listen werden zu umbrechenden Chips – 16 Zeilen untereinander
   wären drei Bildschirmhöhen. */
@media (max-width: 720px) {
	.kd-page .kd-types__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.kd-page .kd-types__group {
		padding: 16px;
	}

	.kd-page .kd-types__title {
		font-size: 15px;
		margin-bottom: 12px;
	}

	.kd-page .kd-types__title .kd-icon {
		width: 22px;
		height: 22px;
	}

	.kd-page .kd-types__list {
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
	}

	.kd-page .kd-types__link {
		padding: 7px 11px;
		border: 1px solid var(--kd-line);
		border-radius: var(--kd-radius-sm);
		background: #fafbfc;
		font-size: 13.5px;
	}

	.kd-page .kd-types__link:hover {
		border-color: var(--kd-red);
	}

	.kd-page .kd-types__chevron {
		display: none;
	}

	.kd-page .kd-types__lead {
		margin-bottom: 20px;
	}

	.kd-page .kd-types + .kd-steps {
		padding-top: 34px;
	}
}
