/* TAVUN USER.CSS (Gaestehaus Tavun, Joomla 6, cassiopeia_tavun) */

/* ===== Farben Winter (Standard) ===== */
:root {
	--t-hell: #2f86cf;
	--t-mittel: #0f63a8;
	--t-dunkel: #0a4c86;
	--t-tief: #0a3a66;
	--t-nacht: #062743;
	--t-bg1: #f4f8fb;
	--t-bg2: #dfe8f1;
	--t-kopf: #e3edf6;
	--t-rand: #b9cfe3;
	--t-zart: #cfe3f5;
	--t-glow: rgba(47, 134, 207, .55);
	--t-akzent: #4d5639;
	--t-aktiv: #cfeaff;
}

/* ===== Farben Sommer (Klasse sommer per user.js, April bis Oktober) ===== */
html.sommer {
	--t-hell: #93b08f;
	--t-mittel: #6f8f6c;
	--t-dunkel: #5a7a58;
	--t-tief: #465f45;
	--t-nacht: #314331;
	--t-bg1: #f6f8f4;
	--t-bg2: #e5ebe2;
	--t-kopf: #eaf0e7;
	--t-rand: #cbd8c7;
	--t-zart: #dfe8db;
	--t-glow: rgba(147, 176, 143, .55);
	--t-akzent: #0a3a66;
	--t-aktiv: #e6f4d6;
}

/* ===== Seite: Saison-Hintergrundbild, zur Mitte hin weiss ueberblendet ===== */
body.site {
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .15) 20%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, .15) 80%, rgba(255, 255, 255, 0) 100%), url("../../../../../images/winter-hintergrundbild.jpg") center center / cover no-repeat fixed var(--t-bg2);
	color: #333;
}
html.sommer body.site {
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .15) 20%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, .15) 80%, rgba(255, 255, 255, 0) 100%), url("../../../../../images/sommer-hintergrundbild.jpg") center center / cover no-repeat fixed var(--t-bg2);
}

/* Links: nicht unterstrichen, Leuchten beim Darueberfahren */
body.site a {
	color: var(--t-mittel);
	text-decoration: none;
	transition: color .2s, text-shadow .2s;
}
body.site a:hover,
body.site a:focus {
	color: var(--t-tief);
	text-decoration: none;
	text-shadow: 0 0 8px var(--t-glow);
}

/* ===== Kopfbereich ===== */
.container-header {
	background: linear-gradient(180deg, #ffffff 0%, var(--t-kopf) 100%);
	box-shadow: none;
}
.container-header .container-topbar {
	background: linear-gradient(180deg, var(--t-hell) 0%, var(--t-mittel) 50%, var(--t-dunkel) 100%);
	position: relative;
	z-index: 2;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 14px rgba(0, 0, 0, .3);
	padding: .3rem 1rem;
	text-align: right;
	font-size: .85rem;
}
body.site .container-header .container-topbar,
body.site .container-header .container-topbar a {
	color: rgba(255, 255, 255, .55);
}
/* Montafon-Logo (Position search): weisse Original-Variante (negativ mit Rahmen),
   in der Menueleiste mittig im linken Randbereich, 60 px laut Richtlinien;
   mindestens 50 px Abstand zur Inhaltskante, sonst ausgeblendet
   (Rand 160 px = 1104 px Inhalt + 2 x 160 px = 1424 px) */
.container-header .container-nav {
	position: relative;
	min-height: 70px;
	align-items: center;
}
.container-header .container-nav .container-search {
	display: none;
}
@media (min-width: 1424px) {
	.container-header .container-nav .container-search {
		display: block;
		position: absolute;
		top: 5px;
		left: calc((100% - (66rem + 3em)) / 4 - 30px);
		margin: 0;
		padding: 0;
	}
}
.container-header .container-nav .container-search img {
	display: block;
	width: 60px;
	height: 60px;
}
.container-header .container-topbar [class^="icon-"] {
	margin-right: 4px;
	font-size: .8em;
}
body.site .container-header .container-topbar a:hover {
	color: #fff;
	text-shadow: 0 0 8px rgba(255, 255, 255, .9);
}
/* Umschalter Winter | Sommer (macht user.js), gewaehlte Saison weiss;
   wie das Logo: bis 1199px Leiste mittig, ab 1200px Umschalter links buendig mit der Logo-Schrift */
.container-header .container-topbar .mod-custom > span:has(> a[role="button"]) {
	margin-right: 1.5rem;
}
@media (max-width: 1199.98px) {
	.container-header .container-topbar {
		text-align: center;
	}
}
@media (max-width: 767px) {
	.container-header .container-topbar .mod-custom > span:has(> a[role="button"]) {
		display: block;
		margin: 0 0 .1rem;
	}
}
@media (min-width: 1200px) {
	.container-header .container-topbar .mod-custom > span:has(> a[role="button"]) {
		float: left;
		margin-left: calc(2rem - 2px);
	}
}
body.site .container-header .container-topbar a[role="button"].active {
	color: #fff;
}
.container-header .navbar-brand {
	padding: 1.2rem 0 .8rem;
}
body.site .container-header .navbar-brand .brand-logo {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 2.4rem;
	letter-spacing: 2px;
	color: var(--t-tief);
	text-shadow: 1px 1px 0 #fff, 2px 3px 4px rgba(0, 0, 0, .25);
}
body.site .container-header .navbar-brand:hover .brand-logo {
	color: var(--t-mittel);
	text-shadow: 1px 1px 0 #fff, 0 0 12px var(--t-glow);
}
.container-header .navbar-brand .site-description {
	color: var(--t-akzent);
	font-size: 1rem;
	letter-spacing: 1px;
	transition: text-shadow .2s;
}
/* Unterzeile gehoert mit zum Link (Klickflaeche ueber Name + Unterzeile) */
.container-header .navbar-brand {
	position: relative;
	display: inline-block;
}
.container-header .navbar-brand .brand-logo::after {
	content: "";
	position: absolute;
	inset: 0;
}
.container-header .navbar-brand:hover .site-description {
	text-shadow: 0 0 10px var(--t-glow);
}

/* ===== Menueleiste: ueber die ganze Breite, 3D mit Schatten ===== */
.container-header .container-nav {
	grid-column: full-start / full-end;
	justify-content: center;
	max-width: none;
	margin: 0;
	padding: 0;
	background: radial-gradient(ellipse 70% 220% at 75% 0%, var(--t-hell) 0%, var(--t-mittel) 55%, var(--t-dunkel) 100%);
	border-top: 1px solid var(--t-hell);
	border-bottom: 1px solid var(--t-nacht);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 -6px 14px rgba(0, 0, 0, .3), 0 6px 14px rgba(0, 0, 0, .3);
}
.container-header .mod-menu {
	background: none;
	padding: 0;
}
body.site .container-header .metismenu > li > a {
	color: #fff;
	padding: .8rem 1.1rem;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}
body.site .container-header .metismenu > li > a:hover {
	color: #fff;
	background: none;
	text-shadow: 0 0 10px rgba(255, 255, 255, .9);
}
/* Aktiver Menuepunkt: helle Saisonfarbe mit Leuchten */
body.site .container-header .metismenu > li.active > a {
	color: var(--t-aktiv);
	background: none;
	text-shadow: 0 0 10px rgba(255, 255, 255, .8);
}
.container-header .metismenu .mm-collapse {
	background: linear-gradient(180deg, #ffffff 0%, var(--t-kopf) 100%);
	border: 1px solid var(--t-rand);
	border-radius: 0 0 8px 8px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, .25);
}
body.site .container-header .metismenu .mm-collapse a {
	color: var(--t-tief);
	text-shadow: none;
	font-size: .95rem; /* Untermenue dezenter als Hauptmenue */
}
/* Untermenue: kein Unterstrich, aktiv und Mouseover mit Hintergrund ueber die ganze Breite */
body.site .container-header .metismenu .mm-collapse a {
	display: block;
	text-decoration: none;
}
body.site .container-header .metismenu .mm-collapse li.active > a {
	color: var(--t-tief);
	background: var(--t-zart);
	text-decoration: none;
}
body.site .container-header .metismenu .mm-collapse a:hover {
	color: var(--t-mittel);
	background: var(--t-zart);
	text-shadow: 0 0 8px var(--t-glow);
}
/* Menue: auch beim Mouseover/Antippen nie unterstrichen */
body.site .container-header .metismenu a:hover {
	text-decoration: none;
}

/* ===== Handy/Tablet: Hamburger-Menue (Joomla-Standard), Symbol rechts ===== */
.container-header .container-nav > .navbar {
	width: 100%;
}
.container-header .navbar-toggler {
	margin-left: auto;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .5);
	background: none;
}
.container-header .navbar-toggler:hover {
	box-shadow: 0 0 10px rgba(255, 255, 255, .7);
}
@media (max-width: 991px) {
	/* Kopf klebt oben, per user.js so weit hochgeschoben,
	   dass nur die Menueleiste mit dem Hamburger sichtbar bleibt */
	body.site .container-header {
		position: sticky !important; /* Cassiopeia setzt mobil relative !important */
		z-index: 1020;
	}
	.container-header .container-nav {
		min-height: 0;
		padding: .4rem 1rem;
	}
	/* Logo-Schrift und Beschreibung zentriert */
	.container-header .navbar-brand {
		width: 100%;
		text-align: center;
		padding: .8rem 0 .5rem;
	}
	/* Hamburger in der Leiste mittig in der Hoehe */
	.container-header .container-nav > .navbar {
		align-items: center;
		padding: 0;
		margin: 0;
	}
	/* ausgeklappt: ganzes Menue sichtbar, rechtsbuendig, kein Schieber links-rechts */
	.container-header .navbar-collapse {
		overflow-x: hidden;
		text-align: right;
	}
	/* Hamburger: sofort auf/zu, ohne Slide-Effekt */
	.container-header .navbar-collapse.collapsing {
		transition: none;
		height: auto !important;
	}
	.container-header .container-nav .mod-menu {
		padding: .3rem 0;
	}
	/* kompakt: Zeile ueber Zeile */
	body.site .container-header .metismenu > li > a,
	body.site .container-header .metismenu .mm-collapse a {
		padding: 5px 0;
	}
	body.site .container-header .metismenu.mod-menu .metismenu-item {
		display: block;
		padding: 0;
		text-align: right;
	}
	/* Untermenues zu, Klick auf Hauptpunkt klappt auf (user.js), ohne Effekt, ohne Pfeile */
	.container-header .metismenu .mm-toggler {
		display: none;
	}
	body.site .container-header .metismenu.mod-menu .mm-collapse {
		display: none;
		height: auto;
		position: static;
		background: none;
		border: 0;
		box-shadow: none;
		padding: 0 1.2rem 0 0;
		margin: 0;
		min-width: 0;
		width: auto;
	}
	body.site .container-header .metismenu.mod-menu a {
		display: block;
	}
	body.site .container-header .metismenu.mod-menu li.offen > .mm-collapse {
		display: block;
	}
	body.site .container-header .metismenu .mm-collapse a {
		color: rgba(255, 255, 255, .85);
		background: none;
	}
	body.site .container-header .metismenu .mm-collapse li.active > a {
		color: var(--t-aktiv);
		background: none;
	}
}

/* Desktop: Untermenue bei Mouseover, ohne Pfeile */
@media (min-width: 992px) {
	.container-header .metismenu .mm-toggler {
		display: none;
	}
	.container-header .metismenu > li.parent:hover > .mm-collapse {
		display: block;
	}
	/* Untermenue: Hintergrund aktiv/Mouseover ueber die ganze Breite */
	body.site .container-header .metismenu.mod-menu .mm-collapse .metismenu-item {
		padding: 0;
	}
	body.site .container-header .metismenu .mm-collapse a {
		flex: 1;
		padding: .55rem 1.1rem;
	}
}

/* ===== Inhalt: schmalere Box, Hintergrundbild seitlich sichtbar ===== */
/* Logo, Menue, Navigationspfad und Inhalt beginnen an derselben linken Kante */
@media (min-width: 1200px) {
	.site-grid {
		grid-template-columns: [full-start] minmax(0, 1fr) [main-start] repeat(4, minmax(0, 16.5rem)) [main-end] minmax(0, 1fr) [full-end];
	}
	.container-header > .grid-child:not(.container-nav):not(.container-below-top),
	.container-header .container-topbar .mod-custom,
	.container-banner .mod-breadcrumbs__wrapper,
	.container-header .container-nav > .navbar {
		flex: 0 0 auto;
		width: calc(66rem + 3em);
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
		padding-left: 0;
		padding-right: 0;
	}
	/* Logo-Schrift und erster Menuepunkt buendig mit dem Text in der Box */
	.container-header > .grid-child:not(.container-nav):not(.container-below-top),
	.container-header .container-nav > .navbar {
		padding-left: 2rem;
	}
	/* Fusszeile: Adresse buendig mit dem Text in der Box */
	.container-footer > .grid-child {
		width: calc(66rem + 3em);
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
		padding-left: calc(2rem - 2px);
		padding-right: 2rem;
	}
	.container-header .navbar-brand {
		margin: 0;
	}
	.container-header .container-nav .mod-menu {
		justify-content: flex-start;
	}
	.container-header .metismenu > li:first-child,
	body.site .container-header .metismenu > li:first-child > a {
		padding-left: 0;
	}
}
.site-grid .container-component {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
	padding: 1.6rem 2rem 2rem; /* oben optisch gleich wie links (Titel-Oberlaenge ausgeglichen) */
	font-size: .875rem; /* Fliesstext 14px wie alte Seite */
	line-height: 1.7;
	/* gleiche Hoehe wie Navigationspfad (10 + Zeile + 10 px), kein Springen auf Home */
	margin-top: calc(20px + .9rem * 1.4);
	margin-bottom: 3rem;
}
@media (max-width: 767px) {
	.site-grid .container-component {
		margin-top: 1rem;
	}
}
.page-header h1,
.page-header h2,
.com-contact > h1 {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: normal;
	letter-spacing: 1px;
	text-shadow: 1px 1px 0 #fff, 2px 2px 3px rgba(0, 0, 0, .2);
	color: var(--t-tief);
	font-size: 1.3rem;
	line-height: 1.1;
	margin-top: 0;
	padding-bottom: .5rem;
	border-bottom: 2px solid var(--t-mittel);
	margin-bottom: 1.5rem;
}
.site-grid .container-component main,
.site-grid .container-component main > :first-child,
.site-grid .container-component .page-header {
	margin-top: 0;
	padding-top: 0;
}
.item-page img {
	border-radius: 6px;
}

/* ===== Navigationspfad (Position banner): direkt auf dem Hintergrundbild ===== */
/* genau 10 px ueber und unter dem Navigationspfad */
.site-grid .container-banner {
	margin: 0;
	padding: 0;
}
.container-banner .mod-breadcrumbs__wrapper {
	max-width: 66rem;
	margin: 0 auto;
	padding: 10px 1rem;
}
@media (min-width: 1200px) {
	/* Navigationspfad buendig mit dem Text in der Box */
	.container-banner .mod-breadcrumbs__wrapper {
		max-width: 100%;
		padding-left: 2rem;
	}
}
.site-grid .container-banner ~ .container-component {
	margin-top: 0;
}
/* Handy: kein Navigationspfad */
@media (max-width: 767px) {
	.container-banner {
		display: none;
	}
	.site-grid .container-banner ~ .container-component {
		margin-top: 1rem;
	}
}
.container-banner .breadcrumb {
	background: none;
	margin: 0;
	padding: 0 !important;
	line-height: 1.4;
	font-size: .9rem;
}
.container-banner .breadcrumb,
.container-banner .breadcrumb-item,
.container-banner .breadcrumb-item::before {
	color: #fff;
	text-shadow: 0 1px 3px var(--t-nacht), 0 0 8px var(--t-nacht);
}
body.site .container-banner .breadcrumb a {
	color: #fff;
}
body.site .container-banner .breadcrumb a:hover {
	color: #fff;
	text-shadow: 0 0 10px #fff;
}

/* ===== Verfuegbarkeit pruefen: nur Kopfbereich + Deskline-Fenster ===== */
body.itemid-448 .site-grid,
body.itemid-448 .container-banner,
body.itemid-448 .container-footer {
	display: none;
}
body.itemid-448 > iframe {
	display: block;
	width: 100%;
	border: 0;
}

/* ===== Buttons: 3D mit Schatten ===== */
body.site .item-page .btn,
body.site .contact-form .btn-primary {
	color: #fff;
	background: linear-gradient(180deg, var(--t-hell) 0%, var(--t-mittel) 55%, var(--t-dunkel) 100%);
	border: 1px solid var(--t-tief);
	border-radius: 6px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 4px 10px rgba(0, 0, 0, .3);
	padding: .5rem 1.2rem;
	margin: .25rem;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}
body.site .item-page .btn:hover,
body.site .contact-form .btn-primary:hover {
	color: #fff;
	background: linear-gradient(180deg, var(--t-mittel) 0%, var(--t-tief) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 14px var(--t-glow);
	text-shadow: 0 0 8px rgba(255, 255, 255, .8);
}

/* ===== Fusszeile ===== */
.container-footer {
	background: radial-gradient(ellipse at 75% 0%, var(--t-hell) 0%, var(--t-mittel) 30%, var(--t-tief) 65%, var(--t-nacht) 100%);
	border-top: 1px solid var(--t-hell);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 -6px 14px rgba(0, 0, 0, .2);
	color: #e8eef3;
	font-size: .9rem;
}
body.site .container-footer a {
	color: #fff;
}
body.site .container-footer a:hover {
	color: #fff;
	text-shadow: 0 0 8px rgba(255, 255, 255, .9);
}

/* ===== Editor-Styles (aus alter Seite) ===== */
.blauhinter {
	background: linear-gradient(180deg, #ffffff 0%, var(--t-zart) 100%);
	border: 1px solid var(--t-rand);
	border-radius: 10px;
	padding: .75rem;
	text-align: center;
	box-shadow: inset 0 1px 0 #fff, 0 4px 12px rgba(0, 0, 0, .15);
}
/* Linien oben/unten 100 px laenger als der Text; per user.js auf einer Seite alle gleich lang */
.headerblau,
.headergruen {
	display: inline-block;
	max-width: 100%;
	padding-right: 100px;
}
.headerblau {
	color: var(--t-mittel);
	font-weight: bold;
	line-height: 2.2;
	border-top: 1px solid var(--t-mittel);
	border-bottom: 1px solid var(--t-mittel);
}
.headergruen {
	color: #6f8f6c;
	font-weight: bold;
	line-height: 2.2;
	border-top: 1px solid #6f8f6c;
	border-bottom: 1px solid #6f8f6c;
}
.subblau {
	color: var(--t-mittel);
	font-weight: bold;
}
.subgruen {
	color: #4d5639;
	font-weight: bold;
}
.subrot {
	color: #c00;
	font-weight: bold;
}
.klein {
	font-size: .7rem;
}
.gesperrt {
	letter-spacing: 2px;
}
.einzug {
	margin-left: 20px;
}
.bildlinks {
	float: left;
	margin-right: 10px;
	padding-right: 10px;
}
.bildrechts {
	float: right;
	margin: 5px 0 0 5px;
	padding: 5px 0 0 5px;
}

/* RI10 Cookie-Leiste: Winterfarbe kommt aus dem Plugin (#0f63a8), Sommer hier */
html.sommer body .ri10-peek-bar {
	border-top-color: var(--t-mittel) !important;
}
html.sommer .ri10-peek-inner p a {
	color: var(--t-mittel) !important;
}
body .ri10-peek-btn {
	background: linear-gradient(180deg, var(--t-hell) 0%, var(--t-mittel) 55%, var(--t-dunkel) 100%) !important;
	border: 1px solid var(--t-tief) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 3px 8px rgba(0, 0, 0, .25);
	text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}
body .ri10-peek-btn:hover {
	background: linear-gradient(180deg, var(--t-mittel) 0%, var(--t-tief) 100%) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 14px var(--t-glow);
	text-shadow: 0 0 8px rgba(255, 255, 255, .8);
}

/* Bild-Link auf fremde Seite (Video, Karte): Hinweis kommt aus dem Link-Titel */
body.site .item-page a[target="_blank"][title]:has(> img) {
	position: relative;
	display: inline-block;
	max-width: 100%;
	overflow: hidden;
	border-radius: 6px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}
body.site .item-page a[target="_blank"][title]:has(> img) > img {
	display: block;
	transition: transform .4s;
}
body.site .item-page a[target="_blank"][title]:has(> img)::after {
	content: attr(title) "\A Sie verlassen damit unsere Seite.";
	white-space: pre-line;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 2.5rem 1rem .8rem;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .7) 100%);
	color: #fff;
	font-size: .9rem;
	transition: color .3s, text-shadow .3s;
	line-height: 1.5;
	text-align: center;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
}
/* Video: Abspiel-Knopf in der Mitte */
body.site .item-page a[target="_blank"][title*="Video"]:has(> img)::before {
	content: "";
	position: absolute;
	z-index: 1;
	left: 50%;
	top: 45%;
	width: 76px;
	height: 76px;
	margin: -38px 0 0 -38px;
	border-radius: 50%;
	background: var(--t-mittel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% 50% / 40px no-repeat;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, .6), 0 4px 14px rgba(0, 0, 0, .4);
	transition: box-shadow .3s;
}
/* Karte: Bild bleibt ruhig, eigener Pin ueber dem Pin im Bild wird beim Darueberfahren groesser */
body.site .item-page a[target="_blank"][title*="Karte"]:has(> img)::before {
	content: "";
	position: absolute;
	z-index: 1;
	left: calc(49.2% - 15px);
	top: calc(55.3% - 40px);
	width: 30px;
	height: 40px;
	background: radial-gradient(circle at 50% 37.5%, #fff 6px, var(--t-mittel) 6.5px);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M12 0C5.4 0 0 5.4 0 12c0 9 12 20 12 20s12-11 12-20C24 5.4 18.6 0 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M12 0C5.4 0 0 5.4 0 12c0 9 12 20 12 20s12-11 12-20C24 5.4 18.6 0 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
	transform-origin: 50% 100%;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5));
	transition: transform .3s, filter .3s;
}
body.site .item-page a[target="_blank"][title*="Karte"]:has(> img):hover::before {
	transform: scale(1.25);
	filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 10px #fff) drop-shadow(0 0 14px var(--t-hell));
}
/* Video: Bild bleibt ruhig, Schatten unten kraeftig bis zur Mitte, Knopf erst beim Darueberfahren kraeftig */
body.site .item-page a[target="_blank"][title*="Video"]:has(> img)::after {
	top: 50%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding-top: 0;
	padding-bottom: 1.1rem;
	font-size: 1.2rem;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .6) 55%, rgba(0, 0, 0, .88) 100%);
}
/* Darueberfahren: Hinweistext wird zur Link-Farbe mit Leuchten */
body.site .item-page a[target="_blank"][title]:has(> img):hover::after {
	color: #8cc8ff;
	text-shadow: 0 0 6px var(--t-hell), 0 0 18px var(--t-hell), 0 1px 3px rgba(0, 0, 0, .9);
}
html.sommer body.site .item-page a[target="_blank"][title]:has(> img):hover::after {
	color: #c6e6a8;
}
body.site .item-page a[target="_blank"][title*="Video"]:has(> img)::before {
	opacity: .5;
	transition: opacity .3s, box-shadow .3s;
}
body.site .item-page a[target="_blank"][title*="Video"]:has(> img):hover::before {
	opacity: 1;
	box-shadow: 0 0 0 4px #fff, 0 0 26px rgba(255, 255, 255, .9);
}

/* Kalender (Datumsfelder Anfrage) in den Seitenfarben */
body.site .js-calendar .calendar-container td.day.selected,
body.site .js-calendar .calendar-container td.day:not(.disabled):hover {
	color: #fff;
	background: var(--t-mittel);
	border-color: var(--t-mittel);
}
body.site .js-calendar .calendar-container .js-btn.btn {
	color: #fff;
	background: linear-gradient(180deg, var(--t-hell) 0%, var(--t-mittel) 55%, var(--t-dunkel) 100%);
	border: 1px solid var(--t-tief);
}
body.site .js-calendar .calendar-container .js-btn.btn:hover {
	background: linear-gradient(180deg, var(--t-mittel) 0%, var(--t-tief) 100%);
	box-shadow: 0 0 10px var(--t-glow);
}

/* Kalender-Knopf links vom Datumsfeld */
.contact-form .input-group > .btn[data-inputfield] {
	order: -1;
	border-radius: .25rem 0 0 .25rem;
}
.contact-form .input-group > .btn[data-inputfield] + input,
.contact-form .input-group > input:has(+ .btn[data-inputfield]) {
	border-radius: 0 .25rem .25rem 0;
}

/* Anfrage: Reiter "Kontaktformular" weg, Formular direkt unter dem Titel */
.com-contact joomla-tab > [role="tablist"],
.com-contact joomla-tab > button {
	display: none !important;
}
.com-contact joomla-tab > joomla-tab-element {
	display: block;
	border: 0;
	padding: 0;
	box-shadow: none;
	background: none;
}
/* Zwischentitel "Eine E-Mail senden" und "Felder" ausblenden */
.com-contact .contact-form fieldset > legend:not(.visually-hidden) {
	display: none;
}
/* Abstand Titel - "Benoetigtes Feld" klein halten */
.com-contact > h1 {
	margin-bottom: 1rem;
}
.com-contact .contact-form fieldset > .field-spacer:first-of-type {
	margin-top: 0;
}

/* Startseite: oberes Bild und Begruessungstext (Absatz danach) je Saison
   Winter: ...startseite-winter.jpg, Sommer: ...startseite.jpg */
body.site .item-page p:has(> img[src$="startseite.jpg"]),
body.site .item-page p:has(> img[src$="startseite.jpg"]) + p,
html.sommer body.site .item-page p:has(> img[src$="startseite-winter.jpg"]),
html.sommer body.site .item-page p:has(> img[src$="startseite-winter.jpg"]) + p {
	display: none;
}
html.sommer body.site .item-page p:has(> img[src$="startseite.jpg"]),
html.sommer body.site .item-page p:has(> img[src$="startseite.jpg"]) + p {
	display: block;
}

/* Startseite: Video Winter/Sommer als Reiter (Knoepfe macht user.js, unter dem Video rechts), aktuelle Saison offen */
body.site .item-page div:has(> button.btn + button.btn) {
	float: right;
	display: flex;
	gap: .5rem;
	margin: .75rem 0 0 1rem;
}
body.site .item-page div:has(> button.btn + button.btn) > .btn:not(.active) {
	opacity: .6;
}
body.site .item-page a[title*="Video"][hidden] {
	display: none;
}

/* Danke-Seite nach der Anfrage (Menuepunkt 450): Joomla-Meldung "Danke fuer die Nachricht" ausblenden, die Seite sagt es selbst */
body.itemid-450 #system-message-container {
	display: none;
}
