/* Buchungsstrecke. Bedient sich an den Design-Tokens des Hundeschule-Themes
   (--rust, --paper, --ink …) und hat für jeden davon einen Standardwert – so
   sieht das Formular auch in einem anderen Theme ordentlich aus. */

.dbk {
	--dbk-brand: var(--rust, #bd5f33);
	--dbk-ink: var(--ink, #2c2621);
	--dbk-muted: var(--ink-soft, #7a6f63);
	--dbk-paper: var(--paper, #f6efe2);
	--dbk-line: var(--line, #e2d6c2);
	--dbk-radius: 12px;

	max-width: 640px;
	margin: 0 auto;
	color: var(--dbk-ink);
	text-align: left;
}

.dbk-page { padding: 48px 20px 64px; }

.dbk-title { margin: 0 0 6px; }
.dbk-intro { margin: 0 0 20px; color: var(--dbk-muted); }

.dbk-status { margin: 0 0 18px; padding: 12px 14px; border-radius: var(--dbk-radius); font-size: .95rem; }
.dbk-status[hidden] { display: none; }
.dbk-status.err { background: #fdeceb; color: #8a2018; border: 1px solid #f3c9c5; }
.dbk-status.ok,
.dbk-status.show:not(.err) { background: #eef7ee; color: #1f5c2a; border: 1px solid #cbe4cd; }

.dbk-form { display: grid; gap: 22px; }
.dbk-form[hidden] { display: none; }

.dbk-step { display: grid; gap: 8px; }
.dbk-step--data { gap: 14px; border-top: 1px solid var(--dbk-line); padding-top: 20px; }

.dbk-label { font-weight: 600; }
.dbk-sublabel { display: block; margin: 0 0 4px; font-size: .82rem; color: var(--dbk-muted); }

.dbk-input {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid var(--dbk-line);
	border-radius: var(--dbk-radius);
	background: #fff;
	color: inherit;
	font: inherit;
	box-sizing: border-box;
}
.dbk-input:focus {
	outline: none;
	border-color: var(--dbk-brand);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--dbk-brand) 25%, transparent);
}

.dbk-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.dbk-grid--zip { grid-template-columns: 1fr 2fr; }
@media (max-width: 560px) { .dbk-grid, .dbk-grid--zip { grid-template-columns: 1fr; } }

.dbk-hint { margin: 0; color: var(--dbk-muted); font-size: .9rem; }
.dbk-service-desc { margin: 0; color: var(--dbk-muted); font-size: .9rem; }

.dbk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.dbk-slot {
	display: flex; flex-direction: column; align-items: center; gap: 2px;
	padding: 10px 6px;
	border: 1px solid var(--dbk-line);
	border-radius: var(--dbk-radius);
	background: #fff;
	color: inherit;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.dbk-slot small { font-weight: 400; font-size: .72rem; color: var(--dbk-muted); }
.dbk-slot:hover { border-color: var(--dbk-brand); }
.dbk-slot.is-selected { background: var(--dbk-brand); border-color: var(--dbk-brand); color: #fff; }
.dbk-slot.is-selected small { color: rgba(255, 255, 255, .8); }

.dbk-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--dbk-muted); }
.dbk-consent input { margin-top: 3px; flex: 0 0 auto; }

.dbk-submit {
	width: 100%;
	padding: 14px 18px;
	border: 0;
	border-radius: var(--dbk-radius);
	background: var(--dbk-brand);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.dbk-submit:disabled { opacity: .5; cursor: not-allowed; }
.dbk-submit--danger { background: #b3261e; }

/* Honeypot: für Menschen unsichtbar, für Bots ein ganz normales Feld.
   Kein display:none – manche Bots überspringen versteckte Felder gezielt. */
.dbk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.dbk-done { text-align: center; }
.dbk-done[hidden] { display: none; }
.dbk-done-badge {
	width: 48px; height: 48px; margin: 0 auto 12px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%; background: #eef7ee; color: #1f5c2a; font-size: 1.6rem;
}
.dbk-done-title { margin: 0 0 16px; }
.dbk-done-note { margin: 10px 0 0; color: var(--dbk-muted); font-size: .9rem; }
.dbk-again {
	margin-top: 18px; padding: 12px 18px;
	border: 1px solid var(--dbk-line); border-radius: var(--dbk-radius);
	background: #fff; color: inherit; font: inherit; font-weight: 600; cursor: pointer;
}

.dbk-summary { margin: 0; padding: 0 14px; background: var(--dbk-paper); border-radius: var(--dbk-radius); text-align: left; }
.dbk-summary > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; }
.dbk-summary > div + div { border-top: 1px solid var(--dbk-line); }
.dbk-summary dt { color: var(--dbk-muted); margin: 0; }
.dbk-summary dd { margin: 0; font-weight: 600; text-align: right; }

.dbk-cancel-form { margin-top: 20px; }
