.tarn-res {
	--tarn-bg: #0F1010;
	--tarn-panel: #0F1010;
	--tarn-row: #161717;
	--tarn-gold: #B79473;
	--tarn-gold-soft: #B79473;
	--tarn-text: #DED1C5;
	--tarn-muted: #9c9085;
	--tarn-border: #B79473;
	--tarn-close-hover: #DED1C5;

	/* Schwebendes Widget rechts unten – kein abgedunkelter Hintergrund */
	position: fixed;
	right: 20px;
	bottom: 20px;
	left: auto;
	top: auto;
	z-index: 99999;
	width: min(420px, calc(100vw - 32px));
	background: transparent;
	box-sizing: border-box;
	font-family: "Ysabeau Office", "Helvetica Neue", Arial, sans-serif;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.tarn-res.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.tarn-res *,
.tarn-res *::before,
.tarn-res *::after {
	box-sizing: border-box;
}

/* ---------- Panel ---------- */
.tarn-res__panel {
	position: relative; /* Anker für das Overlay -> exakt gleiche Größe/Form */
	width: 100%;
	overflow: hidden;
	background: var(--tarn-panel);
	border: 1px solid var(--tarn-border);
	border-radius: 12px;
	padding: 34px 24px 0;
	color: var(--tarn-text);
	box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
}

/* Schließen des gesamten Panels (zurück zur Seite) */
.tarn-res__panel-close {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 34px;
	height: 34px;
	line-height: 32px;
	text-align: center;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	-webkit-appearance: none;
	appearance: none;
	color: var(--tarn-gold) !important;
	font-size: 36px !important;
	cursor: pointer;
	z-index: 4;
	transition: color 0.18s ease;
}

.tarn-res__panel-close:hover {
	color: var(--tarn-close-hover) !important;
}

.tarn-res__header {
	text-align: center;
	margin-top: 26px;
}

.tarn-res__logo-img {
	display: block;
	max-width: 40%;
	height: auto;
	margin: 0 auto 52px;
}

.tarn-res__logo {
	margin: 0 0 30px;
	line-height: 0.98;
	font-weight: 300;
	letter-spacing: 0.14em;
	font-family: "Ysabeau Office", "Helvetica Neue", Arial, sans-serif;
}

.tarn-res__logo-top,
.tarn-res__logo-bottom {
	display: block;
	font-size: 58px;
}

.tarn-res__logo-top {
	color: var(--tarn-gold);
}

.tarn-res__logo-bottom {
	color: var(--tarn-text);
}

.tarn-res__subtitle {
	margin: 0 0 54px;
	font-size: 13px;
	letter-spacing: 0.18em;
	color: var(--tarn-text);
}

/* ---------- Liste ---------- */
.tarn-res__list {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.tarn-res__row {
	display: flex;
	align-items: stretch;
	background: rgba(183,148,115,0.1) !important;
	border: 1px solid var(--tarn-border);
	border-radius: 14px;
	overflow: hidden;
	min-height: 70px;
}

.tarn-res__info {
	flex: 0 0 50%;
	line-height: 1em;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 14px 10px;
	border-right: 1px solid var(--tarn-border);
}

.tarn-res__name {
	font-size: 18px;
	letter-spacing: 0.04em;
	color: var(--tarn-text);
}

.tarn-res__place {
	margin-top: 3px;
	font-size: 13px;
	color: var(--tarn-muted);
}

.tarn-res__action {
	flex: 0 0 50%;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px 12px;
}

.tarn-res__btn {
	display: block;
	width: 100%;
	max-width: 200px;
	margin: 0 auto;
	padding: 8px 20px  !important;
	background-color: rgba(183, 148, 115, 0.3)  !important;
	border-style: solid  !important;
	border-width: 1px  !important;
	border-color: #B79473  !important;
	border-radius: 6px !important;
	color: #B79473 !important;
	fill: rgb(183, 148, 115);
	font-size: 15px  !important;
	text-transform: uppercase;
	cursor: pointer;
	transition-duration: 0.7s;
	transition-property: background-color, color, border-color;
}

.tarn-res__btn:hover:not(:disabled) {
	background-color: #080202 !important;
}

.tarn-res__btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* „Coming Soon" – statt Button, nicht klickbar */
.tarn-res__soon {
	display: inline-block;
	width: 100%;
	max-width: 200px;
	text-align: center;
	font-size: 15px;
	letter-spacing: 0.12em;
	color: var(--tarn-muted);
	text-transform: uppercase;
	user-select: none;
}

.tarn-res__footer {
	margin: 28px 0 0;
	padding: 0;
	text-align: center;
	line-height: 1;
}

.tarn-res__footer span {
	display: block;
	font-family: "Ysabeau Office", "Helvetica Neue", Arial, sans-serif;
	font-style: italic;
	font-weight: 600;
	font-size: 22px;
	letter-spacing: 0.14em;
	line-height: 1;
	color: var(--tarn-gold-soft);
}

/* ---------- Overlay (gleiche Größe/Form wie das Panel) ---------- */
.tarn-res__overlay {
	position: absolute;
	inset: 0;
	background: var(--tarn-panel);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	transform: scale(0.98);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	z-index: 5;
}

.tarn-res__overlay.is-open {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
}

.tarn-res__close {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 38px;
	height: 38px;
	line-height: 36px;
	text-align: center;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	-webkit-appearance: none;
	appearance: none;
	color: var(--tarn-gold) !important;
	font-size: 36px !important;
	cursor: pointer;
	z-index: 7;
	transition: color 0.18s ease;
}

.tarn-res__close:hover {
	color: var(--tarn-close-hover) !important;
}

.tarn-res__overlay-title {
	flex: 0 0 auto;
	padding: 18px 56px 12px 22px;
	font-family: "Ysabeau Office", "Helvetica Neue", Arial, sans-serif;
	font-size: 22px;
	letter-spacing: 0.08em;
	color: var(--tarn-gold);
}

.tarn-res__iframe-wrap {
	position: relative;
	flex: 1 1 auto;
	margin: 0 14px 14px;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
}

.tarn-res__iframe {
	width: 100%;
	height: 100%;
	min-height: 480px;
	border: 0;
	display: block;
}

.tarn-res__spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 38px;
	height: 38px;
	margin: -19px 0 0 -19px;
	border: 3px solid rgba(199, 158, 116, 0.25);
	border-top-color: var(--tarn-gold);
	border-radius: 50%;
	animation: tarn-spin 0.8s linear infinite;
}

.tarn-res__iframe-wrap.is-loaded .tarn-res__spinner {
	display: none;
}

@keyframes tarn-spin {
	to { transform: rotate(360deg); }
}

/* Body-Scroll-Sperre während Overlay offen */
body.tarn-res-locked {
	overflow: hidden;
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
	.tarn-res {
		right: 12px;
		bottom: 12px;
		left: 12px;
		width: calc(100vw - 36px);
	}
	.tarn-res__logo-img {
		margin: 0 auto 26px;
	}
	.tarn-res__info {
		flex: 0 0 40%;
		padding: 14px 4px;
	}
	.tarn-res__row {
		min-height: 50px;
	}
	.tarn-res__action {
		flex: 0 0 60%;
		padding: 14px 4px;
	}
	.tarn-res__header {
		margin-top: 12px;
	}
	.tarn-res__subtitle {
		margin: 0 0 18px;
	}
	.tarn-res__panel {
		border-radius: 12px;
		padding: 30px 16px 0;
	}
	.tarn-res__logo-top,
	.tarn-res__logo-bottom {
		font-size: 46px;
	}
	.tarn-res__row {
		min-height: 74px;
	}
	.tarn-res__name {
		font-size: 16px;
	}
	.tarn-res__btn {
		font-size: 13px;
		letter-spacing: 0.08em;
	}
}
