/*
Theme Name: PRM Hello Elementor Child
Template: hello-elementor
Description: Child theme of Hello Elementor for PRM GmbH. Provides the custom header/footer and design system (colors, fonts, spacing, component classes) used by the Elementor page templates.
Version: 1.0.0
Text Domain: prm-child
*/

/* ============================================
   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;
}

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; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--prm-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}
h1 { font-size: 56px; }
h2 { font-size: 34px; }
h3 { font-size: 20px; }
p { margin: 0; }
a { text-decoration: none; color: inherit; }
ul, ol { margin: 0; }

.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;
  text-decoration: none;
}
.btn-primary { background: var(--prm-blue); color: var(--prm-white); }
.btn-primary:hover { background: var(--prm-blue-dark); color: var(--prm-white); }
.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;
  text-decoration: none;
}
.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; margin: 0; padding: 0; }
.main-nav a { font-size: 14.5px; font-weight: 500; color: var(--prm-text-dark); padding: 8px 2px; white-space: nowrap; text-decoration: none; }
.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; text-decoration: none; }
.header-cta.btn-primary { padding: 11px 20px; font-size: 15px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }

/* ============ Hero (home) ============ */
.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: 999px; 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; color: var(--prm-white); }
.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; }
.stats-bar .quality-row { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.12); margin-top: 32px; padding-top: 24px; display: flex; align-items: center; gap: 14px; font-size: 14px; color: rgba(255,255,255,0.7); }
.stats-bar .quality-row .footer-badge { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }

/* ============ 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; text-decoration: none; display: block; color: inherit; }
.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; color: var(--prm-heading); }
.audience-card p { font-size: 15px; color: var(--prm-muted); margin-bottom: 16px; }

/* ============ Feature split ============ */
.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); }
.split.reverse .split-media { order: -1; }
.check-list { list-style: none; margin: 24px 0 32px; padding: 0; }
.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: 999px; 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; padding: 0; }
.footer-grid li { margin-bottom: 11px; font-size: 14px; }
.footer-grid a { color: inherit; text-decoration: none; }
.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; color: inherit; text-decoration: none; }

/* ============ Sub-page components ============ */
.hero-sub { position: relative; color: var(--prm-white); padding: 100px 0 90px; background-size: cover; background-position: center; overflow: hidden; }
.hero-sub::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,72,128,0.94) 0%, rgba(16,87,153,0.82) 42%, rgba(16,87,153,0.35) 75%, rgba(16,87,153,0.15) 100%); }
.hero-sub .container { position: relative; z-index: 2; max-width: 640px; }
.hero-sub .eyebrow { color: #bcd8ee; }
.hero-sub h1 { color: var(--prm-white); font-size: 44px; margin-bottom: 18px; }
.hero-sub p.lead { color: rgba(255,255,255,0.88); font-size: 18px; margin-bottom: 30px; }
.hero-sub .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-plain { background: linear-gradient(120deg, #0d4880 0%, #105799 55%, #1a6bb0 100%); color: var(--prm-white); padding: 90px 0; text-align: center; }
.hero-plain .container { max-width: 700px; }
.hero-plain .eyebrow { color: #bcd8ee; }
.hero-plain h1 { color: var(--prm-white); font-size: 42px; margin-bottom: 18px; }
.hero-plain p.lead { color: rgba(255,255,255,0.85); font-size: 17px; }

.pair-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.pair-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pair-item img { width: 100%; aspect-ratio: 3/2; object-fit: cover; margin-bottom: 20px; }
.pair-item h4 { font-size: 17px; font-weight: 700; color: var(--prm-text-dark); margin-bottom: 8px; }
.pair-item p { font-size: 15px; color: var(--prm-muted); }

.process-intro { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-card { background: var(--prm-white); border: 1px solid var(--prm-border); }
.process-head { background: var(--prm-blue); color: var(--prm-white); padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; }
.process-head .step-icon { display: flex; justify-content: center; flex: 1; }
.process-tag { background: var(--prm-bg-tint); color: var(--prm-blue-dark); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; padding: 8px; }
.process-body { padding: 20px; }
.process-body h4 { font-family: var(--font-display); font-weight: 500; font-size: 17px; margin-bottom: 8px; color: var(--prm-heading); }
.process-body p { font-size: 14px; color: var(--prm-muted); }

.cta-strip { background: linear-gradient(120deg, #d5e4f1 0%, #c7dceb 100%); padding: 70px 0; text-align: center; }
.cta-strip .container { max-width: 620px; }
.cta-strip h2 { margin-bottom: 14px; }
.cta-strip p { color: var(--prm-muted-2); margin-bottom: 28px; }

.cta-plain { text-align: center; padding: 90px 0; }
.cta-plain .container { max-width: 620px; }
.cta-plain h2 { margin-bottom: 14px; }
.cta-plain p { color: var(--prm-muted); margin-bottom: 30px; }
.cta-plain .hero-actions { justify-content: center; }

.tabs { margin-bottom: 40px; }
.tabs input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.tab-labels { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--prm-border); max-width: 560px; margin: 0 auto; }
.tab-labels label { padding: 14px; text-align: center; font-size: 15px; font-weight: 600; color: var(--prm-muted); cursor: pointer; border-left: 1px solid var(--prm-border); }
.tab-labels label:first-of-type { border-left: none; }
.tab-panel { display: none; }
#tab1:checked ~ .tab-content #panel1, #tab2:checked ~ .tab-content #panel2 { display: block; }
#tab1:checked ~ .tab-labels label[for="tab1"], #tab2:checked ~ .tab-labels label[for="tab2"] { color: var(--prm-blue); background: var(--prm-bg-tint); }

.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 40px; }
.team-card img { width: 100%; aspect-ratio: 5/6; object-fit: cover; margin-bottom: 14px; }
.team-card h4 { font-size: 15px; font-weight: 700; color: var(--prm-text-dark); }
.team-card span { font-size: 13px; color: var(--prm-muted); }

.faq-list { border: 1px solid var(--prm-border); max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--prm-border); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 16px; color: var(--prm-text-dark); display: flex; align-items: center; justify-content: space-between; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--prm-blue); border-bottom: 2px solid var(--prm-blue); transform: rotate(45deg); transition: transform .15s ease; margin-left: 12px; }
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item .faq-answer { padding: 0 24px 22px; font-size: 15px; color: var(--prm-muted); max-width: 640px; }
.faq-floating-note { max-width: 780px; margin: 0 auto 18px; background: var(--prm-navy); color: var(--prm-white); padding: 12px 20px; font-size: 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-floating-note a { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.faq-note-caption { text-align: center; font-size: 13px; color: var(--prm-muted); margin-bottom: 20px; }

.contact-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.contact-split .btn-link.phone { font-size: 20px; margin: 14px 0 20px; }
.contact-form { background: var(--prm-white); border: 1px solid var(--prm-border); padding: 32px; }
.contact-form h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin-bottom: 6px; }
.contact-form > p { font-size: 14px; color: var(--prm-muted); margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid var(--prm-border); padding: 11px 12px; font-family: var(--font-body); font-size: 15px; background: var(--prm-white); }
.form-field small { display: block; font-size: 12px; color: var(--prm-muted); margin-top: 4px; }
.form-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--prm-muted); margin: 16px 0; }
.form-consent a { color: var(--prm-blue); text-decoration: underline; }
.contact-form .btn-primary { width: 100%; justify-content: center; }

@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .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; }
  .pair-grid, .pair-grid.cols-3, .process-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-split { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .hero h1, .hero-sub h1, .hero-plain h1 { font-size: 32px; }
  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; }
  .process-grid, .team-grid { grid-template-columns: 1fr; }
  .tab-labels { grid-template-columns: 1fr; }
  .tab-labels label { border-left: none !important; border-top: 1px solid var(--prm-border); }
  .tab-labels label:first-of-type { border-top: none; }
}
