/*
Theme Name: PRM Personaltransfer & Outplacement
Theme URI: https://prm-gmbh.de
Author: PRM GmbH
Description: Custom WordPress theme for PRM GmbH – Spezialist für Transfergesellschaften, Personaltransfer und Outplacement.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: prm
*/

/* ============================================
   PRM Design System
   Fonts: Source Serif 4 (headings) / Figtree (body)
   Primary Blue: #105799 | Navy: #0d1c30
   ============================================ */

:root {
  --prm-blue: #105799;
  --prm-blue-dark: #0d4880;
  --prm-blue-light: #4886bd;
  --prm-navy: #0d1c30;
  --prm-navy-2: #0a3866;
  --prm-text: #3a414f;
  --prm-text-dark: #171a21;
  --prm-heading: #111414;
  --prm-muted: #6b7280;
  --prm-muted-2: #727a89;
  --prm-border: #e2e5ea;
  --prm-bg-soft: #f7f8fa;
  --prm-bg-tint: #eef4fa;
  --prm-white: #ffffff;
  --font-display: 'Source Serif 4', Georgia, serif;
  --font-body: 'Figtree', system-ui, -apple-system, sans-serif;
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--prm-text);
  background: var(--prm-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--prm-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: 56px; }
h2 { font-size: 34px; }
h3 { font-size: 20px; font-family: var(--font-body); font-weight: 700; }

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

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--prm-blue);
  margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--prm-blue);
  color: var(--prm-white);
}
.btn-primary:hover { background: var(--prm-blue-dark); }
.btn-secondary {
  background: var(--prm-white);
  color: var(--prm-blue);
  border-color: var(--prm-white);
}
.btn-secondary:hover { background: #f0f0f0; }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--prm-white);
}
.btn-link {
  color: var(--prm-blue);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-link svg { transition: transform .15s ease; }
.btn-link:hover svg { transform: translateX(3px); }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--prm-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 77px;
  flex-wrap: nowrap;
}
.site-logo { flex: none; }
.site-logo img { height: 30px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; flex: 1; justify-content: center; }
.main-nav ul { display: flex; list-style: none; gap: 22px; white-space: nowrap; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--prm-text-dark);
  padding: 8px 2px;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav .current-menu-item a { color: var(--prm-blue); }
.header-actions { display: flex; align-items: center; gap: 20px; flex: none; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--prm-text-dark);
  white-space: nowrap;
}
.header-cta.btn-primary { padding: 11px 20px; font-size: 15px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #0d4880 0%, #105799 55%, #1a6bb0 100%);
  color: var(--prm-white);
  padding: 90px 0 70px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 0;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 22px;
}
.hero h1 { font-size: 52px; margin-bottom: 22px; letter-spacing: -0.03em; }
.hero p.lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media .frame {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.5;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.08) 41%, transparent 42%),
    linear-gradient(135deg, transparent 60%, rgba(255,255,255,0.06) 61%, transparent 62%);
}

/* ============ Stats bar ============ */
.stats-bar {
  background: var(--prm-navy);
  color: var(--prm-white);
  padding: 44px 0;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat { text-align: center; padding: 0 20px; position: relative; }
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 1px;
  background: rgba(255,255,255,0.15);
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 6px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 600;
  color: #cfe0f2;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-desc { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.4; }

/* ============ Section spacing ============ */
.section { padding: 96px 0; }
.section-tint { background: var(--prm-bg-soft); }
.section-header { max-width: 640px; margin-bottom: 48px; }
.section-header p { color: var(--prm-muted); margin-top: 14px; font-size: 17px; }

/* ============ Audience cards ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.audience-card {
  background: var(--prm-bg-tint);
  border-radius: 0;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.audience-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(16,87,153,0.12); }
.audience-card .thumb { aspect-ratio: 16/10.5; overflow: hidden; }
.audience-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.audience-card .body { padding: 24px; }
.audience-card .tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--prm-blue);
  margin-bottom: 10px;
  display: block;
}
.audience-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 21px; margin-bottom: 10px; line-height: 1.3; }
.audience-card p { font-size: 15px; color: var(--prm-muted); margin-bottom: 16px; }

/* ============ Feature split (Warum PRM) ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-media img { border-radius: 0; width: 100%; }
.feature-list { margin-top: 28px; }
.feature-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--prm-border);
}
.feature-item:first-child { padding-top: 0; }
.feature-item h4 { font-family: var(--font-body); font-size: 16px; font-weight: 700; color: var(--prm-text-dark); margin-bottom: 6px; }
.feature-item p { font-size: 15px; color: var(--prm-muted); }

/* Reversed split (Prozess teaser) */
.split.reverse .split-media { order: -1; }
.check-list { list-style: none; margin: 24px 0 32px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--prm-text);
}
.check-list svg { flex: none; margin-top: 3px; color: var(--prm-blue); }

/* ============ CTA banner ============ */
.cta-banner {
  background: var(--prm-navy);
  color: var(--prm-white);
  padding: 80px 0;
}
.cta-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--prm-white); font-size: 32px; max-width: 480px; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-top: 12px; max-width: 480px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ Footer ============ */
.site-footer { background: var(--prm-navy); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-logo img { height: 40px; margin-bottom: 18px; }
.footer-grid p { font-size: 14px; line-height: 1.6; margin-bottom: 18px; }
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-badge {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
}
.footer-grid h5 { font-size: 15px; font-weight: 700; color: var(--prm-white); margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 11px; font-size: 14px; }
.footer-grid a:hover { color: var(--prm-white); }
.footer-contact li { display: flex; align-items: center; gap: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a { margin-left: 20px; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .split, .split.reverse .split-media { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split .split-media { order: -1; }
  .card-grid { grid-template-columns: 1fr; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .stat + .stat::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav ul, .header-phone { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 620px) {
  h1, .hero h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .cta-banner .container { flex-direction: column; align-items: flex-start; }
}
