/* Rekentool CO2-equivalent (sites/fgassen/paginas/co2calculator.php). Alleen kleuren uit motor.css en site.css. */
.co2 { padding-top: 2rem; padding-bottom: 3rem; }
.co2-vak { background: var(--wit); border: 1.5px solid var(--lijn); border-radius: 18px; padding: 1.1rem; margin: 1.5rem 0 2rem;
  box-shadow: 0 10px 30px -18px rgb(11 34 51 / .3); }
@media (min-width: 40rem) { .co2-vak { padding: 1.75rem; } }
.co2-velden { display: grid; gap: 0 1.25rem; }
@media (min-width: 36rem) { .co2-velden { grid-template-columns: 1fr 1fr; } .co2-velden > .veld:first-child { grid-column: 1 / -1; } }
.co2-velden .veld { min-width: 0; }
.co2-velden .veld[hidden] { display: none; }
.co2-select, .co2-invoer { width: 100%; max-width: 100%; min-height: 3rem; font: inherit; font-weight: 700; color: var(--inkt); background: var(--wit);
  border: 2px solid var(--lijn); border-radius: 12px; padding: .4rem .8rem; }
.co2-select:focus, .co2-invoer:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--zee); }
.co2-stap { display: flex; align-items: stretch; max-width: 15rem; }
.co2-stap input { flex: 1; min-width: 0; text-align: center; font: inherit; font-size: 1.3rem; font-weight: 800; color: var(--inkt);
  border: 2px solid var(--lijn); border-left: 0; border-right: 0; min-height: 3rem; -moz-appearance: textfield; }
.co2-stap input::-webkit-outer-spin-button, .co2-stap input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.co2-stap button { flex: none; width: 3rem; font: inherit; font-size: 1.4rem; font-weight: 800; color: var(--zee); background: var(--vlak);
  border: 2px solid var(--lijn); cursor: pointer; }
.co2-stap button:first-child { border-radius: 12px 0 0 12px; }
.co2-stap button:last-child { border-radius: 0 12px 12px 0; }
.co2-stap button:hover { background: var(--blauw-licht); }
.co2-stap input:focus, .co2-stap button:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; position: relative; z-index: 1; }

.co2-vinken { border: 0; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.co2-vinken legend { font-weight: 800; color: var(--zee); margin-bottom: .45rem; padding: 0; width: 100%; }
.co2-vinken label { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.9rem; padding: .4rem 1rem; border: 2px solid var(--lijn);
  border-radius: 999px; font-weight: 700; cursor: pointer; background: var(--wit); max-width: 100%; }
.co2-vinken label[hidden] { display: none; }
.co2-vinken label:has(input:checked) { border-color: var(--blauw); background: var(--blauw-licht); }
.co2-vinken input { accent-color: var(--blauw); width: 1.15rem; height: 1.15rem; margin: 0; flex: none; }

.co2-uitkomst { background: var(--vlak); border-radius: 14px; padding: 1.1rem 1.1rem 1rem; }
.co2-label { margin: 0; font-size: .85rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--zee-licht); }
.co2-getal { margin: .1rem 0 .4rem; font-size: clamp(2.5rem, 2rem + 3vw, 3.4rem); font-weight: 800; line-height: 1; color: var(--zee);
  font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.co2-eenheid { font-size: 1.1rem; font-weight: 700; color: var(--grijs); }
.co2-reken { margin: 0; font-weight: 700; color: var(--inkt); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.co2-grens { margin: .2rem 0 0; color: var(--grijs); font-size: .95rem; }
.co2-grens:empty { display: none; }
.co2-conclusies { margin: 1rem 0 0; }
.co2-rij { border-top: 1px solid var(--lijn); padding: .85rem 0 .2rem; }
.co2-rij dt { font-size: .85rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--grijs); }
.co2-rij dd { margin: 0; }
.co2-oordeel { margin: .15rem 0 .3rem; font-size: 1.15rem; font-weight: 800; color: var(--inkt); }
.co2-oordeel.is-ja { color: var(--rood-tekst); }
.co2-oordeel.is-nee { color: var(--zee-licht); }
.co2-uitleg { margin: 0 0 .3rem; }
.co2-bron { margin: 0 0 .5rem; font-size: .92rem; }
.co2-bron a { display: inline-block; padding-block: .3rem; }
.co2-let-op { margin: 1rem 0 0; font-size: .95rem; color: var(--grijs); }

.co2-lees { margin-top: 1.5rem; }
.co2-cta { background: var(--blauw-licht); border-radius: 16px; padding: 1.2rem 1.3rem; margin: 2rem 0; }
.co2-cta p { margin: 0; }
.co2-cta .knoppen { margin-top: .9rem; display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 29.99rem) { .co2-cta .knop { width: 100%; } }
