/* ============================================================
   LEY ONE Growth — Stylesheet
   Premium consulting visual language. Dark, calm, strategic.
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Color */
  --bg-dark:        #05070A;
  --bg-section:     #0B0F14;
  --bg-card:        #111720;
  --bg-light:       #F7F8FA;

  --text-white:     #FFFFFF;
  --text-light:     #CBD5E1;
  --text-mid:       #94A3B8;
  --text-muted:     #64748B;
  --text-on-light:  #0B0F14;

  /* Brand colors — LEY ONE: Cerulean #2EBBE8, Biscay #232E60 */
  --accent:         #2EBBE8;
  --accent-light:   #5ECCEE;
  --accent-dark:    #232E60;

  --border:         rgba(255, 255, 255, 0.08);
  --border-strong:  rgba(255, 255, 255, 0.16);

  /* Layout */
  --container:      1240px;
  --radius-sm:      8px;
  --radius:         14px;
  --radius-lg:      20px;

  /* Type */
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* Anchor scroll offset to clear the sticky header */
section[id] { scroll-margin-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-light);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

/* Focus */
:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  color: var(--text-white);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.08;
}
h1 {
  font-size: clamp(38px, 6.2vw, 76px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-mid);
}
p { margin: 0 0 1em; color: var(--text-light); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin: 0 0 18px;
}
.eyebrow.center { display: block; text-align: center; }

.accent-text { color: var(--accent); }
.accent-gradient {
  background: linear-gradient(90deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  min-height: 48px;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #05070A;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 8px 24px -8px rgba(46,187,232,0.45);
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.28);
}
.btn-large { padding: 17px 34px; font-size: 16px; min-height: 56px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 10, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .25s ease, border-color .25s ease;
}
.site-header.scrolled { background: rgba(5, 7, 10, 0.92); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
}
.logo-mark { height: 42px; width: auto; display: block; }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
}
.primary-nav a {
  font-size: 14.5px;
  color: var(--text-light);
  font-weight: 500;
  transition: color .15s ease;
  padding: 6px 0;
}
.primary-nav a:hover { color: var(--text-white); }

.header-cta { padding: 11px 20px; min-height: auto; font-size: 14px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-white);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Mobile Nav ---------- */
.mobile-nav {
  position: fixed;
  inset: 82px 0 0 0;
  background: rgba(5, 7, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  padding: 32px;
  overflow-y: auto;
}
.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
}
.mobile-link {
  display: block;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-white);
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  min-height: 44px;
}
.mobile-link:hover { color: var(--accent-light); }
.mobile-cta { width: 100%; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 96px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(31, 143, 229, 0.10), transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 100%, rgba(11, 79, 145, 0.18), transparent 60%),
    var(--bg-dark);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-text { max-width: 640px; }
.hero h1 { margin-bottom: 26px; }
.hero-sub {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--text-light);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.trust-line {
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin: 0;
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(17, 23, 32, 0.6) 0%, rgba(5, 7, 10, 0.9) 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 30px 80px -20px rgba(0,0,0,0.6);
}
.hero-visual-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(55, 182, 246, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 90%, rgba(11, 79, 145, 0.20), transparent 65%);
}
.hero-swoosh {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.hero-glass-card {
  position: absolute;
  left: 8%;
  bottom: 8%;
  right: 12%;
  background: rgba(17, 23, 32, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: 0 18px 50px -12px rgba(0,0,0,0.6);
}
.hero-glass-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13.5px;
  border-bottom: 1px solid var(--border);
}
.hero-glass-row:last-of-type { border-bottom: none; }
.hero-glass-label { color: var(--text-light); font-weight: 500; }
.hero-glass-check {
  color: var(--text-muted);
  font-size: 9px;
}
.hero-glass-check.active { color: var(--accent-light); }
.hero-glass-progress {
  height: 3px;
  background: var(--border);
  border-radius: 99px;
  margin: 12px 0 10px;
  overflow: hidden;
}
.hero-glass-progress-bar {
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  border-radius: 99px;
}
.hero-glass-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-glass-value { color: var(--accent-light); font-weight: 500; }

/* ---------- Positioning ---------- */
.positioning {
  background: var(--bg-section);
  padding: 96px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.positioning-headline {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

/* ---------- Section Head ---------- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-head h2 { margin-bottom: 16px; }
.section-intro {
  color: var(--text-mid);
  font-size: 17px;
  margin: 0;
}

/* ---------- Modules ---------- */
.modules { padding: 120px 0; }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.module-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px 36px;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease;
}
.module-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.module-number {
  position: absolute;
  top: 14px;
  right: 22px;
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255,255,255,0.025);
  letter-spacing: -0.04em;
  pointer-events: none;
}
.module-accent {
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  margin-bottom: 22px;
  border-radius: 2px;
}
.module-card h3 { margin-bottom: 12px; }
.module-card p {
  color: var(--text-mid);
  font-size: 15.5px;
  margin: 0;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ---------- Method / Timeline ---------- */
.method {
  background: var(--bg-section);
  padding: 120px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  padding-top: 26px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 13%;
  right: 13%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 15%, var(--border-strong) 85%, transparent);
  z-index: 0;
}
.timeline-step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}
.timeline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--accent-light);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.timeline-step h3 {
  margin-bottom: 10px;
  font-size: 19px;
}
.timeline-step p {
  color: var(--text-mid);
  font-size: 15px;
  margin: 0;
  max-width: 320px;
  margin-inline: auto;
}

/* ---------- Use Cases ---------- */
.usecases { padding: 120px 0; }
.usecases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: border-color .25s ease;
}
.usecase-card:hover { border-color: var(--border-strong); }
.usecase-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.usecase-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  padding: 5px 11px;
  background: rgba(31, 143, 229, 0.08);
  border: 1px solid rgba(31, 143, 229, 0.18);
  border-radius: 99px;
}
.usecase-card-future .usecase-tag {
  color: var(--text-light);
  background: rgba(255,255,255,0.04);
  border-color: var(--border-strong);
}
.usecase-line { flex: 1; height: 1px; background: var(--border); }
.usecase-card h3 { margin-bottom: 22px; }
.usecase-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.usecase-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.5;
}
.usecase-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 12px;
  height: 1px;
  background: var(--accent);
}

.usecases-note {
  max-width: 640px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

/* ---------- Audience ---------- */
.audience {
  background: var(--bg-section);
  padding: 120px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.audience-grid li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-white);
  transition: border-color .25s ease, background .25s ease;
}
.audience-grid li:hover {
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.02);
}

/* ---------- About ---------- */
.about { padding: 120px 0; }
.about-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.about-inner h2 { margin-bottom: 28px; }
.about-text {
  font-size: 18.5px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 22px;
}
.about-text-emphasis { color: var(--text-mid); }

/* ---------- Outcomes ---------- */
.outcomes {
  background: var(--bg-section);
  padding: 120px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.outcome-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: border-color .25s ease, transform .25s ease;
}
.outcome-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.outcome-accent {
  width: 28px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 20px;
  border-radius: 2px;
}
.outcome-card h3 { margin-bottom: 12px; font-size: 20px; }
.outcome-card p { color: var(--text-mid); font-size: 15.5px; margin: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 120px 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] { border-color: var(--border-strong); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  min-height: 44px;
}
/* hide default marker (Chrome/Safari) */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }

.faq-item summary h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text-white);
  line-height: 1.45;
}

.faq-icon {
  flex-shrink: 0;
  position: relative;
  width: 20px;
  height: 20px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 1px;
  transition: transform .25s ease, opacity .25s ease;
}
.faq-icon::before {
  left: 50%;
  top: 2px;
  width: 1.5px;
  height: 16px;
  transform: translateX(-50%);
}
.faq-icon::after {
  top: 50%;
  left: 2px;
  height: 1.5px;
  width: 16px;
  transform: translateY(-50%);
}
.faq-item[open] .faq-icon::before { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-answer {
  padding: 0 28px 26px;
  border-top: 1px solid var(--border);
  margin-top: -1px;
}
.faq-answer p {
  margin: 18px 0 0;
  color: var(--text-mid);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 680px;
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

/* ---------- CTA ---------- */
.cta {
  padding: 140px 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(31, 143, 229, 0.08), transparent 70%),
    var(--bg-dark);
}
.cta-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.cta-swoosh {
  position: absolute;
  top: -40px;
  left: -10%;
  right: -10%;
  width: 120%;
  height: 220px;
  opacity: 0.35;
  pointer-events: none;
}
.cta-inner h2 { margin-bottom: 20px; }
.cta-sub {
  font-size: 17.5px;
  color: var(--text-mid);
  margin: 0 auto 36px;
  max-width: 540px;
}
.cta-meta {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 44px 36px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.5);
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-row .form-field { margin-bottom: 20px; }

.form-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.01em;
}
.form-field label span[aria-hidden="true"] {
  color: var(--accent);
  margin-left: 2px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-white);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 13px 16px;
  min-height: 48px;
  line-height: 1.5;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.form-field textarea {
  min-height: 130px;
  resize: vertical;
  padding-top: 14px;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-muted); }

.form-field input:hover,
.form-field textarea:hover {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.04);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(46,187,232,0.06);
  box-shadow: 0 0 0 3px rgba(46,187,232,0.18);
}

.form-field input:user-invalid,
.form-field textarea:user-invalid {
  border-color: rgba(232, 76, 76, 0.55);
}

/* Honeypot — visually hidden but accessible to bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Consent checkbox */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 8px 0 28px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.form-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-consent label {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-mid);
  cursor: pointer;
}
.form-consent label a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-consent label a:hover { color: var(--accent-light); }
.form-consent label span[aria-hidden="true"] { color: var(--accent); }

/* Submit */
.form-submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.form-submit .btn { min-width: 220px; }
.form-meta {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* Status banner */
.form-status {
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 16px 22px;
  border-radius: 10px;
  font-size: 14.5px;
  line-height: 1.55;
}
.form-status.success {
  background: rgba(46,187,232,0.08);
  border: 1px solid rgba(46,187,232,0.30);
  color: var(--text-white);
}
.form-status.error {
  background: rgba(232,76,76,0.08);
  border: 1px solid rgba(232,76,76,0.35);
  color: var(--text-white);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 56px;
  padding-bottom: 56px;
}
.footer-brand .logo-mark { height: 38px; margin-bottom: 0; }
.footer-tagline { display: none; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 { margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--text-mid);
  font-size: 14.5px;
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--text-white); }
.footer-address {
  color: var(--text-mid);
  font-size: 14.5px;
  line-height: 1.55;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 26px 0;
}
.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ============================================================ */
.legal {
  padding: 80px 0 120px;
  min-height: 60vh;
}
.legal-inner {
  max-width: 720px;
  margin: 0 auto;
}
.legal h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  margin-bottom: 28px;
}
.legal h2 {
  font-size: 22px;
  margin: 36px 0 14px;
}
.legal p { color: var(--text-light); margin-bottom: 16px; }
.legal-note {
  margin-top: 36px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--text-mid);
  font-size: 14.5px;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  color: var(--accent-light);
  font-weight: 500;
}
.legal-back:hover { color: var(--text-white); }

/* ============================================================
   STATUS PAGE (contact.php success/error)
   ============================================================ */
.status-page {
  min-height: calc(100vh - 82px - 80px); /* viewport minus header minus footer */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}
.status-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.5);
}
.status-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}
.status-icon-success {
  background: rgba(46, 187, 232, 0.10);
  border: 1px solid rgba(46, 187, 232, 0.30);
  color: var(--accent);
}
.status-icon-error {
  background: rgba(232, 76, 76, 0.10);
  border: 1px solid rgba(232, 76, 76, 0.35);
  color: #e84c4c;
}
.status-headline {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--text-white);
}
.status-text {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-mid);
  margin: 0 0 32px;
}
.status-button {
  min-width: 240px;
}
.status-note {
  margin: 24px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.status-footer {
  padding: 0;
  border-top: 1px solid var(--border);
}
.status-footer .footer-bottom {
  padding: 24px 0;
  border-top: none;
}

/* ============================================================
   VIDEO SECTION (Startseite — Click-to-load Vimeo)
   ============================================================ */
.video-section {
  padding: 120px 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.video-wrapper {
  max-width: 960px;
  margin: 0 auto;
}
.video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}
.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--bg-card);
  cursor: pointer;
  display: block;
  overflow: hidden;
  font: inherit;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.video-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
  transition: opacity .25s ease, transform .35s ease;
}
.video-poster:hover img,
.video-poster:focus-visible img {
  opacity: 1;
  transform: scale(1.015);
}
.video-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,7,10,0.10) 0%, rgba(5,7,10,0.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(46, 187, 232, 0.95);
  color: #05070A;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 12px 40px -10px rgba(46,187,232,0.55), 0 1px 0 rgba(255,255,255,0.18) inset;
  transition: transform .25s ease, background .25s ease;
}
.video-play-button svg {
  margin-left: 4px; /* optical center */
}
.video-poster:hover .video-play-button,
.video-poster:focus-visible .video-play-button {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--accent-light);
}
.video-poster:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.video-duration {
  position: absolute;
  right: 16px;
  bottom: 14px;
  background: rgba(5,7,10,0.78);
  color: var(--text-white);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  z-index: 2;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.video-note {
  text-align: center;
  margin: 18px 0 0;
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}


.preview-page {
  padding: 72px 0 96px;
}
.preview-intro {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.preview-headline {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--text-white);
}
.preview-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-mid);
  margin: 0;
}
.preview-video {
  max-width: 960px;
  margin: 0 auto 40px;
}
.preview-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}
.preview-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.preview-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.preview-note {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.preview-footer p { margin: 0; }
.preview-footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13px;
}
.preview-footer-links a {
  color: var(--text-mid);
  transition: color .15s ease;
}
.preview-footer-links a:hover { color: var(--text-white); }

/* ============================================================
   STATS DASHBOARD (/v/[dashboard].php)
   ============================================================ */
.stats-login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
.stats-login-form input[type="password"] {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-white);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 13px 16px;
  min-height: 48px;
  text-align: center;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.stats-login-form input[type="password"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46,187,232,0.18);
}

.stats-page {
  padding: 56px 0 88px;
}
.stats-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.stats-h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--text-white);
}
.stats-sub {
  margin: 0;
  font-size: 14px;
  color: var(--text-mid);
}
.stats-logout {
  padding: 9px 18px;
  min-height: auto;
  font-size: 13px;
}

/* KPI tiles */
.stats-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}
.stats-kpi {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stats-kpi-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.stats-kpi-value {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-white);
  line-height: 1;
}

/* Section cards (bar tables) */
.stats-section-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}
.stats-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 24px 20px;
}
.stats-card h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin: 0 0 16px;
}
.stats-card-wide {
  margin-top: 14px;
}

.stats-empty {
  color: var(--text-muted);
  font-size: 13.5px;
  margin: 0;
}

/* Bar tables */
.stats-bar-table {
  width: 100%;
  border-collapse: collapse;
}
.stats-bar-table td {
  padding: 6px 0;
  vertical-align: middle;
  font-size: 13.5px;
  border-bottom: 1px solid var(--border);
}
.stats-bar-table tr:last-child td { border-bottom: none; }
.stats-bar-label {
  width: 35%;
  color: var(--text-light);
  padding-right: 14px;
  word-break: break-word;
}
.stats-bar-track {
  background: rgba(255,255,255,0.04);
  height: 8px;
  border-radius: 99px;
  overflow: hidden;
  width: 100%;
}
.stats-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  border-radius: 99px;
}
.stats-bar-value {
  width: 50px;
  text-align: right;
  padding-left: 14px;
  color: var(--text-white);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* Data table */
.stats-table-scroll {
  overflow-x: auto;
  margin: 0 -8px;
}
.stats-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  min-width: 1200px;
}
.stats-data-table th,
.stats-data-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stats-data-table th {
  color: var(--text-mid);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.02);
}
.stats-data-table td {
  color: var(--text-light);
}
.stats-row-bot td {
  color: var(--text-muted);
  font-style: italic;
}

/* ----------- Responsive ----------- */
@media (max-width: 1023px) {
  .stats-kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-section-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-h1 { font-size: 26px; }
  .stats-kpi-value { font-size: 24px; }
  .stats-card { padding: 20px 18px 16px; }
  .preview-cta { flex-direction: column; }
  .preview-cta .btn { width: 100%; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet / Laptop */
@media (max-width: 1023px) {
  .container { padding: 0 28px; }

  .hero { padding: 72px 0 96px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }

  .modules-grid,
  .outcomes-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .modules-grid .module-card:last-child,
  .outcomes-grid .outcome-card:last-child { grid-column: 1 / -1; }

  .timeline { grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
  .timeline::before { left: 16%; right: 16%; }

  .audience-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }

  .modules,
  .method,
  .usecases,
  .audience,
  .about,
  .outcomes { padding: 96px 0; }
  .faq { padding: 96px 0; }
  .video-section { padding: 96px 0; }
  .positioning { padding: 80px 0; }
  .cta { padding: 110px 0; }

  .contact-form { padding: 36px 32px 28px; }
}

/* Mobile */
@media (max-width: 767px) {
  body { font-size: 16.5px; }

  .container { padding: 0 20px; }

  /* Header */
  .primary-nav,
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner { height: 72px; }
  .mobile-nav { inset: 72px 0 0 0; padding: 24px; }
  .logo-mark { height: 36px; }

  /* Hero */
  .hero { padding: 56px 0 80px; }
  .hero-inner { gap: 40px; }
  .hero-sub { font-size: 16.5px; margin-bottom: 28px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn { width: 100%; }
  .trust-line { font-size: 11.5px; line-height: 1.6; }
  .hero-visual { aspect-ratio: 4 / 3.6; }
  .hero-glass-card { left: 6%; right: 8%; bottom: 6%; padding: 16px 18px; }
  .hero-glass-row { font-size: 12.5px; padding: 7px 0; }

  /* Positioning */
  .positioning { padding: 64px 0; }
  .positioning-headline { font-size: 22px; }

  /* Sections */
  .modules,
  .method,
  .usecases,
  .audience,
  .about,
  .outcomes { padding: 72px 0; }
  .faq { padding: 72px 0; }
  .cta { padding: 88px 0; }

  .section-head { margin-bottom: 44px; }
  .section-head h2 { font-size: 28px; }
  .section-intro { font-size: 15.5px; }

  /* Module cards / Outcomes — single column */
  .modules-grid,
  .outcomes-grid { grid-template-columns: 1fr; gap: 14px; }
  .modules-grid .module-card:last-child,
  .outcomes-grid .outcome-card:last-child { grid-column: auto; }
  .module-card { padding: 32px 26px 30px; }
  .module-number { font-size: 80px; top: 8px; right: 18px; }

  /* Timeline — vertical */
  .timeline {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-left: 24px;
    padding-top: 0;
  }
  .timeline::before {
    top: 8px;
    bottom: 8px;
    left: 22px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--border-strong) 10%, var(--border-strong) 90%, transparent);
  }
  .timeline-step {
    text-align: left;
    padding-left: 36px;
    position: relative;
  }
  .timeline-num {
    position: absolute;
    left: -22px;
    top: 0;
    margin-bottom: 0;
    width: 40px;
    height: 40px;
    font-size: 13px;
  }
  .timeline-step p { margin-inline: 0; }

  /* Use cases */
  .usecases-grid { grid-template-columns: 1fr; gap: 14px; }
  .usecase-card { padding: 32px 26px; }
  .usecases-note { font-size: 13.5px; margin-top: 28px; }

  /* Video section mobile */
  .video-section { padding: 72px 0; }
  .video-play-button { width: 64px; height: 64px; }
  .video-play-button svg { width: 24px; height: 24px; }
  .video-duration { right: 12px; bottom: 12px; font-size: 11.5px; padding: 5px 10px; }

  /* Audience */
  .audience-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .audience-grid li { padding: 20px 14px; font-size: 14.5px; }

  /* About */
  .about-text { font-size: 16.5px; }

  /* CTA */
  .cta-inner h2 { font-size: 28px; }
  .cta-sub { font-size: 16px; }
  .cta-swoosh { top: -20px; height: 160px; }

  /* FAQ */
  .faq-item summary { padding: 18px 20px; gap: 16px; }
  .faq-item summary h3 { font-size: 15.5px; }
  .faq-answer { padding: 0 20px 22px; }
  .faq-answer p { font-size: 14.5px; }

  /* Contact form mobile */
  .contact-form { padding: 28px 22px 24px; border-radius: var(--radius); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-consent { padding: 14px 16px; gap: 10px; }
  .form-consent label { font-size: 13px; }
  .form-submit .btn { width: 100%; min-width: 0; }

  /* Footer */
  .site-footer { padding: 56px 0 0; }
  .footer-inner { padding-bottom: 40px; gap: 32px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-col:last-child { grid-column: 1 / -1; }

  /* Legal */
  .legal { padding: 56px 0 88px; }

  /* Status page mobile */
  .status-page { padding: 56px 0; min-height: calc(100vh - 72px - 70px); }
  .status-card { padding: 40px 26px; border-radius: var(--radius); }
  .status-headline { font-size: 24px; }
  .status-text { font-size: 15.5px; }
  .status-button { width: 100%; min-width: 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
