/* GTA6Deals – Shop-Stil angelehnt an Shopify-Themes (Dawn). Farben/Abstände oben als Tokens. */
:root {
  --fg: 18, 18, 18;
  --bg: #ffffff;
  --tint: #f3f3f3;
  --text: rgba(var(--fg), .75);
  --text-strong: rgb(var(--fg));
  --line: rgba(var(--fg), .1);
  --line-strong: rgba(var(--fg), .55);
  --font: "Assistant", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --page: 1200px;
  --gutter: 50px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.75 var(--font);
  letter-spacing: .06em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, fieldset { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; letter-spacing: inherit; }
h1, h2, h3 { color: var(--text-strong); font-weight: 400; letter-spacing: .06em; line-height: 1.3; }
:focus-visible { outline: 2px solid rgba(var(--fg), .5); outline-offset: 3px; }

.page-width { max-width: calc(var(--page) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.page-width--narrow { max-width: calc(760px + var(--gutter) * 2); }
.skip-link { position: absolute; left: -9999px; z-index: 50; background: var(--bg); color: var(--text-strong); padding: 10px 16px; }
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Bausteine ---------- */
.caption { font-size: 13px; letter-spacing: .13em; text-transform: uppercase; color: var(--text); margin-bottom: 12px; }
.title { font-size: 30px; }
.subtitle { margin-top: 8px; }
.title-wrapper { margin-bottom: 36px; }
.title-wrapper--row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.title-wrapper--row .subtitle { margin: 0; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 30px;
  background: rgb(var(--fg)); color: var(--bg);
  border: 0; border-radius: 0; cursor: pointer;
  font-size: 15px; letter-spacing: .1em; text-decoration: none; text-align: center;
  box-shadow: 0 0 0 1px rgb(var(--fg));
  transition: box-shadow .1s ease;
}
.button:hover { box-shadow: 0 0 0 2px rgb(var(--fg)); }
.button--secondary { background: transparent; color: var(--text-strong); }
.button--full { width: 100%; }

.badge { display: inline-block; padding: 4px 13px 5px; border-radius: 40px; background: rgb(var(--fg)); color: var(--bg); font-size: 12px; letter-spacing: .1em; line-height: 1.4; }
.price { color: var(--text-strong); font-size: 18px; letter-spacing: .1em; }

/* ---------- Announcement + Header ---------- */
.announcement-bar { background: rgb(var(--fg)); color: rgba(255, 255, 255, .9); text-align: center; }
.announcement-bar__message { padding: 10px 20px; font-size: 13px; letter-spacing: .1em; }

.header-wrapper { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; min-height: 76px; }
.header__logo { color: var(--text-strong); font-size: 21px; font-weight: 800; letter-spacing: .14em; text-decoration: none; white-space: nowrap; }
.header__logo span { font-weight: 300; }
.header__menu { display: flex; gap: 28px; justify-content: center; }
.header__menu a { font-size: 15px; letter-spacing: .1em; text-decoration: none; color: var(--text); }
.header__menu a:hover { color: var(--text-strong); text-decoration: underline; text-underline-offset: 4px; }

.localization { position: relative; }
.localization__button { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; background: none; border: 0; color: var(--text); font-size: 14px; cursor: pointer; }
.localization__button:hover { color: var(--text-strong); }
.localization__button[aria-expanded="true"] svg { transform: rotate(180deg); }
.localization__list { position: absolute; right: 0; top: calc(100% + 6px); min-width: 230px; padding: 8px 0; background: var(--bg); border: 1px solid var(--line-strong); box-shadow: 0 8px 24px rgba(var(--fg), .08); }
.localization__list button { display: flex; justify-content: space-between; gap: 16px; width: 100%; padding: 9px 18px; background: none; border: 0; color: var(--text); font-size: 14px; text-align: left; cursor: pointer; }
.localization__list button:hover, .localization__list button[aria-current="true"] { color: var(--text-strong); text-decoration: underline; text-underline-offset: 4px; }
.localization__list span { color: rgba(var(--fg), .5); }
.loc-short { display: none; }

/* ---------- Banner ---------- */
.banner { position: relative; display: flex; min-height: 600px; overflow: hidden; }
.banner__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.banner__content { position: relative; z-index: 1; display: flex; align-items: flex-end; width: 100%; padding-top: 48px; padding-bottom: 48px; }
.banner__box { max-width: 520px; padding: 40px 44px; background: var(--bg); }
.banner__heading { font-size: 44px; line-height: 1.15; margin-bottom: 14px; }
.banner__text { margin-bottom: 26px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--tinted { background: var(--tint); }
section[id] { scroll-margin-top: 80px; }

/* ---------- Produkt ---------- */
.product { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: 0 60px; align-items: start; }
.product__media-list { display: grid; gap: 10px; }
.product__media-item { background: var(--tint); }
.product__media-item img { width: 100%; }
.product__media-counter { display: none; }

.product__info { position: sticky; top: 104px; }
.product__vendor { font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--text); }
.product__title { font-size: 38px; line-height: 1.2; margin: 6px 0 16px; }
.product__price { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.product__price .price { font-size: 20px; }
.product__note { margin-top: 6px; font-size: 13px; color: rgba(var(--fg), .6); }

.variant { border: 0; padding: 0; margin-top: 24px; }
.variant legend { padding: 0; margin-bottom: 4px; font-size: 14px; letter-spacing: .1em; }
.variant input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.variant label { display: inline-block; margin: 7px 8px 2px 0; padding: 9px 20px; border: 1px solid var(--line-strong); border-radius: 40px; color: var(--text-strong); font-size: 14px; letter-spacing: .1em; line-height: 1.5; cursor: pointer; transition: border-color .1s ease; }
.variant label:hover { border-color: rgb(var(--fg)); }
.variant input:checked + label { background: rgb(var(--fg)); color: var(--bg); border-color: rgb(var(--fg)); }
.variant input:focus-visible + label { outline: 2px solid rgba(var(--fg), .5); outline-offset: 3px; }

[data-buy-primary] { margin-top: 28px; }

.offers { margin-top: 14px; border: 1px solid var(--line); }
.offers__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fafafa; }
.offers__title { font-size: 14px; color: var(--text-strong); }
.offers__regions { display: inline-flex; gap: 4px; }
.offers__regions button { padding: 3px 10px; border: 1px solid transparent; border-radius: 40px; background: none; color: var(--text); font-size: 12px; cursor: pointer; }
.offers__regions button:hover { border-color: var(--line-strong); }
.offers__regions button[aria-pressed="true"] { border-color: rgb(var(--fg)); color: var(--text-strong); }
.offers__list li + li .offer { border-top: 1px solid var(--line); }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 18px; padding: 12px 16px; text-decoration: none; color: var(--text-strong); transition: background-color .1s ease; }
.offer:hover { background: #fafafa; }
.offer__store { font-size: 15px; line-height: 1.35; }
.offer__store small { display: block; font-size: 12px; color: rgba(var(--fg), .55); }
.offer__price { font-size: 15px; letter-spacing: .08em; }
.offer__cta { font-size: 13px; letter-spacing: .1em; text-decoration: underline; text-underline-offset: 4px; }
.offer__cta::after { content: " ↗"; }
.offer:hover .offer__cta { text-decoration-thickness: 2px; }

.product__features { margin-top: 26px; display: grid; gap: 8px; }
.product__features li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.product__features svg { flex: none; color: var(--text-strong); }

.accordion { margin-top: 26px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; color: var(--text-strong); font-size: 15px; letter-spacing: .1em; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary svg { flex: none; transition: transform .15s ease; }
.accordion details[open] summary svg { transform: rotate(180deg); }
.accordion details p { padding: 0 0 18px; }
.accordion--faq { margin-top: 0; }
.accordion--faq summary { font-size: 17px; padding: 20px 0; }

.product__disclosure { margin-top: 18px; font-size: 12px; color: rgba(var(--fg), .55); }

/* ---------- Editionen ---------- */
.editions { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.edition-card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); background: var(--bg); }
.edition-card__media { position: relative; background: var(--tint); }
.edition-card__media img { width: 100%; height: 100%; object-fit: cover; }
.badge--media { position: absolute; left: 12px; bottom: 12px; }
.edition-card__info { display: flex; flex-direction: column; padding: 28px 28px 28px 30px; }
.edition-card__title { font-size: 22px; margin: 4px 0 6px; }
.edition-card__list { margin: 16px 0 24px; display: grid; gap: 6px; font-size: 15px; }
.edition-card__list li { padding-left: 16px; position: relative; }
.edition-card__list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 6px; height: 1px; background: rgb(var(--fg)); }
.edition-card .button { margin-top: auto; }

/* ---------- Bild mit Text ---------- */
.image-with-text { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: var(--tint); }
.image-with-text__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.image-with-text__content { padding: 48px 56px; }
.image-with-text__content .title { margin-bottom: 14px; }
.image-with-text__content p:not(.caption) { margin-bottom: 26px; }

/* ---------- Zubehoer-Kacheln ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 10px; }
.card { display: block; text-decoration: none; color: var(--text-strong); }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tint); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card__media--cutout img { object-fit: contain; padding: 9%; }
.card:hover .card__media img { transform: scale(1.03); }
.card__info { padding-top: 12px; }
.card__vendor { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--text); }
.card__heading { font-size: 15px; line-height: 1.4; margin: 2px 0 4px; }
.card:hover .card__heading { text-decoration: underline; text-underline-offset: 3px; }
.card__price { font-size: 14px; color: var(--text); }

/* ---------- Mehrspaltig ---------- */
.multicolumn { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.multicolumn li { padding: 28px 24px; background: var(--bg); }
.multicolumn svg { color: var(--text-strong); margin-bottom: 14px; }
.multicolumn h3 { font-size: 17px; margin-bottom: 6px; }
.multicolumn p { font-size: 15px; line-height: 1.6; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer__block p { margin-top: 14px; max-width: 30em; }
.footer__heading { font-size: 16px; margin-bottom: 12px; }
.footer__block li { margin: 4px 0; }
.footer__block li a { text-decoration: none; }
.footer__block li a:hover { color: var(--text-strong); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 12px; color: rgba(var(--fg), .6); }
.footer__bottom strong { color: var(--text); font-weight: 600; }
.footer__copyright { margin-top: 6px; }

/* ---------- Rechtliche Seiten ---------- */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: 36px; margin-bottom: 8px; }
.legal h2 { font-size: 18px; margin: 30px 0 6px; }
.legal p + p { margin-top: 10px; }
.legal .back { margin-top: 36px; }
.legal ul.credits { display: grid; gap: 14px; margin-top: 18px; }
.legal ul.credits li { padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.todo { background: #fff3cd; color: var(--text-strong); padding: 1px 6px; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 989px) {
  :root { --gutter: 20px; }
  .header { grid-template-columns: auto auto; justify-content: space-between; min-height: 64px; }
  .header__menu { display: none; }
  .banner { min-height: 0; flex-direction: column; }
  .banner__image { position: static; height: 300px; }
  .banner__content { padding: 0; }
  .banner__box { max-width: none; padding: 28px 20px 8px; }
  .banner__heading { font-size: 32px; }
  .section { padding: 48px 0; }
  .product { grid-template-columns: 1fr; }
  .product__media-wrapper { margin: 0 calc(var(--gutter) * -1); }
  .product__media-list { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .product__media-list::-webkit-scrollbar { display: none; }
  .product__media-item { flex: 0 0 88%; scroll-snap-align: start; display: flex; align-items: center; }
  .product__media-item--cover { flex-basis: 62%; }
  .product__media-counter { display: block; text-align: center; font-size: 13px; margin-top: 10px; }
  .product__info { position: static; margin-top: 28px; }
  .product__title { font-size: 30px; }
  .editions { grid-template-columns: 1fr; }
  .image-with-text { grid-template-columns: 1fr; }
  .image-with-text__content { padding: 32px 24px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 10px; }
  .multicolumn { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top .footer__block:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .loc-long, .announcement-bar__lead { display: none; }
  .loc-short { display: inline; }
  .header__logo { font-size: 19px; }
  .edition-card { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .edition-card__info { padding: 18px; }
  .edition-card__title { font-size: 19px; }
  .edition-card__list { font-size: 14px; margin: 10px 0 16px; }
  .edition-card .button { min-height: 44px; padding: 0 10px; font-size: 14px; letter-spacing: .06em; }
  .multicolumn { grid-template-columns: 1fr; }
  .offer { gap: 12px; }
  .title { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
