/* Lokal gehostete Schriftarten statt Google-Fonts-CDN (DSGVO: keine Drittanbieter-Anfrage mehr
   beim Seitenaufruf) - die eigentlichen .woff2-Dateien müssen einmalig auf dem Server abgelegt
   werden, siehe fonts/README.md */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/space-grotesk-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/space-grotesk-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-600.woff2') format('woff2');
}
/* Nur für die Produktdetailseite (neues Design) - eigene Schriftarten, selbst gehostet wie die übrigen */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-400.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/dm-sans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/dm-sans-700.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-mono-400.woff2') format('woff2');
}

/* Bootstrap Icons: sauberer Abstand zwischen Icon und Text, ohne jede einzelne Stelle anfassen zu müssen */
.bi { vertical-align: -0.125em; }
button .bi, a .bi, span .bi, h1 .bi, h2 .bi, h3 .bi { margin-right: 5px; }
button .bi:only-child, a .bi:only-child, span .bi:only-child { margin-right: 0; }

:root {
  --bg: #f4f5f6;
  --panel: #ffffff;
  --border: #e1e4e8;
  --text: #1a1c20;
  --muted: #6b7280;
  --accent: #e6752a;
  --accent-dim: #ffe4cc;
  --ok: #0f9d78;
  --danger: #d9483f;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.hidden { display: none !important; }

.shop-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 20;
}

.shop-header-top {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
}

@media (min-width: 700px) {
  .shop-header-top {
    padding: 16px 48px;
  }
}

.shop-header-top .brand { flex-shrink: 0; }

.shop-header-top .shop-nav {
  flex: 1;
  min-width: 0;
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow: visible;
  padding: 0;
  scrollbar-width: none;
}

.shop-header-top .shop-nav::-webkit-scrollbar { display: none; }

/* Normalfall: "overflow: visible", damit Dropdown-Menüs (z.B. "Deko ▾") nicht abgeschnitten
   werden. Passt die Navigation bei der aktuellen Fensterbreite NICHT vollständig hinein, misst
   app.js das per JavaScript (zuverlässiger als eine feste Bildschirmbreite, die bei wechselnder
   Anzahl/Länge der Kategorien nicht passt) und setzt diese Klasse - dann wird die Navigation
   stattdessen horizontal scrollbar, in Kauf genommener Nachteil: das Dropdown-Menü könnte in
   diesem Fall abgeschnitten werden, aber wenigstens überlappt nichts mehr sichtbar. */
.shop-header-top .shop-nav.nav-overflowing {
  overflow-x: auto;
}

.header-actions {
  flex-shrink: 0;
  margin-left: auto;
}

@media (max-width: 700px) {
  .shop-header-top {
    padding: 12px 16px;
    gap: 12px;
    flex-wrap: nowrap;
  }
  .header-actions {
    gap: 4px;
  }
  .categories-toggle-btn {
    display: flex;
  }
  /* Auf Mobile ersetzt der Umschalt-Button die horizontal scrollende Zeile komplett - das
     Dropdown mit Unterkategorien wurde bei schmalen Bildschirmen sonst vom horizontalen Scroll-
     Container abgeschnitten (overflow-x: auto erzwingt auch vertikales Abschneiden).
     position: absolute mit top: 100% relativ zum (sticky positionierten) Header, damit es immer
     exakt unterhalb des Headers sitzt, unabhängig von dessen genauer Höhe. */
  .shop-header-top .shop-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 100%);
    background: var(--bg);
    z-index: 25;
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
    overflow-x: visible;
    flex-wrap: nowrap;
    padding: 8px 16px 24px;
    border-bottom: 1px solid var(--border);
  }
  .shop-header-top .shop-nav.open {
    display: flex;
  }
  .shop-nav .nav-link {
    white-space: nowrap;
    text-align: left;
    padding: 12px 8px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    font-size: 16px;
  }
  /* Unterkategorien auf Mobile direkt eingerückt darunter zeigen statt als Overlay - verhindert
     das Abschneiden und ist ohnehin für Fingerbedienung besser als ein Hover-Dropdown */
  .shop-nav .nav-item-wrap {
    display: flex;
    flex-direction: column;
  }
  .shop-nav .nav-dropdown {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 20px;
    min-width: 0;
    background: transparent;
  }
  .shop-nav .nav-item-wrap.open .nav-dropdown {
    display: flex;
    flex-direction: column;
  }
  .shop-nav .nav-dropdown .nav-link {
    border-bottom: none;
    font-size: 15px;
    color: var(--muted);
    padding: 10px 8px;
  }
}

.categories-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 18px;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .categories-toggle-btn { display: flex; }
}

.shop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 24px 12px;
  flex-wrap: wrap;
}

.nav-item-wrap {
  position: relative;
}

.nav-link {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.nav-link:hover { color: var(--text); background: var(--panel); }
.nav-link.active { color: var(--accent); font-weight: 600; }

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px;
  min-width: 180px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 30;
}

.nav-item-wrap:hover .nav-dropdown,
.nav-item-wrap.open .nav-dropdown {
  display: block;
}

.nav-dropdown .nav-link {
  display: block;
  width: 100%;
  text-align: left;
}

.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.brand span { color: var(--accent); }

.brand a {
  display: flex;
  align-items: center;
}

.brand-logo {
  display: block !important;
  height: 36px !important;
  max-height: 36px !important;
  width: auto !important;
  max-width: 200px;
  object-fit: contain;
}

@media (max-width: 480px) {
  .brand-logo { height: 28px !important; max-height: 28px !important; max-width: 140px; }
}

button {
  font-family: inherit;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

button.primary,
a.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1208;
  font-weight: 600;
  text-decoration: none;
}

.cart-btn {
  position: relative;
  width: 40px;
  padding: 0 !important;
  justify-content: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-actions button {
  height: 40px;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
}

.header-actions .icon-btn {
  width: 40px;
  padding: 0;
  justify-content: center;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent);
  color: #1a1208;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 5px;
  min-width: 16px;
  text-align: center;
  line-height: 1.4;
}

.header-search-row {
  padding: 0 24px 16px;
  display: flex;
  justify-content: center;
}

.header-search-row .search-input { width: 100%; max-width: 480px; }

.search-input-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
}
.search-input-wrap .search-input { max-width: none; }

.search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  max-height: 360px;
  overflow-y: auto;
  z-index: 30;
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.search-suggestion-item:last-child { border-bottom: none; }
.search-suggestion-item:hover { background: var(--bg); }

.search-suggestion-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg);
}
.search-suggestion-thumb-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  flex-shrink: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 16px;
}

.search-suggestion-info { min-width: 0; flex: 1; }
.search-suggestion-name {
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-suggestion-price { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.search-suggestions-more {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--accent);
  text-align: center;
  cursor: pointer;
  font-weight: 500;
}
.search-suggestions-empty {
  padding: 14px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.rating-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.rating-stars i { color: #f4b740; font-size: 13px; }
.rating-stars i + i { margin-left: 1px; }

@media (max-width: 700px) {
  .header-search-row { padding: 0 16px 12px; }
  .rating-bar { font-size: 12px; padding: 6px 12px; }

  /* Vorschlagsliste beim Tippen: auf Mobile volle Breite statt künstlich auf 480px begrenzt
     (auf größeren Handys/kleinen Tablets sonst unnötig schmal mit Leerraum daneben), größere
     Tippflächen und etwas weniger maximale Höhe, damit auf kurzen Bildschirmen noch erkennbar
     bleibt, dass darunter mehr Seite folgt. */
  .search-input-wrap { max-width: none; }
  .search-suggestions { max-height: 280px; }
  .search-suggestion-item { padding: 12px 14px; gap: 14px; }
  .search-suggestion-thumb, .search-suggestion-thumb-placeholder { width: 46px; height: 46px; }
  .search-suggestion-name { font-size: 14.5px; }
  .search-suggestion-price { font-size: 13px; }
  .search-suggestions-more { padding: 14px; }
}

main {
  padding: 24px 5%;
  max-width: 1100px;
  margin: 0 auto;
}

main.wide-main {
  /* Seitenabstand = 75% des Abstands der Hauptseite (dort: (100vw - 1100px)/2), fluid für jede Bildschirmbreite */
  max-width: calc(25vw + 825px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (min-width: 700px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

/* Hero-Banner */
.hero {
  position: relative;
  z-index: 1;   /* explizit niedriger als .shop-header (z-index: 20) - sonst kollidiert der unklare Stapel-Kontext zwischen "position: sticky" (Header) und "position: relative" (Hero) und das Deko-Dropdown-Menü verschwindet hinter dem Hero-Bild */
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  /* Full-Bleed: das Hero-Banner soll randlos über die volle Fensterbreite gehen, unabhängig
     davon, wo es im Startseiten-Editor innerhalb von .wide-main (mit eigenem max-width)
     positioniert wird. */
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 14px 24px;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  width: fit-content;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 700px) {
  .hero {
    aspect-ratio: 1600 / 550;
  }

  .hero-image {
    height: 100%;
    object-fit: cover;
  }
}

.hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, rgba(26,28,32,0.45), rgba(26,28,32,0.7));
}

.hero-inner {
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  margin: 0 0 10px;
}

.hero p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

/* Vertrauens-Leiste */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

/* Produktreihen (Neu / Beliebt) */
.product-row {
  max-width: 1100px;
  margin: 0 auto 32px;
  padding: 0 24px;
}

.all-products-cta {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 24px;
  text-align: center;
}

.all-products-cta a.primary {
  display: inline-block;
  padding: 14px 32px;
  text-decoration: none;
  font-weight: 600;
}

.row-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  margin: 0 0 14px;
}

.row-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.category-tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.category-tile {
  position: relative;
  width: 220px;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: var(--panel);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
}

@media (max-width: 700px) {
  .category-tile { width: calc(50% - 8px); }
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-tile-overlay {
  position: relative;
  width: 100%;
  padding: 14px;
  background: linear-gradient(to top, rgba(20,20,22,0.75), rgba(20,20,22,0));
}

.category-tile-name {
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.category-tile.no-image {
  align-items: center;
  justify-content: center;
}

.category-tile.no-image .category-tile-overlay {
  background: none;
  text-align: center;
}

.category-tile.no-image .category-tile-name {
  color: var(--text);
}

.category-tile-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 6px;
}

.row-card {
  position: relative;
  flex: 0 0 200px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.row-card img, .row-card .product-image-placeholder {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

.row-card-name {
  font-size: 14px;
  font-weight: 600;
}

.row-card-price {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
}

.row-card-price .compare-at {
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
  font-size: 12px;
  margin-right: 6px;
}

.row-card-price.on-sale { color: var(--danger); }

.sale-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

/* Tab-Umschaltung "Entdecke unsere Produkte" */
.row-title-with-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.row-title-with-tabs .row-title { margin: 0; }

.discover-tabs {
  display: flex;
  gap: 6px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
}

.discover-tab {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.discover-tab.active {
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 600;
}

/* Kundenbewertungen */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.review-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

.review-stars {
  color: #f5a623;
  font-size: 14px;
  margin-bottom: 6px;
}

.review-comment {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.review-meta {
  font-size: 12px;
  color: var(--muted);
}

#allProductsTitle { max-width: 1100px; margin: 0 auto 14px; padding: 0 24px; }

.product-long-description {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid var(--border);
}

.product-long-description p {
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
}

.product-attributes-section {
  max-width: 800px;
  margin: 32px auto 0;
  padding: 24px 24px 0;
}

.attributes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.attributes-table tr {
  border-bottom: 1px solid var(--border);
}

.attributes-table tr:last-child {
  border-bottom: none;
}

.attributes-table td {
  padding: 10px 12px;
}

.attributes-table td:first-child {
  color: var(--muted);
  width: 40%;
}

@media (max-width: 480px) {
  .product-long-description,
  .product-attributes-section {
    padding: 20px 16px 0;
  }
}

.product-reviews-section {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--border);
}

.review-summary {
  margin-bottom: 20px;
  font-size: 14px;
}

.star-picker {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.star-btn {
  background: transparent;
  border: none;
  font-size: 28px;
  color: #f5a623;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.compare-at {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 500;
}

.quantity-discount-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.quantity-discount-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.quantity-discount-tier {
  font-size: 13px;
  color: var(--muted);
}

.quantity-discount-tier strong { color: var(--danger); }

.quantity-discount-chip {
  background: var(--danger);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  margin-left: 4px;
}

/* Footer */
.newsletter-section {
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  margin-top: 40px;
}

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

.newsletter-inner h3 { margin: 0 0 4px; font-family: 'Space Grotesk', sans-serif; }
.newsletter-inner p { margin: 0; color: var(--muted); font-size: 13px; }

.newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.newsletter-form input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  min-width: 220px;
}

.newsletter-message {
  max-width: 900px;
  margin: 12px auto 0;
  font-size: 13px;
  color: var(--ok);
}

.shop-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  margin-top: 40px;
}

.footer-links {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover { color: var(--accent); }

.footer-social {
  max-width: 1100px;
  margin: 14px auto 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 16px;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}

.footer-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.footer-trust {
  max-width: 700px;
  margin: 0 auto 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-trust-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-trust-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.footer-trust-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.trust-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 72px;
  height: 60px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.15s ease;
}

.trust-badge:hover { border-color: var(--accent); }

.trust-badge i {
  font-size: 20px;
  color: var(--accent);
}

.trust-badge svg {
  display: block;
}

.trust-badge span {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

@media (max-width: 480px) {
  .footer-trust { gap: 14px; }
  .footer-trust-icons { gap: 8px; }
  .trust-badge { width: 62px; height: 52px; }
  .trust-badge i { font-size: 17px; }
  .trust-badge span { font-size: 9px; }
}

.search-input {
  flex: 1;
  min-width: 200px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}

.sort-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 38px 10px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sort-select:hover {
  border-color: var(--accent);
}

.sort-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.category-pill {
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  cursor: pointer;
}

.category-pill.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;   /* verhindert, dass eine Karte mit langem Titel das Grid-Raster ungleich breit zieht ("Grid Blowout") */
  overflow-wrap: break-word;
}

/* Innerhalb der horizontal scrollenden Startseiten-Reihen (Neu/Beliebt/Aktion) braucht die
   Karte eine feste Breite, da sie dort in einem Flex- statt Grid-Container sitzt */
.row-grid .product-card {
  flex: 0 0 200px;
}

.product-image-box {
  position: relative;
  background: var(--bg);
  border-radius: 0;
  overflow: visible;
  margin-bottom: 12px;
  cursor: pointer;
}

.product-image-clip {
  border-radius: 0;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 24vh;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.product-card:hover .product-image { transform: scale(1.06); }

.product-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24vh;
  font-size: 40px;
  color: var(--muted);
  border-radius: 0;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.cart-fab {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: none;
  color: #1a1c20;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
  transition: transform 0.15s ease, background 0.15s ease;
}

.cart-fab:hover { background: var(--accent); color: #1a1208; transform: scale(1.08); }
.cart-fab:active { transform: scale(0.94); }

.favorite-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(20,20,22,0.55);
  border: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.favorite-btn:hover { background: rgba(20,20,22,0.75); }
.favorite-btn.active { background: rgba(20,20,22,0.55); }
.favorite-btn.active i { color: #ff4d4f; }

.variant-pill {
  display: inline-block;
  width: fit-content;
  font-size: 11px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
  cursor: pointer;
}

.product-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.3;
  cursor: pointer;
  max-width: 100%;
  overflow-wrap: break-word;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease;
}

.product-card:hover .product-name {
  text-decoration: underline;
  text-decoration-color: var(--text);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.product-rating .rating-stars i { color: #f4b740; font-size: 12px; }
.product-rating .rating-stars i + i { margin-left: 1px; }

.product-meta {
  font-size: 13px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  margin-top: 2px;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

/* Zentriertes Pop-up (z.B. Newsletter-Bestätigung) - eigenes Overlay statt seitlichem Drawer */
.centered-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.centered-popup-box {
  position: relative;
  background: var(--panel);
  border-radius: 12px;
  max-width: 440px;
  width: 100%;
  padding: 40px 32px 32px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.centered-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
}
.centered-popup-close:hover { color: var(--text); }

.centered-popup-icon { font-size: 44px; line-height: 1; margin-bottom: 12px; }

.centered-popup-box h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-family: 'Space Grotesk', sans-serif;
}

.centered-popup-box p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

/* Warenkorb-Drawer */
.cart-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 50;
  display: flex;
  justify-content: flex-end;
}

.cart-drawer-inner {
  background: var(--panel);
  width: 100%;
  max-width: 420px;
  height: 100%;
  padding: 24px;
  overflow-y: auto;
  border-left: 1px solid var(--border);
}

@media (max-width: 400px) {
  .cart-drawer-inner { padding: 16px; }
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cart-drawer-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  margin: 0;
}

.icon-btn {
  padding: 6px 10px;
  font-size: 13px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-row input { width: auto; margin: 0; }

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.cart-item-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--panel-hover, var(--panel));
}

.cart-item-row-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.cart-item-text { min-width: 0; }
.cart-item-text .cart-item-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 6px;
  flex-shrink: 0;
}

.cart-item-remove:hover { color: var(--danger); }

.cart-item-name { font-size: 14px; font-weight: 500; }
.cart-item-meta { font-size: 12px; color: var(--muted); }

/* Kostenloser Versand - Fortschrittsbalken */
.free-shipping-bar {
  margin: 14px 0;
}

.free-shipping-track {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.order-progress { margin-top: 2px; }

.order-progress-track {
  height: 5px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.order-progress-fill {
  height: 100%;
  background: var(--ok);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.order-progress-label {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 4px;
}

.order-shipped-badge {
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
}

.free-shipping-fill {
  height: 100%;
  background: var(--ok);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.free-shipping-text {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
}

.free-shipping-text.reached { color: var(--ok); font-weight: 600; }

/* Cross-Sell "Andere Kunden kauften auch" */
.cross-sell {
  margin: 18px 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.cross-sell h3 {
  font-size: 14px;
  margin: 0 0 10px;
}

.cross-sell-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.cross-sell-card {
  flex: 0 0 120px;
  cursor: pointer;
}

.cross-sell-card img, .cross-sell-card .product-image-placeholder {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 6px;
}

.cross-sell-card-name {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cross-sell-card-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 2px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qty-controls button {
  padding: 4px 10px;
  font-size: 14px;
}

.cart-total {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
}

.trust-badges-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}

.coupon-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.coupon-row input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
}

.coupon-row button {
  padding: 9px 14px;
  font-size: 13px;
}

.referral-box {
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 8px;
}

.referral-box h3 { font-size: 14px; }

.referral-link-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.referral-link-row input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 12.5px;
}

.referral-link-row button {
  padding: 8px 14px;
  font-size: 13px;
  white-space: nowrap;
}

.coupon-message {
  font-size: 12.5px;
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.coupon-message.success { background: #1c2e22; color: var(--ok); }
.coupon-message.error { background: #3a1f1f; color: var(--danger); }

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.cart-total-row.discount { color: var(--ok); }

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.checkout-form h3 {
  font-family: 'Space Grotesk', sans-serif;
  margin: 0 0 8px;
}

.checkout-form label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.checkout-form input, .checkout-form select {
  display: block;
  width: 100%;
  margin-top: 5px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}

.checkout-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkout-error {
  background: #3a1f1f;
  color: var(--danger);
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
  margin-bottom: 10px;
}

.google-signin-btn-wrap {
  display: flex;
  justify-content: center;
}

.status-page {
  max-width: 480px;
  margin: 80px auto;
  text-align: center;
  padding: 0 20px;
}

.status-page h1 {
  font-family: 'Space Grotesk', sans-serif;
}

.status-page a {
  color: var(--accent);
}

/* Produktseite */
.back-link {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 20px;
}
.back-link:hover { color: var(--accent); }

.breadcrumb-nav {
  font-size: 13px;
  color: var(--muted);
  margin: -8px 0 20px;
}
.breadcrumb-nav a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb-nav a:hover { color: var(--accent); }
.breadcrumb-sep { margin: 0 6px; color: var(--border); }

.legal-placeholder {
  background: var(--panel);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 20px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 16px;
}

.legal-placeholder strong { color: var(--danger); }

.faq-accordion {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}

.faq-toggle-icon {
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-toggle-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  transition: max-height 0.25s ease, padding 0.25s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 16px 16px;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

@media (max-width: 700px) {
  .product-detail { grid-template-columns: 1fr; }
}

.product-gallery {
  display: flex;
  gap: 12px;
}

@media (max-width: 700px) {
  .product-gallery { flex-direction: column-reverse; }
}

.gallery-thumbs-vertical {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .gallery-thumbs-vertical { flex-direction: row; }
}

.gallery-main {
  position: relative;
  flex: 1;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(20,20,22,0.7);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.gallery-nav-prev { left: 10px; }
.gallery-nav-next { right: 10px; }
.gallery-nav:hover { background: rgba(20,20,22,0.9); }

.gallery-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
}

.gallery-thumb.active { border-color: var(--accent); opacity: 1; }

.product-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  margin: 8px 0 4px;
}

.product-description {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.option-group {
  margin-bottom: 18px;
}

.option-group-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

.option-item:hover { border-color: var(--muted); }

.option-item.selected {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 600;
}

.detail-price-block {
  margin: 18px 0 20px;
}

.product-detail-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
}

.detail-price-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.qty-add-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.qty-stepper button {
  background: var(--panel);
  border: none;
  color: var(--text);
  width: 40px;
  font-size: 18px;
  cursor: pointer;
  align-self: stretch;
}

.qty-stepper button:hover { background: var(--panel-hover, var(--panel)); }

.qty-stepper span {
  width: 32px;
  text-align: center;
  font-weight: 600;
}

@media (max-width: 480px) {
  .qty-add-row {
    flex-wrap: wrap;
  }
  #detailAddToCartBtn {
    flex: 1 1 100%;
    order: 1;
  }
  .qty-stepper {
    order: 2;
  }
  #detailFavoriteBtn {
    order: 3;
  }
}


/* Cookie-/Einwilligungs-Banner */
.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 16px;
}

.consent-banner-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.consent-banner-inner p {
  flex: 1;
  min-width: 240px;
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.consent-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-settings-link {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

/* ---------- Großer Markenbild-Block (Startseite) ---------- */
.brand-block {
  position: relative;
  height: 340px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-block-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-block-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 14px;
  color: #ffffff;
}

.brand-block-overlay h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  margin: 0 0 8px;
}

.brand-block-overlay p {
  margin: 0;
  font-size: 15px;
  opacity: 0.9;
}

@media (max-width: 700px) {
  .brand-block { height: 260px; }
  .brand-block-overlay h2 { font-size: 22px; }
}

/* ---------- USP-Grid ("Mehr als nur...", Startseite) ---------- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.usp-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}

.usp-card i {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 12px;
  display: inline-block;
}

.usp-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  margin: 0 0 6px;
}

.usp-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Über-uns-Teaser (Startseite) ---------- */
.about-teaser {
  max-width: 1100px;
  margin: 0 auto 32px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.about-teaser-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 14px;
}

.about-teaser-image.hidden { display: none; }

.about-teaser-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  margin: 0 0 12px;
}

.about-teaser-text p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  white-space: pre-line;
}

/* Ausklappbarer "Warum LayerLume"-Text - derselbe Klemm-/Ausklapp-Ansatz wie .ll-cat__textwrap
   bei den Kategoriebeschreibungen (siehe dort), nur einspaltig statt zweispaltig, da der Text hier
   bereits neben dem Bild in einer eigenen Spalte steht. */
.ll-about__textwrap {
  overflow: hidden;
}
.ll-about__textwrap:not(.expanded) #aboutText {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 700px) {
  .about-teaser { grid-template-columns: 1fr; }
  .about-teaser-image { height: 220px; }
}

/* ---------- FAQ-Vorschau (Startseite) ---------- */
#homepageFaqSection .faq-accordion {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.checkout-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin: 18px 0;
}
.checkout-divider::before,
.checkout-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border);
}
.checkout-divider span {
  padding: 0 12px;
}

/* KI-Hinweis-Baustein (ai_disclosure.js) - noch nicht aktiv genutzt, siehe Datei-Kommentar dort */
.ai-disclosure-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.ai-disclosure-box {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 420px;
  text-align: center;
}
.ai-disclosure-icon {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 12px;
}
.ai-disclosure-box h3 {
  font-family: 'Space Grotesk', sans-serif;
  margin: 0 0 10px;
}
.ai-disclosure-box p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
}

/* ============================================================
   Neues Produktseiten-Design (Variante 1a) - nur für den
   Produktdetail-Bereich (Galerie/Kaufblock/Tabs), NICHT für
   Header/Warenkorb/Footer, die bleiben geteilt & unverändert.
   Alle Klassen mit .ll-Prefix, damit nichts mit bestehenden
   Shop-Styles kollidiert.
   ============================================================ */
.ll-detail{
  --ll-bg-soft:   #fdfcfa;
  --ll-bg-panel:  #f6f3ee;
  --ll-ink:       #1c1a18;
  --ll-ink-2:     #3a3733;
  --ll-ink-3:     #6b665f;
  --ll-ink-4:     #8b857e;
  --ll-line:      rgba(0,0,0,.09);
  --ll-accent:    #c9600f;
  --ll-accent-2:  #a2622c;
  --ll-radius:    10px;
  --ll-serif:     'Instrument Serif', Georgia, serif;
  --ll-sans:      'DM Sans', system-ui, -apple-system, sans-serif;
  --ll-mono:      'DM Mono', ui-monospace, monospace;
  font-family: var(--ll-sans);
  color: var(--ll-ink);
}
.ll-detail *, .ll-detail *::before, .ll-detail *::after { box-sizing: border-box; }
.ll-detail img { display: block; max-width: 100%; }

/* ---------- Produkt-Raster ---------- */
.ll-product{display:grid;grid-template-columns:96px minmax(0,1fr) 388px;gap:28px;padding:22px 0 38px}

.ll-thumbs{display:flex;flex-direction:column;gap:10px}
.ll-thumb{padding:0;border:0;background:#e4e0d9;border-radius:8px;aspect-ratio:1/1;overflow:hidden;cursor:pointer}
.ll-thumb img{width:100%;height:100%;object-fit:cover}
.ll-thumb[aria-selected="true"]{outline:2px solid var(--ll-accent);outline-offset:2px}
.ll-hero{position:relative;border-radius:12px;overflow:hidden;background:#2a2724;aspect-ratio:1/1;margin:0}
.ll-hero img{width:100%;height:100%;object-fit:cover}
.ll-hero__nav{position:absolute;inset:auto 16px 16px auto;display:flex;gap:8px}
.ll-hero__nav button{width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3);color:#fff;font-size:13px;cursor:pointer}

.ll-buy{display:flex;flex-direction:column}
.ll-eyebrow{font-family:var(--ll-mono);font-size:11.5px;line-height:1;letter-spacing:.1em;text-transform:uppercase;color:var(--ll-accent-2);margin:0}
.ll-seller-link{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--ll-ink-4);text-decoration:none;margin-top:10px}
.ll-seller-link:hover{color:var(--ll-ink-2)}
.ll-title{margin:12px 0 0;font-family:var(--ll-serif);font-weight:400;font-size:40px;line-height:1.1;letter-spacing:-.01em;text-wrap:pretty}
.ll-rating{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:13px;line-height:1;color:var(--ll-ink-3)}
.ll-stars{color:var(--ll-accent);letter-spacing:2px}
.ll-price{display:flex;align-items:baseline;gap:10px;margin-top:24px}
.ll-price__value{font-size:34px;font-weight:500;line-height:1}
.ll-price__value .compare-at{font-size:16px;font-weight:400;color:var(--ll-ink-4);text-decoration:line-through;margin-right:6px}
.ll-tax{margin-top:7px;font-size:12.5px;line-height:1.5;color:var(--ll-ink-4)}

.ll-discount-box{margin-top:16px;padding:12px 14px;background:var(--ll-bg-panel);border-radius:var(--ll-radius);font-size:13px;color:var(--ll-ink-2)}
.ll-discount-box__title{font-family:var(--ll-mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--ll-accent-2);margin-bottom:6px}
.ll-discount-box__tier{line-height:1.6}

.ll-optlabel{margin-top:26px;font-size:12.5px;font-weight:500;line-height:1;color:var(--ll-ink-2)}
.ll-optlabel span{font-weight:400;color:var(--ll-ink-4)}
.ll-swatches{display:flex;flex-wrap:wrap;gap:10px;margin-top:11px}
.ll-swatch{width:34px;height:34px;padding:0;border:1px solid rgba(0,0,0,.1);border-radius:50%;cursor:pointer}
.ll-swatch[aria-pressed="true"]{outline:1.5px solid var(--ll-ink);outline-offset:3px}
.ll-pills{display:flex;flex-wrap:wrap;gap:9px;margin-top:11px}
.ll-pill{padding:8px 15px;border:1px solid rgba(0,0,0,.14);border-radius:999px;background:none;font-family:var(--ll-sans);font-size:13.5px;color:var(--ll-ink-2);cursor:pointer}
.ll-pill:hover{border-color:rgba(0,0,0,.3)}
.ll-pill[aria-pressed="true"]{background:var(--ll-ink);border-color:var(--ll-ink);color:#fff}

.ll-actions{display:flex;gap:12px;margin-top:26px}
.ll-qty{display:flex;align-items:center;height:52px;border:1px solid rgba(0,0,0,.14);border-radius:var(--ll-radius);overflow:hidden;flex-shrink:0}
.ll-qty button{width:44px;height:100%;border:0;background:none;font-size:18px;color:var(--ll-ink-3);cursor:pointer;font-family:var(--ll-sans)}
.ll-qty button:hover{background:var(--ll-bg-panel);color:var(--ll-ink)}
.ll-qty span{min-width:34px;text-align:center;font-family:var(--ll-sans);font-size:15px;font-weight:500;color:var(--ll-ink)}
.ll-addtocart{flex:1;height:52px;border:0;border-radius:var(--ll-radius);background:var(--ll-accent);color:#fff;font-family:var(--ll-sans);font-size:15px;font-weight:500;cursor:pointer;box-shadow:0 6px 16px rgba(201,96,15,.24);transition:background .15s,transform .15s}
.ll-addtocart:hover{background:#b4560f}
.ll-addtocart:active{transform:translateY(1px)}
.ll-wish{width:52px;height:52px;border:1px solid rgba(0,0,0,.14);border-radius:var(--ll-radius);background:none;font-size:16px;color:var(--ll-ink-3);cursor:pointer;flex-shrink:0}
.ll-wish:hover{border-color:rgba(0,0,0,.28);color:var(--ll-accent)}
.ll-wish.active{color:var(--ll-accent);border-color:var(--ll-accent)}

.ll-usp{list-style:none;display:flex;flex-direction:column;gap:9px;margin:24px 0 0;padding:22px 0 0;border-top:1px solid var(--ll-line);font-size:13px;line-height:1.4;color:var(--ll-ink-3)}
.ll-usp li{display:flex;gap:9px}
.ll-usp li::before{content:"•";color:var(--ll-accent)}

/* ---------- Tabs ---------- */
.ll-tabs{display:flex;flex-wrap:wrap;gap:28px;border-bottom:1px solid var(--ll-line);font-size:14px;font-weight:500;line-height:1;color:var(--ll-ink-4)}
.ll-tabs button{padding:0 0 13px;border:0;background:none;font:inherit;font-family:var(--ll-sans);color:inherit;cursor:pointer}
.ll-tabs button[aria-selected="true"]{color:var(--ll-ink);box-shadow:inset 0 -2px 0 var(--ll-accent)}
.ll-panel{display:none;grid-template-columns:minmax(0,1fr) 300px;gap:44px;padding:26px 0 40px}
.ll-panel.active{display:grid}
.ll-panel p{margin:0;font-size:15.5px;line-height:1.7;color:var(--ll-ink-2);max-width:62ch;text-wrap:pretty}
.ll-panel p + p{margin-top:16px;color:var(--ll-ink-3)}
.ll-facts{background:var(--ll-bg-panel);border-radius:var(--ll-radius);padding:20px 22px;align-self:start}
.ll-facts__title{font-family:var(--ll-mono);font-size:12px;line-height:1;letter-spacing:.09em;text-transform:uppercase;color:var(--ll-accent-2);margin-bottom:13px;margin-top:0}
.ll-facts dl{display:grid;grid-template-columns:auto auto;gap:13px 12px;margin:0;font-size:13.5px}
.ll-facts dt{color:var(--ll-ink-4)}
.ll-facts dd{margin:0;text-align:right;color:var(--ll-ink-2)}
.ll-panel-single{grid-template-columns:minmax(0,1fr)}

/* Bewertungen/Fragen innerhalb der Tabs - nutzt die bestehenden .review-* Klassen, hier nur
   Schriftart/Abstand ans neue Design angeglichen */
.ll-panel .review-summary, .ll-panel .reviews-grid, .ll-panel #productQuestionsList { font-family: var(--ll-sans); }
.ll-panel h3 { font-family: var(--ll-serif); font-weight: 400; font-size: 22px; margin: 24px 0 12px; }

/* ---------- Responsive ---------- */
@media (max-width:1080px){
  .ll-product{grid-template-columns:96px minmax(0,1fr);}
  .ll-buy{grid-column:1 / -1}
  .ll-panel{grid-template-columns:1fr}
}
@media (max-width:720px){
  .ll-product{grid-template-columns:1fr;gap:18px}
  .ll-thumbs{flex-direction:row;order:2;overflow-x:auto}
  .ll-thumb{width:80px;flex:0 0 auto}
  .ll-hero{order:1}
  .ll-title{font-size:30px}
  .ll-price__value{font-size:28px}
  .ll-tabs{gap:18px;overflow-x:auto}
}

/* Für Suchmaschinen/Screenreader vorhanden, aber visuell unsichtbar - Standard-Muster für Fälle,
   in denen eine semantisch korrekte H1 nötig ist, aber kein zusätzlicher sichtbarer Text gewollt
   ist (siehe applyHomepageLayout()-Absicherung in app.js) */
.sr-only-h1-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Kategorie-Kopfbereich auf /alle-produkte ---------- */
/* #allProductsTitle und #categoryDescriptionText werden auch von backend/main.py per Regex
   befuellt (SSR fuer Crawler ohne JS) - Element-IDs und die Klasse "hidden" auf
   #categoryDescriptionText duerfen sich daher nicht aendern, nur per ID ueberschrieben werden. */
.ll-cat {
  max-width: 1280px;
  margin: 0 auto 8px;
}
.ll-cat__top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.ll-cat__eyebrow { margin: 0 0 18px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ll-cat__eyebrow a { color: var(--muted); text-decoration: none; }
.ll-cat__eyebrow a:hover { color: var(--accent); text-decoration: underline; }
.ll-cat__eyebrow span[aria-hidden] { color: var(--border); }
/* 'Instrument Serif' ist bereits selbst gehostet (siehe @font-face oben, genutzt von .ll-detail
   auf der Produktseite) - bewusst wiederverwendet statt eine neue Font (Marcellus) nachzuladen:
   selbes Editorial-Serif-Aussehen, aber ohne zusaetzliche Font-Datei/externe Google-Fonts-Anfrage. */
#allProductsTitle.row-title {
  margin: 0;
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.02;
}
#categoryDescriptionText {
  margin: 0 !important;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}
.ll-cat__textwrap {
  margin-top: 22px;
  max-width: 60ch;
  overflow: hidden;
}
.ll-cat__textwrap:not(.expanded) #categoryDescriptionText {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ll-cat__textwrap.expanded {
  max-width: 1100px;
}
.ll-cat__textwrap.expanded #categoryDescriptionText {
  columns: 2;
  column-gap: 56px;
}
.ll-cat__more {
  margin-top: 10px;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 15px;
  color: var(--accent);
  cursor: pointer;
  border-bottom: 1px solid var(--accent);
}
.ll-cat__more:hover { opacity: .75; }
@media (max-width: 820px) {
  .ll-cat__textwrap.expanded { columns: 1; max-width: 60ch; }
  .ll-cat__textwrap.expanded #categoryDescriptionText { columns: 1; }
}
.ll-cat__facts { border-left: 1px solid var(--border); padding-left: 32px; display: flex; flex-direction: column; gap: 18px; }
.ll-cat__num { margin: 0; font-family: 'Instrument Serif', Georgia, serif; font-size: 32px; color: var(--text); }
.ll-cat__label { margin: 2px 0 0; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.ll-bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin: 32px 0 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.ll-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ll-chip { height: 38px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--border); background: #fff; font: inherit; font-size: 14px; color: var(--text); cursor: pointer; transition: border-color .15s ease; }
.ll-chip:hover { border-color: var(--accent); }
.ll-chip[aria-pressed="true"] { background: var(--text); color: #fdfcfa; border-color: transparent; }
.ll-bar__right { display: flex; align-items: center; gap: 14px; }
.ll-count { font-size: 13px; color: var(--muted); }

@media (max-width: 820px) {
  .ll-cat__top { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .ll-cat__facts { border-left: none; border-top: 1px solid var(--border); padding: 24px 0 0; }
}
