/* ──────────────────────────────────────────────────────────────
   Neue Anfrage (Haus-Auswahl): Button + Modal mit Haus-Liste.
   Style Guide: Lila handelt (Button, Fokus), Blau navigiert (Links).
   ────────────────────────────────────────────────────────────── */

.gt-na {
	--gt-na-accent: #6B35E9;
	--gt-na-accent-hover: #8B5CF6;
	--gt-na-link: #0969DA;
	--gt-na-dark: #1C1139;
	--gt-na-muted: #8E8BA3;
	--gt-na-border: #E1E0E6;
	--gt-na-subtle: #F0EEF5;
	--gt-na-page: #f8f8f9;

	font-family: "Figtree", -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: var(--gt-na-dark);
	box-sizing: border-box;
}

.gt-na *,
.gt-na *::before,
.gt-na *::after {
	box-sizing: inherit;
}

/* ── Button ── */

.gt-na-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 20px;
	border: 0;
	border-radius: 10px;
	background: var(--gt-na-accent);
	color: #fff;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background .15s ease;
}

.gt-na-btn:hover,
.gt-na-btn:focus-visible {
	background: var(--gt-na-accent-hover);
	color: #fff;
}

.gt-na-btn:focus-visible {
	outline: 2px solid var(--gt-na-accent);
	outline-offset: 2px;
}

.gt-na-btn[disabled] {
	cursor: default;
	opacity: .85;
}

.gt-na-btn-icon {
	font-size: 18px;
	line-height: 1;
	font-weight: 500;
}

/* ── Gast-Hinweis ── */

.gt-na-notice {
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--gt-na-border);
	border-radius: 10px;
	background: #fff;
	color: var(--gt-na-dark);
}

.gt-na-login {
	color: var(--gt-na-link);
	text-decoration: none;
	font-weight: 600;
	white-space: nowrap;
}

.gt-na-login:hover {
	color: var(--gt-na-link);
	text-decoration: underline;
}

/* ── Editor-Platzhalter ── */

.gt-na-placeholder-hint {
	margin: 10px 0 0;
	font-size: 13px;
	color: var(--gt-na-muted);
}

/* ── Modal ── */

body.gt-na-modal-open {
	overflow: hidden;
}

.gt-na-modal[hidden] {
	display: none;
}

.gt-na-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 5vh 16px;
	overflow-y: auto;
}

.gt-na-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(28, 17, 57, .45);
}

.gt-na-modal-dialog {
	position: relative;
	width: 100%;
	max-width: 560px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(28, 17, 57, .25);
	padding: 24px;
	display: flex;
	flex-direction: column;
	max-height: 90vh;
}

.gt-na-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.gt-na-modal-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--gt-na-dark);
}

.gt-na-modal-x {
	background: transparent;
	border: none;
	font-size: 26px;
	line-height: 1;
	color: var(--gt-na-muted);
	cursor: pointer;
	padding: 0 4px;
}

.gt-na-modal-x:hover {
	color: var(--gt-na-dark);
}

/* ── Suche ── */

.gt-na-search-wrap {
	display: block;
	margin-bottom: 12px;
}

.gt-na-search {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--gt-na-border);
	border-radius: 10px;
	background: #fff;
	font: inherit;
	color: var(--gt-na-dark);
	-webkit-appearance: none;
	appearance: none;
}

.gt-na-search::placeholder {
	color: var(--gt-na-muted);
}

.gt-na-search:focus {
	outline: none;
	border-color: var(--gt-na-accent);
	box-shadow: 0 0 0 3px rgba(107, 53, 233, .15);
}

/* ── Liste ── */

.gt-na-list {
	list-style: none;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	max-height: 60vh;
	border-top: 1px solid var(--gt-na-border);
}

.gt-na-item {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--gt-na-border);
}

.gt-na-item[hidden] {
	display: none;
}

.gt-na-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 8px;
	color: var(--gt-na-dark);
	text-decoration: none;
	border-radius: 10px;
	transition: background .12s ease;
}

.gt-na-link:hover,
.gt-na-link:focus-visible {
	background: var(--gt-na-subtle);
	color: var(--gt-na-dark);
	text-decoration: none;
	outline: none;
}

.gt-na-link:focus-visible {
	box-shadow: inset 0 0 0 2px var(--gt-na-accent);
}

.gt-na-logo {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--gt-na-subtle);
	display: flex;
	align-items: center;
	justify-content: center;
}

.gt-na-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gt-na-logo-initial {
	font-weight: 700;
	font-size: 16px;
	color: var(--gt-na-muted);
}

.gt-na-text {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	line-height: 1.35;
}

.gt-na-name {
	font-weight: 600;
	color: var(--gt-na-dark);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gt-na-info {
	font-size: 13px;
	color: var(--gt-na-muted);
	margin-top: 2px;
}

.gt-na-arrow {
	flex: 0 0 auto;
	color: var(--gt-na-muted);
	font-size: 22px;
	line-height: 1;
	transition: transform .12s ease, color .12s ease;
}

.gt-na-link:hover .gt-na-arrow {
	color: var(--gt-na-link);
	transform: translateX(3px);
}

.gt-na-empty {
	margin: 12px 0 0;
	color: var(--gt-na-muted);
	font-size: 14px;
}

.gt-na-empty[hidden] {
	display: none;
}

/* ── Mobil ── */

@media (max-width: 600px) {
	.gt-na-modal {
		padding: 0;
		align-items: stretch;
	}

	.gt-na-modal-dialog {
		max-width: none;
		max-height: none;
		min-height: 100%;
		border-radius: 0;
		padding: 20px 16px;
	}

	.gt-na-list {
		max-height: none;
		flex: 1 1 auto;
	}
}
