/*
 * SGS 4x4 Startseite – Styles (nur auf der Startseite geladen)
 * Alle Regeln sind auf .sgs-home begrenzt und beeinflussen den Rest des Shops nicht.
 * Farben/Abstände zentral über die Variablen unten anpassen.
 * Version 1.0.0
 */
.sgs-home {
    --sgsh-ink: #161718;
    --sgsh-ink-2: #4a4c4f;
    --sgsh-muted: #6f7275;
    --sgsh-dark: #1b1c1e;
    --sgsh-dark-2: #2a2c2f;
    --sgsh-on-dark: #f2f2ef;
    --sgsh-paper: #ffffff;
    --sgsh-tint: #f3f3f0;
    --sgsh-line: #d9d9d4;
    --sgsh-radius: 6px;
    --sgsh-gap: 16px;
    --sgsh-sec-y: clamp(40px, 6vw, 72px);
    color: var(--sgsh-ink);
    overflow-x: clip;
}
.sgs-home *,
.sgs-home *::before,
.sgs-home *::after { box-sizing: border-box; }
.sgs-home ul { list-style: none; margin: 0; padding: 0; }
.sgs-home figure { margin: 0; }
.sgs-home p { margin: 0; }
.sgs-home a { color: inherit; }
.sgs-home .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Layout */
.sgsh-wrap { max-width: 1320px; margin: 0 auto; padding-inline: 16px; }
.sgsh-sec { padding-block: var(--sgsh-sec-y); }
.sgsh-sec--tint { background: var(--sgsh-tint); }
.sgsh-stack { display: grid; gap: 14px; align-content: start; }
.sgsh-two { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.sgsh-two--center { align-items: center; }
.sgsh-headrow { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.sgsh-headrow .sgsh-h2 { margin: 0; }

/* Typografie */
.sgs-home .sgsh-h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 12px; text-wrap: balance; color: var(--sgsh-ink); }
.sgsh-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sgsh-muted); }
.sgsh-lead { color: var(--sgsh-ink-2); max-width: 68ch; line-height: 1.6; }
.sgsh-lead a { text-decoration: underline; }
.sgsh-bullets { display: grid; gap: 10px; }
.sgsh-bullets li { position: relative; padding-left: 20px; line-height: 1.5; }
.sgsh-bullets li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; background: var(--sgsh-ink); }
.sgsh-more { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Buttons & Chips */
.sgsh-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.sgs-home .sgsh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 2px solid currentColor; border-radius: 4px; font-weight: 700; font-size: 14px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.sgs-home .sgsh-btn--dark { background: var(--sgsh-dark); border-color: var(--sgsh-dark); color: var(--sgsh-on-dark); }
.sgs-home .sgsh-btn--dark:hover { background: #000; border-color: #000; color: #fff; }
.sgs-home .sgsh-btn--outline { background: transparent; color: var(--sgsh-dark); }
.sgs-home .sgsh-btn--outline:hover { background: var(--sgsh-dark); color: var(--sgsh-on-dark); }
.sgs-home .sgsh-btn--light { background: var(--sgsh-on-dark); border-color: var(--sgsh-on-dark); color: var(--sgsh-dark); }
.sgs-home .sgsh-btn--light:hover { background: #fff; border-color: #fff; }
.sgs-home .sgsh-btn--ghost { background: transparent; color: var(--sgsh-on-dark); }
.sgs-home .sgsh-btn--ghost:hover { background: var(--sgsh-on-dark); color: var(--sgsh-dark); }
.sgs-home .sgsh-btn:focus-visible,
.sgs-home a:focus-visible,
.sgs-home summary:focus-visible,
.sgs-home .sgsh-select:focus-visible { outline: 3px solid #4d8dff; outline-offset: 2px; }
.sgsh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sgs-home .sgsh-chips a { font-size: 13px; line-height: 1.3; padding: 7px 12px; border: 1px solid var(--sgsh-line); border-radius: 999px; background: var(--sgsh-paper); text-decoration: none; }
.sgs-home .sgsh-chips a:hover { border-color: var(--sgsh-ink); }

/* Bilder */
.sgsh-ph { position: relative; display: block; overflow: hidden; border-radius: 4px; background: #e6e6e1; max-width: 100%; }
.sgsh-ph .sgsh-img,
.sgsh-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sgsh-ph .sgsh-img--contain { object-fit: contain; padding: 8px; }
.sgsh-ph--white { background: #fff; border: 1px solid #ececea; }
.sgsh-ph--square { aspect-ratio: 1 / 1; }
.sgsh-ph--43 { aspect-ratio: 4 / 3; }
.sgsh-ph--32 { aspect-ratio: 3 / 2; }
.sgsh-ph--169 { aspect-ratio: 16 / 9; }
.sgsh-ph--1610 { aspect-ratio: 16 / 10; }
.sgs-home .sgsh-pos-left { object-position: 30% 50%; }
.sgs-home .sgsh-pos-lower { object-position: 50% 70%; }
.sgsh-img { max-width: 100%; height: auto; }

/* Hero */
.sgsh-hero { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; background: var(--sgsh-dark); }
.sgsh-hero__main { grid-row: 1 / 3; position: relative; min-height: clamp(420px, 44vw, 560px); color: #fff; display: flex; }
.sgsh-hero .sgsh-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sgsh-hero__main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,11,.92) 0%, rgba(10,10,11,.72) 45%, rgba(10,10,11,.12) 100%); }
.sgsh-hero__copy { position: relative; z-index: 1; align-self: center; display: grid; gap: 16px; max-width: 580px; padding: clamp(28px, 4vw, 48px); }
.sgsh-hero__claim { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #c9c9c4; }
.sgs-home .sgsh-hero__h1 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -0.015em; margin: 0; color: #fff; text-wrap: balance; }
.sgsh-hero__text { color: #e3e3de; line-height: 1.6; max-width: 54ch; }
.sgs-home .sgsh-hero__side { position: relative; display: flex; align-items: flex-end; min-height: 200px; color: #fff; text-decoration: none; overflow: hidden; }
.sgsh-hero__side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.82), rgba(0,0,0,0) 62%); transition: opacity .2s; }
.sgsh-hero__side:hover::after { opacity: .85; }
.sgsh-hero__cap { position: relative; z-index: 1; display: grid; gap: 2px; padding: 16px 18px; }
.sgsh-hero__cap strong { font-size: 18px; }
.sgsh-hero__cap span { font-size: 13px; color: #ddd; }

/* Fahrzeugfinder */
.sgsh-finder { background: var(--sgsh-dark-2); color: var(--sgsh-on-dark); padding-block: 18px; }
.sgsh-finder__inner { display: grid; grid-template-columns: auto 1fr; gap: 12px 20px; align-items: center; }
.sgsh-finder__title { font-weight: 700; font-size: 15px; }
.sgsh-finder__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.sgs-home .sgsh-select,
.sgs-home .sgsh-input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--sgsh-line); border-radius: 4px; background: #fff; color: var(--sgsh-ink); font: inherit; font-size: 14px; }
.sgs-home .sgsh-select:disabled { opacity: .7; }

/* USP */
.sgsh-usp { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--sgsh-line); max-width: 1320px; margin: 0 auto; }
.sgsh-usp__item { display: grid; gap: 4px; padding: 18px 22px; border-right: 1px solid var(--sgsh-line); }
.sgsh-usp__item:last-child { border-right: 0; }
.sgsh-usp__item strong { font-size: 15px; }
.sgsh-usp__item span { font-size: 13px; color: var(--sgsh-ink-2); }

/* Unterfahrschutz */
.sgsh-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 280px 160px; gap: 8px; }
.sgsh-mosaic__big { grid-column: 1 / 3; }
.sgsh-parts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.sgs-home .sgsh-parts a { display: grid; gap: 8px; text-decoration: none; }
.sgsh-parts__label { font-weight: 700; font-size: 14px; }

/* Kategorien */
.sgsh-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.sgs-home .sgsh-tile { display: grid; gap: 8px; text-decoration: none; }
.sgs-home .sgsh-tile__title { font-size: 16px; font-weight: 700; margin: 0; line-height: 1.3; }
.sgsh-tile__text { font-size: 13px; color: var(--sgsh-ink-2); line-height: 1.4; }
.sgsh-tile:hover .sgsh-tile__title { text-decoration: underline; }
.sgsh-tile .sgsh-img { transition: transform .3s; }
.sgsh-tile:hover .sgsh-img { transform: scale(1.03); }

/* Fahrzeuge */
.sgsh-models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-block: 8px 20px; }
.sgs-home .sgsh-model { display: grid; height: 100%; border: 1px solid var(--sgsh-line); border-radius: var(--sgsh-radius); overflow: hidden; background: var(--sgsh-paper); text-decoration: none; }
.sgsh-model .sgsh-ph { border-radius: 0; }
.sgsh-model__body { display: grid; gap: 2px; padding: 12px 14px; }
.sgsh-model__body strong { font-size: 15px; line-height: 1.3; }
.sgsh-model__body span { font-size: 12.5px; color: var(--sgsh-muted); }
.sgsh-model:hover { border-color: var(--sgsh-ink); }

/* Bänder (Suzuki, EVO) */
.sgsh-band { display: grid; grid-template-columns: 1.05fr 1fr; border: 1px solid var(--sgsh-line); border-radius: var(--sgsh-radius); overflow: hidden; background: var(--sgsh-paper); }
.sgsh-band__copy { display: grid; gap: 14px; align-content: center; padding: clamp(24px, 3vw, 36px); }
.sgsh-band__pics { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 240px 160px; gap: 4px; }
.sgsh-band__pics .sgsh-ph { border-radius: 0; }
.sgsh-band__wide { grid-column: 1 / 3; }

/* Bestseller: NOVA-Slider innerhalb der Startseite */
.sgsh-bestseller .product-slider-wrapper { margin-top: 0; padding-top: 0; }
.sgsh-bestseller .slick-slider-other .hr-sect { display: none; }

/* Service-Karten */
.sgsh-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.sgsh-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--sgsh-line); border-radius: var(--sgsh-radius); overflow: hidden; background: var(--sgsh-paper); }
.sgsh-card .sgsh-ph { border-radius: 0; }
.sgsh-card__body { display: grid; gap: 10px; align-content: start; padding: 16px; }
.sgs-home .sgsh-card__title { font-size: 17px; font-weight: 700; margin: 0; line-height: 1.3; }
.sgsh-card__body p { font-size: 14px; color: var(--sgsh-ink-2); line-height: 1.5; }
.sgs-home .sgsh-card__link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; align-self: end; }

/* B2B */
.sgsh-b2b { position: relative; background: var(--sgsh-dark); color: var(--sgsh-on-dark); overflow: hidden; }
.sgs-home .sgsh-b2b__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.sgsh-b2b__inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.sgsh-b2b .sgsh-h2 { color: #fff; }
.sgsh-b2b .sgsh-lead { color: #dcdcd7; }
.sgsh-b2b .sgsh-eyebrow { color: #b8b8b3; }
.sgsh-b2b .sgsh-btns { justify-content: flex-end; }

/* Über uns */
.sgsh-about__logos { padding: 14px; }
.sgsh-about__logos .sgsh-img { height: auto; }

/* FAQ */
.sgsh-faq { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; margin-top: 8px; }
.sgsh-acc { display: grid; gap: 8px; }
.sgsh-acc details { border: 1px solid var(--sgsh-line); border-radius: 5px; background: var(--sgsh-paper); }
.sgsh-acc summary { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; font-weight: 700; cursor: pointer; list-style: none; }
.sgsh-acc summary::-webkit-details-marker { display: none; }
.sgsh-acc summary::after { content: "+"; font-weight: 400; }
.sgsh-acc details[open] summary::after { content: "–"; }
.sgsh-acc details p { padding: 0 16px 16px; color: var(--sgsh-ink-2); line-height: 1.6; max-width: 72ch; }
.sgsh-acc .sgsh-more { margin-top: 6px; }

/* News */
.sgsh-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sgs-home .sgsh-news__link { display: grid; gap: 8px; text-decoration: none; }
.sgsh-news time { font-size: 12.5px; color: var(--sgsh-muted); }
.sgs-home .sgsh-news__title { font-size: 16px; font-weight: 700; margin: 0; line-height: 1.35; }
.sgsh-news__link:hover .sgsh-news__title { text-decoration: underline; }
.sgsh-news .sgsh-ph picture,
.sgsh-news .sgsh-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Newsletter */
.sgsh-nl { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 20px 24px; border: 2px solid var(--sgsh-ink); border-radius: var(--sgsh-radius); background: var(--sgsh-paper); }
.sgsh-nl__title { font-size: clamp(18px, 2vw, 22px); font-weight: 800; line-height: 1.25; }
.sgsh-nl__text { color: var(--sgsh-ink-2); font-size: 14px; }
.sgs-home .sgsh-nl__form { display: grid; grid-template-columns: minmax(200px, 280px) auto; gap: 10px; margin: 0; }
.sgsh-nl__captcha:empty { display: none; }
.sgsh-nl__captcha { grid-column: 1 / -1; }

/* Responsive */
@media (max-width: 1199.98px) {
    .sgsh-tiles { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991.98px) {
    .sgsh-tiles { grid-template-columns: repeat(3, 1fr); }
    .sgsh-models, .sgsh-cards, .sgsh-parts { grid-template-columns: repeat(2, 1fr); }
    .sgsh-usp { grid-template-columns: repeat(2, 1fr); }
    .sgsh-usp__item:nth-child(2) { border-right: 0; }
    .sgsh-usp__item:nth-child(-n+2) { border-bottom: 1px solid var(--sgsh-line); }
    .sgsh-finder__inner { grid-template-columns: 1fr; }
    .sgsh-two, .sgsh-band, .sgsh-b2b__inner, .sgsh-faq, .sgsh-nl { grid-template-columns: 1fr; }
    .sgsh-band--rev .sgsh-band__pics { order: -1; }
    .sgsh-b2b .sgsh-btns { justify-content: flex-start; }
    .sgsh-news { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767.98px) {
    .sgsh-hero { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
    .sgsh-hero__main { grid-column: 1 / 3; grid-row: auto; min-height: 460px; }
    .sgsh-hero__main::after { background: linear-gradient(0deg, rgba(10,10,11,.92) 10%, rgba(10,10,11,.55) 100%); }
    .sgsh-hero__copy { align-self: end; }
    .sgs-home .sgsh-hero__side { min-height: 150px; }
    .sgsh-finder__form { grid-template-columns: 1fr; }
    .sgsh-usp { grid-template-columns: 1fr; }
    .sgsh-usp__item { border-right: 0; border-bottom: 1px solid var(--sgsh-line); }
    .sgsh-tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .sgsh-mosaic { grid-template-rows: 200px 120px; }
    .sgsh-band__pics { grid-template-rows: 190px 120px; }
    .sgs-home .sgsh-nl__form { grid-template-columns: 1fr; }
}
@media (max-width: 479.98px) {
    .sgsh-models, .sgsh-cards, .sgsh-news { grid-template-columns: 1fr; }
    .sgsh-hero__cap strong { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .sgs-home * { transition: none !important; }
}
