/* ==========================================================================
   ZH&WunschWerk - Modern German E-Commerce Design System
   zhwunschwerk.de
   ========================================================================== */

:root {
  /* Brand Palette - Clean Premium German Boutique */
  --color-primary: #1E293B;       /* Deep Luxury Charcoal / Slate */
  --color-primary-hover: #0F172A;
  --color-secondary: #475569;     /* Elegant Slate Body */
  --color-accent: #C29958;        /* Artisan Gold / Warm Brass */
  --color-accent-light: #FBF7F0;
  --color-accent-hover: #A67C3B;
  --color-sale: #DC2626;          /* Subtle Red for discounts */
  --color-success: #16A34A;       /* German Trusted Green */

  /* Neutral Surface Colors */
  --bg-page: #FCFCFD;
  --bg-card: #FFFFFF;
  --bg-surface: #F8FAFC;
  --bg-surface-alt: #F1F5F9;
  
  /* Text Colors */
  --text-main: #0F172A;           /* Deep readable dark */
  --text-muted: #64748B;          /* Supporting copy */
  --text-subtle: #94A3B8;         /* Microcopy, breadcrumbs */
  --text-inverse: #FFFFFF;

  /* Borders & Dividers */
  --border-subtle: #E2E8F0;
  --border-light: #F1F5F9;
  --border-focus: #1E293B;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 6px -1px rgba(0, 0, 0, 0.06), 0 1px 3px -1px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 32px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-drawer: -8px 0 28px rgba(15, 23, 42, 0.15);

  /* Radii - Subtle & refined, NOT oversized */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Georgia", "Times New Roman", serif;

  /* Container Widths */
  --container-max: 1280px;
  --header-height: 80px;
  --topbar-height: 38px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Section Header Styles - Modern, Not Oversized */
.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #B47C28;
  background-color: #FAF2E6;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1px solid #EFE4D3;
  margin-bottom: 10px;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.125rem;
  }
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Primary and Secondary Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--border-subtle);
  background-color: #FFFFFF;
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  background-color: var(--bg-surface);
  color: var(--text-main);
}

.btn-accent {
  background-color: var(--color-accent);
  color: #FFFFFF;
}

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

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8125rem;
}

.btn-block {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
}

.badge-gold {
  background-color: #FEF3C7;
  color: #92400E;
}

.badge-blue {
  background-color: #DBEAFE;
  color: #1E40AF;
}

.badge-green {
  background-color: #DCFCE7;
  color: #166534;
}

.badge-purple {
  background-color: #F3E8FF;
  color: #6B21A8;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  font-weight: 500;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 360px;
}

.toast.removing {
  animation: toastOut 0.3s ease forwards;
}

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

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

/* SVG Icon Helper */
.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

/* Language Switcher */
.zh-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(203, 213, 225, 0.6);
  border-radius: 20px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
}
.zh-lang-switch .lang-btn {
  background: none;
  border: none;
  color: #64748B;
  cursor: pointer;
  padding: 2px 5px;
  border-radius: 12px;
  transition: all 0.15s ease;
}
.zh-lang-switch .lang-btn:hover {
  color: #0F172A;
}
.zh-lang-switch .lang-btn.active {
  background: #0F172A;
  color: #FFFFFF;
}
.zh-lang-switch .lang-sep {
  color: #CBD5E1;
  font-size: 10px;
}

/* Warm Alternating Section Background */
.section-alt-bg {
  background-color: #FAF8F5 !important;
  border-top: 1px solid #EFECE6;
  border-bottom: 1px solid #EFECE6;
}

/* Occasions / Anlässe Grid */
.occasions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.occasion-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.occasion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  border-color: #CBD5E1;
}
.occasion-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
}
.occasion-title {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
}
.occasion-desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.4;
}

/* Techniques / Veredelungsverfahren */
.techniques-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.technique-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 24px;
  border-left: 4px solid #0F172A;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.technique-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}
.technique-title {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.technique-desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
}

