/* Tour-Manager – Frontend (Popup und Tourseite)
 * Farben und Schrift kommen als --gm-* Variablen aus den Einstellungen (inline am Wurzelelement);
 * die Werte hier sind nur die Rückfallebene.
 * Überschriftenfarben mit !important, weil Divi-Textmodule eigene Überschriftenfarben mit !important setzen.
 * Umbrüche über Container-Abfragen (Breite des Popups bzw. der Spalte, nicht des Fensters).
 */

.gm-tm-root {
	--gm-dark: #444;
	--gm-accent: #ef7d00;
	--gm-bar: #b2a390;
	--gm-sand: #dfd6cc;
	--gm-brown: #847766;
	--gm-headline: #005c86;
	--gm-text: #666;
	--gm-font: Montserrat, Helvetica, Arial, Lucida, sans-serif;
	--gm-tint: rgba(223, 214, 204, .25);
	--gm-tint-2: rgba(212, 203, 194, .25);
	--gm-tint-half: rgba(223, 214, 204, .125);
}
@supports (color: color-mix(in srgb, red, blue)) {
	.gm-tm-root {
		--gm-tint: color-mix(in srgb, var(--gm-sand) 25%, transparent);
		--gm-tint-2: color-mix(in srgb, color-mix(in srgb, var(--gm-sand) 95%, #000) 25%, transparent);
		--gm-tint-half: color-mix(in srgb, var(--gm-sand) 12.5%, transparent);
	}
}

/* ---------- Overlay und Rahmen ---------- */

html.gm-tm-locked,
html.gm-tm-locked body { overflow: hidden !important; }

.gm-tm-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000001;
	background: rgba(0, 0, 0, .55);
	opacity: 0;
	transition: opacity .3s ease, backdrop-filter 1s 1s, -webkit-backdrop-filter 1s 1s;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
.gm-tm-root.is-visible .gm-tm-overlay {
	opacity: 1;
	-webkit-backdrop-filter: saturate(180%) blur(5px);
	backdrop-filter: saturate(180%) blur(5px);
}

.gm-tm-wrap {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 50%;
	z-index: 1000002;
	width: 90vw;
	max-width: 1440px;
	padding: 10px;
	box-sizing: content-box;
	transform: translateX(-50%);
	opacity: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	transition: opacity .3s ease;
	pointer-events: none;
}
.gm-tm-root.is-visible .gm-tm-wrap { opacity: 1; pointer-events: auto; }

.gm-tm-frame {
	container: gm-tm / inline-size;
	position: relative;
	display: flex;
	flex: 0 1 auto;
	flex-direction: column;
	min-height: 0;
	max-height: 100%;
}

.gm-tm-popup {
	position: relative;
	flex: 0 1 auto;
	box-sizing: border-box;
	max-height: 100%;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	scrollbar-width: none;
	border-radius: 25px;
	background-color: #fff;
	background-image: linear-gradient(0deg, var(--gm-tint) 0%, var(--gm-tint) 48%, var(--gm-dark) 50%, var(--gm-dark) 100%);
	font-family: var(--gm-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.7;
	color: var(--gm-text);
	text-align: left;
	outline: none;
}
.gm-tm-popup::-webkit-scrollbar { display: none; }
.gm-tm-popup *,
.gm-tm-popup *::before,
.gm-tm-popup *::after { box-sizing: border-box; }
.gm-tm-popup h1,
.gm-tm-popup h2,
.gm-tm-popup h3,
.gm-tm-popup h4,
.gm-tm-popup p,
.gm-tm-popup ul,
.gm-tm-popup figure { margin: 0; padding: 0; }
.gm-tm-popup img { max-width: 100%; height: auto; border: 0; }
.gm-tm-popup .gm-tm-header__title,
.gm-tm-popup .gm-tm-header__date,
.gm-tm-popup .gm-tm-header__sub,
.gm-tm-popup .gm-tm-bar__title,
.gm-tm-popup .gm-tm-flip__title,
.gm-tm-popup .gm-tm-group__title,
.gm-tm-popup .gm-tm-badge__title {
	-webkit-hyphens: manual;
	hyphens: manual;
	overflow-wrap: normal;
}
.gm-tm-popup a { color: var(--gm-headline); }

.gm-tm-close {
	position: absolute;
	top: 8px;
	right: 20px;
	z-index: 100;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--gm-dark);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .03);
	color: #eee;
	font: 700 20px/30px "Courier New", monospace;
	text-align: center;
	text-shadow: none;
	cursor: pointer;
	opacity: .7;
	transition: all .3s;
}
.gm-tm-close:hover,
.gm-tm-close:focus-visible {
	opacity: 1;
	transform: scale(1.1);
	background: #2b2b2b;
	box-shadow: 0 0 1px 1px rgba(255, 255, 255, .2);
	color: #fff;
	outline: none;
}

.gm-tm-loader {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 44px;
	height: 44px;
	margin: -22px 0 0 -22px;
	border: 3px solid rgba(255, 255, 255, .25);
	border-top-color: var(--gm-accent);
	border-radius: 50%;
	animation: gm-tm-spin .8s linear infinite;
}
.gm-tm-root:not(.is-loading) .gm-tm-loader { display: none; }
@keyframes gm-tm-spin { to { transform: rotate(360deg); } }

.gm-tm-error {
	padding: 80px 25px;
	color: #fff;
	text-align: center;
}

/* ---------- Tourseite (Shortcode) ---------- */

.gm-tm-root--inline {
	container: gm-tm / inline-size;
	position: relative;
	z-index: 1;
	max-width: 1440px;
	margin: 0 auto;
}
.gm-tm-popup.gm-tm-inline {
	height: auto;
	max-height: none;
	overflow: hidden;
	overscroll-behavior: auto;
}

/* ---------- Kopf ---------- */

.gm-tm-header {
	background: var(--gm-dark);
	padding: 25px 25px 15px;
}
.gm-tm-popup .gm-tm-header__date {
	padding-bottom: 10px;
	color: var(--gm-accent) !important;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: .1em;
	line-height: .8em;
	text-transform: uppercase;
}
.gm-tm-popup .gm-tm-header__title {
	padding: 0 50px 10px 0;
	color: #fff !important;
	font-family: var(--gm-font);
	font-size: 60px;
	font-weight: 300;
	letter-spacing: .1em;
	line-height: .8em;
	text-transform: uppercase;
}
.gm-tm-popup .gm-tm-header__sub {
	padding-bottom: 10px;
	color: #fff !important;
	font-size: 14px;
	font-weight: 300;
	letter-spacing: .1em;
	line-height: .8em;
	text-transform: uppercase;
}

/* ---------- Badges ---------- */

.gm-tm-badges {
	position: relative;
	z-index: 2;
	background: var(--gm-dark);
}
.gm-tm-badges__row {
	display: flex;
	height: 55px;
	padding: 0 12.5px 25px;
	overflow: hidden;
	transition: height .75s;
}
.gm-tm-badge {
	position: relative;
	flex: 1 1 0;
	height: 150px;
	margin: 0 12.5px;
	border-radius: 10px;
	overflow: hidden;
	outline: none;
}
.gm-tm-badge__front {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	height: 30px;
	transition: opacity .6s;
}
.gm-tm-badge__icon {
	display: flex;
	flex: 0 0 35px;
	align-items: center;
	justify-content: center;
	border-radius: 10px 0 0 10px;
	background: var(--gm-brown);
	color: var(--gm-sand);
}
.gm-tm-badge__icon .gm-tm-icon { width: 22px; height: 20px; }
.gm-tm-badge__label {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
	border-radius: 0 10px 10px 0;
	background: var(--gm-sand);
	color: var(--gm-brown);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.gm-tm-badge__back {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	padding: 15px;
	border-radius: 10px;
	background: var(--gm-brown);
	color: var(--gm-sand);
	text-align: center;
	opacity: 0;
	transition: opacity .6s;
}
.gm-tm-badge__inner { width: 100%; }
.gm-tm-popup .gm-tm-badge__title {
	padding-bottom: 10px;
	color: var(--gm-sand) !important;
	font-family: var(--gm-font);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .1em;
	line-height: .8em;
	text-transform: uppercase;
}
.gm-tm-badge__text,
.gm-tm-popup .gm-tm-badge__text p {
	color: var(--gm-sand);
	font-size: 11px;
	font-weight: 700;
	line-height: 11px;
}

@container gm-tm (min-width: 883px) {
	.gm-tm-badges__row:hover,
	.gm-tm-badges__row:focus-within { height: 175px; }
	.gm-tm-badge:hover .gm-tm-badge__back,
	.gm-tm-badge:focus .gm-tm-badge__back { opacity: 1; }
	.gm-tm-badge:hover .gm-tm-badge__front,
	.gm-tm-badge:focus .gm-tm-badge__front { opacity: 0; }
}

/* ---------- Bilder und Countdown ---------- */

.gm-tm-gallery {
	position: relative;
	height: 400px;
	background: var(--gm-sand);
}
.gm-tm-gallery__imgs {
	display: flex;
	height: 100%;
	overflow: hidden;
	filter: saturate(40%);
}
.gm-tm-gallery__item {
	flex: 1 1 0;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	transition: flex-grow .4s ease-in-out;
}
/* Bild-Akkordeon: das Bild unter der Maus wird fünfmal so breit wie die anderen. */
.gm-tm-gallery__item:hover {
	flex-grow: 5;
}
@media (prefers-reduced-motion: reduce) {
	.gm-tm-gallery__item { transition: none; }
}
.gm-tm-popup .gm-tm-gallery__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
}

.gm-tm-countdown {
	position: absolute;
	right: 25px;
	bottom: 25px;
	display: flex;
	gap: 6px;
	color: #fff;
}
.gm-tm-countdown__box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 84px;
	padding: 10px 0;
	background: var(--gm-dark);
	text-align: center;
}
.gm-tm-countdown__val {
	display: block;
	font-size: 20px;
	font-weight: 300;
	letter-spacing: .1em;
	line-height: .8em;
	min-height: 16px;
	padding-bottom: 8px;
}
.gm-tm-countdown__lbl {
	display: block;
	font-size: 8px;
	font-weight: 300;
	letter-spacing: .1em;
	line-height: .8em;
	text-transform: uppercase;
}

/* ---------- Überschriftenleiste ---------- */

.gm-tm-bar {
	position: relative;
	display: flex;
	align-items: center;
	height: 80px;
	padding: 0 25px;
	background: var(--gm-bar);
	color: #fff;
}
.gm-tm-bar__icon {
	display: flex;
	flex: 0 0 30px;
	align-items: center;
	justify-content: center;
	height: 30px;
}
.gm-tm-bar__icon .gm-tm-icon { max-width: 34px; height: 30px; }
.gm-tm-popup .gm-tm-bar__title {
	padding: 0 0 0 25px;
	color: #fff !important;
	font-family: var(--gm-font);
	font-size: 20px;
	font-weight: 300;
	letter-spacing: .1em;
	line-height: 1em;
	text-transform: uppercase;
}

/* ---------- Text ---------- */

.gm-tm-text { color: var(--gm-text); font-size: 14px; line-height: 23.8px; }
.gm-tm-popup .gm-tm-text p { padding-bottom: 1em; }
.gm-tm-popup .gm-tm-text p:last-child { padding-bottom: 0; }
.gm-tm-popup .gm-tm-text ul,
.gm-tm-popup .gm-tm-text ol { padding: 0 0 1em 1em; line-height: 26px; list-style-position: outside; }
.gm-tm-popup .gm-tm-text ul { list-style-type: disc; }
.gm-tm-popup .gm-tm-text strong,
.gm-tm-popup .gm-tm-text b { font-weight: 700; }
.gm-tm-tint { background: linear-gradient(var(--gm-tint), var(--gm-tint)), #fff; }

/* ---------- Veranstaltungsdetails ---------- */

/* Hauptspalte halb so stark getönt wie die linke Spalte (Mitte zwischen Weiß und Spalte). */
.gm-tm-details__body {
	display: flex;
	background: linear-gradient(var(--gm-tint-half), var(--gm-tint-half)), #fff;
}
.gm-tm-details__aside {
	flex: 0 0 25%;
	padding-bottom: 25px;
	background: linear-gradient(var(--gm-tint), var(--gm-tint)), #fff;
}
.gm-tm-details__main {
	flex: 1 1 75%;
	min-width: 0;
	padding: 25px;
}
.gm-tm-details__body--full .gm-tm-details__main { flex-basis: 100%; }

.gm-tm-flip {
	height: 175px;
	perspective: 1000px;
	outline: none;
}
.gm-tm-flip__inner {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
}
.gm-tm-flip__front,
.gm-tm-flip__back {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transition: transform .6s cubic-bezier(.785, .135, .15, .86);
	text-align: center;
}
.gm-tm-flip__front { padding: 25px 35% 0; transform: rotateY(0deg); }
.gm-tm-flip__back { padding: 25px 10px 0; transform: rotateY(-180deg); }
.gm-tm-popup .gm-tm-flip__img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.gm-tm-popup .gm-tm-flip__title {
	padding: 15px 0 0;
	color: var(--gm-headline) !important;
	font-family: var(--gm-font);
	font-size: 24px;
	font-weight: 300;
	letter-spacing: .1em;
	line-height: .8em;
	text-transform: uppercase;
}
.gm-tm-popup .gm-tm-flip__title::after {
	content: "";
	display: block;
	width: 40px;
	margin: 0 auto 20px;
	padding-top: 30px;
	border-bottom: 3px solid var(--gm-accent);
}
.gm-tm-popup .gm-tm-flip__text { margin-bottom: 15px; font-size: 14px; line-height: 23.8px; }
.gm-tm-flip:hover .gm-tm-flip__front,
.gm-tm-flip.is-flipped .gm-tm-flip__front { transform: rotateY(180deg); }
.gm-tm-flip:hover .gm-tm-flip__back,
.gm-tm-flip.is-flipped .gm-tm-flip__back { transform: rotateY(0deg); }

.gm-tm-btn-wrap { margin: 25px; text-align: center; }
.gm-tm-popup a.gm-tm-btn {
	position: relative;
	display: inline-block;
	padding: 10px 40px 10px 50px;
	background: var(--gm-bar);
	color: #fff;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 1px;
	line-height: 20.4px;
	text-decoration: none;
	text-transform: uppercase;
	transition: all .3s;
}
.gm-tm-popup a.gm-tm-btn::after {
	content: "\203A";
	position: absolute;
	top: 50%;
	right: 22px;
	font-size: 22px;
	line-height: 1;
	opacity: 0;
	transform: translateY(-55%);
	transition: all .3s;
}
.gm-tm-popup a.gm-tm-btn:hover {
	padding: 10px 50px 10px 40px;
	background: var(--gm-brown);
}
.gm-tm-popup a.gm-tm-btn:hover::after { opacity: 1; right: 26px; }

.gm-tm-popup a.gm-tm-pdf {
	display: inline-flex;
	align-items: center;
	margin-top: 37px;
	padding: 10px;
	background: var(--gm-tint);
	color: #878787;
	text-decoration: none;
}
.gm-tm-pdf__icon {
	display: flex;
	flex: 0 0 40px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--gm-accent);
	color: #fff;
	font-size: 5px;
	font-weight: 700;
	line-height: 1;
}
.gm-tm-pdf__icon svg { width: 20px; height: 20px; }
.gm-tm-pdf__info { display: flex; flex-direction: column; padding-left: 10px; }
.gm-tm-pdf__title { padding-bottom: 5px; color: #878787; font-size: 14px; font-weight: 600; line-height: 14px; }
.gm-tm-pdf__meta span { display: block; color: #b3b3b3; font-size: 8px; line-height: 11.2px; }
.gm-tm-popup a.gm-tm-pdf:hover .gm-tm-pdf__title { color: var(--gm-text); }
.gm-tm-wpfd { margin-top: 37px; }

/* ---------- Zeitplan ---------- */

.gm-tm-schedule__body { padding-bottom: 25px; }
.gm-tm-popup .gm-tm-group__title {
	padding: 25px 25px 0;
	color: var(--gm-dark) !important;
	font-family: var(--gm-font);
	font-size: 16px;
	font-weight: 300;
	letter-spacing: .1em;
	line-height: .8em;
	text-transform: uppercase;
}
.gm-tm-table {
	display: grid;
	grid-template-columns: 150px 1fr;
	margin: 25px 25px 0;
}
.gm-tm-table__row { display: contents; }
.gm-tm-table__date,
.gm-tm-table__text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 10px 20px;
	background: var(--gm-tint);
	text-transform: uppercase;
}
.gm-tm-table__date { font-weight: 700; }
.gm-tm-table__row:nth-child(even) .gm-tm-table__date,
.gm-tm-table__row:nth-child(even) .gm-tm-table__text { background: var(--gm-tint-2); }
.gm-tm-popup .gm-tm-table__text b,
.gm-tm-popup .gm-tm-table__text strong { font-weight: 700; }

/* ---------- Buchung ---------- */

.gm-tm-booking__body { padding: 25px; }
.gm-tm-booking__tickera {
	padding-top: 25px;
	color: var(--gm-dark);
	text-align: left;
	text-transform: uppercase;
}
/* Ticket-Tabelle von Tickera: Gestaltung wie auf der Website (dort nur innerhalb von .entry-content gültig). */
.gm-tm-booking__tickera .tc-event-table-wrap { overflow-x: auto; }
.gm-tm-booking__tickera table.event_tickets {
	width: 100%;
	margin: 0;
	padding: 0;
	border: none !important;
	border-collapse: collapse;
	border-spacing: 0;
	text-align: left;
}
.gm-tm-booking__tickera table.event_tickets th,
.gm-tm-booking__tickera table.event_tickets td {
	padding: 10px 20px;
	border: none;
	vertical-align: middle;
	text-align: left;
}
.gm-tm-booking__tickera table.event_tickets th {
	background: rgba(212, 203, 194, .25);
	color: var(--gm-dark);
	font-weight: 700;
}
.gm-tm-booking__tickera table.event_tickets td { background: rgba(223, 214, 204, .25); }
.gm-tm-booking__tickera table.event_tickets td:first-child,
.gm-tm-booking__tickera table.event_tickets td:last-child { width: 30%; }
.gm-tm-booking__tickera table.event_tickets th:last-child,
.gm-tm-booking__tickera table.event_tickets td:last-child,
.gm-tm-booking__tickera .cart_form,
.gm-tm-booking__tickera .tc_in_cart { text-align: right; }
.gm-tm-popup .gm-tm-booking__tickera a.add_to_cart,
.gm-tm-root--inline .gm-tm-booking__tickera a.add_to_cart,
.gm-tm-booking__tickera a.add_to_cart {
	color: var(--gm-accent);
	font-weight: 700;
	text-decoration: none;
}
.gm-tm-booking__tickera a.add_to_cart:hover,
.gm-tm-booking__tickera a.add_to_cart:focus { color: var(--gm-brown); }

/* ---------- Route und Kennzahlen ---------- */

.gm-tm-route__map {
	padding: 0 0 25px;
	background: var(--gm-dark);
}
.gm-tm-magnifier { position: relative; line-height: 0; }
.gm-tm-magnifier[data-zoom] { cursor: none; }
.gm-tm-popup .gm-tm-route__img,
.gm-tm-route__img--svg { display: block; width: 100%; height: auto; }
.gm-tm-lens {
	position: absolute;
	z-index: 5;
	width: 300px;
	height: 300px;
	border: 1px solid rgba(255, 255, 255, .6);
	border-radius: 50%;
	background-repeat: no-repeat;
	background-color: var(--gm-dark);
	box-shadow: 0 0 0 5px rgba(0, 0, 0, .15), 0 10px 30px rgba(0, 0, 0, .35);
	pointer-events: none;
	opacity: 0;
	transition: opacity .3s;
}
.gm-tm-magnifier.is-zooming .gm-tm-lens { opacity: 1; }

.gm-tm-stats {
	display: flex;
	padding-top: 25px;
	background: var(--gm-dark);
	color: #fff;
}
.gm-tm-stat {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 133px;
	padding: 0 25px 25px;
	text-align: center;
	text-transform: uppercase;
}
.gm-tm-count {
	display: block;
	color: var(--gm-accent);
	font-weight: 400;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}
.gm-tm-stat--days .gm-tm-count { font-size: 98px; }
.gm-tm-stat--km .gm-tm-count { font-size: 56px; }
.gm-tm-stat__suffix { display: block; color: #fff; font-size: 14px; line-height: 14px; }
.gm-tm-stat__title {
	display: block;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .1em;
	line-height: 14px;
}
.gm-tm-level { display: flex; width: 100%; max-width: 210px; margin-top: 15px; }
.gm-tm-level__cell {
	flex: 1 1 0;
	height: 10px;
	margin: 0 1.5px;
	border-radius: 5px;
	background: var(--gm-sand);
}
.gm-tm-level__cell.is-filled { background: var(--gm-brown); }
.gm-tm-level__cell.is-active { background: var(--gm-accent); }
.gm-tm-stat__desc {
	display: block;
	max-width: 210px;
	padding-top: 10px;
	font-size: 12px;
	font-weight: 300;
	letter-spacing: .1em;
	line-height: 12px;
}
.gm-tm-donut {
	position: relative;
	display: block;
	width: 120px;
	height: 120px;
	margin-top: 12px;
}
.gm-tm-donut svg { display: block; width: 100%; height: 100%; }
.gm-tm-donut circle { fill: none; stroke-width: 21; }
.gm-tm-donut__road { stroke: var(--gm-sand); }
.gm-tm-donut__off { stroke: var(--gm-accent); transition: stroke-dasharray 1.2s ease-out; }
.gm-tm-donut__label {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-transform: none;
}
.gm-tm-donut__name { color: #fff; font-size: 10px; font-weight: 300; line-height: 12px; }
.gm-tm-donut__val { color: var(--gm-accent); font-size: 20px; font-weight: 900; line-height: 22px; }
.gm-tm-seats {
	display: block;
	padding: 10px 0;
	color: var(--gm-accent);
	font-size: 60px;
	font-weight: 300;
	letter-spacing: .1em;
	line-height: 60px;
}
.gm-tm-stat__of { display: block; font-size: 14px; font-weight: 600; line-height: 14px; }

/* ---------- Inklusivleistungen, freier Text ---------- */

.gm-tm-services__body,
.gm-tm-freetext__body { padding: 25px; }
.gm-tm-popup .gm-tm-list { list-style: none; }
.gm-tm-popup .gm-tm-list li {
	padding: 10px 20px;
	background: var(--gm-tint);
	font-weight: 300;
	line-height: 23.8px;
	text-transform: uppercase;
}
.gm-tm-popup .gm-tm-list li:nth-child(even) { background: var(--gm-tint-2); }

/* ---------- Tablet (Popupbreite bei 980 px Fenster: 882 px) ---------- */

@container gm-tm (max-width: 882px) {
	.gm-tm-popup .gm-tm-header__title { font-size: 50px; }
	.gm-tm-badges__row {
		display: block;
		height: auto;
		padding: 0 25px 20px;
	}
	.gm-tm-badge {
		height: 30px;
		margin: 0 0 5px;
		pointer-events: none;
	}
	.gm-tm-badge__back { display: none; }
	.gm-tm-details__body { display: block; }
	.gm-tm-stats { flex-wrap: wrap; }
	.gm-tm-stat { flex: 1 1 33%; }
	.gm-tm-magnifier[data-zoom] { cursor: auto; }
	.gm-tm-lens { display: none; }
}

/* ---------- Smartphone (Popupbreite bei 767 px Fenster: 690 px) ---------- */

@container gm-tm (max-width: 690px) {
	.gm-tm-popup .gm-tm-header__title { font-size: 40px; padding-right: 30px; }
	.gm-tm-popup .gm-tm-bar__title { font-size: 16px; }
	.gm-tm-countdown { left: 25px; right: 25px; justify-content: flex-end; }
	.gm-tm-countdown__box { width: auto; flex: 1 1 0; max-width: 84px; }
	.gm-tm-table { display: block; }
	.gm-tm-table__date { padding-bottom: 0; }
	.gm-tm-table__text { padding-top: 4px; }
	.gm-tm-stats { display: block; }
	.gm-tm-stat { min-height: 0; padding-bottom: 35px; }
}

/* Während des Ladens eine dunkle Fläche zeigen. */
.gm-tm-root.is-loading .gm-tm-popup { min-height: 240px; background: var(--gm-dark); }
