@font-face {
	font-family: 'Inter';
	src: url('../fonts/inter-v18-latin/inter-v18-latin-regular.woff2') format('truetype');
	font-weight: 400;
}

@font-face {
	font-family: 'Lato';
	src: url('../fonts/lato-v24-latin/lato-v24-latin-regular.woff2') format('truetype');
	font-weight: 400;
}

body {
	font-family: 'Lato', Arial, Helvetica, sans-serif;
	width: 100%;
	margin: 0px;
	padding: 15px 0 0 0;
	font-size: 17px;
}

.viewport-debug {
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 5px;
	z-index: 10000;
	font-size: 12px;
}

@media (max-width: 599px) {
	body {
		font-size: 13px;
	}
	.wowe {
		width: 6%;
		margin-left: 1%
	}
	.panel_item {
		width: 17.5%;
		font-size: 10px;
	}

	.panelItemInner {
		white-space: pre-line;
	}
	.panelItemInner::before {
		content: attr(data-before-date) "\A" attr(data-after-date);
		white-space: pre;
	}
	.panelItemInner span {
		display: none;
	}

}

@media (min-width: 600px) and (max-width: 767px) {
	body {
		font-size: 13px;
	}
	.wowe {
		width: 9%;
		margin-left: 1%
	}
	.panel_item {
		width: 17%;
		font-size: 13px;
	}

	.panelItemInner {
		white-space: pre-line;
	}
	.panelItemInner::before {
		content: attr(data-before-date) "\A" attr(data-after-date);
		white-space: pre;
	}
	.panelItemInner span {
		display: none;
	}

}

@media (min-width: 768px) {
	body {
		font-size: 14px;
	}
	.wowe {
		width: 4%;
		margin-left: 1%
	}
	.panel_item {
		width: 18%;
		font-size: 13px;
	}
}

#loader {
	margin-top: 7px;
	width: 32px;
	height:32px;
}
.hide, .hidden {
	display: none;
}
.ptr {
	cursor: pointer;
}
.padd-top-5 {
	padding-top: 5px;
}
.padd-15 {
	padding: 15px;
}
.size-11 {
	font-size: 0.65em;
}
.size-12 {
	font-size: 0.7em;
}
.size-13 {
	font-size: 0.75em;
}
.size-14 {
	font-size: 0.82em;
}
.kennzfilter {
	font-size:0.9em;
}
.splReiter {
	width:100%;
	height:50px;
	margin-top:20px;
}
.wowe, .panel_item {
	float: left;
	text-align: center;
	cursor: pointer;
}
.panel_item {
	background-color: rgb(232,242,255);
	color:#000;
	border-radius:15px;
}
.wowe {
	background-color: rgb(0,80,152);
	color:#fff;
	border-radius:15px;
}

.marginRght {
	margin-right: 1.25%;
}
.active {
	background-color: rgb(0,80,152);
	color: #fff;
}
.panelItemInner {
	padding:0.5em;
}

.gruppenkopf {
	display: flex;
	align-items: center; /* Vertikale Ausrichtung */
	justify-content: center; /* Optionale horizontale Ausrichtung */
	background-color: rgb(0,80,152);
	margin-top:20px;
	height:60px;
	padding:10px;
	color:#fff;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

@media (max-width: 768px) {
	.align-left {
		text-align: left !important;
	}
	.align-left select,
	.align-left button {
		width: 100%;
		box-sizing: border-box;
	}
	.form-inline {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		align-items: center;
		gap: 10px;
	}
	.form-inline label {
		flex-shrink: 0;
	}
	.form-inline select {
		flex-grow: 1;
	}
	.gruppenkopf {
		height:48px;
		margin-top: 10px;
		padding:3px;
	}
}

.gruppenname {
	font-family: 'Inter', Arial, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: bold;
}
.preise-head {
	text-align: right;
	font-size: 1em;
}

/* Anpassung für sehr kleine Bildschirme (z. B. iPhone 5: 320px Breite) */
@media screen and (max-width: 320px) {
	.gruppenname, .preise-head {
		font-size: 0.7rem; /* Noch kleinere Schriftgröße */
	}
}

#reiterphone-burger > .icon-bar {
	background-color: #000
}
#navbarTagesreiter > ul > li > a{
	padding:2px 0 2px 20px;
	margin:0px
}

div.splMeal, div.splMeal-light {
	margin-bottom: 5px;
	background-color: #eee;
}

div.splMeal {
	padding: 10px;
	min-height:80px;
}

@media (max-width: 768px) {
	div.splMeal {
		padding: 8px 3px;
	}
}
/* Nur das erste div.splMeal nach einem div.gruppenkopf: nur untere Ecken abrunden */
div.gruppenkopf + div.splMeal {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

/* Alle anderen div.splMeal: alle vier Ecken abrunden */
div.splMeal:not(:first-of-type) {
	border-radius: 10px;
}

div.splMeal-light {
	padding: 10px 0;
	min-height:86px;
}

.filtered {
	opacity: 0.2;
	background-color: #fff;
}

img.iconNormal {
	height:36px;
	margin-left:14px
}
img.iconLarge {
	height:34px;
	margin:14px 0 0 6px
}

.largeFoto {
	position:absolute;
	z-index: 10;
}
.preise-xs {
	text-align: right;
}

.pdf-download {
	background-color:rgb(229,229,229);
}

.legende {
	font-size: 0.8em;
}
.td1 {
	width:5%
}
.col-1-icon {
	width:40px
}
.td2 {
	width:95%
}

.kname-checked {
	text-decoration: line-through;
}

.clrGrey {
	color: #9b9b9b;
}

.bglightGrey {
	background-color: rgb(229,229,229);
}
#listbox-locations, .btn-filter {
	border-radius:15px;
	padding:8px;
	border: 1px solid rgb(0,80,152);
	font-size:16px;
	background-color: transparent;
}

#listbox-locations:focus {
	/*border:2px solid rgb(0,80,152)*/
}

.cv {
	position: relative;
	top: 50%;
	transform: 	translateY(-50%);
}

.nodata {
	background-color:rgb(229,229,229);
}

.show-azn {
	font-size: 0.8em;
}

.wowe > img {
	width:9px;
	height:22px;
}

#toggleLegende, div.preiserlaeuterung {
	font-size: 1em;
	background-color: #eee;
}

.pdf-download {
	font-size: 1em;
}

.custom-tooltip {
	background-color: #333;
	color: #fff;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 14px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.tooltip-container {
	position: relative;
	display: inline-block;
}

.tooltip {
	visibility: hidden;
	background-color: #fff;
	color: #000;
	border: 1px solid #000;
	font-size: 12px;
	text-align: center;
	padding: 4px 8px;
	border-radius: 6px;
	position: absolute;
	bottom: -80%; /* Position unterhalb des Icons */
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
	white-space: nowrap;
	opacity: 0;
	transition: opacity 0.3s;
}

.tooltip-container:active .tooltip,
.tooltip-container:hover .tooltip {
	visibility: visible;
	opacity: 1;
}

/* ####################################### */
/* Screenreader-only Text */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}

/* Skip-Links */
.skip-link {
	position: absolute;
	top: -40px;
	left: 6px;
	background: #000;
	color: #fff;
	padding: 8px 16px;
	text-decoration: none;
	z-index: 1000;
	border-radius: 4px;
	font-weight: bold;
}

.skip-link:focus {
	top: 6px;
	outline: 2px solid #fff;
}

input.itemkennz:focus {
	outline: 3px solid #005fcc !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 2px rgba(0, 95, 204, 0.3) !important;
}

#clearAll:focus {
	outline: 3px solid #005fcc !important;
	outline-offset: 2px !important;
	background-color: #f0f8ff !important;
}

#listbox-locations:focus {
	outline: 3px solid #005fcc !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 2px rgba(0, 95, 204, 0.3) !important;
}

.btn-filter:focus,
#toggleFilterPanel button:focus {
	outline: 3px solid #005fcc !important;
	outline-offset: 2px !important;
	background-color: #f0f8ff !important;
}

/* Fokus-Styles für interaktive Elemente */
.splMeal:focus {
	outline: 3px solid #005fcc !important;
	outline-offset: 2px !important;
	background-color: #f0f8ff !important;
	box-shadow: 0 0 0 2px rgba(0, 95, 204, 0.3) !important;
}

/* Panel-Items (Datum-Buttons) */
.panel_item:focus,
.panelItemInner:focus {
	outline: 3px solid #005fcc !important;
	outline-offset: 2px !important;
	background-color: #f0f8ff !important;
}

/* Wochenwechsler */
.wowe:focus {
	outline: 3px solid #005fcc !important;
	outline-offset: 2px !important;
	background-color: rgba(0, 80, 152, 0.8) !important;
}

/* Filter-Buttons */
.btn-filter:focus,
#toggleFilterPanel:focus,
#toggleFilterPanel button:focus {
	outline: 3px solid #005fcc !important;
	outline-offset: 2px !important;
	background-color: #f0f8ff !important;
}

/* Checkboxen */
input.itemkennz:focus {
	outline: 3px solid #005fcc !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 2px rgba(0, 95, 204, 0.3) !important;
}

/* Clear All Button */
#clearAll:focus {
	outline: 3px solid #005fcc !important;
	outline-offset: 2px !important;
	background-color: #f0f8ff !important;
}

/* Select-Dropdown */
#listbox-locations:focus {
	outline: 3px solid #005fcc !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 2px rgba(0, 95, 204, 0.3) !important;
}

/* Legende-Toggle */
#toggleLegende:focus {
	outline: 3px solid #005fcc !important;
	outline-offset: 2px !important;
	background-color: #f0f8ff !important;
}

/* PDF-Download Links */
.downloadpdf:focus {
	outline: 3px solid #005fcc !important;
	outline-offset: 2px !important;
	background-color: #f0f8ff !important;
	text-decoration: underline !important;
}

/* Tooltip-Trigger für Allergene */
.tooltip-trigger:focus {
	outline: 3px solid #005fcc !important;
	outline-offset: 1px !important;
	background-color: #f0f8ff !important;
	border-radius: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
	.splMeal:focus {
		outline: 4px solid currentColor !important;
		background-color: highlight !important;
		color: highlighttext !important;
	}
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Touch-friendly Focus für mobile Geräte */
@media (max-width: 768px) {
	.splMeal:focus,
	.panel_item:focus,
	.btn-filter:focus {
		outline-width: 4px !important;
	}
}

/* Verbesserte Custom Tooltip */
.custom-tooltip {
	background-color: #333;
	color: #fff;
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 14px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	max-width: 300px;
	word-wrap: break-word;
	z-index: 1000;
}