/*
Theme Name: PlenarIT 2026
Theme URI: https://plenarit.com
Author: PlenarIT AG
Description: One-Page-Theme für PlenarIT AG mit 3D-Kugel, Methoden-Puzzle, Themenabschnitten, Kontaktformular (Contact Form 7) und Polylang-Unterstützung. Keine externen Dienste ausser der OpenStreetMap-Karte.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
License: Proprietary (Theme-Code); Schrift Lato: SIL Open Font License 1.1
Text Domain: plenarit
*/

/* ---------- Fonts (lokal) ---------- */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/lato-300.woff") format("woff"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/lato-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/lato-700.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
	--pi-ink: #1B2B44;
	--pi-text: #3A4656;
	--pi-muted: #5B6878;
	--pi-accent: #2E6DB4;
	--pi-accent-dark: #245C9A;
	--pi-tint: #F2F5F9;
	--pi-hero: #F5F8FB;
	--pi-warm: #F7F3EA;
	--pi-brown: #845B51;
	--pi-beige: #D1C499;
	--pi-line: #E3EAF2;
	--pi-field: #C9D3DF;
	--pi-white: #FFFFFF;
	--pi-header-h: 76px;
	--pi-wrap: 1200px;
	--pi-gutter: 48px;
	--pi-section-y: 96px;
}
@media (max-width: 899px) {
	:root { --pi-gutter: 24px; --pi-section-y: 56px; --pi-header-h: 64px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--pi-header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--pi-white); color: var(--pi-text); font-family: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; font-weight: 400; }
img, svg, canvas, iframe { display: block; max-width: 100%; }
a { color: var(--pi-accent); }
a:hover { color: var(--pi-accent-dark); }
:focus-visible { outline: 3px solid var(--pi-accent); outline-offset: 2px; }
h1, h2, h3 { margin: 0; color: var(--pi-ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.pi-wrap { width: 100%; max-width: calc(var(--pi-wrap) + 2 * var(--pi-gutter)); margin: 0 auto; padding: 0 var(--pi-gutter); }
.pi-wrap--text { max-width: calc(760px + 2 * var(--pi-gutter)); }
.pi-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--pi-white); padding: 8px 16px; }
.pi-skip:focus { left: 8px; }

.pi-eyebrow { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: 0.14em; line-height: 1.5; text-transform: uppercase; color: var(--pi-accent); }
.pi-h2 { font-size: clamp(28px, 2.6vw, 38px); font-weight: 700; line-height: 1.2; }
.pi-h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.pi-prose p { margin: 0 0 1em; }

.pi-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 6px; border: 1.5px solid var(--pi-accent); background: var(--pi-accent); color: var(--pi-white); font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.pi-btn:hover { background: var(--pi-accent-dark); border-color: var(--pi-accent-dark); color: var(--pi-white); }
.pi-btn--ghost { background: rgba(255, 255, 255, .6); color: var(--pi-accent); }
.pi-btn--ghost:hover { background: #EAF1F9; color: var(--pi-accent-dark); }
.pi-btn--small { min-height: 40px; padding: 0 20px; font-size: 15px; }

/* ---------- Header ---------- */
.pi-header { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--pi-header-h); background: rgba(255, 255, 255, .82); border-bottom: 1px solid var(--pi-line); backdrop-filter: saturate(140%) blur(6px); -webkit-backdrop-filter: saturate(140%) blur(6px); transition: height .25s, background .25s, box-shadow .25s; }
.pi-header.is-scrolled { --pi-header-h: 64px; background: rgba(255, 255, 255, .97); box-shadow: 0 2px 16px rgba(27, 43, 68, .06); }
.pi-header__inner { height: 100%; max-width: calc(var(--pi-wrap) + 2 * var(--pi-gutter)); margin: 0 auto; padding: 0 var(--pi-gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pi-logo img { height: 40px; width: auto; transition: height .25s; }
.pi-header.is-scrolled .pi-logo img { height: 34px; }

.pi-nav { display: flex; align-items: center; gap: 28px; }
.pi-nav__list { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.pi-nav__list a, .pi-nav__subtoggle { color: var(--pi-ink); text-decoration: none; font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .01em; background: none; border: 0; padding: 8px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.pi-nav__list a:hover, .pi-nav__subtoggle:hover, .pi-nav__list a.is-active { color: var(--pi-accent); }
.pi-nav__has-sub { position: relative; }
.pi-nav__sub { position: absolute; top: 100%; left: -16px; min-width: 240px; margin: 0; padding: 10px 0; list-style: none; background: var(--pi-white); border: 1px solid var(--pi-line); border-radius: 8px; box-shadow: 0 12px 32px rgba(27, 43, 68, .10); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.pi-nav__sub a { display: block; padding: 8px 18px; font-weight: 400; }
.pi-nav__has-sub.is-open .pi-nav__sub { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1000px) {
	.pi-nav__has-sub:hover .pi-nav__sub { opacity: 1; visibility: visible; transform: none; }
}
.pi-nav__has-sub.is-open .pi-nav__subtoggle svg { transform: rotate(180deg); }

.pi-lang { display: flex; align-items: center; margin: 0; padding: 0 0 0 24px; list-style: none; border-left: 1px solid #D3DCE6; font-size: 14px; }
.pi-lang li + li::before { content: "|"; color: #A3B0BF; padding: 0 8px; }
.pi-lang a { color: var(--pi-muted); text-decoration: none; }
.pi-lang a.is-current { color: var(--pi-accent); font-weight: 700; }
.pi-lang--mobile { display: none; }

.pi-burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.pi-burger span { display: block; height: 2px; background: var(--pi-ink); border-radius: 2px; transition: transform .2s, opacity .2s; }

@media (max-width: 999px) {
	/* backdrop-filter would make the fixed menu panel relative to the header, so it is off on small screens */
	.pi-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .96); }
	.pi-burger { display: flex; }
	.pi-nav { position: fixed; top: var(--pi-header-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--pi-gutter) 40px; background: var(--pi-white); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
	.pi-header.is-open .pi-nav { visibility: visible; opacity: 1; }
	.pi-header.is-open .pi-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.pi-header.is-open .pi-burger span:nth-child(2) { opacity: 0; }
	.pi-header.is-open .pi-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.pi-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.pi-nav__list > li { border-bottom: 1px solid var(--pi-line); }
	.pi-nav__list a, .pi-nav__subtoggle { width: 100%; padding: 14px 0; font-size: 17px; }
	.pi-nav__subtoggle svg { display: none; }
	.pi-nav__sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 10px 14px; min-width: 0; }
	.pi-nav__sub a { padding: 8px 0; }
	.pi-lang--desktop { display: none; }
	.pi-lang--mobile { display: flex; border-left: 0; padding: 4px 0 14px; font-size: 16px; border-bottom: 1px solid var(--pi-line); }
}

body:not(.pi-onepage) .pi-main { padding-top: var(--pi-header-h); }

/* ---------- Sections ---------- */
.pi-section { padding: var(--pi-section-y) 0; background: var(--pi-white); }
.pi-section--tint { background: var(--pi-tint); }
.pi-section__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; max-width: 820px; }

/* Rotating key sentences: all sentences share one grid cell, so the height never jumps. */
.pi-rotator { display: grid; }
.pi-kern { grid-area: 1 / 1; margin: 0; opacity: 0; transition: opacity 1.2s ease; color: var(--pi-ink); }
.pi-kern.is-active { opacity: 1; }
.pi-rotator--section .pi-kern { font-size: clamp(21px, 2vw, 26px); font-weight: 300; line-height: 1.35; }

/* ---------- Hero ---------- */
.pi-hero { position: relative; overflow: hidden; min-height: max(640px, 100vh); min-height: max(640px, 100svh); padding-top: var(--pi-header-h); display: flex; align-items: center; background: var(--pi-hero); }
.pi-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pi-sph { position: absolute; left: 50%; top: 50%; width: 700px; height: 700px; pointer-events: none; transform: translate(-50%, -50%) translateX(27vw) scale(.66); opacity: .70; }
.pi-sph__still, .pi-sph__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pi-sph__canvas { opacity: 0; transition: opacity .8s ease; }
.pi-sph.has-3d .pi-sph__canvas { opacity: 1; }
.pi-sph.has-3d .pi-sph__still { opacity: 0; transition: opacity .8s ease; }
.pi-hero__slogan { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 0 var(--pi-gutter); pointer-events: none; opacity: 0; }
.pi-hero__slogan p { margin: 0; max-width: 1060px; text-align: center; font-size: clamp(34px, 4.2vw, 60px); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; color: var(--pi-ink); }
.pi-hero__content { position: relative; z-index: 3; padding-top: 48px; padding-bottom: 96px; }
.pi-hero__text { max-width: 720px; display: flex; flex-direction: column; gap: 28px; }
.pi-rotator--hero .pi-kern { font-size: clamp(32px, 3.4vw, 48px); font-weight: 300; line-height: 1.14; }
.pi-hero__lead { max-width: 640px; font-size: 19px; line-height: 1.6; }
.pi-hero__buttons { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }

/* Intro sequence (first visit per browser session) */
html:not(.pi-intro-done) .pi-sph { animation: piSph 5.2s cubic-bezier(.45, .05, .25, 1) both; }
html:not(.pi-intro-done) .pi-hero__slogan { animation: piSlg 5.2s ease both; }
html:not(.pi-intro-done) .pi-hero__rise { opacity: 0; animation: piRise .9s ease forwards; }
html:not(.pi-intro-done) .pi-d1 { animation-delay: 3.8s; }
html:not(.pi-intro-done) .pi-d2 { animation-delay: 4.05s; }
html:not(.pi-intro-done) .pi-d3 { animation-delay: 4.3s; }
html:not(.pi-intro-done) .pi-d4 { animation-delay: 4.55s; }
@keyframes piSph {
	0% { opacity: .10; transform: translate(-50%, -50%) scale(.01); }
	30% { opacity: .10; transform: translate(-50%, -50%) scale(1); }
	64% { opacity: .10; transform: translate(-50%, -50%) scale(1); }
	100% { opacity: .70; transform: translate(-50%, -50%) translateX(27vw) scale(.66); }
}
@keyframes piSlg {
	0%, 26% { opacity: 0; transform: translateY(12px); }
	34%, 64% { opacity: 1; transform: none; }
	72%, 100% { opacity: 0; transform: translateY(-28px); }
}
@keyframes piRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 1199px) and (min-width: 900px) {
	.pi-sph { opacity: .45; }
	@keyframes piSph {
		0% { opacity: .10; transform: translate(-50%, -50%) scale(.01); }
		30%, 64% { opacity: .10; transform: translate(-50%, -50%) scale(1); }
		100% { opacity: .45; transform: translate(-50%, -50%) translateX(27vw) scale(.66); }
	}
	.pi-hero__text { max-width: 600px; }
}
@media (max-width: 899px) {
	.pi-sph { width: 560px; height: 560px; opacity: .16; transform: translate(-50%, -50%) translateY(-4%) scale(.95); }
	@keyframes piSph {
		0% { opacity: .10; transform: translate(-50%, -50%) scale(.01); }
		32%, 62% { opacity: .10; transform: translate(-50%, -50%) scale(1); }
		100% { opacity: .16; transform: translate(-50%, -50%) translateY(-4%) scale(.95); }
	}
	html:not(.pi-intro-done) .pi-sph, html:not(.pi-intro-done) .pi-hero__slogan { animation-duration: 3.4s; }
	html:not(.pi-intro-done) .pi-d1 { animation-delay: 2.4s; }
	html:not(.pi-intro-done) .pi-d2 { animation-delay: 2.6s; }
	html:not(.pi-intro-done) .pi-d3 { animation-delay: 2.8s; }
	html:not(.pi-intro-done) .pi-d4 { animation-delay: 3s; }
	.pi-eyebrow { font-size: 12px; letter-spacing: .12em; }
	.pi-hero__content { padding-top: 24px; padding-bottom: 56px; }
	.pi-hero__text { gap: 22px; }
	.pi-hero__lead { font-size: 16px; }
	.pi-hero__buttons { flex-direction: column; }
	.pi-hero__buttons .pi-btn { width: 100%; }
}

/* ---------- Method ---------- */
.pi-ring { position: relative; width: min(720px, 100%); aspect-ratio: 1; margin: 24px auto 48px; }
.pi-ring__svg { width: 100%; height: 100%; overflow: visible; }
.pi-ring__piece { stroke: var(--pi-white); stroke-width: 4; stroke-linejoin: round; transform-origin: 50% 50%; transform-box: view-box; transition: filter .2s; }
.pi-ring__label { position: absolute; width: 22%; translate: -50% -50%; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; text-decoration: none; }
.pi-ring__title { font-size: 18px; font-weight: 700; line-height: 1.2; color: var(--pi-ink); }
.pi-ring__line { font-size: 13.5px; line-height: 1.4; color: var(--pi-text); }
.pi-ring__label:hover .pi-ring__title { color: var(--pi-accent); }
.pi-ring__label--center { width: 27%; }
.pi-ring__label--center .pi-ring__title { color: var(--pi-white); font-size: 19px; }
.pi-ring__label--center .pi-ring__line { color: #F3ECDC; }
.pi-ring__label--center:hover .pi-ring__title { color: var(--pi-white); text-decoration: underline; }
html.js-reveal .pi-ring .pi-ring__piece, html.js-reveal .pi-ring .pi-ring__label { opacity: 0; }
html.js-reveal .pi-ring.is-visible .pi-ring__piece { animation: piPiece .8s ease var(--d) both; }
html.js-reveal .pi-ring.is-visible .pi-ring__label { animation: piRise .7s ease calc(var(--d) + .3s) both; }
html.js-reveal .pi-ring.pi-reveal { opacity: 1; transform: none; }
@keyframes piPiece { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

.pi-chain { display: none; list-style: none; margin: 24px 0 40px; padding: 0; }
.pi-chain__item { position: relative; }
.pi-chain__item svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pi-chain__item path { stroke: var(--pi-white); stroke-width: 4; stroke-linejoin: round; }
.pi-chain__item a { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 70%; height: 100%; padding-left: 5.5%; text-decoration: none; }
.pi-chain__item .pi-ring__title { font-size: 17px; }
.pi-chain__item--center .pi-ring__title { color: var(--pi-white); }
.pi-chain__item--center .pi-ring__line { color: #F3ECDC; }

.pi-method__band { max-width: 820px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--pi-line); text-align: center; font-size: 17px; }

@media (max-width: 899px) {
	.pi-ring { display: none; }
	.pi-chain { display: block; }
	.pi-method__band { text-align: left; font-size: 15px; }
}

/* ---------- Topics ---------- */
.pi-topic__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "media head" "media body"; grid-template-rows: auto 1fr; column-gap: 64px; row-gap: 24px; align-items: start; }
.pi-topic--flip .pi-topic__grid { grid-template-areas: "head media" "body media"; }
.pi-topic__head { grid-area: head; display: flex; flex-direction: column; gap: 14px; align-self: end; }
.pi-topic__media { grid-area: media; margin: 0; align-self: center; }
.pi-topic__media img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: 10px; background: var(--pi-tint); }
.pi-topic__body { grid-area: body; max-width: 560px; }
.pi-points { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pi-points li { position: relative; padding-left: 22px; font-weight: 700; color: var(--pi-ink); font-size: 15.5px; }
.pi-points li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--pi-brown); transform: rotate(45deg); }
@media (max-width: 899px) {
	.pi-topic__grid, .pi-topic--flip .pi-topic__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "body"; grid-template-rows: auto; }
}

/* ---------- Why ---------- */
.pi-why { background: var(--pi-warm); }
.pi-tiles { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pi-tile { background: var(--pi-white); border: 1px solid #E8DFCB; border-radius: 10px; padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.pi-tile__icon { width: 34px; height: 34px; }
.pi-why__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; font-size: 19px; color: var(--pi-ink); }
.pi-why__cta p { margin: 0; }
@media (max-width: 1099px) { .pi-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .pi-tiles { grid-template-columns: minmax(0, 1fr); } .pi-why__cta { font-size: 17px; } }

/* ---------- Contact ---------- */
.pi-contact__wrap { max-width: calc(820px + 2 * var(--pi-gutter)); }
.pi-contact__sub { font-size: 18px; }
.pi-contact__grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 48px; align-items: start; }
.pi-contact__place { display: flex; flex-direction: column; gap: 12px; }
.pi-address { font-style: normal; display: flex; flex-direction: column; color: var(--pi-ink); }
.pi-map { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; border: 1px solid var(--pi-line); background: var(--pi-tint); }
.pi-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(.95); }
.pi-map__link { font-size: 14px; }
@media (max-width: 799px) { .pi-contact__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* Contact Form 7 */
.pi-form { display: flex; flex-direction: column; gap: 16px; }
.pi-form-row { display: grid; gap: 16px; }
.pi-form-row--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 479px) { .pi-form-row--2 { grid-template-columns: minmax(0, 1fr); } }
.pi-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: var(--pi-ink); }
.pi-form .wpcf7-form-control-wrap { display: block; }
.pi-form input[type="text"], .pi-form input[type="email"], .pi-form input[type="tel"], .pi-form textarea { width: 100%; min-height: 36px; padding: 6px 10px; border: 1px solid var(--pi-field); border-radius: 4px; background: var(--pi-white); color: var(--pi-ink); font: inherit; font-size: 15px; font-weight: 400; }
.pi-form textarea { min-height: 150px; resize: vertical; }
.pi-form input:focus, .pi-form textarea:focus { border-color: var(--pi-accent); outline: 2px solid rgba(46, 109, 180, .25); outline-offset: 0; }
.pi-form .wpcf7-submit { display: inline-flex; min-height: 44px; padding: 0 28px; border-radius: 6px; border: 0; background: var(--pi-accent); color: var(--pi-white); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.pi-form .wpcf7-submit:hover { background: var(--pi-accent-dark); }
.pi-form-hint { font-size: 13px; color: var(--pi-muted); }
.pi-form .wpcf7-spinner { margin: 0 0 0 12px; }
.wpcf7-not-valid-tip { font-size: 13px; font-weight: 400; color: #B3261E; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 10px 14px; border-radius: 6px; font-size: 14px; }

/* ---------- Pages (Rechtliches) ---------- */
.pi-page { padding: 72px 0 96px; }
.pi-page__title { font-size: clamp(30px, 3vw, 40px); margin-bottom: 32px; }
.pi-prose h2 { font-size: 24px; margin: 40px 0 12px; }
.pi-prose h3 { font-size: 19px; margin: 28px 0 8px; }

/* ---------- Footer ---------- */
.pi-footer { background: var(--pi-tint); border-top: 1px solid var(--pi-line); padding: 28px 0; font-size: 14px; color: var(--pi-muted); }
.pi-footer__inner { max-width: calc(var(--pi-wrap) + 2 * var(--pi-gutter)); margin: 0 auto; padding: 0 var(--pi-gutter); display: flex; align-items: center; gap: 32px; }
.pi-footer p { margin: 0; }
.pi-logo--footer img { height: 32px; }
.pi-footer__legal { margin-left: auto !important; }
.pi-footer a { color: var(--pi-ink); }
@media (max-width: 639px) {
	.pi-footer__inner { flex-direction: column; gap: 10px; text-align: center; }
	.pi-footer__legal { margin-left: 0 !important; }
}

/* ---------- Cookie notice ---------- */
.pi-cookie { position: fixed; left: 50%; bottom: 16px; z-index: 60; width: min(720px, calc(100% - 32px)); transform: translateX(-50%); display: flex; align-items: center; gap: 16px 24px; padding: 14px 18px; background: var(--pi-white); border: 1px solid var(--pi-line); border-radius: 10px; box-shadow: 0 10px 32px rgba(27, 43, 68, .14); font-size: 14px; }
.pi-cookie[hidden] { display: none; }
.pi-cookie p { margin: 0; flex: 1; }
@media (max-width: 539px) { .pi-cookie { flex-direction: column; align-items: stretch; } }

/* ---------- Reveal on scroll (desktop only) ---------- */
html.js-reveal .pi-reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
html.js-reveal .pi-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	html:not(.pi-intro-done) .pi-sph, html:not(.pi-intro-done) .pi-hero__slogan, html:not(.pi-intro-done) .pi-hero__rise { animation: none !important; }
	html:not(.pi-intro-done) .pi-hero__rise { opacity: 1; }
	.pi-move { display: none; }
	.pi-kern { transition: none; }
}
