/* ============================================================
   blumen-kerzen.ch — Frontend Stylesheet
   Clean, elegant, minimal — Swiss handmade flowers & candles
   ============================================================ */

/* ------ CSS Custom Properties -------------------------------- */
:root {
  --color-bg:          #ffffff;
  --color-bg-cream:    #fff8f0;
  --color-bg-rose:     #f9e8ef;
  --color-bg-muted:    #f7f5f3;
  --color-text:        #2c2c2c;
  --color-text-muted:  #6b6b6b;
  --color-text-light:  #999;
  --color-accent:      #c8748a;
  --color-accent-dark: #a85a72;
  --color-accent-light:#e8aabb;
  --color-border:      #e8e0d8;
  --color-border-light:#f0ebe5;
  --color-whatsapp:    #25D366;
  --color-whatsapp-dk: #1da954;

  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-pill: 999px;

  --shadow-sm:   0 1px 4px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.10);
  --shadow-card: 0 2px 12px rgba(0,0,0,.07);

  --header-h:    72px;
  --container-w: 1200px;
  --gap:         2rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* clip (not hidden) — does NOT break position:sticky */
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ------ Typography ------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

em { font-style: italic; }

/* ------ Utilities -------------------------------------------- */
.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.section-title {
  text-align: center;
  margin-bottom: .5rem;
}

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

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.no-products {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  padding: 3rem 0;
}

/* ------ Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  min-height: 44px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  box-shadow: 0 4px 16px rgba(200,116,138,.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent);
  color: #fff;
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  border-color: var(--color-whatsapp);
  width: 100%;
  padding: .65rem 1rem;
  font-size: .85rem;
}
.btn-whatsapp:hover {
  background: var(--color-whatsapp-dk);
  border-color: var(--color-whatsapp-dk);
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
}

.btn-whatsapp--large {
  padding: .9rem 1.8rem;
  font-size: 1rem;
  width: auto;
}

.btn-hero {
  padding: .85rem 2.2rem;
  font-size: 1rem;
  letter-spacing: .04em;
}

/* ------ Header ----------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border-light);
  height: var(--header-h);
}

.header-inner {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon { line-height: 1; display: flex; align-items: center; }
.logo-icon i, .logo-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }
.logo-text  {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: .01em;
}

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-link {
  padding: .5rem .85rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: color .2s, background .2s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
  background: var(--color-bg-rose);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 50;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: .55rem 1rem;
  font-size: .87rem;
  color: var(--color-text);
  transition: background .15s, color .15s;
}
.dropdown-menu a:hover { background: var(--color-bg-rose); color: var(--color-accent); }
.dropdown-menu li:first-child a { border-radius: var(--radius-md) var(--radius-md) 0 0; }
.dropdown-menu li:last-child  a { border-radius: 0 0 var(--radius-md) var(--radius-md); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: .6rem .5rem;
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------ Hero ------------------------------------------------- */
.hero {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  background: linear-gradient(135deg, var(--color-bg-cream) 0%, #fff 50%, var(--color-bg-rose) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(249,232,239,.6) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--container-w);
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--color-bg-rose);
  color: var(--color-accent);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}
.hero-badge i, .hero-badge svg { width: 14px; height: 14px; stroke-width: 2; }

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.hero-title em {
  color: var(--color-accent);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-decoration {
  position: relative;
  width: 320px;
  height: 320px;
}

.deco-flower {
  position: absolute;
  animation: float 4s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}
.deco-flower i, .deco-flower svg { width: 56px; height: 56px; stroke-width: 1; opacity: .55; }
.deco-1 { top: 0;    left: 50%;   animation-delay: 0s; }
.deco-1 i, .deco-1 svg { width: 68px; height: 68px; }
.deco-2 { top: 40%;  right: 0;    animation-delay: .8s; }
.deco-2 i, .deco-2 svg { width: 44px; height: 44px; }
.deco-3 { bottom: 0; left: 20%;   animation-delay: 1.5s; }
.deco-3 i, .deco-3 svg { width: 62px; height: 62px; }
.deco-4 { top: 30%;  left: 0;     animation-delay: 2.2s; }
.deco-4 i, .deco-4 svg { width: 50px; height: 50px; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-12px) rotate(2deg); }
}

/* ------ Page Hero (Unterseiten) ------------------------------ */
.page-hero {
  background: linear-gradient(135deg, var(--color-bg-cream), #fff);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  border-bottom: 1px solid var(--color-border-light);
}

.page-hero-title    { margin-bottom: .5rem; }
.page-hero-subtitle { color: var(--color-text-muted); font-size: .95rem; }

/* ------ Breadcrumb ------------------------------------------- */
.breadcrumb-nav {
  padding-block: .75rem;
  background: var(--color-bg-muted);
  border-bottom: 1px solid var(--color-border-light);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  font-size: .83rem;
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-text-muted);
  transition: color .15s;
}
.breadcrumb a:hover { color: var(--color-accent); }

.breadcrumb [aria-current=page] {
  color: var(--color-text);
  font-weight: 500;
}

/* ------ Kategorie-Filter ------------------------------------- */
.filter-section {
  padding-block: 1.5rem;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border-light);
  position: sticky;
  top: var(--header-h);
  z-index: 10;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: .85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  transition: background .2s, color .2s, border-color .2s;
}

.filter-tab:hover {
  background: var(--color-bg-rose);
  color: var(--color-accent);
  border-color: var(--color-accent-light);
}

.filter-tab.active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.filter-count {
  background: rgba(255,255,255,.25);
  font-size: .75rem;
  padding: .05rem .4rem;
  border-radius: var(--radius-pill);
}
.filter-tab.active .filter-count { background: rgba(255,255,255,.25); }
.filter-tab:not(.active) .filter-count {
  background: var(--color-border);
  color: var(--color-text-muted);
}

/* ------ Kategorie-Grid (Homepage) ---------------------------- */
.categories-section { background: var(--color-bg-cream); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-light);
}

.category-icon { margin-bottom: .25rem; display: flex; align-items: center; justify-content: center; }
.category-icon i, .category-icon svg { width: 40px; height: 40px; stroke-width: 1.25; }
.category-name { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 500; }
.category-count { font-size: .8rem; color: var(--color-text-muted); }
.category-link-text {
  margin-top: .5rem;
  font-size: .83rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: .03em;
}

/* ------ Produkt-Grid ----------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.product-grid--small {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card-image-link { display: block; }
.product-card-image-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-bg-muted);
}

.product-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-card-image { transform: scale(1.04); }

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}

.product-card-category {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-accent);
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.3;
  flex: 1;
}

.product-card-title a { color: inherit; }
.product-card-title a:hover { color: var(--color-accent); }

.product-card-price {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}

/* ------ Produkt-Detail --------------------------------------- */
.product-detail-section { padding-top: 2.5rem; }

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.product-detail-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
  background: var(--color-bg-muted);
}

.product-detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-category {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-accent);
  background: var(--color-bg-rose);
  padding: .3rem .8rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.product-detail-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.product-detail-price {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  font-variant-numeric: tabular-nums;
}

.product-detail-actions {
  margin-bottom: 2rem;
}

.whatsapp-hint {
  margin-top: .6rem;
  font-size: .82rem;
  color: var(--color-text-muted);
}

.product-detail-description {
  border-top: 1px solid var(--color-border-light);
  padding-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.detail-desc-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.detail-desc-content {
  font-size: .92rem;
  line-height: 1.8;
  color: var(--color-text);
  white-space: pre-line;
  word-break: break-word;
  overflow-wrap: break-word;
}

.product-detail-meta {
  border-top: 1px solid var(--color-border-light);
  padding-top: 1.25rem;
}

.product-detail-meta dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: .4rem .75rem;
  font-size: .87rem;
}

.product-detail-meta dt { color: var(--color-text-muted); }
.product-detail-meta dd { color: var(--color-text); }
.availability.available { color: #2a8a4a; font-weight: 500; }

/* ------ Similar Products ------------------------------------- */
.similar-products-section {
  background: var(--color-bg-muted);
  padding-block: 3.5rem;
}

/* ------ USP Strip -------------------------------------------- */
.usp-strip {
  background: var(--color-text);
  color: #fff;
  padding-block: 3.5rem;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.usp-item { text-align: center; }
.usp-icon { display: flex; align-items: center; justify-content: center; margin-bottom: .75rem; }
.usp-icon i, .usp-icon svg { width: 32px; height: 32px; stroke-width: 1.5; }

.usp-item h4 {
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .4rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.usp-item p { font-size: .84rem; color: rgba(255,255,255,.65); line-height: 1.55; }

/* ------ No-Products ------------------------------------------ */
.no-products-wrap {
  text-align: center;
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

/* ------ Footer ----------------------------------------------- */
.site-footer {
  background: #1a1a1a;
  color: rgba(255,255,255,.8);
  padding-top: 4rem;
}

.footer-inner {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.site-logo--footer .logo-text { color: #fff; }
.site-logo--footer .logo-icon i, .site-logo--footer .logo-icon svg { width: 20px; height: 20px; }

.footer-tagline {
  margin-top: .75rem;
  font-size: .87rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}

.footer-links h3,
.footer-contact h3 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}

.footer-links ul li {
  margin-bottom: .4rem;
}

.footer-links ul li a {
  color: rgba(255,255,255,.7);
  font-size: .87rem;
  transition: color .2s;
}
.footer-links ul li a:hover { color: var(--color-accent-light); }

.footer-contact p {
  font-size: .87rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
}

.footer-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--color-whatsapp) !important;
  font-weight: 500;
  transition: color .2s;
}
.footer-whatsapp-link:hover { color: #4ae584 !important; }

.footer-bottom {
  max-width: var(--container-w);
  margin-inline: auto;
  padding: 1.25rem clamp(1rem, 4vw, 2.5rem);
  font-size: .8rem;
  color: rgba(255,255,255,.3);
  text-align: center;
}
.footer-bottom a {
  color: rgba(255,255,255,.4);
  transition: color .2s;
}
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ------ Responsive ------------------------------------------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid--small { grid-template-columns: repeat(2, 1fr); }
  .usp-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  /* Header — fully opaque, no backdrop-filter glitches on mobile */
  .site-header {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-inner {
    padding-inline: 1rem;
    gap: .5rem;
  }

  .site-logo { gap: .35rem; }
  .logo-text  { font-size: 1.15rem; }

  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-top: var(--header-h);
    padding-inline: 1rem;
    padding-bottom: 1rem;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    transition: transform .3s ease;
    z-index: 98; /* sits BELOW header z-index:100 */
    overflow-y: auto;
    max-height: 100vh;
  }

  .main-nav.open { transform: translateY(0); }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
  }

  .nav-link { padding: .65rem 1rem; min-height: 44px; display: flex; align-items: center; }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--color-bg-rose);
    border-radius: 0;
    margin-left: 1rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual { display: none; }
  .hero-subtitle { margin-inline: auto; }

  .hero-content .btn { width: 100%; justify-content: center; }

  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .product-grid--small { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  .product-detail-meta dl { grid-template-columns: 120px 1fr; }

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

  .filter-section { position: static; }

  input, select, textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
  }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-grid--small { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .usp-grid { grid-template-columns: 1fr 1fr; }
  .product-detail-meta dl { grid-template-columns: 1fr; }
  .product-card-body { padding: 1rem; }
  .hero-title { font-size: clamp(2rem, 10vw, 2.8rem); }
}

/* ============================================================
   Hero mit Hintergrundbild (ersetzt Deko-Icons)
   ============================================================ */
.hero.hero--image {
  background: linear-gradient(90deg, rgba(28,16,22,.80) 0%, rgba(28,16,22,.52) 45%, rgba(28,16,22,.20) 100%),
              url('/assets/img/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero.hero--image::before { display: none; }
.hero.hero--image .hero-inner { grid-template-columns: 1fr; justify-items: start; }
.hero.hero--image .hero-content { max-width: 640px; }
.hero.hero--image .hero-title { color: #fff; }
.hero.hero--image .hero-title em { color: var(--color-accent-light); }
.hero.hero--image .hero-subtitle { color: rgba(255,255,255,.92); }
.hero.hero--image .hero-badge {
  background: rgba(255,255,255,.16);
  color: #fff;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
@media (max-width: 640px) {
  .hero.hero--image {
    background: linear-gradient(rgba(28,16,22,.72), rgba(28,16,22,.55)),
                url('/assets/img/hero.jpg');
    background-size: cover;
    background-position: center;
  }
}
