/* ============================================================
   BEWERTUNGEN – derselbe Block wie auf der Startseite
   ============================================================
   Auf der Startseite liegen diese Regeln in mix.css. Ueberall
   sonst kommen sie von hier.

   Die Datei steht bewusst auf eigenen Fuessen: sie bringt alles
   mit, was der Block braucht – Rahmen, Ueberschrift, Karten.
   Nur so laesst er sich auch unter eine Seite setzen, die sonst
   unveraendert im bisherigen Layout bleibt (Team-Seite).
   ============================================================ */

/* --- Eigene Werte, auf den Block begrenzt ---------------------
   Die Regeln unten greifen auf Farb- und Groessennamen zu, die sonst
   aus neu.css kommen. Auf der bestehenden Website gibt es die nicht –
   dort stand der Block deshalb voellig unformatiert da.
   Die Werte hier sind mit neu.css identisch und haengen bewusst an
   .stimmen-dunkel statt an :root: so ist der Block ueberall versorgt,
   ohne dem Rest der Seite dazwischenzufunken. */
.stimmen-dunkel {
  --tinte:        #0d0d0d;
  --tinte-70:     #45454a;
  --tinte-45:     #74747c;
  --papier:       #ffffff;
  --papier-warm:  #f6f6f2;
  --linie:        #e3e3dc;
  --signal:       #20f600;
  --signal-tief:  #118200;
  --stern:        #f5a623;

  --r1: .25rem;  --r3: .75rem;  --r4: 1rem;  --r5: 1.5rem;  --r6: 2rem;

  --display:  'Barlow Condensed', 'DM Sans', system-ui, sans-serif;
  --t-mikro: .72rem;
  --t-klein: .875rem;
  --t-basis: 1rem;
  --t-lead:  clamp(1rem, 1.5vw, 1.28rem);
  --t-h2:    clamp(1.6rem, 6.2vw, 4.4rem);
  --t-h3:    clamp(1.15rem, 2.2vw, 1.6rem);
  --radius:  14px;
  --bahn:    1180px;
  --kurve:   cubic-bezier(.22, .61, .36, 1);

  /* Die bestehende Seite setzt eine eigene Grundschrift; im Block
     soll dieselbe Fliesstextschrift wie ringsum gelten. */
  font-size: 1rem;
  line-height: 1.65;
}

.stimmen-dunkel.tafel { padding: clamp(3.5rem, 8vw, 7rem) 0; }

.stimmen-dunkel .bahn { max-width: var(--bahn, 1180px); margin: 0 auto; padding: 0 var(--r5); }

.stimmen-dunkel .kopf { max-width: 620px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }


.stimmen-dunkel .marke {
  display: flex; align-items: center; gap: var(--r3);
  font-size: var(--t-mikro); font-weight: 620;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--tinte-45); margin-bottom: var(--r4);
}

.stimmen-dunkel .marke::after {
  content: ''; flex: 1; max-width: 90px; height: 2px;
  background: repeating-linear-gradient(to right, var(--linie) 0 8px, transparent 8px 16px);
}

.stimmen-dunkel .titel {
  font-family: var(--display); font-weight: 900;
  font-size: var(--t-h2); line-height: .98;
  letter-spacing: -.035em; text-wrap: balance;
  color: var(--tinte); margin: 0;
}

.stimmen-dunkel .titel em { font-style: normal; color: var(--signal-tief); }

.stimmen-dunkel .vorspann {
  margin-top: var(--r4); font-size: var(--t-lead); font-weight: 400;
  color: var(--tinte-70); line-height: 1.7; text-wrap: pretty;
}


.stimmen-dunkel .sterne { display: inline-flex; gap: .1em; color: var(--stern); line-height: 1; }

.stimmen-dunkel .sterne .ic { width: 1em; height: 1em; vertical-align: 0; }


.stimmen-dunkel .stimme {
  position: relative; overflow: hidden;
  border: 1px solid var(--linie); border-radius: var(--radius);
  padding: var(--r5); background: var(--papier);
  display: flex; flex-direction: column; gap: var(--r3);
  transition-timing-function: var(--kurve);
}

/* Das Anfuehrungszeichen haengt im Rand, das Zitat beginnt buendig. */
.stimmen-dunkel .stimme__text {
  position: relative; flex: 1; line-height: 1.7;
  color: var(--tinte); text-indent: -.42em; font-weight: 430;
}

.stimmen-dunkel .stimme__wer {
  font-size: var(--t-klein); font-weight: 640; color: var(--tinte-45);
  padding-top: var(--r3); border-top: 1px solid var(--linie);
}

.stimmen-dunkel .stimme::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%; border-radius: 3px 0 0 3px;
  background: linear-gradient(to bottom, var(--signal), transparent 70%);
  opacity: 0; transition: opacity .3s ease;
}

.stimmen-dunkel .stimme:hover::before { opacity: .55; }


.stimmen-dunkel .auftritt {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--kurve), transform .7s var(--kurve);
}

.stimmen-dunkel .auftritt--da { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .stimmen-dunkel .auftritt { opacity: 1; transform: none; transition: none; }

}



/* Wischbahn statt Raster – zehn Stimmen passen in kein Raster,
   und Wischen kennt jeder vom Handy. */
.stimmen-dunkel .stimmen {
  display: flex; gap: var(--r4);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: var(--r1) var(--r1) var(--r5);
  scrollbar-width: none;
}

.stimmen-dunkel .stimmen::-webkit-scrollbar { display: none; }

.stimmen-dunkel .stimme {
  flex: 0 0 clamp(268px, 31%, 360px);
  scroll-snap-align: start;
}

@media (max-width: 640px) { .stimmen-dunkel .stimme { flex-basis: 84%; }
 }


.stimmen-dunkel .stimmen-steuerung {
  display: flex; align-items: center; gap: var(--r4);
  max-width: 620px; margin: 0 auto;
}

.stimmen-dunkel .stimmen-balken {
  position: relative; flex: 1; height: 3px;
  background: var(--linie); border-radius: 999px; overflow: hidden;
}

.stimmen-dunkel .stimmen-balken i {
  position: absolute; top: 0; bottom: 0; left: 0; width: 33%;
  background: var(--signal); border-radius: 999px;
  transition: left .25s var(--kurve), width .25s var(--kurve);
}

.stimmen-dunkel .stimmen-pfeil {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  border: 1px solid var(--linie); background: var(--papier); color: var(--tinte);
  display: grid; place-items: center; cursor: pointer;
  transition: background-color .2s var(--kurve), color .2s var(--kurve), border-color .2s var(--kurve);
}

.stimmen-dunkel .stimmen-pfeil:hover:not(:disabled) { background: var(--tinte); color: var(--papier); border-color: var(--tinte); }

.stimmen-dunkel .stimmen-pfeil:disabled { opacity: .32; cursor: default; }

.stimmen-dunkel .stimmen-pfeile { display: flex; gap: .5rem; }

@media (max-width: 560px) { .stimmen-dunkel .stimmen-pfeile { display: none; }
 }


/* Bewertungen bleiben hell – ein dunkler Block wirkt an dieser
   Stelle schwer und unfreundlich. */
.stimmen-dunkel { background: var(--papier-warm); }


/* Zweispaltiger Rahmen: links Kapitel und Kennzahl, rechts die
   Stimmen. Unter 940 px stapelt sich beides. */
.stimmen-dunkel .split { display: grid; gap: var(--r6); align-items: start; }

@media (min-width: 940px) {
  .stimmen-dunkel .split { grid-template-columns: minmax(280px, 34%) 1fr; gap: clamp(3rem, 6vw, 6rem); }

  .stimmen-dunkel .split__kopf { position: sticky; top: 96px; }

}

.stimmen-dunkel .split__kopf .kopf { margin-bottom: var(--r5); max-width: none; }


.stimmen-dunkel .kennzahl {
  display: flex; align-items: baseline; gap: var(--r3);
  margin-bottom: var(--r4);
}

.stimmen-dunkel .kennzahl__wert {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(2.8rem, 9vw, 6rem); line-height: .82;
  letter-spacing: -.05em; color: var(--tinte);
  font-variant-numeric: tabular-nums;
}

.stimmen-dunkel .kennzahl__wert span { color: var(--signal-tief); }

.stimmen-dunkel .kennzahl__dazu { font-size: var(--t-klein); color: var(--tinte-45); font-weight: 620; line-height: 1.4; }

.stimmen-dunkel .kennzahl__dazu b { display: block; color: var(--tinte); font-size: var(--t-basis); }

