/* ############ */
/* galerie.css	*/
/* ############ */

.content-galerie {
    flex: 1; 
	font-size:1em;
	/*text-align:justify;*/
	text-align: left;
	margin: 0 auto; 
    flex: 1; 
    flex-direction: column;
    padding: 20px 50px;
    min-height: 0; /* Wichtig: Erlaubt dem Container innerhalb von Flexbox zu schrumpfen */
	overflow-y: auto; /* Aktiviert den vertikalen Scrollbalken nur hier */
    display: flex;   /* 'block' ist für reinen Textfluss oft besser als 'flex' */
}
/* Styling des Scrollbalkens (optional, für eine schönere Optik) */
.content-galerie::-webkit-scrollbar {
    width: 12px;
}
.content-galerie::-webkit-scrollbar-thumb {
    background: #2c539e; 
    border-radius: 4px;
}
.content-galerie::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
}
.content-galerie h2 {
	margin: 20px 0 0 6px;
	font-size: 1.4em;
	font-weight: bold;
}

.content-galerie h3 {
	margin: 30px 0 8px 6px;
	font-size: 1.1em;
	font-weight: bold;
}


.galerie-bilder {
	margin-top: 1%;
}
.galerie-bilder img {
	padding: 0.5%;
}

/* ############# */
/* Media Queries */
/* ############# */

@media (pointer: coarse) { .content-galerie::-webkit-scrollbar { width: 0px; } }

@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){
	
	.content-galerie {
		font-size: 1.1em;
		padding: 2px 10px;
	}
	.content-galerie h2 {
		margin: 15px 0 0 6px;
		font-size: 1.3em;
	}
	.content-galerie h3 {
		margin: 20px 0 8px 6px;
		font-size: 1em;
	}
	.galerie-bilder {
		margin-top: 2%;
	}
	.galerie-bilder img {
		padding: 0.5%;
		width: 32%;
		height: 32%;
	}
	.mq-indicator::after { content: "TDH"; }
}

/* Tablet quer */
@media (min-width: 800px) and (max-width: 1334px) and (orientation: landscape) and (pointer: coarse) { .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"; } }