/* ============================================
   BUCHREIF LEIPZIG - VINTAGE RETRO STYLES
   Vintage and retro-inspired design
   ============================================ */

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

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

body {
  font-family: 'Lora', 'Georgia', serif;
  font-size: 18px;
  line-height: 1.8;
  color: #3a3a3a;
  background: #f5f1e8;
  overflow-x: hidden;
}

/* VINTAGE RETRO COLOR PALETTE */
:root {
  --vintage-green: #2C5F4D;
  --vintage-tan: #8B6F47;
  --vintage-cream: #E8DCC4;
  --vintage-paper: #f5f1e8;
  --vintage-ink: #3a3a3a;
  --vintage-rust: #a65e42;
  --vintage-mustard: #d4a843;
  --vintage-sage: #9db89a;
  --vintage-sepia: #705847;
}

/* TYPOGRAPHY - VINTAGE FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', 'Georgia', serif;
  font-weight: 700;
  color: var(--vintage-ink);
  line-height: 1.3;
  margin-bottom: 20px;
}

h1 {
  font-size: 48px;
  letter-spacing: -0.5px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

h2 {
  font-size: 36px;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 22px;
}

p {
  margin-bottom: 16px;
}

a {
  color: var(--vintage-green);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--vintage-rust);
  text-decoration: underline;
}

/* CONTAINER & LAYOUT */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

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

/* HEADER - VINTAGE STYLE */
header {
  background: linear-gradient(135deg, var(--vintage-green) 0%, var(--vintage-sepia) 100%);
  padding: 20px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  position: static;
  top: 0;
  z-index: 999;
  border-bottom: 3px solid var(--vintage-tan);
}

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

.logo img {
  height: 60px;
  width: auto;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05) rotate(-2deg);
}

/* MAIN NAVIGATION - VINTAGE */
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--vintage-cream);
  font-size: 16px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
  font-family: 'Merriweather', serif;
}

.main-nav a:hover {
  background: rgba(232, 220, 196, 0.15);
  border-color: var(--vintage-cream);
  transform: translateY(-2px);
  text-decoration: none;
}

/* MOBILE MENU TOGGLE BUTTON */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: var(--vintage-green);
  color: var(--vintage-cream);
  border: 3px solid var(--vintage-tan);
  border-radius: 8px;
  width: 50px;
  height: 50px;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: var(--vintage-rust);
  transform: rotate(90deg);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background: linear-gradient(180deg, var(--vintage-green) 0%, var(--vintage-sepia) 100%);
  z-index: 1000;
  padding: 80px 30px 30px;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: -4px 0 20px rgba(0,0,0,0.4);
  overflow-y: auto;
  border-left: 4px solid var(--vintage-tan);
}

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

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--vintage-rust);
  color: var(--vintage-cream);
  border: 2px solid var(--vintage-cream);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.mobile-menu-close:hover {
  background: var(--vintage-cream);
  color: var(--vintage-rust);
  transform: rotate(90deg);
}

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

.mobile-nav a {
  color: var(--vintage-cream);
  font-size: 20px;
  font-weight: 600;
  padding: 16px 20px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  border: 2px solid var(--vintage-tan);
  transition: all 0.3s ease;
  text-align: center;
  font-family: 'Merriweather', serif;
}

.mobile-nav a:hover {
  background: var(--vintage-cream);
  color: var(--vintage-green);
  transform: translateX(10px);
}

/* HERO SECTION - VINTAGE POSTER STYLE */
.hero {
  background: linear-gradient(135deg, var(--vintage-green) 0%, var(--vintage-tan) 100%);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid var(--vintage-rust);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0,0,0,0.03) 10px,
    rgba(0,0,0,0.03) 20px
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--vintage-cream);
  font-size: 56px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: 22px;
  color: var(--vintage-cream);
  margin-bottom: 40px;
  line-height: 1.6;
  font-style: italic;
}

.trust-badge {
  font-size: 18px;
  color: var(--vintage-mustard);
  font-weight: 700;
  margin-top: 30px;
  padding: 12px 24px;
  background: rgba(0,0,0,0.2);
  border-radius: 50px;
  display: inline-block;
  border: 2px dashed var(--vintage-cream);
}

/* BUTTONS - VINTAGE STYLE */
.btn {
  display: inline-block;
  padding: 16px 36px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 3px solid transparent;
  font-family: 'Merriweather', serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-primary {
  background: var(--vintage-rust);
  color: var(--vintage-cream);
  border-color: var(--vintage-sepia);
}

.btn-primary:hover {
  background: var(--vintage-green);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--vintage-cream);
  border-color: var(--vintage-cream);
}

.btn-secondary:hover {
  background: var(--vintage-cream);
  color: var(--vintage-green);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--vintage-green);
  border-color: var(--vintage-green);
}

.btn-outline:hover {
  background: var(--vintage-green);
  color: var(--vintage-cream);
  text-decoration: none;
}

.btn-small {
  padding: 10px 24px;
  font-size: 16px;
}

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

/* CARDS - VINTAGE POSTCARD STYLE */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.benefit-card,
.review-card,
.service-card,
.testimonial-card,
.event-card,
.collection-card,
.mood-card,
.theme-card {
  background: var(--vintage-cream);
  padding: 28px;
  border-radius: 8px;
  border: 3px solid var(--vintage-tan);
  box-shadow: 4px 4px 0px var(--vintage-rust);
  transition: all 0.3s ease;
  margin-bottom: 20px;
  position: relative;
}

.benefit-card:hover,
.review-card:hover,
.service-card:hover,
.event-card:hover,
.collection-card:hover,
.mood-card:hover,
.theme-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--vintage-green);
}

.testimonial-card {
  background: var(--vintage-paper);
  font-style: italic;
  border-left: 5px solid var(--vintage-rust);
}

.testimonial-card .quote {
  font-size: 20px;
  line-height: 1.7;
  color: var(--vintage-ink);
  margin-bottom: 16px;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--vintage-sepia);
  text-align: right;
  font-style: normal;
}

/* GRIDS - FLEXBOX ONLY */
.benefits-grid,
.reviews-grid,
.services-grid,
.testimonials-grid,
.events-grid,
.collections-grid,
.moods-grid,
.themes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.benefits-grid > *,
.services-grid > *,
.moods-grid > * {
  flex: 1 1 calc(50% - 12px);
  min-width: 280px;
}

.reviews-grid > *,
.events-grid > *,
.collections-grid > *,
.themes-grid > * {
  flex: 1 1 calc(33.333% - 16px);
  min-width: 280px;
}

.testimonials-grid > * {
  flex: 1 1 calc(50% - 12px);
  min-width: 300px;
}

/* SECTION STYLES */
.value-proposition,
.featured-reviews,
.services-overview,
.testimonials,
.events-preview {
  padding: 60px 20px;
  margin-bottom: 40px;
}

.value-proposition {
  background: var(--vintage-sage);
  border-top: 4px solid var(--vintage-green);
  border-bottom: 4px solid var(--vintage-green);
}

.featured-reviews {
  background: var(--vintage-paper);
}

.services-overview {
  background: var(--vintage-cream);
}

.testimonials {
  background: linear-gradient(135deg, var(--vintage-tan) 0%, var(--vintage-mustard) 100%);
  color: var(--vintage-cream);
}

.testimonials h2 {
  color: var(--vintage-cream);
}

/* RATINGS & TAGS */
.rating {
  color: var(--vintage-mustard);
  font-size: 20px;
  margin: 8px 0;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.genre-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.tag {
  background: var(--vintage-green);
  color: var(--vintage-cream);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--vintage-tan);
}

/* PRICE DISPLAY */
.price,
.price-display {
  font-size: 32px;
  font-weight: 700;
  color: var(--vintage-rust);
  margin: 20px 0;
  font-family: 'Merriweather', serif;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, var(--vintage-tan) 0%, var(--vintage-sepia) 100%);
  padding: 60px 20px 40px;
  text-align: center;
  border-bottom: 4px solid var(--vintage-rust);
}

.page-hero h1 {
  color: var(--vintage-cream);
  margin-bottom: 16px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-hero p {
  color: var(--vintage-cream);
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto;
}

/* BREADCRUMB */
.breadcrumb {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--vintage-cream);
}

.breadcrumb a {
  color: var(--vintage-cream);
  text-decoration: underline;
}

/* FORMS - VINTAGE STYLE */
.field-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.field-group label {
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--vintage-ink);
  font-size: 18px;
}

input[type="text"],
input[type="email"],
textarea,
select {
  padding: 14px 18px;
  border: 3px solid var(--vintage-tan);
  border-radius: 6px;
  font-size: 16px;
  font-family: 'Lora', serif;
  background: var(--vintage-cream);
  color: var(--vintage-ink);
  transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--vintage-green);
  box-shadow: 0 0 0 3px rgba(44, 95, 77, 0.2);
}

.field-group.checkbox {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.field-group.checkbox input {
  width: 24px;
  height: 24px;
}

/* FILTERS */
.filters {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 30px 20px;
  background: var(--vintage-cream);
  border-radius: 8px;
  border: 3px solid var(--vintage-tan);
  margin-bottom: 40px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-group label {
  font-weight: 700;
  font-size: 16px;
}

/* FOOTER - VINTAGE */
footer {
  background: linear-gradient(135deg, var(--vintage-sepia) 0%, var(--vintage-green) 100%);
  color: var(--vintage-cream);
  padding: 60px 20px 20px;
  border-top: 5px solid var(--vintage-rust);
}

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

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

.footer-section h4 {
  color: var(--vintage-mustard);
  font-size: 22px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-nav a {
  color: var(--vintage-cream);
  font-size: 16px;
  transition: all 0.3s ease;
  padding-left: 0;
  position: relative;
}

.footer-nav a:hover {
  color: var(--vintage-mustard);
  padding-left: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 2px solid rgba(232, 220, 196, 0.3);
  color: var(--vintage-cream);
}

/* COOKIE CONSENT BANNER */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--vintage-green) 0%, var(--vintage-sepia) 100%);
  color: var(--vintage-cream);
  padding: 24px;
  z-index: 9999;
  border-top: 4px solid var(--vintage-rust);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

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

.cookie-text {
  flex: 1 1 400px;
  font-size: 16px;
}

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

.cookie-buttons button {
  padding: 12px 24px;
  border: 2px solid var(--vintage-cream);
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Merriweather', serif;
}

.cookie-accept {
  background: var(--vintage-rust);
  color: var(--vintage-cream);
}

.cookie-accept:hover {
  background: var(--vintage-cream);
  color: var(--vintage-rust);
}

.cookie-decline,
.cookie-settings {
  background: transparent;
  color: var(--vintage-cream);
}

.cookie-decline:hover,
.cookie-settings:hover {
  background: rgba(232, 220, 196, 0.2);
}

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

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

.cookie-modal-content {
  background: var(--vintage-paper);
  padding: 40px;
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  border: 4px solid var(--vintage-green);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.cookie-category {
  margin-bottom: 20px;
  padding: 16px;
  background: var(--vintage-cream);
  border-radius: 6px;
  border: 2px solid var(--vintage-tan);
}

.cookie-category label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* TEXT-IMAGE SECTIONS */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  padding: 40px;
  background: var(--vintage-cream);
  border-radius: 8px;
  border: 3px solid var(--vintage-tan);
}

.text-image-section > * {
  flex: 1 1 300px;
}

/* TRUST INDICATORS */
.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.indicator {
  text-align: center;
  padding: 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  border: 2px dashed var(--vintage-cream);
}

.indicator strong {
  display: block;
  font-size: 36px;
  color: var(--vintage-mustard);
  font-family: 'Merriweather', serif;
  margin-bottom: 8px;
}

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.pagination button {
  padding: 12px 24px;
  background: var(--vintage-green);
  color: var(--vintage-cream);
  border: 2px solid var(--vintage-tan);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s ease;
}

.pagination button:hover {
  background: var(--vintage-rust);
  transform: translateY(-2px);
}

/* THANK YOU PAGE */
.thank-you-content {
  text-align: center;
  max-width: 800px;
  margin: 60px auto;
  padding: 60px 40px;
  background: var(--vintage-cream);
  border-radius: 12px;
  border: 4px solid var(--vintage-green);
  box-shadow: 8px 8px 0px var(--vintage-rust);
}

.icon-success {
  width: 100px;
  height: 100px;
  background: var(--vintage-green);
  color: var(--vintage-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  margin: 0 auto 30px;
  border: 5px solid var(--vintage-rust);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* LEGAL PAGES */
.legal-page {
  padding: 40px 20px;
  background: var(--vintage-paper);
}

.legal-page h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--vintage-green);
  border-bottom: 3px solid var(--vintage-tan);
  padding-bottom: 10px;
}

.legal-page ul {
  margin-left: 30px;
  margin-bottom: 20px;
}

.legal-page li {
  margin-bottom: 12px;
}

/* RESPONSIVE - MOBILE FIRST */
@media (max-width: 768px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
  
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .benefits-grid > *,
  .services-grid > *,
  .reviews-grid > *,
  .testimonials-grid > *,
  .events-grid > *,
  .collections-grid > *,
  .moods-grid > *,
  .themes-grid > * {
    flex: 1 1 100%;
  }
  
  .text-image-section {
    flex-direction: column;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
  
  .header-content {
    justify-content: center;
  }
  
  .logo {
    margin: 0 auto;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .benefits-grid > *,
  .services-grid > *,
  .moods-grid > * {
    flex: 1 1 calc(50% - 12px);
  }
  
  .reviews-grid > *,
  .events-grid > *,
  .collections-grid > * {
    flex: 1 1 calc(50% - 12px);
  }
}

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

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

/* ACCESSIBILITY */
:focus {
  outline: 3px solid var(--vintage-mustard);
  outline-offset: 2px;
}

button:focus,
a:focus {
  outline: 3px solid var(--vintage-mustard);
}

/* PRINT STYLES */
@media print {
  header,
  footer,
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-consent {
    display: none;
  }
}
section {
  padding: 20px 0;
}