/* ============================================
   RESPONSIVE: Tablets (max-width: 768px)
   ============================================ */
@media screen and (max-width: 768px) {
    #hinweisInnen {
        width: 90vw;
        padding: 2rem 1.5rem;
        font-size: 3rem;
        border-width: 5px;
    }

    #hinweisTitle {
        font-size: 2.5rem;
    }

    #hinweisInnenBoxW {
        font-size: 1.8rem;
        margin: 1.5rem 0.5rem;
        line-height: 1.3;
    }

    #hinweisInnenBoxQ {
        font-size: 2rem;
        margin: 1.5rem 0.5rem;
        line-height: 1.3;
    }

    #hinweisInnenBoxQ p {
        margin: 0.8rem 0;
    }

    #hinweisInnenBoxA {
        font-size: 1.6rem;
        margin: 1.5rem 0.5rem;
    }

    .cookie-warning {
        padding: 0.8rem 1.2rem;
    }
}

/*  BREITE 768px UND WENIGER */

/* Such-Layer */

#searchLayer{
	top: 3px;
	right:0;
	width: 100%;
	padding: 20px;
	background-color: white;
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.6);
	display: none;
}

/* MASTER-TEMPLATE */

/* TopBar */

#topBarCore{
	justify-content:flex-start;
}

#topBarSocialMedia {
	display: none;
}

/* Navigation */

#navCore{
	justify-content: center;
}

input#responsive-nav,
label.responsive-nav-label {
	display: none;
}

label.responsive-nav-label {
	position: relative;
	display: block;
	padding: 5px;
	background: #222;
	cursor: pointer;
	color: #fff;
	font-size: 2em;
	margin-right: 10px;  
}


label.responsive-nav-label span {
}

#navMain {
	position: absolute;
	top: -9999px;
	padding: 10px;
}
 
input#responsive-nav[type=checkbox]:checked ~ #navMain {
	position: relative;
	top: 0;
}

input#responsive-nav[type=checkbox]:checked ~ #navSearch {
	display: none;
}

#navMain a:after {
	display: none;
}

#navSearch:after {
	display: none;
}

#navMain li {
	float: none !important;
	width: 98% !important;
	border-bottom: none !important; 
}

#navMain li a {
	margin-bottom: 10px !important;
	padding: 10px 20px !important; 
	background: #4a4a4a;
}

#navMain ul li:hover {
	background: none;
}
   
#navMain ul li a:hover {
	background: #4096ee;
}

#navMain ul ul {
	position: relative !important;
	width: 98%;
	left: 0 !important;
	top: 0 !important;
	background: none !important;
	box-shadow: none;
}

#navMain ul ul li {
	padding-left: 20px;
}

/* Content */

#content{
	padding-bottom: 0px;
	margin-bottom: -10px;
}

#contentCore{
	flex-direction: column;
}

#main{
	width: 100%;
	margin-bottom: 20px;
}

/* SEITENELEMENTE */

#pageHeadline{
	padding-bottom: 6px;
}

/* Nutzer-Kopf */

#memberHeadAvatar{
	width: 17%;
	height: auto;
	padding: 2%;
}

#memberHeadData{
	width: 83%;
	height: auto;
	padding: 3%;
}

.themeGalleryCell{
	flex-basis: 15%;
	height: auto;
	padding: 0;
	}

/* Kommentare */

/* Margin */

#margin{
	width: 100%;
	margin-top: 0px;
}

#adsMargin1, #adsMargin2{
	margin-bottom: 23px;
}

#magazineBox{
	background: none;
	padding-left: 0;
	padding-right: 0;
	padding-top: 0px;
	padding-bottom: 6px;
}

.magazineBoxHeadline{

}
.magazineBoxText{

}

.magazineBoxContent{
	background-color: white;
	margin-top: -1rem;
	margin-bottom: 1.2rem;
	padding: 0.5rem;
}

/* Footer */

#footerLogo img{
	width:40%;
}

/* Bildliste */
.recordListHeadWithCBText{
	font-size:1.2rem;
}

.imgListDataCell .checkboxGroup{
	display: flex;
}
.imgListDataCell .checkboxWithLabelPair{
	margin-bottom:0rem;
}


/* STARTSEITE */

/* ============================================
   ZUSÄTZLICH: Für sehr kleine Displays
   ============================================ */
@media screen and (max-height: 600px) {
    /* Für Geräte mit wenig Höhe */
    #hinweisInnen {
        max-height: 90vh;
        overflow-y: auto;
    }

    #hinweisTitle {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    #hinweisInnenBoxW {
        font-size: 1.2rem;
        margin: 0.6rem 0.3rem;
    }

    #hinweisInnenBoxQ {
        font-size: 1.4rem;
        margin: 0.6rem 0.3rem;
    }

    #hinweisInnenBoxQ p {
        margin: 0.3rem 0;
    }

    #hinweisInnenBoxA {
        margin: 0.6rem 0.3rem;
    }

    .cookie-warning {
        padding: 0.5rem 0.8rem;
    }

	.formTopic{
		width:30%;
	}
	.formData{
		width:70%;
	}
	/* MASTER-TEMPLATE */
	
	/* Top-Bar */
	
	.topBarCrowdfunding{
		display: none;
	}
	
	/* Seitenkopf */
	
	#headerCore {
		justify-content: center;
	}
	
	#startLogo{
		width: 80%;
		padding-top: 1px;
		padding-bottom: 1px;
	}
	
	.headerGalleryWrap{
		display: none;
	}
	
	/* Hauptinhaltsbereich */
	
	#content{
		padding-top: 20px;
	}
	
	#main{
		margin-bottom: 13px;
	}
	
	/* SEITENELEMENTE */
	
	#pageHeadline{
		padding-bottom: 3px;
	}
	
	/* Nutzer-Kopf */
	
	#memberHeadAvatar{
		width: 25%;
		height: auto;
		padding: 2.4%;
	}

	#memberHeadData{
		width: 75%;
		height: auto;
		padding: 3%;
	}
	
	.themeGalleryCell{
		flex-basis: 18%;
		height: auto;
		padding: 0;
	}


	/* Bildliste */
	.recordListHeadWithCBText{
		font-size:1.1rem;
	}

	.imgList{
		font-size: 1.1rem;
	}
	
	.td.imgListImgCell{
		width:105px;
		height:105px;
	}

	.imgListImgCell img{
		width: 105px;
		height: 105px;
	}
	
	.td.imgListDataCell{
	}


	.tr.imgListDataRow {
	}

	.td.imgListDataTopic{
		width:80px;
		padding:1px 3px 1px 3px;
	}

	.td.imgListDataContent{
		width:110px;
		padding:1px 3px 1px 3px;
	}
	
	.td.imgListTextTopic{
		padding:1px 3px 1px 3px;
	}

	.td.imgListTextContent{
		padding:1px 0px 1px 3px;
	}


	
	/* Margin */
	
	#adsMargin1, #adsMargin2{
		margin-bottom: 15px;
	}
	
	.magazineBoxHeadline{
	}

	.magazineBoxText{
	}

	.magazineBoxContent{
		padding: 0.5rem;
	}
	
	/* STARTSEITE */
	
	#startTeaser{
		flex-direction: column;
	}
	
	#startTeaserLeft{
		width: 100%;
	}
	#startTeaserRight{
		width: 100%;
	}
}

@media (max-width: 500px) {
	.pfTypoStd {
		font-size: 1.2rem;
	}
}


/* ============================================
   RESPONSIVE: Smartphones (max-width: 480px)
   ============================================ */
@media screen and (max-width: 480px) {
    #hinweisInnen {
        width: 92vw;
        padding: 1.2rem 0.8rem; /* Reduziert! */
        font-size: 2.2rem;
        border-width: 4px;
        max-height: 85vh; /* NEU: Maximale Höhe */
        overflow-y: auto; /* NEU: Scrollbar falls nötig */
    }

    #hinweisTitle {
        font-size: 1.8rem; /* Etwas kleiner */
        margin-bottom: 0.8rem; /* NEU: Abstand nach unten */
    }

    #hinweisInnenBoxW {
        font-size: 1.3rem; /* Kleiner! */
        margin: 0.8rem 0.3rem; /* Reduziert! */
        line-height: 1.25;
    }

    #hinweisInnenBoxQ {
        font-size: 1.5rem; /* Etwas kleiner */
        margin: 0.8rem 0.3rem; /* Reduziert! */
        line-height: 1.25;
    }

    #hinweisInnenBoxQ p {
        margin: 0.4rem 0; /* Reduziert! */
    }

    #hinweisInnenBoxA {
        font-size: 1.3rem;
        margin: 0.8rem 0.3rem; /* Reduziert! */
    }

    .cookie-warning {
        padding: 0.6rem 0.9rem; /* Reduziert! */
        font-size: 1.15rem; /* Etwas kleiner */
        line-height: 1.25; /* Kompakter */
    }
}

@media (max-width: 450px) {
	.formTopic{
		width:39%;
	}
	.formData{
		width:61%;
	}
	select{
		font-size: 1.2rem;
	}
	.formData input{
		width:100%;
	}

	.fileUpload{
		font-size:1.1rem;
	}

	
	/* MASTER-TEMPLATE */
	
	/* Top-Bar */
	#topBarCore{
		justify-content:flex-start;
	}
	
	
	/* Hauptinhaltsbereich */
	
	#content{
		padding-top: 20px;
	}
	
	.themeGalleryCelll{
		flex-basis: 20%;
		height: auto;
		padding: 0;
	}
	
	/* Fuß */

	/* Footer */

	#footerLogo img{
		width:60%;
	}

	#footerBar{
		display: flex;
		align-items: center;
		background-color: #222222;
		width:100%;
		justify-content: center;

	}

	#footerBarCore{
		display: block;
		width: 90%;
	}

	#footerBarCopyright{
		width: 100%;
		text-align: center;
		padding: 10px;
	}

	.footerBarItem{
		font-weight: bold;
		margin: 0;
		width: 100%;
		text-align: center;
		padding: 5px;
	}
	
	/* SEITENELEMENTE */
	
	/* Nutzer-Kopf */
	
	#memberHeadAvatar{
		width: 35%;
		height: auto;
		padding: 2.4%;
	}

	#memberHeadData{
		width: 65%;
		height: auto;
		padding: 3%;
	}
	
	#memberHeadName {
	}

	#memberHeadInfo {
		margin-top: 0.5rem;
	}
	
	/* Alben */
	
	.galleryCell, .supporterGalleryCell{
		flex-basis: 25%;
	}
	
	/* Kommentare */

	/* Kommentar-Schreiber in Kommentarliste */

	.td.commentCreatorDisplay{
		display:none;
	}

	.commentAvatar{
		display:none;
	}

	/* ggf. Bild in Kommentarliste */

	.td.commentImgDisplay{
		width:25%;
	}

	
	/* Bildliste */

	.imgList{
		font-size: 1rem;
	}
	
	.td.imgListImgCell{
		width:70px;
		height:70px;
	}

	.imgListImgCell img{
		width: 70px;
		height: 70px;
	}
	
	.td.imgListDataCell{

	}

	.tr.imgListDataRow {
	}

	.td.imgListDataTopic{
		width:70px;
		padding:1px 2px 1px 2px;
	}

	.td.imgListDataContent{
		width:90px;
		padding:1px 2px 1px 2px;
	}
	
	.td.imgListTextTopic{
		padding:1px 2px 1px 2px;
	}

	.td.imgListTextContent{
		padding:1px 0px 1px 2px;
	}

	/* Postliste */

	.td.postDateListRec {
		display:none;
	}

	
	/* Margin */
	
	#adsMargin1, #adsMargin2{
		margin-bottom: 15px;
	}
	
	#magazineBox{
		padding-bottom: 6px;
	}

	.magazineBoxHeadline{
	}
	.magazineBoxText{
	}

	.magazineBoxContent{
		padding: 0.5rem;
		margin-bottom: 0.9rem;
	}
	
	/* Seitensuche */

	#pageSearch{
		width: 100%;
	}
	
	/* STARTSEITE */

	/* StartTeaser */

	.teaserBox1TextIntro{
		font-size:1.3rem;
	}

	.teaserBox1TextHeadline{
		font-size:1.6rem;
	}

	.teaserBox1TextSubHead{
		font-size:1.4rem;
	}

	.teaserBox2TextIntro{
		font-size:1.4rem;
	}

	.teaserBox2TextHeadline{
		font-size:1.3rem;
	}


	/* Bilder in Post-Listen verbergern */
	div.td.postImgListRec{
		display:none;
	}




}