/* =========================================================================
   GLANZSTÜCKE – Design-System
   ========================================================================= */

/* ---- Lokale Schriften (DSGVO-konform, kein externer Request) ---- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/jost-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jost-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jost-500.woff2') format('woff2');
}

/* ---- Design-Tokens ---- */
:root {
  --gs-bg:          #0C0B09;  /* Schwarzer Hintergrund */
  --gs-bg-soft:     #131109;  /* Minimal aufgehellt für Sektionen */
  --gs-gold:        #C9A45C;  /* Gold-Akzent */
  --gs-gold-light:  #E4CB93;  /* Helleres Gold – Überschriften */
  --gs-cream:       #F3ECDD;  /* Creme-Text */
  --gs-muted:       #9C917C;  /* Gedämpftes Beige-Grau – Sekundärtext */
  --gs-line:        rgba(201, 164, 92, 0.28); /* Feine Gold-Trennlinie */
  --gs-line-soft:   rgba(243, 236, 221, 0.12);

  --gs-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --gs-sans:  'Jost', 'Helvetica Neue', Arial, sans-serif;

  --gs-radius: 2px;
  --gs-maxw: 1240px;
  --gs-gutter: clamp(20px, 5vw, 64px);
}

/* ---- Reset / Basis ---- */
*, *::before, *::after { box-sizing: border-box; }

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

body.glanzstuecke,
body {
  margin: 0;
  background: var(--gs-bg);
  color: var(--gs-cream);
  font-family: var(--gs-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.2px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gs-gold-light); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--gs-cream); }

h1, h2, h3, h4 {
  font-family: var(--gs-serif);
  font-weight: 400;
  color: var(--gs-gold-light);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: 0.3px;
}

p { margin: 0 0 1em; }

/* ---- Utility ---- */
.gs-container {
  width: 100%;
  max-width: var(--gs-maxw);
  margin: 0 auto;
  padding-left: var(--gs-gutter);
  padding-right: var(--gs-gutter);
}

.gs-eyebrow {
  font-family: var(--gs-sans);
  font-weight: 400;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gs-gold);
  margin: 0 0 18px;
}

.gs-section { padding: clamp(56px, 8vw, 104px) 0; }
.gs-section--tight { padding: clamp(40px, 5vw, 64px) 0; }

.gs-section-head { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.gs-section-head h2 { font-size: clamp(30px, 5vw, 46px); }
.gs-section-head p { color: var(--gs-muted); max-width: 540px; margin: 8px auto 0; }

/* ---- Buttons ---- */
.gs-btn {
  display: inline-block;
  font-family: var(--gs-sans);
  font-weight: 400;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gs-gold-light);
  background: transparent;
  border: 1px solid var(--gs-gold);
  border-radius: var(--gs-radius);
  padding: 15px 34px;
  cursor: pointer;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.gs-btn:hover { background: var(--gs-gold); color: var(--gs-bg); }
.gs-btn--solid { background: var(--gs-gold); color: var(--gs-bg); }
.gs-btn--solid:hover { background: var(--gs-gold-light); border-color: var(--gs-gold-light); color: var(--gs-bg); }

/* =========================================================================
   HEADER
   ========================================================================= */
.gs-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 11, 9, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gs-line);
}
.gs-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}
.gs-logo { justify-self: start; }
.gs-logo img { height: 34px; width: auto; }
.gs-logo .gs-logo__text {
  font-family: var(--gs-serif);
  font-size: 22px;
  letter-spacing: 4px;
  color: var(--gs-gold-light);
  text-transform: uppercase;
}

.gs-nav { justify-self: center; }
.gs-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
}
.gs-nav a {
  font-family: var(--gs-sans);
  font-weight: 400;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--gs-cream);
  padding: 6px 0;
  position: relative;
}
.gs-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gs-gold);
  transition: width .3s ease;
}
.gs-nav a:hover { color: var(--gs-gold-light); }
.gs-nav a:hover::after { width: 100%; }

.gs-header__icons {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}
.gs-icon-btn {
  background: none; border: none; padding: 0; cursor: pointer;
  color: var(--gs-cream); line-height: 0;
  transition: color .25s ease; position: relative;
}
.gs-icon-btn:hover { color: var(--gs-gold-light); }
.gs-icon-btn svg { width: 20px; height: 20px; }
.gs-cart-count {
  position: absolute;
  top: -8px; right: -10px;
  background: var(--gs-gold);
  color: var(--gs-bg);
  font-family: var(--gs-sans);
  font-size: 10px;
  font-weight: 500;
  min-width: 16px; height: 16px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

.gs-burger { display: none; }

/* =========================================================================
   HERO
   ========================================================================= */
.gs-hero {
  text-align: center;
  padding: clamp(72px, 12vw, 150px) 0 clamp(64px, 9vw, 120px);
  border-bottom: 1px solid var(--gs-line);
}
.gs-hero__eyebrow {
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 3px; color: var(--gs-gold);
  margin-bottom: 26px;
}
.gs-hero h1 {
  font-size: clamp(44px, 8vw, 84px);
  font-weight: 400;
  line-height: 1.04;
  margin: 0 auto 22px;
  max-width: 15ch;
}
.gs-hero__sub {
  color: var(--gs-muted);
  font-size: clamp(16px, 2vw, 19px);
  max-width: 520px;
  margin: 0 auto 38px;
}

/* =========================================================================
   VERTRAUENSLEISTE
   ========================================================================= */
.gs-trust {
  border-bottom: 1px solid var(--gs-line);
}
.gs-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.gs-trust__item {
  text-align: center;
  padding: 34px 18px;
  border-left: 1px solid var(--gs-line-soft);
}
.gs-trust__item:first-child { border-left: none; }
.gs-trust__num {
  font-family: var(--gs-serif);
  font-size: clamp(26px, 3vw, 34px);
  color: var(--gs-gold-light);
  line-height: 1;
  margin-bottom: 8px;
}
.gs-trust__label {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 1.8px; color: var(--gs-muted);
}

/* =========================================================================
   KATEGORIE-GRID
   ========================================================================= */
.gs-cats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--gs-line-soft);
  border: 1px solid var(--gs-line-soft);
}
.gs-cat {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--gs-bg-soft);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.gs-cat img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .62;
  transition: transform .6s ease, opacity .4s ease;
}
.gs-cat:hover img { transform: scale(1.06); opacity: .78; }
.gs-cat__label {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 22px 10px;
  font-family: var(--gs-sans);
  font-weight: 400;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gs-cream);
  background: linear-gradient(to top, rgba(12,11,9,.9), transparent);
}
.gs-cat--empty { align-items: center; justify-content: center; }
.gs-cat--empty .gs-cat__label { background: none; color: var(--gs-muted); }

/* =========================================================================
   PRODUKTGRID
   ========================================================================= */
.gs-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px) clamp(16px, 2.5vw, 32px);
}
.gs-product { position: relative; }
.gs-product__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gs-bg-soft);
  border: 1px solid var(--gs-line-soft);
  border-radius: var(--gs-radius);
  margin-bottom: 16px;
}
.gs-product__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.gs-product:hover .gs-product__media img { transform: scale(1.05); }
.gs-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-family: var(--gs-sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--gs-bg);
  background: var(--gs-gold);
  padding: 5px 10px;
  border-radius: var(--gs-radius);
}
.gs-badge--out {
  background: transparent;
  color: var(--gs-muted);
  border: 1px solid var(--gs-line);
}
.gs-product__name {
  font-family: var(--gs-serif);
  font-size: 20px;
  color: var(--gs-cream);
  margin: 0 0 4px;
}
.gs-product__price {
  font-family: var(--gs-sans);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .5px;
  color: var(--gs-gold-light);
}
.gs-product__price del { color: var(--gs-muted); margin-right: 8px; }
.gs-products__more { text-align: center; margin-top: clamp(36px, 5vw, 56px); }

/* =========================================================================
   MARKENVERSPRECHEN
   ========================================================================= */
.gs-promise {
  border-top: 1px solid var(--gs-line);
  border-bottom: 1px solid var(--gs-line);
}
.gs-promise__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.gs-promise__visual {
  position: relative;
  min-height: 420px;
  background: var(--gs-bg-soft);
  overflow: hidden;
}
.gs-promise__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gs-promise__visual .gs-promise__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--gs-line); font-family: var(--gs-serif); font-size: 60px;
}
.gs-promise__text {
  padding: clamp(40px, 6vw, 84px) clamp(28px, 5vw, 72px);
  display: flex; flex-direction: column; justify-content: center;
}
.gs-promise__text h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 20px; }
.gs-promise__text p { color: var(--gs-muted); max-width: 46ch; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.gs-footer {
  border-top: 1px solid var(--gs-line);
  padding: clamp(44px, 6vw, 72px) 0 32px;
  text-align: center;
}
.gs-footer__logo img { height: 30px; margin: 0 auto 22px; }
.gs-footer__logo .gs-logo__text { font-size: 20px; }
.gs-footer__nav {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 24px; list-style: none; margin: 24px 0 0; padding: 0;
}
.gs-footer__nav a {
  font-size: 12px; text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--gs-muted);
}
.gs-footer__nav a:hover { color: var(--gs-gold-light); }
.gs-footer__copy {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--gs-line-soft);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--gs-muted);
}

/* =========================================================================
   MOBILE MENU PANEL
   ========================================================================= */
.gs-mobile-panel {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(84vw, 340px);
  background: var(--gs-bg);
  border-left: 1px solid var(--gs-line);
  transform: translateX(100%);
  transition: transform .35s ease;
  z-index: 200;
  padding: 90px 32px 32px;
  display: flex; flex-direction: column; gap: 4px;
}
.gs-mobile-panel.is-open { transform: translateX(0); }
.gs-mobile-panel a {
  font-family: var(--gs-serif);
  font-size: 24px;
  color: var(--gs-cream);
  padding: 12px 0;
  border-bottom: 1px solid var(--gs-line-soft);
}
.gs-mobile-panel a:hover { color: var(--gs-gold-light); }
.gs-mobile-close {
  position: absolute; top: 26px; right: 28px;
  background: none; border: none; color: var(--gs-cream); cursor: pointer;
}
.gs-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 150;
}
.gs-overlay.is-open { opacity: 1; visibility: visible; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .gs-products { grid-template-columns: repeat(3, 1fr); }
  .gs-cats__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .gs-nav { display: none; }
  .gs-burger {
    display: inline-flex; align-items: center; justify-content: center;
    background: none; border: none; color: var(--gs-cream); cursor: pointer;
  }
  .gs-header__inner { grid-template-columns: auto 1fr auto; }
  .gs-header__icons { gap: 16px; }
  .gs-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .gs-trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--gs-line-soft); }
  .gs-trust__item:nth-child(odd) { border-left: none; }
  .gs-promise__grid { grid-template-columns: 1fr; }
  .gs-promise__visual { min-height: 320px; }
}

@media (max-width: 640px) {
  .gs-products { grid-template-columns: repeat(2, 1fr); }
  .gs-cats__grid { grid-template-columns: repeat(2, 1fr); }
  .gs-product__name { font-size: 18px; }
}

@media (max-width: 420px) {
  .gs-cats__grid { grid-template-columns: 1fr; }
}
