/*
 * chargetanks.com - Stylesheet der Webseite (Startseite, Kapitel, Tools, About, Rechtliches, 404).
 * Aufbau: 1 Tokens · 2 Basis · 3 Layout · 4 Kopf und Fuss · 5 Bausteine · 6 Seiten
 * Farben und Masse entsprechen der bisherigen Webseite (Tailwind-Build des Originals).
 */

/* 1 Tokens ------------------------------------------------------------------------------------ */
:root {
  --navy: #003b73;
  --blue: #5dade2;
  --blue-text: #1d6fa5; /* Blau fuer Text auf Weiss (Kontrast >= 4.5) */
  --green: #70ad47;
  --orange: #f39c12;
  --slate: #44546a;
  --gray-dark: #333333;
  --gray-medium: #444444;
  --gray-light: #cccccc;

  --border: rgb(204 204 204 / 0.5);
  --border-strong: rgb(204 204 204 / 0.6);
  --tint-gray: linear-gradient(to bottom right, rgb(204 204 204 / 0.2), #fff);
  --tint-blue: linear-gradient(to bottom right, rgb(93 173 226 / 0.1), #fff);

  --font: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  --gutter: 1rem;
  --header-height: 4rem;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 640px) {
  :root { --gutter: 1.5rem; }
}

@media (min-width: 1024px) {
  :root { --gutter: 2rem; }
}

/* 2 Basis ------------------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: #fff;
  color: var(--slate);
}

h1, h2, h3, h4, p, figure, blockquote {
  margin: 0;
}

h1, h2, h3, h4 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon--20 { width: 1.25rem; height: 1.25rem; }
.icon--24 { width: 1.5rem; height: 1.5rem; }

[hidden] { display: none !important; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  border-radius: 0.5rem;
  background: var(--navy);
  padding: 0.5rem 1rem;
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* 3 Layout ------------------------------------------------------------------------------------ */
.container {
  max-width: var(--container, 80rem);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--article { --container: 56rem; }

.site-main {
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.section {
  padding-block: 5rem;
  scroll-margin-top: 5rem;
}

/* 4 Kopf und Fuss ----------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background-color: rgb(255 255 255 / 0.95);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand__logo {
  width: 2rem;
  height: 2rem;
}

.brand__name {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--navy);
}

.site-nav {
  display: none;
  gap: 2rem;
}

.site-nav a,
.mobile-menu a {
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.15s var(--ease);
}

.site-nav a:hover,
.mobile-menu a:hover {
  color: var(--blue);
}

.site-nav a.is-active,
.mobile-menu a.is-active {
  color: var(--navy);
}

.menu-button {
  color: var(--slate);
}

.mobile-menu {
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

@media (min-width: 768px) {
  .site-nav { display: flex; }
  .menu-button, .mobile-menu { display: none !important; }
}

.site-footer {
  background: var(--gray-dark);
  color: var(--gray-light);
}

.site-footer__inner {
  max-width: 80rem;
  margin-inline: auto;
  padding: 3rem var(--gutter);
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: #fff;
}

.site-footer__brand svg {
  width: 1.5rem;
  height: 1.5rem;
}

.site-footer__text {
  max-width: 28rem;
  margin-bottom: 1rem;
  line-height: 1.625;
}

.social {
  display: flex;
  gap: 1rem;
}

.social a {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: var(--gray-medium);
  transition: transform 0.15s var(--ease), background-color 0.15s var(--ease);
}

.social a:hover {
  transform: scale(1.1);
  background: var(--blue);
}

.site-footer__heading {
  margin-bottom: 1rem;
  font-weight: 600;
  color: #fff;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.5rem;
}

.site-footer__links a,
.site-footer__legal a {
  border-radius: 0.375rem;
  padding-inline: 0.25rem;
  transition: color 0.15s var(--ease);
}

.site-footer__links a:hover,
.site-footer__legal a:hover {
  color: var(--blue);
}

.site-footer__bottom {
  border-top: 1px solid var(--gray-medium);
  padding-top: 2rem;
  text-align: center;
}

.site-footer__legal {
  margin-top: 0.5rem;
}

/* 5 Bausteine --------------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-weight: 600;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease), border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.btn--primary {
  background: var(--navy);
  color: #fff;
}

.btn--primary:hover {
  background: rgb(0 59 115 / 0.9);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  border-color: rgb(204 204 204 / 0.7);
  color: var(--navy);
}

.btn--secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .actions { flex-direction: row; flex-wrap: wrap; }
}

.actions--center {
  align-items: center;
  justify-content: center;
}

.eyebrow {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--blue-text);
}

.more {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--blue);
  transition: gap 0.15s var(--ease);
}

.more .icon {
  transition: transform 0.15s var(--ease);
}

a:hover .more {
  gap: 0.75rem;
}

a:hover .more .icon {
  transform: translateX(0.25rem);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.badge {
  display: inline-block;
  border-radius: 9999px;
  background: rgb(93 173 226 / 0.1);
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--navy);
}

/* 6 Seiten ------------------------------------------------------------------------------------ */

/* Startseite: These, Kapitel, Tools (keine Karten, kein Hero-Muster) */
.home-intro {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 3rem;
}

.home-intro--page { padding-bottom: 5rem; }

.home-thesis {
  max-width: 24em;
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.home-thesis span {
  display: block;
  margin-top: 0.5rem;
  font-weight: 500;
  color: var(--slate);
}

@media (min-width: 768px) {
  .home-thesis { font-size: 3rem; }
}

.home-lead {
  max-width: 40rem;
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.home-fig { margin-top: 2.5rem; }

/* Platz fuer das Tank-Bild reservieren, bevor chapter.js zeichnet (kein Springen beim Laden) */
.home-fig .ch-fig__parts { aspect-ratio: 288 / 507; }

@media (min-width: 640px) {
  .home-fig .ch-fig__parts { aspect-ratio: 832 / 384; }
}

.home-byline {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--slate);
}

.home-byline a,
.home-lead a {
  color: var(--navy);
  font-weight: 600;
}

.home-section {
  border-top: 1px solid var(--border);
  padding-block: 3.5rem;
}

.home-section--tools { padding-bottom: 5rem; }

.home-section__title {
  font-size: 1.75rem;
  line-height: 2.25rem;
  font-weight: 700;
  color: var(--navy);
}

.home-section__title a {
  color: inherit;
  text-decoration: none;
}

.home-section__title a:hover { text-decoration: underline; }

.home-section__lead {
  max-width: 40rem;
  margin-top: 0.75rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.home-parts {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.home-parts li {
  border-top: 1px solid var(--border);
  padding-block: 1rem;
}

.home-parts li:last-child { border-bottom: 1px solid var(--border); }

.home-parts a {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--navy);
  text-decoration: none;
}

.home-parts a:hover .home-parts__name { text-decoration: underline; }

.home-parts__no {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.875rem;
}

.home-parts p {
  margin-top: 0.375rem;
  padding-left: 2.375rem;
}

.home-next {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--slate);
}

/* Tools als schlichte Liste (Startseite, /tools/) */
.tool-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.tool-list li {
  border-top: 1px solid var(--border);
  padding-block: 0.875rem;
}

.tool-list li:last-child { border-bottom: 1px solid var(--border); }

.tool-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--navy);
  text-decoration: none;
}

.tool-list a:hover .tool-list__name { text-decoration: underline; }

.tool-list p {
  margin-top: 0.25rem;
  font-size: 0.9375rem;
}

/* About: Lebenslauf */
.cv-photo {
  width: 9rem;
  height: 9rem;
  border-radius: 9999px;
  object-fit: cover;
}

.cv-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
  font-weight: 600;
}

.cv-links a { color: var(--navy); }

.pubs a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pubs {
  margin: 0;
  padding-left: 1.25rem;
}

.pubs li + li { margin-top: 0.875rem; }

.pubs .pubs__title { font-weight: 600; color: var(--navy); }

.page-title {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  color: var(--navy);
}

@media (min-width: 768px) {
  .page-title { font-size: 3rem; line-height: 1; }
}

.article-header {
  margin-bottom: 2rem;
}

.article-header .badge {
  margin-bottom: 1rem;
}

.article-title {
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  color: var(--navy);
}

@media (min-width: 768px) {
  .article-title { font-size: 3rem; line-height: 1; }
}

.article-header .meta {
  gap: 1.5rem;
}

.article-header .meta strong {
  font-weight: 500;
  color: var(--navy);
}

.summary {
  margin-bottom: 2.5rem;
}

.summary > * + * {
  margin-top: 1.5rem;
}

/* Fliesstext (Artikel, Rechtliches) */
.prose h2 {
  margin: 2rem 0 1rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  color: var(--navy);
}

.prose h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: var(--navy);
}

.prose p {
  margin-bottom: 1rem;
  line-height: 1.625;
}

.prose strong {
  font-weight: 700;
}

.prose ul {
  margin: 0 0 1rem;
  padding: 0;
  list-style: disc inside;
}

.prose ol {
  margin: 0 0 1rem;
  padding: 0;
  list-style: decimal inside;
}

.prose li + li {
  margin-top: 0.5rem;
}

.prose a {
  color: var(--blue-text);
  text-decoration: underline;
}

.prose a:hover {
  color: var(--navy);
}

.prose img {
  width: 100%;
  margin-block: 0.5rem;
  border: 1px solid var(--border-strong);
  border-radius: 0.75rem;
  background: rgb(204 204 204 / 0.2);
  padding: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.prose code {
  border-radius: 0.25rem;
  background: rgb(204 204 204 / 0.3);
  padding: 0.125rem 0.375rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--navy);
}

.continue {
  margin-top: 4rem;
  border-top: 1px solid var(--border-strong);
  padding-top: 2.5rem;
}

.continue h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: var(--navy);
}

.continue p {
  margin-bottom: 1.5rem;
  line-height: 1.625;
}

/* 404 */
.notfound {
  max-width: 56rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}

.notfound h1 {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  color: var(--navy);
}

.notfound__lead {
  max-width: 42rem;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

/* 7 Tools ------------------------------------------------------------------------------------- */
.tool-main {
  padding-top: var(--header-height);
}

.tool-tabs {
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.tool-tabs ul {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.tool-tabs a {
  display: block;
  border-bottom: 2px solid transparent;
  padding: 0.75rem 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.tool-tabs a:hover {
  color: var(--blue);
}

.tool-tabs a[aria-current="page"] {
  border-bottom-color: var(--blue);
  font-weight: 600;
  color: var(--navy);
}

/* Arbeitsbereich: Blau wie der Hintergrund der Diagramme */
.workbench {
  background: var(--navy);
  color: #fff;
  color-scheme: dark;
  padding-block: 1.5rem 2.5rem;
}

.workbench__head {
  margin-bottom: 1.25rem;
}

.workbench__head h1 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
}

.workbench__head p {
  max-width: 48rem;
  margin-top: 0.25rem;
  line-height: 1.625;
  color: rgb(255 255 255 / 0.8);
}

@media (min-width: 768px) {
  .workbench__head h1 { font-size: 1.875rem; line-height: 2.25rem; }
}

.workbench__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .workbench__grid {
    grid-template-columns: 17rem minmax(0, 1fr);
    align-items: start;
  }
}

/* Regler */
.controls {
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 0.06);
  padding: 1rem;
}

@media (min-width: 1024px) {
  .controls {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
    max-height: calc(100vh - var(--header-height) - 2rem);
    overflow-y: auto;
  }
}

.control-group {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.control-group + .control-group {
  margin-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  padding-top: 1rem;
}

.control-group legend {
  margin-bottom: 0.5rem;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.65);
}

.control + .control {
  margin-top: 0.875rem;
}

.control__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.control__head output {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--blue);
}

.control__range {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: rgb(255 255 255 / 0.55);
}

.slider {
  --fill: 50%;
  display: block;
  width: 100%;
  height: 1.25rem;
  margin: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
}

.slider::-webkit-slider-runnable-track {
  height: 0.25rem;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--blue) var(--fill), rgb(181 207 232 / 0.25) var(--fill));
}

.slider::-webkit-slider-thumb {
  width: 1rem;
  height: 1rem;
  margin-top: -0.375rem;
  border: 2px solid var(--navy);
  border-radius: 9999px;
  background: var(--blue);
  appearance: none;
}

.slider::-moz-range-track {
  height: 0.25rem;
  border-radius: 9999px;
  background: rgb(181 207 232 / 0.25);
}

.slider::-moz-range-progress {
  height: 0.25rem;
  border-radius: 9999px;
  background: var(--blue);
}

.slider::-moz-range-thumb {
  width: 0.75rem;
  height: 0.75rem;
  border: 2px solid var(--navy);
  border-radius: 9999px;
  background: var(--blue);
}

.slider:focus-visible {
  outline: none;
}

.slider:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgb(93 173 226 / 0.5);
}

.slider:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgb(93 173 226 / 0.5);
}

.select {
  width: 100%;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 0.5rem;
  background: rgb(255 255 255 / 0.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.625rem center / 1rem;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  font: inherit;
  font-size: 0.9375rem;
  color: #fff;
  appearance: none;
  cursor: pointer;
}

.select:hover {
  border-color: rgb(255 255 255 / 0.4);
}

.select option {
  background: var(--navy);
  color: #fff;
}

.control--checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.control--checkbox input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--blue);
}

.controls__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.controls__title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.65);
}

.controls__toggle {
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
}

@media (min-width: 1024px) {
  .controls__bar { display: none; }
}

/* Handy und Tablet: Regler als Panel am unteren Rand, Diagramme bleiben sichtbar */
@media (max-width: 1023.98px) {
  .controls {
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    max-height: 60vh;
    overflow-y: auto;
    border: 0;
    border-top: 1px solid rgb(255 255 255 / 0.18);
    border-radius: 1rem 1rem 0 0;
    background: #002a52;
    padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
    box-shadow: 0 -12px 32px rgb(0 0 0 / 0.35);
  }
  .controls:not(.is-expanded) .control:not(.control--primary),
  .controls:not(.is-expanded) .control-group:not(:has(.control--primary)) {
    display: none;
  }
  .controls:not(.is-expanded) legend {
    display: none;
  }
  .controls:not(.is-expanded) .control-group + .control-group {
    margin: 0;
    border: 0;
    padding: 0;
  }
  .tool-main {
    padding-bottom: var(--panel-height, 8rem);
  }
}

/* Diagramme */
.charts {
  --chart-height: clamp(320px, 115vw, 520px);
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .charts {
    --chart-height: clamp(340px, calc(100vh - 17rem), 600px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .chart--wide { grid-column: 1 / -1; }
  .charts--blending { --chart-height: clamp(320px, calc(100vh - 17rem), 460px); }
}

.chart {
  min-width: 0;
  margin: 0;
}

.chart--short {
  --chart-height: 300px;
}

.chart__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.chart__readout {
  font-variant-numeric: tabular-nums;
  color: var(--blue);
}

.chart__frame {
  position: relative;
}

.chart__plot {
  height: var(--chart-height);
}

.chart__frame.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--navy);
  padding: 46px 12px 12px;
}

.chart__frame.is-fullscreen .chart__plot {
  height: 100%;
}

body.has-fullscreen-chart {
  overflow: hidden;
}

/* Erklaerung unter dem Arbeitsbereich */
.tool-explainer {
  padding-block: 3rem 4rem;
}

.tool-explainer .prose > :first-child {
  margin-top: 0;
}

.try-this {
  margin-bottom: 2.5rem;
  border: 1px solid var(--border-strong);
  border-radius: 1rem;
  background-image: var(--tint-blue);
  padding: 1.5rem;
}

.try-this h2 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: var(--navy);
}

.try-this ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.try-this li + li {
  margin-top: 0.5rem;
}

.try-this a {
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--blue);
}

.try-this a:hover {
  color: var(--blue);
}

.try-this__more {
  margin-top: 1rem;
}

/* Regler-Panel: Link kopieren, zuruecksetzen */
.controls__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  padding-top: 0.875rem;
}

.controls__action {
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}

.controls__action:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.controls__status {
  font-size: 0.8125rem;
  color: var(--blue);
}

@media (max-width: 1023.98px) {
  .controls:not(.is-expanded) .controls__actions {
    margin-top: 0.5rem;
    border: 0;
    padding-top: 0;
  }
}

/* 7 Kapitel (/blog/...) ---------------------------------------------------------------------- */
.chapter {
  padding-block: 2rem 4rem;
}

.chapter__lead {
  max-width: 44rem;
  margin-top: 0.75rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.chapter__byline {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--gray-medium);
}

.chapter__byline a { color: inherit; font-weight: 600; }

/* Hinweis fuer Leser, die direkt auf einem spaeteren Reiter landen (z. B. vom LinkedIn-Post) */
.prose .chapter-hint {
  margin: -0.25rem 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--gray-medium);
}

.prose .chapter-contact {
  margin-top: 2rem;
  border-top: 1px solid var(--border-strong);
  padding-top: 1rem;
  font-size: 0.9375rem;
}

.chapter-tabs {
  position: sticky;
  top: var(--header-height);
  z-index: 5;
  display: flex;
  gap: 0.25rem;
  margin: 2rem 0 1.5rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--border-strong);
  background: #fff;
}

.chapter-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  border-bottom: 3px solid transparent;
  padding: 0.75rem 0.75rem 0.625rem;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
  white-space: nowrap;
}

.chapter-tabs a span {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: rgb(204 204 204 / 0.4);
  font-size: 0.8125rem;
}

.chapter-tabs a:hover { color: var(--navy); }

/* Reiternamen: lang, auf dem Handy kurz (alle vier Reiter ohne Querscrollen) */
.chapter-tabs b { font-weight: inherit; }
.chapter-tabs .tab-short { display: none; }

@media (max-width: 559px) {
  .chapter-tabs { gap: 0; }
  .chapter-tabs a { gap: 0.3125rem; padding-inline: 0.5rem; font-size: 0.9375rem; }
  .chapter-tabs a span { width: 1.25rem; height: 1.25rem; font-size: 0.75rem; }
  .chapter-tabs .tab-long { display: none; }
  .chapter-tabs .tab-short { display: inline; }
}

@media (max-width: 479px) {
  .chapter-tabs a span { display: none; }
}

.chapter-tabs a.is-active {
  border-bottom-color: var(--blue);
  color: var(--navy);
}

.chapter-tabs a.is-active span {
  background: var(--navy);
  color: #fff;
}

/* Teilen und Kapitel-Leiste am Handy (chapter-nav.js) ------------------------------------------ */
.share-button,
.chapter-bar__share {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  font-weight: 600;
  cursor: pointer;
}

.share-button svg { width: 1rem; height: 1rem; }
.share-button:hover,
.chapter-bar__share:hover { color: var(--navy); }

.share-note {
  margin-left: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate);
}

.chapter-bar { display: none; }

@media (max-width: 559px) {
  /* Kopf und Reiter in einer Zeile: [Logo] 2/5 · Titel ▾ [Teilen] [Menue] */
  .has-chapter-bar .chapter-tabs { display: none; }
  .has-chapter-bar .brand__name { display: none; }
  .has-chapter-bar .site-header__bar { gap: 0.5rem; }

  .chapter-bar {
    display: flex;
    flex: 1;
    min-width: 0;
    align-items: center;
  }

  .chapter-bar__toggle {
    display: flex;
    flex: 1;
    min-width: 0;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    border: 0;
    background: none;
    padding: 0 0.25rem;
    font: inherit;
    font-weight: 600;
    color: var(--navy);
    text-align: left;
    cursor: pointer;
  }

  .chapter-bar__count {
    display: inline-grid;
    flex-shrink: 0;
    place-items: center;
    min-width: 2.25rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: var(--navy);
    color: #fff;
    font-size: 0.8125rem;
  }

  .chapter-bar__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .chapter-bar__toggle svg { flex-shrink: 0; color: var(--slate); }
  .chapter-bar__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

  .chapter-bar__share {
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    color: var(--slate);
  }

  .chapter-bar__share span:empty { display: none; }

  .chapter-bar__menu {
    position: fixed;
    inset: var(--header-height) 0 auto;
    border-bottom: 1px solid var(--border-strong);
    background: #fff;
    box-shadow: var(--shadow-sm);
    padding: 0.25rem var(--gutter) 0.75rem;
  }

  .chapter-bar__menu ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: tab;
  }

  .chapter-bar__menu li { counter-increment: tab; }

  .chapter-bar__menu ol a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 2.75rem;
    font-weight: 600;
    color: var(--slate);
    text-decoration: none;
  }

  .chapter-bar__menu ol a::before {
    content: counter(tab);
    display: inline-grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: rgb(204 204 204 / 0.4);
    font-size: 0.8125rem;
  }

  .chapter-bar__menu ol a[aria-current] { color: var(--navy); }
  .chapter-bar__menu ol a[aria-current]::before { background: var(--navy); color: #fff; }
}

.chapter-panel + .chapter-panel {
  margin-top: 4rem; /* ohne JavaScript stehen alle Kapitel untereinander */
}

.chapter-panel > h2:first-child { margin-top: 0; }

/* Platz fuer Seitenkopf und klebende Reiterleiste beim Springen */
.chapter-panel { scroll-margin-top: calc(var(--header-height) + 4rem); }

.chapter-next {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  font-weight: 600;
}

.chapter-next a:only-child { margin-left: auto; }

.prose .chapter-next a { text-decoration: none; }

/* Quiz */
.quiz {
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--border-strong);
  border-radius: 1rem;
  background: var(--tint-blue);
  padding: 1.25rem;
}

.prose .quiz__question {
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--navy);
}

.quiz__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.quiz__options button {
  min-width: 7rem;
  border: 1px solid var(--navy);
  border-radius: 9999px;
  background: #fff;
  padding: 0.5rem 1.25rem;
  font: inherit;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.quiz__options button:hover { background: rgb(93 173 226 / 0.12); }
.quiz__options button.is-right { border-color: var(--green); background: var(--green); color: #fff; }
.quiz__options button.is-wrong { border-color: #c0392b; background: #c0392b; color: #fff; }
.quiz__options button.quiz__show.is-picked { background: var(--navy); color: #fff; }

/* Scroll-Widerstand: Aufloesung verschleiert, bis man antwortet oder "Just show me" waehlt */
.quiz-answer { position: relative; }
.quiz-answer.is-veiled .quiz-answer__body {
  max-height: 12rem;
  overflow: hidden;
  filter: blur(6px);
  opacity: 0.55;
  user-select: none;
}

.prose .quiz__feedback {
  margin: 0.75rem 0 0;
  font-weight: 600;
  color: var(--navy);
}

/* Tool im Kapitel: dunkler Kasten wie der Arbeitsbereich der Tools */
.ch-tool {
  margin: 1.5rem calc(-1 * var(--gutter)) 2rem;
  background: var(--navy);
  color: #fff;
  color-scheme: dark;
  padding: 1.25rem var(--gutter) 1.5rem;
}

@media (min-width: 640px) {
  .ch-tool {
    margin-inline: 0;
    border-radius: 1rem;
  }
}

.ch-tool__controls {
  display: grid;
  gap: 0.25rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  align-items: end;
  margin-bottom: 1.25rem;
}

.ch-tool__controls .control + .control { margin-top: 0; }

.ch-tool__controls .controls__action {
  justify-self: start;
}

/* Detailregler eingeklappt, damit das Tool nicht erschlaegt */
.ch-tool__more { grid-column: 1 / -1; }

.ch-tool__more summary {
  display: inline-block;
  cursor: pointer;
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 9999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}

.ch-tool__more summary::-webkit-details-marker { display: none; }
.ch-tool__more summary::before { content: '+ '; }
.ch-tool__more[open] summary::before { content: '− '; }

.ch-tool__more-body {
  display: grid;
  gap: 0.25rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  align-items: end;
  margin-top: 0.75rem;
}

.ch-tool__figs {
  display: grid;
  gap: 1.25rem;
}

/* Tanks und Elektroden-Plot als Paar nebeneinander, Zellspannung darunter ueber die volle Breite */
@media (min-width: 640px) {
  .ch-tool__figs { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
  .ch-tool__figs .ch-span { grid-column: 1 / -1; width: 100%; max-width: 32rem; justify-self: center; }
}

.ch-tool__figs figure { margin: 0; }

.ch-tool__figs figcaption {
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.85);
}

.ch-svg {
  display: block;
  width: 100%;
  height: auto;
  font-family: var(--font);
}

.ch-tool__readouts {
  display: grid;
  gap: 0.5rem 1rem;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  margin: 1.25rem 0 0;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  padding-top: 1rem;
}

@media (max-width: 639.98px) {
  .ch-tool { display: flex; flex-direction: column; }
  .ch-tool__readouts {
    order: 1;
    margin: 0 0 1.25rem;
    border-top: 0;
    border-bottom: 1px solid rgb(255 255 255 / 0.12);
    padding: 0 0 1rem;
  }
  .ch-tool__figs { order: 2; }
}

.ch-tool__readouts dt {
  font-size: 0.75rem;
  color: rgb(255 255 255 / 0.65);
}

.ch-tool__readouts dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--blue);
}

.prose .ch-tool__link {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.75);
}
@media (max-width: 639.98px) { .ch-tool__link { order: 3; } }

.home-more { margin-top: 1rem; }

.ch-tool.is-warning [data-readout="status"] { color: #ff8a80; }
.prose .ch-tool a { color: var(--blue); }
.prose .ch-tool a:hover { color: #fff; }

/* Klappbox "The math behind it" (genau eine pro Kapitel) */
.math-box {
  margin: 2rem 0 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 1rem;
  background: var(--tint-gray);
  padding: 0 1.25rem;
}

.math-box summary {
  padding: 1rem 0;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.math-box[open] { padding-bottom: 0.5rem; }

.prose .math-box ul { list-style: none; }

.math-box li {
  border-left: 3px solid var(--blue);
  padding-left: 0.75rem;
}

/* Selbst erstellte Abbildungen */
.sei-figure { margin: 1rem 0 1.5rem; }
.sei-figure svg { display: block; width: 100%; max-width: 40rem; height: auto; margin-inline: auto; border-radius: 1rem; }

.sei-figure figcaption {
  max-width: 40rem;
  margin: 0.5rem auto 0;
  font-size: 0.875rem;
  color: var(--gray-medium);
}

/* N/P und N/Li als Balken, Formeln als Text darunter */
.ratio-figure svg { max-width: 26rem; }

.ratio-legend {
  display: grid;
  gap: 0.5rem;
  max-width: 26rem;
  margin: 0.75rem auto 0;
}

.ratio-legend div { display: grid; gap: 0.125rem; }
.ratio-legend dt { font-weight: 700; color: var(--navy); }
.ratio-legend dd { margin: 0; font-size: 0.875rem; color: var(--gray-medium); }

/* Vergleich NMC/LFP gegen Graphit: beide Fuellbalken zusammen, darunter die Tankbilder nebeneinander */
.ch-compare .ch-fig__parts { grid-template-columns: 1fr; }
.ch-compare__gauges { display: grid; gap: 1rem; }
.ch-compare__tanks { display: grid; gap: 0.75rem; }
.ch-compare__tank { margin: 0; }
.ch-compare .ch-compare__tank figcaption {
  margin: 0 0 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.8);
  text-align: center;
}

@media (min-width: 640px) {
  .ch-compare__gauges,
  .ch-compare__tanks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.ch-compare__name {
  margin: 0 0 0.25rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.ch-compare__facts {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.8);
  text-align: center;
}

/* Entwurfsnotizen (nur mit draft: true im Front Matter) */
.draft-note {
  margin: 0 0 1rem;
  border: 1px dashed #c9a400;
  border-radius: 0.5rem;
  background: #fff8d6;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #5c4b00;
}

.draft-note--banner { margin-top: 1.5rem; }

.draft-tag {
  display: inline-block;
  margin-left: 0.5rem;
  border-radius: 0.25rem;
  background: #fff1a8;
  padding: 0 0.375rem;
  vertical-align: middle;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #5c4b00;
}

/* Feste Abbildungen zwischen den Texten (gleiche Zeichnungen wie die Tools) */
.ch-fig {
  margin: 1.5rem auto 1.75rem;
}

.ch-fig__parts {
  display: grid;
  gap: 1rem;
  border-radius: 1rem;
  background: var(--navy);
  padding: 1rem;
}

.ch-fig--tanks,
.ch-fig--blendtanks,
.ch-fig--account { max-width: 28rem; }

@media (min-width: 640px) {
  .ch-fig--tanks-electrodes .ch-fig__parts,
  .ch-fig--tanks-cell .ch-fig__parts,
  .ch-fig--electrodes-cell .ch-fig__parts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
  }
}

.ch-fig figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--gray-medium);
}

/* Szenario-Knoepfe im Tool */
.ch-presets {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.25rem 0 0.75rem;
}

.ch-presets button {
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 9999px;
  background: transparent;
  padding: 0.375rem 0.875rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
}

.ch-presets button:hover { border-color: var(--blue); }

.ch-presets button.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--navy);
}

.ch-tool__controls [data-control="curves"] { grid-column: 1 / -1; max-width: 20rem; }

/* Formeln in der Klappbox: von KaTeX beim Build gesetzt (HTML), Stil und Schriften aus assets/vendor/katex */
.math-box .katex { color: var(--navy); }
.math-box .katex-display {
  margin: 0.25rem 0 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.125rem 0;
}
.math-box .katex-display > .katex { font-size: 1.1em; }
.math-box p .katex { font-size: 1.05em; }


.prose .math-step {
  margin: 1rem 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}

.prose .math-legend {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--gray-medium);
}

/* Kapitel-Tools am Handy (tool-touch.js): ein Bild mit Umschalter, Wischen schiebt den Hauptregler ------- */
.ch-tool__switch,
.ch-tool__hint { display: none; }
.ch-tool__figs {
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}
.ch-tool__figs.is-swiping { cursor: ew-resize; user-select: none; }

@media (max-width: 639.98px) {
  .ch-tool__switch {
    order: 0;
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ch-tool__switch button {
    flex-shrink: 0;
    border: 1px solid rgb(255 255 255 / 0.3);
    border-radius: 9999px;
    background: transparent;
    padding: 0.3rem 0.8rem;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgb(255 255 255 / 0.85);
    cursor: pointer;
  }

  .ch-tool__switch button[aria-selected="true"] { border-color: #fff; background: #fff; color: var(--navy); }

  .ch-tool__figs { order: 1; }
  .ch-tool__figs figure.is-off { display: none; }
  .ch-tool__figs figcaption { display: none; }

  .ch-tool__hint {
    order: 2;
    display: block;
    margin: 0.375rem 0 0;
    text-align: center;
    font-size: 0.8125rem;
    color: rgb(255 255 255 / 0.6);
  }

  .ch-tool__readouts {
    order: 3;
    grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
    margin: 0.75rem 0 1rem;
    border-top: 1px solid rgb(255 255 255 / 0.12);
    border-bottom: 0;
    padding: 0.75rem 0 0;
  }

  .ch-tool__controls { order: 4; display: flex; flex-direction: column; align-items: stretch; gap: 0.25rem; margin-bottom: 0; }
  .ch-tool__controls .controls__action { align-self: flex-start; }
  .ch-tool__more summary { margin-top: 0.25rem; }
  .ch-tool__controls .ch-presets { order: -2; flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 0.5rem; padding-inline: var(--gutter); scrollbar-width: none; }
  .ch-tool__controls .ch-presets button { flex-shrink: 0; }
  .ch-tool__controls .is-main { order: -1; }
  .ch-tool__controls [data-control="curves"] { order: 5; max-width: none; }
  .ch-tool__controls .controls__action { order: 6; }
  .ch-tool__link { order: 5; }
}

/* Handy: nur Bild, Wischen und Szenario-Knoepfe; der Rest hinter "More settings" (tool-touch.js) */
.ch-tool__phone-more { display: none; }

@media (max-width: 639.98px) {
  .ch-tool:not(.show-more) .ch-tool__controls > :not(.ch-presets):not(.is-main):not(.ch-tool__phone-more),
  .ch-tool:not(.show-more) .ch-tool__link { display: none; }
  .ch-tool.show-more .ch-tool__more summary { display: none; }
  .ch-tool.show-more .ch-tool__more-body { margin-top: 0; }

  .ch-tool__phone-more {
    order: 7;
    display: inline-block;
    align-self: flex-start;
    margin-top: 0.5rem;
    border: 1px solid rgb(255 255 255 / 0.3);
    border-radius: 9999px;
    background: transparent;
    padding: 0.3rem 0.85rem;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
  }

  .ch-tool__phone-more::before { content: '+ '; }
  .ch-tool__phone-more[aria-expanded="true"]::before { content: '− '; }
}
