/* Shared by every version of the ARAS demo website: reset, helpers, the version bar and the motion start states.
   Each version brings its own look in its styles.css. House rules everywhere: fills are solid, nothing see-through. */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { min-height: 100vh; overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[class], ol[class] { list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.springen { position: absolute; left: 16px; top: -120px; z-index: 300; padding: 12px 18px; font: 600 15px/1.2 system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; text-decoration: none; color: #000000; background: #D9A62E; }
.springen:focus { top: 16px; }

/* word masks and letters for reveals */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.06em 0 0.14em; margin: -0.06em 0 -0.14em; }
.w > span, .b { display: inline-block; }
.wort { display: inline-block; white-space: nowrap; }

/* the request form: after sending only the thank-you shows */
.danke[hidden] { display: none !important; }
.ist-gesendet .feld, .ist-gesendet .anfrage-fuss { display: none !important; }

/* the bar that leads from version to version */
.vleiste { position: fixed; left: 50%; bottom: 12px; z-index: 250; display: flex; align-items: stretch; height: 38px; border: 1px solid #B47A0E; font: 600 12.5px/1 system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; letter-spacing: 0.02em; white-space: nowrap; color: #F2CB57; background: #000000; transform: translateX(-50%); transition: transform 0.45s cubic-bezier(0.7, 0, 0.2, 1); }
.vleiste.weg { transform: translate(-50%, calc(100% + 20px)); }
.vleiste a { display: flex; align-items: center; gap: 8px; padding: 0 13px; text-decoration: none; color: inherit; transition: color 0.2s; }
.vleiste a:hover { color: #FFFFFF; }
.vleiste-pfeil { justify-content: center; width: 36px; padding: 0 !important; }
.vleiste-pfeil svg { width: 14px; height: 14px; }
.vleiste-alle { border-left: 1px solid #4A3610; border-right: 1px solid #4A3610; }
.vleiste-alle b { font-weight: 600; color: #FFFFFF; }
.ohne-leiste .vleiste { display: none; }
@media (max-width: 640px) { .vleiste { bottom: 10px; height: 36px; font-size: 12px; } .vleiste a { padding: 0 10px; } .vleiste-pfeil { width: 34px; } }
@media print { .vleiste { display: none; } }

/* motion start states: the version's main.js reveals them; without motion none of this applies */
.motion [data-a], .motion [data-hero], .motion [data-teil] { visibility: hidden; }
/* calm versions: a block fades up once when it arrives (gemeinsam.js adds .ist-sichtbar); start state only */
.leicht [data-a], .leicht [data-hero] { opacity: 0; transform: translateY(22px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.leicht [data-a].ist-sichtbar, .leicht [data-hero].ist-sichtbar { opacity: 1; transform: none; }
.leicht [data-hero]:nth-child(2), .leicht [data-a]:nth-child(2) { transition-delay: 0.08s; }
.leicht [data-hero]:nth-child(3), .leicht [data-a]:nth-child(3) { transition-delay: 0.16s; }
.leicht [data-hero]:nth-child(4), .leicht [data-a]:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
