/*
Theme Name:   Procumat Child
Theme URI:    https://procumat.com
Description:  Child Theme für Procumat – basiert auf Twenty Twenty-Four
Author:       Procumat
Template:     twentytwentyfour
Version:      2.0.0
Text Domain:  procumat-child
*/

/* ── DESIGN TOKENS ── */
:root {
  --pm-blue:      #1a3eb5;
  --pm-cyan:      #00d4f0;
  --pm-bg:        #060d1f;
  --pm-bg2:       #0a1628;
  --pm-bg3:       #0e1e36;
  --pm-card:      #0a1628;
  --pm-border:    rgba(0, 212, 240, 0.12);
  --pm-border2:   rgba(0, 212, 240, 0.28);
  --pm-text:      #ffffff;
  --pm-text2:     rgba(255, 255, 255, 0.62);
  --pm-text3:     rgba(255, 255, 255, 0.35);
  --pm-grad:      linear-gradient(135deg, #1a3eb5 0%, #00d4f0 100%);
  --pm-glow:      0 0 24px rgba(0, 212, 240, 0.18);
  --pm-shadow:    0 4px 32px rgba(0, 0, 0, 0.5);
  --pm-radius:    4px;
  --pm-radius-lg: 6px;
}

/* ── GLOBAL RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; }

body.procumat-page {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--pm-bg);
  color: var(--pm-text);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Hide default WP header/footer on front page */
body.procumat-page .wp-site-blocks > header,
body.procumat-page .wp-site-blocks > footer {
  display: none;
}

/* ── NAV ── */
.pm-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 13, 31, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--pm-border);
  padding: 0 5%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pm-nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.pm-nav-logo img {
  height: 40px;
  width: auto;
}

/* ── NAV LINKS ── */
.pm-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pm-nav-links li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--pm-radius);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.pm-nav-links li a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.pm-nav-links li.pm-nav-cta a {
  background: var(--pm-grad);
  color: #fff;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: var(--pm-radius);
  letter-spacing: 0.01em;
  transition: opacity 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 18px rgba(0, 212, 240, 0.2);
}

.pm-nav-links li.pm-nav-cta a:hover {
  opacity: 0.88;
  box-shadow: 0 0 28px rgba(0, 212, 240, 0.35);
  background: rgba(255,255,255,0.06);
  color: #fff;
}

/* Hamburger (mobile) */
.pm-nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.pm-nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.7);
  border-radius: 1px;
  transition: all 0.25s;
}

/* ── BUTTONS ── */
.pm-btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--pm-radius);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  letter-spacing: 0.01em;
}

.pm-btn-primary {
  background: var(--pm-grad);
  color: #fff;
  box-shadow: 0 4px 20px rgba(26, 62, 181, 0.35), 0 0 16px rgba(0, 212, 240, 0.15);
}

.pm-btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 62, 181, 0.45), 0 0 24px rgba(0, 212, 240, 0.2);
  color: #fff;
}

.pm-btn-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1.5px solid rgba(0, 212, 240, 0.35);
  padding: 12px 28px;
}

.pm-btn-secondary:hover {
  border-color: var(--pm-cyan);
  color: var(--pm-cyan);
  background: rgba(0, 212, 240, 0.06);
  box-shadow: 0 0 20px rgba(0, 212, 240, 0.15);
}

/* ── HERO ── */
.pm-hero {
  min-height: calc(100vh - 68px);
  background: var(--pm-bg);
  display: flex;
  align-items: center;
  padding: 80px 5%;
  position: relative;
  overflow: hidden;
}

/* Grid pattern */
.pm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 240, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 240, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

/* Glow orbs */
.pm-hero::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(26, 62, 181, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

.pm-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.pm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pm-cyan);
  background: rgba(0, 212, 240, 0.08);
  border: 1px solid rgba(0, 212, 240, 0.2);
  padding: 6px 14px;
  border-radius: var(--pm-radius);
  margin-bottom: 22px;
}

.pm-eyebrow span {
  width: 6px;
  height: 6px;
  background: var(--pm-cyan);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.pm-hero h1 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.13;
  color: #fff;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
}

.pm-hero h1 em {
  font-style: normal;
  background: var(--pm-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pm-hero-sub {
  font-size: 1.1rem;
  color: var(--pm-text2);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.7;
}

.pm-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── HERO VISUAL (right side) ── */
.pm-hero-visual {
  position: relative;
}

.pm-hero-card {
  background: var(--pm-card);
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius-lg);
  padding: 32px;
  box-shadow: var(--pm-shadow);
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* Corner accent */
.pm-hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--pm-grad);
}

/* Glow behind card */
.pm-hero-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--pm-radius-lg);
  background: transparent;
  box-shadow: 0 0 40px rgba(0, 212, 240, 0.08);
  pointer-events: none;
}

/* Tech circuit visual above card */
.pm-hero-circuit {
  margin-bottom: 24px;
  position: relative;
  height: 160px;
  overflow: hidden;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius-lg);
  background: linear-gradient(135deg, #060d1f 0%, #0a1628 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pm-hero-circuit-svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.pm-circuit-label {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 212, 240, 0.7);
}

/* Stats grid */
.pm-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.pm-stat-box {
  background: var(--pm-bg3);
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius);
  padding: 14px;
  transition: border-color 0.2s;
}

.pm-stat-box:hover {
  border-color: var(--pm-border2);
}

.pm-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--pm-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.pm-stat-label {
  font-size: 0.74rem;
  color: var(--pm-text3);
  margin-top: 4px;
  font-weight: 500;
}

/* Progress bars */
.pm-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.pm-progress-label { font-size: 0.78rem; color: var(--pm-text2); font-weight: 500; }
.pm-progress-pct   { font-size: 0.78rem; font-weight: 700; color: var(--pm-cyan); }

.pm-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  margin-bottom: 12px;
  overflow: hidden;
}

.pm-progress-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--pm-grad);
  box-shadow: 0 0 8px rgba(0, 212, 240, 0.4);
}

/* ── TRUST BAR ── */
.pm-trust-bar {
  background: var(--pm-bg2);
  padding: 28px 5%;
  border-top: 1px solid var(--pm-border);
  border-bottom: 1px solid var(--pm-border);
}

.pm-trust-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.pm-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pm-text2);
  font-size: 0.875rem;
  font-weight: 500;
}

.pm-trust-item svg {
  width: 18px; height: 18px;
  stroke: var(--pm-cyan); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* ── SECTIONS ── */
.pm-section {
  padding: 90px 5%;
  background: var(--pm-bg);
}

.pm-section-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.pm-section-alt {
  background: var(--pm-bg2);
}

.pm-section-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pm-cyan);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pm-section-tag::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--pm-cyan);
}

.pm-section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.pm-section-sub {
  font-size: 1.05rem;
  color: var(--pm-text2);
  max-width: 560px;
  margin-bottom: 54px;
  line-height: 1.7;
}

/* ── FEATURES GRID ── */
.pm-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.pm-feature-card {
  background: var(--pm-card);
  border-radius: var(--pm-radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--pm-border);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.pm-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--pm-grad);
  opacity: 0;
  transition: opacity 0.2s;
}

.pm-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4), 0 0 24px rgba(0, 212, 240, 0.08);
  border-color: var(--pm-border2);
}

.pm-feature-card:hover::before {
  opacity: 1;
}

.pm-feature-icon {
  width: 48px; height: 48px;
  background: rgba(0, 212, 240, 0.08);
  border: 1px solid rgba(0, 212, 240, 0.2);
  border-radius: var(--pm-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.2s, border-color 0.2s;
}

.pm-feature-card:hover .pm-feature-icon {
  background: rgba(0, 212, 240, 0.12);
  border-color: rgba(0, 212, 240, 0.4);
}

.pm-feature-icon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: var(--pm-cyan);
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.pm-feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.pm-feature-text {
  font-size: 0.9rem;
  color: var(--pm-text2);
  line-height: 1.68;
}

/* ── CONTACT ── */
.pm-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.pm-contact-info h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.pm-contact-info p {
  color: var(--pm-text2);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.pm-contact-points {
  list-style: none;
  padding: 0; margin: 0;
}

.pm-contact-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--pm-text2);
}

.pm-contact-points li svg {
  width: 16px; height: 16px;
  stroke: var(--pm-cyan); fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 3px;
}

.pm-form-box {
  background: var(--pm-card);
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.pm-form-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--pm-grad);
}

.pm-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pm-form-group { margin-bottom: 16px; }

.pm-form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pm-text2);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pm-form-group input,
.pm-form-group select,
.pm-form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--pm-radius);
  font-size: 0.9rem;
  color: #fff;
  background: var(--pm-bg3);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.pm-form-group input:focus,
.pm-form-group select:focus,
.pm-form-group textarea:focus {
  outline: none;
  border-color: rgba(0, 212, 240, 0.4);
  box-shadow: 0 0 0 3px rgba(0, 212, 240, 0.08);
}

.pm-form-group select option {
  background: var(--pm-bg2);
  color: #fff;
}

.pm-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.pm-btn-submit {
  width: 100%;
  background: var(--pm-grad);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: var(--pm-radius);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(26, 62, 181, 0.35);
  font-family: inherit;
  letter-spacing: 0.02em;
}

.pm-btn-submit:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(26, 62, 181, 0.45), 0 0 20px rgba(0, 212, 240, 0.2);
}

.pm-form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--pm-text3);
  margin-top: 12px;
}

/* ── FOOTER ── */
.pm-footer {
  background: var(--pm-bg2);
  border-top: 1px solid var(--pm-border);
  color: var(--pm-text2);
  padding: 40px 5%;
}

.pm-footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.pm-footer-logo img {
  height: 28px;
  width: auto;
}

.pm-footer-links {
  display: flex;
  gap: 24px;
}

.pm-footer-links a {
  color: var(--pm-text3);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.pm-footer-links a:hover { color: #fff; }

.pm-footer-copy { font-size: 0.78rem; color: var(--pm-text3); }

/* ── SECTION DIVIDER ── */
.pm-divider {
  height: 1px;
  background: var(--pm-border);
  margin: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .pm-hero-inner     { grid-template-columns: 1fr; }
  .pm-hero-visual    { display: none; }
  .pm-contact-grid   { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .pm-nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(6, 13, 31, 0.98);
    border-bottom: 1px solid var(--pm-border);
    flex-direction: column;
    padding: 20px 5%;
    gap: 4px;
  }
  .pm-nav-links.open { display: flex; }
  .pm-nav-links li a { width: 100%; display: block; }
  .pm-nav-burger     { display: flex; }
  .pm-form-row       { grid-template-columns: 1fr; }
  .pm-trust-inner    { justify-content: center; gap: 16px; }
  .pm-features-grid  { grid-template-columns: 1fr; }
}
