:root {
  --main-color: #1e2b3a;
  --accent-color: #e74c3c;
  --light-bg: #f9f9f9;
  --text-color: #333;
  --max-width: 1200px;
  --font-family: 'Open Sans', sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: white;
  line-height: 1.75;
}

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

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

.site-header {
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: padding 0.3s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  color: var(--main-color);
  font-size: 1.2rem;
}

.logo img {
  height: 125px;
  transition: height 0.3s ease;
}

.logo.shrink img {
  height: 75px;
}

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

.main-nav a {
  text-decoration: none;
  color: #1f3645;
  font-weight: 700;
  transition: all 0.3s;
  display: inline-block;
}

.main-nav a:hover {
  color: #f03235;
  text-decoration: underline;
}

main {
  padding-top: 175px;
}

.hero {
  background-image: url('../images/kind-liest.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 40%;
  padding: 1rem 3rem !important;
  margin-top: -100px;
}

.hero-text h1 {
  font-size: 250%;
  margin-top: 0;
  color: white;
  line-height: 1.25;
}

.hero-text p {
  color: #f0f0f0;
}

.hero .cta {
  background: var(--accent-color);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
}

/* Mobiles Hero-Bild */
.hero-mobile-img {
  display: none;
}

.intro {
  display: flex;
  flex-wrap: wrap;
  padding: 3rem 0;
  background: #fff;
}

.intro .text {
  flex: 1 1 60%;
  padding: 1rem;
}

.intro .image {
  flex: 1 1 40%;
  padding: 1rem;
}

.intro .image img {
  border-radius: 8px;
}

.spenden-box {
  background: #defde1;
  padding: 1rem;
  margin-top: 2rem;
  border-left: 4px solid #3ce767;
  border-radius: 25px;
  padding-left: 40px !important;
  padding-bottom: 40px !important;
}

.spenden-box .cta.small {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 1.1rem;
  background: #4CAF50;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 3px;
  text-decoration: none;
}

.aktuelles {
  background: var(--light-bg);
  padding: 2rem 1rem;
}

.aktuelles h3 {
  margin-top: 0;
  color: var(--main-color);
}

.aktuelles ul {
  list-style: none;
  padding: 0;
}

.aktuelles li {
  margin: 0.5rem 0;
}

.site-footer {
  background: #3f3f4a;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #ffffff;
  margin-top: 75px;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-footer a {
  color: #ffffff;
  text-decoration: underline;
  transition: all 0.3s;
}

.site-footer a:hover {
  text-decoration: none;
  color: #ffc107;
}

.unterseite {
  padding: 2rem 1rem;
}

.hero-text,
.intro .text,
.intro .image,
.aktuelles,
.spenden-box,
.unterseite {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* MOPILOGO */
#logolove {
  width: 100%;
  text-align: center;
  position: relative;
  display: inline-block;
  background: #262a2f;
  padding: 20px 0;
}

#logolove img {
  width: 200px;
  height: auto;
  transition: all 0.3s;
  display: inline;
}

#logolove img:hover {
  width: 210px;
}

/* Hamburger-Menü Button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 3rem;
  cursor: pointer;
  color: #333;
  margin-right: 1rem;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    flex-direction: column;
    background: #ffffffad;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
  }

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

  .nav-toggle {
    display: block;
  }

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

  .main-nav li {
    text-align: left;
  }
}

.news-teaser-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
  grid-template-columns: 1fr;
}

.news-teaser img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.news-teaser h4 {
  font-size: 1.2rem;
  margin: 0.5rem 0 0.2rem;
  color: #000;
}

.news-teaser p {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .news-teaser-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* Responsives Design */
@media (max-width: 768px) {
	
	.logo img {
        width: 60%;
        height: auto !important;
        margin-left: 2rem;;
	}
	
	main {
	    padding-top: 125px;
	}
	
  .hero,
  .intro {
    flex-direction: column;
  }

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

  .site-footer .container {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .unterseite img {
    width: 100% !important;
    height: auto;
  }

  /* Hero-Anpassung mobil */
  .hero {
    background: none;
    min-height: auto;
    flex-direction: column;
    padding: 1rem 0;
  }

  .hero-mobile-img {
    display: block;
    width: 100%;
  }

  .hero-mobile-img img {
    width: 100%;
    height: auto;
    display: block;
  }

  .hero-text {
    color: #000 !important;
    background: white;
    padding: 1rem 1.5rem !important;
    margin: 0;
    max-width: 100%;
  }

  .hero-text h1 {
    color: #000;
  }

  .hero-text p {
    color: #333;
  }
}
