/* ═══════════════════════════════════════════════════════════════
   LAYUX Shop – Stylesheet
   Passend zu layux.de | Manrope + Space Grotesk | Stand: 2026
═══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --bg:           #1f1f1f;
  --surface:      #1b1b1b;
  --surface-2:    #242424;
  --text:         #ededed;
  --muted:        #bfc3c6;
  --line:         #2f2f2f;
  --line-strong:  #3b3b3b;
  --accent:       #ff7a00;
  --accent-h:     #e56e00;
  --accent-2:     #ff9a3d;
  --radius:       14px;
  --radius-sm:    10px;
  --font-body:    'Montserrat', sans-serif;
  --font-head:    'Montserrat', sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img  { max-width: 100%; display: block; }
a    { color: inherit; }
button { cursor: pointer; font: inherit; }

/* ── Base ──────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

/* Hintergrund-Verlauf wie layux.de */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, #1f1f1f 0%, #191919 100%),
    radial-gradient(1200px 450px at 92% -8%, rgba(255,122,0,.12), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* ── Typografie ────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; }
h1 { font-size: clamp(1.75rem, 5vw, 2.8rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); }
h3 { font-size: 1.1rem; font-family: var(--font-head); }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}

/* ── Layout ────────────────────────────────────────────────── */
.container {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: .85rem;
  z-index: 100;
  width: min(1100px, calc(100% - 2rem));
  margin: .85rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  background: rgba(31,31,31,.9);
  backdrop-filter: saturate(120%) blur(6px);
  border-radius: 999px;
  padding: .55rem .85rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

.logo {
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .05em;
  font-size: 1.72rem;
  color: var(--accent);
  padding: .3rem .65rem;
  display: flex;
  align-items: center;
  gap: .3rem;
}

.site-header .logo,
.site-header .logo:visited,
.site-header .logo:hover,
.site-header .logo:focus-visible {
  color: var(--accent) !important;
}

.logo-sub {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.72rem;
  color: var(--accent);
  letter-spacing: .02em;
}

.site-header .logo-sub {
  color: var(--accent) !important;
}

.header-nav { display: flex; gap: .35rem; align-items: center; }
.header-nav .btn {
  transition: opacity 150ms, background 150ms, border-color 150ms;
}
.header-nav .btn:hover {
  opacity: 1;
  transform: none;
  background: #262626;
}
.header-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  padding: .38rem .7rem;
  border-radius: 999px;
  transition: background 140ms;
  white-space: nowrap;
}
.header-nav a:hover { background: #262626; }

.header-cart-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #151515;
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.header-cart-btn:hover {
  background: #242424;
}

.header-cart-icon {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.header-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid #111;
  background: var(--accent);
  color: #111;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 .25rem;
}

.header-cart-count[hidden] {
  display: none;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .68rem 1.2rem;
  font-weight: 700;
  font-size: .93rem;
  transition: opacity 150ms, transform 120ms, background 150ms;
  cursor: pointer;
  font-family: var(--font-body);
  line-height: 1;
}
.btn:hover   { opacity: .87; transform: translateY(-1px); }
.btn:active  { transform: translateY(0); }
.btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  background: #242424;
  border-color: #4a4a4a;
  color: #9a9a9a;
  box-shadow: none;
}

.btn.is-ready:not(:disabled) {
  box-shadow: 0 0 0 2px rgba(255,122,0,.25), 0 10px 30px rgba(0,0,0,.25);
}

.btn-primary {
  background: var(--accent);
  color: #111;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--accent);
}

#add-request-btn:not(:disabled) {
  background: var(--accent);
  color: #111;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.btn-sm { padding: .45rem .85rem; font-size: .84rem; }
.btn-full { width: 100%; }

#header-order-btn.has-items {
  background: var(--accent);
  color: var(--surface);
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  position: relative;
}

#header-order-btn.has-items::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #111;
  box-shadow: 0 0 0 0 rgba(17,17,17,.55);
  animation: orderPulse 1.6s ease-out infinite;
}

@keyframes orderPulse {
  0% { box-shadow: 0 0 0 0 rgba(17,17,17,.55); }
  80% { box-shadow: 0 0 0 8px rgba(17,17,17,0); }
  100% { box-shadow: 0 0 0 0 rgba(17,17,17,0); }
}

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .83rem;
  color: var(--muted);
  padding: 1.6rem 0 0;
}
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumb .sep { opacity: .45; }

/* ── Shop-Hero (Übersichtsseite) ───────────────────────────── */
.shop-hero { padding: 2rem 0 1.25rem; }
.shop-hero h1 { margin-top: .4rem; }
.shop-hero .lead {
  color: #d9d9d9;
  max-width: 58ch;
  margin-top: .55rem;
  font-size: 1.02rem;
}

.shop-intro {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1rem;
  margin: 0 0 1.5rem;
}

.shop-intro-card,
.shop-intro-links {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.shop-intro-card p {
  color: var(--muted);
  margin-top: .45rem;
}

.shop-intro-links {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.shop-intro-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem .9rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
  background: #181818;
}

.shop-intro-links a:hover {
  background: #262626;
}

/* ── Produktgitter ─────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.1rem;
  padding: .5rem 0 2rem;
}

.domain-sections {
  display: grid;
  gap: 1.2rem;
}

.domain-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,.005));
  padding: .9rem;
}

.domain-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .5rem;
}

.domain-head h2 {
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-2);
}

#lasergravur {
  border-color: #5a3d24;
  background:
    linear-gradient(180deg, rgba(255,162,77,.11), rgba(255,162,77,.04)),
    linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,.005));
}

/* ── Produktkarte ──────────────────────────────────────────── */
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 200ms, transform 200ms;
}
.product-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transform: translateY(-3px);
}

.card-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0f0f0f;
  position: relative;
}
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.card-badge {
  position: absolute;
  top: .7rem;
  left: .7rem;
  background: var(--accent);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .22rem .55rem;
  border-radius: 999px;
}
.card-badge.teal { background: var(--accent-2); }

.card-body { padding: 1rem 1rem .6rem; flex: 1; display: flex; flex-direction: column; gap: .45rem; }

.card-name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.card-desc { font-size: .86rem; color: var(--muted); flex: 1; line-height: 1.5; white-space: pre-line; }

.card-colors {
  display: flex;
  align-items: center;
  gap: .28rem;
  flex-wrap: wrap;
}
.color-dot {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.14);
  flex-shrink: 0;
  display: inline-block;
}
.color-dot.light-border { border-color: #858585; }
.color-more { font-size: .74rem; color: var(--muted); font-weight: 600; }

.card-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
}
.card-price .unit { font-family: var(--font-body); font-weight: 500; font-size: .78rem; color: var(--muted); }

.card-footer { padding: .65rem 1rem 1rem; }

/* ── Produktdetail-Layout ──────────────────────────────────── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 1.25rem 0 3rem;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 5.5rem;
}
.main-image {
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-image img { width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; background: #111; }
.main-image img.is-initial-placeholder {
  opacity: 0;
}
.main-image img.is-ready {
  opacity: 1;
  transition: opacity .18s ease;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: .5rem;
  margin-top: .55rem;
}

.thumb-btn {
  border: 1px solid var(--line);
  background: #141414;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
}

.thumb-btn img {
  width: 100%;
  height: 72px;
  object-fit: cover;
}

.thumb-btn.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(255,122,0,.2);
}

.product-info { display: flex; flex-direction: column; gap: 1.2rem; }

/* Titel-Bereich */
.product-head { display: flex; flex-direction: column; gap: .3rem; }

/* Preis-Box */
.price-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  display: flex;
  align-items: baseline;
  gap: .5rem;
  flex-wrap: wrap;
}
.price-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.65rem;
}
.price-note { font-size: .82rem; color: var(--muted); }

.shipping-hint {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  margin-left: .18rem;
}

.shipping-hint-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #181818;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  padding: 0;
}

.shipping-hint-popup {
  display: none !important;
  position: absolute;
  left: 0;
  top: calc(100% + .55rem);
  min-width: 220px;
  padding: .7rem .8rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background-color: #121212;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--text);
  font-size: .78rem;
  line-height: 1.5;
  box-shadow: 0 14px 30px rgba(0,0,0,.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
  z-index: 20;
}

/* Versandinfo wird per JS-Dialog angezeigt (kein CSS-Tooltip mehr). */

.product-desc { color: var(--muted); font-size: .96rem; line-height: 1.65; white-space: pre-line; }

/* ── Abschnitts-Label ──────────────────────────────────────── */
.field-label {
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  display: block;
  margin-bottom: .45rem;
}

/* ── Farbauswahl ───────────────────────────────────────────── */
.swatch-section { display: flex; flex-direction: column; }

.swatch-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.swatch {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  background: none;
  padding: 2px;
  cursor: pointer;
  transition: border-color 140ms, transform 130ms;
  outline: none;
}
.swatch:hover { transform: scale(1.12); }
.swatch:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.swatch.selected { border-color: var(--accent); transform: scale(1.12); }

.swatch-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swatch[data-name="Weiß"] .swatch-inner,
.swatch[data-name="Neongelb"] .swatch-inner { border-color: #8b8b8b; }

.swatch.selected .swatch-inner::after {
  content: '✓';
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
}

.color-result {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .75rem;
  background: #1f1f1f;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: .88rem;
  margin-top: .55rem;
}
.color-result[hidden] { display: none; }
.color-result-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.18);
  flex-shrink: 0;
}
.color-result-name   { font-weight: 600; }
.color-result-mat    { color: var(--muted); font-size: .8rem; margin-left: .3rem; }

/* ── Textfeld (Personalisierung) ───────────────────────────── */
.text-section { display: flex; flex-direction: column; }
.text-section[hidden] { display: none; }

.input-wrap { position: relative; }
.personalization-input {
  width: 100%;
  padding: .65rem .9rem;
  padding-right: 5rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #111;
  font: inherit;
  font-size: .96rem;
  color: var(--text);
  transition: border-color 180ms;
  outline: none;
  appearance: none;
}
.personalization-input:focus  { border-color: var(--accent-2); }
.personalization-input::placeholder { color: #7f7f7f; }

.char-counter {
  position: absolute;
  right: .8rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: .76rem;
  font-weight: 700;
  color: var(--muted);
  pointer-events: none;
}
.char-counter.warn { color: var(--accent); }

.input-hint { font-size: .79rem; color: var(--muted); margin-top: .3rem; }

/* ── Mengenstepper ─────────────────────────────────────────── */
.qty-section { display: flex; flex-direction: column; }

.qty-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
}
.qty-btn {
  background: none;
  border: none;
  width: 42px;
  height: 44px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  transition: background 130ms;
}
.qty-btn:hover:not(:disabled) { background: #262626; }
.qty-btn:disabled { opacity: .32; cursor: not-allowed; }
.qty-num {
  min-width: 52px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: .5rem 0;
  user-select: none;
}
.qty-total { font-size: .86rem; color: var(--muted); }
.qty-total strong { color: var(--text); }

/* ── Hinweis-Box ───────────────────────────────────────────── */
.notice {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .7rem .9rem;
  border-radius: var(--radius-sm);
  font-size: .86rem;
  line-height: 1.55;
}
.notice-info { background: #171717; border: 1px solid var(--line-strong); color: #d8d8d8; }
.notice-warn { background: #20150e; border: 1px solid #5a331a; color: #ffd2b7; }
.notice-icon { flex-shrink: 0; margin-top: .1rem; }

/* ── CTA Bereich ───────────────────────────────────────────── */
.cta-area { display: flex; flex-direction: column; gap: .6rem; }
.validation-msg {
  font-size: .82rem;
  color: var(--muted);
  font-weight: 600;
  min-height: 1.1em;
  border-radius: 10px;
  padding: .5rem .65rem;
  border: 1px solid transparent;
  background: transparent;
}

.validation-msg:empty {
  padding: 0;
  border-color: transparent;
}

.validation-msg.is-error {
  color: #ffb5b5;
  background: rgba(165, 33, 33, .25);
  border-color: rgba(255, 120, 120, .45);
}

.validation-msg.is-success {
  color: #b9ffd5;
  background: rgba(18, 110, 64, .25);
  border-color: rgba(120, 255, 187, .38);
}

.validation-msg.is-info {
  color: #ffe2c4;
  background: rgba(255, 122, 0, .16);
  border-color: rgba(255, 174, 95, .38);
}
.cta-note { font-size: .8rem; color: var(--muted); }

.toast-host {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.toast {
  min-width: 220px;
  max-width: min(90vw, 420px);
  padding: .68rem .8rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: .84rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-success {
  color: #b9ffd5;
  background: #173328;
  border-color: #2f7355;
}

.toast-info {
  color: #ffe2c4;
  background: #3b2718;
  border-color: #8b5a2f;
}

.toast-error {
  color: #ffcccc;
  background: #3a1f1f;
  border-color: #8f3a3a;
}

.request-actions {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
}

.request-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: .9rem;
}

.request-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .65rem;
}

.request-box-title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
}

.request-list {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.request-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .7rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #181818;
  padding: .75rem;
}

.request-item-main {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.request-item-title {
  font-weight: 700;
  font-size: .9rem;
}

.request-item-meta {
  font-size: .8rem;
  color: var(--muted);
}

.request-summary {
  font-size: .82rem;
  color: var(--muted);
  margin-top: .65rem;
}

.request-empty {
  font-size: .84rem;
  color: var(--muted);
}

.payment-section {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.payment-options {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem .95rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
}

.payment-option input {
  accent-color: var(--accent);
}

.payment-note {
  font-size: .8rem;
  color: var(--muted);
}

.cart-dialog {
  position: fixed;
  width: min(760px, calc(100% - 2rem));
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 0;
  background: #131313;
  color: var(--text);
  box-shadow: 0 22px 60px rgba(0,0,0,.55);
  max-height: min(82vh, 920px);
  overflow: auto;
}

.cart-dialog::backdrop {
  background: rgba(0,0,0,.62);
}

.cart-dialog-inner {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.cart-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}

.cart-dialog-head h2 {
  font-size: 1.15rem;
}

.cart-dialog-actions {
  justify-content: flex-end;
}

/* ── Spezifikations-Tabelle ────────────────────────────────── */
.specs {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.specs table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.specs tr { border-bottom: 1px solid var(--line); }
.specs tr:last-child { border-bottom: none; }
.specs td { padding: .6rem .85rem; vertical-align: top; }
.specs td:last-child { white-space: pre-line; }
.specs td:first-child {
  font-weight: 700;
  width: 42%;
  color: var(--muted);
  white-space: nowrap;
}
.specs-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  padding: .55rem .85rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

/* ── Trennlinie ────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: .25rem 0;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0;
  margin-top: 2rem;
  color: var(--muted);
  font-size: .85rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-links { display: flex; gap: 1rem; }
.footer-links a { text-decoration: none; color: var(--muted); }
.footer-links a:hover { color: var(--text); text-decoration: underline; }

.footer-links a { text-decoration: none; color: var(--muted); }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms ease, transform 400ms ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 820px) {
  .product-detail { grid-template-columns: 1fr; gap: 1.5rem; }
  .product-gallery { position: static; }
  .shop-intro { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .site-header {
    border-radius: var(--radius);
    top: .5rem;
    padding: .45rem .6rem;
    gap: .45rem;
  }
  .logo,
  .logo-sub { font-size: 1.25rem; }
  .header-nav { gap: .2rem; }
  .header-nav .back-link { display: none; }
  .header-nav a[href="../#kontakt"] { display: none; }
  .header-nav .btn-sm {
    padding: .4rem .62rem;
    font-size: .78rem;
    min-height: 44px;
  }
  .header-cart-btn { width: 44px; height: 44px; }
  .header-cart-icon { width: 19px; height: 19px; }
  .swatch { width: 44px; height: 44px; }
  .qty-btn { width: 44px; min-height: 44px; }
  .shipping-hint-btn {
    width: 24px;
    height: 24px;
    font-size: .82rem;
    position: relative;
  }
  .shipping-hint-btn::before {
    content: '';
    position: absolute;
    inset: -10px;
  }
  h1 { font-size: 1.6rem; }
  .request-actions { flex-direction: column; }
  .cart-dialog-actions { align-items: stretch; }
}
