/* =========================================================
   Leap Ahead GmbH — Brand stylesheet
   Source of truth: Logo Design & Brand Guidelines artifact
   Palette: Deep Navy #0F1E3D · Signal Orange #D9531F · Bone #F7F6F3
   Type:    Manrope 700 (display) · Inter (body)
   ========================================================= */

:root {
  --navy: #0F1E3D;
  --navy-soft: #2B3A55;
  --orange: #D9531F;
  --orange-deep: #B6411A;
  --bone: #F7F6F3;
  --bone-soft: #FAFAF7;
  --border: #E5E3DD;
  --muted: #5A5E66;
  --muted-2: #8A8E96;
  --white: #FFFFFF;
  --shadow: 0 1px 2px rgba(15, 30, 61, 0.04), 0 8px 24px rgba(15, 30, 61, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1180px;
  --gutter: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bone);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.55;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--orange); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--orange-deep); }

/* ---- Layout ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--bone { background: var(--bone); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .eyebrow { color: var(--orange); }
.section--navy a { color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.4); }
.section--navy a:hover { color: var(--orange); border-color: var(--orange); }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.15;
}
h1 { font-size: clamp(34px, 4.5vw, 56px); }
h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 16px; }
h3 { font-size: 20px; margin-bottom: 8px; }
h4 { font-size: 16px; margin-bottom: 6px; }
p { margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 14px;
  display: inline-block;
}
.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  line-height: 1.6;
  max-width: 720px;
}
.muted { color: var(--muted); }

/* ---- Header ---- */
.site-header {
  background: var(--bone);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(8px);
  background: rgba(247, 246, 243, 0.92);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark svg { height: 36px; width: auto; }
.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background .15s ease, color .15s ease;
}
.nav a:hover { background: rgba(15, 30, 61, 0.06); color: var(--navy); }
.nav a.is-active { color: var(--orange); }
.nav .has-sub { position: relative; }
.nav .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  min-width: 280px;
  padding: 8px;
  margin-top: 4px;
  z-index: 60;
}
.nav .has-sub:hover .submenu,
.nav .has-sub:focus-within .submenu { display: block; }
.nav .submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13.5px;
}
.nav .submenu a:hover { background: var(--bone); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 18px;
  color: var(--navy);
}
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 16px;
    gap: 0;
  }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; padding: 12px 8px; }
  .nav .submenu { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 8px 12px; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-deep); color: var(--white); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--on-navy { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn--on-navy:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- Hero ---- */
.hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(ellipse at top right, rgba(217,83,31,0.08), transparent 55%),
    var(--bone);
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--orange); }
.hero-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { display: flex; justify-content: center; }

/* ---- Trust strip ---- */
.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-item {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  padding-left: 14px;
  border-left: 2px solid var(--orange);
}
.trust-item strong { color: var(--navy); font-weight: 600; }

/* ---- Cards / grids ---- */
.cards {
  display: grid;
  gap: 22px;
}
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) {
  .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cards--2, .cards--3, .cards--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(15,30,61,0.18); }
.card--link { text-decoration: none; color: inherit; }
.card-num {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .read-more {
  margin-top: auto;
  padding-top: 14px;
  font-weight: 600;
  font-size: 13px;
  color: var(--orange);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

/* Pillar table on home */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  border-top: 3px solid var(--orange);
}
.pillar h4 { font-size: 15px; margin-bottom: 8px; }
.pillar p { font-size: 13.5px; color: var(--muted); }

/* ---- Service detail spec sheet ---- */
.spec-sheet {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 32px;
}
.spec-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.spec-row:first-child { border-top: 0; padding-top: 0; }
.spec-row:last-child { padding-bottom: 0; }
@media (max-width: 720px) { .spec-row { grid-template-columns: 1fr; gap: 6px; } }
.spec-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  padding-top: 4px;
}
.spec-value { font-size: 15px; line-height: 1.6; color: var(--navy); }
.spec-value strong { font-weight: 600; }

/* ---- Lists ---- */
.checklist {
  list-style: none;
  margin: 12px 0;
}
.checklist li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 14.5px;
  color: var(--navy);
  line-height: 1.55;
}
.checklist li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 700;
}

/* ---- Promise blocks ---- */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}
@media (max-width: 880px) { .promise-grid { grid-template-columns: 1fr; } }
.promise {
  border-left: 3px solid var(--orange);
  padding: 4px 0 4px 20px;
}
.promise h4 {
  font-size: 22px;
  margin-bottom: 8px;
}
.promise p { color: var(--muted); font-size: 14.5px; }

/* ---- CTA banner ---- */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); margin-bottom: 4px; }
.cta-banner p { color: rgba(255,255,255,0.78); margin-bottom: 0; }

/* ---- Page header ---- */
.page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bone);
}
.page-header .breadcrumb {
  font-size: 12px;
  color: var(--muted-2);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.page-header .breadcrumb a { color: var(--muted); }
.page-header .breadcrumb a:hover { color: var(--orange); }
.page-header h1 { max-width: 800px; }
.page-header .lead { margin-top: 16px; }

/* ---- Service-line index grid (What we do) ---- */
.service-grid .service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-grid .service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.service-card .pillar-tag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 14.5px; }

/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.78);
  padding: 56px 0 32px;
  margin-top: 80px;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
}
@media (max-width: 880px) {
  .site-footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .site-footer .container { grid-template-columns: 1fr; }
}
.site-footer h5 {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; font-size: 13.5px; }
.site-footer a { color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: var(--orange); }
.site-footer .brand-mark { margin-bottom: 12px; }
.site-footer .brand-mark svg .text-fill { fill: var(--white); }
.site-footer .footer-tag { font-size: 13px; max-width: 320px; line-height: 1.55; color: rgba(255,255,255,0.72); }
.site-footer .copyright {
  grid-column: 1 / -1;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- Form ---- */
.form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 16px;
}
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bone-soft);
  color: var(--navy);
  transition: border-color .15s ease, background .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
}
.field-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.field-checkbox input { margin-top: 3px; }

/* ---- Insights list ---- */
.insights-list {
  display: grid;
  gap: 18px;
}
.insight {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
.insight:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.insight h3 { margin-bottom: 6px; font-size: 18px; }
.insight .insight-meta {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  margin-bottom: 10px;
}
.insight .insight-tag {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.insight.is-coming { opacity: 0.85; }
.insight.is-coming .insight-meta { color: var(--orange); }

/* ---- Industries strip ---- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 720px) { .industry-grid { grid-template-columns: 1fr; } }
.industry {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.industry h3 { font-size: 18px; margin-bottom: 6px; }
.industry p { color: var(--muted); font-size: 14px; }

/* ---- Engagement modes ---- */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 720px) { .engagement-grid { grid-template-columns: 1fr; } }
.engagement {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  border-top: 3px solid var(--orange);
}
.engagement h3 { font-size: 17px; margin-bottom: 8px; }
.engagement p { color: var(--muted); font-size: 14px; }

/* ---- Legal pages (Imprint / Datenschutz) ---- */
.legal {
  max-width: 820px;
  margin: 0 auto;
}
.legal h2 { font-size: 24px; margin-top: 32px; margin-bottom: 12px; }
.legal h3 { font-size: 18px; margin-top: 22px; margin-bottom: 8px; }
.legal p, .legal li { font-size: 14.5px; color: var(--navy); }
.legal ul { padding-left: 20px; margin: 8px 0 14px; }
.legal li { margin-bottom: 6px; }
.legal .placeholder {
  background: rgba(217,83,31,0.08);
  border: 1px dashed var(--orange);
  border-radius: 6px;
  padding: 2px 8px;
  color: var(--orange-deep);
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 13px;
}

/* ---- Misc utilities ---- */
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.divider { height: 1px; background: var(--border); margin: 56px 0; }
