/* ===========================
   Bernd Küffmann — Preview CSS v2
   =========================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/Inter-Light.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Inter-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Inter-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Inter-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Inter-Bold.woff2') format('woff2');
}

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

:root {
  --navy:        #0D1E3C;
  --navy-mid:    #162645;
  --white:       #FFFFFF;
  --bg:          #F7F8FB;
  --grey-border: #E5E7EB;
  --grey-light:  #F3F4F6;
  --text:        #0F172A;
  --text-muted:  #64748B;
  --text-faint:  #94A3B8;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --tracking-tight:   -0.022em;
  --tracking-tighter: -0.032em;
  --tracking-hero:    -0.038em;

  --max-w:    1100px;
  --section:  clamp(5rem, 10vw, 7.5rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: var(--section) 0; }

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 2.5rem;
}

.nav-logo {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .15s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--navy); }

.btn-nav {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  padding: .45rem 1.1rem;
  border: 1.5px solid var(--navy);
  border-radius: 980px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}

.btn-nav:hover { background: var(--navy); color: var(--white); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: .75rem 1.75rem;
  border-radius: 980px;
  transition: all .15s;
  cursor: pointer;
  border: none;
  line-height: 1;
}

.btn-white    { background: var(--white);  color: var(--navy); }
.btn-white:hover { background: #E8ECF5; }

.btn-ghost    { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

.btn-dark     { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-mid); }

.btn-outline  { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-linkedin { background: #0A66C2; color: var(--white); }
.btn-linkedin:hover { background: #004182; }

/* ── Tags ── */
.tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .28rem .75rem;
  border-radius: 980px;
  border: 1px solid var(--grey-border);
  background: var(--bg);
  color: var(--text-muted);
  white-space: nowrap;
}

/* ── Eyebrow ── */
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
}

.on-dark { color: rgba(255,255,255,.4); }

/* ── Typography ── */
h1, h2, h3 {
  letter-spacing: var(--tracking-tight);
  line-height: 1.15;
  font-weight: 600;
}

.section-hl {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: var(--tracking-tight);
  margin-bottom: .75rem;
}

.section-sl {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 60ch;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* =============================
   HERO
   ============================= */

.hero {
  background: var(--navy);
  padding: clamp(6rem, 12vw, 9rem) 0 clamp(5rem, 10vw, 8rem);
  min-height: 82vh;
  display: flex;
  align-items: center;
}

.hero-hl {
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  letter-spacing: var(--tracking-hero);
  line-height: 1.1;
  color: var(--white);
  max-width: 18ch;
  font-weight: 600;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.55);
  margin: 1.5rem 0 2.75rem;
  max-width: 50ch;
  line-height: 1.65;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* =============================
   STATEMENT — "I step into..."
   ============================= */

.statement-section {
  padding: clamp(4rem, 9vw, 7rem) 0;
  border-bottom: 1px solid var(--grey-border);
}

.statement-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  align-items: center;
}

.statement-text {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  letter-spacing: var(--tracking-hero);
  line-height: 1.12;
  font-weight: 600;
  color: var(--text);
}

.statement-aside {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-left: 3rem;
  border-left: 1px solid var(--grey-border);
}

.stat-item {}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--navy);
  line-height: 1;
  margin-bottom: .3rem;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.45;
}

/* =============================
   CHALLENGES
   ============================= */

.challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-border);
  border: 1px solid var(--grey-border);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 3rem;
}

.challenge-item {
  background: var(--white);
  padding: 1.75rem 2rem;
  transition: background .15s;
}

.challenge-item:hover { background: var(--bg); }

.challenge-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--navy);
  margin-bottom: .5rem;
}

.challenge-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================
   ESTABLISH · STABILIZE · OPTIMIZE
   ============================= */

.contribute-section {
  padding: var(--section) 0;
  border-top: 1px solid var(--grey-border);
  border-bottom: 1px solid var(--grey-border);
}

.contribute-principle {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  letter-spacing: var(--tracking-hero);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3.5rem;
  line-height: 1.05;
}

.contribute-principle span {
  color: var(--text-faint);
}

.pillar-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--grey-border);
  align-items: start;
}

.pillar-word {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  padding-top: .25rem;
}

.pillar-text {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =============================
   EVIDENCE CARDS
   ============================= */

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.evidence-card {
  padding: 2rem;
  border: 1px solid var(--grey-border);
  border-radius: 16px;
  transition: border-color .2s, box-shadow .2s;
}

.evidence-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.ev-outcome {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .75rem;
}

.ev-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--text);
  margin-bottom: .75rem;
}

.ev-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.ev-meta { display: flex; gap: .6rem; flex-wrap: wrap; }

/* =============================
   SERVICES PREVIEW
   ============================= */

.services-preview-section {
  padding: var(--section) 0;
  background: var(--bg);
}

.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.sp-card {
  padding: 2rem;
  border: 1px solid var(--grey-border);
  border-radius: 16px;
  background: var(--white);
}

.sp-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--text);
  margin-bottom: .75rem;
}

.sp-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =============================
   CTA
   ============================= */

.cta-section {
  text-align: center;
  padding: var(--section) 0;
  border-top: 1px solid var(--grey-border);
}

.cta-hl {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  letter-spacing: var(--tracking-hero);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2rem;
}

.cta-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* =============================
   FOOTER
   ============================= */

.footer {
  background: var(--navy);
  padding: 0;
  font-size: 14px;
  color: rgba(255,255,255,.4);
}

.footer-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-cta-text {
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--white);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 0;
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color .15s;
}

.footer-links a:hover { color: rgba(255,255,255,.65); }

/* =============================
   PAGE HERO (inner pages)
   ============================= */

.page-hero {
  background: var(--navy);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.page-hero-hl {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: var(--tracking-hero);
  line-height: 1.15;
  color: var(--white);
  font-weight: 600;
  max-width: 22ch;
}

.page-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.55);
  margin-top: 1.25rem;
  max-width: 56ch;
  line-height: 1.65;
}

/* =============================
   PROFILE PAGE
   ============================= */

.ep-lead {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 2rem;
  max-width: 22ch;
}

.ep-body p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  max-width: 66ch;
}

.industries-list { margin-top: 2rem; }

.industry-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--grey-border);
}

.industry-item:first-child { border-top: 1px solid var(--grey-border); }

.industry-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding-top: .15rem;
}

.industry-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

.credentials-wrap {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.credential {
  padding: .7rem 1.25rem;
  border: 1px solid var(--grey-border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
}

.tagline {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--navy);
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--grey-border);
}

.contact-block { margin-top: 2.5rem; max-width: 54ch; }

.contact-block p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

/* =============================
   SERVICES PAGE
   ============================= */

.service-block {
  padding: 4rem 0;
  border-bottom: 1px solid var(--grey-border);
}

.service-block:first-of-type { padding-top: 0; }

.service-block-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 5rem;
  align-items: start;
}

.sb-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: .4rem;
}

.sb-name {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--text);
  line-height: 1.2;
}

.sb-when {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--grey-border);
}

.sb-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--text-faint);
  margin-bottom: .6rem;
  margin-top: 1.75rem;
}

.sb-list { list-style: none; padding: 0; }

.sb-list li {
  font-size: 15px;
  color: var(--text);
  padding: .35rem 0 .35rem 1.25rem;
  position: relative;
  line-height: 1.55;
}

.sb-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-faint);
}

.sb-value {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg);
  border-radius: 10px;
  border-left: 3px solid var(--navy);
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.6;
}

.delineation {
  margin-top: 4rem;
  padding: 2.5rem;
  background: var(--bg);
  border-radius: 16px;
}

.delineation-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
}

.d-row {
  display: flex;
  gap: 2rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--grey-border);
}

.d-row:last-child { border-bottom: none; }

.d-service {
  min-width: 230px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.d-def { font-size: 15px; color: var(--text-muted); }

/* =============================
   PROJECTS PAGE
   ============================= */

.filter-bar {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  font-size: 13px;
  font-weight: 500;
  padding: .45rem 1.1rem;
  border-radius: 980px;
  border: 1.5px solid var(--grey-border);
  background: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  transition: all .15s;
  font-family: var(--font);
}

.filter-btn:hover  { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.projects-grid { display: grid; gap: 1.5rem; }

.pc {
  border: 1px solid var(--grey-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.pc:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 24px rgba(0,0,0,.05);
}

.pc-header {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--grey-border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.pc-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--text);
  margin-bottom: .5rem;
}

.pc-meta { display: flex; gap: .5rem; flex-wrap: wrap; }
.pc-cats { display: flex; gap: .5rem; flex-wrap: wrap; flex-shrink: 0; }

.pc-body {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.pf-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-faint);
  margin-bottom: .35rem;
}

.pf-val {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

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

@media (max-width: 960px) {
  .statement-inner { grid-template-columns: 1fr; gap: 3rem; }
  .statement-aside { padding-left: 0; border-left: none; flex-direction: row; flex-wrap: wrap; border-top: 1px solid var(--grey-border); padding-top: 2.5rem; }
  .challenges-grid { grid-template-columns: repeat(2, 1fr); }
  .evidence-grid   { grid-template-columns: 1fr; }
  .services-preview-grid { grid-template-columns: 1fr; }
  .service-block-grid { grid-template-columns: 1fr; gap: 2rem; }
  .industry-item { grid-template-columns: 1fr; gap: .4rem; }
  .pillar-row { grid-template-columns: 1fr; gap: 1rem; }
  .pc-body { grid-template-columns: 1fr; }
  .pc-header { flex-direction: column; }
  .d-row { flex-direction: column; gap: .4rem; }
}

@media (max-width: 640px) {
  .challenges-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
  .contribute-principle { font-size: 2.5rem; }
}

/* ── Legal pages (Imprint / Privacy) ── */
.legal {
  max-width: 780px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}
.legal h2 {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: .75rem;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.75rem;
  margin-bottom: .5rem;
}
.legal p { margin-bottom: 1rem; }
.legal ul {
  margin: 0 0 1.25rem 1.25rem;
  padding: 0;
}
.legal li { margin-bottom: .35rem; }
.legal a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal a:hover { color: var(--text); }
.legal-date {
  margin-top: 3rem;
  color: var(--text-muted);
  font-size: 14px;
}
