/* ═══════════════════════════════════════════════════════════════════════
   jdmn-artist-card.css — DIE Künstler-Card. Eine Quelle für Shop und Studio.
   ═══════════════════════════════════════════════════════════════════════

   T520.3, 17.08.2026. Am 16.08. (T521.6) lagen diese Regeln vorbeugend in
   `jdmn-card.css`, damit im Dashboard keine zweite Fassung entsteht. Genau
   das ist jetzt eingetreten und der Grund für diese Datei:

   Der `ImageUploader` im Dashboard baute die Card mit eigenen Klassen nach
   (`.preview-card-*`). Gemessen wichen alle drei gemeinsamen Textregeln ab —
   der Name stand in **Georgia statt Cormorant Garamond**, die Zeile darunter
   in 10 px ohne Versalien statt 8,5 px mit, der Kicker in 9 px/0.14em statt
   8 px/.2em. Der Künstler beurteilte sein Porträt also an einer Card, die es
   so nicht gibt.

   WARUM EIGENE DATEI und nicht einfach `jdmn-card.css` im Dashboard laden:
   dort ist `card` ein hausgemachter Klassenname und steckt an **75** Stellen
   im Markup. Die gemeinsame Werk-Card-Datei würde diese 75 Elemente
   umstylen. Die Künstler-Card hat dieses Problem nicht — `artist-card`
   kommt im Dashboard nirgends vor.

   Wer sie braucht:
     · `frontend/index.html`     (die einzige öffentliche Seite mit der Card)
     · Künstler-Dashboard        (Profil, bearbeitbar)

   Die Regeln selbst sind unverändert aus `jdmn-card.css` übernommen.
   Rail-Layout und Hell-Theme bleiben bewusst in `index.html`: das eine ist
   Anordnung, das andere eine Startseiten-Eigenheit.
   ═══════════════════════════════════════════════════════════════════════ */

.artist-card { border-radius: 12px; overflow: hidden; background: var(--card-surface, #0d0d0d); border: 1px solid var(--card-border, rgba(255,255,255,0.09)); box-shadow: var(--card-shadow, 0 4px 20px rgba(0,0,0,0.5)); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; display: block; text-decoration: none; color: inherit; position: relative; }
.artist-card:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover, 0 8px 28px rgba(0,0,0,0.4)); }
.artist-card-art { aspect-ratio: 2 / 3; display: flex; flex-direction: row; overflow: hidden; position: relative; }
.artist-card-left { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px 10px 14px 14px; background: var(--card-panel, linear-gradient(135deg, #0d0d0d 0%, #161410 100%)); position: relative; z-index: 1; min-width: 0; }
.artist-card-left::after { content: ''; position: absolute; top: 12%; right: 0; bottom: 12%; width: 0.5px; background: linear-gradient(to bottom, transparent, rgba(200,169,110,0.25), transparent); }
.artist-card-right { width: 44%; flex-shrink: 0; background-size: cover; background-position: center top; position: relative; transition: transform .4s ease; }
.artist-card:hover .artist-card-right { transform: scale(1.04); }
.artist-card-right::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(13,13,13,0.3) 0%, transparent 50%); z-index: 1; }
.artist-card-eyebrow { font-size: 8px; letter-spacing: .2em; text-transform: uppercase; color: var(--artist-card-color, #c8a96e); opacity: 0.75; margin-bottom: 8px; }
/* ── Eine Zeile, die der Umzug ins Dashboard nötig gemacht hat ─────────
   Der Name stand hier als `font-family: 'Cormorant Garamond', …`, also die
   Schrift beim Namen gerufen. Im Shop geht das (brand-fonts.css lädt sie
   genau so). Im Studio NICHT: dort kommt sie über `next/font` und ist nur
   als Variable `--font-display` ansprechbar, unter ihrem echten Namen gar
   nicht. Die Card wäre dort also auf Georgia zurückgefallen — genau der
   Fehler, den dieser Umzug behebt.
   Darum jetzt `var(--jdmn-card-serif, …)`: der Shop braucht nichts zu tun
   und fällt auf den Namen zurück, das Studio setzt die Variable einmal auf
   seine `--font-display`.
   ─────────────────────────────────────────────────────────────────────── */
.artist-card-name { font-family: var(--jdmn-card-serif, 'Cormorant Garamond', Georgia, 'Times New Roman', serif); font-size: 16px; line-height: 1.2; color: rgba(255,255,255,0.92); margin-bottom: 5px; word-break: break-word; }
.artist-card-name-last { display: block; }
.artist-card-tagline { font-size: 8.5px; letter-spacing: .09em; color: rgba(255,255,255,0.32); text-transform: uppercase; line-height: 1.4; }
.artist-card-bio { margin-top: 10px; font-size: 10.5px; line-height: 1.6; color: rgba(255,255,255,0.5); font-style: italic; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.artist-card-genres { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(200,169,110,0.12); display: flex; flex-wrap: wrap; gap: 4px; }
.artist-card-genre { font-size: 7.5px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 7px 3px; border-radius: 999px; background: rgba(200,169,110,0.06); border: 1px solid rgba(200,169,110,0.20); color: rgba(255,255,255,0.62); white-space: nowrap; line-height: 1; }
.artist-card-foot { padding: 9px 12px 11px; display: flex; flex-direction: column; align-items: stretch; gap: 7px; }
.artist-card-foot-main { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.artist-card-meta { font-size: 10px; color: rgba(255,255,255,0.35); display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.artist-card-also { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; letter-spacing: .04em; line-height: 1; padding: 3px 7px; border-radius: 999px; cursor: pointer; align-self: flex-start; /* eigene Zeile unter der Meta-Zeile, linksbündig, nicht gestreckt */ color: var(--artist-card-color, #c8a96e); /* Fallback ohne color-mix-Support (iOS<16.2): Default-Gold mit Alpha */ border: 1px solid rgba(200,169,110,0.55); border: 1px solid color-mix(in srgb, var(--artist-card-color, #c8a96e) 55%, transparent); background: rgba(200,169,110,0.12); background: color-mix(in srgb, var(--artist-card-color, #c8a96e) 12%, transparent); text-transform: uppercase; white-space: nowrap; transition: background .15s ease, border-color .15s ease; }
.artist-card-also:hover { background: rgba(200,169,110,0.22); /* Fallback ohne color-mix-Support */ background: color-mix(in srgb, var(--artist-card-color, #c8a96e) 22%, transparent); border-color: var(--artist-card-color, #c8a96e); }
.artist-card-also svg { flex: 0 0 auto; }
.artist-card-cta { font-size: 9px; letter-spacing: .08em; color: var(--artist-card-color, #c8a96e); text-transform: uppercase; }

/* Ohne aspect-ratio-Unterstuetzung (iOS<15, Chrome<88): Hoehe per Pixel,
   sonst faellt die Bildflaeche auf 0 zusammen. */
@supports not (aspect-ratio: 1 / 1) {
  .artist-card-art { height: 300px; }
}
