:root {
  --flow-bg: #f3f5f6;
  --flow-surface: #ffffff;
  --flow-soft: #e7ecef;
  --flow-ink: #14171b;
  --flow-muted: #5d646b;
  --flow-line: #d7dde1;
  --flow-accent: #ed642b;
}

html {
  background: var(--flow-bg);
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 88% 6%, rgba(237, 100, 43, .12), transparent 23%),
    var(--flow-bg);
  color: var(--flow-ink);
}

.site-header {
  height: 84px;
  background: rgba(11, 13, 16, .97);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(18px);
}

.site-header nav {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 255, 255, .1);
}

.site-header nav a {
  color: rgba(255, 255, 255, .82);
}

.site-header .header-cta {
  color: #fff;
}

.unified-header,
.home .unified-header {
  height: 84px;
  background: rgba(11, 13, 16, .97);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.home .unified-header::after {
  display: none;
}

.unified-nav {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 255, 255, .1);
}

.unified-nav a,
.unified-header > .header-cta,
.unified-header .menu-toggle {
  color: #f7f3ee;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.header-phone,
.header-cta {
  color: #f7f3ee;
  white-space: nowrap;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
}

.header-phone-icon {
  color: var(--flow-accent);
  font-size: 11px;
  line-height: 1;
}

.header-phone-mobile {
  display: none;
}

.header-actions .header-cta {
  padding-left: clamp(14px, 1.8vw, 24px);
  border-left: 1px solid rgba(255, 255, 255, .16);
}

.hero {
  min-height: auto;
  padding: clamp(132px, 12vh, 158px) clamp(24px, 7vw, 112px) clamp(46px, 5vw, 68px);
  background: transparent;
  color: var(--flow-ink);
  overflow: visible;
}

.hero::before {
  content: '';
  position: absolute;
  z-index: 0;
  width: min(42vw, 680px);
  aspect-ratio: 1;
  right: -8vw;
  top: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(237, 100, 43, .2), rgba(237, 100, 43, .03) 58%, transparent 70%);
  filter: blur(2px);
  pointer-events: none;
}

.hero-grid {
  background-image: linear-gradient(rgba(20, 23, 27, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 23, 27, .035) 1px, transparent 1px);
  mask-image: linear-gradient(#000 5%, transparent 92%);
}

.hero-copy,
.hero-focus,
.trust-line {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 1050px;
  color: var(--flow-ink);
  font-size: clamp(66px, 7.8vw, 132px);
  line-height: .9;
}

.hero h1 span {
  color: var(--flow-accent);
}

.hero .eyebrow,
.hero-lead,
.hero .text-link {
  color: var(--flow-muted);
}

.hero-lead {
  max-width: 650px;
  border-color: var(--flow-line);
}

.hero .button-primary {
  box-shadow: 0 16px 36px rgba(237, 100, 43, .2);
}

.hero-focus {
  margin-top: clamp(42px, 5vw, 62px);
  padding: 26px 30px;
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(20, 23, 27, .08);
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(25, 32, 38, .08);
  backdrop-filter: blur(16px);
}

.focus-kicker,
.focus-statement span,
.focus-statement span:nth-child(2) {
  color: var(--flow-ink);
}

.focus-statement span:nth-child(2) {
  color: var(--flow-accent);
}

.trust-line {
  display: none;
}

.intro.section-light,
.scale-band,
.process.section-light,
.about,
.faq.section-light,
.contact {
  background: transparent;
  color: var(--flow-ink);
}

.intro.section-light {
  padding-top: clamp(90px, 9vw, 132px);
}

.intro.section-light::before {
  color: rgba(20, 23, 27, .03);
}

.intro .eyebrow.dark,
.intro .section-intro,
.scale-band .eyebrow.dark,
.scale-copy > p:last-child,
.scale-grid p,
.process .eyebrow.dark,
.process .onboarding-list p,
.faq .eyebrow.dark,
.faq-heading > p:last-child,
.faq-list details > p {
  color: var(--flow-muted);
}

.intro .section-heading h2,
.process .section-heading h2,
.faq-heading h2 {
  color: var(--flow-ink);
}

.intro .service-grid {
  border-color: var(--flow-line);
}

.intro .service-card,
.intro .service-card:hover {
  grid-template-columns: 70px minmax(220px, .75fr) 1fr;
  background: transparent;
  color: var(--flow-ink);
  border-color: var(--flow-line);
}

.intro .service-card p,
.intro .service-card:hover p {
  color: var(--flow-muted);
}

.intro .service-arrow {
  display: none;
}

.why {
  min-height: auto;
  margin: 0 clamp(22px, 4vw, 64px);
  overflow: hidden;
  border-radius: clamp(30px, 4vw, 54px);
  background: #1c2025;
  color: #f7f3ee;
  box-shadow: 0 34px 90px rgba(17, 22, 27, .16);
}

.why-panel {
  padding-top: clamp(92px, 9vw, 126px);
  padding-bottom: clamp(92px, 9vw, 126px);
}

.benefit-list {
  background: linear-gradient(145deg, #242a30, #30363d);
  color: #f7f3ee;
}

.benefit {
  border-color: rgba(255, 255, 255, .13);
}

.scale-band {
  margin: clamp(24px, 4vw, 64px);
  padding-left: clamp(24px, 5vw, 80px);
  padding-right: clamp(24px, 5vw, 80px);
  border: 1px solid rgba(20, 23, 27, .07);
  border-radius: clamp(30px, 4vw, 48px);
  background: rgba(255, 255, 255, .64);
}

.scale-grid article,
.process .onboarding-list,
.process .onboarding-list li,
.faq-list,
.faq-list details {
  border-color: var(--flow-line);
}

.process.section-light {
  padding-top: clamp(90px, 9vw, 130px);
  padding-bottom: clamp(100px, 10vw, 145px);
}

.support-and-tech {
  min-height: auto;
  margin: 0 clamp(22px, 4vw, 64px);
  overflow: hidden;
  border-radius: clamp(30px, 4vw, 54px);
  background: #20252a;
  box-shadow: 0 34px 90px rgba(17, 22, 27, .14);
}

.support-promise {
  background: linear-gradient(145deg, #f47a42, #e95e27);
}

.technology-list {
  background: #242a30;
}

.about {
  min-height: auto;
  padding-top: clamp(110px, 10vw, 150px);
  padding-bottom: clamp(110px, 10vw, 150px);
}

.about-copy {
  color: var(--flow-ink);
}

.about-copy > p:not(.eyebrow) {
  color: var(--flow-muted);
}

.about-copy .personal-note {
  color: var(--flow-ink) !important;
}

.about-mark .team-portraits {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
}

.about-mark .team-portraits > figure {
  grid-column: span 2;
}

.about-mark .team-portraits > figure:nth-child(4) {
  grid-column: 2 / span 2;
}

.about-mark .team-portraits > figure:nth-child(5) {
  grid-column: 4 / span 2;
}

.about-mark .lead-portrait,
.about-mark .teammate-portrait {
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
}

.about-mark .lead-portrait img,
.about-mark .teammate-portrait img {
  border-radius: 0;
  transform-origin: 50% 100%;
}

.about-mark .lead-portrait img {
  transform: scale(1.07);
}

.about-mark .teammate-portrait:not(.flo-portrait):not(.detlef-portrait):not(.bjoern-portrait) img {
  transform: scale(1.15);
}

.about-mark .flo-portrait img {
  transform: scale(1.10);
}

.about-mark .detlef-portrait img {
  transform: scale(1);
}

.about-mark .bjoern-portrait img {
  object-position: 50% 36%;
  transform: scale(1);
}

.about-mark .lead-portrait figcaption,
.about-mark .teammate-portrait figcaption {
  flex: 1 1 auto;
  height: auto;
  min-height: 150px;
  border-radius: 0;
}

.about-mark .lead-portrait figcaption,
.about-mark .teammate-portrait figcaption {
  height: auto;
  min-height: 176px;
  padding: 18px 18px 20px;
  line-height: 1.55;
}

.about-mark .lead-portrait figcaption strong,
.about-mark .teammate-portrait figcaption strong,
.about-mark .lead-portrait figcaption small,
.about-mark .teammate-portrait figcaption small {
  display: block;
}

.about-mark .lead-portrait figcaption strong,
.about-mark .teammate-portrait figcaption strong {
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.05;
}

.about-mark .lead-portrait figcaption small,
.about-mark .teammate-portrait figcaption small {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 1080px) and (min-width: 721px) {
  .header-actions .header-cta {
    display: none;
  }
}

.faq.section-light {
  margin: 0 clamp(22px, 4vw, 64px);
  border-radius: clamp(30px, 4vw, 54px);
  background: rgba(255, 255, 255, .66);
  border: 1px solid rgba(20, 23, 27, .07);
}

.contact {
  padding-top: clamp(110px, 10vw, 150px);
}

.contact-direct,
.contact-form {
  border: 1px solid rgba(20, 23, 27, .08);
  box-shadow: 0 26px 70px rgba(20, 27, 33, .08);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) and (min-width: 721px) {
  .about-mark .team-portraits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-mark .team-portraits > figure {
    grid-column: auto;
  }

  .about-mark .team-portraits > figure:nth-child(4) {
    grid-column: auto;
  }

  .about-mark .team-portraits > .bjoern-portrait {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 9px);
  }
}

@media (max-width: 720px) {
  .header-actions {
    gap: 0;
  }

  .header-actions .header-cta,
  .header-phone-number {
    display: none;
  }

  .header-phone {
    gap: 7px;
    font-size: 12px;
  }

  .header-phone-mobile {
    display: inline;
  }

  .hero {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: clamp(54px, 17vw, 78px);
  }

  .intro .service-card,
  .intro .service-card:hover {
    grid-template-columns: 48px 1fr;
  }

  .intro .service-card p {
    grid-column: 2;
  }

  .why,
  .scale-band,
  .support-and-tech,
  .faq.section-light {
    margin-left: 14px;
    margin-right: 14px;
  }

  .about-mark .team-portraits {
    grid-template-columns: 1fr;
  }

  .about-mark .team-portraits > figure,
  .about-mark .team-portraits > figure:nth-child(4),
  .about-mark .team-portraits > figure:nth-child(5),
  .about-mark .team-portraits > .bjoern-portrait {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
