/* Base */
:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #666666;
  --border: #eaeaea;
  --brand: #2c1810; /* Tiefes Braun für Luxus */
  --accent: #c9a961; /* Warmes Gold */
  --accent-2: #b08968;
  --accent-gold: #d4af37; /* Klassisches Gold */
  --accent-rose: #d4a5a5; /* Zartes Rosa */
  --accent-cream: #f5f0e8; /* Cremiges Beige */
  --accent-deep: #8b4513; /* Tiefes Sattelbraun */
  --card: #faf9f7;
  --luxury-gold: #b8860b; /* Dunkles Gold */
  --luxury-rose: #e8d5d5; /* Elegantes Rosa */
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
  /* Verstecke Body bis Übersetzungen geladen sind */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.1s ease-in;
}
body.i18n-loaded,
body.no-js {
  visibility: visible;
  opacity: 1;
}
/* Fallback: Wenn JavaScript deaktiviert ist, zeige Body nach kurzer Zeit */
.no-js body {
  visibility: visible;
  opacity: 1;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  margin: 0 0 0.5rem 0;
  color: var(--brand);
}

p { margin: 0 0 1rem 0; color: var(--muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, #ffffff 0%, var(--luxury-rose) 50%, #ffffff 100%);
  border-bottom: 3px solid var(--accent-gold);
  box-shadow: 0 4px 16px rgba(201, 169, 97, 0.15);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

/* Header groß (oben) - Standard */
.site-header:not(.header-small) .header-top,
.site-header.header-large .header-top {
  min-height: 140px;
  padding: 20px 0;
}
.site-header:not(.header-small) .header-sub,
.site-header.header-large .header-sub {
  padding: 12px 0;
}
.site-header:not(.header-small) .logo-img,
.site-header.header-large .logo-img {
  height: calc((140px + 20px + 24px) * 0.7);
  max-height: calc(140px + 20px + 24px - 20px);
}

/* Header klein (beim Scrollen) */
.site-header.header-small .header-top {
  min-height: 70px;
  padding: 10px 0;
}
.site-header.header-small .header-sub {
  padding: 6px 0;
}
.site-header.header-small .logo-img {
  height: calc((70px + 20px + 12px) * 0.7);
  max-height: calc(70px + 20px + 12px - 10px);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 140px;
  padding: 20px 0;
  position: relative;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 1.5rem;
  position: absolute;
  left: 20px;
  top: 0;
  height: 100%;
  padding: 0;
  transition: transform 0.2s ease;
  color: var(--brand);
  z-index: 1;
  pointer-events: none;
}
.brand:hover {
  transform: scale(1.02);
}
.brand a {
  pointer-events: all;
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: center;
}
.logo-img {
  height: calc((140px + 20px + 24px) * 0.7);
  max-height: calc(140px + 20px + 24px - 20px);
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(201, 169, 97, 0.2));
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  object-fit: contain;
}
.brand-text {
  display: none;
}
.brand:hover .logo-img {
  filter: drop-shadow(0 4px 12px rgba(201, 169, 97, 0.3));
}
/* Text standardmäßig anzeigen als Fallback */
.brand-text {
  display: inline-block;
  color: var(--brand);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
}

.main-nav {
  position: relative;
  z-index: 20;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav a {
  color: var(--brand);
  font-weight: 600;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  transition: color 0.2s ease;
  position: relative;
}
.main-nav a:hover {
  color: var(--accent-gold);
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}
.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 20;
}

.language-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  min-width: 60px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lang-btn::after {
  content: '▼';
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.language-selector.open .lang-btn::after {
  transform: rotate(180deg);
}

.lang-btn:hover {
  color: var(--accent-gold);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: transparent;
  border: none;
  min-width: 60px;
  display: none;
  z-index: 100;
}

.language-selector.open .lang-dropdown {
  display: block;
}

.lang-option {
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  width: 100%;
  text-align: left;
  display: block;
}

.lang-option:hover {
  background: var(--accent-gold);
  color: #fff;
}

.lang-option.active {
  background: var(--accent-gold);
  color: #fff;
}

.instagram-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 38px;
  padding: 8px 16px;
  border: none;
  background: transparent;
  transition: all 0.3s ease;
}

.instagram-link:hover {
  transform: scale(1.05);
}

.instagram-link svg {
  width: 24px;
  height: 24px;
}

.cart-link {
  border: 2px solid var(--accent-gold);
  padding: 8px 16px;
  color: var(--accent-gold);
  font-weight: 600;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.05em;
  position: relative;
  z-index: 20;
}
.cart-link:hover {
  background: var(--accent-gold);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 0;
  gap: 4px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 20;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}

.header-sub {
  border-top: 2px solid var(--accent-cream);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 12px 0;
}

.category-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 6px 0;
  color: var(--muted);
  justify-content: center;
}
.category-nav a {
  padding: 8px 14px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  color: var(--muted);
  position: relative;
  font-weight: 600;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.category-nav a::after,
.category-nav a::before {
  display: none !important;
  content: none !important;
}
.category-nav a:hover {
  border-color: var(--accent-rose);
  color: var(--brand);
  background: var(--luxury-rose);
}

/* Hero */
.hero {
  padding: 40px 0 24px 0;
  background: var(--bg);
  position: relative;
  width: 100%;
  max-width: 100%;
}
.hero-inner {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 0;
}
.hero .container {
  max-width: 100%;
  padding: 0 20px;
}
.hero-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 60px 20px;
  width: 100%;
}
.hero-slide {
  display: none;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-slide.active {
  display: grid;
  animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.tag {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 6px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 700;
}
.sub { 
  font-size: 1.3rem; 
  line-height: 1.6;
  margin-bottom: 30px;
}
.hero-actions { 
  margin-top: 30px; 
  display: flex; 
  gap: 16px; 
  flex-wrap: wrap;
  justify-content: flex-start;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 30px;
  border: 2px solid var(--accent-gold);
  font-weight: 600;
  color: var(--brand);
  background: #fff;
  letter-spacing: 0.05em;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  font-size: 1rem;
}
.btn:hover {
  background: var(--accent-gold);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 169, 97, 0.25);
}
.btn.primary {
  border-color: var(--accent-gold);
  background: var(--accent-gold);
  color: #fff;
}
.btn.primary:hover {
  background: var(--luxury-gold);
  border-color: var(--luxury-gold);
  box-shadow: 0 4px 16px rgba(184, 134, 11, 0.35);
}
.btn.small { height: 36px; padding: 0 12px; font-size: 0.9rem; }

.hero-media {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-image {
  max-width: 700px;
  max-height: 600px;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 3px solid var(--accent-gold);
  box-shadow: 0 12px 40px rgba(201, 169, 97, 0.25);
  display: none;
}
.hero-image.active {
  display: block;
}
.hero-title {
  font-size: 2rem;
  margin: 10px 0;
  color: var(--brand);
  font-family: "Playfair Display", Georgia, serif;
}
.hero-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.hero-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}
.hero-indicator.active {
  background: #000;
  width: 12px;
  height: 12px;
}

/* Occasion */
.occasion {
  padding: 24px 0 12px 0;
}
.occasion h2 {
  font-size: 1.8rem;
}
.section-sub {
  margin-top: 6px;
  margin-bottom: 18px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  display: block;
  border: 2px solid var(--accent-cream);
  background: var(--card);
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.2);
  border-color: var(--accent-gold);
}
.card-media {
  width: 100%;
  aspect-ratio: 4/3;
  background: #efe8e2;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.card:hover .card-media img {
  transform: scale(1.05);
}
.card-body {
  padding: 12px;
}
.card-body p {
  margin: 4px 0 0 0;
  font-size: 0.95rem;
}

/* Featured */
.featured { padding: 24px 0; }
.featured-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}
.link { 
  color: var(--accent-gold); 
  font-weight: 600; 
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.02em;
}
.link:hover {
  color: var(--luxury-gold);
  text-decoration-color: var(--luxury-gold);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.product-grid.scrollable {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 16px;
  padding-bottom: 10px;
}
.product-grid.scrollable::-webkit-scrollbar {
  display: none;
}
.product-grid.scrollable .product {
  flex: 0 0 calc(25% - 12px);
  min-width: 250px;
}
.category-section {
  padding: 40px 0;
}
.products {
  padding: 40px 0;
}
.category-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.category-header h2 {
  font-size: 2rem;
  margin: 0;
}
.category-products-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.scroll-arrow {
  position: absolute;
  z-index: 10;
  background: var(--accent-gold);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.scroll-arrow:hover {
  background: var(--luxury-gold);
  transform: scale(1.1);
}
.scroll-arrow.scroll-left {
  left: -20px;
}
.scroll-arrow.scroll-right {
  right: -20px;
}
.scroll-arrow svg {
  width: 20px;
  height: 20px;
}
.hauptseite-section {
  padding: 40px 0;
}

/* Größere Produktbilder auf Kategorieseiten */
.kategorie-page .product-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.kategorie-page .product-media {
  aspect-ratio: 4/3;
  min-height: 400px;
}

/* Mehr Einzug auf Kategorieseiten */
.kategorie-page .hero .container,
.kategorie-page .products .container {
  padding: 0 60px;
}
.product {
  display: block;
  border: 2px solid var(--accent-cream);
  overflow: hidden;
  background: #fff;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.2);
  border-color: var(--accent-gold);
}
.product-media {
  width: 100%;
  aspect-ratio: 4/3;
  background: #efe8e2;
  overflow: hidden;
  position: relative;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.product-media img.active {
  opacity: 1;
  position: relative;
  z-index: 1;
}
.product:hover .product-media img.active {
  transform: scale(1.05);
}
.bestseller-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent-gold);
  color: #fff;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.product-body { padding: 12px; }
.price { 
  color: var(--accent-gold); 
  font-weight: 700; 
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.product-description {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 8px;
  font-weight: 300;
}

/* Newsletter */
.newsletter { padding: 28px 0 40px 0; }
.newsletter-inner {
  border: 2px solid var(--accent-gold);
  padding: 32px;
  background: linear-gradient(135deg, #fff, var(--luxury-rose));
  box-shadow: 0 4px 16px rgba(201, 169, 97, 0.15);
}
.newsletter-form {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  height: 42px;
  border: 2px solid var(--accent-cream);
  padding: 0 16px;
  font-size: 1rem;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Footer */
.site-footer {
  border-top: 2px solid var(--accent-cream);
  background: linear-gradient(to bottom, #fff, var(--luxury-rose));
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 32px 0;
}
.footer-col h4 { 
  margin-bottom: 12px; 
  color: var(--brand);
  font-weight: 700;
}
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer-col a {
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--accent-gold);
}
.socials { display: grid; gap: 6px; }
.footer-bottom {
  border-top: 2px solid var(--accent-cream);
  padding: 16px 0 24px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  background: rgba(255,255,255,0.98);
  border-top: 2px solid var(--accent-gold);
  padding: 16px 0;
  backdrop-filter: saturate(120%) blur(8px);
  box-shadow: 0 -4px 16px rgba(201, 169, 97, 0.15);
}
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie-inner p { margin: 0; color: var(--brand); }
.cookie-inner a { color: var(--accent-gold); font-weight: 600; text-decoration: underline; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-carousel {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .hero-slide {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .hero h1 { font-size: 3rem; }
  .hero-image { max-width: 100%; max-height: 500px; }
}
@media (max-width: 768px) {
  .hero-carousel {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-slide {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero h1 { font-size: 2.5rem; }
  .sub { font-size: 1.1rem; }
  .hero-carousel { padding: 40px 20px; min-height: 400px; }
  .hero-image { max-width: 100%; max-height: 400px; }
}
@media (max-width: 860px) {
  .header-top {
    min-height: 60px;
    padding: 8px 0;
  }
  .logo-img {
    height: 50px;
  }
  .category-nav {
    padding: 4px 0;
  }
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0 16px 0;
  }
  .category-nav { overflow-x: auto; white-space: nowrap; }
  .card-grid, .product-grid, .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .card-grid, .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}


