/* =============================================================================
   HDM Kontakt-Bühne
   Farben: Der Stil setzt --kb-s-*, ein Regler setzt --kb-*. Jede Nutzung
   fragt zuerst den Regler: var(--kb-akzent, var(--kb-s-akzent)).
   ============================================================================= */

.hdm-kb {
	--kb-s-akzent:  #0A55F0;
	--kb-s-akzent2: #2EA7FF;
	--kb-s-ink:     #06162F;
	--kb-s-ink2:    rgba(6, 22, 47, 0.66);
	--kb-s-grund:   #ffffff;
	--kb-s-karte:   rgba(255, 255, 255, 0.72);
	--kb-s-rand:    rgba(6, 22, 47, 0.08);
	--kb-s-feld:    rgba(255, 255, 255, 0.85);
	--kb-s-chip:    rgba(10, 85, 240, 0.07);
	--kb-s-ok:      #16A34A;
	--kb-s-orb-a:   rgba(46, 167, 255, 0.35);
	--kb-s-orb-b:   rgba(10, 85, 240, 0.22);

	--_akzent:  var(--kb-akzent,  var(--kb-s-akzent));
	--_akzent2: var(--kb-akzent2, var(--kb-s-akzent2));
	--_ink:     var(--kb-ink,     var(--kb-s-ink));
	--_ink2:    var(--kb-s-ink2);
	--_grund:   var(--kb-grund,   var(--kb-s-grund));
	--_karte:   var(--kb-karte,   var(--kb-s-karte));
	--_radius:  var(--kb-radius, 28px);
	--_pad:     var(--kb-pad-y, 96px);

	position: relative;
	overflow: hidden;
	background: var(--_grund);
	color: var(--_ink);
	padding: var(--_pad) 0;
	isolation: isolate;
}

.hdm-kb--dunkel {
	--kb-s-ink:   #ffffff;
	--kb-s-ink2:  rgba(255, 255, 255, 0.7);
	--kb-s-grund: #06162F;
	--kb-s-karte: rgba(255, 255, 255, 0.06);
	--kb-s-rand:  rgba(255, 255, 255, 0.12);
	--kb-s-feld:  rgba(255, 255, 255, 0.06);
	--kb-s-chip:  rgba(255, 255, 255, 0.08);
	--kb-s-akzent:#7FB2FF;
	--kb-s-orb-a: rgba(127, 178, 255, 0.28);
	--kb-s-orb-b: rgba(46, 167, 255, 0.16);
}

/* ── Leuchtende Flächen ─────────────────────────────────────────────────── */
.hdm-kb__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	pointer-events: none;
	z-index: -1;
	animation: kb-treiben 18s ease-in-out infinite alternate;
}
.hdm-kb__orb--a { width: 46vw; height: 46vw; right: -12vw; top: -14vw; background: var(--kb-s-orb-a); }
.hdm-kb__orb--b { width: 34vw; height: 34vw; left: -10vw; bottom: -12vw; background: var(--kb-s-orb-b); animation-delay: -9s; }
@keyframes kb-treiben {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to   { transform: translate3d(-4vw, 3vw, 0) scale(1.08); }
}

/* ── Raster ─────────────────────────────────────────────────────────────── */
.hdm-kb__raster {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 40px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 64px;
	align-items: start;
}
.hdm-kb--form-links .hdm-kb__text       { order: 2; }
.hdm-kb--form-links .hdm-kb__karte-wrap { order: 1; }

/* ── Text ───────────────────────────────────────────────────────────────── */
.hdm-kb__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--_akzent);
}
.hdm-kb__eyebrow span {
	width: 28px; height: 2px;
	background: linear-gradient(90deg, var(--_akzent), var(--_akzent2));
	border-radius: 2px;
}
/* Doppelte Klasse: schlägt die Kit-Regeln für h1/h2 (weiße Schrift, Title Case). */
.hdm-kb .hdm-kb__titel.hdm-kb__titel {
	margin: 0 0 22px;
	font-size: clamp(2.4rem, 1.6rem + 3vw, 4.2rem);
	line-height: 1.02;
	letter-spacing: -0.02em;
	font-weight: 800;
	text-transform: none;
	color: var(--_ink);
}
.hdm-kb .hdm-kb__zeile.hdm-kb__zeile { display: block; line-height: 1.02; }
.hdm-kb .hdm-kb__zeile.hdm-kb__zeile > span { display: block; }
.hdm-kb__titel em {
	font-style: normal;
	background: linear-gradient(92deg, var(--_akzent), var(--_akzent2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hdm-kb__zeile { display: block; overflow: hidden; }
.hdm-kb__zeile > span {
	display: block;
	transform: translateY(110%);
	transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
	transition-delay: var(--kb-d, 0ms);
}
.is-in .hdm-kb__zeile > span { transform: none; }

.hdm-kb__lead {
	margin: 0 0 34px;
	max-width: 52ch;
	font-size: 1.15rem;
	line-height: 1.6;
	color: var(--_ink2);
}

/* Elemente, die nacheinander erscheinen */
.hdm-kb__el {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
	transition-delay: var(--kb-d, 0ms);
}
.is-in .hdm-kb__el { opacity: 1; transform: none; }

/* ── Direktwege ─────────────────────────────────────────────────────────── */
.hdm-kb__wege { display: grid; gap: 12px; margin: 0 0 30px; }
.hdm-kb__weg {
	--w-x: 50%; --w-y: 50%;
	position: relative;
	display: grid;
	grid-template-columns: 48px 1fr 28px;
	align-items: center;
	gap: 16px;
	padding: 14px 16px;
	border-radius: 18px;
	border: 1px solid var(--kb-s-rand);
	background: var(--_karte);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: var(--_ink);
	text-decoration: none;
	overflow: hidden;
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
}
.hdm-kb__weg::before {
	content: "";
	position: absolute; inset: 0;
	background: radial-gradient(240px circle at var(--w-x) var(--w-y), rgba(46, 167, 255, 0.18), transparent 60%);
	opacity: 0;
	transition: opacity 0.3s;
}
a.hdm-kb__weg:hover { transform: translateY(-3px); border-color: rgba(46, 167, 255, 0.5); box-shadow: 0 18px 40px rgba(10, 85, 240, 0.12); }
a.hdm-kb__weg:hover::before { opacity: 1; }
.hdm-kb__weg-i {
	position: relative;
	display: grid; place-items: center;
	width: 48px; height: 48px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--_akzent), var(--_akzent2));
	color: #fff;
	box-shadow: 0 8px 20px rgba(10, 85, 240, 0.25);
}
.hdm-kb__weg-i svg { width: 22px; height: 22px; }
.hdm-kb__weg-t { position: relative; display: grid; line-height: 1.25; min-width: 0; }
.hdm-kb__weg-t small { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--_akzent); }
.hdm-kb__weg-t b { font-size: 1.05rem; font-weight: 700; overflow-wrap: anywhere; }
.hdm-kb__weg-t span { font-size: 0.86rem; color: var(--_ink2); }
.hdm-kb__weg-a { position: relative; color: var(--_ink2); transition: transform 0.3s, color 0.3s; }
.hdm-kb__weg-a svg { width: 22px; height: 22px; }
a.hdm-kb__weg:hover .hdm-kb__weg-a { transform: translateX(4px); color: var(--_akzent); }

/* ── Ansprechpartner ────────────────────────────────────────────────────── */
.hdm-kb__person {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 18px;
	align-items: start;
	margin: 0 0 26px;
	padding: 18px;
	border-radius: 22px;
	border: 1px solid var(--kb-s-rand);
	background: var(--_karte);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.hdm-kb__person img {
	width: 96px; height: 96px;
	border-radius: 24px;
	object-fit: cover;
	box-shadow: 0 10px 24px rgba(6, 22, 47, 0.15);
}
.hdm-kb__person-zitat { margin: 0 0 8px; font-size: 1rem; line-height: 1.5; color: var(--_ink); }
.hdm-kb__person-meta { margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.hdm-kb__person-meta b { font-weight: 700; }
.hdm-kb__person-meta span { font-size: 0.9rem; color: var(--_ink2); }
.hdm-kb__badge {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 0.8rem; font-weight: 600;
	background: rgba(22, 163, 74, 0.1);
	color: var(--kb-s-ok);
}
.hdm-kb__badge i {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--kb-s-ok);
	box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
	animation: kb-puls 2.2s ease-out infinite;
}
@keyframes kb-puls { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); } 100% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); } }

/* ── Vertrauen ──────────────────────────────────────────────────────────── */
.hdm-kb__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hdm-kb__trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: var(--_ink2); }
.hdm-kb__trust svg { width: 18px; height: 18px; color: var(--kb-s-ok); }

/* ── Karte ──────────────────────────────────────────────────────────────── */
.hdm-kb__karte-wrap { perspective: 1400px; scroll-margin-top: 110px; }
.hdm-kb__karte {
	--g-x: 50%; --g-y: 0%;
	position: relative;
	padding: 34px;
	border-radius: var(--_radius);
	background: var(--_karte);
	border: 1px solid var(--kb-s-rand);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	box-shadow: 0 30px 80px rgba(6, 22, 47, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.6);
	transform: rotateX(var(--kb-rx, 0deg)) rotateY(var(--kb-ry, 0deg));
	transition: transform 0.25s ease-out;
	will-change: transform;
	overflow: hidden;
}
.hdm-kb--dunkel .hdm-kb__karte { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.hdm-kb__karte::before {
	/* Verlaufskante: eine Maske schneidet den Verlauf auf den Rand zu */
	content: "";
	position: absolute; inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(140deg, var(--_akzent2), transparent 40%, transparent 60%, var(--_akzent));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0.55;
	pointer-events: none;
}
.hdm-kb__glanz {
	position: absolute; inset: 0;
	background: radial-gradient(420px circle at var(--g-x) var(--g-y), rgba(255, 255, 255, 0.55), transparent 60%);
	opacity: 0.6;
	pointer-events: none;
	transition: opacity 0.4s;
}
.hdm-kb--dunkel .hdm-kb__glanz { background: radial-gradient(420px circle at var(--g-x) var(--g-y), rgba(127, 178, 255, 0.25), transparent 60%); }

.hdm-kb__karte-kopf { position: relative; margin: 0 0 18px; }
.hdm-kb__karte-kopf h3 { margin: 0 0 6px; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.01em; text-transform: none; color: var(--_ink); }
.hdm-kb__karte-kopf p { margin: 0; color: var(--_ink2); }

.hdm-kb__fehler {
	position: relative;
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(220, 38, 38, 0.1);
	color: #991b1b;
	font-size: 0.92rem;
}
.hdm-kb--dunkel .hdm-kb__fehler { color: #fecaca; }

/* Schritte */
.hdm-kb__schritte {
	position: relative;
	list-style: none; margin: 0 0 10px; padding: 0;
	display: flex; gap: 22px;
}
.hdm-kb__schritte li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--_ink2); transition: color 0.3s; }
.hdm-kb__schritte li i {
	display: grid; place-items: center;
	width: 24px; height: 24px; border-radius: 50%;
	font-style: normal; font-size: 0.75rem; font-weight: 800;
	background: var(--kb-s-chip); color: var(--_ink2);
	transition: background 0.3s, color 0.3s;
}
.hdm-kb__schritte li.is-on { color: var(--_ink); }
.hdm-kb__schritte li.is-on i { background: linear-gradient(135deg, var(--_akzent), var(--_akzent2)); color: #fff; }
.hdm-kb__fortschritt { position: relative; height: 4px; border-radius: 4px; background: var(--kb-s-chip); margin: 0 0 22px; overflow: hidden; }
.hdm-kb__fortschritt span {
	display: block; height: 100%; width: 50%;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--_akzent), var(--_akzent2));
	transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hdm-kb__form.is-schritt-2 ~ .hdm-kb__fortschritt span,
.hdm-kb__karte.is-schritt-2 .hdm-kb__fortschritt span { width: 100%; }

/* Panels */
.hdm-kb__form { position: relative; }
.hdm-kb__panel { display: none; animation: kb-rein 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.hdm-kb__panel.is-on { display: block; }
@keyframes kb-rein { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

/* Chips */
.hdm-kb__chips { border: 0; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hdm-kb__chips legend { margin: 0 0 10px; padding: 0; font-size: 0.85rem; font-weight: 700; color: var(--_ink2); }
.hdm-kb__chip { position: relative; cursor: pointer; }
.hdm-kb__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hdm-kb__chip span {
	display: inline-block;
	padding: 9px 14px;
	border-radius: 999px;
	font-size: 0.86rem; font-weight: 600;
	background: var(--kb-s-chip);
	color: var(--_ink);
	border: 1px solid transparent;
	transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.hdm-kb__chip:hover span { transform: translateY(-1px); border-color: rgba(46, 167, 255, 0.45); }
.hdm-kb__chip input:checked + span {
	background: linear-gradient(135deg, var(--_akzent), var(--_akzent2));
	color: #fff;
	box-shadow: 0 8px 20px rgba(10, 85, 240, 0.25);
}
.hdm-kb__chip input:focus-visible + span { outline: 2px solid var(--_akzent2); outline-offset: 2px; }

/* Felder mit schwebender Beschriftung */
.hdm-kb__reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hdm-kb__feld { position: relative; margin: 0 0 12px; }
.hdm-kb__feld--breit { grid-column: 1 / -1; }
.hdm-kb__feld input,
.hdm-kb__feld textarea {
	width: 100%;
	font: inherit;
	font-size: 1rem;
	color: var(--_ink);
	padding: 22px 16px 10px;
	border-radius: 14px;
	border: 1px solid var(--kb-s-rand);
	background: var(--kb-s-feld);
	transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
	box-sizing: border-box;
}
.hdm-kb__feld textarea { resize: vertical; min-height: 120px; }
.hdm-kb__feld label {
	position: absolute; left: 16px; top: 16px;
	font-size: 1rem; color: var(--_ink2);
	pointer-events: none;
	transition: transform 0.2s, font-size 0.2s, color 0.2s, top 0.2s;
	transform-origin: left top;
}
.hdm-kb__feld input:focus + label,
.hdm-kb__feld input:not(:placeholder-shown) + label,
.hdm-kb__feld textarea:focus + label,
.hdm-kb__feld textarea:not(:placeholder-shown) + label {
	top: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--_akzent);
}
.hdm-kb__feld input:focus,
.hdm-kb__feld textarea:focus {
	outline: none;
	border-color: var(--_akzent2);
	box-shadow: 0 0 0 4px rgba(46, 167, 255, 0.18);
}
.hdm-kb__feld.ist-fehler input,
.hdm-kb__feld.ist-fehler textarea { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12); }

/* Knöpfe */
.hdm-kb__aktionen { display: flex; gap: 10px; align-items: center; justify-content: flex-end; margin: 6px 0 0; }
.hdm-kb__knopf {
	position: relative;
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 24px;
	border-radius: 999px;
	border: 0;
	font: inherit; font-weight: 700; font-size: 0.98rem;
	color: #fff;
	background: linear-gradient(135deg, var(--_akzent), var(--_akzent2));
	box-shadow: 0 12px 28px rgba(10, 85, 240, 0.28);
	cursor: pointer;
	transform: translate(var(--kb-mx, 0), var(--kb-my, 0));
	transition: transform 0.2s ease-out, box-shadow 0.25s, filter 0.25s;
	overflow: hidden;
}
.hdm-kb__knopf::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
	transform: translateX(-120%);
	transition: transform 0.7s;
}
.hdm-kb__knopf:hover::after { transform: translateX(120%); }
.hdm-kb__knopf:hover { filter: brightness(1.05); box-shadow: 0 16px 34px rgba(10, 85, 240, 0.36); }
.hdm-kb__knopf svg { width: 18px; height: 18px; transition: transform 0.3s; }
.hdm-kb__knopf:hover svg { transform: translateX(3px); }
.hdm-kb__knopf--leise { background: var(--kb-s-chip); color: var(--_ink); box-shadow: none; }
.hdm-kb__knopf--leise::after { display: none; }
.hdm-kb__knopf--senden { min-width: 190px; justify-content: center; }
.hdm-kb__knopf.is-sending { pointer-events: none; opacity: 0.8; }
.hdm-kb__knopf.is-sending span::after { content: "…"; }

.hdm-kb__hinweis { margin: 14px 0 0; font-size: 0.8rem; line-height: 1.5; color: var(--_ink2); }
.hdm-kb__pruefung { margin: 12px 0 0; font-size: 0.88rem; color: #dc2626; }
.hdm-kb--dunkel .hdm-kb__pruefung { color: #fca5a5; }

/* Erfolg */
.hdm-kb__ok { position: relative; text-align: center; padding: 26px 10px; }
.hdm-kb__ok-i {
	display: grid; place-items: center;
	width: 84px; height: 84px; margin: 0 auto 18px;
	border-radius: 50%;
	background: rgba(22, 163, 74, 0.12);
	color: var(--kb-s-ok);
	animation: kb-pop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1.4);
}
.hdm-kb__ok-i svg { width: 40px; height: 40px; }
.hdm-kb__ok h3 { margin: 0 0 8px; font-size: 1.5rem; font-weight: 800; text-transform: none; }
.hdm-kb__ok p { margin: 0; color: var(--_ink2); }
@keyframes kb-pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── Bewegung reduziert ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	.hdm-kb__orb, .hdm-kb__badge i { animation: none; }
	.hdm-kb__zeile > span, .hdm-kb__el { transition: none; transform: none; opacity: 1; }
	.hdm-kb__karte { transform: none !important; }
}

/* ── Tablet / Handy ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.hdm-kb__raster { gap: 40px; }
	.hdm-kb__karte { padding: 26px; }
}
@media (max-width: 767px) {
	.hdm-kb { --_pad: var(--kb-pad-y, 56px); }
	.hdm-kb__raster { grid-template-columns: 1fr; padding: 0 20px; gap: 32px; }
	.hdm-kb--form-links .hdm-kb__text, .hdm-kb--form-links .hdm-kb__karte-wrap { order: initial; }
	.hdm-kb__karte { padding: 22px; transform: none !important; }
	.hdm-kb__reihe { grid-template-columns: 1fr; gap: 0; }
	.hdm-kb__person { grid-template-columns: 72px 1fr; }
	.hdm-kb__person img { width: 72px; height: 72px; border-radius: 18px; }
	.hdm-kb__aktionen { flex-direction: column-reverse; align-items: stretch; }
	.hdm-kb__knopf { justify-content: center; }
	.hdm-kb__orb { filter: blur(50px); }
}
/* Kit-Regeln fuer <button> ausser Kraft setzen */
.hdm-kb button.hdm-kb__knopf.hdm-kb__knopf { padding: 14px 24px !important; border-radius: 999px !important; border: 0 !important; font-size: 0.98rem !important; font-weight: 700 !important; line-height: 1.2 !important; text-transform: none !important; letter-spacing: 0 !important; color: #fff !important; background: linear-gradient(135deg, var(--_akzent), var(--_akzent2)) !important; }
.hdm-kb button.hdm-kb__knopf.hdm-kb__knopf--leise { background: var(--kb-s-chip) !important; color: var(--_ink) !important; box-shadow: none !important; }

/* 3.8.0: Kontaktwege als eine ruhige Liste, Person klickbar und mit Video, einfaches Formular */
.hdm-kb .hdm-kb__wege { gap: 0; margin: 0 0 22px; border: 1px solid var(--kb-s-rand); border-radius: 22px; background: var(--_karte); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden; }
.hdm-kb .hdm-kb__weg { grid-template-columns: 40px 1fr 22px; gap: 16px; padding: 16px 20px; border: 0; border-radius: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.hdm-kb .hdm-kb__weg + .hdm-kb__weg { border-top: 1px solid var(--kb-s-rand); }
.hdm-kb a.hdm-kb__weg:hover { transform: none; box-shadow: none; background: rgba(10, 85, 240, 0.04); }
.hdm-kb .hdm-kb__weg-i { width: 40px; height: 40px; border-radius: 12px; background: rgba(10, 85, 240, 0.09); color: var(--_akzent); box-shadow: none; transition: background 0.3s, color 0.3s; }
.hdm-kb a.hdm-kb__weg:hover .hdm-kb__weg-i { background: var(--_akzent); color: #fff; }
.hdm-kb .hdm-kb__weg-i svg { width: 19px; height: 19px; }
.hdm-kb .hdm-kb__weg-t { gap: 3px; line-height: 1.3; }
.hdm-kb .hdm-kb__weg-t b { font-size: 1.06rem; }
.hdm-kb .hdm-kb__weg-t span { font-size: 0.86rem; }
.hdm-kb .hdm-kb__weg-t span em { font-style: normal; font-weight: 700; color: var(--_ink); }
.hdm-kb .hdm-kb__weg-t span em::after { content: "·"; margin: 0 7px; font-weight: 400; color: var(--_ink2); }
.hdm-kb .hdm-kb__weg-a svg { width: 18px; height: 18px; }
.hdm-kb .hdm-kb__person { position: relative; align-items: center; margin: 0 0 24px; color: var(--_ink); text-decoration: none !important; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s; }
.hdm-kb a.hdm-kb__person { padding-right: 52px; }
.hdm-kb a.hdm-kb__person:hover { transform: translateY(-3px); border-color: rgba(46, 167, 255, 0.5); box-shadow: 0 18px 40px rgba(10, 85, 240, 0.12); }
.hdm-kb .hdm-kb__person video { width: 96px; height: 120px; border-radius: 22px; object-fit: cover; object-position: center 20%; display: block; box-shadow: 0 10px 24px rgba(6, 22, 47, 0.15); background: #e9eef6; }
.hdm-kb .hdm-kb__person-pf { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--_ink2); transition: transform 0.3s, color 0.3s; }
.hdm-kb .hdm-kb__person-pf svg { width: 20px; height: 20px; display: block; }
.hdm-kb a.hdm-kb__person:hover .hdm-kb__person-pf { transform: translate(4px, -50%); color: var(--_akzent); }
.hdm-kb .hdm-kb__lead { margin-bottom: 30px; }
.hdm-kb .hdm-kb__trust { margin-top: 4px; }
.hdm-kb--einfach .hdm-kb__karte-kopf { margin-bottom: 22px; }
.hdm-kb--einfach .hdm-kb__panel > * + * { margin-top: 16px; }
.hdm-kb--einfach .hdm-kb__aktionen { margin-top: 22px; }
.hdm-kb--einfach .hdm-kb__knopf--senden { width: 100%; justify-content: center; }
.hdm-kb--einfach .hdm-kb__hinweis { margin-top: 14px; }
@media (max-width: 767px) { .hdm-kb .hdm-kb__person video { width: 72px; height: 90px; border-radius: 18px; } .hdm-kb .hdm-kb__weg { padding: 14px 16px; gap: 12px; } }

.hdm-kb--einfach .hdm-kb__reihe > .hdm-kb__feld:only-child { grid-column: 1 / -1; }

/* 3.9.0: Einwilligung als Checkbox */
.hdm-kb .hdm-kb__check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin-top: 18px; font-size: 0.86rem; line-height: 1.5; color: var(--_ink2); cursor: pointer; }
.hdm-kb .hdm-kb__check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 7px; border: 1.5px solid rgba(6, 22, 47, 0.25); background: #fff; cursor: pointer; transition: background 0.2s, border-color 0.2s, box-shadow 0.2s; }
.hdm-kb .hdm-kb__check input:checked { background: #0A55F0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat; border-color: #0A55F0; }
.hdm-kb .hdm-kb__check input:focus-visible { box-shadow: 0 0 0 4px rgba(10, 85, 240, 0.2); outline: 0; }
.hdm-kb .hdm-kb__check.ist-fehler input { border-color: #DC2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12); }
.hdm-kb .hdm-kb__check a { color: var(--_akzent); text-decoration: underline; }
