/*
 * Variante „lebendig“ (2026-10-31, Wunsch Inhaber): weniger Vorlagen-Anmutung, mehr Bewegung.
 * Nur CSS, ergänzt pnt-2026.css und greift nur mit body.pnt-lebendig. Abschalten ohne Deploy:
 *   wp option update pnt_variante klassisch   (Vergleich je Seite: ?variante=klassisch | ?variante=lebendig)
 * Bewegung nur ohne „Bewegung reduzieren“ (prefers-reduced-motion) und nur, wo der Browser
 * Scroll-Animationen kann; sonst bleibt alles sofort sichtbar.
 */

/* ---------- Leistungsraster: offen statt neun gleicher Kästen ---------- */
body.pnt-lebendig .pnt-cards .g-cols { row-gap: 2.6rem; }
body.pnt-lebendig .pnt-cards .pnt-card > .vc_column-inner > .wpb_wrapper {
	position: relative;
	background: none;
	border: 0;
	border-top: 1px solid var(--pnt-line-strong);
	border-radius: 0;
	padding: 26px 0 0;
}
body.pnt-lebendig .pnt-cards .pnt-card > .vc_column-inner > .wpb_wrapper::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 44px;
	height: 3px;
	background: var(--pnt-primary);
	transition: width .45s cubic-bezier(.2, .7, .2, 1);
}
body.pnt-lebendig .pnt-cards .pnt-card > .vc_column-inner > .wpb_wrapper:hover {
	border-color: var(--pnt-line-strong);
	transform: none;
	box-shadow: none;
}
body.pnt-lebendig .pnt-cards .pnt-card > .vc_column-inner > .wpb_wrapper:hover::before,
body.pnt-lebendig .pnt-cards .pnt-card > .vc_column-inner > .wpb_wrapper:focus-within::before { width: 100%; }
body.pnt-lebendig .pnt-cards .w-iconbox.pnt-card__box .w-iconbox-icon {
	width: auto;
	height: auto;
	background: none;
	border-radius: 0;
	font-size: 30px;
	justify-content: start;
	margin-bottom: 16px;
}
body.pnt-lebendig .pnt-cards .w-iconbox.pnt-card__box .w-iconbox-title { font-size: 21px; }
@media (max-width: 600px) {
	/* Gestapelt: enger, sonst werden neun Einträge auf dem Handy sehr lang */
	body.pnt-lebendig .pnt-cards .g-cols { row-gap: 0; }
	body.pnt-lebendig .pnt-cards .pnt-card > .vc_column-inner > .wpb_wrapper { padding-top: 18px; }
	body.pnt-lebendig .pnt-cards .w-iconbox.pnt-card__box { margin-bottom: 8px; }
	body.pnt-lebendig .pnt-cards .w-iconbox.pnt-card__box .w-iconbox-icon { font-size: 24px; margin-bottom: 10px; }
	body.pnt-lebendig .pnt-cards .w-iconbox.pnt-card__box .w-iconbox-title { font-size: 19px; }
}

/* ---------- Kleine Reaktionen ---------- */
body.pnt-lebendig .w-btn i { transition: transform .25s; }
body.pnt-lebendig .w-btn:hover i.fa-arrow-right,
body.pnt-lebendig .pnt-card > .vc_column-inner > .wpb_wrapper:hover .pnt-textlink i { transform: translateX(4px); }

body.pnt-lebendig .pnt-posts .w-post-elm.post_image { overflow: hidden; }
body.pnt-lebendig .pnt-posts .w-post-elm.post_image img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
body.pnt-lebendig .pnt-posts .w-grid-item-h:hover .w-post-elm.post_image img { transform: scale(1.04); }

/* Partnerlogos ruhig in Grau, farbig beim Darüberfahren oder mit Tastaturfokus */
body.pnt-lebendig .w-image.pnt-partner-tile img,
body.pnt-lebendig .w-image.pnt-partnerleiste__logo img { filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
body.pnt-lebendig .w-image.pnt-partner-tile:hover img,
body.pnt-lebendig .w-image.pnt-partner-tile:focus-within img,
body.pnt-lebendig .w-image.pnt-partnerleiste__logo:hover img,
body.pnt-lebendig .w-image.pnt-partnerleiste__logo:focus-within img { filter: none; opacity: 1; }

body.pnt-lebendig .pnt-dark-panel .w-iconbox.pnt-tile { transition: border-color .25s, transform .25s; }
body.pnt-lebendig .pnt-dark-panel .w-iconbox.pnt-tile:hover { transform: translateY(-3px); }

/* ---------- Statuskarte (Block blocks/statuskarte.html, Seite IT-Betreuung & Managed Services) ---------- */
body.pnt-lebendig .wpb_text_column.pnt-statuskarte {
	max-width: 420px;
	margin-left: auto;
	padding: 20px 22px 16px;
	background: var(--pnt-white);
	color: var(--pnt-ink);
	border: 1px solid var(--pnt-line);
	border-radius: var(--pnt-radius-card);
	box-shadow: var(--pnt-shadow);
}
@media (max-width: 900px) {
	body.pnt-lebendig .wpb_text_column.pnt-statuskarte { margin-left: 0; }
}
body.pnt-lebendig .pnt-statuskarte p { margin: 0; }
body.pnt-lebendig .pnt-statuskarte__kopf { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--pnt-muted); margin-bottom: 10px !important; }
body.pnt-lebendig .pnt-statuskarte__kopf span:first-child { color: var(--pnt-primary); font-weight: 800; }
body.pnt-lebendig .pnt-statuskarte__liste { list-style: none; margin: 0; padding: 0; }
body.pnt-lebendig .pnt-statuskarte__liste li {
	position: relative;
	margin: 0;
	padding: 8px 0 8px 22px;
	border-top: 1px solid var(--pnt-line);
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--pnt-muted);
}
body.pnt-lebendig .pnt-statuskarte__liste strong { display: block; color: var(--pnt-ink); font-size: 14px; }
body.pnt-lebendig .pnt-statuskarte__liste li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 13px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--pnt-green);
}
body.pnt-lebendig .pnt-statuskarte__liste li.pnt-warn::before { background: var(--pnt-yellow); box-shadow: 0 0 0 2px rgba(var(--pnt-dark-2-rgb), .15); }
body.pnt-lebendig .pnt-statuskarte__hinweis { margin-top: 8px !important; font-size: 11.5px; color: var(--pnt-muted-2); }

/* ---------- 24-Stunden-Uhr (Shortcode [pnt_tagesuhr]) ---------- */
body.pnt-lebendig .pnt-tagesuhr__grafik { margin: 0 auto; max-width: 460px; }
body.pnt-lebendig .pnt-tagesuhr__grafik svg { display: block; width: 100%; height: auto; overflow: visible; }
body.pnt-lebendig .pnt-tagesuhr__leer { fill: var(--pnt-line-strong); }
body.pnt-lebendig .pnt-tagesuhr__service { fill: var(--pnt-ink); }
body.pnt-lebendig .pnt-tagesuhr__sicherung { fill: var(--pnt-primary); }
body.pnt-lebendig .pnt-tagesuhr__updates { fill: var(--pnt-lime); stroke: var(--pnt-primary); stroke-width: 2; }
/* Gültiger Ring (Tag oder Nacht, per Skript) kräftig, der andere blass */
body.pnt-lebendig .pnt-tagesuhr__ring { transition: opacity .4s; }
body.pnt-lebendig svg.ist-tag .pnt-tagesuhr__ring--nacht,
body.pnt-lebendig svg.ist-nacht .pnt-tagesuhr__ring--tag { opacity: .4; }
body.pnt-lebendig .pnt-tagesuhr__ueberwachung { fill: none; stroke: var(--pnt-green); stroke-width: 3; stroke-linecap: round; stroke-dasharray: .1 11; }
body.pnt-lebendig .pnt-tagesuhr__marke { fill: var(--pnt-ink); }
body.pnt-lebendig .pnt-tagesuhr__nr { fill: #fff; font-size: 13px; font-weight: 800; text-anchor: middle; }
body.pnt-lebendig .pnt-tagesuhr__stunde { fill: var(--pnt-muted); font-size: 18px; font-weight: 800; text-anchor: middle; }
body.pnt-lebendig .pnt-tagesuhr__zeiger line { stroke: var(--pnt-ink); stroke-linecap: round; }
body.pnt-lebendig .pnt-tagesuhr__stundenzeiger { stroke-width: 7; }
body.pnt-lebendig .pnt-tagesuhr__minutenzeiger { stroke-width: 4; }
body.pnt-lebendig .pnt-tagesuhr__zeiger circle { fill: var(--pnt-ink); }
body.pnt-lebendig .pnt-tagesuhr__jetzt { fill: var(--pnt-green); stroke: #fff; stroke-width: 3; }
body.pnt-lebendig .pnt-tagesuhr__grafik figcaption { margin-top: 10px; text-align: center; color: var(--pnt-muted); font-size: 13px; text-wrap: balance; }
body.pnt-lebendig .pnt-tagesuhr__legende ol { list-style: none; counter-reset: pnt-uhr; margin: 26px 0 0; padding: 0; }
body.pnt-lebendig .pnt-tagesuhr__legende li { counter-increment: pnt-uhr; position: relative; margin: 0 0 14px; padding-left: 42px; color: var(--pnt-ink-2); line-height: 1.55; }
body.pnt-lebendig .pnt-tagesuhr__legende li::before {
	content: counter(pnt-uhr);
	position: absolute;
	left: 0;
	top: -1px;
	width: 27px;
	height: 27px;
	border-radius: 50%;
	background: var(--pnt-ink);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	display: grid;
	place-items: center;
}
@media (max-width: 900px) {
	body.pnt-lebendig .pnt-tagesuhr__grafik { max-width: 360px; }
}

/* ---------- „Womit kommen Sie zu uns?“ – Anlässe als Akkordeon (Startseite) ----------
   Impreza schaltet Reiter mit langen Titeln ohnehin auf Akkordeon um; deshalb bewusst ein Akkordeon in voller
   Breite – größer und flächiger als die FAQ, damit es nicht wie ein zweiter FAQ-Block wirkt. */
body.pnt-lebendig .pnt-anlass-liste { margin-top: 30px; max-width: 980px; border-top: 1px solid var(--pnt-line-strong); }
body.pnt-lebendig .pnt-anlass-liste .w-tabs-section { margin: 0; border: 0; border-bottom: 1px solid var(--pnt-line-strong); }
body.pnt-lebendig .pnt-anlass-liste .w-tabs-section-header { padding: 22px 8px 22px 30px; position: relative; background: none; }
body.pnt-lebendig .pnt-anlass-liste .w-tabs-section-header::before {
	content: "";
	position: absolute;
	left: 6px;
	top: 50%;
	width: 10px;
	height: 10px;
	margin-top: -5px;
	border-radius: 50%;
	background: var(--pnt-line-strong);
	transition: background .25s, transform .25s;
}
body.pnt-lebendig .pnt-anlass-liste .w-tabs-section-header:hover::before,
body.pnt-lebendig .pnt-anlass-liste .w-tabs-section.active .w-tabs-section-header::before { background: var(--pnt-primary); transform: scale(1.2); }
body.pnt-lebendig .pnt-anlass-liste .w-tabs-section-title { font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--pnt-ink); }
body.pnt-lebendig .pnt-anlass-liste .w-tabs-section-control { color: var(--pnt-primary); }
body.pnt-lebendig .pnt-anlass-liste .w-tabs-section-content-h {
	margin: 0 0 22px;
	padding: 28px 32px;
	background: var(--pnt-paper);
	border-radius: var(--pnt-radius-card);
}
body.pnt-lebendig .pnt-anlass-liste .w-tabs-section-content-h > .wpb_text_column:first-child { color: var(--pnt-ink-2); font-size: 17px; line-height: 1.7; margin: 0; }
body.pnt-lebendig .pnt-anlass .pnt-anlass__schritt { margin: 0 0 12px; color: var(--pnt-primary); font-size: 15px; font-weight: 800; }
body.pnt-lebendig .pnt-anlass-liste .w-tabs-section-content { padding: 0; }
body.pnt-lebendig .pnt-anlass-liste .w-btn { white-space: nowrap; }
@media (min-width: 901px) {
	/* Text links, erster Schritt mit Knopf rechts */
	body.pnt-lebendig .pnt-anlass-liste .w-tabs-section-content-h { display: grid; grid-template-columns: 1fr 290px; column-gap: 44px; align-content: start; }
	body.pnt-lebendig .pnt-anlass-liste .w-tabs-section-content-h > .wpb_text_column:first-child { grid-row: 1 / span 2; }
	body.pnt-lebendig .pnt-anlass-liste .w-tabs-section-content-h > .pnt-anlass__schritt,
	body.pnt-lebendig .pnt-anlass-liste .w-tabs-section-content-h > .pnt-actions { grid-column: 2; align-self: start; }
	body.pnt-lebendig .pnt-anlass-liste .pnt-actions { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) {
	body.pnt-lebendig .pnt-anlass-liste .w-tabs-section-title { font-size: 18px; }
	body.pnt-lebendig .pnt-anlass-liste .w-tabs-section-content-h { padding: 22px; }
	body.pnt-lebendig .pnt-anlass .pnt-anlass__schritt { margin-top: 18px; }
}

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: no-preference) {
	/* Uhr: äußerer Überwachungsring dreht langsam (rund um die Uhr im Blick) */
	body.pnt-lebendig .pnt-tagesuhr__ueberwachung { transform-box: fill-box; transform-origin: center; animation: pnt-drehen 90s linear infinite; }
	@keyframes pnt-drehen { to { transform: rotate(360deg); } }
	/* Statuskarte: Warnung pulsiert dezent */
	body.pnt-lebendig .pnt-statuskarte__liste li.pnt-warn::before { animation: pnt-puls 2.4s ease-in-out infinite; }
	@keyframes pnt-puls { 50% { box-shadow: 0 0 0 6px rgba(var(--pnt-dark-2-rgb), 0); transform: scale(1.15); } }

	/* Hero: Foto zoomt einmal langsam heraus (Wunsch Inhaber, 2026-11-02). Die Bewegung erhöht den Speed Index im
	   Labor (9 s ergaben 5,4 s, 1,6 s ergaben 4,1 s); LCP, INP und CLS bleiben davon unberührt. */
	body.pnt-lebendig .pnt-hero--foto .pnt-bild img { animation: pnt-hero-zoom 8s cubic-bezier(.2, .6, .2, 1) both; }
	@keyframes pnt-hero-zoom { from { transform: scale(1.06); } to { transform: none; } }

	@supports (animation-timeline: view()) {
		/* Nur Nachrücken, kein Ausblenden: Inhalte bleiben sichtbar, auch wenn nie gescrollt wird
		   (Ausdruck, Vorschaudienste, Ganzseiten-Aufnahmen). */
		@keyframes pnt-einblenden { from { transform: translateY(32px); } to { transform: none; } }

		/* Spalten der Abschnitte (nicht Hero, Leiste, Footer) und Blogkarten rücken beim Hereinscrollen nach,
		   nebeneinanderliegende leicht versetzt. Feste Strecke statt Prozent: Auch hohe Textspalten sind voll
		   sichtbar, sobald ihre Oberkante 180 px im Bild ist. */
		body.pnt-lebendig .l-main .l-section:not(.pnt-hero):not(.pnt-pillars):not(.pnt-subhero--foto) > .l-section-h > .g-cols > .wpb_column,
		body.pnt-lebendig .pnt-cards .pnt-card,
		body.pnt-lebendig .pnt-posts .w-grid-item {
			animation: pnt-einblenden linear both;
			animation-timeline: view();
			animation-range: entry 0px entry 180px;
		}
		body.pnt-lebendig .pnt-cards .pnt-card:nth-child(3n + 2),
		body.pnt-lebendig .pnt-posts .w-grid-item:nth-child(3n + 2),
		body.pnt-lebendig .l-main .l-section:not(.pnt-hero):not(.pnt-pillars):not(.pnt-subhero--foto) > .l-section-h > .g-cols > .wpb_column:nth-child(2) {
			animation-range: entry 40px entry 220px;
		}
		body.pnt-lebendig .pnt-cards .pnt-card:nth-child(3n),
		body.pnt-lebendig .pnt-posts .w-grid-item:nth-child(3n),
		body.pnt-lebendig .l-main .l-section:not(.pnt-hero):not(.pnt-pillars):not(.pnt-subhero--foto) > .l-section-h > .g-cols > .wpb_column:nth-child(3) {
			animation-range: entry 80px entry 260px;
		}

		/* Ablauf: Die Linien über den Schritten füllen sich beim Scrollen nacheinander grün – Schritt 1, dann 2, 3, 4
		   (Wunsch Inhaber). Gemeinsame Zeitleiste der ganzen Schritt-Zeile, jeder Schritt bekommt einen eigenen
		   Abschnitt darin; mit je eigener Zeitleiste liefen die nebeneinanderliegenden Schritte gleichzeitig. */
		body.pnt-lebendig .g-cols.pnt-steps { view-timeline-name: --pnt-ablauf; }
		@keyframes pnt-linie { from { transform: scaleX(0); } to { transform: scaleX(1); } }
		body.pnt-lebendig .pnt-step > .vc_column-inner > .wpb_wrapper::after {
			content: "";
			position: absolute;
			top: -2px;
			left: 0;
			width: 100%;
			height: 2px;
			background: var(--pnt-primary);
			transform-origin: left;
			animation: pnt-linie linear both;
			animation-timeline: --pnt-ablauf;
			animation-range: cover 15% cover 27%;
		}
		body.pnt-lebendig .pnt-steps > .pnt-step:nth-child(2) > .vc_column-inner > .wpb_wrapper::after { animation-range: cover 27% cover 39%; }
		body.pnt-lebendig .pnt-steps > .pnt-step:nth-child(3) > .vc_column-inner > .wpb_wrapper::after { animation-range: cover 39% cover 51%; }
		body.pnt-lebendig .pnt-steps > .pnt-step:nth-child(4) > .vc_column-inner > .wpb_wrapper::after { animation-range: cover 51% cover 63%; }
		body.pnt-lebendig .pnt-step > .vc_column-inner > .wpb_wrapper::before { z-index: 1; }
	}
}

@media print {
	body.pnt-lebendig *,
	body.pnt-lebendig *::before,
	body.pnt-lebendig *::after { animation: none !important; transition: none !important; }
}
