/* Designs Hell und Pro (Dunkel = Grundwerte in app.css). Wird als letzte Datei geladen. */

/* ---------- Hell: warmes Sand-Weiß passend zu den hellen Fotos ---------- */
:root[data-theme='light'] {
  --bg: #f4f2ee; --bg-2: #ebe7e0;
  --surface: rgba(255, 255, 255, .78); --surface-2: #ffffff; --surface-solid: #fbfaf7; --elev: #ffffff;
  --line: rgba(60, 48, 30, .1); --line-2: rgba(60, 48, 30, .18);
  --text: #1c1915; --text-2: #4a443b; --muted: #7c7468; --faint: #b5ada0;
  --shadow: 0 1px 2px rgba(60, 45, 20, .05), 0 18px 40px -26px rgba(60, 45, 20, .3);
}
:root[data-theme='light'] body::before { background: radial-gradient(900px 500px at 85% -10%, rgba(255, 196, 140, .18), transparent 60%), radial-gradient(700px 500px at 10% 110%, rgba(150, 190, 160, .12), transparent 60%); }
/* Fotos laufen in die helle Fläche aus statt in Schwarz */
:root[data-theme='light'] .bh-t::after { background: linear-gradient(180deg, transparent 35%, rgba(251, 250, 247, .9) 100%); }
:root[data-theme='light'] .bh-ph { opacity: .55; }
:root[data-theme='light'] .lx-ph, :root[data-theme='light'] .nu-shot { background: #ebe7e0; }

/* ---------- Pro: Schwarz und Gold ---------- */
:root[data-theme='pro'] {
  --bg: #070605; --bg-2: #0d0b09;
  --surface: rgba(255, 236, 200, .035); --surface-2: rgba(255, 236, 200, .06); --surface-solid: #110e0b; --elev: #16120e;
  --line: rgba(226, 194, 122, .13); --line-2: rgba(226, 194, 122, .24);
  --text: #f6efe3; --text-2: #cdbfa6; --muted: #9a8b72; --faint: #5f5444;
  --primary: #c9a45c; --primary-2: #e2c27a;
  --grad: linear-gradient(135deg, #8a6a2e 0%, #c9a45c 50%, #e2c27a 100%);
  --grad-soft: linear-gradient(135deg, rgba(201, 164, 92, .22), rgba(226, 194, 122, .1));
  --dawn: #e2c27a; --dawn-2: #f3dca0;
  --on-primary: #1a1206;
  --glow: 0 10px 40px -12px rgba(201, 164, 92, .55);
  --shadow: 0 1px 0 rgba(255, 236, 200, .04) inset, 0 20px 50px -24px rgba(0, 0, 0, .85);
  color-scheme: dark;
}
:root[data-theme='pro'] body::before { background: radial-gradient(900px 520px at 85% -10%, rgba(201, 164, 92, .14), transparent 60%), radial-gradient(700px 500px at 10% 110%, rgba(140, 100, 40, .08), transparent 60%); }
:root[data-theme='pro'] .grad-text { background: linear-gradient(90deg, #f3dca0, #c9a45c); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme='pro'] .btn.primary, :root[data-theme='pro'] .btn.dawn { background: linear-gradient(135deg, #e2c27a, #b88c3e); color: #1a1206; border-color: transparent; }
:root[data-theme='pro'] .bh-t::after { background: linear-gradient(180deg, transparent 35%, rgba(17, 14, 11, .92) 100%); }

/* ---------- Auswahl im Profil ---------- */
.theme-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.theme-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.theme-opt i { width: 100%; height: 46px; border-radius: 10px; margin-bottom: 6px; border: 1px solid rgba(128, 128, 128, .2); }
.theme-opt.t-light i { background: linear-gradient(135deg, #fbfaf7, #ebe2d2); }
.theme-opt.t-dark i { background: linear-gradient(135deg, #0d1428, #1b2450); }
.theme-opt.t-pro i { background: linear-gradient(135deg, #070605 40%, #c9a45c); }
.theme-opt.t-auto i { background: linear-gradient(90deg, #f1ebdf 0 33%, #121a33 33% 66%, #0a0806 66%), #000; box-shadow: inset -30px 0 30px -18px rgba(201, 164, 92, .6); }
.theme-opt b { font-size: 14px; } .theme-opt small { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.theme-opt.on { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
@media (max-width: 560px) { .theme-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Hell: Kopfbilder mit heller Fläche statt dunklem Schleier, Schrift dunkel; Bild läuft in den Seitenhintergrund aus */
:root[data-theme='light'] .tr-hero::before, :root[data-theme='light'] .tr-phero::before, :root[data-theme='light'] .tr-exhero::before, :root[data-theme='light'] .nu-hero2::before { background: linear-gradient(180deg, rgba(244, 242, 238, .55), transparent); }
:root[data-theme='light'] .tr-hero::after, :root[data-theme='light'] .tr-phero::after, :root[data-theme='light'] .tr-exhero::after, :root[data-theme='light'] .nu-hero2::after { -webkit-mask-image: none; mask-image: none; background: linear-gradient(90deg, rgba(244, 242, 238, .94) 0%, rgba(244, 242, 238, .72) 42%, rgba(244, 242, 238, 0) 72%), linear-gradient(0deg, #f4f2ee 0%, rgba(244, 242, 238, 0) 38%); }
:root[data-theme='light'] :is(.tr-hero, .tr-phero, .tr-exhero, .nu-hero2) :is(h1, h2, h3, b, strong, p, span, small, em, div, a:not(.btn)) { color: var(--text); text-shadow: none; }
:root[data-theme='light'] :is(.tr-hero, .tr-phero, .tr-exhero, .nu-hero2) :is(small, em, p) { color: var(--text-2); }
:root[data-theme='light'] .pv-trend.up { background: rgba(40, 150, 100, .14); color: #1f7a52; } :root[data-theme='light'] .pv-trend span { color: var(--text-2); }
:root[data-theme='light'] .btn.ghost { color: var(--text); }

/* ---------- Mehr ---------- */
.mo-h b { display: block; font-size: 17px; } .mo-h small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.mo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
@media (min-width: 760px) { .mo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mo-t { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); isolation: isolate; }
.mo-t img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s var(--ease-out); }
.mo-t::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(6, 8, 14, .78)); }
.mo-t span { position: absolute; left: 14px; right: 12px; bottom: 12px; color: #fff; }
.mo-t b { display: block; font-size: 15.5px; } .mo-t small { display: block; font-size: 12px; opacity: .82; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mo-t:hover img { transform: scale(1.04); }
:root[data-theme='light'] .mo-t::after { background: linear-gradient(180deg, transparent 38%, rgba(40, 30, 18, .62)); }
:root[data-theme='pro'] .mo-t::after { background: linear-gradient(180deg, transparent 35%, rgba(7, 6, 5, .85)); }
.mo-list { margin-top: 12px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.mo-l { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-top: 1px solid var(--line); }
.mo-l:first-child { border-top: 0; }
.mo-l b { display: block; font-size: 15px; } .mo-l small { display: block; font-size: 12.5px; color: var(--muted); }
.mo-l > svg { width: 18px; height: 18px; color: var(--muted); }
.mo-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--primary); flex: none; }
.mo-ic svg { width: 19px; height: 19px; }

/* Menüleiste beim Tippen ausblenden (iPhone-Tastatur) */
@media (max-width: 860px) { body[data-kb] .tabbar { display: none !important; } }
/* 18.11.: Auswahllisten überall lesbar – die aufgeklappte Liste bekommt feste Farben des jeweiligen Designs (vorher weiße Liste mit heller Schrift im dunklen Design) */
select option, select optgroup { background-color: var(--surface-solid, #fff); color: var(--text, #111); }
select { background-color: var(--surface-solid); }
/* 18.11. Kundentest (audit, 260 Seiten x 7 Designs): Schrift, die nicht lesbar war. Nur Schriftfarben, keine Größen oder Abstände. */
/* Helle Designs (Standard Hell, Frauen Creme/Perle/Rose): Akzentfarben fürs dunkle Design werden für Schrift abgedunkelt */
:root[data-theme='light'] :is(.sh-tip span, .sh-sey, .sh-last, .sh-bstat span, .mi-example span, .mi-today-h span, .mi-cont small, .mi-log span, .xp-next span, .vw-t em, .xp-wide-go, .xp-prog-t span) { color: color-mix(in srgb, var(--c) 52%, var(--text)); }
:root[data-theme='light'] :is(.kx-hero-c .mi-ey, .xp-ey) { color: color-mix(in srgb, var(--c) 52%, var(--text)) !important; }
:root[data-theme='light'] .tr-more { color: color-mix(in srgb, var(--ember-2) 50%, var(--text)); }
:root[data-theme='light'] .tr-best4 b { color: color-mix(in srgb, #ffd27a 40%, var(--text)); }
:root[data-theme='light'] .sh-tel a.sos b { color: #c8364a; }
:root[data-theme='light'] .pt-s.wait { color: color-mix(in srgb, var(--warn) 50%, var(--text)); }
:root[data-theme='light'] :is(.rm-line li.due span, .sp-more) { color: color-mix(in srgb, var(--pf, var(--gold)) 50%, var(--text)); }
:root[data-theme='light'] .nx-form output { color: color-mix(in srgb, var(--warm) 45%, var(--text)); }
/* Nur Standard Hell */
:root[data-theme='light']:not([data-bereich]) :is(.pill.ok, .pt-s.ok) { color: #138a5a; }
:root[data-theme='light']:not([data-bereich]) .r2-ey { color: #1f7a6c; }
:root[data-theme='light']:not([data-bereich]) :is(.eyebrow.d, .ms-how span) { color: color-mix(in srgb, var(--dawn) 60%, var(--text)); }
:root[data-theme='light']:not([data-bereich]) .nu-page .eyebrow.c { color: color-mix(in srgb, var(--nu) 50%, var(--text)); }
:root[data-theme='light']:not([data-bereich]) .nx-acc-b > small { color: #5b4bc4; }
:root[data-theme='light']:not([data-bereich]) .pt-code small { color: var(--primary); }
/* Frauen (alle Designs): auf farbigen Knöpfen dunkle Schrift wie im Original statt Schrift in Knopffarbe */
:root[data-bereich='frauen'] :is(.sh-go, .home-dashboard .ht-badge.hot) { color: hsla(var(--a1-h), calc(55% * var(--fs)), 13%, 1); }
:root[data-bereich='frauen'] .sl-pick button.on { color: hsla(var(--a2-h), calc(55% * var(--fs)), 14%, 1); }
:root[data-bereich='frauen'] .sl-night.wach .sl-pick button.on { color: hsla(var(--a1-h), calc(55% * var(--fs)), 14%, 1); }
:root[data-bereich='frauen'] .jc:not(.done):not(.day) .jc-cta { color: hsla(var(--a1-h), calc(55% * var(--fs)), 15%, 1); }
:root[data-bereich='frauen'] :is(.jc.evening, .jc.night):not(.done):not(.day) .jc-cta { color: hsla(var(--a2-h), calc(55% * var(--fs)), 15%, 1); }
:root[data-bereich='frauen'][data-look='abend'] .pose-index { color: #6b4a1c !important; }
/* Pro und Frauen Nacht: gewählter Knopf in der Verdauungs-Auswertung mit Schrift passend zur Knopffarbe */
:root:is([data-theme='pro'], [data-look='abend']) :is(.vd-seg button.on, .vd-chips button.on, .vd-scale button.on, .vd-toggle.on) { color: var(--on-primary); }
/* Verdauungsbericht (weißes Papier): leere Tage dunkler grau */
table.vd-rep-t tr.empty td, table.vd-rep-t .muted { color: #6e6e78; }
:root[data-theme='light'] .tr-best { color: color-mix(in srgb, #ffd27a 40%, var(--text)); }
:root[data-theme='light']:not([data-bereich]) .nx-ex em { color: #5b4bc4; }
:root[data-theme='light']:not([data-bereich]) .pill.d { color: color-mix(in srgb, var(--dawn) 60%, var(--text)); }
:root[data-theme='light']:not([data-bereich]) .pt-split-v b { color: color-mix(in srgb, #c9a24a 50%, var(--text)); }
:root[data-bereich='frauen'] .calm-primary { color: hsla(var(--a4-h), calc(55% * var(--fs)), 16%, 1) !important; }
:root[data-bereich='frauen'][data-theme='light'] .ground-session .listen-button { color: hsla(var(--a4-h), calc(55% * var(--fs)), 16%, 1) !important; }
/* 19.11.: Frauen hell (Creme/Perle/Rosé): farbige Beschriftungen kräftiger, gleicher Farbton, gut lesbar */
:root[data-bereich='frauen'][data-theme='light'] :is(.pill.ok, .pt-s.ok) { color: color-mix(in srgb, var(--a3) 55%, var(--text)); }
:root[data-bereich='frauen'][data-theme='light'] :is(.r2-ey, .hv5-date, .ritual-heading .eyebrow, .ritual-voice .btn, .mi-ey) { color: color-mix(in srgb, var(--a4) 60%, var(--text)) !important; }
:root[data-bereich='frauen'][data-theme='light'] :is(.ms-how span, .pill.d) { color: color-mix(in srgb, var(--a1) 62%, var(--text)); }
:root[data-bereich='frauen'][data-theme='light'] .pose-index { color: color-mix(in srgb, var(--a4) 60%, var(--text)) !important; }
.ls-page .ls-foto img { object-position: 50% 17%; }
:root[data-bereich='frauen'][data-theme='light'] :is(.ritual-sources a, .routine-step-top > span, .ritual-card-copy small, .listen-button, .listen-button span, .focus-game-top b) { color: color-mix(in srgb, var(--a4) 60%, var(--text)) !important; }
:root[data-theme='light'] .vd-bristol button.ok em { color: color-mix(in srgb, #1fa870 70%, var(--text)); }
:root[data-bereich='frauen'][data-theme='light'] .ground-session .listen-button, :root[data-bereich='frauen'][data-theme='light'] .ground-session .listen-button span { color: hsla(var(--a4-h), calc(55% * var(--fs)), 16%, 1) !important; }

/* 19.11.: Startseite NUR im Browser (Homebildschirm-App unverändert). Layout und Optik wie in der App, nur:
   1) der Hinweis-Kasten oben bekommt eine eigene Rasterzeile (vorher verschob er das Raster, große Kacheln am PC fast unsichtbar)
   2) Bildausschnitt so, dass Gesichter/Motive auch in flacheren Kacheln sichtbar bleiben */
@media (display-mode: browser) {
  @media (max-width: 760px) { .home-dashboard:has(> .card:first-child) { grid-template-rows: auto auto auto minmax(0, 1fr) minmax(0, 2fr) !important; } }
  @media (min-width: 761px) { .home-dashboard:has(> .card:first-child) { grid-template-rows: auto auto auto minmax(0, 1fr) minmax(0, 2fr) auto !important; } }
}
@media (display-mode: browser) {
  /* Bildausschnitt in den Startseiten-Kacheln: Motiv/Gesicht im oberen Drittel bleibt sichtbar, auch wenn die Kachel flacher ist */
  .home-dashboard .ht > img { object-position: 50% 32% !important; }
}
@media (display-mode: browser) {
  /* Hinweis-Kasten schmal (eine Zeile mit Knöpfen) */
  .home-dashboard > .card:first-child { flex-direction: row !important; align-items: center; gap: 10px; padding: 9px 12px !important; min-height: 0 !important; }
  .home-dashboard > .card:first-child p { margin: 0; font-size: 12.5px; line-height: 1.35; flex: 1; }
  .home-dashboard > .card:first-child .row { flex-wrap: nowrap; gap: 6px; flex: none; }
  .home-dashboard > .card:first-child .btn { padding: 6px 10px; font-size: 12px; min-height: 0; height: auto; }
  /* Wenig Höhe (Browser-Leisten): Kopfbereich gleichmäßig etwas kleiner, Anordnung bleibt gleich, Kacheln bekommen die Höhe */
  @media (max-height: 800px) { .home-dashboard > .home-hero { zoom: .8; } }
}
@media (display-mode: browser) and (min-width: 761px) and (max-height: 800px) {
  /* Frauen, breite flache Kacheln: Gesicht mittig im Ausschnitt statt oben angeschnitten */
  :root[data-bereich='frauen'] .home-dashboard .ht > img { object-position: 50% 15% !important; }
}

/* 19.11. spät: Schrift auf Foto-Karten bleibt immer hell (Karte hat dunklen Schleier, egal welches Design). */
.mi-act .mi-act-copy small { color: color-mix(in srgb, var(--c) 45%, #fff) !important; }
.mi-act .mi-act-copy span { color: rgba(255, 255, 255, .86) !important; }
.mi-act .mi-act-copy b, .mi-act .mi-act-ring b, .mi-act .mi-act-st { color: #fff; }
/* Challenge-Kopf (dunkles Foto) in allen Designs: helle Schrift statt Rosé/abgedunkelter Akzent. */
:root .mi-hero .mi-hero-copy > p:not(.mi-ey), :root .mi-hero .mi-hero-ring span > small { color: rgba(255, 255, 255, .88) !important; }
:root[data-theme] .mi-hero.mi-hero .mi-hero-copy .mi-ey { color: color-mix(in srgb, var(--c) 42%, #fff) !important; }
/* Routinen-Vorlagen: Schrittzahl im hellen Design dunkler (Gelb auf Creme war unlesbar). */
:root[data-theme='light'] .rt-tpl-n { color: color-mix(in srgb, var(--c) 48%, var(--text)); }

/* 19.11. spät: Schrift auf dunklen Foto-Köpfen bleibt in jedem Design hell (helle Designs machten sie dunkel = unsichtbar). */
:root[data-theme] :is(.day-preview .dpv-in, .ready-card .ready-in, .lesson-visual.academy-visual) :is(h1, h2, .h1, .h2) { color: #fff !important; }
:root[data-theme] :is(.day-preview .dpv-in, .ready-card .ready-in, .lesson-visual.academy-visual) .eyebrow { color: rgba(255, 255, 255, .82) !important; }
:root[data-theme] :is(.day-preview .dpv-in, .ready-card .ready-in, .lesson-visual.academy-visual) :is(p, .lead) { color: rgba(255, 255, 255, .88) !important; }
:root[data-theme] .ground-photo span { color: rgba(255, 255, 255, .92) !important; }
/* Helle Designs: Neon-Beschriftungen (Gold, Mint, Cyan, Lila) auf Creme abdunkeln, Farbton bleibt erkennbar. */
:root[data-theme='light'] :is(.kp-ey, .kp-info, .rt-ey, .bh-in small, .mo-p-top small, .cp-in small, .sl-rule small, .gs15-tag, .sh-tn, .tr-rt small) { filter: brightness(.58) saturate(1.35); }
:root:not([data-bereich='frauen'])[data-theme='light'] .nx-jump button { color: var(--text) !important; background: color-mix(in srgb, var(--text) 6%, transparent) !important; }
/* Frauen: helle Gold-/Sandknöpfe bekommen dunkle Schrift */
:root[data-bereich='frauen'] :is(.cp-go, .nu-page .seg button.on, .sl-start, .sl-start span) { color: #2b211b !important; }
:root[data-bereich='frauen'][data-look='abend'] :is(.btn.dawn, .kx-go, .kx-go span) { color: #2a1420 !important; }
/* Trainings-Köpfe: dunkle Designs weiße Schrift; helle Designs dunkle Schrift auf sauber hellem Grund. */
:root:not([data-theme='light']) .tr-exhero-in :is(h1, h2, .h1) { color: #fff !important; }
:root:not([data-theme='light']) .tr-exhero-in .eyebrow { color: rgba(255, 255, 255, .82) !important; }
:root:not([data-theme='light']) .tr-exhero-in > p { color: rgba(255, 255, 255, .88) !important; }
:root[data-theme] .tr-exhero .tr-exhero-in { background: linear-gradient(180deg, transparent 10%, color-mix(in srgb, var(--bg) 82%, transparent) 34%, color-mix(in srgb, var(--bg) 94%, transparent) 60%, var(--bg)); }
:root[data-theme='light'] .tr-exhero .tr-exhero-in :is(h1, h2, .h1) { color: var(--text) !important; }
:root[data-theme='light'] .tr-exhero .tr-exhero-in .eyebrow { color: color-mix(in srgb, var(--primary) 60%, var(--text)) !important; }
:root[data-theme='light'] .tr-exhero .tr-exhero-in > p { color: var(--text-2) !important; }
/* Akademie-Kacheln (helle Designs): Modul-Pille hell mit dunkler Schrift */
:root[data-theme='light'] .aka-tile.photo-tile .aka-num.aka-num, :root[data-bereich='frauen']:not([data-look='abend']) .aka-tile.photo-tile .aka-num.aka-num { background: color-mix(in srgb, var(--surface-solid) 88%, transparent) !important; color: var(--text) !important; border: 1px solid var(--line); }
/* Ausgewählte helle Gold-/Rosé-Felder: dunkle Schrift */
:root[data-theme='pro'] .day-chip.on, :root[data-theme='pro'] .day-chip.on :is(b, span, small) { color: #1c1508 !important; }
:root[data-bereich='frauen'][data-look='abend'] :is(.pt-steps button.on, .day-chip.on, .day-chip.on :is(b, span, small)) { color: #2a1420 !important; }
:root[data-theme='light'] :is(.kp-hint b, .kp-earn b) { filter: brightness(.55) saturate(1.4); }
:root[data-bereich='frauen'][data-look='abend'] .pt .pt-share a.btn.dawn, :root[data-bereich='frauen'][data-look='abend'] .pt .pt-share a.btn.dawn * { color: #2a1420 !important; -webkit-text-fill-color: #2a1420; }

/* 19.11. Challenges im Frauenbereich: Übungsfarben (Orange/Pink/Türkis) passen nicht in die Editorial-Farbwelt.
   Akzent folgt dem gewählten Look (Beige, Perle, Rosé, Nacht). Standardbereich behält seine Übungsfarben. */
:root[data-bereich='frauen']{--fr-acc:#a9825c}
:root[data-bereich='frauen'][data-look='perle']{--fr-acc:#a08471}
:root[data-bereich='frauen'][data-look='rose']{--fr-acc:#b0726e}
:root[data-bereich='frauen'][data-look='abend']{--fr-acc:#c9a27e}
:root[data-bereich='frauen'] :is(.cq-card,.cq-bd,.kx-b,.kx-d,.mi-ey,.kx-exs button,.mi-act){--c:var(--fr-acc)!important}

/* ===== 19.11. Proportionsprüfung: Handy QUER (niedrige Höhe) – Kopfbilder nie bildschirmfüllend ===== */
@media (orientation: landscape) and (max-height: 520px) {
  /* Bild + Text nebeneinander statt Bild über die volle Breite */
  .kx-hero { display: grid !important; grid-template-columns: 1fr 1fr !important; }
  .kx-hero img { max-height: none !important; height: 100% !important; aspect-ratio: auto !important; }
  .kx-hero-c { align-self: center; }
  /* Kopfbilder mit Text darauf: etwa halbe Höhe */
  .mi-hero, .lesson-visual, .ritual-cover, .gl-empty { min-height: 50vh !important; }
  /* Übungs- und Programmbilder */
  .ph3-fig img, .ground-photo > img, .nu-bodyhero > img, .ready-card > img { max-height: 50vh !important; object-fit: cover; }
  /* Frauen-Übungsseite: Bildfläche hängt an 75vw → quer auf halbe Höhe */
  :root[data-bereich="frauen"] .tr-exhero { min-height: calc(56vh + 74px) !important; }
  :root[data-bereich="frauen"] .tr-exhero .fx-paar, :root[data-bereich="frauen"] .tr-exhero > img { height: 56vh !important; }
}


/* ===== 19.11. Fotoprüfung: Fokuspunkt je Personenfoto – Gesicht UND Tätigkeit im Ausschnitt, auf jedem Gerät (hohe Priorität) ===== */
:root:root:root img[src*="/img/laeufer."], :root:root:root img[src*="/img/laeufer-s."], :root:root:root img[src*="/img-hell/laeufer."], :root:root:root img[src*="/img-hell/laeufer-s."], :root:root:root img[src*="/img-pro/laeufer."], :root:root:root img[src*="/img-pro/laeufer-s."] { object-position: 40% 14% !important; }
:root:root:root img[src*="/img/spiegel."], :root:root:root img[src*="/img/spiegel-s."], :root:root:root img[src*="/img-hell/spiegel."], :root:root:root img[src*="/img-hell/spiegel-s."], :root:root:root img[src*="/img-pro/spiegel."], :root:root:root img[src*="/img-pro/spiegel-s."] { object-position: 65% 25% !important; }
:root:root:root img[src*="/img/training."], :root:root:root img[src*="/img/training-s."], :root:root:root img[src*="/img-hell/training."], :root:root:root img[src*="/img-hell/training-s."], :root:root:root img[src*="/img-pro/training."], :root:root:root img[src*="/img-pro/training-s."] { object-position: 50% 16% !important; }
:root:root:root img[src*="/img/sprint."], :root:root:root img[src*="/img/sprint-s."], :root:root:root img[src*="/img-hell/sprint."], :root:root:root img[src*="/img-hell/sprint-s."], :root:root:root img[src*="/img-pro/sprint."], :root:root:root img[src*="/img-pro/sprint-s."] { object-position: 50% 8% !important; }
:root:root:root img[src*="/img/aufbruch."], :root:root:root img[src*="/img/aufbruch-s."], :root:root:root img[src*="/img-hell/aufbruch."], :root:root:root img[src*="/img-hell/aufbruch-s."], :root:root:root img[src*="/img-pro/aufbruch."], :root:root:root img[src*="/img-pro/aufbruch-s."] { object-position: 50% 22% !important; }
:root:root:root img[src*="/img/ruhe."], :root:root:root img[src*="/img/ruhe-s."], :root:root:root img[src*="/img-hell/ruhe."], :root:root:root img[src*="/img-hell/ruhe-s."], :root:root:root img[src*="/img-pro/ruhe."], :root:root:root img[src*="/img-pro/ruhe-s."] { object-position: 55% 35% !important; }
:root:root:root img[src*="/img/baustelle."], :root:root:root img[src*="/img/baustelle-s."], :root:root:root img[src*="/img-hell/baustelle."], :root:root:root img[src*="/img-hell/baustelle-s."], :root:root:root img[src*="/img-pro/baustelle."], :root:root:root img[src*="/img-pro/baustelle-s."] { object-position: 50% 35% !important; }
:root:root:root img[src*="/img/nachtblick."], :root:root:root img[src*="/img/nachtblick-s."], :root:root:root img[src*="/img-hell/nachtblick."], :root:root:root img[src*="/img-hell/nachtblick-s."], :root:root:root img[src*="/img-pro/nachtblick."], :root:root:root img[src*="/img-pro/nachtblick-s."] { object-position: 55% 25% !important; }
:root:root:root img[src*="/img/umfeld."], :root:root:root img[src*="/img/umfeld-s."], :root:root:root img[src*="/img-hell/umfeld."], :root:root:root img[src*="/img-hell/umfeld-s."], :root:root:root img[src*="/img-pro/umfeld."], :root:root:root img[src*="/img-pro/umfeld-s."] { object-position: 50% 30% !important; }
:root:root:root img[src*="/img/kampfsport."], :root:root:root img[src*="/img/kampfsport-s."], :root:root:root img[src*="/img-hell/kampfsport."], :root:root:root img[src*="/img-hell/kampfsport-s."], :root:root:root img[src*="/img-pro/kampfsport."], :root:root:root img[src*="/img-pro/kampfsport-s."] { object-position: 50% 25% !important; }
:root:root:root img[src*="/img/koerper."], :root:root:root img[src*="/img/koerper-s."], :root:root:root img[src*="/img-hell/koerper."], :root:root:root img[src*="/img-hell/koerper-s."], :root:root:root img[src*="/img-pro/koerper."], :root:root:root img[src*="/img-pro/koerper-s."] { object-position: 50% 25% !important; }
:root:root:root img[src*="/img/regeneration."], :root:root:root img[src*="/img/regeneration-s."], :root:root:root img[src*="/img-hell/regeneration."], :root:root:root img[src*="/img-hell/regeneration-s."], :root:root:root img[src*="/img-pro/regeneration."], :root:root:root img[src*="/img-pro/regeneration-s."] { object-position: 50% 30% !important; }
:root:root:root img[src*="/img/fortschritt."], :root:root:root img[src*="/img/fortschritt-s."], :root:root:root img[src*="/img-hell/fortschritt."], :root:root:root img[src*="/img-hell/fortschritt-s."], :root:root:root img[src*="/img-pro/fortschritt."], :root:root:root img[src*="/img-pro/fortschritt-s."] { object-position: 50% 25% !important; }
:root:root:root img[src*="/img-frauen/aufbruch."], :root:root:root img[src*="/img-frauen/aufbruch-s."] { object-position: 50% 16% !important; }
:root:root:root img[src*="/img-frauen/baustelle."], :root:root:root img[src*="/img-frauen/baustelle-s."] { object-position: 50% 30% !important; }
:root:root:root img[src*="/img-frauen/coach."], :root:root:root img[src*="/img-frauen/coach-s."] { object-position: 50% 30% !important; }
:root:root:root img[src*="/img-frauen/coach-man."], :root:root:root img[src*="/img-frauen/coach-man-s."] { object-position: 50% 30% !important; }
:root:root:root img[src*="/img-frauen/coach-cut."], :root:root:root img[src*="/img-frauen/coach-cut-s."] { object-position: 50% 30% !important; }
:root:root:root img[src*="/img-frauen/fortschritt."], :root:root:root img[src*="/img-frauen/fortschritt-s."] { object-position: 50% 22% !important; }
:root:root:root img[src*="/img-frauen/frau."], :root:root:root img[src*="/img-frauen/frau-s."] { object-position: 50% 45% !important; }
:root:root:root img[src*="/img-frauen/gespraech."], :root:root:root img[src*="/img-frauen/gespraech-s."] { object-position: 50% 35% !important; }
:root:root:root img[src*="/img-frauen/handy-griff."], :root:root:root img[src*="/img-frauen/handy-griff-s."] { object-position: 50% 32% !important; }
:root:root:root img[src*="/img-frauen/handy-weg."], :root:root:root img[src*="/img-frauen/handy-weg-s."] { object-position: 50% 26% !important; }
:root:root:root img[src*="/img-frauen/kampfsport."], :root:root:root img[src*="/img-frauen/kampfsport-s."] { object-position: 50% 22% !important; }
:root:root:root img[src*="/img-frauen/koerper."], :root:root:root img[src*="/img-frauen/koerper-s."] { object-position: 50% 24% !important; }
:root:root:root img[src*="/img-frauen/kueste."], :root:root:root img[src*="/img-frauen/kueste-s."] { object-position: 50% 12% !important; }
:root:root:root img[src*="/img-frauen/laeufer."], :root:root:root img[src*="/img-frauen/laeufer-s."] { object-position: 50% 10% !important; }
:root:root:root img[src*="/img-frauen/listen."], :root:root:root img[src*="/img-frauen/listen-s."] { object-position: 50% 22% !important; }
:root:root:root img[src*="/img-frauen/nachtblick."], :root:root:root img[src*="/img-frauen/nachtblick-s."] { object-position: 50% 30% !important; }
:root:root:root img[src*="/img-frauen/regeneration."], :root:root:root img[src*="/img-frauen/regeneration-s."] { object-position: 50% 35% !important; }
:root:root:root img[src*="/img-frauen/ruhe."], :root:root:root img[src*="/img-frauen/ruhe-s."] { object-position: 50% 12% !important; }
:root:root:root img[src*="/img-frauen/schlaf."], :root:root:root img[src*="/img-frauen/schlaf-s."] { object-position: 50% 40% !important; }
:root:root:root img[src*="/img-frauen/sprint."], :root:root:root img[src*="/img-frauen/sprint-s."] { object-position: 50% 22% !important; }
:root:root:root img[src*="/img-frauen/training-kopf."], :root:root:root img[src*="/img-frauen/training-kopf-s."] { object-position: 50% 22% !important; }
:root:root:root img[src*="/img-frauen/training."], :root:root:root img[src*="/img-frauen/training-s."] { object-position: 50% 10% !important; }
:root:root:root img[src*="/img-frauen/umfeld."], :root:root:root img[src*="/img-frauen/umfeld-s."] { object-position: 50% 24% !important; }
:root:root:root img[src*="/img-frauen/werkstatt."], :root:root:root img[src*="/img-frauen/werkstatt-s."] { object-position: 50% 24% !important; }
:root:root:root img[src*="/img-frauen/zyklus."], :root:root:root img[src*="/img-frauen/zyklus-s."] { object-position: 50% 30% !important; }
:root:root:root img[src*="/img-frauen/stark-1."], :root:root:root img[src*="/img-frauen/stark-1-s."] { object-position: 50% 25% !important; }
:root:root:root img[src*="/img-frauen/stark-2."], :root:root:root img[src*="/img-frauen/stark-2-s."] { object-position: 50% 25% !important; }
:root:root:root img[src*="/img-frauen/stark-3."], :root:root:root img[src*="/img-frauen/stark-3-s."] { object-position: 50% 25% !important; }
:root:root:root img[src*="/img-frauen/stark-4."], :root:root:root img[src*="/img-frauen/stark-4-s."] { object-position: 50% 25% !important; }
:root:root:root img[src*="/img-frauen/stark-5."], :root:root:root img[src*="/img-frauen/stark-5-s."] { object-position: 50% 25% !important; }
:root:root:root img[src*="/img-frauen/stark-6."], :root:root:root img[src*="/img-frauen/stark-6-s."] { object-position: 50% 25% !important; }
:root:root:root img[src*="/img-frauen/stark-7."], :root:root:root img[src*="/img-frauen/stark-7-s."] { object-position: 50% 25% !important; }
:root:root:root img[src*="/img-frauen/stark-8."], :root:root:root img[src*="/img-frauen/stark-8-s."] { object-position: 50% 25% !important; }
:root:root:root img[src*="training-frauen/prog/"] { object-position: 50% 22% !important; }
:root:root:root img[src*="training/prog/"] { object-position: 50% 22% !important; }
:root:root:root img[src*="training/mx/k-"] { object-position: 50% 18% !important; }
:root:root:root img[src*="/img/ch-hero-"] { object-position: 50% 12% !important; }
/* Dehn-Startbildschirm hochkant: ganzes Foto oben statt schmaler Streifen */
@media (orientation: portrait) { :root:root:root .mb-start-bg { object-fit: contain !important; object-position: 50% 10% !important; } }
/* Übungsfotos im Handy-Querformat: ganze Person statt Mittelstreifen */
@media (orientation: landscape) and (max-height: 520px) { :root:root:root .fx-paar img, :root:root:root .tr-exhero > img, :root:root:root .mb-phero > img { object-fit: contain !important; } }
/* ===== 19.11. Breite Bildkacheln (Heute im Querformat/PC, Kurs-Karte ab Tablet): Foto rechts, weich nach links auslaufend.
   So bleibt der Ausschnitt ruhig und Gesicht + Tätigkeit passen ins Bild statt eines schmalen Streifens. ===== */
@media (orientation: landscape) {
  :root:root .home-dashboard .ht > img { left: auto !important; right: 0 !important; width: 58% !important; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%); mask-image: linear-gradient(90deg, transparent 0, #000 42%); }
}
@media (min-width: 700px) {
  :root:root .ready-card > img { left: auto !important; right: 0 !important; width: 60% !important; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%); mask-image: linear-gradient(90deg, transparent 0, #000 40%); }
}
/* Feinschliff breite Kacheln: Tätigkeit sichtbar (Hanteln, Schuhe binden, Handy in der Hand) */
@media (orientation: landscape) {
  :root:root:root:root .home-dashboard .ht > img[src*="/training-s."], :root:root:root:root .home-dashboard .ht > img[src*="/training."] { object-position: 50% 28% !important; }
  :root:root:root:root .home-dashboard .ht > img[src*="/sprint-s."], :root:root:root:root .home-dashboard .ht > img[src*="/sprint."] { object-position: 50% 26% !important; }
}
@media (min-width: 700px) {
  :root:root:root:root .ready-card > img[src*="handy-griff"] { object-position: 50% 46% !important; }
}
/* 19.11. Manuel: Training Frauen – Bewusstseinstraining Kopf sichtbar, Dehnen die Frau sichtbar (Bild höher) */
:root:root:root:root a.hx[href="#/stark"] > img { object-position: 50% 4% !important; }
:root:root:root:root a.hx-mobil > img[src*="katze-kuh"] { object-position: 66% 100% !important; }
/* 29.11.: NUR iPad/Tablet (hoch + quer): Startseiten-Kacheln mit Gesicht, Ausschnitt etwas höher, damit das Gesicht ganz drin ist */
@media (pointer: coarse) and (min-width: 700px) and (max-width: 1366px) and (min-height: 600px) {
  :root:root:root:root:root .home-dashboard .ht > img[src*="/sprint-s."], :root:root:root:root:root .home-dashboard .ht > img[src*="/sprint."] { object-position: 50% 0% !important; }
  :root:root:root:root:root .home-dashboard .ht > img[src*="/training-s."], :root:root:root:root:root .home-dashboard .ht > img[src*="/training."] { object-position: 50% 0% !important; }
  /* weitere wählbare Kacheln mit Gesicht */
  :root:root:root:root:root .home-dashboard .ht > img[src*="/img/nachtblick"] { object-position: 55% 3% !important; }
  :root:root:root:root:root .home-dashboard .ht > img[src*="/img/spiegel"] { object-position: 65% 10% !important; }
  :root:root:root:root:root .home-dashboard .ht > img[src*="/img-frauen/nachtblick"] { object-position: 50% 0% !important; }
  :root:root:root:root:root .home-dashboard .ht > img[src*="/img-frauen/schlaf"] { object-position: 50% 25% !important; }
  :root:root:root:root:root .home-dashboard .ht > img[src*="/img-frauen/handy-weg"] { object-position: 50% 0% !important; }
  :root:root:root:root:root .home-dashboard .ht > img[src*="/img-frauen/listen"] { object-position: 50% 0% !important; }
  :root:root:root:root:root .home-dashboard .ht > img[src*="/img-frauen/ruhe"] { object-position: 50% 0% !important; }
}
/* 29.11.: NUR iPad/Tablet, Frauen: heller Schleier über den Startseiten-Fotos nur noch unten hinter der Schrift, darüber bleibt das Foto klar */
@media (pointer: coarse) and (min-width: 700px) and (max-width: 1366px) and (min-height: 600px) {
  :root:root[data-bereich='frauen'] .home-dashboard .ht::after { background: linear-gradient(0deg, color-mix(in srgb, var(--surface-solid) 94%, transparent) 0%, color-mix(in srgb, var(--surface-solid) 85%, transparent) 20%, color-mix(in srgb, var(--surface-solid) 50%, transparent) 31%, transparent 45%) !important; }
  @media (orientation: landscape) { :root:root[data-bereich='frauen'] .home-dashboard .ht::after { background: linear-gradient(0deg, color-mix(in srgb, var(--surface-solid) 93%, transparent) 0%, color-mix(in srgb, var(--surface-solid) 88%, transparent) 14%, color-mix(in srgb, var(--surface-solid) 78%, transparent) 24%, color-mix(in srgb, var(--surface-solid) 60%, transparent) 32%, color-mix(in srgb, var(--surface-solid) 40%, transparent) 39%, color-mix(in srgb, var(--surface-solid) 22%, transparent) 46%, color-mix(in srgb, var(--surface-solid) 9%, transparent) 53%, transparent 60%) !important; } }
}
