/* Getriebe-Landingpages (BMW DKG, BMW ZF, Mercedes-AMG). Ergänzt rrs-dsg.css; alle Regeln unter .rrs-gbx-page
   bzw. für Querverweise unter .rrs-gbx-cross. Farben/Typografie aus rrs-amira-unified.css. */

/* Hero mit Fahrzeugfoto */
.rrs-gbx-hero.has-photo{background:#121212}
.rrs-gbx-hero.has-photo .rrs-dsg-hero-art img{opacity:1;object-position:var(--pos-d,70% 55%)}
.rrs-gbx-hero.has-photo:after{background:linear-gradient(90deg,#141414f7 0%,#141414e6 30%,#141414a6 46%,#14141400 66%),linear-gradient(0deg,#191919 0%,transparent 26%),linear-gradient(180deg,#14141499 0%,transparent 22%)}
.rrs-gbx-hero .rrs-dsg-lead{max-width:560px}
body.rrs-amira .rrs-gbx-hero h1{font-size:clamp(32px,4.1vw,58px);line-height:1.06;max-width:19ch}
.rrs-gbx-hero .rrs-dsg-hero-inner{max-width:1170px}
@media(min-width:1200px){.rrs-gbx-hero .rrs-dsg-hero-inner>*{max-width:560px}.rrs-gbx-hero .rrs-dsg-hero-inner>.rrs-dsg-lead{max-width:500px}}
@media(max-width:1199px){
 .rrs-gbx-hero.has-photo{min-height:0;padding-top:0;padding-bottom:44px;display:block;background:var(--rrs-panel,#242424)}
 .rrs-gbx-hero.has-photo .rrs-dsg-hero-art{position:relative;inset:auto;z-index:0;aspect-ratio:4/3;max-height:62svh;width:100%;overflow:hidden;-webkit-mask-image:linear-gradient(180deg,#000 70%,transparent);mask-image:linear-gradient(180deg,#000 70%,transparent)}
 .rrs-gbx-hero.has-photo .rrs-dsg-hero-art img{object-position:var(--pos-m,70% 55%)}
 .rrs-gbx-hero.has-photo:after{content:none}
 .rrs-gbx-hero.has-photo .rrs-dsg-hero-inner{margin-top:-28px;position:relative;z-index:1}
 .rrs-gbx-hero.has-photo .rrs-dsg-breadcrumb{margin-bottom:18px}
}

/* Varianten-Raster: Spaltenzahl nach Anzahl der Getriebe */
.rrs-gbx-page .rrs-gbx-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.rrs-gbx-page .rrs-gbx-cols-5,.rrs-gbx-page .rrs-gbx-cols-6{grid-template-columns:repeat(3,minmax(0,1fr))}
.rrs-gbx-page .rrs-dsg-gear h3{font-size:clamp(22px,2vw,28px);line-height:1.15;letter-spacing:-.3px}
.rrs-gbx-page .rrs-dsg-gear.is-muted{background:#d9dddc;border-top-color:#8a9296}
.rrs-gbx-tag{align-self:flex-start;display:inline-block;padding:3px 9px;font-size:10px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;border:1px solid #8a9296;color:#3c464c}
.rrs-gbx-tag.is-ok{border-color:var(--rrs-accent,#ff8500);color:#a35400;background:#ff85001a}
.rrs-gbx-page .rrs-dsg-specs{flex-wrap:wrap;gap:10px 22px}
@media(max-width:1199px){.rrs-gbx-page :is(.rrs-gbx-cols-3,.rrs-gbx-cols-5,.rrs-gbx-cols-6){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.rrs-gbx-page :is(.rrs-gbx-cols-3,.rrs-gbx-cols-5,.rrs-gbx-cols-6){grid-template-columns:minmax(0,1fr)}}

/* Technik-Vergleich (z. B. DKG vs. Wandler) */
.rrs-gbx-compare{background:var(--rrs-dark,#191919)}
.rrs-gbx-compare-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1px;background:#ffffff1f;border:1px solid #ffffff1f}
.rrs-gbx-compare-col{background:var(--rrs-dark,#191919);padding:34px 30px 30px;position:relative}
.rrs-gbx-compare-col.is-focus{background:var(--rrs-panel,#242424)}
.rrs-gbx-compare-col.is-focus:before{content:'';position:absolute;left:0;right:0;top:-1px;height:3px;background:var(--rrs-accent,#ff8500)}
.rrs-gbx-compare-col h3{font-size:22px;line-height:1.3;margin:14px 0 12px}
.rrs-gbx-compare-col p{font-size:14px;line-height:1.85;margin:0 0 16px}
.rrs-gbx-compare-col li{position:relative;padding:9px 0 9px 20px;border-top:1px solid #ffffff14;font-size:13.5px;line-height:1.6;color:#ddd}
.rrs-gbx-compare-col li:before{content:'';position:absolute;left:2px;top:1.05em;width:6px;height:6px;background:var(--rrs-accent,#ff8500);transform:rotate(45deg)}
.rrs-gbx-compare .rrs-step-index{text-transform:uppercase;font-size:10px;letter-spacing:1.8px}

/* Bildabschnitt: Foto halb, Text halb – randabfallend */
.rrs-gbx-media{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:var(--rrs-panel-alt,#303030);min-height:520px}
.rrs-gbx-media.is-reverse .rrs-gbx-media-img{order:2}
.rrs-gbx-media-img{position:relative;overflow:hidden;min-height:360px;background:#1d1d1d}
.rrs-gbx-media-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--pos-d,50% 50%)}
.rrs-gbx-media-img.is-fallback{background:linear-gradient(135deg,#202020 0%,#2b2b2b 55%,#1b1b1b 100%)}
.rrs-gbx-media-img.is-fallback:before{content:'';position:absolute;inset:0;background-image:linear-gradient(#ffffff0a 1px,transparent 1px),linear-gradient(90deg,#ffffff0a 1px,transparent 1px);background-size:44px 44px}
.rrs-gbx-fallback-mark{position:absolute;left:50%;top:50%;width:150px;height:150px;transform:translate(-50%,-50%) rotate(45deg);border:1px solid #ff850059;box-shadow:inset 0 0 0 22px #ff85000d}
.rrs-gbx-fallback-mark:after{content:'';position:absolute;inset:58px;background:var(--rrs-accent,#ff8500)}
.rrs-gbx-media-copy{padding:clamp(48px,6vw,88px) clamp(24px,5vw,80px);align-self:center;max-width:680px}
.rrs-gbx-media-copy h2{font-size:clamp(28px,3vw,40px);line-height:1.2;letter-spacing:-.7px;text-transform:uppercase;margin:0 0 22px}
.rrs-gbx-media-copy p{font-size:15px;line-height:1.9;margin:0 0 16px}
.rrs-gbx-points{margin-top:22px!important;border-top:1px solid #ffffff1f}
.rrs-gbx-points li{padding:14px 0;border-bottom:1px solid #ffffff1f;font-size:14px;line-height:1.7;color:var(--rrs-muted,#c4c4c4)}
.rrs-gbx-points strong{display:block;color:#f1f1f1;font-size:12px;letter-spacing:1.4px;text-transform:uppercase;margin-bottom:3px}
@media(max-width:960px){
 .rrs-gbx-media{grid-template-columns:minmax(0,1fr);min-height:0}
 .rrs-gbx-media.is-reverse .rrs-gbx-media-img{order:0}
 .rrs-gbx-media-img{min-height:0;aspect-ratio:3/2}
 .rrs-gbx-media-img img{object-position:var(--pos-m,50% 50%)}
 .rrs-gbx-media-copy{max-width:none;padding:44px 15px 54px}
}

/* Schaltlog */
.rrs-gbx-log{background:var(--rrs-dark,#191919)}
.rrs-gbx-log-figure{margin:0;border:1px solid #ffffff1f;border-top:3px solid var(--rrs-accent,#ff8500);background:#242424}
.rrs-gbx-log-figure img{display:block;width:100%;height:auto}
.rrs-gbx-log-figure figcaption{padding:12px 18px;font-size:12px;color:#9a9a9a;border-top:1px solid #ffffff14}
.rrs-gbx-log-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:34px!important;counter-reset:gbx}
.rrs-gbx-log-points li{counter-increment:gbx;position:relative;padding-top:18px;border-top:1px solid #ffffff26;font-size:14px;line-height:1.8;color:var(--rrs-muted,#c4c4c4)}
.rrs-gbx-log-points li:before{content:counter(gbx,decimal-leading-zero);display:block;font-size:12px;font-weight:800;letter-spacing:2px;color:var(--rrs-accent,#ff8500);margin-bottom:8px;font-variant-numeric:lining-nums;font-feature-settings:"lnum" 1}
.rrs-gbx-log-points strong{display:block;color:#f1f1f1;font-size:16px;margin-bottom:6px}
@media(max-width:767px){
 .rrs-gbx-log-figure{margin:0 -15px;border-left:0;border-right:0;overflow-x:auto}
 .rrs-gbx-log-figure img{width:auto;height:300px;max-width:none}
 .rrs-gbx-log-points{grid-template-columns:minmax(0,1fr);gap:18px}
}

/* Querverweise auf andere Getriebeseiten (auch auf der DSG-Seite genutzt) */
.rrs-gbx-cross{background:var(--rrs-dark,#191919);border-top:1px solid #ffffff1f;padding:var(--rrs-section-space,88px) 0}
.rrs-gbx-cross-head{margin-bottom:36px}
body.rrs-amira .rrs-gbx-cross h2{font-size:clamp(24px,2.6vw,34px);line-height:1.25;letter-spacing:-.5px;text-transform:uppercase;margin:0;color:#f1f1f1}
.rrs-gbx-cross h2 span{color:var(--rrs-accent,#ff8500)}
.rrs-gbx-cross-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
body.rrs-amira a.rrs-gbx-cross-card{position:relative;display:flex;flex-direction:column;gap:8px;padding:28px 26px 56px;background:var(--rrs-panel,#242424);border:1px solid #414141;border-top:3px solid #555;color:#f1f1f1;text-decoration:none;transition:border-color .2s,background .2s}
body.rrs-amira a.rrs-gbx-cross-card:hover,body.rrs-amira a.rrs-gbx-cross-card:focus-visible{border-top-color:var(--rrs-accent,#ff8500);background:#2b2b2b}
.rrs-gbx-cross-card span{font-size:10px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;color:var(--rrs-accent,#ff8500)}
.rrs-gbx-cross-card strong{font-family:Raleway,Arial,sans-serif;font-size:21px;font-weight:800;line-height:1.3;color:#f1f1f1}
body.rrs-amira .rrs-gbx-cross-card p{margin:0;font-size:13.5px;line-height:1.75;color:var(--rrs-muted,#c4c4c4)}
.rrs-gbx-cross-card i{position:absolute;left:26px;bottom:22px;color:var(--rrs-accent,#ff8500);font-size:18px;transition:transform .2s}
.rrs-gbx-cross-card:hover i{transform:translateX(6px)}
@media(max-width:960px){.rrs-gbx-cross-grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.rrs-gbx-cross-card i{transition:none}}

/* Tablet: Header-Bild vollständig im 2:1-Format über dem Text (muss nach der Stapel-Regel stehen) */
@media(min-width:768px) and (max-width:1199px){.rrs-gbx-hero.has-photo .rrs-dsg-hero-art{aspect-ratio:2/1;max-height:none}.rrs-gbx-hero.has-photo .rrs-dsg-hero-art img{object-position:50% 50%}.rrs-gbx-hero .rrs-dsg-hero-inner>*{max-width:720px}}
/* Bildabschnitt ohne Bild (Foto folgt später): reiner Textabschnitt, Text links, Stichpunkte rechts */
.rrs-gbx-media.is-text-only{display:block;min-height:0;padding:var(--rrs-section-space,88px) 0}
.rrs-gbx-media.is-text-only .rrs-gbx-media-copy{max-width:1170px;margin:0 auto;padding:0 15px;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);column-gap:64px;align-items:start}
.rrs-gbx-media.is-text-only .rrs-gbx-media-copy h2{margin:0}
.rrs-gbx-media.is-text-only .rrs-gbx-media-body>p:first-child{margin-top:4px}
.rrs-gbx-media.is-text-only.is-reverse{background:var(--rrs-panel,#242424)}
@media(max-width:960px){.rrs-gbx-media.is-text-only .rrs-gbx-media-copy{display:block}.rrs-gbx-media.is-text-only .rrs-gbx-media-copy h2{margin-bottom:22px}}

/* ===== Qualitätsrunde 11.11.2026: kompakter, klarer, mobil schneller zur Anfrage ===== */
/* Mobiler Einstieg: Haupt-CTA vor den Getriebe-Chips, weniger Vorspann */
@media(max-width:767px){
 .rrs-dsg-page .rrs-dsg-hero-inner{display:flex;flex-direction:column}
 .rrs-dsg-page .rrs-dsg-breadcrumb{display:none}
 .rrs-dsg-page .rrs-dsg-eyebrow{order:1;margin-bottom:12px}
 .rrs-dsg-page .rrs-dsg-hero h1{order:2}
 .rrs-dsg-page .rrs-dsg-hero h1:after{margin:16px 0 4px 3px}
 .rrs-dsg-page .rrs-dsg-lead{order:3;margin-bottom:18px;font-size:15px;line-height:1.7}
 .rrs-dsg-page .rrs-dsg-actions{order:4;gap:10px}
 .rrs-dsg-page .rrs-dsg-chips{order:5;margin:18px 0 0!important}
 .rrs-dsg-page .rrs-dsg-hero{padding-top:28px;padding-bottom:36px}
 .rrs-gbx-hero.has-photo{padding-top:0!important}
 .rrs-gbx-hero.has-photo .rrs-dsg-hero-art{aspect-ratio:16/10!important}
 .rrs-gbx-hero.has-photo .rrs-dsg-hero-inner{margin-top:-18px}
 .rrs-dsg-page .rrs-dsg-row{padding:16px 16px;gap:4px}
 .rrs-dsg-page .rrs-dsg-row p{font-size:13.5px;line-height:1.65}
}
.rrs-dsg-page .rrs-dsg-check{font-size:12px!important;color:#9a9a9a!important}

/* Zwischen-CTA */
.rrs-gbx-cta-band{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:28px;padding:22px 26px;background:var(--rrs-panel,#242424);border:1px solid #414141;border-left:3px solid var(--rrs-accent,#ff8500)}
body.rrs-amira .rrs-gbx-cta-band p{margin:0;font-size:14.5px;line-height:1.7;color:#ddd;max-width:560px}
.rrs-gbx-cta-band>div{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.rrs-gbx-cta-band .custom-button{display:inline-flex;align-items:center;gap:10px;text-decoration:none}
body.rrs-amira a.rrs-gbx-cta-phone{color:#f1f1f1;font-weight:700;font-size:15px;text-decoration:none;font-variant-numeric:lining-nums;font-feature-settings:"lnum" 1}
body.rrs-amira a.rrs-gbx-cta-phone:hover,body.rrs-amira a.rrs-gbx-cta-phone:focus-visible{color:var(--rrs-accent,#ff8500)}
@media(max-width:767px){.rrs-gbx-cta-band{flex-direction:column;align-items:stretch;padding:18px}.rrs-gbx-cta-band>div{flex-direction:column;align-items:stretch;gap:12px}.rrs-gbx-cta-band .custom-button{justify-content:center}body.rrs-amira a.rrs-gbx-cta-phone{text-align:center}}

/* Technik im Detail: aufklappbar, Inhalt bleibt im HTML (serverseitig lesbar) */
.rrs-gbx-tech{background:var(--rrs-dark,#191919);padding-top:calc(var(--rrs-section-space,88px) * .7);padding-bottom:calc(var(--rrs-section-space,88px) * .7)}
body.rrs-amira .rrs-gbx-tech-intro{margin:0 0 18px;color:var(--rrs-muted,#c4c4c4);font-size:14px}
.rrs-gbx-tech-intro .kicker{margin-bottom:6px}
.rrs-gbx-deep{border-top:1px solid #ffffff1f}
.rrs-gbx-deep:last-child{border-bottom:1px solid #ffffff1f}
.rrs-gbx-deep>summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 18px;padding:22px 52px 22px 0;position:relative;cursor:pointer;list-style:none}
.rrs-gbx-deep>summary::-webkit-details-marker{display:none}
.rrs-gbx-deep>summary .kicker{margin:0;flex-basis:100%}
body.rrs-amira .rrs-gbx-deep>summary h2{margin:0;font-size:clamp(20px,2.2vw,28px);line-height:1.25;text-transform:uppercase;letter-spacing:-.4px}
.rrs-gbx-deep>summary h2 br{display:none}
.rrs-gbx-deep>summary:after{content:'+';position:absolute;right:0;top:50%;transform:translateY(-50%);width:34px;height:34px;display:grid;place-items:center;border:1px solid #555;color:var(--rrs-accent,#ff8500);font-size:20px;line-height:1}
.rrs-gbx-deep[open]>summary:after{content:'–';border-color:var(--rrs-accent,#ff8500)}
.rrs-gbx-deep>summary:focus-visible{outline:2px solid var(--rrs-accent,#ff8500);outline-offset:3px}
.rrs-gbx-deep>summary:hover h2{color:var(--rrs-accent,#ff8500)}
.rrs-gbx-deep-body{padding:0 0 30px}
.rrs-gbx-deep-body>.rrs-dsg-note-lead{margin:0 0 22px;max-width:820px}

/* Mobile Kontaktleiste (nur Smartphone, nur Getriebeseiten) */
.rrs-gbx-mobilebar{display:none}
@media(max-width:767px){
 .rrs-gbx-mobilebar:not([hidden]){display:grid;grid-template-columns:1fr 1fr;gap:8px;position:fixed;left:0;right:0;bottom:0;z-index:40;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:#151515f2;border-top:1px solid #ffffff26;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transform:translateY(110%);transition:transform .25s ease}
 .rrs-gbx-mobilebar.is-visible{transform:none}
 body.rrs-amira .rrs-gbx-mobilebar a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;font-size:12px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;text-decoration:none}
 body.rrs-amira .rrs-gbx-mobilebar-ask{background:var(--rrs-accent,#ff8500);color:#191919!important}
 body.rrs-amira .rrs-gbx-mobilebar-call{border:1px solid #888;color:#f1f1f1!important}
 .rrs-gbx-mobilebar a:focus-visible{outline:2px solid #fff;outline-offset:2px}
 .rrs-gbx-mobilebar .fa{font-size:16px}
 body.rrs-has-mobilebar{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
 body.rrs-has-mobilebar.rrs-mobilebar-on .rrs-back-top{bottom:calc(76px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.rrs-gbx-mobilebar{transition:none!important}}
@media(max-width:767px){
 .rrs-gbx-hero.has-photo .rrs-dsg-hero-art{aspect-ratio:2/1!important}
 .rrs-gbx-hero.has-photo .rrs-dsg-hero-art img{object-position:50% 50%!important}
 .rrs-gbx-hero.has-photo .rrs-dsg-eyebrow{display:none}
 .rrs-gbx-hero.has-photo .rrs-dsg-hero-inner{margin-top:-4px}
}
