/* === STB Privatprodukte (05.10.2026, Bau-Chat Technik) — gehoert zu stb-privatprodukt.php ===
   Badge, Preiszeile, Anfrage-Kasten, Anfrage-Formular, Reiseart-Umschalter.
   Farben und Knopfform wie der Buchen-Knopf der Toernseiten (gemessen:
   #147dfe, Pill-Radius, Versalien, 600).
   Rueckbau: zusammen mit stb-privatprodukt.php loeschen. */

.stb-privat-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 100px;
	background: #147dfe;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
}

/* Karte: Badge in der Bildecke */
.category-trip-fig {
	position: relative;
}
.category-trip-fig > .stb-privat-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 3;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
	pointer-events: none;
}

/* Preiszeile: „ab XXX € pro Woche für die ganze Yacht" */
.stb-privat-preis .stb-privat-einheit {
	font-size: 13px;
	font-weight: 400;
	color: #8b939a;
}
/* Karte: Einheit als eigene Zeile unter der Zahl, wie „pro Person" bei
   Mitsegeln (.pricing-label: 14px, 700, rgba(15,29,35,.64), gemessen) */
.price-holder .stb-privat-preis {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-align: right;
}
.price-holder .stb-privat-einheit {
	font-size: 14px;
	font-weight: 700;
	line-height: 21px;
	color: rgba(15, 29, 35, 0.64);
}

/* Anfrage-Kasten in der Seitenleiste (statt Buchen-Kasten).
   WPTE legt .wpte-bf-price-wrap als Zeile mit zwei Preisspalten an
   (Doppel/Einzel, je 50 % mit Trennstrich) — hier eine Spalte untereinander. */
.stb-privat-kasten .wpte-booking-area .wpte-bf-price-wrap {
	flex-direction: column;
	align-items: flex-start;
	padding: 0 24px 24px;
	margin-bottom: 24px;
}
/* WPTE (single-trip.css): „.wpte-booking-area .wpte-bf-price-wrap .wpte-bf-price"
   mit padding/margin !important und Trennstrich an :nth-child(2n) — deshalb
   hier dieselbe Spezifitaet plus !important */
.stb-privat-kasten .wpte-booking-area .wpte-bf-price-wrap .wpte-bf-price {
	display: block;
	flex: none;
	width: auto;
	margin: 12px 0 0 !important;
	padding: 0 !important;
	border-left: 0 !important;
}
.stb-privat-kasten .stb-privat-badge {
	display: inline-block;
	width: auto;
	height: auto;
}
.stb-privat-kasten .stb-privat-zahl {
	display: block;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.25;
	color: #111827;
}
.stb-privat-kasten .stb-privat-einheit {
	display: block;
	margin-top: 2px;
}
.stb-privat-kasten .wpte-bf-btn-wrap {
	margin-top: 16px;
}
a.stb-anfrage-btn,
a.stb-anfrage-btn:visited {
	display: block;
	text-align: center;
	background: #147dfe;
	color: #fff;
	border-radius: 100px;
	padding: 16px 24px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
}
a.stb-anfrage-btn:hover,
a.stb-anfrage-btn:focus {
	background: #0f6ae0;
	color: #fff;
}

/* Anfrage-Formular unter dem Inhalt */
#anfrage {
	scroll-margin-top: 100px;
}
.stb-privat-anfrage {
	margin-top: 40px;
}
.stb-privat-anfrage-titel {
	margin-bottom: 16px;
}
/* Das Bewertungs-Add-on (wte-trip-review-public.css) blendet auf Toernseiten
   JEDES „fieldset input[type=radio]" aus (z-index -9999999, visibility
   hidden) — gedacht fuer seine Sterne. Im Anfrageformular wieder zeigen
   (Feld „Wer segelt mit?"; gemessen 05.10.2026). */
#stb-privat-anfrage fieldset input[type="radio"] {
	z-index: auto;
	opacity: 1;
	visibility: visible;
	padding-right: 0;
}

/* Handy: einzeilige Leiste wie beim Buchen-Kasten (stb-mobile-ux.php) */
@media (max-width: 782px) {
	body.stb-mob-ux .stb-privat-kasten .stb-privat-badge,
	body.stb-mob-ux .stb-privat-kasten .stb-privat-einheit {
		display: none;
	}
	body.stb-mob-ux .stb-privat-kasten .stb-privat-zahl {
		font-size: 18px;
	}
	body.stb-mob-ux .stb-privat-kasten .stb-privat-zahl::after {
		content: ' / Woche';
		font-size: 12px;
		font-weight: 400;
		color: #8b939a;
	}
	body.stb-mob-ux .stb-privat-kasten .wpte-bf-btn-wrap {
		margin-top: 0;
	}
	body.stb-mob-ux .stb-privat-kasten a.stb-anfrage-btn {
		padding: 10px 16px;
		font-size: 13px;
		white-space: nowrap;
	}
}

/* Toernfinder: Umschalter „Alle · Mitsegeln · Privat (ganze Yacht)" */
.stb-reiseart-umschalter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	/* eigene volle Zeile: .wp-travel-engine-archive-repeater-wrap ist eine
	   umbrechende Flex-Zeile (gemessen), sonst stuenden die Knoepfe neben der
	   Suche und wuerden in die Hoehe gezogen */
	flex: 0 0 100%;
	width: 100%;
}
.stb-reiseart-umschalter button {
	border: 1px solid #d1d5db;
	background: #fff;
	color: #111827;
	border-radius: 100px;
	padding: 8px 18px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
}
.stb-reiseart-umschalter button[aria-pressed="true"] {
	background: #147dfe;
	border-color: #147dfe;
	color: #fff;
}
.stb-reiseart-umschalter button:focus-visible {
	outline: 2px solid #147dfe;
	outline-offset: 2px;
}

/* Zweiter Knopf „Lieber mitsegeln?" in der Seitenleiste (Daniel, 05.10.2026 abends) */
.stb-privat-kasten .stb-mitsegeln-hinweis {
	margin: 18px 0 6px;
	text-align: center;
	font-size: 14px;
	line-height: 1.3;
	color: #5b6670;
}
a.stb-mitsegeln-btn,
a.stb-mitsegeln-btn:visited {
	display: block;
	text-align: center;
	background: #fff;
	color: #147dfe;
	border: 2px solid #147dfe;
	border-radius: 100px;
	padding: 11px 20px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}
a.stb-mitsegeln-btn:hover,
a.stb-mitsegeln-btn:focus {
	background: #eef5ff;
	color: #0f6ae0;
}
@media (max-width: 782px) {
	body.stb-mob-ux .stb-privat-kasten .stb-mitsegeln-wrap {
		display: none;
	}
}

/* Auswahlknöpfe im Anfrageformular: Das Theme zeichnet sie als weißen Kreis
   (appearance none) und färbt den gewählten kaum (gemessen 05.10.2026).
   Jetzt: blauer Punkt, blauer Rand, Text fett (Daniel, Tor C Seite 8). */
#stb-privat-anfrage input[type="radio"].wsf-field {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	width: 20px;
	height: 20px;
	border: 2px solid #8b939a;
	border-radius: 50%;
	background: #fff;
}
#stb-privat-anfrage input[type="radio"].wsf-field:checked {
	border-color: #147dfe !important;
	background: #147dfe !important; /* WS Form setzt den Hintergrund des gewählten Knopfs durchsichtig */
	box-shadow: inset 0 0 0 4px #fff !important;
}
#stb-privat-anfrage input[type="radio"].wsf-field:focus-visible {
	outline: 2px solid #147dfe;
	outline-offset: 2px;
}
#stb-privat-anfrage input[type="radio"].wsf-field:checked + label {
	font-weight: 700;
	color: #147dfe;
}

/* Routen-Baustein im Reiter „Reviere & Routen“ (05.10.2026 abends, Befund Daniel): Das Theme gibt .container
   ab ca. 1.600 px eine feste Breite von 1.280 px; in der Törn-Spalte (ca. 870 px) lief der Baustein
   dadurch unter die Seitenleiste (gemessen bei 1680 und 1920). Hier an die Spaltenbreite binden. */
.wpte-tabs-container .stb-routen .container {
	width: auto !important;
	max-width: 100% !important;
	padding-left: 0;
	padding-right: 0;
}
/* Karte größer in der Törn-Spalte: etwa 60 zu 40 statt 51 zu 49 (Daniel per Klick-Frage, 05.10.2026 abends). */
@media (min-width: 981px) {
	.wpte-tabs-container .stb-routen__gitter {
		grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	}
}
/* Lange Ortsnamen auf der Karte umbrechen statt anschneiden (Törn-Reiter, 05.10.2026 abends). */
.wpte-tabs-container .stb-routen__punktname {
	white-space: normal;
	width: max-content;
	max-width: 120px;
}
.wpte-tabs-container .stb-routen__punkt.name-links .stb-routen__punktname {
	text-align: right;
}

/* Nadine neben dem Anfrageformular (07.10.2026, STB Bauplan 15, Befund Q108). Rückbau: Abschnitt löschen. */
.stb-privat-anfrage-raster { display: grid; grid-template-columns: 1fr; gap: 2.4rem; align-items: start; }
.stb-privat-nadine { display: flex; gap: 1.6rem; align-items: center; }
.stb-privat-nadine-bild { flex: 0 0 auto; }
.stb-privat-nadine-bild img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; display: block; }
.stb-privat-nadine-text p { margin: 0 0 .8rem; }
@media (min-width: 992px) {
	.stb-privat-anfrage-raster { grid-template-columns: minmax(220px, 1fr) 2fr; gap: 4rem; }
	.stb-privat-nadine { flex-direction: column; align-items: flex-start; }
	.stb-privat-nadine-bild img { width: 180px; height: 180px; }
}