h1 {font-size: min(max(2rem, 6vw), 3rem); /* 6% der Bildschirmbreite, max. 5rem */}
h2 {font-size: min(max(1.5rem, 5vw), 2.5rem); /* 5% der Bildschirmbreite, max. 4.5rem */}
h3 {font-size: min(max(1.4rem, 4vw), 2.3rem); /* 4% der Bildschirmbreite, max. 3.5rem */}
h4 {font-size: min(max(1.2rem, 3.5vw), 2.2rem); /* 3.5% der Bildschirmbreite, max. 3rem */}
h5 {font-size: min(max(1.0rem, 3vw), 1.5rem); /* 3% der Bildschirmbreite, max. 2.5rem */}
h6 {font-size: min(max(1.0rem, 2.5vw), 2rem); /* 2.5% der Bildschirmbreite, max. 2rem */}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
	
}
.kunterbunt {;width: 100%;text-align: center; }
.letter {font-weight: bolder;font-size: 3em;padding: 0.3em;}
.brand-logo img {border-radius: 15px;}
.NavBut {padding-top: 1em !important;margin-right: 14rem !important;}
.NavBut i {font-size: 2.5em !important;}
@media (max-width: 1024px) {
  .NavBut {
    margin-right: 6rem !important;
  }
}
/* Anpassung für Handys (maximal 600px Breite) */
@media (max-width: 600px) {
  .NavBut {
	  padding-top: 2em !important;
    margin-right: 0.5rem !important;
	  
  }
	.letter {font-weight: bolder;font-size: 1.7em;padding: 0.2em;margin-top: 0.8em; }
}
.site-header {
	background: #fff;
	width: 100%;
}

/* =========================
   ZEILE 1
========================= */
.header-top {
	background: #f5f5f5;
	border-bottom: 1px solid #e9e9e9;
}

.header-top-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 24px;
	min-height: 46px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.header-contact {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.contact-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 10px;
	background: #ffffff;
	color: #6d6d6d;
	font-size: 0.95rem;
	line-height: 1;
	text-decoration: none;
	border: 1px solid #e3e3e3;
	transition: 0.2s ease;
}

.contact-link:hover {
	background: #6dc6e8;
	color: #FFF;
}

.contact-link .material-icons {
	font-size: 1rem;
	line-height: 1;
}

/* =========================
   BUNTER DIVIDER
========================= */
.header-divider {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	height: 6px;
	width: 100%;
}

.header-divider span {
	display: block;
	height: 100%;
}

.header-divider .c1  { background: #f48a8a; }
.header-divider .c2  { background: #f2b35e; }
.header-divider .c3  { background: #6dc6e8; }
.header-divider .c4  { background: #c58cf2; }
.header-divider .c5  { background: #9dbb4c; }
.header-divider .c6  { background: #2fc4c7; }
.header-divider .c7  { background: #f58cc1; }
.header-divider .c8  { background: #9db8ea; }
.header-divider .c9  { background: #f28f83; }
.header-divider .c10 { background: #e5b45e; }
.header-divider .c11 { background: #7cc6df; }
.header-divider .c12 { background: #c28cff; }

/* =========================
   ZEILE 2
========================= */
.header-main {
	background: #fff;
}

.header-main-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 22px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

/* KUNTERBUNT links */
.header-brand {
	flex: 0 1 auto;
	min-width: 0;
}

.header-brand .kunterbunt {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	white-space: nowrap;
}

.header-brand .kunterbunt .letter {
	display: inline-block;
	font-size: 2.2rem;
	font-weight: 700;
	line-height: 1;
}

/* Menü rechts */
.header-nav {
	flex: 0 0 auto;
}

.header-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 18px;
}

.header-nav ul li {margin: 0;padding: 0;}
.header-nav ul li a {display: inline-flex;align-items: center;padding: 3px 4px;
	text-decoration: none;
	color: #35afd9;
	font-size: 1.1rem;
	font-weight: 600;
	transition: 0.2s ease;
}

.header-nav ul li a:hover {color: #FFF;}

/* Burger */
.header-burger {
	display: flex;
	align-items: center;
	margin-left: auto;
}

.header-burger .sidenav-trigger {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	margin: 0;
}

.header-burger .material-icons {
	font-size: 2rem;
}

/* =========================
   RESPONSIVE
========================= */
@media only screen and (max-width: 992px) {
	.header-top-inner {
		padding: 0 16px;
		min-height: 42px;
	}

	.header-main-inner {
		padding: 18px 16px;
	}

	.header-brand .kunterbunt .letter {
		font-size: 1.6rem;
	}
}

@media only screen and (max-width: 600px) {
	.header-contact {
		gap: 8px;
	}

	.contact-link {
		font-size: 0.82rem;
		padding: 5px 9px;
	}

	.header-main-inner {
		gap: 12px;
	}

	.header-brand .kunterbunt .letter {
		font-size: 1.2rem;
	}
}
	.header-nav ul {margin-right: 2em !important;}
/*
	.header-nav a:link, .header-nav a:visited {color: #181DFF;background-color: #99FF91; border-radius: 0px 10px;display: block;}
	.header-nav a:hover {background-color: #181DFF; color: #FFF; transition: 0.1s ease-in;}
*/
/*
.header-divider .c1  { background: #f48a8a; }
.header-divider .c2  { background: #f2b35e; }
.header-divider .c3  { background: #6dc6e8; }
.header-divider .c4  { background: #c58cf2; }
.header-divider .c5  { background: #9dbb4c; }
.header-divider .c6  { background: #2fc4c7; }
.header-divider .c7  { background: #f58cc1; }
.header-divider .c8  { background: #9db8ea; }
.header-divider .c9  { background: #f28f83; }
.header-divider .c10 { background: #e5b45e; }
.header-divider .c11 { background: #7cc6df; }
.header-divider .c12 { background: #c28cff; }
	*/
	
.header-nav a:link, .header-nav a:visited {border-radius: 12px;}
.header-nav li:nth-child(1) a {background-color: #f48a8a;}
.header-nav li:nth-child(2) a {background-color: #f2b35e;}
.header-nav li:nth-child(3) a {background-color: #6dc6e8;}
.header-nav li:nth-child(4) a {background-color: #c58cf2;}
.header-nav li:nth-child(5) a {background-color: #9dbb4c;}

	.header-nav li {padding: 0.4em 0.5em;line-height:3em;;}

.header-nav li a:hover {
	background-color: #799BFC !important;
	color: #555 !important;
}
.navbar-fixed {
  position: fixed; /* Fixiere die Navbar */
  top: 0; /* Stelle sicher, dass sie am oberen Rand bleibt */
  left: 0;
  right: 0;
  z-index: 10; /* Stelle sicher, dass die Navbar über dem Inhalt liegt */
	background-color: #FFF;
	height: 120px;
}

.footerUL-zero {list-style-type:circle!important; margin: 0.3em !important;}
.footerUL-zero li { padding: 0.2em 0;}


.bg1, .bg2, .bg3, .bg4 {
  position: relative;
}

.bg1::before, .bg2::before, .bg3::before, .bg4::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;  /* Achte darauf, dass dies auf allen Geräten funktioniert */
  opacity: 1.3;
  z-index: -1;
}

.bg1::before {
  background-image: url('../img/bg/children-4283401_960_720.jpg');
}

.bg2::before {
  background-image: url('../img/bg/children-4526384_960_720.jpg');
}

.bg3::before {
  background-image: url('../img/bg/paint-328676_960_720.jpg');
}

.bg4::before {
  background-image: url('../img/bg/playmobil-5999114_960_720.jpg');
}

.glow-black {
	text-shadow:
    1px 0px 10px rgba(0,0,0,0.6),
    -1px 0 10px rgba(0,0,0,0.6),
    0 1px 10px rgba(0,0,0,0.6),
    0 -1px 10px rgba(0,0,0,0.6),
    1px 1px 10px rgba(0,0,0,0.6),
    -1px -1px 10px rgba(0,0,0,0.6),
    1px -1px 10px rgba(0,0,0,0.6),
    -1px 1px 10px rgba(0,0,0,0.6);
}
.container {margin-top: 4em;}
.container_bg {
  position: relative;
  z-index: 1; /* Stellt sicher, dass er über dem Hintergrund liegt */
	 background-color: rgba(255, 255, 255, 0.9);
	padding: 20px;
	margin-top: 20px;
	border-radius: 20px;
	padding-bottom: 3em;
}

.carousel-item {
    position: relative;
}

.carousel-item .carousel-text {
    position: absolute;
    top: 20px; 
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background: rgba(0, 0, 0, 0.3); 
    padding: 0.5em;
    border-radius: 5px;
    width: 80%;
}
	.carousel-text h2 {margin: 0; padding: 0;}

.footerUl {
    margin: 0;
    padding: 0;
}

.footerUl li {
    display: inline-block;
    text-align: right;
    margin: 0;
    padding: 0;
}

.footerUl li a:link, .footerUl li a:visited {
    padding: 0 0.3em;
    margin: 0.4em;
    color: #000;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;
}

.footerUl li a:hover {
    background-color: #CCC; /* Hintergrundfarbe bei Hover */
}
.page-footer {padding-top: 0px;margin-top: 0px;}
header {break-after: auto;height: 120px;}



.box_team {
	cursor: pointer;
    /*width: 100%;*/
	min-height: 450px;
    position: relative;
    
    background-size: cover;
    background-position: center;
	/*border-radius: 10px;*/
	margin: 1.0em !important;
}

.box_hover {
	min-height: 450px;
	/*border-radius: 10px;*/
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5); /* Schwarz-transparentes Overlay */
    color: white;
    text-align: center;
    opacity: 1;
    transition: opacity 1s;
	margin:0.1em;
}

.box_hover p {
    margin: 0;
}

.button_hover {font-variant: small-caps; 
	background-color: rgba(0,0,0,0.7);
	border: 2px solid #FFF; 
	border-radius: 10px;
	color: #FFF; 
	padding: 0.5em 1em; 
	margin: 0;
    opacity: 0;
    position: absolute;
    bottom: 20%; /* Um den Button vertikal zentriert zu positionieren */
    left: 50%; /* Um den Button horizontal zentriert zu positionieren */
    transform: translate(-50%, 50%); /* Um den Button perfekt mittig zu positionieren */
    transition: opacity 1s;
}

.box_team:hover .box_hover {opacity: 0;}
.box_team:hover .button_hover {opacity: 1;}
.team-img {
    width: 100%; /* Bildbreite auf 100% setzen */
    height: auto; /* Automatische Höhe, um das Bild nicht zu strecken */
    display: block; /* Damit margin: auto funktioniert */
    margin: auto; /* Zentrierung des Bildes horizontal */

}
.modal-x{position: fixed; top:25px; right:25px; border-radius: 50%;}
.modal-x i { border-radius:50%;padding:5px;}
.modal h3 {padding-bottom: 0.1em;}
.modal-pix {width: 75%;margin: auto;}
.teamName {font-weight: bolder; margin-bottom: 0;padding: 0;font-size: 2.4rem;}
.teamName2 {font-size: 1.2em;margin: 0; padding: 0;}

.nav-mobile {margin-right: 20% !important;}