/*
 Theme Name:   2023 child
 Description:  Child Theme
 Author:       
 Template:     twentytwentythree
 Version:      1.0
 Text Domain:  2023-child2
*/

@viewport {
	width: device-width;	
	zoom: 1;	
	}


	:root {
		--base-font-size: 16px;
	}


	@font-face {
		font-family: 'ssp_r';
		src: url('fonts/SourceSansPro-Regular.ttf');
		font-weight: normal;
		font-style: normal;
		font-display: swap;
	
	}
	
	
	
	@font-face {
		font-family: 'ssp_b';
		src: url('fonts/SourceSansPro-Bold.ttf');
		font-weight: normal;
		font-style: normal;
		font-display: swap;
	
	}
	
	
	@font-face {
		font-family: 'ssp_l';
		src: url('fonts/SourceSansPro-Light.ttf');
		font-weight: normal;
		font-style: normal;
		font-display: swap;
	
	}


	@font-face {
		font-family: 'os';
		src: url('fonts/OpenSans-VariableFont_wdth,wght.ttf');
		font-weight: normal;
		font-style: normal;
		font-display: swap;
	
	}


	@media (prefers-color-scheme: dark) {
		:root {
			--bg-color: #000000;
			--text-color: #ffffff;
		}
	}



	
	:root {
		
		--bg-color: #ffffff;
		--text-color:#242424;
		--base-font-size: 18px;
		

   }
	
	html {
		max-width: 100%;
		overflow-x: hidden;
		scroll-behavior: smooth;
	}


	

body {				
font-family: 'ssp_r';	
background: var(--bg-color);;
color:var(--text-color);
font-size: var(--base-font-size);
padding: 0 !important;
max-width:100vw;
overflow-x: hidden;
}


body > .wp-site-blocks {
	padding:0;
}

/* Logo */

.logo p:first-child {
	font-size:calc(var(--base-font-size) + 1em);
}

.logo p:last-child {
	margin-top: -2em;
}




.informations li p {
  padding: 1em;

}
.wp-block-post-excerpt__excerpt {
  margin-bottom: 0;

  margin-top: 0;

}
.wp-block-post-excerpt__excerpt {
  margin-bottom: 0;

  margin-top: 0;

}
:root :where(.wp-block-post-excerpt) {font-size:calc(var(--base-font-size)) !important;}


/* Navigation */

nav a {
	font-size: calc(var(--base-font-size) + 0.3em);
	padding-right: 1em;
	text-decoration: none !important;
}

nav ul li {
  position: relative;
  display: inline-block;
  color: black;
  z-index: 1;
  text-align: center;
  text-decoration: none;
}




#modal-1-content > ul > li {position: relative; padding: 0.5em 1em; text-decoration: none !important;}
#modal-1-content > ul > li.current-menu-item a {font-weight: bold;}

#modal-1-content ul li a {
  display: inline-block; /* wichtig für Padding + Border-Radius */
  padding: 8px 16px; /* etwas Abstand innen */
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  color: black; /* oder deine gewünschte Farbe */
}

#modal-1-content ul li:hover {
  background-color: #4ED9A7;
  border-radius: 50px;
  text-decoration: none;
}

header > div > div > div > a {
  display: inline-block; /* wichtig für Padding + Border-Radius */
  padding: 0.5em 1em; /* etwas Abstand innen */
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  color: black; /* oder deine gewünschte Farbe */
}

header > div > div > div > a:hover {
  background-color: #4ED9A7;
  border-radius: 50px;
  text-decoration: none;
  padding: 0.5em 1em;}




/* Search */

.wp-block-search__button {
	background-color: #4ED9A7;
	border-radius: 50px;
}

.wp-block-search__button:hover {
	background-color: #FFEB3B;
	color: black;
}

/* Startseite */

.hero {
	background: url('https://grundschule.weinauschule.de/wp-content/uploads/2025/06/weinau_fl-grundschule-01.svg');
	background-size: 100% 100%;
	background-position: cover;
	overflow: hidden;

}

.hero h1 {
	font-weight: bold;
	font-size: calc(var(--base-font-size) + 2em);
}


h1 {font-size: calc(var(--base-font-size) + 1em);}
h2 {font-size: calc(var(--base-font-size) + 0.8em); position: relative;}
h3 {font-size: calc(var(--base-font-size) + 0.5em); position: relative;}



 h2.has-text-align-center::after {
	position: absolute;
	content: '';
	height: 5px;
	width: 70px;
	background-color: #4ED9A7;
	bottom: -0.5em;
	left: 50%;
	
  transform: translateX(-50%);
}

 h2::after {
	position: absolute;
	content: '';
	height: 5px;
	width: 70px;
	background-color: #4ED9A7;
	bottom: -0.5em;
	left: 0;
	
}


 h3.has-text-align-center::after {
	position: absolute;
	content: '';
	height: 5px;
	width: 70px;
	background-color: #4ED9A7;
	bottom: -0.5em;
	left: 50%;
	
  transform: translateX(-50%);
}

 h3::after {
	position: absolute;
	content: '';
	height: 5px;
	width: 70px;
	background-color: #4ED9A7;
	bottom: -0.5em;
	left: 0;
	
}


.hero .wp-block-image {position: relative; display: block; z-index:1;}
.hero .wp-block-image::after {
  content: '';
  position: absolute;
  left: -10%;
  top: -40%;
  width: 110%;
  height: 160%;
  transform: rotate(-12deg);
  z-index: -1;
  background: url('https://grundschule.weinauschule.de/wp-content/uploads/2025/06/fl-04.svg');
  background-size: 100% 100%;
  opacity:0.3;
}



.bobbel_left {position: relative; display: block; z-index:1;}
.bobbel_left::after {
  content: '';
  position: absolute;
  left: -30%;
  top: 20%;
  width: 90%;
  height: 90%;
  transform: rotate(-12deg);
  z-index: -1;
  background: url('https://grundschule.weinauschule.de/wp-content/uploads/2025/06/bobbel_left.png');
  background-size: 100% 100%;
  
}



.bobbel_right {position: relative; display: block; z-index:1;}
.bobbel_right::after {
  content: '';
  position: absolute;
  right: -30%;
  top: 10%;
  width: 90%;
  height: 90%;
  transform: rotate(-12deg);
  z-index: -1;
  background: url('https://grundschule.weinauschule.de/wp-content/uploads/2025/06/bobbel_right.png');
  background-size: 100% 100%;
  
}



.stifte {position: relative; display: block; z-index:1;}
.stifte::after {
  content: '';
  position: absolute;
  left: -10%;
  top: -40%;
  width: 110%;
  height: 160%;
  transform: rotate(-12deg);
  z-index: -1;
  background: url('https://grundschule.weinauschule.de/wp-content/uploads/2025/06/fl-04blue.svg');
  background-size: 100% 100%;
   
}



.icons img {
	border: solid 2px #4ED9A7;
	border-radius: 50%;
	padding: 0.5em;
	filter: brightness(0.6) hue-rotate(49deg);
}



.icons a {
	font-weight: bold;
	text-decoration: none;
	color: #000;
}




.termine .blue-box {
	background-color: #e2f7f7;
	border-radius: 50px;
	width: 800px;
}


.termine table, 
.termine table td, 
.termine table th {
  border: none !important; 
  border-collapse: collapse; 
}

.termine table td:first-child, 
.termine table th:first-child {
  width: 40%;
  font-weight: bold;
}

.termine table td:nth-child(2), 
.termine table th:nth-child(2) {
  width: 60%;
}


.wp-block-button__link  {
	color: white;
	background-color: #4ED9A7;
	border-radius: 50px;
	padding: 1em 3em;
}

.wp-block-button__link:hover  {
	color: black;
	background-color: #FFEB3B;
	transition: all 0.5s ease;
	border-radius: 50px;
}


.bommeln{
    background: url('https://grundschule.weinauschule.de/wp-content/uploads/2025/07/bommel.svg'), url('https://grundschule.weinauschule.de/wp-content/uploads/2025/07/bommel.svg'), url('https://grundschule.weinauschule.de/wp-content/uploads/2025/07/bommel.svg'), url('https://grundschule.weinauschule.de/wp-content/uploads/2025/07/bommel.svg'), url('https://grundschule.weinauschule.de/wp-content/uploads/2025/07/bommel.svg'), url('https://grundschule.weinauschule.de/wp-content/uploads/2025/07/bommel.svg'), url('https://grundschule.weinauschule.de/wp-content/uploads/2025/07/bommel.svg'), url('https://grundschule.weinauschule.de/wp-content/uploads/2025/07/bommel.svg'), url('https://grundschule.weinauschule.de/wp-content/uploads/2025/07/bommel.svg'), url('https://grundschule.weinauschule.de/wp-content/uploads/2025/07/bommel.svg'); 
    background-size: 4vw 4vw, 8vw 8vw, 9vw 9vw, 6vw 6vw, 4vw 4vw, 4vw 4vw, 8vw 8vw, 9vw 9vw, 6vw 6vw, 4vw 4vw;
    background-repeat: no-repeat;
    background-position: -1% 2%, 102% 3%, -3% 40%, 6% 48%, 0 52%,78% 44%,103% 51%,-3% 80%,8% 92%,80% 92%;
  }


.light-gradient {
	background: url('https://grundschule.weinauschule.de/wp-content/uploads/2025/06/weinau_fl-grundschule-02.svg');
	background-size: 100% 100%;
	background-position: cover;

}




.underline-left h3{
	position: relative;
}

.underline-left h3::after {
	position: absolute;
	content: '';
	height: 5px;
	width: 70px;
	background-color: #4ED9A7;
	bottom: 0;
	left: 0;
	top: 1.5em;
}


/* Unterseiten */

.hero-small {
	background: url('https://grundschule.weinauschule.de/wp-content/uploads/2025/06/weinau_fl-grundschule-01.svg');
	background-size: 100% 100%;
	background-position: cover;}

.hero-small h1{
	position: relative;
}

.hero-small h1::after {
	position: absolute;
	content: '';
	height: 5px;
	width: 70px;
	background-color: #4ED9A7;
	bottom: -0.5em;
	left: 0;
	
}

.hero-small p{
	font-size: calc(var(--base-font-size) + 0.2em);
}


/* GTA */

.link a{
	text-decoration: none;
	color: #41b48a;
	font-weight: bold;
}

.link::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	margin-right:20px;
	z-index:0;
	width:100%;
	text-align: center;
	content: '\f0c1';
	color: #41b48a;
	font-size: calc(var(--base-font-size) + 1rem);
  }


.gta table, 
.gta table td, 
.gta table th {
  border: none !important; 
  border-collapse: collapse; 
}

.gta thead tr {
  border-bottom: 3px solid #4ED9A7; /* Farbe der Linie unter der Kopfzeile */
}

.gta table td:first-child, 
.gta table th:first-child {
  font-weight: bold;
}

.gta .blue-box {
	
	border-radius: 50px;
	
}

.gta .yellow-box {
	
	border-radius: 50px;
	
}

.gta .green-box {
	
	border-radius: 50px;
	
}

.gta h2::after{
	display:none;
}

 .tel::before {content:'\f095'; font-family: 'Font Awesome 6 Free'; font-weight: 900;  -webkit-font-smoothing: antialiased; margin-right:1em; color: #4ED9A7;}
  .mail::before {content:'\f0e0'; font-family: 'Font Awesome 6 Free'; font-weight: 900;  -webkit-font-smoothing: antialiased; margin-right:1em; color: #4ED9A7;}
  .adress::before {content:'\f015'; font-family: 'Font Awesome 6 Free'; font-weight: 900;  -webkit-font-smoothing: antialiased; margin-right:1em; color: #4ED9A7;}
  .achtung::before {content:'\f06a'; font-family: 'Font Awesome 6 Free'; font-weight: 900;  -webkit-font-smoothing: antialiased; margin-right:1em; color:#c00;}
   .person::before {content:'\f007'; font-family: 'Font Awesome 6 Free'; font-weight: 900;  -webkit-font-smoothing: antialiased; margin-right:1em; color: #4ED9A7;}





  .checklist li {
	list-style: none;
	display: block;
	position: relative;

}

.checklist  li::before {
	font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f00c";
	color: #4ED9A7;
	position: absolute;
	left: -2em;
}


.schule .blue-box {
	background-color: #e2f7f7;
	border-radius: 50px;
	padding: 2em;
}

.schule .yellow-box {
	background-color: #f3f7d7;
	border-radius: 50px;
	padding: 2em;
}

.schule .green-box {
	background-color: #e3f5e3;
	border-radius: 50px;
	padding: 2em;
}

.schule .orange-box {
	background-color: #f5eae3;
	border-radius: 50px;
	padding: 2em;
}


.pdf a{
	text-decoration: none;
	color: #4ED9A7;
	font-weight: bold;
}

.pdf::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	margin-right:20px;
	z-index:0;
	width:100%;
	text-align: center;
	content: '\f1c1';
	color: #4ED9A7;
	font-size: calc(var(--base-font-size) + 1rem);
  }



/* Bunte Boxen */

.blue-box {
	background-color: #e2f7f7;
	border-radius: 50px;
	padding: 2em;
}

.yellow-box {
	background-color: #f3f7d7;
	border-radius: 50px;
	padding: 2em;
}

.green-box {
	background-color: #e3f5e3;
	border-radius: 50px;
	padding: 2em;
}

.orange-box {
	background-color: #f5eae3;
	border-radius: 50px;
	padding: 2em;
}

/* Abfrage Loop Informationen */

.informations h3 { 
	font-size: calc(var(--base-font-size) + 0.2rem);
	color: #000;
	font-weight: bold;
}

.informations h3::after { 
	display: none;
}

.informations li:first-child {
	background-color: rgb(248, 231, 234);
	border-radius: 20px;
}

.informations li:nth-child(2) {
	background-color: rgb(244, 248, 231);
	border-radius: 20px;
}

.informations li:nth-child(3) {
	background-color: rgb(231, 248, 245);
	border-radius: 20px;
}

.informations li:nth-child(4) {
	background-color: rgb(248, 248, 231);
	border-radius: 20px;
}

.informations li:nth-child(5) {
	background-color: rgb(231, 248, 231);
	border-radius: 20px;
}

.informations li:nth-child(6) {
	background-color: rgb(248, 242, 231);
	border-radius: 20px;
}

.informations li {
	position: relative;
}

.informations li p {
	padding: 1em;
}

.informations .wp-block-post-excerpt__more-link {
	text-decoration: none;
	border: 1px solid #52b492;
	color:#52b492;
	padding: 0.5em;
	border-radius: 20px;
	bottom: 1em;
	right: 1em; 
	position: absolute;
}


.informations h3 a {color: #52b492;}

.informations .wp-block-post-excerpt__more-link:hover {
	text-decoration: none;
	border: 1px solid #52b492;
	color:#52b492;
	padding: 0.5em;
	border-radius: 20px;
	background-color: #fcec62;
}

.post-title{
	position: relative;
}

.post-title::after {
	position: absolute;
	content: '';
	height: 5px;
	width: 70px;
	background-color: #4ED9A7;
	bottom: 0;
	left: 0;
	top: 1.5em;
}


/* Archiv */

.archiv-wrapper a:hover {text-decoration: none;}

.archiv-wrapper .wp-block-post-excerpt__more-text a {
	text-decoration: none;
	border: 1px solid #52b492;
	color:#52b492;
	padding: 0.5em;
	border-radius: 20px;
}

.archiv-wrapper .wp-block-post-excerpt__more-text a:hover {
	text-decoration: none;
	border: 1px solid #52b492;
	color:#52b492;
	padding: 0.5em;
	border-radius: 20px;
	background-color: #fcec62;
}


#wp-block-archives-3 {
  background-color: #f0f0f0;   /* Hintergrundfarbe */
  color: #333333;              /* Textfarbe */
  font-size: calc(var(--base-font-size) + 0.2em);             /* Schriftgröße */
  padding: 8px 12px;           /* Innenabstand */
  border-radius: 5px;          /* Abgerundete Ecken */
  border: 2px solid #4ED9A7;      /* Rahmen */
}

#archive-dropdown option {
  background-color: #ffffff;   /* Farbe der Auswahloptionen */
  color: #000000;
}



.page-id-41 .category-informationen {/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ff3019+0,cf0404+100&0.05+0,0.05+100;Red+3D */
background: linear-gradient(135deg,  rgba(255,48,25,0.1) 0%,rgba(207,4,4,0.1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
position: relative;z-index:2;}


.page-id-41 .category-informationen::after {
display: flex;
  flex-direction: column;
  justify-content: flex-end;
  right: 10px;
  bottom: -0px;
  width: fit-content;
  height: fit-content;
  position: absolute;
  color: white;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  z-index: -1;
  content: '\f05a';
  font-size: calc(var(--base-font-size) + 4em);
  text-align: right;
  transform: rotate(10deg);
  align-content: flex-end;
  align-items: flex-start;
}





.sl-termine-kurz {list-style: none; padding:0;}
.sl-termine-kurz li:last-child {border-bottom:0 !important;}

.sl-monatsblock:nth-child(odd) {
	background-color: rgb(244, 248, 231);
}


.sl-monatsblock:nth-child(even) {
	background-color: rgb(231, 248, 245);
}



.aktuellesziele-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.aktuellesziel-card {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  min-height: 300px;
  color: #fff;
  overflow: hidden;
}

.aktuellesziel-overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  position: absolute;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
}

.aktuellesziel-overlay h3 {
  margin: 0 0 10px;
 font-size: calc(var(--base-font-size) + 1.5em);
}

.aktuellesziel-button {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: calc(var(--base-font-size) - 0.2em);
}



    .aktuelles-slider-container {
        position: relative;
        overflow: hidden;
        padding: 0;
    }
    .aktuelles-slider-wrapper {
        display: flex;
        gap: 1rem;
        
        scroll-behavior: smooth;
        padding-inline: 15vw;
        scroll-snap-type: x mandatory;
		overflow-x: hidden;
    }
    .aktuelles-slide {
        flex: 0 0 30vw;
        scroll-snap-align: center;
        background-size: cover;
        background-position: center;
        height: 400px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
		overflow:hidden;
    }
    
.aktuelles-slide a {
  background: rgba(255,255,255,0.85);
  padding: 10px;
  
  display: block;
  
  color: #000;
  position: absolute;
  bottom: 0em;
 width:fit-content;
 margin:auto;
  text-align: center;
  width:100%;
  text-decoration: none;
    }

	

	 .aktuelles-box h3 { margin:5px;  font-size: calc(var(--base-font-size) + 0.3em); }
	 .aktuelles-box h3::after {display: none;}
    .aktuelles-button {
        display: inline-block;
        margin-top: 0.5rem;
        background: #c00;
        color: #fff;
        padding: 0.5rem 1rem;
        border-radius: 0.3rem;
        text-decoration: none;
    }
    .slider-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 500;
        background: rgba(0,0,0,0.4);
        color: white;
        font-size: calc(var(--base-font-size) + 1em);
        padding: 0.2em 0.5em;
        cursor: pointer;
        user-select: none;
    }
    .slider-prev { left: 0.5rem; }
    .slider-next { right: 0.5rem; }
.aktuelles-slider-wrapper::-webkit-scrollbar {
  display: none;
}








/* Footer */

footer {
	border-top: 20px solid;
	border-image: linear-gradient(to right, #FFEB3B, #4ED9A7) 1;
	margin-top:0;
}

footer h3 {
	position: relative;
}

footer h3::after {
	position: absolute;
	content: '';
	height: 5px;
	width: 100px;
	background-color: #4ED9A7;
	bottom: 0;
	left: 0;
	top: 1.3em;
}

.footerlinks a{
	text-decoration: none;
	
	
}
.footertext p {padding-left: 1em !important;}
.footerlinks ul {list-style: none; padding-left:1em;}

.footerlinks a:hover{
	text-decoration: none;
	font-weight: bold;
	color: #4ED9A7;
}

.border-top-gradient {
	border-top: 2px solid;
	border-image: linear-gradient(to right, #FFEB3B, #4ED9A7) 1;
	padding: 0.5em;
	background: linear-gradient(90deg, rgba(255, 235, 59, 0.1) 0%, rgba(78, 217, 167, 0.1) 100%);
}



@media screen AND (max-width: 1200px) { #modal-1-content ul {gap:0;}

#modal-1-content ul li {padding:0;}
header > div > div {justify-content: center !important;}
}

@media screen AND (max-width: 1000px) {
	.termine .blue-box {max-width: 95%; margin: auto;}
	.termine .blue-box li {box-sizing: border-box;}
.informations {grid-template-columns: repeat(2, minmax(0, 1fr));}
footer .wp-block-columns {padding:1em !important;}
.hero {padding:7em 1em !important;}
}


@media screen AND (max-width: 900px) {
	.icons > div {flex-wrap: wrap !important; }
	.icons > div.wp-block-columns > div.wp-block-column {width:33% !important; flex-basis: 30%;}
	footer .footertext div {display: block;}
	footer * {text-align: center;}
	footer h3 {width: fit-content; margin:auto; margin-top:1em !important;}
	.informations .wp-block-post-excerpt__excerpt, .informations .wp-block-post-excerpt__more-text, .informations .wp-block-post-excerpt {display: none;}
	.informations {display: block !important;}
	.informations li {width: 95%; margin: 1em auto; }
	.informations li div {padding:10px !important;}
	.informations li h4 {margin-bottom: 0 !important; font-size: calc(var(--base-font-size) + 0.2em) !important;}

	

}


@media (max-width: 900px) {
  .aktuellesziele-grid {
    grid-template-columns: 1fr;
    justify-items: center; /* zentriert den Inhalt horizontal */
  }

  .aktuellesziele-grid > * {
    max-width: 600px; /* oder was immer dein „Slider“-Inhalt sein soll */
    width: 100%;
  }


   .aktuelles-slide {
    flex: 0 0 100%;
    max-width: 600px;
    margin: 0 auto;
  }
}



@media (max-width: 785px) {
		.icons > div {flex-wrap: wrap !important; }
	.icons > div.wp-block-columns > div.wp-block-column {width:33% !important; flex-basis: 30% !important;}

.bobbel_left::after, .bobbel_right::after {top:0;}

}

/* Mobile-Menü bereits ab 700px */
@media (max-width: 800px) {
  .wp-block-navigation__responsive-container-open,
  .wp-block-navigation__responsive-container {
    display: block !important;
  }

  
  .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }

  .wp-block-navigation__responsive-container.is-menu-open {
    display: block !important;
  }

  /* Optional: Desktop-Menü ausblenden */
  .wp-block-navigation__container {
    flex-direction: column;
  }


	#modal-1::after {
		background-image: url('https://grundschule.weinauschule.de/wp-content/uploads/2025/06/IMG-20220125-WA0005.jpg');
		background-size: cover;
		background-position: center;
		width:100%;
		height:100%;
		content:'';
		z-index:-1;
		position: absolute;
		left:0;
		top:0;
		opacity:1;
		filter:brightness(0.3)
		

	}

	#modal-1-content {width:100%;
		justify-content: center;
		align-items: center;
		align-content: center;
		flex-direction: column;
	}


	.wp-block-navigation__responsive-container-close svg {fill: white;}


#modal-1-content ul {justify-content: center !important; align-items: center;}
	#modal-1-content li {text-align: center; align-items: center !important; justify-content: center;}
	#modal-1-content a {color:white !important; font-size: calc(var(--base-font-size) + 1em);}



}







@media screen AND (max-width: 600px) {

}