/*
Theme Name:  DEFERIA
Theme URI:   https://www.deferia.de
Author:      Jan Martin
Author URI:  https://www.deferia.de
Description: Custom Theme für DEFERIA Services – KI-gestützte Digitallösungen
Version:     1.0
License:     Private
Text Domain: deferia
*/

/* ═══════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════ */
:root {
  --bg:       #08080d;
  --bg2:      #0c0c14;
  --surf:     #111119;
  --surf2:    #171724;
  --gold:     #c9a64a;
  --gold-lt:  #dfc070;
  --cyan:     #3dbfab;
  --text:     #dddded;
  --muted:    #636382;
  --border:   rgba(201,166,74,.13);
  --border2:  rgba(61,191,171,.11);
  --r:        4px;
}

/* ═══════════════════════════════════
   BASE
═══════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9000;
  opacity: .3;
}

/* ═══════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════ */
h1, h2, h3 { font-family: 'Syne', sans-serif; font-weight: 800; letter-spacing: -.025em; line-height: 1.03; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); }
h3 { font-size: .97rem; font-weight: 700; letter-spacing: .01em; }

.eyebrow {
  display: flex; align-items: center; gap: .65rem;
  font-family: 'Syne Mono', monospace;
  font-size: .66rem; letter-spacing: .22em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 1.4rem; height: 1px; background: var(--gold); flex-shrink: 0; }
.lead { font-size: clamp(.87rem, 1.3vw, 1rem); color: var(--muted); line-height: 1.82; max-width: 52ch; }
.accent { color: var(--gold); }
.accent-c { color: var(--cyan); }

/* ═══════════════════════════════════
   BUTTONS
═══════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .82rem 1.75rem; border-radius: var(--r);
  border: none; cursor: pointer; transition: all .28s;
}
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,166,74,.25); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid rgba(221,221,237,.16); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost-c {
  background: transparent; color: var(--cyan);
  border: 1px solid rgba(61,191,171,.28); font-size: .73rem; padding: .65rem 1.3rem;
}
.btn-ghost-c:hover { background: rgba(61,191,171,.07); border-color: var(--cyan); }

/* ═══════════════════════════════════
   NAV
═══════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem clamp(1.2rem, 5vw, 4rem);
  background: rgba(8,8,13,.9); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.site-nav.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.5); }
.nav-logo { display: flex; align-items: center; gap: .6rem; }
.nav-logo-icon { width: 32px; height: 32px; flex-shrink: 0; }
.nav-logo-wordmark {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.12rem; letter-spacing: .22em; color: var(--text);
}
.nav-logo-wordmark em { font-style: normal; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: .76rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); transition: color .22s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links .nav-cta {
  padding: .42rem 1rem;
  border: 1px solid var(--gold); color: var(--gold);
  border-radius: var(--r); transition: all .25s;
}
.nav-links .nav-cta:hover { background: var(--gold); color: var(--bg); }

/* burger */
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .4rem; }
.nav-burger span { display: block; width: 21px; height: 1.5px; background: var(--text); transition: all .28s; border-radius: 1px; }
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

.nav-mobile {
  display: none; flex-direction: column;
  position: fixed; top: 59px; left: 0; right: 0;
  background: rgba(8,8,13,.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem clamp(1.2rem, 5vw, 4rem) 2rem;
  z-index: 490;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: .93rem; color: var(--muted);
  padding: .75rem 0; border-bottom: 1px solid rgba(201,166,74,.07);
  transition: color .2s;
}
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile .nav-cta {
  margin-top: .8rem; color: var(--gold);
  border: 1px solid rgba(201,166,74,.3); border-radius: var(--r);
  padding: .8rem 1.2rem; text-align: center; border-bottom: none;
}

/* ═══════════════════════════════════
   SECTION BASE
═══════════════════════════════════ */
.section { padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 5vw, 4rem); position: relative; }
.section-alt { background: var(--bg2); }
.top-line::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,166,74,.22), transparent);
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }

/* ═══════════════════════════════════
   HERO
═══════════════════════════════════ */
.hero {
  min-height: 100svh; padding-top: clamp(6rem, 12vw, 8rem);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
  padding-left: clamp(1.2rem, 5vw, 4rem);
  padding-right: clamp(1.2rem, 5vw, 4rem);
  padding-bottom: 4rem;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,166,74,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,166,74,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 85% 85% at 100% 50%, black 20%, transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; top: 15%; right: 3%;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,166,74,.065) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.hero-content h1 em { font-style: normal; color: var(--gold); }
.hero-sub {
  font-size: clamp(.88rem, 1.3vw, 1.02rem); color: var(--muted);
  max-width: 46ch; margin: 1.35rem 0 2rem; line-height: 1.8;
}
.hero-btns { display: flex; gap: .9rem; flex-wrap: wrap; }
.ki-since {
  display: inline-flex; align-items: center; gap: .7rem;
  margin-top: 2.5rem; padding: 1rem 1.4rem;
  border: 1px solid var(--border); border-radius: var(--r);
  background: rgba(201,166,74,.04);
  font-size: .78rem; color: var(--muted); line-height: 1.5; max-width: 380px;
}
.ki-since-year {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.5rem; color: var(--gold); line-height: 1; flex-shrink: 0;
}

/* service map */
.hero-map { position: relative; z-index: 2; width: 100%; max-width: 460px; margin: 0 auto; }
.smap-svg { width: 100%; height: auto; overflow: visible; }
@keyframes orbitDash { to { stroke-dashoffset: -40; } }
@keyframes hubPulse { 0%,100%{opacity:.35} 50%{opacity:.9} }
.smap-svg .orbit { stroke-dasharray: 4 6; animation: orbitDash 8s linear infinite; }
.smap-svg .hub-dot { animation: hubPulse 3s ease-in-out infinite; }

/* ═══════════════════════════════════
   SERVICES
═══════════════════════════════════ */
.sec-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem); align-items: end;
  margin-bottom: clamp(2.5rem, 4vw, 4.5rem);
}
.srv-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
}
.srv-card {
  background: var(--surf); padding: clamp(1.6rem, 3vw, 2.4rem);
  position: relative; transition: background .3s;
}
.srv-card:hover { background: var(--surf2); }
.srv-card:hover .srv-icon { border-color: var(--gold); background: rgba(201,166,74,.07); }
.srv-card:hover .srv-arr { opacity: 1; transform: translate(0,0); }
.srv-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 1.2rem; transition: all .3s;
}
.srv-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .9rem; margin-bottom: .55rem; }
.srv-desc { font-size: .79rem; color: var(--muted); line-height: 1.68; }
.srv-chip {
  display: inline-flex; align-items: center; gap: .3rem;
  margin-top: .9rem; padding: .2rem .6rem;
  background: rgba(61,191,171,.08); border: 1px solid rgba(61,191,171,.2);
  border-radius: 2px; font-family: 'Syne Mono', monospace;
  font-size: .58rem; letter-spacing: .13em; color: var(--cyan); text-transform: uppercase;
}
.srv-arr {
  position: absolute; bottom: 1.7rem; right: 1.7rem;
  color: var(--gold); font-size: .95rem;
  opacity: 0; transform: translate(-5px, 5px); transition: all .3s;
}
.approach {
  margin-top: 2.2rem; padding: 1.3rem 1.5rem;
  border: 1px solid var(--border); border-left: 3px solid var(--gold);
  border-radius: var(--r); display: flex; gap: 1rem; align-items: flex-start;
  font-size: .79rem; color: var(--muted); line-height: 1.65;
}
.approach-icon { font-size: 1.1rem; margin-top: .05rem; }
.approach strong { color: var(--text); font-weight: 500; }

/* ═══════════════════════════════════
   DEMO / MUSIC SECTION
═══════════════════════════════════ */
.demo-section {
  background: #09070e;
  border-top: 1px solid rgba(160,110,50,.18);
  border-bottom: 1px solid rgba(160,110,50,.18);
  overflow: hidden; position: relative;
}
.demo-section::before {
  content: ''; position: absolute; top: -180px; right: -120px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(180,120,45,.07) 0%, transparent 65%);
  pointer-events: none;
}
.demo-section::after {
  content: ''; position: absolute; bottom: -140px; left: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(90,65,180,.06) 0%, transparent 65%);
  pointer-events: none;
}
.demo-inner {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(3rem, 5vw, 5rem); align-items: start; position: relative; z-index: 2;
}
.demo-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .32rem .85rem; background: rgba(180,120,45,.1);
  border: 1px solid rgba(180,120,45,.28); border-radius: 2px;
  font-family: 'Syne Mono', monospace; font-size: .6rem;
  letter-spacing: .2em; color: #c49050; text-transform: uppercase; margin-bottom: 1.3rem;
}
.demo-badge::before { content: '◈ '; }
.demo-h {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: #ecdcc0; line-height: 1.04; letter-spacing: -.025em; margin-bottom: .9rem;
}
.demo-h span { color: #c49050; font-style: italic; }
.demo-desc {
  font-size: clamp(.8rem, 1.15vw, .9rem); color: rgba(236,220,192,.45);
  line-height: 1.82; margin-bottom: 1.5rem; max-width: 50ch;
}
.strands { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 2rem; }
.strand {
  display: flex; align-items: flex-start; gap: .9rem;
  padding: .9rem 1.1rem; border: 1px solid rgba(196,144,80,.1);
  border-radius: var(--r); transition: all .28s;
}
.strand:hover { border-color: rgba(196,144,80,.28); background: rgba(196,144,80,.04); }
.strand-ico {
  font-size: .95rem; width: 28px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(196,144,80,.1); border-radius: 3px;
}
.strand-t { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .83rem; color: #ecdcc0; margin-bottom: .2rem; }
.strand-d { font-size: .76rem; color: rgba(236,220,192,.45); line-height: 1.6; }
.demo-links { display: flex; gap: .65rem; flex-wrap: wrap; }
.dlink {
  display: flex; align-items: center; gap: .4rem;
  padding: .5rem 1rem; border: 1px solid rgba(196,144,80,.2);
  border-radius: 30px; font-size: .74rem; color: rgba(236,220,192,.5); transition: all .28s;
}
.dlink:hover { border-color: #c49050; color: #c49050; background: rgba(196,144,80,.05); }

/* SoundCloud player */
.demo-right { display: flex; flex-direction: column; gap: 1.2rem; }

.sc-player-wrap {
  border: 1px solid rgba(196,144,80,.2);
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 40px 70px rgba(0,0,0,.6);
  background: rgba(14,10,6,.9);
  display: flex; flex-direction: column;
}
.sc-player-label {
  display: flex; align-items: center; gap: .6rem;
  padding: .9rem 1.2rem;
  background: linear-gradient(135deg, #100b04 0%, #0c0810 100%);
  border-bottom: 1px solid rgba(196,144,80,.12);
  font-family: 'Syne Mono', monospace;
  font-size: .62rem; letter-spacing: .2em;
  color: rgba(196,144,80,.7); text-transform: uppercase;
}
.sc-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #c49050;
  animation: scPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes scPulse { 0%,100%{opacity:.4} 50%{opacity:1} }

.sc-player-wrap iframe {
  display: block;
  /* SoundCloud iframe gets a dark background override via its color param */
}
.sc-player-foot {
  padding: .75rem 1.2rem;
  border-top: 1px solid rgba(196,144,80,.1);
  background: rgba(10,7,3,.7);
}
.sc-ext-link {
  font-family: 'Syne Mono', monospace;
  font-size: .62rem; letter-spacing: .12em;
  color: rgba(196,144,80,.55);
  text-transform: uppercase; transition: color .25s;
}
.sc-ext-link:hover { color: #c49050; }

/* babel card */
.babel-card {
  background: rgba(255,255,255,.02); border: 1px solid rgba(196,144,80,.16);
  border-radius: 8px; padding: 1.4rem 1.6rem;
}
.babel-ey {
  font-family: 'Syne Mono', monospace; font-size: .58rem;
  letter-spacing: .2em; color: #c49050; text-transform: uppercase;
  margin-bottom: .6rem; display: flex; align-items: center; gap: .5rem;
}
.babel-ey::before { content: ''; width: 1.1rem; height: 1px; background: #c49050; }
.babel-t { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem; color: #ecdcc0; margin-bottom: .45rem; }
.babel-d { font-size: .77rem; color: rgba(236,220,192,.45); line-height: 1.7; margin-bottom: 1rem; }
.babel-nums {
  display: flex; gap: 1.8rem; flex-wrap: wrap;
  padding-top: .9rem; border-top: 1px solid rgba(196,144,80,.12); margin-bottom: 1.1rem;
}
.bnum-v { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.5rem; color: #c49050; line-height: 1; }
.bnum-l { font-size: .65rem; color: rgba(236,220,192,.38); text-transform: uppercase; letter-spacing: .08em; margin-top: .18rem; }

/* ═══════════════════════════════════
   COMPANY / ABOUT
═══════════════════════════════════ */
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.company-desc { font-size: .88rem; color: var(--muted); line-height: 1.82; margin-bottom: 1.3rem; }
.milestones { display: flex; flex-direction: column; }
.ms { display: flex; gap: 1.2rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(201,166,74,.07); }
.ms:last-child { border-bottom: none; }
.ms-year { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem; color: var(--gold); min-width: 3.8rem; flex-shrink: 0; padding-top: .12rem; }
.ms-txt { font-size: .8rem; color: var(--muted); line-height: 1.6; }
.ms-txt strong { color: var(--text); font-weight: 500; }
.kpi-grid { display: flex; flex-direction: column; gap: 1rem; }
.kpi {
  padding: 1.6rem 1.8rem; border: 1px solid var(--border);
  border-radius: var(--r); position: relative; overflow: hidden; transition: border-color .3s;
}
.kpi:hover { border-color: rgba(201,166,74,.32); }
.kpi::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--cyan));
}
.kpi-big { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 2.3rem; color: var(--gold); line-height: 1; margin-bottom: .35rem; }
.kpi-desc { font-size: .77rem; color: var(--muted); line-height: 1.55; }

/* ═══════════════════════════════════
   CONTACT FORM
═══════════════════════════════════ */
.contact-wrap { max-width: 680px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.contact-wrap h2 { margin-bottom: .9rem; }
.contact-sub { font-size: clamp(.86rem, 1.2vw, .99rem); color: var(--muted); line-height: 1.78; margin-bottom: 2rem; }
.contact-deco { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; width: 600px; height: 600px; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(201,166,74,.06); top: 50%; left: 50%; transform: translate(-50%,-50%); }

/* the form */
.cf { text-align: left; display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf-field { display: flex; flex-direction: column; gap: .4rem; }
.cf-field label { font-family: 'Syne Mono', monospace; font-size: .63rem; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.cf-field input,
.cf-field textarea,
.cf-field select {
  background: var(--surf); border: 1px solid var(--border);
  border-radius: var(--r); padding: .82rem 1rem;
  color: var(--text); font-family: 'DM Sans', sans-serif;
  font-size: .88rem; font-weight: 300;
  transition: border-color .25s; outline: none; width: 100%;
  -webkit-appearance: none;
}
.cf-field input:focus,
.cf-field textarea:focus,
.cf-field select:focus { border-color: var(--gold); }
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: var(--muted); }
.cf-field textarea { resize: vertical; min-height: 130px; }
.cf-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23636382' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; }
.cf-field select option { background: #1a1a28; color: var(--text); }
.cf-foot { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: .5rem; }
.cf-status { font-size: .82rem; line-height: 1.5; }
.cf-status.ok { color: var(--cyan); }
.cf-status.err { color: #e06060; }

/* ═══════════════════════════════════
   LEGAL PAGES (page.php)
═══════════════════════════════════ */
.legal-wrap {
  max-width: 780px; margin: 0 auto;
  padding: clamp(6rem, 10vw, 9rem) clamp(1.2rem, 5vw, 4rem) clamp(4rem, 6vw, 6rem);
}
.legal-wrap h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 2.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.legal-content { color: var(--muted); font-size: .88rem; line-height: 1.85; }
.legal-content h2, .legal-content h3 { color: var(--text); margin: 2rem 0 .8rem; }
.legal-content h2 { font-size: 1.1rem; letter-spacing: -.01em; }
.legal-content h3 { font-size: .95rem; }
.legal-content p { margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-content ul li { margin-bottom: .4rem; }
.legal-content a { color: var(--gold); border-bottom: 1px solid rgba(201,166,74,.3); transition: border-color .2s; }
.legal-content a:hover { border-color: var(--gold); }
.legal-content hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.legal-nav-back {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Syne Mono', monospace; font-size: .65rem;
  letter-spacing: .14em; color: var(--muted); text-transform: uppercase;
  margin-bottom: 2rem; transition: color .2s;
}
.legal-nav-back:hover { color: var(--gold); }
.legal-nav-back::before { content: '←'; }

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
.site-footer {
  padding: 1.7rem clamp(1.2rem, 5vw, 4rem);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.foot-copy { font-family: 'Syne Mono', monospace; font-size: .68rem; color: var(--muted); }
.foot-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.foot-links a { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.foot-links a:hover { color: var(--gold); }

/* ═══════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.on { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .22s; }

/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-map { display: none; }
  .sec-header { grid-template-columns: 1fr; gap: 1.4rem; }
  .sec-header .lead { max-width: 100%; }
  .two-col, .company-grid { grid-template-columns: 1fr; }
  .demo-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .srv-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .cf-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.65rem; }
  .cf-foot { flex-direction: column; align-items: flex-start; }
  .cf-foot .btn { width: 100%; justify-content: center; }
  .babel-nums { gap: 1.2rem; }
}
