/* ZeehDesign Sirkel – Scroll-Animationen (Version 1.11.0)
   Jeder Effekt hängt an einer Klasse auf <html>: zs-fx-<name>.
   Ohne JavaScript oder bei „Bewegung reduzieren" bleibt alles sichtbar und ruhig. */

:root { --zs-fx-ease: cubic-bezier(.16, 1, .3, 1); --zs-fx-dur: 1.1s; }

/* 1 · Sanftes Auftauchen */
.zs-fx-reveal [data-zs-reveal] {
	transition: opacity var(--zs-fx-dur) var(--zs-fx-ease), transform var(--zs-fx-dur) var(--zs-fx-ease);
	transition-delay: var(--zs-d, 0s);
}
.zs-fx-reveal [data-zs-reveal]:not(.is-in) { opacity: 0; transform: translate3d(0, 34px, 0); }

/* 2 · Linie zeichnet sich */
.zs-fx-line .is-style-since-line[data-zs-line]::before { transition: transform 1s var(--zs-fx-ease); transform-origin: left center; }
.zs-fx-line .is-style-since-line[data-zs-line] { transition: color .8s ease .35s, letter-spacing 1.2s var(--zs-fx-ease) .2s; }
.zs-fx-line .is-style-since-line[data-zs-line]:not(.is-in)::before { transform: scaleX(0); }
.zs-fx-line .is-style-since-line[data-zs-line]:not(.is-in) { color: transparent !important; letter-spacing: .5em; }

/* 3 · Kreis öffnet Bilder */
.zs-fx-circle [data-zs-circle] { transition: clip-path 1.4s var(--zs-fx-ease); transition-delay: var(--zs-d, 0s); }
.zs-fx-circle [data-zs-circle]:not(.is-in) { clip-path: circle(0% at 50% 55%); }
.zs-fx-circle [data-zs-circle].is-in:not(.is-done) { clip-path: circle(75% at 50% 50%); }

/* 4 · Leichte Parallaxe */
.zs-fx-parallax [data-zs-parallax] { overflow: hidden; }
.zs-fx-parallax [data-zs-parallax] > img,
.zs-fx-parallax [data-zs-parallax] > a > img,
.zs-fx-parallax [data-zs-parallax] > video,
.zs-fx-parallax [data-zs-parallax] figure img {
	transform: translate3d(0, var(--zs-py, 0px), 0) scale(1.12); will-change: transform;
}

/* 5 · Überschriften Wort für Wort */
.zs-fx-words .zs-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.zs-fx-words .zs-w > span { display: inline-block; transition: transform 1.1s var(--zs-fx-ease); transition-delay: calc(var(--zs-i, 0) * 70ms); }
.zs-fx-words [data-zs-words]:not(.is-in) .zs-w > span { transform: translate3d(0, 105%, 0); }
/* Hero beim Laden */
.zs-fx-words .zs-hero__media { transition: transform 1.6s var(--zs-fx-ease), opacity 1.2s ease; }
.zs-fx-words .zs-hero:not(.is-in) .zs-hero__media { transform: scale(.82); opacity: 0; }
.zs-fx-words .zs-hero__body { transition: opacity 1s ease .7s, transform 1s var(--zs-fx-ease) .7s; }
.zs-fx-words .zs-hero:not(.is-in) .zs-hero__body { opacity: 0; transform: translate3d(0, 20px, 0); }

/* 6 · Kundenlogos nacheinander */
.zs-fx-logos .zs-client-logo[data-zs-logo] img { transition: opacity .9s ease, transform .9s var(--zs-fx-ease), filter .35s; transition-delay: var(--zs-d, 0s), var(--zs-d, 0s), 0s; }
.zs-fx-logos .zs-client-logo[data-zs-logo]:not(.is-in) img { opacity: 0 !important; transform: scale(.85); }

/* 7 · Fortschrittslinie */
.zs-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100000; pointer-events: none;
	background: var(--zs-green, #83a92f); transform-origin: left center; transform: scaleX(var(--zs-p, 0)); display: none; }
.zs-fx-progress .zs-progress { display: block; }
.admin-bar .zs-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .zs-progress { top: 46px; } }

/* Testpanel (nur für Admins) */
.zs-fxpanel { position: fixed; left: 16px; bottom: 16px; z-index: 100001; width: 270px; font: 13px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: #fff; color: #333; border-radius: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.18); overflow: hidden; }
.zs-fxpanel__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; background: #464547; color: #fff; cursor: pointer; }
.zs-fxpanel__head b { font-weight: 600; }
.zs-fxpanel__head span { font-size: 11px; opacity: .7; }
.zs-fxpanel__body { padding: 8px 14px 14px; }
.zs-fxpanel.is-min .zs-fxpanel__body { display: none; }
.zs-fxpanel label { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; border-bottom: 1px solid #eee; cursor: pointer; }
.zs-fxpanel label small { display: block; color: #888; font-size: 11.5px; }
.zs-fxpanel input { accent-color: #83a92f; margin-top: 3px; }
.zs-fxpanel__btns { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.zs-fxpanel button { flex: 1; border: 1px solid #ccc; background: #fff; border-radius: 999px; padding: 6px 10px; cursor: pointer; font: inherit; }
.zs-fxpanel button.is-primary { background: #83a92f; border-color: #83a92f; color: #fff; }
.zs-fxpanel__msg { margin-top: 8px; font-size: 11.5px; color: #5d7a1f; min-height: 1em; }
.zs-fxpanel__link { display: block; margin-top: 8px; font-size: 11.5px; color: #464547; }

@media (prefers-reduced-motion: reduce) {
	[data-zs-reveal], [data-zs-circle], [data-zs-words] .zs-w > span, .zs-client-logo img, .zs-hero__media, .zs-hero__body { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
}

/* 8 · Punkte mit Linie („Dette er inkludert") */
.zs-fx-dots .zs-check[data-zs-dots] { border-top-color: transparent; }
.zs-fx-dots .zs-check[data-zs-dots]::after { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: var(--zs-line, #e3e1da);
	transform-origin: left center; transition: transform 1.3s var(--zs-fx-ease) calc(var(--zs-d, 0s) + .25s); }
.zs-fx-dots .zs-check[data-zs-dots]::before { z-index: 1; transition: transform .7s cubic-bezier(.34, 1.56, .64, 1) var(--zs-d, 0s); }
.zs-fx-dots .zs-check[data-zs-dots] > * { transition: opacity .9s ease, transform .9s var(--zs-fx-ease); transition-delay: calc(var(--zs-d, 0s) + .45s); }
.zs-fx-dots .zs-check[data-zs-dots] > * + * { transition-delay: calc(var(--zs-d, 0s) + .55s); }
.zs-fx-dots .zs-check[data-zs-dots]:not(.is-in)::before { transform: scale(0); }
.zs-fx-dots .zs-check[data-zs-dots]:not(.is-in)::after { transform: scaleX(0); }
.zs-fx-dots .zs-check[data-zs-dots]:not(.is-in) > * { opacity: 0; transform: translate3d(0, 14px, 0); }
.zs-fx-dots .zs-check[data-zs-dots].is-in::before { animation: zs-dot-ring 1.4s ease-out calc(var(--zs-d, 0s) + .3s) 1 both; }
@keyframes zs-dot-ring {
	from { box-shadow: 0 0 0 0 rgba(131, 169, 47, .45); }
	to   { box-shadow: 0 0 0 14px rgba(131, 169, 47, 0); }
}
@media (prefers-reduced-motion: reduce) {
	.zs-check::before, .zs-check::after, .zs-check > * { transform: none !important; opacity: 1 !important; animation: none !important; }
}
