/* =====================================================================
   EA VINTAGE — Basis-Styles (gemeinsame Bausteine aller Seiten)
   Seiten-spezifisches gehört in home.css / collection.css / product.css.
   ===================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color var(--t-med) ease, color var(--t-med) ease;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-pill); background: var(--text); color: var(--bg); font-weight: 600; transition: top .2s ease; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

body.is-locked { overflow: hidden; }


/* ---------- Ladebildschirm (wie ninesixfits: schwarz, weißes Logo pulsiert) ---------- */
body::before, body::after { pointer-events: none; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: 9998;
  background: #0a0a0a;
  opacity: 1; visibility: visible;
  transition: opacity .55s ease, visibility 0s linear .55s;
}
body::after {
  content: ""; position: fixed; z-index: 9999; left: 50%; top: 50%;
  width: min(52vw, 240px); aspect-ratio: 6.8;
  transform: translate(-50%, -50%);
  background: #fff;
  -webkit-mask: url("../logo/logo-header.svg") center / contain no-repeat;
  mask: url("../logo/logo-header.svg") center / contain no-repeat;
  opacity: 1; visibility: visible;
  animation: eaPulse 1.6s ease-in-out infinite;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
@keyframes eaPulse { 50% { opacity: .25; } }
html.ea-loaded body::before, html.ea-loaded body::after { opacity: 0; visibility: hidden; }
html.ea-loaded body::after { animation: none; }
html.ea-leaving body::before { opacity: 1; visibility: visible; transition: opacity .25s ease, visibility 0s; }
html.ea-leaving body::after { opacity: 1; visibility: visible; animation: eaPulse 1.6s ease-in-out infinite; transition: opacity .2s ease .05s, visibility 0s; }
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }
/* Sicherheitsnetz: falls JS nicht läuft, verschwindet der Ladebildschirm nach 3 s von selbst */
html:not(.ea-leaving):not(.ea-loaded) body::before { animation: eaFailsafe .4s ease 3s forwards; }
html:not(.ea-leaving):not(.ea-loaded) body::after { animation: eaPulse 1.6s ease-in-out infinite, eaFailsafe .4s ease 3s forwards; }
@keyframes eaFailsafe { to { opacity: 0; visibility: hidden; } }

/* ---------- Typografie ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  letter-spacing: -.015em;
  line-height: .92;
}
.h1, .h2, .h3, .h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.01em; line-height: 1.08; }
.h1 { font-size: clamp(30px, 6vw, 56px); }
.h2 { font-size: clamp(26px, 4.2vw, 42px); }
.h3 { font-size: clamp(20px, 2.4vw, 26px); }
.h4 { font-size: 18px; }
.display, .h1, .h2 { overflow-wrap: break-word; hyphens: manual; -webkit-hyphens: manual; }
.upper { text-transform: uppercase; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.mono { font-family: var(--font-mono); }
.price { font-family: var(--font-body); font-weight: 600; font-variant-numeric: tabular-nums; }
.price s, .price .was { color: var(--muted); font-weight: 400; margin-left: 6px; }
.price .now-sale { color: var(--sale); }
.chrome-text {
  background: var(--chrome);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--site-max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 880px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--soft { background: var(--bg-soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head .eyebrow { margin-bottom: 8px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.link-arrow .i { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease-out); }
.link-arrow:hover .i { transform: translateX(3px); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
main { min-height: 50vh; }

/* ---------- Icons ---------- */
.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--btn-bg); --_fg: var(--btn-text); --_bd: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--_bd);
  background: var(--_bg); color: var(--_fg);
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  letter-spacing: .07em; text-transform: uppercase;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) ease;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.btn:hover { --_bg: var(--btn-bg-hover); --_bd: var(--btn-bg-hover); }
.btn:active { transform: scale(.98); }
.btn .i { width: 18px; height: 18px; }
.btn--outline { --_bg: transparent; --_fg: var(--text); --_bd: var(--line-strong); }
.btn--outline:hover { --_bg: var(--text); --_fg: var(--bg); --_bd: var(--text); }
.btn--light { --_bg: #fff; --_fg: #0b0b0b; --_bd: #fff; }
.btn--light:hover { --_bg: #e9e9e5; --_bd: #e9e9e5; }
.btn--ghost-light { --_bg: transparent; --_fg: #fff; --_bd: rgba(255,255,255,.85); }
.btn--ghost-light:hover { --_bg: #fff; --_fg: #0b0b0b; --_bd: #fff; }
.btn--wa { --_bg: #25d366; --_fg: #062e16; --_bd: #25d366; }
.btn--wa:hover { --_bg: #1fbe5b; --_bd: #1fbe5b; }
.btn--block { width: 100%; }
.btn--square { border-radius: 0; min-height: 54px; }
.btn--sm { min-height: 38px; padding: 8px 16px; font-size: 12px; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  transition: background-color var(--t-fast) ease;
  -webkit-tap-highlight-color: transparent;
}
.icon-btn:hover { background: color-mix(in srgb, currentColor 8%, transparent); }

/* ---------- Badges & Chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 7px; border-radius: var(--radius-badge);
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--text); color: var(--bg);
  line-height: 1.2;
}
.badge--sold { background: #0b0b0b; color: #d6d6d0; }
.badge--sale { background: var(--sale-bg); color: #fff; }
.badge--new { background: var(--accent); color: var(--on-accent); }
.badge--one { background: var(--bg); color: var(--text); border: 1px solid var(--line); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: var(--bg);
  font-size: 13px; font-weight: 500;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); display: inline-block; box-shadow: 0 0 0 4px color-mix(in srgb, var(--good) 20%, transparent); }
.dot--live { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--good) 0%, transparent); } }

/* ---------- Ankündigungsleiste (Marquee) ---------- */
.announce {
  height: var(--ann-h);
  background: var(--text); color: var(--bg);
  overflow: hidden; display: flex; align-items: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  position: relative; z-index: 41;
}
.announce__track { display: flex; flex: none; gap: 0; animation: marquee 38s linear infinite; will-change: transform; }
.announce__item { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; white-space: nowrap; }
.announce__item::after { content: "✦"; opacity: .7; }
.announce:hover .announce__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  transition: background-color var(--t-med) ease, color var(--t-med) ease, border-color var(--t-med) ease;
}
.site-header__inner {
  height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px;
}
.site-header__left, .site-header__right { display: flex; align-items: center; gap: 2px; }
.site-header__right { justify-content: flex-end; }
.site-header__nav { display: none; gap: 22px; margin-left: 14px; }
.site-header__nav a {
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  position: relative; padding-block: 6px;
}
.site-header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-fast) var(--ease-out);
}
.site-header__nav a:hover::after, .site-header__nav a[aria-current="page"]::after { transform: scaleX(1); }
.only-desktop { display: none !important; }
@media (min-width: 1024px) {
  .site-header__nav { display: flex; }
  .only-desktop { display: inline-grid !important; }
  .only-mobile { display: none !important; }
}

/* Transparent über dem Hero (Startseite) */
body[data-header="transparent"] .site-header:not(.is-solid) {
  background: transparent; border-color: transparent; color: #fff;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
body[data-header="transparent"] .site-header { position: absolute; left: 0; right: 0; top: var(--ann-h); }
body[data-header="transparent"] .site-header.is-fixed { position: fixed; top: 0; }
body[data-header="transparent"] .announce { position: relative; }

.logo { display: inline-flex; align-items: center; color: inherit; }
.logo__mark {
  display: block;
  height: 26px; aspect-ratio: var(--logo-ratio, 5.6);
  max-width: 42vw;
  background: currentColor;
  -webkit-mask: var(--logo-url) center / contain no-repeat;
  mask: var(--logo-url) center / contain no-repeat;
}
@media (min-width: 768px) { .logo__mark { height: 32px; max-width: 280px; } }

.cart-count {
  position: absolute; top: 5px; right: 3px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--accent); color: var(--on-accent);
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
  transform: scale(0); transition: transform var(--t-fast) var(--ease-out);
}
.cart-count.is-on { transform: scale(1); }
.cart-count.bump { animation: bump .45s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- Overlay, Drawer, Modal ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 60;
  background: var(--overlay);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-med) ease, visibility var(--t-med) ease;
}
.overlay.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 61;
  width: min(440px, 100vw);
  background: var(--bg); color: var(--text);
  display: flex; flex-direction: column;
  visibility: hidden;
  transition: transform .55s var(--ease), visibility 0s linear .55s, box-shadow .3s ease;
}
.drawer.is-open { visibility: visible; box-shadow: var(--shadow-lg); transition: transform .55s var(--ease), visibility 0s, box-shadow .3s ease; }
.drawer--left { left: 0; transform: translateX(-102%); }
.drawer--right { right: 0; transform: translateX(102%); }
.drawer.is-open { transform: none; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px 10px 20px; min-height: var(--header-h);
  border-bottom: 1px solid var(--line);
}
.drawer__title { font-family: var(--font-display); font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: .02em; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.drawer__foot { border-top: 1px solid var(--line); padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); }

/* Navigation */
.nav-list { padding: 10px 20px 20px; }
.nav-list > li { border-bottom: 1px solid var(--line); }
.nav-list > li > a, .nav-acc > summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 0;
  font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.01em;
  text-transform: uppercase; cursor: pointer; list-style: none;
}
.nav-acc > summary::-webkit-details-marker { display: none; }
.nav-acc > summary .i { transition: transform var(--t-fast) ease; }
.nav-acc[open] > summary .i { transform: rotate(45deg); }
.nav-sub { padding: 0 0 10px 2px; display: grid; gap: 0; }
.nav-sub a { font-size: 16px; color: var(--text-2); display: flex; align-items: center; min-height: 44px; }
.nav-sub a:hover { color: var(--text); }
.nav-tag { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; background: var(--accent); color: var(--on-accent); padding: 3px 6px; border-radius: 4px; }
.nav-extra { padding: 6px 20px 24px; display: grid; gap: 12px; }
.socials { display: flex; gap: 6px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color var(--t-fast) ease, color var(--t-fast) ease; }
.socials a:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.socials .i { width: 20px; height: 20px; }

/* Warenkorb */
.ship-bar { padding: 14px 20px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.ship-bar__text { font-size: 13.5px; margin-bottom: 9px; }
.ship-bar__text strong { font-weight: 700; }
.ship-bar__track { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.ship-bar__fill { height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width .6s var(--ease); }
.ship-bar.is-done .ship-bar__fill { background: var(--good); }
.cart-items { padding: 6px 20px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-item__img { aspect-ratio: 2/3; border-radius: 6px; overflow: hidden; background: var(--img-bg); }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); }
.cart-item__title { font-family: var(--font-display); font-weight: 700; font-size: 14px; line-height: 1.25; }
.cart-item__meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.cart-item__one { margin-top: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.cart-item__remove { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; margin: 2px 0 -12px -8px; padding: 12px 8px; }
.cart-empty { padding: 48px 20px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.cart-empty .i { width: 40px; height: 40px; color: var(--muted); }
.cart-sum { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.cart-sum__label { font-weight: 600; }
.cart-sum__value { font-weight: 700; font-size: 18px; }
.cart-note { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.pay-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; justify-content: center; }
.pay {
  display: inline-flex; align-items: center; height: 24px; padding: 0 8px;
  border: 1px solid var(--line); border-radius: 4px; background: var(--bg);
  font-size: 12px; font-weight: 700; letter-spacing: .01em; color: var(--text-2);
}

/* Modal */
.modal {
  position: fixed; z-index: 70; left: 50%; top: 50%;
  width: min(460px, calc(100vw - 32px));
  transform: translate(-50%, -46%) scale(.98);
  opacity: 0; visibility: hidden;
  background: var(--bg); color: var(--text);
  border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 28px 24px 22px;
  transition: opacity var(--t-med) ease, transform var(--t-med) var(--ease), visibility var(--t-med);
}
.modal.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.modal__close { position: absolute; top: 8px; right: 8px; }
.modal h3 { margin-bottom: 8px; }
.modal p { color: var(--text-2); font-size: 15px; }

/* Suche */
.search {
  position: fixed; z-index: 61; left: 0; right: 0; top: 0; visibility: hidden;
  background: var(--bg); color: var(--text);
  border-bottom: 1px solid var(--line);
  transform: translateY(-102%); transition: transform .5s var(--ease);
  max-height: 90vh; overflow-y: auto;
}
.search.is-open { transform: none; visibility: visible; }
.search__bar { display: flex; align-items: center; gap: 8px; height: 72px; }
.search__bar input {
  flex: 1; min-height: 48px; border: 0; background: transparent; outline: none;
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
}
.search__results { padding-bottom: 28px; }
.search__hint { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 24px; }

/* ---------- Produktkarte & Raster ---------- */
.grid-products {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--grid-gap); row-gap: var(--grid-row-gap);
}
@media (min-width: 768px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { position: relative; display: flex; flex-direction: column; gap: 10px; }
.card__media {
  position: relative; display: block;
  aspect-ratio: 2 / 3; border-radius: var(--radius-card); overflow: hidden;
  background: var(--img-bg);
}
/* Bilder-Spur: am Rechner Hover = 2. Foto (Rückseite), am Handy wischen */
.card__track { position: absolute; inset: 0; z-index: 2; display: block; }
.card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: var(--img-filter);
  color: transparent; /* kein Alt-Text-Flackern, solange Bild lädt */
  transition: opacity .35s ease, transform .8s var(--ease);
}
.card__dots { display: none; }
@media (hover: hover) and (pointer: fine) {
  .card__media img.card__img2 { opacity: 0; }
  .card:hover .card__media img.card__img2 { opacity: 1; }
  .card:hover .card__media img { transform: scale(1.03); }
}
@media (hover: none), (pointer: coarse) {
  .card__track {
    display: flex; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .card__track::-webkit-scrollbar { display: none; }
  .card__track img { position: relative; inset: auto; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
  .card__dots {
    position: absolute; left: 0; right: 0; bottom: 10px; z-index: 3;
    display: flex; justify-content: center; gap: 5px; pointer-events: none;
  }
  .card__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(0,0,0,.08); transition: background-color .2s ease, transform .2s ease; }
  .card__dots i.on { background: #fff; transform: scale(1.15); }
}
.card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; z-index: 3; pointer-events: none; }
.card__quick {
  position: absolute; right: 8px; bottom: 8px; z-index: 4;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg); color: var(--text);
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast) ease;
}
.card__quick:hover { transform: scale(1.08); }
.card__quick .i { width: 18px; height: 18px; }
.card__quick.is-added { background: var(--good); color: #fff; }
.card.is-sold .card__media img { filter: var(--img-filter) grayscale(.35); }
.card.is-sold .card__media img:not(.card__img2) { opacity: .78; }
@media (hover: hover) and (pointer: fine) {
  .card.is-sold .card__media img.card__img2 { opacity: 0; }
  .card.is-sold:hover .card__media img.card__img2 { opacity: .78; }
}
.card.is-sold .card__quick { display: none; }
.card__body { display: grid; gap: 3px; }
.card__brand { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; line-height: 1.25; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__meta { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 7px; flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
@media (max-width: 420px) { .card__meta .cond { display: none; } }
.card__price { font-size: 15px; margin-top: 2px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.card__stock { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--muted); white-space: nowrap; }
.card__sold-note { font-size: 12px; color: var(--muted); white-space: nowrap; }
@media (min-width: 768px) { .card__title { font-size: 15.5px; } }

/* Zustandsbalken klein (Karte) */
.cond { display: inline-flex; align-items: center; gap: 6px; }
.cond__bar { display: inline-flex; gap: 2px; }
.cond__bar i { width: 5px; height: 9px; border-radius: 1px; background: var(--line); }
.cond__bar i.on { background: var(--good); }

/* ---------- Vorteile-Leiste (Icon-Row) ---------- */
.usp {
  display: grid; grid-template-columns: 1fr 1fr;
  border-block: 1px solid var(--line);
}
.usp__item { padding: 26px 18px; display: grid; gap: 6px; align-content: start; border-right: 1px solid var(--line); }
.usp__item:nth-child(2n) { border-right: 0; }
.usp__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.usp__item .i { width: 28px; height: 28px; margin-bottom: 6px; }
.usp__title { font-family: var(--font-display); font-weight: 800; font-size: 17px; line-height: 1.2; }
.usp__text { font-size: 14px; color: var(--muted); }
@media (min-width: 900px) {
  .usp { grid-template-columns: repeat(4, 1fr); }
  .usp__item { padding: 34px 28px; border-bottom: 0 !important; border-right: 1px solid var(--line) !important; }
  .usp__item:last-child { border-right: 0 !important; }
  .usp__title { font-size: 20px; }
}

/* ---------- Newsletter / Community ---------- */
.newsletter { padding-block: var(--section-y); text-align: center; }
.newsletter .h2 { margin-bottom: 10px; }
.newsletter p { color: var(--text-2); max-width: 520px; margin-inline: auto; }
.newsletter__form {
  margin: 24px auto 0; max-width: 480px;
  display: flex; align-items: center;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill);
  padding: 4px 4px 4px 20px; background: var(--bg);
}
.newsletter__form input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; height: 46px; font-size: 16px; }
.newsletter__form button { width: 46px; height: 46px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-text); display: grid; place-items: center; }
.newsletter__or { margin-top: 18px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--muted); }
.newsletter__msg { margin-top: 12px; font-size: 14px; min-height: 20px; }
.newsletter__perks { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: 14px; font-weight: 600; }
.newsletter__perks li { display: inline-flex; align-items: center; gap: 8px; }
.newsletter__perks .i { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding-top: 56px; border-top: 1px solid var(--footer-line); }
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-top { display: grid; gap: 30px; padding-bottom: 36px; }
.footer-brand .logo__mark { height: 54px; aspect-ratio: var(--logo-full-ratio, 1.8); -webkit-mask-image: var(--logo-full-url); mask-image: var(--logo-full-url); }
.footer-brand p { color: var(--footer-muted); font-size: 14px; margin-top: 16px; max-width: 320px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--footer-muted); margin-bottom: 14px; font-weight: 700; }
.footer-col ul { display: grid; gap: 0; font-size: 15px; }
.footer-col li a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.site-footer .socials a { border-color: var(--footer-line); }
.site-footer .socials a:hover { background: var(--footer-text); color: var(--footer-bg); text-decoration: none; }
.footer-revoke {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  padding: 9px 14px; border: 1px solid var(--footer-line); border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600;
}
.footer-bottom {
  border-top: 1px solid var(--footer-line);
  padding-block: 20px calc(20px + env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--footer-muted);
}
@media (min-width: 768px) { .footer-bottom { padding-bottom: 76px; } } /* Platz für den Vorschau-Umschalter */
.site-footer .pay { background: transparent; border-color: var(--footer-line); color: var(--footer-text); }
@media (min-width: 900px) {
  .footer-top { grid-template-columns: 1.2fr 2fr; gap: 60px; }
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 80; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom));
  transform: translate(-50%, 140%);
  background: var(--text); color: var(--bg);
  padding: 12px 18px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  transition: transform .5s var(--ease);
}
.toast.is-on { transform: translate(-50%, 0); }
.toast .i { width: 18px; height: 18px; }

/* ---------- Vorschau-Umschalter Hell/Dunkel ---------- */
.theme-toggle {
  position: fixed; z-index: 55; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 2px;
  padding: 4px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: 12px; font-weight: 600;
}
.theme-toggle__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 6px 0 8px; }
.theme-toggle button { height: 30px; padding: 0 10px; border-radius: var(--radius-pill); color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.theme-toggle button .i { width: 15px; height: 15px; }
.theme-toggle button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.theme-toggle .tt-text { display: none; }
.theme-toggle { opacity: .92; transition: opacity var(--t-fast) ease; }
.theme-toggle:hover { opacity: 1; }
body[data-page="gate"] .theme-toggle { display: none; }
/* Handy: Schalter sitzt im Menü statt schwebend über dem Inhalt */
@media (max-width: 767px) { .theme-toggle { display: none; } }
.nav-theme { display: grid; gap: 8px; margin-top: 10px; }
.theme-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius-pill); }
.theme-seg button { min-height: 40px; border-radius: var(--radius-pill); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.theme-seg button .i { width: 16px; height: 16px; }
.theme-seg .tt-text { display: inline; }
.theme-seg button[aria-pressed="true"] { background: var(--text); color: var(--bg); }


/* ---------- Formulare ---------- */
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-box);
  background: var(--bg); color: var(--text);
  font-size: 16px; outline: none;
  transition: border-color var(--t-fast) ease;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--line-strong); }
.textarea { min-height: 120px; resize: vertical; }

/* ---------- FAQ (Akkordeon) ---------- */
.faq { display: grid; gap: 8px; }
.faq details { background: var(--surface); border-radius: var(--radius-box); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 20px; font-weight: 600; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 18px; height: 18px; transition: transform var(--t-fast) ease; }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px; color: var(--text-2); font-size: 15px; }

/* ---------- Einblend-Animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--reveal-delay, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
/* Karten gleiten von rechts nach links rein, gestaffelt pro Reihe (wie ninesixfits) */
[data-reveal="slide"] { transform: translateX(46px); transition-duration: .9s; }
.grid-products > [data-reveal="slide"]:nth-child(2n) { --reveal-delay: .09s; }
@media (min-width: 768px) {
  .grid-products > [data-reveal="slide"]:nth-child(3n+2) { --reveal-delay: .09s; }
  .grid-products > [data-reveal="slide"]:nth-child(3n) { --reveal-delay: .18s; }
}
@media (min-width: 1100px) {
  .grid-products > [data-reveal="slide"]:nth-child(4n+1) { --reveal-delay: 0s; }
  .grid-products > [data-reveal="slide"]:nth-child(4n+2) { --reveal-delay: .08s; }
  .grid-products > [data-reveal="slide"]:nth-child(4n+3) { --reveal-delay: .16s; }
  .grid-products > [data-reveal="slide"]:nth-child(4n) { --reveal-delay: .24s; }
}

/* Vorschau-Hinweis */
.preview-note {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px; background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn-text);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
