/*
Theme Name: Montessori Kitzingen
Theme URI: https://montessori-kitzingen.de
Author: Eigene Entwicklung
Author URI: https://montessori-kitzingen.de
Description: WordPress-Theme basierend auf der bestehenden statischen Webseite der Montessori Grundschule Kitzingen.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: montessori-kitzingen
Tags: custom-theme, responsive, education, clean, no-plugins
*/

/* -----------------------------------------
   1. Basislayout
------------------------------------------ */
body {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color-base);
  background-color: var(--background-color-base);
  hyphens: auto;
}

.container, .wrapper {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media screen and (min-width: 48rem) {
  .wrapper {
    gap: 1rem;
  }
}

/* -----------------------------------------
   2. Header & Navigation
------------------------------------------ */
.site-header {
  background-color: #ebefe9;
  padding: 1rem 0;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo img {
  max-width: 180px;
  height: auto;
}

.nav-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-wrapper ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-wrapper a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: #387368;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-wrapper a:hover {
  color: #121416d8;
  border-bottom: #387368 3px solid;
}

.nav-wrapper ul li.current-menu-item > a,
.nav-wrapper ul li.current_page_item > a {
  color: #1d1d1d;
  font-weight: 600;
}

@media (max-width: 768px) {
  .header-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-wrapper {
    justify-content: flex-start;
  }

  .nav-wrapper ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* -----------------------------------------
   3. Inhalt & Einleitung
------------------------------------------ */
.intro-full {
/*  background-color: #ebefe9;*/
  padding: 3rem 1.5rem 2rem;
  margin-bottom: 2rem;
}

.intro-full .wrapper {
  max-width: 720px;
}

.intro-full h1 {
  margin-top: 0;
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
}

/* -----------------------------------------
   4. Breadcrumbs
------------------------------------------ */
.breadcrumb-full {
  background-color: #f9f9f9;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 1rem 0;
}

.breadcrumb-full .wrapper {
  max-width: 720px;
}

.breadcrumb {
  font-size: 0.9rem;
  color: #333;
}

.breadcrumb a {
  color: #23685d;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb span {
  font-weight: 500;
}

/* -----------------------------------------
   5. Footer
------------------------------------------ */
.site-footer {
  background-color: #ddd;
  color: #333;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-address {
  flex: 1 1 250px;
}

.footer-image img {
  max-width: 150px;
  height: auto;
}

@media only screen and (max-width: 560px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-image img {
    max-width: 100%;
  }
}


.intro-full {
/*  background-color: #ebefe9;*/
  padding: 3rem 1.5rem 2rem;
  margin-bottom: 0;
}

.intro-text {
  max-width: 720px;
  margin: 0 auto;
}

.main-content {
  background-color: white;
  padding: 2rem 1rem;
  margin-top: 2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.breadcrumb-full {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 1rem 0;
}

.breadcrumb-full .wrapper {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
}

.intro-full {
  background-color: #ebefe9;
  padding: 2.5rem 1.5rem;
  margin-bottom: 2rem;
}


.intro-full {
  background-color: #ebefe9;
  padding: 2.5rem 1.5rem;
  margin-bottom: 2rem;
}

.intro-full h1 {
  margin-top: 0;
  font-size: 2rem;
}

.intro-text {
  font-size: 1rem;
  margin-top: 1rem;
}

.wp-block-group.intro {
  background-color: #ebefe9;
  padding: 2.5rem 1.5rem;
  margin-bottom: 2rem;
}


/* Volle Breite für den Hintergrund der Intro-Gruppe */
.wp-block-group.intro {
  position: relative;
  background-color: #ebefe9;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 3rem 1rem;
  margin-bottom: 2rem;
  box-sizing: border-box;
}

/* Optional: Begrenzung des Inhalts innerhalb der intro-Gruppe */
.wp-block-group.intro > .wp-block-group__inner-container {
  max-width: 720px;
  margin: 0 auto;
}

