/* =====================================================
   AVENIR PROFI AUF ZEIT + COMMUNITY
   Design-Tokens (Farben/Schrift) unverändert aus der Vorgänger-Version
   übernommen - nur die Gestaltung/Struktur wurde modernisiert.
   Header/Footer bleiben nah am übrigen avenirgroup.ch (Kalkulator),
   damit die Seite sich konsistent einfügt.
   ===================================================== */

/* --- Design Tokens (Farben unverändert) --------------------------------------- */
:root {
  --color-neon-green: #cad407;
  --color-dark-neon-green: #9ca11f;
  --color-black: #242325;
  --color-anthrazit: #5b585d;
  --color-light-gray: #e4e4e4;
  --color-gray: #c0c0c0;
  --color-bg-light: #f4f4f4;
  --color-footer-dark: #4d4d4d;
  --color-white: #ffffff;

  --color-blue: #3ea5d9;
  --color-teal: #74c0b9;
  --color-orange: #dc965a;
  --color-gemeinde: var(--color-anthrazit);
  --color-scm: #8a6fa8; /* Supply Chain - noch nicht im CD, bei Bedarf mit Marketing abstimmen */

  --font-primary: 'Calibri', 'Carlito', 'Trebuchet MS', Arial, sans-serif;
  --container-max: 1200px;

  --surface: var(--color-white);
  --surface-2: var(--color-bg-light);
  --surface-3: #fbfcf0;
  --line: var(--color-light-gray);
  --line-strong: var(--color-gray);
  --text: var(--color-black);
  --text-muted: var(--color-anthrazit);
  --header-bg: rgba(255, 255, 255, 0.9);
  --dots: var(--color-gray);
  --switch-hover: #e8e9e5;
  --total-bg: var(--color-anthrazit);
  --total-muted: #d5d3d6;
  --focus: var(--color-blue);
  --shadow: rgba(36, 35, 37, .08);
  --shadow-lg: rgba(36, 35, 37, .14);
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

html[data-theme="dark"] {
  --surface: #1c1b1d;
  --surface-2: #262528;
  --surface-3: #2c2e1f;
  --line: #333235;
  --line-strong: #4a494c;
  --text: #ececec;
  --text-muted: #a9a7ab;
  --header-bg: rgba(28, 27, 29, 0.92);
  --dots: #3a393c;
  --switch-hover: #323134;
  --total-bg: #2e2d30;
  --total-muted: #b5b3b7;
  --focus: #7ac9f1;
  --shadow: rgba(0, 0, 0, .4);
  --shadow-lg: rgba(0, 0, 0, .5);
  --color-footer-dark: #151416;
  --color-neon-green: #b3bb2f;
  --color-dark-neon-green: #cbd35a;
  --accent-text: #cbd35a;
  --accent-tint: rgba(179, 187, 47, .16);
  --accent-tint-line: rgba(179, 187, 47, .45);
  --color-gemeinde: #a9a7ab;
  --color-scm: #b4a2d0;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-primary);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background-color: var(--surface);
  transition: background-color .25s, color .25s;
  overflow-x: clip;
}
/* Grundschicht gegen Theme-CSS: das WordPress-Theme lädt über wp_head()
   mit und setzt feste (helle-Modus-)Farben auf html/body, Überschriften,
   Absätze und Listen. Ohne diese Schicht bleiben im Darkmode dunkle Texte
   auf dunklem Grund stehen. Element-Selektoren mit "html body" schlagen
   die Theme-Regeln, verlieren aber gegen jede eigene .pz-Klasse. */
html { background-color: var(--surface) !important; }
html body { background-color: var(--surface) !important; color: var(--text) !important; }
html body :is(h1, h2, h3, h4, h5, h6, p, li, label, summary, strong, b, em, small, blockquote, figcaption, dt, dd) { color: inherit; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
/* Theme-Linkstile (gepunktete Unterstreichung/Rahmen) für diese Seite
   neutralisieren - Unterstreichungen hier nur durchgezogen. */
html body a:not(.btn) { text-decoration: none; border-bottom: 0 !important; background-image: none; box-shadow: none; text-decoration-style: solid !important; }
svg { display: block; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

/* =====================================================
   HEADER
   ===================================================== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  height: 72px; display: flex; align-items: center; padding: 0 64px;
}
.header__inner {
  max-width: var(--container-max); padding-inline: 10px 20px; width: 100%;
  margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
}
.header__logo { display: flex; align-items: center; flex-shrink: 0; }
.header__logo img {
  object-fit: contain; object-position: left center;
  max-width: none !important; flex-shrink: 0;
}
.header__logo .header__logo-img--light { width: 139px !important; height: 53px !important; margin-left: -15px; }
.header__logo .header__logo-img--dark  { width: 111px !important; height: 32px !important; display: none; }
html[data-theme="dark"] .header__logo-img--light { display: none; }
html[data-theme="dark"] .header__logo-img--dark  { display: block; }

.header__nav { display: flex; align-items: center; gap: 22px; }
.header__nav-links { display: flex; gap: 24px; list-style: none; font-weight: 700; font-size: 15px; }
.header__nav-links a { color: var(--text); transition: color 0.2s; position: relative; }
.header__nav-links a:hover { color: var(--color-dark-neon-green); }
.header__utils { display: flex; align-items: center; gap: 6px; padding-left: 22px; border-left: 1px solid var(--line); }

.header button, .mobile-menu button { color: var(--text); }

/* --- Button --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-primary); font-weight: 700; font-size: 16px; line-height: 1.27;
  border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer;
  text-decoration: none; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s, background-color .18s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-neon-green); color: var(--color-black);
  border: 1px solid var(--color-neon-green); padding: 12px 26px; height: 46px;
}
.btn--primary:hover { border-color: var(--color-black); transform: translateY(-1px); box-shadow: 0 8px 18px var(--shadow); }
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--line-strong); padding: 11px 25px; height: 46px;
}
.btn--ghost:hover { border-color: var(--text); transform: translateY(-1px); box-shadow: 0 8px 18px var(--shadow); }
.btn--nav {
  background: var(--color-neon-green); color: var(--color-black);
  padding: 10px 18px; height: auto; border: 1px solid var(--color-neon-green); font-size: 15px; gap: 8px;
}
.btn--nav:hover { border-color: var(--color-black); }
.btn__icon { width: 19px; height: 19px; flex-shrink: 0; }
.btn__arrow { width: 18px; height: 18px; flex-shrink: 0; transition: transform .2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* --- Theme-Schalter --- */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0; margin: 0; line-height: 0;
  border-radius: 50%; border: none; background: transparent; color: var(--text-muted);
  cursor: pointer; flex-shrink: 0; transition: background .2s, color .2s;
  -webkit-appearance: none; appearance: none;
}
.theme-toggle:hover { background: var(--surface-2); color: var(--text); }
.theme-toggle svg { display: block; width: 17px; height: 17px; margin: 0; }
.theme-toggle .theme-toggle__moon { display: block; }
.theme-toggle .theme-toggle__sun  { display: none; }
html[data-theme="dark"] .theme-toggle .theme-toggle__moon { display: none; }
html[data-theme="dark"] .theme-toggle .theme-toggle__sun  { display: block; }

/* =====================================================
   HAMBURGER + MOBILE MENU
   ===================================================== */
.header__hamburger {
  display: none; flex-direction: column; gap: 6px; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; padding: 8px; border-radius: 4px;
  width: 44px; height: 44px; flex-shrink: 0;
}
.header__hamburger-bar {
  display: block; width: 24px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform .35s ease, opacity .25s ease; transform-origin: center;
}
.header__hamburger--open .header__hamburger-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header__hamburger--open .header__hamburger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header__hamburger--open .header__hamburger-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; overflow: hidden; z-index: 99;
  background: var(--header-bg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 72px 40px 40px; display: flex; flex-direction: column;
  opacity: 0; pointer-events: none; transform: scale(.96); transform-origin: center;
  transition: opacity .3s ease, transform .3s ease;
}
.mobile-menu--open { opacity: 1; pointer-events: all; transform: scale(1); }
.mobile-menu__nav { flex: 1; min-height: 0; overflow-y: auto; }
.mobile-menu__links { list-style: none; display: flex; flex-direction: column; padding-top: 48px; }
.mobile-menu__link {
  display: block; font-family: var(--font-primary); font-weight: 700; font-size: 21px;
  color: var(--text); padding: 16px 0; border-bottom: 1px solid var(--line);
  transition: color .2s; text-decoration: none;
}
.mobile-menu__link:first-child { border-top: 1px solid var(--line); }
.mobile-menu__link:hover { color: var(--color-dark-neon-green); }
.mobile-menu__cta-wrap { display: none; flex-shrink: 0; padding: 16px 0 24px; }
.mobile-menu__cta-btn { width: 100%; justify-content: center; }

@media (max-width: 1199px) {
  .header { padding: 0 32px; }
  .header__nav-links { display: none; }
  .header__hamburger { display: flex; }
}
@media (max-width: 767px) {
  .header { padding: 0 20px; }
  .header__cta-btn { display: none; }
  .mobile-menu__cta-wrap { display: block; }
  .mobile-menu { padding: 76px 24px 0 24px; }
  .mobile-menu__cta-btn { font-size: 16px; padding: 14px 20px; }
}

/* =====================================================
   REVEAL-ON-SCROLL (progressive enhancement)
   ===================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================
   HERO / BEREICHSWAHL
   ===================================================== */
/* Keine Mindesthöhe mehr: Einstieg (Bereiche + Profi-Karte + Vertrauens-
   leiste) soll auf einen Laptop-Bildschirm passen. */
.pz-hero {
  margin: 0 !important;
  padding: 44px 0 56px; background: var(--surface-2);
  position: relative; overflow: hidden;
}
.pz-hero__dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--dots) 1.5px, transparent 1.5px);
  background-size: 24px 24px; opacity: 0.35;
}
.pz-hero__inner { position: relative; max-width: 880px; margin: 0 auto; text-align: center; }
.pz-eyebrow {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.82px; color: var(--color-dark-neon-green); margin-bottom: 16px;
}
.pz-hero__headline { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.06; font-weight: 700; margin-bottom: 16px; letter-spacing: -.02em; }
.pz-hero__text { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: var(--text-muted); max-width: 760px; margin: 0 auto; }

/* --- Zweigeteilter Einstieg: links Unternehmen, rechts Profis --- */
.pz-entry {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px;
  max-width: 1180px; margin: 40px auto 0; position: relative; align-items: stretch;
}
.pz-entry__clients, .pz-entry__pros { display: flex; flex-direction: column; min-width: 0; }
/* Spaltenüberschriften: dunkler, etwas grösser, mit kurzem Farbstrich
   davor (Grün für Unternehmen, Orange für Profis wie der Kartenbalken). */
.pz-entry__label {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.6px;
  color: var(--text); margin-bottom: 14px;
}
.pz-entry__label::before {
  content: ''; flex-shrink: 0; width: 22px; height: 3px; border-radius: 2px;
  background: var(--color-neon-green);
}
.pz-entry__pros .pz-entry__label::before { background: var(--color-orange); }
/* Fünf Bereiche + Kalkulator: zwei Reihen à drei Karten. */
.pz-area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; flex: 1; }

/* Punktraster als Erkennungszeichen (aus dem Avenir-CD, wie im Hero-
   Hintergrund): blasses Feld, eine Ecke in voller Farbe. Beim Hover füllt
   sich das Feld von dieser Ecke her. Farbe über currentColor. */
.pz-dots {
  position: absolute; top: 18px; right: 18px; width: 54px; height: 36px;
  pointer-events: none; color: var(--color-neon-green);
}
.pz-dots::before, .pz-dots::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(currentColor 1.6px, transparent 2px);
  background-size: 9px 9px;
}
.pz-dots::before { opacity: .3; }
.pz-dots::after { clip-path: circle(36% at 100% 0); transition: clip-path .55s var(--ease); }

/* Kompakte Bereichskarte: ganze Karte klickbar (button). Bewusst ruhig:
   keine Farbkante, kein Anheben - Farbe nur im Punktraster und in der
   Linie über "Bereich ansehen". */
.pz-area-card {
  --bar: var(--color-blue);
  position: relative;
  appearance: none; -webkit-appearance: none; font: inherit; color: var(--text); text-align: left; cursor: pointer; width: 100%;
  /* Theme-Stile für <button> neutralisieren */
  margin: 0; height: auto; min-height: 0; line-height: normal; text-transform: none; letter-spacing: normal; box-shadow: none;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 22px 22px 18px;
  display: flex; flex-direction: column; gap: 6px;
  /* opacity/transform für .reveal mitführen, sonst überschreibt diese Regel dessen Übergang */
  transition: box-shadow .3s var(--ease), opacity .6s var(--ease), transform .6s var(--ease);
}
.pz-area-card--rav      { --bar: var(--color-teal); }
.pz-area-card--finanz   { --bar: var(--color-dark-neon-green); }
.pz-area-card--gemeinde { --bar: var(--color-gemeinde); }
.pz-area-card--scm      { --bar: var(--color-scm); }
/* Kalkulator-Karte: Link statt Button, Orange wie die Cost of Vacancy im Kalkulator */
.pz-area-card--calc     { --bar: var(--color-orange); text-decoration: none !important; }
/* Kalkulator-Karte leicht abgesetzt: warm getoente Flaeche und kleines
   Label - Rahmen wie bei den Bereichskarten, damit die Reihe ruhig bleibt.
   color-mix mit --surface, damit es im Dark Mode automatisch passt. */
.pz-area-grid .pz-area-card--calc,
.pz-area-grid .pz-area-card--calc:hover,
.pz-area-grid .pz-area-card--calc:focus {
  background: color-mix(in srgb, var(--color-orange) 7%, var(--surface)) !important;
}
.pz-area-card__tag {
  align-self: flex-start; margin-bottom: 2px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
  color: color-mix(in srgb, var(--color-orange) 70%, var(--text));
  background: color-mix(in srgb, var(--color-orange) 16%, var(--surface));
}
.pz-sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pz-area-card .pz-dots { color: var(--bar); }
/* Hover: nur Schatten. Das Theme setzt auf button:hover/:focus eigene
   Rahmen und Outlines - deshalb hier mit !important zurücksetzen. */
.pz-area-card:hover, .pz-area-card:focus {
  border-color: var(--line) !important; outline: none !important;
  background: var(--surface) !important; color: var(--text) !important;
}
.pz-area-card:hover { box-shadow: 0 14px 30px var(--shadow-lg) !important; }
.pz-area-card:focus-visible { outline: 2px solid var(--focus) !important; outline-offset: 3px; }
.pz-area-card:hover .pz-dots::after,
.pz-area-card:focus-visible .pz-dots::after,
.pz-pro-card:hover .pz-dots::after { clip-path: circle(130% at 100% 0); }
.pz-area-card__title { font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; padding-right: 64px; }
.pz-area-card__chips { font-size: 13.5px; line-height: 1.5; color: var(--text-muted); margin-bottom: 10px; }
/* Nur ein kleiner Pfeil unten rechts - die ganze Karte ist klickbar. */
.pz-area-card__more { margin-top: auto; display: flex; justify-content: flex-end; }
.pz-area-card__more svg { width: 18px; height: 18px; color: var(--text-muted); transition: transform .25s var(--ease), color .2s; }
.pz-area-card:hover .pz-area-card__more svg,
.pz-area-card:focus-visible .pz-area-card__more svg { transform: translateX(4px); color: var(--bar); }

/* Profi-Karte: Foto füllend, Text unten auf dunklem Verlauf */
.pz-pro-card {
  position: relative; flex: 1; min-height: 360px; overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface-2); box-shadow: 0 12px 28px var(--shadow);
  display: flex; flex-direction: column; justify-content: flex-end;
  /* Beim Zoom des Fotos liess der Browser an Kanten und Rundungen den
     dunklen Kartenhintergrund durchscheinen (eigene Ebene waehrend der
     Transformation ignoriert das Abrunden). isolation + Maske zwingen
     das Abschneiden auch fuer diese Ebene. */
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}
.pz-pro-card__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
  transition: transform .6s var(--ease);
  backface-visibility: hidden; transform: translateZ(0);
}
.pz-pro-card:hover .pz-pro-card__img { transform: translateZ(0) scale(1.03); }
/* Punktraster über dem Foto: kräftiger, damit es auf hellen Bildstellen sichtbar bleibt */
.pz-pro-card__dots { z-index: 1; top: 20px; right: 20px; color: var(--color-orange); }
.pz-pro-card__dots::before { opacity: .6; }
.pz-pro-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(20, 19, 21, 0) 30%, rgba(20, 19, 21, .55) 55%, rgba(20, 19, 21, .92) 100%);
}
.pz-pro-card__body { position: relative; z-index: 1; padding: 24px 24px 24px; color: #fff; }
.pz-pro-card__title { margin: 0 0 8px !important; font-size: 24px; font-weight: 700; line-height: 1.2; color: #fff !important; }
.pz-pro-card__text { font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .85) !important; margin-bottom: 16px; }
.pz-pro-card__cta { width: 100%; }

/* Vertrauensleiste: bewusst dezent, ohne Box. Oben eine ruhige, zentrierte
   Zeile mit Kennzahlen (Strich-Icons ohne Hintergrund), darunter eine
   kleine Überschrift und ein endlos laufendes, blasses Logo-Band. */
.pz-trust { max-width: 1180px; margin: 44px auto 0; position: relative; }
.pz-trust ul { list-style: none; margin: 0 !important; padding: 0 !important; }
.pz-trust .pz-trust__stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 56px; }
.pz-trust__stats li { display: flex; align-items: center; gap: 12px; margin: 0 !important; }
.pz-trust__icon { flex-shrink: 0; display: flex; color: var(--color-dark-neon-green); }
.pz-trust__icon svg { width: 22px; height: 22px; }
.pz-trust__stat { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.pz-trust__stat strong { font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--text); font-variant-numeric: tabular-nums; }
.pz-trust__stat span { font-size: 13.5px; line-height: 1.35; color: var(--text-muted); }

.pz-trust__label {
  margin: 32px 0 14px; text-align: center;
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.6px;
  color: color-mix(in srgb, var(--text-muted) 80%, transparent);
}
.pz-trust__marquee {
  padding: 4px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
}
.pz-trust__track { display: flex; width: max-content; animation: pz-marquee 45s linear infinite; }
.pz-trust__marquee:hover .pz-trust__track { animation-play-state: paused; }
@keyframes pz-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* padding-right = gap: gleicher Abstand auch am Übergang zwischen den
   beiden Listen-Hälften (sonst kleben letztes und erstes Logo aneinander).
   Selektor mit .pz-trust, damit die Reset-Regel .pz-trust ul nicht greift. */
.pz-trust .pz-trust__logos { display: flex; align-items: center; gap: 88px; padding-right: 88px !important; flex-shrink: 0; }
.pz-trust__logos li { flex-shrink: 0; margin: 0 !important; }
.pz-trust__logos img {
  height: 26px; width: auto; max-width: 120px; object-fit: contain;
  filter: grayscale(1); opacity: .45; mix-blend-mode: multiply; transition: filter .25s, opacity .25s;
}
.pz-trust__logos li:hover img { filter: none; opacity: 1; }
html[data-theme="dark"] .pz-trust__icon { color: var(--accent-text); }
html[data-theme="dark"] .pz-trust__logos img {
  mix-blend-mode: normal; background: #fff; padding: 4px 8px; border-radius: 6px; height: 30px; opacity: .4;
}
html[data-theme="dark"] .pz-trust__logos li:hover img { opacity: .95; }
html[data-theme="dark"] .pz-pro-card { box-shadow: none; }
html[data-theme="dark"] .pz-pro-card__img { filter: brightness(.82); }
.pz-chips { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; margin-top: 10px; margin-bottom: 18px; }
.pz-chips--spaced { margin-top: 16px; }
.pz-chip {
  font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 100px;
  background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--line);
}

/* =====================================================
   APP / VIEWS (Kunden- und Community-Ansicht)
   ===================================================== */
.pz-app { background: var(--surface-2); }
.pz-view { display: none; }
body[data-view="client"] .pz-hero,
body[data-view="community"] .pz-hero { display: none; }
body[data-view="client"] .pz-view--client { display: block; }
body[data-view="community"] .pz-view--community { display: block; }

.pz-workspace-band { position: relative; background: var(--surface); overflow: hidden; border-bottom: 1px solid var(--line); }
.pz-workspace-band::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--dots) 1.5px, transparent 1.5px);
  background-size: 24px 24px; opacity: .28;
  mask-image: linear-gradient(to left, #000 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(to left, #000 0%, transparent 55%);
}
.pz-workspace { position: relative; padding: 28px 0 32px; }
.pz-back-link {
  display: inline-flex; align-items: center; gap: 8px; background: none; border: none; cursor: pointer;
  font-family: var(--font-primary); font-weight: 700; font-size: 13px; color: var(--text-muted);
  padding: 0; margin-bottom: 18px; transition: color .18s;
}
.pz-back-link svg { width: 16px; height: 16px; }
.pz-back-link:hover { color: var(--text); }

.pz-workspace__grid {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: nowrap;
}
.pz-workspace__visual {
  position: relative; flex: 0 0 auto; width: 380px; height: 190px; margin: 0;
  border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 14px 32px var(--shadow); background: var(--surface-2);
}
.pz-workspace__visual--illustration {
  display: flex; align-items: center; justify-content: center; color: var(--color-orange);
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--color-orange) 18%, transparent) 0%, transparent 60%),
    var(--surface-2);
  border: 1px solid var(--line);
}
.pz-workspace__visual--illustration svg { width: 96px; height: 96px; opacity: .85; }
.pz-workspace__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .45s ease;
}
.pz-workspace__img.is-active { opacity: 1; }
html[data-theme="dark"] .pz-workspace__img { filter: brightness(.82) saturate(.9); }
.pz-workspace__badge {
  position: absolute; left: 16px; bottom: 16px; z-index: 1;
  background: var(--surface); color: var(--text); border: 1px solid var(--line);
  border-radius: 100px; padding: 7px 14px; font-size: 13px; font-weight: 700;
  box-shadow: 0 8px 18px var(--shadow); display: none;
}
.pz-workspace__badge:not(:empty) { display: inline-flex; align-items: center; gap: 6px; }
.pz-workspace__badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--color-neon-green); }

.pz-workspace__accent { width: 44px; height: 4px; border-radius: 2px; background: var(--color-neon-green); margin-bottom: 14px; }
.pz-workspace[data-segment="hr"] .pz-workspace__accent     { background: var(--color-blue); }
.pz-workspace[data-segment="rav"] .pz-workspace__accent    { background: var(--color-teal); }
.pz-workspace[data-segment="finanz"] .pz-workspace__accent { background: var(--color-neon-green); }
.pz-workspace[data-segment="gemeinde"] .pz-workspace__accent { background: var(--color-gemeinde); }
.pz-workspace[data-segment="scm"] .pz-workspace__accent { background: var(--color-scm); }
.pz-workspace__accent--community { background: var(--color-orange); }
.pz-workspace h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.pz-workspace p  { font-size: 16.5px; line-height: 1.5; color: var(--text-muted); max-width: 540px; margin-top: 8px; }

.pz-switch {
  display: inline-flex; flex-wrap: wrap; align-items: center; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 3px; gap: 2px; margin-top: 18px;
}
.pz-switch button {
  font-family: var(--font-primary); font-size: 14px; font-weight: 700;
  padding: 8px 18px; border: none; border-radius: 6px; background: transparent;
  color: var(--text-muted); cursor: pointer; transition: all .18s;
}
.pz-switch button:hover { background: var(--switch-hover); color: var(--text); }
.pz-switch button[aria-pressed="true"] { background: var(--color-neon-green); color: var(--text); }

.pz-switch-persona {
  display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin-top: 20px; font-size: 14px; color: var(--text-muted);
}
.pz-switch-persona span { font-weight: 700; color: var(--color-dark-neon-green); transition: color .18s; }
.pz-switch-persona:hover span { text-decoration: underline; }
html[data-theme="dark"] .pz-switch-persona span { color: var(--accent-text); }

.pz-platform__body { padding: 0; }

.pz-section { margin: 0 !important; background: var(--surface); padding: 64px 0; scroll-margin-top: 100px; }
.pz-section--tint { background: var(--surface-2); }
.pz-section__head { margin: 0 0 24px; max-width: 720px; }
.pz-section__head p { color: var(--text-muted); font-size: 15px; margin-top: 6px; line-height: 1.5; }
.pz-step {
  display: inline-block; margin-bottom: 8px; padding: 5px 14px; border-radius: 100px;
  background: var(--color-neon-green); color: var(--text);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px;
}
.pz-section__head h3 { margin: 0 !important; font-size: clamp(26px, 3.2vw, 32px); font-weight: 700; line-height: 1.25; letter-spacing: -.005em; }

/* --- Prozess --- */
.pz-process-track { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.pz-process-track__label {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-muted);
}
.pz-process-track__label--finish { color: var(--color-dark-neon-green); }
.pz-process-track__label--finish svg { width: 15px; height: 15px; }
.pz-process-track__line {
  position: relative; flex: 1; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-teal), var(--color-neon-green), var(--color-orange));
  display: flex; align-items: center; justify-content: space-between;
}
.pz-process-track__node {
  position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--color-blue); border: 3px solid var(--surface);
  transition: transform .3s var(--ease);
}
.pz-process-track__node:nth-child(2) { background: var(--color-teal); }
.pz-process-track__node:nth-child(3) { background: var(--color-neon-green); }
.pz-process-track__node:nth-child(4) { background: var(--color-orange); }
.pz-process-track__node.is-active { transform: scale(1.4); }
.pz-process-track__runner {
  position: absolute; top: 50%; left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--runner-color, var(--color-blue));
  box-shadow: 0 0 12px var(--runner-color, var(--color-blue));
  transform: translate(-50%, -50%); opacity: 1;
  transition: left 1s var(--ease), border-color .4s ease, box-shadow .4s ease, opacity .45s ease;
  z-index: 2; pointer-events: none;
}
.pz-process-track__runner.is-hidden { opacity: 0; }
.pz-process-card--clickable { cursor: pointer; }

.pz-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pz-process-card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius-lg); padding: 30px 24px 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pz-process-card:hover, .pz-process-card.is-active { transform: translateY(-6px); box-shadow: 0 20px 40px var(--shadow-lg); }
/* Auf weissem Abschnitt (Community) graue Karten, sonst weiss auf weiss */
.pz-section:not(.pz-section--tint) .pz-process-card { background: var(--surface-2); }
.pz-section:not(.pz-section--tint) .pz-process-card p { color: var(--text); }

/* Punktraster statt Farbwolke: oben links in der Schrittfarbe, läuft
   transparent aus (Maske). Wie auf der Startseite: blasse Grundschicht,
   die Ecke in voller Farbe füllt sich beim aktiven Schritt / Hover aus.
   Liegt hinter dem Text (z-index 0). */
.pz-process-card__dots {
  /* Höhe so, dass das Raster vor dem Fliesstext ausläuft (Lesbarkeit) */
  position: absolute; top: 0; left: 0; width: 160px; height: 66px;
  color: var(--color-blue); pointer-events: none; z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse at 0 0, #000 0%, rgba(0,0,0,.35) 45%, transparent 75%);
          mask-image: radial-gradient(ellipse at 0 0, #000 0%, rgba(0,0,0,.35) 45%, transparent 75%);
}
.pz-process-card__dots::before, .pz-process-card__dots::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(currentColor 1.5px, transparent 1.9px);
  background-size: 10px 10px; background-position: 6px 6px;
}
.pz-process-card__dots::before { opacity: .35; }
.pz-process-card__dots::after { clip-path: circle(22% at 0 0); transition: clip-path .7s var(--ease); }
.pz-process-card:hover .pz-process-card__dots::after,
.pz-process-card.is-active .pz-process-card__dots::after { clip-path: circle(130% at 0 0); }
.pz-process-card:nth-child(2) .pz-process-card__dots { color: var(--color-teal); }
.pz-process-card:nth-child(3) .pz-process-card__dots { color: var(--color-neon-green); }
.pz-process-card:nth-child(4) .pz-process-card__dots { color: var(--color-orange); }

/* margin mit !important: das Theme setzt einen grossen Abstand über h4 */
.pz-process-card h4 { position: relative; z-index: 1; font-size: 17px; font-weight: 700; margin: 0 0 8px !important; padding-top: 0 !important; }
.pz-process-card p  { position: relative; z-index: 1; font-size: 15px; line-height: 1.55; color: var(--text-muted); }

@media (max-width: 480px) {
  .pz-process-track__label span { display: none; }
}

/* --- Kontakt-Balken mit Video (unter dem Prozess) --- */
.pz-quick-contact {
  padding: 36px 40px; border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--color-neon-green) 20%, var(--surface));
  box-shadow: 0 16px 36px var(--shadow);
}
html[data-theme="dark"] .pz-quick-contact { background: color-mix(in srgb, var(--color-neon-green) 10%, var(--surface)); }
.pz-quick-contact__head { margin: 64px 0 24px; scroll-margin-top: 100px; }
.pz-quick-contact__head h3 { margin: 0 !important; padding: 0; font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; line-height: 1.25; letter-spacing: -.005em; }
/* Video oben ausgerichtet; Oberkante bündig mit dem ersten Eingabefeld
   (E-Mail) statt mit dessen Label: Versatz = Label-Zeilenhöhe + Abstand
   Label/Feld (beide unten fest definiert). */
.pz-quick-contact { --pz-qc-label-lh: 20px; --pz-qc-label-gap: 6px; }
.pz-quick-contact__grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 40px; align-items: start; }
.pz-cf7 { --pz-qc-label-lh: 20px; --pz-qc-label-gap: 6px; }
/* CF7 (Kurzanfrage im Kontakt-Balken und Community-Anmeldung): Theme-Stile (weisser Kasten, Schatten, graue
   Felder) gezielt neutralisieren - das Formular steht direkt auf dem
   grünen Hintergrund, Felder als klare weisse Eingabefelder. */
.pz-cf7 .wpcf7,
.pz-cf7 .wpcf7 form,
.pz-cf7 .wpcf7-form {
  background: transparent !important; box-shadow: none !important; border: 0 !important;
  padding: 0 !important; margin: 0 !important; max-width: none !important; width: 100% !important;
}
.pz-cf7 .wpcf7-form p { margin: 0 0 14px !important; padding: 0 !important; }
.pz-cf7 .wpcf7-form label {
  display: block; margin: 0 !important; font-size: 13.5px !important; font-weight: 700 !important;
  line-height: var(--pz-qc-label-lh) !important;
  color: var(--text) !important; text-transform: none !important; letter-spacing: 0 !important;
}
.pz-cf7 .wpcf7-form label br { display: none; }
.pz-cf7 .wpcf7-form-control-wrap { display: block; margin-top: var(--pz-qc-label-gap); }
.pz-cf7 .wpcf7-form input[type=email],
.pz-cf7 .wpcf7-form input[type=tel],
.pz-cf7 .wpcf7-form input[type=text],
.pz-cf7 .wpcf7-form input[type=url],
.pz-cf7 .wpcf7-form select,
.pz-cf7 .wpcf7-form textarea {
  display: block; width: 100% !important; margin: 0 !important;
  height: 46px; padding: 0 14px !important;
  font-family: var(--font-primary) !important; font-size: 15px !important; font-style: normal !important; color: var(--text) !important;
  background: var(--surface) !important; border: 1px solid color-mix(in srgb, var(--text) 12%, transparent) !important;
  border-radius: var(--radius-sm) !important; box-shadow: none !important;
  transition: border-color .18s, box-shadow .18s;
}
.pz-cf7 .wpcf7-form textarea { height: 110px !important; min-height: 110px; padding: 11px 14px !important; resize: vertical; }
.pz-cf7 .wpcf7-form input::placeholder,
.pz-cf7 .wpcf7-form textarea::placeholder { color: color-mix(in srgb, var(--text-muted) 70%, transparent); font-style: normal; }
.pz-cf7 .wpcf7-form input:focus,
.pz-cf7 .wpcf7-form textarea:focus {
  outline: none; border-color: var(--focus) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 22%, transparent) !important;
}
.pz-cf7 .wpcf7-acceptance .wpcf7-list-item { margin: 0 !important; }
.pz-cf7 .wpcf7-acceptance label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px !important; font-weight: 400 !important; line-height: 1.45; color: var(--text-muted) !important;
}
.pz-cf7 .wpcf7-acceptance input[type=checkbox] {
  flex-shrink: 0; width: 18px; height: 18px; margin: 1px 0 0 !important; accent-color: var(--color-dark-neon-green);
}
.pz-cf7 .wpcf7-acceptance a, .pz-cf7 .wpcf7-acceptance a:visited { color: var(--text) !important; text-decoration: underline; text-underline-offset: 2px; }
/* --- Validierung (beide Formulare): Feld rot umrandet, Hinweis darunter
   klein mit Icon, Meldungsbox unten im Seitenstil statt CF7-Standard. --- */
.pz-cf7 { --pz-error: #c0392b; --pz-success: #3f8f4f; }
html[data-theme="dark"] .pz-cf7 { --pz-error: #ff8a7a; --pz-success: #8fd19e; }
.pz-cf7 .wpcf7-form input.wpcf7-not-valid:not([type=checkbox]),
.pz-cf7 .wpcf7-form select.wpcf7-not-valid,
.pz-cf7 .wpcf7-form textarea.wpcf7-not-valid {
  border: 1px solid var(--pz-error) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pz-error) 14%, transparent) !important;
}
.pz-cf7 .wpcf7-not-valid-tip {
  display: flex !important; align-items: center; gap: 6px;
  font-size: 12.5px !important; line-height: 1.4; margin-top: 6px; color: var(--pz-error) !important;
}
.pz-cf7 .wpcf7-not-valid-tip::before {
  content: '!'; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 15px; height: 15px; border-radius: 50%; background: var(--pz-error); color: #fff;
  font-size: 10.5px; font-weight: 700; line-height: 1;
}
.pz-cf7 .wpcf7-acceptance.wpcf7-not-valid label { color: var(--pz-error) !important; }
.pz-cf7 .wpcf7-form .wpcf7-response-output {
  margin: 18px 0 0 !important; padding: 12px 16px !important;
  border: 0 !important; border-left: 3px solid var(--line-strong) !important; border-radius: var(--radius-sm) !important;
  background: var(--surface-2); color: var(--text); font-size: 13.5px; line-height: 1.5;
}
.pz-cf7 .wpcf7-form.invalid .wpcf7-response-output,
.pz-cf7 .wpcf7-form.unaccepted .wpcf7-response-output,
.pz-cf7 .wpcf7-form.failed .wpcf7-response-output,
.pz-cf7 .wpcf7-form.spam .wpcf7-response-output,
.pz-cf7 .wpcf7-form.aborted .wpcf7-response-output {
  border-left-color: var(--pz-error) !important;
  background: color-mix(in srgb, var(--pz-error) 8%, var(--surface));
}
.pz-cf7 .wpcf7-form.sent .wpcf7-response-output {
  border-left-color: var(--pz-success) !important;
  background: color-mix(in srgb, var(--pz-success) 10%, var(--surface));
}
.pz-cf7 .wpcf7-submit {
  width: auto !important; height: 46px !important; padding: 0 30px !important; margin: 4px 0 0 !important;
  background: var(--color-black) !important; color: var(--color-white) !important;
  border: 1px solid var(--color-black) !important; border-radius: var(--radius-sm) !important;
  font-family: var(--font-primary) !important; font-size: 15px !important; font-weight: 700 !important;
  text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.pz-cf7 .wpcf7-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 18px var(--shadow) !important; }
.pz-cf7 .wpcf7-spinner { margin: 0 0 0 12px; vertical-align: middle; }
.pz-cf7 .wpcf7-response-output { margin: 12px 0 0 !important; padding: 10px 14px !important; border-radius: var(--radius-sm); font-size: 13.5px; }
html[data-theme="dark"] .pz-cf7 .wpcf7-submit { background: var(--color-neon-green) !important; border-color: var(--color-neon-green) !important; color: #1c1b1d !important; }
.pz-quick-contact__fallback { font-size: 15px; line-height: 1.55; color: var(--text-muted); margin-bottom: 18px; }
.pz-quick-contact__video {
  margin: 0; border-radius: var(--radius-md); overflow: hidden;
  background: #000; box-shadow: 0 14px 32px var(--shadow-lg); aspect-ratio: 16 / 9;
}
/* Titel über dem Video in exakt der Label-Typografie des Formulars:
   steht auf Höhe von "E-Mail *", das Video beginnt damit automatisch auf
   Höhe des ersten Eingabefeldes. */
.pz-quick-contact__media-title {
  font-size: 13.5px; font-weight: 700; line-height: var(--pz-qc-label-lh);
  color: var(--text); margin-bottom: var(--pz-qc-label-gap);
}
.pz-quick-contact__video video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Einige Videos haben schmale schwarze Ränder im Material selbst:
   minimal vergrössern, der Rand liegt dann ausserhalb der abgerundeten
   Box. Kein schwarzer Box-Hintergrund, der sonst als Rahmen durchscheint. */
.pz-quick-contact__video, .pz-vslider__media { background: transparent; }
.pz-quick-contact__video video, .pz-vslider__media video { transform: scale(1.02); }

@media (max-width: 991px) {
  .pz-quick-contact__grid { grid-template-columns: 1fr; }
  .pz-quick-contact__media { order: -1; }
}
@media (max-width: 767px) {
  .pz-quick-contact__head { margin: 44px 0 18px; }
  .pz-quick-contact { padding: 24px 20px; border-radius: 20px; }
}

/* Bereich ohne Video im Kontakt-Balken (z. B. Finanzen, bis das neue Video
   da ist): Formular ueber die volle Breite. [hidden] explizit, weil
   Theme-CSS das Attribut sonst ueberstimmen kann. */
.pz-quick-contact.is-no-media .pz-quick-contact__grid { grid-template-columns: 1fr; }
.pz-quick-contact__media[hidden],
.pz-event-video[hidden],
.pz-partner[hidden],
#pz-partner[hidden] { display: none !important; }

/* Anlass-Video unter "Avenir Flexwork Profile" */
.pz-event-video { margin-top: 64px; }
@media (max-width: 767px) {
  .pz-event-video { margin-top: 48px; }
}

/* --- Pains --- */
.pz-pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pz-pain {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px;
  background: var(--surface); border: 0; border-radius: var(--radius-lg);
  padding: 34px 24px 30px; font-size: 15px; font-weight: 700; line-height: 1.4;
  /* Flach im Ruhezustand, die Box zeigt sich erst beim Hover (Schatten) */
  box-shadow: 0 10px 30px transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.pz-pain:hover { transform: translateY(-4px); box-shadow: 0 18px 38px var(--shadow-lg); }
.pz-pain__icon {
  width: 96px; height: 96px; flex-shrink: 0; object-fit: contain; padding: 20px; border-radius: 50%;
  background: color-mix(in srgb, var(--color-neon-green) 14%, var(--surface));
}
html[data-theme="dark"] .pz-pain { background: transparent; box-shadow: none; }
html[data-theme="dark"] .pz-pain:hover { background: var(--surface-2); }
html[data-theme="dark"] .pz-pain__icon { background: var(--accent-tint); }

/* --- Flexworker-Balken (unter "Wann kontaktieren uns unsere Kunden?") --- */
.pz-flexworkers { margin-bottom: 72px; }
.pz-video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pz-flexworkers__head { margin-bottom: 28px; max-width: 720px; }
.pz-flexworkers__head h3 { margin: 0 !important; padding: 0; font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; line-height: 1.25; letter-spacing: -.005em; }
.pz-flexworkers__head p { color: var(--text-muted); font-size: 15px; margin-top: 6px; line-height: 1.5; }
/* Flex statt Grid: Karten behalten ihre Drittel-Breite, eine unvollständige
   Reihe (z. B. nur 2 Kontakte bei Finanzen) steht mittig statt linksbündig. */
.pz-flexworkers__grid { --pz-fw-cols: 3; --pz-fw-gap: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--pz-fw-gap); }
.pz-flexworker {
  display: flex; flex-direction: column;
  flex: 0 0 calc((100% - (var(--pz-fw-cols) - 1) * var(--pz-fw-gap)) / var(--pz-fw-cols));
  min-width: 0;
}
.pz-flexworker__media {
  aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2);
}
.pz-flexworker__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  transition: transform .5s var(--ease);
}
.pz-flexworker:hover .pz-flexworker__media img { transform: scale(1.03); }
html[data-theme="dark"] .pz-flexworker__media img { filter: brightness(.9); }
.pz-flexworker__panel {
  position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column;
  margin: -48px 18px 0; padding: 22px 22px 20px;
  background: var(--surface); border-radius: var(--radius-md); box-shadow: 0 16px 34px var(--shadow-lg);
}
.pz-flexworker__name { font-size: 21px; font-weight: 400; line-height: 1.2; color: var(--text); margin: 0 !important; }
.pz-flexworker__role {
  font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: 1px;
  color: color-mix(in srgb, var(--text-muted) 80%, var(--surface)); margin: 6px 0 12px;
}
.pz-flexworker__mail { font-size: 14.5px; font-weight: 400; color: var(--text); word-break: break-all; transition: color .18s; align-self: flex-start; }
.pz-flexworker__mail:hover { color: var(--color-dark-neon-green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pz-flexworker__link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px;
  font-size: 12.5px; font-weight: 400; text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--color-dark-neon-green);
}
.pz-flexworker__link svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.pz-flexworker__link:hover svg { transform: translateX(3px); }
html[data-theme="dark"] .pz-flexworker__mail:hover,
html[data-theme="dark"] .pz-flexworker__link { color: var(--accent-text); }

@media (max-width: 991px) {
  .pz-flexworkers__grid { --pz-fw-cols: 2; }
}
@media (max-width: 767px) {
  .pz-flexworkers { margin-bottom: 48px; }
  .pz-flexworkers__grid { --pz-fw-cols: 1; --pz-fw-gap: 24px; }
}

/* --- USP / Benefits --- */
.pz-usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pz-usp { border-left: 3px solid var(--color-neon-green); padding-left: 16px; }
.pz-usp h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.pz-usp p  { font-size: 14px; line-height: 1.5; color: var(--text-muted); }

/* Mehrwert mit Icon (Kunden-Ansicht): Icon-Kachel statt Seitenlinie */
.pz-usp-grid:has(.pz-usp--icon) { gap: 36px 32px; }
.pz-usp--icon { border-left: 0; padding-left: 0; }
.pz-usp__icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px;
  background: color-mix(in srgb, var(--color-neon-green) 16%, var(--surface));
  color: var(--color-dark-neon-green);
  transition: transform .3s var(--ease);
}
.pz-usp__icon svg { width: 24px; height: 24px; }
.pz-usp--icon:hover .pz-usp__icon { transform: translateY(-3px); }
html[data-theme="dark"] .pz-usp__icon { background: var(--accent-tint); color: var(--accent-text); }

/* --- Kooperation People Attraction --- */
.pz-partner {
  display: flex; align-items: flex-start; gap: 28px;
  padding: 40px; border-radius: var(--radius-lg); background: var(--surface-2);
}
.pz-partner__icon {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: color-mix(in srgb, var(--color-neon-green) 16%, var(--surface));
  color: var(--color-dark-neon-green);
}
.pz-partner__icon svg { width: 30px; height: 30px; }
html[data-theme="dark"] .pz-partner__icon { background: var(--accent-tint); color: var(--accent-text); }
.pz-partner__body { max-width: 780px; }
.pz-partner__body h3 { margin: 0 0 14px !important; padding: 0; font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; line-height: 1.25; letter-spacing: -.005em; }
.pz-partner__body p { font-size: 15.5px; line-height: 1.6; color: var(--text-muted); margin-bottom: 12px; }
.pz-partner__cta { margin-top: 10px; white-space: normal; height: auto; min-height: 46px; text-align: left; }
@media (max-width: 767px) {
  .pz-partner { flex-direction: column; gap: 18px; padding: 26px 22px; }
}

/* --- Wissen teilen --- */
.pz-wissen__meta {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 1px;
  color: color-mix(in srgb, var(--text-muted) 80%, var(--surface)); margin-bottom: 10px;
}
.pz-wissen__title { margin: 0 0 10px !important; font-size: 17px; font-weight: 700; line-height: 1.3; }
/* !important: das Theme setzt eine eigene (dunkle) Linkfarbe, die sonst
   im Darkmode die Titel unlesbar macht. */
.pz-wissen__title a, .pz-wissen__title a:visited { color: inherit !important; transition: color .18s; }
.pz-wissen__title a:hover { color: var(--color-dark-neon-green) !important; }
html[data-theme="dark"] .pz-wissen__title a:hover { color: var(--accent-text) !important; }
.pz-wissen__excerpt { font-size: 14px; line-height: 1.55; color: var(--text-muted); }

.pz-wissen-feature { position: relative; display: grid; grid-template-columns: 58% 1fr; align-items: center; }
.pz-wissen-feature__media {
  display: block; aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface-3); box-shadow: 0 12px 26px var(--shadow);
}
.pz-wissen-feature__media img, .pz-wissen-card__media img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease);
}
.pz-wissen-feature:hover .pz-wissen-feature__media img,
.pz-wissen-card:hover .pz-wissen-card__media img { transform: scale(1.03); }
.pz-wissen-feature__panel {
  position: relative; z-index: 1; margin-left: -90px; padding: 34px 36px;
  display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: 0 18px 36px var(--shadow-lg);
}
.pz-wissen-feature__panel .pz-wissen__title { font-size: clamp(19px, 2vw, 22px); }

.pz-wissen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.pz-wissen-card { display: flex; flex-direction: column; }
.pz-wissen-card__media {
  display: block; aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-3);
}
.pz-wissen-card__panel {
  position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column;
  margin: -40px 16px 0; padding: 20px 20px 18px;
  background: var(--surface); border-radius: var(--radius-md); box-shadow: 0 16px 34px var(--shadow-lg);
}
.pz-wissen__more { display: flex; justify-content: center; margin-top: 40px; }

@media (max-width: 991px) {
  .pz-wissen-feature { grid-template-columns: 1fr; }
  .pz-wissen-feature__panel { margin: -48px 16px 0; }
  .pz-wissen-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .pz-wissen-feature__panel { padding: 24px 22px; }
  .pz-wissen-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
}

/* --- Community-Infoblock (unter "In vier Schritten Teil der Community werden") --- */
.pz-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pz-info-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  padding: 28px 24px; border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: 0 10px 30px var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pz-info-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px var(--shadow-lg); }
.pz-info-card__icon {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: color-mix(in srgb, var(--color-neon-green) 16%, var(--surface));
  color: var(--color-dark-neon-green);
}
.pz-info-card__icon svg { width: 24px; height: 24px; }
.pz-info-card p { font-size: 15px; line-height: 1.55; color: var(--text); }
.pz-info-quote {
  /* Schmaler Balken, Zitat mittig; Anführungszeichen als Teil der Zeile */
  position: relative; margin: 32px 0 0 !important; padding: 16px 28px !important; border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--color-neon-green) 18%, var(--surface));
  border: 0 !important; box-shadow: none; font-style: normal; quotes: none;
  display: flex; align-items: center; justify-content: center; gap: 12px; text-align: center;
}
.pz-info-quote::after { content: none !important; }
.pz-info-quote::before {
  content: '\201C'; flex-shrink: 0; height: 26px;
  font-family: Georgia, 'Times New Roman', serif; font-size: 48px; line-height: 1; font-weight: 700;
  color: var(--color-dark-neon-green);
}
.pz-info-quote p { margin: 0 !important; font-size: 17px; line-height: 1.5; font-weight: 400; font-style: normal; color: var(--text); }
.pz-info-cta { display: flex; justify-content: center; margin-top: 32px; }
html[data-theme="dark"] .pz-info-card { background: var(--surface); box-shadow: none; }
html[data-theme="dark"] .pz-info-card__icon { background: var(--accent-tint); color: var(--accent-text); }
html[data-theme="dark"] .pz-info-quote { background: var(--accent-tint); }
html[data-theme="dark"] .pz-info-quote::before { color: var(--accent-text); }
@media (max-width: 991px) {
  .pz-info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .pz-info-grid { grid-template-columns: 1fr; gap: 16px; }
  .pz-info-quote { padding: 14px 18px !important; }
  .pz-info-quote::before { font-size: 40px; height: 22px; }
  .pz-info-quote p { font-size: 15.5px; }
}

/* --- Community-Anmeldung: links Infoteil auf Grün, rechts Formular in
   weisser Karte. Felder über die Feldnamen gruppiert (unabhängig von der
   Reihenfolge im CF7-Code):
     E-Mail | Telefon
     LinkedIn (volle Breite)
     Bereich | Interesse
     Datenschutz ........ [Jetzt anmelden] --- */
.pz-quick-contact--solo { padding: 28px; }
.pz-join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: 28px; align-items: stretch; }
.pz-join__info { display: flex; flex-direction: column; padding: 14px 8px 8px 12px; }
.pz-join__info h4 { margin: 0 0 22px !important; font-size: 20px; font-weight: 700; line-height: 1.25; }
.pz-join__list { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 20px; }
.pz-join__list li { display: flex; gap: 14px; align-items: flex-start; margin: 0 !important; }
.pz-join__check {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--color-black); color: var(--color-neon-green);
}
.pz-join__check svg { width: 15px; height: 15px; }
.pz-join__list strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; }
/* min-height = 2 Zeilen: alle Punkte gleich hoch, gleicher Abstand
   zwischen den Häkchen, auch wenn ein Text nur eine Zeile hat. */
.pz-join__list li > div > span { min-height: 3em; display: block; font-size: 14px; line-height: 1.5; color: var(--text-muted); margin-top: 3px; }
.pz-join__direct { margin-top: auto; padding-top: 26px; font-size: 14px; color: var(--text-muted); }
.pz-join__direct span { font-weight: 700; color: var(--text); }
.pz-join__direct:hover span { text-decoration: underline; text-underline-offset: 3px; }

.pz-join__form {
  background: var(--surface); border-radius: var(--radius-md); padding: 30px 32px 28px;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--color-black) 8%, transparent);
}
/* align-items: start - erscheint unter einem Feld eine Fehlermeldung,
   bleibt das Nachbarfeld trotzdem auf gleicher Höhe. */
.pz-join__form .wpcf7-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; align-items: start; }
.pz-join__form .wpcf7-form > * { grid-column: 1 / -1; order: 20; }
.pz-join__form .wpcf7-form > p:has([name="pzc-email"])     { grid-column: 1; order: 1; }
.pz-join__form .wpcf7-form > p:has([name="pzc-telefon"])   { grid-column: 2; order: 2; }
.pz-join__form .wpcf7-form > p:has([name="pzc-linkedin"])  { order: 3; }
.pz-join__form .wpcf7-form > p:has([name="pzc-bereich"])   { grid-column: 1; order: 4; }
.pz-join__form .wpcf7-form > p:has([name="pzc-interesse"]) { grid-column: 2; order: 5; }
.pz-join__form .wpcf7-form > p:has(.wpcf7-acceptance) { grid-column: 1; order: 6; align-self: center; margin-bottom: 0 !important; }
.pz-join__form .wpcf7-form > p:has(.wpcf7-submit)     { grid-column: 2; order: 7; justify-self: end; margin-bottom: 0 !important; }
.pz-join__form .wpcf7-form > .wpcf7-response-output   { order: 8; }
.pz-join__form .wpcf7-form > fieldset.hidden-fields-container,
.pz-join__form .wpcf7-form > div[style*="display: none"] { display: none !important; }
.pz-join__form .pz-cf7 .wpcf7-form input:not([type=checkbox]):not([type=submit]),
.pz-join__form .pz-cf7 .wpcf7-form select { background: var(--surface-2) !important; border-color: transparent !important; }
.pz-join__form .pz-cf7 .wpcf7-form input:focus, .pz-join__form .pz-cf7 .wpcf7-form select:focus { background: var(--surface) !important; border-color: var(--focus) !important; }
.pz-join__form .wpcf7-submit { margin: 0 !important; }
/* CF7-Ladesymbol reserviert sonst rechts neben dem Knopf Platz - links
   daneben absolut platzieren, damit der Knopf rechtsbündig mit den
   Feldern abschliesst. */
.pz-join__form .wpcf7-form > p:has(.wpcf7-submit) { position: relative; }
.pz-join__form .wpcf7-spinner {
  position: absolute !important; right: 100%; top: 50%; margin: -12px 12px 0 0 !important;
}

html[data-theme="dark"] .pz-join__check { background: var(--accent-tint); color: var(--accent-text); }
html[data-theme="dark"] .pz-join__form { background: var(--surface-2); box-shadow: none; }
html[data-theme="dark"] .pz-join__form .pz-cf7 .wpcf7-form input:not([type=checkbox]):not([type=submit]),
html[data-theme="dark"] .pz-join__form .pz-cf7 .wpcf7-form select { background: var(--surface) !important; }

@media (max-width: 991px) {
  .pz-join { grid-template-columns: 1fr; gap: 18px; }
  .pz-join__direct { padding-top: 18px; }
}
@media (max-width: 767px) {
  .pz-quick-contact--solo { padding: 18px; }
  .pz-join__form { padding: 22px 18px; }
  .pz-join__form .wpcf7-form { grid-template-columns: 1fr; }
  .pz-join__form .wpcf7-form > p { grid-column: 1 !important; }
  .pz-join__form .wpcf7-form > p:has(.wpcf7-acceptance) { margin-bottom: 14px !important; }
  .pz-join__form .wpcf7-form > p:has(.wpcf7-submit) { justify-self: stretch; }
  .pz-join__form .wpcf7-submit { width: 100% !important; }
}

/* --- "Erfahrungsberichte Flexworker": Video-Slider. Aktives Video gross,
   das nächste ragt angeschnitten und abgedunkelt von rechts herein, damit
   sofort sichtbar ist, dass es weitere Videos gibt. --- */
.pz-video-stories { margin-top: 64px; }
.pz-vslider { --vs-slide: 72%; --vs-gap: 24px; }
.pz-vslider__viewport { overflow: hidden; padding: 6px 0 40px; margin: -6px 0 -40px; }
.pz-vslider__track { display: flex; gap: var(--vs-gap); transition: transform .55s var(--ease); }
.pz-vslider__slide {
  flex: 0 0 var(--vs-slide); min-width: 0; margin: 0;
  opacity: .45; transform: scale(.96); transform-origin: center center;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  cursor: pointer;
}
.pz-vslider__slide.is-active { opacity: 1; transform: none; cursor: default; }
/* Inaktive Videos nicht direkt abspielbar - Klick wechselt zum Video */
.pz-vslider__slide:not(.is-active) video { pointer-events: none; }
.pz-vslider__slide:not(.is-active):hover { opacity: .65; }
.pz-vslider__media {
  aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden;
  background: #000; box-shadow: 0 14px 32px var(--shadow-lg);
}
.pz-vslider__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.pz-vslider__caption { margin-top: 14px; font-size: 14px; color: var(--text-muted); }
.pz-vslider__slide.is-active .pz-vslider__caption { color: var(--text); font-weight: 700; }
.pz-vslider__count { font-size: 13px; font-weight: 700; color: var(--text-muted); font-variant-numeric: tabular-nums; min-width: 38px; text-align: center; }
@media (max-width: 767px) {
  .pz-video-stories { margin-top: 48px; }
  .pz-vslider { --vs-slide: 80%; --vs-gap: 12px; }
}

/* "Kontakte knüpfen" (Community): Einleitung auf einer Zeile */
#pz-community-contacts .pz-section__head { max-width: none; }

/* Ansprechpersonen unter "Bedürfnisse besprechen" */
#pz-contact-client .pz-note { margin-top: 32px; }

/* --- Testimonials --- */
.pz-testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }
.pz-testi { position: relative; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px 22px; }
.pz-testi::before {
  content: '\201E'; position: absolute; top: 6px; left: 18px; font-size: 52px; line-height: 1;
  font-weight: 700; color: var(--color-neon-green); opacity: .5; font-family: Georgia, serif;
}
.pz-testi__quote { font-size: 15px; line-height: 1.55; margin-bottom: 14px; position: relative; }
.pz-testi__footer { display: flex; align-items: center; gap: 10px; }
.pz-testi__avatar {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--color-neon-green); color: var(--text); font-weight: 700; font-size: 15px;
}
.pz-testi__avatar-photo { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.pz-testi__person { font-weight: 700; font-size: 14px; }
.pz-testi__role { font-size: 13px; color: var(--text-muted); margin-top: 1px; }
.pz-testi__company { font-size: 13px; font-weight: 700; color: var(--text-muted); margin-top: 2px; }

/* --- Testimonial "featured": mit Referenzbild + Kundenlogo --- */
.pz-testi--featured { padding: 0; border: none; background: transparent; }
.pz-testi--featured::before { content: none; }
.pz-testi__media { position: relative; height: 150px; overflow: hidden; background: var(--surface-2); border-radius: var(--radius-md) var(--radius-md) 0 0; }
.pz-testi__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pz-testi__panel {
  position: relative; margin: -34px 16px 0; padding: 20px 20px 22px;
  background: var(--surface); border-radius: var(--radius-md); box-shadow: 0 12px 26px var(--shadow-lg);
}
.pz-testi--featured .pz-testi__quote { font-style: italic; }
.pz-testi__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pz-testi__logo { height: 40px; width: auto; max-width: 160px; object-fit: contain; object-position: left center; flex-shrink: 0; }
.pz-testi__brand-name { font-weight: 700; font-size: 14.5px; }

/* --- Testimonials: Spotlight (zufällig gross, volle Breite) + kompakte
   Liste als Reihe darunter -------------------------------------------- */
.pz-testi-grid--spotlight { display: flex; flex-direction: column; gap: 20px; }
.pz-testi-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.pz-testi-spotlight { width: 100%; }
.pz-testi--lg { position: relative; width: 100%; height: 500px; }
.pz-testi--lg .pz-testi__media {
  position: absolute; top: 0; right: 0; margin: 0;
  width: 55%; height: 84%; min-width: 240px;
  border-radius: var(--radius-lg); box-shadow: 0 12px 26px var(--shadow-lg);
}
.pz-testi--lg .pz-testi__panel {
  position: absolute; left: 0; bottom: 0; margin: 0;
  width: 54%; height: 88%; min-width: 280px; max-height: 100%; overflow: auto;
  background: var(--surface-3); border-radius: var(--radius-lg); box-shadow: 0 18px 36px var(--shadow-lg);
  padding: 36px 40px; display: flex; flex-direction: column; justify-content: center;
  text-align: center; z-index: 2;
}
.pz-testi--lg .pz-testi__brand { justify-content: center; margin-bottom: 26px; }
.pz-testi--lg .pz-testi__quote { font-size: 16.5px; line-height: 1.7; margin-bottom: 26px; }
.pz-testi--lg .pz-testi__logo { height: 56px; max-width: 220px; }
.pz-testi--lg .pz-testi__avatar-photo, .pz-testi--lg .pz-testi__avatar { width: 56px; height: 56px; font-size: 17px; }

/* Referenz-Karte (gross): weiss statt crème (Kundenlogos mit weissem
   Hintergrund wirken sonst wie ein Kasten), linksbündig, grosses grünes
   Anführungszeichen, Person durch Linie vom Zitat getrennt. */
.pz-testi--lg .pz-testi__panel {
  background: var(--surface); text-align: left; padding: 36px 44px 34px; overflow: hidden;
}
/* Grosses Anführungszeichen als Hintergrund-Element rechts oben: braucht
   keinen eigenen Platz, auch lange Zitate (z. B. Calida) passen. */
.pz-testi--lg .pz-testi__panel::before {
  content: '\201C'; position: absolute; top: -18px; right: 24px; z-index: 0; pointer-events: none;
  font-family: Georgia, 'Times New Roman', serif; font-size: 220px; line-height: 1; font-weight: 700;
  color: var(--color-neon-green); opacity: .22;
}
.pz-testi--lg .pz-testi__panel > * { position: relative; z-index: 1; }
.pz-testi--lg .pz-testi__brand { justify-content: flex-start; margin-bottom: 18px; }
.pz-testi--lg .pz-testi__logo { height: 46px; max-width: 200px; object-position: left center; }
.pz-testi--lg .pz-testi__quote {
  font-style: normal; font-size: 16.5px; line-height: 1.6; color: var(--text); margin-bottom: 22px;
}
.pz-testi--lg .pz-testi__footer { gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.pz-testi--lg .pz-testi__person { font-size: 15px; }
.pz-testi--lg .pz-testi__role { font-size: 13px; }
.pz-testi--lg .pz-testi__company { font-size: 13px; color: var(--color-dark-neon-green); }
/* Darkmode: Abschnitt ist surface-2 - Karte muss sich davon abheben */
html[data-theme="dark"] .pz-testi--lg .pz-testi__panel { background: var(--surface); }
html[data-theme="dark"] .pz-testi--lg .pz-testi__panel::before { color: var(--accent-text); opacity: .14; }
html[data-theme="dark"] .pz-testi--lg .pz-testi__company { color: var(--accent-text); }
html[data-theme="dark"] .pz-testi--lg .pz-testi__logo { background: #fff; padding: 6px 10px; border-radius: 8px; height: 52px; }

.pz-testi--sm .pz-testi__media { height: 96px; }
.pz-testi--sm .pz-testi__panel { padding: 16px 16px 18px; margin: -26px 12px 0; }
.pz-testi--sm .pz-testi__quote {
  font-size: 13.5px; line-height: 1.5; margin-bottom: 6px; min-height: 82px;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.pz-testi--sm.is-expanded .pz-testi__quote {
  display: block; -webkit-line-clamp: unset; overflow: visible;
}
.pz-testi__more {
  display: inline-block; margin: 0 0 10px; padding: 0; border: none; background: none;
  font-family: var(--font-primary); font-size: 12.5px; font-weight: 700;
  color: var(--color-dark-neon-green); cursor: pointer;
  visibility: hidden;
}
.pz-testi__more.is-visible { visibility: visible; }
.pz-testi__more:hover { text-decoration: underline; }
html[data-theme="dark"] .pz-testi__more { color: var(--accent-text); }
.pz-testi--sm .pz-testi__brand { gap: 8px; margin-bottom: 10px; }
.pz-testi--sm .pz-testi__logo { height: 32px; max-width: 130px; }
.pz-testi--sm .pz-testi__brand-name { font-size: 13px; }
.pz-testi--sm .pz-testi__avatar-photo, .pz-testi--sm .pz-testi__avatar { width: 36px; height: 36px; font-size: 13px; }
.pz-testi--sm .pz-testi__person { font-size: 13px; }
.pz-testi--sm .pz-testi__role { font-size: 11.5px; }
.pz-testi--sm .pz-testi__company { font-size: 11.5px; }

@media (max-width: 991px) {
  .pz-testi-list { grid-template-columns: repeat(2, 1fr); }
  .pz-testi--lg { height: 420px; }
  .pz-testi--lg .pz-testi__panel { padding: 30px 32px; }
}
@media (max-width: 767px) {
  .pz-testi-list { grid-template-columns: 1fr; }
  .pz-testi--lg { height: auto; }
  .pz-testi--lg .pz-testi__media { position: static; width: 100%; height: 260px; }
  .pz-testi--lg .pz-testi__panel {
    position: relative; width: calc(100% - 32px); height: auto;
    margin: -48px 0 0 16px; text-align: left; padding: 26px 22px;
  }
  .pz-testi--lg .pz-testi__brand { justify-content: flex-start; }
}

/* --- Testimonial-Slider: ein grosses Slide je Referenz ---------------------
   Das Slide ist die bestehende .pz-testi--lg-Karte (Panel links ueber dem
   Firmenbild rechts). Der Viewport ragt per negativem Margin ueber den
   Container hinaus; den Platz fuer die Schatten bekommt jedes SLIDE als
   eigenen Innenabstand. So wird der Schatten nirgends als Kante
   abgeschnitten, und die naechste Karte beginnt erst ausserhalb des
   sichtbaren Bereichs (kein "Hereinblitzen" am rechten Rand). */
.pz-testi-slider { position: relative; --testi-bleed-x: 48px; --testi-bleed-top: 32px; --testi-bleed-bottom: 64px; }
.pz-testi-slider__viewport {
  overflow: hidden;
  margin: calc(var(--testi-bleed-top) * -1) calc(var(--testi-bleed-x) * -1) calc(var(--testi-bleed-bottom) * -1);
}
.pz-testi-slider__track {
  display: flex; width: 100%;
  transition: transform .55s var(--ease);
}
.pz-testi-slider__slide {
  flex: 0 0 100%; min-width: 0;
  padding: var(--testi-bleed-top) var(--testi-bleed-x) var(--testi-bleed-bottom);
}

.pz-testi-slider__controls {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin-top: 28px; position: relative; z-index: 3;
}
.pz-testi-slider__arrow {
  width: 44px; height: 44px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, transform .2s;
}
.pz-testi-slider__arrow svg { width: 18px; height: 18px; }
.pz-testi-slider__arrow:hover { background: var(--color-neon-green); border-color: var(--color-neon-green); color: var(--color-black); }
.pz-testi-slider__arrow:active { transform: scale(.94); }
.pz-testi-slider__arrow:focus-visible, .pz-testi-slider__dot:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.pz-testi-slider__dots { display: flex; align-items: center; gap: 8px; }
.pz-testi-slider__dot {
  width: 8px; height: 8px; border-radius: 999px; border: none; padding: 0; cursor: pointer;
  background: var(--line-strong);
  transition: width .3s var(--ease), background .3s;
}
.pz-testi-slider__dot[aria-current="true"] { width: 28px; background: var(--color-neon-green); }
/* Nur eine Referenz: keine Navigation noetig */
.pz-testi-slider.is-single .pz-testi-slider__controls { display: none; }

@media (max-width: 767px) {
  .pz-testi-slider { --testi-bleed-x: 20px; }
  .pz-testi-slider__controls { margin-top: 20px; }
  .pz-testi-slider__arrow { width: 40px; height: 40px; }
}

/* --- Video: volle Breite des Containers, 16:9 ------------------------------ */
.pz-video-wrap {
  position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: var(--radius-md); background: #000; box-shadow: 0 12px 26px var(--shadow-lg);
}
.pz-video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* --- Stats --- */
/* Kennzahlen mit Icon, ohne Karten: feine senkrechte Trennlinien
   zwischen den Spalten. */
.pz-section--stats { background: var(--surface); }
.pz-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; text-align: center; }
.pz-stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 22px; border-left: 1px solid var(--line);
}
.pz-stat:first-child { border-left: 0; }
.pz-stat__icon {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 16px;
  background: color-mix(in srgb, var(--color-neon-green) 16%, var(--surface));
  color: var(--color-dark-neon-green);
}
.pz-stat__icon svg { width: 26px; height: 26px; }
.pz-stat__value { font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.pz-stat__label { font-size: 14px; line-height: 1.45; color: var(--text-muted); margin-top: 8px; max-width: 220px; }
html[data-theme="dark"] .pz-stat__icon { background: var(--accent-tint); color: var(--accent-text); }

/* --- FAQ --- */
.pz-faq { display: flex; flex-direction: column; gap: 12px; }
.pz-faq__item {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-md);
  overflow: hidden;
}
.pz-faq__item summary {
  list-style: none; cursor: pointer; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 700; font-size: 15px;
}
.pz-faq__item summary::-webkit-details-marker { display: none; }
/* Auf hellgrauem Abschnitt weisse Fragen-Boxen, sonst verschwinden sie */
.pz-section--tint .pz-faq__item { background: var(--surface); }
/* Fokusrahmen nach innen, sonst schneidet overflow:hidden ihn ab */
.pz-faq__item summary:focus-visible { outline-offset: -3px; border-radius: var(--radius-md); }
.pz-faq__body { overflow: hidden; transition: height .32s var(--ease), opacity .32s var(--ease); }
.pz-faq__chevron { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-muted); transition: transform .25s var(--ease); }
.pz-faq__item[open] .pz-faq__chevron { transform: rotate(180deg); }
.pz-faq__item.is-closing .pz-faq__chevron { transform: none; }
.pz-faq__item p { padding: 0 20px 20px; font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }

/* --- Kontakt --- */
.pz-contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.pz-contact__col { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; }
.pz-persons h4 { font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.pz-persons-grid { display: flex; flex-direction: column; gap: 20px; }
.pz-person { display: flex; align-items: center; gap: 16px; }
.pz-person__photo { flex-shrink: 0; width: 60px; height: 60px; border-radius: 50%; object-fit: cover; background: var(--surface); border: 1px solid var(--line); }
.pz-person__name { font-size: 15.5px; font-weight: 700; line-height: 1.2; }
.pz-person__role { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin: 4px 0 6px; }
.pz-person__contact { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.pz-person__contact:hover { color: var(--color-dark-neon-green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pz-note { font-size: 13px; color: var(--text-muted); margin-top: 16px; }
.pz-note a, .pz-note a:visited { color: var(--text) !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pz-note a:hover { color: var(--color-dark-neon-green) !important; }
html[data-theme="dark"] .pz-note a:hover { color: var(--accent-text) !important; }
.pz-editor-note { border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 14px 16px; background: var(--surface-3); }

.pz-cf7 .wpcf7-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.pz-cf7 .wpcf7-form-control-wrap { display: block; }
.pz-cf7 input[type=text], .pz-cf7 input[type=email], .pz-cf7 input[type=tel], .pz-cf7 input[type=url], .pz-cf7 select {
  width: 100%; height: 46px; font-family: var(--font-primary); font-size: 16px;
  padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface);
  color: var(--text); margin-bottom: 14px; transition: border-color .18s, box-shadow .18s;
}
.pz-cf7 textarea {
  width: 100%; min-height: 130px; font-family: var(--font-primary); font-size: 16px; line-height: 1.5;
  padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface);
  color: var(--text); margin-bottom: 14px; resize: vertical; transition: border-color .18s, box-shadow .18s;
}
.pz-cf7 textarea:focus { border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); outline: none; }
.pz-cf7 input:focus, .pz-cf7 select:focus { border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); outline: none; }
.pz-cf7 .wpcf7-submit {
  height: 46px; padding: 0 26px; background: var(--color-neon-green); color: var(--text);
  border: 1px solid var(--color-neon-green); border-radius: var(--radius-sm);
  font-family: var(--font-primary); font-weight: 700; font-size: 16px; cursor: pointer;
  transition: background .18s, border-color .18s, transform .18s;
}
.pz-cf7 .wpcf7-submit:hover { background: var(--surface); border-color: var(--text); transform: translateY(-1px); }

/* =====================================================
   FOOTER (1:1 aus dem Kalkulator)
   ===================================================== */
.footer { background: var(--color-footer-dark); padding: 72px 0 40px; }
.footer__inner { max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }
.footer__top {
  display: flex; justify-content: space-between; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 40px;
}
.footer__brand { display: flex; flex-direction: column; gap: 30px; max-width: 265px; }
.footer__logo img { height: 36px; width: auto; }
.footer__tagline { font-size: 16px; color: var(--color-gray); line-height: 25.6px; }
.footer__contact { display: flex; flex-direction: column; gap: 0; }
.footer__contact a { display: block; font-size: 16px; color: var(--color-gray); line-height: 25.6px; transition: color .2s; }
.footer__contact a:hover { color: var(--color-white); }
.footer__nav { display: flex; gap: 0; }
.footer__nav-col { display: flex; flex-direction: column; gap: 16px; min-width: 126px; padding-right: 20px; }
.footer__nav-heading { font-size: 13px; text-transform: uppercase; letter-spacing: 1.82px; color: var(--color-gray); line-height: 1.04; }
.footer__nav-links { display: flex; flex-direction: column; gap: 0; }
.footer__nav-links a { display: block; font-size: 16px; color: var(--color-gray); line-height: 25.6px; transition: color .2s; }
.footer__nav-links a:hover { color: var(--color-white); }
.footer__bottom { font-size: 14px; color: var(--color-gray); line-height: 22.4px; display: flex; justify-content: flex-end; }

@media (max-width: 767px) {
  .footer__top { flex-direction: column; gap: 32px; }
  .footer__brand { max-width: 100%; }
  .footer__nav { flex-wrap: wrap; gap: 32px 0; }
  .footer__nav-col { min-width: calc(50% - 10px); padding-right: 0; }
  .footer__bottom { justify-content: flex-start; }
}

/* --- Darkmode: Fotos leicht abdunkeln, damit helle Bilder (weisse
   Portrait-Hintergründe, Artikelbilder) nicht blenden. Beim Hover volle
   Helligkeit. Logos und Icons bleiben unverändert. --- */
html[data-theme="dark"] :is(
  .pz-flexworker__media img,
  .pz-wissen-feature__media img,
  .pz-wissen-card__media img,
  .pz-testi__media img,
  .pz-testi__avatar-photo,
  .pz-person__photo
) {
  filter: brightness(.78) saturate(.92);
  transition: filter .35s var(--ease), transform .5s var(--ease);
}
html[data-theme="dark"] :is(
  .pz-flexworker:hover .pz-flexworker__media img,
  .pz-wissen-feature:hover .pz-wissen-feature__media img,
  .pz-wissen-card:hover .pz-wissen-card__media img,
  .pz-testi:hover .pz-testi__media img
) { filter: brightness(.95) saturate(1); }
html[data-theme="dark"] .pz-workspace__img { filter: brightness(.75) saturate(.9); }

/* --- Darkmode: Details, die sich nicht über Tokens lösen lassen --- */
html[data-theme="dark"] .pz-eyebrow,
html[data-theme="dark"] .pz-person__contact:hover,
html[data-theme="dark"] .header__nav-links a:hover,
html[data-theme="dark"] .mobile-menu__link:hover { color: var(--accent-text); }
html[data-theme="dark"] .pz-area-card { box-shadow: none; }
html[data-theme="dark"] .pz-switch button[aria-pressed="true"] { background: var(--accent-tint); color: var(--accent-text); }
html[data-theme="dark"] .pz-step { background: var(--accent-tint); color: var(--accent-text); }
html[data-theme="dark"] .pz-process-card__num { background: var(--accent-tint); color: var(--accent-text); }
html[data-theme="dark"] .pz-testi::before { color: var(--accent-text); }
html[data-theme="dark"] .pz-usp { border-left-color: var(--accent-tint-line); }
html[data-theme="dark"] .btn--primary, html[data-theme="dark"] .pz-cf7 .wpcf7-submit {
  background: var(--color-neon-green); border-color: var(--color-neon-green); color: #1c1b1d;
}
html[data-theme="dark"] .pz-testi__avatar { background: var(--accent-tint); color: var(--accent-text); }
html[data-theme="dark"] .footer { border-top: 1px solid var(--line); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 991px) {
  /* Einstieg: Profi-Karte unter die Bereiche, quer statt hoch */
  .pz-entry { grid-template-columns: 1fr; gap: 24px; }
  .pz-pro-card { min-height: 300px; }
  .pz-trust .pz-trust__stats { gap: 12px 36px; }
}
@media (max-width: 991px) {
  .pz-process-grid { grid-template-columns: repeat(2, 1fr); }
  .pz-pain-grid { grid-template-columns: repeat(2, 1fr); }
  .pz-usp-grid { grid-template-columns: repeat(2, 1fr); }
  .pz-testi-grid { grid-template-columns: 1fr; }
  .pz-stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .pz-stat:nth-child(odd) { border-left: 0; }
  .pz-contact-grid { grid-template-columns: 1fr; }
  .pz-workspace__visual { width: 300px; height: 160px; }
  .pz-workspace__grid { flex-wrap: wrap; }
  .pz-section { padding: 48px 0; }
}
@media (max-width: 767px) {
  .pz-workspace__visual { display: none; }
  .pz-hero { padding: 36px 0 48px; }
  .pz-entry { margin-top: 28px; }
  .pz-area-grid { grid-template-columns: 1fr; gap: 12px; }
  .pz-area-card { padding: 18px 18px 14px; }
  .pz-area-card__chips { margin-bottom: 8px; }
  .pz-pro-card { min-height: 280px; }
  .pz-trust { margin-top: 32px; }
  .pz-trust .pz-trust__stats { flex-direction: column; align-items: center; gap: 10px; }
  .pz-trust__label { margin-top: 24px; }
  .pz-trust .pz-trust__logos { gap: 48px; padding-right: 48px !important; }
  .pz-trust__logos img { height: 22px; }
  .pz-process-grid, .pz-pain-grid, .pz-usp-grid { grid-template-columns: 1fr; }
  .pz-section { padding: 40px 0; }
  .pz-section__head h3 { font-size: 20px; }
  .pz-stats-grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .pz-stat { padding: 6px 12px; }
  .pz-stat__icon { width: 46px; height: 46px; margin-bottom: 12px; }
  .pz-stat__icon svg { width: 22px; height: 22px; }
  .pz-stat__label { font-size: 13px; }
}

/* Bewusste Entscheidung (Auftraggeber): Animationen laufen immer, auch wenn
   das Betriebssystem "reduzierte Bewegung" meldet (z. B. Geschäftsgeräte,
   Remote-Desktop). Daher hier keine prefers-reduced-motion-Regeln. */
