/* Grundlegende Styles */
:root {
  --primary-color: #4a7c17;
  --secondary-color: #6db33f;
  --accent-color: #8bc34a;
  --dark-color: #2d5016;
  --light-color: #f0f7e6;
  --text-color: #333;
  --white: #fff;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

header h1 {
  font-size: 1.8rem;
}

header h1 a {
  color: var(--white);
  text-decoration: none;
}

header nav {
  display: flex;
  gap: 1.5rem;
}

header nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s;
}

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

header nav a.lang-switch {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-left: 0.5rem;
}

header nav a.lang-switch:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Main Content */
main {
  padding: 2rem 0;
  min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 3rem 0;
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.hero h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-image {
  max-width: 300px;
  border-radius: 50%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--secondary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn:hover {
  background-color: var(--dark-color);
  transform: translateY(-2px);
}

/* Info Boxes */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-box {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--accent-color);
}

.info-box h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Anleitung Steps */
.anleitung-step {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.step-number {
  background: var(--secondary-color);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.step-content img {
  max-width: 100%;
  border-radius: 8px;
  margin-top: 1rem;
}

/* Galerie */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.galerie-item {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.galerie-item:hover {
  transform: scale(1.02);
}

.galerie-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.galerie-item p {
  padding: 1rem;
  text-align: center;
  font-weight: 500;
}

/* Page Header */
.page-header {
  text-align: center;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.page-header h1 {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: #666;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: var(--white);
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 2rem;
}

footer .version {
  margin-top: 0.5rem;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  
  header h1 {
    font-size: 1.4rem;
  }
  
  header nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  
  header nav a {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .anleitung-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .hero {
    padding: 2rem 1rem;
  }
  
  .hero h1 {
    font-size: 1.6rem;
    padding: 0 0.5rem;
  }
  
  .hero p {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .hero-image {
    max-width: 200px;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .info-box {
    padding: 1rem;
  }
  
  .galerie-grid {
    grid-template-columns: 1fr;
  }
  
  .page-header h1 {
    font-size: 1.6rem;
  }
  
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }
  
  main {
    padding: 1rem 0;
  }
  
  .container {
    padding: 0 15px;
  }
}

/* Extra kleine Bildschirme */
@media (max-width: 480px) {
  header h1 {
    font-size: 1.2rem;
  }
  
  .hero h1 {
    font-size: 1.4rem;
  }
  
  .step-content h2 {
    font-size: 1.2rem;
  }
}

/* Touch-freundliche Elemente */
@media (hover: none) {
  .btn:hover {
    transform: none;
  }
  
  .galerie-item:hover {
    transform: none;
  }
  
  header nav a:active {
    background-color: rgba(255, 255, 255, 0.3);
  }
  
  .btn:active {
    background-color: var(--dark-color);
  }
}

/* Impressionen Sektion */
.impressionen-grid {
  margin-top: 1.5rem;
}

.impression-item {
  border: 3px solid var(--accent-color);
  transition: all 0.3s ease;
}

.impression-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(74, 124, 23, 0.3);
}

.impression-item img {
  object-fit: cover;
  aspect-ratio: 4/3;
}

.no-impressions {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

