:root {
  --orange:      #E8690A;
  --orange-dark: #C05508;
  --orange-pale: rgba(232,105,10,0.08);
  --dark:        #1A1A2E;
  --dark-deep:   #0D0D1E;
  --mid-dark:    #2E3A6E;
  --gray:        #555555;
  --gray-light:  #888888;
  --light:       #FFF5EE;
  --mid:         #F5F5F5;
  --white:       #FFFFFF;
  --border:      #E5E5E5;
  --font-head:   'Barlow Condensed', sans-serif;
  --font-body:   'Barlow', sans-serif;
  --max-w:       1160px;
  --radius:      4px;
  --section-v:   80px;
  --section-v-sm:48px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--gray);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--orange-dark); }

.pm4-img-placeholder {
  background: linear-gradient(135deg, #1a1a2e 0%, #2e3a6e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.pm4-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.02) 0px,
    rgba(255,255,255,0.02) 1px,
    transparent 1px,
    transparent 12px
  );
}
.pm4-img-placeholder__icon {
  width: 48px; height: 48px;
  border: 2px solid rgba(232,105,10,0.6);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.pm4-img-placeholder__icon svg {
  width: 22px; height: 22px;
  fill: rgba(232,105,10,0.8);
}
.pm4-img-placeholder__label {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
  text-align: center;
  position: relative; z-index: 1;
  padding: 0 16px;
}
.pm4-img-placeholder__id {
  font-family: monospace;
  font-size: 10px;
  color: rgba(232,105,10,0.6);
  position: relative; z-index: 1;
}

.pm4-img--hero     { height: 480px; }
.pm4-img--medium   { height: 340px; }
.pm4-img--small    { height: 240px; }
.pm4-img--square   { aspect-ratio: 1; height: auto; }
.pm4-img--screenshot {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
}
.pm4-img--screenshot .pm4-img-placeholder__label { color: var(--gray); }
.pm4-img--screenshot .pm4-img-placeholder__id    { color: var(--orange); }
.pm4-img--screenshot::before { display: none; }

.pm4-img-placeholder.has-image { background: transparent; }
.pm4-img-placeholder.has-image::before { display: none; }
.pm4-img-placeholder.has-image .pm4-img-placeholder__icon,
.pm4-img-placeholder.has-image .pm4-img-placeholder__label,
.pm4-img-placeholder.has-image .pm4-img-placeholder__id { display: none; }
.pm4-img-placeholder img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.pm4-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.pm4-nav {
  background: var(--dark);
  position: sticky; top: 0; z-index: 1000;
  border-bottom: 2px solid var(--orange);
}
.pm4-nav__inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 40px; height: 64px;
  max-width: var(--max-w); margin: 0 auto;
}
.pm4-nav__logo {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 700;
  color: var(--white); letter-spacing: 0.5px;
  flex-shrink: 0;
}
.pm4-nav__logo span { color: var(--orange); }
.pm4-nav__links {
  display: flex; align-items: center;
  gap: 28px; list-style: none;
}
.pm4-nav__links a {
  color: rgba(255,255,255,0.75);
  font-size: 14px; font-weight: 500;
}
.pm4-nav__links a:hover,
.pm4-nav__links a.active { color: var(--white); }
.pm4-nav__cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 9px 18px; border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background 0.15s !important;
  white-space: nowrap;
}
.pm4-nav__cta:hover { background: var(--orange-dark) !important; }

.pm4-nav__burger {
  display: none; flex-direction: column;
  gap: 5px; cursor: pointer; padding: 4px;
  border: none; background: none;
}
.pm4-nav__burger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 0.3s;
}
.pm4-nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pm4-nav__burger.open span:nth-child(2) { opacity: 0; }
.pm4-nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.pm4-tag {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
}
.pm4-h1 {
  font-family: var(--font-head);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700; line-height: 1.1;
  color: var(--white); margin-bottom: 18px;
}
.pm4-h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700; line-height: 1.15;
  color: var(--dark); margin-bottom: 12px;
}
.pm4-h2--white { color: var(--white); }
.pm4-h3 {
  font-size: 17px; font-weight: 700;
  color: var(--dark); margin-bottom: 8px;
  font-family: var(--font-body);
}
.pm4-lead {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  max-width: 620px; margin-bottom: 28px;
}
.pm4-body     { font-size: 15px; line-height: 1.75; color: var(--gray); }
.pm4-body--white { color: rgba(255,255,255,0.82); }
.pm4-small    { font-size: 13px; color: var(--gray-light); }
.pm4-text-center { text-align: center; }
.pm4-orange   { color: var(--orange); }

.pm4-section           { padding: var(--section-v) 0; }
.pm4-section--dark     { background: var(--dark); }
.pm4-section--deepdark { background: var(--dark-deep); }
.pm4-section--light    { background: var(--light); }
.pm4-section--mid      { background: var(--mid); }
.pm4-border-top        { border-top: 3px solid var(--orange); }
.pm4-border-bottom     { border-bottom: 3px solid var(--orange); }

.pm4-hero {
  position: relative;
  background: var(--dark);
  border-bottom: 3px solid var(--orange);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.pm4-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.pm4-hero__bg .pm4-img-placeholder {
  width: 100%; height: 100%;
  border-radius: 0;
}
.pm4-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center right;
  display: block;
}

.pm4-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(13,13,30,0.92) 0%,
    rgba(13,13,30,0.80) 45%,
    rgba(13,13,30,0.35) 75%,
    rgba(13,13,30,0.10) 100%
  );
}

.pm4-hero__bg .pm4-img-placeholder:not(.has-image) ~ .pm4-hero__overlay,
.pm4-hero:not(:has(.pm4-hero__bg img)) .pm4-hero__overlay {
  background: rgba(13,13,30,0.98);
}

.pm4-hero__content {
  position: relative;
  z-index: 2;
  padding: 90px 40px;
  max-width: 680px;
  width: 100%;
}

.pm4-hero--centered .pm4-hero__content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.pm4-hero--centered .pm4-lead      { margin-left: auto; margin-right: auto; }
.pm4-hero--centered .pm4-btn-group { justify-content: center; }
.pm4-hero--centered .pm4-divider   { margin-left: auto; margin-right: auto; }

.pm4-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
}
.pm4-stat {
  background: var(--light);
  padding: 28px 16px; text-align: center;
}
.pm4-stat__num {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700; color: var(--orange);
  line-height: 1; margin-bottom: 8px;
}
.pm4-stat__label { font-size: 12px; color: var(--gray); line-height: 1.4; }

.pm4-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange); color: var(--white);
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: var(--radius);
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  min-height: 48px;
  text-align: center;
}
.pm4-btn:hover  { background: var(--orange-dark); color: var(--white); transform: translateY(-1px); }
.pm4-btn:active { transform: translateY(0); }
.pm4-btn--ghost {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.pm4-btn--ghost:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.pm4-btn--dark { background: var(--dark); color: var(--white); }
.pm4-btn--dark:hover { background: var(--mid-dark); color: var(--white); }
.pm4-btn-group { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.pm4-pain-list { display: flex; flex-direction: column; gap: 3px; }
.pm4-pain      { display: flex; align-items: stretch; }
.pm4-pain__pct {
  min-width: 72px; background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 17px; font-weight: 700;
  color: var(--white); padding: 14px 6px; flex-shrink: 0;
}
.pm4-pain__body  { background: var(--mid); padding: 14px 20px; flex: 1; }
.pm4-pain__title { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.pm4-pain__desc  { font-size: 13px; color: var(--gray); line-height: 1.5; }

.pm4-grid     { display: grid; gap: 18px; }
.pm4-grid--4  { grid-template-columns: repeat(4, 1fr); }
.pm4-grid--3  { grid-template-columns: repeat(3, 1fr); }
.pm4-grid--2  { grid-template-columns: repeat(2, 1fr); }

.pm4-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-top: 3px solid var(--orange);
  padding: 24px 20px; border-radius: var(--radius);
  transition: box-shadow 0.2s;
}
.pm4-card:hover { box-shadow: 0 4px 20px rgba(232,105,10,0.1); }
.pm4-card--dark { background: var(--dark); border-top-color: var(--orange); }
.pm4-card__icon  { font-size: 26px; margin-bottom: 12px; }
.pm4-card__title { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 7px; }
.pm4-card--dark .pm4-card__title { color: var(--white); }
.pm4-card__text  { font-size: 13px; color: var(--gray); line-height: 1.65; }
.pm4-card--dark .pm4-card__text  { color: rgba(255,255,255,0.72); }

.pm4-case {
  background: var(--dark);
  border: 1.5px solid var(--orange);
  border-radius: var(--radius);
  padding: 40px 48px;
}
.pm4-case__tag      { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.pm4-case__headline { font-family: var(--font-head); font-size: clamp(24px, 3vw, 36px); font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 10px; }
.pm4-case__sub      { font-size: 15px; color: rgba(255,255,255,0.7); margin-bottom: 28px; }

.pm4-results { width: 100%; border-collapse: collapse; }
.pm4-results thead tr { background: var(--dark); }
.pm4-results thead th { padding: 11px 14px; font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.65); text-align: left; text-transform: uppercase; letter-spacing: 0.5px; }
.pm4-results tbody tr:nth-child(even) { background: var(--light); }
.pm4-results tbody tr:nth-child(odd)  { background: var(--white); }
.pm4-results td         { padding: 13px 14px; font-size: 14px; color: var(--dark); border-bottom: 0.5px solid var(--border); }
.pm4-results td.highlight { color: var(--orange); font-weight: 700; font-size: 15px; }
.pm4-results td.muted     { color: var(--gray-light); }

.pm4-zert { width: 100%; border-collapse: collapse; }
.pm4-zert tr:nth-child(even) td { background: var(--light); }
.pm4-zert tr:nth-child(odd)  td { background: var(--white); }
.pm4-zert td { padding: 11px 14px; font-size: 14px; border-bottom: 0.5px solid var(--border); }
.pm4-zert td:first-child { font-weight: 700; color: var(--dark); width: 40%; }
.pm4-zert td:last-child  { color: var(--gray); }
.pm4-zert .aktiv { color: var(--orange); font-weight: 600; font-size: 12px; }

.pm4-divider         { width: 52px; height: 3px; background: var(--orange); margin: 18px 0; }
.pm4-divider--white  { background: rgba(255,255,255,0.3); }
.pm4-divider--center { margin: 18px auto; }
.pm4-hr              { border: none; border-top: 0.5px solid var(--border); margin: 36px 0; }

.pm4-notice {
  background: var(--light);
  border-left: 3px solid var(--orange);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px; color: var(--gray);
  margin: 20px 0;
}
.pm4-notice strong { color: var(--dark); }

.pm4-cta { background: var(--dark); border-top: 3px solid var(--orange); padding: var(--section-v) 0; text-align: center; }
.pm4-cta__inner { max-width: 680px; margin: 0 auto; }

.pm4-dsgvo {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 10px 14px; margin-top: 16px;
  font-size: 12px; color: rgba(255,255,255,0.65);
}
.pm4-dsgvo__dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex-shrink: 0; margin-top: 3px; }

.pm4-footer { background: var(--dark-deep); border-top: 1px solid rgba(255,255,255,0.08); padding: 48px 0 24px; }
.pm4-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.pm4-footer__brand { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.pm4-footer__brand span { color: var(--orange); }
.pm4-footer__sub   { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.65; }
.pm4-footer__heading { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.pm4-footer__links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.pm4-footer__links a { font-size: 13px; color: rgba(255,255,255,0.55); }
.pm4-footer__links a:hover { color: var(--white); }
.pm4-footer__bottom { border-top: 0.5px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.35); }
.pm4-footer__legal { display: flex; gap: 20px; }
.pm4-footer__legal a { color: rgba(255,255,255,0.35); }
.pm4-footer__legal a:hover { color: rgba(255,255,255,0.7); }

.pm4-mb-8  { margin-bottom: 8px; }
.pm4-mb-16 { margin-bottom: 16px; }
.pm4-mb-24 { margin-bottom: 24px; }
.pm4-mb-32 { margin-bottom: 32px; }
.pm4-mb-48 { margin-bottom: 48px; }
.pm4-mt-8  { margin-top: 8px; }
.pm4-mt-16 { margin-top: 16px; }
.pm4-mt-24 { margin-top: 24px; }
.pm4-mt-32 { margin-top: 32px; }

@keyframes fadeUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
.pm4-animate { animation: fadeUp 0.55s ease forwards; }
.pm4-animate--d1 { animation-delay:.1s; opacity:0; }
.pm4-animate--d2 { animation-delay:.2s; opacity:0; }
.pm4-animate--d3 { animation-delay:.3s; opacity:0; }

@media (max-width: 992px) {
  :root { --section-v: 60px; }
  .pm4-container { padding: 0 28px; }
  .pm4-nav__inner { padding: 0 28px; }
  .pm4-hero { min-height: 460px; }
  .pm4-hero__content { padding: 64px 28px; max-width: 100%; }
  .pm4-stats { grid-template-columns: repeat(2, 1fr); }
  .pm4-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .pm4-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .pm4-case    { padding: 32px 28px; }
}

@media (max-width: 768px) {
  :root { --section-v: 48px; }
  .pm4-container { padding: 0 18px; }


  .pm4-nav__inner { padding: 0 18px; height: 60px; }
  .pm4-nav__burger { display: flex; }
  .pm4-nav__links {
    display: none;
    position: absolute; top: 62px; left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 16px 18px 20px;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .pm4-nav__links.open { display: flex; }
  .pm4-nav__links li   { width: 100%; }
  .pm4-nav__links a    { display: block; padding: 11px 12px; font-size: 15px; border-radius: var(--radius); }
  .pm4-nav__links a:hover { background: rgba(255,255,255,0.06); }
  .pm4-nav__cta { margin-top: 8px; text-align: center !important; background: var(--orange) !important; }


  .pm4-hero { min-height: 400px; }
  .pm4-hero__content { padding: 48px 18px 44px; max-width: 100%; }
  .pm4-hero__overlay {
    background: linear-gradient(
      to bottom,
      rgba(13,13,30,0.93) 0%,
      rgba(13,13,30,0.82) 100%
    ) !important;
  }


  .pm4-stats { grid-template-columns: repeat(2, 1fr); }
  .pm4-stat  { padding: 20px 10px; }


  .pm4-grid--4,
  .pm4-grid--3,
  .pm4-grid--2 { grid-template-columns: 1fr; }


  .pm4-btn-group { flex-direction: column; }
  .pm4-btn       { width: 100%; text-align: center; }


  .pm4-case { padding: 24px 18px; }


  .pm4-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pm4-results, .pm4-zert { min-width: 520px; }


  .pm4-footer__grid   { grid-template-columns: 1fr; gap: 28px; }
  .pm4-footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 400px) {
  .pm4-stats { grid-template-columns: 1fr 1fr; }
  .pm4-stat__num { font-size: 32px; }
  .pm4-pain__pct { min-width: 58px; font-size: 14px; }
}