/* ==========================================
   Naturkindergarten Wedding - Global Styles
   Matching original Jimdo design
   ========================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green-main: #7a9a82;
  --green-dark: #6d8d79;
  --green-light: #8bab93;
  --green-footer: #6a8572;
  --beige: #c8cbc2;
  --text-dark: #333;
  --text-light: rgba(255,255,255,0.95);
  --text-link-light: rgba(255,255,255,0.8);
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ---- Header / Navigation ---- */
.site-header {
  background: var(--green-dark);
  padding: 0.75rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: white;
}

.header-left img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.logo-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.header-left span {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-right nav a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.header-right nav a:hover,
.header-right nav a.active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-mail {
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  border: 1.5px solid white;
  padding: 0.4rem 1.2rem;
  border-radius: 2px;
  transition: background 0.2s;
}
.btn-mail:hover {
  background: rgba(255,255,255,0.15);
  text-decoration: none;
}

/* ---- Green content sections ---- */
.section-green {
  background: var(--green-main);
  color: var(--text-light);
  padding: 4rem 2rem;
}

.section-green h1,
.section-green h2 {
  font-weight: 400;
  font-style: italic;
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-green h1 {
  font-size: 2rem;
}

.section-green h2 {
  font-size: 1.75rem;
}

.section-green p {
  max-width: 720px;
  margin: 0 auto 1.25rem;
  font-size: 0.95rem;
  line-height: 1.8;
  text-align: center;
}

/* ---- Beige content sections (Impressum) ---- */
.section-beige {
  background: var(--beige);
  color: var(--text-dark);
  padding: 4rem 2rem;
  min-height: calc(100vh - 180px);
}

.section-beige .content {
  max-width: 720px;
  margin: 0 auto;
}

.section-beige h1 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.section-beige h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.25rem;
}

.section-beige p {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.section-beige em {
  font-style: italic;
}

/* ---- White content sections (Datenschutz) ---- */
.section-white {
  background: white;
  color: var(--text-dark);
  padding: 4rem 2rem;
  min-height: calc(100vh - 180px);
}

.section-white .content {
  max-width: 720px;
  margin: 0 auto;
}

.section-white h1 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.section-white h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

.section-white p {
  font-size: 0.92rem;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.section-white a { color: var(--text-dark); }

.section-white ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.section-white li {
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

/* ---- Photo Gallery ---- */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 6px;
  max-width: 960px;
  margin: 2.5rem auto 0;
}

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

.gallery .photo-1 { grid-column: 1; grid-row: 1; aspect-ratio: 4/3; }
.gallery .photo-2 { grid-column: 2; grid-row: 1; aspect-ratio: 4/3; }
.gallery .photo-3 { grid-column: 1; grid-row: 2; aspect-ratio: 4/3; }
.gallery .photo-4 { grid-column: 2; grid-row: 2; }

.gallery .photo-placeholder {
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  font-style: italic;
  min-height: 200px;
}

/* ---- Contact section ---- */
.contact-info {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.contact-info h2 {
  text-align: left;
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  text-align: left;
  margin-bottom: 0.25rem;
}

.contact-info a {
  color: var(--text-light);
  text-decoration: underline;
}

.map-container {
  max-width: 540px;
  margin: 3rem auto 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: none;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--green-footer);
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 2rem;
  text-align: center;
}

.site-footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
  font-size: 0.85rem;
  margin: 0 0.75rem;
}

.site-footer a:hover {
  color: white;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .site-header {
    padding: 0.5rem 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .header-right {
    gap: 1rem;
  }
  .header-right nav a {
    font-size: 0.8rem;
  }
  .btn-mail {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
  }
  .section-green { padding: 2.5rem 1.25rem; }
  .section-green h1 { font-size: 1.5rem; }
  .gallery {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .gallery .photo-4 { grid-column: 1; grid-row: 4; }
  .map-container iframe { height: 250px; }
}

@media (max-width: 480px) {
  .header-left span { font-size: 0.85rem; }
  .header-right nav { display: none; }
  .section-green p { font-size: 0.9rem; }
}
