.hkt {
	--hkt-bg: #0f1f2b;
	--hkt-bg2: #152a39;
	--hkt-line: rgba(255, 255, 255, 0.14);
	--hkt-text: #ffffff;
	--hkt-muted: #b5c4cf;
	--hkt-accent: #01e5ee;
	--hkt-ink: #0a141c;
	max-width: 760px;
	margin: 0 auto;
	padding: 28px;
	background: var(--hkt-bg);
	border: 1px solid var(--hkt-line);
	border-radius: 20px;
	color: var(--hkt-text);
	font-size: 1rem;
	line-height: 1.5;
	box-sizing: border-box;
	color-scheme: dark;
}
.hkt *, .hkt *::before, .hkt *::after { box-sizing: border-box; }
.hkt [hidden] { display: none !important; }
.hkt a { color: var(--hkt-accent); }

.hkt .hkt-step + .hkt-step, .hkt .hkt-step + .hkt-done { margin-top: 40px !important; padding-top: 40px; border-top: 1px solid var(--hkt-line); }
.hkt .hkt-h { display: flex; align-items: center; gap: 12px; margin: 0 0 24px !important; font-size: 1.2rem; line-height: 1.3; color: var(--hkt-text); }
.hkt-num {
	flex: none; display: inline-flex; align-items: center; justify-content: center;
	width: 30px; height: 30px; border-radius: 50%;
	background: rgba(1, 229, 238, 0.14); border: 1px solid rgba(1, 229, 238, 0.5);
	color: var(--hkt-accent); font-size: 0.85rem; font-weight: 700;
}
.hkt .hkt-sub { margin: 0 0 18px !important; font-size: 1rem; color: var(--hkt-text); font-weight: 700; }
.hkt .hkt-monat { margin: 26px 0 12px !important; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hkt-muted); font-weight: 600; }
.hkt .hkt-monat:first-child { margin-top: 0 !important; }
.hkt .hkt-note { margin: 18px 0 0 !important; font-size: 0.9rem; line-height: 1.55; color: var(--hkt-muted); }
.hkt .hkt-note-1 { margin-top: 28px !important; }

/* Terminart */
.hkt .hkt-arten { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hkt-card {
	display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left;
	padding: 20px 22px; min-height: 44px;
	background: var(--hkt-bg2); color: var(--hkt-text);
	border: 1.5px solid var(--hkt-line); border-radius: 16px;
	font: inherit; cursor: pointer; transition: border-color .15s, background .15s, transform .15s;
}
.hkt-card:hover { border-color: rgba(1, 229, 238, 0.7); transform: translateY(-1px); }
.hkt-card.is-on { border-color: var(--hkt-accent); background: rgba(1, 229, 238, 0.1); box-shadow: 0 0 0 1px var(--hkt-accent) inset; }
.hkt-ico { color: var(--hkt-accent); margin-bottom: 6px; }
.hkt-card-t { font-weight: 700; font-size: 1.08rem; }
.hkt-card-s { font-size: 0.92rem; line-height: 1.45; color: var(--hkt-muted); }

/* Tage als Kalenderkacheln */
.hkt-tagegruppe { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; }
.hkt-day {
	display: flex; flex-direction: column; align-items: center; gap: 1px;
	padding: 10px 6px 9px; min-height: 44px;
	background: var(--hkt-bg2); color: var(--hkt-text);
	border: 1.5px solid var(--hkt-line); border-radius: 14px;
	font: inherit; line-height: 1.1; cursor: pointer; transition: border-color .15s, background .15s, transform .15s;
}
.hkt-day:hover { border-color: rgba(1, 229, 238, 0.7); transform: translateY(-1px); }
.hkt-day-w { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hkt-muted); }
.hkt-day-n { font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.hkt-day-m { font-size: 0.74rem; color: var(--hkt-muted); }
.hkt-day.is-on { background: var(--hkt-accent); border-color: var(--hkt-accent); color: var(--hkt-ink); box-shadow: 0 6px 22px rgba(1, 229, 238, 0.25); }
.hkt-day.is-on .hkt-day-w, .hkt-day.is-on .hkt-day-m { color: var(--hkt-ink); opacity: 0.75; }

/* Uhrzeiten */
.hkt .hkt-zeitpanel {
	margin-top: 30px; padding: 22px;
	background: linear-gradient(180deg, rgba(1, 229, 238, 0.07), rgba(1, 229, 238, 0.02));
	border: 1px solid rgba(1, 229, 238, 0.28); border-radius: 18px;
	animation: hkt-in .25s ease-out;
}
@keyframes hkt-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hkt-zgruppe + .hkt-zgruppe { margin-top: 18px; }
.hkt-zlabel { display: block; margin-bottom: 10px; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hkt-muted); font-weight: 600; }
.hkt-zraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.hkt-zeit {
	display: inline-flex; align-items: baseline; justify-content: center; gap: 5px;
	min-height: 50px; padding: 12px 10px;
	background: var(--hkt-bg); color: var(--hkt-text);
	border: 1.5px solid var(--hkt-line); border-radius: 12px;
	font: inherit; cursor: pointer; transition: border-color .15s, background .15s, transform .15s;
}
.hkt-zeit:hover { border-color: rgba(1, 229, 238, 0.7); transform: translateY(-1px); }
.hkt-zeit-t { font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hkt-zeit-u { font-size: 0.8rem; color: var(--hkt-muted); }
.hkt-zeit.is-on { background: var(--hkt-accent); border-color: var(--hkt-accent); color: var(--hkt-ink); box-shadow: 0 6px 22px rgba(1, 229, 238, 0.25); }
.hkt-zeit.is-on .hkt-zeit-u { color: var(--hkt-ink); opacity: 0.75; }

/* Formular */
.hkt .hkt-summary { margin: 0 0 22px !important; padding: 10px 14px; background: rgba(1, 229, 238, 0.1); border-left: 3px solid var(--hkt-accent); border-radius: 6px; font-weight: 600; }
.hkt .hkt-form { display: grid; gap: 18px; }
.hkt-feld { display: flex; flex-direction: column; gap: 6px; }
.hkt-feld label { font-size: 0.9rem; color: var(--hkt-muted); font-weight: 600; }
.hkt-feld input[type="text"], .hkt-feld input[type="email"], .hkt-feld input[type="tel"], .hkt-feld textarea {
	width: 100%; padding: 12px 14px; min-height: 46px;
	background: var(--hkt-bg2); color: var(--hkt-text);
	border: 1.5px solid var(--hkt-line); border-radius: 10px;
	font: inherit;
}
.hkt-feld input:focus, .hkt-feld textarea:focus { outline: 2px solid var(--hkt-accent); outline-offset: 1px; border-color: var(--hkt-accent); }
.hkt-feld ::placeholder { color: #7f93a1; }
.hkt-hint { font-size: 0.82rem; color: var(--hkt-muted); }
.hkt-check { flex-direction: row; align-items: flex-start; gap: 10px; }
.hkt-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--hkt-accent); flex: none; }
.hkt-check label { font-weight: 400; }
.hkt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hkt .hkt-fehler { margin: 0 !important; padding: 10px 14px; background: rgba(255, 90, 90, 0.12); border-left: 3px solid #ff6b6b; border-radius: 6px; color: #ffd2d2; }
.hkt-senden {
	min-height: 50px; padding: 12px 24px;
	background: var(--hkt-accent); color: var(--hkt-ink);
	border: 0; border-radius: 12px; font: inherit; font-weight: 700; cursor: pointer;
	transition: filter .15s;
}
.hkt-senden:hover { filter: brightness(1.08); }
.hkt-senden:disabled { opacity: 0.6; cursor: wait; }
.hkt button:focus-visible { outline: 2px solid var(--hkt-accent); outline-offset: 2px; }

.hkt /* Eingabefelder: Schrift immer hell, auch bei Browser-Autofill und Fokus */
.hkt .hkt-feld input[type="text"],
.hkt .hkt-feld input[type="email"],
.hkt .hkt-feld input[type="tel"],
.hkt .hkt-feld textarea,
.hkt .hkt-feld input[type="text"]:focus,
.hkt .hkt-feld input[type="email"]:focus,
.hkt .hkt-feld input[type="tel"]:focus,
.hkt .hkt-feld textarea:focus {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	caret-color: var(--hkt-accent);
	background-color: var(--hkt-bg2) !important;
}
.hkt .hkt-feld input:-webkit-autofill,
.hkt .hkt-feld input:-webkit-autofill:hover,
.hkt .hkt-feld input:-webkit-autofill:focus,
.hkt .hkt-feld textarea:-webkit-autofill {
	-webkit-text-fill-color: #ffffff !important;
	-webkit-box-shadow: 0 0 0 1000px #152a39 inset !important;
	box-shadow: 0 0 0 1000px #152a39 inset !important;
	caret-color: #ffffff;
	transition: background-color 9999s ease-in-out 0s;
}

.hkt-done p { margin: 0 0 14px !important; color: var(--hkt-muted); }
.hkt-laden { margin: 0; color: var(--hkt-muted); }

@media (max-width: 600px) {
	.hkt { padding: 18px; border-radius: 16px; }
	.hkt .hkt-card { padding: 16px 18px; }
	.hkt .hkt-h { font-size: 1.1rem; margin-bottom: 18px !important; }
	.hkt .hkt-step + .hkt-step, .hkt .hkt-step + .hkt-done { margin-top: 30px !important; padding-top: 30px; }
	.hkt .hkt-arten { grid-template-columns: 1fr; }
	.hkt .hkt-tagegruppe { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
	.hkt .hkt-zeitpanel { padding: 16px; }
	.hkt .hkt-zraster { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.hkt * { transition: none !important; }
}

/* Beim Weiterspringen Platz für die feste Kopfzeile lassen, am Handy auch für die Kontaktleiste unten */
.hkt .hkt-step, .hkt .hkt-done { scroll-margin-top: 100px; }
.hkt .hkt-zeitpanel { scroll-margin-top: 100px; scroll-margin-bottom: 120px; }
.hkt input, .hkt textarea, .hkt button { scroll-margin-top: 110px; scroll-margin-bottom: 130px; }
@media (max-width: 900px) {
	.hkt { margin-bottom: 110px; }
}
