/* Startseite: Kacheln, schräge Ecken, Hover. Bis 11/2026 als <style> in header-front.php. */

.home .box {
    z-index: 100;
}

.home .box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-transform: uppercase;
    font-size: 1.4em;
    line-height: 130%;
}

.home .hero .logo {
    text-align: center;
}

.corner-img {
    position: absolute;
    top: -1px;
		right: -1px;
    left: 0;
    width: 102%;
    z-index: -1;
}

#corner-red-bg_01,
#corner-red-bg_02,
#corner-red-bg_03 {
    fill: rgba(230, 10, 15, 0.6);
}

#corner-white-bg_01,
#corner-white-bg_02,
#corner-white-bg_03 {
    fill: rgba(260, 260, 260, 0.6);
}

.box.white,
.box.white h3,
.box.white p {
    color: #fff;
}

.box.white a:link,
.box.white a:visited {
    color: #fff;
}

.box.white a:hover,.box.white a:focus,.box.white a:active {
    color: #f4f4f4;
}

 
 /* ALLE Schrägen Boxen Ecken und Schrift Hover verhalten */
 /* Schwebe-Effekt (graue Bilder, blasse Ecken, Farbe erst beim Überfahren) nur bei echter Maus. Bis 11/2026 hieß es
    nur (hover: hover) / (hover: none): Tablets mit Tastatur oder Trackpad und manche Android-Tablets melden „hover“,
    zeigten dann graue Bilder ohne rote Ecken, bis man tippte (Rückmeldung Florina Leinß). Alles ohne feinen Zeiger
    bekommt jetzt die Touch-Ansicht. „not all and …“ ist das genaue Gegenteil der Maus-Abfrage, es bleibt keine Lücke. */

	#abovefold .box-nested  { text-align:center; }
	#abovefold .box img.box-img { /* width:105%;height:105%;margin:-3px; */ }
	
	@media (hover: hover) and (pointer: fine) {	
		
			#abovefold .box img.box-img {
			-webkit-filter:  grayscale(97%);
			  filter:  grayscale(97%); 
			  opacity: .8;
			}

		#abovefold .box:hover img.box-img,#abovefold .box:focus img.box-img {
			-webkit-filter: grayscale(10%); 
			filter: grayscale(10%);
			opacity: 1;
			transition: all 300ms linear;		
		}

		#abovefold .box:hover .box-nested,#abovefold .box:focus .box-nested {
			color: #fff;
			transition: color 300ms linear;
		}
		
		#abovefold .box [id*='corner-white-bg_']{
			fill: rgba(255, 255, 255, 0.7);
		} 
		#abovefold .box:hover [id*='corner-white-bg_'],
		#abovefold .box:focus [id*='corner-white-bg_'],
		#abovefold .box:active [id*='corner-white-bg_']{
			fill: rgba(231, 11, 10, 0.8);
		} 
	 
		#abovefold a:hover {text-decoration: none !important}
	
	}
	
	@media not all and (hover: hover) and (pointer: fine) {	
		
		#abovefold .box img.box-img {
			-webkit-filter: grayscale(10%);
			filter: grayscale(10%); 
			opacity: 1;
			}

		#abovefold .box .box-nested {
			color: #fff;
		}
		
		#abovefold .box [id*='corner-white-bg_']{
			fill: rgba(231, 11, 10, 0.8);
		} 	 
		#abovefold a {text-decoration: none !important}
		
		
		#abovefold .box.news .box-nested { color: #000 }
	
	}
	
	

	#abovefold h3 {font-weight: 400}
	 



	
	/* Box News */

.box.news #corner-white-bg_01 {
  fill: rgba(255, 255, 255, 1);
}
	
	.box.news {background: rgba(231, 11, 10, 1) }


	/* Box AKKU */
	.box.akku h3 { visibility: hidden}
	
/* Box Member */

.box.member {
    background-color: #efefef;
}

.box.member .box-nested h3 {
    padding-bottom: 2.25em;
}

.box.member i.fa {
    font-size: 3em;
    text-align: center;
    line-height: 1.9em;
    padding: 0.42em 0.4em 0.42em 0.4em;
    border-radius: 1em;
}


	@media (hover: hover) and (pointer: fine) {	
	
		.box.member i.fa {
			background: #fff;
			color: rgb(231, 11, 10);
		}

		.box.member:hover i.fa {
			background:rgb(231, 11, 10);
			color: #fff;
			transition: background-color 300ms linear;
		}

		#abovefold .box.member:hover .box-nested,
		#abovefold .box.member:focus .box-nested,
		#abovefold .box.member:active .box-nested   {
			color: rgb(231, 11, 10);
		}
	
	}
	
	@media not all and (hover: hover) and (pointer: fine) {	
			.box.member i.fa {
			background:rgb(231, 11, 10);
			color: #fff;
			transition: background-color 300ms linear;
		}

		#abovefold .box.member .box-nested {
			color: #000;
		}
	
	}
	
/* Box Feature */

#abovefold .box.feature .box-nested {
		text-align: left;
}



/* Box Kontakt */
	
	
.box.contact .box-nested h3,.box.contact .box-nested {
    padding-bottom: 1em;
}

#abovefold .box.contact {
    background-color: #fff;
	}
	
	.box.contact svg {
    width:42%;
		height: auto;
		display:block;
		margin: 0 auto;
}
	
	@media (hover: hover) and (pointer: fine) {
		#abovefold .box.akku {
			background-image:    url(../Images/akku.jpg);
			background-size:     cover;                      
			background-repeat:   no-repeat;
			background-position: center center; 
		}
		#abovefold .box.akku img.box-img {
			opacity:1;		
		}
		#abovefold .box.akku:hover img.box-img,#abovefold .box.akku:focus img.box-img {
			opacity:0;			
		}
		
		#abovefold .box.contact:hover .box-nested,#abovefold .box.contact:focus .box-nested{
			color: rgb(231, 11, 10);
		}		
		
		.box.contact .contact-icon {
			fill: rgb(50, 50, 50);
		}
		
		.box.contact:hover .contact-icon,.box.contact:focus .contact-icon,.box.contact:active .contact-icon {
			fill:rgb(231, 11, 10);
			transition: all 300ms linear;
		}
	
	}
	
	@media not all and (hover: hover) and (pointer: fine) {	

		#abovefold .box.contact .box-nested { color: #000 }
		.box.contact .contact-icon { fill:rgb(231, 11, 10); }
		
	}

/* „Neue Künstlermitglieder“ ohne Ultimate Member (seit 11/2026 lädt die Startseite UM nicht mehr):
   die Regeln von UM, die in diesem Bereich griffen – per Vergleich der berechneten Stile ermittelt. */
#newmembersection .um { width: 100%; text-align: left; box-sizing: border-box; color: #666; font-size: 15px; margin: 0 auto 30px !important; -webkit-font-smoothing: antialiased; }
#newmembersection .um ::before, #newmembersection .um ::after { box-sizing: content-box; }
#newmembersection .um img { box-shadow: none !important; }
#newmembersection .um .fa { font-family: "Font Awesome 6 Free"; font-weight: 900; -webkit-font-smoothing: antialiased; display: inline-block; font-style: normal; font-variant: normal; line-height: 1; text-rendering: auto; }
#newmembersection .um .fa-user::before { content: "\f007"; }
#newmembersection .um .fa-tags::before { content: "\f02c"; }

/* Handy: zwei Kacheln nebeneinander (Wunsch Simon 11/2026; bis dahin je Kachel die ganze Breite, acht Bildschirmhöhen
   bis „Aktuelles“). Das Raster ist flexboxgrid, daher flex-basis/max-width. Ab 768 px unverändert (col-sm-6). */
@media (max-width: 767px) {
	#abovefold .row > .col-xs-12 { flex-basis: 50%; max-width: 50%; width: 50%; }
	#abovefold .box h3 { font-size: 15px; line-height: 1.3; }
	#abovefold .box-nested { padding: 0 .6rem; }
}
/* Sehr schmale Handys: Titel des hervorgehobenen Beitrags und Verzeichnis-Symbol passen sonst nicht in die Kachel. */
@media (max-width: 374px) {
	#abovefold .box h3 { font-size: 12.5px; }
	#abovefold .box.member .box-nested .fa { transform: scale(.72); transform-origin: 50% 0; }
}

/* Beitragskachel: Bei vier Kacheln je Reihe und knapper Breite (1025–1279 px, z. B. iPad quer, kleine Laptops) ist eine
   Kachel nur 253–310 px breit; lange Titel wie „Niko Grindler – Erich Heckel-Preis 2026 /// …“ liefen unten hinaus und
   standen dort weiß auf hellem Bild (gemessen 11/2026: bis 89 px Überlauf). Schrift wächst hier mit der Breite. */
@media (min-width: 1025px) and (max-width: 1279px) {
	#abovefold .box.feature h3 { font-size: min(27.44px, 2.1vw); }
}
