/* === basis.css */
@import url('popup.css');
@import url('sihead.css');
@import url('navigation.css');
@import url('fuss.css');

/* Farbvariablen für Einrichtungen */
:root {
  --Muna-Color: #8a421a;
  --Tiponi-Color: #00467c;
  --Tiva-Color: #1c2a08;
  --Leotie-Color: #d90010;
  --Krabbel-Color: #bf000f;
  --Chumani-Color: #007b6e;
  --Mojak-Color: #7f3f00;
  --Shanuu-Color: #00682c;
  --Taunus-Color: #7f3f00;
  --Orenda-Color: #a03c0f;

  /* Allgemeine Designfarben */
  --dropdown-bg: #5e0d18;
  --menu-bg: #7b111f;
  --menu-text: #ffffff;
  --menu-hover-bg: #ffffff;
  --menu-hover-text: #7b111f;
  --border-color: #fff;
  --hover-transition: 0.3s;
}

@media (prefers-color-scheme: dark) {
  :root {
    --menu-bg: #222;
    --menu-text: #eee;
    --menu-hover-bg: #444;
    --menu-hover-text: #fff;
  }
}

/* Teamliste */
#teamList li img {
  float: left;
  width: 11em;
  height: 12.8em;
  border-radius: 7px;
  box-shadow: 5px 5px 7px #888;
}

#teamList li div {
  margin-left: 15.8em;
  background-image: linear-gradient(#ffcc66, #fff);
  color: #000;
  border-radius: 7px;
  box-shadow: 5px 5px 7px #888;
  padding-left: 30px;
}

#teamList li div h2 {
  color: #000;
  padding: 10px 0;
}

#teamList {
  list-style-type: none;
}

#teamList li {
  padding-bottom: 2em;
}

/* === RESET & TYPOGRAFIE === */
*,
html,
body,
div,
p,
br,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
a,
img,
li,
form,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
  border-width: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  color: #7b111f;
  text-align: center;
}

h1,
p {
  margin-bottom: 2em;
  line-height: 130%;
}

.killFloat {
  clear: both;
}

p.lastNurJetzt {
  margin-bottom: 184px;
}

p.zuletzt {
  margin: 10px;
  padding-bottom: 10px;
}

span.rot {
  color: #7b111f;
}

/* === LINKS === */
a:link,
a:visited {
  color: #7f3f00;
}

a:hover {
  color: #ff9900;
}

/* === FONTS === */
@font-face {
  font-display: swap;
  font-family: 'Mali';
  font-style: normal;
  font-weight: 400;
  src: url('../font/mali-v10-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Mali';
  font-style: normal;
  font-weight: 700;
  src: url('../font/mali-v10-latin-700.woff2') format('woff2');
}

html,
body {
  font-family: 'Mali', sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
  background-color: #fff;
  color: #7b111f;
  font-size: 16px;
  background-image: none;
}

body {
  font-size: 89.5%;
}

#container {
  margin: 0 auto;
  text-align: left;
  background-color: #7b111f;
  width: 65em;
  color: #ff9900;
  padding: 1.5em;
  background-image: none;
}

#containerContent {
  background-color: #ffe4a4;
  color: #000;
  font-size: 80%;
  padding: 10px 15px 15px 0;
}

#containerContent::after {
  content: '';
  display: block;
  clear: both;
}

.killFloat {
  clear: both;
  height: 0;
}

#leftNavigation {
  float: left;
  width: 25.4em;
}

#centerText {
  float: left;
  width: 44.6em;
  padding: 2em;
  background-color: #fff2cc;
  border-radius: 8px;
}

.marker-icon {
  display: inline-block !important;
  vertical-align: middle;
  width: 12px;
  height: 18px;
}

#map {
  margin-bottom: 2.5em;
}

#map2 {
  margin-top: 2em;
}

.map-heading {
  font-size: 1.6em;
  font-weight: bold;
  text-align: center;
  color: #7b111f;
}

.kurzbeschreibung {
  margin-bottom: 1.5em;
}

.accessible-content h1,
.accessible-content h2 {
  text-align: left;
  margin: 2rem 0 1rem;
}

.accessible-content section {
  margin-bottom: 3rem;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: white;
  padding: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

.zitat {
  text-align: center;
  margin: 2em auto;
  max-width: 32em;
}

.zitat blockquote {
  font-size: 1.2em;
  font-style: italic;
  color: #444;
  margin: 0 0 1em 0;
  padding: 0.5em 1em;
  border-left: 4px solid #61941c;
  background: #f8f8f8;
  display: inline-block;
}

.zitat figcaption {
  font-size: 0.9em;
  color: #666;
  margin-top: 0.5em;
}

.leitgedanke {
  font-style: italic;
  font-size: 0.95em;
  color: #444;
  margin: 1.5em auto;
  padding: 0.5em 1.2em;
  border-left: 4px solid var(--Muna-Color, #b35c2a);
  background: #f8f8f8;
  max-width: 36em;
}

/* Tabellen */
#moj1,
#moj2,
#mun1 {
  border: solid 1px black;
  box-shadow: 5px 5px 0px #999;
  margin: 10px 14px;
  width: 479px;
  height: 306px;
  border-collapse: collapse;
  text-align: center;
}

#moj1 tbody th,
#moj1 td:nth-child(1) {
  background: #eee;
  border: solid black 1px;
}

#moj1 th,
#moj1 td {
  border: solid black 1px;
}

#moj2 tbody td {
  border: solid black 1px;
  height: 26px;
  vertical-align: middle;
}

#moj2 tbody tr.bunt {
  background-color: orange;
}

#moj2 tbody tr.bunt2 {
  background-color: #fdcc88;
}

#moj2 tbody tr.rouge {
  background-color: indianred;
}

#moj2 tbody tr.red1 {
  background-color: #c70039;
}

#moj2 tbody tr.green1 {
  background-color: #b8ff33;
}

#mun1 {
  background-image: url('/bilder/kita/muna/kiddies1.jpg');
  background-repeat: no-repeat;
  background-position: center;
}

/* Responsive Tabellen */
@media (max-width: 600px) {
  .termine-table,
  .termine-table tbody,
  .termine-table tr,
  .termine-table td {
    display: block;
  }

  .termine-table tr {
    margin-bottom: 10px;
    border: 1px solid #ddd;
  }

  .termine-table td {
    border: none;
    position: relative;
    padding-left: 50%;
  }

  .termine-table td:before {
    content: attr(data-label);
    position: absolute;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    font-weight: bold;
  }

  .termine-table thead {
    display: none;
  }

  .termine-table td:first-child {
    background-color: transparent;
  }

  .termine-table .closed {
    background-color: #ffcc99;
  }
}

/* Events (Kita-Termine) */
.kita-events {
  font-family: Arial, sans-serif;
  max-width: 800px;
  margin: 20px auto;
  color: #333;
}

.kita-events h2 {
  color: #cc6600;
  border-bottom: 2px solid #cc6600;
  padding-bottom: 10px;
  margin-top: 30px;
}

/* Tabellen-Optimierungen */
.termine-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.termine-table th,
.termine-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.termine-table th {
  background-color: #a35500;
  text-shadow: 1px 1px 2px #000000;
  color: #e0e0e0;
}

.termine-table td:first-child {
  background-color: #fff6e6;
}

.termine-table .closed {
  background-color: #ffcc99;
}

.highlight-time {
  color: var(--menu-bg, #7b111f);
  font-weight: bold;
}

/* Logo-Reihen */
.logo-row {
  text-align: center;
  margin-top: 1rem;
}

.logo-row a {
  display: inline-block;
  margin: 0 1rem;
}

/* Schule-Bereich */
.school-section {
  text-align: left;
  margin-bottom: 2rem;
}

/* Tag der offenen Tür - Kontrastoptimiert */
.open-day-section {
  background-color: #fff6e6;
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
  color: #7b111f;
}

.open-day-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.open-day-date {
  background-color: #8a4500;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.open-day-date:hover {
  background-color: #a35200;
}

/* Raster-Galerie */
.zerty {
  display: grid;
  grid-template-columns: repeat(2, 220px);
  justify-content: left;
  gap: 20px;
}

.zerty img {
  width: 220px;
  height: auto;
  display: block;
}

/* EO links */
img.zoom {
  border: solid 1px #ccc;
  box-shadow: 5px 5px 0px #999;
  margin: 10px 14px;
  transition: transform 0.8s;
}

img.zoom:hover {
  border: solid 1px #ccc;
  box-shadow: 5px 5px 0px #999;
  margin: 10px 14px;
  transform: scale(1.7, 1.7);
}

img.zoomr {
  border-radius: 110px;
  box-shadow: 5px 5px 0px #999;
  transition: transform 0.8s;
}

img.zoomr:hover {
  border-radius: 110px;
  box-shadow: 5px 5px 0px #999;
  transform: scale(1.7, 1.7);
}

.schattene {
  width: 120px;
  height: 60px;
}

.schattenq {
  border: solid 1px #ccc;
  box-shadow: 5px 5px 0px #999;
  margin: 10px 14px;
}

.schattenr {
  border-radius: 110px;
  box-shadow: 5px 5px 0px #999;
}

/* Fehlerseiten-Layout */
.fehlerseite {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.fehlerseite>div {
  width: 600px;
  height: 420px;
}

/* Kinderliste */
.kitaList li img {
  margin: 0;
  float: left;
  width: 15.7em;
  height: 7.7em;
  padding: 0px;
  box-shadow: 3px 3px 3px #888;
  border-radius: 7px;
}

.kitaList li img[src*='tiva'] {
  box-shadow: 5px 5px 7px var(--Tiva-Color);
}

.kitaList li img[src*='muna'] {
  box-shadow: 5px 5px 7px var(--Muna-Color);
}

.kitaList li img[src*='chumani'] {
  box-shadow: 5px 5px 7px var(--Chumani-Color);
}

.kitaList li img[src*='lotta'] {
  box-shadow: 5px 5px 7px var(--Leotie-Color);
}

.kitaList li img[src*='krabbel'] {
  box-shadow: 5px 5px 7px var(--Krabbel-Color);
}

.kitaList li img[src*='mojak'] {
  box-shadow: 5px 5px 7px var(--Mojak-Color);
}

.kitaList li img[src*='tiponi'] {
  box-shadow: 5px 5px 7px var(--Tiponi-Color);
}

.kitaList li img[src*='orenda'] {
  box-shadow: 5px 5px 7px var(--Orenda-Color);
}

.kitaList li img[src*='shanuu'] {
  box-shadow: 5px 5px 7px var(--Shanuu-Color);
}

.kitaList li img[src*='taunus'] {
  box-shadow: 5px 5px 7px var(--Taunus-Color);
}

.kitaList li div {
  margin-left: 19.8em;
}

.kitaList li div h3 {
  color: #7b111f;
  font-weight: normal;
}

.kitaList {
  list-style-type: none;
}

.kitaList li {
  margin-bottom: 40px;
}

h32 {
  color: #000;
}

.hAbstand {
  margin-bottom: 20px;
}
.grid-container {
  display:inline-grid;
  grid-template-columns:auto auto auto ;
 grid-template-rows:60px ;
  gap: 10px; 
  align-content: center;

}

.grid-container > div {
   text-align:center;
 }

.item6{
padding-top:40px;
grid-area: 1 / 2 / 6 ;
border-radius:5px;

}

.item1  {
border-radius:5px;
box-shadow: 3px 3px 0px #999;
height:60px;
}