/* Mediduell – start look «Kombi» (owner, 28.11.2026: «alle 3»): EKG + Zellen + Fieberkurve.
   Word mark font: Space Grotesk 700 (from «EKG»; SIL Open Font License 1.1, Google Fonts, self-hosted:
   core/public/fonts/start-looks/spacegrotesk-700.woff2, licence text in core/public/fonts/start-looks/OFL.txt).
   Motifs (own drawings, SVG in this folder, used as masks and filled with theme colours): the ECG trace through the
   word mark, the fever curve under it; in the background the cells of «Zellen» over the ECG grid.
   Only the look of the word mark, the start screen and the home screen changes – never the layout or the flow. */
@font-face { font-family: "SL Space Grotesk"; src: url("../fonts/start-looks/spacegrotesk-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: block; }
.kd-title { position: relative; font-family: "SL Space Grotesk", system-ui, sans-serif; font-weight: 700; font-style: normal; }
.kd-title { letter-spacing: -.03em; padding-bottom: .55em; }
.kd-title .k1, .kd-title .k2 { text-shadow: .04em .04em 0 var(--k1d); }
.kd-title .k2 { text-shadow: .04em .04em 0 var(--k2d); }
body { overflow-x: clip; } /* motifs may reach past the screen edge: no sideways scrolling */
/* background: cells … */
.start-screen::before, html:has(.home-beta)::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--accent); opacity: 0.08; -webkit-mask: url("zellen-bg.svg") 0 0 / 320px repeat; mask: url("zellen-bg.svg") 0 0 / 320px repeat; }
/* … over the ECG paper and the fever chart grid */
.start-screen::after, html:has(.home-beta)::after { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; background: var(--accent); opacity: 0.05;
  -webkit-mask: url("ekg-bg.svg") 0 0 / 50px repeat, url("kurve-bg.svg") 0 0 / 96px repeat; mask: url("ekg-bg.svg") 0 0 / 50px repeat, url("kurve-bg.svg") 0 0 / 96px repeat; }
html:has(.home-beta)::before, html:has(.home-beta)::after { z-index: -1; } /* over the whole window, not only the home column */
:root[data-apptheme="dark"] .start-screen::before, :root[data-apptheme="show"] .start-screen::before, :root[data-apptheme="dark"]:has(.home-beta)::before, :root[data-apptheme="show"]:has(.home-beta)::before { opacity: 0.12; }
:root[data-apptheme="dark"] .start-screen::after, :root[data-apptheme="show"] .start-screen::after, :root[data-apptheme="dark"]:has(.home-beta)::after, :root[data-apptheme="show"]:has(.home-beta)::after { opacity: 0.07; }
/* the ECG trace through the word mark */
.kd-title::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9em; height: 1.2em; transform: translate(-50%, -50%) translateY(-.3em); z-index: -1; pointer-events: none; background: var(--accent-2); opacity: 0.55; -webkit-mask: url("ekg-mark.svg") center / contain no-repeat; mask: url("ekg-mark.svg") center / contain no-repeat; }
:root[data-apptheme="dark"] .kd-title::before, :root[data-apptheme="show"] .kd-title::before { opacity: 0.6; }
/* the fever curve under it */
.kd-title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 6em; height: .5em; transform: translateX(-50%); z-index: -1; pointer-events: none; background: var(--k2); opacity: 0.6; -webkit-mask: url("kurve-mark.svg") center / contain no-repeat; mask: url("kurve-mark.svg") center / contain no-repeat; }
@media (prefers-reduced-motion: no-preference) { .start-hero .kd-title { animation: slIn .5s ease-out both; } }
@keyframes slIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
