/* ============================================================
   Schnell-Ticket ohne Konto – ergänzt supporter_v3.css
   ============================================================ */
.gt-wrap { max-width: 820px; margin: 0 auto; }
.gt-lead { margin: -4px 0 18px; color: var(--text-2); font-size: 15.5px; max-width: 62ch; }
.gt-muted { color: var(--muted); }
.gt-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 22px 22px 18px;
	margin-bottom: 18px;
	animation: gtIn .35s var(--ease) both;
}
.gt-card h2 { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.gt-card p { color: var(--text-2); }
.gt-section {
	display: flex; align-items: center; gap: 10px;
	font-size: 12px !important; font-weight: 700 !important; letter-spacing: .1em; text-transform: uppercase;
	color: var(--muted); margin: 6px 0 14px !important;
}
.gt-section::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--border); }
.gt-card .sp-form-grid + .gt-section { margin-top: 10px !important; }
.gt-opt { font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.gt-opt.is-req { color: var(--warn); }
.gt-err { margin: 6px 0 0; font-size: 13px; color: #ffb4a3; }
.form-control.is-invalid { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(224, 102, 74, .25) !important; }
.gt-notice-err { color: #ffb4a3; background: rgba(224, 102, 74, .08); border-color: rgba(224, 102, 74, .4); margin: 0 0 16px; }

/* Lockfeld für Bots */
.gt-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Dringlichkeit */
.gt-urgency { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.gt-urgency legend { font-size: 13px; font-weight: 600; color: var(--text-2); letter-spacing: .02em; margin-bottom: 6px; }
.gt-radio { display: flex; align-items: flex-start; gap: 10px; padding: 9px 12px; margin: 0 0 8px; border: 1px solid var(--border-strong); border-radius: 10px; cursor: pointer; transition: border-color .2s, background .2s; }
.gt-radio:last-child { margin-bottom: 0; }
.gt-radio input { margin-top: 4px; accent-color: var(--accent-hi); }
.gt-radio span { display: flex; flex-direction: column; line-height: 1.3; }
.gt-radio b { font-size: 14px; color: var(--text); }
.gt-radio small { font-size: 12px; color: var(--muted); }
.gt-radio:has(input:checked) { border-color: var(--accent-hi); background: var(--accent-soft); }
.gt-radio.is-urgent:has(input:checked) { border-color: var(--danger); background: rgba(224, 102, 74, .12); }

/* Datei-Auswahl */
.gt-drop {
	position: relative; display: flex; align-items: center; gap: 12px;
	padding: 16px; border: 2px dashed var(--border-strong); border-radius: var(--radius);
	color: var(--text-2); cursor: pointer; transition: border-color .2s, background .2s; margin: 0;
}
.gt-drop:hover, .gt-drop:focus-within { border-color: var(--accent-hi); background: rgba(164, 62, 11, .05); }
.gt-drop.has-files { border-style: solid; border-color: var(--accent-hi); }
.gt-drop svg { width: 22px; height: 22px; fill: var(--accent-hi); flex: none; }
.gt-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* Einverständnis */
.gt-consent { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 0; font-size: 13px; font-weight: 500; color: var(--text-2); cursor: pointer; }
.gt-consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--accent-hi); flex: none; }
.gt-consent.is-invalid span { color: #ffb4a3; }

.gt-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.gt-link { margin-right: auto; font-size: 13px; color: var(--muted) !important; text-decoration: underline; text-underline-offset: 3px; }
.gt-link:hover { color: var(--text) !important; }
.gt-submit { min-width: 170px; }
.gt-submit.is-busy { opacity: .7; }

/* Betreuer-Logo in der Titelleiste */
.gt-logo { display: inline-flex; align-items: center; height: 38px; padding: 0 4px; }
.gt-logo img { max-height: 34px; max-width: 140px; object-fit: contain; }
.gt-logo.is-plate { background: #fff; border-radius: 8px; padding: 0 10px; }

/* Auswahl Betreuer */
.gt-tenants { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 14px; }
.gt-tenant { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 120px; padding: 16px; text-align: center; color: var(--text) !important; background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--radius); transition: border-color .2s, transform .15s; }
.gt-tenant:hover { border-color: var(--accent-hi); transform: translateY(-2px); text-decoration: none; }
.gt-tenant small { color: var(--muted); font-size: 12px; }

/* Bestätigung */
.gt-success { text-align: center; padding: 34px 24px 24px; }
.gt-success p { max-width: 54ch; margin-left: auto; margin-right: auto; }
.gt-success .gt-actions { justify-content: center; }
.gt-check { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: rgba(76, 194, 122, .14); border: 1px solid rgba(76, 194, 122, .4); animation: gtPop .5s cubic-bezier(.16, 1, .3, 1) both; }
.gt-check svg { width: 32px; height: 32px; fill: var(--ok); }
.gt-success .sp-notice { text-align: left; }

.gt-foot { margin: 22px 0 6px; text-align: center; font-size: 12px; color: #6f6f6f; }
.gt-foot a { color: #8a8a8a; }

/* Ticket-Verlauf für Gäste */
.gt-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 14px; }
.gt-closed { margin-top: 0; }

@keyframes gtIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes gtPop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
	.gt-card { padding: 18px 14px 14px; }
	.gt-actions { flex-direction: column-reverse; align-items: stretch; }
	.gt-link { margin: 4px auto 0; }
	.sp-appbar-actions .gt-logo { display: none; }
}
@media (prefers-reduced-motion: reduce) { .gt-card, .gt-check { animation: none; } }
.gt-small { font-size: 12.5px; margin-top: 12px; }
.gt-chip-urgent { color: #ffb4a3 !important; border-color: rgba(224, 102, 74, .45) !important; background: rgba(224, 102, 74, .1) !important; }
.sp-composer-hint.is-err { color: #ffb4a3; }
.sp-composer label.sp-composer-btn { margin: 0; }

/* Bereich-Auswahl (15.10.2026): dunkle, lesbare Liste mit Gruppen.
   Grundlage für alle Browser; Chrome/Edge ab 135 bekommen über appearance: base-select eine ganz eigene Liste. */
.gt-wrap select { color-scheme: dark; cursor: pointer; }
.gt-wrap select optgroup { background: #1b1b1b; color: var(--accent-hi); font-style: normal; font-weight: 700; }
.gt-wrap select option { background: #2a2a2a; color: var(--text); font-weight: 500; }
.gt-wrap select option:checked { background: var(--accent); color: #fff; }

@supports (appearance: base-select) {
	.gt-wrap select,
	.gt-wrap select::picker(select) { appearance: base-select; }
	.gt-wrap select {
		display: flex; align-items: center; gap: 10px;
		padding: 0 14px !important;
	}
	.gt-wrap select::picker-icon {
		content: ''; width: 8px; height: 8px; margin-left: auto;
		border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
		rotate: 45deg; translate: 0 -2px; color: var(--muted);
		transition: rotate .25s var(--ease), translate .25s var(--ease), color .2s;
	}
	.gt-wrap select:open::picker-icon { rotate: 225deg; translate: 0 2px; color: var(--accent-hi); }
	.gt-wrap select:open { border-color: var(--accent-hi) !important; box-shadow: 0 0 0 3px var(--accent-ring) !important; }
	.gt-wrap select::picker(select) {
		margin-top: 6px; padding: 6px;
		max-height: min(420px, 60vh); overflow-y: auto;
		background: var(--surface-2); color: var(--text);
		border: 1px solid var(--border-strong); border-radius: 14px;
		box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
		scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent;
		opacity: 0; translate: 0 -6px;
		transition: opacity .18s var(--ease), translate .18s var(--ease), display .18s allow-discrete, overlay .18s allow-discrete;
	}
	.gt-wrap select:open::picker(select) { opacity: 1; translate: 0 0; }
	@starting-style { .gt-wrap select:open::picker(select) { opacity: 0; translate: 0 -6px; } }

	/* Gruppentitel klein und ruhig, Einträge darunter normal */
	.gt-wrap select optgroup {
		background: transparent; color: var(--muted);
		font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
		padding: 10px 10px 4px;
	}
	.gt-wrap select optgroup + optgroup { margin-top: 4px; border-top: 1px solid var(--border); }
	.gt-wrap select option {
		display: flex; align-items: center; gap: 10px;
		margin: 1px 0; padding: 9px 12px; border-radius: 9px;
		background: transparent; color: var(--text);
		font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none;
		transition: background .15s, color .15s;
	}
	.gt-wrap select option:hover,
	.gt-wrap select option:focus-visible { background: var(--surface-3); outline: none; }
	.gt-wrap select option:checked { background: var(--accent-soft); color: var(--accent-hi); }
	.gt-wrap select option::checkmark { order: 1; margin-left: auto; color: var(--accent-hi); }
	.gt-wrap select option[value=""] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.gt-wrap select::picker(select), .gt-wrap select::picker-icon { transition: none; }
}

/* ============================================================
   «Noch kein Login?» – Schritt für Schritt (18.10.2026)
   ============================================================ */
.gt-steps { display: flex; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; counter-reset: none; }
.gt-steps li { flex: 1 1 0; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: 13.5px; transition: border-color .25s var(--ease), background .25s var(--ease), color .25s; }
.gt-steps li span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; font-weight: 700; background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text-2); }
.gt-steps li span svg { width: 15px; height: 15px; fill: currentColor; }
.gt-steps li b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt-steps li.is-active { color: var(--text); border-color: var(--accent-hi); background: var(--accent-soft); }
.gt-steps li.is-active span { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 4px var(--accent-ring); }
.gt-steps li.is-done { color: var(--text-2); }
.gt-steps li.is-done span { background: rgba(76, 194, 122, .15); border-color: rgba(76, 194, 122, .5); color: var(--ok); }
.gt-step { animation: gtStep .35s var(--ease) both; }
@keyframes gtStep { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.gt-back { margin-right: auto; }
.gt-actions .btn svg { width: 17px; height: 17px; fill: currentColor; }
.gt-check.is-info { background: var(--accent-soft); border-color: var(--accent-hi); }
.gt-check.is-info svg { fill: var(--accent-hi); }
.gt-step:not(.gt-success) .gt-check { margin: 0 0 12px; }
.gt-next { display: grid; gap: 10px; max-width: 520px; margin: 16px auto 4px; padding: 0; list-style: none; counter-reset: gtnext; text-align: left; }
.gt-next li { counter-increment: gtnext; position: relative; padding: 10px 12px 10px 48px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); font-size: 14px; }
.gt-next li::before { content: counter(gtnext); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; }
.gt-next li b { color: var(--text); font-weight: 600; }
@media (max-width: 560px) {
	.gt-steps li { padding: 8px; justify-content: center; }
	.gt-steps li b { display: none; }
	.gt-steps li.is-active b { display: inline; }
	.gt-actions { gap: 8px; }
	.gt-actions .btn { flex: 1 1 auto; justify-content: center; }
	.gt-back { order: 2; }
}
@media (prefers-reduced-motion: reduce) { .gt-step { animation: none; } }

/* Betreuer wählen (ohne Subdomain, 22.10.2026) */
.gt-wahl { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 16px 0 6px; }
.gt-wahl-karte { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border-strong); background: rgba(255, 255, 255, .03); color: var(--text) !important; text-decoration: none !important; transition: border-color .2s, background .2s, transform .15s; }
.gt-wahl-karte:hover, .gt-wahl-karte:focus-visible { border-color: var(--accent-hi); background: rgba(226, 119, 63, .08); transform: translateY(-1px); outline: none; }
.gt-wahl-logo { flex: none; width: 96px; height: 44px; display: grid; place-items: center; border-radius: 10px; }
.gt-wahl-logo.is-plate { background: #fff; }
.gt-wahl-logo img { max-width: 84px; max-height: 34px; }
.gt-wahl-name { flex: 1 1 auto; min-width: 0; font-weight: 700; font-size: 15px; }
.gt-wahl-karte svg { flex: none; width: 20px; height: 20px; fill: var(--muted); transition: fill .2s, transform .2s; }
.gt-wahl-karte:hover svg { fill: var(--accent-hi); transform: translateX(3px); }
.gt-hint { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
