/*
 * Programmvorschau – Button auf der Startseite (Theme „orpheum“: Rot #830011, Weiß, Lato in Großbuchstaben,
 * Linien #C08E90). Alles unter .opv-platz, damit die Regeln des Themes (z. B. Unterstrich an jedem span in
 * .landing-swiper-section a) nicht durchschlagen. Wird auch im Backend für die Vorschau geladen.
 */

.opv-platz[hidden] { display: none !important; }

.opv-platz a.opv,
.opv-platz a.opv:hover,
.opv-platz a.opv:focus {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.opv-platz a.opv span { position: relative; }
.opv-platz .opv-inhalt { display: inline-flex; align-items: center; gap: 10px; }
.opv-platz a.opv span::after { content: none; }
.opv-platz a.opv:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.opv-platz a.opv svg { flex: 0 0 auto; display: block; }
.opv-platz .opv-mini { display: none; }

/* Unterstrich, der von links einläuft (wie die Links des Themes) */
.opv-platz a.opv--kreis .opv-text::after,
.opv-platz a.opv--pfeil .opv-text::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -3px;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: bottom right;
	transition: transform .25s ease-out;
}
.opv-platz a.opv--kreis:hover .opv-text::after,
.opv-platz a.opv--kreis:focus-visible .opv-text::after,
.opv-platz a.opv--pfeil:hover .opv-text::after,
.opv-platz a.opv--pfeil:focus-visible .opv-text::after {
	transform: scaleX(1);
	transform-origin: bottom left;
}

/* 1 · Link mit Kreis (wie „Monatskarte vom Beisl“) */
.opv-platz .opv-kreis {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border: 1px solid currentColor;
	border-radius: 50%;
	flex: 0 0 auto;
	transition: transform .25s ease-out;
}
.opv-platz .opv-kreis::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}
.opv-platz a.opv--kreis:hover .opv-kreis { transform: scale(1.15); }

/* 2 · Button mit Rahmen */
.opv-platz a.opv--rahmen,
.opv-platz a.opv--rahmen:focus {
	padding: 11px 20px 10px;
	border: 1px solid #fff;
	border-radius: 4px;
	font-size: 15px;
	transition: background-color .15s ease-in-out, color .15s ease-in-out;
}
.opv-platz a.opv--rahmen:hover {
	background: #fff;
	color: #830011;
}

/* 3 · Weißer Button */
.opv-platz a.opv--pille,
.opv-platz a.opv--pille:hover,
.opv-platz a.opv--pille:focus {
	padding: 11px 22px 10px 16px;
	background: #fff;
	color: #830011;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	box-shadow: 0 6px 18px rgba(40, 0, 6, .25);
	transition: transform .2s ease-out, box-shadow .2s ease-out, background-color .2s ease-out;
}
.opv-platz a.opv--pille:hover {
	background: #F3EFDD;
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(40, 0, 6, .32);
}

/* 4 · Link mit Pfeil */
.opv-platz a.opv--pfeil .opv-pfeil { transition: transform .25s ease-out; }
.opv-platz a.opv--pfeil:hover .opv-pfeil { transform: translateX(5px); }

/* 5 · Mit PDF-Hinweis */
.opv-platz a.opv--pdf { text-align: left; }
.opv-platz a.opv--pdf .opv-inhalt { gap: 12px; }
.opv-platz .opv-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 44px;
	border: 1px solid #fff;
	border-radius: 3px 12px 3px 3px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	flex: 0 0 auto;
	transition: background-color .15s ease-in-out, color .15s ease-in-out;
}
.opv-platz .opv-zeilen { display: inline-flex; flex-direction: column; gap: 5px; }
.opv-platz a.opv--pdf .opv-text { font-size: 16px; }
.opv-platz .opv-zusatz {
	font-size: 12px;
	letter-spacing: .04em;
	text-transform: none;
	opacity: .8;
}
.opv-platz a.opv--pdf:hover .opv-tag { background: #fff; color: #830011; }

/* ---------------------------------------------------------------- Orte */

/* Über dem Swiper, mittig: in der Leiste mit den Pfeilen, Mitte des Bildschirms */
.opv-leiste { position: relative; }
.opv-platz--leiste_mitte {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
}
@media (max-width: 767.98px) {
	/* Am Handy links in der Leiste, damit die Pfeile nicht überdeckt werden */
	.opv-platz--leiste_mitte {
		position: static;
		transform: none;
		margin-right: auto;
	}
}

/* Über dem Swiper, links (wo „Monatskarte vom Beisl“ stand) */
.opv-platz--leiste_links { display: inline-flex; }

/* Unter dem Logo */
.opv-platz--unter_logo {
	display: flex;
	justify-content: center;
	padding: 0 16px 28px;
}
@media (min-width: 768px) {
	/* Das Logo hat unten 100px Abstand – den Button in diesen Abstand ziehen */
	.opv-platz--unter_logo { margin-top: -64px; padding-bottom: 40px; }
}

/* Im Kopf neben „Programm/Tickets“ – eigene Zelle mit Trennlinie wie im Kopf */
.opv-platz--kopf {
	display: flex;
	align-items: center;
	padding: 0 24px;
	border-left: 1px solid #C08E90;
}
.opv-platz--kopf a.opv { font-size: 14px; }
.opv-platz--kopf a.opv--rahmen,
.opv-platz--kopf a.opv--pille { padding-top: 8px; padding-bottom: 7px; font-size: 13px; }
.opv-platz--kopf .opv-tag { width: 30px; height: 34px; font-size: 10px; }
.opv-platz--kopf .opv-zusatz { font-size: 11px; }
@media (max-width: 991.98px) {
	/* Kopf ist eng: nur PDF-Zeichen */
	.opv-platz--kopf { padding: 0 14px; }
	.opv-platz--kopf .opv-inhalt { display: none; }
	.opv-platz--kopf .opv-mini {
		display: inline-flex;
		flex-direction: column;
		align-items: center;
		gap: 2px;
		font-size: 9px;
		font-weight: 700;
		letter-spacing: .08em;
	}
	.opv-platz--kopf .opv-mini svg { width: 22px; height: 22px; }
	.opv-platz--kopf a.opv--rahmen,
	.opv-platz--kopf a.opv--pille { padding: 0; border: 0; background: none; color: #fff; box-shadow: none; }
}

/* Unter den Vorstellungen */
.opv-platz--unter_swiper {
	display: flex;
	justify-content: center;
	padding: 8px 16px 0;
}

/* Vorschau-Band (nur für die Administration mit ?opv_vorschau=1) */
.opv-vorschau-band {
	position: fixed;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	z-index: 100000;
	max-width: calc(100% - 32px);
	padding: 10px 16px;
	border-radius: 8px;
	background: #1D1D1B;
	color: #fff;
	font: 14px/1.4 'Lato', Arial, sans-serif;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.opv-vorschau-band a { color: #F3EFDD; text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
	.opv-platz a.opv,
	.opv-platz a.opv *,
	.opv-platz a.opv *::after { transition: none !important; }
}
