/* ===== CSS VARIABLES ===== */
:root {
  --primary: #4CAF50;
  --primary-dark: #388E3C;
  --secondary: #FF6B35;
  --accent: #2196F3;
  --text: #2C3E50;
  --text-light: #6C757D;
  --bg-light: #F8F9FA;
  --white: #FFFFFF;
  --shadow: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.15);
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  min-height: 44px;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: var(--white);
  color: var(--text);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-hero {
  padding: 20px 40px;
  font-size: 1.2rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--secondary), #FF8A65);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
  color: var(--white);
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text);
  color: var(--white);
  padding: 20px;
  z-index: 10000;
  transform: translateY(100%);
  transition: var(--transition);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-buttons .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  min-height: 70px;
}

.nav-brand .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.logo-icon {
  font-size: 1.75rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ===== LANGUAGE SWITCHER ===== */
.language-switcher {
  display: flex;
  gap: 5px;
  background: var(--bg-light);
  padding: 5px;
  border-radius: 25px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border: none;
  background: transparent;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-light);
}

.lang-btn.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

.lang-btn:hover:not(.active) {
  background: rgba(76, 175, 80, 0.1);
  color: var(--primary);
}

.flag {
  font-size: 1rem;
}

/* ===== MOBILE NAVIGATION ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text);
  margin: 3px 0;
  transition: var(--transition);
  border-radius: 3px;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -2;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(44, 62, 80, 0.7));
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.5);
  color: #ffffff;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  margin-bottom: 2rem;
  opacity: 0.95;
  font-weight: 400;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
  color: #ffffff;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0 3rem 0;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-icon {
  font-size: 1.2rem;
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  border-radius: var(--border-radius);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem 1rem 2rem;
  border-bottom: 1px solid var(--bg-light);
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text);
  transform: rotate(90deg);
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
  width: calc(100% - 4rem);
  height: 6px;
  background: var(--bg-light);
  border-radius: 3px;
  margin: 1rem 2rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  width: 20%;
  transition: width 0.3s ease;
  border-radius: 3px;
}

.step-counter {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== ONBOARDING STEPS ===== */
.onboarding-step {
  padding: 0 2rem;
  display: none;
}

.onboarding-step.active {
  display: block;
}

.onboarding-step h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text);
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.option-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  background: var(--white);
  border: 2px solid var(--bg-light);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.option-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.option-btn.selected {
  border-color: var(--primary);
  background: rgba(76, 175, 80, 0.1);
  color: var(--primary);
}

.option-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* ===== ALLERGIES SECTION ===== */
.allergies-section {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px;
}

.allergy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.allergy-btn {
  padding: 8px 16px;
  background: var(--white);
  border: 2px solid var(--bg-light);
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  text-align: center;
}

.allergy-btn:hover {
  border-color: var(--primary);
}

.allergy-btn.selected {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.custom-allergy {
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: var(--border-radius);
}

.custom-allergy label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.input-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.custom-allergy input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.selected-allergies {
  margin-top: 1rem;
}

.allergy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.allergy-tag {
  background: var(--primary);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.allergy-tag button {
  background: rgba(255, 255, 255, 0.3);
  border: none;
  color: var(--white);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
}

/* ===== DETAILS SECTION ===== */
.details-grid {
  display: grid;
  gap: 1.5rem;
}

.detail-group {
  display: flex;
  flex-direction: column;
}

.detail-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text);
}

.detail-group select {
  padding: 12px;
  border: 2px solid var(--bg-light);
  border-radius: var(--border-radius);
  background: var(--white);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.detail-group select:focus {
  outline: none;
  border-color: var(--primary);
}

/* ===== EMAIL FORM ===== */
.email-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.email-form input[type="email"] {
  padding: 15px;
  border: 2px solid var(--bg-light);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.email-form input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--bg-light);
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
  transition: var(--transition);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 12px;
  font-weight: bold;
}

/* ===== MODAL FOOTER ===== */
.modal-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem;
  border-top: 1px solid var(--bg-light);
}

/* ===== SECTIONS ===== */
.section-title {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-light);
  font-size: 1.2rem;
}

/* ===== MENU PLAN ===== */
.menu-plan {
  padding: 5rem 0;
  background: var(--bg-light);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.menu-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.menu-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
  background: var(--bg-light);
}

.menu-card img:hover {
  transform: scale(1.05);
}

/* Image loading fallback */
.menu-card img[src=""], .menu-card img:not([src]) {
  background: linear-gradient(45deg, var(--bg-light), #e9ecef);
  background-size: 20px 20px;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(0,0,0,.1) 2px, rgba(0,0,0,.1) 4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

.menu-card img[src=""]:after, .menu-card img:not([src]):after {
  content: "🍽️ Bild lädt...";
}

.menu-content {
  padding: 1.5rem;
}

.menu-content h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.menu-content p {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

.menu-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== PRICING ===== */
.pricing {
  padding: 5rem 0;
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: var(--white);
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.price {
  margin-bottom: 2rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
}

.price-period {
  color: var(--text-light);
  font-size: 1rem;
}

.features-list {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.features-list li {
  padding: 0.5rem 0;
  color: var(--text-light);
}

.pricing-footer {
  text-align: center;
}

.pricing-footer p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.faq-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.faq-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.faq-links a:hover {
  text-decoration: underline;
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--text);
}

.feature-card p {
  color: var(--text-light);
}

/* ===== BLOG SECTION ===== */
.blog-section {
  padding: 5rem 0;
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

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

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.blog-content p {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-light);
}

.blog-lang {
  background: var(--bg-light);
  padding: 2px 8px;
  border-radius: 12px;
}

.blog-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Blog Modal Styles */
.blog-modal-content {
  max-width: 800px;
  max-height: 85vh;
}

.blog-modal-body {
  padding: 2rem;
  max-height: 70vh;
  overflow-y: auto;
}

.blog-post-content h3 {
  color: var(--primary);
  margin: 2rem 0 1rem 0;
  font-size: 1.4rem;
}

.blog-post-content h4 {
  color: var(--text);
  margin: 1.5rem 0 0.5rem 0;
  font-size: 1.2rem;
}

.blog-post-content ul, .blog-post-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.blog-post-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.tip-item {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 10px;
  margin: 1.5rem 0;
  border-left: 4px solid var(--primary);
}

.tip-item h4 {
  margin-top: 0;
  color: var(--primary);
}

/* ===== CHAT ASSISTANT ===== */
.chat-assistant {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.chat-bubble {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-hover);
  transition: var(--transition);
  position: relative;
  animation: pulse 2s infinite;
}

.chat-bubble:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: var(--shadow-hover);
  }
  50% {
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.4);
  }
}

.chat-icon {
  font-size: 1.5rem;
  color: var(--white);
}

.chat-tooltip {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: var(--text);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  pointer-events: none;
}

.chat-bubble:hover .chat-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  max-height: 500px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-hover);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.9);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.chat-window.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.chat-header {
  background: var(--primary);
  color: var(--white);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.chat-messages {
  flex: 1;
  padding: 1rem;
  max-height: 300px;
  overflow-y: auto;
}

.chat-message {
  margin-bottom: 1rem;
  padding: 10px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.chat-message.bot {
  background: var(--bg-light);
  color: var(--text);
}

.chat-message.user {
  background: var(--primary);
  color: var(--white);
  margin-left: 20px;
}

.chat-input-container {
  padding: 1rem;
  border-top: 1px solid var(--bg-light);
  display: flex;
  gap: 10px;
}

.chat-input-container input {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--bg-light);
  border-radius: 20px;
  outline: none;
}

.chat-input-container button {
  padding: 10px 20px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  color: var(--white);
  padding: 3rem 0 1rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.footer-column h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-column a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
}

.admin-access {
  position: absolute;
  bottom: 0;
  right: 0;
}

/* ===== LEGAL PAGES STYLES ===== */
.legal-content {
  padding: 2rem 0 4rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  min-height: 100vh;
}

.legal-wrapper {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
}

.legal-hero {
  text-align: center;
  padding: 3rem 0;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 3rem;
}

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

.legal-intro {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.legal-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.legal-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(76, 175, 80, 0.1);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
}

.legal-content-main {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.legal-content-main h2 {
  color: var(--primary);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-top: 2rem;
  border-top: 3px solid var(--bg-light);
  font-size: 1.8rem;
}

.legal-content-main h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-footer {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.legal-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  background: rgba(76, 175, 80, 0.1);
  transition: var(--transition);
}

.legal-links a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* ===== UTILITY CLASSES ===== */
.hidden {
  display: none !important;
}

.show {
  display: block !important;
}

.text-center {
  text-align: center;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .language-switcher {
    order: -1;
    flex: 1;
    justify-content: center;
  }

  .hero {
    min-height: 80vh;
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .trust-badges {
    flex-direction: column;
    gap: 1rem;
  }

  .btn-hero {
    padding: 16px 32px;
    font-size: 1.1rem;
  }

  .modal-content {
    margin: 10px;
    max-height: calc(100vh - 20px);
  }

  .modal-header,
  .modal-footer {
    padding: 1.5rem;
  }

  .onboarding-step {
    padding: 0 1.5rem;
  }

  .options-grid {
    grid-template-columns: 1fr;
  }

  .allergy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-footer {
    flex-direction: column-reverse;
  }

  .modal-footer .btn {
    width: 100%;
  }

  .menu-grid,
  .pricing-grid,
  .features-grid,
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pricing-card.featured {
    transform: none;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .chat-window {
    width: calc(100vw - 40px);
    right: -10px;
  }

  .faq-links {
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .legal-content-main {
    padding: 2rem 1rem;
  }

  .legal-hero {
    padding: 2rem 1rem;
  }

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

  .legal-links {
    flex-direction: column;
    gap: 1rem;
  }

  .blog-modal-content {
    margin: 10px;
    max-height: calc(100vh - 20px);
  }

  .blog-modal-body {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .btn-hero {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .allergy-grid {
    grid-template-columns: 1fr;
  }

  .trust-badges {
    gap: 0.5rem;
  }

  .trust-badge {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .header,
  .chat-assistant,
  .cookie-consent {
    display: none;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  * {
    box-shadow: none !important;
  }
}

/* ===== EMAIL EXAMPLE SECTION ===== */
.email-example {
  padding: 5rem 0;
  background: var(--bg-light);
}

.email-preview {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
}

.email-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 2rem;
}

.email-sender {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sender-avatar {
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem;
  border-radius: 50%;
}

.sender-info {
  display: flex;
  flex-direction: column;
}

.sender-info strong {
  font-size: 1.1rem;
}

.sender-info span {
  opacity: 0.9;
  font-size: 0.9rem;
}

.email-subject {
  font-size: 1.3rem;
  font-weight: 600;
}

.email-body {
  padding: 2rem;
  line-height: 1.6;
}

.plan-summary {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 10px;
  margin: 1.5rem 0;
}

.plan-summary h4 {
  color: var(--primary);
  margin-bottom: 1rem;
}

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

.plan-summary li {
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.plan-summary li:last-child {
  border-bottom: none;
}

.weekly-plan {
  margin: 2rem 0;
}

.weekly-plan h4 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.plan-days {
  display: grid;
  gap: 0.5rem;
}

.plan-day {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 8px;
}

.plan-day strong {
  color: var(--primary);
  font-size: 0.9rem;
}

.plan-day span {
  color: var(--text);
}

.plan-day small {
  color: var(--text-light);
  font-size: 0.8rem;
}

.shopping-list {
  margin: 2rem 0;
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
}

.shopping-list h4 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.shopping-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.shopping-category h5 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

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

.shopping-category li {
  padding: 0.2rem 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.total-cost {
  text-align: center;
  padding: 1rem;
  background: rgba(76, 175, 80, 0.1);
  border-radius: 8px;
  color: var(--primary);
}

.email-cta {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
}

.email-cta h3, .email-cta h4 {
  color: var(--primary);
}

.email-cta ol {
  margin: 1rem 0;
}

.email-cta li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.email-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.example-note {
  max-width: 800px;
  margin: 2rem auto 0 auto;
  padding: 1.5rem;
  background: rgba(255, 107, 53, 0.1);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--secondary);
  text-align: center;
}

.example-note p {
  margin: 0;
  color: var(--text);
}

/* FAQ Modal Styles */
.faq-content h3 {
  color: var(--primary);
  margin: 2rem 0 1rem 0;
  font-size: 1.3rem;
}

.faq-content h3:first-child {
  margin-top: 0;
}

.faq-content h4 {
  color: var(--primary);
  margin: 1.5rem 0 0.5rem 0;
}

.faq-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.faq-content li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.faq-content p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .email-header, .email-body {
    padding: 1.5rem;
  }
  
  .plan-day {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.5rem;
  }
  
  .shopping-categories {
    grid-template-columns: 1fr;
  }
  
  .email-buttons {
    flex-direction: column;
  }
}
