/* ppi talk — Design-System v2
   Farben exakt aus dem offiziellen Logo gesampelt: Lila #523D91, Orange #E94B29, Graphit #4D4C4A
   Typografie: Poppins (Display — trifft die Logo-Schrift erstaunlich genau: "ppi" ExtraBold, "talk" Light)
               + Work Sans (Fließtext)
   Stil-Referenz nach Sichtung von 3st.de und territory.de: volle, gesättigte Farbflächen statt
   Pastell-Gradient und Karten-Schatten — EIN lauter Farbmoment pro Seite, Rest bleibt ruhig. */

:root {
  --lila: #523D91;
  --lila-strong: #3E2E70;
  --lila-deep: #2E2255;
  --lila-tint: #EFEBFA;
  --orange: #E94B29;
  --orange-strong: #C93A1C;
  --orange-tint: #FCE9E4;
  --graphite: #4D4C4A;
  --bg: #FDFCFE;
  --surface: #FFFFFF;
  --surface-2: #F5F3FA;
  --border: #E6E1F0;
  --text: #201C30;
  --text-mid: #55506C;
  --text-soft: #857FA0;
  --ok-bg: #E5F5EE;
  --ok-text: #1E7A50;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(32,28,48,0.06), 0 10px 28px rgba(32,28,48,0.06);
  --max: 1120px;
  --max-read: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Work Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  text-wrap: balance;
  margin: 0;
  line-height: 1.15;
  color: var(--text);
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--lila); outline-offset: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.read { max-width: var(--max-read); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lila);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.eyebrow.on-dark { color: rgba(255,255,255,0.75); }
.eyebrow.on-dark::before { background: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-strong); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--lila); border: 1.5px solid var(--lila-tint); }
.btn-ghost:hover { background: var(--lila-tint); }
.btn-light { background: #fff; color: var(--lila); }
.btn-light:hover { background: var(--lila-tint); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,252,254,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 26px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav a.nav-link {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-mid);
  transition: background .15s, color .15s;
}
.main-nav a.nav-link:hover, .main-nav a.nav-link.active { background: var(--lila-tint); color: var(--lila); }
.has-sub { position: relative; }
.sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-mid);
}
.sub-menu a:hover { background: var(--surface-2); color: var(--lila); }
.nav-cta { flex-shrink: 0; }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .main-nav { position: fixed; top: 76px; left: 0; right: 0; height: calc(100vh - 76px); background: var(--surface); flex-direction: column; align-items: stretch; padding: 12px 24px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; overflow-y: auto; }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; display: none; }
  .has-sub.open .sub-menu { display: block; }
  .nav-cta { margin-top: 16px; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
}
@media (min-width: 881px) { .nav-toggle { display: none; } }

/* ---------- hero (Start) — Liquid-Animation in Markenfarben statt Pastell-Gradient ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 96px;
  background: var(--lila-deep);
  color: #fff;
}
.hero-liquid {
  position: absolute;
  inset: -20% -10%;
  z-index: 0;
  filter: url(#liquid-goo);
  pointer-events: none;
}
.hero-liquid .blob { position: absolute; border-radius: 50%; }
.hero-liquid .b1 { width: 300px; height: 300px; left: 40%; top: 12%; background: var(--orange); animation: liquidA 17s ease-in-out infinite; }
.hero-liquid .b2 { width: 460px; height: 460px; left: 56%; top: -4%; background: #7A5FC2;       animation: liquidB 21s ease-in-out infinite; }
.hero-liquid .b3 { width: 280px; height: 280px; left: 74%; top: 46%; background: var(--orange); animation: liquidC 25s ease-in-out infinite; }
.hero-liquid .b4 { width: 320px; height: 320px; left: 46%; top: 50%; background: #6248A6;        animation: liquidD 19s ease-in-out infinite; }
.hero-liquid .b5 { width: 220px; height: 220px; left: 52%; top: 26%; background: var(--orange); opacity: .85; animation: liquidE 15s ease-in-out infinite; }
@keyframes liquidA { 0%,100% { transform: translate(0,0) scale(1); }     50% { transform: translate(70px,50px) scale(1.25); } }
@keyframes liquidB { 0%,100% { transform: translate(0,0) scale(1); }     50% { transform: translate(-60px,60px) scale(0.82); } }
@keyframes liquidC { 0%,100% { transform: translate(0,0) scale(1); }     50% { transform: translate(-80px,-50px) scale(1.2); } }
@keyframes liquidD { 0%,100% { transform: translate(0,0) scale(1); }     50% { transform: translate(60px,-70px) scale(0.85); } }
@keyframes liquidE { 0%,100% { transform: translate(0,0) scale(1); }     50% { transform: translate(-40px,40px) scale(1.4); } }
@media (prefers-reduced-motion: reduce) {
  .hero-liquid .blob { animation: none !important; }
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; letter-spacing: -0.01em; max-width: 16ch; color: #fff; }
.hero .sub { margin-top: 24px; font-size: 18.5px; color: rgba(255,255,255,0.78); max-width: 54ch; }
.hero .claim { margin-top: 20px; font-family: "Poppins", sans-serif; font-weight: 300; font-size: 20px; color: #fff; }
.hero .claim b { font-weight: 700; color: var(--orange); }
.hero-actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- generic sections ---------- */
section.block { padding: 84px 0; }
.section-head { max-width: 62ch; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); }
.section-head p.lead { margin-top: 14px; font-size: 16px; color: var(--text-mid); }

/* full-bleed color bands — der "eine laute Farbmoment" pro Seite */
.band { position: relative; padding: 84px 0; overflow: hidden; }
.band-lila { background: var(--lila); color: #fff; }
.band-orange { background: var(--orange); color: #fff; }
.band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 36px); max-width: 20ch; }
.band p { color: rgba(255,255,255,0.85); }
.band .section-head p.lead { color: rgba(255,255,255,0.85); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* pillar cards — großes Geisterzahl-Motiv statt Karten-Schatten */
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 12px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 900px) { .pillars-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .pillars-grid { grid-template-columns: 1fr; } }
.pillar-card { position: relative; padding: 30px 24px; display: flex; flex-direction: column; gap: 10px; background: var(--surface); overflow: hidden; transition: background .15s; }
.pillar-card:hover { background: var(--surface-2); }
.pillar-card .n {
  position: absolute;
  top: -6px;
  right: 8px;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 64px;
  color: var(--lila-tint);
  line-height: 1;
  z-index: 0;
  user-select: none;
}
.pillar-card h3, .pillar-card p, .pillar-card .go { position: relative; z-index: 1; }
.pillar-card h3 { font-size: 17px; }
.pillar-card p { font-size: 14px; color: var(--text-mid); }
.pillar-card .go { margin-top: 4px; font-size: 13.5px; font-weight: 600; color: var(--lila); }

/* proof / KI blocks */
.proof-block { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 820px) { .proof-block { grid-template-columns: 1fr; } }
.proof-block .num-highlight { font-family: "Poppins", sans-serif; font-weight: 800; font-size: 44px; color: var(--lila); }

/* reference logos */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; margin-top: 32px; opacity: .8; }
.logo-strip .wordmark { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 20px; color: var(--text-soft); letter-spacing: 0.01em; }

/* KI block — jetzt als Orange-Band, siehe .band-orange */
.ki-block { display: flex; gap: 28px; align-items: flex-start; }
@media (max-width: 700px) { .ki-block { flex-direction: column; } }
.ki-block .ki-icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 14px; background: rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center; color: #fff; }
.ki-block h3 { font-size: 20px; margin-bottom: 10px; color: #fff; }
.ki-block p { font-size: 15px; color: rgba(255,255,255,0.85); }

/* process timeline (wie wir arbeiten) */
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 12px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 820px) { .process-row { grid-template-columns: repeat(2,1fr); } }
.process-step { padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; background: var(--surface); }
.process-step .step-n { font-family: "Poppins", sans-serif; font-weight: 800; font-size: 28px; color: var(--orange); }
.process-step h3 { font-size: 17px; }
.process-step p { font-size: 13.5px; color: var(--text-mid); }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 12px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 780px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { padding: 24px; display: flex; flex-direction: column; gap: 10px; background: var(--surface); }
.team-photo { width: 100%; aspect-ratio: 4/3; border-radius: 10px; background: linear-gradient(135deg, var(--lila-tint), var(--orange-tint)); display: flex; align-items: center; justify-content: center; color: var(--text-soft); font-size: 12.5px; font-family: "IBM Plex Mono", monospace; text-align: center; padding: 10px; }
.team-card h3 { font-size: 16.5px; }
.team-card .role { font-size: 13px; color: var(--orange); font-weight: 600; }
.team-card .bio { font-size: 13.5px; color: var(--text-mid); }
.todo-tag {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ok-text);
  background: var(--ok-bg);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
}
.todo-tag.pending { color: #A5680C; background: #FBEED8; }

/* tech vector texture (nur Technologie-Unterseite) */
.tech-texture {
  background-color: var(--surface);
  background-image: url("/assets/graphics/micrographics.svg");
  background-repeat: repeat;
  background-size: 340px 340px;
  position: relative;
}
.tech-texture::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(82,61,145,0.10), transparent 55%);
  pointer-events: none;
}

/* forms */
.form-card { padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-mid); }
.field input, .field textarea {
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lila); background: var(--surface); }
.field.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 13.5px; padding: 10px 14px; border-radius: 8px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: var(--ok-bg); color: var(--ok-text); }
.form-msg.err { background: var(--orange-tint); color: #A3341C; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info .info-row { display: flex; gap: 12px; font-size: 14.5px; color: var(--text-mid); }
.contact-info .info-row b { color: var(--text); }

/* newsletter footer form */
.newsletter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.newsletter-row input { flex: 1; min-width: 200px; padding: 12px 14px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: #fff; font: inherit; font-size: 14.5px; }
.newsletter-row input::placeholder { color: rgba(255,255,255,0.55); }
.newsletter-row input:focus { outline: none; border-color: var(--orange); }

/* footer */
.site-footer { background: var(--lila-deep); color: #EEE9FA; padding: 64px 0 28px; }
.footer-logo { height: 22px; width: auto; margin-bottom: 22px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.6); margin-bottom: 14px; font-family: "IBM Plex Mono", monospace; font-weight: 600; }
.footer-grid ul { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: 14px; color: rgba(255,255,255,0.85); }
.footer-grid a:hover { color: #fff; }
.footer-claim { font-family: "Poppins", sans-serif; font-weight: 300; font-size: 19px; max-width: 26ch; color: #fff; }
.footer-claim b { font-weight: 700; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* pages: leistungen sub, legal — dezentes Icon-Wasserzeichen statt Karten-Deko */
.hero-simple { position: relative; padding: 72px 0 52px; overflow: hidden; }
.hero-simple::after {
  content: "";
  position: absolute;
  top: -10%;
  right: -4%;
  width: 320px;
  height: 320px;
  background: url("/assets/logo/ppitalk-icon.png") no-repeat center / contain;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.hero-simple.tech-texture::after { display: none; }
.hero-simple .wrap { position: relative; z-index: 1; }
.hero-simple h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; max-width: 20ch; }
.hero-simple p.sub { margin-top: 16px; font-size: 17px; color: var(--text-mid); max-width: 58ch; }

.list-check { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.list-check li { display: flex; gap: 10px; font-size: 15px; color: var(--text-mid); align-items: flex-start; }
.list-check li::before { content: "→"; color: var(--orange); font-weight: 700; flex-shrink: 0; }

.legal-body { max-width: var(--max-read); font-size: 15px; color: var(--text-mid); }
.legal-body h2 { font-size: 19px; margin-top: 34px; margin-bottom: 10px; color: var(--text); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin-bottom: 10px; }
.legal-body .placeholder { background: var(--orange-tint); color: #A3341C; padding: 1px 6px; border-radius: 5px; font-family: "IBM Plex Mono", monospace; font-size: 13px; }

.cta-band { position: relative; background: var(--lila); color: #fff; padding: 64px 0; text-align: center; overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute;
  top: -18%;
  left: -6%;
  width: 260px;
  height: 260px;
  background: url("/assets/logo/ppitalk-icon.png") no-repeat center / contain;
  opacity: 0.1;
  pointer-events: none;
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(24px, 3.4vw, 34px); max-width: 26ch; margin: 0 auto; font-weight: 800; }
.cta-band p { margin-top: 12px; color: rgba(255,255,255,0.85); font-size: 15.5px; }
.cta-band .btn { margin-top: 24px; }
