/* ========================================
   BLOG.HTML - BLOG SEITE (BILDER VOLLSTÃ„NDIG)
   ======================================== */

/* MAIN CONTENT SECTION */
.content-section {
  padding: 0;
}

#aktuelles {
  padding: 4rem 0;
}

#aktuelles h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--dark-color);
}

/* SECTION SUBTITLE */
.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  line-height: 1.6;
}

/* ARTIKEL TEASER */
.article-teaser {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  margin-bottom: 2rem;
  padding: 0;
}

.article-teaser:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

/* TEASER BILD - VOLLSTÃ„NDIG SICHTBAR */
.teaser-image {
  flex: 0 0 320px;
  display: block;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: auto;
}

.teaser-image figure {
  margin: 0;
  width: 100%;
  height: auto;
}

.teaser-image picture {
  display: block;
  width: 100%;
  height: auto;
}

.teaser-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #f8f9fa;
  max-height: 400px;
}

.teaser-image picture img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #f8f9fa;
  max-height: 400px;
}

/* TEASER CONTENT */
.teaser-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 1.5rem 1.5rem 0;
}

.teaser-content h2 {
  font-size: 1.4rem;
  color: var(--dark-color);
  margin: 0;
  line-height: 1.3;
}

.teaser-date {
  font-size: 0.9rem;
  color: #999;
  margin: 0;
}

.teaser-date time {
  display: inline;
}

.teaser-excerpt {
  color: #666;
  line-height: 1.6;
  flex-grow: 1;
  margin: 0;
}

/* BUTTONS */
.btn {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.875rem 1.75rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.btn:hover {
  background: #1f6f7f;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* RELATED ARTICLES */
.related-articles {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
}

.related-articles p {
  margin: 0;
  color: #666;
}

.related-articles a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.related-articles a:hover {
  text-decoration: underline;
}

/* BLOG INFO SECTION */
.blog-info {
  margin-top: 4rem !important;
  padding: 2rem !important;
  background: #f8f9fa !important;
  border-radius: 8px !important;
}

.blog-info h2 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  margin-top: 0;
}

.blog-info h3 {
  font-size: 1.2rem;
  color: var(--dark-color);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.blog-info p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.blog-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-info ul li {
  padding: 0.5rem 0;
  color: #555;
  line-height: 1.6;
}

.blog-info a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.blog-info a:hover {
  text-decoration: underline;
}

/* FADE IN ANIMATION */
.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .teaser-image {
    flex-basis: 260px;
  }

  .teaser-content {
    padding: 1.5rem 1.5rem 1.5rem 0;
  }

  #aktuelles {
    padding: 2rem 0;
  }
}

@media (max-width: 768px) {
  .article-teaser {
    flex-direction: column;
    gap: 0;
  }

  .teaser-image {
    flex-basis: auto;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
  }

  .teaser-image img {
    max-height: 250px;
  }

  .teaser-content {
    padding: 1rem;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
  }

  .teaser-content h2 {
    font-size: 1.2rem;
  }

  .blog-info {
    margin-top: 2rem !important;
    padding: 1.5rem !important;
  }

  .blog-info h2 {
    font-size: 1.3rem;
  }

  .blog-info h3 {
    font-size: 1.1rem;
  }
}

/* HIDE SCHEMA.ORG MARKUP */
#publisher-info {
  display: none !important;
}

[style*="display: none"] {
  display: none !important;
}