/* pfiffikus – Design-System (Inter lokal, Apple-nahe Bühne, App-Tokens) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/InterVariable-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/InterVariable-Italic-latin.woff2') format('woff2');
}

:root {
  --pf-bg: #000;
  --pf-bg-2: #0b0b0d;
  --pf-panel: #f5f5f7;
  --pf-panel-2: #ffffff;
  --pf-ink: #f5f5f7;
  --pf-ink-2: #a1a1a6;
  --pf-ink-dark: #1d1d1f;
  --pf-ink-dark-2: #6e6e73;
  --pf-accent: #0a84ff;
  --pf-accent-2: #5ac8fa;
  --pf-birch: #e9d6b5;
  --pf-steel: #c9ccd1;
  --pf-radius: 18px;
  --pf-max: 1180px;
  --pf-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --pf-ease: cubic-bezier(.2,.7,.2,1);
}

html { scroll-behavior: smooth; }
body.pf-page {
  margin: 0; background: var(--pf-bg); color: var(--pf-ink);
}
body.pf-page, .pf-scope {
  font-family: var(--pf-font); font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  letter-spacing: -0.005em; line-height: 1.45;
}
div.pf-scope { display: block; }
.pf-scope *, .pf-scope *::before, .pf-scope *::after { box-sizing: border-box; }
.pf-scope img, .pf-scope video, .pf-scope canvas { max-width: 100%; height: auto; display: block; }
.pf-scope a { color: var(--pf-accent); text-decoration: none; }
.pf-scope a:hover { text-decoration: underline; }

/* ---------- Typo ---------- */
.pf-h1 { font-size: clamp(44px, 8vw, 96px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; margin: 0; }
.pf-h2 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 700; letter-spacing: -0.028em; line-height: 1.06; margin: 0 0 .35em; }
.pf-h3 { font-size: clamp(24px, 3vw, 36px); font-weight: 650; letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 .4em; }
.pf-lead { font-size: clamp(19px, 2.2vw, 27px); font-weight: 450; color: var(--pf-ink-2); letter-spacing: -0.012em; max-width: 26em; margin: 0; }
.pf-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pf-accent); margin: 0 0 1.2em; }
.pf-body { font-size: 17px; color: var(--pf-ink-2); max-width: 40em; }
.pf-light .pf-h1, .pf-light .pf-h2, .pf-light .pf-h3 { color: var(--pf-ink-dark); }
.pf-light .pf-lead, .pf-light .pf-body { color: var(--pf-ink-dark-2); }
.pf-grad { background: linear-gradient(92deg, #fff 0%, #dfe6ee 45%, #a9b8c9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pf-grad-warm { background: linear-gradient(92deg, #fff 0%, #f1e2c6 45%, #d1b48a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Elementor-Reset: unsere Sektionen laufen randlos ---------- */
.elementor .e-con.pf-section { display: block; --display: block; --flex-direction: column; max-width: none; width: 100%; --padding-top: 0; --padding-bottom: 0; --padding-left: 0; --padding-right: 0; --margin-top: 0; --margin-bottom: 0; }
.elementor .e-con.pf-section.e-lazyloaded, .elementor .e-con.pf-section.e-flex { display: block; }
.elementor .e-con.pf-section > .e-con-inner { max-width: none; width: 100%; padding: 0; }
.elementor .e-con.pf-section .elementor-widget { margin-bottom: 0; }
.elementor .e-con.pf-section .elementor-widget-shortcode, .elementor .e-con.pf-section .elementor-widget-html { width: 100%; }
.elementor-template-canvas body, body.elementor-template-canvas { background: var(--pf-bg); margin: 0; }
/* Hintergründe mit ausreichender Spezifität gegen Elementor-Container */
.elementor .e-con.pf-section { background-color: var(--pf-bg); color: var(--pf-ink); }
.elementor .e-con.pf-section.pf-dark-2 { background-color: var(--pf-bg-2); }
.elementor .e-con.pf-section.pf-light { background-color: var(--pf-panel); color: var(--pf-ink-dark); }
.elementor .e-con.pf-section.pf-white { background-color: var(--pf-panel-2); color: var(--pf-ink-dark); }
.pf-white .pf-h1, .pf-white .pf-h2, .pf-white .pf-h3 { color: var(--pf-ink-dark); }
.pf-white .pf-lead, .pf-white .pf-body { color: var(--pf-ink-dark-2); }
.pf-light .pf-eyebrow, .pf-white .pf-eyebrow { color: #0066cc; }

/* ---------- Layout ---------- */
.pf-wrap { width: min(var(--pf-max), 92vw); margin-inline: auto; }
.pf-section { display: block; position: relative; padding: clamp(80px, 12vw, 160px) 0; overflow: clip; background: var(--pf-bg); color: var(--pf-ink); }
.pf-scope.pf-section.pf-light { background: var(--pf-panel); color: var(--pf-ink-dark); }
.pf-scope.pf-section.pf-white { background: var(--pf-panel-2); color: var(--pf-ink-dark); }
.pf-section.pf-dark-2 { background: var(--pf-bg-2); }
.pf-center { text-align: center; }
.pf-center .pf-lead { margin-inline: auto; }
.pf-grid-2 { display: grid; gap: clamp(24px, 4vw, 64px); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; }
.pf-grid-3 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pf-card { background: #161618; border-radius: var(--pf-radius); padding: clamp(22px, 3vw, 36px); }
.pf-light .pf-card, .pf-white .pf-card { background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,.06); }
.pf-card .pf-h3 { font-size: 22px; }
.pf-card p { margin: 0; color: var(--pf-ink-2); font-size: 16px; }
.pf-light .pf-card p, .pf-white .pf-card p { color: var(--pf-ink-dark-2); }
.pf-kpi { font-size: clamp(40px, 6vw, 72px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.pf-kpi small { display: block; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--pf-ink-2); margin-top: 10px; }
.pf-light .pf-kpi small { color: var(--pf-ink-dark-2); }

/* ---------- Header / Nav ---------- */
.pf-nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(0,0,0,.72); border-bottom: 1px solid rgba(255,255,255,.08); }
.pf-nav .pf-wrap { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.pf-nav a { color: rgba(255,255,255,.85); font-size: 13px; font-weight: 500; }
.pf-nav .pf-logo { display: flex; align-items: center; gap: 8px; }
.pf-nav .pf-logo svg { height: 22px; width: auto; }
.pf-nav nav { display: flex; gap: 28px; }
@media (max-width: 720px) { .pf-nav nav a:not(.pf-cta) { display: none; } }
.pf-cta { display: inline-block; padding: 11px 22px; border-radius: 999px; background: var(--pf-accent); color: #fff !important; font-weight: 600; font-size: 16px; transition: transform .25s var(--pf-ease), background .25s; }
.pf-cta:hover { background: #2a94ff; text-decoration: none !important; transform: translateY(-1px); }
.pf-cta.pf-ghost { background: transparent; border: 1px solid rgba(255,255,255,.35); }
.pf-light .pf-cta.pf-ghost, .pf-white .pf-cta.pf-ghost { border-color: rgba(0,0,0,.25); color: var(--pf-ink-dark) !important; }
.pf-nav .pf-cta { padding: 5px 12px; font-size: 12px; }

/* ---------- Hero ---------- */
.pf-hero { min-height: 92vh; display: grid; place-items: center; text-align: center; padding-top: 40px; }
.pf-hero .pf-h1 { margin-bottom: .25em; }
.pf-hero .pf-lead { margin: 0 auto 1.6em; }
.pf-hero-media { margin-top: clamp(24px, 5vw, 56px); width: min(1100px, 96vw); aspect-ratio: 16/9; position: relative; }
.pf-hero-media img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Sticky-Szene (Scroll-Scrub) ---------- */
.pf-scene { position: relative; height: 320vh; }
.pf-scene-stage { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.pf-scene-stage canvas, .pf-scene-stage img.pf-seq { width: min(1200px, 96vw); aspect-ratio: 4/3; object-fit: contain; }
.pf-scene-caption { position: absolute; left: 50%; transform: translateX(-50%); width: min(720px, 90vw); text-align: center; opacity: 0; transition: opacity .35s; pointer-events: none; }
.pf-scene-caption.is-on { opacity: 1; }
.pf-scene-caption.top { top: 8vh; } .pf-scene-caption.bottom { bottom: 8vh; }

/* ---------- Hotspots ---------- */
.pf-hotspots { position: relative; width: min(1100px, 96vw); margin-inline: auto; }
.pf-hotspots img { width: 100%; }
.pf-hot { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--pf-ink-dark);
  border: 0; cursor: pointer; font: 600 13px/26px var(--pf-font); text-align: center; box-shadow: 0 0 0 6px rgba(255,255,255,.18); transition: transform .25s var(--pf-ease); }
.pf-hot:hover, .pf-hot.is-on { transform: scale(1.15); background: var(--pf-accent); color: #fff; box-shadow: 0 0 0 8px rgba(10,132,255,.25); }
.pf-hot-tip { position: absolute; background: rgba(28,28,30,.96); color: #fff; padding: 12px 14px; border-radius: 12px; font-size: 14px; width: 230px; transform: translate(-50%, 14px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--pf-ease); z-index: 3; }
.pf-hot-tip.is-on { opacity: 1; transform: translate(-50%, 8px); }
.pf-hot-tip b { display: block; font-weight: 650; margin-bottom: 2px; }

/* ---------- Feature-Stripes (Bild + Text abwechselnd) ---------- */
.pf-stripe { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; padding: clamp(40px, 6vw, 90px) 0; }
.pf-stripe:nth-child(even) { grid-template-columns: 1fr 1.15fr; }
.pf-stripe:nth-child(even) .pf-stripe-media { order: 2; }
.pf-stripe-media { border-radius: var(--pf-radius); overflow: hidden; background: #0e0e10; aspect-ratio: 16/10; }
.pf-stripe-media img { width: 100%; height: 100%; object-fit: cover; }
.pf-light .pf-stripe-media { background: #e8e8ed; }
@media (max-width: 820px) { .pf-stripe, .pf-stripe:nth-child(even) { grid-template-columns: 1fr; } .pf-stripe:nth-child(even) .pf-stripe-media { order: 0; } }

/* ---------- Reveal (Progressive Enhancement) ---------- */
.pf-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--pf-ease), transform .8s var(--pf-ease); }
.pf-reveal.is-in { opacity: 1; transform: none; }
@supports (animation-timeline: view()) {
  .pf-reveal { animation: pf-in linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; transition: none; opacity: 1; transform: none; }
  @keyframes pf-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .pf-reveal { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; } .pf-scene { height: auto; } .pf-scene-stage { position: static; height: auto; } }

/* ---------- Spec-Tabelle ---------- */
.pf-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2px; border-radius: var(--pf-radius); overflow: hidden; }
.pf-specs div { background: #131315; padding: 22px 24px; }
.pf-light .pf-specs div, .pf-white .pf-specs div { background: #fff; }
.pf-specs dt { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pf-ink-2); margin: 0 0 6px; }
.pf-light .pf-specs dt { color: var(--pf-ink-dark-2); }
.pf-specs dd { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }

/* ---------- Newsletter ---------- */
.pf-signup { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.pf-signup::after { content: ''; flex-basis: 100%; height: 0; order: 1; }
.pf-signup .pf-signup-note { order: 2; flex: 0 0 auto; width: min(560px, 100%); margin: 6px auto 0; display: flex; gap: 8px; align-items: flex-start; text-align: left; }
.pf-signup .pf-signup-note input { margin-top: 3px; flex: none; }
.pf-signup input[type=email] { flex: 1 1 280px; max-width: 420px; padding: 14px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: 500 16px var(--pf-font); }
.pf-light .pf-signup input[type=email] { border-color: rgba(0,0,0,.18); background: #fff; color: var(--pf-ink-dark); }
.pf-signup button { padding: 14px 26px; border: 0; border-radius: 999px; background: var(--pf-accent); color: #fff; font: 600 16px var(--pf-font); cursor: pointer; }
.pf-signup-note { font-size: 13px; color: var(--pf-ink-2); margin-top: 12px; }
.pf-light .pf-signup-note { color: var(--pf-ink-dark-2); }
.pf-signup-note a { color: inherit; text-decoration: underline; }
.pf-signup-msg { margin-top: 14px; font-weight: 600; min-height: 1.4em; }

/* ---------- Footer ---------- */
.pf-footer { padding: 48px 0 40px; font-size: 13px; color: var(--pf-ink-2); border-top: 1px solid rgba(255,255,255,.08); }
.pf-footer .pf-wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.pf-footer a { color: var(--pf-ink-2); }
.pf-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Legal pages ---------- */
.pf-legal { max-width: 760px; margin-inline: auto; padding: 60px 0 100px; font-size: 16px; line-height: 1.6; }
.pf-legal h1 { font-size: 40px; letter-spacing: -0.025em; margin: 0 0 .6em; }
.pf-legal h2 { font-size: 24px; letter-spacing: -0.015em; margin: 1.6em 0 .5em; }
.pf-legal h3 { font-size: 18px; margin: 1.4em 0 .4em; }
.pf-legal p, .pf-legal li { color: var(--pf-ink-2); }
.pf-light .pf-legal p, .pf-light .pf-legal li { color: #3a3a3c; }
.pf-legal address { font-style: normal; }
