/* ############	*/
/* termine.css	*/
/* ############	*/

  * {
	box-sizing: border-box;
}

.content-termine {
	margin: 0;
	/*font-family: Arial, sans-serif;
	padding-bottom:10px; */
	flex: 1; 
	font-size: 1em;
	text-align: left;
	margin: 0 0; 
	flex: 1; 
	flex-direction: column;
	padding: 0;
	min-height: 0; /* Wichtig: Erlaubt dem Container innerhalb von Flexbox zu schrumpfen */
	overflow-y: auto; /* Aktiviert den vertikalen Scrollbalken nur hier */
	display: block;   /* 'block' ist für reinen Textfluss oft besser als 'flex' */
}
	
/* Styling des Scrollbalkens (optional, für eine schönere Optik) */
.content-termine::-webkit-scrollbar {
	width: 12px;
}
.content-termine::-webkit-scrollbar-thumb {
    background: #2c539e; 
    border-radius: 4px;
}
.content-termine::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
}
	
.ter_container {
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	gap: 2rem;
	font-size:1em;
	margin: 1.2rem;
}
.ter_termine, .ter_konzertprogramm {
	flex: 1 1 300px;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	
}

.ter_konzertprogramm h2, h3 { margin-bottom:0; }
.ter_container h2 {	
	font-size: 1.3em; 
	font-weight: bold;
	text-align: center;
}
.ter_container h3 { 
	font-size: 1.1em;
	font-weight: bold;
	text-align: center;
	margin-bottom: 10px;
}

.ter_kachel {
	background-size: cover;
	background-position: center;
	color: black;
	padding: 0;
	border-radius: 12px;
	min-height: 80px;
	position: relative;
}

.ter_terminkachel {
	background: linear-gradient(to bottom, #ffffff, #eeeeee, #dddddd);
	color: #000; /* Dunkle Schrift für Kontrast*/
	padding: 1rem; 
	padding-left: 3rem; 
	border-radius: 12px;	
}
.ter_programmkachel {
	background: linear-gradient(to bottom, #ffffff, #eeeeee, #dddddd);
	color: #000; /* Dunkle Schrift für Kontrast */
	padding: 0rem 1rem 2em 3rem;
	border-radius: 12px;	
}

/* Optional: halbtransparenter Overlay-Hintergrund */
.ter_kachel::before {
	content: "";
	position: absolute;
	inset: 0;
	/*background: rgba(0, 0, 0, 0.4);
	border-radius: 12px; */
	z-index: 0;
}

.ter_kachel > * {
	position: relative;
	z-index: 1;
}

.ter_p_bold {
	padding: 0;
	margin: 0 0 6px 0;
	font-size: 0.9em;
	font-weight:bold;
}
.ter_p_norm {
	padding: 0;
	margin: 0;
	font-size: 0.9em;
	font-weight:normal;
}

.konz_p_bold {
	margin: 0;
	padding:  2rem 0 0 0;
	font-size: 0.9em;
	font-weight:bold;
}
.konz_p_norm {
	margin: 0;
	padding:  0 0 0 0;
	font-size: 0.9em;
	font-weight:normal;
}

/* ################# */
/* MEDIA-QUERIES	 */
/* ################# */
@media (pointer: coarse) { .content-termine::-webkit-scrollbar { width: 0; } }

@media (max-width: 1280px) { .mq-indicator::after { content: "1280"; } }
@media (max-width: 1024px) { .mq-indicator::after { content: "1024"; } }

/* Tablet und Desktop hochkant */
@media (max-width: 800px) { .mq-indicator::after {content: "TDH"; } }

/* Nur Tablet hochkant */
@media(max-width:800px) and (pointer: coarse)  {
	.ter_container {
		font-size: 1.3em;
	}	
}

/* Tablet quer */
@media (min-width: 800px) and (max-width: 1334px) and (orientation: landscape) and (pointer: coarse) { 
	.content-termine p 		{ font-size: 1.1em; }
	.mq-indicator::after	{ content: "TQ"; }
}

/* Handy quer */
@media (min-width: 380px) and (max-width: 1024px) and (orientation: landscape) and (pointer: coarse) { .mq-indicator::after { content: "HQ"; } }


/* Handy hochkant */
@media (max-width: 480px) { .mq-indicator::after { content: "HH"; } }
