/* sicht-strategie: Stile der Startansicht von Strategie (schirm-5.png) und
   ihrer Unterseiten. Nur dunkle Flächen über die Tokens aus stil.css, keine
   Farbe außer in den Titelbildern. */

.st-seite {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 16px;
}

.st-abschnitt { margin: 0; }

.st-titel {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--grau);
}

.st-titel-abstand { margin-top: 28px; }

/* Säulen: eine Spalte je Säule, oben Prozent und Balken auf einer festen
   Höhe (der Balken sitzt unten), darunter Aufrufe und Name. */
.st-saeulen {
  display: grid;
  grid-template-columns: repeat(var(--spalten, 4), minmax(0, 1fr));
  column-gap: 8px;
  align-items: start;
}

.st-saeule { min-width: 0; display: flex; flex-direction: column; }

.st-saeule-oben {
  height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.st-saeule-prozent {
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.st-saeule-balken {
  flex: 0 0 auto;
  border-radius: var(--r-mittel) var(--r-mittel) 0 0;
  background: var(--flaeche-2);
}

.st-saeule-stark { background: var(--hell); }

.st-saeule-zahl {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.st-saeule-name {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--grau);
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: anywhere;
}

/* Beste und schwächste: zwei Titelbilder nebeneinander. */
.st-covers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.st-covers-eins { grid-template-columns: 1fr; }

.st-cover {
  display: block;
  width: 100%;
  aspect-ratio: 174 / 132;
  padding: 0;
  border: 0;
  border-radius: var(--r-mittel);
  color: #ffffff;
  text-align: left;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

.st-covers-eins .st-cover { aspect-ratio: 16 / 9; }
.st-cover:disabled { cursor: default; opacity: 1; }

.st-cover-hook {
  position: absolute;
  top: 12px;
  left: 14px;
  right: 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.st-cover-hook[hidden] { display: none; }

.st-cover-text {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
}

.st-cover-zahl {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.st-cover-wort { font-size: 16px; font-weight: 700; line-height: 1.2; }

/* Dunkler Block mit Zeilen, feine Linie dazwischen. */
.st-karte {
  background: var(--flaeche);
  border-radius: var(--r-gross);
  overflow: hidden;
}

.st-zeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 12px 16px;
  border: 0;
  border-top: 0.5px solid var(--linie);
  background: transparent;
  color: var(--schrift);
  font: inherit;
  font-size: 17px;
  line-height: 1.3;
  text-align: left;
}

.st-zeile:first-child { border-top: 0; }
button.st-zeile { cursor: pointer; touch-action: manipulation; }

.st-zeile-text { min-width: 0; flex: 1 1 auto; }
.st-zeile-haupt { display: block; overflow-wrap: anywhere; }
.st-zeile-unter { display: block; margin-top: 2px; font-size: 14px; color: var(--grau); overflow-wrap: anywhere; }
.st-zeile-wert { flex: 0 0 auto; color: var(--grau); }
.st-zeile-wert-stark { color: var(--schrift); font-weight: 600; }
.st-zeile > svg { flex: 0 0 auto; color: var(--grau); margin-left: -4px; }

/* Platzhalter in der Form der Startansicht. */
.st-skelett-balken { margin: 0; border-radius: var(--r-mittel) var(--r-mittel) 0 0; }
.st-skelett-titel { height: 20px; margin: 0 0 12px; }
.st-skelett-cover { height: 132px; margin: 0; border-radius: var(--r-mittel); }
.st-skelett-karte { height: 168px; margin: 0; border-radius: var(--r-gross); }

.st-cover-bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* Lesbar auch auf hellen Titelbildern: der Verlauf liegt nur über dem Bild. */
.st-cover.cover-bild::after {
  background: linear-gradient(rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, 0.92) 72%);
}

.st-csv { margin: 0 0 16px; }
.st-preise { padding: 4px 16px 8px; }
.st-preise .preis-tabelle { margin-top: 0; }

/* Der Schalter für den täglichen Nachschub: Rückfrage und Knöpfe untereinander, jeder voll breit. */
.st-taeglich .knopfreihe { flex-direction: column; }
.st-taeglich .knopfreihe .knopf { flex: 0 0 auto; width: 100%; }
