html {
  background: #ef8230;
}

body {
  margin: 0;
  min-width: 1060px;
  padding-top: 20px;
  font-family: "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif;
  color: #000;
}

#page {
  position: relative;
  width: 956px;
  margin: 0 auto;
  padding: 0 0 40px;
}

.site-header {
  position: relative;
  width: 950px;
  margin: 0 auto;
}

.site-header-image {
  display: block;
  width: 950px;
  height: auto;
}

.main-nav {
  position: absolute;
  left: -3px;
  top: 289px;
  width: 956px;
  height: 40px;
  z-index: 20;
}

.main-nav .menu {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #f0832f;
  height: 40px;
}

.main-nav .menu > li {
  position: relative;
}

.main-nav a {
  display: block;
  padding: 11px 12px 10px;
  color: #fff;
  font-size: 16px;
  line-height: 19px;
  font-family: "Gloria Hallelujah", cursive;
  text-decoration: none;
  border-radius: 10px 10px 0 10px;
  transition: background-color 0.15s ease;
}

.main-nav .sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 40px;
  width: 220px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #f0832f;
}

.main-nav li:hover > .sub-menu {
  display: block;
}

.main-nav .menu > li > a:hover {
  background: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.main-nav .menu > li.current-menu-item > a,
.main-nav .menu > li.current-menu-ancestor > a,
.main-nav .menu > li.current_page_item > a,
.main-nav .menu > li.current_page_ancestor > a {
  background: rgba(255, 255, 255, 1);
  color: #f0832f;
}

.main-nav .sub-menu a {
  border-radius: 0;
  font-size: 13px;
  line-height: 16px;
  padding: 10px 12px;
}

.main-nav .sub-menu a:hover {
  background: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.main-nav .sub-menu li.current-menu-item > a,
.main-nav .sub-menu li.current_page_item > a {
  background: rgba(255, 255, 255, 0.8);
  color: #f0832f;
}

.page-hero {
  width: 950px;
  height: 332px;
  margin: 0;
  overflow: hidden;
}

.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-layout {
  width: 950px;
  margin: 12px auto 0;
  background: #fff;
  padding: 64px 0 30px;
}

.home-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.home-intro {
  width: 527px;
  margin-left: 50px;
  font-size: 18px;
  line-height: 29px;
}

.home-intro > h1 {
  display: none;
}

.home-intro #u18542-2 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 37px;
  white-space: nowrap;
  font-family: "Gloria Hallelujah", cursive;
  color: #f0832f;
}

.home-intro p {
  margin: 0 0 10px;
}

.home-intro #u18542-3,
.home-intro #u18542-10 {
  margin: 0;
}

.home-slider {
  width: 950px;
  height: 332px;
  margin: 0;
  overflow: hidden;
}

.home-slider-wrap {
  position: relative;
  width: 950px;
  margin-top: 25px;
}

.home-slides {
  position: relative;
  width: 950px;
  height: 332px;
}

.home-slides img {
  position: absolute;
  inset: 0;
  width: 950px;
  height: 332px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.home-slides img.is-active {
  opacity: 1;
}

.home-slider-nav {
  position: absolute;
  top: 147px;
  width: 40px;
  height: 40px;
  border: 0;
  background: rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 22px;
  line-height: 40px;
  cursor: pointer;
  z-index: 5;
}

.home-slider-nav.prev {
  left: 0;
  border-radius: 0 30px 30px 0;
}

.home-slider-nav.next {
  right: 0;
  border-radius: 30px 0 0 30px;
}

.home-news-panel {
  flex: 0 0 240px;
  width: 240px;
  margin-right: 50px;
  margin-top: 76px;
  padding: 2px 10px 10px;
  background: rgba(247, 147, 30, 0.2);
  border-radius: 10px;
  font-size: 16px;
  line-height: 26px;
  z-index: 3;
}

.home-news-panel h2 {
  margin: 0 0 8px;
  color: #f0832f;
  font-family: "Gloria Hallelujah", cursive;
  font-size: 18px;
  line-height: 29px;
}

.home-news-panel ul {
  margin: 0;
  padding-left: 16px;
}

.home-news-panel li {
  margin-bottom: 14px;
}

.home-news-panel a,
.home-news-panel a:visited {
  color: #000;
  text-decoration: none;
}

.home-news-panel a:hover {
  text-decoration: underline;
}

.home-news-panel .news-item-title {
  margin: 0;
  font-family: "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
}

.home-news-panel .news-item-excerpt {
  margin: 4px 0 2px;
  color: #000;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news-panel .news-date {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 22px;
  color: #555;
}

.news-stand {
  margin-top: 8px;
  font-size: 12px;
}

.home-news-panel::before {
  display: none;
}

.home-news-panel::after {
  display: none;
}

.home-cta {
  position: absolute;
  right: 35px;
  bottom: 12px;
  width: 120px;
  min-height: 52px;
  padding: 8px 10px;
  background: #f0832f;
  border-radius: 12px;
  transform: rotate(-15deg);
  color: #fff;
  font-size: 16px;
  line-height: 19px;
  text-align: center;
  text-decoration: none;
  z-index: 6;
}

.home-cta span {
  text-decoration: underline;
}

.site-footer {
  clear: both;
  display: block;
  width: 956px;
  margin: 16px auto 0;
  padding: 0 0 6px;
  text-align: center;
  color: #fff;
  font-family: abel, Arial, sans-serif;
  font-size: 12px;
  line-height: 14px;
}

.footer-contact-box {
  width: 950px;
  margin: 0 auto;
  background: #fff;
  color: #000;
  text-align: left;
  padding: 14px 50px 12px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-contact-text {
  font-family: "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif;
  font-size: 17px;
  line-height: 24px;
}

.footer-contact-text p {
  margin: 0;
}

.footer-contact-text a {
  color: #000;
}

.footer-line-top {
  font-size: 18px;
  line-height: 24px;
}

.footer-kita-name {
  font-family: "Gloria Hallelujah", cursive;
  font-size: 18px;
  line-height: 25px;
  display: inline-block;
  margin-right: 8px;
}

.footer-address-line {
  display: inline-block;
}

.footer-city-line {
  font-size: 17px;
  line-height: 24px;
}

.footer-mail-line {
  padding-top: 5px;
  font-size: 17px;
  line-height: 24px;
}

.footer-mail-line a {
  color: #000;
  font-weight: 700;
  text-decoration: none;
}

.footer-tel-line {
  padding-top: 2px;
  font-size: 17px;
  line-height: 24px;
}

.footer-tel-line a {
  color: #f0832f;
  font-weight: 700;
  text-decoration: none;
}

.footer-contact-logos {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  align-self: flex-end;
  padding-top: 6px;
}

.footer-contact-logos img:first-child {
  width: 210px;
  height: auto;
}

.footer-contact-logos img:last-child {
  width: 185px;
  height: auto;
}

.footer-copy {
  margin: 16px 0 0;
}

.content-area {
  width: 950px;
  margin: 0 auto;
  background: #fff;
  padding: 40px 50px;
  box-sizing: border-box;
  min-height: 400px;
  font-family: "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif;
  font-size: 18px;
  line-height: 29px;
  color: #000;
}

.content-area p {
  margin: 0 0 10px;
}

.content-area a {
  color: #0000ee;
}

.content-area a:visited {
  color: #800080;
}

.content-area img,
.content-area iframe,
.content-area video {
  max-width: 100%;
  height: auto;
}

.content-area::after {
  content: "";
  display: table;
  clear: both;
}

.content-area h1,
.content-area h2,
.content-area h3 {
  font-family: "Gloria Hallelujah", cursive;
  color: #f0832f;
}

.content-area h1 {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 38px;
}

.content-area h2 {
  margin: 26px 0 8px;
  font-size: 24px;
  line-height: 28px;
}

.content-area h3 {
  margin: 24px 0 6px;
  font-size: 18px;
  line-height: 22px;
}

.tagesablauf-schedule {
  margin: 26px 0 28px;
  border-top: 1px solid #f7931e;
  border-radius: 10px 10px 0 0;
}

.tagesablauf-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  column-gap: 20px;
  border-bottom: 1px solid #f7931e;
  padding: 4px 0 6px;
}

.tagesablauf-row:last-child {
  border-radius: 0 0 10px 10px;
}

.tagesablauf-time {
  font-size: 18px;
  line-height: 29px;
  padding: 0 6px 0 10px;
}

.tagesablauf-activities ul {
  margin: 0;
  padding-left: 20px;
}

.tagesablauf-activities li {
  margin: 0;
  font-size: 18px;
  line-height: 29px;
}

.contact-map-embed {
  width: 851px;
  max-width: 100%;
  height: 489px;
  margin: 54px 0 41px;
}

.content-area .contact-map-iframe {
  width: 100%;
  height: 100%;
  max-width: none;
  border: 0;
  display: block;
}

.gallery-hub {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 10px;
}

.gallery-hub-card {
  position: relative;
  display: block;
  min-height: 250px;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
}

.gallery-hub-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.05));
}

.gallery-hub-card span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 6px 12px;
  background: rgba(240, 131, 47, 0.88);
  border-radius: 10px;
  color: #fff;
  font-family: "Gloria Hallelujah", cursive;
  font-size: 24px;
  line-height: 28px;
}

.gallery-hub-card.card-kita {
  background-image: url("https://www.kita-maeuseburg.de/images/img_0404_-crop-u30830.jpg?crc=4232351739");
}

.gallery-hub-card.card-kita-alltag {
  background-image: url("https://www.kita-maeuseburg.de/images/img_1593.jpg?crc=308893425");
}

.page-gallery-main {
  position: relative;
  width: 100%;
  height: 520px;
  background: #fff7ef;
  border: 1px solid #f1d7bc;
  border-radius: 10px;
  overflow: hidden;
}

.page-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.page-gallery-caption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: rgba(255, 255, 255, 0.8);
  color: #f0832f;
  border-radius: 8px;
  padding: 7px 10px;
  font-family: "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif;
  font-size: 13px;
  line-height: 16px;
}

.page-gallery-thumbs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 8px;
}

.gallery-thumb {
  border: 2px solid transparent;
  background: #fff;
  padding: 0;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  height: 56px;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb.is-active {
  border-color: #f0832f;
}

@media (max-width: 1060px) {
  body {
    min-width: 0;
    padding: 0;
  }

  #page,
  .site-header,
  .site-header-image,
  .home-layout,
  .home-slider,
  .home-slides,
  .site-footer,
  .content-area {
    width: 100%;
    margin: 0;
  }

  .site-header-image,
  .home-slides img,
  .page-hero img {
    width: 100%;
    height: auto;
  }

  .page-hero {
    width: 100%;
    height: auto;
  }

  .main-nav {
    position: static;
    height: auto;
    width: 100%;
  }

  .main-nav .menu {
    display: block;
    height: auto;
  }

  .main-nav .menu > li {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

  .main-nav .menu > li > a {
    border-radius: 0;
  }

  .main-nav .sub-menu {
    position: static;
    width: 100%;
    background: rgba(240, 131, 47, 0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
    z-index: 40;
  }

  .main-nav .sub-menu a {
    padding-left: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .home-layout {
    padding: 24px 16px;
    min-height: 0;
  }

  .home-top {
    display: block;
  }

  .home-intro {
    width: auto;
    margin-left: 0;
  }

  .home-news-panel {
    margin: 16px 0 0;
  }

  .home-slider-wrap {
    width: 100%;
    margin-top: 16px;
  }

  .home-slider {
    height: 56vw;
  }

  .home-slides {
    height: 56vw;
  }

  .home-slides img {
    height: 56vw;
  }

  .home-cta {
    position: static;
    width: auto;
    transform: none;
    margin-top: 12px;
  }

  .gallery-hub {
    grid-template-columns: 1fr;
  }

  .page-gallery-main {
    height: 62vw;
  }

  .footer-contact-box {
    width: 100%;
    padding: 14px 16px;
    display: block;
  }

  .footer-contact-logos {
    margin-top: 10px;
    gap: 12px;
    flex-wrap: wrap;
  }
}
