/* Business Speak Partners
   Black and gold, as in the logo. Warm off-white for the light sections. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/BricolageGrotesque.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/HankenGrotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  /* Sampled from the original logo: pure black and a metallic gold running bronze to champagne. */
  --ink: #000000;
  --ink-2: #1c1914;
  --ink-soft: #5b574f;
  --mist: #f4f2ed;
  --white: #ffffff;
  --gold: #c9ae6a;
  --gold-light: #ebdd9a;
  --gold-deep: #8a5a1c;
  --metal: linear-gradient(120deg, #a9772f 0%, #e2cd84 52%, #b98f45 100%);
  --line: rgba(0, 0, 0, 0.14);
  --line-dark: rgba(255, 255, 255, 0.18);

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --pad: clamp(20px, 5vw, 56px);
  --section: clamp(80px, 11vw, 160px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--pad); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }

/* Type */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(2.4rem, 5.6vw, 4.75rem); letter-spacing: -0.035em; line-height: 0.98; }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
h4 { font-size: 1.125rem; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.5; max-width: 34em; text-wrap: pretty; }

.section-head {
  display: grid; gap: clamp(20px, 3vw, 40px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 96px);
}
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 0.9375rem; }
.btn-gold { background: var(--metal); background-size: 160% 100%; color: var(--ink); transition: transform 0.25s var(--ease), background-position 0.5s var(--ease); }
.btn-gold:hover { background-position: 100% 0; }
.btn-ghost { border-color: var(--line-dark); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-2); }

/* Nav */
.nav {
  position: fixed; inset: 12px 12px auto 12px; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.84); color: var(--white);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line-dark);
  max-width: 1240px; margin-inline: auto;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand img { display: block; height: 40px; width: auto; }
.footer .brand img { height: 52px; }
.nav-links a { white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav-links a:not(.btn) { text-decoration: none; font-size: 0.9375rem; opacity: 0.82; transition: opacity 0.2s; }
.nav-links a:not(.btn):hover { opacity: 1; }
.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--line-dark); color: var(--white);
  border-radius: 999px; min-height: 42px; padding: 0 18px; font-weight: 600;
}
@media (max-width: 1180px) {
  .nav { border-radius: 26px; flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-links {
    display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 8px 8px 10px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 8px; font-size: 1.0625rem; opacity: 1; }
  .nav-links .btn { margin-top: 8px; }
}
@media (max-width: 420px) { .brand img { height: 34px; } }

/* Hero */
.hero {
  position: relative; background: var(--ink); color: var(--white);
  min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between;
  padding-top: clamp(104px, 14vh, 180px); overflow: hidden;
}
.hero-copy { width: 100%; }
.hero-title {
  font-size: clamp(2.75rem, min(8.4vw, 13.5vh), 7.5rem);
  font-weight: 600; letter-spacing: -0.045em; line-height: 0.93;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title .line > span { display: block; }
.hero-lead {
  margin-top: clamp(24px, 3vw, 40px); max-width: 36em;
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.5; color: rgba(255, 255, 255, 0.8);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3vw, 40px); }

.wave-stage { position: relative; margin-top: clamp(24px, 4vh, 56px); }
#wave { display: block; width: 100%; height: clamp(120px, 21vh, 260px); }
.wave-legend {
  display: flex; justify-content: space-between; gap: 24px;
  padding-block: 18px clamp(24px, 4vh, 40px);
  border-top: 1px solid var(--line-dark);
}
.legend { text-decoration: none; display: grid; gap: 2px; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.72); transition: color 0.2s; }
.legend:hover { color: var(--white); }
.legend strong { font-family: var(--display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.legend-voice strong { color: var(--gold); }
.legend-code { text-align: right; }
.legend-code strong { color: var(--gold-light); }

/* Page-load sequence: the one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .hero-title .line > span { transform: translateY(105%); animation: rise 0.9s var(--ease) forwards; }
  .hero-title .line:nth-child(2) > span { animation-delay: 0.09s; }
  .hero-title .line:nth-child(3) > span { animation-delay: 0.18s; }
  .hero-lead, .hero-actions, .wave-stage { opacity: 0; animation: fade 0.9s ease forwards; }
  .hero-lead { animation-delay: 0.5s; }
  .hero-actions { animation-delay: 0.62s; }
  .wave-stage { animation-delay: 0.3s; animation-duration: 1.6s; }
  @keyframes rise { to { transform: none; } }
  @keyframes fade { to { opacity: 1; } }

  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.8s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* Consulting */
.consult { padding-block: var(--section); }
.quote {
  border-left: 6px solid var(--gold);
  padding-left: clamp(20px, 3vw, 44px);
  margin-bottom: clamp(56px, 8vw, 112px);
}
.quote blockquote {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2rem, 5.2vw, 4.25rem); letter-spacing: -0.035em; line-height: 1.02;
  max-width: 14em;
}
.quote figcaption { margin-top: 16px; color: var(--ink-soft); }

.topics { border-top: 1px solid var(--line); }
.topics li {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(12px, 3vw, 40px);
  padding-block: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line);
}
.topics p { color: var(--ink-soft); max-width: 36em; }
@media (max-width: 720px) { .topics li { grid-template-columns: 1fr; } }

.seminars {
  margin-top: clamp(56px, 8vw, 112px);
  background: var(--white); border-radius: 28px;
  padding: clamp(24px, 4.5vw, 64px);
}
.seminars-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: clamp(24px, 3vw, 40px); }
.tabs { display: inline-flex; padding: 5px; background: var(--mist); border-radius: 999px; max-width: 100%; }
.tabs button {
  border: 0; background: transparent; border-radius: 999px; min-height: 44px; padding: 0 20px;
  font-weight: 600; font-size: 0.9375rem; color: var(--ink-soft);
  transition: background-color 0.25s, color 0.25s;
}
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
@media (max-width: 520px) {
  .tabs { display: grid; grid-template-columns: 1fr; border-radius: 22px; width: 100%; }
}
.panel-lead { font-size: 1.1875rem; max-width: 38em; margin-bottom: clamp(28px, 4vw, 48px); }
.panel:not([hidden]) { animation: panelIn 0.45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }

.blocks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); counter-reset: block; }
.blocks li { counter-increment: block; border-top: 2px solid var(--ink); padding-top: 16px; }
.blocks li::before {
  content: "Block " counter(block); display: block; margin-bottom: 10px;
  font-size: 0.875rem; font-weight: 600; color: var(--gold-deep);
}
.blocks h4 { margin-bottom: 8px; hyphens: auto; overflow-wrap: anywhere; }
.blocks p { font-size: 0.9688rem; color: var(--ink-soft); }
@media (max-width: 900px) { .blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .blocks { grid-template-columns: 1fr; } }

.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px);
  margin-block: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 36px);
  padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line);
}
.facts dt { font-size: 0.875rem; color: var(--ink-soft); margin-bottom: 4px; }
.facts dd { font-weight: 600; line-height: 1.35; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* Development */
.dev { background: var(--ink); color: var(--white); padding-block: var(--section); }
.dev .lead { color: rgba(255, 255, 255, 0.8); }

.translator {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 860px) { .translator { grid-template-columns: 1fr; } }
.translator-label { font-size: 0.9375rem; font-weight: 600; color: var(--gold-light); margin-bottom: 16px; }
.say .translator-label { color: var(--gold); }
.translator-note { margin-top: 20px; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.6); }

.say-list { display: grid; gap: 10px; }
.say-list button {
  text-align: left; background: transparent; border: 1.5px solid var(--line-dark); border-radius: 20px;
  padding: clamp(16px, 2vw, 24px) clamp(18px, 2.4vw, 28px);
  font-family: var(--display); font-weight: 500; font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  letter-spacing: -0.02em; line-height: 1.15; color: rgba(255, 255, 255, 0.6);
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.say-list button:hover { color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.say-list button[aria-checked="true"] { color: var(--ink); background: var(--metal); border-color: transparent; }

.build { display: grid; justify-items: center; }
.build .translator-label { justify-self: start; }
.phone {
  width: min(100%, 320px); aspect-ratio: 9 / 17.5;
  background: #111; border-radius: 44px; padding: 10px;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.18), 0 40px 90px -30px rgba(201, 174, 106, 0.55);
}
.phone-screen {
  height: 100%; border-radius: 34px; background: var(--mist); color: var(--ink);
  padding: 44px 16px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden;
  font-size: 0.875rem; line-height: 1.3;
}
.ui-title { font-family: var(--display); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.02em; margin-bottom: 4px; }
.ui-row {
  background: var(--white); border-radius: 14px; padding: 11px 13px;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px;
}
.ui-row small { grid-column: 1 / -1; color: var(--ink-soft); font-size: 0.75rem; }
.ui-row b { font-weight: 600; }
.ui-pill { font-size: 0.75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #efe9d6; color: #6b4a12; }
.ui-pill.ok { background: #d9f2e3; color: #11663a; }
.ui-pill.warn { background: #fdeccb; color: #8a5a00; }
.ui-bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--mist); overflow: hidden; }
.ui-bar i { display: block; height: 100%; width: var(--v); background: var(--ink); border-radius: 3px; transform-origin: left; }
.ui-bar.low i { background: #c0392b; }
.ui-sign { grid-column: 1 / -1; height: 44px; }
.ui-sign path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 300; }
.ui-btn {
  margin-top: auto; background: var(--ink); color: var(--gold-light); text-align: center;
  font-weight: 600; border-radius: 14px; padding: 13px;
}
@media (prefers-reduced-motion: no-preference) {
  .phone-screen > * { animation: uiIn 0.5s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
  @keyframes uiIn { from { opacity: 0; transform: translateY(14px) scale(0.97); } }
  .ui-bar i { animation: grow 0.9s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 200ms); }
  @keyframes grow { from { transform: scaleX(0); } }
  .ui-sign path { animation: sign 1.2s ease-out both; animation-delay: 0.6s; }
  @keyframes sign { from { stroke-dashoffset: 300; } to { stroke-dashoffset: 0; } }
}
.codeline {
  margin-top: 22px; min-height: 1.6em; font-family: var(--mono); font-size: 0.8125rem;
  color: var(--gold-light); text-align: center; overflow-wrap: anywhere;
}
.codeline::after { content: "▍"; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .codeline::after { animation: none; } }

.services {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(64px, 9vw, 128px); padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line-dark);
}
.services h3 { margin-bottom: 12px; }
.services p { color: rgba(255, 255, 255, 0.72); }
@media (max-width: 780px) { .services { grid-template-columns: 1fr; } }

/* Process */
.process { padding-block: var(--section); }
.steps {
  --p: 0;
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px);
  counter-reset: step; padding-top: 44px;
}
.steps::before, .steps::after {
  content: ""; position: absolute; left: 0; top: 15px; height: 2px; width: 100%; background: var(--line);
}
.steps::after { background: linear-gradient(90deg, #8a5a1c, #c9ae6a); transform: scaleX(var(--p)); transform-origin: left; }
.steps li { counter-increment: step; position: relative; }
.steps li::before {
  content: counter(step); position: absolute; top: -44px; left: 0; z-index: 1;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--mist); border: 2px solid var(--ink); font-weight: 700; font-size: 0.875rem;
  transition: background-color 0.4s, color 0.4s;
}
.steps li.is-on::before { background: var(--ink); color: var(--white); }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; padding-top: 0; padding-left: 56px; gap: 36px; }
  .steps::before, .steps::after { left: 15px; top: 0; width: 2px; height: 100%; }
  .steps::after { background: linear-gradient(180deg, #8a5a1c, #c9ae6a); transform: scaleY(var(--p)); transform-origin: top; }
  .steps li::before { top: 0; left: -56px; }
}

/* Referenzen */
.refs { background: var(--ink); color: var(--white); padding-block: var(--section); }
.refs h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.1; color: var(--gold); margin-bottom: clamp(28px, 4vw, 48px); }
.ref-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.ref { border-top: 1px solid var(--line-dark); padding-top: 24px; }
/* Customer logos are shown in white so they sit in the black-and-gold palette.
   Columns without a logo keep the slot on wide screens so the names line up. */
.ref-logo-slot { height: 44px; margin-bottom: 20px; display: flex; align-items: center; }
.ref-logo { display: block; height: 100%; width: auto; max-width: 200px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.92; }
@media (max-width: 860px) { .ref-logo-slot:empty { display: none; } }
.ref-name { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.15; color: var(--gold); margin-bottom: 12px; }
.ref p { color: rgba(255, 255, 255, 0.8); }
.ref-work { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ref-work li { border: 1.5px solid var(--line-dark); border-radius: 999px; padding: 6px 14px; font-size: 0.875rem; font-weight: 600; }
@media (max-width: 860px) { .ref-list { grid-template-columns: 1fr; } }

/* Team */
.team { background: var(--white); padding-block: var(--section); }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.people li { border-top: 3px solid var(--gold); padding-top: 22px; }
.people h3 { margin-bottom: 10px; }
.people p { color: var(--ink-soft); }
@media (max-width: 780px) { .people { grid-template-columns: 1fr; } }

/* Contact */
.contact { position: relative; overflow: hidden; background: var(--metal); padding-block: var(--section); }
.contact > .wrap { position: relative; z-index: 1; }
#signal { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.contact h2 { max-width: 12em; margin-bottom: clamp(20px, 3vw, 32px); }
.mail {
  display: inline-block; margin-block: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 36px);
  font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1;
  font-size: clamp(1.3rem, 2.8vw, 2.25rem); overflow-wrap: anywhere;
  text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.14em;
  transition: text-underline-offset 0.3s var(--ease);
}
.mail:hover { text-underline-offset: 0.24em; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact .btn-ink:hover { background: var(--ink-2); }

/* Footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); padding-block: 36px; font-size: 0.9375rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer .brand { color: var(--white); }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer nav a { text-underline-offset: 3px; }

/* Legal pages */
.nav-mini { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); }
.nav-mini a:not(.btn) { text-decoration: none; font-size: 0.9375rem; opacity: 0.82; }
.nav-mini a:not(.btn):hover { opacity: 1; }
.legal-page .nav { flex-wrap: nowrap; border-radius: 999px; }
@media (max-width: 560px) { .nav-mini .btn { display: none; } .nav-mini a:not(.btn) { padding: 10px 14px; opacity: 1; } }
.legal-page { background: var(--white); }
.legal { padding-block: clamp(140px, 18vh, 200px) var(--section); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); letter-spacing: -0.035em; line-height: 1; hyphens: auto; }
.legal-date { margin-top: 14px; color: var(--ink-soft); }
.legal .lead { margin-top: clamp(28px, 4vw, 44px); max-width: none; }
.legal h2 { font-size: clamp(1.35rem, 2vw, 1.625rem); letter-spacing: -0.02em; line-height: 1.15; margin-top: clamp(40px, 5vw, 60px); padding-top: 20px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.125rem; letter-spacing: -0.01em; margin-top: 24px; }
.legal p, .legal ul { margin-top: 12px; max-width: 68ch; }
.legal ul { list-style: disc; padding-left: 1.2em; }
.legal a { color: var(--gold-deep); text-underline-offset: 3px; }
.todo { background: #ffe9a8; color: #000; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
