/* TB Taximeter – styles. Colors default to Elementor global colors; every token can be overridden by the Elementor widget. */
.tb-taxi {
	--tb-accent: var(--e-global-color-primary, #DFA112);
	--tb-accent-hover: #C48E0E;
	--tb-dark: var(--e-global-color-secondary, #111317);
	--tb-text: var(--e-global-color-text, #1F2229);
	--tb-muted: #6B6B6B;
	--tb-border: #E5E5E5;
	--tb-field-bg: #FFFFFF;
	--tb-field-border: #D4D4D4;
	--tb-panel-bg: #FAFAFA;
	--tb-panel-text: var(--tb-text);
	--tb-radius: 8px;
	--tb-gap: 32px;
	--tb-font: var(--e-global-typography-text-font-family, Inter, system-ui, sans-serif);
	--tb-head: var(--e-global-typography-primary-font-family, Montserrat, sans-serif);
	--tb-btn-font: var(--e-global-typography-accent-font-family, Montserrat, sans-serif);
	display: grid; grid-template-columns: 1fr 1fr; gap: var(--tb-gap); align-items: start;
	font-family: var(--tb-font); color: var(--tb-text); box-sizing: border-box;
}
.tb-taxi *, .tb-taxi *::before, .tb-taxi *::after { box-sizing: border-box; }
.tb-taxi--stacked { grid-template-columns: 1fr; }
@media (max-width: 880px) { .tb-taxi { grid-template-columns: 1fr; --tb-gap: 20px; } }
.tb-taxi__title { grid-column: 1 / -1; margin: 0 0 4px; font-family: var(--tb-head); font-size: 24px; }

/* form */
.tb-taxi__form { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tb-taxi__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.tb-taxi__field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--tb-text); }
.tb-taxi__field label small { font-weight: 400; color: var(--tb-muted); }
.tb-taxi__input { position: relative; display: flex; align-items: center; }
.tb-taxi__icon { position: absolute; left: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--tb-accent); pointer-events: none; }
.tb-taxi__icon--to { background: var(--tb-dark); border-radius: 2px; }
.tb-taxi__input input, .tb-taxi__input select {
	width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--tb-field-border); border-radius: calc(var(--tb-radius) / 2);
	background: var(--tb-field-bg); font: inherit; font-size: 15px; color: var(--tb-text); transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.tb-taxi__input input[type=text] { padding-left: 34px; }
.tb-taxi__input select { background-image: linear-gradient(45deg, transparent 50%, var(--tb-muted) 50%), linear-gradient(135deg, var(--tb-muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.tb-taxi__input input:focus, .tb-taxi__input select:focus { outline: none; border-color: var(--tb-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tb-accent) 30%, transparent); }
.tb-taxi__input input::placeholder { color: #A3A3A3; }
.tb-taxi__check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.tb-taxi__check input { width: 18px; height: 18px; accent-color: var(--tb-accent); margin: 0; }

.tb-taxi__suggest { position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; right: 0; margin: 0; padding: 6px 0; list-style: none; background: #fff; color: #1F2229; border: 1px solid var(--tb-border); border-radius: var(--tb-radius); box-shadow: 0 12px 30px rgba(0,0,0,.14); max-height: 260px; overflow: auto; }
.tb-taxi__suggest li { padding: 10px 14px; font-size: 14px; cursor: pointer; line-height: 1.35; }
.tb-taxi__suggest li:hover, .tb-taxi__suggest li[aria-selected="true"] { background: color-mix(in srgb, var(--tb-accent) 18%, #fff); }

.tb-taxi__icon--via { background: var(--tb-muted); border-radius: 1px; transform: rotate(45deg); }
.tb-taxi__extras { border: 1px solid var(--tb-border); border-radius: calc(var(--tb-radius) / 2); padding: 10px 14px 12px; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.tb-taxi__extras legend { font-size: 13px; font-weight: 600; padding: 0 6px; }
.tb-taxi__extras small { color: var(--tb-muted); font-weight: 400; }

/* buttons */
.tb-taxi .tb-taxi__btn, .tb-taxi a.tb-taxi__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: calc(var(--tb-radius) / 2); cursor: pointer; text-decoration: none; font-family: var(--tb-btn-font); font-weight: 800; font-size: 12px; letter-spacing: .6px; text-transform: uppercase; background: var(--tb-accent); color: var(--tb-dark); transition: background .15s, color .15s, transform .1s; }
.tb-taxi .tb-taxi__btn:hover, .tb-taxi a.tb-taxi__btn:hover { background: var(--tb-accent-hover); color: var(--tb-dark); }
.tb-taxi__btn:active { transform: translateY(1px); }
.tb-taxi__btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--tb-accent) 50%, transparent); outline-offset: 2px; }
.tb-taxi__btn[disabled] { opacity: .6; cursor: wait; }
.tb-taxi a.tb-taxi__btn--call { background: var(--tb-dark); color: #fff; }
.tb-taxi a.tb-taxi__btn--call:hover { background: var(--tb-accent); color: var(--tb-dark); }
.tb-taxi a.tb-taxi__btn--ghost { background: transparent; border-color: var(--tb-field-border); color: var(--tb-panel-text); }
.tb-taxi a.tb-taxi__btn--ghost:hover { border-color: var(--tb-accent); color: var(--tb-panel-text); background: color-mix(in srgb, var(--tb-accent) 15%, transparent); }
.tb-taxi a.tb-taxi__btn--wa { background: #25D366; border-color: #25D366; color: #fff; }
.tb-taxi a.tb-taxi__btn--wa:hover { background: #1DA851; color: #fff; }
.tb-taxi__booking { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; width: 100%; justify-content: center; }
.tb-taxi__booking .tb-taxi__btn { flex: 1 1 160px; }
.tb-taxi--style-3 .tb-taxi__booking { justify-content: flex-start; }
.tb-taxi__form .tb-taxi__btn { width: 100%; margin-top: 4px; }
.tb-taxi__msg { margin: 0; min-height: 1.2em; font-size: 13px; color: #B91C1C; }
.tb-taxi__msg.is-info { color: var(--tb-muted); }

/* result panel */
.tb-taxi__result { background: var(--tb-panel-bg); color: var(--tb-panel-text); border: 1px solid var(--tb-border); border-radius: var(--tb-radius); padding: 28px; display: flex; align-items: center; min-width: 0; }
.tb-taxi__result-inner { width: 100%; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.tb-taxi__result-icon { width: 48px; height: 48px; border-radius: 8px; background: var(--tb-accent); color: var(--tb-dark); display: grid; place-items: center; font-size: 22px; }
.tb-taxi__label { font-size: 13px; font-weight: 500; opacity: .75; }
.tb-taxi__price { font-family: var(--tb-head); font-weight: 700; font-size: 36px; line-height: 1.1; }
.tb-taxi__meta { font-size: 14px; opacity: .8; }
.tb-taxi__badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.tb-taxi__badge { display: inline-block; padding: 3px 8px; border-radius: 4px; background: var(--tb-dark); color: var(--tb-accent); font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.tb-taxi__badge--fixed { background: var(--tb-accent); color: var(--tb-dark); }
.tb-taxi__lines { width: 100%; margin: 4px 0 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 13px; text-align: left; padding: 10px 12px; border-top: 1px dashed var(--tb-border); border-bottom: 1px dashed var(--tb-border); }
.tb-taxi__lines dt { opacity: .8; } .tb-taxi__lines dd { margin: 0; font-weight: 600; }
.tb-taxi__route { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; text-align: left; font-size: 13px; padding: 12px; background: color-mix(in srgb, var(--tb-panel-text) 4%, transparent); border: 1px solid var(--tb-border); border-radius: 6px; }
.tb-taxi__route small { display: block; font-size: 10px; letter-spacing: .5px; text-transform: uppercase; opacity: .6; }
.tb-taxi__note { margin: 4px 0 0; font-size: 12px; line-height: 1.5; opacity: .7; }
.tb-taxi__cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; width: 100%; }
.tb-taxi.is-loading .tb-taxi__price { opacity: .4; }
@media (max-width: 480px) {
	.tb-taxi__result { padding: 20px; }
	.tb-taxi__price { font-size: 30px; }
	.tb-taxi__route { grid-template-columns: 1fr; }
	.tb-taxi__cta .tb-taxi__btn { width: 100%; }
}

/* ---- Stil 2: Dunkel ---- */
.tb-taxi--style-2 { --tb-text: #FFFFFF; --tb-muted: #B5B5B5; --tb-border: rgba(255,255,255,.14); --tb-field-bg: #1F2229; --tb-field-border: rgba(255,255,255,.22); --tb-panel-bg: #1A1D23; --tb-panel-text: #FFFFFF; background: var(--tb-dark); padding: 32px; border-radius: 16px; }
.tb-taxi--style-2 .tb-taxi__input input, .tb-taxi--style-2 .tb-taxi__input select { color: #fff; }
.tb-taxi--style-2 .tb-taxi__price { color: var(--tb-accent); }
.tb-taxi--style-2 .tb-taxi__result-icon { background: var(--tb-accent); }
.tb-taxi--style-2 a.tb-taxi__btn--call { background: #fff; color: var(--tb-dark); }
@media (max-width: 480px) { .tb-taxi--style-2 { padding: 20px; } }

/* ---- Stil 3: Minimal (ohne Karten, Linien statt Flächen) ---- */
.tb-taxi--style-3 { --tb-panel-bg: transparent; --tb-radius: 2px; }
.tb-taxi--style-3 .tb-taxi__result { border: 0; border-left: 4px solid var(--tb-accent); border-radius: 0; padding: 8px 0 8px 24px; }
.tb-taxi--style-3 .tb-taxi__result-inner { text-align: left; align-items: flex-start; }
.tb-taxi--style-3 .tb-taxi__result-icon { display: none; }
.tb-taxi--style-3 .tb-taxi__price { font-size: 44px; }
.tb-taxi--style-3 .tb-taxi__input input, .tb-taxi--style-3 .tb-taxi__input select { border-width: 0 0 2px; border-radius: 0; padding-left: 0; background: transparent; }
.tb-taxi--style-3 .tb-taxi__input input[type=text] { padding-left: 20px; }
.tb-taxi--style-3 .tb-taxi__icon { left: 2px; }
.tb-taxi--style-3 .tb-taxi__input input:focus, .tb-taxi--style-3 .tb-taxi__input select:focus { box-shadow: none; }
.tb-taxi--style-3 .tb-taxi__btn { border-radius: 0; }
.tb-taxi--style-3 .tb-taxi__route { background: transparent; border: 0; padding: 0; }
.tb-taxi--style-3 .tb-taxi__cta, .tb-taxi--style-3 .tb-taxi__badges { justify-content: flex-start; }
@media (max-width: 480px) { .tb-taxi--style-3 .tb-taxi__result { padding-left: 16px; } .tb-taxi--style-3 .tb-taxi__price { font-size: 34px; } }
