/* ============================================================
   ZERVACO — Design System
   Seriös & vertrauenswürdig · Indigo/Cyan auf Nachtblau
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* Surfaces */
  --bg:          #08080d;
  --bg-2:        #0b0b12;
  --surface:     #101019;
  --surface-2:   #15151f;
  --surface-3:   #1b1b27;

  /* Lines */
  --border:        rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);

  /* Text */
  --text:        #f5f5f8;
  --text-muted:  #a6a6b6;
  --text-dim:    #6e6e82;

  /* Brand */
  --indigo:      #6366f1;
  --indigo-2:    #818cf8;
  --cyan:        #22d3ee;
  --cyan-2:      #67e8f9;
  --grad:        linear-gradient(120deg, #6366f1 0%, #22d3ee 100%);
  --grad-soft:   linear-gradient(120deg, rgba(99,102,241,.16), rgba(34,211,238,.16));

  /* Type */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;

  /* Radius */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;

  /* Layout */
  --maxw: 1200px;
  --pad:  clamp(20px, 5vw, 40px);

  /* Shadow */
  --shadow:    0 20px 50px -20px rgba(0,0,0,.6);
  --glow:      0 0 0 1px rgba(99,102,241,.35), 0 18px 50px -16px rgba(99,102,241,.5);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(99,102,241,.4); color: #fff; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(72px, 10vw, 130px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 90px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan-2);
  padding: 8px 15px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  background: rgba(34,211,238,.05);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; }

.h-display { font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 600; }
.h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--text-muted); max-width: 60ch; }
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  padding: 15px 26px; border-radius: 100px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad); color: #0a0a12;
  box-shadow: 0 10px 30px -10px rgba(99,102,241,.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(99,102,241,.85); }
.btn-ghost {
  background: rgba(255,255,255,.03); color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.25); transform: translateY(-2px); }
.btn-lg { padding: 17px 32px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8,8,13,.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 15px; font-weight: 600; color: var(--text-muted);
  padding: 9px 14px; border-radius: 100px; transition: color .2s, background .2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-size: 14px; font-weight: 700; color: var(--text); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.nav-phone svg { width: 16px; height: 16px; color: var(--cyan); }

.burger { display: none; background: none; border: 1px solid var(--border-strong); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.04em; color: var(--text); }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo span b { font-weight: 600; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px;
  transition: border-color .3s, transform .3s, background .3s;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-4px); }

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
}

/* ---------- Glow / decorative ---------- */
.glow-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; z-index: 0; }
.grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding-block: 70px 36px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px; }
.footer-grid a { display: block; color: var(--text-muted); padding: 6px 0; font-size: 15px; transition: color .2s; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-dim); flex-wrap: wrap; }

/* ---------- Misc ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 100px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--text-muted); }
.divider { height: 1px; background: var(--border); border: 0; }

.icon-tile {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  color: var(--cyan-2);
}
.icon-tile svg { width: 24px; height: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .nav { height: 66px; }
  .mobile-nav { inset: 66px 0 auto 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .card { padding: 24px; }

  /* Headings: shrink + let long German words wrap instead of overflowing */
  h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
  .h-display { font-size: clamp(2rem, 9vw, 2.55rem); }
  .h1 { font-size: clamp(1.7rem, 7.5vw, 2.1rem); }
  .h2 { font-size: clamp(1.5rem, 6.5vw, 1.9rem); }
  .lead { font-size: 1.02rem; }

  /* Tighter vertical rhythm so sections don't feel endless */
  .section { padding-block: clamp(48px, 13vw, 72px); }
  .section--tight { padding-block: clamp(40px, 11vw, 60px); }
  .sec-head { margin-bottom: 36px; }

  /* CTAs: stack full-width and allow wrapping so nothing overflows */
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; white-space: normal; }
  .hero-actions[style] { gap: 12px !important; }
  .btn-lg { padding: 16px 22px; }

  /* Footer bottom: stack the two lines */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ============================================================
   COMPONENTS (shared across pages)
   ============================================================ */

/* ---- Hero ---- */
.hero { position: relative; padding-top: clamp(50px, 7vw, 90px); padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-inner { position: relative; z-index: 2; max-width: 880px; }
.hero h1 { margin: 22px 0 24px; }
.hero .lead { font-size: clamp(1.1rem, 1.7vw, 1.4rem); max-width: 56ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; align-items: center; }
.hero-note { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text-dim); }
.hero-note svg { width: 16px; height: 16px; color: var(--cyan); }

/* ---- Trust strip ---- */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-block: 30px; background: var(--bg-2); }
.trust-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.trust-label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); font-weight: 700; flex: none; }
.trust-logos { display: flex; align-items: center; gap: 14px 34px; flex-wrap: wrap; }
.trust-logos .tlogo { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--text-muted); opacity: .75; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 8px; }
.trust-logos .tlogo .sq { width: 14px; height: 14px; border-radius: 4px; background: var(--text-dim); opacity: .6; }

/* ---- Section heading block ---- */
.sec-head { max-width: 680px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; }
.sec-head h2 { margin: 18px 0 18px; }

/* ---- Feature / services grid ---- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.svc-card { display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; }
.svc-card .icon-tile { margin-bottom: 4px; }
.svc-card h3 { font-size: 1.3rem; }
.svc-card p { color: var(--text-muted); font-size: 15.5px; }
.svc-card .svc-link { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 15px; color: var(--cyan-2); display: inline-flex; align-items: center; gap: 7px; transition: gap .2s; }
.svc-card:hover .svc-link { gap: 11px; }
.svc-card ul.ticks { display: flex; flex-direction: column; gap: 9px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-muted); }
.ticks li svg { width: 18px; height: 18px; color: var(--cyan); flex: none; margin-top: 2px; }

/* ---- Process steps ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.step .num { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--cyan-2); letter-spacing: .1em; }
.step h3 { font-size: 1.2rem; margin: 14px 0 10px; }
.step p { font-size: 15px; color: var(--text-muted); }

/* ---- Stats ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; padding: 36px 20px; border: 1px solid var(--border); border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.008)); }
.stat .num { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 600; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .lbl { margin-top: 12px; font-size: 14.5px; color: var(--text-muted); }

/* ---- Split / showcase ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.placeholder {
  position: relative; border-radius: var(--r-lg); border: 1px solid var(--border-strong);
  background-color: var(--surface);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 1px, transparent 1px 13px);
  display: grid; place-items: center; min-height: 320px; overflow: hidden;
}
.placeholder .ph-tag { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12.5px; color: var(--text-dim); border: 1px dashed var(--border-strong); padding: 7px 13px; border-radius: 8px; background: rgba(8,8,13,.6); letter-spacing: .03em; }
.placeholder img.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.placeholder .ph-overlay { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(155deg, rgba(8,8,13,0) 45%, rgba(8,8,13,.5) 100%); }
.placeholder--filled { background: transparent; border: none; transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease; }
.placeholder--filled:hover { transform: scale(1.025); }
.placeholder--mockup { min-height: 0 !important; background: transparent; }
.placeholder--mockup img.ph-img { position: static; width: 100%; height: auto; object-fit: initial; }
.placeholder--photo:hover { box-shadow: 0 24px 60px -24px rgba(0,0,0,.7); }

/* ---- Testimonials ---- */
.tcard { padding: 30px; display: flex; flex-direction: column; gap: 20px; }
.tcard .stars { display: flex; gap: 3px; color: var(--cyan); }
.tcard .stars svg { width: 17px; height: 17px; }
.tcard blockquote { font-family: var(--font-display); font-weight: 400; font-size: 1.18rem; line-height: 1.45; color: var(--text); letter-spacing: -0.02em; }
.tcard .who { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; color: #0a0a12; background: var(--grad); font-size: 16px; }
.tcard .who .nm { font-weight: 700; font-size: 15px; }
.tcard .who .rl { font-size: 13.5px; color: var(--text-dim); }

/* ---- FAQ ---- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; color: var(--text); font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, 1.7vw, 1.3rem); letter-spacing: -0.02em; padding: 26px 44px 26px 0; position: relative; }
.faq-q::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--cyan-2); font-family: var(--font-body); transition: transform .3s; }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { padding: 0 44px 26px 0; color: var(--text-muted); font-size: 16px; }

/* ---- CTA band ---- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(44px, 6vw, 76px); text-align: center; border: 1px solid var(--border-strong); background: radial-gradient(120% 120% at 50% 0%, rgba(99,102,241,.22), rgba(34,211,238,.06) 45%, transparent 70%), var(--surface); }
.cta-band h2 { margin-bottom: 18px; }
.cta-band .lead { margin-inline: auto; margin-bottom: 34px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 980px) {
  .grid-3, .grid-4, .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .grid-4, .steps, .stats { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* ---- Page hero (sub-pages) ---- */
.page-hero { position: relative; overflow: hidden; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(40px, 5vw, 60px); }
.page-hero-inner { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 { margin: 20px 0 20px; }

/* ---- Service detail rows ---- */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.svc-detail.flip .svc-detail-media { order: -1; }
.svc-detail .num-badge { font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .14em; color: var(--cyan-2); }
.svc-detail h2 { margin: 14px 0 16px; }
.svc-detail .price { margin-top: 24px; font-size: 15px; color: var(--text-dim); }
.svc-detail .price b { color: var(--text); font-weight: 700; }

@media (max-width: 980px) {
  .svc-detail { grid-template-columns: 1fr; }
  .svc-detail.flip .svc-detail-media { order: 0; }
}

/* ---- Contact / Form ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-info { position: relative; }
.contact-points { display: flex; flex-direction: column; gap: 24px; margin-top: 36px; }
.contact-point { display: flex; gap: 16px; align-items: flex-start; }
.contact-point .ct { flex: none; }
.contact-point .ct-label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); font-weight: 700; margin-bottom: 4px; }
.contact-point a, .contact-point span.val { font-family: var(--font-display); font-size: 1.15rem; color: var(--text); letter-spacing: -0.02em; }
.contact-point a:hover { color: var(--cyan-2); }

.benefits-mini { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }

.form-card { padding: clamp(26px, 3.5vw, 40px); }
.form-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; }
.field label .req { color: var(--cyan); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--text);
  background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--r-sm);
  padding: 14px 15px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2367e8f9' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 42px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo-2); box-shadow: 0 0 0 3px rgba(99,102,241,.18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 13px; color: var(--text-dim); margin-top: 14px; text-align: center; }
.form-note a { color: var(--text-muted); text-decoration: underline; }
.form-error { display: none; background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.4); color: #fca5a5; font-size: 14px; padding: 12px 15px; border-radius: var(--r-sm); margin-bottom: 16px; }
.form-error a { color: #fecaca; text-decoration: underline; }

.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; margin: 0 auto 20px; }
.form-success .check svg { width: 32px; height: 32px; color: #0a0a12; }
.form-card.sent .form-body { display: none; }

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* Mobile nav panel */
.mobile-nav {
  position: fixed; inset: 76px 0 auto 0; z-index: 99;
  background: rgba(8,8,13,.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px var(--pad) 30px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: .28s ease;
}
.mobile-nav.open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-nav a { display: block; font-family: var(--font-display); font-size: 22px; padding: 14px 0; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-nav .btn { margin-top: 22px; }
