/* Global Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  color: #333;
}

/* Header */
header {
  background: linear-gradient(135deg, #2d3e50, #34495e);
  color: #fff;
  padding: 3rem 1rem;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 300;
  color: #fff;
}

header p {
  font-size: 1.2rem;
  margin: 1rem 0 0 0;
  opacity: 0.9;
}

/* Navigation */
nav {
  background-color: #1abc9c;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 3px 0;
  transition: 0.3s;
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  margin: 0 1.5rem;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}

nav a:hover {
  background-color: rgba(255,255,255,0.2);
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 4px;
  overflow: hidden;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.5rem;
}

.dropdown-content a {
  color: #2c3e50 !important;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  margin: 0;
  border-radius: 0;
  transition: background-color 0.3s;
}

.dropdown-content a:hover {
  background-color: #f8f9fa;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropbtn {
  cursor: pointer;
}

/* Layout */
.container {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.intro-section {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-bottom: 3rem;
  text-align: center;
}

.intro-section img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  object-fit: cover;
}

.section {
  background: #fff;
  margin-bottom: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  overflow: hidden;
}

.section-header {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  padding: 2rem;
  text-align: center;
}

.section-content {
  padding: 2rem;
}

.article {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-bottom: 3rem;
}

/* Typography */
h1, h2, h3, h4 {
  color: #2c3e50;
}

/* Product Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.product-rating {
  color: #f39c12;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-card h3 {
  margin-bottom: 1rem;
  color: #2c3e50;
}

.product-card .cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #1abc9c, #16a085);
  color: white;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  margin-top: 1rem;
  transition: background 0.3s;
}

.product-card .cta-button:hover {
  background: linear-gradient(135deg, #16a085, #138d75);
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #1abc9c, #16a085);
  color: white;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  margin-top: 1rem;
  transition: background 0.3s;
}

.cta-button:hover {
  background: linear-gradient(135deg, #16a085, #138d75);
}

/* Blog */
.blog-post {
  border-bottom: 1px solid #e9ecef;
  padding: 2rem 0;
}

.blog-post:last-child {
  border-bottom: none;
}

.blog-meta {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Highlight Box */
.highlight-box {
  background: #e8f5e8;
  border-left: 4px solid #1abc9c;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #1abc9c;
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 2rem;
  background: #2c3e50;
  color: #ecf0f1;
  margin-top: 4rem;
}

/* Desktop/Mobile Navigation Visibility */
.mobile-nav {
  display: none;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Mobile Blog Section Styling */
.mobile-blog-section {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.mobile-blog-header {
  padding: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background-color: rgba(255,255,255,0.05);
  text-align: left;
  margin: 0; /* Keine Einrückung für den Header */
}

.mobile-blog-item {
  padding: 0.8rem 1rem 0.8rem 2rem !important; /* Nur die Items sind eingerückt */
  color: #fff !important;
  background-color: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
  text-align: left;
  display: block;
  width: 100%;
}

.mobile-blog-item:hover {
  background-color: rgba(255,255,255,0.1);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: #1abc9c;
    width: 100%;
    text-align: left;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0,0,0,0.05);
    z-index: 999;
    display: flex;
  }

  .mobile-nav.active {
    left: 0;
  }

  .mobile-nav > a {
    padding: 1rem;
    display: block;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: left;
    width: 100%;
  }

  /* Spezifische Styles für mobile Blog Section */
  .mobile-blog-section {
    display: block;
    width: 100%;
    margin: 0; /* Keine Einrückung für die gesamte Sektion */
  }

  .mobile-blog-header {
    padding-left: 1rem; /* Gleiche Einrückung wie andere Hauptmenüpunkte */
  }

  .mobile-blog-item {
    padding-left: 2rem !important; /* Doppelte Einrückung für Sub-Items */
  }

  /* Dropdown für Desktop bleibt unverändert */
  .dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown-content {
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.5rem;
  }

  header h1 {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 0.5rem;
  }
  
  .section-content {
    padding: 1.5rem;
  }

  .article {
    padding: 1.5rem;
  }
}