/* Intro. Eigene Datei, im Kopf vor allem anderen geladen: blockiert das erste Bild, steht also ohne JavaScript und ohne Hauptstil.
   Ablauf: Pinsel zeichnet sich 0 bis 0,75 s, Ritter bis 0,85 s, Logo blendet aus ab 0,9 s, Fläche blendet 1,0 bis 1,6 s weg. */
/* Die Werte spiegeln die Tokens in src/index.css (elfenbein, bronze, tinte, leise), weil der Hauptstil hier noch nicht geladen ist. */
:root { --ix-grund: #F7F2E8; --ix-bronze: #8A6B45; --ix-tinte: #1F1E1A; --ix-leise: #46423A; }
html { background: var(--ix-grund); }
.vorrat { position: absolute; width: 0; height: 0; overflow: hidden; }
.ix { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--ix-grund); will-change: opacity; animation: ix-blende 600ms cubic-bezier(.45, 0, .25, 1) 1000ms forwards, ix-ende 1ms linear 1600ms forwards; }
.ix-zeichen { width: clamp(138px, 15vw, 190px); height: auto; overflow: visible; animation: ix-logo 320ms ease-out 900ms forwards; }
.ix-pinsel { fill: none; stroke: #fff; stroke-width: 190; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ix-pinsel 730ms cubic-bezier(.4, 0, .25, 1) 20ms forwards; }
.ix-mond { fill: var(--ix-bronze); }
.ix-ritter { fill: var(--ix-tinte); opacity: 0; animation: ix-da 300ms ease-out 540ms forwards; }
.ix-weg { animation: ix-logo 260ms ease-out 900ms forwards;  position: absolute; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); min-height: 44px; padding: 0 16px; border: 0; background: none; font: 500 14px/1 'Helvetica Neue', Arial, sans-serif; color: var(--ix-leise); cursor: pointer; }
@keyframes ix-pinsel { to { stroke-dashoffset: 0; } }
@keyframes ix-da { to { opacity: 1; } }
@keyframes ix-logo { to { opacity: 0; } }
@keyframes ix-blende { to { opacity: 0; } }
@keyframes ix-ende { from, to { visibility: hidden; } }
html.ix-aus .ix { pointer-events: none; animation: ix-blende 260ms ease-out forwards, ix-ende 1ms linear 260ms forwards; }
@media (prefers-reduced-motion: reduce) { .ix { display: none; } }
