/* „Hat mein Auto OBD2?“ /<land>/obd2 (views/obd2.html, wissensseiten.mjs obd2Parts, js/obd2.js). Dunkle Fläche .studio.
   Aus guides.css: Brotkrumen, .rg-list, .rg-sources, .rg-ref, .rg-foot. Aus site.css: .field, .choice, .btn, .state.
   .obd-tool          Werkzeug: Land, Baujahr, Kraftstoff (Wörter), Haupthandlung „Prüfen“, Antwort darunter
   .obd-timeline      Zeitleiste als SVG; Balken .tl-no / .tl-trans / .tl-yes, Beschriftung .tl-label (Farben nur hier)
   .obd2-years        Jahre als Ankerzeile (#j<jahr>)
   .obd-table         Tabelle je Jahr; schmal bleibt sie dreispaltig (Jahr, Benzin, Diesel)
   .obd-countries     Rechtslage je Land als Abschnitte mit Haarlinie */
@import url("guides.css");
.obd2-wrap{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(2.5rem,5vw,4rem);padding-block:clamp(1rem,3vw,2rem) clamp(4rem,9vw,7rem)}
.obd2-wrap>*{min-width:0}
.obd2-wrap>.crumbs{margin-bottom:calc(-1 * clamp(1.5rem,3vw,2.5rem))}
.obd2-head{display:grid;gap:1rem;max-width:52rem}
.obd2-head h1{font-size:clamp(2.2rem,5.4vw,4.25rem)}
.obd2-head .lead{max-width:40em}
.obd2-sub{font-size:clamp(1.4rem,2.6vw,1.9rem);letter-spacing:-.02em}
.obd2-block{display:grid;gap:1.25rem;max-width:52rem;scroll-margin-top:calc(var(--head) + 1rem)}

.obd-tool{display:grid;gap:1.25rem}
.obd-tool-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:1rem 1.5rem;align-items:end}
.obd-tool .choice{margin:0}
.obd-tool .btn{justify-self:start}
.obd-answer{display:grid;gap:.5rem;padding-top:1rem;border-top:1px solid var(--rule);max-width:var(--measure)}
.obd-answer[aria-busy=true]{opacity:.6}
.obd-answer-word{font-size:clamp(1.6rem,3vw,2.2rem);font-weight:600;letter-spacing:-.02em;color:var(--fg-strong)}
.obd-answer-word[data-state=off],.obd-answer-word[data-state=warn]{color:var(--fg)}
.obd-answer a{color:var(--fg-quiet)}
@media (max-width:40rem){.obd-tool-fields{grid-template-columns:minmax(0,1fr)}.obd-tool .btn{width:100%}}

.obd-figure{display:grid;gap:.75rem;margin:0}
.obd-timeline{display:block;width:100%;max-width:38rem;height:auto;overflow:visible}
.obd-timeline .tl-label{fill:var(--fg);font:500 14px Inter,"Helvetica Neue",Arial,sans-serif}
.obd-timeline .tl-year{fill:var(--fg-quiet);font:400 13px Inter,"Helvetica Neue",Arial,sans-serif;text-anchor:middle;font-variant-numeric:tabular-nums}
.obd-timeline .tl-no{fill:transparent;stroke:var(--rule);stroke-width:1}
.obd-timeline .tl-trans{fill:rgba(243,243,243,.32)}
.obd-timeline .tl-yes{fill:var(--fg-strong)}
.obd-timeline .tl-axis,.obd-timeline .tl-tick{stroke:var(--rule);stroke-width:1}
.obd-legend{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .5rem;max-width:var(--measure)}
.obd-key{display:inline-block;box-sizing:border-box;width:1.1rem;height:.6rem;border-radius:1px;margin-left:.5rem}
.obd-key:first-child{margin-left:0}
.obd-key-yes{background:var(--fg-strong)}
.obd-key-trans{background:rgba(243,243,243,.32)}
.obd-key-no{border:1px solid var(--rule)}

.obd2-years{display:flex;flex-wrap:wrap;gap:0 1.1rem;font-variant-numeric:tabular-nums}
.obd2-years a{display:inline-flex;align-items:center;min-height:2.75rem;min-width:2.75rem;color:var(--fg);text-decoration:underline;text-decoration-color:rgba(243,243,243,.3);text-underline-offset:.25em}
.obd2-years a:hover{color:var(--fg-strong);text-decoration-color:currentColor}
.obd-table tr{scroll-margin-top:calc(var(--head) + 1rem)}
.obd-table tr:target th,.obd-table tr:target td{color:var(--fg-strong);background:var(--studio-2)}
.obd-table th,.obd-table td{padding-block:.7rem}
@media (max-width:30rem){.obd-table .state{white-space:normal}}

.obd-countries{display:grid;border-top:1px solid var(--rule)}
.obd-country{display:grid;grid-template-columns:minmax(10rem,14rem) minmax(0,1fr);gap:.5rem 2rem;padding:1.25rem 0;border-bottom:1px solid var(--rule)}
.obd-country h3{font-size:1.0625rem;grid-row:1/span 4}
.obd-country>p{grid-column:2;max-width:var(--measure);line-height:1.6}
.obd-country a{color:var(--fg-quiet)}
@media (max-width:40rem){.obd-country{grid-template-columns:minmax(0,1fr)}.obd-country h3{grid-row:auto}.obd-country>p{grid-column:1}}
.obd-signs li{line-height:1.6}
