/* ============================================
   ALPENMARKT FRISCH - GEOMETRIC STRUCTURED DESIGN
   Design Style: Geometric shapes, structured grids, angular fonts, precise layouts
   ============================================ */

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */

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

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

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  line-height: 1.7;
  color: #2c2c2c;
  background-color: #fafafa;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul, ol {
  list-style-position: inside;
}

/* ============================================
   GEOMETRIC TYPOGRAPHY - ANGULAR & STRUCTURED
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

h1 {
  font-size: 48px;
  margin-bottom: 24px;
}

h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

h4 {
  font-size: 18px;
  margin-bottom: 16px;
}

p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
}

strong {
  font-weight: 700;
  color: #8B4513;
}

/* ============================================
   GEOMETRIC CONTAINER SYSTEM
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ============================================
   GEOMETRIC HEADER - ANGULAR STRUCTURE
   ============================================ */

header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 900;
  border-bottom: 4px solid #8B4513;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
  filter: brightness(1.1) contrast(1.1);
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  color: #F4E4C1;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a:focus {
  color: #fff;
  border-bottom-color: #8B4513;
  transform: translateY(-2px);
}

/* ============================================
   MOBILE MENU - GEOMETRIC SLIDE-IN
   ============================================ */

.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 1000;
  background: #8B4513;
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.mobile-menu-toggle:hover {
  background: #6d3410;
  transform: scale(1.05);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: linear-gradient(180deg, #1a1a1a 0%, #2c2c2c 100%);
  z-index: 1100;
  padding: 80px 32px 32px;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
  border-left: 4px solid #8B4513;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  color: #F4E4C1;
  border: 2px solid #8B4513;
  width: 44px;
  height: 44px;
  font-size: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.mobile-menu-close:hover {
  background: #8B4513;
  color: #fff;
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav a {
  color: #F4E4C1;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 16px 20px;
  background: rgba(139, 69, 19, 0.1);
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.mobile-nav a:hover,
.mobile-nav a:focus {
  background: rgba(139, 69, 19, 0.3);
  border-left-color: #8B4513;
  color: #fff;
  transform: translateX(8px);
}

/* ============================================
   GEOMETRIC HERO SECTION - ANGULAR LAYOUT
   ============================================ */

.hero {
  background: linear-gradient(135deg, #2D5016 0%, #1a3a0f 100%);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  border-bottom: 8px solid #8B4513;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, transparent 48%, rgba(139, 69, 19, 0.1) 49%, rgba(139, 69, 19, 0.1) 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(139, 69, 19, 0.1) 49%, rgba(139, 69, 19, 0.1) 51%, transparent 52%);
  background-size: 60px 60px;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  color: #F4E4C1;
  font-size: 48px;
  margin-bottom: 24px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.hero-subtitle {
  color: #F4E4C1;
  font-size: 18px;
  margin-bottom: 32px;
  line-height: 1.7;
  font-weight: 400;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ============================================
   GEOMETRIC BUTTONS - ANGULAR DESIGN
   ============================================ */

.btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  position: relative;
}

.btn-primary {
  background: #8B4513;
  color: #fff;
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.4);
}

.btn-primary:hover {
  background: #6d3410;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 69, 19, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #F4E4C1;
  border: 2px solid #F4E4C1;
  box-shadow: 0 4px 12px rgba(244, 228, 193, 0.2);
}

.btn-secondary:hover {
  background: #F4E4C1;
  color: #2D5016;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(244, 228, 193, 0.4);
}

.btn-link {
  color: #8B4513;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  padding: 8px 16px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.btn-link:hover {
  border-bottom-color: #8B4513;
  transform: translateX(4px);
}

/* ============================================
   SECTION LAYOUTS - GEOMETRIC GRID STRUCTURE
   ============================================ */

.section {
  margin-bottom: 60px;
  padding: 60px 20px;
}

.intro,
.story,
.mission,
.box-intro,
.seasonal,
.guarantee,
.quality,
.visit,
.visit-experience,
.events,
.sustainability,
.opening-hours,
.location,
.contact-info {
  padding: 60px 20px;
  background: #fff;
  border-left: 8px solid #8B4513;
  border-bottom: 4px solid #2D5016;
  margin-bottom: 40px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.text-section,
.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.text-section p,
.content-wrapper p {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

/* ============================================
   GEOMETRIC CARD GRIDS - STRUCTURED LAYOUTS
   ============================================ */

.category-grid,
.values-grid,
.testimonial-grid,
.pricing-grid,
.steps-grid,
.suggestions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}

.category-card,
.value-card,
.testimonial-card,
.pricing-card,
.step,
.suggestion-card,
.service-card {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
  background: #fff;
  padding: 32px;
  border: 2px solid #e0e0e0;
  border-left: 6px solid #8B4513;
  transition: all 0.3s ease;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  margin-bottom: 20px;
}

.category-card:hover,
.value-card:hover,
.suggestion-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-left-width: 8px;
}

.category-card h3,
.value-card h3,
.suggestion-card h3,
.service-card h3,
.step h3 {
  color: #8B4513;
  margin-bottom: 16px;
  font-size: 20px;
}

/* ============================================
   TESTIMONIALS - HIGH CONTRAST FOR READABILITY
   ============================================ */

.testimonials {
  padding: 60px 20px;
  background: #f5f5f5;
  border-top: 4px solid #8B4513;
  border-bottom: 4px solid #8B4513;
}

.testimonial-card {
  background: #fff;
  padding: 32px;
  border-left: 6px solid #2D5016;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
  color: #2c2c2c;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-card .author {
  color: #8B4513;
  font-weight: 700;
  font-style: normal;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   PRODUCT CATEGORIES - GEOMETRIC STRUCTURE
   ============================================ */

.products,
.producers {
  padding: 60px 20px;
}

.product-category,
.producer-profile {
  background: #fff;
  padding: 40px;
  margin-bottom: 32px;
  border: 2px solid #e0e0e0;
  border-left: 8px solid #8B4513;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  position: relative;
}

.product-category h2,
.producer-profile h2 {
  color: #2D5016;
  margin-bottom: 16px;
  font-size: 28px;
}

.location {
  color: #8B4513;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  display: block;
}

.price {
  color: #8B4513;
  font-weight: 700;
  font-size: 20px;
  margin-top: 24px;
  padding: 12px 20px;
  background: #F4E4C1;
  display: inline-block;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.product-category ul,
.producer-profile ul {
  margin: 20px 0;
  padding-left: 24px;
}

.product-category li,
.producer-profile li {
  margin-bottom: 12px;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}

/* ============================================
   PRICING CARDS - GEOMETRIC EMPHASIS
   ============================================ */

.pricing-card {
  text-align: center;
  padding: 40px 32px;
  background: #fff;
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.pricing-card.featured {
  border: 3px solid #8B4513;
  border-top-width: 8px;
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(139, 69, 19, 0.2);
}

.pricing-card h3 {
  color: #2D5016;
  margin-bottom: 16px;
  font-size: 24px;
}

.pricing-card .price {
  font-size: 36px;
  color: #8B4513;
  margin: 24px 0;
  display: block;
  font-weight: 900;
}

.pricing-card ul {
  text-align: left;
  margin-top: 24px;
  padding-left: 24px;
}

.pricing-card li {
  margin-bottom: 12px;
  color: #333;
  font-size: 15px;
}

/* ============================================
   MARKTBOX HIGHLIGHT - GEOMETRIC FEATURE
   ============================================ */

.marktbox-highlight {
  background: linear-gradient(135deg, #8B4513 0%, #6d3410 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  border-top: 8px solid #2D5016;
  border-bottom: 8px solid #2D5016;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
}

.marktbox-highlight h2 {
  color: #F4E4C1;
  font-size: 36px;
  margin-bottom: 24px;
}

.marktbox-highlight p {
  color: #F4E4C1;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

/* ============================================
   PAGE HERO - GEOMETRIC HEADER
   ============================================ */

.page-hero {
  background: linear-gradient(135deg, #2D5016 0%, #1a3a0f 100%);
  padding: 60px 20px;
  text-align: center;
  border-bottom: 6px solid #8B4513;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.page-hero h1 {
  color: #F4E4C1;
  font-size: 42px;
  margin-bottom: 16px;
}

.page-hero p {
  color: #F4E4C1;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   THANK YOU PAGE - GEOMETRIC SUCCESS
   ============================================ */

.thank-you-hero {
  background: linear-gradient(135deg, #2D5016 0%, #1a3a0f 100%);
  padding: 100px 20px;
  text-align: center;
  border-bottom: 8px solid #8B4513;
}

.thank-you-hero h1 {
  color: #F4E4C1;
  font-size: 48px;
  margin-bottom: 24px;
}

.thank-you-hero p {
  color: #F4E4C1;
  font-size: 20px;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.next-steps,
.continue,
.contact-alternatives {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

/* ============================================
   CTA SECTIONS - GEOMETRIC CALL-TO-ACTION
   ============================================ */

.cta {
  background: linear-gradient(135deg, #8B4513 0%, #6d3410 100%);
  padding: 80px 20px;
  text-align: center;
  margin-top: 60px;
  border-top: 6px solid #2D5016;
  clip-path: polygon(0 20px, 20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.cta h2 {
  color: #F4E4C1;
  font-size: 36px;
  margin-bottom: 24px;
}

.cta p {
  color: #F4E4C1;
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   LEGAL CONTENT - STRUCTURED TEXT
   ============================================ */

.legal-content {
  padding: 60px 20px;
  background: #fff;
}

.legal-content h2 {
  color: #2D5016;
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 24px;
  border-left: 6px solid #8B4513;
  padding-left: 16px;
}

.legal-content ul {
  margin: 20px 0 20px 40px;
}

.legal-content li {
  margin-bottom: 12px;
  color: #333;
  line-height: 1.7;
}

/* ============================================
   ADDRESS & HOURS - GEOMETRIC INFO BLOCKS
   ============================================ */

.hours-table,
.address-block {
  background: #F4E4C1;
  padding: 32px;
  margin: 24px 0;
  border-left: 6px solid #8B4513;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.hours-table p,
.address-block p {
  color: #2c2c2c;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
}

.note {
  font-style: italic;
  color: #666;
  font-size: 14px;
  margin-top: 16px;
}

/* ============================================
   SPECIAL SERVICES - GEOMETRIC CARDS
   ============================================ */

.special-services {
  padding: 60px 20px;
  background: #f5f5f5;
}

.service-card {
  background: #fff;
  padding: 32px;
  margin-bottom: 24px;
  border-left: 6px solid #2D5016;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

/* ============================================
   PHILOSOPHY & VALUES - GEOMETRIC LAYOUT
   ============================================ */

.philosophy,
.values {
  padding: 60px 20px;
  background: #fff;
}

.philosophy h2,
.values h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  color: #2D5016;
}

/* ============================================
   FOOTER - GEOMETRIC STRUCTURE
   ============================================ */

footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  color: #F4E4C1;
  padding: 60px 20px 24px;
  border-top: 8px solid #8B4513;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1 1 250px;
  min-width: 200px;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(1.2);
}

.footer-section h4 {
  color: #F4E4C1;
  margin-bottom: 16px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #8B4513;
  padding-bottom: 8px;
}

.footer-section p {
  color: #d0d0d0;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  color: #d0d0d0;
  font-size: 14px;
  transition: all 0.3s ease;
  padding-left: 8px;
  border-left: 2px solid transparent;
}

.footer-nav a:hover {
  color: #F4E4C1;
  border-left-color: #8B4513;
  padding-left: 12px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 228, 193, 0.2);
}

.footer-bottom p {
  color: #999;
  font-size: 14px;
}

/* ============================================
   COOKIE CONSENT BANNER - GEOMETRIC FIXED
   ============================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  padding: 24px;
  z-index: 950;
  border-top: 4px solid #8B4513;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-text {
  flex: 1 1 400px;
  color: #F4E4C1;
  font-size: 14px;
  line-height: 1.6;
}

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

.cookie-btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.cookie-accept {
  background: #8B4513;
  color: #fff;
}

.cookie-accept:hover {
  background: #6d3410;
  transform: translateY(-2px);
}

.cookie-reject {
  background: transparent;
  color: #F4E4C1;
  border: 2px solid #F4E4C1;
}

.cookie-reject:hover {
  background: #F4E4C1;
  color: #1a1a1a;
}

.cookie-settings {
  background: transparent;
  color: #F4E4C1;
  border: 2px solid #8B4513;
}

.cookie-settings:hover {
  background: #8B4513;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal-content {
  background: #fff;
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  border: 4px solid #8B4513;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.cookie-modal h3 {
  color: #2D5016;
  margin-bottom: 24px;
  font-size: 24px;
}

.cookie-category {
  padding: 20px;
  margin-bottom: 16px;
  background: #f5f5f5;
  border-left: 4px solid #8B4513;
}

.cookie-category h4 {
  color: #2c2c2c;
  margin-bottom: 8px;
  font-size: 16px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.toggle-switch {
  width: 50px;
  height: 26px;
  background: #ccc;
  position: relative;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition: background 0.3s ease;
}

.toggle-switch.active {
  background: #8B4513;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: #fff;
  top: 3px;
  left: 3px;
  transition: left 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.toggle-switch.active::after {
  left: 27px;
}

.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ============================================ */

@media (max-width: 768px) {
  /* Mobile menu visibility */
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-nav {
    display: none;
  }
  
  /* Typography scaling */
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .page-hero h1 {
    font-size: 28px;
  }
  
  /* Grid adjustments */
  .category-grid,
  .values-grid,
  .testimonial-grid,
  .pricing-grid,
  .steps-grid,
  .suggestions-grid {
    flex-direction: column;
    gap: 20px;
  }
  
  .category-card,
  .value-card,
  .testimonial-card,
  .pricing-card,
  .step,
  .suggestion-card {
    flex: 1 1 100%;
    min-width: 100%;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  /* Button adjustments */
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  /* Footer adjustments */
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }
  
  .footer-section {
    flex: 1 1 100%;
  }
  
  /* Cookie banner mobile */
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  /* Padding adjustments */
  .hero,
  .page-hero,
  .section,
  .products,
  .producers {
    padding: 40px 16px;
  }
  
  .product-category,
  .producer-profile {
    padding: 24px;
  }
  
  /* Cookie modal mobile */
  .cookie-modal-content {
    padding: 24px;
  }
  
  .cookie-modal-buttons {
    flex-direction: column;
  }
  
  .cookie-modal-buttons .cookie-btn {
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Tablet adjustments */
  .category-card,
  .value-card,
  .suggestion-card {
    flex: 1 1 calc(50% - 24px);
  }
  
  .testimonial-card,
  .pricing-card {
    flex: 1 1 calc(50% - 24px);
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* ============================================
   ACCESSIBILITY & FOCUS STATES
   ============================================ */

*:focus {
  outline: 2px solid #8B4513;
  outline-offset: 2px;
}

a:focus,
button:focus {
  outline: 3px solid #8B4513;
  outline-offset: 3px;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-banner,
  .cookie-modal {
    display: none !important;
  }
  
  header {
    position: static;
  }
  
  .hero {
    page-break-after: always;
  }
}

/* ============================================
   ANIMATIONS & TRANSITIONS
   ============================================ */

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

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}