/**
 * tb-wizard.css — Styles für den Buchungs-Wizard auf der Produktseite
 * (turkboss-booking, Spec §5). Passend zu tb-calendar.css:
 * CI #CC0000, schlichte Chips, Fußleiste mit Zusammenfassung.
 */

/* ---------------- Container ---------------- */

.tb-wizard {
	margin: 16px 0 24px;
	border: 1px solid #e3e3e3;
	border-radius: 12px;
	background: #fff;
	color: #1f2328;
	font-size: 15px;
	line-height: 1.4;
	overflow: hidden;
}

.tb-wiz-schritt {
	padding: 14px 16px;
	border-bottom: 1px solid #ececec;
}

.tb-wiz-titel {
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #5f6368;
	margin-bottom: 10px;
}

/* ---------------- Schritt 1: Zeitraum-Button ---------------- */

.tb-wiz-zeitraum-btn {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	border: 2px solid #CC0000;
	border-radius: 8px;
	background: #fff;
	color: #CC0000;
	font: inherit;
	font-weight: 700;
	font-size: 16px;
	padding: 12px 16px;
	cursor: pointer;
	text-align: center;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.tb-wiz-zeitraum-btn:hover {
	background: #CC0000;
	color: #fff;
}

/* Zeitraum gewählt: dezenter, zeigt die Daten an */
.tb-wiz-zeitraum-btn.tb-wiz-zeitraum-gesetzt {
	border-color: #1a7f37;
	color: #1a7f37;
	background: #e7f6ec;
}

.tb-wiz-zeitraum-btn.tb-wiz-zeitraum-gesetzt:hover {
	background: #d8f0e0;
	color: #14602a;
}

/* ---------------- Schritt 2: Slot-Chips ---------------- */

.tb-wiz-slot-gruppe {
	margin-bottom: 12px;
}

.tb-wiz-slot-gruppe:last-child {
	margin-bottom: 0;
}

.tb-wiz-label {
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 6px;
}

.tb-wiz-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.tb-chip {
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid #d8d8d8;
	border-radius: 999px;
	background: #fff;
	color: #1f2328;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	padding: 6px 14px;
	cursor: pointer;
	transition: border-color 0.1s ease, background-color 0.1s ease;
}

.tb-chip:hover {
	border-color: #CC0000;
	color: #CC0000;
}

.tb-chip.tb-chip-aktiv {
	background: #CC0000;
	border-color: #CC0000;
	color: #fff;
}

.tb-wiz-laden,
.tb-wiz-leer {
	font-size: 14px;
	color: #8b9096;
}

/* ---------------- Schritt 3 (optional): Anbaugeräte ---------------- */

.tb-wiz-anbau {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0 0 8px;
	font-weight: 600;
	cursor: pointer;
}

.tb-wiz-anbau:last-child {
	margin-bottom: 0;
}

.tb-wiz-anbau input[type="checkbox"] {
	accent-color: #CC0000;
	margin: 0;
	flex: 0 0 auto;
	transform: translateY(1px);
}

.tb-wiz-anbau-name {
	flex: 1 1 auto;
}

.tb-wiz-anbau-preis {
	font-weight: 400;
	font-style: normal;
	color: #1a7f37;
	white-space: nowrap;
}

/* Im Zeitraum nicht verfügbar: ausgegraut, nicht wählbar */
.tb-wiz-anbau.tb-wiz-anbau-inaktiv {
	color: #9a9a9a;
	cursor: not-allowed;
}

.tb-wiz-anbau.tb-wiz-anbau-inaktiv .tb-wiz-anbau-preis {
	color: #9a9a9a;
}

/* ---------------- Schritt Übergabe: Transport ---------------- */

.tb-wiz-radio {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0 0 8px;
	font-weight: 600;
	cursor: pointer;
}

.tb-wiz-radio input[type="radio"] {
	accent-color: #CC0000;
	margin: 0;
	flex: 0 0 auto;
	transform: translateY(1px);
}

.tb-wiz-hinweis {
	font-weight: 400;
	font-style: normal;
	color: #1a7f37;
}

.tb-wiz-lieferung {
	margin: 4px 0 0 26px;
}

.tb-wiz-ziel {
	width: 100%;
	max-width: 340px;
	border: 1px solid #d8d8d8;
	border-radius: 6px;
	background: #fff;
	color: #1f2328;
	font: inherit;
	font-size: 15px;
	padding: 8px 12px;
}

.tb-wiz-ziel:focus {
	outline: none;
	border-color: #CC0000;
	box-shadow: 0 0 0 2px rgba(204, 0, 0, 0.15);
}

.tb-wiz-transport-info {
	margin-top: 6px;
	font-size: 14px;
	color: #1a7f37;
	min-height: 1.4em;
}

.tb-wiz-transport-info.tb-wiz-warnung {
	color: #c0392b;
}

/* Telefonnummer im Warnhinweis: der Kunde steckt in der Buchung fest,
   die Nummer muss als Ausweg sofort ins Auge fallen und antippbar sein. */
.tb-wiz-transport-info .tb-wiz-tel {
	color: #c0392b;
	font-weight: 700;
	text-decoration: underline;
	white-space: nowrap;
}
.tb-wiz-transport-info .tb-wiz-tel:hover {
	text-decoration: none;
}

/* ---------------- Fehlermeldungen ---------------- */

.tb-wiz-fehler {
	margin: 12px 16px 0;
	padding: 10px 12px;
	border-radius: 6px;
	background: #fdeaea;
	color: #c0392b;
	font-size: 14px;
}

.tb-wiz-fehler[hidden] {
	display: none;
}

/* ---------------- Fußleiste ---------------- */

.tb-wiz-fuss {
	padding: 14px 16px;
	background: #fafafa;
	border-top: 1px solid #ececec;
}

.tb-wiz-zusammenfassung {
	margin-bottom: 12px;
}

.tb-wiz-zeile {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 3px 0;
	font-size: 14px;
}

.tb-wiz-zeile.tb-wiz-gesamt {
	border-top: 1px solid #e3e3e3;
	margin-top: 6px;
	padding-top: 8px;
	font-weight: 700;
	font-size: 16px;
}

/* Kaution: klar sichtbar, aber optisch vom Rechnungsbetrag getrennt —
   sie wird hinterlegt, nicht bezahlt. */
.tb-wiz-zeile.tb-wiz-kaution {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px dashed #d6d9db;
	font-weight: 700;
	color: #CC0000;
}

/* Eigene Klasse: .tb-wiz-hinweis ist bereits fuer den gruenen
   "(kostenlos)"-Zusatz beim Transport vergeben. */
.tb-wiz-kaution-hinweis {
	font-size: 12px;
	line-height: 1.4;
	color: #6b7177;
	margin-top: 2px;
}

.tb-wiz-kaufen {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	border: 0;
	border-radius: 8px;
	background: #CC0000;
	color: #fff;
	font: inherit;
	font-weight: 700;
	font-size: 16px;
	padding: 12px 24px;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.tb-wiz-kaufen:hover:not(:disabled) {
	background: #a80000;
}

.tb-wiz-kaufen:disabled {
	background: #dcdcdc;
	color: #9a9a9a;
	cursor: not-allowed;
}

/* ---------------- Verstecktes Formular ---------------- */

.tb-wiz-form[hidden] {
	display: none;
}

/* ------------------------------------------------------------------ */
/* Infoblock neben der Galerie (füllt die Summary vor der Buchung)     */
/* ------------------------------------------------------------------ */
.tb-wiz-info {
	margin-top: 18px;
	padding: 18px 20px;
	background: #fafafa;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
}
.tb-wiz-info-text {
	margin: 0 0 12px;
	color: #333;
	line-height: 1.6;
}
.tb-wiz-info-liste {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
}
.tb-wiz-info-liste li {
	position: relative;
	padding: 4px 0 4px 30px;
	line-height: 1.5;
	color: #1a1a1a;
}
.tb-wiz-info-liste li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #e7f6ec;
	color: #2e9e4f;
	font-weight: 700;
	font-size: 13px;
	text-align: center;
	line-height: 20px;
}
.tb-wiz-info-kontakt {
	margin: 0;
	padding-top: 12px;
	border-top: 1px solid #e5e5e5;
	color: #555;
	font-size: 14px;
}
.tb-wiz-info-kontakt a {
	color: #CC0000;
	font-weight: 700;
	text-decoration: none;
}

/* Buchungsmodus: Wizard tritt in den Vordergrund, Infoblock ist per
   [hidden] ausgeblendet (tb-wizard.js setzt .tb-wiz-aktiv + hidden). */
.tb-wizard.tb-wiz-aktiv {
	border: 2px solid #CC0000;
	border-radius: 8px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
	padding: 6px 10px 10px;
	background: #fff;
}

/* ------------------------------------------------------------------ */
/* Linkfarbe auf Miet-Produktseiten: Theme-Pink -> CI-Rot              */
/* ------------------------------------------------------------------ */
.single-product .woocommerce-Tabs-panel a,
.single-product .woocommerce-product-details__short-description a,
.single-product .summary a:not(.tb-wiz-kaufen):not(.tb-wiz-zeitraum-btn):not(.tb-wiz-gesperrt-tel):not(.tb-wiz-gesperrt-mail) {
	color: #CC0000;
	text-decoration: none;
}
.single-product .woocommerce-Tabs-panel a:hover,
.single-product .woocommerce-product-details__short-description a:hover,
.single-product .summary a:not(.tb-wiz-kaufen):not(.tb-wiz-zeitraum-btn):not(.tb-wiz-gesperrt-tel):not(.tb-wiz-gesperrt-mail):hover {
	color: #8f0000;
	text-decoration: underline;
}


/* Gesperrte Maschine: statt Kalender ein Hinweis mit Kontaktweg.
   Die Seite bleibt indexierbar — sie verkauft auch, wenn nicht vermietet wird. */
.tb-wiz-gesperrt-box {
	border: 2px solid #CC0000;
	border-radius: 10px;
	padding: 18px 20px;
	background: #fdf3f3;
}

.tb-wiz-gesperrt-titel {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 800;
	color: #CC0000;
}

.tb-wiz-gesperrt-text {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.55;
	color: #1a1a1a;
}

.tb-wiz-gesperrt-kontakt {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 10px;
}

.tb-wiz-gesperrt-tel,
.tb-wiz-gesperrt-mail {
	flex: 1 1 auto;
	text-align: center;
	padding: 12px 16px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
}

/* Hoehere Spezifitaet noetig: Theme und Elementor setzen eine eigene
   Linkfarbe, sonst steht die Schrift rot auf rot. */
.tb-wiz-gesperrt-box a.tb-wiz-gesperrt-tel {
	background: #CC0000;
	color: #fff;
}

.tb-wiz-gesperrt-box a.tb-wiz-gesperrt-tel:hover {
	background: #a80000;
	color: #fff;
}

.tb-wiz-gesperrt-box a.tb-wiz-gesperrt-mail {
	background: #fff;
	color: #1a1a1a;
	border: 2px solid #d6d9db;
}

.tb-wiz-gesperrt-fuss {
	margin: 0;
	font-size: 13px;
}

.tb-wiz-gesperrt-fuss a {
	color: #6b7177;
}

/* ---------------- Lieferadresse: Vorschläge + Berechnen-Knopf ---------------- */

.tb-wiz-adresse {
	position: relative;
}

.tb-wiz-vorschlaege {
	position: absolute;
	z-index: 30;
	left: 0;
	right: 0;
	top: calc(100% + 2px);
	max-width: 340px;
	margin: 0;
	padding: 4px;
	list-style: none;
	background: #fff;
	border: 1px solid #d8d8d8;
	border-radius: 8px;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
	max-height: 260px;
	overflow-y: auto;
}

.tb-wiz-vorschlaege[hidden] {
	display: none;
}

.tb-wiz-vorschlag {
	padding: 9px 10px;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.35;
	cursor: pointer;
}

.tb-wiz-vorschlag:hover,
.tb-wiz-vorschlag.tb-wiz-vorschlag-aktiv {
	background: #fdf3f3;
	color: #CC0000;
}

.tb-wiz-liefer-btn {
	appearance: none;
	-webkit-appearance: none;
	margin-top: 8px;
	border: 2px solid #CC0000;
	border-radius: 8px;
	background: #fff;
	color: #CC0000;
	font: inherit;
	font-weight: 700;
	font-size: 15px;
	padding: 10px 18px;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}

.tb-wiz-liefer-btn:hover:not(:disabled) {
	background: #CC0000;
	color: #fff;
}

.tb-wiz-liefer-btn:disabled {
	border-color: #dcdcdc;
	color: #9a9a9a;
	cursor: not-allowed;
}

/* Steuerhinweis unter der Gesamtsumme. Der Assistent rechnet immer brutto,
   auch wenn oben die Nettoansicht gewaehlt ist — an der Kasse wird brutto
   abgebucht, und darauf muss die Zusammenfassung hinweisen. */
.tb-wiz-zeile.tb-wiz-steuer {
  font-size: 12px;
  color: #7a7a7a;
  margin-top: -4px;
}

/* Hinweis ueber dem Knopf "Lieferkosten berechnen".
   Ohne vollstaendige Adresse rechnet Google von einem Punkt irgendwo in der
   Gemeinde — das kann ueber 100 Euro danebenliegen. Deshalb steht der Satz
   VOR der Berechnung und nicht als Fussnote darunter. */
.tb-wiz-adresse-hinweis {
  font-size: 12.5px;
  line-height: 1.45;
  color: #6b6b6b;
  margin: 6px 0 10px;
}
