/*
 * Premium-Seiten (Über uns, Chronik, Jobs, Leistungen, GFK, Marken, Anfahrt …)
 * Eigenes, zurückhaltendes Design-Layer auf Basis der bestehenden Shop-Variablen
 * (--red/--dark/--gray*/--border aus style.css) - keine neue Farbwelt, nur
 * großzügigerer Weißraum, ruhige Scroll-Reveals und dünne statt harte Kanten.
 * Wird global geladen, weil dieselben Klassen auch aus Page-Builder-Blöcken
 * heraus auf beliebigen Seiten verwendbar sein sollen.
 */

.pb-premium { --pp-ease: cubic-bezier(.22,.61,.36,1); }

/* ── Reveal-on-Scroll ─────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--pp-ease), transform .7s var(--pp-ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="fade"]     { transform: none; }
[data-reveal="left"]     { transform: translateX(-26px); }
[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible { transform: none; }
[data-reveal="right"]    { transform: translateX(26px); }
[data-reveal="scale"]    { transform: scale(.96); }
[data-reveal="scale"].is-visible { transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Gestaffelte Kinder (Grids/Listen): data-reveal-group auf Container,
   jedes direkte Kind bekommt automatisch steigende transition-delay. */
[data-reveal-group] > [data-reveal]:nth-child(1) { transition-delay: .00s; }
[data-reveal-group] > [data-reveal]:nth-child(2) { transition-delay: .08s; }
[data-reveal-group] > [data-reveal]:nth-child(3) { transition-delay: .16s; }
[data-reveal-group] > [data-reveal]:nth-child(4) { transition-delay: .24s; }
[data-reveal-group] > [data-reveal]:nth-child(5) { transition-delay: .32s; }
[data-reveal-group] > [data-reveal]:nth-child(6) { transition-delay: .40s; }

/* ── Typografie-Rahmen ────────────────────────────────────────────────── */
.pp-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 14px;
}
.pp-h1 {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.5px;
  color: #111;
  margin: 0 0 20px;
}
.pp-h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.3px;
  color: #111;
  margin: 0 0 16px;
}
.pp-lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-mid);
  max-width: 640px;
  margin: 0 0 0;
}
.pp-body { font-size: 15.5px; line-height: 1.85; color: #333; }
.pp-body p { margin: 0 0 18px; }
.pp-body p:last-child { margin-bottom: 0; }

/* ── Sektionen ────────────────────────────────────────────────────────── */
.pp-section { padding: 88px 20px; }
.pp-section--tight { padding: 56px 20px; }
.pp-wrap { max-width: 1160px; margin: 0 auto; }
.pp-wrap--narrow { max-width: 780px; margin: 0 auto; }
.pp-section--dark { background: var(--dark); color: #fff; }
.pp-section--dark .pp-h1, .pp-section--dark .pp-h2 { color: #fff; }
.pp-section--muted { background: var(--bg-light); }
.pp-hr {
  border: none; border-top: 1px solid var(--border); margin: 0;
}

/* ── Hero (Premium, zurückhaltend statt lauter Farbverlauf) ─────────────── */
.pp-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding: 64px 20px 72px;
  background: #0c0c0c;
  overflow: hidden;
}
.pp-hero-media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .55;
  transform: scale(1.06);
  transition: transform 1.4s var(--pp-ease);
}
.pp-hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.75) 100%);
}
.pp-hero.is-loaded .pp-hero-media { transform: scale(1); }
.pp-hero-content { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; width: 100%; }
.pp-hero .pp-eyebrow { color: #f2a3a3; }
.pp-hero .pp-h1 { color: #fff; }
.pp-hero .pp-lede { color: rgba(255,255,255,.78); }

/* ── Statistik-Zeile ──────────────────────────────────────────────────── */
.pp-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
}
.pp-stat-num {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -.5px;
  color: #111;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pp-section--dark .pp-stat-num { color: #fff; }
.pp-stat-label {
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: .4px;
  color: var(--gray-mid);
}
.pp-section--dark .pp-stat-label { color: rgba(255,255,255,.6); }

/* ── Karten-Grid (Leistungen / Services) ──────────────────────────────── */
.pp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.pp-card {
  background: #fff;
  padding: 36px 30px;
  transition: background .25s ease;
}
.pp-card:hover { background: #fafafa; }
.pp-card-num {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: var(--red); margin-bottom: 18px;
}
.pp-card h3 { font-size: 18px; font-weight: 700; color: #111; margin: 0 0 10px; }
.pp-card p { font-size: 14px; line-height: 1.7; color: var(--gray-mid); margin: 0; }
.pp-card a.pp-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 13px; font-weight: 700; color: #111;
  border-bottom: 1px solid transparent; padding-bottom: 1px;
  transition: border-color .2s, color .2s;
}
.pp-card a.pp-card-link:hover { color: var(--red); border-color: var(--red); }

/* ── Split (Bild + Text) ──────────────────────────────────────────────── */
.pp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.pp-split.pp-split--rev .pp-split-media { order: 2; }
.pp-split-media img, .pp-split-media .pp-media-ph {
  width: 100%; height: auto; display: block; border-radius: 2px;
}
.pp-media-ph {
  aspect-ratio: 4/3; background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-light); font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
}
@media (max-width: 820px) {
  .pp-split { grid-template-columns: 1fr; gap: 28px; }
  .pp-split.pp-split--rev .pp-split-media { order: 0; }
}

/* ── Timeline (Chronik) ───────────────────────────────────────────────── */
.pp-timeline { position: relative; max-width: 780px; margin: 0 auto; }
.pp-timeline::before {
  content: ''; position: absolute; left: 84px; top: 6px; bottom: 6px;
  width: 1px; background: var(--border);
}
.pp-tl-item { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 32px; padding: 0 0 52px; }
.pp-tl-item:last-child { padding-bottom: 0; }
.pp-tl-year { font-size: 15px; font-weight: 800; color: var(--red); padding-top: 2px; text-align: right; }
.pp-tl-item::after {
  content: ''; position: absolute; left: 80px; top: 6px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--red); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--border);
}
.pp-tl-body h3 { font-size: 16px; font-weight: 700; color: #111; margin: 0 0 8px; }
.pp-tl-body p { font-size: 14.5px; line-height: 1.75; color: var(--gray-mid); margin: 0; }
@media (max-width: 560px) {
  .pp-timeline::before { left: 30px; }
  .pp-tl-item { grid-template-columns: 30px 1fr; gap: 18px; }
  .pp-tl-year { display: none; }
  .pp-tl-body h3 span { color: var(--red); margin-right: 8px; }
  .pp-tl-item::after { left: 26px; }
}

/* ── Markenlogos ──────────────────────────────────────────────────────── */
.pp-brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.pp-brand {
  background: #fff;
  min-height: 88px;
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  font-weight: 700; font-size: 13.5px; color: var(--gray-mid);
  letter-spacing: .3px;
  filter: grayscale(1);
  opacity: .72;
  transition: opacity .25s ease, filter .25s ease, color .25s ease;
  text-align: center;
}
.pp-brand:hover { opacity: 1; filter: grayscale(0); color: #111; }

/* ── CTA-Band ─────────────────────────────────────────────────────────── */
.pp-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px; padding: 46px 48px; background: var(--dark); color: #fff; border-radius: 2px;
}
.pp-cta h3 { font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.pp-cta p { margin: 0; color: rgba(255,255,255,.65); font-size: 14.5px; }
.pp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff; padding: 14px 30px;
  font-weight: 700; font-size: 13.5px; letter-spacing: .3px; text-transform: uppercase;
  border-radius: 2px; white-space: nowrap; transition: background .2s ease;
}
.pp-btn:hover { background: var(--red-hover); color: #fff; }
.pp-btn--ghost {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35);
}
.pp-btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.pp-btn--dark { background: transparent; color: #111; border: 1px solid var(--border); }
.pp-btn--dark:hover { background: #111; color: #fff; border-color: #111; }

/* ── Job-Listing-Karten ───────────────────────────────────────────────── */
.pp-job {
  border: 1px solid var(--border); padding: 34px 36px; margin-bottom: 1px;
  transition: border-color .2s ease;
}
.pp-job:hover { border-color: #bbb; }
.pp-job-title { font-size: 20px; font-weight: 800; color: #111; margin: 0 0 4px; }
.pp-job-type { font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.pp-job-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 18px; }
.pp-job-cols h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--gray-mid); margin: 0 0 10px; }
.pp-job-cols ul { margin: 0; padding-left: 18px; }
.pp-job-cols li { font-size: 14px; line-height: 1.75; color: #333; margin-bottom: 4px; }
@media (max-width: 620px) { .pp-job-cols { grid-template-columns: 1fr; } }
