/*
Theme Name:  E2X – Erik Exner
Theme URI:   https://e2x.studio
Author:      Erik Exner
Author URI:  https://e2x.studio
Description: Professionelles Premium-Theme für E²X – Erik Exner. Media. Technology. Design. Vollständig responsiv, mit Video-Header-Unterstützung, animierten Sektionen und modernem Dark-Design. Optimiert für Ottendorf-Okrilla & Region Dresden.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: e2x
Tags:        one-page, dark, video-header, responsive, portfolio, business, custom-colors
*/

/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
  --e2x-black:      #0a0a0a;
  --e2x-dark:       #111111;
  --e2x-mid:        #1a1a1a;
  --e2x-border:     #2a2a2a;
  --e2x-steel:      #3a3a3a;
  --e2x-muted:      #666666;
  --e2x-gray:       #999999;
  --e2x-light:      #cccccc;
  --e2x-white:      #f5f4f0;
  --e2x-blue:       #00AADD;
  --e2x-blue-dk:    #0088bb;
  --e2x-blue-lt:    #33ccff;
  --font-display:   'Bebas Neue', sans-serif;
  --font-body:      'DM Sans', sans-serif;
  --font-mono:      'DM Mono', monospace;
  --header-height:  80px;
  --transition:     .3s ease;
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--e2x-black);
  color: var(--e2x-white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }
::selection { background: var(--e2x-blue); color: var(--e2x-black); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--e2x-black); }
::-webkit-scrollbar-thumb { background: var(--e2x-blue); border-radius: 2px; }

/* ═══════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .5px;
  color: var(--e2x-white);
}
h1 { font-size: clamp(56px, 8vw, 120px); }
h2 { font-size: clamp(40px, 6vw, 80px); }
h3 { font-size: clamp(24px, 3vw, 40px); }
h4 { font-size: 22px; }
p { margin-bottom: 1em; color: var(--e2x-light); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 500; color: var(--e2x-white); }

/* ═══════════════════════════════════════════
   LAYOUT HELPERS
═══════════════════════════════════════════ */
.e2x-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}
.e2x-section { padding: 120px 0; }
.e2x-section--dark  { background: var(--e2x-dark); }
.e2x-section--mid   { background: var(--e2x-mid); }
.e2x-section--black { background: var(--e2x-black); }

.e2x-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--e2x-blue);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.e2x-label::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--e2x-blue);
  flex-shrink: 0;
}

.e2x-section-header { margin-bottom: 64px; }
.e2x-section-header .e2x-label { margin-bottom: 20px; }
.e2x-section-header h2 { margin-bottom: 20px; }
.e2x-section-header p {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--e2x-muted);
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.e2x-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.e2x-btn--primary {
  background: var(--e2x-blue);
  color: var(--e2x-black);
}
.e2x-btn--primary:hover {
  background: var(--e2x-blue-lt);
  color: var(--e2x-black);
}
.e2x-btn--outline {
  background: transparent;
  color: var(--e2x-light);
  border: 1px solid var(--e2x-steel);
}
.e2x-btn--outline:hover {
  border-color: var(--e2x-blue);
  color: var(--e2x-blue);
}
.e2x-btn--ghost {
  background: transparent;
  color: var(--e2x-blue);
  padding: 0;
  letter-spacing: .1em;
}
.e2x-btn--ghost:hover { color: var(--e2x-blue-lt); }
.e2x-btn--ghost::after {
  content: '→';
  transition: transform var(--transition);
}
.e2x-btn--ghost:hover::after { transform: translateX(4px); }

/* ═══════════════════════════════════════════
   NAV / HEADER
═══════════════════════════════════════════ */
#masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 40px;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: all .4s ease;
}
#masthead.scrolled {
  background: rgba(10,10,10,.96);
  border-bottom-color: var(--e2x-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: 1px;
  line-height: 1;
  text-decoration: none;
}
.site-logo .logo-e,
.site-logo .logo-x { color: var(--e2x-white); }
.site-logo .logo-exp-wrap {
  position: relative;
  display: inline-block;
  margin: 0 2px;
}
.site-logo .logo-exp-block {
  position: absolute;
  top: -4px; left: -3px;
  width: 22px; height: 22px;
  background: var(--e2x-blue);
  border-radius: 3px;
}
.site-logo .logo-exp {
  position: relative; z-index: 1;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  top: -8px;
}

/* Primary Nav */
.primary-navigation ul {
  display: flex;
  gap: 36px;
  list-style: none;
}
.primary-navigation a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--e2x-gray);
  transition: color var(--transition);
}
.primary-navigation a:hover,
.primary-navigation .current-menu-item a { color: var(--e2x-white); }

.nav-cta {
  background: var(--e2x-blue);
  color: var(--e2x-black) !important;
  padding: 10px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--e2x-blue-lt); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--e2x-white);
  transition: all var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height); left: 0; right: 0;
  background: rgba(10,10,10,.98);
  border-bottom: 1px solid var(--e2x-border);
  padding: 32px 40px;
  z-index: 999;
  backdrop-filter: blur(16px);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav li { border-bottom: 1px solid var(--e2x-border); }
.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--e2x-gray);
}
.mobile-nav a:hover { color: var(--e2x-white); }
.mobile-nav .mobile-cta {
  display: block;
  margin-top: 24px;
  background: var(--e2x-blue);
  color: var(--e2x-black);
  text-align: center;
  padding: 14px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════
   HERO / VIDEO HEADER
═══════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

/* ── Video Background ── */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .35;
}
.hero-video-wrap img {
  /* Fallback image */
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .35;
}

/* ── Hero Overlays ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,10,.85) 0%, rgba(10,10,10,.4) 100%);
  z-index: 1;
}
.hero-grid-overlay {
  position: absolute; inset: 0; z-index: 2;
  background-image:
    linear-gradient(var(--e2x-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--e2x-border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .25;
}

/* ── Hero Content ── */
.hero-content {
  position: relative; z-index: 3;
  width: 100%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-left { padding: 60px 0; }

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--e2x-blue);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--e2x-blue);
}

.hero-logo-display {
  font-family: var(--font-display);
  font-size: clamp(90px, 13vw, 180px);
  line-height: .88;
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 0;
}
.hero-logo-display .hld-e { color: var(--e2x-white); }
.hero-logo-display .hld-wrap { position: relative; display: inline-block; margin: 0 2px; }
.hero-logo-display .hld-block {
  position: absolute;
  top: 4px; left: -4px;
  width: clamp(36px, 5vw, 60px);
  height: clamp(36px, 5vw, 60px);
  background: var(--e2x-blue);
  border-radius: 5px;
  animation: heroBlockPulse 3s ease-in-out infinite;
}
@keyframes heroBlockPulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.85; transform:scale(.97); }
}
.hero-logo-display .hld-2 {
  position: relative; z-index: 1;
  font-family: var(--font-body);
  font-size: clamp(22px, 3.5vw, 48px);
  font-weight: 500;
  color: #fff;
  margin-top: 4px;
}
.hero-logo-display .hld-x { color: var(--e2x-white); }

.hero-name-line {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .28em;
  color: var(--e2x-gray);
  margin-bottom: 36px;
}
.hero-claim {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 300;
  line-height: 1.35;
  color: var(--e2x-light);
  margin-bottom: 10px;
}
.hero-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--e2x-muted);
  margin-bottom: 48px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero Right Stats */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-stat {
  background: rgba(26,26,26,.85);
  border-left: 2px solid var(--e2x-blue);
  padding: 16px 20px;
  backdrop-filter: blur(8px);
  animation: statSlide .6s ease both;
}
.hero-stat:nth-child(1) { animation-delay: .15s; }
.hero-stat:nth-child(2) { animation-delay: .25s; }
.hero-stat:nth-child(3) { animation-delay: .35s; }
.hero-stat:nth-child(4) { animation-delay: .45s; }
@keyframes statSlide {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--e2x-blue);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--e2x-gray);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--e2x-muted);
}
.scroll-bar {
  width: 1px; height: 48px;
  background: var(--e2x-blue);
  animation: scrollDrop 1.6s ease-in-out infinite;
  transform-origin: top center;
}
@keyframes scrollDrop {
  0%   { opacity:1; transform:scaleY(1); }
  100% { opacity:0; transform:scaleY(0); }
}

/* ── Video Banner Section (reusable) ── */
.video-banner {
  position: relative;
  height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-banner video,
.video-banner .banner-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .5;
}
.video-banner-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,10,.6);
  z-index: 1;
}
.video-banner-content {
  position: relative; z-index: 2;
  text-align: center;
}
.video-banner-content h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  color: var(--e2x-white);
  letter-spacing: 2px;
}
.video-banner-content p {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .15em;
  color: var(--e2x-blue);
  margin-top: 16px;
}

/* ═══════════════════════════════════════════
   TICKER / SERVICES STRIP
═══════════════════════════════════════════ */
.e2x-ticker {
  border-top: 1px solid var(--e2x-border);
  border-bottom: 1px solid var(--e2x-border);
  background: var(--e2x-mid);
  overflow: hidden;
  padding: 14px 0;
}
.e2x-ticker-inner {
  display: flex;
  white-space: nowrap;
  animation: tickerScroll 32s linear infinite;
}
.e2x-ticker-inner:hover { animation-play-state: paused; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--e2x-gray);
  white-space: nowrap;
}
.ticker-item::after {
  content: '';
  width: 4px; height: 4px;
  background: var(--e2x-blue);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   SERVICES GRID
═══════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--e2x-border);
}
.service-card {
  background: var(--e2x-dark);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--e2x-blue);
  transition: width .4s ease;
}
.service-card:hover { background: var(--e2x-mid); }
.service-card:hover::after { width: 100%; }
.service-card.service-wide { grid-column: span 2; }
.service-num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--font-display);
  font-size: 54px;
  color: var(--e2x-border);
  line-height: 1;
  transition: color var(--transition);
}
.service-card:hover .service-num { color: var(--e2x-steel); }
.service-icon {
  width: 44px; height: 44px;
  margin-bottom: 20px;
}
.service-icon svg {
  width: 100%; height: 100%;
  stroke: var(--e2x-blue);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-name {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: .5px;
  color: var(--e2x-white);
  margin-bottom: 10px;
}
.service-desc {
  font-size: 14px;
  color: var(--e2x-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--e2x-blue);
  border: 1px solid var(--e2x-border);
  padding: 3px 10px;
}

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.about-image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--e2x-dark);
  border: 1px solid var(--e2x-border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image-placeholder span {
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--e2x-steel);
  letter-spacing: 4px;
}
.about-image-label {
  position: absolute;
  bottom: 24px; left: 24px;
  z-index: 2;
}
.about-image-label strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--e2x-white);
  letter-spacing: 1px;
}
.about-image-label span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--e2x-blue);
  display: block;
  margin-top: 4px;
}
.about-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 50%, var(--e2x-dark) 100%);
}
.about-quote {
  border-left: 2px solid var(--e2x-blue);
  padding: 20px 24px;
  background: rgba(0,170,221,.05);
  margin: 28px 0;
}
.about-quote p {
  font-size: 17px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
  color: var(--e2x-white);
  margin: 0;
}
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.about-value {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.about-value::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--e2x-blue);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}
.about-value span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--e2x-gray);
}

/* ═══════════════════════════════════════════
   REGION MAP
═══════════════════════════════════════════ */
.region-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.region-map-box {
  background: var(--e2x-mid);
  border: 1px solid var(--e2x-border);
  padding: 32px;
}
.region-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
}
.region-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--e2x-border);
  font-size: 15px;
  color: var(--e2x-light);
  font-family: var(--font-body);
}
.region-list li::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--e2x-blue);
  flex-shrink: 0;
}
.region-dots { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.region-dot-row { display: flex; align-items: center; gap: 12px; }
.rdot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.rdot-primary   { background: var(--e2x-blue); }
.rdot-secondary { background: var(--e2x-steel); border: 1px solid var(--e2x-muted); }
.rdot-tertiary  { background: transparent; border: 1px solid var(--e2x-steel); }
.rdot-label { font-family: var(--font-mono); font-size: 12px; }
.rdot-label strong { color: var(--e2x-white); }
.rdot-label span  { color: var(--e2x-muted); }

/* ═══════════════════════════════════════════
   PROCESS STEPS
═══════════════════════════════════════════ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--e2x-border);
  margin-top: 56px;
}
.process-step {
  background: var(--e2x-dark);
  padding: 36px 28px;
  position: relative;
}
.process-step-num {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--e2x-border);
  line-height: 1;
  position: absolute;
  top: 20px; right: 20px;
}
.process-icon {
  width: 38px; height: 38px;
  border: 1px solid var(--e2x-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.process-icon svg {
  width: 18px; height: 18px;
  stroke: var(--e2x-blue);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.process-step h4 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--e2x-white);
  margin-bottom: 10px;
  letter-spacing: .5px;
}
.process-step p {
  font-size: 13px;
  color: var(--e2x-muted);
  line-height: 1.7;
  margin: 0;
}

/* ═══════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}
.contact-items { display: flex; flex-direction: column; }
.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--e2x-border);
}
.contact-item:first-child { border-top: 1px solid var(--e2x-border); }
.contact-item-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--e2x-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg {
  width: 17px; height: 17px;
  stroke: var(--e2x-blue);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.contact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--e2x-muted);
  margin-bottom: 5px;
}
.contact-value { font-size: 15px; color: var(--e2x-white); }
.contact-value a:hover { color: var(--e2x-blue); }

/* Contact Form */
.contact-form-wrap .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--e2x-muted);
  margin-bottom: 8px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--e2x-mid);
  border: 1px solid var(--e2x-border);
  color: var(--e2x-white);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder { color: var(--e2x-steel); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--e2x-blue); }
.form-textarea { min-height: 130px; resize: vertical; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-select option { background: var(--e2x-dark); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.site-footer {
  background: var(--e2x-dark);
  border-top: 1px solid var(--e2x-border);
}
.footer-main {
  padding: 64px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}
.footer-brand-logo {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: 44px;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 16px;
}
.footer-brand-logo .fbl-wrap {
  position: relative; display: inline-block; margin: 0 2px;
}
.footer-brand-logo .fbl-block {
  position: absolute;
  top: -3px; left: -3px;
  width: 26px; height: 26px;
  background: var(--e2x-blue);
  border-radius: 3px;
}
.footer-brand-logo .fbl-exp {
  position: relative; z-index: 1;
  font-family: var(--font-body);
  font-size: 17px; font-weight: 500;
  color: #fff;
  top: -9px;
}
.footer-desc {
  font-size: 14px;
  color: var(--e2x-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .15em;
  color: var(--e2x-blue);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: var(--e2x-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--e2x-white); }
.footer-bottom {
  border-top: 1px solid var(--e2x-border);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--e2x-muted);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--e2x-muted);
}
.footer-legal a:hover { color: var(--e2x-white); }

/* ═══════════════════════════════════════════
   ANIMATIONS (scroll-triggered)
═══════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: .1s; }
.fade-up.delay-2 { transition-delay: .2s; }
.fade-up.delay-3 { transition-delay: .3s; }
.fade-up.delay-4 { transition-delay: .4s; }
.fade-up.delay-5 { transition-delay: .5s; }

/* ═══════════════════════════════════════════
   GUTENBERG / BLOCK EDITOR
═══════════════════════════════════════════ */
.wp-block-image img { border: 1px solid var(--e2x-border); }
.wp-block-quote {
  border-left: 2px solid var(--e2x-blue);
  padding: 16px 24px;
  background: rgba(0,170,221,.05);
  margin: 24px 0;
}
.wp-block-quote cite { color: var(--e2x-muted); font-size: 13px; }
.wp-block-separator { border-color: var(--e2x-border); }
.wp-block-button__link { background: var(--e2x-blue) !important; color: var(--e2x-black) !important; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  .about-grid,
  .region-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .service-card.service-wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }
  .e2x-container { padding: 0 20px; }
  #masthead { padding: 0 20px; }
  .primary-navigation { display: none; }
  .nav-cta.desktop-only { display: none; }
  .menu-toggle { display: flex; }
  .e2x-section { padding: 80px 0; }
  .e2x-section-header { margin-bottom: 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card.service-wide { grid-column: span 1; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .contact-form-wrap .form-row { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .video-banner { height: 320px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .e2x-btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════
   PRINT
═══════════════════════════════════════════ */
@media print {
  #masthead, .hero-scroll-indicator, .e2x-ticker { display: none; }
  body { background: #fff; color: #000; }
}
