/* Seite „Über mich“ – Eigentümer: Trupp Über mich.
   Charakter: ruhig, Stein und Museum. Oben Name und „Wer hier schreibt“, dann die Regeln als ruhige Zeilen-Tafel
   (Nummer · Regel · live nachgezählter Beleg, Block für Block · Prüfen), am Ende Epikur als beschriftetes Exponat
   (Sinnbild, kein Porträt) und ein Weg zu den Live-Calls. Kein Kachel-Raster, kein Faltenband (Motiv gehört der KI).
   Nur Tokens aus basis.css. */

/* ---------- Kopf: Name + Wer hier schreibt ---------- */
.ue-kopf { padding-top: clamp(2.5rem, 1.6rem + 3vw, 4.75rem); }
.ue-kopf-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 88px); align-items: end; }
.ue-lead { font-size: clamp(1.2rem, 1.02rem + .55vw, 1.5rem); line-height: 1.5; color: var(--text); max-width: 30ch; margin-top: 20px; }
.ue-wer { padding: 22px 24px 14px; border: 1px solid var(--linie-2); border-left: 2px solid var(--info); border-radius: 4px 14px 14px 4px; background: var(--nacht-2); }
.ue-wer-titel { font-size: 21px; font-weight: 600; }
.ue-wer .pflicht-satz { margin-top: 10px; line-height: 1.6; }
.ue-wer .textlink { margin-top: 8px; font-size: 17px; }

/* ---------- Regeln: Kopf mit Umschalter ---------- */
.ue-regeln { margin-top: clamp(3rem, 2rem + 3.6vw, 5.5rem); }
.ue-regeln-kopf { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; }
.ue-regeln-satz { font-size: 18px; color: var(--text-2); margin-top: 10px; max-width: 60ch; }
.ue-ansicht button { font-size: 16px; }

/* ---------- Regeln: Zeilen-Tafel (Nummer · Regel · Beleg · Prüfen) ---------- */
.ue-tafeln { margin-top: 26px; border-top: 1px solid var(--linie-2); }
.ue-tafel {
  position: relative; display: grid; grid-template-columns: 56px minmax(0, 5fr) minmax(0, 5fr) minmax(150px, auto);
  grid-template-areas: 'nr titel beleg pruefen' 'nr wort beleg pruefen'; grid-template-rows: auto 1fr; gap: 6px clamp(20px, 3vw, 44px);
  padding: 22px 0 20px; border-bottom: 1px solid var(--linie);
}
.ue-tafel:target { background: linear-gradient(90deg, rgb(236 232 224 / .04), transparent 70%); }
.ue-nr { grid-area: nr; font: 400 30px/1 var(--serif); font-variant-numeric: lining-nums; color: var(--text-3); letter-spacing: -.02em; }
.ue-tafel h3 { grid-area: titel; font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
.ue-dazu { display: block; margin-top: 4px; }
.ue-wort { grid-area: wort; }
.ue-wort > * + * { margin-top: 8px; }
.ue-wortlaut { font-size: 17px; line-height: 1.6; color: var(--text-2); }
.ue-tafeln.kurz .ue-wort { display: none; }

/* Beleg: was die Seite aus den Daten nachzählt */
.ue-beleg { grid-area: beleg; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.ue-beleg > * + * { margin-top: 8px; }
.ue-zahlen { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--text-2); }
.ue-zahlen b { font-size: 22px; font-weight: 500; color: var(--text); margin-right: 5px; }
.ue-mini { width: 100%; border-collapse: collapse; font-size: 16px; }
.ue-mini th, .ue-mini td { text-align: left; padding: 5px 10px 5px 0; border-bottom: 1px solid var(--linie); font-weight: 400; }
.ue-mini thead th { font: 600 14px/1.3 var(--sans); color: var(--text-3); }
.ue-mini td { color: var(--text); font-variant-numeric: tabular-nums; }
.ue-kenn { font-family: var(--mono); font-size: 15px; color: var(--text); letter-spacing: .02em; }
.ue-liste li { padding: 3px 0; }
.ue-liste .ue-kenn { margin-right: 4px; }
.ue-warn, .ue-warn td, .ue-warn b { color: var(--warn); }

.ue-pruefen {
  grid-area: pruefen; display: inline-flex; align-items: center; gap: 6px; align-self: start; justify-self: end; min-height: 44px; margin-top: -10px;
  font-size: 16px; font-weight: 600; color: var(--text); text-decoration: none; border-bottom: 1px solid transparent;
}
.ue-pruefen-wo { font-weight: 400; color: var(--text-2); }
.ue-pruefen:hover { border-bottom-color: var(--linie-3); }

/* Blöcke: je gezähltem Eintrag ein Block – voll, leer (ausgeblendet/noch kein Einstieg), korrigiert, Abweichung */
.ue-bloecke { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-height: 12px; }
.ue-bloecke i { width: 11px; height: 11px; border-radius: 2px; background: var(--text-2); }
.ue-bloecke i.leer { background: transparent; box-shadow: inset 0 0 0 1.5px var(--text-3); }
.ue-bloecke i.korr { background: var(--info); }
.ue-bloecke i.warn { background: var(--warn); }
.ue-bloecke em { font: 500 14px/1 var(--sans); font-style: normal; color: var(--text-3); margin-left: 4px; }
/* Bühnenmoment: Block für Block – beim Erscheinen rasten die Blöcke einzeln ein */
html.js.bewegt .ue-tafel .ue-bloecke i { opacity: 0; transform: translateY(-10px); }
html.js.bewegt .ue-tafel.sichtbar .ue-bloecke i {
  opacity: 1; transform: none;
  transition: opacity .35s var(--ease), transform .5s cubic-bezier(.3, 1.5, .5, 1);
  transition-delay: calc(var(--i, 0) * 55ms + 250ms);
}
html.js.bewegt .ue-tafel .ue-beleg { opacity: .35; transition: opacity .8s var(--ease) .5s; }
html.js.bewegt .ue-tafel.sichtbar .ue-beleg { opacity: 1; }

/* ---------- Schluss: Exponat + Weg zu den Live-Calls ---------- */
.ue-schluss { margin-top: clamp(4rem, 2.6rem + 5vw, 8rem); }
.ue-schluss-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.ue-exponat { margin: 0; max-width: 420px; justify-self: center; width: 100%; }
.ue-exponat-bild { border-radius: 0; aspect-ratio: 1100 / 1466;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%, #000 88%, transparent 100%);
  mask-composite: intersect; }
.ue-exponat-bild img { filter: saturate(.9) contrast(1.14) brightness(.9); }
/* Licht an: das Exponat tritt langsam aus dem Dunkel (ohne Bewegung: sofort hell) */
html.js.bewegt .ue-exponat .ue-exponat-bild img { filter: saturate(.5) brightness(.18); transition: filter 2.8s var(--ease) .15s; }
html.js.bewegt .ue-exponat.sichtbar .ue-exponat-bild img { filter: saturate(.9) contrast(1.14) brightness(.9); }
.ue-schild { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--linie-3); font-size: 15px; line-height: 1.55; color: var(--text-2); }
.ue-schild strong { display: block; color: var(--text); font-weight: 600; }

.ue-schluss-text .kraft { margin-top: 0; max-width: 14ch; }
.ue-schluss-text .fliess { margin-top: 16px; font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--text-2); max-width: 34ch; }
.ue-live { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 17px; color: var(--text); }
.ue-live[hidden] { display: none; }
.ue-punkt-still { width: 8px; height: 8px; border-radius: 1px; background: var(--text-3); }
.ue-wege { margin-top: 18px; }
.ue-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; }
.ue-links[hidden] { display: none; }

/* ---------- Breiten ---------- */
@media (max-width: 1080px) {
  .ue-tafel { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'nr titel beleg' 'nr wort beleg' 'nr pruefen beleg'; grid-template-rows: auto auto 1fr; }
  .ue-pruefen { justify-self: start; margin-top: 0; }
}
@media (max-width: 860px) {
  .ue-kopf-raster, .ue-schluss-raster { grid-template-columns: 1fr; }
  .ue-tafel { grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: 'nr titel' '. wort' '. beleg' '. pruefen'; gap: 8px 12px; padding: 18px 0 12px; grid-template-rows: auto; }
  .ue-exponat { max-width: 320px; }
  .ue-schluss-text { text-align: left; }
}
@media (max-width: 640px) {
  .ue-nr { font-size: 26px; }
  .ue-tafel h3 { font-size: 19.5px; }
  .ue-wer { padding: 18px 18px 10px; }
  .ue-regeln-kopf { align-items: start; }
}
.ue-zahlen .begriff-erkl { flex-basis: 100%; }   /* Erklärung „Gegenposition“ unter der Zeile, nicht daneben */
