/* Modernes Design mit CSS-Variablen */
:root {
  --primary: #e74c3c;
  --secondary: #2c3e50;
  --accent: #f39c12;
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --card-bg: rgba(255, 255, 255, 0.95);
  --text-primary: #2d3436;
  --text-secondary: #636e72;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  --radius: 20px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-gradient);
  min-height: 100vh;
  padding: 20px;
  color: var(--text-primary);
  line-height: 1.6;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  backdrop-filter: blur(10px);
}

/* Header mit Animation */
header {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeInDown 0.6s ease-out;
}

h1 {
  font-size: 2.8em;
  color: var(--secondary);
  margin-bottom: 10px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

h1 span {
  display: inline-block;
  animation: bounceIn 0.8s ease-out;
}

/* Rezept-Karten */
.recipe-section {
  margin-bottom: 30px;
  animation: fadeInUp 0.6s ease-out;
}

.recipe-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 5px solid var(--primary);
}

.recipe-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.recipe-card h2 {
  color: var(--secondary);
  font-size: 1.6em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Zutaten-Liste */
.ingredients-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.ingredients-list li {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 12px 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  cursor: default;
}

.ingredients-list li::before {
  content: '🥩';
  font-size: 1.2em;
}

.ingredients-list li:nth-child(2)::before { content: '🧂'; }
.ingredients-list li:nth-child(3)::before { content: '🍬'; }
.ingredients-list li:nth-child(4)::before { content: '🌶️'; }
.ingredients-list li:nth-child(5)::before { content: '🥜'; }
.ingredients-list li:nth-child(6)::before { content: '🧄'; }
.ingredients-list li:nth-child(7)::before { content: '✨'; }

.ingredients-list li:hover {
  background: linear-gradient(135deg, #fff5f5 0%, #ffeaea 100%);
  transform: scale(1.02);
}

/* Anleitung-Schritte */
.steps-list {
  list-style: none;
  counter-reset: step-counter;
}

.steps-list li {
  position: relative;
  padding-left: 50px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 12px;
  padding: 16px;
  border-left: 4px solid var(--accent);
  transition: all 0.3s ease;
}

.steps-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em;
}

.steps-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Profi-Tipps */
.tips-section {
  background: linear-gradient(135deg, #fff9f9 0%, #ffffff 100%);
  border-radius: 15px;
  padding: 25px;
  border-left: 5px solid var(--accent);
}

.tips-list {
  list-style: none;
}

.tips-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  background: white;
  border-radius: 8px;
  padding: 12px;
  transition: all 0.3s ease;
}

.tips-list li::before {
  content: '💡';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
}

.tips-list li:hover {
  background: #f8f9fa;
  transform: translateX(3px);
}

/* Footer */
footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.1);
  color: var(--text-secondary);
}

/* Animationen */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 20px;
  }

  h1 {
    font-size: 2em;
  }

  .recipe-card {
    padding: 20px;
  }
}
