/* ============================================
   Kinderhilfe-Uganda.eu — Stylesheet
   Farben: Erdtöne, Grün, Orange
   ============================================ */

/* Reset & Basis */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #2e7d32;
  --color-primary-light: #4caf50;
  --color-accent: #e67e22;
  --color-accent-light: #f39c12;
  --color-earth: #5d4037;
  --color-earth-light: #8d6e63;
  --color-sand: #f5f0e8;
  --color-sand-dark: #e8e0d0;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-white: #ffffff;
  --color-bg: #faf8f5;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --radius: 8px;
  --max-width: 1100px;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-accent);
}

/* ============================================
   Header & Navigation
   ============================================ */

.site-header {
  background: var(--color-white);
  border-bottom: 3px solid var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-earth);
}

.site-logo span {
  color: var(--color-primary);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-earth);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.main-nav a {
  display: block;
  padding: 0.4rem 0.7rem;
  color: var(--color-text);
  font-size: 0.85rem;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Mobile Nav */
@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 3px solid var(--color-primary);
    box-shadow: var(--shadow-md);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }

  .main-nav a {
    padding: 0.7rem 1rem;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid var(--color-sand);
  }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-earth) 100%);
  color: var(--color-white);
  padding: 4rem 1.5rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
}

/* ============================================
   Content Sections
   ============================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.section {
  margin-bottom: 3rem;
}

.section h2 {
  font-size: 1.6rem;
  color: var(--color-earth);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-sand-dark);
}

.section h3 {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.section p {
  margin-bottom: 1rem;
}

.section ul, .section ol {
  margin: 0.5rem 0 1rem 1.5rem;
}

.section li {
  margin-bottom: 0.4rem;
}

/* Highlight Box */
.highlight-box {
  background: var(--color-sand);
  border-left: 4px solid var(--color-accent);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.highlight-box p {
  margin-bottom: 0;
  color: var(--color-text-light);
  font-style: italic;
}

/* Info Box */
.info-box {
  background: var(--color-white);
  border: 1px solid var(--color-sand-dark);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

.info-box h3 {
  margin-top: 0;
}

/* Cards Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-primary);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card h3 {
  margin-top: 0;
  color: var(--color-earth);
}

.card a {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* Fact Box */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.fact {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.fact .number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.2;
}

.fact .label {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* ============================================
   FAQ Accordion
   ============================================ */

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: var(--color-earth);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--color-sand);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--color-accent);
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  content: '\2212';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 1.5rem 1.2rem;
}

/* ============================================
   Teaser / CTA Section
   ============================================ */

.teaser-section {
  background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-sand-dark) 100%);
  padding: 2.5rem 1.5rem;
  text-align: center;
  margin: 2rem 0;
  border-radius: var(--radius);
}

.teaser-section h2 {
  border-bottom: none;
  color: var(--color-earth);
}

.teaser-section p {
  max-width: 700px;
  margin: 0 auto 1rem;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--color-earth);
  color: var(--color-sand);
  padding: 2rem 1.5rem;
  margin-top: 3rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-col h4 {
  color: var(--color-white);
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  color: var(--color-sand);
  font-size: 0.9rem;
  line-height: 2;
}

.footer-col a:hover {
  color: var(--color-accent-light);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--color-earth-light);
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-earth-light);
}

/* ============================================
   Breadcrumbs
   ============================================ */

.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.breadcrumb a {
  color: var(--color-text-light);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

/* ============================================
   Legal pages
   ============================================ */

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

/* ============================================
   Responsive Adjustments
   ============================================ */

@media (max-width: 600px) {
  html {
    font-size: 16px;
  }

  .hero {
    padding: 2.5rem 1rem;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .container {
    padding: 1.5rem 1rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .fact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
